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
680 COND_WITH_PLUGIN_SDL_1
681 COND_WINDOWS_IMPLIB_1
686 COND_USE_SOVERSOLARIS_1
687 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
689 COND_USE_SOVERLINUX_1
690 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
691 COND_USE_SOTWOSYMLINKS_1
697 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
698 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
699 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
700 COND_USE_GUI_1_WXUNIV_1
701 COND_USE_GUI_1_WXUNIV_0
702 COND_USE_GUI_1_USE_OPENGL_1
705 COND_USE_EXCEPTIONS_1
706 COND_USE_EXCEPTIONS_0
709 COND_TOOLKIT_X11_USE_GUI_1
711 COND_TOOLKIT_WINCE_WXUNIV_0
712 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
713 COND_TOOLKIT_WINCE_USE_GUI_1
715 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_PM_USE_GUI_1
718 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
719 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
720 COND_TOOLKIT_OSX_IPHONE
721 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
722 COND_TOOLKIT_OSX_COCOA
723 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
724 COND_TOOLKIT_OSX_CARBON
725 COND_TOOLKIT_MSW_WXUNIV_0
726 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
727 COND_TOOLKIT_MSW_USE_GUI_1
729 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
730 COND_TOOLKIT_MOTIF_USE_GUI_1
733 COND_TOOLKIT_GTK_USE_GUI_1
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
746 COND_TOOLKIT_DFB_USE_GUI_1
748 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
749 COND_TOOLKIT_COCOA_USE_GUI_1
752 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
754 COND_SHARED_0_wxUSE_ZLIB_builtin
755 COND_SHARED_0_wxUSE_REGEX_builtin
756 COND_SHARED_0_wxUSE_EXPAT_builtin
757 COND_SHARED_0_USE_STC_1
758 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
759 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
760 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
761 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
762 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
763 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
764 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
766 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
767 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
769 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
770 COND_PLATFORM_WIN32_1_SHARED_0
771 COND_PLATFORM_WIN32_1
772 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
773 COND_PLATFORM_WIN32_0
774 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
775 COND_PLATFORM_UNIX_1_USE_GUI_1
776 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
777 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
779 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
783 COND_PLATFORM_MSDOS_1
784 COND_PLATFORM_MSDOS_0
787 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
788 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
789 COND_PLATFORM_MACOSX_1_USE_GUI_1
790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
791 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
800 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
801 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
802 COND_PLATFORM_MACOSX_1
803 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
804 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
805 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
806 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
807 COND_MONOLITHIC_1_USE_STC_1
808 COND_MONOLITHIC_1_SHARED_1
809 COND_MONOLITHIC_1_SHARED_0
811 COND_MONOLITHIC_0_USE_XRC_1
812 COND_MONOLITHIC_0_USE_WEBVIEW_1
813 COND_MONOLITHIC_0_USE_STC_1
814 COND_MONOLITHIC_0_USE_RICHTEXT_1
815 COND_MONOLITHIC_0_USE_RIBBON_1
816 COND_MONOLITHIC_0_USE_QA_1
817 COND_MONOLITHIC_0_USE_PROPGRID_1
818 COND_MONOLITHIC_0_USE_MEDIA_1
819 COND_MONOLITHIC_0_USE_HTML_1
820 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
821 COND_MONOLITHIC_0_USE_GUI_1
822 COND_MONOLITHIC_0_USE_AUI_1
823 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
824 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
825 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
826 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
827 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
833 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
839 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0
855 COND_BUILD_release_DEBUG_INFO_default
857 COND_BUILD_debug_DEBUG_INFO_default
861 ICC_PCH_CREATE_SWITCH
969 LIBGNOMEPRINTUI_CFLAGS
1060 program_transform_name
1073 enable_option_checking
1079 enable_official_build
1123 with_macosx_version_min
1132 enable_std_containers
1133 enable_std_iostreams
1135 enable_std_string_conv_in_wxstring
1140 enable_extended_rtti
1145 enable_no_exceptions
1148 enable_vararg_macros
1149 enable_universal_binary
1154 enable_objc_uniquifying
1183 enable_dynamicloader
1200 enable_printfposparam
1215 enable_protocol_http
1217 enable_protocol_file
1268 enable_commandlinkbutton
1295 enable_rearrangectrl
1344 enable_accessibility
1347 enable_webviewwebkit
1367 with_gtk_exec_prefix
1369 with_libiconv_prefix
1371 with_sdl_exec_prefix
1373 enable_dependency_tracking
1374 enable_precomp_headers
1376 with_cppunit_exec_prefix
1378 ac_precious_vars
='build_alias
1415 LIBGNOMEPRINTUI_CFLAGS
1416 LIBGNOMEPRINTUI_LIBS
1431 ac_subdirs_all
='src/tiff
1434 # Initialize some variables set by options.
1436 ac_init_version
=false
1437 ac_unrecognized_opts
=
1438 ac_unrecognized_sep
=
1439 # The variables have the same names as the options, with
1440 # dashes changed to underlines.
1441 cache_file
=/dev
/null
1448 program_transform_name
=s
,x
,x
,
1456 # Installation directory options.
1457 # These are left unexpanded so users can "make install exec_prefix=/foo"
1458 # and all the variables that are supposed to be based on exec_prefix
1459 # by default will actually change.
1460 # Use braces instead of parens because sh, perl, etc. also accept them.
1461 # (The list follows the same order as the GNU Coding Standards.)
1462 bindir
='${exec_prefix}/bin'
1463 sbindir
='${exec_prefix}/sbin'
1464 libexecdir
='${exec_prefix}/libexec'
1465 datarootdir
='${prefix}/share'
1466 datadir
='${datarootdir}'
1467 sysconfdir
='${prefix}/etc'
1468 sharedstatedir
='${prefix}/com'
1469 localstatedir
='${prefix}/var'
1470 includedir
='${prefix}/include'
1471 oldincludedir
='/usr/include'
1472 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1473 infodir
='${datarootdir}/info'
1478 libdir
='${exec_prefix}/lib'
1479 localedir
='${datarootdir}/locale'
1480 mandir
='${datarootdir}/man'
1486 # If the previous option needs an argument, assign it.
1487 if test -n "$ac_prev"; then
1488 eval $ac_prev=\
$ac_option
1494 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1499 # Accept the important Cygnus configure options, so we can diagnose typos.
1501 case $ac_dashdash$ac_option in
1505 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1507 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1508 bindir
=$ac_optarg ;;
1510 -build | --build | --buil | --bui | --bu)
1511 ac_prev
=build_alias
;;
1512 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1513 build_alias
=$ac_optarg ;;
1515 -cache-file | --cache-file | --cache-fil | --cache-fi \
1516 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1517 ac_prev
=cache_file
;;
1518 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1519 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1520 cache_file
=$ac_optarg ;;
1522 --config-cache | -C)
1523 cache_file
=config.cache
;;
1525 -datadir | --datadir | --datadi | --datad)
1527 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1528 datadir
=$ac_optarg ;;
1530 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1531 | --dataroo | --dataro | --datar)
1532 ac_prev
=datarootdir
;;
1533 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1534 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1535 datarootdir
=$ac_optarg ;;
1537 -disable-* | --disable-*)
1538 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1539 # Reject names that are not valid shell variable names.
1540 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1541 as_fn_error $?
"invalid feature name: $ac_useropt"
1542 ac_useropt_orig
=$ac_useropt
1543 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1544 case $ac_user_opts in
1546 "enable_
$ac_useropt"
1548 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1549 ac_unrecognized_sep
=', ';;
1551 eval enable_
$ac_useropt=no
;;
1553 -docdir | --docdir | --docdi | --doc | --do)
1555 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1556 docdir
=$ac_optarg ;;
1558 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1560 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1561 dvidir
=$ac_optarg ;;
1563 -enable-* | --enable-*)
1564 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1565 # Reject names that are not valid shell variable names.
1566 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1567 as_fn_error $?
"invalid feature name: $ac_useropt"
1568 ac_useropt_orig
=$ac_useropt
1569 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1570 case $ac_user_opts in
1572 "enable_
$ac_useropt"
1574 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1575 ac_unrecognized_sep
=', ';;
1577 eval enable_
$ac_useropt=\
$ac_optarg ;;
1579 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1580 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1581 | --exec | --exe | --ex)
1582 ac_prev
=exec_prefix
;;
1583 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1584 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1585 | --exec=* | --exe=* | --ex=*)
1586 exec_prefix
=$ac_optarg ;;
1588 -gas | --gas | --ga | --g)
1589 # Obsolete; use --with-gas.
1592 -help | --help | --hel | --he | -h)
1593 ac_init_help
=long
;;
1594 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1595 ac_init_help
=recursive
;;
1596 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1597 ac_init_help
=short
;;
1599 -host | --host | --hos | --ho)
1600 ac_prev
=host_alias
;;
1601 -host=* | --host=* | --hos=* | --ho=*)
1602 host_alias
=$ac_optarg ;;
1604 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1606 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1608 htmldir
=$ac_optarg ;;
1610 -includedir | --includedir | --includedi | --included | --include \
1611 | --includ | --inclu | --incl | --inc)
1612 ac_prev
=includedir
;;
1613 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1614 | --includ=* | --inclu=* | --incl=* | --inc=*)
1615 includedir
=$ac_optarg ;;
1617 -infodir | --infodir | --infodi | --infod | --info | --inf)
1619 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1620 infodir
=$ac_optarg ;;
1622 -libdir | --libdir | --libdi | --libd)
1624 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1625 libdir
=$ac_optarg ;;
1627 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1628 | --libexe | --libex | --libe)
1629 ac_prev
=libexecdir
;;
1630 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1631 | --libexe=* | --libex=* | --libe=*)
1632 libexecdir
=$ac_optarg ;;
1634 -localedir | --localedir | --localedi | --localed | --locale)
1635 ac_prev
=localedir
;;
1636 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1637 localedir
=$ac_optarg ;;
1639 -localstatedir | --localstatedir | --localstatedi | --localstated \
1640 | --localstate | --localstat | --localsta | --localst | --locals)
1641 ac_prev
=localstatedir
;;
1642 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1643 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1644 localstatedir
=$ac_optarg ;;
1646 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1648 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1649 mandir
=$ac_optarg ;;
1651 -nfp | --nfp | --nf)
1652 # Obsolete; use --without-fp.
1655 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1656 | --no-cr | --no-c | -n)
1659 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1660 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1663 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1664 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1665 | --oldin | --oldi | --old | --ol | --o)
1666 ac_prev
=oldincludedir
;;
1667 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1668 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1669 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1670 oldincludedir
=$ac_optarg ;;
1672 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1674 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1675 prefix
=$ac_optarg ;;
1677 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1678 | --program-pre | --program-pr | --program-p)
1679 ac_prev
=program_prefix
;;
1680 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1681 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1682 program_prefix
=$ac_optarg ;;
1684 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1685 | --program-suf | --program-su | --program-s)
1686 ac_prev
=program_suffix
;;
1687 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1688 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1689 program_suffix
=$ac_optarg ;;
1691 -program-transform-name | --program-transform-name \
1692 | --program-transform-nam | --program-transform-na \
1693 | --program-transform-n | --program-transform- \
1694 | --program-transform | --program-transfor \
1695 | --program-transfo | --program-transf \
1696 | --program-trans | --program-tran \
1697 | --progr-tra | --program-tr | --program-t)
1698 ac_prev
=program_transform_name
;;
1699 -program-transform-name=* | --program-transform-name=* \
1700 | --program-transform-nam=* | --program-transform-na=* \
1701 | --program-transform-n=* | --program-transform-=* \
1702 | --program-transform=* | --program-transfor=* \
1703 | --program-transfo=* | --program-transf=* \
1704 | --program-trans=* | --program-tran=* \
1705 | --progr-tra=* | --program-tr=* | --program-t=*)
1706 program_transform_name
=$ac_optarg ;;
1708 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1710 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1711 pdfdir
=$ac_optarg ;;
1713 -psdir | --psdir | --psdi | --psd | --ps)
1715 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1718 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1719 | -silent | --silent | --silen | --sile | --sil)
1722 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1724 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1726 sbindir
=$ac_optarg ;;
1728 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1729 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1730 | --sharedst | --shareds | --shared | --share | --shar \
1732 ac_prev
=sharedstatedir
;;
1733 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1734 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1735 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1737 sharedstatedir
=$ac_optarg ;;
1739 -site | --site | --sit)
1741 -site=* | --site=* | --sit=*)
1744 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1746 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1747 srcdir
=$ac_optarg ;;
1749 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1750 | --syscon | --sysco | --sysc | --sys | --sy)
1751 ac_prev
=sysconfdir
;;
1752 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1753 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1754 sysconfdir
=$ac_optarg ;;
1756 -target | --target | --targe | --targ | --tar | --ta | --t)
1757 ac_prev
=target_alias
;;
1758 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1759 target_alias
=$ac_optarg ;;
1761 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1764 -version | --version | --versio | --versi | --vers | -V)
1765 ac_init_version
=: ;;
1768 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1769 # Reject names that are not valid shell variable names.
1770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1771 as_fn_error $?
"invalid package name: $ac_useropt"
1772 ac_useropt_orig
=$ac_useropt
1773 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1774 case $ac_user_opts in
1778 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1779 ac_unrecognized_sep
=', ';;
1781 eval with_
$ac_useropt=\
$ac_optarg ;;
1783 -without-* | --without-*)
1784 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1795 ac_unrecognized_sep
=', ';;
1797 eval with_
$ac_useropt=no
;;
1800 # Obsolete; use --with-x.
1803 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1804 | --x-incl | --x-inc | --x-in | --x-i)
1805 ac_prev
=x_includes
;;
1806 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1807 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1808 x_includes
=$ac_optarg ;;
1810 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1811 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1812 ac_prev
=x_libraries
;;
1813 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1814 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1815 x_libraries
=$ac_optarg ;;
1817 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1818 Try \`$0 --help' for more information"
1822 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1823 # Reject names that are not valid shell variable names.
1824 case $ac_envvar in #(
1825 '' | [0-9]* | *[!_$as_cr_alnum]* )
1826 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1828 eval $ac_envvar=\
$ac_optarg
1829 export $ac_envvar ;;
1832 # FIXME: should be removed in autoconf 3.0.
1833 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1834 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1835 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1836 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1842 if test -n "$ac_prev"; then
1843 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1844 as_fn_error $?
"missing argument to $ac_option"
1847 if test -n "$ac_unrecognized_opts"; then
1848 case $enable_option_checking in
1850 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1851 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1855 # Check all directory arguments for consistency.
1856 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1857 datadir sysconfdir sharedstatedir localstatedir includedir \
1858 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1859 libdir localedir mandir
1861 eval ac_val
=\$
$ac_var
1862 # Remove trailing slashes.
1865 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1866 eval $ac_var=\
$ac_val;;
1868 # Be sure to have absolute directory names.
1870 [\\/$
]* | ?
:[\\/]* ) continue;;
1871 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1873 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1876 # There might be people who depend on the old broken behavior: `$host'
1877 # used to hold the argument of --host etc.
1878 # FIXME: To remove some day.
1881 target
=$target_alias
1883 # FIXME: To remove some day.
1884 if test "x$host_alias" != x
; then
1885 if test "x$build_alias" = x
; then
1886 cross_compiling
=maybe
1887 elif test "x$build_alias" != "x$host_alias"; then
1893 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1895 test "$silent" = yes && exec 6>/dev
/null
1898 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1899 ac_ls_di
=`ls -di .` &&
1900 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1901 as_fn_error $?
"working directory cannot be determined"
1902 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1903 as_fn_error $?
"pwd does not report name of working directory"
1906 # Find the source files, if location was not specified.
1907 if test -z "$srcdir"; then
1908 ac_srcdir_defaulted
=yes
1909 # Try the directory containing this script, then the parent directory.
1910 ac_confdir
=`$as_dirname -- "$as_myself" ||
1911 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1912 X"$as_myself" : 'X\(//\)[^/]' \| \
1913 X"$as_myself" : 'X\(//\)$' \| \
1914 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1915 $as_echo X"$as_myself" |
1916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1934 if test ! -r "$srcdir/$ac_unique_file"; then
1938 ac_srcdir_defaulted
=no
1940 if test ! -r "$srcdir/$ac_unique_file"; then
1941 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1942 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1944 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1946 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1948 # When building in place, set srcdir=.
1949 if test "$ac_abs_confdir" = "$ac_pwd"; then
1952 # Remove unnecessary trailing slashes from srcdir.
1953 # Double slashes in file names in object file debugging info
1954 # mess up M-x gdb in Emacs.
1956 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1958 for ac_var
in $ac_precious_vars; do
1959 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1960 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1961 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1962 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1966 # Report the --help message.
1968 if test "$ac_init_help" = "long"; then
1969 # Omit some internal or obsolete options to make the list less imposing.
1970 # This message is too long to be a string in the A/UX 3.1 sh.
1972 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1974 Usage: $0 [OPTION]... [VAR=VALUE]...
1976 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1977 VAR=VALUE. See below for descriptions of some of the useful variables.
1979 Defaults for the options are specified in brackets.
1982 -h, --help display this help and exit
1983 --help=short display options specific to this package
1984 --help=recursive display the short help of all the included packages
1985 -V, --version display version information and exit
1986 -q, --quiet, --silent do not print \`checking ...' messages
1987 --cache-file=FILE cache test results in FILE [disabled]
1988 -C, --config-cache alias for \`--cache-file=config.cache'
1989 -n, --no-create do not create output files
1990 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1992 Installation directories:
1993 --prefix=PREFIX install architecture-independent files in PREFIX
1994 [$ac_default_prefix]
1995 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1998 By default, \`make install' will install all the files in
1999 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2000 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2001 for instance \`--prefix=\$HOME'.
2003 For better control, use the options below.
2005 Fine tuning of the installation directories:
2006 --bindir=DIR user executables [EPREFIX/bin]
2007 --sbindir=DIR system admin executables [EPREFIX/sbin]
2008 --libexecdir=DIR program executables [EPREFIX/libexec]
2009 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2010 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2011 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2012 --libdir=DIR object code libraries [EPREFIX/lib]
2013 --includedir=DIR C header files [PREFIX/include]
2014 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2015 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2016 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2017 --infodir=DIR info documentation [DATAROOTDIR/info]
2018 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2019 --mandir=DIR man documentation [DATAROOTDIR/man]
2020 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2021 --htmldir=DIR html documentation [DOCDIR]
2022 --dvidir=DIR dvi documentation [DOCDIR]
2023 --pdfdir=DIR pdf documentation [DOCDIR]
2024 --psdir=DIR ps documentation [DOCDIR]
2030 --x-includes=DIR X include files are
in DIR
2031 --x-libraries=DIR X library files are
in DIR
2034 --build=BUILD configure
for building on BUILD
[guessed
]
2035 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2039 if test -n "$ac_init_help"; then
2040 case $ac_init_help in
2041 short
| recursive
) echo "Configuration of wxWidgets 2.9.5:";;
2046 --disable-option-checking ignore unrecognized
--enable/--with options
2047 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2048 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2049 --disable-gui don
't build GUI parts of the library
2050 --enable-monolithic build wxWidgets as single library
2051 --enable-plugins build parts of wxWidgets as loadable components
2052 --enable-official_build official build of wxWidgets (win32 DLL only)
2053 --enable-vendor=VENDOR vendor name (win32 DLL only)
2054 --disable-all-features disable all optional features to build minimal library
2055 --enable-universal use wxWidgets GUI controls instead of native ones
2056 --enable-nanox use NanoX
2057 --enable-gpe use GNOME PDA Environment features if possible
2058 --enable-debug build library for debugging
2059 --disable-debug_flag disable all debugging support
2060 --enable-debug_info generate debug information
2061 --enable-debug_gdb create code with extra GDB debugging information
2062 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2063 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2064 --disable-shared create static library instead of shared
2065 --enable-stl use standard C++ classes for everything
2066 --enable-std_containers use standard C++ container classes
2067 --enable-std_iostreams use standard C++ stream classes
2068 --enable-std_string use standard C++ string classes
2069 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2070 --disable-unicode compile without Unicode support
2071 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2072 --enable-utf8 use UTF-8 representation for strings (Unix only)
2073 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2074 --enable-extended_rtti use extended RTTI (XTI)
2075 --enable-omf use OMF object format
2076 --disable-optimise compile without optimisations
2077 --enable-profile create code with profiling information
2078 --enable-no_rtti create code without RTTI information
2079 --enable-no_exceptions create code without C++ exceptions handling
2080 --enable-permissive compile code disregarding strict ANSI
2081 --enable-no_deps create code without dependency information
2082 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2083 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2084 --enable-macosx_arch=ARCH build
for just the specified architecture
2085 --enable-compat26 enable wxWidgets
2.6 compatibility
2086 --disable-compat28 disable wxWidgets
2.8 compatibility
2087 --disable-rpath disable use of rpath
for uninstalled builds
2088 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2089 --disable-visibility disable use of ELF symbols visibility even
if supported
2090 --disable-tls disable use of compiler TLS support
2091 --enable-intl use internationalization system
2092 --enable-xlocale use x
-locale support
(requires wxLocale
)
2093 --enable-config use wxConfig
(and derived
) classes
2094 --enable-protocols use wxProtocol and derived classes
2095 --enable-ftp use wxFTP
(requires wxProtocol
2096 --enable-http use wxHTTP
(requires wxProtocol
2097 --enable-fileproto use wxFileProto class
(requires wxProtocol
2098 --enable-sockets use socket
/network classes
2099 --enable-ipv6 enable IPv6 support
in wxSocket
2100 --enable-ole use OLE classes
(Win32 only
)
2101 --enable-dataobj use data object classes
2102 --enable-ipc use interprocess communication
(wxSocket etc.
)
2103 --enable-baseevtloop use event loop
in console programs too
2104 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2105 --enable-selectloop use wxSelectDispatcher class
2106 --enable-any use wxAny class
2107 --enable-apple_ieee use the Apple IEEE codec
2108 --enable-arcstream use wxArchive streams
2109 --enable-base64 use base64 encoding
/decoding functions
2110 --enable-backtrace use wxStackWalker class
for getting backtraces
2111 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2112 --enable-cmdline use wxCmdLineParser class
2113 --enable-datetime use wxDateTime class
2114 --enable-debugreport use wxDebugReport class
2115 --enable-dialupman use dialup network classes
2116 --enable-dynlib use wxLibrary class
for DLL loading
2117 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2118 --enable-exceptions build exception
-safe library
2119 --enable-ffile use wxFFile class
2120 --enable-file use wxFile class
2121 --enable-filehistory use wxFileHistory class
2122 --enable-filesystem use virtual
file systems classes
2123 --enable-fontenum use wxFontEnumerator class
2124 --enable-fontmap use font encodings conversion classes
2125 --enable-fs_archive use virtual archive filesystems
2126 --enable-fs_inet use virtual HTTP
/FTP filesystems
2127 --enable-fs_zip now replaced by fs_archive
2128 --enable-fsvolume use wxFSVolume class
2129 --enable-fswatcher use wxFileSystemWatcher class
2130 --enable-geometry use geometry class
2131 --enable-log use logging system
2132 --enable-longlong use wxLongLong class
2133 --enable-mimetype use wxMimeTypesManager
2134 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2135 --enable-snglinst use wxSingleInstanceChecker class
2136 --enable-sound use wxSound class
2137 --enable-stdpaths use wxStandardPaths class
2138 --enable-stopwatch use wxStopWatch class
2139 --enable-streams use wxStream etc classes
2140 --enable-sysoptions use wxSystemOptions
2141 --enable-tarstream use wxTar streams
2142 --enable-textbuf use wxTextBuffer class
2143 --enable-textfile use wxTextFile class
2144 --enable-timer use wxTimer class
2145 --enable-variant use wxVariant class
2146 --enable-zipstream use wxZip streams
2147 --enable-url use wxURL class
2148 --enable-protocol use wxProtocol class
2149 --enable-protocol-http HTTP support
in wxProtocol
2150 --enable-protocol-ftp FTP support
in wxProtocol
2151 --enable-protocol-file FILE support
in wxProtocol
2152 --enable-threads use threads
2153 --enable-iniconf use wxIniConfig
(Win32 only
)
2154 --enable-regkey use wxRegKey class
(Win32 only
)
2155 --enable-docview use document view architecture
2156 --enable-help use
help subsystem
2157 --enable-mshtmlhelp use MS HTML Help
(win32
)
2158 --enable-html use wxHTML sub
-library
2159 --enable-htmlhelp use wxHTML
-based help
2160 --enable-xrc use XRC resources sub
-library
2161 --enable-aui use AUI docking library
2162 --enable-propgrid use wxPropertyGrid library
2163 --enable-ribbon use wxRibbon library
2164 --enable-stc use wxStyledTextCtrl library
2165 --enable-constraints use layout
-constraints system
2166 --enable-loggui use standard GUI logger
2167 --enable-logwin use wxLogWindow
2168 --enable-logdialog use wxLogDialog
2169 --enable-mdi use multiple document interface architecture
2170 --enable-mdidoc use docview architecture with MDI
2171 --enable-mediactrl use wxMediaCtrl class
2172 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2173 --enable-richtext use wxRichTextCtrl
2174 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2175 --enable-printarch use printing architecture
2176 --enable-svg use wxSVGFileDC device context
2177 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2178 --enable-webview use wxWebView library
2179 --enable-graphics_ctx use graphics context
2D drawing API
2180 --enable-clipboard use wxClipboard class
2181 --enable-dnd use Drag
'n'Drop classes
2182 --disable-controls disable compilation of all standard controls
2183 --enable-markup support wxControl
::SetLabelMarkup
2184 --enable-accel use accelerators
2185 --enable-animatectrl use wxAnimationCtrl class
2186 --enable-bannerwindow use wxBannerWindow class
2187 --enable-artstd use standard XPM icons
in wxArtProvider
2188 --enable-arttango use Tango icons
in wxArtProvider
2189 --enable-bmpbutton use wxBitmapButton class
2190 --enable-bmpcombobox use wxBitmapComboBox class
2191 --enable-button use wxButton class
2192 --enable-calendar use wxCalendarCtrl class
2193 --enable-caret use wxCaret class
2194 --enable-checkbox use wxCheckBox class
2195 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2196 --enable-choice use wxChoice class
2197 --enable-choicebook use wxChoicebook class
2198 --enable-collpane use wxCollapsiblePane class
2199 --enable-colourpicker use wxColourPickerCtrl class
2200 --enable-combobox use wxComboBox class
2201 --enable-comboctrl use wxComboCtrl class
2202 --enable-commandlinkbutton use wxCommmandLinkButton class
2203 --enable-dataviewctrl use wxDataViewCtrl class
2204 --enable-datepick use wxDatePickerCtrl class
2205 --enable-detect_sm use code to detect X11 session manager
2206 --enable-dirpicker use wxDirPickerCtrl class
2207 --enable-display use wxDisplay class
2208 --enable-editablebox use wxEditableListBox class
2209 --enable-filectrl use wxFileCtrl class
2210 --enable-filepicker use wxFilePickerCtrl class
2211 --enable-fontpicker use wxFontPickerCtrl class
2212 --enable-gauge use wxGauge class
2213 --enable-grid use wxGrid class
2214 --enable-headerctrl use wxHeaderCtrl class
2215 --enable-hyperlink use wxHyperlinkCtrl class
2216 --enable-imaglist use wxImageList class
2217 --enable-infobar use wxInfoBar class
2218 --enable-listbook use wxListbook class
2219 --enable-listbox use wxListBox class
2220 --enable-listctrl use wxListCtrl class
2221 --enable-notebook use wxNotebook class
2222 --enable-notifmsg use wxNotificationMessage class
2223 --enable-odcombobox use wxOwnerDrawnComboBox class
2224 --enable-popupwin use wxPopUpWindow class
2225 --enable-radiobox use wxRadioBox class
2226 --enable-radiobtn use wxRadioButton class
2227 --enable-richmsgdlg use wxRichMessageDialog class
2228 --enable-richtooltip use wxRichToolTip class
2229 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2230 --enable-sash use wxSashWindow class
2231 --enable-scrollbar use wxScrollBar class and scrollable windows
2232 --enable-searchctrl use wxSearchCtrl class
2233 --enable-slider use wxSlider class
2234 --enable-spinbtn use wxSpinButton class
2235 --enable-spinctrl use wxSpinCtrl class
2236 --enable-splitter use wxSplitterWindow class
2237 --enable-statbmp use wxStaticBitmap class
2238 --enable-statbox use wxStaticBox class
2239 --enable-statline use wxStaticLine class
2240 --enable-stattext use wxStaticText class
2241 --enable-statusbar use wxStatusBar class
2242 --enable-taskbaricon use wxTaskBarIcon class
2243 --enable-tbarnative use native wxToolBar class
2244 --enable-textctrl use wxTextCtrl class
2245 --enable-timepick use wxTimePickerCtrl class
2246 --enable-tipwindow use wxTipWindow class
2247 --enable-togglebtn use wxToggleButton class
2248 --enable-toolbar use wxToolBar class
2249 --enable-toolbook use wxToolbook class
2250 --enable-treebook use wxTreebook class
2251 --enable-treectrl use wxTreeCtrl class
2252 --enable-treelist use wxTreeListCtrl class
2253 --enable-commondlg use all common dialogs
2254 --enable-aboutdlg use wxAboutBox
2255 --enable-choicedlg use wxChoiceDialog
2256 --enable-coldlg use wxColourDialog
2257 --enable-filedlg use wxFileDialog
2258 --enable-finddlg use wxFindReplaceDialog
2259 --enable-fontdlg use wxFontDialog
2260 --enable-dirdlg use wxDirDialog
2261 --enable-msgdlg use wxMessageDialog
2262 --enable-numberdlg use wxNumberEntryDialog
2263 --enable-splash use wxSplashScreen
2264 --enable-textdlg use wxTextDialog
2265 --enable-tipdlg use startup tips
2266 --enable-progressdlg use wxProgressDialog
2267 --enable-wizarddlg use wxWizard
2268 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2269 --enable-miniframe use wxMiniFrame class
2270 --enable-tooltips use wxToolTip class
2271 --enable-splines use spline drawing code
2272 --enable-mousewheel use mousewheel
2273 --enable-validators use wxValidator and derived classes
2274 --enable-busyinfo use wxBusyInfo
2275 --enable-hotkey use wxWindow
::RegisterHotKey
()
2276 --enable-joystick use wxJoystick
2277 --enable-metafiles use wxMetaFile
2278 --enable-dragimage use wxDragImage
2279 --enable-accessibility enable accessibility support
2280 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2281 --enable-dctransform use wxDC
::SetTransformMatrix and related
2282 --enable-webviewwebkit use wxWebView WebKit backend
2283 --enable-palette use wxPalette class
2284 --enable-image use wxImage class
2285 --enable-gif use gif images
(GIF
file format
)
2286 --enable-pcx use pcx images
(PCX
file format
)
2287 --enable-tga use tga images
(TGA
file format
)
2288 --enable-iff use iff images
(IFF
file format
)
2289 --enable-pnm use pnm images
(PNM
file format
)
2290 --enable-xpm use xpm images
(XPM
file format
)
2291 --enable-ico_cur use Windows ICO and CUR formats
2292 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2293 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2294 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2295 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2296 --enable-wxdib use wxDIB class
(Win32 only
)
2297 --enable-webviewie use wxWebView IE backend
(Win32 only
)
2298 --enable-autoidman use automatic ids management
2299 --disable-largefile omit support
for large files
2300 --disable-gtktest do not try to compile and run a
test GTK
+ program
2301 --disable-gtktest Do not try to compile and run a
test GTK program
2302 --disable-sdltest Do not try to compile and run a
test SDL program
2303 --enable-omf use OMF object format
(OS
/2)
2304 --disable-dependency-tracking
2305 don
't use dependency tracking even if the compiler
2307 --disable-precomp-headers
2308 don't use precompiled headers even
if compiler can
2311 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2312 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2313 --without-subdirs don
't generate makefiles for samples/demos/...
2314 --with-flavour=NAME specify a name to identify this build
2315 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2316 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2317 --with-motif use Motif/Lesstif
2318 --with-osx_carbon use Mac OS X (Carbon)
2319 --with-osx_cocoa use Mac OS X (Cocoa)
2320 --with-osx_iphone use iPhone OS X port
2321 --with-osx use Mac OS X (default port, currently Carbon)
2322 --with-carbon same as --with-osx_carbon
2323 --with-cocoa same as --with-osx_cocoa
2324 --with-iphone same as --with-osx_iphone
2325 --with-mac same as --with-osx
2326 --with-old_cocoa use old, deprecated, Cocoa port
2327 --with-wine use Wine
2328 --with-msw use MS-Windows
2329 --with-pm use OS/2 Presentation Manager
2330 --with-directfb use DirectFB
2331 --with-microwin use MicroWindows
2333 --with-libpng use libpng (PNG image format)
2334 --with-libjpeg use libjpeg (JPEG file format)
2335 --with-libtiff use libtiff (TIFF file format)
2336 --without-libjbig don't use libjbig
in libtiff even
if available
)
2337 --without-liblzma don
't use liblzma in libtiff even if available)
2338 --with-libxpm use libxpm (XPM file format)
2339 --with-libiconv use libiconv (character conversion)
2340 --with-libmspack use libmspack (CHM help files loading)
2341 --without-gtkprint don't use GTK printing support
2342 --without-gnomeprint don
't use GNOME printing libraries
2343 --with-gnomevfs use GNOME VFS for associating MIME types
2344 --with-libnotify use libnotify for notifications
2345 --with-hildon use Hildon framework for Nokia 770/800/810
2346 --with-opengl use OpenGL (or Mesa)
2347 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2348 --with-sdl use SDL for audio on Unix
2349 --with-regex enable support for wxRegEx class
2350 --with-zlib use zlib for LZW compression
2351 --with-expat enable XML support using expat parser
2352 --with-macosx-sdk=PATH use an OS X SDK at PATH
2353 --with-macosx-version-min=VER build binaries which require at least this OS X version
2354 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2355 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2356 --with-x use the X Window System
2357 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2358 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2359 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2360 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2361 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2363 Some influential environment variables:
2364 CC C compiler command
2365 CFLAGS C compiler flags
2366 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2367 nonstandard directory <lib dir>
2368 LIBS libraries to pass to the linker, e.g. -l<library>
2369 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2370 you have headers in a nonstandard directory <include dir>
2372 CXX C++ compiler command
2373 CXXFLAGS C++ compiler flags
2374 CXXCPP C++ preprocessor
2375 PKG_CONFIG path to pkg-config utility
2377 C compiler flags for DIRECTFB, overriding pkg-config
2379 linker flags for DIRECTFB, overriding pkg-config
2380 XMKMF Path to xmkmf, Makefile generator for X Window System
2382 C compiler flags for PANGOX, overriding pkg-config
2383 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2385 C compiler flags for PANGOFT2, overriding pkg-config
2387 linker flags for PANGOFT2, overriding pkg-config
2389 C compiler flags for PANGOXFT, overriding pkg-config
2391 linker flags for PANGOXFT, overriding pkg-config
2393 C compiler flags for Xinerama, overriding pkg-config
2395 linker flags for Xinerama, overriding pkg-config
2397 C compiler flags for Xxf86vm, overriding pkg-config
2399 linker flags for Xxf86vm, overriding pkg-config
2400 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2401 SM_LIBS linker flags for SM, overriding pkg-config
2402 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2403 GL_LIBS linker flags for GL, overriding pkg-config
2404 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2405 GLU_LIBS linker flags for GLU, overriding pkg-config
2407 C compiler flags for MesaGL, overriding pkg-config
2408 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2410 C compiler flags for GTKPRINT, overriding pkg-config
2412 linker flags for GTKPRINT, overriding pkg-config
2413 LIBGNOMEPRINTUI_CFLAGS
2414 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2415 LIBGNOMEPRINTUI_LIBS
2416 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2418 C compiler flags for GNOMEVFS, overriding pkg-config
2420 linker flags for GNOMEVFS, overriding pkg-config
2422 C compiler flags for LIBNOTIFY, overriding pkg-config
2424 linker flags for LIBNOTIFY, overriding pkg-config
2426 C compiler flags for HILDON, overriding pkg-config
2427 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2429 C compiler flags for HILDON2, overriding pkg-config
2431 linker flags for HILDON2, overriding pkg-config
2433 C compiler flags for WEBKIT, overriding pkg-config
2434 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2436 C compiler flags for CAIRO, overriding pkg-config
2437 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2438 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2439 GST_LIBS linker flags for GST, overriding pkg-config
2441 Use these variables to override the choices made by `configure' or to
help
2442 it to
find libraries and programs with nonstandard names
/locations.
2444 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2449 if test "$ac_init_help" = "recursive"; then
2450 # If there are subdirs, report their specific --help.
2451 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2452 test -d "$ac_dir" ||
2453 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2458 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2460 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2461 # A ".." for each directory in $ac_dir_suffix.
2462 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2463 case $ac_top_builddir_sub in
2464 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2465 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2468 ac_abs_top_builddir
=$ac_pwd
2469 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2470 # for backward compatibility:
2471 ac_top_builddir
=$ac_top_build_prefix
2474 .
) # We are building in place.
2476 ac_top_srcdir
=$ac_top_builddir_sub
2477 ac_abs_top_srcdir
=$ac_pwd ;;
2478 [\\/]* | ?
:[\\/]* ) # Absolute name.
2479 ac_srcdir
=$srcdir$ac_dir_suffix;
2480 ac_top_srcdir
=$srcdir
2481 ac_abs_top_srcdir
=$srcdir ;;
2483 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2484 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2485 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2487 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2489 cd "$ac_dir" || { ac_status
=$?
; continue; }
2490 # Check for guested configure.
2491 if test -f "$ac_srcdir/configure.gnu"; then
2493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2494 elif test -f "$ac_srcdir/configure"; then
2496 $SHELL "$ac_srcdir/configure" --help=recursive
2498 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2500 cd "$ac_pwd" || { ac_status
=$?
; break; }
2504 test -n "$ac_init_help" && exit $ac_status
2505 if $ac_init_version; then
2507 wxWidgets configure
2.9.5
2508 generated by GNU Autoconf
2.69
2510 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2511 This configure
script is free software
; the Free Software Foundation
2512 gives unlimited permission to copy
, distribute and modify it.
2517 ## ------------------------ ##
2518 ## Autoconf initialization. ##
2519 ## ------------------------ ##
2521 # ac_fn_c_try_compile LINENO
2522 # --------------------------
2523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2524 ac_fn_c_try_compile
()
2526 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2527 rm -f conftest.
$ac_objext
2528 if { { ac_try
="$ac_compile"
2530 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2534 $as_echo "$ac_try_echo"; } >&5
2535 (eval "$ac_compile") 2>conftest.err
2537 if test -s conftest.err; then
2538 grep -v '^ *+' conftest.err >conftest.er1
2539 cat conftest.er1 >&5
2540 mv -f conftest.er1 conftest.err
2542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2543 test $ac_status = 0; } && {
2544 test -z "$ac_c_werror_flag" ||
2545 test ! -s conftest.err
2546 } && test -s conftest.$ac_objext; then :
2549 $as_echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.$ac_ext >&5
2554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2555 as_fn_set_status $ac_retval
2557 } # ac_fn_c_try_compile
2559 # ac_fn_c_try_cpp LINENO
2560 # ----------------------
2561 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2565 if { { ac_try="$ac_cpp conftest.$ac_ext"
2567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2568 *) ac_try_echo
=$ac_try;;
2570 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2571 $as_echo "$ac_try_echo"; } >&5
2572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2574 if test -s conftest.err
; then
2575 grep -v '^ *+' conftest.err
>conftest.er1
2576 cat conftest.er1
>&5
2577 mv -f conftest.er1 conftest.err
2579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2580 test $ac_status = 0; } > conftest.i
&& {
2581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2582 test ! -s conftest.err
2586 $as_echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.
$ac_ext >&5
2591 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2592 as_fn_set_status
$ac_retval
2596 # ac_fn_cxx_try_compile LINENO
2597 # ----------------------------
2598 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2599 ac_fn_cxx_try_compile
()
2601 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2602 rm -f conftest.
$ac_objext
2603 if { { ac_try
="$ac_compile"
2605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2606 *) ac_try_echo=$ac_try;;
2608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2609 $as_echo "$ac_try_echo"; } >&5
2610 (eval "$ac_compile") 2>conftest.err
2612 if test -s conftest.err; then
2613 grep -v '^ *+' conftest.err >conftest.er1
2614 cat conftest.er1 >&5
2615 mv -f conftest.er1 conftest.err
2617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2618 test $ac_status = 0; } && {
2619 test -z "$ac_cxx_werror_flag" ||
2620 test ! -s conftest.err
2621 } && test -s conftest.$ac_objext; then :
2624 $as_echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.$ac_ext >&5
2629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2630 as_fn_set_status $ac_retval
2632 } # ac_fn_cxx_try_compile
2634 # ac_fn_c_try_link LINENO
2635 # -----------------------
2636 # Try to link conftest.$ac_ext, and return whether this succeeded.
2639 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2640 rm -f conftest.$ac_objext conftest$ac_exeext
2641 if { { ac_try="$ac_link"
2643 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2644 *) ac_try_echo
=$ac_try;;
2646 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2647 $as_echo "$ac_try_echo"; } >&5
2648 (eval "$ac_link") 2>conftest.err
2650 if test -s conftest.err
; then
2651 grep -v '^ *+' conftest.err
>conftest.er1
2652 cat conftest.er1
>&5
2653 mv -f conftest.er1 conftest.err
2655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2656 test $ac_status = 0; } && {
2657 test -z "$ac_c_werror_flag" ||
2658 test ! -s conftest.err
2659 } && test -s conftest
$ac_exeext && {
2660 test "$cross_compiling" = yes ||
2661 test -x conftest
$ac_exeext
2665 $as_echo "$as_me: failed program was:" >&5
2666 sed 's/^/| /' conftest.
$ac_ext >&5
2670 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2671 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2672 # interfere with the next link command; also delete a directory that is
2673 # left behind by Apple's compiler. We do this before executing the actions.
2674 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2676 as_fn_set_status
$ac_retval
2678 } # ac_fn_c_try_link
2680 # ac_fn_cxx_try_link LINENO
2681 # -------------------------
2682 # Try to link conftest.$ac_ext, and return whether this succeeded.
2683 ac_fn_cxx_try_link
()
2685 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2686 rm -f conftest.
$ac_objext conftest
$ac_exeext
2687 if { { ac_try
="$ac_link"
2689 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 $as_echo "$ac_try_echo"; } >&5
2694 (eval "$ac_link") 2>conftest.err
2696 if test -s conftest.err; then
2697 grep -v '^ *+' conftest.err >conftest.er1
2698 cat conftest.er1 >&5
2699 mv -f conftest.er1 conftest.err
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; } && {
2703 test -z "$ac_cxx_werror_flag" ||
2704 test ! -s conftest.err
2705 } && test -s conftest$ac_exeext && {
2706 test "$cross_compiling" = yes ||
2707 test -x conftest$ac_exeext
2711 $as_echo "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.$ac_ext >&5
2716 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2717 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2718 # interfere with the next link command; also delete a directory that is
2719 # left behind by Apple's compiler. We do this before executing the actions.
2720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2722 as_fn_set_status $ac_retval
2724 } # ac_fn_cxx_try_link
2726 # ac_fn_c_try_run LINENO
2727 # ----------------------
2728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2729 # that executables *can* be run.
2732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2733 if { { ac_try="$ac_link"
2735 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2736 *) ac_try_echo
=$ac_try;;
2738 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 $as_echo "$ac_try_echo"; } >&5
2740 (eval "$ac_link") 2>&5
2742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2743 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2744 { { case "(($ac_try" in
2745 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2746 *) ac_try_echo=$ac_try;;
2748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2749 $as_echo "$ac_try_echo"; } >&5
2750 (eval "$ac_try") 2>&5
2752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2753 test $ac_status = 0; }; }; then :
2756 $as_echo "$as_me: program exited with status $ac_status" >&5
2757 $as_echo "$as_me: failed program was:" >&5
2758 sed 's/^/| /' conftest.$ac_ext >&5
2760 ac_retval=$ac_status
2762 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2764 as_fn_set_status $ac_retval
2768 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2769 # -------------------------------------------------------
2770 # Tests whether HEADER exists and can be compiled using the include files in
2771 # INCLUDES, setting the cache variable VAR accordingly.
2772 ac_fn_c_check_header_compile ()
2774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2776 $as_echo_n "checking for $2... " >&6; }
2777 if eval \${$3+:} false; then :
2778 $as_echo_n "(cached) " >&6
2780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2781 /* end confdefs.h. */
2785 if ac_fn_c_try_compile "$LINENO"; then :
2790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2794 $as_echo "$ac_res" >&6; }
2795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797 } # ac_fn_c_check_header_compile
2799 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2800 # ---------------------------------------------------------
2801 # Tests whether HEADER exists and can be compiled using the include files in
2802 # INCLUDES, setting the cache variable VAR accordingly.
2803 ac_fn_cxx_check_header_compile ()
2805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2807 $as_echo_n "checking for $2... " >&6; }
2808 if eval \${$3+:} false; then :
2809 $as_echo_n "(cached) " >&6
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2816 if ac_fn_cxx_try_compile "$LINENO"; then :
2821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2825 $as_echo "$ac_res" >&6; }
2826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2828 } # ac_fn_cxx_check_header_compile
2830 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2831 # --------------------------------------------
2832 # Tries to find the compile-time value of EXPR in a program that includes
2833 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2835 ac_fn_c_compute_int ()
2837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2838 if test "$cross_compiling" = yes; then
2839 # Depending upon the size, compute the lo and hi bounds.
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2846 static int test_array [1 - 2 * !(($2) >= 0)];
2848 return test_array [0];
2854 if ac_fn_c_try_compile "$LINENO"; then :
2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2858 /* end confdefs.h. */
2863 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2865 return test_array [0];
2871 if ac_fn_c_try_compile "$LINENO"; then :
2872 ac_hi=$ac_mid; break
2874 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2875 if test $ac_lo -le $ac_mid; then
2879 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2890 static int test_array [1 - 2 * !(($2) < 0)];
2892 return test_array [0];
2898 if ac_fn_c_try_compile "$LINENO"; then :
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2907 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2909 return test_array [0];
2915 if ac_fn_c_try_compile "$LINENO"; then :
2916 ac_lo=$ac_mid; break
2918 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2919 if test $ac_mid -le $ac_hi; then
2923 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2933 # Binary search between lo and hi bounds.
2934 while test "x$ac_lo" != "x$ac_hi"; do
2935 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2942 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2944 return test_array [0];
2950 if ac_fn_c_try_compile "$LINENO"; then :
2953 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2963 /* end confdefs.h. */
2965 static long int longval () { return $2; }
2966 static unsigned long int ulongval () { return $2; }
2973 FILE *f = fopen ("conftest.val", "w");
2978 long int i = longval ();
2981 fprintf (f, "%ld", i);
2985 unsigned long int i = ulongval ();
2988 fprintf (f, "%lu", i);
2990 /* Do not output a trailing newline, as this causes \r\n confusion
2991 on some platforms. */
2992 return ferror (f) || fclose (f) != 0;
2998 if ac_fn_c_try_run "$LINENO"; then :
2999 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3004 conftest.$ac_objext conftest.beam conftest.$ac_ext
3008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3009 as_fn_set_status $ac_retval
3011 } # ac_fn_c_compute_int
3013 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3014 # ---------------------------------------------
3015 # Tests whether TYPE exists after having included INCLUDES, setting cache
3016 # variable VAR accordingly.
3017 ac_fn_cxx_check_type ()
3019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3021 $as_echo_n "checking for $2... " >&6; }
3022 if eval \${$3+:} false; then :
3023 $as_echo_n "(cached) " >&6
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3038 if ac_fn_cxx_try_compile "$LINENO"; then :
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3051 if ac_fn_cxx_try_compile "$LINENO"; then :
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3062 $as_echo "$ac_res" >&6; }
3063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3065 } # ac_fn_cxx_check_type
3067 # ac_fn_cxx_try_cpp LINENO
3068 # ------------------------
3069 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3070 ac_fn_cxx_try_cpp ()
3072 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3073 if { { ac_try="$ac_cpp conftest.$ac_ext"
3075 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3076 *) ac_try_echo
=$ac_try;;
3078 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3079 $as_echo "$ac_try_echo"; } >&5
3080 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3082 if test -s conftest.err
; then
3083 grep -v '^ *+' conftest.err
>conftest.er1
3084 cat conftest.er1
>&5
3085 mv -f conftest.er1 conftest.err
3087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088 test $ac_status = 0; } > conftest.i
&& {
3089 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3090 test ! -s conftest.err
3094 $as_echo "$as_me: failed program was:" >&5
3095 sed 's/^/| /' conftest.
$ac_ext >&5
3099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3100 as_fn_set_status
$ac_retval
3102 } # ac_fn_cxx_try_cpp
3104 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3105 # ---------------------------------------------------------
3106 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3107 # the include files in INCLUDES and setting the cache variable VAR
3109 ac_fn_cxx_check_header_mongrel
()
3111 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3112 if eval \
${$3+:} false
; then :
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3114 $as_echo_n "checking for $2... " >&6; }
3115 if eval \
${$3+:} false
; then :
3116 $as_echo_n "(cached) " >&6
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3120 $as_echo "$ac_res" >&6; }
3122 # Is the header compilable?
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3124 $as_echo_n "checking $2 usability... " >&6; }
3125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3126 /* end confdefs.h. */
3130 if ac_fn_cxx_try_compile
"$LINENO"; then :
3131 ac_header_compiler
=yes
3133 ac_header_compiler
=no
3135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3137 $as_echo "$ac_header_compiler" >&6; }
3139 # Is the header present?
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3141 $as_echo_n "checking $2 presence... " >&6; }
3142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3146 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3147 ac_header_preproc
=yes
3149 ac_header_preproc
=no
3151 rm -f conftest.err conftest.i conftest.
$ac_ext
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3153 $as_echo "$ac_header_preproc" >&6; }
3155 # So? What about this header?
3156 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3159 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3161 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3165 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3167 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3169 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3171 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3173 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3174 ( $as_echo "## ----------------------------------------- ##
3175 ## Report this to wx-dev@lists.wxwidgets.org ##
3176 ## ----------------------------------------- ##"
3177 ) | sed "s/^/$as_me: WARNING: /" >&2
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3181 $as_echo_n "checking for $2... " >&6; }
3182 if eval \
${$3+:} false
; then :
3183 $as_echo_n "(cached) " >&6
3185 eval "$3=\$ac_header_compiler"
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3189 $as_echo "$ac_res" >&6; }
3191 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3193 } # ac_fn_cxx_check_header_mongrel
3195 # ac_fn_c_check_func LINENO FUNC VAR
3196 # ----------------------------------
3197 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3198 ac_fn_c_check_func
()
3200 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3202 $as_echo_n "checking for $2... " >&6; }
3203 if eval \
${$3+:} false
; then :
3204 $as_echo_n "(cached) " >&6
3206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3208 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3210 #define $2 innocuous_$2
3212 /* System header to define __stub macros and hopefully few prototypes,
3213 which can conflict with char $2 (); below.
3214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3215 <limits.h> exists even on freestanding compilers. */
3218 # include <limits.h>
3220 # include <assert.h>
3225 /* Override any GCC internal prototype to avoid an error.
3226 Use char because int might match the return type of a GCC
3227 builtin and then its argument prototype would still apply. */
3232 /* The GNU C library defines this for functions which it implements
3233 to always fail with ENOSYS. Some functions are actually named
3234 something starting with __ and the normal name is an alias. */
3235 #if defined __stub_$2 || defined __stub___$2
3247 if ac_fn_c_try_link
"$LINENO"; then :
3252 rm -f core conftest.err conftest.
$ac_objext \
3253 conftest
$ac_exeext conftest.
$ac_ext
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3257 $as_echo "$ac_res" >&6; }
3258 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3260 } # ac_fn_c_check_func
3262 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3263 # -------------------------------------------
3264 # Tests whether TYPE exists after having included INCLUDES, setting cache
3265 # variable VAR accordingly.
3266 ac_fn_c_check_type
()
3268 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3270 $as_echo_n "checking for $2... " >&6; }
3271 if eval \
${$3+:} false
; then :
3272 $as_echo_n "(cached) " >&6
3275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3276 /* end confdefs.h. */
3287 if ac_fn_c_try_compile
"$LINENO"; then :
3288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3300 if ac_fn_c_try_compile
"$LINENO"; then :
3305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3311 $as_echo "$ac_res" >&6; }
3312 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3314 } # ac_fn_c_check_type
3316 # ac_fn_cxx_try_run LINENO
3317 # ------------------------
3318 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3319 # that executables *can* be run.
3320 ac_fn_cxx_try_run
()
3322 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3323 if { { ac_try
="$ac_link"
3325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3328 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3329 $as_echo "$ac_try_echo"; } >&5
3330 (eval "$ac_link") 2>&5
3332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3333 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3334 { { case "(($ac_try" in
3335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3336 *) ac_try_echo
=$ac_try;;
3338 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
3340 (eval "$ac_try") 2>&5
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }; }; then :
3346 $as_echo "$as_me: program exited with status $ac_status" >&5
3347 $as_echo "$as_me: failed program was:" >&5
3348 sed 's/^/| /' conftest.
$ac_ext >&5
3350 ac_retval
=$ac_status
3352 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3353 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3354 as_fn_set_status
$ac_retval
3356 } # ac_fn_cxx_try_run
3357 cat >config.log
<<_ACEOF
3358 This file contains any messages produced by compilers while
3359 running configure, to aid debugging if configure makes a mistake.
3361 It was created by wxWidgets $as_me 2.9.5, which was
3362 generated by GNU Autoconf 2.69. Invocation command line was
3374 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3375 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3376 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3377 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3378 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3380 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3381 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3383 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3384 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3385 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3386 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3387 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3388 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3389 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3397 test -z "$as_dir" && as_dir
=.
3398 $as_echo "PATH: $as_dir"
3414 # Keep a trace of the command line.
3415 # Strip out --no-create and --no-recursion so they do not pile up.
3416 # Strip out --silent because we don't want to record it for future runs.
3417 # Also quote any args containing shell meta-characters.
3418 # Make two passes to allow for proper duplicate-argument suppression.
3422 ac_must_keep_next
=false
3428 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3429 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3430 | -silent | --silent | --silen | --sile | --sil)
3433 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3436 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3438 as_fn_append ac_configure_args1
" '$ac_arg'"
3439 if test $ac_must_keep_next = true
; then
3440 ac_must_keep_next
=false
# Got value, back to normal.
3443 *=* | --config-cache | -C | -disable-* | --disable-* \
3444 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3445 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3446 | -with-* | --with-* | -without-* | --without-* | --x)
3447 case "$ac_configure_args0 " in
3448 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3451 -* ) ac_must_keep_next
=true
;;
3454 as_fn_append ac_configure_args
" '$ac_arg'"
3459 { ac_configure_args0
=; unset ac_configure_args0
;}
3460 { ac_configure_args1
=; unset ac_configure_args1
;}
3462 # When interrupted or exit'd, cleanup temporary files, and complete
3463 # config.log. We remove comments because anyway the quotes in there
3464 # would cause problems or look ugly.
3465 # WARNING: Use '\'' to represent an apostrophe within the trap.
3466 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3467 trap 'exit_status=$?
3468 # Save into config.log some information that might help in debugging.
3472 $as_echo "## ---------------- ##
3473 ## Cache variables. ##
3474 ## ---------------- ##"
3476 # The following way of writing the cache mishandles newlines in values,
3478 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3479 eval ac_val=\$$ac_var
3483 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3484 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3487 _ | IFS | as_nl) ;; #(
3488 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3489 *) { eval $ac_var=; unset $ac_var;} ;;
3494 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3495 *${as_nl}ac_space=\ *)
3497 "s/'\''/'\''\\\\'\'''\''/g;
3498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3501 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3508 $as_echo "## ----------------- ##
3509 ## Output variables. ##
3510 ## ----------------- ##"
3512 for ac_var in $ac_subst_vars
3514 eval ac_val=\$$ac_var
3516 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3518 $as_echo "$ac_var='\''$ac_val'\''"
3522 if test -n "$ac_subst_files"; then
3523 $as_echo "## ------------------- ##
3524 ## File substitutions. ##
3525 ## ------------------- ##"
3527 for ac_var
in $ac_subst_files
3529 eval ac_val
=\$
$ac_var
3531 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3533 $as_echo "$ac_var='\''$ac_val'\''"
3538 if test -s confdefs.h; then
3539 $as_echo "## ----------- ##
3546 test "$ac_signal" != 0 &&
3547 $as_echo "$as_me: caught signal $ac_signal"
3548 $as_echo "$as_me: exit $exit_status"
3550 rm -f core *.core core.conftest.* &&
3551 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3554 for ac_signal
in 1 2 13 15; do
3555 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3559 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3560 rm -f -r conftest
* confdefs.h
3562 $as_echo "/* confdefs.h */" > confdefs.h
3564 # Predefined preprocessor variables.
3566 cat >>confdefs.h
<<_ACEOF
3567 #define PACKAGE_NAME "$PACKAGE_NAME"
3570 cat >>confdefs.h
<<_ACEOF
3571 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3574 cat >>confdefs.h
<<_ACEOF
3575 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3578 cat >>confdefs.h
<<_ACEOF
3579 #define PACKAGE_STRING "$PACKAGE_STRING"
3582 cat >>confdefs.h
<<_ACEOF
3583 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3586 cat >>confdefs.h
<<_ACEOF
3587 #define PACKAGE_URL "$PACKAGE_URL"
3591 # Let the site file select an alternate cache file if it wants to.
3592 # Prefer an explicitly selected file to automatically selected ones.
3595 if test -n "$CONFIG_SITE"; then
3596 # We do not want a PATH search for config.site.
3597 case $CONFIG_SITE in #((
3598 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3599 */*) ac_site_file1
=$CONFIG_SITE;;
3600 *) ac_site_file1
=.
/$CONFIG_SITE;;
3602 elif test "x$prefix" != xNONE
; then
3603 ac_site_file1
=$prefix/share
/config.site
3604 ac_site_file2
=$prefix/etc
/config.site
3606 ac_site_file1
=$ac_default_prefix/share
/config.site
3607 ac_site_file2
=$ac_default_prefix/etc
/config.site
3609 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3611 test "x$ac_site_file" = xNONE
&& continue
3612 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3614 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3615 sed 's/^/| /' "$ac_site_file" >&5
3617 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3619 as_fn_error $?
"failed to load site script $ac_site_file
3620 See \`config.log' for more details" "$LINENO" 5; }
3624 if test -r "$cache_file"; then
3625 # Some versions of bash will fail to source /dev/null (special files
3626 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3627 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3629 $as_echo "$as_me: loading cache $cache_file" >&6;}
3631 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3632 *) .
"./$cache_file";;
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3637 $as_echo "$as_me: creating cache $cache_file" >&6;}
3641 # Check that the precious variables saved in the cache have kept the same
3643 ac_cache_corrupted
=false
3644 for ac_var
in $ac_precious_vars; do
3645 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3646 eval ac_new_set
=\
$ac_env_${ac_var}_set
3647 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3648 eval ac_new_val
=\
$ac_env_${ac_var}_value
3649 case $ac_old_set,$ac_new_set in
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3652 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3653 ac_cache_corrupted
=: ;;
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3656 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3657 ac_cache_corrupted
=: ;;
3660 if test "x$ac_old_val" != "x$ac_new_val"; then
3661 # differences in whitespace do not lead to failure.
3662 ac_old_val_w
=`echo x $ac_old_val`
3663 ac_new_val_w
=`echo x $ac_new_val`
3664 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3666 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3667 ac_cache_corrupted
=:
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3670 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3671 eval $ac_var=\
$ac_old_val
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3674 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3676 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3679 # Pass precious variables to config.status.
3680 if test "$ac_new_set" = set; then
3682 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3683 *) ac_arg
=$ac_var=$ac_new_val ;;
3685 case " $ac_configure_args " in
3686 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3687 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3691 if $ac_cache_corrupted; then
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3695 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3696 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3698 ## -------------------- ##
3699 ## Main body of script. ##
3700 ## -------------------- ##
3703 ac_cpp
='$CPP $CPPFLAGS'
3704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3713 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3714 if test -f "$ac_dir/install-sh"; then
3716 ac_install_sh
="$ac_aux_dir/install-sh -c"
3718 elif test -f "$ac_dir/install.sh"; then
3720 ac_install_sh
="$ac_aux_dir/install.sh -c"
3722 elif test -f "$ac_dir/shtool"; then
3724 ac_install_sh
="$ac_aux_dir/shtool install -c"
3728 if test -z "$ac_aux_dir"; then
3729 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3732 # These three variables are undocumented and unsupported,
3733 # and are intended to be withdrawn in a future Autoconf release.
3734 # They can cause serious problems if a builder's source tree is in a directory
3735 # whose full name contains unusual characters.
3736 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3737 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3738 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3741 # Make sure we can run config.sub.
3742 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3743 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3746 $as_echo_n "checking build system type... " >&6; }
3747 if ${ac_cv_build+:} false
; then :
3748 $as_echo_n "(cached) " >&6
3750 ac_build_alias
=$build_alias
3751 test "x$ac_build_alias" = x
&&
3752 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3753 test "x$ac_build_alias" = x
&&
3754 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3755 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3756 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3760 $as_echo "$ac_cv_build" >&6; }
3761 case $ac_cv_build in
3763 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3766 ac_save_IFS
=$IFS; IFS
='-'
3772 # Remember, the first character of IFS is used to create $*,
3773 # except with old shells:
3776 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3780 $as_echo_n "checking host system type... " >&6; }
3781 if ${ac_cv_host+:} false
; then :
3782 $as_echo_n "(cached) " >&6
3784 if test "x$host_alias" = x
; then
3785 ac_cv_host
=$ac_cv_build
3787 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3788 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3793 $as_echo "$ac_cv_host" >&6; }
3796 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3799 ac_save_IFS
=$IFS; IFS
='-'
3805 # Remember, the first character of IFS is used to create $*,
3806 # except with old shells:
3809 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3813 if test "$cross_compiling" != "no"; then
3814 HOST_PREFIX
="${host_alias}-"
3815 HOST_SUFFIX
="-$host_alias"
3822 wx_major_version_number
=2
3823 wx_minor_version_number
=9
3825 wx_subrelease_number
=0
3827 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3828 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3829 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3831 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3834 wx_top_builddir
="`pwd`"
3847 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3853 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3859 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3861 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3863 DEFAULT_wxUSE_OLD_COCOA
=0
3865 DEFAULT_wxUSE_OSX_CARBON
=0
3866 DEFAULT_wxUSE_OSX_COCOA
=0
3867 DEFAULT_wxUSE_OSX_IPHONE
=0
3868 DEFAULT_wxUSE_MICROWIN
=0
3869 DEFAULT_wxUSE_MOTIF
=0
3875 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3876 DEFAULT_DEFAULT_wxUSE_GTK
=0
3877 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3878 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3879 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3880 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3881 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3882 DEFAULT_DEFAULT_wxUSE_MSW
=0
3883 DEFAULT_DEFAULT_wxUSE_PM
=0
3884 DEFAULT_DEFAULT_wxUSE_X11
=0
3885 DEFAULT_DEFAULT_wxUSE_DFB
=0
3889 DYLIB_RPATH_INSTALL
=
3890 DYLIB_RPATH_POSTLINK
=
3892 DEFAULT_STD_FLAG
=yes
3897 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3898 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3899 $as_echo "#define __HPUX__ 1" >>confdefs.h
3902 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3906 $as_echo "#define __LINUX__ 1" >>confdefs.h
3909 if test "x$TMP" = "xalpha"; then
3911 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3914 DEFAULT_DEFAULT_wxUSE_GTK
=1
3916 *-*-gnu* | *-*-k*bsd
*-gnu )
3919 if test "x$TMP" = "xalpha"; then
3921 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3924 DEFAULT_DEFAULT_wxUSE_GTK
=1
3926 *-*-irix5* | *-*-irix6* )
3929 $as_echo "#define __SGI__ 1" >>confdefs.h
3931 $as_echo "#define __SVR4__ 1" >>confdefs.h
3933 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3937 $as_echo "#define __QNX__ 1" >>confdefs.h
3939 DEFAULT_DEFAULT_wxUSE_X11
=1
3945 $as_echo "#define __SUN__ 1" >>confdefs.h
3947 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3949 $as_echo "#define __SVR4__ 1" >>confdefs.h
3951 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3952 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3958 $as_echo "#define __SUN__ 1" >>confdefs.h
3960 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3962 $as_echo "#define __BSD__ 1" >>confdefs.h
3964 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3969 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3971 $as_echo "#define __BSD__ 1" >>confdefs.h
3973 DEFAULT_DEFAULT_wxUSE_GTK
=1
3975 *-*-openbsd*|*-*-mirbsd*)
3978 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3980 $as_echo "#define __BSD__ 1" >>confdefs.h
3982 DEFAULT_DEFAULT_wxUSE_GTK
=1
3987 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3989 $as_echo "#define __BSD__ 1" >>confdefs.h
3991 DEFAULT_DEFAULT_wxUSE_GTK
=1
3992 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3994 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3999 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4001 $as_echo "#define __OSF__ 1" >>confdefs.h
4003 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4004 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4009 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4011 $as_echo "#define __SVR4__ 1" >>confdefs.h
4013 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4018 $as_echo "#define __SYSV__ 1" >>confdefs.h
4020 $as_echo "#define __SVR4__ 1" >>confdefs.h
4022 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4028 $as_echo "#define __AIX__ 1" >>confdefs.h
4030 $as_echo "#define __SYSV__ 1" >>confdefs.h
4032 $as_echo "#define __SVR4__ 1" >>confdefs.h
4034 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4041 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4045 *-*-cygwin* | *-*-mingw32* )
4047 DEFAULT_DEFAULT_wxUSE_MSW
=1
4053 $as_echo "#define __DOS__ 1" >>confdefs.h
4058 *-pc-os2_emx | *-pc-os2-emx )
4059 $as_echo "#define __EMX__ 1" >>confdefs.h
4062 $as_echo "#define __OS2__ 1" >>confdefs.h
4065 DEFAULT_DEFAULT_wxUSE_PM
=1
4067 LDFLAGS
="$LDFLAGS -Zcrtdll"
4068 ac_executable_extensions
=".exe"
4069 export ac_executable_extensions
4073 for ac_dir
in $PATH; do
4075 if test -z "$ac_TEMP_PATH"; then
4076 ac_TEMP_PATH
="$ac_dir"
4078 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4081 export PATH
="$ac_TEMP_PATH"
4089 $as_echo "#define __BSD__ 1" >>confdefs.h
4091 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4093 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4099 $as_echo "#define __BSD__ 1" >>confdefs.h
4101 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4103 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4105 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=1
4110 $as_echo "#define __BEOS__ 1" >>confdefs.h
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4116 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4118 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4120 DEFAULT_DEFAULT_wxUSE_X11
=1
4121 DEFAULT_wxUSE_SHARED
=no
4126 DEFAULT_wxUSE_ALL_FEATURES
=yes
4128 DEFAULT_wxUSE_STD_CONTAINERS
=no
4129 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4130 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4132 DEFAULT_wxUSE_DMALLOC
=no
4133 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4134 DEFAULT_wxUSE_LIBHILDON
=no
4135 DEFAULT_wxUSE_LIBHILDON2
=no
4136 DEFAULT_wxUSE_LIBMSPACK
=no
4137 DEFAULT_wxUSE_LIBSDL
=no
4139 DEFAULT_wxUSE_ACCESSIBILITY
=no
4140 DEFAULT_wxUSE_IPV6
=no
4141 DEFAULT_wxUSE_GSTREAMER8
=no
4142 DEFAULT_wxUSE_UNICODE_UTF8
=no
4143 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4145 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4146 DEFAULT_wxUSE_OPENGL
=auto
4147 DEFAULT_wxUSE_MEDIACTRL
=auto
4148 DEFAULT_wxUSE_COMPILER_TLS
=auto
4149 DEFAULT_wxUSE_HOTKEY
=auto
4150 DEFAULT_wxUSE_METAFILE
=auto
4152 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4153 DEFAULT_wxUSE_MAC_ARCH
=no
4155 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4157 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4163 enablestring
=disable
4165 if test -z "$defaultval"; then
4166 if test x
"$enablestring" = xdisable
; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4174 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4175 # Check whether --enable-gui was given.
4176 if test "${enable_gui+set}" = set; then :
4177 enableval
=$enable_gui;
4178 if test "$enableval" = yes; then
4179 wx_cv_use_gui
='wxUSE_GUI=yes'
4181 wx_cv_use_gui
='wxUSE_GUI=no'
4186 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4191 eval "$wx_cv_use_gui"
4193 if test x"$enablestring" = xdisable; then
4194 if test $wxUSE_GUI = no; then
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4204 $as_echo "$result" >&6; }
4209 if test -z "$defaultval"; then
4210 if test x"$enablestring" = xdisable; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4218 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4219 # Check whether --enable-monolithic was given.
4220 if test "${enable_monolithic+set}" = set; then :
4221 enableval=$enable_monolithic;
4222 if test "$enableval" = yes; then
4223 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4225 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4230 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4235 eval "$wx_cv_use_monolithic"
4237 if test x"$enablestring" = xdisable; then
4238 if test $wxUSE_MONOLITHIC = no; then
4244 result=$wxUSE_MONOLITHIC
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4248 $as_echo "$result" >&6; }
4253 if test -z "$defaultval"; then
4254 if test x"$enablestring" = xdisable; then
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4262 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4263 # Check whether --enable-plugins was given.
4264 if test "${enable_plugins+set}" = set; then :
4265 enableval=$enable_plugins;
4266 if test "$enableval" = yes; then
4267 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4269 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4274 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4279 eval "$wx_cv_use_plugins"
4281 if test x
"$enablestring" = xdisable
; then
4282 if test $wxUSE_PLUGINS = no
; then
4288 result
=$wxUSE_PLUGINS
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4292 $as_echo "$result" >&6; }
4296 defaultval
=$wxUSE_ALL_FEATURES
4297 if test -z "$defaultval"; then
4298 if test x
"$withstring" = xwithout
; then
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4305 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4307 # Check whether --with-subdirs was given.
4308 if test "${with_subdirs+set}" = set; then :
4309 withval
=$with_subdirs;
4310 if test "$withval" = yes; then
4311 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4313 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4318 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4323 eval "$wx_cv_use_subdirs"
4325 if test x"$withstring" = xwithout; then
4326 if test $wxWITH_SUBDIRS = yes; then
4332 result=$wxWITH_SUBDIRS
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4336 $as_echo "$result" >&6; }
4339 # Check whether --with-flavour was given.
4340 if test "${with_flavour+set}" = set; then :
4341 withval=$with_flavour; WX_FLAVOUR="$withval"
4347 if test -z "$defaultval"; then
4348 if test x"$enablestring" = xdisable; then
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4356 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4357 # Check whether --enable-official_build was given.
4358 if test "${enable_official_build+set}" = set; then :
4359 enableval=$enable_official_build;
4360 if test "$enableval" = yes; then
4361 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4363 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4368 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4373 eval "$wx_cv_use_official_build"
4375 if test x"$enablestring" = xdisable; then
4376 if test $wxUSE_OFFICIAL_BUILD = no; then
4382 result=$wxUSE_OFFICIAL_BUILD
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4386 $as_echo "$result" >&6; }
4388 # Check whether --enable-vendor was given.
4389 if test "${enable_vendor+set}" = set; then :
4390 enableval=$enable_vendor; VENDOR="$enableval"
4393 if test "x
$VENDOR" = "x
"; then
4398 enablestring=disable
4400 if test -z "$defaultval"; then
4401 if test x"$enablestring" = xdisable; then
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4409 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4410 # Check whether --enable-all-features was given.
4411 if test "${enable_all_features+set}" = set; then :
4412 enableval=$enable_all_features;
4413 if test "$enableval" = yes; then
4414 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4416 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4421 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4426 eval "$wx_cv_use_all_features"
4428 if test x
"$enablestring" = xdisable
; then
4429 if test $wxUSE_ALL_FEATURES = no
; then
4435 result
=$wxUSE_ALL_FEATURES
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4439 $as_echo "$result" >&6; }
4442 if test "$wxUSE_ALL_FEATURES" = "no"; then
4443 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4444 DEFAULT_wxUSE_MEDIACTRL
=no
4448 if test "$wxUSE_GUI" = "yes"; then
4453 if test -z "$defaultval"; then
4454 if test x
"$enablestring" = xdisable
; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4462 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4463 # Check whether --enable-universal was given.
4464 if test "${enable_universal+set}" = set; then :
4465 enableval
=$enable_universal;
4466 if test "$enableval" = yes; then
4467 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4469 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4474 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4479 eval "$wx_cv_use_universal"
4481 if test x"$enablestring" = xdisable; then
4482 if test $wxUSE_UNIVERSAL = no; then
4488 result=$wxUSE_UNIVERSAL
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4492 $as_echo "$result" >&6; }
4494 if test "$wxUSE_UNIVERSAL" = "yes"; then
4496 # Check whether --with-themes was given.
4497 if test "${with_themes+set}" = set; then :
4498 withval=$with_themes; wxUNIV_THEMES="$withval"
4504 # Check whether --with-gtk was given.
4505 if test "${with_gtk+set}" = set; then :
4506 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4510 # Check whether --with-motif was given.
4511 if test "${with_motif+set}" = set; then :
4512 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4516 # Check whether --with-osx_carbon was given.
4517 if test "${with_osx_carbon+set}" = set; then :
4518 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4522 # Check whether --with-osx_cocoa was given.
4523 if test "${with_osx_cocoa+set}" = set; then :
4524 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4528 # Check whether --with-osx_iphone was given.
4529 if test "${with_osx_iphone+set}" = set; then :
4530 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4534 # Check whether --with-osx was given.
4535 if test "${with_osx+set}" = set; then :
4536 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4540 # Check whether --with-carbon was given.
4541 if test "${with_carbon+set}" = set; then :
4542 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4546 # Check whether --with-cocoa was given.
4547 if test "${with_cocoa+set}" = set; then :
4548 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4552 # Check whether --with-iphone was given.
4553 if test "${with_iphone+set}" = set; then :
4554 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4558 # Check whether --with-mac was given.
4559 if test "${with_mac+set}" = set; then :
4560 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4564 # Check whether --with-old_cocoa was given.
4565 if test "${with_old_cocoa+set}" = set; then :
4566 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4570 # Check whether --with-wine was given.
4571 if test "${with_wine+set}" = set; then :
4572 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4576 # Check whether --with-msw was given.
4577 if test "${with_msw+set}" = set; then :
4578 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4582 # Check whether --with-pm was given.
4583 if test "${with_pm+set}" = set; then :
4584 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4588 # Check whether --with-directfb was given.
4589 if test "${with_directfb+set}" = set; then :
4590 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4594 # Check whether --with-microwin was given.
4595 if test "${with_microwin+set}" = set; then :
4596 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4600 # Check whether --with-x11 was given.
4601 if test "${with_x11+set}" = set; then :
4602 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4608 if test -z "$defaultval"; then
4609 if test x"$enablestring" = xdisable; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4617 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4618 # Check whether --enable-nanox was given.
4619 if test "${enable_nanox+set}" = set; then :
4620 enableval=$enable_nanox;
4621 if test "$enableval" = yes; then
4622 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4624 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4629 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4634 eval "$wx_cv_use_nanox"
4636 if test x"$enablestring" = xdisable; then
4637 if test $wxUSE_NANOX = no; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4647 $as_echo "$result" >&6; }
4652 if test -z "$defaultval"; then
4653 if test x"$enablestring" = xdisable; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4661 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4662 # Check whether --enable-gpe was given.
4663 if test "${enable_gpe+set}" = set; then :
4664 enableval=$enable_gpe;
4665 if test "$enableval" = yes; then
4666 wx_cv_use_gpe='wxUSE_GPE=yes'
4668 wx_cv_use_gpe='wxUSE_GPE=no'
4673 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4678 eval "$wx_cv_use_gpe"
4680 if test x
"$enablestring" = xdisable
; then
4681 if test $wxUSE_GPE = no
; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4691 $as_echo "$result" >&6; }
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4696 $as_echo_n "checking for toolkit... " >&6; }
4700 # In Wine, we need to default to MSW, not GTK or MOTIF
4701 if test "$wxUSE_WINE" = "yes"; then
4702 DEFAULT_DEFAULT_wxUSE_GTK
=0
4703 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4704 DEFAULT_DEFAULT_wxUSE_MSW
=1
4711 if test "$wxUSE_GUI" = "yes"; then
4713 if test "$USE_BEOS" = 1; then
4714 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4717 if test "$TOOLKIT_GIVEN" = 1; then
4718 for toolkit
in $ALL_TOOLKITS; do
4720 eval "value=\$${var}"
4721 if test "x$value" = "xno"; then
4723 elif test "x$value" != "x"; then
4727 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4728 eval "wx${toolkit}_VERSION=$value"
4732 for toolkit
in $ALL_TOOLKITS; do
4733 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4734 eval "wxUSE_$toolkit=\$${var}"
4738 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4739 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4740 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4743 *-pc-os2_emx | *-pc-os2-emx )
4744 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4747 case "$NUM_TOOLKITS" in
4751 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4754 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4757 for toolkit
in $ALL_TOOLKITS; do
4759 eval "value=\$${var}"
4760 if test "$value" = 1; then
4761 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4763 $as_echo "$toolkit_echo" >&6; }
4767 if test "x$host_alias" != "x"; then
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4769 $as_echo "base ($host_alias hosted) only" >&6; }
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4772 $as_echo "base only" >&6; }
4777 if test "$wxUSE_OSX_CARBON" = 1 \
4778 -o "$wxUSE_OSX_COCOA" = 1 \
4779 -o "$wxUSE_OSX_IPHONE" = 1; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4786 $as_echo_n "checking for --with-libpng... " >&6; }
4788 # Check whether --with-libpng was given.
4789 if test "${with_libpng+set}" = set; then :
4790 withval
=$with_libpng;
4791 if test "$withval" = yes; then
4792 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4793 elif test "$withval" = no
; then
4794 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4795 elif test "$withval" = sys
; then
4796 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4797 elif test "$withval" = builtin; then
4798 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4800 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4805 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4810 eval "$wx_cv_use_libpng"
4812 if test "$wxUSE_LIBPNG" = yes; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4814 $as_echo "yes" >&6; }
4815 elif test "$wxUSE_LIBPNG" = no; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4818 elif test "$wxUSE_LIBPNG" = sys; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4820 $as_echo "system version" >&6; }
4821 elif test "$wxUSE_LIBPNG" = builtin; then
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4823 $as_echo "builtin version" >&6; }
4825 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4830 $as_echo_n "checking for --with-libjpeg... " >&6; }
4832 # Check whether --with-libjpeg was given.
4833 if test "${with_libjpeg+set}" = set; then :
4834 withval=$with_libjpeg;
4835 if test "$withval" = yes; then
4836 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4837 elif test "$withval" = no; then
4838 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4839 elif test "$withval" = sys; then
4840 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4841 elif test "$withval" = builtin; then
4842 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4844 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4849 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4854 eval "$wx_cv_use_libjpeg"
4856 if test "$wxUSE_LIBJPEG" = yes; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4858 $as_echo "yes" >&6; }
4859 elif test "$wxUSE_LIBJPEG" = no; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4861 $as_echo "no
" >&6; }
4862 elif test "$wxUSE_LIBJPEG" = sys; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4864 $as_echo "system version
" >&6; }
4865 elif test "$wxUSE_LIBJPEG" = builtin; then
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4867 $as_echo "builtin version
" >&6; }
4869 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4874 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4876 # Check whether --with-libtiff was given.
4877 if test "${with_libtiff+set}" = set; then :
4878 withval=$with_libtiff;
4879 if test "$withval" = yes; then
4880 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4881 elif test "$withval" = no; then
4882 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4883 elif test "$withval" = sys; then
4884 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4885 elif test "$withval" = builtin; then
4886 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4888 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4893 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4898 eval "$wx_cv_use_libtiff"
4900 if test "$wxUSE_LIBTIFF" = yes; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4902 $as_echo "yes" >&6; }
4903 elif test "$wxUSE_LIBTIFF" = no
; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4906 elif test "$wxUSE_LIBTIFF" = sys
; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4908 $as_echo "system version" >&6; }
4909 elif test "$wxUSE_LIBTIFF" = builtin; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4911 $as_echo "builtin version" >&6; }
4913 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4918 defaultval
=$wxUSE_ALL_FEATURES
4919 if test -z "$defaultval"; then
4920 if test x
"$withstring" = xwithout
; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4927 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4929 # Check whether --with-libjbig was given.
4930 if test "${with_libjbig+set}" = set; then :
4931 withval
=$with_libjbig;
4932 if test "$withval" = yes; then
4933 wx_cv_use_libjbig
='wxUSE_LIBJBIG=yes'
4935 wx_cv_use_libjbig
='wxUSE_LIBJBIG=no'
4940 wx_cv_use_libjbig
='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4945 eval "$wx_cv_use_libjbig"
4947 if test x"$withstring" = xwithout; then
4948 if test $wxUSE_LIBJBIG = yes; then
4954 result=$wxUSE_LIBJBIG
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4958 $as_echo "$result" >&6; }
4962 defaultval=$wxUSE_ALL_FEATURES
4963 if test -z "$defaultval"; then
4964 if test x"$withstring" = xwithout; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4971 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4973 # Check whether --with-liblzma was given.
4974 if test "${with_liblzma+set}" = set; then :
4975 withval=$with_liblzma;
4976 if test "$withval" = yes; then
4977 wx_cv_use_liblzma='wxUSE_LIBLZMA
=yes'
4979 wx_cv_use_liblzma='wxUSE_LIBLZMA
=no
'
4984 wx_cv_use_liblzma='wxUSE_LIBLZMA
=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4989 eval "$wx_cv_use_liblzma"
4991 if test x"$withstring" = xwithout; then
4992 if test $wxUSE_LIBLZMA = yes; then
4998 result=$wxUSE_LIBLZMA
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5002 $as_echo "$result" >&6; }
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libxpm" >&5
5006 $as_echo_n "checking
for --with-libxpm...
" >&6; }
5008 # Check whether --with-libxpm was given.
5009 if test "${with_libxpm+set}" = set; then :
5010 withval=$with_libxpm;
5011 if test "$withval" = yes; then
5012 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5013 elif test "$withval" = no; then
5014 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5015 elif test "$withval" = sys; then
5016 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5017 elif test "$withval" = builtin; then
5018 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5020 as_fn_error $? "Invalid value
for --with-libxpm: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5025 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5030 eval "$wx_cv_use_libxpm"
5032 if test "$wxUSE_LIBXPM" = yes; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5034 $as_echo "yes" >&6; }
5035 elif test "$wxUSE_LIBXPM" = no
; then
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037 $as_echo "no" >&6; }
5038 elif test "$wxUSE_LIBXPM" = sys
; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5040 $as_echo "system version" >&6; }
5041 elif test "$wxUSE_LIBXPM" = builtin; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5043 $as_echo "builtin version" >&6; }
5045 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5050 defaultval
=$wxUSE_ALL_FEATURES
5051 if test -z "$defaultval"; then
5052 if test x
"$withstring" = xwithout
; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5059 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5061 # Check whether --with-libiconv was given.
5062 if test "${with_libiconv+set}" = set; then :
5063 withval
=$with_libiconv;
5064 if test "$withval" = yes; then
5065 wx_cv_use_libiconv
='wxUSE_LIBICONV=yes'
5067 wx_cv_use_libiconv
='wxUSE_LIBICONV=no'
5072 wx_cv_use_libiconv
='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5077 eval "$wx_cv_use_libiconv"
5079 if test x"$withstring" = xwithout; then
5080 if test $wxUSE_LIBICONV = yes; then
5086 result=$wxUSE_LIBICONV
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5090 $as_echo "$result" >&6; }
5094 defaultval=$wxUSE_ALL_FEATURES
5095 if test -z "$defaultval"; then
5096 if test x"$withstring" = xwithout; then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5103 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5105 # Check whether --with-libmspack was given.
5106 if test "${with_libmspack+set}" = set; then :
5107 withval=$with_libmspack;
5108 if test "$withval" = yes; then
5109 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
5111 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
5116 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5121 eval "$wx_cv_use_libmspack"
5123 if test x"$withstring" = xwithout; then
5124 if test $wxUSE_LIBMSPACK = yes; then
5130 result=$wxUSE_LIBMSPACK
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5134 $as_echo "$result" >&6; }
5138 defaultval=$wxUSE_ALL_FEATURES
5139 if test -z "$defaultval"; then
5140 if test x"$withstring" = xwithout; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gtkprint" >&5
5147 $as_echo_n "checking
for --${withstring:-with}-gtkprint...
" >&6; }
5149 # Check whether --with-gtkprint was given.
5150 if test "${with_gtkprint+set}" = set; then :
5151 withval=$with_gtkprint;
5152 if test "$withval" = yes; then
5153 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5155 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5160 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5165 eval "$wx_cv_use_gtkprint"
5167 if test x
"$withstring" = xwithout
; then
5168 if test $wxUSE_GTKPRINT = yes; then
5174 result
=$wxUSE_GTKPRINT
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5178 $as_echo "$result" >&6; }
5182 defaultval
=$wxUSE_ALL_FEATURES
5183 if test -z "$defaultval"; then
5184 if test x
"$withstring" = xwithout
; then
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5191 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5193 # Check whether --with-gnomeprint was given.
5194 if test "${with_gnomeprint+set}" = set; then :
5195 withval
=$with_gnomeprint;
5196 if test "$withval" = yes; then
5197 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
5199 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
5204 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5209 eval "$wx_cv_use_gnomeprint"
5211 if test x"$withstring" = xwithout; then
5212 if test $wxUSE_LIBGNOMEPRINT = yes; then
5218 result=$wxUSE_LIBGNOMEPRINT
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5222 $as_echo "$result" >&6; }
5226 defaultval=$wxUSE_ALL_FEATURES
5227 if test -z "$defaultval"; then
5228 if test x"$withstring" = xwithout; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5235 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5237 # Check whether --with-gnomevfs was given.
5238 if test "${with_gnomevfs+set}" = set; then :
5239 withval=$with_gnomevfs;
5240 if test "$withval" = yes; then
5241 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
5243 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
5248 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5253 eval "$wx_cv_use_gnomevfs"
5255 if test x"$withstring" = xwithout; then
5256 if test $wxUSE_LIBGNOMEVFS = yes; then
5262 result=$wxUSE_LIBGNOMEVFS
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5266 $as_echo "$result" >&6; }
5270 defaultval=$wxUSE_ALL_FEATURES
5271 if test -z "$defaultval"; then
5272 if test x"$withstring" = xwithout; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libnotify" >&5
5279 $as_echo_n "checking
for --${withstring:-with}-libnotify...
" >&6; }
5281 # Check whether --with-libnotify was given.
5282 if test "${with_libnotify+set}" = set; then :
5283 withval=$with_libnotify;
5284 if test "$withval" = yes; then
5285 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5287 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5292 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5297 eval "$wx_cv_use_libnotify"
5299 if test x
"$withstring" = xwithout
; then
5300 if test $wxUSE_LIBNOTIFY = yes; then
5306 result
=$wxUSE_LIBNOTIFY
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5310 $as_echo "$result" >&6; }
5314 defaultval
=$wxUSE_ALL_FEATURES
5315 if test -z "$defaultval"; then
5316 if test x
"$withstring" = xwithout
; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5323 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5325 # Check whether --with-hildon was given.
5326 if test "${with_hildon+set}" = set; then :
5327 withval
=$with_hildon;
5328 if test "$withval" = yes; then
5329 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
5331 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
5336 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5341 eval "$wx_cv_use_hildon"
5343 if test x"$withstring" = xwithout; then
5344 if test $wxUSE_LIBHILDON = yes; then
5350 result=$wxUSE_LIBHILDON
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5354 $as_echo "$result" >&6; }
5358 defaultval=$wxUSE_ALL_FEATURES
5359 if test -z "$defaultval"; then
5360 if test x"$withstring" = xwithout; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5367 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5369 # Check whether --with-opengl was given.
5370 if test "${with_opengl+set}" = set; then :
5371 withval=$with_opengl;
5372 if test "$withval" = yes; then
5373 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
5375 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
5380 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5385 eval "$wx_cv_use_opengl"
5387 if test x"$withstring" = xwithout; then
5388 if test $wxUSE_OPENGL = yes; then
5394 result=$wxUSE_OPENGL
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5398 $as_echo "$result" >&6; }
5405 defaultval=$wxUSE_ALL_FEATURES
5406 if test -z "$defaultval"; then
5407 if test x"$withstring" = xwithout; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-dmalloc" >&5
5414 $as_echo_n "checking
for --${withstring:-with}-dmalloc...
" >&6; }
5416 # Check whether --with-dmalloc was given.
5417 if test "${with_dmalloc+set}" = set; then :
5418 withval=$with_dmalloc;
5419 if test "$withval" = yes; then
5420 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5422 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5427 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5432 eval "$wx_cv_use_dmalloc"
5434 if test x
"$withstring" = xwithout
; then
5435 if test $wxUSE_DMALLOC = yes; then
5441 result
=$wxUSE_DMALLOC
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5445 $as_echo "$result" >&6; }
5449 defaultval
=$wxUSE_ALL_FEATURES
5450 if test -z "$defaultval"; then
5451 if test x
"$withstring" = xwithout
; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5458 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5460 # Check whether --with-sdl was given.
5461 if test "${with_sdl+set}" = set; then :
5463 if test "$withval" = yes; then
5464 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
5466 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
5471 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5476 eval "$wx_cv_use_sdl"
5478 if test x"$withstring" = xwithout; then
5479 if test $wxUSE_LIBSDL = yes; then
5485 result=$wxUSE_LIBSDL
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5489 $as_echo "$result" >&6; }
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5493 $as_echo_n "checking for --with-regex... " >&6; }
5495 # Check whether --with-regex was given.
5496 if test "${with_regex+set}" = set; then :
5497 withval=$with_regex;
5498 if test "$withval" = yes; then
5499 wx_cv_use_regex='wxUSE_REGEX
=yes'
5500 elif test "$withval" = no; then
5501 wx_cv_use_regex='wxUSE_REGEX
=no
'
5502 elif test "$withval" = sys; then
5503 wx_cv_use_regex='wxUSE_REGEX
=sys
'
5504 elif test "$withval" = builtin; then
5505 wx_cv_use_regex='wxUSE_REGEX
=builtin'
5507 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5512 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5517 eval "$wx_cv_use_regex"
5519 if test "$wxUSE_REGEX" = yes; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5521 $as_echo "yes" >&6; }
5522 elif test "$wxUSE_REGEX" = no; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5524 $as_echo "no
" >&6; }
5525 elif test "$wxUSE_REGEX" = sys; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5527 $as_echo "system version
" >&6; }
5528 elif test "$wxUSE_REGEX" = builtin; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5530 $as_echo "builtin version
" >&6; }
5532 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-zlib" >&5
5537 $as_echo_n "checking
for --with-zlib...
" >&6; }
5539 # Check whether --with-zlib was given.
5540 if test "${with_zlib+set}" = set; then :
5542 if test "$withval" = yes; then
5543 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5544 elif test "$withval" = no; then
5545 wx_cv_use_zlib='wxUSE_ZLIB=no'
5546 elif test "$withval" = sys; then
5547 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5548 elif test "$withval" = builtin; then
5549 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5551 as_fn_error $? "Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5556 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5561 eval "$wx_cv_use_zlib"
5563 if test "$wxUSE_ZLIB" = yes; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5565 $as_echo "yes" >&6; }
5566 elif test "$wxUSE_ZLIB" = no
; then
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5568 $as_echo "no" >&6; }
5569 elif test "$wxUSE_ZLIB" = sys
; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5571 $as_echo "system version" >&6; }
5572 elif test "$wxUSE_ZLIB" = builtin; then
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5574 $as_echo "builtin version" >&6; }
5576 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5581 $as_echo_n "checking for --with-expat... " >&6; }
5583 # Check whether --with-expat was given.
5584 if test "${with_expat+set}" = set; then :
5585 withval
=$with_expat;
5586 if test "$withval" = yes; then
5587 wx_cv_use_expat
='wxUSE_EXPAT=yes'
5588 elif test "$withval" = no
; then
5589 wx_cv_use_expat
='wxUSE_EXPAT=no'
5590 elif test "$withval" = sys
; then
5591 wx_cv_use_expat
='wxUSE_EXPAT=sys'
5592 elif test "$withval" = builtin; then
5593 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
5595 as_fn_error $?
"Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5600 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5605 eval "$wx_cv_use_expat"
5607 if test "$wxUSE_EXPAT" = yes; then
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5609 $as_echo "yes" >&6; }
5610 elif test "$wxUSE_EXPAT" = no; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5613 elif test "$wxUSE_EXPAT" = sys; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5615 $as_echo "system version" >&6; }
5616 elif test "$wxUSE_EXPAT" = builtin; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5618 $as_echo "builtin version" >&6; }
5620 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5625 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5627 # Check whether --with-macosx-sdk was given.
5628 if test "${with_macosx_sdk+set}" = set; then :
5629 withval=$with_macosx_sdk;
5630 wxUSE_MACOSX_SDK=$withval
5631 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5636 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5639 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5641 # Check whether --with-macosx-version-min was given.
5642 if test "${with_macosx_version_min+set}" = set; then :
5643 withval=$with_macosx_version_min;
5644 wxUSE_MACOSX_VERSION_MIN=$withval
5645 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5650 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5654 $as_echo_n "checking for --enable-debug... " >&6; }
5655 # Check whether --enable-debug was given.
5656 if test "${enable_debug+set}" = set; then :
5657 enableval=$enable_debug;
5658 if test "$enableval" = yes; then
5660 elif test "$enableval" = no; then
5662 elif test "$enableval" = max; then
5664 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5666 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5675 $as_echo "${enable_debug-default}" >&6; }
5677 case "$wxUSE_DEBUG" in
5679 DEFAULT_wxUSE_DEBUG_FLAG=yes
5680 DEFAULT_wxUSE_DEBUG_INFO=yes
5682 DEFAULT_wxUSE_OPTIMISE=no
5686 DEFAULT_wxUSE_DEBUG_FLAG=no
5687 DEFAULT_wxUSE_DEBUG_INFO=no
5691 DEFAULT_wxUSE_DEBUG_FLAG=yes
5692 DEFAULT_wxUSE_DEBUG_INFO=no
5697 enablestring=disable
5699 if test -z "$defaultval"; then
5700 if test x"$enablestring" = xdisable; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5708 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5709 # Check whether --enable-debug_flag was given.
5710 if test "${enable_debug_flag+set}" = set; then :
5711 enableval=$enable_debug_flag;
5712 if test "$enableval" = yes; then
5713 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
5715 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
5720 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5725 eval "$wx_cv_use_debug_flag"
5727 if test x"$enablestring" = xdisable; then
5728 if test $wxUSE_DEBUG_FLAG = no; then
5734 result=$wxUSE_DEBUG_FLAG
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5738 $as_echo "$result" >&6; }
5743 if test -z "$defaultval"; then
5744 if test x"$enablestring" = xdisable; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_info" >&5
5752 $as_echo_n "checking
for --${enablestring:-enable}-debug_info...
" >&6; }
5753 # Check whether --enable-debug_info was given.
5754 if test "${enable_debug_info+set}" = set; then :
5755 enableval=$enable_debug_info;
5756 if test "$enableval" = yes; then
5757 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5759 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5764 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5769 eval "$wx_cv_use_debug_info"
5771 if test x
"$enablestring" = xdisable
; then
5772 if test $wxUSE_DEBUG_INFO = no
; then
5778 result
=$wxUSE_DEBUG_INFO
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5782 $as_echo "$result" >&6; }
5789 if test -z "$defaultval"; then
5790 if test x
"$enablestring" = xdisable
; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5798 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5799 # Check whether --enable-debug_gdb was given.
5800 if test "${enable_debug_gdb+set}" = set; then :
5801 enableval
=$enable_debug_gdb;
5802 if test "$enableval" = yes; then
5803 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
5805 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
5810 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5815 eval "$wx_cv_use_debug_gdb"
5817 if test x"$enablestring" = xdisable; then
5818 if test $wxUSE_DEBUG_GDB = no; then
5824 result=$wxUSE_DEBUG_GDB
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5828 $as_echo "$result" >&6; }
5833 if test -z "$defaultval"; then
5834 if test x"$enablestring" = xdisable; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5842 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5843 # Check whether --enable-debug_cntxt was given.
5844 if test "${enable_debug_cntxt+set}" = set; then :
5845 enableval=$enable_debug_cntxt;
5846 if test "$enableval" = yes; then
5847 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
5849 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
5854 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5859 eval "$wx_cv_use_debug_cntxt"
5861 if test x"$enablestring" = xdisable; then
5862 if test $wxUSE_DEBUG_CONTEXT = no; then
5868 result=$wxUSE_DEBUG_CONTEXT
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5872 $as_echo "$result" >&6; }
5877 if test -z "$defaultval"; then
5878 if test x"$enablestring" = xdisable; then
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mem_tracing" >&5
5886 $as_echo_n "checking
for --${enablestring:-enable}-mem_tracing...
" >&6; }
5887 # Check whether --enable-mem_tracing was given.
5888 if test "${enable_mem_tracing+set}" = set; then :
5889 enableval=$enable_mem_tracing;
5890 if test "$enableval" = yes; then
5891 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5893 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5898 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5903 eval "$wx_cv_use_mem_tracing"
5905 if test x
"$enablestring" = xdisable
; then
5906 if test $wxUSE_MEM_TRACING = no
; then
5912 result
=$wxUSE_MEM_TRACING
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5916 $as_echo "$result" >&6; }
5921 enablestring
=disable
5923 if test -z "$defaultval"; then
5924 if test x
"$enablestring" = xdisable
; then
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5932 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5933 # Check whether --enable-shared was given.
5934 if test "${enable_shared+set}" = set; then :
5935 enableval
=$enable_shared;
5936 if test "$enableval" = yes; then
5937 wx_cv_use_shared
='wxUSE_SHARED=yes'
5939 wx_cv_use_shared
='wxUSE_SHARED=no'
5944 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5949 eval "$wx_cv_use_shared"
5951 if test x"$enablestring" = xdisable; then
5952 if test $wxUSE_SHARED = no; then
5958 result=$wxUSE_SHARED
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5962 $as_echo "$result" >&6; }
5967 if test -z "$defaultval"; then
5968 if test x"$enablestring" = xdisable; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5976 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5977 # Check whether --enable-stl was given.
5978 if test "${enable_stl+set}" = set; then :
5979 enableval=$enable_stl;
5980 if test "$enableval" = yes; then
5981 wx_cv_use_stl='wxUSE_STL
=yes'
5983 wx_cv_use_stl='wxUSE_STL
=no
'
5988 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
5993 eval "$wx_cv_use_stl"
5995 if test x"$enablestring" = xdisable; then
5996 if test $wxUSE_STL = no; then
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6006 $as_echo "$result" >&6; }
6008 if test "$wxUSE_STL" = "yes"; then
6009 DEFAULT_wxUSE_STD_CONTAINERS=yes
6010 DEFAULT_wxUSE_STD_IOSTREAM=yes
6011 DEFAULT_wxUSE_STD_STRING=yes
6016 if test -z "$defaultval"; then
6017 if test x"$enablestring" = xdisable; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_containers" >&5
6025 $as_echo_n "checking
for --${enablestring:-enable}-std_containers...
" >&6; }
6026 # Check whether --enable-std_containers was given.
6027 if test "${enable_std_containers+set}" = set; then :
6028 enableval=$enable_std_containers;
6029 if test "$enableval" = yes; then
6030 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
6032 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
6037 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
6042 eval "$wx_cv_use_std_containers"
6044 if test x
"$enablestring" = xdisable
; then
6045 if test $wxUSE_STD_CONTAINERS = no
; then
6051 result
=$wxUSE_STD_CONTAINERS
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6055 $as_echo "$result" >&6; }
6060 if test -z "$defaultval"; then
6061 if test x
"$enablestring" = xdisable
; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6069 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6070 # Check whether --enable-std_iostreams was given.
6071 if test "${enable_std_iostreams+set}" = set; then :
6072 enableval
=$enable_std_iostreams;
6073 if test "$enableval" = yes; then
6074 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
6076 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
6081 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6086 eval "$wx_cv_use_std_iostreams"
6088 if test x"$enablestring" = xdisable; then
6089 if test $wxUSE_STD_IOSTREAM = no; then
6095 result=$wxUSE_STD_IOSTREAM
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6099 $as_echo "$result" >&6; }
6104 if test -z "$defaultval"; then
6105 if test x"$enablestring" = xdisable; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6113 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6114 # Check whether --enable-std_string was given.
6115 if test "${enable_std_string+set}" = set; then :
6116 enableval=$enable_std_string;
6117 if test "$enableval" = yes; then
6118 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
6120 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
6125 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6130 eval "$wx_cv_use_std_string"
6132 if test x"$enablestring" = xdisable; then
6133 if test $wxUSE_STD_STRING = no; then
6139 result=$wxUSE_STD_STRING
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6143 $as_echo "$result" >&6; }
6148 if test -z "$defaultval"; then
6149 if test x"$enablestring" = xdisable; then
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6157 $as_echo_n "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
" >&6; }
6158 # Check whether --enable-std_string_conv_in_wxstring was given.
6159 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6160 enableval=$enable_std_string_conv_in_wxstring;
6161 if test "$enableval" = yes; then
6162 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6164 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6169 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6174 eval "$wx_cv_use_std_string_conv_in_wxstring"
6176 if test x
"$enablestring" = xdisable
; then
6177 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
6183 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6187 $as_echo "$result" >&6; }
6190 enablestring
=disable
6192 if test -z "$defaultval"; then
6193 if test x
"$enablestring" = xdisable
; then
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6201 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6202 # Check whether --enable-unicode was given.
6203 if test "${enable_unicode+set}" = set; then :
6204 enableval
=$enable_unicode;
6205 if test "$enableval" = yes; then
6206 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
6208 wx_cv_use_unicode
='wxUSE_UNICODE=no'
6213 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6218 eval "$wx_cv_use_unicode"
6220 if test x"$enablestring" = xdisable; then
6221 if test $wxUSE_UNICODE = no; then
6227 result=$wxUSE_UNICODE
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6231 $as_echo "$result" >&6; }
6236 if test -z "$defaultval"; then
6237 if test x"$enablestring" = xdisable; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6245 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6246 # Check whether --enable-mslu was given.
6247 if test "${enable_mslu+set}" = set; then :
6248 enableval=$enable_mslu;
6249 if test "$enableval" = yes; then
6250 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
6252 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6257 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6262 eval "$wx_cv_use_mslu"
6264 if test x"$enablestring" = xdisable; then
6265 if test $wxUSE_UNICODE_MSLU = no; then
6271 result=$wxUSE_UNICODE_MSLU
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6275 $as_echo "$result" >&6; }
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8" >&5
6280 $as_echo_n "checking
for --${enablestring:-enable}-utf8...
" >&6; }
6281 # Check whether --enable-utf8 was given.
6282 if test "${enable_utf8+set}" = set; then :
6283 enableval=$enable_utf8;
6284 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
6288 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6293 eval "$wx_cv_use_utf8"
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_UNICODE_UTF8" >&5
6296 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6301 if test -z "$defaultval"; then
6302 if test x"$enablestring" = xdisable; then
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8only" >&5
6310 $as_echo_n "checking
for --${enablestring:-enable}-utf8only...
" >&6; }
6311 # Check whether --enable-utf8only was given.
6312 if test "${enable_utf8only+set}" = set; then :
6313 enableval=$enable_utf8only;
6314 if test "$enableval" = yes; then
6315 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6317 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6322 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6327 eval "$wx_cv_use_utf8only"
6329 if test x
"$enablestring" = xdisable
; then
6330 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
6336 result
=$wxUSE_UNICODE_UTF8_LOCALE
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6340 $as_echo "$result" >&6; }
6345 if test -z "$defaultval"; then
6346 if test x
"$enablestring" = xdisable
; then
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6354 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6355 # Check whether --enable-extended_rtti was given.
6356 if test "${enable_extended_rtti+set}" = set; then :
6357 enableval
=$enable_extended_rtti;
6358 if test "$enableval" = yes; then
6359 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
6361 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
6366 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6371 eval "$wx_cv_use_extended_rtti"
6373 if test x"$enablestring" = xdisable; then
6374 if test $wxUSE_EXTENDED_RTTI = no; then
6380 result=$wxUSE_EXTENDED_RTTI
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6384 $as_echo "$result" >&6; }
6386 if test "$USE_OS2" = 1; then
6387 DEFAULT_wxUSE_OMF=no
6391 if test -z "$defaultval"; then
6392 if test x"$enablestring" = xdisable; then
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6400 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6401 # Check whether --enable-omf was given.
6402 if test "${enable_omf+set}" = set; then :
6403 enableval=$enable_omf;
6404 if test "$enableval" = yes; then
6405 wx_cv_use_omf='wxUSE_OMF
=yes'
6407 wx_cv_use_omf='wxUSE_OMF
=no
'
6412 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6417 eval "$wx_cv_use_omf"
6419 if test x"$enablestring" = xdisable; then
6420 if test $wxUSE_OMF = no; then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6430 $as_echo "$result" >&6; }
6435 enablestring=disable
6437 if test -z "$defaultval"; then
6438 if test x"$enablestring" = xdisable; then
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-optimise" >&5
6446 $as_echo_n "checking
for --${enablestring:-enable}-optimise...
" >&6; }
6447 # Check whether --enable-optimise was given.
6448 if test "${enable_optimise+set}" = set; then :
6449 enableval=$enable_optimise;
6450 if test "$enableval" = yes; then
6451 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6453 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6458 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6463 eval "$wx_cv_use_optimise"
6465 if test x
"$enablestring" = xdisable
; then
6466 if test $wxUSE_OPTIMISE = no
; then
6472 result
=$wxUSE_OPTIMISE
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6476 $as_echo "$result" >&6; }
6482 if test -z "$defaultval"; then
6483 if test x
"$enablestring" = xdisable
; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6491 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6492 # Check whether --enable-profile was given.
6493 if test "${enable_profile+set}" = set; then :
6494 enableval
=$enable_profile;
6495 if test "$enableval" = yes; then
6496 wx_cv_use_profile
='wxUSE_PROFILE=yes'
6498 wx_cv_use_profile
='wxUSE_PROFILE=no'
6503 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6508 eval "$wx_cv_use_profile"
6510 if test x"$enablestring" = xdisable; then
6511 if test $wxUSE_PROFILE = no; then
6517 result=$wxUSE_PROFILE
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6521 $as_echo "$result" >&6; }
6526 if test -z "$defaultval"; then
6527 if test x"$enablestring" = xdisable; then
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6535 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6536 # Check whether --enable-no_rtti was given.
6537 if test "${enable_no_rtti+set}" = set; then :
6538 enableval=$enable_no_rtti;
6539 if test "$enableval" = yes; then
6540 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
6542 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
6547 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6552 eval "$wx_cv_use_no_rtti"
6554 if test x"$enablestring" = xdisable; then
6555 if test $wxUSE_NO_RTTI = no; then
6561 result=$wxUSE_NO_RTTI
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6565 $as_echo "$result" >&6; }
6570 if test -z "$defaultval"; then
6571 if test x"$enablestring" = xdisable; then
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_exceptions" >&5
6579 $as_echo_n "checking
for --${enablestring:-enable}-no_exceptions...
" >&6; }
6580 # Check whether --enable-no_exceptions was given.
6581 if test "${enable_no_exceptions+set}" = set; then :
6582 enableval=$enable_no_exceptions;
6583 if test "$enableval" = yes; then
6584 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6586 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6591 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6596 eval "$wx_cv_use_no_exceptions"
6598 if test x
"$enablestring" = xdisable
; then
6599 if test $wxUSE_NO_EXCEPTIONS = no
; then
6605 result
=$wxUSE_NO_EXCEPTIONS
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6609 $as_echo "$result" >&6; }
6614 if test -z "$defaultval"; then
6615 if test x
"$enablestring" = xdisable
; then
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6623 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6624 # Check whether --enable-permissive was given.
6625 if test "${enable_permissive+set}" = set; then :
6626 enableval
=$enable_permissive;
6627 if test "$enableval" = yes; then
6628 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
6630 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
6635 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6640 eval "$wx_cv_use_permissive"
6642 if test x"$enablestring" = xdisable; then
6643 if test $wxUSE_PERMISSIVE = no; then
6649 result=$wxUSE_PERMISSIVE
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6653 $as_echo "$result" >&6; }
6658 if test -z "$defaultval"; then
6659 if test x"$enablestring" = xdisable; then
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6667 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6668 # Check whether --enable-no_deps was given.
6669 if test "${enable_no_deps+set}" = set; then :
6670 enableval=$enable_no_deps;
6671 if test "$enableval" = yes; then
6672 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
6674 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
6679 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6684 eval "$wx_cv_use_no_deps"
6686 if test x"$enablestring" = xdisable; then
6687 if test $wxUSE_NO_DEPS = no; then
6693 result=$wxUSE_NO_DEPS
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6697 $as_echo "$result" >&6; }
6700 enablestring=disable
6702 if test -z "$defaultval"; then
6703 if test x"$enablestring" = xdisable; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-vararg_macros" >&5
6711 $as_echo_n "checking
for --${enablestring:-enable}-vararg_macros...
" >&6; }
6712 # Check whether --enable-vararg_macros was given.
6713 if test "${enable_vararg_macros+set}" = set; then :
6714 enableval=$enable_vararg_macros;
6715 if test "$enableval" = yes; then
6716 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6718 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6723 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6728 eval "$wx_cv_use_vararg_macros"
6730 if test x
"$enablestring" = xdisable
; then
6731 if test $wxUSE_VARARG_MACROS = no
; then
6737 result
=$wxUSE_VARARG_MACROS
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6741 $as_echo "$result" >&6; }
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6747 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6748 # Check whether --enable-universal_binary was given.
6749 if test "${enable_universal_binary+set}" = set; then :
6750 enableval
=$enable_universal_binary;
6751 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
6755 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6760 eval "$wx_cv_use_universal_binary"
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6763 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6768 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6769 # Check whether --enable-macosx_arch was given.
6770 if test "${enable_macosx_arch+set}" = set; then :
6771 enableval
=$enable_macosx_arch;
6772 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
6776 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6781 eval "$wx_cv_use_macosx_arch"
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6784 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6790 if test -z "$defaultval"; then
6791 if test x
"$enablestring" = xdisable
; then
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6799 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6800 # Check whether --enable-compat26 was given.
6801 if test "${enable_compat26+set}" = set; then :
6802 enableval
=$enable_compat26;
6803 if test "$enableval" = yes; then
6804 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
6806 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
6811 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6816 eval "$wx_cv_use_compat26"
6818 if test x"$enablestring" = xdisable; then
6819 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6825 result=$WXWIN_COMPATIBILITY_2_6
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6829 $as_echo "$result" >&6; }
6832 enablestring=disable
6834 if test -z "$defaultval"; then
6835 if test x"$enablestring" = xdisable; then
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6843 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6844 # Check whether --enable-compat28 was given.
6845 if test "${enable_compat28+set}" = set; then :
6846 enableval=$enable_compat28;
6847 if test "$enableval" = yes; then
6848 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
6850 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
6855 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6860 eval "$wx_cv_use_compat28"
6862 if test x"$enablestring" = xdisable; then
6863 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6869 result=$WXWIN_COMPATIBILITY_2_8
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6873 $as_echo "$result" >&6; }
6877 enablestring=disable
6879 if test -z "$defaultval"; then
6880 if test x"$enablestring" = xdisable; then
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rpath" >&5
6888 $as_echo_n "checking
for --${enablestring:-enable}-rpath...
" >&6; }
6889 # Check whether --enable-rpath was given.
6890 if test "${enable_rpath+set}" = set; then :
6891 enableval=$enable_rpath;
6892 if test "$enableval" = yes; then
6893 wx_cv_use_rpath='wxUSE_RPATH=yes'
6895 wx_cv_use_rpath='wxUSE_RPATH=no'
6900 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6905 eval "$wx_cv_use_rpath"
6907 if test x
"$enablestring" = xdisable
; then
6908 if test $wxUSE_RPATH = no
; then
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6918 $as_echo "$result" >&6; }
6924 if test -z "$defaultval"; then
6925 if test x
"$enablestring" = xdisable
; then
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6933 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6934 # Check whether --enable-objc_uniquifying was given.
6935 if test "${enable_objc_uniquifying+set}" = set; then :
6936 enableval
=$enable_objc_uniquifying;
6937 if test "$enableval" = yes; then
6938 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
6940 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
6945 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6950 eval "$wx_cv_use_objc_uniquifying"
6952 if test x"$enablestring" = xdisable; then
6953 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6959 result=$wxUSE_OBJC_UNIQUIFYING
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6963 $as_echo "$result" >&6; }
6967 enablestring=disable
6969 if test -z "$defaultval"; then
6970 if test x"$enablestring" = xdisable; then
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6978 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6979 # Check whether --enable-visibility was given.
6980 if test "${enable_visibility+set}" = set; then :
6981 enableval=$enable_visibility;
6982 if test "$enableval" = yes; then
6983 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
6985 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
6990 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6995 eval "$wx_cv_use_visibility"
6997 if test x"$enablestring" = xdisable; then
6998 if test $wxUSE_VISIBILITY = no; then
7004 result=$wxUSE_VISIBILITY
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7008 $as_echo "$result" >&6; }
7011 enablestring=disable
7013 if test -z "$defaultval"; then
7014 if test x"$enablestring" = xdisable; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tls" >&5
7022 $as_echo_n "checking
for --${enablestring:-enable}-tls...
" >&6; }
7023 # Check whether --enable-tls was given.
7024 if test "${enable_tls+set}" = set; then :
7025 enableval=$enable_tls;
7026 if test "$enableval" = yes; then
7027 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
7029 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
7034 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
7039 eval "$wx_cv_use_tls"
7041 if test x
"$enablestring" = xdisable
; then
7042 if test $wxUSE_COMPILER_TLS = no
; then
7048 result
=$wxUSE_COMPILER_TLS
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7052 $as_echo "$result" >&6; }
7058 defaultval
=$wxUSE_ALL_FEATURES
7059 if test -z "$defaultval"; then
7060 if test x
"$enablestring" = xdisable
; then
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7068 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7069 # Check whether --enable-intl was given.
7070 if test "${enable_intl+set}" = set; then :
7071 enableval
=$enable_intl;
7072 if test "$enableval" = yes; then
7073 wx_cv_use_intl
='wxUSE_INTL=yes'
7075 wx_cv_use_intl
='wxUSE_INTL=no'
7080 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7085 eval "$wx_cv_use_intl"
7087 if test x"$enablestring" = xdisable; then
7088 if test $wxUSE_INTL = no; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7098 $as_echo "$result" >&6; }
7102 defaultval=$wxUSE_ALL_FEATURES
7103 if test -z "$defaultval"; then
7104 if test x"$enablestring" = xdisable; then
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7112 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7113 # Check whether --enable-xlocale was given.
7114 if test "${enable_xlocale+set}" = set; then :
7115 enableval=$enable_xlocale;
7116 if test "$enableval" = yes; then
7117 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
7119 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
7124 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7129 eval "$wx_cv_use_xlocale"
7131 if test x"$enablestring" = xdisable; then
7132 if test $wxUSE_XLOCALE = no; then
7138 result=$wxUSE_XLOCALE
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7142 $as_echo "$result" >&6; }
7146 defaultval=$wxUSE_ALL_FEATURES
7147 if test -z "$defaultval"; then
7148 if test x"$enablestring" = xdisable; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-config" >&5
7156 $as_echo_n "checking
for --${enablestring:-enable}-config...
" >&6; }
7157 # Check whether --enable-config was given.
7158 if test "${enable_config+set}" = set; then :
7159 enableval=$enable_config;
7160 if test "$enableval" = yes; then
7161 wx_cv_use_config='wxUSE_CONFIG=yes'
7163 wx_cv_use_config='wxUSE_CONFIG=no'
7168 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7173 eval "$wx_cv_use_config"
7175 if test x
"$enablestring" = xdisable
; then
7176 if test $wxUSE_CONFIG = no
; then
7182 result
=$wxUSE_CONFIG
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7186 $as_echo "$result" >&6; }
7191 defaultval
=$wxUSE_ALL_FEATURES
7192 if test -z "$defaultval"; then
7193 if test x
"$enablestring" = xdisable
; then
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7201 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7202 # Check whether --enable-protocols was given.
7203 if test "${enable_protocols+set}" = set; then :
7204 enableval
=$enable_protocols;
7205 if test "$enableval" = yes; then
7206 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
7208 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
7213 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7218 eval "$wx_cv_use_protocols"
7220 if test x"$enablestring" = xdisable; then
7221 if test $wxUSE_PROTOCOL = no; then
7227 result=$wxUSE_PROTOCOL
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7231 $as_echo "$result" >&6; }
7235 defaultval=$wxUSE_ALL_FEATURES
7236 if test -z "$defaultval"; then
7237 if test x"$enablestring" = xdisable; then
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7245 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7246 # Check whether --enable-ftp was given.
7247 if test "${enable_ftp+set}" = set; then :
7248 enableval=$enable_ftp;
7249 if test "$enableval" = yes; then
7250 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
7252 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
7257 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7262 eval "$wx_cv_use_ftp"
7264 if test x"$enablestring" = xdisable; then
7265 if test $wxUSE_PROTOCOL_FTP = no; then
7271 result=$wxUSE_PROTOCOL_FTP
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7275 $as_echo "$result" >&6; }
7279 defaultval=$wxUSE_ALL_FEATURES
7280 if test -z "$defaultval"; then
7281 if test x"$enablestring" = xdisable; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-http" >&5
7289 $as_echo_n "checking
for --${enablestring:-enable}-http...
" >&6; }
7290 # Check whether --enable-http was given.
7291 if test "${enable_http+set}" = set; then :
7292 enableval=$enable_http;
7293 if test "$enableval" = yes; then
7294 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7296 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7301 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7306 eval "$wx_cv_use_http"
7308 if test x
"$enablestring" = xdisable
; then
7309 if test $wxUSE_PROTOCOL_HTTP = no
; then
7315 result
=$wxUSE_PROTOCOL_HTTP
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7319 $as_echo "$result" >&6; }
7323 defaultval
=$wxUSE_ALL_FEATURES
7324 if test -z "$defaultval"; then
7325 if test x
"$enablestring" = xdisable
; then
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7333 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7334 # Check whether --enable-fileproto was given.
7335 if test "${enable_fileproto+set}" = set; then :
7336 enableval
=$enable_fileproto;
7337 if test "$enableval" = yes; then
7338 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
7340 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
7345 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7350 eval "$wx_cv_use_fileproto"
7352 if test x"$enablestring" = xdisable; then
7353 if test $wxUSE_PROTOCOL_FILE = no; then
7359 result=$wxUSE_PROTOCOL_FILE
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7363 $as_echo "$result" >&6; }
7367 defaultval=$wxUSE_ALL_FEATURES
7368 if test -z "$defaultval"; then
7369 if test x"$enablestring" = xdisable; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7377 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7378 # Check whether --enable-sockets was given.
7379 if test "${enable_sockets+set}" = set; then :
7380 enableval=$enable_sockets;
7381 if test "$enableval" = yes; then
7382 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
7384 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
7389 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7394 eval "$wx_cv_use_sockets"
7396 if test x"$enablestring" = xdisable; then
7397 if test $wxUSE_SOCKETS = no; then
7403 result=$wxUSE_SOCKETS
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7407 $as_echo "$result" >&6; }
7411 defaultval=$wxUSE_ALL_FEATURES
7412 if test -z "$defaultval"; then
7413 if test x"$enablestring" = xdisable; then
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipv6" >&5
7421 $as_echo_n "checking
for --${enablestring:-enable}-ipv6...
" >&6; }
7422 # Check whether --enable-ipv6 was given.
7423 if test "${enable_ipv6+set}" = set; then :
7424 enableval=$enable_ipv6;
7425 if test "$enableval" = yes; then
7426 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7428 wx_cv_use_ipv6='wxUSE_IPV6=no'
7433 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7438 eval "$wx_cv_use_ipv6"
7440 if test x
"$enablestring" = xdisable
; then
7441 if test $wxUSE_IPV6 = no
; then
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7451 $as_echo "$result" >&6; }
7455 defaultval
=$wxUSE_ALL_FEATURES
7456 if test -z "$defaultval"; then
7457 if test x
"$enablestring" = xdisable
; then
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7465 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7466 # Check whether --enable-ole was given.
7467 if test "${enable_ole+set}" = set; then :
7468 enableval
=$enable_ole;
7469 if test "$enableval" = yes; then
7470 wx_cv_use_ole
='wxUSE_OLE=yes'
7472 wx_cv_use_ole
='wxUSE_OLE=no'
7477 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7482 eval "$wx_cv_use_ole"
7484 if test x"$enablestring" = xdisable; then
7485 if test $wxUSE_OLE = no; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7495 $as_echo "$result" >&6; }
7499 defaultval=$wxUSE_ALL_FEATURES
7500 if test -z "$defaultval"; then
7501 if test x"$enablestring" = xdisable; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7509 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7510 # Check whether --enable-dataobj was given.
7511 if test "${enable_dataobj+set}" = set; then :
7512 enableval=$enable_dataobj;
7513 if test "$enableval" = yes; then
7514 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
7516 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
7521 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7526 eval "$wx_cv_use_dataobj"
7528 if test x"$enablestring" = xdisable; then
7529 if test $wxUSE_DATAOBJ = no; then
7535 result=$wxUSE_DATAOBJ
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7539 $as_echo "$result" >&6; }
7544 defaultval=$wxUSE_ALL_FEATURES
7545 if test -z "$defaultval"; then
7546 if test x"$enablestring" = xdisable; then
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipc" >&5
7554 $as_echo_n "checking
for --${enablestring:-enable}-ipc...
" >&6; }
7555 # Check whether --enable-ipc was given.
7556 if test "${enable_ipc+set}" = set; then :
7557 enableval=$enable_ipc;
7558 if test "$enableval" = yes; then
7559 wx_cv_use_ipc='wxUSE_IPC=yes'
7561 wx_cv_use_ipc='wxUSE_IPC=no'
7566 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7571 eval "$wx_cv_use_ipc"
7573 if test x
"$enablestring" = xdisable
; then
7574 if test $wxUSE_IPC = no
; then
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7584 $as_echo "$result" >&6; }
7589 defaultval
=$wxUSE_ALL_FEATURES
7590 if test -z "$defaultval"; then
7591 if test x
"$enablestring" = xdisable
; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7599 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7600 # Check whether --enable-baseevtloop was given.
7601 if test "${enable_baseevtloop+set}" = set; then :
7602 enableval
=$enable_baseevtloop;
7603 if test "$enableval" = yes; then
7604 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
7606 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
7611 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7616 eval "$wx_cv_use_baseevtloop"
7618 if test x"$enablestring" = xdisable; then
7619 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7625 result=$wxUSE_CONSOLE_EVENTLOOP
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7629 $as_echo "$result" >&6; }
7633 defaultval=$wxUSE_ALL_FEATURES
7634 if test -z "$defaultval"; then
7635 if test x"$enablestring" = xdisable; then
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7643 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7644 # Check whether --enable-epollloop was given.
7645 if test "${enable_epollloop+set}" = set; then :
7646 enableval=$enable_epollloop;
7647 if test "$enableval" = yes; then
7648 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
7650 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
7655 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7660 eval "$wx_cv_use_epollloop"
7662 if test x"$enablestring" = xdisable; then
7663 if test $wxUSE_EPOLL_DISPATCHER = no; then
7669 result=$wxUSE_EPOLL_DISPATCHER
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7673 $as_echo "$result" >&6; }
7677 defaultval=$wxUSE_ALL_FEATURES
7678 if test -z "$defaultval"; then
7679 if test x"$enablestring" = xdisable; then
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-selectloop" >&5
7687 $as_echo_n "checking
for --${enablestring:-enable}-selectloop...
" >&6; }
7688 # Check whether --enable-selectloop was given.
7689 if test "${enable_selectloop+set}" = set; then :
7690 enableval=$enable_selectloop;
7691 if test "$enableval" = yes; then
7692 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7694 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7699 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7704 eval "$wx_cv_use_selectloop"
7706 if test x
"$enablestring" = xdisable
; then
7707 if test $wxUSE_SELECT_DISPATCHER = no
; then
7713 result
=$wxUSE_SELECT_DISPATCHER
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7717 $as_echo "$result" >&6; }
7722 defaultval
=$wxUSE_ALL_FEATURES
7723 if test -z "$defaultval"; then
7724 if test x
"$enablestring" = xdisable
; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7732 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7733 # Check whether --enable-any was given.
7734 if test "${enable_any+set}" = set; then :
7735 enableval
=$enable_any;
7736 if test "$enableval" = yes; then
7737 wx_cv_use_any
='wxUSE_ANY=yes'
7739 wx_cv_use_any
='wxUSE_ANY=no'
7744 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7749 eval "$wx_cv_use_any"
7751 if test x"$enablestring" = xdisable; then
7752 if test $wxUSE_ANY = no; then
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7762 $as_echo "$result" >&6; }
7766 defaultval=$wxUSE_ALL_FEATURES
7767 if test -z "$defaultval"; then
7768 if test x"$enablestring" = xdisable; then
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7776 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7777 # Check whether --enable-apple_ieee was given.
7778 if test "${enable_apple_ieee+set}" = set; then :
7779 enableval=$enable_apple_ieee;
7780 if test "$enableval" = yes; then
7781 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
7783 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
7788 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7793 eval "$wx_cv_use_apple_ieee"
7795 if test x"$enablestring" = xdisable; then
7796 if test $wxUSE_APPLE_IEEE = no; then
7802 result=$wxUSE_APPLE_IEEE
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7806 $as_echo "$result" >&6; }
7810 defaultval=$wxUSE_ALL_FEATURES
7811 if test -z "$defaultval"; then
7812 if test x"$enablestring" = xdisable; then
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-arcstream" >&5
7820 $as_echo_n "checking
for --${enablestring:-enable}-arcstream...
" >&6; }
7821 # Check whether --enable-arcstream was given.
7822 if test "${enable_arcstream+set}" = set; then :
7823 enableval=$enable_arcstream;
7824 if test "$enableval" = yes; then
7825 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7827 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7832 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7837 eval "$wx_cv_use_arcstream"
7839 if test x
"$enablestring" = xdisable
; then
7840 if test $wxUSE_ARCHIVE_STREAMS = no
; then
7846 result
=$wxUSE_ARCHIVE_STREAMS
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7850 $as_echo "$result" >&6; }
7854 defaultval
=$wxUSE_ALL_FEATURES
7855 if test -z "$defaultval"; then
7856 if test x
"$enablestring" = xdisable
; then
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7864 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7865 # Check whether --enable-base64 was given.
7866 if test "${enable_base64+set}" = set; then :
7867 enableval
=$enable_base64;
7868 if test "$enableval" = yes; then
7869 wx_cv_use_base64
='wxUSE_BASE64=yes'
7871 wx_cv_use_base64
='wxUSE_BASE64=no'
7876 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7881 eval "$wx_cv_use_base64"
7883 if test x"$enablestring" = xdisable; then
7884 if test $wxUSE_BASE64 = no; then
7890 result=$wxUSE_BASE64
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7894 $as_echo "$result" >&6; }
7898 defaultval=$wxUSE_ALL_FEATURES
7899 if test -z "$defaultval"; then
7900 if test x"$enablestring" = xdisable; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7908 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7909 # Check whether --enable-backtrace was given.
7910 if test "${enable_backtrace+set}" = set; then :
7911 enableval=$enable_backtrace;
7912 if test "$enableval" = yes; then
7913 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7915 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7920 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7925 eval "$wx_cv_use_backtrace"
7927 if test x"$enablestring" = xdisable; then
7928 if test $wxUSE_STACKWALKER = no; then
7934 result=$wxUSE_STACKWALKER
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7938 $as_echo "$result" >&6; }
7942 defaultval=$wxUSE_ALL_FEATURES
7943 if test -z "$defaultval"; then
7944 if test x"$enablestring" = xdisable; then
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-catch_segvs" >&5
7952 $as_echo_n "checking
for --${enablestring:-enable}-catch_segvs...
" >&6; }
7953 # Check whether --enable-catch_segvs was given.
7954 if test "${enable_catch_segvs+set}" = set; then :
7955 enableval=$enable_catch_segvs;
7956 if test "$enableval" = yes; then
7957 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7959 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7964 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7969 eval "$wx_cv_use_catch_segvs"
7971 if test x
"$enablestring" = xdisable
; then
7972 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
7978 result
=$wxUSE_ON_FATAL_EXCEPTION
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7982 $as_echo "$result" >&6; }
7986 defaultval
=$wxUSE_ALL_FEATURES
7987 if test -z "$defaultval"; then
7988 if test x
"$enablestring" = xdisable
; then
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7996 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7997 # Check whether --enable-cmdline was given.
7998 if test "${enable_cmdline+set}" = set; then :
7999 enableval
=$enable_cmdline;
8000 if test "$enableval" = yes; then
8001 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
8003 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
8008 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
8013 eval "$wx_cv_use_cmdline"
8015 if test x"$enablestring" = xdisable; then
8016 if test $wxUSE_CMDLINE_PARSER = no; then
8022 result=$wxUSE_CMDLINE_PARSER
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8026 $as_echo "$result" >&6; }
8030 defaultval=$wxUSE_ALL_FEATURES
8031 if test -z "$defaultval"; then
8032 if test x"$enablestring" = xdisable; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
8040 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
8041 # Check whether --enable-datetime was given.
8042 if test "${enable_datetime+set}" = set; then :
8043 enableval=$enable_datetime;
8044 if test "$enableval" = yes; then
8045 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
8047 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
8052 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8057 eval "$wx_cv_use_datetime"
8059 if test x"$enablestring" = xdisable; then
8060 if test $wxUSE_DATETIME = no; then
8066 result=$wxUSE_DATETIME
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8070 $as_echo "$result" >&6; }
8074 defaultval=$wxUSE_ALL_FEATURES
8075 if test -z "$defaultval"; then
8076 if test x"$enablestring" = xdisable; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debugreport" >&5
8084 $as_echo_n "checking
for --${enablestring:-enable}-debugreport...
" >&6; }
8085 # Check whether --enable-debugreport was given.
8086 if test "${enable_debugreport+set}" = set; then :
8087 enableval=$enable_debugreport;
8088 if test "$enableval" = yes; then
8089 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8091 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8096 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8101 eval "$wx_cv_use_debugreport"
8103 if test x
"$enablestring" = xdisable
; then
8104 if test $wxUSE_DEBUGREPORT = no
; then
8110 result
=$wxUSE_DEBUGREPORT
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8114 $as_echo "$result" >&6; }
8118 defaultval
=$wxUSE_ALL_FEATURES
8119 if test -z "$defaultval"; then
8120 if test x
"$enablestring" = xdisable
; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8128 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8129 # Check whether --enable-dialupman was given.
8130 if test "${enable_dialupman+set}" = set; then :
8131 enableval
=$enable_dialupman;
8132 if test "$enableval" = yes; then
8133 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
8135 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
8140 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8145 eval "$wx_cv_use_dialupman"
8147 if test x"$enablestring" = xdisable; then
8148 if test $wxUSE_DIALUP_MANAGER = no; then
8154 result=$wxUSE_DIALUP_MANAGER
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8158 $as_echo "$result" >&6; }
8162 defaultval=$wxUSE_ALL_FEATURES
8163 if test -z "$defaultval"; then
8164 if test x"$enablestring" = xdisable; then
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8172 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8173 # Check whether --enable-dynlib was given.
8174 if test "${enable_dynlib+set}" = set; then :
8175 enableval=$enable_dynlib;
8176 if test "$enableval" = yes; then
8177 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
8179 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
8184 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8189 eval "$wx_cv_use_dynlib"
8191 if test x"$enablestring" = xdisable; then
8192 if test $wxUSE_DYNLIB_CLASS = no; then
8198 result=$wxUSE_DYNLIB_CLASS
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8202 $as_echo "$result" >&6; }
8206 defaultval=$wxUSE_ALL_FEATURES
8207 if test -z "$defaultval"; then
8208 if test x"$enablestring" = xdisable; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynamicloader" >&5
8216 $as_echo_n "checking
for --${enablestring:-enable}-dynamicloader...
" >&6; }
8217 # Check whether --enable-dynamicloader was given.
8218 if test "${enable_dynamicloader+set}" = set; then :
8219 enableval=$enable_dynamicloader;
8220 if test "$enableval" = yes; then
8221 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8223 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8228 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8233 eval "$wx_cv_use_dynamicloader"
8235 if test x
"$enablestring" = xdisable
; then
8236 if test $wxUSE_DYNAMIC_LOADER = no
; then
8242 result
=$wxUSE_DYNAMIC_LOADER
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8246 $as_echo "$result" >&6; }
8250 defaultval
=$wxUSE_ALL_FEATURES
8251 if test -z "$defaultval"; then
8252 if test x
"$enablestring" = xdisable
; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8260 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8261 # Check whether --enable-exceptions was given.
8262 if test "${enable_exceptions+set}" = set; then :
8263 enableval
=$enable_exceptions;
8264 if test "$enableval" = yes; then
8265 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
8267 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
8272 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8277 eval "$wx_cv_use_exceptions"
8279 if test x"$enablestring" = xdisable; then
8280 if test $wxUSE_EXCEPTIONS = no; then
8286 result=$wxUSE_EXCEPTIONS
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8290 $as_echo "$result" >&6; }
8294 defaultval=$wxUSE_ALL_FEATURES
8295 if test -z "$defaultval"; then
8296 if test x"$enablestring" = xdisable; then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8304 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8305 # Check whether --enable-ffile was given.
8306 if test "${enable_ffile+set}" = set; then :
8307 enableval=$enable_ffile;
8308 if test "$enableval" = yes; then
8309 wx_cv_use_ffile='wxUSE_FFILE
=yes'
8311 wx_cv_use_ffile='wxUSE_FFILE
=no
'
8316 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8321 eval "$wx_cv_use_ffile"
8323 if test x"$enablestring" = xdisable; then
8324 if test $wxUSE_FFILE = no; then
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8334 $as_echo "$result" >&6; }
8338 defaultval=$wxUSE_ALL_FEATURES
8339 if test -z "$defaultval"; then
8340 if test x"$enablestring" = xdisable; then
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-file" >&5
8348 $as_echo_n "checking
for --${enablestring:-enable}-file...
" >&6; }
8349 # Check whether --enable-file was given.
8350 if test "${enable_file+set}" = set; then :
8351 enableval=$enable_file;
8352 if test "$enableval" = yes; then
8353 wx_cv_use_file='wxUSE_FILE=yes'
8355 wx_cv_use_file='wxUSE_FILE=no'
8360 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8365 eval "$wx_cv_use_file"
8367 if test x
"$enablestring" = xdisable
; then
8368 if test $wxUSE_FILE = no
; then
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8378 $as_echo "$result" >&6; }
8382 defaultval
=$wxUSE_ALL_FEATURES
8383 if test -z "$defaultval"; then
8384 if test x
"$enablestring" = xdisable
; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8392 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8393 # Check whether --enable-filehistory was given.
8394 if test "${enable_filehistory+set}" = set; then :
8395 enableval
=$enable_filehistory;
8396 if test "$enableval" = yes; then
8397 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
8399 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
8404 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8409 eval "$wx_cv_use_filehistory"
8411 if test x"$enablestring" = xdisable; then
8412 if test $wxUSE_FILE_HISTORY = no; then
8418 result=$wxUSE_FILE_HISTORY
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8422 $as_echo "$result" >&6; }
8426 defaultval=$wxUSE_ALL_FEATURES
8427 if test -z "$defaultval"; then
8428 if test x"$enablestring" = xdisable; then
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8436 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8437 # Check whether --enable-filesystem was given.
8438 if test "${enable_filesystem+set}" = set; then :
8439 enableval=$enable_filesystem;
8440 if test "$enableval" = yes; then
8441 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
8443 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
8448 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8453 eval "$wx_cv_use_filesystem"
8455 if test x"$enablestring" = xdisable; then
8456 if test $wxUSE_FILESYSTEM = no; then
8462 result=$wxUSE_FILESYSTEM
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8466 $as_echo "$result" >&6; }
8470 defaultval=$wxUSE_ALL_FEATURES
8471 if test -z "$defaultval"; then
8472 if test x"$enablestring" = xdisable; then
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontenum" >&5
8480 $as_echo_n "checking
for --${enablestring:-enable}-fontenum...
" >&6; }
8481 # Check whether --enable-fontenum was given.
8482 if test "${enable_fontenum+set}" = set; then :
8483 enableval=$enable_fontenum;
8484 if test "$enableval" = yes; then
8485 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8487 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8492 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8497 eval "$wx_cv_use_fontenum"
8499 if test x
"$enablestring" = xdisable
; then
8500 if test $wxUSE_FONTENUM = no
; then
8506 result
=$wxUSE_FONTENUM
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8510 $as_echo "$result" >&6; }
8514 defaultval
=$wxUSE_ALL_FEATURES
8515 if test -z "$defaultval"; then
8516 if test x
"$enablestring" = xdisable
; then
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8524 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8525 # Check whether --enable-fontmap was given.
8526 if test "${enable_fontmap+set}" = set; then :
8527 enableval
=$enable_fontmap;
8528 if test "$enableval" = yes; then
8529 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
8531 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
8536 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8541 eval "$wx_cv_use_fontmap"
8543 if test x"$enablestring" = xdisable; then
8544 if test $wxUSE_FONTMAP = no; then
8550 result=$wxUSE_FONTMAP
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8554 $as_echo "$result" >&6; }
8558 defaultval=$wxUSE_ALL_FEATURES
8559 if test -z "$defaultval"; then
8560 if test x"$enablestring" = xdisable; then
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8568 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8569 # Check whether --enable-fs_archive was given.
8570 if test "${enable_fs_archive+set}" = set; then :
8571 enableval=$enable_fs_archive;
8572 if test "$enableval" = yes; then
8573 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
8575 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
8580 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8585 eval "$wx_cv_use_fs_archive"
8587 if test x"$enablestring" = xdisable; then
8588 if test $wxUSE_FS_ARCHIVE = no; then
8594 result=$wxUSE_FS_ARCHIVE
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8598 $as_echo "$result" >&6; }
8602 defaultval=$wxUSE_ALL_FEATURES
8603 if test -z "$defaultval"; then
8604 if test x"$enablestring" = xdisable; then
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_inet" >&5
8612 $as_echo_n "checking
for --${enablestring:-enable}-fs_inet...
" >&6; }
8613 # Check whether --enable-fs_inet was given.
8614 if test "${enable_fs_inet+set}" = set; then :
8615 enableval=$enable_fs_inet;
8616 if test "$enableval" = yes; then
8617 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8619 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8624 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8629 eval "$wx_cv_use_fs_inet"
8631 if test x
"$enablestring" = xdisable
; then
8632 if test $wxUSE_FS_INET = no
; then
8638 result
=$wxUSE_FS_INET
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8642 $as_echo "$result" >&6; }
8646 defaultval
=$wxUSE_ALL_FEATURES
8647 if test -z "$defaultval"; then
8648 if test x
"$enablestring" = xdisable
; then
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8656 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8657 # Check whether --enable-fs_zip was given.
8658 if test "${enable_fs_zip+set}" = set; then :
8659 enableval
=$enable_fs_zip;
8660 if test "$enableval" = yes; then
8661 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
8663 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
8668 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8673 eval "$wx_cv_use_fs_zip"
8675 if test x"$enablestring" = xdisable; then
8676 if test $wxUSE_FS_ZIP = no; then
8682 result=$wxUSE_FS_ZIP
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8686 $as_echo "$result" >&6; }
8690 defaultval=$wxUSE_ALL_FEATURES
8691 if test -z "$defaultval"; then
8692 if test x"$enablestring" = xdisable; then
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8700 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8701 # Check whether --enable-fsvolume was given.
8702 if test "${enable_fsvolume+set}" = set; then :
8703 enableval=$enable_fsvolume;
8704 if test "$enableval" = yes; then
8705 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=yes'
8707 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=no
'
8712 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8717 eval "$wx_cv_use_fsvolume"
8719 if test x"$enablestring" = xdisable; then
8720 if test $wxUSE_FSVOLUME = no; then
8726 result=$wxUSE_FSVOLUME
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8730 $as_echo "$result" >&6; }
8734 defaultval=$wxUSE_ALL_FEATURES
8735 if test -z "$defaultval"; then
8736 if test x"$enablestring" = xdisable; then
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fswatcher" >&5
8744 $as_echo_n "checking
for --${enablestring:-enable}-fswatcher...
" >&6; }
8745 # Check whether --enable-fswatcher was given.
8746 if test "${enable_fswatcher+set}" = set; then :
8747 enableval=$enable_fswatcher;
8748 if test "$enableval" = yes; then
8749 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8751 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8756 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8761 eval "$wx_cv_use_fswatcher"
8763 if test x
"$enablestring" = xdisable
; then
8764 if test $wxUSE_FSWATCHER = no
; then
8770 result
=$wxUSE_FSWATCHER
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8774 $as_echo "$result" >&6; }
8778 defaultval
=$wxUSE_ALL_FEATURES
8779 if test -z "$defaultval"; then
8780 if test x
"$enablestring" = xdisable
; then
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8788 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8789 # Check whether --enable-geometry was given.
8790 if test "${enable_geometry+set}" = set; then :
8791 enableval
=$enable_geometry;
8792 if test "$enableval" = yes; then
8793 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
8795 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
8800 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8805 eval "$wx_cv_use_geometry"
8807 if test x"$enablestring" = xdisable; then
8808 if test $wxUSE_GEOMETRY = no; then
8814 result=$wxUSE_GEOMETRY
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8818 $as_echo "$result" >&6; }
8822 defaultval=$wxUSE_ALL_FEATURES
8823 if test -z "$defaultval"; then
8824 if test x"$enablestring" = xdisable; then
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8832 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8833 # Check whether --enable-log was given.
8834 if test "${enable_log+set}" = set; then :
8835 enableval=$enable_log;
8836 if test "$enableval" = yes; then
8837 wx_cv_use_log='wxUSE_LOG
=yes'
8839 wx_cv_use_log='wxUSE_LOG
=no
'
8844 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8849 eval "$wx_cv_use_log"
8851 if test x"$enablestring" = xdisable; then
8852 if test $wxUSE_LOG = no; then
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8862 $as_echo "$result" >&6; }
8866 defaultval=$wxUSE_ALL_FEATURES
8867 if test -z "$defaultval"; then
8868 if test x"$enablestring" = xdisable; then
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-longlong" >&5
8876 $as_echo_n "checking
for --${enablestring:-enable}-longlong...
" >&6; }
8877 # Check whether --enable-longlong was given.
8878 if test "${enable_longlong+set}" = set; then :
8879 enableval=$enable_longlong;
8880 if test "$enableval" = yes; then
8881 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8883 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8888 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8893 eval "$wx_cv_use_longlong"
8895 if test x
"$enablestring" = xdisable
; then
8896 if test $wxUSE_LONGLONG = no
; then
8902 result
=$wxUSE_LONGLONG
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8906 $as_echo "$result" >&6; }
8910 defaultval
=$wxUSE_ALL_FEATURES
8911 if test -z "$defaultval"; then
8912 if test x
"$enablestring" = xdisable
; then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8920 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8921 # Check whether --enable-mimetype was given.
8922 if test "${enable_mimetype+set}" = set; then :
8923 enableval
=$enable_mimetype;
8924 if test "$enableval" = yes; then
8925 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8927 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8932 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8937 eval "$wx_cv_use_mimetype"
8939 if test x"$enablestring" = xdisable; then
8940 if test $wxUSE_MIMETYPE = no; then
8946 result=$wxUSE_MIMETYPE
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8950 $as_echo "$result" >&6; }
8954 defaultval=$wxUSE_ALL_FEATURES
8955 if test -z "$defaultval"; then
8956 if test x"$enablestring" = xdisable; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8964 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8965 # Check whether --enable-printfposparam was given.
8966 if test "${enable_printfposparam+set}" = set; then :
8967 enableval=$enable_printfposparam;
8968 if test "$enableval" = yes; then
8969 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8971 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8976 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8981 eval "$wx_cv_use_printfposparam"
8983 if test x"$enablestring" = xdisable; then
8984 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8990 result=$wxUSE_PRINTF_POS_PARAMS
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8994 $as_echo "$result" >&6; }
8998 defaultval=$wxUSE_ALL_FEATURES
8999 if test -z "$defaultval"; then
9000 if test x"$enablestring" = xdisable; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-snglinst" >&5
9008 $as_echo_n "checking
for --${enablestring:-enable}-snglinst...
" >&6; }
9009 # Check whether --enable-snglinst was given.
9010 if test "${enable_snglinst+set}" = set; then :
9011 enableval=$enable_snglinst;
9012 if test "$enableval" = yes; then
9013 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
9015 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
9020 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
9025 eval "$wx_cv_use_snglinst"
9027 if test x
"$enablestring" = xdisable
; then
9028 if test $wxUSE_SNGLINST_CHECKER = no
; then
9034 result
=$wxUSE_SNGLINST_CHECKER
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9038 $as_echo "$result" >&6; }
9042 defaultval
=$wxUSE_ALL_FEATURES
9043 if test -z "$defaultval"; then
9044 if test x
"$enablestring" = xdisable
; then
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
9052 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9053 # Check whether --enable-sound was given.
9054 if test "${enable_sound+set}" = set; then :
9055 enableval
=$enable_sound;
9056 if test "$enableval" = yes; then
9057 wx_cv_use_sound
='wxUSE_SOUND=yes'
9059 wx_cv_use_sound
='wxUSE_SOUND=no'
9064 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9069 eval "$wx_cv_use_sound"
9071 if test x"$enablestring" = xdisable; then
9072 if test $wxUSE_SOUND = no; then
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9082 $as_echo "$result" >&6; }
9086 defaultval=$wxUSE_ALL_FEATURES
9087 if test -z "$defaultval"; then
9088 if test x"$enablestring" = xdisable; then
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9096 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9097 # Check whether --enable-stdpaths was given.
9098 if test "${enable_stdpaths+set}" = set; then :
9099 enableval=$enable_stdpaths;
9100 if test "$enableval" = yes; then
9101 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
9103 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
9108 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9113 eval "$wx_cv_use_stdpaths"
9115 if test x"$enablestring" = xdisable; then
9116 if test $wxUSE_STDPATHS = no; then
9122 result=$wxUSE_STDPATHS
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9126 $as_echo "$result" >&6; }
9130 defaultval=$wxUSE_ALL_FEATURES
9131 if test -z "$defaultval"; then
9132 if test x"$enablestring" = xdisable; then
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stopwatch" >&5
9140 $as_echo_n "checking
for --${enablestring:-enable}-stopwatch...
" >&6; }
9141 # Check whether --enable-stopwatch was given.
9142 if test "${enable_stopwatch+set}" = set; then :
9143 enableval=$enable_stopwatch;
9144 if test "$enableval" = yes; then
9145 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9147 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9152 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9157 eval "$wx_cv_use_stopwatch"
9159 if test x
"$enablestring" = xdisable
; then
9160 if test $wxUSE_STOPWATCH = no
; then
9166 result
=$wxUSE_STOPWATCH
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9170 $as_echo "$result" >&6; }
9174 defaultval
=$wxUSE_ALL_FEATURES
9175 if test -z "$defaultval"; then
9176 if test x
"$enablestring" = xdisable
; then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9184 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9185 # Check whether --enable-streams was given.
9186 if test "${enable_streams+set}" = set; then :
9187 enableval
=$enable_streams;
9188 if test "$enableval" = yes; then
9189 wx_cv_use_streams
='wxUSE_STREAMS=yes'
9191 wx_cv_use_streams
='wxUSE_STREAMS=no'
9196 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9201 eval "$wx_cv_use_streams"
9203 if test x"$enablestring" = xdisable; then
9204 if test $wxUSE_STREAMS = no; then
9210 result=$wxUSE_STREAMS
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9214 $as_echo "$result" >&6; }
9218 defaultval=$wxUSE_ALL_FEATURES
9219 if test -z "$defaultval"; then
9220 if test x"$enablestring" = xdisable; then
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9228 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9229 # Check whether --enable-sysoptions was given.
9230 if test "${enable_sysoptions+set}" = set; then :
9231 enableval=$enable_sysoptions;
9232 if test "$enableval" = yes; then
9233 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
9235 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
9240 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9245 eval "$wx_cv_use_sysoptions"
9247 if test x"$enablestring" = xdisable; then
9248 if test $wxUSE_SYSTEM_OPTIONS = no; then
9254 result=$wxUSE_SYSTEM_OPTIONS
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9258 $as_echo "$result" >&6; }
9262 defaultval=$wxUSE_ALL_FEATURES
9263 if test -z "$defaultval"; then
9264 if test x"$enablestring" = xdisable; then
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tarstream" >&5
9272 $as_echo_n "checking
for --${enablestring:-enable}-tarstream...
" >&6; }
9273 # Check whether --enable-tarstream was given.
9274 if test "${enable_tarstream+set}" = set; then :
9275 enableval=$enable_tarstream;
9276 if test "$enableval" = yes; then
9277 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9279 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9284 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9289 eval "$wx_cv_use_tarstream"
9291 if test x
"$enablestring" = xdisable
; then
9292 if test $wxUSE_TARSTREAM = no
; then
9298 result
=$wxUSE_TARSTREAM
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9302 $as_echo "$result" >&6; }
9306 defaultval
=$wxUSE_ALL_FEATURES
9307 if test -z "$defaultval"; then
9308 if test x
"$enablestring" = xdisable
; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9316 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9317 # Check whether --enable-textbuf was given.
9318 if test "${enable_textbuf+set}" = set; then :
9319 enableval
=$enable_textbuf;
9320 if test "$enableval" = yes; then
9321 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
9323 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
9328 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9333 eval "$wx_cv_use_textbuf"
9335 if test x"$enablestring" = xdisable; then
9336 if test $wxUSE_TEXTBUFFER = no; then
9342 result=$wxUSE_TEXTBUFFER
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9346 $as_echo "$result" >&6; }
9350 defaultval=$wxUSE_ALL_FEATURES
9351 if test -z "$defaultval"; then
9352 if test x"$enablestring" = xdisable; then
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9360 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9361 # Check whether --enable-textfile was given.
9362 if test "${enable_textfile+set}" = set; then :
9363 enableval=$enable_textfile;
9364 if test "$enableval" = yes; then
9365 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
9367 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
9372 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9377 eval "$wx_cv_use_textfile"
9379 if test x"$enablestring" = xdisable; then
9380 if test $wxUSE_TEXTFILE = no; then
9386 result=$wxUSE_TEXTFILE
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9390 $as_echo "$result" >&6; }
9394 defaultval=$wxUSE_ALL_FEATURES
9395 if test -z "$defaultval"; then
9396 if test x"$enablestring" = xdisable; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-timer" >&5
9404 $as_echo_n "checking
for --${enablestring:-enable}-timer...
" >&6; }
9405 # Check whether --enable-timer was given.
9406 if test "${enable_timer+set}" = set; then :
9407 enableval=$enable_timer;
9408 if test "$enableval" = yes; then
9409 wx_cv_use_timer='wxUSE_TIMER=yes'
9411 wx_cv_use_timer='wxUSE_TIMER=no'
9416 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9421 eval "$wx_cv_use_timer"
9423 if test x
"$enablestring" = xdisable
; then
9424 if test $wxUSE_TIMER = no
; then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9434 $as_echo "$result" >&6; }
9438 defaultval
=$wxUSE_ALL_FEATURES
9439 if test -z "$defaultval"; then
9440 if test x
"$enablestring" = xdisable
; then
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9448 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9449 # Check whether --enable-variant was given.
9450 if test "${enable_variant+set}" = set; then :
9451 enableval
=$enable_variant;
9452 if test "$enableval" = yes; then
9453 wx_cv_use_variant
='wxUSE_VARIANT=yes'
9455 wx_cv_use_variant
='wxUSE_VARIANT=no'
9460 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9465 eval "$wx_cv_use_variant"
9467 if test x"$enablestring" = xdisable; then
9468 if test $wxUSE_VARIANT = no; then
9474 result=$wxUSE_VARIANT
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9478 $as_echo "$result" >&6; }
9482 defaultval=$wxUSE_ALL_FEATURES
9483 if test -z "$defaultval"; then
9484 if test x"$enablestring" = xdisable; then
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9492 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9493 # Check whether --enable-zipstream was given.
9494 if test "${enable_zipstream+set}" = set; then :
9495 enableval=$enable_zipstream;
9496 if test "$enableval" = yes; then
9497 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
9499 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
9504 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9509 eval "$wx_cv_use_zipstream"
9511 if test x"$enablestring" = xdisable; then
9512 if test $wxUSE_ZIPSTREAM = no; then
9518 result=$wxUSE_ZIPSTREAM
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9522 $as_echo "$result" >&6; }
9527 defaultval=$wxUSE_ALL_FEATURES
9528 if test -z "$defaultval"; then
9529 if test x"$enablestring" = xdisable; then
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-url" >&5
9537 $as_echo_n "checking
for --${enablestring:-enable}-url...
" >&6; }
9538 # Check whether --enable-url was given.
9539 if test "${enable_url+set}" = set; then :
9540 enableval=$enable_url;
9541 if test "$enableval" = yes; then
9542 wx_cv_use_url='wxUSE_URL=yes'
9544 wx_cv_use_url='wxUSE_URL=no'
9549 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9554 eval "$wx_cv_use_url"
9556 if test x
"$enablestring" = xdisable
; then
9557 if test $wxUSE_URL = no
; then
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9567 $as_echo "$result" >&6; }
9571 defaultval
=$wxUSE_ALL_FEATURES
9572 if test -z "$defaultval"; then
9573 if test x
"$enablestring" = xdisable
; then
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9581 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9582 # Check whether --enable-protocol was given.
9583 if test "${enable_protocol+set}" = set; then :
9584 enableval
=$enable_protocol;
9585 if test "$enableval" = yes; then
9586 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
9588 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
9593 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9598 eval "$wx_cv_use_protocol"
9600 if test x"$enablestring" = xdisable; then
9601 if test $wxUSE_PROTOCOL = no; then
9607 result=$wxUSE_PROTOCOL
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9611 $as_echo "$result" >&6; }
9615 defaultval=$wxUSE_ALL_FEATURES
9616 if test -z "$defaultval"; then
9617 if test x"$enablestring" = xdisable; then
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9625 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9626 # Check whether --enable-protocol_http was given.
9627 if test "${enable_protocol_http+set}" = set; then :
9628 enableval=$enable_protocol_http;
9629 if test "$enableval" = yes; then
9630 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
9632 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
9637 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9642 eval "$wx_cv_use_protocol_http"
9644 if test x"$enablestring" = xdisable; then
9645 if test $wxUSE_PROTOCOL_HTTP = no; then
9651 result=$wxUSE_PROTOCOL_HTTP
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9655 $as_echo "$result" >&6; }
9659 defaultval=$wxUSE_ALL_FEATURES
9660 if test -z "$defaultval"; then
9661 if test x"$enablestring" = xdisable; then
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_ftp" >&5
9669 $as_echo_n "checking
for --${enablestring:-enable}-protocol_ftp...
" >&6; }
9670 # Check whether --enable-protocol_ftp was given.
9671 if test "${enable_protocol_ftp+set}" = set; then :
9672 enableval=$enable_protocol_ftp;
9673 if test "$enableval" = yes; then
9674 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9676 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9681 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9686 eval "$wx_cv_use_protocol_ftp"
9688 if test x
"$enablestring" = xdisable
; then
9689 if test $wxUSE_PROTOCOL_FTP = no
; then
9695 result
=$wxUSE_PROTOCOL_FTP
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9699 $as_echo "$result" >&6; }
9703 defaultval
=$wxUSE_ALL_FEATURES
9704 if test -z "$defaultval"; then
9705 if test x
"$enablestring" = xdisable
; then
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9713 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9714 # Check whether --enable-protocol_file was given.
9715 if test "${enable_protocol_file+set}" = set; then :
9716 enableval
=$enable_protocol_file;
9717 if test "$enableval" = yes; then
9718 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
9720 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
9725 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9730 eval "$wx_cv_use_protocol_file"
9732 if test x"$enablestring" = xdisable; then
9733 if test $wxUSE_PROTOCOL_FILE = no; then
9739 result=$wxUSE_PROTOCOL_FILE
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9743 $as_echo "$result" >&6; }
9748 defaultval=$wxUSE_ALL_FEATURES
9749 if test -z "$defaultval"; then
9750 if test x"$enablestring" = xdisable; then
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9758 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9759 # Check whether --enable-threads was given.
9760 if test "${enable_threads+set}" = set; then :
9761 enableval=$enable_threads;
9762 if test "$enableval" = yes; then
9763 wx_cv_use_threads='wxUSE_THREADS
=yes'
9765 wx_cv_use_threads='wxUSE_THREADS
=no
'
9770 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9775 eval "$wx_cv_use_threads"
9777 if test x"$enablestring" = xdisable; then
9778 if test $wxUSE_THREADS = no; then
9784 result=$wxUSE_THREADS
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9788 $as_echo "$result" >&6; }
9794 if test -z "$defaultval"; then
9795 if test x"$enablestring" = xdisable; then
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-iniconf" >&5
9803 $as_echo_n "checking
for --${enablestring:-enable}-iniconf...
" >&6; }
9804 # Check whether --enable-iniconf was given.
9805 if test "${enable_iniconf+set}" = set; then :
9806 enableval=$enable_iniconf;
9807 if test "$enableval" = yes; then
9808 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9810 wx_cv_use_iniconf='wxUSE_INICONF=no'
9815 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9820 eval "$wx_cv_use_iniconf"
9822 if test x
"$enablestring" = xdisable
; then
9823 if test $wxUSE_INICONF = no
; then
9829 result
=$wxUSE_INICONF
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9833 $as_echo "$result" >&6; }
9837 defaultval
=$wxUSE_ALL_FEATURES
9838 if test -z "$defaultval"; then
9839 if test x
"$enablestring" = xdisable
; then
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9847 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9848 # Check whether --enable-regkey was given.
9849 if test "${enable_regkey+set}" = set; then :
9850 enableval
=$enable_regkey;
9851 if test "$enableval" = yes; then
9852 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
9854 wx_cv_use_regkey
='wxUSE_REGKEY=no'
9859 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9864 eval "$wx_cv_use_regkey"
9866 if test x"$enablestring" = xdisable; then
9867 if test $wxUSE_REGKEY = no; then
9873 result=$wxUSE_REGKEY
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9877 $as_echo "$result" >&6; }
9880 if test "$wxUSE_GUI" = "yes"; then
9885 defaultval=$wxUSE_ALL_FEATURES
9886 if test -z "$defaultval"; then
9887 if test x"$enablestring" = xdisable; then
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9895 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9896 # Check whether --enable-docview was given.
9897 if test "${enable_docview+set}" = set; then :
9898 enableval=$enable_docview;
9899 if test "$enableval" = yes; then
9900 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
9902 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
9907 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9912 eval "$wx_cv_use_docview"
9914 if test x"$enablestring" = xdisable; then
9915 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9921 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9925 $as_echo "$result" >&6; }
9929 defaultval=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x"$enablestring" = xdisable; then
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-help" >&5
9939 $as_echo_n "checking
for --${enablestring:-enable}-help...
" >&6; }
9940 # Check whether --enable-help was given.
9941 if test "${enable_help+set}" = set; then :
9942 enableval=$enable_help;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_help='wxUSE_HELP=yes'
9946 wx_cv_use_help='wxUSE_HELP=no'
9951 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9956 eval "$wx_cv_use_help"
9958 if test x
"$enablestring" = xdisable
; then
9959 if test $wxUSE_HELP = no
; then
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9969 $as_echo "$result" >&6; }
9973 defaultval
=$wxUSE_ALL_FEATURES
9974 if test -z "$defaultval"; then
9975 if test x
"$enablestring" = xdisable
; then
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9983 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9984 # Check whether --enable-mshtmlhelp was given.
9985 if test "${enable_mshtmlhelp+set}" = set; then :
9986 enableval
=$enable_mshtmlhelp;
9987 if test "$enableval" = yes; then
9988 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
9990 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
9995 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
10000 eval "$wx_cv_use_mshtmlhelp"
10002 if test x"$enablestring" = xdisable; then
10003 if test $wxUSE_MS_HTML_HELP = no; then
10009 result=$wxUSE_MS_HTML_HELP
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10013 $as_echo "$result" >&6; }
10017 defaultval=$wxUSE_ALL_FEATURES
10018 if test -z "$defaultval"; then
10019 if test x"$enablestring" = xdisable; then
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
10027 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
10028 # Check whether --enable-html was given.
10029 if test "${enable_html+set}" = set; then :
10030 enableval=$enable_html;
10031 if test "$enableval" = yes; then
10032 wx_cv_use_html='wxUSE_HTML
=yes'
10034 wx_cv_use_html='wxUSE_HTML
=no
'
10039 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
10044 eval "$wx_cv_use_html"
10046 if test x"$enablestring" = xdisable; then
10047 if test $wxUSE_HTML = no; then
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10057 $as_echo "$result" >&6; }
10061 defaultval=$wxUSE_ALL_FEATURES
10062 if test -z "$defaultval"; then
10063 if test x"$enablestring" = xdisable; then
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-htmlhelp" >&5
10071 $as_echo_n "checking
for --${enablestring:-enable}-htmlhelp...
" >&6; }
10072 # Check whether --enable-htmlhelp was given.
10073 if test "${enable_htmlhelp+set}" = set; then :
10074 enableval=$enable_htmlhelp;
10075 if test "$enableval" = yes; then
10076 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10078 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10083 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10088 eval "$wx_cv_use_htmlhelp"
10090 if test x
"$enablestring" = xdisable
; then
10091 if test $wxUSE_WXHTML_HELP = no
; then
10097 result
=$wxUSE_WXHTML_HELP
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10101 $as_echo "$result" >&6; }
10105 defaultval
=$wxUSE_ALL_FEATURES
10106 if test -z "$defaultval"; then
10107 if test x
"$enablestring" = xdisable
; then
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10115 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10116 # Check whether --enable-xrc was given.
10117 if test "${enable_xrc+set}" = set; then :
10118 enableval
=$enable_xrc;
10119 if test "$enableval" = yes; then
10120 wx_cv_use_xrc
='wxUSE_XRC=yes'
10122 wx_cv_use_xrc
='wxUSE_XRC=no'
10127 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10132 eval "$wx_cv_use_xrc"
10134 if test x"$enablestring" = xdisable; then
10135 if test $wxUSE_XRC = no; then
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10145 $as_echo "$result" >&6; }
10149 defaultval=$wxUSE_ALL_FEATURES
10150 if test -z "$defaultval"; then
10151 if test x"$enablestring" = xdisable; then
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10159 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10160 # Check whether --enable-aui was given.
10161 if test "${enable_aui+set}" = set; then :
10162 enableval=$enable_aui;
10163 if test "$enableval" = yes; then
10164 wx_cv_use_aui='wxUSE_AUI
=yes'
10166 wx_cv_use_aui='wxUSE_AUI
=no
'
10171 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10176 eval "$wx_cv_use_aui"
10178 if test x"$enablestring" = xdisable; then
10179 if test $wxUSE_AUI = no; then
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10189 $as_echo "$result" >&6; }
10193 defaultval=$wxUSE_ALL_FEATURES
10194 if test -z "$defaultval"; then
10195 if test x"$enablestring" = xdisable; then
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-propgrid" >&5
10203 $as_echo_n "checking
for --${enablestring:-enable}-propgrid...
" >&6; }
10204 # Check whether --enable-propgrid was given.
10205 if test "${enable_propgrid+set}" = set; then :
10206 enableval=$enable_propgrid;
10207 if test "$enableval" = yes; then
10208 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10210 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10215 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10220 eval "$wx_cv_use_propgrid"
10222 if test x
"$enablestring" = xdisable
; then
10223 if test $wxUSE_PROPGRID = no
; then
10229 result
=$wxUSE_PROPGRID
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10233 $as_echo "$result" >&6; }
10237 defaultval
=$wxUSE_ALL_FEATURES
10238 if test -z "$defaultval"; then
10239 if test x
"$enablestring" = xdisable
; then
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10247 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10248 # Check whether --enable-ribbon was given.
10249 if test "${enable_ribbon+set}" = set; then :
10250 enableval
=$enable_ribbon;
10251 if test "$enableval" = yes; then
10252 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
10254 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
10259 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10264 eval "$wx_cv_use_ribbon"
10266 if test x"$enablestring" = xdisable; then
10267 if test $wxUSE_RIBBON = no; then
10273 result=$wxUSE_RIBBON
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10277 $as_echo "$result" >&6; }
10281 defaultval=$wxUSE_ALL_FEATURES
10282 if test -z "$defaultval"; then
10283 if test x"$enablestring" = xdisable; then
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10291 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10292 # Check whether --enable-stc was given.
10293 if test "${enable_stc+set}" = set; then :
10294 enableval=$enable_stc;
10295 if test "$enableval" = yes; then
10296 wx_cv_use_stc='wxUSE_STC
=yes'
10298 wx_cv_use_stc='wxUSE_STC
=no
'
10303 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
10308 eval "$wx_cv_use_stc"
10310 if test x"$enablestring" = xdisable; then
10311 if test $wxUSE_STC = no; then
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10321 $as_echo "$result" >&6; }
10325 defaultval=$wxUSE_ALL_FEATURES
10326 if test -z "$defaultval"; then
10327 if test x"$enablestring" = xdisable; then
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-constraints" >&5
10335 $as_echo_n "checking
for --${enablestring:-enable}-constraints...
" >&6; }
10336 # Check whether --enable-constraints was given.
10337 if test "${enable_constraints+set}" = set; then :
10338 enableval=$enable_constraints;
10339 if test "$enableval" = yes; then
10340 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10342 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10347 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10352 eval "$wx_cv_use_constraints"
10354 if test x
"$enablestring" = xdisable
; then
10355 if test $wxUSE_CONSTRAINTS = no
; then
10361 result
=$wxUSE_CONSTRAINTS
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10365 $as_echo "$result" >&6; }
10369 defaultval
=$wxUSE_ALL_FEATURES
10370 if test -z "$defaultval"; then
10371 if test x
"$enablestring" = xdisable
; then
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10379 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10380 # Check whether --enable-loggui was given.
10381 if test "${enable_loggui+set}" = set; then :
10382 enableval
=$enable_loggui;
10383 if test "$enableval" = yes; then
10384 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10386 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10391 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10396 eval "$wx_cv_use_loggui"
10398 if test x"$enablestring" = xdisable; then
10399 if test $wxUSE_LOGGUI = no; then
10405 result=$wxUSE_LOGGUI
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10409 $as_echo "$result" >&6; }
10413 defaultval=$wxUSE_ALL_FEATURES
10414 if test -z "$defaultval"; then
10415 if test x"$enablestring" = xdisable; then
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10423 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10424 # Check whether --enable-logwin was given.
10425 if test "${enable_logwin+set}" = set; then :
10426 enableval=$enable_logwin;
10427 if test "$enableval" = yes; then
10428 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10430 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10435 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10440 eval "$wx_cv_use_logwin"
10442 if test x"$enablestring" = xdisable; then
10443 if test $wxUSE_LOGWINDOW = no; then
10449 result=$wxUSE_LOGWINDOW
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10453 $as_echo "$result" >&6; }
10457 defaultval=$wxUSE_ALL_FEATURES
10458 if test -z "$defaultval"; then
10459 if test x"$enablestring" = xdisable; then
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-logdialog" >&5
10467 $as_echo_n "checking
for --${enablestring:-enable}-logdialog...
" >&6; }
10468 # Check whether --enable-logdialog was given.
10469 if test "${enable_logdialog+set}" = set; then :
10470 enableval=$enable_logdialog;
10471 if test "$enableval" = yes; then
10472 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10474 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10479 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10484 eval "$wx_cv_use_logdialog"
10486 if test x
"$enablestring" = xdisable
; then
10487 if test $wxUSE_LOGDIALOG = no
; then
10493 result
=$wxUSE_LOGDIALOG
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10497 $as_echo "$result" >&6; }
10501 defaultval
=$wxUSE_ALL_FEATURES
10502 if test -z "$defaultval"; then
10503 if test x
"$enablestring" = xdisable
; then
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10511 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10512 # Check whether --enable-mdi was given.
10513 if test "${enable_mdi+set}" = set; then :
10514 enableval
=$enable_mdi;
10515 if test "$enableval" = yes; then
10516 wx_cv_use_mdi
='wxUSE_MDI=yes'
10518 wx_cv_use_mdi
='wxUSE_MDI=no'
10523 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10528 eval "$wx_cv_use_mdi"
10530 if test x"$enablestring" = xdisable; then
10531 if test $wxUSE_MDI = no; then
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10541 $as_echo "$result" >&6; }
10545 defaultval=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x"$enablestring" = xdisable; then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10555 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10556 # Check whether --enable-mdidoc was given.
10557 if test "${enable_mdidoc+set}" = set; then :
10558 enableval=$enable_mdidoc;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
10562 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
10567 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10572 eval "$wx_cv_use_mdidoc"
10574 if test x"$enablestring" = xdisable; then
10575 if test $wxUSE_MDI_ARCHITECTURE = no; then
10581 result=$wxUSE_MDI_ARCHITECTURE
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10585 $as_echo "$result" >&6; }
10589 defaultval=$wxUSE_ALL_FEATURES
10590 if test -z "$defaultval"; then
10591 if test x"$enablestring" = xdisable; then
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mediactrl" >&5
10599 $as_echo_n "checking
for --${enablestring:-enable}-mediactrl...
" >&6; }
10600 # Check whether --enable-mediactrl was given.
10601 if test "${enable_mediactrl+set}" = set; then :
10602 enableval=$enable_mediactrl;
10603 if test "$enableval" = yes; then
10604 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10606 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10611 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10616 eval "$wx_cv_use_mediactrl"
10618 if test x
"$enablestring" = xdisable
; then
10619 if test $wxUSE_MEDIACTRL = no
; then
10625 result
=$wxUSE_MEDIACTRL
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10629 $as_echo "$result" >&6; }
10633 defaultval
=$wxUSE_ALL_FEATURES
10634 if test -z "$defaultval"; then
10635 if test x
"$enablestring" = xdisable
; then
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10643 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10644 # Check whether --enable-gstreamer8 was given.
10645 if test "${enable_gstreamer8+set}" = set; then :
10646 enableval
=$enable_gstreamer8;
10647 if test "$enableval" = yes; then
10648 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
10650 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
10655 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10660 eval "$wx_cv_use_gstreamer8"
10662 if test x"$enablestring" = xdisable; then
10663 if test $wxUSE_GSTREAMER8 = no; then
10669 result=$wxUSE_GSTREAMER8
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10673 $as_echo "$result" >&6; }
10677 defaultval=$wxUSE_ALL_FEATURES
10678 if test -z "$defaultval"; then
10679 if test x"$enablestring" = xdisable; then
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10687 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10688 # Check whether --enable-richtext was given.
10689 if test "${enable_richtext+set}" = set; then :
10690 enableval=$enable_richtext;
10691 if test "$enableval" = yes; then
10692 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10694 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10699 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10704 eval "$wx_cv_use_richtext"
10706 if test x"$enablestring" = xdisable; then
10707 if test $wxUSE_RICHTEXT = no; then
10713 result=$wxUSE_RICHTEXT
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10717 $as_echo "$result" >&6; }
10721 defaultval=$wxUSE_ALL_FEATURES
10722 if test -z "$defaultval"; then
10723 if test x"$enablestring" = xdisable; then
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-postscript" >&5
10731 $as_echo_n "checking
for --${enablestring:-enable}-postscript...
" >&6; }
10732 # Check whether --enable-postscript was given.
10733 if test "${enable_postscript+set}" = set; then :
10734 enableval=$enable_postscript;
10735 if test "$enableval" = yes; then
10736 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10738 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10743 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10748 eval "$wx_cv_use_postscript"
10750 if test x
"$enablestring" = xdisable
; then
10751 if test $wxUSE_POSTSCRIPT = no
; then
10757 result
=$wxUSE_POSTSCRIPT
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10761 $as_echo "$result" >&6; }
10765 defaultval
=$wxUSE_ALL_FEATURES
10766 if test -z "$defaultval"; then
10767 if test x
"$enablestring" = xdisable
; then
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10775 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10776 # Check whether --enable-printarch was given.
10777 if test "${enable_printarch+set}" = set; then :
10778 enableval
=$enable_printarch;
10779 if test "$enableval" = yes; then
10780 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
10782 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
10787 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10792 eval "$wx_cv_use_printarch"
10794 if test x"$enablestring" = xdisable; then
10795 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10801 result=$wxUSE_PRINTING_ARCHITECTURE
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10805 $as_echo "$result" >&6; }
10809 defaultval=$wxUSE_ALL_FEATURES
10810 if test -z "$defaultval"; then
10811 if test x"$enablestring" = xdisable; then
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10819 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10820 # Check whether --enable-svg was given.
10821 if test "${enable_svg+set}" = set; then :
10822 enableval=$enable_svg;
10823 if test "$enableval" = yes; then
10824 wx_cv_use_svg='wxUSE_SVG
=yes'
10826 wx_cv_use_svg='wxUSE_SVG
=no
'
10831 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10836 eval "$wx_cv_use_svg"
10838 if test x"$enablestring" = xdisable; then
10839 if test $wxUSE_SVG = no; then
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10849 $as_echo "$result" >&6; }
10853 defaultval=$wxUSE_ALL_FEATURES
10854 if test -z "$defaultval"; then
10855 if test x"$enablestring" = xdisable; then
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webkit" >&5
10863 $as_echo_n "checking
for --${enablestring:-enable}-webkit...
" >&6; }
10864 # Check whether --enable-webkit was given.
10865 if test "${enable_webkit+set}" = set; then :
10866 enableval=$enable_webkit;
10867 if test "$enableval" = yes; then
10868 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10870 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10875 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10880 eval "$wx_cv_use_webkit"
10882 if test x
"$enablestring" = xdisable
; then
10883 if test $wxUSE_WEBKIT = no
; then
10889 result
=$wxUSE_WEBKIT
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10893 $as_echo "$result" >&6; }
10897 defaultval
=$wxUSE_ALL_FEATURES
10898 if test -z "$defaultval"; then
10899 if test x
"$enablestring" = xdisable
; then
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10907 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10908 # Check whether --enable-webview was given.
10909 if test "${enable_webview+set}" = set; then :
10910 enableval
=$enable_webview;
10911 if test "$enableval" = yes; then
10912 wx_cv_use_webview
='wxUSE_WEBVIEW=yes'
10914 wx_cv_use_webview
='wxUSE_WEBVIEW=no'
10919 wx_cv_use_webview
='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10924 eval "$wx_cv_use_webview"
10926 if test x"$enablestring" = xdisable; then
10927 if test $wxUSE_WEBVIEW = no; then
10933 result=$wxUSE_WEBVIEW
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10937 $as_echo "$result" >&6; }
10940 if test "$wxUSE_MAC" != 1; then
10943 defaultval=$wxUSE_ALL_FEATURES
10944 if test -z "$defaultval"; then
10945 if test x"$enablestring" = xdisable; then
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10953 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10954 # Check whether --enable-graphics_ctx was given.
10955 if test "${enable_graphics_ctx+set}" = set; then :
10956 enableval=$enable_graphics_ctx;
10957 if test "$enableval" = yes; then
10958 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
10960 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
10965 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10970 eval "$wx_cv_use_graphics_ctx"
10972 if test x"$enablestring" = xdisable; then
10973 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10979 result=$wxUSE_GRAPHICS_CONTEXT
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10983 $as_echo "$result" >&6; }
10990 defaultval=$wxUSE_ALL_FEATURES
10991 if test -z "$defaultval"; then
10992 if test x"$enablestring" = xdisable; then
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-clipboard" >&5
11000 $as_echo_n "checking
for --${enablestring:-enable}-clipboard...
" >&6; }
11001 # Check whether --enable-clipboard was given.
11002 if test "${enable_clipboard+set}" = set; then :
11003 enableval=$enable_clipboard;
11004 if test "$enableval" = yes; then
11005 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
11007 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
11012 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
11017 eval "$wx_cv_use_clipboard"
11019 if test x
"$enablestring" = xdisable
; then
11020 if test $wxUSE_CLIPBOARD = no
; then
11026 result
=$wxUSE_CLIPBOARD
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11030 $as_echo "$result" >&6; }
11034 defaultval
=$wxUSE_ALL_FEATURES
11035 if test -z "$defaultval"; then
11036 if test x
"$enablestring" = xdisable
; then
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
11044 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
11045 # Check whether --enable-dnd was given.
11046 if test "${enable_dnd+set}" = set; then :
11047 enableval
=$enable_dnd;
11048 if test "$enableval" = yes; then
11049 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
11051 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
11056 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11061 eval "$wx_cv_use_dnd"
11063 if test x"$enablestring" = xdisable; then
11064 if test $wxUSE_DRAG_AND_DROP = no; then
11070 result=$wxUSE_DRAG_AND_DROP
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11074 $as_echo "$result" >&6; }
11078 DEFAULT_wxUSE_CONTROLS=none
11080 enablestring=disable
11082 if test -z "$defaultval"; then
11083 if test x"$enablestring" = xdisable; then
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11091 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11092 # Check whether --enable-controls was given.
11093 if test "${enable_controls+set}" = set; then :
11094 enableval=$enable_controls;
11095 if test "$enableval" = yes; then
11096 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
11098 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
11103 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11108 eval "$wx_cv_use_controls"
11110 if test x"$enablestring" = xdisable; then
11111 if test $wxUSE_CONTROLS = no; then
11117 result=$wxUSE_CONTROLS
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11121 $as_echo "$result" >&6; }
11124 if test "$wxUSE_CONTROLS" = "no
"; then
11125 DEFAULT_wxUSE_ACCEL=no
11126 DEFAULT_wxUSE_ANIMATIONCTRL=no
11127 DEFAULT_wxUSE_BANNERWINDOW=no
11128 DEFAULT_wxUSE_BMPBUTTON=no
11129 DEFAULT_wxUSE_BUTTON=no
11130 DEFAULT_wxUSE_CALCTRL=no
11131 DEFAULT_wxUSE_CARET=no
11132 DEFAULT_wxUSE_CHECKBOX=no
11133 DEFAULT_wxUSE_CHECKLISTBOX=no
11134 DEFAULT_wxUSE_CHOICE=no
11135 DEFAULT_wxUSE_CHOICEBOOK=no
11136 DEFAULT_wxUSE_COLLPANE=no
11137 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11138 DEFAULT_wxUSE_COMBOBOX=no
11139 DEFAULT_wxUSE_COMBOBOX=no
11140 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11141 DEFAULT_wxUSE_DATAVIEWCTRL=no
11142 DEFAULT_wxUSE_DATEPICKCTRL=no
11143 DEFAULT_wxUSE_DETECT_SM=no
11144 DEFAULT_wxUSE_DIRPICKERCTRL=no
11145 DEFAULT_wxUSE_DISPLAY=no
11146 DEFAULT_wxUSE_FILECTRL=no
11147 DEFAULT_wxUSE_FILEPICKERCTRL=no
11148 DEFAULT_wxUSE_FONTPICKERCTRL=no
11149 DEFAULT_wxUSE_GAUGE=no
11150 DEFAULT_wxUSE_GRID=no
11151 DEFAULT_wxUSE_HEADERCTRL=no
11152 DEFAULT_wxUSE_HYPERLINKCTRL=no
11153 DEFAULT_wxUSE_IMAGLIST=no
11154 DEFAULT_wxUSE_LISTBOOK=no
11155 DEFAULT_wxUSE_LISTBOX=no
11156 DEFAULT_wxUSE_LISTCTRL=no
11157 DEFAULT_wxUSE_MARKUP=no
11158 DEFAULT_wxUSE_NOTEBOOK=no
11159 DEFAULT_wxUSE_POPUPWIN=no
11160 DEFAULT_wxUSE_RADIOBOX=no
11161 DEFAULT_wxUSE_RADIOBTN=no
11162 DEFAULT_wxUSE_RICHMSGDLG=no
11163 DEFAULT_wxUSE_RICHTOOLTIP=no
11164 DEFAULT_wxUSE_REARRANGECTRL=no
11165 DEFAULT_wxUSE_SASH=no
11166 DEFAULT_wxUSE_SCROLLBAR=no
11167 DEFAULT_wxUSE_SEARCHCTRL=no
11168 DEFAULT_wxUSE_SLIDER=no
11169 DEFAULT_wxUSE_SPINBTN=no
11170 DEFAULT_wxUSE_SPINCTRL=no
11171 DEFAULT_wxUSE_SPLITTER=no
11172 DEFAULT_wxUSE_STATBMP=no
11173 DEFAULT_wxUSE_STATBOX=no
11174 DEFAULT_wxUSE_STATLINE=no
11175 DEFAULT_wxUSE_STATUSBAR=no
11176 DEFAULT_wxUSE_TIMEPICKCTRL=no
11177 DEFAULT_wxUSE_TIPWINDOW=no
11178 DEFAULT_wxUSE_TOGGLEBTN=no
11179 DEFAULT_wxUSE_TOOLBAR=no
11180 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11181 DEFAULT_wxUSE_TOOLBOOK=no
11182 DEFAULT_wxUSE_TOOLTIPS=no
11183 DEFAULT_wxUSE_TREEBOOK=no
11184 DEFAULT_wxUSE_TREECTRL=no
11185 DEFAULT_wxUSE_TREELISTCTRL=no
11190 defaultval=$wxUSE_ALL_FEATURES
11191 if test -z "$defaultval"; then
11192 if test x"$enablestring" = xdisable; then
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-markup" >&5
11200 $as_echo_n "checking
for --${enablestring:-enable}-markup...
" >&6; }
11201 # Check whether --enable-markup was given.
11202 if test "${enable_markup+set}" = set; then :
11203 enableval=$enable_markup;
11204 if test "$enableval" = yes; then
11205 wx_cv_use_markup='wxUSE_MARKUP=yes'
11207 wx_cv_use_markup='wxUSE_MARKUP=no'
11212 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11217 eval "$wx_cv_use_markup"
11219 if test x
"$enablestring" = xdisable
; then
11220 if test $wxUSE_MARKUP = no
; then
11226 result
=$wxUSE_MARKUP
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11230 $as_echo "$result" >&6; }
11235 defaultval
=$wxUSE_ALL_FEATURES
11236 if test -z "$defaultval"; then
11237 if test x
"$enablestring" = xdisable
; then
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11245 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11246 # Check whether --enable-accel was given.
11247 if test "${enable_accel+set}" = set; then :
11248 enableval
=$enable_accel;
11249 if test "$enableval" = yes; then
11250 wx_cv_use_accel
='wxUSE_ACCEL=yes'
11252 wx_cv_use_accel
='wxUSE_ACCEL=no'
11257 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11262 eval "$wx_cv_use_accel"
11264 if test x"$enablestring" = xdisable; then
11265 if test $wxUSE_ACCEL = no; then
11271 result=$wxUSE_ACCEL
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11275 $as_echo "$result" >&6; }
11279 defaultval=$wxUSE_ALL_FEATURES
11280 if test -z "$defaultval"; then
11281 if test x"$enablestring" = xdisable; then
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11289 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11290 # Check whether --enable-animatectrl was given.
11291 if test "${enable_animatectrl+set}" = set; then :
11292 enableval=$enable_animatectrl;
11293 if test "$enableval" = yes; then
11294 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11296 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11301 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11306 eval "$wx_cv_use_animatectrl"
11308 if test x"$enablestring" = xdisable; then
11309 if test $wxUSE_ANIMATIONCTRL = no; then
11315 result=$wxUSE_ANIMATIONCTRL
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11319 $as_echo "$result" >&6; }
11323 defaultval=$wxUSE_ALL_FEATURES
11324 if test -z "$defaultval"; then
11325 if test x"$enablestring" = xdisable; then
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bannerwindow" >&5
11333 $as_echo_n "checking
for --${enablestring:-enable}-bannerwindow...
" >&6; }
11334 # Check whether --enable-bannerwindow was given.
11335 if test "${enable_bannerwindow+set}" = set; then :
11336 enableval=$enable_bannerwindow;
11337 if test "$enableval" = yes; then
11338 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11340 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11345 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11350 eval "$wx_cv_use_bannerwindow"
11352 if test x
"$enablestring" = xdisable
; then
11353 if test $wxUSE_BANNERWINDOW = no
; then
11359 result
=$wxUSE_BANNERWINDOW
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11363 $as_echo "$result" >&6; }
11367 defaultval
=$wxUSE_ALL_FEATURES
11368 if test -z "$defaultval"; then
11369 if test x
"$enablestring" = xdisable
; then
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11377 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11378 # Check whether --enable-artstd was given.
11379 if test "${enable_artstd+set}" = set; then :
11380 enableval
=$enable_artstd;
11381 if test "$enableval" = yes; then
11382 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=yes'
11384 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=no'
11389 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11394 eval "$wx_cv_use_artstd"
11396 if test x"$enablestring" = xdisable; then
11397 if test $wxUSE_ARTPROVIDER_STD = no; then
11403 result=$wxUSE_ARTPROVIDER_STD
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11407 $as_echo "$result" >&6; }
11411 defaultval=$wxUSE_ALL_FEATURES
11412 if test -z "$defaultval"; then
11413 if test x"$enablestring" = xdisable; then
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11421 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11422 # Check whether --enable-arttango was given.
11423 if test "${enable_arttango+set}" = set; then :
11424 enableval=$enable_arttango;
11425 if test "$enableval" = yes; then
11426 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=yes'
11428 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=no
'
11433 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11438 eval "$wx_cv_use_arttango"
11440 if test x"$enablestring" = xdisable; then
11441 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11447 result=$wxUSE_ARTPROVIDER_TANGO
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11451 $as_echo "$result" >&6; }
11455 defaultval=$wxUSE_ALL_FEATURES
11456 if test -z "$defaultval"; then
11457 if test x"$enablestring" = xdisable; then
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bmpbutton" >&5
11465 $as_echo_n "checking
for --${enablestring:-enable}-bmpbutton...
" >&6; }
11466 # Check whether --enable-bmpbutton was given.
11467 if test "${enable_bmpbutton+set}" = set; then :
11468 enableval=$enable_bmpbutton;
11469 if test "$enableval" = yes; then
11470 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11472 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11477 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11482 eval "$wx_cv_use_bmpbutton"
11484 if test x
"$enablestring" = xdisable
; then
11485 if test $wxUSE_BMPBUTTON = no
; then
11491 result
=$wxUSE_BMPBUTTON
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11495 $as_echo "$result" >&6; }
11499 defaultval
=$wxUSE_ALL_FEATURES
11500 if test -z "$defaultval"; then
11501 if test x
"$enablestring" = xdisable
; then
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11509 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11510 # Check whether --enable-bmpcombobox was given.
11511 if test "${enable_bmpcombobox+set}" = set; then :
11512 enableval
=$enable_bmpcombobox;
11513 if test "$enableval" = yes; then
11514 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
11516 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
11521 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11526 eval "$wx_cv_use_bmpcombobox"
11528 if test x"$enablestring" = xdisable; then
11529 if test $wxUSE_BITMAPCOMBOBOX = no; then
11535 result=$wxUSE_BITMAPCOMBOBOX
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11539 $as_echo "$result" >&6; }
11543 defaultval=$wxUSE_ALL_FEATURES
11544 if test -z "$defaultval"; then
11545 if test x"$enablestring" = xdisable; then
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11553 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11554 # Check whether --enable-button was given.
11555 if test "${enable_button+set}" = set; then :
11556 enableval=$enable_button;
11557 if test "$enableval" = yes; then
11558 wx_cv_use_button='wxUSE_BUTTON
=yes'
11560 wx_cv_use_button='wxUSE_BUTTON
=no
'
11565 wx_cv_use_button='wxUSE_BUTTON
=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11570 eval "$wx_cv_use_button"
11572 if test x"$enablestring" = xdisable; then
11573 if test $wxUSE_BUTTON = no; then
11579 result=$wxUSE_BUTTON
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11583 $as_echo "$result" >&6; }
11587 defaultval=$wxUSE_ALL_FEATURES
11588 if test -z "$defaultval"; then
11589 if test x"$enablestring" = xdisable; then
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-calendar" >&5
11597 $as_echo_n "checking
for --${enablestring:-enable}-calendar...
" >&6; }
11598 # Check whether --enable-calendar was given.
11599 if test "${enable_calendar+set}" = set; then :
11600 enableval=$enable_calendar;
11601 if test "$enableval" = yes; then
11602 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11604 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11609 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11614 eval "$wx_cv_use_calendar"
11616 if test x
"$enablestring" = xdisable
; then
11617 if test $wxUSE_CALCTRL = no
; then
11623 result
=$wxUSE_CALCTRL
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11627 $as_echo "$result" >&6; }
11631 defaultval
=$wxUSE_ALL_FEATURES
11632 if test -z "$defaultval"; then
11633 if test x
"$enablestring" = xdisable
; then
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11641 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11642 # Check whether --enable-caret was given.
11643 if test "${enable_caret+set}" = set; then :
11644 enableval
=$enable_caret;
11645 if test "$enableval" = yes; then
11646 wx_cv_use_caret
='wxUSE_CARET=yes'
11648 wx_cv_use_caret
='wxUSE_CARET=no'
11653 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11658 eval "$wx_cv_use_caret"
11660 if test x"$enablestring" = xdisable; then
11661 if test $wxUSE_CARET = no; then
11667 result=$wxUSE_CARET
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11671 $as_echo "$result" >&6; }
11675 defaultval=$wxUSE_ALL_FEATURES
11676 if test -z "$defaultval"; then
11677 if test x"$enablestring" = xdisable; then
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11685 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11686 # Check whether --enable-checkbox was given.
11687 if test "${enable_checkbox+set}" = set; then :
11688 enableval=$enable_checkbox;
11689 if test "$enableval" = yes; then
11690 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11692 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11697 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11702 eval "$wx_cv_use_checkbox"
11704 if test x"$enablestring" = xdisable; then
11705 if test $wxUSE_CHECKBOX = no; then
11711 result=$wxUSE_CHECKBOX
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11715 $as_echo "$result" >&6; }
11719 defaultval=$wxUSE_ALL_FEATURES
11720 if test -z "$defaultval"; then
11721 if test x"$enablestring" = xdisable; then
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-checklst" >&5
11729 $as_echo_n "checking
for --${enablestring:-enable}-checklst...
" >&6; }
11730 # Check whether --enable-checklst was given.
11731 if test "${enable_checklst+set}" = set; then :
11732 enableval=$enable_checklst;
11733 if test "$enableval" = yes; then
11734 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11736 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11741 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11746 eval "$wx_cv_use_checklst"
11748 if test x
"$enablestring" = xdisable
; then
11749 if test $wxUSE_CHECKLST = no
; then
11755 result
=$wxUSE_CHECKLST
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11759 $as_echo "$result" >&6; }
11763 defaultval
=$wxUSE_ALL_FEATURES
11764 if test -z "$defaultval"; then
11765 if test x
"$enablestring" = xdisable
; then
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11773 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11774 # Check whether --enable-choice was given.
11775 if test "${enable_choice+set}" = set; then :
11776 enableval
=$enable_choice;
11777 if test "$enableval" = yes; then
11778 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11780 wx_cv_use_choice
='wxUSE_CHOICE=no'
11785 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11790 eval "$wx_cv_use_choice"
11792 if test x"$enablestring" = xdisable; then
11793 if test $wxUSE_CHOICE = no; then
11799 result=$wxUSE_CHOICE
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11803 $as_echo "$result" >&6; }
11807 defaultval=$wxUSE_ALL_FEATURES
11808 if test -z "$defaultval"; then
11809 if test x"$enablestring" = xdisable; then
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11817 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11818 # Check whether --enable-choicebook was given.
11819 if test "${enable_choicebook+set}" = set; then :
11820 enableval=$enable_choicebook;
11821 if test "$enableval" = yes; then
11822 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11824 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11829 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11834 eval "$wx_cv_use_choicebook"
11836 if test x"$enablestring" = xdisable; then
11837 if test $wxUSE_CHOICEBOOK = no; then
11843 result=$wxUSE_CHOICEBOOK
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11847 $as_echo "$result" >&6; }
11851 defaultval=$wxUSE_ALL_FEATURES
11852 if test -z "$defaultval"; then
11853 if test x"$enablestring" = xdisable; then
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-collpane" >&5
11861 $as_echo_n "checking
for --${enablestring:-enable}-collpane...
" >&6; }
11862 # Check whether --enable-collpane was given.
11863 if test "${enable_collpane+set}" = set; then :
11864 enableval=$enable_collpane;
11865 if test "$enableval" = yes; then
11866 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11868 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11873 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11878 eval "$wx_cv_use_collpane"
11880 if test x
"$enablestring" = xdisable
; then
11881 if test $wxUSE_COLLPANE = no
; then
11887 result
=$wxUSE_COLLPANE
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11891 $as_echo "$result" >&6; }
11895 defaultval
=$wxUSE_ALL_FEATURES
11896 if test -z "$defaultval"; then
11897 if test x
"$enablestring" = xdisable
; then
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11905 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11906 # Check whether --enable-colourpicker was given.
11907 if test "${enable_colourpicker+set}" = set; then :
11908 enableval
=$enable_colourpicker;
11909 if test "$enableval" = yes; then
11910 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11912 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11917 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11922 eval "$wx_cv_use_colourpicker"
11924 if test x"$enablestring" = xdisable; then
11925 if test $wxUSE_COLOURPICKERCTRL = no; then
11931 result=$wxUSE_COLOURPICKERCTRL
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11935 $as_echo "$result" >&6; }
11939 defaultval=$wxUSE_ALL_FEATURES
11940 if test -z "$defaultval"; then
11941 if test x"$enablestring" = xdisable; then
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11949 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11950 # Check whether --enable-combobox was given.
11951 if test "${enable_combobox+set}" = set; then :
11952 enableval=$enable_combobox;
11953 if test "$enableval" = yes; then
11954 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11956 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11961 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11966 eval "$wx_cv_use_combobox"
11968 if test x"$enablestring" = xdisable; then
11969 if test $wxUSE_COMBOBOX = no; then
11975 result=$wxUSE_COMBOBOX
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11979 $as_echo "$result" >&6; }
11983 defaultval=$wxUSE_ALL_FEATURES
11984 if test -z "$defaultval"; then
11985 if test x"$enablestring" = xdisable; then
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-comboctrl" >&5
11993 $as_echo_n "checking
for --${enablestring:-enable}-comboctrl...
" >&6; }
11994 # Check whether --enable-comboctrl was given.
11995 if test "${enable_comboctrl+set}" = set; then :
11996 enableval=$enable_comboctrl;
11997 if test "$enableval" = yes; then
11998 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
12000 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
12005 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
12010 eval "$wx_cv_use_comboctrl"
12012 if test x
"$enablestring" = xdisable
; then
12013 if test $wxUSE_COMBOCTRL = no
; then
12019 result
=$wxUSE_COMBOCTRL
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12023 $as_echo "$result" >&6; }
12027 defaultval
=$wxUSE_ALL_FEATURES
12028 if test -z "$defaultval"; then
12029 if test x
"$enablestring" = xdisable
; then
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
12037 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
12038 # Check whether --enable-commandlinkbutton was given.
12039 if test "${enable_commandlinkbutton+set}" = set; then :
12040 enableval
=$enable_commandlinkbutton;
12041 if test "$enableval" = yes; then
12042 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=yes'
12044 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=no'
12049 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
12054 eval "$wx_cv_use_commandlinkbutton"
12056 if test x"$enablestring" = xdisable; then
12057 if test $wxUSE_COMMANDLINKBUTTON = no; then
12063 result=$wxUSE_COMMANDLINKBUTTON
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12067 $as_echo "$result" >&6; }
12071 defaultval=$wxUSE_ALL_FEATURES
12072 if test -z "$defaultval"; then
12073 if test x"$enablestring" = xdisable; then
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12081 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12082 # Check whether --enable-dataviewctrl was given.
12083 if test "${enable_dataviewctrl+set}" = set; then :
12084 enableval=$enable_dataviewctrl;
12085 if test "$enableval" = yes; then
12086 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
12088 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
12093 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12098 eval "$wx_cv_use_dataviewctrl"
12100 if test x"$enablestring" = xdisable; then
12101 if test $wxUSE_DATAVIEWCTRL = no; then
12107 result=$wxUSE_DATAVIEWCTRL
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12111 $as_echo "$result" >&6; }
12115 defaultval=$wxUSE_ALL_FEATURES
12116 if test -z "$defaultval"; then
12117 if test x"$enablestring" = xdisable; then
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datepick" >&5
12125 $as_echo_n "checking
for --${enablestring:-enable}-datepick...
" >&6; }
12126 # Check whether --enable-datepick was given.
12127 if test "${enable_datepick+set}" = set; then :
12128 enableval=$enable_datepick;
12129 if test "$enableval" = yes; then
12130 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12132 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12137 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12142 eval "$wx_cv_use_datepick"
12144 if test x
"$enablestring" = xdisable
; then
12145 if test $wxUSE_DATEPICKCTRL = no
; then
12151 result
=$wxUSE_DATEPICKCTRL
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12155 $as_echo "$result" >&6; }
12159 defaultval
=$wxUSE_ALL_FEATURES
12160 if test -z "$defaultval"; then
12161 if test x
"$enablestring" = xdisable
; then
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12169 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12170 # Check whether --enable-detect_sm was given.
12171 if test "${enable_detect_sm+set}" = set; then :
12172 enableval
=$enable_detect_sm;
12173 if test "$enableval" = yes; then
12174 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
12176 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
12181 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12186 eval "$wx_cv_use_detect_sm"
12188 if test x"$enablestring" = xdisable; then
12189 if test $wxUSE_DETECT_SM = no; then
12195 result=$wxUSE_DETECT_SM
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12199 $as_echo "$result" >&6; }
12203 defaultval=$wxUSE_ALL_FEATURES
12204 if test -z "$defaultval"; then
12205 if test x"$enablestring" = xdisable; then
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12213 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12214 # Check whether --enable-dirpicker was given.
12215 if test "${enable_dirpicker+set}" = set; then :
12216 enableval=$enable_dirpicker;
12217 if test "$enableval" = yes; then
12218 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
12220 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
12225 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12230 eval "$wx_cv_use_dirpicker"
12232 if test x"$enablestring" = xdisable; then
12233 if test $wxUSE_DIRPICKERCTRL = no; then
12239 result=$wxUSE_DIRPICKERCTRL
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12243 $as_echo "$result" >&6; }
12247 defaultval=$wxUSE_ALL_FEATURES
12248 if test -z "$defaultval"; then
12249 if test x"$enablestring" = xdisable; then
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-display" >&5
12257 $as_echo_n "checking
for --${enablestring:-enable}-display...
" >&6; }
12258 # Check whether --enable-display was given.
12259 if test "${enable_display+set}" = set; then :
12260 enableval=$enable_display;
12261 if test "$enableval" = yes; then
12262 wx_cv_use_display='wxUSE_DISPLAY=yes'
12264 wx_cv_use_display='wxUSE_DISPLAY=no'
12269 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12274 eval "$wx_cv_use_display"
12276 if test x
"$enablestring" = xdisable
; then
12277 if test $wxUSE_DISPLAY = no
; then
12283 result
=$wxUSE_DISPLAY
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12287 $as_echo "$result" >&6; }
12291 defaultval
=$wxUSE_ALL_FEATURES
12292 if test -z "$defaultval"; then
12293 if test x
"$enablestring" = xdisable
; then
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12301 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12302 # Check whether --enable-editablebox was given.
12303 if test "${enable_editablebox+set}" = set; then :
12304 enableval
=$enable_editablebox;
12305 if test "$enableval" = yes; then
12306 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
12308 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
12313 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12318 eval "$wx_cv_use_editablebox"
12320 if test x"$enablestring" = xdisable; then
12321 if test $wxUSE_EDITABLELISTBOX = no; then
12327 result=$wxUSE_EDITABLELISTBOX
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12331 $as_echo "$result" >&6; }
12335 defaultval=$wxUSE_ALL_FEATURES
12336 if test -z "$defaultval"; then
12337 if test x"$enablestring" = xdisable; then
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12345 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12346 # Check whether --enable-filectrl was given.
12347 if test "${enable_filectrl+set}" = set; then :
12348 enableval=$enable_filectrl;
12349 if test "$enableval" = yes; then
12350 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
12352 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
12357 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12362 eval "$wx_cv_use_filectrl"
12364 if test x"$enablestring" = xdisable; then
12365 if test $wxUSE_FILECTRL = no; then
12371 result=$wxUSE_FILECTRL
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12375 $as_echo "$result" >&6; }
12379 defaultval=$wxUSE_ALL_FEATURES
12380 if test -z "$defaultval"; then
12381 if test x"$enablestring" = xdisable; then
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filepicker" >&5
12389 $as_echo_n "checking
for --${enablestring:-enable}-filepicker...
" >&6; }
12390 # Check whether --enable-filepicker was given.
12391 if test "${enable_filepicker+set}" = set; then :
12392 enableval=$enable_filepicker;
12393 if test "$enableval" = yes; then
12394 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12396 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12401 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12406 eval "$wx_cv_use_filepicker"
12408 if test x
"$enablestring" = xdisable
; then
12409 if test $wxUSE_FILEPICKERCTRL = no
; then
12415 result
=$wxUSE_FILEPICKERCTRL
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12419 $as_echo "$result" >&6; }
12423 defaultval
=$wxUSE_ALL_FEATURES
12424 if test -z "$defaultval"; then
12425 if test x
"$enablestring" = xdisable
; then
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12433 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12434 # Check whether --enable-fontpicker was given.
12435 if test "${enable_fontpicker+set}" = set; then :
12436 enableval
=$enable_fontpicker;
12437 if test "$enableval" = yes; then
12438 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
12440 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
12445 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12450 eval "$wx_cv_use_fontpicker"
12452 if test x"$enablestring" = xdisable; then
12453 if test $wxUSE_FONTPICKERCTRL = no; then
12459 result=$wxUSE_FONTPICKERCTRL
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12463 $as_echo "$result" >&6; }
12467 defaultval=$wxUSE_ALL_FEATURES
12468 if test -z "$defaultval"; then
12469 if test x"$enablestring" = xdisable; then
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12477 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12478 # Check whether --enable-gauge was given.
12479 if test "${enable_gauge+set}" = set; then :
12480 enableval=$enable_gauge;
12481 if test "$enableval" = yes; then
12482 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
12484 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
12489 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12494 eval "$wx_cv_use_gauge"
12496 if test x"$enablestring" = xdisable; then
12497 if test $wxUSE_GAUGE = no; then
12503 result=$wxUSE_GAUGE
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12507 $as_echo "$result" >&6; }
12511 defaultval=$wxUSE_ALL_FEATURES
12512 if test -z "$defaultval"; then
12513 if test x"$enablestring" = xdisable; then
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-grid" >&5
12521 $as_echo_n "checking
for --${enablestring:-enable}-grid...
" >&6; }
12522 # Check whether --enable-grid was given.
12523 if test "${enable_grid+set}" = set; then :
12524 enableval=$enable_grid;
12525 if test "$enableval" = yes; then
12526 wx_cv_use_grid='wxUSE_GRID=yes'
12528 wx_cv_use_grid='wxUSE_GRID=no'
12533 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12538 eval "$wx_cv_use_grid"
12540 if test x
"$enablestring" = xdisable
; then
12541 if test $wxUSE_GRID = no
; then
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12551 $as_echo "$result" >&6; }
12555 defaultval
=$wxUSE_ALL_FEATURES
12556 if test -z "$defaultval"; then
12557 if test x
"$enablestring" = xdisable
; then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12565 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12566 # Check whether --enable-headerctrl was given.
12567 if test "${enable_headerctrl+set}" = set; then :
12568 enableval
=$enable_headerctrl;
12569 if test "$enableval" = yes; then
12570 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
12572 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
12577 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12582 eval "$wx_cv_use_headerctrl"
12584 if test x"$enablestring" = xdisable; then
12585 if test $wxUSE_HEADERCTRL = no; then
12591 result=$wxUSE_HEADERCTRL
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12595 $as_echo "$result" >&6; }
12599 defaultval=$wxUSE_ALL_FEATURES
12600 if test -z "$defaultval"; then
12601 if test x"$enablestring" = xdisable; then
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12609 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12610 # Check whether --enable-hyperlink was given.
12611 if test "${enable_hyperlink+set}" = set; then :
12612 enableval=$enable_hyperlink;
12613 if test "$enableval" = yes; then
12614 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
12616 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
12621 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12626 eval "$wx_cv_use_hyperlink"
12628 if test x"$enablestring" = xdisable; then
12629 if test $wxUSE_HYPERLINKCTRL = no; then
12635 result=$wxUSE_HYPERLINKCTRL
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12639 $as_echo "$result" >&6; }
12643 defaultval=$wxUSE_ALL_FEATURES
12644 if test -z "$defaultval"; then
12645 if test x"$enablestring" = xdisable; then
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-imaglist" >&5
12653 $as_echo_n "checking
for --${enablestring:-enable}-imaglist...
" >&6; }
12654 # Check whether --enable-imaglist was given.
12655 if test "${enable_imaglist+set}" = set; then :
12656 enableval=$enable_imaglist;
12657 if test "$enableval" = yes; then
12658 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12660 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12665 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12670 eval "$wx_cv_use_imaglist"
12672 if test x
"$enablestring" = xdisable
; then
12673 if test $wxUSE_IMAGLIST = no
; then
12679 result
=$wxUSE_IMAGLIST
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12683 $as_echo "$result" >&6; }
12687 defaultval
=$wxUSE_ALL_FEATURES
12688 if test -z "$defaultval"; then
12689 if test x
"$enablestring" = xdisable
; then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12697 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12698 # Check whether --enable-infobar was given.
12699 if test "${enable_infobar+set}" = set; then :
12700 enableval
=$enable_infobar;
12701 if test "$enableval" = yes; then
12702 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
12704 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
12709 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12714 eval "$wx_cv_use_infobar"
12716 if test x"$enablestring" = xdisable; then
12717 if test $wxUSE_INFOBAR = no; then
12723 result=$wxUSE_INFOBAR
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12727 $as_echo "$result" >&6; }
12731 defaultval=$wxUSE_ALL_FEATURES
12732 if test -z "$defaultval"; then
12733 if test x"$enablestring" = xdisable; then
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12741 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12742 # Check whether --enable-listbook was given.
12743 if test "${enable_listbook+set}" = set; then :
12744 enableval=$enable_listbook;
12745 if test "$enableval" = yes; then
12746 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12748 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12753 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12758 eval "$wx_cv_use_listbook"
12760 if test x"$enablestring" = xdisable; then
12761 if test $wxUSE_LISTBOOK = no; then
12767 result=$wxUSE_LISTBOOK
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12771 $as_echo "$result" >&6; }
12775 defaultval=$wxUSE_ALL_FEATURES
12776 if test -z "$defaultval"; then
12777 if test x"$enablestring" = xdisable; then
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listbox" >&5
12785 $as_echo_n "checking
for --${enablestring:-enable}-listbox...
" >&6; }
12786 # Check whether --enable-listbox was given.
12787 if test "${enable_listbox+set}" = set; then :
12788 enableval=$enable_listbox;
12789 if test "$enableval" = yes; then
12790 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12792 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12797 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12802 eval "$wx_cv_use_listbox"
12804 if test x
"$enablestring" = xdisable
; then
12805 if test $wxUSE_LISTBOX = no
; then
12811 result
=$wxUSE_LISTBOX
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12815 $as_echo "$result" >&6; }
12819 defaultval
=$wxUSE_ALL_FEATURES
12820 if test -z "$defaultval"; then
12821 if test x
"$enablestring" = xdisable
; then
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12829 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12830 # Check whether --enable-listctrl was given.
12831 if test "${enable_listctrl+set}" = set; then :
12832 enableval
=$enable_listctrl;
12833 if test "$enableval" = yes; then
12834 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12836 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12841 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12846 eval "$wx_cv_use_listctrl"
12848 if test x"$enablestring" = xdisable; then
12849 if test $wxUSE_LISTCTRL = no; then
12855 result=$wxUSE_LISTCTRL
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12859 $as_echo "$result" >&6; }
12863 defaultval=$wxUSE_ALL_FEATURES
12864 if test -z "$defaultval"; then
12865 if test x"$enablestring" = xdisable; then
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12873 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12874 # Check whether --enable-notebook was given.
12875 if test "${enable_notebook+set}" = set; then :
12876 enableval=$enable_notebook;
12877 if test "$enableval" = yes; then
12878 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12880 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12885 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12890 eval "$wx_cv_use_notebook"
12892 if test x"$enablestring" = xdisable; then
12893 if test $wxUSE_NOTEBOOK = no; then
12899 result=$wxUSE_NOTEBOOK
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12903 $as_echo "$result" >&6; }
12907 defaultval=$wxUSE_ALL_FEATURES
12908 if test -z "$defaultval"; then
12909 if test x"$enablestring" = xdisable; then
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-notifmsg" >&5
12917 $as_echo_n "checking
for --${enablestring:-enable}-notifmsg...
" >&6; }
12918 # Check whether --enable-notifmsg was given.
12919 if test "${enable_notifmsg+set}" = set; then :
12920 enableval=$enable_notifmsg;
12921 if test "$enableval" = yes; then
12922 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12924 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12929 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12934 eval "$wx_cv_use_notifmsg"
12936 if test x
"$enablestring" = xdisable
; then
12937 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
12943 result
=$wxUSE_NOTIFICATION_MESSAGE
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12947 $as_echo "$result" >&6; }
12951 defaultval
=$wxUSE_ALL_FEATURES
12952 if test -z "$defaultval"; then
12953 if test x
"$enablestring" = xdisable
; then
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12961 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12962 # Check whether --enable-odcombobox was given.
12963 if test "${enable_odcombobox+set}" = set; then :
12964 enableval
=$enable_odcombobox;
12965 if test "$enableval" = yes; then
12966 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
12968 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
12973 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12978 eval "$wx_cv_use_odcombobox"
12980 if test x"$enablestring" = xdisable; then
12981 if test $wxUSE_ODCOMBOBOX = no; then
12987 result=$wxUSE_ODCOMBOBOX
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12991 $as_echo "$result" >&6; }
12995 defaultval=$wxUSE_ALL_FEATURES
12996 if test -z "$defaultval"; then
12997 if test x"$enablestring" = xdisable; then
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
13005 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
13006 # Check whether --enable-popupwin was given.
13007 if test "${enable_popupwin+set}" = set; then :
13008 enableval=$enable_popupwin;
13009 if test "$enableval" = yes; then
13010 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
13012 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
13017 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13022 eval "$wx_cv_use_popupwin"
13024 if test x"$enablestring" = xdisable; then
13025 if test $wxUSE_POPUPWIN = no; then
13031 result=$wxUSE_POPUPWIN
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13035 $as_echo "$result" >&6; }
13039 defaultval=$wxUSE_ALL_FEATURES
13040 if test -z "$defaultval"; then
13041 if test x"$enablestring" = xdisable; then
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-radiobox" >&5
13049 $as_echo_n "checking
for --${enablestring:-enable}-radiobox...
" >&6; }
13050 # Check whether --enable-radiobox was given.
13051 if test "${enable_radiobox+set}" = set; then :
13052 enableval=$enable_radiobox;
13053 if test "$enableval" = yes; then
13054 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
13056 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
13061 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13066 eval "$wx_cv_use_radiobox"
13068 if test x
"$enablestring" = xdisable
; then
13069 if test $wxUSE_RADIOBOX = no
; then
13075 result
=$wxUSE_RADIOBOX
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13079 $as_echo "$result" >&6; }
13083 defaultval
=$wxUSE_ALL_FEATURES
13084 if test -z "$defaultval"; then
13085 if test x
"$enablestring" = xdisable
; then
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13093 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13094 # Check whether --enable-radiobtn was given.
13095 if test "${enable_radiobtn+set}" = set; then :
13096 enableval
=$enable_radiobtn;
13097 if test "$enableval" = yes; then
13098 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
13100 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
13105 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13110 eval "$wx_cv_use_radiobtn"
13112 if test x"$enablestring" = xdisable; then
13113 if test $wxUSE_RADIOBTN = no; then
13119 result=$wxUSE_RADIOBTN
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13123 $as_echo "$result" >&6; }
13127 defaultval=$wxUSE_ALL_FEATURES
13128 if test -z "$defaultval"; then
13129 if test x"$enablestring" = xdisable; then
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13137 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13138 # Check whether --enable-richmsgdlg was given.
13139 if test "${enable_richmsgdlg+set}" = set; then :
13140 enableval=$enable_richmsgdlg;
13141 if test "$enableval" = yes; then
13142 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=yes'
13144 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=no
'
13149 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13154 eval "$wx_cv_use_richmsgdlg"
13156 if test x"$enablestring" = xdisable; then
13157 if test $wxUSE_RICHMSGDLG = no; then
13163 result=$wxUSE_RICHMSGDLG
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13167 $as_echo "$result" >&6; }
13171 defaultval=$wxUSE_ALL_FEATURES
13172 if test -z "$defaultval"; then
13173 if test x"$enablestring" = xdisable; then
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-richtooltip" >&5
13181 $as_echo_n "checking
for --${enablestring:-enable}-richtooltip...
" >&6; }
13182 # Check whether --enable-richtooltip was given.
13183 if test "${enable_richtooltip+set}" = set; then :
13184 enableval=$enable_richtooltip;
13185 if test "$enableval" = yes; then
13186 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13188 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13193 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13198 eval "$wx_cv_use_richtooltip"
13200 if test x
"$enablestring" = xdisable
; then
13201 if test $wxUSE_RICHTOOLTIP = no
; then
13207 result
=$wxUSE_RICHTOOLTIP
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13211 $as_echo "$result" >&6; }
13215 defaultval
=$wxUSE_ALL_FEATURES
13216 if test -z "$defaultval"; then
13217 if test x
"$enablestring" = xdisable
; then
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13225 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13226 # Check whether --enable-rearrangectrl was given.
13227 if test "${enable_rearrangectrl+set}" = set; then :
13228 enableval
=$enable_rearrangectrl;
13229 if test "$enableval" = yes; then
13230 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
13232 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
13237 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13242 eval "$wx_cv_use_rearrangectrl"
13244 if test x"$enablestring" = xdisable; then
13245 if test $wxUSE_REARRANGECTRL = no; then
13251 result=$wxUSE_REARRANGECTRL
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13255 $as_echo "$result" >&6; }
13259 defaultval=$wxUSE_ALL_FEATURES
13260 if test -z "$defaultval"; then
13261 if test x"$enablestring" = xdisable; then
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13269 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13270 # Check whether --enable-sash was given.
13271 if test "${enable_sash+set}" = set; then :
13272 enableval=$enable_sash;
13273 if test "$enableval" = yes; then
13274 wx_cv_use_sash='wxUSE_SASH
=yes'
13276 wx_cv_use_sash='wxUSE_SASH
=no
'
13281 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13286 eval "$wx_cv_use_sash"
13288 if test x"$enablestring" = xdisable; then
13289 if test $wxUSE_SASH = no; then
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13299 $as_echo "$result" >&6; }
13303 defaultval=$wxUSE_ALL_FEATURES
13304 if test -z "$defaultval"; then
13305 if test x"$enablestring" = xdisable; then
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-scrollbar" >&5
13313 $as_echo_n "checking
for --${enablestring:-enable}-scrollbar...
" >&6; }
13314 # Check whether --enable-scrollbar was given.
13315 if test "${enable_scrollbar+set}" = set; then :
13316 enableval=$enable_scrollbar;
13317 if test "$enableval" = yes; then
13318 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13320 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13325 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13330 eval "$wx_cv_use_scrollbar"
13332 if test x
"$enablestring" = xdisable
; then
13333 if test $wxUSE_SCROLLBAR = no
; then
13339 result
=$wxUSE_SCROLLBAR
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13343 $as_echo "$result" >&6; }
13347 defaultval
=$wxUSE_ALL_FEATURES
13348 if test -z "$defaultval"; then
13349 if test x
"$enablestring" = xdisable
; then
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13357 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13358 # Check whether --enable-searchctrl was given.
13359 if test "${enable_searchctrl+set}" = set; then :
13360 enableval
=$enable_searchctrl;
13361 if test "$enableval" = yes; then
13362 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
13364 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
13369 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13374 eval "$wx_cv_use_searchctrl"
13376 if test x"$enablestring" = xdisable; then
13377 if test $wxUSE_SEARCHCTRL = no; then
13383 result=$wxUSE_SEARCHCTRL
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13387 $as_echo "$result" >&6; }
13391 defaultval=$wxUSE_ALL_FEATURES
13392 if test -z "$defaultval"; then
13393 if test x"$enablestring" = xdisable; then
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13401 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13402 # Check whether --enable-slider was given.
13403 if test "${enable_slider+set}" = set; then :
13404 enableval=$enable_slider;
13405 if test "$enableval" = yes; then
13406 wx_cv_use_slider='wxUSE_SLIDER
=yes'
13408 wx_cv_use_slider='wxUSE_SLIDER
=no
'
13413 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13418 eval "$wx_cv_use_slider"
13420 if test x"$enablestring" = xdisable; then
13421 if test $wxUSE_SLIDER = no; then
13427 result=$wxUSE_SLIDER
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13431 $as_echo "$result" >&6; }
13435 defaultval=$wxUSE_ALL_FEATURES
13436 if test -z "$defaultval"; then
13437 if test x"$enablestring" = xdisable; then
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-spinbtn" >&5
13445 $as_echo_n "checking
for --${enablestring:-enable}-spinbtn...
" >&6; }
13446 # Check whether --enable-spinbtn was given.
13447 if test "${enable_spinbtn+set}" = set; then :
13448 enableval=$enable_spinbtn;
13449 if test "$enableval" = yes; then
13450 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13452 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13457 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13462 eval "$wx_cv_use_spinbtn"
13464 if test x
"$enablestring" = xdisable
; then
13465 if test $wxUSE_SPINBTN = no
; then
13471 result
=$wxUSE_SPINBTN
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13475 $as_echo "$result" >&6; }
13479 defaultval
=$wxUSE_ALL_FEATURES
13480 if test -z "$defaultval"; then
13481 if test x
"$enablestring" = xdisable
; then
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13489 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13490 # Check whether --enable-spinctrl was given.
13491 if test "${enable_spinctrl+set}" = set; then :
13492 enableval
=$enable_spinctrl;
13493 if test "$enableval" = yes; then
13494 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
13496 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
13501 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13506 eval "$wx_cv_use_spinctrl"
13508 if test x"$enablestring" = xdisable; then
13509 if test $wxUSE_SPINCTRL = no; then
13515 result=$wxUSE_SPINCTRL
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13519 $as_echo "$result" >&6; }
13523 defaultval=$wxUSE_ALL_FEATURES
13524 if test -z "$defaultval"; then
13525 if test x"$enablestring" = xdisable; then
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13533 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13534 # Check whether --enable-splitter was given.
13535 if test "${enable_splitter+set}" = set; then :
13536 enableval=$enable_splitter;
13537 if test "$enableval" = yes; then
13538 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
13540 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
13545 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13550 eval "$wx_cv_use_splitter"
13552 if test x"$enablestring" = xdisable; then
13553 if test $wxUSE_SPLITTER = no; then
13559 result=$wxUSE_SPLITTER
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13563 $as_echo "$result" >&6; }
13567 defaultval=$wxUSE_ALL_FEATURES
13568 if test -z "$defaultval"; then
13569 if test x"$enablestring" = xdisable; then
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statbmp" >&5
13577 $as_echo_n "checking
for --${enablestring:-enable}-statbmp...
" >&6; }
13578 # Check whether --enable-statbmp was given.
13579 if test "${enable_statbmp+set}" = set; then :
13580 enableval=$enable_statbmp;
13581 if test "$enableval" = yes; then
13582 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13584 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13589 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13594 eval "$wx_cv_use_statbmp"
13596 if test x
"$enablestring" = xdisable
; then
13597 if test $wxUSE_STATBMP = no
; then
13603 result
=$wxUSE_STATBMP
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13607 $as_echo "$result" >&6; }
13611 defaultval
=$wxUSE_ALL_FEATURES
13612 if test -z "$defaultval"; then
13613 if test x
"$enablestring" = xdisable
; then
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13621 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13622 # Check whether --enable-statbox was given.
13623 if test "${enable_statbox+set}" = set; then :
13624 enableval
=$enable_statbox;
13625 if test "$enableval" = yes; then
13626 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
13628 wx_cv_use_statbox
='wxUSE_STATBOX=no'
13633 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13638 eval "$wx_cv_use_statbox"
13640 if test x"$enablestring" = xdisable; then
13641 if test $wxUSE_STATBOX = no; then
13647 result=$wxUSE_STATBOX
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13651 $as_echo "$result" >&6; }
13655 defaultval=$wxUSE_ALL_FEATURES
13656 if test -z "$defaultval"; then
13657 if test x"$enablestring" = xdisable; then
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13665 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13666 # Check whether --enable-statline was given.
13667 if test "${enable_statline+set}" = set; then :
13668 enableval=$enable_statline;
13669 if test "$enableval" = yes; then
13670 wx_cv_use_statline='wxUSE_STATLINE
=yes'
13672 wx_cv_use_statline='wxUSE_STATLINE
=no
'
13677 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13682 eval "$wx_cv_use_statline"
13684 if test x"$enablestring" = xdisable; then
13685 if test $wxUSE_STATLINE = no; then
13691 result=$wxUSE_STATLINE
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13695 $as_echo "$result" >&6; }
13699 defaultval=$wxUSE_ALL_FEATURES
13700 if test -z "$defaultval"; then
13701 if test x"$enablestring" = xdisable; then
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stattext" >&5
13709 $as_echo_n "checking
for --${enablestring:-enable}-stattext...
" >&6; }
13710 # Check whether --enable-stattext was given.
13711 if test "${enable_stattext+set}" = set; then :
13712 enableval=$enable_stattext;
13713 if test "$enableval" = yes; then
13714 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13716 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13721 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13726 eval "$wx_cv_use_stattext"
13728 if test x
"$enablestring" = xdisable
; then
13729 if test $wxUSE_STATTEXT = no
; then
13735 result
=$wxUSE_STATTEXT
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13739 $as_echo "$result" >&6; }
13743 defaultval
=$wxUSE_ALL_FEATURES
13744 if test -z "$defaultval"; then
13745 if test x
"$enablestring" = xdisable
; then
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13753 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13754 # Check whether --enable-statusbar was given.
13755 if test "${enable_statusbar+set}" = set; then :
13756 enableval
=$enable_statusbar;
13757 if test "$enableval" = yes; then
13758 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
13760 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
13765 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13770 eval "$wx_cv_use_statusbar"
13772 if test x"$enablestring" = xdisable; then
13773 if test $wxUSE_STATUSBAR = no; then
13779 result=$wxUSE_STATUSBAR
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13783 $as_echo "$result" >&6; }
13787 defaultval=$wxUSE_ALL_FEATURES
13788 if test -z "$defaultval"; then
13789 if test x"$enablestring" = xdisable; then
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13797 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13798 # Check whether --enable-taskbaricon was given.
13799 if test "${enable_taskbaricon+set}" = set; then :
13800 enableval=$enable_taskbaricon;
13801 if test "$enableval" = yes; then
13802 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
13804 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
13809 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13814 eval "$wx_cv_use_taskbaricon"
13816 if test x"$enablestring" = xdisable; then
13817 if test $wxUSE_TASKBARICON = no; then
13823 result=$wxUSE_TASKBARICON
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13827 $as_echo "$result" >&6; }
13831 defaultval=$wxUSE_ALL_FEATURES
13832 if test -z "$defaultval"; then
13833 if test x"$enablestring" = xdisable; then
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tbarnative" >&5
13841 $as_echo_n "checking
for --${enablestring:-enable}-tbarnative...
" >&6; }
13842 # Check whether --enable-tbarnative was given.
13843 if test "${enable_tbarnative+set}" = set; then :
13844 enableval=$enable_tbarnative;
13845 if test "$enableval" = yes; then
13846 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13848 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13853 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13858 eval "$wx_cv_use_tbarnative"
13860 if test x
"$enablestring" = xdisable
; then
13861 if test $wxUSE_TOOLBAR_NATIVE = no
; then
13867 result
=$wxUSE_TOOLBAR_NATIVE
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13871 $as_echo "$result" >&6; }
13875 defaultval
=$wxUSE_ALL_FEATURES
13876 if test -z "$defaultval"; then
13877 if test x
"$enablestring" = xdisable
; then
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13885 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13886 # Check whether --enable-textctrl was given.
13887 if test "${enable_textctrl+set}" = set; then :
13888 enableval
=$enable_textctrl;
13889 if test "$enableval" = yes; then
13890 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
13892 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
13897 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13902 eval "$wx_cv_use_textctrl"
13904 if test x"$enablestring" = xdisable; then
13905 if test $wxUSE_TEXTCTRL = no; then
13911 result=$wxUSE_TEXTCTRL
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13915 $as_echo "$result" >&6; }
13919 defaultval=$wxUSE_ALL_FEATURES
13920 if test -z "$defaultval"; then
13921 if test x"$enablestring" = xdisable; then
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13929 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13930 # Check whether --enable-datepick was given.
13931 if test "${enable_datepick+set}" = set; then :
13932 enableval=$enable_datepick;
13933 if test "$enableval" = yes; then
13934 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=yes'
13936 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=no
'
13941 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13946 eval "$wx_cv_use_datepick"
13948 if test x"$enablestring" = xdisable; then
13949 if test $wxUSE_TIMEPICKCTRL = no; then
13955 result=$wxUSE_TIMEPICKCTRL
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13959 $as_echo "$result" >&6; }
13963 defaultval=$wxUSE_ALL_FEATURES
13964 if test -z "$defaultval"; then
13965 if test x"$enablestring" = xdisable; then
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tipwindow" >&5
13973 $as_echo_n "checking
for --${enablestring:-enable}-tipwindow...
" >&6; }
13974 # Check whether --enable-tipwindow was given.
13975 if test "${enable_tipwindow+set}" = set; then :
13976 enableval=$enable_tipwindow;
13977 if test "$enableval" = yes; then
13978 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13980 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13985 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13990 eval "$wx_cv_use_tipwindow"
13992 if test x
"$enablestring" = xdisable
; then
13993 if test $wxUSE_TIPWINDOW = no
; then
13999 result
=$wxUSE_TIPWINDOW
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14003 $as_echo "$result" >&6; }
14007 defaultval
=$wxUSE_ALL_FEATURES
14008 if test -z "$defaultval"; then
14009 if test x
"$enablestring" = xdisable
; then
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14017 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14018 # Check whether --enable-togglebtn was given.
14019 if test "${enable_togglebtn+set}" = set; then :
14020 enableval
=$enable_togglebtn;
14021 if test "$enableval" = yes; then
14022 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
14024 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
14029 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14034 eval "$wx_cv_use_togglebtn"
14036 if test x"$enablestring" = xdisable; then
14037 if test $wxUSE_TOGGLEBTN = no; then
14043 result=$wxUSE_TOGGLEBTN
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14047 $as_echo "$result" >&6; }
14051 defaultval=$wxUSE_ALL_FEATURES
14052 if test -z "$defaultval"; then
14053 if test x"$enablestring" = xdisable; then
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
14061 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
14062 # Check whether --enable-toolbar was given.
14063 if test "${enable_toolbar+set}" = set; then :
14064 enableval=$enable_toolbar;
14065 if test "$enableval" = yes; then
14066 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
14068 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
14073 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14078 eval "$wx_cv_use_toolbar"
14080 if test x"$enablestring" = xdisable; then
14081 if test $wxUSE_TOOLBAR = no; then
14087 result=$wxUSE_TOOLBAR
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14091 $as_echo "$result" >&6; }
14095 defaultval=$wxUSE_ALL_FEATURES
14096 if test -z "$defaultval"; then
14097 if test x"$enablestring" = xdisable; then
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-toolbook" >&5
14105 $as_echo_n "checking
for --${enablestring:-enable}-toolbook...
" >&6; }
14106 # Check whether --enable-toolbook was given.
14107 if test "${enable_toolbook+set}" = set; then :
14108 enableval=$enable_toolbook;
14109 if test "$enableval" = yes; then
14110 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14112 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14117 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14122 eval "$wx_cv_use_toolbook"
14124 if test x
"$enablestring" = xdisable
; then
14125 if test $wxUSE_TOOLBOOK = no
; then
14131 result
=$wxUSE_TOOLBOOK
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14135 $as_echo "$result" >&6; }
14139 defaultval
=$wxUSE_ALL_FEATURES
14140 if test -z "$defaultval"; then
14141 if test x
"$enablestring" = xdisable
; then
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14149 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14150 # Check whether --enable-treebook was given.
14151 if test "${enable_treebook+set}" = set; then :
14152 enableval
=$enable_treebook;
14153 if test "$enableval" = yes; then
14154 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
14156 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
14161 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14166 eval "$wx_cv_use_treebook"
14168 if test x"$enablestring" = xdisable; then
14169 if test $wxUSE_TREEBOOK = no; then
14175 result=$wxUSE_TREEBOOK
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14179 $as_echo "$result" >&6; }
14183 defaultval=$wxUSE_ALL_FEATURES
14184 if test -z "$defaultval"; then
14185 if test x"$enablestring" = xdisable; then
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14193 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14194 # Check whether --enable-treectrl was given.
14195 if test "${enable_treectrl+set}" = set; then :
14196 enableval=$enable_treectrl;
14197 if test "$enableval" = yes; then
14198 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
14200 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
14205 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14210 eval "$wx_cv_use_treectrl"
14212 if test x"$enablestring" = xdisable; then
14213 if test $wxUSE_TREECTRL = no; then
14219 result=$wxUSE_TREECTRL
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14223 $as_echo "$result" >&6; }
14227 defaultval=$wxUSE_ALL_FEATURES
14228 if test -z "$defaultval"; then
14229 if test x"$enablestring" = xdisable; then
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treelist" >&5
14237 $as_echo_n "checking
for --${enablestring:-enable}-treelist...
" >&6; }
14238 # Check whether --enable-treelist was given.
14239 if test "${enable_treelist+set}" = set; then :
14240 enableval=$enable_treelist;
14241 if test "$enableval" = yes; then
14242 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14244 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14249 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14254 eval "$wx_cv_use_treelist"
14256 if test x
"$enablestring" = xdisable
; then
14257 if test $wxUSE_TREELISTCTRL = no
; then
14263 result
=$wxUSE_TREELISTCTRL
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14267 $as_echo "$result" >&6; }
14273 defaultval
=$wxUSE_ALL_FEATURES
14274 if test -z "$defaultval"; then
14275 if test x
"$enablestring" = xdisable
; then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14283 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14284 # Check whether --enable-commondlg was given.
14285 if test "${enable_commondlg+set}" = set; then :
14286 enableval
=$enable_commondlg;
14287 if test "$enableval" = yes; then
14288 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
14290 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
14295 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14300 eval "$wx_cv_use_commondlg"
14302 if test x"$enablestring" = xdisable; then
14303 if test $wxUSE_COMMONDLGS = no; then
14309 result=$wxUSE_COMMONDLGS
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14313 $as_echo "$result" >&6; }
14317 defaultval=$wxUSE_ALL_FEATURES
14318 if test -z "$defaultval"; then
14319 if test x"$enablestring" = xdisable; then
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14327 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14328 # Check whether --enable-aboutdlg was given.
14329 if test "${enable_aboutdlg+set}" = set; then :
14330 enableval=$enable_aboutdlg;
14331 if test "$enableval" = yes; then
14332 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
14334 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
14339 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14344 eval "$wx_cv_use_aboutdlg"
14346 if test x"$enablestring" = xdisable; then
14347 if test $wxUSE_ABOUTDLG = no; then
14353 result=$wxUSE_ABOUTDLG
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14357 $as_echo "$result" >&6; }
14361 defaultval=$wxUSE_ALL_FEATURES
14362 if test -z "$defaultval"; then
14363 if test x"$enablestring" = xdisable; then
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-choicedlg" >&5
14371 $as_echo_n "checking
for --${enablestring:-enable}-choicedlg...
" >&6; }
14372 # Check whether --enable-choicedlg was given.
14373 if test "${enable_choicedlg+set}" = set; then :
14374 enableval=$enable_choicedlg;
14375 if test "$enableval" = yes; then
14376 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14378 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14383 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14388 eval "$wx_cv_use_choicedlg"
14390 if test x
"$enablestring" = xdisable
; then
14391 if test $wxUSE_CHOICEDLG = no
; then
14397 result
=$wxUSE_CHOICEDLG
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14401 $as_echo "$result" >&6; }
14405 defaultval
=$wxUSE_ALL_FEATURES
14406 if test -z "$defaultval"; then
14407 if test x
"$enablestring" = xdisable
; then
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14415 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14416 # Check whether --enable-coldlg was given.
14417 if test "${enable_coldlg+set}" = set; then :
14418 enableval
=$enable_coldlg;
14419 if test "$enableval" = yes; then
14420 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
14422 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
14427 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14432 eval "$wx_cv_use_coldlg"
14434 if test x"$enablestring" = xdisable; then
14435 if test $wxUSE_COLOURDLG = no; then
14441 result=$wxUSE_COLOURDLG
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14445 $as_echo "$result" >&6; }
14449 defaultval=$wxUSE_ALL_FEATURES
14450 if test -z "$defaultval"; then
14451 if test x"$enablestring" = xdisable; then
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14459 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14460 # Check whether --enable-filedlg was given.
14461 if test "${enable_filedlg+set}" = set; then :
14462 enableval=$enable_filedlg;
14463 if test "$enableval" = yes; then
14464 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
14466 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
14471 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14476 eval "$wx_cv_use_filedlg"
14478 if test x"$enablestring" = xdisable; then
14479 if test $wxUSE_FILEDLG = no; then
14485 result=$wxUSE_FILEDLG
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14489 $as_echo "$result" >&6; }
14493 defaultval=$wxUSE_ALL_FEATURES
14494 if test -z "$defaultval"; then
14495 if test x"$enablestring" = xdisable; then
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-finddlg" >&5
14503 $as_echo_n "checking
for --${enablestring:-enable}-finddlg...
" >&6; }
14504 # Check whether --enable-finddlg was given.
14505 if test "${enable_finddlg+set}" = set; then :
14506 enableval=$enable_finddlg;
14507 if test "$enableval" = yes; then
14508 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14510 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14515 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14520 eval "$wx_cv_use_finddlg"
14522 if test x
"$enablestring" = xdisable
; then
14523 if test $wxUSE_FINDREPLDLG = no
; then
14529 result
=$wxUSE_FINDREPLDLG
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14533 $as_echo "$result" >&6; }
14537 defaultval
=$wxUSE_ALL_FEATURES
14538 if test -z "$defaultval"; then
14539 if test x
"$enablestring" = xdisable
; then
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14547 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14548 # Check whether --enable-fontdlg was given.
14549 if test "${enable_fontdlg+set}" = set; then :
14550 enableval
=$enable_fontdlg;
14551 if test "$enableval" = yes; then
14552 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
14554 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
14559 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14564 eval "$wx_cv_use_fontdlg"
14566 if test x"$enablestring" = xdisable; then
14567 if test $wxUSE_FONTDLG = no; then
14573 result=$wxUSE_FONTDLG
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14577 $as_echo "$result" >&6; }
14581 defaultval=$wxUSE_ALL_FEATURES
14582 if test -z "$defaultval"; then
14583 if test x"$enablestring" = xdisable; then
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14591 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14592 # Check whether --enable-dirdlg was given.
14593 if test "${enable_dirdlg+set}" = set; then :
14594 enableval=$enable_dirdlg;
14595 if test "$enableval" = yes; then
14596 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
14598 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
14603 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14608 eval "$wx_cv_use_dirdlg"
14610 if test x"$enablestring" = xdisable; then
14611 if test $wxUSE_DIRDLG = no; then
14617 result=$wxUSE_DIRDLG
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14621 $as_echo "$result" >&6; }
14625 defaultval=$wxUSE_ALL_FEATURES
14626 if test -z "$defaultval"; then
14627 if test x"$enablestring" = xdisable; then
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-msgdlg" >&5
14635 $as_echo_n "checking
for --${enablestring:-enable}-msgdlg...
" >&6; }
14636 # Check whether --enable-msgdlg was given.
14637 if test "${enable_msgdlg+set}" = set; then :
14638 enableval=$enable_msgdlg;
14639 if test "$enableval" = yes; then
14640 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14642 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14647 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14652 eval "$wx_cv_use_msgdlg"
14654 if test x
"$enablestring" = xdisable
; then
14655 if test $wxUSE_MSGDLG = no
; then
14661 result
=$wxUSE_MSGDLG
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14665 $as_echo "$result" >&6; }
14669 defaultval
=$wxUSE_ALL_FEATURES
14670 if test -z "$defaultval"; then
14671 if test x
"$enablestring" = xdisable
; then
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14679 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14680 # Check whether --enable-numberdlg was given.
14681 if test "${enable_numberdlg+set}" = set; then :
14682 enableval
=$enable_numberdlg;
14683 if test "$enableval" = yes; then
14684 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
14686 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
14691 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14696 eval "$wx_cv_use_numberdlg"
14698 if test x"$enablestring" = xdisable; then
14699 if test $wxUSE_NUMBERDLG = no; then
14705 result=$wxUSE_NUMBERDLG
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14709 $as_echo "$result" >&6; }
14713 defaultval=$wxUSE_ALL_FEATURES
14714 if test -z "$defaultval"; then
14715 if test x"$enablestring" = xdisable; then
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14723 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14724 # Check whether --enable-splash was given.
14725 if test "${enable_splash+set}" = set; then :
14726 enableval=$enable_splash;
14727 if test "$enableval" = yes; then
14728 wx_cv_use_splash='wxUSE_SPLASH
=yes'
14730 wx_cv_use_splash='wxUSE_SPLASH
=no
'
14735 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14740 eval "$wx_cv_use_splash"
14742 if test x"$enablestring" = xdisable; then
14743 if test $wxUSE_SPLASH = no; then
14749 result=$wxUSE_SPLASH
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14753 $as_echo "$result" >&6; }
14757 defaultval=$wxUSE_ALL_FEATURES
14758 if test -z "$defaultval"; then
14759 if test x"$enablestring" = xdisable; then
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textdlg" >&5
14767 $as_echo_n "checking
for --${enablestring:-enable}-textdlg...
" >&6; }
14768 # Check whether --enable-textdlg was given.
14769 if test "${enable_textdlg+set}" = set; then :
14770 enableval=$enable_textdlg;
14771 if test "$enableval" = yes; then
14772 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14774 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14779 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14784 eval "$wx_cv_use_textdlg"
14786 if test x
"$enablestring" = xdisable
; then
14787 if test $wxUSE_TEXTDLG = no
; then
14793 result
=$wxUSE_TEXTDLG
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14797 $as_echo "$result" >&6; }
14801 defaultval
=$wxUSE_ALL_FEATURES
14802 if test -z "$defaultval"; then
14803 if test x
"$enablestring" = xdisable
; then
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14811 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14812 # Check whether --enable-tipdlg was given.
14813 if test "${enable_tipdlg+set}" = set; then :
14814 enableval
=$enable_tipdlg;
14815 if test "$enableval" = yes; then
14816 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
14818 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
14823 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14828 eval "$wx_cv_use_tipdlg"
14830 if test x"$enablestring" = xdisable; then
14831 if test $wxUSE_STARTUP_TIPS = no; then
14837 result=$wxUSE_STARTUP_TIPS
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14841 $as_echo "$result" >&6; }
14845 defaultval=$wxUSE_ALL_FEATURES
14846 if test -z "$defaultval"; then
14847 if test x"$enablestring" = xdisable; then
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14855 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14856 # Check whether --enable-progressdlg was given.
14857 if test "${enable_progressdlg+set}" = set; then :
14858 enableval=$enable_progressdlg;
14859 if test "$enableval" = yes; then
14860 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
14862 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
14867 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14872 eval "$wx_cv_use_progressdlg"
14874 if test x"$enablestring" = xdisable; then
14875 if test $wxUSE_PROGRESSDLG = no; then
14881 result=$wxUSE_PROGRESSDLG
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14885 $as_echo "$result" >&6; }
14889 defaultval=$wxUSE_ALL_FEATURES
14890 if test -z "$defaultval"; then
14891 if test x"$enablestring" = xdisable; then
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-wizarddlg" >&5
14899 $as_echo_n "checking
for --${enablestring:-enable}-wizarddlg...
" >&6; }
14900 # Check whether --enable-wizarddlg was given.
14901 if test "${enable_wizarddlg+set}" = set; then :
14902 enableval=$enable_wizarddlg;
14903 if test "$enableval" = yes; then
14904 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14906 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14911 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14916 eval "$wx_cv_use_wizarddlg"
14918 if test x
"$enablestring" = xdisable
; then
14919 if test $wxUSE_WIZARDDLG = no
; then
14925 result
=$wxUSE_WIZARDDLG
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14929 $as_echo "$result" >&6; }
14935 defaultval
=$wxUSE_ALL_FEATURES
14936 if test -z "$defaultval"; then
14937 if test x
"$enablestring" = xdisable
; then
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14945 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14946 # Check whether --enable-menus was given.
14947 if test "${enable_menus+set}" = set; then :
14948 enableval
=$enable_menus;
14949 if test "$enableval" = yes; then
14950 wx_cv_use_menus
='wxUSE_MENUS=yes'
14952 wx_cv_use_menus
='wxUSE_MENUS=no'
14957 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14962 eval "$wx_cv_use_menus"
14964 if test x"$enablestring" = xdisable; then
14965 if test $wxUSE_MENUS = no; then
14971 result=$wxUSE_MENUS
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14975 $as_echo "$result" >&6; }
14979 defaultval=$wxUSE_ALL_FEATURES
14980 if test -z "$defaultval"; then
14981 if test x"$enablestring" = xdisable; then
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14989 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14990 # Check whether --enable-miniframe was given.
14991 if test "${enable_miniframe+set}" = set; then :
14992 enableval=$enable_miniframe;
14993 if test "$enableval" = yes; then
14994 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
14996 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
15001 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15006 eval "$wx_cv_use_miniframe"
15008 if test x"$enablestring" = xdisable; then
15009 if test $wxUSE_MINIFRAME = no; then
15015 result=$wxUSE_MINIFRAME
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15019 $as_echo "$result" >&6; }
15023 defaultval=$wxUSE_ALL_FEATURES
15024 if test -z "$defaultval"; then
15025 if test x"$enablestring" = xdisable; then
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tooltips" >&5
15033 $as_echo_n "checking
for --${enablestring:-enable}-tooltips...
" >&6; }
15034 # Check whether --enable-tooltips was given.
15035 if test "${enable_tooltips+set}" = set; then :
15036 enableval=$enable_tooltips;
15037 if test "$enableval" = yes; then
15038 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15040 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15045 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15050 eval "$wx_cv_use_tooltips"
15052 if test x
"$enablestring" = xdisable
; then
15053 if test $wxUSE_TOOLTIPS = no
; then
15059 result
=$wxUSE_TOOLTIPS
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15063 $as_echo "$result" >&6; }
15067 defaultval
=$wxUSE_ALL_FEATURES
15068 if test -z "$defaultval"; then
15069 if test x
"$enablestring" = xdisable
; then
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15077 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15078 # Check whether --enable-splines was given.
15079 if test "${enable_splines+set}" = set; then :
15080 enableval
=$enable_splines;
15081 if test "$enableval" = yes; then
15082 wx_cv_use_splines
='wxUSE_SPLINES=yes'
15084 wx_cv_use_splines
='wxUSE_SPLINES=no'
15089 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15094 eval "$wx_cv_use_splines"
15096 if test x"$enablestring" = xdisable; then
15097 if test $wxUSE_SPLINES = no; then
15103 result=$wxUSE_SPLINES
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15107 $as_echo "$result" >&6; }
15111 defaultval=$wxUSE_ALL_FEATURES
15112 if test -z "$defaultval"; then
15113 if test x"$enablestring" = xdisable; then
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15121 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15122 # Check whether --enable-mousewheel was given.
15123 if test "${enable_mousewheel+set}" = set; then :
15124 enableval=$enable_mousewheel;
15125 if test "$enableval" = yes; then
15126 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
15128 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
15133 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15138 eval "$wx_cv_use_mousewheel"
15140 if test x"$enablestring" = xdisable; then
15141 if test $wxUSE_MOUSEWHEEL = no; then
15147 result=$wxUSE_MOUSEWHEEL
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15151 $as_echo "$result" >&6; }
15155 defaultval=$wxUSE_ALL_FEATURES
15156 if test -z "$defaultval"; then
15157 if test x"$enablestring" = xdisable; then
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-validators" >&5
15165 $as_echo_n "checking
for --${enablestring:-enable}-validators...
" >&6; }
15166 # Check whether --enable-validators was given.
15167 if test "${enable_validators+set}" = set; then :
15168 enableval=$enable_validators;
15169 if test "$enableval" = yes; then
15170 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15172 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15177 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15182 eval "$wx_cv_use_validators"
15184 if test x
"$enablestring" = xdisable
; then
15185 if test $wxUSE_VALIDATORS = no
; then
15191 result
=$wxUSE_VALIDATORS
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15195 $as_echo "$result" >&6; }
15199 defaultval
=$wxUSE_ALL_FEATURES
15200 if test -z "$defaultval"; then
15201 if test x
"$enablestring" = xdisable
; then
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15209 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15210 # Check whether --enable-busyinfo was given.
15211 if test "${enable_busyinfo+set}" = set; then :
15212 enableval
=$enable_busyinfo;
15213 if test "$enableval" = yes; then
15214 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
15216 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
15221 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15226 eval "$wx_cv_use_busyinfo"
15228 if test x"$enablestring" = xdisable; then
15229 if test $wxUSE_BUSYINFO = no; then
15235 result=$wxUSE_BUSYINFO
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15239 $as_echo "$result" >&6; }
15243 defaultval=$wxUSE_ALL_FEATURES
15244 if test -z "$defaultval"; then
15245 if test x"$enablestring" = xdisable; then
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15253 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15254 # Check whether --enable-hotkey was given.
15255 if test "${enable_hotkey+set}" = set; then :
15256 enableval=$enable_hotkey;
15257 if test "$enableval" = yes; then
15258 wx_cv_use_hotkey='wxUSE_HOTKEY
=yes'
15260 wx_cv_use_hotkey='wxUSE_HOTKEY
=no
'
15265 wx_cv_use_hotkey='wxUSE_HOTKEY
=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15270 eval "$wx_cv_use_hotkey"
15272 if test x"$enablestring" = xdisable; then
15273 if test $wxUSE_HOTKEY = no; then
15279 result=$wxUSE_HOTKEY
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15283 $as_echo "$result" >&6; }
15287 defaultval=$wxUSE_ALL_FEATURES
15288 if test -z "$defaultval"; then
15289 if test x"$enablestring" = xdisable; then
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-joystick" >&5
15297 $as_echo_n "checking
for --${enablestring:-enable}-joystick...
" >&6; }
15298 # Check whether --enable-joystick was given.
15299 if test "${enable_joystick+set}" = set; then :
15300 enableval=$enable_joystick;
15301 if test "$enableval" = yes; then
15302 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15304 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15309 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15314 eval "$wx_cv_use_joystick"
15316 if test x
"$enablestring" = xdisable
; then
15317 if test $wxUSE_JOYSTICK = no
; then
15323 result
=$wxUSE_JOYSTICK
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15327 $as_echo "$result" >&6; }
15331 defaultval
=$wxUSE_ALL_FEATURES
15332 if test -z "$defaultval"; then
15333 if test x
"$enablestring" = xdisable
; then
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15341 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15342 # Check whether --enable-metafile was given.
15343 if test "${enable_metafile+set}" = set; then :
15344 enableval
=$enable_metafile;
15345 if test "$enableval" = yes; then
15346 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
15348 wx_cv_use_metafile
='wxUSE_METAFILE=no'
15353 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15358 eval "$wx_cv_use_metafile"
15360 if test x"$enablestring" = xdisable; then
15361 if test $wxUSE_METAFILE = no; then
15367 result=$wxUSE_METAFILE
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15371 $as_echo "$result" >&6; }
15375 defaultval=$wxUSE_ALL_FEATURES
15376 if test -z "$defaultval"; then
15377 if test x"$enablestring" = xdisable; then
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15385 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15386 # Check whether --enable-dragimage was given.
15387 if test "${enable_dragimage+set}" = set; then :
15388 enableval=$enable_dragimage;
15389 if test "$enableval" = yes; then
15390 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
15392 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
15397 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15402 eval "$wx_cv_use_dragimage"
15404 if test x"$enablestring" = xdisable; then
15405 if test $wxUSE_DRAGIMAGE = no; then
15411 result=$wxUSE_DRAGIMAGE
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15415 $as_echo "$result" >&6; }
15419 defaultval=$wxUSE_ALL_FEATURES
15420 if test -z "$defaultval"; then
15421 if test x"$enablestring" = xdisable; then
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-accessibility" >&5
15429 $as_echo_n "checking
for --${enablestring:-enable}-accessibility...
" >&6; }
15430 # Check whether --enable-accessibility was given.
15431 if test "${enable_accessibility+set}" = set; then :
15432 enableval=$enable_accessibility;
15433 if test "$enableval" = yes; then
15434 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15436 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15441 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15446 eval "$wx_cv_use_accessibility"
15448 if test x
"$enablestring" = xdisable
; then
15449 if test $wxUSE_ACCESSIBILITY = no
; then
15455 result
=$wxUSE_ACCESSIBILITY
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15459 $as_echo "$result" >&6; }
15463 defaultval
=$wxUSE_ALL_FEATURES
15464 if test -z "$defaultval"; then
15465 if test x
"$enablestring" = xdisable
; then
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15473 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15474 # Check whether --enable-uiactionsim was given.
15475 if test "${enable_uiactionsim+set}" = set; then :
15476 enableval
=$enable_uiactionsim;
15477 if test "$enableval" = yes; then
15478 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=yes'
15480 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=no'
15485 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15490 eval "$wx_cv_use_uiactionsim"
15492 if test x"$enablestring" = xdisable; then
15493 if test $wxUSE_UIACTIONSIMULATOR = no; then
15499 result=$wxUSE_UIACTIONSIMULATOR
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15503 $as_echo "$result" >&6; }
15507 defaultval=$wxUSE_ALL_FEATURES
15508 if test -z "$defaultval"; then
15509 if test x"$enablestring" = xdisable; then
15516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15517 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15518 # Check whether --enable-dctransform was given.
15519 if test "${enable_dctransform+set}" = set; then :
15520 enableval=$enable_dctransform;
15521 if test "$enableval" = yes; then
15522 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=yes'
15524 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=no
'
15529 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15534 eval "$wx_cv_use_dctransform"
15536 if test x"$enablestring" = xdisable; then
15537 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15543 result=$wxUSE_DC_TRANSFORM_MATRIX
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15547 $as_echo "$result" >&6; }
15551 defaultval=$wxUSE_ALL_FEATURES
15552 if test -z "$defaultval"; then
15553 if test x"$enablestring" = xdisable; then
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webviewwebkit" >&5
15561 $as_echo_n "checking
for --${enablestring:-enable}-webviewwebkit...
" >&6; }
15562 # Check whether --enable-webviewwebkit was given.
15563 if test "${enable_webviewwebkit+set}" = set; then :
15564 enableval=$enable_webviewwebkit;
15565 if test "$enableval" = yes; then
15566 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15568 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15573 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15578 eval "$wx_cv_use_webviewwebkit"
15580 if test x
"$enablestring" = xdisable
; then
15581 if test $wxUSE_WEBVIEW_WEBKIT = no
; then
15587 result
=$wxUSE_WEBVIEW_WEBKIT
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15591 $as_echo "$result" >&6; }
15597 defaultval
=$wxUSE_ALL_FEATURES
15598 if test -z "$defaultval"; then
15599 if test x
"$enablestring" = xdisable
; then
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15607 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15608 # Check whether --enable-palette was given.
15609 if test "${enable_palette+set}" = set; then :
15610 enableval
=$enable_palette;
15611 if test "$enableval" = yes; then
15612 wx_cv_use_palette
='wxUSE_PALETTE=yes'
15614 wx_cv_use_palette
='wxUSE_PALETTE=no'
15619 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15624 eval "$wx_cv_use_palette"
15626 if test x"$enablestring" = xdisable; then
15627 if test $wxUSE_PALETTE = no; then
15633 result=$wxUSE_PALETTE
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15637 $as_echo "$result" >&6; }
15641 defaultval=$wxUSE_ALL_FEATURES
15642 if test -z "$defaultval"; then
15643 if test x"$enablestring" = xdisable; then
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15651 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15652 # Check whether --enable-image was given.
15653 if test "${enable_image+set}" = set; then :
15654 enableval=$enable_image;
15655 if test "$enableval" = yes; then
15656 wx_cv_use_image='wxUSE_IMAGE
=yes'
15658 wx_cv_use_image='wxUSE_IMAGE
=no
'
15663 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15668 eval "$wx_cv_use_image"
15670 if test x"$enablestring" = xdisable; then
15671 if test $wxUSE_IMAGE = no; then
15677 result=$wxUSE_IMAGE
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15681 $as_echo "$result" >&6; }
15685 defaultval=$wxUSE_ALL_FEATURES
15686 if test -z "$defaultval"; then
15687 if test x"$enablestring" = xdisable; then
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gif" >&5
15695 $as_echo_n "checking
for --${enablestring:-enable}-gif...
" >&6; }
15696 # Check whether --enable-gif was given.
15697 if test "${enable_gif+set}" = set; then :
15698 enableval=$enable_gif;
15699 if test "$enableval" = yes; then
15700 wx_cv_use_gif='wxUSE_GIF=yes'
15702 wx_cv_use_gif='wxUSE_GIF=no'
15707 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15712 eval "$wx_cv_use_gif"
15714 if test x
"$enablestring" = xdisable
; then
15715 if test $wxUSE_GIF = no
; then
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15725 $as_echo "$result" >&6; }
15729 defaultval
=$wxUSE_ALL_FEATURES
15730 if test -z "$defaultval"; then
15731 if test x
"$enablestring" = xdisable
; then
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15739 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15740 # Check whether --enable-pcx was given.
15741 if test "${enable_pcx+set}" = set; then :
15742 enableval
=$enable_pcx;
15743 if test "$enableval" = yes; then
15744 wx_cv_use_pcx
='wxUSE_PCX=yes'
15746 wx_cv_use_pcx
='wxUSE_PCX=no'
15751 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15756 eval "$wx_cv_use_pcx"
15758 if test x"$enablestring" = xdisable; then
15759 if test $wxUSE_PCX = no; then
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15769 $as_echo "$result" >&6; }
15773 defaultval=$wxUSE_ALL_FEATURES
15774 if test -z "$defaultval"; then
15775 if test x"$enablestring" = xdisable; then
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15783 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15784 # Check whether --enable-tga was given.
15785 if test "${enable_tga+set}" = set; then :
15786 enableval=$enable_tga;
15787 if test "$enableval" = yes; then
15788 wx_cv_use_tga='wxUSE_TGA
=yes'
15790 wx_cv_use_tga='wxUSE_TGA
=no
'
15795 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15800 eval "$wx_cv_use_tga"
15802 if test x"$enablestring" = xdisable; then
15803 if test $wxUSE_TGA = no; then
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15813 $as_echo "$result" >&6; }
15817 defaultval=$wxUSE_ALL_FEATURES
15818 if test -z "$defaultval"; then
15819 if test x"$enablestring" = xdisable; then
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-iff" >&5
15827 $as_echo_n "checking
for --${enablestring:-enable}-iff...
" >&6; }
15828 # Check whether --enable-iff was given.
15829 if test "${enable_iff+set}" = set; then :
15830 enableval=$enable_iff;
15831 if test "$enableval" = yes; then
15832 wx_cv_use_iff='wxUSE_IFF=yes'
15834 wx_cv_use_iff='wxUSE_IFF=no'
15839 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15844 eval "$wx_cv_use_iff"
15846 if test x
"$enablestring" = xdisable
; then
15847 if test $wxUSE_IFF = no
; then
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15857 $as_echo "$result" >&6; }
15861 defaultval
=$wxUSE_ALL_FEATURES
15862 if test -z "$defaultval"; then
15863 if test x
"$enablestring" = xdisable
; then
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15871 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15872 # Check whether --enable-pnm was given.
15873 if test "${enable_pnm+set}" = set; then :
15874 enableval
=$enable_pnm;
15875 if test "$enableval" = yes; then
15876 wx_cv_use_pnm
='wxUSE_PNM=yes'
15878 wx_cv_use_pnm
='wxUSE_PNM=no'
15883 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15888 eval "$wx_cv_use_pnm"
15890 if test x"$enablestring" = xdisable; then
15891 if test $wxUSE_PNM = no; then
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15901 $as_echo "$result" >&6; }
15905 defaultval=$wxUSE_ALL_FEATURES
15906 if test -z "$defaultval"; then
15907 if test x"$enablestring" = xdisable; then
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15915 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15916 # Check whether --enable-xpm was given.
15917 if test "${enable_xpm+set}" = set; then :
15918 enableval=$enable_xpm;
15919 if test "$enableval" = yes; then
15920 wx_cv_use_xpm='wxUSE_XPM
=yes'
15922 wx_cv_use_xpm='wxUSE_XPM
=no
'
15927 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15932 eval "$wx_cv_use_xpm"
15934 if test x"$enablestring" = xdisable; then
15935 if test $wxUSE_XPM = no; then
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15945 $as_echo "$result" >&6; }
15949 defaultval=$wxUSE_ALL_FEATURES
15950 if test -z "$defaultval"; then
15951 if test x"$enablestring" = xdisable; then
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ico_cur" >&5
15959 $as_echo_n "checking
for --${enablestring:-enable}-ico_cur...
" >&6; }
15960 # Check whether --enable-ico_cur was given.
15961 if test "${enable_ico_cur+set}" = set; then :
15962 enableval=$enable_ico_cur;
15963 if test "$enableval" = yes; then
15964 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15966 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15971 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15976 eval "$wx_cv_use_ico_cur"
15978 if test x
"$enablestring" = xdisable
; then
15979 if test $wxUSE_ICO_CUR = no
; then
15985 result
=$wxUSE_ICO_CUR
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15989 $as_echo "$result" >&6; }
15995 defaultval
=$wxUSE_ALL_FEATURES
15996 if test -z "$defaultval"; then
15997 if test x
"$enablestring" = xdisable
; then
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
16005 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
16006 # Check whether --enable-dccache was given.
16007 if test "${enable_dccache+set}" = set; then :
16008 enableval
=$enable_dccache;
16009 if test "$enableval" = yes; then
16010 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
16012 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
16017 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16022 eval "$wx_cv_use_dccache"
16024 if test x"$enablestring" = xdisable; then
16025 if test $wxUSE_DC_CACHEING = no; then
16031 result=$wxUSE_DC_CACHEING
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16035 $as_echo "$result" >&6; }
16039 defaultval=$wxUSE_ALL_FEATURES
16040 if test -z "$defaultval"; then
16041 if test x"$enablestring" = xdisable; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
16049 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
16050 # Check whether --enable-ps-in-msw was given.
16051 if test "${enable_ps_in_msw+set}" = set; then :
16052 enableval=$enable_ps_in_msw;
16053 if test "$enableval" = yes; then
16054 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
16056 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
16061 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16066 eval "$wx_cv_use_ps_in_msw"
16068 if test x"$enablestring" = xdisable; then
16069 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16075 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16079 $as_echo "$result" >&6; }
16083 defaultval=$wxUSE_ALL_FEATURES
16084 if test -z "$defaultval"; then
16085 if test x"$enablestring" = xdisable; then
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ownerdrawn" >&5
16093 $as_echo_n "checking
for --${enablestring:-enable}-ownerdrawn...
" >&6; }
16094 # Check whether --enable-ownerdrawn was given.
16095 if test "${enable_ownerdrawn+set}" = set; then :
16096 enableval=$enable_ownerdrawn;
16097 if test "$enableval" = yes; then
16098 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16100 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16105 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16110 eval "$wx_cv_use_ownerdrawn"
16112 if test x
"$enablestring" = xdisable
; then
16113 if test $wxUSE_OWNER_DRAWN = no
; then
16119 result
=$wxUSE_OWNER_DRAWN
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16123 $as_echo "$result" >&6; }
16127 defaultval
=$wxUSE_ALL_FEATURES
16128 if test -z "$defaultval"; then
16129 if test x
"$enablestring" = xdisable
; then
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16137 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16138 # Check whether --enable-uxtheme was given.
16139 if test "${enable_uxtheme+set}" = set; then :
16140 enableval
=$enable_uxtheme;
16141 if test "$enableval" = yes; then
16142 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
16144 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
16149 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16154 eval "$wx_cv_use_uxtheme"
16156 if test x"$enablestring" = xdisable; then
16157 if test $wxUSE_UXTHEME = no; then
16163 result=$wxUSE_UXTHEME
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16167 $as_echo "$result" >&6; }
16171 defaultval=$wxUSE_ALL_FEATURES
16172 if test -z "$defaultval"; then
16173 if test x"$enablestring" = xdisable; then
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16181 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16182 # Check whether --enable-wxdib was given.
16183 if test "${enable_wxdib+set}" = set; then :
16184 enableval=$enable_wxdib;
16185 if test "$enableval" = yes; then
16186 wx_cv_use_wxdib='wxUSE_DIB
=yes'
16188 wx_cv_use_wxdib='wxUSE_DIB
=no
'
16193 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16198 eval "$wx_cv_use_wxdib"
16200 if test x"$enablestring" = xdisable; then
16201 if test $wxUSE_DIB = no; then
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16211 $as_echo "$result" >&6; }
16215 defaultval=$wxUSE_ALL_FEATURES
16216 if test -z "$defaultval"; then
16217 if test x"$enablestring" = xdisable; then
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webviewie" >&5
16225 $as_echo_n "checking
for --${enablestring:-enable}-webviewie...
" >&6; }
16226 # Check whether --enable-webviewie was given.
16227 if test "${enable_webviewie+set}" = set; then :
16228 enableval=$enable_webviewie;
16229 if test "$enableval" = yes; then
16230 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16232 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16237 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16242 eval "$wx_cv_use_webviewie"
16244 if test x
"$enablestring" = xdisable
; then
16245 if test $wxUSE_WEBVIEW_IE = no
; then
16251 result
=$wxUSE_WEBVIEW_IE
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16255 $as_echo "$result" >&6; }
16258 if test "$wxUSE_MSW" != 1; then
16259 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
16264 defaultval
=$wxUSE_ALL_FEATURES
16265 if test -z "$defaultval"; then
16266 if test x
"$enablestring" = xdisable
; then
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16274 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16275 # Check whether --enable-autoidman was given.
16276 if test "${enable_autoidman+set}" = set; then :
16277 enableval
=$enable_autoidman;
16278 if test "$enableval" = yes; then
16279 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
16281 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
16286 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16291 eval "$wx_cv_use_autoidman"
16293 if test x"$enablestring" = xdisable; then
16294 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16300 result=$wxUSE_AUTOID_MANAGEMENT
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16304 $as_echo "$result" >&6; }
16310 cat >confcache <<\_ACEOF
16311 # This file is a shell script that caches the results of configure
16312 # tests run on this system so they can be shared between configure
16313 # scripts and configure runs, see configure's option
--config-cache.
16314 # It is not useful on other systems. If it contains results you don't
16315 # want to keep, you may remove or edit it.
16317 # config.status only pays attention to the cache file if you give it
16318 # the --recheck option to rerun configure.
16320 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16321 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16322 # following values.
16326 # The following way of writing the cache mishandles newlines in values,
16327 # but we know of no workaround that is simple, portable, and efficient.
16328 # So, we kill variables containing newlines.
16329 # Ultrix sh set writes to stderr and can't be redirected directly,
16330 # and sets the high bit in the cache file unless we assign to the vars.
16332 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16333 eval ac_val
=\$
$ac_var
16337 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16338 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16341 _
| IFS
| as_nl
) ;; #(
16342 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16343 *) { eval $ac_var=; unset $ac_var;} ;;
16349 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16350 *${as_nl}ac_space
=\
*)
16351 # `set' does not quote correctly, so add quotes: double-quote
16352 # substitution turns \\\\ into \\, and sed turns \\ into \.
16355 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16358 # `set' quotes correctly as required by POSIX, so do not add quotes.
16359 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16368 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16370 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16372 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16373 if test -w "$cache_file"; then
16374 if test "x$cache_file" != "x/dev/null"; then
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16376 $as_echo "$as_me: updating cache $cache_file" >&6;}
16377 if test ! -f "$cache_file" || test -h "$cache_file"; then
16378 cat confcache
>"$cache_file"
16380 case $cache_file in #(
16382 mv -f confcache
"$cache_file"$$
&&
16383 mv -f "$cache_file"$$
"$cache_file" ;; #(
16385 mv -f confcache
"$cache_file" ;;
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16391 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16398 ac_cpp
='$CPP $CPPFLAGS'
16399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16402 if test -n "$ac_tool_prefix"; then
16403 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16404 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16406 $as_echo_n "checking for $ac_word... " >&6; }
16407 if ${ac_cv_prog_CC+:} false
; then :
16408 $as_echo_n "(cached) " >&6
16410 if test -n "$CC"; then
16411 ac_cv_prog_CC
="$CC" # Let the user override the test.
16413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16414 for as_dir
in $PATH
16417 test -z "$as_dir" && as_dir
=.
16418 for ac_exec_ext
in '' $ac_executable_extensions; do
16419 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16420 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16431 if test -n "$CC"; then
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16433 $as_echo "$CC" >&6; }
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16436 $as_echo "no" >&6; }
16441 if test -z "$ac_cv_prog_CC"; then
16443 # Extract the first word of "gcc", so it can be a program name with args.
16444 set dummy gcc
; ac_word
=$2
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16446 $as_echo_n "checking for $ac_word... " >&6; }
16447 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16448 $as_echo_n "(cached) " >&6
16450 if test -n "$ac_ct_CC"; then
16451 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16454 for as_dir
in $PATH
16457 test -z "$as_dir" && as_dir
=.
16458 for ac_exec_ext
in '' $ac_executable_extensions; do
16459 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16460 ac_cv_prog_ac_ct_CC
="gcc"
16461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16470 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16471 if test -n "$ac_ct_CC"; then
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16473 $as_echo "$ac_ct_CC" >&6; }
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16476 $as_echo "no" >&6; }
16479 if test "x$ac_ct_CC" = x
; then
16482 case $cross_compiling:$ac_tool_warned in
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16486 ac_tool_warned
=yes ;;
16491 CC
="$ac_cv_prog_CC"
16494 if test -z "$CC"; then
16495 if test -n "$ac_tool_prefix"; then
16496 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16497 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16499 $as_echo_n "checking for $ac_word... " >&6; }
16500 if ${ac_cv_prog_CC+:} false
; then :
16501 $as_echo_n "(cached) " >&6
16503 if test -n "$CC"; then
16504 ac_cv_prog_CC
="$CC" # Let the user override the test.
16506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16507 for as_dir
in $PATH
16510 test -z "$as_dir" && as_dir
=.
16511 for ac_exec_ext
in '' $ac_executable_extensions; do
16512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16513 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16524 if test -n "$CC"; then
16525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16526 $as_echo "$CC" >&6; }
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16529 $as_echo "no" >&6; }
16535 if test -z "$CC"; then
16536 # Extract the first word of "cc", so it can be a program name with args.
16537 set dummy cc
; ac_word
=$2
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16539 $as_echo_n "checking for $ac_word... " >&6; }
16540 if ${ac_cv_prog_CC+:} false
; then :
16541 $as_echo_n "(cached) " >&6
16543 if test -n "$CC"; then
16544 ac_cv_prog_CC
="$CC" # Let the user override the test.
16546 ac_prog_rejected
=no
16547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16548 for as_dir
in $PATH
16551 test -z "$as_dir" && as_dir
=.
16552 for ac_exec_ext
in '' $ac_executable_extensions; do
16553 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16554 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16555 ac_prog_rejected
=yes
16559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16566 if test $ac_prog_rejected = yes; then
16567 # We found a bogon in the path, so make sure we never use it.
16568 set dummy
$ac_cv_prog_CC
16570 if test $# != 0; then
16571 # We chose a different compiler from the bogus one.
16572 # However, it has the same basename, so the bogon will be chosen
16573 # first if we set CC to just the basename; use the full file name.
16575 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16581 if test -n "$CC"; then
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16583 $as_echo "$CC" >&6; }
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16586 $as_echo "no" >&6; }
16591 if test -z "$CC"; then
16592 if test -n "$ac_tool_prefix"; then
16593 for ac_prog
in cl.exe
16595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16596 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16598 $as_echo_n "checking for $ac_word... " >&6; }
16599 if ${ac_cv_prog_CC+:} false
; then :
16600 $as_echo_n "(cached) " >&6
16602 if test -n "$CC"; then
16603 ac_cv_prog_CC
="$CC" # Let the user override the test.
16605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16606 for as_dir
in $PATH
16609 test -z "$as_dir" && as_dir
=.
16610 for ac_exec_ext
in '' $ac_executable_extensions; do
16611 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16612 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16623 if test -n "$CC"; then
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16625 $as_echo "$CC" >&6; }
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16628 $as_echo "no" >&6; }
16632 test -n "$CC" && break
16635 if test -z "$CC"; then
16637 for ac_prog
in cl.exe
16639 # Extract the first word of "$ac_prog", so it can be a program name with args.
16640 set dummy
$ac_prog; ac_word
=$2
16641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16642 $as_echo_n "checking for $ac_word... " >&6; }
16643 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16644 $as_echo_n "(cached) " >&6
16646 if test -n "$ac_ct_CC"; then
16647 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16650 for as_dir
in $PATH
16653 test -z "$as_dir" && as_dir
=.
16654 for ac_exec_ext
in '' $ac_executable_extensions; do
16655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16656 ac_cv_prog_ac_ct_CC
="$ac_prog"
16657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16666 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16667 if test -n "$ac_ct_CC"; then
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16669 $as_echo "$ac_ct_CC" >&6; }
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16672 $as_echo "no" >&6; }
16676 test -n "$ac_ct_CC" && break
16679 if test "x$ac_ct_CC" = x
; then
16682 case $cross_compiling:$ac_tool_warned in
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16686 ac_tool_warned
=yes ;;
16695 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16697 as_fn_error $?
"no acceptable C compiler found in \$PATH
16698 See \`config.log' for more details" "$LINENO" 5; }
16700 # Provide some information about the compiler.
16701 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16704 for ac_option
in --version -v -V -qversion; do
16705 { { ac_try
="$ac_compiler $ac_option >&5"
16706 case "(($ac_try" in
16707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16708 *) ac_try_echo=$ac_try;;
16710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16711 $as_echo "$ac_try_echo"; } >&5
16712 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16714 if test -s conftest.err; then
16716 ... rest of stderr output deleted ...
16717 10q' conftest.err >conftest.er1
16718 cat conftest.er1 >&5
16720 rm -f conftest.er1 conftest.err
16721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16722 test $ac_status = 0; }
16725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h. */
16736 ac_clean_files_save=$ac_clean_files
16737 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16738 # Try to create an executable without -o first, disregard a.out.
16739 # It will help us diagnose broken compilers, and finding out an intuition
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16742 $as_echo_n "checking whether the C compiler works... " >&6; }
16743 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16745 # The possible output files:
16746 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16749 for ac_file in $ac_files
16752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16753 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16758 if { { ac_try="$ac_link_default"
16759 case "(($ac_try" in
16760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16761 *) ac_try_echo
=$ac_try;;
16763 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16764 $as_echo "$ac_try_echo"; } >&5
16765 (eval "$ac_link_default") 2>&5
16767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16768 test $ac_status = 0; }; then :
16769 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16770 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16771 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16772 # so that the user can short-circuit this test for compilers unknown to
16774 for ac_file
in $ac_files ''
16776 test -f "$ac_file" || continue
16778 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
16781 # We found the default executable, but exeext='' is most
16785 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16787 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16789 # We set ac_cv_exeext here because the later test for it is not
16790 # safe: cross compilers may not add the suffix if given an `-o'
16791 # argument, so we may need to know it at that point already.
16792 # Even if this section looks crufty: it has the advantage of
16793 # actually working.
16799 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16804 if test -z "$ac_file"; then :
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16806 $as_echo "no" >&6; }
16807 $as_echo "$as_me: failed program was:" >&5
16808 sed 's/^/| /' conftest.
$ac_ext >&5
16810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16812 as_fn_error
77 "C compiler cannot create executables
16813 See \`config.log' for more details" "$LINENO" 5; }
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16816 $as_echo "yes" >&6; }
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16819 $as_echo_n "checking for C compiler default output file name... " >&6; }
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16821 $as_echo "$ac_file" >&6; }
16822 ac_exeext
=$ac_cv_exeext
16824 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
16825 ac_clean_files
=$ac_clean_files_save
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16827 $as_echo_n "checking for suffix of executables... " >&6; }
16828 if { { ac_try
="$ac_link"
16829 case "(($ac_try" in
16830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16831 *) ac_try_echo=$ac_try;;
16833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16834 $as_echo "$ac_try_echo"; } >&5
16835 (eval "$ac_link") 2>&5
16837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16838 test $ac_status = 0; }; then :
16839 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
16840 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
16841 # work properly (i.e., refer to `conftest.exe'), while it won't with
16843 for ac_file
in conftest.exe conftest conftest.
*; do
16844 test -f "$ac_file" || continue
16846 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
16847 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16855 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
16856 See \`config.log' for more details" "$LINENO" 5; }
16858 rm -f conftest conftest
$ac_cv_exeext
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16860 $as_echo "$ac_cv_exeext" >&6; }
16862 rm -f conftest.
$ac_ext
16863 EXEEXT
=$ac_cv_exeext
16865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16866 /* end confdefs.h. */
16871 FILE *f = fopen ("conftest.out", "w");
16872 return ferror (f) || fclose (f) != 0;
16878 ac_clean_files
="$ac_clean_files conftest.out"
16879 # Check that the compiler produces executables we can run. If not, either
16880 # the compiler is broken, or we cross compile.
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16882 $as_echo_n "checking whether we are cross compiling... " >&6; }
16883 if test "$cross_compiling" != yes; then
16884 { { ac_try
="$ac_link"
16885 case "(($ac_try" in
16886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16887 *) ac_try_echo=$ac_try;;
16889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16890 $as_echo "$ac_try_echo"; } >&5
16891 (eval "$ac_link") 2>&5
16893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16894 test $ac_status = 0; }
16895 if { ac_try='./conftest$ac_cv_exeext'
16896 { { case "(($ac_try" in
16897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16898 *) ac_try_echo
=$ac_try;;
16900 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16901 $as_echo "$ac_try_echo"; } >&5
16902 (eval "$ac_try") 2>&5
16904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16905 test $ac_status = 0; }; }; then
16908 if test "$cross_compiling" = maybe
; then
16909 cross_compiling
=yes
16911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16913 as_fn_error $?
"cannot run C compiled programs.
16914 If you meant to cross compile, use \`--host'.
16915 See \`config.log' for more details" "$LINENO" 5; }
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16920 $as_echo "$cross_compiling" >&6; }
16922 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
16923 ac_clean_files
=$ac_clean_files_save
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16925 $as_echo_n "checking for suffix of object files... " >&6; }
16926 if ${ac_cv_objext+:} false
; then :
16927 $as_echo_n "(cached) " >&6
16929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16940 rm -f conftest.o conftest.obj
16941 if { { ac_try
="$ac_compile"
16942 case "(($ac_try" in
16943 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16944 *) ac_try_echo=$ac_try;;
16946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16947 $as_echo "$ac_try_echo"; } >&5
16948 (eval "$ac_compile") 2>&5
16950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16951 test $ac_status = 0; }; then :
16952 for ac_file in conftest.o conftest.obj conftest.*; do
16953 test -f "$ac_file" || continue;
16955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16956 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16961 $as_echo "$as_me: failed program was:" >&5
16962 sed 's/^/| /' conftest.$ac_ext >&5
16964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16966 as_fn_error $? "cannot compute suffix of object files
: cannot compile
16967 See \
`config.log' for more details" "$LINENO" 5; }
16969 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16972 $as_echo "$ac_cv_objext" >&6; }
16973 OBJEXT=$ac_cv_objext
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16976 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16977 if ${ac_cv_c_compiler_gnu+:} false; then :
16978 $as_echo_n "(cached) " >&6
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16994 if ac_fn_c_try_compile "$LINENO"; then :
16995 ac_compiler_gnu=yes
16999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17000 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17004 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17005 if test $ac_compiler_gnu = yes; then
17010 ac_test_CFLAGS=${CFLAGS+set}
17011 ac_save_CFLAGS=$CFLAGS
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17013 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17014 if ${ac_cv_prog_cc_g+:} false; then :
17015 $as_echo_n "(cached) " >&6
17017 ac_save_c_werror_flag=$ac_c_werror_flag
17018 ac_c_werror_flag=yes
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17032 if ac_fn_c_try_compile "$LINENO"; then :
17033 ac_cv_prog_cc_g=yes
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17047 if ac_fn_c_try_compile "$LINENO"; then :
17050 ac_c_werror_flag=$ac_save_c_werror_flag
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17063 if ac_fn_c_try_compile "$LINENO"; then :
17064 ac_cv_prog_cc_g=yes
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 ac_c_werror_flag=$ac_save_c_werror_flag
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17074 $as_echo "$ac_cv_prog_cc_g" >&6; }
17075 if test "$ac_test_CFLAGS" = set; then
17076 CFLAGS=$ac_save_CFLAGS
17077 elif test $ac_cv_prog_cc_g = yes; then
17078 if test "$GCC" = yes; then
17084 if test "$GCC" = yes; then
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17091 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17092 if ${ac_cv_prog_cc_c89+:} false; then :
17093 $as_echo_n "(cached) " >&6
17095 ac_cv_prog_cc_c89=no
17097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17098 /* end confdefs.h. */
17099 #include <stdarg.h>
17102 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17103 struct buf { int x; };
17104 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17105 static char *e (p, i)
17111 static char *f (char * (*g) (char **, int), char **p, ...)
17116 s = g (p, va_arg (v,int));
17121 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17122 function prototypes and stuff, but not '\xHH' hex character constants.
17123 These don't provoke an error unfortunately, instead are silently treated
17124 as 'x'. The following induces an error, until -std is added to get
17125 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17126 array size at least. It's necessary to write '\x00'==0 to get something
17127 that's true only with -std. */
17128 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17130 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17131 inside strings and character constants. */
17133 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17135 int test (int i, double x);
17136 struct s1 {int (*f) (int a);};
17137 struct s2 {int (*f) (double a);};
17138 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17144 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17149 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17150 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17152 CC="$ac_save_CC $ac_arg"
17153 if ac_fn_c_try_compile "$LINENO"; then :
17154 ac_cv_prog_cc_c89=$ac_arg
17156 rm -f core conftest.err conftest.$ac_objext
17157 test "x$ac_cv_prog_cc_c89" != "xno" && break
17159 rm -f conftest.$ac_ext
17164 case "x$ac_cv_prog_cc_c89" in
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17167 $as_echo "none needed" >&6; } ;;
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17170 $as_echo "unsupported" >&6; } ;;
17172 CC="$CC $ac_cv_prog_cc_c89"
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17174 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17176 if test "x$ac_cv_prog_cc_c89" != xno; then :
17181 ac_cpp='$CPP $CPPFLAGS'
17182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17194 ac_cpp='$CPP $CPPFLAGS'
17195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17200 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17201 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17202 $as_echo_n "(cached) " >&6
17204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17211 #ifndef __INTEL_COMPILER
17219 if ac_fn_c_try_compile "$LINENO"; then :
17220 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17222 bakefile_cv_c_compiler___INTEL_COMPILER=no
17225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17230 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17231 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17237 ac_cpp='$CPP $CPPFLAGS'
17238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17245 if test "$INTELCC" = "yes"; then
17249 ac_cpp='$CPP $CPPFLAGS'
17250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17255 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17256 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17257 $as_echo_n "(cached) " >&6
17259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17260 /* end confdefs.h. */
17266 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17274 if ac_fn_c_try_compile "$LINENO"; then :
17275 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17277 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17285 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17286 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17292 ac_cpp='$CPP $CPPFLAGS'
17293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17302 ac_cpp='$CPP $CPPFLAGS'
17303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17308 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17309 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17310 $as_echo_n "(cached) " >&6
17312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17313 /* end confdefs.h. */
17319 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17327 if ac_fn_c_try_compile "$LINENO"; then :
17328 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17330 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17338 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17339 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17345 ac_cpp='$CPP $CPPFLAGS'
17346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17354 if test "x$GCC" != "xyes"; then
17355 if test "xCC" = "xC"; then
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17357 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17358 if ${bakefile_cv_c_exto+:} false; then :
17359 $as_echo_n "(cached) " >&6
17361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17372 rm -f conftest.$ac_objext conftest.$ac_ext.o
17373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17374 (eval $ac_compile) 2>&5
17376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17377 test $ac_status = 0; }; then :
17378 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
17380 conftest.$ac_ext.o)
17381 bakefile_cv_c_exto="-ext o"
17388 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17390 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
17391 See \
`config.log' for more details" "$LINENO" 5; }
17394 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17398 $as_echo "$bakefile_cv_c_exto" >&6; }
17399 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17400 if test "c" = "c"; then
17401 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17403 if test "c" = "cxx"; then
17404 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17408 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17409 unset ac_cv_prog_cc_g
17410 ac_test_CFLAGS=${CFLAGS+set}
17411 ac_save_CFLAGS=$CFLAGS
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17413 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17414 if ${ac_cv_prog_cc_g+:} false; then :
17415 $as_echo_n "(cached) " >&6
17417 ac_save_c_werror_flag=$ac_c_werror_flag
17418 ac_c_werror_flag=yes
17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h. */
17432 if ac_fn_c_try_compile "$LINENO"; then :
17433 ac_cv_prog_cc_g=yes
17436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17437 /* end confdefs.h. */
17447 if ac_fn_c_try_compile "$LINENO"; then :
17450 ac_c_werror_flag=$ac_save_c_werror_flag
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h. */
17463 if ac_fn_c_try_compile "$LINENO"; then :
17464 ac_cv_prog_cc_g=yes
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17471 ac_c_werror_flag=$ac_save_c_werror_flag
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17474 $as_echo "$ac_cv_prog_cc_g" >&6; }
17475 if test "$ac_test_CFLAGS" = set; then
17476 CFLAGS=$ac_save_CFLAGS
17477 elif test $ac_cv_prog_cc_g = yes; then
17478 if test "$GCC" = yes; then
17484 if test "$GCC" = yes; then
17498 ac_cpp='$CPP $CPPFLAGS'
17499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17504 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17505 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17506 $as_echo_n "(cached) " >&6
17508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17509 /* end confdefs.h. */
17523 if ac_fn_c_try_compile "$LINENO"; then :
17524 bakefile_cv_c_compiler___xlC__=yes
17526 bakefile_cv_c_compiler___xlC__=no
17529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17534 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17535 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17541 ac_cpp='$CPP $CPPFLAGS'
17542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17554 ac_cpp='$CPP $CPPFLAGS'
17555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17560 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17561 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17562 $as_echo_n "(cached) " >&6
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17579 if ac_fn_c_try_compile "$LINENO"; then :
17580 bakefile_cv_c_compiler___MWERKS__=yes
17582 bakefile_cv_c_compiler___MWERKS__=no
17585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17590 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17591 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17597 ac_cpp='$CPP $CPPFLAGS'
17598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17604 if test "$MWCC" != "yes"; then
17608 ac_cpp='$CPP $CPPFLAGS'
17609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17614 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17615 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17616 $as_echo_n "(cached) " >&6
17618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h. */
17633 if ac_fn_c_try_compile "$LINENO"; then :
17634 bakefile_cv_c_compiler___xlC__=yes
17636 bakefile_cv_c_compiler___xlC__=no
17639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17644 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17645 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17651 ac_cpp='$CPP $CPPFLAGS'
17652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17671 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17672 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17673 $as_echo_n "(cached) " >&6
17675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17676 /* end confdefs.h. */
17682 #ifndef _SGI_COMPILER_VERSION
17690 if ac_fn_c_try_compile "$LINENO"; then :
17691 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17693 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17701 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17702 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17708 ac_cpp='$CPP $CPPFLAGS'
17709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17718 if test "$INTELCC" != "yes"; then
17722 ac_cpp='$CPP $CPPFLAGS'
17723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17728 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17729 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17730 $as_echo_n "(cached) " >&6
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17747 if ac_fn_c_try_compile "$LINENO"; then :
17748 bakefile_cv_c_compiler___SUNPRO_C=yes
17750 bakefile_cv_c_compiler___SUNPRO_C=no
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17758 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17759 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17765 ac_cpp='$CPP $CPPFLAGS'
17766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17779 ac_cpp='$CPP $CPPFLAGS'
17780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17785 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17786 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17787 $as_echo_n "(cached) " >&6
17789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h. */
17804 if ac_fn_c_try_compile "$LINENO"; then :
17805 bakefile_cv_c_compiler___HP_cc=yes
17807 bakefile_cv_c_compiler___HP_cc=no
17810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17815 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17816 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17822 ac_cpp='$CPP $CPPFLAGS'
17823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17835 ac_cpp='$CPP $CPPFLAGS'
17836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17841 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17842 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17843 $as_echo_n "(cached) " >&6
17845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17846 /* end confdefs.h. */
17860 if ac_fn_c_try_compile "$LINENO"; then :
17861 bakefile_cv_c_compiler___DECC=yes
17863 bakefile_cv_c_compiler___DECC=no
17866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17871 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17872 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17878 ac_cpp='$CPP $CPPFLAGS'
17879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17891 ac_cpp='$CPP $CPPFLAGS'
17892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17897 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17898 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17899 $as_echo_n "(cached) " >&6
17901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17902 /* end confdefs.h. */
17916 if ac_fn_c_try_compile "$LINENO"; then :
17917 bakefile_cv_c_compiler___SUNPRO_C=yes
17919 bakefile_cv_c_compiler___SUNPRO_C=no
17922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17927 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17928 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17934 ac_cpp='$CPP $CPPFLAGS'
17935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17948 ac_cpp='$CPP $CPPFLAGS'
17949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17953 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17954 # On Suns, sometimes $CPP names a directory.
17955 if test -n "$CPP" && test -d "$CPP"; then
17958 if test -z "$CPP"; then
17959 if ${ac_cv_prog_CPP+:} false; then :
17960 $as_echo_n "(cached) " >&6
17962 # Double quotes because CPP needs to be expanded
17963 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17965 ac_preproc_ok=false
17966 for ac_c_preproc_warn_flag in '' yes
17968 # Use a header file that comes with gcc, so configuring glibc
17969 # with a fresh cross-compiler works.
17970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17971 # <limits.h> exists even on freestanding compilers.
17972 # On the NeXT, cc -E runs the code through the compiler's parser,
17973 # not just through cpp. "Syntax error" is here to catch this case.
17974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h. */
17977 # include <limits.h>
17979 # include <assert.h>
17983 if ac_fn_c_try_cpp "$LINENO"; then :
17986 # Broken: fails on valid input.
17989 rm -f conftest.err conftest.i conftest.$ac_ext
17991 # OK, works on sane cases. Now check whether nonexistent headers
17992 # can be detected and how.
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17995 #include <ac_nonexistent.h>
17997 if ac_fn_c_try_cpp "$LINENO"; then :
17998 # Broken: success on invalid input.
18001 # Passes both tests.
18005 rm -f conftest.err conftest.i conftest.$ac_ext
18008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18009 rm -f conftest.i conftest.err conftest.
$ac_ext
18010 if $ac_preproc_ok; then :
18015 ac_cv_prog_CPP
=$CPP
18018 CPP
=$ac_cv_prog_CPP
18020 ac_cv_prog_CPP
=$CPP
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18023 $as_echo "$CPP" >&6; }
18024 ac_preproc_ok
=false
18025 for ac_c_preproc_warn_flag
in '' yes
18027 # Use a header file that comes with gcc, so configuring glibc
18028 # with a fresh cross-compiler works.
18029 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18030 # <limits.h> exists even on freestanding compilers.
18031 # On the NeXT, cc -E runs the code through the compiler's parser,
18032 # not just through cpp. "Syntax error" is here to catch this case.
18033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18036 # include <limits.h>
18038 # include <assert.h>
18042 if ac_fn_c_try_cpp
"$LINENO"; then :
18045 # Broken: fails on valid input.
18048 rm -f conftest.err conftest.i conftest.
$ac_ext
18050 # OK, works on sane cases. Now check whether nonexistent headers
18051 # can be detected and how.
18052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18053 /* end confdefs.h. */
18054 #include <ac_nonexistent.h>
18056 if ac_fn_c_try_cpp
"$LINENO"; then :
18057 # Broken: success on invalid input.
18060 # Passes both tests.
18064 rm -f conftest.err conftest.i conftest.
$ac_ext
18067 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18068 rm -f conftest.i conftest.err conftest.
$ac_ext
18069 if $ac_preproc_ok; then :
18072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18074 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
18075 See \`config.log' for more details" "$LINENO" 5; }
18079 ac_cpp
='$CPP $CPPFLAGS'
18080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18086 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18087 if ${ac_cv_path_GREP+:} false
; then :
18088 $as_echo_n "(cached) " >&6
18090 if test -z "$GREP"; then
18091 ac_path_GREP_found
=false
18092 # Loop through the user's path and test for each of PROGNAME-LIST
18093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18094 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18097 test -z "$as_dir" && as_dir
=.
18098 for ac_prog
in grep ggrep
; do
18099 for ac_exec_ext
in '' $ac_executable_extensions; do
18100 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18101 as_fn_executable_p
"$ac_path_GREP" || continue
18102 # Check for GNU ac_path_GREP and select it if it is found.
18103 # Check for GNU $ac_path_GREP
18104 case `"$ac_path_GREP" --version 2>&1` in
18106 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18109 $as_echo_n 0123456789 >"conftest.in"
18112 cat "conftest.in" "conftest.in" >"conftest.tmp"
18113 mv "conftest.tmp" "conftest.in"
18114 cp "conftest.in" "conftest.nl"
18115 $as_echo 'GREP' >> "conftest.nl"
18116 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18117 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18118 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18119 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18120 # Best one so far, save it but keep looking for a better one
18121 ac_cv_path_GREP
="$ac_path_GREP"
18122 ac_path_GREP_max
=$ac_count
18124 # 10*(2^10) chars as input seems more than enough
18125 test $ac_count -gt 10 && break
18127 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18130 $ac_path_GREP_found && break 3
18135 if test -z "$ac_cv_path_GREP"; then
18136 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18139 ac_cv_path_GREP
=$GREP
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18144 $as_echo "$ac_cv_path_GREP" >&6; }
18145 GREP
="$ac_cv_path_GREP"
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18149 $as_echo_n "checking for egrep... " >&6; }
18150 if ${ac_cv_path_EGREP+:} false
; then :
18151 $as_echo_n "(cached) " >&6
18153 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18154 then ac_cv_path_EGREP
="$GREP -E"
18156 if test -z "$EGREP"; then
18157 ac_path_EGREP_found
=false
18158 # Loop through the user's path and test for each of PROGNAME-LIST
18159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18160 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18163 test -z "$as_dir" && as_dir
=.
18164 for ac_prog
in egrep; do
18165 for ac_exec_ext
in '' $ac_executable_extensions; do
18166 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18167 as_fn_executable_p
"$ac_path_EGREP" || continue
18168 # Check for GNU ac_path_EGREP and select it if it is found.
18169 # Check for GNU $ac_path_EGREP
18170 case `"$ac_path_EGREP" --version 2>&1` in
18172 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18175 $as_echo_n 0123456789 >"conftest.in"
18178 cat "conftest.in" "conftest.in" >"conftest.tmp"
18179 mv "conftest.tmp" "conftest.in"
18180 cp "conftest.in" "conftest.nl"
18181 $as_echo 'EGREP' >> "conftest.nl"
18182 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18183 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18184 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18185 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18186 # Best one so far, save it but keep looking for a better one
18187 ac_cv_path_EGREP
="$ac_path_EGREP"
18188 ac_path_EGREP_max
=$ac_count
18190 # 10*(2^10) chars as input seems more than enough
18191 test $ac_count -gt 10 && break
18193 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18196 $ac_path_EGREP_found && break 3
18201 if test -z "$ac_cv_path_EGREP"; then
18202 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18205 ac_cv_path_EGREP
=$EGREP
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18211 $as_echo "$ac_cv_path_EGREP" >&6; }
18212 EGREP
="$ac_cv_path_EGREP"
18215 if test $ac_cv_c_compiler_gnu = yes; then
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18217 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18218 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18219 $as_echo_n "(cached) " >&6
18221 ac_pattern
="Autoconf.*'x'"
18222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18223 /* end confdefs.h. */
18227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18228 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18229 ac_cv_prog_gcc_traditional
=yes
18231 ac_cv_prog_gcc_traditional
=no
18236 if test $ac_cv_prog_gcc_traditional = no
; then
18237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18238 /* end confdefs.h. */
18239 #include <termio.h>
18242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18243 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18244 ac_cv_prog_gcc_traditional
=yes
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18251 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18252 if test $ac_cv_prog_gcc_traditional = yes; then
18253 CC
="$CC -traditional"
18258 CXXFLAGS
=${CXXFLAGS:=}
18260 ac_cpp
='$CXXCPP $CPPFLAGS'
18261 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18262 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18263 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18264 if test -z "$CXX"; then
18265 if test -n "$CCC"; then
18268 if test -n "$ac_tool_prefix"; then
18269 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18272 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18274 $as_echo_n "checking for $ac_word... " >&6; }
18275 if ${ac_cv_prog_CXX+:} false
; then :
18276 $as_echo_n "(cached) " >&6
18278 if test -n "$CXX"; then
18279 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18282 for as_dir
in $PATH
18285 test -z "$as_dir" && as_dir
=.
18286 for ac_exec_ext
in '' $ac_executable_extensions; do
18287 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18288 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18298 CXX
=$ac_cv_prog_CXX
18299 if test -n "$CXX"; then
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18301 $as_echo "$CXX" >&6; }
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18304 $as_echo "no" >&6; }
18308 test -n "$CXX" && break
18311 if test -z "$CXX"; then
18313 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18315 # Extract the first word of "$ac_prog", so it can be a program name with args.
18316 set dummy
$ac_prog; ac_word
=$2
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18318 $as_echo_n "checking for $ac_word... " >&6; }
18319 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18320 $as_echo_n "(cached) " >&6
18322 if test -n "$ac_ct_CXX"; then
18323 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18326 for as_dir
in $PATH
18329 test -z "$as_dir" && as_dir
=.
18330 for ac_exec_ext
in '' $ac_executable_extensions; do
18331 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18332 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18342 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18343 if test -n "$ac_ct_CXX"; then
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18345 $as_echo "$ac_ct_CXX" >&6; }
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18348 $as_echo "no" >&6; }
18352 test -n "$ac_ct_CXX" && break
18355 if test "x$ac_ct_CXX" = x
; then
18358 case $cross_compiling:$ac_tool_warned in
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18362 ac_tool_warned
=yes ;;
18370 # Provide some information about the compiler.
18371 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18374 for ac_option
in --version -v -V -qversion; do
18375 { { ac_try
="$ac_compiler $ac_option >&5"
18376 case "(($ac_try" in
18377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18378 *) ac_try_echo=$ac_try;;
18380 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18381 $as_echo "$ac_try_echo"; } >&5
18382 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18384 if test -s conftest.err; then
18386 ... rest of stderr output deleted ...
18387 10q' conftest.err >conftest.er1
18388 cat conftest.er1 >&5
18390 rm -f conftest.er1 conftest.err
18391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18392 test $ac_status = 0; }
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18396 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18397 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18398 $as_echo_n "(cached) " >&6
18400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18401 /* end confdefs.h. */
18414 if ac_fn_cxx_try_compile "$LINENO"; then :
18415 ac_compiler_gnu=yes
18419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18420 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18424 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18425 if test $ac_compiler_gnu = yes; then
18430 ac_test_CXXFLAGS=${CXXFLAGS+set}
18431 ac_save_CXXFLAGS=$CXXFLAGS
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18433 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18434 if ${ac_cv_prog_cxx_g+:} false; then :
18435 $as_echo_n "(cached) " >&6
18437 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18438 ac_cxx_werror_flag=yes
18439 ac_cv_prog_cxx_g=no
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18452 if ac_fn_cxx_try_compile "$LINENO"; then :
18453 ac_cv_prog_cxx_g=yes
18456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18457 /* end confdefs.h. */
18467 if ac_fn_cxx_try_compile "$LINENO"; then :
18470 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18483 if ac_fn_cxx_try_compile "$LINENO"; then :
18484 ac_cv_prog_cxx_g=yes
18486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18491 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18494 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18495 if test "$ac_test_CXXFLAGS" = set; then
18496 CXXFLAGS=$ac_save_CXXFLAGS
18497 elif test $ac_cv_prog_cxx_g = yes; then
18498 if test "$GXX" = yes; then
18504 if test "$GXX" = yes; then
18511 ac_cpp='$CPP $CPPFLAGS'
18512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18524 ac_cpp='$CXXCPP $CPPFLAGS'
18525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18530 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18531 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18532 $as_echo_n "(cached) " >&6
18534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18541 #ifndef __INTEL_COMPILER
18549 if ac_fn_cxx_try_compile "$LINENO"; then :
18550 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18552 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18560 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18561 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18567 ac_cpp='$CPP $CPPFLAGS'
18568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18575 if test "$INTELCXX" = "yes"; then
18579 ac_cpp='$CXXCPP $CPPFLAGS'
18580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18585 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18586 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18587 $as_echo_n "(cached) " >&6
18589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h. */
18596 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18604 if ac_fn_cxx_try_compile "$LINENO"; then :
18605 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18607 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18615 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18616 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18622 ac_cpp='$CPP $CPPFLAGS'
18623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18632 ac_cpp='$CXXCPP $CPPFLAGS'
18633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18638 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18639 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18640 $as_echo_n "(cached) " >&6
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18649 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18657 if ac_fn_cxx_try_compile "$LINENO"; then :
18658 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18660 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18668 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18669 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18675 ac_cpp='$CPP $CPPFLAGS'
18676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18684 if test "x$GCXX" != "xyes"; then
18685 if test "xCXX" = "xC"; then
18686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18687 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18688 if ${bakefile_cv_c_exto+:} false; then :
18689 $as_echo_n "(cached) " >&6
18691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h. */
18702 rm -f conftest.$ac_objext conftest.$ac_ext.o
18703 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18704 (eval $ac_compile) 2>&5
18706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18707 test $ac_status = 0; }; then :
18708 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18710 conftest.$ac_ext.o)
18711 bakefile_cv_c_exto="-ext o"
18718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18720 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18721 See \
`config.log' for more details" "$LINENO" 5; }
18724 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18728 $as_echo "$bakefile_cv_c_exto" >&6; }
18729 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18730 if test "c" = "c"; then
18731 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18733 if test "c" = "cxx"; then
18734 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18738 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18739 unset ac_cv_prog_cc_g
18740 ac_test_CFLAGS=${CFLAGS+set}
18741 ac_save_CFLAGS=$CFLAGS
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18743 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18744 if ${ac_cv_prog_cc_g+:} false; then :
18745 $as_echo_n "(cached) " >&6
18747 ac_save_c_werror_flag=$ac_c_werror_flag
18748 ac_c_werror_flag=yes
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18762 if ac_fn_c_try_compile "$LINENO"; then :
18763 ac_cv_prog_cc_g=yes
18766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18767 /* end confdefs.h. */
18777 if ac_fn_c_try_compile "$LINENO"; then :
18780 ac_c_werror_flag=$ac_save_c_werror_flag
18782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18783 /* end confdefs.h. */
18793 if ac_fn_c_try_compile "$LINENO"; then :
18794 ac_cv_prog_cc_g=yes
18796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18801 ac_c_werror_flag=$ac_save_c_werror_flag
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18804 $as_echo "$ac_cv_prog_cc_g" >&6; }
18805 if test "$ac_test_CFLAGS" = set; then
18806 CFLAGS=$ac_save_CFLAGS
18807 elif test $ac_cv_prog_cc_g = yes; then
18808 if test "$GCC" = yes; then
18814 if test "$GCC" = yes; then
18828 ac_cpp='$CXXCPP $CPPFLAGS'
18829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18834 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18835 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18836 $as_echo_n "(cached) " >&6
18838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18839 /* end confdefs.h. */
18853 if ac_fn_cxx_try_compile "$LINENO"; then :
18854 bakefile_cv_cxx_compiler___xlC__=yes
18856 bakefile_cv_cxx_compiler___xlC__=no
18859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18864 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18865 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18871 ac_cpp='$CPP $CPPFLAGS'
18872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18884 ac_cpp='$CXXCPP $CPPFLAGS'
18885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18890 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18891 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18892 $as_echo_n "(cached) " >&6
18894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18895 /* end confdefs.h. */
18909 if ac_fn_cxx_try_compile "$LINENO"; then :
18910 bakefile_cv_cxx_compiler___MWERKS__=yes
18912 bakefile_cv_cxx_compiler___MWERKS__=no
18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18920 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18921 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18927 ac_cpp='$CPP $CPPFLAGS'
18928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18934 if test "$MWCXX" != "yes"; then
18938 ac_cpp='$CXXCPP $CPPFLAGS'
18939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18944 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18945 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18946 $as_echo_n "(cached) " >&6
18948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18949 /* end confdefs.h. */
18963 if ac_fn_cxx_try_compile "$LINENO"; then :
18964 bakefile_cv_cxx_compiler___xlC__=yes
18966 bakefile_cv_cxx_compiler___xlC__=no
18969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18974 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18975 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18981 ac_cpp='$CPP $CPPFLAGS'
18982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18995 ac_cpp='$CXXCPP $CPPFLAGS'
18996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
19001 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
19002 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
19003 $as_echo_n "(cached) " >&6
19005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h. */
19012 #ifndef _SGI_COMPILER_VERSION
19020 if ac_fn_cxx_try_compile "$LINENO"; then :
19021 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19023 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19031 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19032 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19038 ac_cpp='$CPP $CPPFLAGS'
19039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19048 if test "$INTELCXX" != "yes"; then
19052 ac_cpp='$CXXCPP $CPPFLAGS'
19053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19058 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19059 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19060 $as_echo_n "(cached) " >&6
19062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19063 /* end confdefs.h. */
19069 #ifndef __SUNPRO_CC
19077 if ac_fn_cxx_try_compile "$LINENO"; then :
19078 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19080 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19088 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19089 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19095 ac_cpp='$CPP $CPPFLAGS'
19096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19109 ac_cpp='$CXXCPP $CPPFLAGS'
19110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19115 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19116 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19117 $as_echo_n "(cached) " >&6
19119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h. */
19134 if ac_fn_cxx_try_compile "$LINENO"; then :
19135 bakefile_cv_cxx_compiler___HP_aCC=yes
19137 bakefile_cv_cxx_compiler___HP_aCC=no
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19145 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19146 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19152 ac_cpp='$CPP $CPPFLAGS'
19153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19165 ac_cpp='$CXXCPP $CPPFLAGS'
19166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19171 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19172 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19173 $as_echo_n "(cached) " >&6
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19190 if ac_fn_cxx_try_compile "$LINENO"; then :
19191 bakefile_cv_cxx_compiler___DECCXX=yes
19193 bakefile_cv_cxx_compiler___DECCXX=no
19196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19201 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19202 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19208 ac_cpp='$CPP $CPPFLAGS'
19209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19221 ac_cpp='$CXXCPP $CPPFLAGS'
19222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19227 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19228 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19229 $as_echo_n "(cached) " >&6
19231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h. */
19238 #ifndef __SUNPRO_CC
19246 if ac_fn_cxx_try_compile "$LINENO"; then :
19247 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19249 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19257 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19258 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19264 ac_cpp='$CPP $CPPFLAGS'
19265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19277 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19278 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19281 if test "x$SUNCXX" != xyes; then
19282 if test -n "$ac_tool_prefix"; then
19283 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19284 set dummy ${ac_tool_prefix}ar; ac_word=$2
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19286 $as_echo_n "checking for $ac_word... " >&6; }
19287 if ${ac_cv_prog_AR+:} false; then :
19288 $as_echo_n "(cached) " >&6
19290 if test -n "$AR"; then
19291 ac_cv_prog_AR="$AR" # Let the user override the test.
19293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19294 for as_dir in $PATH
19297 test -z "$as_dir" && as_dir=.
19298 for ac_exec_ext in '' $ac_executable_extensions; do
19299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19300 ac_cv_prog_AR="${ac_tool_prefix}ar"
19301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19311 if test -n "$AR"; then
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19313 $as_echo "$AR" >&6; }
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19316 $as_echo "no" >&6; }
19321 if test -z "$ac_cv_prog_AR"; then
19323 # Extract the first word of "ar", so it can be a program name with args.
19324 set dummy ar; ac_word=$2
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19326 $as_echo_n "checking for $ac_word... " >&6; }
19327 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19328 $as_echo_n "(cached) " >&6
19330 if test -n "$ac_ct_AR"; then
19331 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19334 for as_dir in $PATH
19337 test -z "$as_dir" && as_dir=.
19338 for ac_exec_ext in '' $ac_executable_extensions; do
19339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19340 ac_cv_prog_ac_ct_AR="ar"
19341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19350 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19351 if test -n "$ac_ct_AR"; then
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19353 $as_echo "$ac_ct_AR" >&6; }
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19356 $as_echo "no" >&6; }
19359 if test "x$ac_ct_AR" = x; then
19362 case $cross_compiling:$ac_tool_warned in
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19366 ac_tool_warned=yes ;;
19371 AR="$ac_cv_prog_AR"
19374 if test "x$AR" = "x" ; then
19375 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19380 if test "$wxUSE_MAC" = 1; then
19382 retest_macosx_linking=no
19386 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19387 if test "x$wxUSE_MAC_ARCH" != xno; then
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19389 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19392 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19393 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19394 else OSX_ARCH_OPTS="ppc,i386"
19395 if test "$wxUSE_OSX_COCOA" = 1; then
19396 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19401 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19403 $as_echo "$OSX_ARCH_OPTS" >&6; }
19405 retest_macosx_linking=yes
19407 if test "x$wxUSE_MAC_ARCH" != xno; then
19408 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19412 if test "x$OSX_ARCH_OPTS" != "x"; then
19413 if echo $OSX_ARCH_OPTS | grep -q ","; then
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19415 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19416 disable_macosx_deps=yes
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19419 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19423 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19425 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19426 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19427 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19428 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19429 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19432 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19434 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19435 # TODO: Search for most recent SDK and use it.
19436 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19440 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19442 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19443 if ! test -d "$wxUSE_MACOSX_SDK"; then
19444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19446 as_fn_error $? "not found
19447 See \
`config.log' for more details" "$LINENO" 5; }
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19450 $as_echo "exists" >&6; }
19452 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19453 retest_macosx_linking=yes
19456 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19457 wxUSE_MACOSX_VERSION_MIN=
19458 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19459 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19461 $as_echo_n "checking SDK deployment version... " >&6; }
19463 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/'`
19465 # If that failed, try again with the new key
19466 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19468 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/'`
19472 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19473 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19475 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19478 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19479 wxUSE_MACOSX_VERSION_MIN=
19482 wxUSE_MACOSX_VERSION_MIN=
19484 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19485 wxUSE_MACOSX_VERSION_MIN=10.5
19488 if test "x$MACOSX_SDK_OPTS" != "x"; then
19489 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19490 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19491 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19492 retest_macosx_linking=yes
19495 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19496 if test "$wxUSE_OSX_IPHONE" = 1; then
19497 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19499 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19501 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19502 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19503 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19504 retest_macosx_linking=yes
19507 if test "x$retest_macosx_linking" = "xyes"; then
19509 ac_cpp='$CPP $CPPFLAGS'
19510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19515 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19517 /* end confdefs.h. */
19527 if ac_fn_c_try_link "$LINENO"; then :
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19529 $as_echo "yes" >&6; }
19531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19533 as_fn_error $? "no. Try a different SDK
19534 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19536 rm -f core conftest.err conftest.$ac_objext \
19537 conftest$ac_exeext conftest.$ac_ext
19539 ac_cpp='$CPP $CPPFLAGS'
19540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19546 ac_cpp='$CXXCPP $CPPFLAGS'
19547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19552 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19564 if ac_fn_cxx_try_link "$LINENO"; then :
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19566 $as_echo "yes" >&6; }
19568 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19569 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19570 as_fn_error $? "no. Try a different SDK
19571 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19573 rm -f core conftest.err conftest.$ac_objext \
19574 conftest$ac_exeext conftest.$ac_ext
19576 ac_cpp='$CPP $CPPFLAGS'
19577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19587 INSTALL_PROGRAM="cp -fp"
19588 INSTALL_DATA="cp -fp"
19595 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19596 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19599 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19600 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19603 if test "x$USE_AIX" = "x1"; then
19604 if test "x$XLCXX" = "xyes"; then
19605 CXXFLAGS="-qunique $CXXFLAGS"
19608 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19612 powerpc-*-darwin* )
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19614 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19616 /* end confdefs.h. */
19621 #ifndef __POWERPC__
19622 choke me for lack of PowerPC
19629 if ac_fn_c_try_compile "$LINENO"; then :
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19631 $as_echo "yes" >&6; }
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19634 $as_echo "no" >&6; }
19635 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19646 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19649 #include <CoreFoundation/CFBase.h>
19659 if ac_fn_c_try_compile "$LINENO"; then :
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19661 $as_echo "yes" >&6; }
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19664 $as_echo "no" >&6; }
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19666 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h. */
19669 #define __CF_USE_FRAMEWORK_INCLUDES__
19670 #include <CoreFoundation/CFBase.h>
19680 if ac_fn_c_try_compile "$LINENO"; then :
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19682 $as_echo "yes" >&6; }
19683 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19687 as_fn_error $? "no. CoreFoundation not available.
19688 See \
`config.log' for more details" "$LINENO" 5; }
19691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19700 doesnt_want_win32=0
19703 if test "$wxUSE_MSW" = 1 ; then
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19707 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19708 if ${wx_cv_nocygwin+:} false; then :
19709 $as_echo_n "(cached) " >&6
19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19727 if ac_fn_c_try_compile "$LINENO"; then :
19733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19738 $as_echo "$wx_cv_nocygwin" >&6; }
19740 if test "$wx_cv_nocygwin" = "yes"; then
19743 doesnt_want_win32=1
19746 if test "$wants_win32" = 1 ; then
19747 BAKEFILE_FORCE_PLATFORM=win32
19755 if test "$wxUSE_WINE" = "yes"; then
19757 LDFLAGS_GUI="-mwindows"
19760 if test "$wants_win32" = 1 ; then
19763 $as_echo "#define __WIN32__ 1" >>confdefs.h
19765 $as_echo "#define __WIN95__ 1" >>confdefs.h
19767 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19769 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19771 $as_echo "#define STRICT 1" >>confdefs.h
19774 if test "$doesnt_want_win32" = 1 ; then
19779 if test "$USE_UNIX" = 1 ; then
19781 $as_echo "#define __UNIX__ 1" >>confdefs.h
19786 *-pc-os2_emx | *-pc-os2-emx )
19787 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19789 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19790 if ${ac_cv_lib_cExt_drand48+:} false; then :
19791 $as_echo_n "(cached) " >&6
19793 ac_check_lib_save_LIBS=$LIBS
19794 LIBS="-lcExt $LIBS"
19795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19796 /* end confdefs.h. */
19798 /* Override any GCC internal prototype to avoid an error.
19799 Use char because int might match the return type of a GCC
19800 builtin and then its argument prototype would still apply. */
19813 if ac_fn_c_try_link "$LINENO"; then :
19814 ac_cv_lib_cExt_drand48=yes
19816 ac_cv_lib_cExt_drand48=no
19818 rm -f core conftest.err conftest.$ac_objext \
19819 conftest$ac_exeext conftest.$ac_ext
19820 LIBS=$ac_check_lib_save_LIBS
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19823 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19824 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19825 LIBS="$LIBS -lcExt"
19829 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19832 $as_echo_n "checking for gcc/libc version... " >&6; }
19833 if ${wx_cv_gccversion+:} false; then :
19834 $as_echo_n "(cached) " >&6
19837 if test "$cross_compiling" = yes; then :
19838 wx_cv_gccversion="EMX2"
19841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19842 /* end confdefs.h. */
19848 FILE *f=fopen("conftestval", "w");
19853 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19855 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19865 if ac_fn_c_try_run "$LINENO"; then :
19866 wx_cv_gccversion=`cat conftestval
`
19868 wx_cv_gccversion="EMX2"
19870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19871 conftest.$ac_objext conftest.beam conftest.$ac_ext
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19877 $as_echo "$wx_cv_gccversion" >&6; }
19878 if test "$wx_cv_gccversion" = "EMX2"; then
19879 LIBS="$LIBS -lstdcpp"
19880 LDFLAGS="$LDFLAGS -Zsysv-signals"
19882 if test "$wx_cv_gccversion" = "EMX3"; then
19883 LIBS="$LIBS -lstdcxx -lgcc"
19884 LDFLAGS="$LDFLAGS -Zsysv-signals"
19886 LIBS="$LIBS -lstdc++"
19889 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19891 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19899 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19900 if ${ac_cv_string_strcasecmp+:} false; then :
19901 $as_echo_n "(cached) " >&6
19904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19905 /* end confdefs.h. */
19907 #include <string.h>
19913 strcasecmp("foo", "bar");
19919 if ac_fn_c_try_link "$LINENO"; then :
19920 ac_cv_string_strcasecmp=yes
19922 ac_cv_string_strcasecmp=no
19925 rm -f core conftest.err conftest.$ac_objext \
19926 conftest$ac_exeext conftest.$ac_ext
19929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19930 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19932 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19933 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19937 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19938 if ${ac_cv_strings_strcasecmp+:} false; then :
19939 $as_echo_n "(cached) " >&6
19942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19943 /* end confdefs.h. */
19945 #include <strings.h>
19951 strcasecmp("foo", "bar");
19957 if ac_fn_c_try_link "$LINENO"; then :
19958 ac_cv_strings_strcasecmp=yes
19960 ac_cv_strings_strcasecmp=no
19963 rm -f core conftest.err conftest.$ac_objext \
19964 conftest$ac_exeext conftest.$ac_ext
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19968 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19970 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19971 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19974 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19983 $as_echo_n "checking for ANSI C header files... " >&6; }
19984 if ${ac_cv_header_stdc+:} false; then :
19985 $as_echo_n "(cached) " >&6
19987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19988 /* end confdefs.h. */
19989 #include <stdlib.h>
19990 #include <stdarg.h>
19991 #include <string.h>
20002 if ac_fn_c_try_compile "$LINENO"; then :
20003 ac_cv_header_stdc=yes
20005 ac_cv_header_stdc=no
20007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20009 if test $ac_cv_header_stdc = yes; then
20010 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20012 /* end confdefs.h. */
20013 #include <string.h>
20016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20017 $EGREP "memchr" >/dev/null 2>&1; then :
20020 ac_cv_header_stdc=no
20026 if test $ac_cv_header_stdc = yes; then
20027 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20029 /* end confdefs.h. */
20030 #include <stdlib.h>
20033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20034 $EGREP "free" >/dev/null 2>&1; then :
20037 ac_cv_header_stdc=no
20043 if test $ac_cv_header_stdc = yes; then
20044 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20045 if test "$cross_compiling" = yes; then :
20048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20049 /* end confdefs.h. */
20051 #include <stdlib.h>
20052 #if ((' ' & 0x0FF) == 0x020)
20053 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20054 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20056 # define ISLOWER(c) \
20057 (('a' <= (c) && (c) <= 'i') \
20058 || ('j' <= (c) && (c) <= 'r') \
20059 || ('s' <= (c) && (c) <= 'z'))
20060 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20063 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20068 for (i = 0; i < 256; i++)
20069 if (XOR (islower (i), ISLOWER (i))
20070 || toupper (i) != TOUPPER (i))
20075 if ac_fn_c_try_run "$LINENO"; then :
20078 ac_cv_header_stdc=no
20080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20081 conftest.$ac_objext conftest.beam conftest.$ac_ext
20086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20087 $as_echo "$ac_cv_header_stdc" >&6; }
20088 if test $ac_cv_header_stdc = yes; then
20090 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20094 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20095 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20096 inttypes.h stdint.h unistd.h
20098 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20099 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20101 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20102 cat >>confdefs.h <<_ACEOF
20103 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20111 for ac_header in langinfo.h wchar.h
20113 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20114 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20116 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20117 cat >>confdefs.h <<_ACEOF
20118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20126 if test "$ac_cv_header_wchar_h" != "yes"; then
20127 for ac_header in wcstr.h
20129 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20131 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20132 cat >>confdefs.h <<_ACEOF
20133 #define HAVE_WCSTR_H 1
20143 *-pc-os2_emx | *-pc-os2-emx )
20144 if test $ac_cv_header_langinfo_h = "yes" \
20145 -a \( "$wx_cv_gccversion" = "EMX2" \
20146 -o "$wx_cv_gccversion" = "EMX3" \
20147 -o "$wx_cv_gccversion" = "Innotek5" \); then
20148 LIBS="$LIBS -lintl"
20153 if test "$USE_UNIX" = 1 ; then
20154 for ac_header in sys/select.h
20156 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20158 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20159 cat >>confdefs.h <<_ACEOF
20160 #define HAVE_SYS_SELECT_H 1
20169 ac_cpp='$CXXCPP $CPPFLAGS'
20170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20174 for ac_header in cxxabi.h
20176 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20178 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20179 cat >>confdefs.h <<_ACEOF
20180 #define HAVE_CXXABI_H 1
20188 ac_cpp='$CPP $CPPFLAGS'
20189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20197 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20198 if ${ac_cv_c_const+:} false; then :
20199 $as_echo_n "(cached) " >&6
20201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20208 #ifndef __cplusplus
20209 /* Ultrix mips cc rejects this sort of thing. */
20210 typedef int charset[2];
20211 const charset cs = { 0, 0 };
20212 /* SunOS 4.1.1 cc rejects this. */
20213 char const *const *pcpcc;
20215 /* NEC SVR4.0.2 mips cc rejects this. */
20216 struct point {int x, y;};
20217 static struct point const zero = {0,0};
20218 /* AIX XL C 1.02.0.0 rejects this.
20219 It does not let you subtract one const X* pointer from another in
20220 an arm of an if-expression whose if-part is not a constant
20222 const char *g = "string";
20223 pcpcc = &g + (g ? g-g : 0);
20224 /* HPUX 7.0 cc rejects these. */
20226 ppc = (char**) pcpcc;
20227 pcpcc = (char const *const *) ppc;
20228 { /* SCO 3.2v4 cc rejects this sort of thing. */
20231 char const *s = 0 ? (char *) 0 : (char const *) 0;
20236 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20237 int x[] = {25, 17};
20238 const int *foo = &x[0];
20241 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20242 typedef const int *iptr;
20246 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20247 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20248 struct s { int j; const int *ap[3]; } bx;
20249 struct s *b = &bx; b->j = 5;
20251 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20252 const int foo = 10;
20253 if (!foo) return 0;
20255 return !cs[0] && !zero.x;
20262 if ac_fn_c_try_compile "$LINENO"; then :
20267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20270 $as_echo "$ac_cv_c_const" >&6; }
20271 if test $ac_cv_c_const = no; then
20273 $as_echo "#define const /**/" >>confdefs.h
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20278 $as_echo_n "checking for inline... " >&6; }
20279 if ${ac_cv_c_inline+:} false; then :
20280 $as_echo_n "(cached) " >&6
20283 for ac_kw in inline __inline__ __inline; do
20284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20285 /* end confdefs.h. */
20286 #ifndef __cplusplus
20288 static $ac_kw foo_t static_foo () {return 0; }
20289 $ac_kw foo_t foo () {return 0; }
20293 if ac_fn_c_try_compile "$LINENO"; then :
20294 ac_cv_c_inline=$ac_kw
20296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20297 test "$ac_cv_c_inline" != no && break
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20302 $as_echo "$ac_cv_c_inline" >&6; }
20304 case $ac_cv_c_inline in
20307 case $ac_cv_c_inline in
20309 *) ac_val=$ac_cv_c_inline;;
20311 cat >>confdefs.h <<_ACEOF
20312 #ifndef __cplusplus
20313 #define inline $ac_val
20320 # The cast to long int works around a bug in the HP C Compiler
20321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20322 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20323 # This bug is HP SR number 8606223364.
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20325 $as_echo_n "checking size of short... " >&6; }
20326 if ${ac_cv_sizeof_short+:} false; then :
20327 $as_echo_n "(cached) " >&6
20329 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20332 if test "$ac_cv_type_short" = yes; then
20333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20334 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20335 as_fn_error 77 "cannot compute sizeof (short)
20336 See \`config.log
' for more details" "$LINENO" 5; }
20338 ac_cv_sizeof_short=0
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20344 $as_echo "$ac_cv_sizeof_short" >&6; }
20348 cat >>confdefs.h <<_ACEOF
20349 #define SIZEOF_SHORT $ac_cv_sizeof_short
20353 # The cast to long int works around a bug in the HP C Compiler
20354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20356 # This bug is HP SR number 8606223364.
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20358 $as_echo_n "checking size of void *... " >&6; }
20359 if ${ac_cv_sizeof_void_p+:} false
; then :
20360 $as_echo_n "(cached) " >&6
20362 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20365 if test "$ac_cv_type_void_p" = yes; then
20366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20368 as_fn_error
77 "cannot compute sizeof (void *)
20369 See \`config.log' for more details" "$LINENO" 5; }
20371 ac_cv_sizeof_void_p
=0
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20377 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20381 cat >>confdefs.h
<<_ACEOF
20382 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20386 # The cast to long int works around a bug in the HP C Compiler
20387 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20388 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20389 # This bug is HP SR number 8606223364.
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20391 $as_echo_n "checking size of int... " >&6; }
20392 if ${ac_cv_sizeof_int+:} false
; then :
20393 $as_echo_n "(cached) " >&6
20395 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20398 if test "$ac_cv_type_int" = yes; then
20399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20401 as_fn_error
77 "cannot compute sizeof (int)
20402 See \`config.log' for more details" "$LINENO" 5; }
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20410 $as_echo "$ac_cv_sizeof_int" >&6; }
20414 cat >>confdefs.h
<<_ACEOF
20415 #define SIZEOF_INT $ac_cv_sizeof_int
20419 # The cast to long int works around a bug in the HP C Compiler
20420 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20421 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20422 # This bug is HP SR number 8606223364.
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20424 $as_echo_n "checking size of long... " >&6; }
20425 if ${ac_cv_sizeof_long+:} false
; then :
20426 $as_echo_n "(cached) " >&6
20428 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20431 if test "$ac_cv_type_long" = yes; then
20432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20434 as_fn_error
77 "cannot compute sizeof (long)
20435 See \`config.log' for more details" "$LINENO" 5; }
20437 ac_cv_sizeof_long
=0
20442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20443 $as_echo "$ac_cv_sizeof_long" >&6; }
20447 cat >>confdefs.h
<<_ACEOF
20448 #define SIZEOF_LONG $ac_cv_sizeof_long
20452 # The cast to long int works around a bug in the HP C Compiler
20453 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20454 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20455 # This bug is HP SR number 8606223364.
20456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20457 $as_echo_n "checking size of size_t... " >&6; }
20458 if ${ac_cv_sizeof_size_t+:} false
; then :
20459 $as_echo_n "(cached) " >&6
20461 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20464 if test "$ac_cv_type_size_t" = yes; then
20465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20467 as_fn_error
77 "cannot compute sizeof (size_t)
20468 See \`config.log' for more details" "$LINENO" 5; }
20470 ac_cv_sizeof_size_t
=0
20475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20476 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20480 cat >>confdefs.h
<<_ACEOF
20481 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20488 # The cast to long int works around a bug in the HP C Compiler
20489 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20490 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20491 # This bug is HP SR number 8606223364.
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20493 $as_echo_n "checking size of long long... " >&6; }
20494 if ${ac_cv_sizeof_long_long+:} false
; then :
20495 $as_echo_n "(cached) " >&6
20497 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20500 if test "$ac_cv_type_long_long" = yes; then
20501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20503 as_fn_error
77 "cannot compute sizeof (long long)
20504 See \`config.log' for more details" "$LINENO" 5; }
20506 ac_cv_sizeof_long_long
=0
20511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20512 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20516 cat >>confdefs.h
<<_ACEOF
20517 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20523 # The cast to long int works around a bug in the HP C Compiler
20524 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20525 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20526 # This bug is HP SR number 8606223364.
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20528 $as_echo_n "checking size of long long... " >&6; }
20529 if ${ac_cv_sizeof_long_long+:} false
; then :
20530 $as_echo_n "(cached) " >&6
20532 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20535 if test "$ac_cv_type_long_long" = yes; then
20536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20538 as_fn_error
77 "cannot compute sizeof (long long)
20539 See \`config.log' for more details" "$LINENO" 5; }
20541 ac_cv_sizeof_long_long
=0
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20547 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20551 cat >>confdefs.h
<<_ACEOF
20552 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20556 if test "$ac_cv_sizeof_long_long" != 0; then
20557 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20561 # The cast to long int works around a bug in the HP C Compiler
20562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20564 # This bug is HP SR number 8606223364.
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20566 $as_echo_n "checking size of long long... " >&6; }
20567 if ${ac_cv_sizeof_long_long+:} false
; then :
20568 $as_echo_n "(cached) " >&6
20570 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20573 if test "$ac_cv_type_long_long" = yes; then
20574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20576 as_fn_error
77 "cannot compute sizeof (long long)
20577 See \`config.log' for more details" "$LINENO" 5; }
20579 ac_cv_sizeof_long_long
=0
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20585 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20589 cat >>confdefs.h
<<_ACEOF
20590 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20596 # The cast to long int works around a bug in the HP C Compiler
20597 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20598 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20599 # This bug is HP SR number 8606223364.
20600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20601 $as_echo_n "checking size of wchar_t... " >&6; }
20602 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20603 $as_echo_n "(cached) " >&6
20605 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20606 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20607 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20608 # error \"fake wchar_t\"
20610 #ifdef HAVE_WCHAR_H
20612 # include <stddef.h>
20614 # include <wchar.h>
20616 #ifdef HAVE_STDLIB_H
20617 # include <stdlib.h>
20625 if test "$ac_cv_type_wchar_t" = yes; then
20626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20628 as_fn_error
77 "cannot compute sizeof (wchar_t)
20629 See \`config.log' for more details" "$LINENO" 5; }
20631 ac_cv_sizeof_wchar_t
=0
20636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20637 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20641 cat >>confdefs.h
<<_ACEOF
20642 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20646 if test "$ac_cv_sizeof_wchar_t" = 0; then
20647 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20649 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20653 $as_echo_n "checking for va_copy... " >&6; }
20654 if ${wx_cv_func_va_copy+:} false
; then :
20655 $as_echo_n "(cached) " >&6
20659 ac_cpp
='$CXXCPP $CPPFLAGS'
20660 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20661 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20662 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20665 /* end confdefs.h. */
20668 #include <stdarg.h>
20669 void foo(char *f, ...)
20684 if ac_fn_cxx_try_link
"$LINENO"; then :
20685 wx_cv_func_va_copy
=yes
20687 wx_cv_func_va_copy
=no
20690 rm -f core conftest.err conftest.
$ac_objext \
20691 conftest
$ac_exeext conftest.
$ac_ext
20693 ac_cpp
='$CPP $CPPFLAGS'
20694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20702 $as_echo "$wx_cv_func_va_copy" >&6; }
20704 if test $wx_cv_func_va_copy = "yes"; then
20705 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20709 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20710 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20711 $as_echo_n "(cached) " >&6
20714 if test "$cross_compiling" = yes; then :
20715 wx_cv_type_va_list_lvalue
=yes
20718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20719 /* end confdefs.h. */
20722 #include <stdarg.h>
20723 int foo(char *f, ...)
20728 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20736 return foo("hi", 17);
20740 if ac_fn_c_try_run
"$LINENO"; then :
20741 wx_cv_type_va_list_lvalue
=yes
20743 wx_cv_type_va_list_lvalue
=no
20745 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20746 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20753 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20755 if test $wx_cv_type_va_list_lvalue != "yes"; then
20756 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20761 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20764 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20765 if ${wx_cv_have_variadic_macros+:} false
; then :
20766 $as_echo_n "(cached) " >&6
20770 ac_cpp
='$CXXCPP $CPPFLAGS'
20771 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20772 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20773 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20776 /* end confdefs.h. */
20780 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20786 test("%s %d %p", "test", 1, 0);
20793 if ac_fn_cxx_try_compile
"$LINENO"; then :
20794 wx_cv_have_variadic_macros
=yes
20796 wx_cv_have_variadic_macros
=no
20799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20801 ac_cpp
='$CPP $CPPFLAGS'
20802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20810 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20812 if test $wx_cv_have_variadic_macros = "yes"; then
20813 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20818 $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
20822 LARGEFILE_CPPFLAGS
=
20823 # Check whether --enable-largefile was given.
20824 if test "${enable_largefile+set}" = set; then :
20825 enableval
=$enable_largefile;
20828 if test "$enable_largefile" != no
; then
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20832 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20833 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20834 $as_echo_n "(cached) " >&6
20837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20838 /* end confdefs.h. */
20839 #define _FILE_OFFSET_BITS 64
20840 #include <sys/types.h>
20845 unsigned int field: sizeof(off_t) == 8;
20852 if ac_fn_c_try_compile
"$LINENO"; then :
20853 ac_cv_sys_file_offset_bits
=64
20855 ac_cv_sys_file_offset_bits
=no
20857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20862 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20864 if test "$ac_cv_sys_file_offset_bits" != no
; then
20866 cat >>confdefs.h
<<_ACEOF
20867 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20872 if test "x$wx_largefile" != "xyes"; then
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20875 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20876 if ${ac_cv_sys_large_files+:} false
; then :
20877 $as_echo_n "(cached) " >&6
20880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20882 #define _LARGE_FILES 1
20883 #include <sys/types.h>
20888 unsigned int field: sizeof(off_t) == 8;
20895 if ac_fn_c_try_compile
"$LINENO"; then :
20896 ac_cv_sys_large_files
=1
20898 ac_cv_sys_large_files
=no
20900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20905 $as_echo "$ac_cv_sys_large_files" >&6; }
20907 if test "$ac_cv_sys_large_files" != no
; then
20909 cat >>confdefs.h
<<_ACEOF
20910 #define _LARGE_FILES $ac_cv_sys_large_files
20917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20918 $as_echo_n "checking if large file support is available... " >&6; }
20919 if test "x$wx_largefile" = "xyes"; then
20920 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20924 $as_echo "$wx_largefile" >&6; }
20927 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20928 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20929 elif test "$ac_cv_sys_large_files" = 1; then
20930 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20933 if test -n "$LARGEFILE_CPPFLAGS"; then
20934 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20936 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20938 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20939 if ${wx_cv_STDC_EXT_required+:} false
; then :
20940 $as_echo_n "(cached) " >&6
20944 ac_cpp
='$CXXCPP $CPPFLAGS'
20945 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20950 /* end confdefs.h. */
20956 #ifndef __STDC_EXT__
20964 if ac_fn_cxx_try_compile
"$LINENO"; then :
20965 wx_cv_STDC_EXT_required
=no
20967 wx_cv_STDC_EXT_required
=yes
20970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20972 ac_cpp
='$CPP $CPPFLAGS'
20973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20981 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20982 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20983 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20989 ac_cpp
='$CXXCPP $CPPFLAGS'
20990 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20991 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20992 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20994 old_CPPFLAGS
="$CPPFLAGS"
20995 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20997 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20998 if ${ac_cv_sys_largefile_source+:} false
; then :
20999 $as_echo_n "(cached) " >&6
21002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21003 /* end confdefs.h. */
21004 #include <sys/types.h> /* for off_t */
21009 int (*fp) (FILE *, off_t, int) = fseeko;
21010 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21015 if ac_fn_cxx_try_link
"$LINENO"; then :
21016 ac_cv_sys_largefile_source
=no
; break
21018 rm -f core conftest.err conftest.
$ac_objext \
21019 conftest
$ac_exeext conftest.
$ac_ext
21020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21021 /* end confdefs.h. */
21022 #define _LARGEFILE_SOURCE 1
21023 #include <sys/types.h> /* for off_t */
21028 int (*fp) (FILE *, off_t, int) = fseeko;
21029 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21034 if ac_fn_cxx_try_link
"$LINENO"; then :
21035 ac_cv_sys_largefile_source
=1; break
21037 rm -f core conftest.err conftest.
$ac_objext \
21038 conftest
$ac_exeext conftest.
$ac_ext
21039 ac_cv_sys_largefile_source
=unknown
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21044 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21045 case $ac_cv_sys_largefile_source in #(
21048 cat >>confdefs.h
<<_ACEOF
21049 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21055 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21056 # in glibc 2.1.3, but that breaks too many other things.
21057 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21058 if test $ac_cv_sys_largefile_source != unknown
; then
21060 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21064 CPPFLAGS
="$old_CPPFLAGS"
21066 ac_cpp
='$CPP $CPPFLAGS'
21067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21071 if test "$ac_cv_sys_largefile_source" != no
; then
21072 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21076 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21077 if ${ac_cv_c_bigendian+:} false
; then :
21078 $as_echo_n "(cached) " >&6
21080 ac_cv_c_bigendian
=unknown
21081 # See if sys/param.h defines the BYTE_ORDER macro.
21082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21083 /* end confdefs.h. */
21084 #include <sys/types.h>
21085 #include <sys/param.h>
21090 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21091 bogus endian macros
21097 if ac_fn_c_try_compile
"$LINENO"; then :
21098 # It does; now see whether it defined to BIG_ENDIAN or not.
21099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21100 /* end confdefs.h. */
21101 #include <sys/types.h>
21102 #include <sys/param.h>
21107 #if BYTE_ORDER != BIG_ENDIAN
21114 if ac_fn_c_try_compile
"$LINENO"; then :
21115 ac_cv_c_bigendian
=yes
21117 ac_cv_c_bigendian
=no
21119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21122 if test $ac_cv_c_bigendian = unknown
; then
21123 if test "$cross_compiling" = yes; then :
21124 ac_cv_c_bigendian
=unknown
21126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21127 /* end confdefs.h. */
21129 /* Are we little or big endian? From Harbison&Steele. */
21133 char c[sizeof (long)];
21136 exit (u.c[sizeof (long) - 1] == 1);
21139 if ac_fn_c_try_run
"$LINENO"; then :
21140 ac_cv_c_bigendian
=no
21142 ac_cv_c_bigendian
=yes
21144 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21145 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21151 $as_echo "$ac_cv_c_bigendian" >&6; }
21152 if test $ac_cv_c_bigendian = unknown
; then
21153 { $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
21154 $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;}
21156 if test $ac_cv_c_bigendian = yes; then
21157 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21165 ac_cpp
='$CXXCPP $CPPFLAGS'
21166 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21167 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21168 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21171 for ac_header
in iostream
21173 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
21175 if test "x$ac_cv_header_iostream" = xyes
; then :
21176 cat >>confdefs.h
<<_ACEOF
21177 #define HAVE_IOSTREAM 1
21185 if test "$ac_cv_header_iostream" = "yes" ; then
21188 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21193 ac_cpp
='$CPP $CPPFLAGS'
21194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21202 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21203 if ${wx_cv_explicit+:} false
; then :
21204 $as_echo_n "(cached) " >&6
21209 ac_cpp
='$CXXCPP $CPPFLAGS'
21210 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21211 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21212 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21216 /* end confdefs.h. */
21218 class Foo { public: explicit Foo(int) {} };
21230 if ac_fn_cxx_try_compile
"$LINENO"; then :
21232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21233 /* end confdefs.h. */
21235 class Foo { public: explicit Foo(int) {} };
21236 static void TakeFoo(const Foo& foo) { }
21249 if ac_fn_cxx_try_compile
"$LINENO"; then :
21255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21264 ac_cpp
='$CPP $CPPFLAGS'
21265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21272 $as_echo "$wx_cv_explicit" >&6; }
21274 if test "$wx_cv_explicit" = "yes"; then
21275 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21280 if test "x$SUNCXX" = xyes
; then
21281 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21284 if test "x$SUNCC" = xyes
; then
21285 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21288 if test "x$SGICC" = "xyes"; then
21289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21290 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21291 if ${wx_cv_prog_sgicc744+:} false
; then :
21292 $as_echo_n "(cached) " >&6
21295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21296 /* end confdefs.h. */
21302 #if _SGI_COMPILER_VERSION >= 744
21303 chock me: mipsPro is 7.4.4 or later
21310 if ac_fn_c_try_compile
"$LINENO"; then :
21311 wx_cv_prog_sgicc744
=no
21313 wx_cv_prog_sgicc744
=yes
21316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21321 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21323 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21324 CFLAGS
="-woff 3970 $CFLAGS"
21327 if test "x$SGICXX" = "xyes"; then
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21329 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21330 if ${wx_cv_prog_sgicxx744+:} false
; then :
21331 $as_echo_n "(cached) " >&6
21335 ac_cpp
='$CXXCPP $CPPFLAGS'
21336 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21337 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21338 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21341 /* end confdefs.h. */
21347 #if _SGI_COMPILER_VERSION >= 744
21348 chock me: mipsPro is 7.4.4 or later
21355 if ac_fn_cxx_try_compile
"$LINENO"; then :
21356 wx_cv_prog_sgicxx744
=no
21358 wx_cv_prog_sgicxx744
=yes
21361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21363 ac_cpp
='$CPP $CPPFLAGS'
21364 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21365 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21366 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21372 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21374 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21375 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21379 if test "x$HPCC" = "xyes"; then
21380 CFLAGS
="+W 2011,2450 $CFLAGS"
21382 if test "x$HPCXX" = "xyes"; then
21383 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21386 if test "x$COMPAQCXX" = "xyes"; then
21387 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21391 ac_cpp
='$CXXCPP $CPPFLAGS'
21392 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21393 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21394 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21397 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21398 if test "$wxUSE_UNICODE" = "yes"; then
21399 std_string
="std::wstring"
21400 char_type
="wchar_t"
21402 std_string
="std::string"
21406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21407 $as_echo_n "checking for $std_string in <string>... " >&6; }
21408 if ${wx_cv_class_stdstring+:} false
; then :
21409 $as_echo_n "(cached) " >&6
21412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21413 /* end confdefs.h. */
21423 if ac_fn_cxx_try_compile
"$LINENO"; then :
21424 wx_cv_class_stdstring
=yes
21426 wx_cv_class_stdstring
=no
21429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21434 $as_echo "$wx_cv_class_stdstring" >&6; }
21436 if test "$wx_cv_class_stdstring" = yes; then
21437 if test "$wxUSE_UNICODE" = "yes"; then
21438 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21443 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21444 if ${wx_cv_class_stdbasicstring+:} false
; then :
21445 $as_echo_n "(cached) " >&6
21448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21449 /* end confdefs.h. */
21451 #ifdef HAVE_WCHAR_H
21453 # include <stddef.h>
21455 # include <wchar.h>
21457 #ifdef HAVE_STDLIB_H
21458 # include <stdlib.h>
21466 std::basic_string<$char_type> foo;
21467 const $char_type* dummy = foo.c_str();
21472 if ac_fn_cxx_try_compile
"$LINENO"; then :
21473 wx_cv_class_stdbasicstring
=yes
21475 wx_cv_class_stdbasicstring
=no
21478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21483 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21485 if test "$wx_cv_class_stdbasicstring" != yes; then
21486 if test "$wxUSE_STL" = "yes"; then
21487 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21488 elif test "$wxUSE_STD_STRING" = "yes"; then
21489 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21492 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21493 wxUSE_STD_STRING
=no
21499 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21500 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21502 if test "x$ac_cv_type_std__istream" = xyes
; then :
21504 cat >>confdefs.h
<<_ACEOF
21505 #define HAVE_STD__ISTREAM 1
21510 wxUSE_STD_IOSTREAM
=no
21512 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21514 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21516 cat >>confdefs.h
<<_ACEOF
21517 #define HAVE_STD__OSTREAM 1
21522 wxUSE_STD_IOSTREAM
=no
21526 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21527 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21528 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21531 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21536 if test "$wxUSE_STL" = "yes"; then
21537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21538 $as_echo_n "checking for basic STL functionality... " >&6; }
21539 if ${wx_cv_lib_stl+:} false
; then :
21540 $as_echo_n "(cached) " >&6
21542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21543 /* end confdefs.h. */
21545 #include <functional>
21546 #include <algorithm>
21552 std::vector<int> moo;
21553 std::list<int> foo;
21554 std::vector<int>::iterator it =
21555 std::find_if(moo.begin(), moo.end(),
21556 std::bind2nd(std::less<int>(), 3));
21561 if ac_fn_cxx_try_compile
"$LINENO"; then :
21567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21571 $as_echo "$wx_cv_lib_stl" >&6; }
21573 if test "$wx_cv_lib_stl" != yes; then
21574 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21578 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21579 if ${wx_cv_func_stdstring_compare+:} false
; then :
21580 $as_echo_n "(cached) " >&6
21582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21583 /* end confdefs.h. */
21588 std::string foo, bar;
21590 foo.compare(1, 1, bar);
21591 foo.compare(1, 1, bar, 1, 1);
21593 foo.compare(1, 1, "");
21594 foo.compare(1, 1, "", 2);
21599 if ac_fn_cxx_try_compile
"$LINENO"; then :
21600 wx_cv_func_stdstring_compare
=yes
21602 wx_cv_func_stdstring_compare
=no
21605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21609 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21611 if test "$wx_cv_func_stdstring_compare" = yes; then
21612 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21616 if test "$wx_cv_class_gnuhashmapset" = yes; then
21617 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21619 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21623 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21626 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21628 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21629 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21630 $as_echo_n "(cached) " >&6
21632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21633 /* end confdefs.h. */
21634 #include <unordered_map>
21635 #include <unordered_set>
21639 std::unordered_map<double*, char*> test1;
21640 std::unordered_set<char*> test2;
21645 if ac_fn_cxx_try_compile
"$LINENO"; then :
21646 wx_cv_class_stdunorderedmapset
=yes
21648 wx_cv_class_stdunorderedmapset
=no
21650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21655 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21660 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21661 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21663 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21666 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21669 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21671 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21672 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21673 $as_echo_n "(cached) " >&6
21675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21676 /* end confdefs.h. */
21677 #include <tr1/unordered_map>
21678 #include <tr1/unordered_set>
21682 std::tr1::unordered_map<double*, char*> test1;
21683 std::tr1::unordered_set<char*> test2;
21684 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21685 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21691 if ac_fn_cxx_try_compile
"$LINENO"; then :
21692 wx_cv_class_tr1unorderedmapset
=yes
21694 wx_cv_class_tr1unorderedmapset
=no
21696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21701 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21706 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21707 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21709 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21712 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21715 if test "x$ac_cv_header_hash_map" = xyes
; then :
21716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21717 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21718 if ${wx_cv_class_stdhashmapset+:} false
; then :
21719 $as_echo_n "(cached) " >&6
21721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21722 /* end confdefs.h. */
21723 #include <hash_map>
21724 #include <hash_set>
21728 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21729 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21734 if ac_fn_cxx_try_compile
"$LINENO"; then :
21735 wx_cv_class_stdhashmapset
=yes
21737 wx_cv_class_stdhashmapset
=no
21739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21744 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21749 if test "$wx_cv_class_stdhashmapset" = yes; then
21750 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21752 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21756 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21759 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21761 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21762 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21763 $as_echo_n "(cached) " >&6
21765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21766 /* end confdefs.h. */
21767 #include <ext/hash_map>
21768 #include <ext/hash_set>
21772 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21773 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21778 if ac_fn_cxx_try_compile
"$LINENO"; then :
21779 wx_cv_class_gnuhashmapset
=yes
21781 wx_cv_class_gnuhashmapset
=no
21783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21788 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21798 ac_cpp
='$CXXCPP $CPPFLAGS'
21799 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21800 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21801 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21803 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21804 if test -z "$CXXCPP"; then
21805 if ${ac_cv_prog_CXXCPP+:} false
; then :
21806 $as_echo_n "(cached) " >&6
21808 # Double quotes because CXXCPP needs to be expanded
21809 for CXXCPP
in "$CXX -E" "/lib/cpp"
21811 ac_preproc_ok
=false
21812 for ac_cxx_preproc_warn_flag
in '' yes
21814 # Use a header file that comes with gcc, so configuring glibc
21815 # with a fresh cross-compiler works.
21816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21817 # <limits.h> exists even on freestanding compilers.
21818 # On the NeXT, cc -E runs the code through the compiler's parser,
21819 # not just through cpp. "Syntax error" is here to catch this case.
21820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21821 /* end confdefs.h. */
21823 # include <limits.h>
21825 # include <assert.h>
21829 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21832 # Broken: fails on valid input.
21835 rm -f conftest.err conftest.i conftest.
$ac_ext
21837 # OK, works on sane cases. Now check whether nonexistent headers
21838 # can be detected and how.
21839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21840 /* end confdefs.h. */
21841 #include <ac_nonexistent.h>
21843 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21844 # Broken: success on invalid input.
21847 # Passes both tests.
21851 rm -f conftest.err conftest.i conftest.
$ac_ext
21854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21855 rm -f conftest.i conftest.err conftest.
$ac_ext
21856 if $ac_preproc_ok; then :
21861 ac_cv_prog_CXXCPP
=$CXXCPP
21864 CXXCPP
=$ac_cv_prog_CXXCPP
21866 ac_cv_prog_CXXCPP
=$CXXCPP
21868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21869 $as_echo "$CXXCPP" >&6; }
21870 ac_preproc_ok
=false
21871 for ac_cxx_preproc_warn_flag
in '' yes
21873 # Use a header file that comes with gcc, so configuring glibc
21874 # with a fresh cross-compiler works.
21875 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21876 # <limits.h> exists even on freestanding compilers.
21877 # On the NeXT, cc -E runs the code through the compiler's parser,
21878 # not just through cpp. "Syntax error" is here to catch this case.
21879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21880 /* end confdefs.h. */
21882 # include <limits.h>
21884 # include <assert.h>
21888 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21891 # Broken: fails on valid input.
21894 rm -f conftest.err conftest.i conftest.
$ac_ext
21896 # OK, works on sane cases. Now check whether nonexistent headers
21897 # can be detected and how.
21898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21899 /* end confdefs.h. */
21900 #include <ac_nonexistent.h>
21902 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21903 # Broken: success on invalid input.
21906 # Passes both tests.
21910 rm -f conftest.err conftest.i conftest.
$ac_ext
21913 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21914 rm -f conftest.i conftest.err conftest.
$ac_ext
21915 if $ac_preproc_ok; then :
21918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21920 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21921 See \`config.log' for more details" "$LINENO" 5; }
21925 ac_cpp
='$CXXCPP $CPPFLAGS'
21926 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21927 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21928 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21931 for ac_header
in type_traits tr
1/type_traits
21933 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21934 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21935 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21936 cat >>confdefs.h
<<_ACEOF
21937 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21947 if test -n "$GCC"; then
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21949 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21950 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21951 $as_echo_n "(cached) " >&6
21954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21955 /* end confdefs.h. */
21961 unsigned int value=0;
21962 /* wxAtomicInc doesn't use return value here */
21963 __sync_fetch_and_add(&value, 2);
21964 __sync_sub_and_fetch(&value, 1);
21965 /* but wxAtomicDec does, so mimic that: */
21966 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21972 if ac_fn_cxx_try_link
"$LINENO"; then :
21973 wx_cv_cc_gcc_atomic_builtins
=yes
21975 wx_cv_cc_gcc_atomic_builtins
=no
21977 rm -f core conftest.err conftest.
$ac_objext \
21978 conftest
$ac_exeext conftest.
$ac_ext
21982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21983 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21984 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21985 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21992 ac_cpp
='$CPP $CPPFLAGS'
21993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22000 /usr/local/include \
22001 /usr/local/X11/include \
22002 /usr/local/include/X11 \
22003 /usr/local/X11R7/include \
22004 /usr/local/X11R6/include \
22005 /usr/local/include/X11R7 \
22006 /usr/local/include/X11R6 \
22008 /usr/Motif-2.1/include \
22009 /usr/Motif-1.2/include \
22010 /usr/include/Motif1.2 \
22013 /usr/openwin/include \
22017 /usr/X11R7/include \
22018 /usr/X11R6/include \
22019 /usr/X11R6.4/include \
22021 /usr/include/X11R7 \
22022 /usr/include/X11R6 \
22027 /usr/XFree86/include/X11 \
22030 /usr/local/X1R5/include \
22031 /usr/local/include/X11R5 \
22032 /usr/X11R5/include \
22033 /usr/include/X11R5 \
22035 /usr/local/X11R4/include \
22036 /usr/local/include/X11R4 \
22037 /usr/X11R4/include \
22038 /usr/include/X11R4 \
22040 /usr/openwin/share/include"
22042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
22043 $as_echo_n "checking for libraries directories... " >&6; }
22047 if ${wx_cv_std_libpath+:} false
; then :
22048 $as_echo_n "(cached) " >&6
22051 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
22052 for e
in a so sl dylib dll.a
; do
22054 if test -f $libc; then
22057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22058 /* end confdefs.h. */
22060 int main() { return 0; }
22063 if ac_fn_c_try_link
"$LINENO"; then :
22064 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
22066 rm -f core conftest.err conftest.
$ac_objext \
22067 conftest
$ac_exeext conftest.
$ac_ext
22069 if test "x$wx_cv_std_libpath" != "x"; then
22082 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22083 wx_cv_std_libpath
="lib/64"
22088 if test "$ac_cv_sizeof_void_p" = 8; then
22089 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22090 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
22091 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22092 wx_cv_std_libpath
="lib64"
22097 if test -d '/usr/lib/i386-linux-gnu'; then
22098 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
22103 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22104 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
22109 if test -z "$wx_cv_std_libpath"; then
22110 wx_cv_std_libpath
="lib"
22113 if test -z "$wx_cv_std_libfullpath"; then
22114 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22119 $as_echo "$wx_cv_std_libfullpath" >&6; }
22121 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22123 if test "$build" != "$host" -a "$GCC" = yes; then
22124 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22125 cross_root
=`dirname $cross_root`
22126 cross_root
=`dirname $cross_root`
22128 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22129 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22130 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
22132 if test -z "$PKG_CONFIG_PATH"; then
22133 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22134 export PKG_CONFIG_PATH
22137 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22140 for ac_dir
in $SEARCH_INCLUDE /usr
/include
22142 if test -f "$ac_dir/X11/Intrinsic.h"; then
22143 ac_find_includes
=$ac_dir
22148 x_includes
=$ac_find_includes
22150 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22153 for ac_dir
in $SEARCH_LIB
22155 for ac_extension
in a so sl dylib dll.a
; do
22156 if test -f "$ac_dir/libXt.$ac_extension"; then
22157 ac_find_libraries
=$ac_dir
22163 x_libraries
=$ac_find_libraries
22169 cat >confcache
<<\_ACEOF
22170 # This file is a shell script that caches the results of configure
22171 # tests run on this system so they can be shared between configure
22172 # scripts and configure runs, see configure's option --config-cache.
22173 # It is not useful on other systems. If it contains results you don't
22174 # want to keep, you may remove or edit it.
22176 # config.status only pays attention to the cache file if you give it
22177 # the --recheck option to rerun configure.
22179 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22180 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22181 # following values.
22185 # The following way of writing the cache mishandles newlines in values,
22186 # but we know of no workaround that is simple, portable, and efficient.
22187 # So, we kill variables containing newlines.
22188 # Ultrix sh set writes to stderr and can't be redirected directly,
22189 # and sets the high bit in the cache file unless we assign to the vars.
22191 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22192 eval ac_val
=\$
$ac_var
22196 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22197 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22200 _
| IFS
| as_nl
) ;; #(
22201 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22202 *) { eval $ac_var=; unset $ac_var;} ;;
22208 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22209 *${as_nl}ac_space
=\
*)
22210 # `set' does not quote correctly, so add quotes: double-quote
22211 # substitution turns \\\\ into \\, and sed turns \\ into \.
22214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22217 # `set' quotes correctly as required by POSIX, so do not add quotes.
22218 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22227 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22229 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22231 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22232 if test -w "$cache_file"; then
22233 if test "x$cache_file" != "x/dev/null"; then
22234 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22235 $as_echo "$as_me: updating cache $cache_file" >&6;}
22236 if test ! -f "$cache_file" || test -h "$cache_file"; then
22237 cat confcache
>"$cache_file"
22239 case $cache_file in #(
22241 mv -f confcache
"$cache_file"$$
&&
22242 mv -f "$cache_file"$$
"$cache_file" ;; #(
22244 mv -f confcache
"$cache_file" ;;
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22250 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22259 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22260 if test "x$ac_cv_func_cos" = xyes
; then :
22261 cat >>confdefs.h
<<_ACEOF
22268 for ac_func
in floor
22270 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22271 if test "x$ac_cv_func_floor" = xyes
; then :
22272 cat >>confdefs.h
<<_ACEOF
22273 #define HAVE_FLOOR 1
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22280 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22281 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22283 $as_echo "yes" >&6; }
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22286 $as_echo "no" >&6; }
22288 # use different functions to avoid configure caching
22293 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22294 if test "x$ac_cv_func_sin" = xyes
; then :
22295 cat >>confdefs.h
<<_ACEOF
22302 for ac_func
in ceil
22304 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22305 if test "x$ac_cv_func_ceil" = xyes
; then :
22306 cat >>confdefs.h
<<_ACEOF
22307 #define HAVE_CEIL 1
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22314 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22315 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22317 $as_echo "yes" >&6; }
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22320 $as_echo "no" >&6; }
22321 # not sure we should warn the user, crash, etc.
22326 ac_cpp
='$CXXCPP $CPPFLAGS'
22327 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22331 if test "wxUSE_UNICODE" = "yes"; then
22333 for wx_func
in wcstoull
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22336 $as_echo_n "checking for $wx_func... " >&6; }
22337 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22338 $as_echo_n "(cached) " >&6
22341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22342 /* end confdefs.h. */
22346 $ac_includes_default
22362 if ac_fn_cxx_try_link
"$LINENO"; then :
22363 eval wx_cv_func_
$wx_func=yes
22365 eval wx_cv_func_
$wx_func=no
22367 rm -f core conftest.err conftest.
$ac_objext \
22368 conftest
$ac_exeext conftest.
$ac_ext
22371 eval ac_res
=\
$wx_cv_func_$wx_func
22372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22373 $as_echo "$ac_res" >&6; }
22375 if eval test \
$wx_cv_func_$wx_func = yes
22377 cat >>confdefs.h
<<_ACEOF
22378 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22390 for wx_func
in strtoull
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22393 $as_echo_n "checking for $wx_func... " >&6; }
22394 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22395 $as_echo_n "(cached) " >&6
22398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22399 /* end confdefs.h. */
22403 $ac_includes_default
22419 if ac_fn_cxx_try_link
"$LINENO"; then :
22420 eval wx_cv_func_
$wx_func=yes
22422 eval wx_cv_func_
$wx_func=no
22424 rm -f core conftest.err conftest.
$ac_objext \
22425 conftest
$ac_exeext conftest.
$ac_ext
22428 eval ac_res
=\
$wx_cv_func_$wx_func
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22430 $as_echo "$ac_res" >&6; }
22432 if eval test \
$wx_cv_func_$wx_func = yes
22434 cat >>confdefs.h
<<_ACEOF
22435 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22447 ac_cpp
='$CPP $CPPFLAGS'
22448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22455 if test "$wxUSE_REGEX" != "no"; then
22456 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22459 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22461 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22462 wxUSE_REGEX
=builtin
22465 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22466 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22468 if test "x$ac_cv_header_regex_h" = xyes
; then :
22469 for ac_func
in regcomp re_search
22471 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22472 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22473 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22474 cat >>confdefs.h
<<_ACEOF
22475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22485 if test "x$ac_cv_func_regcomp" != "xyes"; then
22486 if test "$wxUSE_REGEX" = "sys" ; then
22487 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22490 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22491 wxUSE_REGEX
=builtin
22495 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22503 if test "$wxUSE_ZLIB" != "no" ; then
22504 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22507 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22508 if test "$USE_DARWIN" = 1; then
22509 system_zlib_h_ok
="yes"
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22512 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22513 if ${ac_cv_header_zlib_h+:} false
; then :
22514 $as_echo_n "(cached) " >&6
22516 if test "$cross_compiling" = yes; then :
22517 unset ac_cv_header_zlib_h
22520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22521 /* end confdefs.h. */
22528 FILE *f=fopen("conftestval", "w");
22531 ZLIB_VERSION[0] == '1' &&
22532 (ZLIB_VERSION[2] > '1' ||
22533 (ZLIB_VERSION[2] == '1' &&
22534 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22539 if ac_fn_c_try_run
"$LINENO"; then :
22540 ac_cv_header_zlib_h
=`cat conftestval`
22542 ac_cv_header_zlib_h
=no
22544 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22545 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22551 $as_echo "$ac_cv_header_zlib_h" >&6; }
22552 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22554 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22560 system_zlib_h_ok
=$ac_cv_header_zlib_h
22563 if test "$system_zlib_h_ok" = "yes"; then
22564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22565 $as_echo_n "checking for deflate in -lz... " >&6; }
22566 if ${ac_cv_lib_z_deflate+:} false
; then :
22567 $as_echo_n "(cached) " >&6
22569 ac_check_lib_save_LIBS
=$LIBS
22571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22572 /* end confdefs.h. */
22574 /* Override any GCC internal prototype to avoid an error.
22575 Use char because int might match the return type of a GCC
22576 builtin and then its argument prototype would still apply. */
22589 if ac_fn_c_try_link
"$LINENO"; then :
22590 ac_cv_lib_z_deflate
=yes
22592 ac_cv_lib_z_deflate
=no
22594 rm -f core conftest.err conftest.
$ac_objext \
22595 conftest
$ac_exeext conftest.
$ac_ext
22596 LIBS
=$ac_check_lib_save_LIBS
22598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22599 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22600 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22606 if test "x$ZLIB_LINK" = "x" ; then
22607 if test "$wxUSE_ZLIB" = "sys" ; then
22608 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22611 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22622 if test "$wxUSE_LIBPNG" != "no" ; then
22623 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22626 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22628 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22629 wxUSE_LIBPNG
=builtin
22632 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22634 $as_echo_n "checking for png.h > 0.90... " >&6; }
22635 if ${ac_cv_header_png_h+:} false
; then :
22636 $as_echo_n "(cached) " >&6
22638 if test "$cross_compiling" = yes; then :
22639 unset ac_cv_header_png_h
22642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22643 /* end confdefs.h. */
22650 FILE *f=fopen("conftestval", "w");
22653 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22658 if ac_fn_c_try_run
"$LINENO"; then :
22659 ac_cv_header_png_h
=`cat conftestval`
22661 ac_cv_header_png_h
=no
22663 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22664 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22670 $as_echo "$ac_cv_header_png_h" >&6; }
22671 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22673 if test "x$ac_cv_header_png_h" = xyes
; then :
22679 if test "$ac_cv_header_png_h" = "yes"; then
22680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22681 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22682 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22683 $as_echo_n "(cached) " >&6
22685 ac_check_lib_save_LIBS
=$LIBS
22686 LIBS
="-lpng -lz -lm $LIBS"
22687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22688 /* end confdefs.h. */
22690 /* Override any GCC internal prototype to avoid an error.
22691 Use char because int might match the return type of a GCC
22692 builtin and then its argument prototype would still apply. */
22696 char png_sig_cmp ();
22700 return png_sig_cmp ();
22705 if ac_fn_c_try_link
"$LINENO"; then :
22706 ac_cv_lib_png_png_sig_cmp
=yes
22708 ac_cv_lib_png_png_sig_cmp
=no
22710 rm -f core conftest.err conftest.
$ac_objext \
22711 conftest
$ac_exeext conftest.
$ac_ext
22712 LIBS
=$ac_check_lib_save_LIBS
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22715 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22716 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22717 PNG_LINK
=" -lpng -lz"
22722 if test "x$PNG_LINK" = "x" ; then
22723 if test "$wxUSE_LIBPNG" = "sys" ; then
22724 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22727 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22728 wxUSE_LIBPNG
=builtin
22738 if test "$wxUSE_LIBJPEG" != "no" ; then
22739 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22742 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22744 $as_echo_n "checking for jpeglib.h... " >&6; }
22745 if ${ac_cv_header_jpeglib_h+:} false
; then :
22746 $as_echo_n "(cached) " >&6
22748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22749 /* end confdefs.h. */
22751 #undef HAVE_STDLIB_H
22753 #include <jpeglib.h>
22764 if ac_fn_c_try_compile
"$LINENO"; then :
22765 ac_cv_header_jpeglib_h
=yes
22767 ac_cv_header_jpeglib_h
=no
22770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22775 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22777 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22779 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22780 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22781 $as_echo_n "(cached) " >&6
22783 ac_check_lib_save_LIBS
=$LIBS
22784 LIBS
="-ljpeg $LIBS"
22785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h. */
22788 /* Override any GCC internal prototype to avoid an error.
22789 Use char because int might match the return type of a GCC
22790 builtin and then its argument prototype would still apply. */
22794 char jpeg_read_header ();
22798 return jpeg_read_header ();
22803 if ac_fn_c_try_link
"$LINENO"; then :
22804 ac_cv_lib_jpeg_jpeg_read_header
=yes
22806 ac_cv_lib_jpeg_jpeg_read_header
=no
22808 rm -f core conftest.err conftest.
$ac_objext \
22809 conftest
$ac_exeext conftest.
$ac_ext
22810 LIBS
=$ac_check_lib_save_LIBS
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22813 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22814 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22815 JPEG_LINK
=" -ljpeg"
22820 if test "x$JPEG_LINK" = "x" ; then
22821 if test "$wxUSE_LIBJPEG" = "sys" ; then
22822 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22825 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22826 wxUSE_LIBJPEG
=builtin
22831 if test "$wxUSE_MSW" = 1; then
22832 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22834 if test "x$ac_cv_type_boolean" = xyes
; then :
22836 cat >>confdefs.h
<<_ACEOF
22837 #define HAVE_BOOLEAN 1
22841 # The cast to long int works around a bug in the HP C Compiler
22842 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22843 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22844 # This bug is HP SR number 8606223364.
22845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22846 $as_echo_n "checking size of boolean... " >&6; }
22847 if ${ac_cv_sizeof_boolean+:} false
; then :
22848 $as_echo_n "(cached) " >&6
22850 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22851 #undef HAVE_BOOLEAN
22853 #include <jpeglib.h>
22858 if test "$ac_cv_type_boolean" = yes; then
22859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22861 as_fn_error
77 "cannot compute sizeof (boolean)
22862 See \`config.log' for more details" "$LINENO" 5; }
22864 ac_cv_sizeof_boolean
=0
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22870 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22874 cat >>confdefs.h
<<_ACEOF
22875 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22879 cat >>confdefs.h
<<_ACEOF
22880 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22893 TIFF_PREREQ_LINKS
=-lm
22894 if test "$wxUSE_LIBTIFF" != "no" ; then
22895 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22898 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22899 if test "$wxUSE_LIBJPEG" = "sys"; then
22900 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22902 if test "$wxUSE_ZLIB" = "sys"; then
22903 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22905 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22908 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22911 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22912 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22913 $as_echo_n "(cached) " >&6
22915 ac_check_lib_save_LIBS
=$LIBS
22916 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22918 /* end confdefs.h. */
22920 /* Override any GCC internal prototype to avoid an error.
22921 Use char because int might match the return type of a GCC
22922 builtin and then its argument prototype would still apply. */
22930 return TIFFError ();
22935 if ac_fn_c_try_link
"$LINENO"; then :
22936 ac_cv_lib_tiff_TIFFError
=yes
22938 ac_cv_lib_tiff_TIFFError
=no
22940 rm -f core conftest.err conftest.
$ac_objext \
22941 conftest
$ac_exeext conftest.
$ac_ext
22942 LIBS
=$ac_check_lib_save_LIBS
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22945 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22946 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22947 TIFF_LINK
=" -ltiff"
22955 if test "x$TIFF_LINK" = "x" ; then
22956 if test "$wxUSE_LIBTIFF" = "sys" ; then
22957 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22960 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22961 wxUSE_LIBTIFF
=builtin
22967 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22968 if test "$wxUSE_LIBJPEG" = "no"; then
22969 ac_configure_args
="$ac_configure_args --disable-jpeg"
22972 if test "$wxUSE_LIBLZMA" = "yes"; then
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22974 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22975 if ${ac_cv_lib_lzma_lzma_code+:} false
; then :
22976 $as_echo_n "(cached) " >&6
22978 ac_check_lib_save_LIBS
=$LIBS
22979 LIBS
="-llzma $LIBS"
22980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22981 /* end confdefs.h. */
22983 /* Override any GCC internal prototype to avoid an error.
22984 Use char because int might match the return type of a GCC
22985 builtin and then its argument prototype would still apply. */
22993 return lzma_code ();
22998 if ac_fn_c_try_link
"$LINENO"; then :
22999 ac_cv_lib_lzma_lzma_code
=yes
23001 ac_cv_lib_lzma_lzma_code
=no
23003 rm -f core conftest.err conftest.
$ac_objext \
23004 conftest
$ac_exeext conftest.
$ac_ext
23005 LIBS
=$ac_check_lib_save_LIBS
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
23008 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
23009 if test "x$ac_cv_lib_lzma_lzma_code" = xyes
; then :
23010 LIBS
="$LIBS -llzma"
23014 ac_configure_args
="$ac_configure_args --disable-lzma"
23017 if test "$wxUSE_LIBJBIG" = "yes"; then
23018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
23019 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
23020 if ${ac_cv_lib_jbig_jbg_dec_init+:} false
; then :
23021 $as_echo_n "(cached) " >&6
23023 ac_check_lib_save_LIBS
=$LIBS
23024 LIBS
="-ljbig $LIBS"
23025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23028 /* Override any GCC internal prototype to avoid an error.
23029 Use char because int might match the return type of a GCC
23030 builtin and then its argument prototype would still apply. */
23034 char jbg_dec_init ();
23038 return jbg_dec_init ();
23043 if ac_fn_c_try_link
"$LINENO"; then :
23044 ac_cv_lib_jbig_jbg_dec_init
=yes
23046 ac_cv_lib_jbig_jbg_dec_init
=no
23048 rm -f core conftest.err conftest.
$ac_objext \
23049 conftest
$ac_exeext conftest.
$ac_ext
23050 LIBS
=$ac_check_lib_save_LIBS
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
23053 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
23054 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes
; then :
23055 LIBS
="$LIBS -ljbig"
23059 ac_configure_args
="$ac_configure_args --disable-jbig"
23064 subdirs
="$subdirs src/tiff"
23070 if test "$wxUSE_EXPAT" != "no"; then
23072 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
23074 $as_echo "#define wxUSE_XML 1" >>confdefs.h
23077 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23078 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
23080 if test "x$ac_cv_header_expat_h" = xyes
; then :
23085 if test "x$found_expat_h" = "x1"; then
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
23087 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
23088 if ${wx_cv_expat_is_not_broken+:} false
; then :
23089 $as_echo_n "(cached) " >&6
23093 ac_cpp
='$CXXCPP $CPPFLAGS'
23094 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23095 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23096 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23099 /* end confdefs.h. */
23109 if ac_fn_cxx_try_compile
"$LINENO"; then :
23110 wx_cv_expat_is_not_broken
=yes
23112 wx_cv_expat_is_not_broken
=no
23115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23117 ac_cpp
='$CPP $CPPFLAGS'
23118 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23126 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23127 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23129 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23130 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
23131 $as_echo_n "(cached) " >&6
23133 ac_check_lib_save_LIBS
=$LIBS
23134 LIBS
="-lexpat $LIBS"
23135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23136 /* end confdefs.h. */
23138 /* Override any GCC internal prototype to avoid an error.
23139 Use char because int might match the return type of a GCC
23140 builtin and then its argument prototype would still apply. */
23144 char XML_ParserCreate ();
23148 return XML_ParserCreate ();
23153 if ac_fn_c_try_link
"$LINENO"; then :
23154 ac_cv_lib_expat_XML_ParserCreate
=yes
23156 ac_cv_lib_expat_XML_ParserCreate
=no
23158 rm -f core conftest.err conftest.
$ac_objext \
23159 conftest
$ac_exeext conftest.
$ac_ext
23160 LIBS
=$ac_check_lib_save_LIBS
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23163 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23164 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
23165 EXPAT_LINK
=" -lexpat"
23170 if test "x$EXPAT_LINK" = "x" ; then
23171 if test "$wxUSE_EXPAT" = "sys" ; then
23172 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23175 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23176 wxUSE_EXPAT
=builtin
23182 if test "$wxUSE_EXPAT" = "builtin" ; then
23183 subdirs
="$subdirs src/expat"
23190 if test "$wxUSE_LIBMSPACK" != "no"; then
23191 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23193 if test "x$ac_cv_header_mspack_h" = xyes
; then :
23198 if test "x$found_mspack_h" = "x1"; then
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23200 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23201 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
23202 $as_echo_n "(cached) " >&6
23204 ac_check_lib_save_LIBS
=$LIBS
23205 LIBS
="-lmspack $LIBS"
23206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23207 /* end confdefs.h. */
23209 /* Override any GCC internal prototype to avoid an error.
23210 Use char because int might match the return type of a GCC
23211 builtin and then its argument prototype would still apply. */
23215 char mspack_create_chm_decompressor ();
23219 return mspack_create_chm_decompressor ();
23224 if ac_fn_c_try_link
"$LINENO"; then :
23225 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23227 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23229 rm -f core conftest.err conftest.
$ac_objext \
23230 conftest
$ac_exeext conftest.
$ac_ext
23231 LIBS
=$ac_check_lib_save_LIBS
23233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23234 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23235 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
23236 MSPACK_LINK
=" -lmspack"
23240 if test "x$MSPACK_LINK" = "x" ; then
23245 if test "$wxUSE_LIBMSPACK" != "no"; then
23246 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23259 if test "$USE_WIN32" = 1 ; then
23260 for ac_header
in w32api.h
23262 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23264 if test "x$ac_cv_header_w32api_h" = xyes
; then :
23265 cat >>confdefs.h
<<_ACEOF
23266 #define HAVE_W32API_H 1
23273 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
23275 if test "x$ac_cv_header_windows_h" = xyes
; then :
23279 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23285 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23287 x86_64
-*-mingw32* )
23288 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
23291 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23292 LIBS
="$LIBS -loleacc"
23297 LIBS
="$LIBS -lkernel32 -luser32"
23300 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23301 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
23303 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23305 WIN32INSTALL
=win32install
23308 if test "$wxUSE_GUI" = "yes"; then
23319 if test "$wxUSE_OLD_COCOA" = 1 ; then
23320 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23322 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23323 wxUSE_PRINTING_ARCHITECTURE
=no
23325 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23327 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23328 wxUSE_DRAG_AND_DROP
=no
23330 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23332 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23337 if test "$wxUSE_MSW" = 1 ; then
23343 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23347 if test "$wxUSE_GTK" = 1; then
23348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23349 $as_echo_n "checking for GTK+ version... " >&6; }
23351 gtk_version_cached
=1
23352 if ${wx_cv_lib_gtk+:} false
; then :
23353 $as_echo_n "(cached) " >&6
23356 gtk_version_cached
=0
23357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23361 if test "$wxUSE_THREADS" = "yes"; then
23362 GTK_MODULES
=gthread
23365 if test -z "$wxGTK_VERSION"; then
23370 if test "x$wxGTK_VERSION" != "x1"
23374 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23379 if test "$wxGTK_VERSION" != 3; then
23380 # Check whether --enable-gtktest was given.
23381 if test "${enable_gtktest+set}" = set; then :
23382 enableval
=$enable_gtktest;
23388 pkg_config_args
=gtk
+-2.0
23389 for module
in .
$GTK_MODULES
23393 pkg_config_args
="$pkg_config_args gthread-2.0"
23400 # Extract the first word of "pkg-config", so it can be a program name with args.
23401 set dummy pkg
-config; ac_word
=$2
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23403 $as_echo_n "checking for $ac_word... " >&6; }
23404 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23405 $as_echo_n "(cached) " >&6
23407 case $PKG_CONFIG in
23409 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23413 for as_dir
in $PATH
23416 test -z "$as_dir" && as_dir
=.
23417 for ac_exec_ext
in '' $ac_executable_extensions; do
23418 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23419 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23427 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23431 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23432 if test -n "$PKG_CONFIG"; then
23433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23434 $as_echo "$PKG_CONFIG" >&6; }
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23437 $as_echo "no" >&6; }
23442 if test x
$PKG_CONFIG != xno
; then
23443 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23446 echo "*** pkg-config too old; version 0.7 or better required."
23454 min_gtk_version
=2.6.0
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23456 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23458 if test x
$PKG_CONFIG != xno
; then
23459 ## don't try to run the test against uninstalled libtool libs
23460 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23461 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23465 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23472 if test x
"$no_gtk" = x
; then
23473 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23474 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23475 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23477 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23479 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23480 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23481 if test "x$enable_gtktest" = "xyes" ; then
23482 ac_save_CFLAGS
="$CFLAGS"
23483 ac_save_LIBS
="$LIBS"
23484 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23485 LIBS
="$GTK_LIBS $LIBS"
23487 if test "$cross_compiling" = yes; then :
23488 echo $ac_n "cross compiling; assumed OK... $ac_c"
23490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23491 /* end confdefs.h. */
23493 #include <gtk/gtk.h>
23495 #include <stdlib.h>
23500 int major, minor, micro;
23503 system ("touch conf.gtktest");
23505 /* HP/UX 9 (%@#!) writes to sscanf strings */
23506 tmp_version = g_strdup("$min_gtk_version");
23507 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23508 printf("%s, bad version string\n", "$min_gtk_version");
23512 if ((gtk_major_version != $gtk_config_major_version) ||
23513 (gtk_minor_version != $gtk_config_minor_version) ||
23514 (gtk_micro_version != $gtk_config_micro_version))
23516 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23517 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23518 gtk_major_version, gtk_minor_version, gtk_micro_version);
23519 printf ("*** was found! If pkg-config was correct, then it is best\n");
23520 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23521 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23522 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23523 printf("*** required on your system.\n");
23524 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23525 printf("*** to point to the correct configuration files\n");
23527 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23528 (gtk_minor_version != GTK_MINOR_VERSION) ||
23529 (gtk_micro_version != GTK_MICRO_VERSION))
23531 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23532 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23533 printf("*** library (version %d.%d.%d)\n",
23534 gtk_major_version, gtk_minor_version, gtk_micro_version);
23538 if ((gtk_major_version > major) ||
23539 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23540 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23546 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23547 gtk_major_version, gtk_minor_version, gtk_micro_version);
23548 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23549 major, minor, micro);
23550 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23552 printf("*** If you have already installed a sufficiently new version, this error\n");
23553 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23554 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23555 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23556 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23557 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23558 printf("*** so that the correct libraries are found at run-time))\n");
23565 if ac_fn_c_try_run
"$LINENO"; then :
23570 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23571 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23574 CFLAGS
="$ac_save_CFLAGS"
23575 LIBS
="$ac_save_LIBS"
23578 if test "x$no_gtk" = x
; then
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23580 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23584 $as_echo "no" >&6; }
23585 if test "$PKG_CONFIG" = "no" ; then
23586 echo "*** A new enough version of pkg-config was not found."
23587 echo "*** See http://pkgconfig.sourceforge.net"
23589 if test -f conf.gtktest
; then
23592 echo "*** Could not run GTK+ test program, checking why..."
23593 ac_save_CFLAGS
="$CFLAGS"
23594 ac_save_LIBS
="$LIBS"
23595 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23596 LIBS
="$LIBS $GTK_LIBS"
23597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23598 /* end confdefs.h. */
23600 #include <gtk/gtk.h>
23606 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23611 if ac_fn_c_try_link
"$LINENO"; then :
23612 echo "*** The test program compiled, but did not run. This usually means"
23613 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23614 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23615 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23616 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23617 echo "*** is required on your system"
23619 echo "*** If you have an old version installed, it is best to remove it, although"
23620 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23622 echo "*** The test program failed to compile or link. See the file config.log for the"
23623 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23625 rm -f core conftest.err conftest.
$ac_objext \
23626 conftest
$ac_exeext conftest.
$ac_ext
23627 CFLAGS
="$ac_save_CFLAGS"
23628 LIBS
="$ac_save_LIBS"
23640 if test -z "$wx_cv_lib_gtk"; then
23641 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23642 # Check whether --enable-gtktest was given.
23643 if test "${enable_gtktest+set}" = set; then :
23644 enableval
=$enable_gtktest;
23650 pkg_gtk_version
=gtk
+-3.0
23651 pkg_config_args
=$pkg_gtk_version
23652 for module
in .
$GTK_MODULES
23656 pkg_gthread_version
=gthread
-2.0
23657 pkg_config_args
="$pkg_config_args $pkg_gthread_version"
23664 # Extract the first word of "pkg-config", so it can be a program name with args.
23665 set dummy pkg
-config; ac_word
=$2
23666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23667 $as_echo_n "checking for $ac_word... " >&6; }
23668 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23669 $as_echo_n "(cached) " >&6
23671 case $PKG_CONFIG in
23673 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23677 for as_dir
in $PATH
23680 test -z "$as_dir" && as_dir
=.
23681 for ac_exec_ext
in '' $ac_executable_extensions; do
23682 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23683 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23691 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23695 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23696 if test -n "$PKG_CONFIG"; then
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23698 $as_echo "$PKG_CONFIG" >&6; }
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23701 $as_echo "no" >&6; }
23706 if test x
$PKG_CONFIG != xno
; then
23707 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23710 echo "*** pkg-config too old; version 0.7 or better required."
23718 min_gtk_version
=3.0.0
23719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23720 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23722 if test x
$PKG_CONFIG != xno
; then
23723 ## don't try to run the test against uninstalled libtool libs
23724 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23725 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23728 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23735 if test x
"$no_gtk" = x
; then
23736 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23737 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23738 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23740 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23742 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23743 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23744 if test "x$enable_gtktest" = "xyes" ; then
23745 ac_save_CFLAGS
="$CFLAGS"
23746 ac_save_LIBS
="$LIBS"
23747 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23748 LIBS
="$GTK_LIBS $LIBS"
23750 if test "$cross_compiling" = yes; then :
23751 echo $ac_n "cross compiling; assumed OK... $ac_c"
23753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23754 /* end confdefs.h. */
23756 #include <gtk/gtk.h>
23758 #include <stdlib.h>
23763 int major, minor, micro;
23766 fclose (fopen ("conf.gtktest", "w"));
23768 /* HP/UX 9 (%@#!) writes to sscanf strings */
23769 tmp_version = g_strdup("$min_gtk_version");
23770 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23771 printf("%s, bad version string\n", "$min_gtk_version");
23775 if ((gtk_major_version != $gtk_config_major_version) ||
23776 (gtk_minor_version != $gtk_config_minor_version) ||
23777 (gtk_micro_version != $gtk_config_micro_version))
23779 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23780 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23781 gtk_major_version, gtk_minor_version, gtk_micro_version);
23782 printf ("*** was found! If pkg-config was correct, then it is best\n");
23783 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23784 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23785 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23786 printf("*** required on your system.\n");
23787 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23788 printf("*** to point to the correct configuration files\n");
23790 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23791 (gtk_minor_version != GTK_MINOR_VERSION) ||
23792 (gtk_micro_version != GTK_MICRO_VERSION))
23794 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23795 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23796 printf("*** library (version %d.%d.%d)\n",
23797 gtk_major_version, gtk_minor_version, gtk_micro_version);
23801 if ((gtk_major_version > major) ||
23802 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23803 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23809 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23810 gtk_major_version, gtk_minor_version, gtk_micro_version);
23811 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23812 major, minor, micro);
23813 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23815 printf("*** If you have already installed a sufficiently new version, this error\n");
23816 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23817 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23818 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23819 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23820 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23821 printf("*** so that the correct libraries are found at run-time))\n");
23828 if ac_fn_c_try_run
"$LINENO"; then :
23833 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23834 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23837 CFLAGS
="$ac_save_CFLAGS"
23838 LIBS
="$ac_save_LIBS"
23841 if test "x$no_gtk" = x
; then
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23843 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23847 $as_echo "no" >&6; }
23848 if test "$PKG_CONFIG" = "no" ; then
23849 echo "*** A new enough version of pkg-config was not found."
23850 echo "*** See http://pkgconfig.sourceforge.net"
23852 if test -f conf.gtktest
; then
23855 echo "*** Could not run GTK+ test program, checking why..."
23856 ac_save_CFLAGS
="$CFLAGS"
23857 ac_save_LIBS
="$LIBS"
23858 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23859 LIBS
="$LIBS $GTK_LIBS"
23860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23861 /* end confdefs.h. */
23863 #include <gtk/gtk.h>
23869 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23874 if ac_fn_c_try_link
"$LINENO"; then :
23875 echo "*** The test program compiled, but did not run. This usually means"
23876 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23877 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23878 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23879 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23880 echo "*** is required on your system"
23882 echo "*** If you have an old version installed, it is best to remove it, although"
23883 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23885 echo "*** The test program failed to compile or link. See the file config.log for the"
23886 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23888 rm -f core conftest.err conftest.
$ac_objext \
23889 conftest
$ac_exeext conftest.
$ac_ext
23890 CFLAGS
="$ac_save_CFLAGS"
23891 LIBS
="$ac_save_LIBS"
23906 if test -z "$wx_cv_lib_gtk"; then
23907 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23909 # Check whether --with-gtk-prefix was given.
23910 if test "${with_gtk_prefix+set}" = set; then :
23911 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23913 gtk_config_prefix
=""
23917 # Check whether --with-gtk-exec-prefix was given.
23918 if test "${with_gtk_exec_prefix+set}" = set; then :
23919 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23921 gtk_config_exec_prefix
=""
23924 # Check whether --enable-gtktest was given.
23925 if test "${enable_gtktest+set}" = set; then :
23926 enableval
=$enable_gtktest;
23932 for module
in .
$GTK_MODULES
23936 gtk_config_args
="$gtk_config_args gthread"
23941 if test x
$gtk_config_exec_prefix != x
; then
23942 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23943 if test x
${GTK_CONFIG+set} != xset
; then
23944 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23947 if test x
$gtk_config_prefix != x
; then
23948 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23949 if test x
${GTK_CONFIG+set} != xset
; then
23950 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23954 # Extract the first word of "gtk-config", so it can be a program name with args.
23955 set dummy gtk
-config; ac_word
=$2
23956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23957 $as_echo_n "checking for $ac_word... " >&6; }
23958 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23959 $as_echo_n "(cached) " >&6
23961 case $GTK_CONFIG in
23963 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23967 for as_dir
in $PATH
23970 test -z "$as_dir" && as_dir
=.
23971 for ac_exec_ext
in '' $ac_executable_extensions; do
23972 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23973 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23981 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23985 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23986 if test -n "$GTK_CONFIG"; then
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23988 $as_echo "$GTK_CONFIG" >&6; }
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23991 $as_echo "no" >&6; }
23995 min_gtk_version
=1.2.7
23996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23997 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23999 if test "$GTK_CONFIG" = "no" ; then
24002 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24003 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24004 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24005 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24006 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24007 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24008 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24009 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24010 if test "x$enable_gtktest" = "xyes" ; then
24011 ac_save_CFLAGS
="$CFLAGS"
24012 ac_save_LIBS
="$LIBS"
24013 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24014 LIBS
="$GTK_LIBS $LIBS"
24016 if test "$cross_compiling" = yes; then :
24017 echo $ac_n "cross compiling; assumed OK... $ac_c"
24019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24020 /* end confdefs.h. */
24022 #include <gtk/gtk.h>
24024 #include <stdlib.h>
24029 int major, minor, micro;
24032 system ("touch conf.gtktest");
24034 /* HP/UX 9 (%@#!) writes to sscanf strings */
24035 tmp_version = g_strdup("$min_gtk_version");
24036 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24037 printf("%s, bad version string\n", "$min_gtk_version");
24041 if ((gtk_major_version != $gtk_config_major_version) ||
24042 (gtk_minor_version != $gtk_config_minor_version) ||
24043 (gtk_micro_version != $gtk_config_micro_version))
24045 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24046 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24047 gtk_major_version, gtk_minor_version, gtk_micro_version);
24048 printf ("*** was found! If gtk-config was correct, then it is best\n");
24049 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24050 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24051 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24052 printf("*** required on your system.\n");
24053 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24054 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24055 printf("*** before re-running configure\n");
24057 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24058 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24059 (gtk_minor_version != GTK_MINOR_VERSION) ||
24060 (gtk_micro_version != GTK_MICRO_VERSION))
24062 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24063 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24064 printf("*** library (version %d.%d.%d)\n",
24065 gtk_major_version, gtk_minor_version, gtk_micro_version);
24067 #endif /* defined (GTK_MAJOR_VERSION) ... */
24070 if ((gtk_major_version > major) ||
24071 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24072 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24078 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24079 gtk_major_version, gtk_minor_version, gtk_micro_version);
24080 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24081 major, minor, micro);
24082 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24084 printf("*** If you have already installed a sufficiently new version, this error\n");
24085 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24086 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24087 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24088 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24089 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24090 printf("*** so that the correct libraries are found at run-time))\n");
24097 if ac_fn_c_try_run
"$LINENO"; then :
24102 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24103 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24106 CFLAGS
="$ac_save_CFLAGS"
24107 LIBS
="$ac_save_LIBS"
24110 if test "x$no_gtk" = x
; then
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24112 $as_echo "yes" >&6; }
24113 wx_cv_lib_gtk
=1.2.7
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24116 $as_echo "no" >&6; }
24117 if test "$GTK_CONFIG" = "no" ; then
24118 echo "*** The gtk-config script installed by GTK could not be found"
24119 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24120 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24121 echo "*** full path to gtk-config."
24123 if test -f conf.gtktest
; then
24126 echo "*** Could not run GTK test program, checking why..."
24127 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24128 LIBS
="$LIBS $GTK_LIBS"
24129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24130 /* end confdefs.h. */
24132 #include <gtk/gtk.h>
24138 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24143 if ac_fn_c_try_link
"$LINENO"; then :
24144 echo "*** The test program compiled, but did not run. This usually means"
24145 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24146 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24147 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24148 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24149 echo "*** is required on your system"
24151 echo "*** If you have an old version installed, it is best to remove it, although"
24152 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24154 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24155 echo "*** came with the system with the command"
24157 echo "*** rpm --erase --nodeps gtk gtk-devel"
24159 echo "*** The test program failed to compile or link. See the file config.log for the"
24160 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24161 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24162 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24164 rm -f core conftest.err conftest.
$ac_objext \
24165 conftest
$ac_exeext conftest.
$ac_ext
24166 CFLAGS
="$ac_save_CFLAGS"
24167 LIBS
="$ac_save_LIBS"
24179 if test -z "$wx_cv_lib_gtk"; then
24181 # Check whether --with-gtk-prefix was given.
24182 if test "${with_gtk_prefix+set}" = set; then :
24183 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
24185 gtk_config_prefix
=""
24189 # Check whether --with-gtk-exec-prefix was given.
24190 if test "${with_gtk_exec_prefix+set}" = set; then :
24191 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
24193 gtk_config_exec_prefix
=""
24196 # Check whether --enable-gtktest was given.
24197 if test "${enable_gtktest+set}" = set; then :
24198 enableval
=$enable_gtktest;
24204 for module
in .
$GTK_MODULES
24208 gtk_config_args
="$gtk_config_args gthread"
24213 if test x
$gtk_config_exec_prefix != x
; then
24214 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24215 if test x
${GTK_CONFIG+set} != xset
; then
24216 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24219 if test x
$gtk_config_prefix != x
; then
24220 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24221 if test x
${GTK_CONFIG+set} != xset
; then
24222 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24226 # Extract the first word of "gtk-config", so it can be a program name with args.
24227 set dummy gtk
-config; ac_word
=$2
24228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24229 $as_echo_n "checking for $ac_word... " >&6; }
24230 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
24231 $as_echo_n "(cached) " >&6
24233 case $GTK_CONFIG in
24235 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24239 for as_dir
in $PATH
24242 test -z "$as_dir" && as_dir
=.
24243 for ac_exec_ext
in '' $ac_executable_extensions; do
24244 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24245 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24253 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24257 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24258 if test -n "$GTK_CONFIG"; then
24259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24260 $as_echo "$GTK_CONFIG" >&6; }
24262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24263 $as_echo "no" >&6; }
24267 min_gtk_version
=1.2.3
24268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24269 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24271 if test "$GTK_CONFIG" = "no" ; then
24274 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24275 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24276 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24277 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24278 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24279 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24280 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24281 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24282 if test "x$enable_gtktest" = "xyes" ; then
24283 ac_save_CFLAGS
="$CFLAGS"
24284 ac_save_LIBS
="$LIBS"
24285 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24286 LIBS
="$GTK_LIBS $LIBS"
24288 if test "$cross_compiling" = yes; then :
24289 echo $ac_n "cross compiling; assumed OK... $ac_c"
24291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24292 /* end confdefs.h. */
24294 #include <gtk/gtk.h>
24296 #include <stdlib.h>
24301 int major, minor, micro;
24304 system ("touch conf.gtktest");
24306 /* HP/UX 9 (%@#!) writes to sscanf strings */
24307 tmp_version = g_strdup("$min_gtk_version");
24308 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24309 printf("%s, bad version string\n", "$min_gtk_version");
24313 if ((gtk_major_version != $gtk_config_major_version) ||
24314 (gtk_minor_version != $gtk_config_minor_version) ||
24315 (gtk_micro_version != $gtk_config_micro_version))
24317 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24318 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24319 gtk_major_version, gtk_minor_version, gtk_micro_version);
24320 printf ("*** was found! If gtk-config was correct, then it is best\n");
24321 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24322 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24323 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24324 printf("*** required on your system.\n");
24325 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24326 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24327 printf("*** before re-running configure\n");
24329 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24330 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24331 (gtk_minor_version != GTK_MINOR_VERSION) ||
24332 (gtk_micro_version != GTK_MICRO_VERSION))
24334 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24335 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24336 printf("*** library (version %d.%d.%d)\n",
24337 gtk_major_version, gtk_minor_version, gtk_micro_version);
24339 #endif /* defined (GTK_MAJOR_VERSION) ... */
24342 if ((gtk_major_version > major) ||
24343 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24344 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24350 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24351 gtk_major_version, gtk_minor_version, gtk_micro_version);
24352 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24353 major, minor, micro);
24354 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24356 printf("*** If you have already installed a sufficiently new version, this error\n");
24357 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24358 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24359 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24360 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24361 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24362 printf("*** so that the correct libraries are found at run-time))\n");
24369 if ac_fn_c_try_run
"$LINENO"; then :
24374 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24375 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24378 CFLAGS
="$ac_save_CFLAGS"
24379 LIBS
="$ac_save_LIBS"
24382 if test "x$no_gtk" = x
; then
24383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24384 $as_echo "yes" >&6; }
24385 wx_cv_lib_gtk
=1.2.3
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24388 $as_echo "no" >&6; }
24389 if test "$GTK_CONFIG" = "no" ; then
24390 echo "*** The gtk-config script installed by GTK could not be found"
24391 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24392 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24393 echo "*** full path to gtk-config."
24395 if test -f conf.gtktest
; then
24398 echo "*** Could not run GTK test program, checking why..."
24399 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24400 LIBS
="$LIBS $GTK_LIBS"
24401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24402 /* end confdefs.h. */
24404 #include <gtk/gtk.h>
24410 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24415 if ac_fn_c_try_link
"$LINENO"; then :
24416 echo "*** The test program compiled, but did not run. This usually means"
24417 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24418 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24419 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24420 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24421 echo "*** is required on your system"
24423 echo "*** If you have an old version installed, it is best to remove it, although"
24424 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24426 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24427 echo "*** came with the system with the command"
24429 echo "*** rpm --erase --nodeps gtk gtk-devel"
24431 echo "*** The test program failed to compile or link. See the file config.log for the"
24432 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24433 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24434 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24436 rm -f core conftest.err conftest.
$ac_objext \
24437 conftest
$ac_exeext conftest.
$ac_ext
24438 CFLAGS
="$ac_save_CFLAGS"
24439 LIBS
="$ac_save_LIBS"
24454 if test -z "$wx_cv_lib_gtk"; then
24457 GTK_LIBS
="$GTK_LIBS -lX11"
24459 wx_cv_cflags_gtk
=$GTK_CFLAGS
24460 wx_cv_libs_gtk
=$GTK_LIBS
24467 if test "$gtk_version_cached" = 1; then
24468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24469 $as_echo "$wx_cv_lib_gtk" >&6; }
24472 case "$wx_cv_lib_gtk" in
24483 *) as_fn_error $?
"
24484 The development files for GTK+ were not found. For GTK+ 2, please
24485 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24486 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24487 and that the version is 1.2.3 or above. Also check that the
24488 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24489 --libs' are in the LD_LIBRARY_PATH or equivalent.
24494 if test "$WXGTK3" = 1; then
24495 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24497 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24499 elif test "$WXGTK2" = 1; then
24500 save_CFLAGS
="$CFLAGS"
24502 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24503 LIBS
="$LIBS $wx_cv_libs_gtk"
24505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24506 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24508 /* end confdefs.h. */
24510 #include <gtk/gtk.h>
24516 #if !GTK_CHECK_VERSION(2,18,0)
24524 if ac_fn_c_try_compile
"$LINENO"; then :
24526 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24528 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24531 $as_echo "yes" >&6; }
24536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24537 $as_echo "no" >&6; }
24541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24543 if test "$ac_wxgtk218" = 0; then
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24545 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24547 /* end confdefs.h. */
24549 #include <gtk/gtk.h>
24555 #if !GTK_CHECK_VERSION(2,10,0)
24563 if ac_fn_c_try_compile
"$LINENO"; then :
24565 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24568 $as_echo "yes" >&6; }
24573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24574 $as_echo "no" >&6; }
24578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24581 CFLAGS
="$save_CFLAGS"
24584 if test "$wxUSE_UNICODE" = "yes"; then
24585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24586 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24591 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24592 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24593 $as_echo_n "(cached) " >&6
24595 ac_check_lib_save_LIBS
=$LIBS
24597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24598 /* end confdefs.h. */
24600 /* Override any GCC internal prototype to avoid an error.
24601 Use char because int might match the return type of a GCC
24602 builtin and then its argument prototype would still apply. */
24606 char gdk_im_open ();
24610 return gdk_im_open ();
24615 if ac_fn_c_try_link
"$LINENO"; then :
24616 ac_cv_lib_gdk_gdk_im_open
=yes
24618 ac_cv_lib_gdk_gdk_im_open
=no
24620 rm -f core conftest.err conftest.
$ac_objext \
24621 conftest
$ac_exeext conftest.
$ac_ext
24622 LIBS
=$ac_check_lib_save_LIBS
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24625 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24626 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24627 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24632 if test "$USE_DARWIN" != 1; then
24633 for ac_func
in poll
24635 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24636 if test "x$ac_cv_func_poll" = xyes
; then :
24637 cat >>confdefs.h
<<_ACEOF
24638 #define HAVE_POLL 1
24647 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24648 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24649 AFMINSTALL
=afminstall
24653 if test "$wxUSE_GPE" = "yes"; then
24654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24655 $as_echo_n "checking for gpewidget library... " >&6; }
24658 for ac_dir
in $SEARCH_LIB
24660 for ac_extension
in a so sl dylib dll.a
; do
24661 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24662 ac_find_libraries
=$ac_dir
24668 if test "$ac_find_libraries" != "" ; then
24670 if test "$ac_find_libraries" = "default location"; then
24673 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24675 if test $result = 0; then
24678 ac_path_to_link
=" -L$ac_find_libraries"
24682 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24685 $as_echo "found in $ac_find_libraries" >&6; }
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24688 $as_echo "not found" >&6; }
24694 if test "$wxUSE_DFB" = 1; then
24697 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24698 if test -n "$ac_tool_prefix"; then
24699 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24700 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24702 $as_echo_n "checking for $ac_word... " >&6; }
24703 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24704 $as_echo_n "(cached) " >&6
24706 case $PKG_CONFIG in
24708 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24712 for as_dir
in $PATH
24715 test -z "$as_dir" && as_dir
=.
24716 for ac_exec_ext
in '' $ac_executable_extensions; do
24717 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24718 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24729 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24730 if test -n "$PKG_CONFIG"; then
24731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24732 $as_echo "$PKG_CONFIG" >&6; }
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24735 $as_echo "no" >&6; }
24740 if test -z "$ac_cv_path_PKG_CONFIG"; then
24741 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24742 # Extract the first word of "pkg-config", so it can be a program name with args.
24743 set dummy pkg
-config; ac_word
=$2
24744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24745 $as_echo_n "checking for $ac_word... " >&6; }
24746 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24747 $as_echo_n "(cached) " >&6
24749 case $ac_pt_PKG_CONFIG in
24751 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24755 for as_dir
in $PATH
24758 test -z "$as_dir" && as_dir
=.
24759 for ac_exec_ext
in '' $ac_executable_extensions; do
24760 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24761 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24772 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24773 if test -n "$ac_pt_PKG_CONFIG"; then
24774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24775 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24778 $as_echo "no" >&6; }
24781 if test "x$ac_pt_PKG_CONFIG" = x
; then
24784 case $cross_compiling:$ac_tool_warned in
24786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24788 ac_tool_warned
=yes ;;
24790 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24793 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24797 if test -n "$PKG_CONFIG"; then
24798 _pkg_min_version
=0.9.0
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24800 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24801 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24803 $as_echo "yes" >&6; }
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24806 $as_echo "no" >&6; }
24814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24815 $as_echo_n "checking for DIRECTFB... " >&6; }
24817 if test -n "$PKG_CONFIG"; then
24818 if test -n "$DIRECTFB_CFLAGS"; then
24819 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24821 if test -n "$PKG_CONFIG" && \
24822 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24823 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24826 test $ac_status = 0; }; then
24827 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24835 if test -n "$PKG_CONFIG"; then
24836 if test -n "$DIRECTFB_LIBS"; then
24837 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24839 if test -n "$PKG_CONFIG" && \
24840 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24841 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24844 test $ac_status = 0; }; then
24845 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24856 if test $pkg_failed = yes; then
24858 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24859 _pkg_short_errors_supported
=yes
24861 _pkg_short_errors_supported
=no
24863 if test $_pkg_short_errors_supported = yes; then
24864 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24866 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24868 # Put the nasty error message in config.log where it belongs
24869 echo "$DIRECTFB_PKG_ERRORS" >&5
24872 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24875 elif test $pkg_failed = untried
; then
24877 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24881 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24882 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24884 $as_echo "yes" >&6; }
24886 wxUSE_UNIVERSAL
="yes"
24887 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24888 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24895 if test "$wxUSE_MICROWIN" = 1; then
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24897 $as_echo_n "checking for MicroWindows... " >&6; }
24898 if test "x$MICROWINDOWS" = x
; then
24899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24900 $as_echo "not found" >&6; }
24901 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24904 $as_echo "$MICROWINDOWS" >&6; }
24907 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24909 $as_echo "MicroWindows' libraries found." >&6; }
24911 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24914 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24915 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24917 wxUSE_UNIVERSAL
="yes"
24919 AFMINSTALL
=afminstall
24921 GUIDIST
=MICROWIN_DIST
24923 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24926 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24928 $as_echo_n "checking for X... " >&6; }
24931 # Check whether --with-x was given.
24932 if test "${with_x+set}" = set; then :
24936 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24937 if test "x$with_x" = xno
; then
24938 # The user explicitly disabled X.
24941 case $x_includes,$x_libraries in #(
24942 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24943 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24944 $as_echo_n "(cached) " >&6
24946 # One or both of the vars are not set, and there is no cached value.
24947 ac_x_includes
=no ac_x_libraries
=no
24948 rm -f -r conftest.dir
24949 if mkdir conftest.dir
; then
24951 cat >Imakefile
<<'_ACEOF'
24953 @echo incroot='${INCROOT}'
24955 @echo usrlibdir='${USRLIBDIR}'
24957 @echo libdir='${LIBDIR}'
24959 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24960 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24961 for ac_var
in incroot usrlibdir libdir
; do
24962 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24964 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24965 for ac_extension
in a so sl dylib la dll
; do
24966 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24967 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24968 ac_im_usrlibdir
=$ac_im_libdir; break
24971 # Screen out bogus values from the imake configuration. They are
24972 # bogus both because they are the default anyway, and because
24973 # using them would break gcc on systems where it needs fixed includes.
24974 case $ac_im_incroot in
24975 /usr
/include
) ac_x_includes
= ;;
24976 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24978 case $ac_im_usrlibdir in
24979 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24980 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24984 rm -f -r conftest.dir
24987 # Standard set of common directories for X headers.
24988 # Check X11 before X11Rn because it is often a symlink to the current release.
25002 /usr/local/X11/include
25003 /usr/local/X11R7/include
25004 /usr/local/X11R6/include
25005 /usr/local/X11R5/include
25006 /usr/local/X11R4/include
25008 /usr/local/include/X11
25009 /usr/local/include/X11R7
25010 /usr/local/include/X11R6
25011 /usr/local/include/X11R5
25012 /usr/local/include/X11R4
25016 /usr/XFree86/include/X11
25020 /usr/unsupported/include
25021 /usr/athena/include
25022 /usr/local/x11r5/include
25023 /usr/lpp/Xamples/include
25025 /usr/openwin/include
25026 /usr/openwin/share/include'
25028 if test "$ac_x_includes" = no
; then
25029 # Guess where to find include files, by looking for Xlib.h.
25030 # First, try using that file with no special directory specified.
25031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25032 /* end confdefs.h. */
25033 #include <X11/Xlib.h>
25035 if ac_fn_c_try_cpp
"$LINENO"; then :
25036 # We can compile using X headers with no special include directory.
25039 for ac_dir
in $ac_x_header_dirs; do
25040 if test -r "$ac_dir/X11/Xlib.h"; then
25041 ac_x_includes
=$ac_dir
25046 rm -f conftest.err conftest.i conftest.
$ac_ext
25047 fi # $ac_x_includes = no
25049 if test "$ac_x_libraries" = no
; then
25050 # Check for the libraries.
25051 # See if we find them without any special options.
25052 # Don't add to $LIBS permanently.
25055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25056 /* end confdefs.h. */
25057 #include <X11/Xlib.h>
25066 if ac_fn_c_try_link
"$LINENO"; then :
25068 # We can link X programs with no special library path.
25072 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25074 # Don't even attempt the hair of trying to link an X program!
25075 for ac_extension
in a so sl dylib la dll
; do
25076 if test -r "$ac_dir/libX11.$ac_extension"; then
25077 ac_x_libraries
=$ac_dir
25083 rm -f core conftest.err conftest.
$ac_objext \
25084 conftest
$ac_exeext conftest.
$ac_ext
25085 fi # $ac_x_libraries = no
25087 case $ac_x_includes,$ac_x_libraries in #(
25088 no
,* | *,no
| *\'*)
25089 # Didn't find X, or a directory has "'" in its name.
25090 ac_cv_have_x
="have_x=no";; #(
25092 # Record where we found X for the cache.
25093 ac_cv_have_x
="have_x=yes\
25094 ac_x_includes='$ac_x_includes'\
25095 ac_x_libraries='$ac_x_libraries'"
25101 eval "$ac_cv_have_x"
25104 if test "$have_x" != yes; then
25105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25106 $as_echo "$have_x" >&6; }
25109 # If each of the values was on the command line, it overrides each guess.
25110 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25111 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25112 # Update the cache value to reflect the command line values.
25113 ac_cv_have_x
="have_x=yes\
25114 ac_x_includes='$x_includes'\
25115 ac_x_libraries='$x_libraries'"
25116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25117 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25120 if test "$no_x" = yes; then
25121 # Not all programs may use this symbol, but it does not hurt to define it.
25123 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25125 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25127 if test -n "$x_includes"; then
25128 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25131 # It would also be nice to do this for all -L options, not just this one.
25132 if test -n "$x_libraries"; then
25133 X_LIBS
="$X_LIBS -L$x_libraries"
25134 # For Solaris; some versions of Sun CC require a space after -R and
25135 # others require no space. Words are not sufficient . . . .
25136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25137 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25138 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25139 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25140 ac_c_werror_flag
=yes
25141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25142 /* end confdefs.h. */
25152 if ac_fn_c_try_link
"$LINENO"; then :
25153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25154 $as_echo "no" >&6; }
25155 X_LIBS
="$X_LIBS -R$x_libraries"
25157 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25159 /* end confdefs.h. */
25169 if ac_fn_c_try_link
"$LINENO"; then :
25170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25171 $as_echo "yes" >&6; }
25172 X_LIBS
="$X_LIBS -R $x_libraries"
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25175 $as_echo "neither works" >&6; }
25177 rm -f core conftest.err conftest.
$ac_objext \
25178 conftest
$ac_exeext conftest.
$ac_ext
25180 rm -f core conftest.err conftest.
$ac_objext \
25181 conftest
$ac_exeext conftest.
$ac_ext
25182 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25183 LIBS
=$ac_xsave_LIBS
25186 # Check for system-dependent libraries X programs must link with.
25187 # Do this before checking for the system-independent R6 libraries
25188 # (-lICE), since we may need -lsocket or whatever for X linking.
25190 if test "$ISC" = yes; then
25191 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25193 # Martyn Johnson says this is needed for Ultrix, if the X
25194 # libraries were built with DECnet support. And Karl Berry says
25195 # the Alpha needs dnet_stub (dnet does not exist).
25196 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25198 /* end confdefs.h. */
25200 /* Override any GCC internal prototype to avoid an error.
25201 Use char because int might match the return type of a GCC
25202 builtin and then its argument prototype would still apply. */
25206 char XOpenDisplay ();
25210 return XOpenDisplay ();
25215 if ac_fn_c_try_link
"$LINENO"; then :
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25219 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25220 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
25221 $as_echo_n "(cached) " >&6
25223 ac_check_lib_save_LIBS
=$LIBS
25224 LIBS
="-ldnet $LIBS"
25225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25226 /* end confdefs.h. */
25228 /* Override any GCC internal prototype to avoid an error.
25229 Use char because int might match the return type of a GCC
25230 builtin and then its argument prototype would still apply. */
25238 return dnet_ntoa ();
25243 if ac_fn_c_try_link
"$LINENO"; then :
25244 ac_cv_lib_dnet_dnet_ntoa
=yes
25246 ac_cv_lib_dnet_dnet_ntoa
=no
25248 rm -f core conftest.err conftest.
$ac_objext \
25249 conftest
$ac_exeext conftest.
$ac_ext
25250 LIBS
=$ac_check_lib_save_LIBS
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25253 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25254 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
25255 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25258 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25260 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25261 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
25262 $as_echo_n "(cached) " >&6
25264 ac_check_lib_save_LIBS
=$LIBS
25265 LIBS
="-ldnet_stub $LIBS"
25266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25267 /* end confdefs.h. */
25269 /* Override any GCC internal prototype to avoid an error.
25270 Use char because int might match the return type of a GCC
25271 builtin and then its argument prototype would still apply. */
25279 return dnet_ntoa ();
25284 if ac_fn_c_try_link
"$LINENO"; then :
25285 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25287 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25289 rm -f core conftest.err conftest.
$ac_objext \
25290 conftest
$ac_exeext conftest.
$ac_ext
25291 LIBS
=$ac_check_lib_save_LIBS
25293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25294 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25295 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
25296 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25301 rm -f core conftest.err conftest.
$ac_objext \
25302 conftest
$ac_exeext conftest.
$ac_ext
25303 LIBS
="$ac_xsave_LIBS"
25305 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25306 # to get the SysV transport functions.
25307 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25309 # The nsl library prevents programs from opening the X display
25310 # on Irix 5.2, according to T.E. Dickey.
25311 # The functions gethostbyname, getservbyname, and inet_addr are
25312 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25313 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25314 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25318 if test $ac_cv_func_gethostbyname = no
; then
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25320 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25321 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25322 $as_echo_n "(cached) " >&6
25324 ac_check_lib_save_LIBS
=$LIBS
25326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25327 /* end confdefs.h. */
25329 /* Override any GCC internal prototype to avoid an error.
25330 Use char because int might match the return type of a GCC
25331 builtin and then its argument prototype would still apply. */
25335 char gethostbyname ();
25339 return gethostbyname ();
25344 if ac_fn_c_try_link
"$LINENO"; then :
25345 ac_cv_lib_nsl_gethostbyname
=yes
25347 ac_cv_lib_nsl_gethostbyname
=no
25349 rm -f core conftest.err conftest.
$ac_objext \
25350 conftest
$ac_exeext conftest.
$ac_ext
25351 LIBS
=$ac_check_lib_save_LIBS
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25354 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25355 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25356 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25359 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25361 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25362 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25363 $as_echo_n "(cached) " >&6
25365 ac_check_lib_save_LIBS
=$LIBS
25367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25368 /* end confdefs.h. */
25370 /* Override any GCC internal prototype to avoid an error.
25371 Use char because int might match the return type of a GCC
25372 builtin and then its argument prototype would still apply. */
25376 char gethostbyname ();
25380 return gethostbyname ();
25385 if ac_fn_c_try_link
"$LINENO"; then :
25386 ac_cv_lib_bsd_gethostbyname
=yes
25388 ac_cv_lib_bsd_gethostbyname
=no
25390 rm -f core conftest.err conftest.
$ac_objext \
25391 conftest
$ac_exeext conftest.
$ac_ext
25392 LIBS
=$ac_check_lib_save_LIBS
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25395 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25396 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25397 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25403 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25404 # socket/setsockopt and other routines are undefined under SCO ODT
25405 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25406 # on later versions), says Simon Leinen: it contains gethostby*
25407 # variants that don't use the name server (or something). -lsocket
25408 # must be given before -lnsl if both are needed. We assume that
25409 # if connect needs -lnsl, so does gethostbyname.
25410 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25411 if test "x$ac_cv_func_connect" = xyes
; then :
25415 if test $ac_cv_func_connect = no
; then
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25417 $as_echo_n "checking for connect in -lsocket... " >&6; }
25418 if ${ac_cv_lib_socket_connect+:} false
; then :
25419 $as_echo_n "(cached) " >&6
25421 ac_check_lib_save_LIBS
=$LIBS
25422 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25424 /* end confdefs.h. */
25426 /* Override any GCC internal prototype to avoid an error.
25427 Use char because int might match the return type of a GCC
25428 builtin and then its argument prototype would still apply. */
25441 if ac_fn_c_try_link
"$LINENO"; then :
25442 ac_cv_lib_socket_connect
=yes
25444 ac_cv_lib_socket_connect
=no
25446 rm -f core conftest.err conftest.
$ac_objext \
25447 conftest
$ac_exeext conftest.
$ac_ext
25448 LIBS
=$ac_check_lib_save_LIBS
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25451 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25452 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25453 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25458 # Guillermo Gomez says -lposix is necessary on A/UX.
25459 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25460 if test "x$ac_cv_func_remove" = xyes
; then :
25464 if test $ac_cv_func_remove = no
; then
25465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25466 $as_echo_n "checking for remove in -lposix... " >&6; }
25467 if ${ac_cv_lib_posix_remove+:} false
; then :
25468 $as_echo_n "(cached) " >&6
25470 ac_check_lib_save_LIBS
=$LIBS
25471 LIBS
="-lposix $LIBS"
25472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25473 /* end confdefs.h. */
25475 /* Override any GCC internal prototype to avoid an error.
25476 Use char because int might match the return type of a GCC
25477 builtin and then its argument prototype would still apply. */
25490 if ac_fn_c_try_link
"$LINENO"; then :
25491 ac_cv_lib_posix_remove
=yes
25493 ac_cv_lib_posix_remove
=no
25495 rm -f core conftest.err conftest.
$ac_objext \
25496 conftest
$ac_exeext conftest.
$ac_ext
25497 LIBS
=$ac_check_lib_save_LIBS
25499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25500 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25501 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25502 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25507 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25508 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25509 if test "x$ac_cv_func_shmat" = xyes
; then :
25513 if test $ac_cv_func_shmat = no
; then
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25515 $as_echo_n "checking for shmat in -lipc... " >&6; }
25516 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25517 $as_echo_n "(cached) " >&6
25519 ac_check_lib_save_LIBS
=$LIBS
25521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25522 /* end confdefs.h. */
25524 /* Override any GCC internal prototype to avoid an error.
25525 Use char because int might match the return type of a GCC
25526 builtin and then its argument prototype would still apply. */
25539 if ac_fn_c_try_link
"$LINENO"; then :
25540 ac_cv_lib_ipc_shmat
=yes
25542 ac_cv_lib_ipc_shmat
=no
25544 rm -f core conftest.err conftest.
$ac_objext \
25545 conftest
$ac_exeext conftest.
$ac_ext
25546 LIBS
=$ac_check_lib_save_LIBS
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25549 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25550 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25551 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25557 # Check for libraries that X11R6 Xt/Xaw programs need.
25558 ac_save_LDFLAGS
=$LDFLAGS
25559 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25560 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25561 # check for ICE first), but we must link in the order -lSM -lICE or
25562 # we get undefined symbols. So assume we have SM if we have ICE.
25563 # These have to be linked with before -lX11, unlike the other
25564 # libraries we check for below, so use a different variable.
25565 # John Interrante, Karl Berry
25566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25567 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25568 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25569 $as_echo_n "(cached) " >&6
25571 ac_check_lib_save_LIBS
=$LIBS
25572 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25574 /* end confdefs.h. */
25576 /* Override any GCC internal prototype to avoid an error.
25577 Use char because int might match the return type of a GCC
25578 builtin and then its argument prototype would still apply. */
25582 char IceConnectionNumber ();
25586 return IceConnectionNumber ();
25591 if ac_fn_c_try_link
"$LINENO"; then :
25592 ac_cv_lib_ICE_IceConnectionNumber
=yes
25594 ac_cv_lib_ICE_IceConnectionNumber
=no
25596 rm -f core conftest.err conftest.
$ac_objext \
25597 conftest
$ac_exeext conftest.
$ac_ext
25598 LIBS
=$ac_check_lib_save_LIBS
25600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25601 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25602 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25603 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25606 LDFLAGS
=$ac_save_LDFLAGS
25611 if test "$no_x" = "yes"; then
25612 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25615 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25616 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25617 AFMINSTALL
=afminstall
25618 COMPILED_X_PROGRAM
=0
25622 if test "$wxUSE_X11" = 1; then
25623 if test "$wxUSE_NANOX" = "yes"; then
25624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25625 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25626 if test "x$MICROWIN" = x
; then
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25628 $as_echo "not found" >&6; }
25629 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25632 $as_echo "$MICROWIN" >&6; }
25633 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25638 if test "$wxUSE_UNICODE" = "yes"; then
25641 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25642 if test -n "$ac_tool_prefix"; then
25643 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25644 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25646 $as_echo_n "checking for $ac_word... " >&6; }
25647 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25648 $as_echo_n "(cached) " >&6
25650 case $PKG_CONFIG in
25652 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25656 for as_dir
in $PATH
25659 test -z "$as_dir" && as_dir
=.
25660 for ac_exec_ext
in '' $ac_executable_extensions; do
25661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25662 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25673 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25674 if test -n "$PKG_CONFIG"; then
25675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25676 $as_echo "$PKG_CONFIG" >&6; }
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25679 $as_echo "no" >&6; }
25684 if test -z "$ac_cv_path_PKG_CONFIG"; then
25685 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25686 # Extract the first word of "pkg-config", so it can be a program name with args.
25687 set dummy pkg
-config; ac_word
=$2
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25689 $as_echo_n "checking for $ac_word... " >&6; }
25690 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25691 $as_echo_n "(cached) " >&6
25693 case $ac_pt_PKG_CONFIG in
25695 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25699 for as_dir
in $PATH
25702 test -z "$as_dir" && as_dir
=.
25703 for ac_exec_ext
in '' $ac_executable_extensions; do
25704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25705 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25716 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25717 if test -n "$ac_pt_PKG_CONFIG"; then
25718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25719 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25722 $as_echo "no" >&6; }
25725 if test "x$ac_pt_PKG_CONFIG" = x
; then
25728 case $cross_compiling:$ac_tool_warned in
25730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25732 ac_tool_warned
=yes ;;
25734 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25737 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25741 if test -n "$PKG_CONFIG"; then
25742 _pkg_min_version
=0.9.0
25743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25744 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25745 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25747 $as_echo "yes" >&6; }
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25750 $as_echo "no" >&6; }
25758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25759 $as_echo_n "checking for PANGOX... " >&6; }
25761 if test -n "$PKG_CONFIG"; then
25762 if test -n "$PANGOX_CFLAGS"; then
25763 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25765 if test -n "$PKG_CONFIG" && \
25766 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25767 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25770 test $ac_status = 0; }; then
25771 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25779 if test -n "$PKG_CONFIG"; then
25780 if test -n "$PANGOX_LIBS"; then
25781 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25783 if test -n "$PKG_CONFIG" && \
25784 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25785 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25788 test $ac_status = 0; }; then
25789 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25800 if test $pkg_failed = yes; then
25802 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25803 _pkg_short_errors_supported
=yes
25805 _pkg_short_errors_supported
=no
25807 if test $_pkg_short_errors_supported = yes; then
25808 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25810 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25812 # Put the nasty error message in config.log where it belongs
25813 echo "$PANGOX_PKG_ERRORS" >&5
25816 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25819 elif test $pkg_failed = untried
; then
25821 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25825 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25826 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25828 $as_echo "yes" >&6; }
25830 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25831 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25832 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25838 $as_echo_n "checking for PANGOFT2... " >&6; }
25840 if test -n "$PKG_CONFIG"; then
25841 if test -n "$PANGOFT2_CFLAGS"; then
25842 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25844 if test -n "$PKG_CONFIG" && \
25845 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25846 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25849 test $ac_status = 0; }; then
25850 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25858 if test -n "$PKG_CONFIG"; then
25859 if test -n "$PANGOFT2_LIBS"; then
25860 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25862 if test -n "$PKG_CONFIG" && \
25863 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25864 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25867 test $ac_status = 0; }; then
25868 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25879 if test $pkg_failed = yes; then
25881 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25882 _pkg_short_errors_supported
=yes
25884 _pkg_short_errors_supported
=no
25886 if test $_pkg_short_errors_supported = yes; then
25887 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25889 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25891 # Put the nasty error message in config.log where it belongs
25892 echo "$PANGOFT2_PKG_ERRORS" >&5
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25896 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25897 wxUSE_PRINTING_ARCHITECTURE
="no"
25900 elif test $pkg_failed = untried
; then
25902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25903 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25904 wxUSE_PRINTING_ARCHITECTURE
="no"
25908 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25909 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25911 $as_echo "yes" >&6; }
25913 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25914 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25915 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25921 $as_echo_n "checking for PANGOXFT... " >&6; }
25923 if test -n "$PKG_CONFIG"; then
25924 if test -n "$PANGOXFT_CFLAGS"; then
25925 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25927 if test -n "$PKG_CONFIG" && \
25928 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25929 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25932 test $ac_status = 0; }; then
25933 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25941 if test -n "$PKG_CONFIG"; then
25942 if test -n "$PANGOXFT_LIBS"; then
25943 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25945 if test -n "$PKG_CONFIG" && \
25946 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25947 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25950 test $ac_status = 0; }; then
25951 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25962 if test $pkg_failed = yes; then
25964 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25965 _pkg_short_errors_supported
=yes
25967 _pkg_short_errors_supported
=no
25969 if test $_pkg_short_errors_supported = yes; then
25970 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25972 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25974 # Put the nasty error message in config.log where it belongs
25975 echo "$PANGOXFT_PKG_ERRORS" >&5
25978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25979 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25982 elif test $pkg_failed = untried
; then
25984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25985 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25989 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25990 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25992 $as_echo "yes" >&6; }
25994 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25996 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25997 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25998 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26002 LIBS
="$LIBS $PANGOX_LIBS"
26003 for ac_func
in pango_font_family_is_monospace
26005 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
26006 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
26007 cat >>confdefs.h
<<_ACEOF
26008 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
26017 wxUSE_UNIVERSAL
="yes"
26019 if test "$wxUSE_NANOX" = "yes"; then
26020 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26021 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"
26022 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26024 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26031 if test "$wxUSE_MOTIF" = 1; then
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
26033 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
26036 for ac_dir
in $SEARCH_INCLUDE /usr
/include
26038 if test -f "$ac_dir/Xm/Xm.h"; then
26039 ac_find_includes
=$ac_dir
26044 if test "$ac_find_includes" != "" ; then
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
26046 $as_echo "found in $ac_find_includes" >&6; }
26048 if test "x$ac_find_includes" = "x/usr/include"; then
26049 ac_path_to_include
=""
26051 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26053 if test $result = 0; then
26054 ac_path_to_include
=""
26056 ac_path_to_include
=" -I$ac_find_includes"
26060 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26062 save_CFLAGS
=$CFLAGS
26063 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26066 /* end confdefs.h. */
26075 version = xmUseVersion;
26081 if ac_fn_c_try_compile
"$LINENO"; then :
26083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26084 $as_echo "found in default search path" >&6; }
26085 COMPILED_X_PROGRAM
=1
26089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26090 $as_echo "no" >&6; }
26091 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
26095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26097 CFLAGS
=$save_CFLAGS
26101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
26102 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26105 for ac_dir
in $SEARCH_LIB
26107 for ac_extension
in a so sl dylib dll.a
; do
26108 if test -f "$ac_dir/libXm.$ac_extension"; then
26109 ac_find_libraries
=$ac_dir
26116 if test "x$ac_find_libraries" != "x" ; then
26117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26118 $as_echo "found in $ac_find_libraries" >&6; }
26121 if test "$ac_find_libraries" = "default location"; then
26124 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26126 if test $result = 0; then
26129 ac_path_to_link
=" -L$ac_find_libraries"
26133 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26135 save_CFLAGS
=$CFLAGS
26136 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26138 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26141 /* end confdefs.h. */
26150 version = xmUseVersion;
26156 if ac_fn_c_try_link
"$LINENO"; then :
26158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26159 $as_echo "found in default search path" >&6; }
26160 COMPILED_X_PROGRAM
=1
26164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26165 $as_echo "no" >&6; }
26166 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26170 rm -f core conftest.err conftest.
$ac_objext \
26171 conftest
$ac_exeext conftest.
$ac_ext
26173 CFLAGS
=$save_CFLAGS
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26178 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26182 for libp
in "" " -lXp"; do
26183 if test "$libs_found" = 0; then
26184 for libsm_ice
in "" " -lSM -lICE"; do
26185 if test "$libs_found" = 0; then
26187 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26188 save_CFLAGS
=$CFLAGS
26189 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26192 /* end confdefs.h. */
26195 #include <Xm/List.h>
26201 XmString string = NULL;
26204 XmListAddItem(w, string, position);
26210 if ac_fn_c_try_link
"$LINENO"; then :
26213 libsm_ice_link
="$libsm_ice"
26214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26215 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26219 rm -f core conftest.err conftest.
$ac_objext \
26220 conftest
$ac_exeext conftest.
$ac_ext
26223 CFLAGS
=$save_CFLAGS
26229 if test "$libs_found" = 0; then
26230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26231 $as_echo "can't find the right libraries" >&6; }
26232 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26236 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26237 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
26238 $as_echo_n "(cached) " >&6
26240 ac_check_lib_save_LIBS
=$LIBS
26242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26243 /* end confdefs.h. */
26245 /* Override any GCC internal prototype to avoid an error.
26246 Use char because int might match the return type of a GCC
26247 builtin and then its argument prototype would still apply. */
26251 char SgCreateList ();
26255 return SgCreateList ();
26260 if ac_fn_c_try_link
"$LINENO"; then :
26261 ac_cv_lib_Sgm_SgCreateList
=yes
26263 ac_cv_lib_Sgm_SgCreateList
=no
26265 rm -f core conftest.err conftest.
$ac_objext \
26266 conftest
$ac_exeext conftest.
$ac_ext
26267 LIBS
=$ac_check_lib_save_LIBS
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26270 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26271 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
26272 libsgm_link
=" -lSgm"
26276 save_CFLAGS
=$CFLAGS
26277 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26280 $as_echo_n "checking for Motif 2... " >&6; }
26281 if ${wx_cv_lib_motif2+:} false
; then :
26282 $as_echo_n "(cached) " >&6
26284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26285 /* end confdefs.h. */
26293 #if XmVersion < 2000
26301 if ac_fn_c_try_compile
"$LINENO"; then :
26302 wx_cv_lib_motif2
="yes"
26304 wx_cv_lib_motif2
="no"
26306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26309 $as_echo "$wx_cv_lib_motif2" >&6; }
26310 if test "$wx_cv_lib_motif2" = "yes"; then
26311 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26314 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26319 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26320 if ${wx_cv_lib_lesstif+:} false
; then :
26321 $as_echo_n "(cached) " >&6
26323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26324 /* end confdefs.h. */
26332 #if !defined(LesstifVersion) || LesstifVersion <= 0
26340 if ac_fn_c_try_compile
"$LINENO"; then :
26341 wx_cv_lib_lesstif
="yes"
26343 wx_cv_lib_lesstif
="no"
26345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26349 $as_echo "$wx_cv_lib_lesstif" >&6; }
26350 if test "$wx_cv_lib_lesstif" = "yes"; then
26351 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26354 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26358 CFLAGS
=$save_CFLAGS
26360 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26365 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26366 if test "$wxUSE_LIBXPM" = "sys"; then
26367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26368 $as_echo_n "checking for Xpm library... " >&6; }
26371 for ac_dir
in $SEARCH_LIB
26373 for ac_extension
in a so sl dylib dll.a
; do
26374 if test -f "$ac_dir/libXpm.$ac_extension"; then
26375 ac_find_libraries
=$ac_dir
26381 if test "$ac_find_libraries" != "" ; then
26383 if test "$ac_find_libraries" = "default location"; then
26386 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26388 if test $result = 0; then
26391 ac_path_to_link
=" -L$ac_find_libraries"
26395 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26397 $as_echo "found in $ac_find_libraries" >&6; }
26399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26400 $as_echo_n "checking for X11/xpm.h... " >&6; }
26401 if ${wx_cv_x11_xpm_h+:} false
; then :
26402 $as_echo_n "(cached) " >&6
26405 save_CFLAGS
=$CFLAGS
26406 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26409 /* end confdefs.h. */
26411 #include <X11/xpm.h>
26418 version = XpmLibraryVersion();
26424 if ac_fn_c_try_compile
"$LINENO"; then :
26425 wx_cv_x11_xpm_h
=yes
26430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26432 CFLAGS
=$save_CFLAGS
26436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26437 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26439 if test $wx_cv_x11_xpm_h = "yes"; then
26440 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26441 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26445 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26452 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26453 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26454 $as_echo_n "(cached) " >&6
26456 ac_check_lib_save_LIBS
=$LIBS
26457 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26459 /* end confdefs.h. */
26461 /* Override any GCC internal prototype to avoid an error.
26462 Use char because int might match the return type of a GCC
26463 builtin and then its argument prototype would still apply. */
26467 char XShapeQueryExtension ();
26471 return XShapeQueryExtension ();
26476 if ac_fn_c_try_link
"$LINENO"; then :
26477 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26479 ac_cv_lib_Xext_XShapeQueryExtension
=no
26481 rm -f core conftest.err conftest.
$ac_objext \
26482 conftest
$ac_exeext conftest.
$ac_ext
26483 LIBS
=$ac_check_lib_save_LIBS
26485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26486 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26487 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26489 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26495 if test "$wxHAVE_XEXT_LIB" = 1; then
26496 save_CFLAGS
="$CFLAGS"
26497 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26500 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26504 #include <X11/Xlib.h>
26505 #include <X11/extensions/shape.h>
26511 int dummy1, dummy2;
26512 XShapeQueryExtension((Display*)NULL,
26513 (int*)NULL, (int*)NULL);
26519 if ac_fn_c_try_compile
"$LINENO"; then :
26521 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26524 $as_echo "found" >&6; }
26528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26529 $as_echo "not found" >&6; }
26532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26533 CFLAGS
="$save_CFLAGS"
26538 if test "$wxUSE_OSX_CARBON" = 1; then
26539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26540 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26541 if test "$GCC" = yes; then
26542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26543 $as_echo "gcc" >&6; }
26544 CPPFLAGS_PASCAL
="-fpascal-strings"
26545 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26547 $as_echo "xlc" >&6; }
26548 CPPFLAGS_PASCAL
="-qmacpstr"
26550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26551 $as_echo "none" >&6; }
26554 if test "x$wxUSE_UNIX" = "xyes"; then
26555 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26557 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26561 GUIDIST
=OSX_CARBON_DIST
26562 WXBASEPORT
="_carbon"
26564 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26567 if test "$wxUSE_OSX_COCOA" = 1; then
26569 GUIDIST
=OSX_COCOA_DIST
26571 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26574 if test "$wxUSE_OSX_IPHONE" = 1; then
26578 if test "$wxUSE_OLD_COCOA" = 1; then
26583 if test "$wxUSE_PM" = 1; then
26586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26587 $as_echo_n "checking for type SPBCDATA... " >&6; }
26588 if ${wx_cv_spbcdata+:} false
; then :
26589 $as_echo_n "(cached) " >&6
26592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26593 /* end confdefs.h. */
26608 if ac_fn_c_try_compile
"$LINENO"; then :
26614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26619 $as_echo "$wx_cv_spbcdata" >&6; }
26621 if test $wx_cv_spbcdata = "yes"; then
26622 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26627 if test "$TOOLKIT" = "PM" ; then
26630 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26633 if test "$wxUSE_UNIVERSAL" = "yes"; then
26634 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26638 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26639 DISTDIR
="wx\$(TOOLKIT)"
26645 if test "$USE_WIN32" = 1 ; then
26649 GUIDIST
="BASE_DIST"
26655 if test "$wxUSE_GUI" = "yes"; then
26656 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26657 for ac_header
in X
11/Xlib.h
26659 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26661 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26662 cat >>confdefs.h
<<_ACEOF
26663 #define HAVE_X11_XLIB_H 1
26670 for ac_header
in X
11/XKBlib.h
26672 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26673 #if HAVE_X11_XLIB_H
26674 #include <X11/Xlib.h>
26678 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26679 cat >>confdefs.h
<<_ACEOF
26680 #define HAVE_X11_XKBLIB_H 1
26693 if test "$wxUSE_DISPLAY" = "yes"; then
26694 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26698 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26701 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26702 if test -n "$ac_tool_prefix"; then
26703 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26704 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26706 $as_echo_n "checking for $ac_word... " >&6; }
26707 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26708 $as_echo_n "(cached) " >&6
26710 case $PKG_CONFIG in
26712 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26716 for as_dir
in $PATH
26719 test -z "$as_dir" && as_dir
=.
26720 for ac_exec_ext
in '' $ac_executable_extensions; do
26721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26722 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26733 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26734 if test -n "$PKG_CONFIG"; then
26735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26736 $as_echo "$PKG_CONFIG" >&6; }
26738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26739 $as_echo "no" >&6; }
26744 if test -z "$ac_cv_path_PKG_CONFIG"; then
26745 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26746 # Extract the first word of "pkg-config", so it can be a program name with args.
26747 set dummy pkg
-config; ac_word
=$2
26748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26749 $as_echo_n "checking for $ac_word... " >&6; }
26750 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26751 $as_echo_n "(cached) " >&6
26753 case $ac_pt_PKG_CONFIG in
26755 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26759 for as_dir
in $PATH
26762 test -z "$as_dir" && as_dir
=.
26763 for ac_exec_ext
in '' $ac_executable_extensions; do
26764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26765 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26776 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26777 if test -n "$ac_pt_PKG_CONFIG"; then
26778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26779 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26782 $as_echo "no" >&6; }
26785 if test "x$ac_pt_PKG_CONFIG" = x
; then
26788 case $cross_compiling:$ac_tool_warned in
26790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26792 ac_tool_warned
=yes ;;
26794 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26797 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26801 if test -n "$PKG_CONFIG"; then
26802 _pkg_min_version
=0.9.0
26803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26804 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26805 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26807 $as_echo "yes" >&6; }
26809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26810 $as_echo "no" >&6; }
26817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26818 $as_echo_n "checking for Xinerama... " >&6; }
26820 if test -n "$PKG_CONFIG"; then
26821 if test -n "$Xinerama_CFLAGS"; then
26822 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26824 if test -n "$PKG_CONFIG" && \
26825 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26826 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26829 test $ac_status = 0; }; then
26830 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26838 if test -n "$PKG_CONFIG"; then
26839 if test -n "$Xinerama_LIBS"; then
26840 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26842 if test -n "$PKG_CONFIG" && \
26843 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26844 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26847 test $ac_status = 0; }; then
26848 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26859 if test $pkg_failed = yes; then
26861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26862 _pkg_short_errors_supported
=yes
26864 _pkg_short_errors_supported
=no
26866 if test $_pkg_short_errors_supported = yes; then
26867 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26869 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26871 # Put the nasty error message in config.log where it belongs
26872 echo "$Xinerama_PKG_ERRORS" >&5
26875 if test "x$ac_find_libraries" = "x"; then
26876 if test "xXineramaQueryScreens" != "x"; then
26877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26878 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26879 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26880 $as_echo_n "(cached) " >&6
26882 ac_check_lib_save_LIBS
=$LIBS
26883 LIBS
="-lXinerama $LIBS"
26884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26885 /* end confdefs.h. */
26887 /* Override any GCC internal prototype to avoid an error.
26888 Use char because int might match the return type of a GCC
26889 builtin and then its argument prototype would still apply. */
26893 char XineramaQueryScreens ();
26897 return XineramaQueryScreens ();
26902 if ac_fn_c_try_link
"$LINENO"; then :
26903 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26905 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26907 rm -f core conftest.err conftest.
$ac_objext \
26908 conftest
$ac_exeext conftest.
$ac_ext
26909 LIBS
=$ac_check_lib_save_LIBS
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26912 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26913 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26914 ac_find_libraries
="std"
26920 if test "x$ac_find_libraries" = "x"; then
26921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26922 $as_echo_n "checking elsewhere... " >&6; }
26925 for ac_dir
in $SEARCH_LIB
26927 for ac_extension
in a so sl dylib dll.a
; do
26928 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26929 ac_find_libraries
=$ac_dir
26935 if test "x$ac_find_libraries" != "x"; then
26936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26937 $as_echo "yes" >&6; }
26939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26940 $as_echo "no" >&6; }
26944 elif test $pkg_failed = untried
; then
26946 if test "x$ac_find_libraries" = "x"; then
26947 if test "xXineramaQueryScreens" != "x"; then
26948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26949 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26950 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26951 $as_echo_n "(cached) " >&6
26953 ac_check_lib_save_LIBS
=$LIBS
26954 LIBS
="-lXinerama $LIBS"
26955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26956 /* end confdefs.h. */
26958 /* Override any GCC internal prototype to avoid an error.
26959 Use char because int might match the return type of a GCC
26960 builtin and then its argument prototype would still apply. */
26964 char XineramaQueryScreens ();
26968 return XineramaQueryScreens ();
26973 if ac_fn_c_try_link
"$LINENO"; then :
26974 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26976 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26978 rm -f core conftest.err conftest.
$ac_objext \
26979 conftest
$ac_exeext conftest.
$ac_ext
26980 LIBS
=$ac_check_lib_save_LIBS
26982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26983 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26984 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26985 ac_find_libraries
="std"
26991 if test "x$ac_find_libraries" = "x"; then
26992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26993 $as_echo_n "checking elsewhere... " >&6; }
26996 for ac_dir
in $SEARCH_LIB
26998 for ac_extension
in a so sl dylib dll.a
; do
26999 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27000 ac_find_libraries
=$ac_dir
27006 if test "x$ac_find_libraries" != "x"; then
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27008 $as_echo "yes" >&6; }
27010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27011 $as_echo "no" >&6; }
27016 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
27017 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
27018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27019 $as_echo "yes" >&6; }
27021 ac_find_libraries
="std"
27023 eval ac_find_cflags
=\
$Xinerama_CFLAGS
27024 eval fl_libs
=\
$Xinerama_LIBS
27026 for fl_path
in $fl_libs
27028 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27029 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27035 if test "$ac_find_libraries" != "" ; then
27036 if test "$ac_find_libraries" != "std" ; then
27038 if test "$ac_find_libraries" = "default location"; then
27041 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27043 if test $result = 0; then
27046 ac_path_to_link
=" -L$ac_find_libraries"
27050 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27051 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27055 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
27058 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27061 elif test "$wxUSE_MSW" = 1; then
27062 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
27064 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
27072 if test "$wxUSE_DISPLAY" = "yes"; then
27073 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
27077 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
27080 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27081 if test -n "$ac_tool_prefix"; then
27082 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27083 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27085 $as_echo_n "checking for $ac_word... " >&6; }
27086 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27087 $as_echo_n "(cached) " >&6
27089 case $PKG_CONFIG in
27091 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27095 for as_dir
in $PATH
27098 test -z "$as_dir" && as_dir
=.
27099 for ac_exec_ext
in '' $ac_executable_extensions; do
27100 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27101 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27112 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27113 if test -n "$PKG_CONFIG"; then
27114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27115 $as_echo "$PKG_CONFIG" >&6; }
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27118 $as_echo "no" >&6; }
27123 if test -z "$ac_cv_path_PKG_CONFIG"; then
27124 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27125 # Extract the first word of "pkg-config", so it can be a program name with args.
27126 set dummy pkg
-config; ac_word
=$2
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27128 $as_echo_n "checking for $ac_word... " >&6; }
27129 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27130 $as_echo_n "(cached) " >&6
27132 case $ac_pt_PKG_CONFIG in
27134 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27138 for as_dir
in $PATH
27141 test -z "$as_dir" && as_dir
=.
27142 for ac_exec_ext
in '' $ac_executable_extensions; do
27143 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27144 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27155 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27156 if test -n "$ac_pt_PKG_CONFIG"; then
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27158 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27161 $as_echo "no" >&6; }
27164 if test "x$ac_pt_PKG_CONFIG" = x
; then
27167 case $cross_compiling:$ac_tool_warned in
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27171 ac_tool_warned
=yes ;;
27173 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27176 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27180 if test -n "$PKG_CONFIG"; then
27181 _pkg_min_version
=0.9.0
27182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27183 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27184 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27186 $as_echo "yes" >&6; }
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27189 $as_echo "no" >&6; }
27196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27197 $as_echo_n "checking for Xxf86vm... " >&6; }
27199 if test -n "$PKG_CONFIG"; then
27200 if test -n "$Xxf86vm_CFLAGS"; then
27201 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
27203 if test -n "$PKG_CONFIG" && \
27204 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27205 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27208 test $ac_status = 0; }; then
27209 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27217 if test -n "$PKG_CONFIG"; then
27218 if test -n "$Xxf86vm_LIBS"; then
27219 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
27221 if test -n "$PKG_CONFIG" && \
27222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27223 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27226 test $ac_status = 0; }; then
27227 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27238 if test $pkg_failed = yes; then
27240 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27241 _pkg_short_errors_supported
=yes
27243 _pkg_short_errors_supported
=no
27245 if test $_pkg_short_errors_supported = yes; then
27246 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27248 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27250 # Put the nasty error message in config.log where it belongs
27251 echo "$Xxf86vm_PKG_ERRORS" >&5
27254 if test "x$ac_find_libraries" = "x"; then
27255 if test "xXF86VidModeQueryExtension" != "x"; then
27256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27257 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27258 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27259 $as_echo_n "(cached) " >&6
27261 ac_check_lib_save_LIBS
=$LIBS
27262 LIBS
="-lXxf86vm $LIBS"
27263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27264 /* end confdefs.h. */
27266 /* Override any GCC internal prototype to avoid an error.
27267 Use char because int might match the return type of a GCC
27268 builtin and then its argument prototype would still apply. */
27272 char XF86VidModeQueryExtension ();
27276 return XF86VidModeQueryExtension ();
27281 if ac_fn_c_try_link
"$LINENO"; then :
27282 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27284 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27286 rm -f core conftest.err conftest.
$ac_objext \
27287 conftest
$ac_exeext conftest.
$ac_ext
27288 LIBS
=$ac_check_lib_save_LIBS
27290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27291 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27292 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27293 ac_find_libraries
="std"
27299 if test "x$ac_find_libraries" = "x"; then
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27301 $as_echo_n "checking elsewhere... " >&6; }
27304 for ac_dir
in $SEARCH_LIB
27306 for ac_extension
in a so sl dylib dll.a
; do
27307 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27308 ac_find_libraries
=$ac_dir
27314 if test "x$ac_find_libraries" != "x"; then
27315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27316 $as_echo "yes" >&6; }
27318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27319 $as_echo "no" >&6; }
27323 elif test $pkg_failed = untried
; then
27325 if test "x$ac_find_libraries" = "x"; then
27326 if test "xXF86VidModeQueryExtension" != "x"; then
27327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27328 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27329 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27330 $as_echo_n "(cached) " >&6
27332 ac_check_lib_save_LIBS
=$LIBS
27333 LIBS
="-lXxf86vm $LIBS"
27334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27335 /* end confdefs.h. */
27337 /* Override any GCC internal prototype to avoid an error.
27338 Use char because int might match the return type of a GCC
27339 builtin and then its argument prototype would still apply. */
27343 char XF86VidModeQueryExtension ();
27347 return XF86VidModeQueryExtension ();
27352 if ac_fn_c_try_link
"$LINENO"; then :
27353 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27355 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27357 rm -f core conftest.err conftest.
$ac_objext \
27358 conftest
$ac_exeext conftest.
$ac_ext
27359 LIBS
=$ac_check_lib_save_LIBS
27361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27362 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27363 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27364 ac_find_libraries
="std"
27370 if test "x$ac_find_libraries" = "x"; then
27371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27372 $as_echo_n "checking elsewhere... " >&6; }
27375 for ac_dir
in $SEARCH_LIB
27377 for ac_extension
in a so sl dylib dll.a
; do
27378 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27379 ac_find_libraries
=$ac_dir
27385 if test "x$ac_find_libraries" != "x"; then
27386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27387 $as_echo "yes" >&6; }
27389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27390 $as_echo "no" >&6; }
27395 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27396 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27398 $as_echo "yes" >&6; }
27400 ac_find_libraries
="std"
27402 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27403 eval fl_libs
=\
$Xxf86vm_LIBS
27405 for fl_path
in $fl_libs
27407 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27408 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27414 if test "$ac_find_libraries" != "" ; then
27415 for ac_header
in X
11/extensions
/xf86vmode.h
27417 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27418 #if HAVE_X11_XLIB_H
27419 #include <X11/Xlib.h>
27423 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27424 cat >>confdefs.h
<<_ACEOF
27425 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27428 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27438 if test "$wxUSE_DETECT_SM" = "yes"; then
27439 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27443 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27446 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27447 if test -n "$ac_tool_prefix"; then
27448 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27449 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27451 $as_echo_n "checking for $ac_word... " >&6; }
27452 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27453 $as_echo_n "(cached) " >&6
27455 case $PKG_CONFIG in
27457 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27461 for as_dir
in $PATH
27464 test -z "$as_dir" && as_dir
=.
27465 for ac_exec_ext
in '' $ac_executable_extensions; do
27466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27467 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27478 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27479 if test -n "$PKG_CONFIG"; then
27480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27481 $as_echo "$PKG_CONFIG" >&6; }
27483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27484 $as_echo "no" >&6; }
27489 if test -z "$ac_cv_path_PKG_CONFIG"; then
27490 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27491 # Extract the first word of "pkg-config", so it can be a program name with args.
27492 set dummy pkg
-config; ac_word
=$2
27493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27494 $as_echo_n "checking for $ac_word... " >&6; }
27495 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27496 $as_echo_n "(cached) " >&6
27498 case $ac_pt_PKG_CONFIG in
27500 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27504 for as_dir
in $PATH
27507 test -z "$as_dir" && as_dir
=.
27508 for ac_exec_ext
in '' $ac_executable_extensions; do
27509 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27510 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27521 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27522 if test -n "$ac_pt_PKG_CONFIG"; then
27523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27524 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27527 $as_echo "no" >&6; }
27530 if test "x$ac_pt_PKG_CONFIG" = x
; then
27533 case $cross_compiling:$ac_tool_warned in
27535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27537 ac_tool_warned
=yes ;;
27539 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27542 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27546 if test -n "$PKG_CONFIG"; then
27547 _pkg_min_version
=0.9.0
27548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27549 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27550 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27552 $as_echo "yes" >&6; }
27554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27555 $as_echo "no" >&6; }
27562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27563 $as_echo_n "checking for SM... " >&6; }
27565 if test -n "$PKG_CONFIG"; then
27566 if test -n "$SM_CFLAGS"; then
27567 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27569 if test -n "$PKG_CONFIG" && \
27570 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27571 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27574 test $ac_status = 0; }; then
27575 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27583 if test -n "$PKG_CONFIG"; then
27584 if test -n "$SM_LIBS"; then
27585 pkg_cv_SM_LIBS
="$SM_LIBS"
27587 if test -n "$PKG_CONFIG" && \
27588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27589 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27592 test $ac_status = 0; }; then
27593 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27604 if test $pkg_failed = yes; then
27606 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27607 _pkg_short_errors_supported
=yes
27609 _pkg_short_errors_supported
=no
27611 if test $_pkg_short_errors_supported = yes; then
27612 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27614 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27616 # Put the nasty error message in config.log where it belongs
27617 echo "$SM_PKG_ERRORS" >&5
27620 if test "x$ac_find_libraries" = "x"; then
27621 if test "xSmcOpenConnection" != "x"; then
27622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27623 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27624 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27625 $as_echo_n "(cached) " >&6
27627 ac_check_lib_save_LIBS
=$LIBS
27629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27630 /* end confdefs.h. */
27632 /* Override any GCC internal prototype to avoid an error.
27633 Use char because int might match the return type of a GCC
27634 builtin and then its argument prototype would still apply. */
27638 char SmcOpenConnection ();
27642 return SmcOpenConnection ();
27647 if ac_fn_c_try_link
"$LINENO"; then :
27648 ac_cv_lib_SM_SmcOpenConnection
=yes
27650 ac_cv_lib_SM_SmcOpenConnection
=no
27652 rm -f core conftest.err conftest.
$ac_objext \
27653 conftest
$ac_exeext conftest.
$ac_ext
27654 LIBS
=$ac_check_lib_save_LIBS
27656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27657 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27658 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27659 ac_find_libraries
="std"
27665 if test "x$ac_find_libraries" = "x"; then
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27667 $as_echo_n "checking elsewhere... " >&6; }
27670 for ac_dir
in $SEARCH_LIB
27672 for ac_extension
in a so sl dylib dll.a
; do
27673 if test -f "$ac_dir/libSM.$ac_extension"; then
27674 ac_find_libraries
=$ac_dir
27680 if test "x$ac_find_libraries" != "x"; then
27681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27682 $as_echo "yes" >&6; }
27684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27685 $as_echo "no" >&6; }
27689 elif test $pkg_failed = untried
; then
27691 if test "x$ac_find_libraries" = "x"; then
27692 if test "xSmcOpenConnection" != "x"; then
27693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27694 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27695 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27696 $as_echo_n "(cached) " >&6
27698 ac_check_lib_save_LIBS
=$LIBS
27700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27701 /* end confdefs.h. */
27703 /* Override any GCC internal prototype to avoid an error.
27704 Use char because int might match the return type of a GCC
27705 builtin and then its argument prototype would still apply. */
27709 char SmcOpenConnection ();
27713 return SmcOpenConnection ();
27718 if ac_fn_c_try_link
"$LINENO"; then :
27719 ac_cv_lib_SM_SmcOpenConnection
=yes
27721 ac_cv_lib_SM_SmcOpenConnection
=no
27723 rm -f core conftest.err conftest.
$ac_objext \
27724 conftest
$ac_exeext conftest.
$ac_ext
27725 LIBS
=$ac_check_lib_save_LIBS
27727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27728 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27729 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27730 ac_find_libraries
="std"
27736 if test "x$ac_find_libraries" = "x"; then
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27738 $as_echo_n "checking elsewhere... " >&6; }
27741 for ac_dir
in $SEARCH_LIB
27743 for ac_extension
in a so sl dylib dll.a
; do
27744 if test -f "$ac_dir/libSM.$ac_extension"; then
27745 ac_find_libraries
=$ac_dir
27751 if test "x$ac_find_libraries" != "x"; then
27752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27753 $as_echo "yes" >&6; }
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27756 $as_echo "no" >&6; }
27761 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27762 SM_LIBS
=$pkg_cv_SM_LIBS
27763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27764 $as_echo "yes" >&6; }
27766 ac_find_libraries
="std"
27768 eval ac_find_cflags
=\
$SM_CFLAGS
27769 eval fl_libs
=\
$SM_LIBS
27771 for fl_path
in $fl_libs
27773 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27774 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27780 if test "$ac_find_libraries" != "" ; then
27781 if test "$ac_find_libraries" != "std" ; then
27783 if test "$ac_find_libraries" = "default location"; then
27786 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27788 if test $result = 0; then
27791 ac_path_to_link
=" -L$ac_find_libraries"
27795 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27796 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27799 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27802 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27803 wxUSE_DETECT_SM
="no"
27806 wxUSE_DETECT_SM
="no"
27813 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27816 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27817 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27818 elif test "$wxUSE_MSW" = 1; then
27819 OPENGL_LIBS
="-lopengl32 -lglu32"
27820 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27823 $as_echo_n "checking for OpenGL headers... " >&6; }
27826 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27828 if test -f "$ac_dir/GL/gl.h"; then
27829 ac_find_includes
=$ac_dir
27834 if test "$ac_find_includes" != "" ; then
27835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27836 $as_echo "found in $ac_find_includes" >&6; }
27838 if test "x$ac_find_includes" = "x/usr/include"; then
27839 ac_path_to_include
=""
27841 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27843 if test $result = 0; then
27844 ac_path_to_include
=""
27846 ac_path_to_include
=" -I$ac_find_includes"
27850 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27853 $as_echo "not found" >&6; }
27856 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27858 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27860 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27862 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27869 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27872 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27873 if test -n "$ac_tool_prefix"; then
27874 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27875 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27877 $as_echo_n "checking for $ac_word... " >&6; }
27878 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27879 $as_echo_n "(cached) " >&6
27881 case $PKG_CONFIG in
27883 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27887 for as_dir
in $PATH
27890 test -z "$as_dir" && as_dir
=.
27891 for ac_exec_ext
in '' $ac_executable_extensions; do
27892 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27893 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27904 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27905 if test -n "$PKG_CONFIG"; then
27906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27907 $as_echo "$PKG_CONFIG" >&6; }
27909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27910 $as_echo "no" >&6; }
27915 if test -z "$ac_cv_path_PKG_CONFIG"; then
27916 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27917 # Extract the first word of "pkg-config", so it can be a program name with args.
27918 set dummy pkg
-config; ac_word
=$2
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27920 $as_echo_n "checking for $ac_word... " >&6; }
27921 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27922 $as_echo_n "(cached) " >&6
27924 case $ac_pt_PKG_CONFIG in
27926 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27930 for as_dir
in $PATH
27933 test -z "$as_dir" && as_dir
=.
27934 for ac_exec_ext
in '' $ac_executable_extensions; do
27935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27936 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27947 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27948 if test -n "$ac_pt_PKG_CONFIG"; then
27949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27950 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27953 $as_echo "no" >&6; }
27956 if test "x$ac_pt_PKG_CONFIG" = x
; then
27959 case $cross_compiling:$ac_tool_warned in
27961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27963 ac_tool_warned
=yes ;;
27965 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27968 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27972 if test -n "$PKG_CONFIG"; then
27973 _pkg_min_version
=0.9.0
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27975 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27976 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27978 $as_echo "yes" >&6; }
27980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27981 $as_echo "no" >&6; }
27988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27989 $as_echo_n "checking for GL... " >&6; }
27991 if test -n "$PKG_CONFIG"; then
27992 if test -n "$GL_CFLAGS"; then
27993 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27995 if test -n "$PKG_CONFIG" && \
27996 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27997 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28000 test $ac_status = 0; }; then
28001 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28009 if test -n "$PKG_CONFIG"; then
28010 if test -n "$GL_LIBS"; then
28011 pkg_cv_GL_LIBS
="$GL_LIBS"
28013 if test -n "$PKG_CONFIG" && \
28014 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28015 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28018 test $ac_status = 0; }; then
28019 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28030 if test $pkg_failed = yes; then
28032 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28033 _pkg_short_errors_supported
=yes
28035 _pkg_short_errors_supported
=no
28037 if test $_pkg_short_errors_supported = yes; then
28038 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28040 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28042 # Put the nasty error message in config.log where it belongs
28043 echo "$GL_PKG_ERRORS" >&5
28046 if test "x$ac_find_libraries" = "x"; then
28047 if test "xglBegin" != "x"; then
28048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28049 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28050 if ${ac_cv_lib_GL_glBegin+:} false
; then :
28051 $as_echo_n "(cached) " >&6
28053 ac_check_lib_save_LIBS
=$LIBS
28055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28056 /* end confdefs.h. */
28058 /* Override any GCC internal prototype to avoid an error.
28059 Use char because int might match the return type of a GCC
28060 builtin and then its argument prototype would still apply. */
28073 if ac_fn_c_try_link
"$LINENO"; then :
28074 ac_cv_lib_GL_glBegin
=yes
28076 ac_cv_lib_GL_glBegin
=no
28078 rm -f core conftest.err conftest.
$ac_objext \
28079 conftest
$ac_exeext conftest.
$ac_ext
28080 LIBS
=$ac_check_lib_save_LIBS
28082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28083 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28084 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
28085 ac_find_libraries
="std"
28091 if test "x$ac_find_libraries" = "x"; then
28092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28093 $as_echo_n "checking elsewhere... " >&6; }
28096 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28098 for ac_extension
in a so sl dylib dll.a
; do
28099 if test -f "$ac_dir/libGL.$ac_extension"; then
28100 ac_find_libraries
=$ac_dir
28106 if test "x$ac_find_libraries" != "x"; then
28107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28108 $as_echo "yes" >&6; }
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28111 $as_echo "no" >&6; }
28115 elif test $pkg_failed = untried
; then
28117 if test "x$ac_find_libraries" = "x"; then
28118 if test "xglBegin" != "x"; then
28119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28120 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28121 if ${ac_cv_lib_GL_glBegin+:} false
; then :
28122 $as_echo_n "(cached) " >&6
28124 ac_check_lib_save_LIBS
=$LIBS
28126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28127 /* end confdefs.h. */
28129 /* Override any GCC internal prototype to avoid an error.
28130 Use char because int might match the return type of a GCC
28131 builtin and then its argument prototype would still apply. */
28144 if ac_fn_c_try_link
"$LINENO"; then :
28145 ac_cv_lib_GL_glBegin
=yes
28147 ac_cv_lib_GL_glBegin
=no
28149 rm -f core conftest.err conftest.
$ac_objext \
28150 conftest
$ac_exeext conftest.
$ac_ext
28151 LIBS
=$ac_check_lib_save_LIBS
28153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28154 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28155 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
28156 ac_find_libraries
="std"
28162 if test "x$ac_find_libraries" = "x"; then
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28164 $as_echo_n "checking elsewhere... " >&6; }
28167 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28169 for ac_extension
in a so sl dylib dll.a
; do
28170 if test -f "$ac_dir/libGL.$ac_extension"; then
28171 ac_find_libraries
=$ac_dir
28177 if test "x$ac_find_libraries" != "x"; then
28178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28179 $as_echo "yes" >&6; }
28181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28182 $as_echo "no" >&6; }
28187 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
28188 GL_LIBS
=$pkg_cv_GL_LIBS
28189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28190 $as_echo "yes" >&6; }
28192 ac_find_libraries
="std"
28194 eval ac_find_cflags
=\
$GL_CFLAGS
28195 eval fl_libs
=\
$GL_LIBS
28197 for fl_path
in $fl_libs
28199 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28200 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28206 if test "$ac_find_libraries" != "" ; then
28207 if test "$ac_find_libraries" != "std" ; then
28209 if test "$ac_find_libraries" = "default location"; then
28212 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28214 if test $result = 0; then
28217 ac_path_to_link
=" -L$ac_find_libraries"
28221 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28222 LDFLAGS_GL
="$ac_path_to_link"
28229 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
28232 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28233 if test -n "$ac_tool_prefix"; then
28234 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28235 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28237 $as_echo_n "checking for $ac_word... " >&6; }
28238 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28239 $as_echo_n "(cached) " >&6
28241 case $PKG_CONFIG in
28243 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28247 for as_dir
in $PATH
28250 test -z "$as_dir" && as_dir
=.
28251 for ac_exec_ext
in '' $ac_executable_extensions; do
28252 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28253 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28264 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28265 if test -n "$PKG_CONFIG"; then
28266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28267 $as_echo "$PKG_CONFIG" >&6; }
28269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28270 $as_echo "no" >&6; }
28275 if test -z "$ac_cv_path_PKG_CONFIG"; then
28276 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28277 # Extract the first word of "pkg-config", so it can be a program name with args.
28278 set dummy pkg
-config; ac_word
=$2
28279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28280 $as_echo_n "checking for $ac_word... " >&6; }
28281 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28282 $as_echo_n "(cached) " >&6
28284 case $ac_pt_PKG_CONFIG in
28286 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28290 for as_dir
in $PATH
28293 test -z "$as_dir" && as_dir
=.
28294 for ac_exec_ext
in '' $ac_executable_extensions; do
28295 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28296 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28307 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28308 if test -n "$ac_pt_PKG_CONFIG"; then
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28310 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28313 $as_echo "no" >&6; }
28316 if test "x$ac_pt_PKG_CONFIG" = x
; then
28319 case $cross_compiling:$ac_tool_warned in
28321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28323 ac_tool_warned
=yes ;;
28325 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28328 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28332 if test -n "$PKG_CONFIG"; then
28333 _pkg_min_version
=0.9.0
28334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28335 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28336 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28338 $as_echo "yes" >&6; }
28340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28341 $as_echo "no" >&6; }
28348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28349 $as_echo_n "checking for GLU... " >&6; }
28351 if test -n "$PKG_CONFIG"; then
28352 if test -n "$GLU_CFLAGS"; then
28353 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28355 if test -n "$PKG_CONFIG" && \
28356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28357 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28360 test $ac_status = 0; }; then
28361 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28369 if test -n "$PKG_CONFIG"; then
28370 if test -n "$GLU_LIBS"; then
28371 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28373 if test -n "$PKG_CONFIG" && \
28374 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28375 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28378 test $ac_status = 0; }; then
28379 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28390 if test $pkg_failed = yes; then
28392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28393 _pkg_short_errors_supported
=yes
28395 _pkg_short_errors_supported
=no
28397 if test $_pkg_short_errors_supported = yes; then
28398 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28400 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28402 # Put the nasty error message in config.log where it belongs
28403 echo "$GLU_PKG_ERRORS" >&5
28406 if test "x$ac_find_libraries" = "x"; then
28407 if test "xgluBeginCurve" != "x"; then
28408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28409 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28410 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28411 $as_echo_n "(cached) " >&6
28413 ac_check_lib_save_LIBS
=$LIBS
28415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28416 /* end confdefs.h. */
28418 /* Override any GCC internal prototype to avoid an error.
28419 Use char because int might match the return type of a GCC
28420 builtin and then its argument prototype would still apply. */
28424 char gluBeginCurve ();
28428 return gluBeginCurve ();
28433 if ac_fn_c_try_link
"$LINENO"; then :
28434 ac_cv_lib_GLU_gluBeginCurve
=yes
28436 ac_cv_lib_GLU_gluBeginCurve
=no
28438 rm -f core conftest.err conftest.
$ac_objext \
28439 conftest
$ac_exeext conftest.
$ac_ext
28440 LIBS
=$ac_check_lib_save_LIBS
28442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28443 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28444 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28445 ac_find_libraries
="std"
28451 if test "x$ac_find_libraries" = "x"; then
28452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28453 $as_echo_n "checking elsewhere... " >&6; }
28456 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28458 for ac_extension
in a so sl dylib dll.a
; do
28459 if test -f "$ac_dir/libGLU.$ac_extension"; then
28460 ac_find_libraries
=$ac_dir
28466 if test "x$ac_find_libraries" != "x"; then
28467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28468 $as_echo "yes" >&6; }
28470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28471 $as_echo "no" >&6; }
28475 elif test $pkg_failed = untried
; then
28477 if test "x$ac_find_libraries" = "x"; then
28478 if test "xgluBeginCurve" != "x"; then
28479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28480 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28481 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28482 $as_echo_n "(cached) " >&6
28484 ac_check_lib_save_LIBS
=$LIBS
28486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28487 /* end confdefs.h. */
28489 /* Override any GCC internal prototype to avoid an error.
28490 Use char because int might match the return type of a GCC
28491 builtin and then its argument prototype would still apply. */
28495 char gluBeginCurve ();
28499 return gluBeginCurve ();
28504 if ac_fn_c_try_link
"$LINENO"; then :
28505 ac_cv_lib_GLU_gluBeginCurve
=yes
28507 ac_cv_lib_GLU_gluBeginCurve
=no
28509 rm -f core conftest.err conftest.
$ac_objext \
28510 conftest
$ac_exeext conftest.
$ac_ext
28511 LIBS
=$ac_check_lib_save_LIBS
28513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28514 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28515 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28516 ac_find_libraries
="std"
28522 if test "x$ac_find_libraries" = "x"; then
28523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28524 $as_echo_n "checking elsewhere... " >&6; }
28527 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28529 for ac_extension
in a so sl dylib dll.a
; do
28530 if test -f "$ac_dir/libGLU.$ac_extension"; then
28531 ac_find_libraries
=$ac_dir
28537 if test "x$ac_find_libraries" != "x"; then
28538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28539 $as_echo "yes" >&6; }
28541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28542 $as_echo "no" >&6; }
28547 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28548 GLU_LIBS
=$pkg_cv_GLU_LIBS
28549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28550 $as_echo "yes" >&6; }
28552 ac_find_libraries
="std"
28554 eval ac_find_cflags
=\
$GLU_CFLAGS
28555 eval fl_libs
=\
$GLU_LIBS
28557 for fl_path
in $fl_libs
28559 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28560 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28566 if test "$ac_find_libraries" != "" ; then
28567 if test "$ac_find_libraries" != "std" ; then
28569 if test "$ac_find_libraries" = "default location"; then
28572 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28574 if test $result = 0; then
28577 ac_path_to_link
=" -L$ac_find_libraries"
28581 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28582 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28583 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28588 OPENGL_LIBS
="-lGL -lGLU"
28592 if test "$found_gl" != 1; then
28596 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28599 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28600 if test -n "$ac_tool_prefix"; then
28601 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28602 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28604 $as_echo_n "checking for $ac_word... " >&6; }
28605 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28606 $as_echo_n "(cached) " >&6
28608 case $PKG_CONFIG in
28610 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28614 for as_dir
in $PATH
28617 test -z "$as_dir" && as_dir
=.
28618 for ac_exec_ext
in '' $ac_executable_extensions; do
28619 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28620 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28631 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28632 if test -n "$PKG_CONFIG"; then
28633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28634 $as_echo "$PKG_CONFIG" >&6; }
28636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28637 $as_echo "no" >&6; }
28642 if test -z "$ac_cv_path_PKG_CONFIG"; then
28643 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28644 # Extract the first word of "pkg-config", so it can be a program name with args.
28645 set dummy pkg
-config; ac_word
=$2
28646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28647 $as_echo_n "checking for $ac_word... " >&6; }
28648 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28649 $as_echo_n "(cached) " >&6
28651 case $ac_pt_PKG_CONFIG in
28653 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28657 for as_dir
in $PATH
28660 test -z "$as_dir" && as_dir
=.
28661 for ac_exec_ext
in '' $ac_executable_extensions; do
28662 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28663 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28674 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28675 if test -n "$ac_pt_PKG_CONFIG"; then
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28677 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28680 $as_echo "no" >&6; }
28683 if test "x$ac_pt_PKG_CONFIG" = x
; then
28686 case $cross_compiling:$ac_tool_warned in
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28690 ac_tool_warned
=yes ;;
28692 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28695 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28699 if test -n "$PKG_CONFIG"; then
28700 _pkg_min_version
=0.9.0
28701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28702 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28703 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28705 $as_echo "yes" >&6; }
28707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28708 $as_echo "no" >&6; }
28715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28716 $as_echo_n "checking for MesaGL... " >&6; }
28718 if test -n "$PKG_CONFIG"; then
28719 if test -n "$MesaGL_CFLAGS"; then
28720 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28722 if test -n "$PKG_CONFIG" && \
28723 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28724 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28727 test $ac_status = 0; }; then
28728 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28736 if test -n "$PKG_CONFIG"; then
28737 if test -n "$MesaGL_LIBS"; then
28738 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28740 if test -n "$PKG_CONFIG" && \
28741 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28742 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28745 test $ac_status = 0; }; then
28746 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28757 if test $pkg_failed = yes; then
28759 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28760 _pkg_short_errors_supported
=yes
28762 _pkg_short_errors_supported
=no
28764 if test $_pkg_short_errors_supported = yes; then
28765 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28767 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28769 # Put the nasty error message in config.log where it belongs
28770 echo "$MesaGL_PKG_ERRORS" >&5
28773 if test "x$ac_find_libraries" = "x"; then
28774 if test "xglEnable" != "x"; then
28775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28776 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28777 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28778 $as_echo_n "(cached) " >&6
28780 ac_check_lib_save_LIBS
=$LIBS
28781 LIBS
="-lMesaGL $LIBS"
28782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28783 /* end confdefs.h. */
28785 /* Override any GCC internal prototype to avoid an error.
28786 Use char because int might match the return type of a GCC
28787 builtin and then its argument prototype would still apply. */
28795 return glEnable ();
28800 if ac_fn_c_try_link
"$LINENO"; then :
28801 ac_cv_lib_MesaGL_glEnable
=yes
28803 ac_cv_lib_MesaGL_glEnable
=no
28805 rm -f core conftest.err conftest.
$ac_objext \
28806 conftest
$ac_exeext conftest.
$ac_ext
28807 LIBS
=$ac_check_lib_save_LIBS
28809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28810 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28811 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28812 ac_find_libraries
="std"
28818 if test "x$ac_find_libraries" = "x"; then
28819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28820 $as_echo_n "checking elsewhere... " >&6; }
28823 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28825 for ac_extension
in a so sl dylib dll.a
; do
28826 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28827 ac_find_libraries
=$ac_dir
28833 if test "x$ac_find_libraries" != "x"; then
28834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28835 $as_echo "yes" >&6; }
28837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28838 $as_echo "no" >&6; }
28842 elif test $pkg_failed = untried
; then
28844 if test "x$ac_find_libraries" = "x"; then
28845 if test "xglEnable" != "x"; then
28846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28847 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28848 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28849 $as_echo_n "(cached) " >&6
28851 ac_check_lib_save_LIBS
=$LIBS
28852 LIBS
="-lMesaGL $LIBS"
28853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28854 /* end confdefs.h. */
28856 /* Override any GCC internal prototype to avoid an error.
28857 Use char because int might match the return type of a GCC
28858 builtin and then its argument prototype would still apply. */
28866 return glEnable ();
28871 if ac_fn_c_try_link
"$LINENO"; then :
28872 ac_cv_lib_MesaGL_glEnable
=yes
28874 ac_cv_lib_MesaGL_glEnable
=no
28876 rm -f core conftest.err conftest.
$ac_objext \
28877 conftest
$ac_exeext conftest.
$ac_ext
28878 LIBS
=$ac_check_lib_save_LIBS
28880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28881 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28882 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28883 ac_find_libraries
="std"
28889 if test "x$ac_find_libraries" = "x"; then
28890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28891 $as_echo_n "checking elsewhere... " >&6; }
28894 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28896 for ac_extension
in a so sl dylib dll.a
; do
28897 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28898 ac_find_libraries
=$ac_dir
28904 if test "x$ac_find_libraries" != "x"; then
28905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28906 $as_echo "yes" >&6; }
28908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28909 $as_echo "no" >&6; }
28914 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28915 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28917 $as_echo "yes" >&6; }
28919 ac_find_libraries
="std"
28921 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28922 eval fl_libs
=\
$MesaGL_LIBS
28924 for fl_path
in $fl_libs
28926 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28927 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28933 if test "$ac_find_libraries" != "" ; then
28934 if test "$ac_find_libraries" != "std" ; then
28936 if test "$ac_find_libraries" = "default location"; then
28939 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28941 if test $result = 0; then
28944 ac_path_to_link
=" -L$ac_find_libraries"
28948 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28949 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28952 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28964 if test "x$OPENGL_LIBS" = "x"; then
28965 if test "$wxUSE_OPENGL" = "yes"; then
28966 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28969 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28976 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28980 if test "$wxUSE_OPENGL" = "auto"; then
28984 if test "$wxUSE_OPENGL" = "yes"; then
28986 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28988 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28995 if test -n "$TOOLKIT" ; then
28996 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29001 if test "$wxUSE_SHARED" = "yes"; then
29005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
29006 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29011 if test "$wxUSE_SHARED" = "yes"; then
29015 *-*-cygwin* | *-*-mingw* )
29016 wx_cv_version_script
=no
29020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
29021 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
29022 if ${wx_cv_version_script+:} false
; then :
29023 $as_echo_n "(cached) " >&6
29026 echo "VER_1 { *; };" >conftest.sym
29027 echo "int main() { return 0; }" >conftest.cpp
29030 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29031 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29032 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29033 (eval $ac_try) 2>&5
29035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29036 test $ac_status = 0; }; } ; then
29037 if test -s conftest.stderr
; then
29038 wx_cv_version_script
=no
29040 wx_cv_version_script
=yes
29043 wx_cv_version_script
=no
29046 if test $wx_cv_version_script = yes
29048 echo "struct B { virtual ~B() { } }; \
29049 struct D : public B { }; \
29050 void F() { D d; }" > conftest.cpp
29053 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29054 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29055 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29056 (eval $ac_try) 2>&5
29058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29059 test $ac_status = 0; }; } &&
29061 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29062 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29063 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29064 (eval $ac_try) 2>&5
29066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29067 test $ac_status = 0; }; }
29070 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29071 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29072 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29073 (eval $ac_try) 2>&5
29075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29076 test $ac_status = 0; }; }
29078 wx_cv_version_script
=yes
29080 wx_cv_version_script
=no
29085 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29086 rm -f conftest1.output conftest2.output conftest3.output
29089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
29090 $as_echo "$wx_cv_version_script" >&6; }
29092 if test $wx_cv_version_script = yes ; then
29093 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
29099 if test "$wxUSE_VISIBILITY" != "no"; then
29102 if test -n "$GCC"; then
29103 CFLAGS_VISIBILITY
="-fvisibility=hidden"
29104 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
29105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29106 $as_echo_n "checking for symbols visibility support... " >&6; }
29107 if ${wx_cv_cc_visibility+:} false
; then :
29108 $as_echo_n "(cached) " >&6
29111 wx_save_CXXFLAGS
="$CXXFLAGS"
29112 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29114 ac_cpp
='$CXXCPP $CPPFLAGS'
29115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29120 /* end confdefs.h. */
29122 /* we need gcc >= 4.0, older versions with visibility support
29123 didn't have class visibility: */
29124 #if defined(__GNUC__) && __GNUC__ < 4
29125 error this gcc is too old;
29128 /* visibility only makes sense for ELF shared libs: */
29129 #if !defined(__ELF__) && !defined(__APPLE__)
29130 error this platform has no visibility;
29133 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29134 #if defined(__clang__)
29135 clang compiler is still broken w.r.t. visibility;
29138 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29139 extern __attribute__((__visibility__("default"))) int exportedvar;
29140 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29141 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29142 class __attribute__((__visibility__("default"))) Foo {
29154 if ac_fn_cxx_try_compile
"$LINENO"; then :
29155 wx_cv_cc_visibility
=yes
29157 wx_cv_cc_visibility
=no
29159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29161 ac_cpp
='$CPP $CPPFLAGS'
29162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29166 CXXFLAGS
="$wx_save_CXXFLAGS"
29169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29170 $as_echo "$wx_cv_cc_visibility" >&6; }
29171 if test $wx_cv_cc_visibility = yes; then
29172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29173 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29174 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
29175 $as_echo_n "(cached) " >&6
29178 wx_save_CXXFLAGS
="$CXXFLAGS"
29179 wx_save_LDFLAGS
="$LDFLAGS"
29180 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29181 LDFLAGS
="$LDFLAGS -shared -fPIC"
29183 ac_cpp
='$CXXCPP $CPPFLAGS'
29184 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29185 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29186 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29189 /* end confdefs.h. */
29197 std::string s("hello");
29204 if ac_fn_cxx_try_link
"$LINENO"; then :
29205 wx_cv_cc_broken_libstdcxx_visibility
=no
29207 wx_cv_cc_broken_libstdcxx_visibility
=yes
29209 rm -f core conftest.err conftest.
$ac_objext \
29210 conftest
$ac_exeext conftest.
$ac_ext
29212 ac_cpp
='$CPP $CPPFLAGS'
29213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29217 CXXFLAGS
="$wx_save_CXXFLAGS"
29218 LDFLAGS
="$wx_save_LDFLAGS"
29221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29222 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29224 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29226 $as_echo_n "checking whether we can work around it... " >&6; }
29227 if ${wx_cv_cc_visibility_workaround+:} false
; then :
29228 $as_echo_n "(cached) " >&6
29232 ac_cpp
='$CXXCPP $CPPFLAGS'
29233 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29234 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29235 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29238 /* end confdefs.h. */
29240 #pragma GCC visibility push(default)
29242 #pragma GCC visibility pop
29248 std::string s("hello");
29255 if ac_fn_cxx_try_link
"$LINENO"; then :
29256 wx_cv_cc_visibility_workaround
=no
29258 wx_cv_cc_visibility_workaround
=yes
29260 rm -f core conftest.err conftest.
$ac_objext \
29261 conftest
$ac_exeext conftest.
$ac_ext
29263 ac_cpp
='$CPP $CPPFLAGS'
29264 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29265 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29266 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29272 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29274 if test $wx_cv_cc_visibility_workaround = no
; then
29275 wx_cv_cc_visibility
=no
29280 if test $wx_cv_cc_visibility = yes; then
29281 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29283 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29284 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29288 CFLAGS_VISIBILITY
=""
29289 CXXFLAGS_VISIBILITY
=""
29297 if test "x$SUNCXX" = xyes
; then
29298 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
29299 WXCONFIG_RPATH
="-R\$libdir"
29302 *-*-linux* | *-*-gnu* )
29303 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29304 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29309 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29311 saveLdflags
="$LDFLAGS"
29312 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29314 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29316 /* end confdefs.h. */
29326 if ac_fn_c_try_link
"$LINENO"; then :
29328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29329 $as_echo "yes" >&6; }
29330 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29331 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29336 $as_echo "no" >&6; }
29337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29338 $as_echo_n "checking if the linker accepts -R... " >&6; }
29339 LDFLAGS
="$saveLdflags -Wl,-R,/"
29340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29341 /* end confdefs.h. */
29351 if ac_fn_c_try_link
"$LINENO"; then :
29353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29354 $as_echo "yes" >&6; }
29355 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29356 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29361 $as_echo "no" >&6; }
29364 rm -f core conftest.err conftest.
$ac_objext \
29365 conftest
$ac_exeext conftest.
$ac_ext
29368 rm -f core conftest.err conftest.
$ac_objext \
29369 conftest
$ac_exeext conftest.
$ac_ext
29370 LDFLAGS
="$saveLdflags"
29374 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29375 if test "$install_name_tool" -a -x "$install_name_tool"; then
29376 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29377 cat <<EOF >change-install-names
29379 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29380 for i in \${libnames} ; do
29381 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29382 for dep in \${libnames} ; do
29383 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29387 chmod +x change
-install-names
29388 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29391 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29394 *-*-cygwin* | *-*-mingw32* )
29398 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29399 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29405 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29407 if test $wxUSE_RPATH = "no"; then
29408 SAMPLES_RPATH_FLAG
=''
29409 DYLIB_PATH_POSTLINK
=''
29417 config_linkage_component
="-static"
29424 lib_unicode_suffix
=
29426 if test "$wxUSE_UNICODE" = "yes"; then
29427 lib_unicode_suffix
=u
29428 WX_CHARTYPE
="unicode"
29432 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29433 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29436 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29440 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29442 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29444 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29447 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29448 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29450 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29452 if test "${TOOLKIT_DIR}" = "os2"; then
29453 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29455 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29460 if test "$wxUSE_OLD_COCOA" = 1; then
29463 ac_cpp
='$CPP $CPPFLAGS'
29464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29471 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29473 /* end confdefs.h. */
29474 #include <AppKit/NSEvent.h>
29475 #include <CoreFoundation/CoreFoundation.h>
29485 if ac_fn_c_try_compile
"$LINENO"; then :
29486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29487 $as_echo "no" >&6; }
29489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29490 $as_echo "yes" >&6; }
29491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29492 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29494 /* end confdefs.h. */
29495 #define __Point__ 1
29496 #include <AppKit/NSEvent.h>
29497 #include <CoreFoundation/CoreFoundation.h>
29507 if ac_fn_c_try_compile
"$LINENO"; then :
29508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29509 $as_echo "yes" >&6; }
29510 $as_echo "#define __Point__ 1" >>confdefs.h
29514 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29515 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29517 See \`config.log' for more details" "$LINENO" 5; }
29520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29525 ac_cpp
='$CPP $CPPFLAGS'
29526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29533 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29534 if test "x$ac_cv_type_mode_t" = xyes
; then :
29538 cat >>confdefs.h
<<_ACEOF
29544 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29545 if test "x$ac_cv_type_off_t" = xyes
; then :
29549 cat >>confdefs.h
<<_ACEOF
29550 #define off_t long int
29555 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29556 if test "x$ac_cv_type_pid_t" = xyes
; then :
29560 cat >>confdefs.h
<<_ACEOF
29566 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29567 if test "x$ac_cv_type_size_t" = xyes
; then :
29571 cat >>confdefs.h
<<_ACEOF
29572 #define size_t unsigned int
29578 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29579 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29581 cat >>confdefs.h
<<_ACEOF
29582 #define HAVE_SSIZE_T 1
29590 ac_cpp
='$CXXCPP $CPPFLAGS'
29591 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29592 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29593 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29595 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29596 if ${wx_cv_size_t_is_uint+:} false
; then :
29597 $as_echo_n "(cached) " >&6
29600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29601 /* end confdefs.h. */
29602 #include <stddef.h>
29609 struct Foo { void foo(size_t); void foo(unsigned int); };
29617 if ac_fn_cxx_try_compile
"$LINENO"; then :
29618 wx_cv_size_t_is_uint
=no
29620 wx_cv_size_t_is_uint
=yes
29623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29628 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29630 if test "$wx_cv_size_t_is_uint" = "yes"; then
29631 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29635 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29636 if ${wx_cv_size_t_is_ulong+:} false
; then :
29637 $as_echo_n "(cached) " >&6
29639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29640 /* end confdefs.h. */
29641 #include <stddef.h>
29648 struct Foo { void foo(size_t); void foo(unsigned long); };
29656 if ac_fn_cxx_try_compile
"$LINENO"; then :
29657 wx_cv_size_t_is_ulong
=no
29659 wx_cv_size_t_is_ulong
=yes
29662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29666 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29668 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29669 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29675 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29676 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29677 $as_echo_n "(cached) " >&6
29679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29680 /* end confdefs.h. */
29688 struct Foo { void foo(wchar_t);
29689 void foo(unsigned short);
29690 void foo(unsigned int);
29691 void foo(unsigned long); };
29699 if ac_fn_cxx_try_compile
"$LINENO"; then :
29700 wx_cv_wchar_t_is_separate_type
=yes
29702 wx_cv_wchar_t_is_separate_type
=no
29705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29709 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29711 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29712 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29715 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29720 ac_cpp
='$CPP $CPPFLAGS'
29721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29727 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29728 if ${wx_cv_struct_pw_gecos+:} false
; then :
29729 $as_echo_n "(cached) " >&6
29732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29733 /* end confdefs.h. */
29747 if ac_fn_c_try_compile
"$LINENO"; then :
29749 wx_cv_struct_pw_gecos
=yes
29753 wx_cv_struct_pw_gecos
=no
29757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29762 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29764 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29765 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29772 for ac_func
in wcslen
29774 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29775 if test "x$ac_cv_func_wcslen" = xyes
; then :
29776 cat >>confdefs.h
<<_ACEOF
29777 #define HAVE_WCSLEN 1
29784 if test "$WCSLEN_FOUND" = 0; then
29785 if test "$TOOLKIT" = "MSW"; then
29786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29787 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29788 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29789 $as_echo_n "(cached) " >&6
29791 ac_check_lib_save_LIBS
=$LIBS
29792 LIBS
="-lmsvcrt $LIBS"
29793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29794 /* end confdefs.h. */
29796 /* Override any GCC internal prototype to avoid an error.
29797 Use char because int might match the return type of a GCC
29798 builtin and then its argument prototype would still apply. */
29811 if ac_fn_c_try_link
"$LINENO"; then :
29812 ac_cv_lib_msvcrt_wcslen
=yes
29814 ac_cv_lib_msvcrt_wcslen
=no
29816 rm -f core conftest.err conftest.
$ac_objext \
29817 conftest
$ac_exeext conftest.
$ac_ext
29818 LIBS
=$ac_check_lib_save_LIBS
29820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29821 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29822 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29828 $as_echo_n "checking for wcslen in -lw... " >&6; }
29829 if ${ac_cv_lib_w_wcslen+:} false
; then :
29830 $as_echo_n "(cached) " >&6
29832 ac_check_lib_save_LIBS
=$LIBS
29834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29835 /* end confdefs.h. */
29837 /* Override any GCC internal prototype to avoid an error.
29838 Use char because int might match the return type of a GCC
29839 builtin and then its argument prototype would still apply. */
29852 if ac_fn_c_try_link
"$LINENO"; then :
29853 ac_cv_lib_w_wcslen
=yes
29855 ac_cv_lib_w_wcslen
=no
29857 rm -f core conftest.err conftest.
$ac_objext \
29858 conftest
$ac_exeext conftest.
$ac_ext
29859 LIBS
=$ac_check_lib_save_LIBS
29861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29862 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29863 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29873 if test "$WCSLEN_FOUND" = 1; then
29874 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29878 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29880 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29881 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29882 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29883 cat >>confdefs.h
<<_ACEOF
29884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29891 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29892 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29895 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29897 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29899 cat >>confdefs.h
<<_ACEOF
29900 #define HAVE_MBSTATE_T 1
29903 for ac_func
in wcsrtombs
29905 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29906 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29907 cat >>confdefs.h
<<_ACEOF
29908 #define HAVE_WCSRTOMBS 1
29917 for ac_func
in snprintf vsnprintf vsscanf
29919 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29920 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29921 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29922 cat >>confdefs.h
<<_ACEOF
29923 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29931 ac_cpp
='$CXXCPP $CPPFLAGS'
29932 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29936 if test "$ac_cv_func_vsnprintf" = "yes"; then
29937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29938 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29939 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29940 $as_echo_n "(cached) " >&6
29943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29944 /* end confdefs.h. */
29947 #include <stdarg.h>
29955 vsnprintf(buf, 10u, "%s", ap);
29961 if ac_fn_cxx_try_compile
"$LINENO"; then :
29962 wx_cv_func_vsnprintf_decl
=yes
29964 wx_cv_func_vsnprintf_decl
=no
29967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29972 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29974 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29975 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29979 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29980 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
29981 $as_echo_n "(cached) " >&6
29984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29985 /* end confdefs.h. */
29988 #include <stdarg.h>
29990 #if __MSL__ >= 0x6000
29992 using namespace std;
30002 const char *fmt = "%s";
30003 vsnprintf(buf, 10u, fmt, ap);
30009 if ac_fn_cxx_try_compile
"$LINENO"; then :
30010 wx_cv_func_broken_vsnprintf_decl
=no
30012 wx_cv_func_broken_vsnprintf_decl
=yes
30015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
30020 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
30022 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
30023 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
30029 if test "$ac_cv_func_snprintf" = "yes"; then
30030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
30031 $as_echo_n "checking for snprintf declaration... " >&6; }
30032 if ${wx_cv_func_snprintf_decl+:} false
; then :
30033 $as_echo_n "(cached) " >&6
30036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30037 /* end confdefs.h. */
30040 #include <stdarg.h>
30042 #if __MSL__ >= 0x6000
30044 using namespace std;
30053 snprintf(buf, 10u, "%s", "wx");
30059 if ac_fn_cxx_try_compile
"$LINENO"; then :
30060 wx_cv_func_snprintf_decl
=yes
30062 wx_cv_func_snprintf_decl
=no
30065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
30070 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
30072 if test "$wx_cv_func_snprintf_decl" = "yes"; then
30073 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
30077 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
30079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
30080 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
30081 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
30082 $as_echo_n "(cached) " >&6
30085 if test "$cross_compiling" = yes; then :
30087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
30088 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
30089 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
30090 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30091 wx_cv_func_snprintf_pos_params
=no
30095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30096 /* end confdefs.h. */
30103 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30104 if (strcmp ("2 3 1", buffer) == 0)
30110 if ac_fn_cxx_try_run
"$LINENO"; then :
30111 wx_cv_func_snprintf_pos_params
=no
30113 wx_cv_func_snprintf_pos_params
=yes
30115 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30116 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30123 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30125 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30126 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30132 if test "$ac_cv_func_vsscanf" = "yes"; then
30133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30134 $as_echo_n "checking for vsscanf declaration... " >&6; }
30135 if ${wx_cv_func_vsscanf_decl+:} false
; then :
30136 $as_echo_n "(cached) " >&6
30139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30140 /* end confdefs.h. */
30143 #include <stdarg.h>
30145 #if __MSL__ >= 0x6000
30147 using namespace std;
30157 vsscanf(buf, "%s", args);
30163 if ac_fn_cxx_try_compile
"$LINENO"; then :
30164 wx_cv_func_vsscanf_decl
=yes
30166 wx_cv_func_vsscanf_decl
=no
30169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30174 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30176 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30177 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30182 ac_cpp
='$CPP $CPPFLAGS'
30183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30188 if test "$wxUSE_UNICODE" = yes; then
30190 wchar_headers
="#include <stdio.h>
30191 #include <wchar.h>"
30194 for ac_header
in widec.h
30196 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30198 if test "x$ac_cv_header_widec_h" = xyes
; then :
30199 cat >>confdefs.h
<<_ACEOF
30200 #define HAVE_WIDEC_H 1
30207 if test "$ac_cv_header_widec_h" = "yes"; then
30208 wchar_headers
="$wchar_headers
30209 #include <widec.h>"
30214 for wx_func
in putws fputws wprintf vswprintf vswscanf
30216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30217 $as_echo_n "checking for $wx_func... " >&6; }
30218 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30219 $as_echo_n "(cached) " >&6
30222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30223 /* end confdefs.h. */
30227 $ac_includes_default
30243 if ac_fn_c_try_link
"$LINENO"; then :
30244 eval wx_cv_func_
$wx_func=yes
30246 eval wx_cv_func_
$wx_func=no
30248 rm -f core conftest.err conftest.
$ac_objext \
30249 conftest
$ac_exeext conftest.
$ac_ext
30252 eval ac_res
=\
$wx_cv_func_$wx_func
30253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30254 $as_echo "$ac_res" >&6; }
30256 if eval test \
$wx_cv_func_$wx_func = yes
30258 cat >>confdefs.h
<<_ACEOF
30259 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30271 $as_echo_n "checking for _vsnwprintf... " >&6; }
30272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30273 /* end confdefs.h. */
30283 if ac_fn_c_try_compile
"$LINENO"; then :
30284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30285 $as_echo "yes" >&6; }
30286 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30290 $as_echo "no" >&6; }
30292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30295 if test "$wxUSE_FILE" = "yes"; then
30297 for wx_func
in fsync
30299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30300 $as_echo_n "checking for $wx_func... " >&6; }
30301 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30302 $as_echo_n "(cached) " >&6
30305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30306 /* end confdefs.h. */
30310 $ac_includes_default
30326 if ac_fn_c_try_link
"$LINENO"; then :
30327 eval wx_cv_func_
$wx_func=yes
30329 eval wx_cv_func_
$wx_func=no
30331 rm -f core conftest.err conftest.
$ac_objext \
30332 conftest
$ac_exeext conftest.
$ac_ext
30335 eval ac_res
=\
$wx_cv_func_$wx_func
30336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30337 $as_echo "$ac_res" >&6; }
30339 if eval test \
$wx_cv_func_$wx_func = yes
30341 cat >>confdefs.h
<<_ACEOF
30342 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30355 ac_cpp
='$CXXCPP $CPPFLAGS'
30356 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30361 for wx_func
in round
30363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30364 $as_echo_n "checking for $wx_func... " >&6; }
30365 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30366 $as_echo_n "(cached) " >&6
30369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30370 /* end confdefs.h. */
30374 $ac_includes_default
30390 if ac_fn_cxx_try_link
"$LINENO"; then :
30391 eval wx_cv_func_
$wx_func=yes
30393 eval wx_cv_func_
$wx_func=no
30395 rm -f core conftest.err conftest.
$ac_objext \
30396 conftest
$ac_exeext conftest.
$ac_ext
30399 eval ac_res
=\
$wx_cv_func_$wx_func
30400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30401 $as_echo "$ac_res" >&6; }
30403 if eval test \
$wx_cv_func_$wx_func = yes
30405 cat >>confdefs.h
<<_ACEOF
30406 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30417 ac_cpp
='$CPP $CPPFLAGS'
30418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30423 if test "$TOOLKIT" != "MSW"; then
30425 if test "$wxUSE_LIBICONV" != "no" ; then
30429 # Check whether --with-libiconv-prefix was given.
30430 if test "${with_libiconv_prefix+set}" = set; then :
30431 withval
=$with_libiconv_prefix;
30432 for dir
in `echo "$withval" | tr : ' '`; do
30433 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30434 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30441 $as_echo_n "checking for iconv... " >&6; }
30442 if ${am_cv_func_iconv+:} false
; then :
30443 $as_echo_n "(cached) " >&6
30446 am_cv_func_iconv
="no, consider installing GNU libiconv"
30448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30449 /* end confdefs.h. */
30450 #include <stdlib.h>
30455 iconv_t cd = iconv_open("","");
30456 iconv(cd,NULL,NULL,NULL,NULL);
30462 if ac_fn_c_try_link
"$LINENO"; then :
30463 am_cv_func_iconv
=yes
30465 rm -f core conftest.err conftest.
$ac_objext \
30466 conftest
$ac_exeext conftest.
$ac_ext
30467 if test "$am_cv_func_iconv" != yes; then
30468 am_save_LIBS
="$LIBS"
30469 LIBS
="$LIBS -liconv"
30470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30471 /* end confdefs.h. */
30472 #include <stdlib.h>
30477 iconv_t cd = iconv_open("","");
30478 iconv(cd,NULL,NULL,NULL,NULL);
30484 if ac_fn_c_try_link
"$LINENO"; then :
30485 am_cv_lib_iconv
=yes
30486 am_cv_func_iconv
=yes
30488 rm -f core conftest.err conftest.
$ac_objext \
30489 conftest
$ac_exeext conftest.
$ac_ext
30490 LIBS
="$am_save_LIBS"
30494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30495 $as_echo "$am_cv_func_iconv" >&6; }
30496 if test "$am_cv_func_iconv" = yes; then
30498 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30501 $as_echo_n "checking if iconv needs const... " >&6; }
30502 if ${wx_cv_func_iconv_const+:} false
; then :
30503 $as_echo_n "(cached) " >&6
30505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30506 /* end confdefs.h. */
30508 #include <stdlib.h>
30514 #if defined(__STDC__) || defined(__cplusplus)
30515 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30528 if ac_fn_c_try_compile
"$LINENO"; then :
30529 wx_cv_func_iconv_const
="no"
30531 wx_cv_func_iconv_const
="yes"
30534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30538 $as_echo "$wx_cv_func_iconv_const" >&6; }
30541 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30542 iconv_const
="const"
30546 cat >>confdefs.h
<<_ACEOF
30547 #define ICONV_CONST $iconv_const
30552 if test "$am_cv_lib_iconv" = yes; then
30557 LIBS
="$LIBICONV $LIBS"
30560 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30561 for ac_func
in sigaction
30563 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30564 if test "x$ac_cv_func_sigaction" = xyes
; then :
30565 cat >>confdefs.h
<<_ACEOF
30566 #define HAVE_SIGACTION 1
30573 if test "$ac_cv_func_sigaction" = "no"; then
30574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30575 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30576 wxUSE_ON_FATAL_EXCEPTION
=no
30579 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30581 $as_echo_n "checking for sa_handler type... " >&6; }
30582 if ${wx_cv_type_sa_handler+:} false
; then :
30583 $as_echo_n "(cached) " >&6
30587 ac_cpp
='$CXXCPP $CPPFLAGS'
30588 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30589 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30590 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30593 /* end confdefs.h. */
30594 #include <signal.h>
30599 extern void testSigHandler(int);
30601 struct sigaction sa;
30602 sa.sa_handler = testSigHandler;
30608 if ac_fn_cxx_try_compile
"$LINENO"; then :
30610 wx_cv_type_sa_handler
=int
30614 wx_cv_type_sa_handler
=void
30617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30619 ac_cpp
='$CPP $CPPFLAGS'
30620 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30621 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30622 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30627 $as_echo "$wx_cv_type_sa_handler" >&6; }
30629 cat >>confdefs.h
<<_ACEOF
30630 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30636 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30638 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30639 if ${wx_cv_func_backtrace+:} false
; then :
30640 $as_echo_n "(cached) " >&6
30643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30644 $as_echo_n "checking for library containing backtrace... " >&6; }
30645 if ${ac_cv_search_backtrace+:} false
; then :
30646 $as_echo_n "(cached) " >&6
30648 ac_func_search_save_LIBS
=$LIBS
30649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30650 /* end confdefs.h. */
30652 /* Override any GCC internal prototype to avoid an error.
30653 Use char because int might match the return type of a GCC
30654 builtin and then its argument prototype would still apply. */
30662 return backtrace ();
30667 for ac_lib
in '' execinfo
; do
30668 if test -z "$ac_lib"; then
30669 ac_res
="none required"
30672 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
30674 if ac_fn_c_try_link
"$LINENO"; then :
30675 ac_cv_search_backtrace
=$ac_res
30677 rm -f core conftest.err conftest.
$ac_objext \
30679 if ${ac_cv_search_backtrace+:} false
; then :
30683 if ${ac_cv_search_backtrace+:} false
; then :
30686 ac_cv_search_backtrace
=no
30688 rm conftest.
$ac_ext
30689 LIBS
=$ac_func_search_save_LIBS
30691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30692 $as_echo "$ac_cv_search_backtrace" >&6; }
30693 ac_res
=$ac_cv_search_backtrace
30694 if test "$ac_res" != no
; then :
30695 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
30698 ac_cpp
='$CXXCPP $CPPFLAGS'
30699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30704 /* end confdefs.h. */
30705 #include <execinfo.h>
30712 backtrace(trace, 1);
30713 messages = backtrace_symbols(trace, 1);
30719 if ac_fn_cxx_try_link
"$LINENO"; then :
30720 wx_cv_func_backtrace
=yes
30722 wx_cv_func_backtrace
=no
30725 rm -f core conftest.err conftest.
$ac_objext \
30726 conftest
$ac_exeext conftest.
$ac_ext
30728 ac_cpp
='$CPP $CPPFLAGS'
30729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30735 wx_cv_func_backtrace
=no
30742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30743 $as_echo "$wx_cv_func_backtrace" >&6; }
30745 if test "$wx_cv_func_backtrace" = "no"; then
30746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30747 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30748 wxUSE_STACKWALKER
=no
30750 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30752 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30753 if ${wx_cv_func_cxa_demangle+:} false
; then :
30754 $as_echo_n "(cached) " >&6
30758 ac_cpp
='$CXXCPP $CPPFLAGS'
30759 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30760 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30761 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30764 /* end confdefs.h. */
30765 #include <cxxabi.h>
30771 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30777 if ac_fn_cxx_try_link
"$LINENO"; then :
30778 wx_cv_func_cxa_demangle
=yes
30780 wx_cv_func_cxa_demangle
=no
30783 rm -f core conftest.err conftest.
$ac_objext \
30784 conftest
$ac_exeext conftest.
$ac_ext
30786 ac_cpp
='$CPP $CPPFLAGS'
30787 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30788 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30789 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30795 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30797 wx_cv_func_cxa_demangle
=no
30800 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30801 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30807 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30809 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30810 wxUSE_STACKWALKER
=no
30814 for ac_func
in mkstemp mktemp
30816 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30817 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30818 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30819 cat >>confdefs.h
<<_ACEOF
30820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30828 $as_echo_n "checking for statfs... " >&6; }
30829 if ${wx_cv_func_statfs+:} false
; then :
30830 $as_echo_n "(cached) " >&6
30832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30833 /* end confdefs.h. */
30835 #if defined(__BSD__)
30836 #include <sys/param.h>
30837 #include <sys/mount.h>
30839 #include <sys/vfs.h>
30857 if ac_fn_c_try_compile
"$LINENO"; then :
30858 wx_cv_func_statfs
=yes
30860 wx_cv_func_statfs
=no
30863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30867 $as_echo "$wx_cv_func_statfs" >&6; }
30869 if test "$wx_cv_func_statfs" = "yes"; then
30870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30871 $as_echo_n "checking for statfs declaration... " >&6; }
30872 if ${wx_cv_func_statfs_decl+:} false
; then :
30873 $as_echo_n "(cached) " >&6
30876 ac_cpp
='$CXXCPP $CPPFLAGS'
30877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30882 /* end confdefs.h. */
30884 #if defined(__BSD__)
30885 #include <sys/param.h>
30886 #include <sys/mount.h>
30888 #include <sys/vfs.h>
30902 if ac_fn_cxx_try_compile
"$LINENO"; then :
30903 wx_cv_func_statfs_decl
=yes
30905 wx_cv_func_statfs_decl
=no
30908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30910 ac_cpp
='$CPP $CPPFLAGS'
30911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30918 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30920 if test "$wx_cv_func_statfs_decl" = "yes"; then
30921 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30925 wx_cv_type_statvfs_t
="struct statfs"
30926 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30930 $as_echo_n "checking for statvfs... " >&6; }
30931 if ${wx_cv_func_statvfs+:} false
; then :
30932 $as_echo_n "(cached) " >&6
30934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30935 /* end confdefs.h. */
30937 #include <stddef.h>
30938 #include <sys/statvfs.h>
30944 statvfs("/", NULL);
30950 if ac_fn_c_try_compile
"$LINENO"; then :
30951 wx_cv_func_statvfs
=yes
30953 wx_cv_func_statvfs
=no
30956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30960 $as_echo "$wx_cv_func_statvfs" >&6; }
30962 if test "$wx_cv_func_statvfs" = "yes"; then
30963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30964 $as_echo_n "checking for statvfs argument type... " >&6; }
30965 if ${wx_cv_type_statvfs_t+:} false
; then :
30966 $as_echo_n "(cached) " >&6
30969 ac_cpp
='$CXXCPP $CPPFLAGS'
30970 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30971 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30972 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30975 /* end confdefs.h. */
30977 #include <sys/statvfs.h>
30994 if ac_fn_cxx_try_compile
"$LINENO"; then :
30995 wx_cv_type_statvfs_t
=statvfs_t
30998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30999 /* end confdefs.h. */
31001 #include <sys/statvfs.h>
31018 if ac_fn_cxx_try_compile
"$LINENO"; then :
31019 wx_cv_type_statvfs_t
="struct statvfs"
31021 wx_cv_type_statvfs_t
="unknown"
31024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31030 ac_cpp
='$CPP $CPPFLAGS'
31031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
31038 $as_echo "$wx_cv_type_statvfs_t" >&6; }
31040 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31041 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
31045 wx_cv_type_statvfs_t
="unknown"
31049 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31050 cat >>confdefs.h
<<_ACEOF
31051 #define WX_STATFS_T $wx_cv_type_statvfs_t
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31056 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31059 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31060 for ac_func
in fcntl flock
31062 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31063 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
31064 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
31065 cat >>confdefs.h
<<_ACEOF
31066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31073 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
31075 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31076 wxUSE_SNGLINST_CHECKER
=no
31080 for ac_func
in setenv putenv
31082 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31083 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
31084 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
31085 cat >>confdefs.h
<<_ACEOF
31086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31092 if test "$ac_cv_func_setenv" = "yes"; then
31093 for ac_func
in unsetenv
31095 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31096 if test "x$ac_cv_func_unsetenv" = xyes
; then :
31097 cat >>confdefs.h
<<_ACEOF
31098 #define HAVE_UNSETENV 1
31106 HAVE_SOME_SLEEP_FUNC
=0
31107 if test "$USE_BEOS" = 1; then
31108 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31110 HAVE_SOME_SLEEP_FUNC
=1
31113 if test "$USE_DARWIN" = 1; then
31114 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31116 HAVE_SOME_SLEEP_FUNC
=1
31119 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31121 for ac_func
in nanosleep
31123 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31124 if test "x$ac_cv_func_nanosleep" = xyes
; then :
31125 cat >>confdefs.h
<<_ACEOF
31126 #define HAVE_NANOSLEEP 1
31128 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31133 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31134 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
31135 $as_echo_n "(cached) " >&6
31137 ac_check_lib_save_LIBS
=$LIBS
31138 LIBS
="-lposix4 $LIBS"
31139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31140 /* end confdefs.h. */
31142 /* Override any GCC internal prototype to avoid an error.
31143 Use char because int might match the return type of a GCC
31144 builtin and then its argument prototype would still apply. */
31152 return nanosleep ();
31157 if ac_fn_c_try_link
"$LINENO"; then :
31158 ac_cv_lib_posix4_nanosleep
=yes
31160 ac_cv_lib_posix4_nanosleep
=no
31162 rm -f core conftest.err conftest.
$ac_objext \
31163 conftest
$ac_exeext conftest.
$ac_ext
31164 LIBS
=$ac_check_lib_save_LIBS
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31167 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31168 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
31170 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31172 POSIX4_LINK
=" -lposix4"
31177 for wx_func
in usleep
31179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31180 $as_echo_n "checking for $wx_func... " >&6; }
31181 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31182 $as_echo_n "(cached) " >&6
31185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31186 /* end confdefs.h. */
31190 $ac_includes_default
31206 if ac_fn_c_try_link
"$LINENO"; then :
31207 eval wx_cv_func_
$wx_func=yes
31209 eval wx_cv_func_
$wx_func=no
31211 rm -f core conftest.err conftest.
$ac_objext \
31212 conftest
$ac_exeext conftest.
$ac_ext
31215 eval ac_res
=\
$wx_cv_func_$wx_func
31216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31217 $as_echo "$ac_res" >&6; }
31219 if eval test \
$wx_cv_func_$wx_func = yes
31221 cat >>confdefs.h
<<_ACEOF
31222 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31229 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31246 for wx_func
in uname
31248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31249 $as_echo_n "checking for $wx_func... " >&6; }
31250 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31251 $as_echo_n "(cached) " >&6
31254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31255 /* end confdefs.h. */
31258 #include <sys/utsname.h>
31259 $ac_includes_default
31275 if ac_fn_c_try_link
"$LINENO"; then :
31276 eval wx_cv_func_
$wx_func=yes
31278 eval wx_cv_func_
$wx_func=no
31280 rm -f core conftest.err conftest.
$ac_objext \
31281 conftest
$ac_exeext conftest.
$ac_ext
31284 eval ac_res
=\
$wx_cv_func_$wx_func
31285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31286 $as_echo "$ac_res" >&6; }
31288 if eval test \
$wx_cv_func_$wx_func = yes
31290 cat >>confdefs.h
<<_ACEOF
31291 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31301 if test "$wx_cv_func_uname" != yes; then
31303 for wx_func
in gethostname
31305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31306 $as_echo_n "checking for $wx_func... " >&6; }
31307 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31308 $as_echo_n "(cached) " >&6
31311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31312 /* end confdefs.h. */
31316 $ac_includes_default
31332 if ac_fn_c_try_link
"$LINENO"; then :
31333 eval wx_cv_func_
$wx_func=yes
31335 eval wx_cv_func_
$wx_func=no
31337 rm -f core conftest.err conftest.
$ac_objext \
31338 conftest
$ac_exeext conftest.
$ac_ext
31341 eval ac_res
=\
$wx_cv_func_$wx_func
31342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31343 $as_echo "$ac_res" >&6; }
31345 if eval test \
$wx_cv_func_$wx_func = yes
31347 cat >>confdefs.h
<<_ACEOF
31348 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31361 for wx_func
in strtok_r
31363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31364 $as_echo_n "checking for $wx_func... " >&6; }
31365 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31366 $as_echo_n "(cached) " >&6
31369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31370 /* end confdefs.h. */
31374 $ac_includes_default
31390 if ac_fn_c_try_link
"$LINENO"; then :
31391 eval wx_cv_func_
$wx_func=yes
31393 eval wx_cv_func_
$wx_func=no
31395 rm -f core conftest.err conftest.
$ac_objext \
31396 conftest
$ac_exeext conftest.
$ac_ext
31399 eval ac_res
=\
$wx_cv_func_$wx_func
31400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31401 $as_echo "$ac_res" >&6; }
31403 if eval test \
$wx_cv_func_$wx_func = yes
31405 cat >>confdefs.h
<<_ACEOF
31406 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31418 for ac_func
in inet_addr
31420 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31421 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31422 cat >>confdefs.h
<<_ACEOF
31423 #define HAVE_INET_ADDR 1
31425 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31430 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31431 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31432 $as_echo_n "(cached) " >&6
31434 ac_check_lib_save_LIBS
=$LIBS
31436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31437 /* end confdefs.h. */
31439 /* Override any GCC internal prototype to avoid an error.
31440 Use char because int might match the return type of a GCC
31441 builtin and then its argument prototype would still apply. */
31449 return inet_addr ();
31454 if ac_fn_c_try_link
"$LINENO"; then :
31455 ac_cv_lib_nsl_inet_addr
=yes
31457 ac_cv_lib_nsl_inet_addr
=no
31459 rm -f core conftest.err conftest.
$ac_objext \
31460 conftest
$ac_exeext conftest.
$ac_ext
31461 LIBS
=$ac_check_lib_save_LIBS
31463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31464 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31465 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31470 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31471 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31472 $as_echo_n "(cached) " >&6
31474 ac_check_lib_save_LIBS
=$LIBS
31475 LIBS
="-lresolv $LIBS"
31476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31477 /* end confdefs.h. */
31479 /* Override any GCC internal prototype to avoid an error.
31480 Use char because int might match the return type of a GCC
31481 builtin and then its argument prototype would still apply. */
31489 return inet_addr ();
31494 if ac_fn_c_try_link
"$LINENO"; then :
31495 ac_cv_lib_resolv_inet_addr
=yes
31497 ac_cv_lib_resolv_inet_addr
=no
31499 rm -f core conftest.err conftest.
$ac_objext \
31500 conftest
$ac_exeext conftest.
$ac_ext
31501 LIBS
=$ac_check_lib_save_LIBS
31503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31504 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31505 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31510 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31511 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31512 $as_echo_n "(cached) " >&6
31514 ac_check_lib_save_LIBS
=$LIBS
31515 LIBS
="-lsocket $LIBS"
31516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31517 /* end confdefs.h. */
31519 /* Override any GCC internal prototype to avoid an error.
31520 Use char because int might match the return type of a GCC
31521 builtin and then its argument prototype would still apply. */
31529 return inet_addr ();
31534 if ac_fn_c_try_link
"$LINENO"; then :
31535 ac_cv_lib_socket_inet_addr
=yes
31537 ac_cv_lib_socket_inet_addr
=no
31539 rm -f core conftest.err conftest.
$ac_objext \
31540 conftest
$ac_exeext conftest.
$ac_ext
31541 LIBS
=$ac_check_lib_save_LIBS
31543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31544 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31545 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31564 for ac_func
in inet_aton
31566 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31567 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31568 cat >>confdefs.h
<<_ACEOF
31569 #define HAVE_INET_ATON 1
31571 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31575 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31577 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31578 if eval \
${$as_ac_Lib+:} false
; then :
31579 $as_echo_n "(cached) " >&6
31581 ac_check_lib_save_LIBS
=$LIBS
31582 LIBS
="-l$INET_LINK $LIBS"
31583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31584 /* end confdefs.h. */
31586 /* Override any GCC internal prototype to avoid an error.
31587 Use char because int might match the return type of a GCC
31588 builtin and then its argument prototype would still apply. */
31596 return inet_aton ();
31601 if ac_fn_c_try_link
"$LINENO"; then :
31602 eval "$as_ac_Lib=yes"
31604 eval "$as_ac_Lib=no"
31606 rm -f core conftest.err conftest.
$ac_objext \
31607 conftest
$ac_exeext conftest.
$ac_ext
31608 LIBS
=$ac_check_lib_save_LIBS
31610 eval ac_res
=\$
$as_ac_Lib
31611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31612 $as_echo "$ac_res" >&6; }
31613 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31614 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31623 if test "x$INET_LINK" != "x"; then
31624 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31626 INET_LINK
=" -l$INET_LINK"
31630 for wx_func
in fdopen
31632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31633 $as_echo_n "checking for $wx_func... " >&6; }
31634 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31635 $as_echo_n "(cached) " >&6
31638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31639 /* end confdefs.h. */
31643 $ac_includes_default
31659 if ac_fn_c_try_link
"$LINENO"; then :
31660 eval wx_cv_func_
$wx_func=yes
31662 eval wx_cv_func_
$wx_func=no
31664 rm -f core conftest.err conftest.
$ac_objext \
31665 conftest
$ac_exeext conftest.
$ac_ext
31668 eval ac_res
=\
$wx_cv_func_$wx_func
31669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31670 $as_echo "$ac_res" >&6; }
31672 if eval test \
$wx_cv_func_$wx_func = yes
31674 cat >>confdefs.h
<<_ACEOF
31675 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31686 if test "$wxUSE_TARSTREAM" = "yes"; then
31688 for wx_func
in sysconf
31690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31691 $as_echo_n "checking for $wx_func... " >&6; }
31692 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31693 $as_echo_n "(cached) " >&6
31696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31697 /* end confdefs.h. */
31701 $ac_includes_default
31717 if ac_fn_c_try_link
"$LINENO"; then :
31718 eval wx_cv_func_
$wx_func=yes
31720 eval wx_cv_func_
$wx_func=no
31722 rm -f core conftest.err conftest.
$ac_objext \
31723 conftest
$ac_exeext conftest.
$ac_ext
31726 eval ac_res
=\
$wx_cv_func_$wx_func
31727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31728 $as_echo "$ac_res" >&6; }
31730 if eval test \
$wx_cv_func_$wx_func = yes
31732 cat >>confdefs.h
<<_ACEOF
31733 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31745 for wx_func
in getpwuid_r
31747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31748 $as_echo_n "checking for $wx_func... " >&6; }
31749 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31750 $as_echo_n "(cached) " >&6
31753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31754 /* end confdefs.h. */
31761 $ac_includes_default
31771 struct passwd pw, *ppw;
31773 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31781 if ac_fn_c_try_link
"$LINENO"; then :
31782 eval wx_cv_func_
$wx_func=yes
31784 eval wx_cv_func_
$wx_func=no
31786 rm -f core conftest.err conftest.
$ac_objext \
31787 conftest
$ac_exeext conftest.
$ac_ext
31790 eval ac_res
=\
$wx_cv_func_$wx_func
31791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31792 $as_echo "$ac_res" >&6; }
31794 if eval test \
$wx_cv_func_$wx_func = yes
31796 cat >>confdefs.h
<<_ACEOF
31797 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31809 for wx_func
in getgrgid_r
31811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31812 $as_echo_n "checking for $wx_func... " >&6; }
31813 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31814 $as_echo_n "(cached) " >&6
31817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31818 /* end confdefs.h. */
31825 $ac_includes_default
31835 struct group grp, *pgrp;
31837 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31845 if ac_fn_c_try_link
"$LINENO"; then :
31846 eval wx_cv_func_
$wx_func=yes
31848 eval wx_cv_func_
$wx_func=no
31850 rm -f core conftest.err conftest.
$ac_objext \
31851 conftest
$ac_exeext conftest.
$ac_ext
31854 eval ac_res
=\
$wx_cv_func_$wx_func
31855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31856 $as_echo "$ac_res" >&6; }
31858 if eval test \
$wx_cv_func_$wx_func = yes
31860 cat >>confdefs.h
<<_ACEOF
31861 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31877 cat >confcache
<<\_ACEOF
31878 # This file is a shell script that caches the results of configure
31879 # tests run on this system so they can be shared between configure
31880 # scripts and configure runs, see configure's option --config-cache.
31881 # It is not useful on other systems. If it contains results you don't
31882 # want to keep, you may remove or edit it.
31884 # config.status only pays attention to the cache file if you give it
31885 # the --recheck option to rerun configure.
31887 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31888 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31889 # following values.
31893 # The following way of writing the cache mishandles newlines in values,
31894 # but we know of no workaround that is simple, portable, and efficient.
31895 # So, we kill variables containing newlines.
31896 # Ultrix sh set writes to stderr and can't be redirected directly,
31897 # and sets the high bit in the cache file unless we assign to the vars.
31899 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31900 eval ac_val
=\$
$ac_var
31904 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31905 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31908 _
| IFS
| as_nl
) ;; #(
31909 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31910 *) { eval $ac_var=; unset $ac_var;} ;;
31916 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31917 *${as_nl}ac_space
=\
*)
31918 # `set' does not quote correctly, so add quotes: double-quote
31919 # substitution turns \\\\ into \\, and sed turns \\ into \.
31922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31925 # `set' quotes correctly as required by POSIX, so do not add quotes.
31926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31937 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31939 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31940 if test -w "$cache_file"; then
31941 if test "x$cache_file" != "x/dev/null"; then
31942 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31943 $as_echo "$as_me: updating cache $cache_file" >&6;}
31944 if test ! -f "$cache_file" || test -h "$cache_file"; then
31945 cat confcache
>"$cache_file"
31947 case $cache_file in #(
31949 mv -f confcache
"$cache_file"$$
&&
31950 mv -f "$cache_file"$$
"$cache_file" ;; #(
31952 mv -f confcache
"$cache_file" ;;
31957 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31958 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31964 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31970 if test "$wxUSE_THREADS" = "yes" ; then
31971 if test "$USE_BEOS" = 1; then
31972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31973 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31978 if test "$wxUSE_THREADS" = "yes" ; then
31981 THREAD_OPTS
="-pthread"
31982 if test "x$SUNCXX" = xyes
; then
31983 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31987 *-*-solaris2* | *-*-sunos4* )
31988 if test "x$GCC" = "xyes"; then
31989 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31993 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31995 *-*-darwin* | *-*-cygwin* )
31999 THREAD_OPTS
="pthreads"
32002 if test "x$GCC" = "xyes"; then
32003 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
32011 if test "x$GCC" = "xyes"; then
32021 if test "x$GCC" != "xyes"; then
32022 THREAD_OPTS
="-Ethread"
32029 THREAD_OPTS
="none pthread"
32033 THREAD_OPTS
="$THREAD_OPTS pthread none"
32038 for flag
in $THREAD_OPTS; do
32041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
32042 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
32046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
32047 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
32048 THREADS_CFLAGS
="$flag"
32052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
32053 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
32054 THREADS_LINK
="-l$flag"
32059 save_CFLAGS
="$CFLAGS"
32060 LIBS
="$THREADS_LINK $LIBS"
32061 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32064 /* end confdefs.h. */
32065 #include <pthread.h>
32069 pthread_create(0,0,0,0);
32074 if ac_fn_c_try_link
"$LINENO"; then :
32077 rm -f core conftest.err conftest.
$ac_objext \
32078 conftest
$ac_exeext conftest.
$ac_ext
32081 CFLAGS
="$save_CFLAGS"
32083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
32084 $as_echo "$THREADS_OK" >&6; }
32085 if test "x$THREADS_OK" = "xyes"; then
32093 if test "x$THREADS_OK" != "xyes"; then
32095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32096 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32098 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32099 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32100 LIBS
="$THREADS_LINK $LIBS"
32102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32103 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32107 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32108 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32109 flag
="-D_THREAD_SAFE"
32112 flag
="-D_THREAD_SAFE"
32115 flag
="-D_REENTRANT"
32116 if test "x$GCC" != "xyes"; then
32117 flag
="$flag -D_RWSTD_MULTI_THREAD"
32120 *solaris
* | alpha
*-osf*)
32121 flag
="-D_REENTRANT"
32124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32125 $as_echo "${flag}" >&6; }
32126 if test "x$flag" != xno
; then
32127 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32130 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32134 if test "$wxUSE_THREADS" = "yes" ; then
32135 for ac_func
in pthread_setconcurrency
32137 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32138 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
32139 cat >>confdefs.h
<<_ACEOF
32140 #define HAVE_PTHREAD_SETCONCURRENCY 1
32142 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32146 for ac_func
in thr_setconcurrency
32148 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32149 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
32150 cat >>confdefs.h
<<_ACEOF
32151 #define HAVE_THR_SETCONCURRENCY 1
32153 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32157 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32167 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32168 if ${wx_cv_func_pthread_cleanup+:} false
; then :
32169 $as_echo_n "(cached) " >&6
32173 ac_cpp
='$CXXCPP $CPPFLAGS'
32174 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32175 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32176 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32179 /* end confdefs.h. */
32180 #include <pthread.h>
32181 void ThreadCleanupFunc(void *p);
32188 pthread_cleanup_push(ThreadCleanupFunc, p);
32189 pthread_cleanup_pop(0);
32195 if ac_fn_cxx_try_compile
"$LINENO"; then :
32197 wx_cv_func_pthread_cleanup
=yes
32201 wx_cv_func_pthread_cleanup
=no
32205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32207 ac_cpp
='$CPP $CPPFLAGS'
32208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32215 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32216 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32217 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32221 for ac_header
in sched.h
32223 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32225 if test "x$ac_cv_header_sched_h" = xyes
; then :
32226 cat >>confdefs.h
<<_ACEOF
32227 #define HAVE_SCHED_H 1
32234 if test "$ac_cv_header_sched_h" = "yes"; then
32235 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32236 if test "x$ac_cv_func_sched_yield" = xyes
; then :
32237 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32242 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32243 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
32244 $as_echo_n "(cached) " >&6
32246 ac_check_lib_save_LIBS
=$LIBS
32247 LIBS
="-lposix4 $LIBS"
32248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32249 /* end confdefs.h. */
32251 /* Override any GCC internal prototype to avoid an error.
32252 Use char because int might match the return type of a GCC
32253 builtin and then its argument prototype would still apply. */
32257 char sched_yield ();
32261 return sched_yield ();
32266 if ac_fn_c_try_link
"$LINENO"; then :
32267 ac_cv_lib_posix4_sched_yield
=yes
32269 ac_cv_lib_posix4_sched_yield
=no
32271 rm -f core conftest.err conftest.
$ac_objext \
32272 conftest
$ac_exeext conftest.
$ac_ext
32273 LIBS
=$ac_check_lib_save_LIBS
32275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32276 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32277 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
32278 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32279 POSIX4_LINK
=" -lposix4"
32281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32282 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32293 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32294 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
32295 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32296 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
32297 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32298 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
32301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32302 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32303 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
32304 $as_echo_n "(cached) " >&6
32306 ac_check_lib_save_LIBS
=$LIBS
32307 LIBS
="-lposix4 $LIBS"
32308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32309 /* end confdefs.h. */
32311 /* Override any GCC internal prototype to avoid an error.
32312 Use char because int might match the return type of a GCC
32313 builtin and then its argument prototype would still apply. */
32317 char sched_get_priority_max ();
32321 return sched_get_priority_max ();
32326 if ac_fn_c_try_link
"$LINENO"; then :
32327 ac_cv_lib_posix4_sched_get_priority_max
=yes
32329 ac_cv_lib_posix4_sched_get_priority_max
=no
32331 rm -f core conftest.err conftest.
$ac_objext \
32332 conftest
$ac_exeext conftest.
$ac_ext
32333 LIBS
=$ac_check_lib_save_LIBS
32335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32336 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32337 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
32340 POSIX4_LINK
=" -lposix4"
32354 if test "$HAVE_PRIOR_FUNCS" = 1; then
32355 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32359 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32362 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32363 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
32364 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32368 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32372 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32373 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
32374 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32378 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32382 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32383 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32384 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32391 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32392 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32393 $as_echo_n "(cached) " >&6
32396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32397 /* end confdefs.h. */
32398 #include <pthread.h>
32403 pthread_mutexattr_t attr;
32404 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32410 if ac_fn_c_try_compile
"$LINENO"; then :
32411 wx_cv_type_pthread_mutexattr_t
=yes
32413 wx_cv_type_pthread_mutexattr_t
=no
32416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32420 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32422 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32423 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32427 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32428 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32429 $as_echo_n "(cached) " >&6
32432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32433 /* end confdefs.h. */
32434 #include <pthread.h>
32439 pthread_mutexattr_t attr;
32440 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32446 if ac_fn_c_try_compile
"$LINENO"; then :
32447 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32449 wx_cv_func_pthread_mutexattr_settype_decl
=no
32452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32456 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32457 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32458 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32463 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32464 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32465 $as_echo_n "(cached) " >&6
32468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32469 /* end confdefs.h. */
32470 #include <pthread.h>
32475 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32481 if ac_fn_c_try_compile
"$LINENO"; then :
32483 wx_cv_type_pthread_rec_mutex_init
=yes
32487 wx_cv_type_pthread_rec_mutex_init
=no
32491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32495 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32496 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32497 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32501 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32505 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32506 if test "$USE_NETBSD" = 1; then
32507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32508 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32509 wxUSE_COMPILER_TLS
=no
32511 wxUSE_COMPILER_TLS
=yes
32515 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32517 $as_echo_n "checking for __thread keyword... " >&6; }
32518 if ${wx_cv_cc___thread+:} false
; then :
32519 $as_echo_n "(cached) " >&6
32522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32523 /* end confdefs.h. */
32524 #include <pthread.h>
32529 static __thread int n = 0;
32530 static __thread int *p = 0;
32536 if ac_fn_c_try_compile
"$LINENO"; then :
32537 wx_cv_cc___thread
=yes
32539 wx_cv_cc___thread
=no
32542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32547 $as_echo "$wx_cv_cc___thread" >&6; }
32549 if test "$wx_cv_cc___thread" = "yes"; then
32555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32556 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32558 if test "x$GCC" = "xyes" ; then :
32560 if test -z "" ; then :
32562 ax_gcc_option_test
="int main()
32569 ax_gcc_option_test
=""
32573 # Dump the test program to file
32574 cat <<EOF > conftest.c
32575 $ax_gcc_option_test
32578 # Dump back the file to the log, useful for debugging purposes
32579 { ac_try
='cat conftest.c 1>&5'
32580 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32581 (eval $ac_try) 2>&5
32583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32584 test $ac_status = 0; }; }
32586 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32587 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32588 (eval $ac_try) 2>&5
32590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32591 test $ac_status = 0; }; } ; then :
32593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32594 $as_echo "yes" >&6; }
32596 ax_gcc_version_option
=yes
32601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32602 $as_echo "no" >&6; }
32604 ax_gcc_version_option
=no
32611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32612 $as_echo "no gcc available" >&6; }
32616 if test "x$GXX" = "xyes"; then :
32618 if test "x$ax_gxx_version_option" != "no"; then :
32620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32621 $as_echo_n "checking gxx version... " >&6; }
32622 if ${ax_cv_gxx_version+:} false
; then :
32623 $as_echo_n "(cached) " >&6
32626 ax_cv_gxx_version
="`$CXX -dumpversion`"
32627 if test "x$ax_cv_gxx_version" = "x"; then :
32629 ax_cv_gxx_version
=""
32634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32635 $as_echo "$ax_cv_gxx_version" >&6; }
32636 GXX_VERSION
=$ax_cv_gxx_version
32643 if test -n "$ax_cv_gxx_version"; then
32644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32645 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32646 case "$ax_cv_gxx_version" in
32648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32649 $as_echo "no, it's broken" >&6; }
32650 wx_cv_cc___thread
=no
32653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32654 $as_echo "yes, it works" >&6; }
32660 if test "$wx_cv_cc___thread" = "yes"; then
32661 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32666 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32668 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32669 if ${wx_cv_type_abi_forced_unwind+:} false
; then :
32670 $as_echo_n "(cached) " >&6
32674 ac_cpp
='$CXXCPP $CPPFLAGS'
32675 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32676 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32677 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32680 /* end confdefs.h. */
32681 #include <cxxabi.h>
32686 void foo(abi::__forced_unwind&);
32692 if ac_fn_cxx_try_compile
"$LINENO"; then :
32693 wx_cv_type_abi_forced_unwind
=yes
32695 wx_cv_type_abi_forced_unwind
=no
32698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32700 ac_cpp
='$CPP $CPPFLAGS'
32701 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32702 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32703 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32709 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32711 wx_cv_type_abi_forced_unwind
=no
32714 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32715 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32721 if test "$wxUSE_THREADS" = "yes" ; then
32723 x86_64
-*-mingw32* )
32726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32727 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32728 if ${wx_cv_cflags_mthread+:} false
; then :
32729 $as_echo_n "(cached) " >&6
32732 CFLAGS_OLD
="$CFLAGS"
32733 CFLAGS
="-mthreads $CFLAGS"
32734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32735 /* end confdefs.h. */
32745 if ac_fn_c_try_compile
"$LINENO"; then :
32746 wx_cv_cflags_mthread
=yes
32748 wx_cv_cflags_mthread
=no
32751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32756 $as_echo "$wx_cv_cflags_mthread" >&6; }
32758 if test "$wx_cv_cflags_mthread" = "yes"; then
32759 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32760 LDFLAGS
="$LDFLAGS -mthreads"
32762 CFLAGS
="$CFLAGS_OLD"
32766 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32767 LDFLAGS
="$LDFLAGS -Zmt"
32773 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32774 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32775 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32779 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32780 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32781 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32789 ac_cpp
='$CPP $CPPFLAGS'
32790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32795 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32797 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32798 $as_echo_n "(cached) " >&6
32802 ################################################################
32804 ac_cv_func_which_gethostbyname_r
=unknown
32807 # ONE ARGUMENT (sanity check)
32810 # This should fail, as there is no variant of gethostbyname_r() that takes
32811 # a single argument. If it actually compiles, then we can assume that
32812 # netdb.h is not declaring the function, and the compiler is thereby
32813 # assuming an implicit prototype. In which case, we're out of luck.
32815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32816 /* end confdefs.h. */
32822 char *name = "www.gnu.org";
32823 (void)gethostbyname_r(name) /* ; */
32830 if ac_fn_c_try_compile
"$LINENO"; then :
32831 ac_cv_func_which_gethostbyname_r
=no
32834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32841 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32844 /* end confdefs.h. */
32850 char *name = "www.gnu.org";
32851 struct hostent ret, *retp;
32855 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32862 if ac_fn_c_try_compile
"$LINENO"; then :
32863 ac_cv_func_which_gethostbyname_r
=six
32866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32875 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32878 /* end confdefs.h. */
32884 char *name = "www.gnu.org";
32885 struct hostent ret;
32889 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32896 if ac_fn_c_try_compile
"$LINENO"; then :
32897 ac_cv_func_which_gethostbyname_r
=five
32900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32906 # (e.g. AIX, HP-UX, Tru64)
32909 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32912 /* end confdefs.h. */
32918 char *name = "www.gnu.org";
32919 struct hostent ret;
32920 struct hostent_data data;
32921 (void)gethostbyname_r(name, &ret, &data) /* ; */
32928 if ac_fn_c_try_compile
"$LINENO"; then :
32929 ac_cv_func_which_gethostbyname_r
=three
32932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32936 ################################################################
32941 case "$ac_cv_func_which_gethostbyname_r" in
32943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32944 $as_echo "three" >&6; }
32945 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32951 $as_echo "five" >&6; }
32952 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32958 $as_echo "six" >&6; }
32959 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32965 $as_echo "cannot find function declaration in netdb.h" >&6; }
32969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32970 $as_echo "can't tell" >&6; }
32974 as_fn_error $?
"internal error" "$LINENO" 5
32979 ac_cpp
='$CPP $CPPFLAGS'
32980 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32981 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32982 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32986 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32987 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32988 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32989 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
32990 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32997 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32998 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
32999 $as_echo_n "(cached) " >&6
33003 ac_cpp
='$CXXCPP $CPPFLAGS'
33004 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33010 /* end confdefs.h. */
33018 struct servent *se, *res;
33021 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
33027 if ac_fn_cxx_try_compile
"$LINENO"; then :
33028 ac_cv_func_which_getservbyname_r
=six
33031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33032 /* end confdefs.h. */
33040 struct servent *se;
33043 (void) getservbyname_r(name, proto, se, buffer, buflen)
33049 if ac_fn_cxx_try_compile
"$LINENO"; then :
33050 ac_cv_func_which_getservbyname_r
=five
33053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33054 /* end confdefs.h. */
33062 struct servent *se;
33063 struct servent_data data;
33064 (void) getservbyname_r(name, proto, se, &data);
33070 if ac_fn_cxx_try_compile
"$LINENO"; then :
33071 ac_cv_func_which_getservbyname_r
=four
33073 ac_cv_func_which_getservbyname_r
=no
33076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33086 ac_cpp
='$CPP $CPPFLAGS'
33087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33095 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33097 if test $ac_cv_func_which_getservbyname_r = six
; then
33098 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33100 elif test $ac_cv_func_which_getservbyname_r = five
; then
33101 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33103 elif test $ac_cv_func_which_getservbyname_r = four
; then
33104 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33109 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33110 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33111 for ac_func
in getservbyname
33113 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33114 if test "x$ac_cv_func_getservbyname" = xyes
; then :
33115 cat >>confdefs.h
<<_ACEOF
33116 #define HAVE_GETSERVBYNAME 1
33118 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33125 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33128 if test "$wxUSE_THREADS" = "yes"; then
33129 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33134 if test "$wx_cv_func_strtok_r" = "yes"; then
33135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33136 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33137 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33138 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33140 $as_echo "yes" >&6; }
33142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33143 $as_echo "no" >&6; }
33148 if test "$WXGTK3" = 1 ; then
33149 cat >>confdefs.h
<<_ACEOF
33150 #define __WXGTK3__ 1
33155 if test "$WXGTK2" = 1 ; then
33156 cat >>confdefs.h
<<_ACEOF
33157 #define __WXGTK20__ $WXGTK2
33162 if test "$WXGTK127" = 1 ; then
33163 cat >>confdefs.h
<<_ACEOF
33164 #define __WXGTK127__ $WXGTK127
33169 if test "$WXGPE" = 1 ; then
33170 cat >>confdefs.h
<<_ACEOF
33171 #define __WXGPE__ $WXGPE
33177 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33179 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33180 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33184 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33185 wxUSE_DEBUG_INFO
=yes
33186 if test "$GCC" = yes; then
33187 DEBUG_CFLAGS
="-ggdb"
33191 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33192 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33194 if test "$wxUSE_GTK" = 1 ; then
33195 if test "$WXGTK2" = 1 ; then
33196 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33198 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33203 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33204 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33206 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33208 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33213 if test "$wxUSE_DMALLOC" = "yes" ; then
33214 DMALLOC_LIBS
="-ldmallocthcxx"
33218 if test "$wxUSE_PROFILE" = "yes" ; then
33219 PROFILE_FLAGS
=" -pg"
33222 if test "$GCC" = "yes" ; then
33223 if test "$wxUSE_NO_RTTI" = "yes" ; then
33224 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33226 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33227 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
33229 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33230 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
33235 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
33238 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
33244 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33246 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33248 if test "$wxUSE_OPTIMISE" = "no" ; then
33249 if test "$GCC" = yes ; then
33250 OPTIMISE_CFLAGS
="-O0"
33253 if test "$GCC" = yes ; then
33255 *-pc-os2_emx | *-pc-os2-emx )
33256 OPTIMISE_CFLAGS
="-O2"
33259 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
33263 OPTIMISE_CFLAGS
="-O"
33269 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33270 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33273 WXWIN_COMPATIBILITY_2_8
="yes"
33276 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33277 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33282 if test "$wxUSE_GUI" = "yes"; then
33283 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33289 if test "$wxUSE_UNIX" = "yes"; then
33290 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33295 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33299 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33300 if test "$USE_DOS" = 1; then
33303 for ac_func
in dlopen
33305 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
33306 if test "x$ac_cv_func_dlopen" = xyes
; then :
33307 cat >>confdefs.h
<<_ACEOF
33308 #define HAVE_DLOPEN 1
33311 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33318 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33319 if ${ac_cv_lib_dl_dlopen+:} false
; then :
33320 $as_echo_n "(cached) " >&6
33322 ac_check_lib_save_LIBS
=$LIBS
33324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33325 /* end confdefs.h. */
33327 /* Override any GCC internal prototype to avoid an error.
33328 Use char because int might match the return type of a GCC
33329 builtin and then its argument prototype would still apply. */
33342 if ac_fn_c_try_link
"$LINENO"; then :
33343 ac_cv_lib_dl_dlopen
=yes
33345 ac_cv_lib_dl_dlopen
=no
33347 rm -f core conftest.err conftest.
$ac_objext \
33348 conftest
$ac_exeext conftest.
$ac_ext
33349 LIBS
=$ac_check_lib_save_LIBS
33351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33352 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33353 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
33355 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33358 DL_LINK
=" -ldl$DL_LINK"
33362 for ac_func
in shl_load
33364 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
33365 if test "x$ac_cv_func_shl_load" = xyes
; then :
33366 cat >>confdefs.h
<<_ACEOF
33367 #define HAVE_SHL_LOAD 1
33370 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33377 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33378 if ${ac_cv_lib_shl_load_dld+:} false
; then :
33379 $as_echo_n "(cached) " >&6
33381 ac_check_lib_save_LIBS
=$LIBS
33382 LIBS
="-lshl_load $LIBS"
33383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33384 /* end confdefs.h. */
33386 /* Override any GCC internal prototype to avoid an error.
33387 Use char because int might match the return type of a GCC
33388 builtin and then its argument prototype would still apply. */
33401 if ac_fn_c_try_link
"$LINENO"; then :
33402 ac_cv_lib_shl_load_dld
=yes
33404 ac_cv_lib_shl_load_dld
=no
33406 rm -f core conftest.err conftest.
$ac_objext \
33407 conftest
$ac_exeext conftest.
$ac_ext
33408 LIBS
=$ac_check_lib_save_LIBS
33410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33411 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33412 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
33415 DL_LINK
=" -ldld$DL_LINK"
33431 if test "$HAVE_DL_FUNCS" = 1; then
33432 for ac_func
in dlerror
33434 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33435 if test "x$ac_cv_func_dlerror" = xyes
; then :
33436 cat >>confdefs.h
<<_ACEOF
33437 #define HAVE_DLERROR 1
33439 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33444 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33445 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33446 $as_echo_n "(cached) " >&6
33448 ac_check_lib_save_LIBS
=$LIBS
33450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33451 /* end confdefs.h. */
33453 /* Override any GCC internal prototype to avoid an error.
33454 Use char because int might match the return type of a GCC
33455 builtin and then its argument prototype would still apply. */
33468 if ac_fn_c_try_link
"$LINENO"; then :
33469 ac_cv_lib_dl_dlerror
=yes
33471 ac_cv_lib_dl_dlerror
=no
33473 rm -f core conftest.err conftest.
$ac_objext \
33474 conftest
$ac_exeext conftest.
$ac_ext
33475 LIBS
=$ac_check_lib_save_LIBS
33477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33478 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33479 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33480 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33492 if test "$USE_DARWIN" = 1; then
33496 if test "$HAVE_DL_FUNCS" = 0; then
33497 if test "$HAVE_SHL_FUNCS" = 0; then
33498 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33500 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33501 wxUSE_DYNAMIC_LOADER
=no
33502 wxUSE_DYNLIB_CLASS
=no
33504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33505 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33512 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33513 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33516 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33517 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33523 if test "$wxUSE_PLUGINS" = "yes" ; then
33524 if test "$wxUSE_SHARED" = "no" ; then
33525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33526 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33529 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33531 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33534 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33536 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33539 if test "$wxUSE_PLUGINS" = "yes" ; then
33540 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33546 if test "$wxUSE_FSWATCHER" = "yes"; then
33547 if test "$wxUSE_MSW" != "1"; then
33548 if test "$wxUSE_UNIX" = "yes"; then
33549 for ac_header
in sys
/inotify.h
33551 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33553 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33554 cat >>confdefs.h
<<_ACEOF
33555 #define HAVE_SYS_INOTIFY_H 1
33562 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33563 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33566 for ac_header
in sys
/event.h
33568 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33570 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33571 cat >>confdefs.h
<<_ACEOF
33572 #define HAVE_SYS_EVENT_H 1
33579 if test "$ac_cv_header_sys_event_h" = "yes"; then
33580 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33590 if test "$wxUSE_THREADS" != "yes"; then
33591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33592 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33597 if test "$wxUSE_FSWATCHER" = "yes"; then
33598 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33603 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33608 if test "$wxUSE_STL" = "yes"; then
33609 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33613 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33614 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33618 if test "$wxUSE_ANY" = "yes"; then
33619 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33623 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33624 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33628 if test "$wxUSE_TIMER" = "yes"; then
33629 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33633 if test "$USE_UNIX" = 1 ; then
33634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33635 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33636 if ${ac_cv_header_sys_soundcard+:} false
; then :
33637 $as_echo_n "(cached) " >&6
33640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33641 /* end confdefs.h. */
33643 #include <sys/ioctl.h>
33644 #include <sys/soundcard.h>
33650 ioctl(0, SNDCTL_DSP_SPEED, 0);
33656 if ac_fn_c_try_link
"$LINENO"; then :
33657 ac_cv_header_sys_soundcard
=yes
33661 LIBS
="$saveLibs -lossaudio"
33662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33663 /* end confdefs.h. */
33665 #include <sys/ioctl.h>
33666 #include <sys/soundcard.h>
33672 ioctl(0, SNDCTL_DSP_SPEED, 0);
33678 if ac_fn_c_try_link
"$LINENO"; then :
33679 ac_cv_header_sys_soundcard
=yes
33683 ac_cv_header_sys_soundcard
=no
33687 rm -f core conftest.err conftest.
$ac_objext \
33688 conftest
$ac_exeext conftest.
$ac_ext
33692 rm -f core conftest.err conftest.
$ac_objext \
33693 conftest
$ac_exeext conftest.
$ac_ext
33696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33697 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33699 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33700 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33706 if test "$wxUSE_SOUND" = "yes"; then
33707 if test "$USE_UNIX" = 1 ; then
33708 if test "$wxUSE_LIBSDL" != "no"; then
33710 # Check whether --with-sdl-prefix was given.
33711 if test "${with_sdl_prefix+set}" = set; then :
33712 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33718 # Check whether --with-sdl-exec-prefix was given.
33719 if test "${with_sdl_exec_prefix+set}" = set; then :
33720 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33725 # Check whether --enable-sdltest was given.
33726 if test "${enable_sdltest+set}" = set; then :
33727 enableval
=$enable_sdltest;
33733 if test x
$sdl_exec_prefix != x
; then
33734 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33735 if test x
${SDL_CONFIG+set} != xset
; then
33736 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33739 if test x
$sdl_prefix != x
; then
33740 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33741 if test x
${SDL_CONFIG+set} != xset
; then
33742 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33746 if test "x$prefix" != xNONE
; then
33747 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33749 # Extract the first word of "sdl-config", so it can be a program name with args.
33750 set dummy sdl
-config; ac_word
=$2
33751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33752 $as_echo_n "checking for $ac_word... " >&6; }
33753 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33754 $as_echo_n "(cached) " >&6
33756 case $SDL_CONFIG in
33758 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33762 for as_dir
in $PATH
33765 test -z "$as_dir" && as_dir
=.
33766 for ac_exec_ext
in '' $ac_executable_extensions; do
33767 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33768 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33776 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33780 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33781 if test -n "$SDL_CONFIG"; then
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33783 $as_echo "$SDL_CONFIG" >&6; }
33785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33786 $as_echo "no" >&6; }
33790 min_sdl_version
=1.2.0
33791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33792 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33794 if test "$SDL_CONFIG" = "no" ; then
33797 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33798 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33800 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33802 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33803 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33804 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33805 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33806 if test "x$enable_sdltest" = "xyes" ; then
33807 ac_save_CFLAGS
="$CFLAGS"
33808 ac_save_CXXFLAGS
="$CXXFLAGS"
33809 ac_save_LIBS
="$LIBS"
33810 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33811 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33812 LIBS
="$LIBS $SDL_LIBS"
33814 if test "$cross_compiling" = yes; then :
33815 echo $ac_n "cross compiling; assumed OK... $ac_c"
33817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33818 /* end confdefs.h. */
33821 #include <stdlib.h>
33822 #include <string.h>
33826 my_strdup (char *str)
33832 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33833 strcpy (new_str, str);
33841 int main (int argc, char *argv[])
33843 int major, minor, micro;
33846 /* This hangs on some systems (?)
33847 system ("touch conf.sdltest");
33849 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33851 /* HP/UX 9 (%@#!) writes to sscanf strings */
33852 tmp_version = my_strdup("$min_sdl_version");
33853 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33854 printf("%s, bad version string\n", "$min_sdl_version");
33858 if (($sdl_major_version > major) ||
33859 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33860 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33866 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33867 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33868 printf("*** best to upgrade to the required version.\n");
33869 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33870 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33871 printf("*** config.cache before re-running configure\n");
33878 if ac_fn_c_try_run
"$LINENO"; then :
33883 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33884 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33887 CFLAGS
="$ac_save_CFLAGS"
33888 CXXFLAGS
="$ac_save_CXXFLAGS"
33889 LIBS
="$ac_save_LIBS"
33892 if test "x$no_sdl" = x
; then
33893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33894 $as_echo "yes" >&6; }
33896 EXTRALIBS_SDL
="$SDL_LIBS"
33897 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33898 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33899 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33904 $as_echo "no" >&6; }
33905 if test "$SDL_CONFIG" = "no" ; then
33906 echo "*** The sdl-config script installed by SDL could not be found"
33907 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33908 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33909 echo "*** full path to sdl-config."
33911 if test -f conf.sdltest
; then
33914 echo "*** Could not run SDL test program, checking why..."
33915 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33916 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33917 LIBS
="$LIBS $SDL_LIBS"
33918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33919 /* end confdefs.h. */
33924 int main(int argc, char *argv[])
33927 #define main K_and_R_C_main
33937 if ac_fn_c_try_link
"$LINENO"; then :
33938 echo "*** The test program compiled, but did not run. This usually means"
33939 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33940 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33941 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33942 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33943 echo "*** is required on your system"
33945 echo "*** If you have an old version installed, it is best to remove it, although"
33946 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33948 echo "*** The test program failed to compile or link. See the file config.log for the"
33949 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33950 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33951 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33953 rm -f core conftest.err conftest.
$ac_objext \
33954 conftest
$ac_exeext conftest.
$ac_ext
33955 CFLAGS
="$ac_save_CFLAGS"
33956 CXXFLAGS
="$ac_save_CXXFLAGS"
33957 LIBS
="$ac_save_LIBS"
33968 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33975 if test "$wxUSE_SOUND" = "yes"; then
33976 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33981 if test "$WXGTK2" = 1; then
33984 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33985 if test -n "$ac_tool_prefix"; then
33986 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33987 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33989 $as_echo_n "checking for $ac_word... " >&6; }
33990 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
33991 $as_echo_n "(cached) " >&6
33993 case $PKG_CONFIG in
33995 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33999 for as_dir
in $PATH
34002 test -z "$as_dir" && as_dir
=.
34003 for ac_exec_ext
in '' $ac_executable_extensions; do
34004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
34005 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34016 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34017 if test -n "$PKG_CONFIG"; then
34018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
34019 $as_echo "$PKG_CONFIG" >&6; }
34021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34022 $as_echo "no" >&6; }
34027 if test -z "$ac_cv_path_PKG_CONFIG"; then
34028 ac_pt_PKG_CONFIG
=$PKG_CONFIG
34029 # Extract the first word of "pkg-config", so it can be a program name with args.
34030 set dummy pkg
-config; ac_word
=$2
34031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34032 $as_echo_n "checking for $ac_word... " >&6; }
34033 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
34034 $as_echo_n "(cached) " >&6
34036 case $ac_pt_PKG_CONFIG in
34038 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34042 for as_dir
in $PATH
34045 test -z "$as_dir" && as_dir
=.
34046 for ac_exec_ext
in '' $ac_executable_extensions; do
34047 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
34048 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34059 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
34060 if test -n "$ac_pt_PKG_CONFIG"; then
34061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
34062 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
34064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34065 $as_echo "no" >&6; }
34068 if test "x$ac_pt_PKG_CONFIG" = x
; then
34071 case $cross_compiling:$ac_tool_warned in
34073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34075 ac_tool_warned
=yes ;;
34077 PKG_CONFIG
=$ac_pt_PKG_CONFIG
34080 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
34084 if test -n "$PKG_CONFIG"; then
34085 _pkg_min_version
=0.9.0
34086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
34087 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
34088 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34090 $as_echo "yes" >&6; }
34092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34093 $as_echo "no" >&6; }
34099 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34101 if test "$wxUSE_GTKPRINT" = "yes" ; then
34102 if test "$WXGTK3" = 1; then
34103 gtk_unix_print
="gtk+-unix-print-3.0"
34105 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
34109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34110 $as_echo_n "checking for GTKPRINT... " >&6; }
34112 if test -n "$PKG_CONFIG"; then
34113 if test -n "$GTKPRINT_CFLAGS"; then
34114 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
34116 if test -n "$PKG_CONFIG" && \
34117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34118 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34121 test $ac_status = 0; }; then
34122 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34130 if test -n "$PKG_CONFIG"; then
34131 if test -n "$GTKPRINT_LIBS"; then
34132 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
34134 if test -n "$PKG_CONFIG" && \
34135 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34136 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34139 test $ac_status = 0; }; then
34140 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34151 if test $pkg_failed = yes; then
34153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34154 _pkg_short_errors_supported
=yes
34156 _pkg_short_errors_supported
=no
34158 if test $_pkg_short_errors_supported = yes; then
34159 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34161 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34163 # Put the nasty error message in config.log where it belongs
34164 echo "$GTKPRINT_PKG_ERRORS" >&5
34167 { $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
34168 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34169 wxUSE_GTKPRINT
="no"
34172 elif test $pkg_failed = untried
; then
34174 { $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
34175 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34176 wxUSE_GTKPRINT
="no"
34180 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
34181 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
34182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34183 $as_echo "yes" >&6; }
34185 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34186 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
34187 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
34188 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34194 if test "$WXGTK3" = 1; then
34195 wxUSE_LIBGNOMEPRINT
=no
34198 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34203 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34205 if test -n "$PKG_CONFIG"; then
34206 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34207 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
34209 if test -n "$PKG_CONFIG" && \
34210 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34211 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34214 test $ac_status = 0; }; then
34215 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34223 if test -n "$PKG_CONFIG"; then
34224 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34225 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
34227 if test -n "$PKG_CONFIG" && \
34228 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34229 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34232 test $ac_status = 0; }; then
34233 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34244 if test $pkg_failed = yes; then
34246 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34247 _pkg_short_errors_supported
=yes
34249 _pkg_short_errors_supported
=no
34251 if test $_pkg_short_errors_supported = yes; then
34252 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34254 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34256 # Put the nasty error message in config.log where it belongs
34257 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34260 if test "$wxUSE_GTKPRINT" = yes; then
34261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34262 $as_echo "no" >&6; }
34264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34265 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34267 wxUSE_LIBGNOMEPRINT
="no"
34270 elif test $pkg_failed = untried
; then
34272 if test "$wxUSE_GTKPRINT" = yes; then
34273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34274 $as_echo "no" >&6; }
34276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34277 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34279 wxUSE_LIBGNOMEPRINT
="no"
34283 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34284 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34286 $as_echo "yes" >&6; }
34288 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34289 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34290 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34291 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34298 if test "$wxUSE_MIMETYPE" = "yes" ; then
34299 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34304 $as_echo_n "checking for GNOMEVFS... " >&6; }
34306 if test -n "$PKG_CONFIG"; then
34307 if test -n "$GNOMEVFS_CFLAGS"; then
34308 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
34310 if test -n "$PKG_CONFIG" && \
34311 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34312 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34315 test $ac_status = 0; }; then
34316 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34324 if test -n "$PKG_CONFIG"; then
34325 if test -n "$GNOMEVFS_LIBS"; then
34326 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
34328 if test -n "$PKG_CONFIG" && \
34329 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34330 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34333 test $ac_status = 0; }; then
34334 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34345 if test $pkg_failed = yes; then
34347 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34348 _pkg_short_errors_supported
=yes
34350 _pkg_short_errors_supported
=no
34352 if test $_pkg_short_errors_supported = yes; then
34353 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34355 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34357 # Put the nasty error message in config.log where it belongs
34358 echo "$GNOMEVFS_PKG_ERRORS" >&5
34361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34362 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34363 wxUSE_LIBGNOMEVFS
="no"
34366 elif test $pkg_failed = untried
; then
34368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34369 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34370 wxUSE_LIBGNOMEVFS
="no"
34374 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
34375 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
34376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34377 $as_echo "yes" >&6; }
34379 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34380 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
34381 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
34382 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34389 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34390 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34395 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34397 if test -n "$PKG_CONFIG"; then
34398 if test -n "$LIBNOTIFY_CFLAGS"; then
34399 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34401 if test -n "$PKG_CONFIG" && \
34402 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34403 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34406 test $ac_status = 0; }; then
34407 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34415 if test -n "$PKG_CONFIG"; then
34416 if test -n "$LIBNOTIFY_LIBS"; then
34417 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34419 if test -n "$PKG_CONFIG" && \
34420 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34421 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34424 test $ac_status = 0; }; then
34425 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34436 if test $pkg_failed = yes; then
34438 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34439 _pkg_short_errors_supported
=yes
34441 _pkg_short_errors_supported
=no
34443 if test $_pkg_short_errors_supported = yes; then
34444 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34446 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34448 # Put the nasty error message in config.log where it belongs
34449 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34455 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34457 if test -n "$PKG_CONFIG"; then
34458 if test -n "$LIBNOTIFY_CFLAGS"; then
34459 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34461 if test -n "$PKG_CONFIG" && \
34462 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34463 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34466 test $ac_status = 0; }; then
34467 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34475 if test -n "$PKG_CONFIG"; then
34476 if test -n "$LIBNOTIFY_LIBS"; then
34477 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34479 if test -n "$PKG_CONFIG" && \
34480 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34481 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34484 test $ac_status = 0; }; then
34485 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34496 if test $pkg_failed = yes; then
34498 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34499 _pkg_short_errors_supported
=yes
34501 _pkg_short_errors_supported
=no
34503 if test $_pkg_short_errors_supported = yes; then
34504 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34506 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34508 # Put the nasty error message in config.log where it belongs
34509 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34512 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34514 elif test $pkg_failed = untried
; then
34515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34516 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34519 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34520 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34522 $as_echo "yes" >&6; }
34527 elif test $pkg_failed = untried
; then
34531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34532 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34534 if test -n "$PKG_CONFIG"; then
34535 if test -n "$LIBNOTIFY_CFLAGS"; then
34536 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34538 if test -n "$PKG_CONFIG" && \
34539 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34540 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34543 test $ac_status = 0; }; then
34544 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34552 if test -n "$PKG_CONFIG"; then
34553 if test -n "$LIBNOTIFY_LIBS"; then
34554 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34556 if test -n "$PKG_CONFIG" && \
34557 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34558 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34561 test $ac_status = 0; }; then
34562 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34573 if test $pkg_failed = yes; then
34575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34576 _pkg_short_errors_supported
=yes
34578 _pkg_short_errors_supported
=no
34580 if test $_pkg_short_errors_supported = yes; then
34581 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34583 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34585 # Put the nasty error message in config.log where it belongs
34586 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34589 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34591 elif test $pkg_failed = untried
; then
34592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34593 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34596 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34597 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34599 $as_echo "yes" >&6; }
34605 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34606 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34608 $as_echo "yes" >&6; }
34611 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34616 if test "$HAVE_LIBNOTIFY" = "1" ; then
34617 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34618 CFLAGS
="$LIBNOTIFY_CFLAGS $CFLAGS"
34619 CXXFLAGS
="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34620 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34626 if test "$wxUSE_LIBHILDON" = "yes" ; then
34629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34630 $as_echo_n "checking for HILDON... " >&6; }
34632 if test -n "$PKG_CONFIG"; then
34633 if test -n "$HILDON_CFLAGS"; then
34634 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
34636 if test -n "$PKG_CONFIG" && \
34637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34638 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34641 test $ac_status = 0; }; then
34642 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34650 if test -n "$PKG_CONFIG"; then
34651 if test -n "$HILDON_LIBS"; then
34652 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
34654 if test -n "$PKG_CONFIG" && \
34655 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34656 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34659 test $ac_status = 0; }; then
34660 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34671 if test $pkg_failed = yes; then
34673 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34674 _pkg_short_errors_supported
=yes
34676 _pkg_short_errors_supported
=no
34678 if test $_pkg_short_errors_supported = yes; then
34679 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34681 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34683 # Put the nasty error message in config.log where it belongs
34684 echo "$HILDON_PKG_ERRORS" >&5
34687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34688 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34689 wxUSE_LIBHILDON
="no"
34693 elif test $pkg_failed = untried
; then
34695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34696 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34697 wxUSE_LIBHILDON
="no"
34702 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34703 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34705 $as_echo "yes" >&6; }
34707 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON_LIBS"
34708 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34709 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34710 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34716 if test "$ac_hildon_lgpl" = 0 ; then
34719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34720 $as_echo_n "checking for HILDON2... " >&6; }
34722 if test -n "$PKG_CONFIG"; then
34723 if test -n "$HILDON2_CFLAGS"; then
34724 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34726 if test -n "$PKG_CONFIG" && \
34727 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34728 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34731 test $ac_status = 0; }; then
34732 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34740 if test -n "$PKG_CONFIG"; then
34741 if test -n "$HILDON2_LIBS"; then
34742 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34744 if test -n "$PKG_CONFIG" && \
34745 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34746 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34749 test $ac_status = 0; }; then
34750 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34761 if test $pkg_failed = yes; then
34763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34764 _pkg_short_errors_supported
=yes
34766 _pkg_short_errors_supported
=no
34768 if test $_pkg_short_errors_supported = yes; then
34769 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34771 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34773 # Put the nasty error message in config.log where it belongs
34774 echo "$HILDON2_PKG_ERRORS" >&5
34777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34778 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34779 wxUSE_LIBHILDON2
="no"
34782 elif test $pkg_failed = untried
; then
34784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34785 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34786 wxUSE_LIBHILDON2
="no"
34790 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34791 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34793 $as_echo "yes" >&6; }
34795 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON2_LIBS"
34796 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34797 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34798 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34806 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34807 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34811 if test "$wxUSE_STOPWATCH" = "yes"; then
34812 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34816 if test "$wxUSE_DATETIME" = "yes"; then
34817 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34821 if test "$wxUSE_FILE" = "yes"; then
34822 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34826 if test "$wxUSE_FFILE" = "yes"; then
34827 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34831 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34832 if test "$wxUSE_STREAMS" != yes; then
34833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34834 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34835 wxUSE_ARCHIVE_STREAMS
=no
34837 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34842 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34843 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34845 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34846 elif test "$wxUSE_ZLIB" = "no"; then
34847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34848 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34850 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34855 if test "$wxUSE_TARSTREAM" = "yes"; then
34856 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34858 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34860 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34865 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34866 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34870 if test "$wxUSE_FILESYSTEM" = "yes"; then
34871 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34873 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34874 wxUSE_FILESYSTEM
=no
34876 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34881 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34882 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34884 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34886 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34891 if test "$wxUSE_FS_ZIP" = "yes"; then
34892 if test "$wxUSE_FS_ARCHIVE" != yes; then
34893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34894 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34896 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34901 if test "$wxUSE_FSVOLUME" = "yes"; then
34902 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34906 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34907 if test "$USE_UNIX" != 1; then
34908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34909 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34910 wxUSE_ON_FATAL_EXCEPTION
=no
34912 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34917 if test "$wxUSE_STACKWALKER" = "yes"; then
34918 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34922 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34923 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34925 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34926 wxUSE_DEBUGREPORT
=no
34928 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34930 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34931 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34936 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34937 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34941 if test "$wxUSE_BUSYINFO" = "yes"; then
34942 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34946 if test "$wxUSE_HOTKEY" = "yes"; then
34947 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34949 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34952 elif test "$wxUSE_HOTKEY" = "auto"; then
34953 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34957 if test "$wxUSE_HOTKEY" = "yes"; then
34958 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34962 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34963 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34967 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34968 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34972 if test "$wxUSE_STD_STRING" = "yes"; then
34973 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34977 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34978 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34982 if test "$wxUSE_STDPATHS" = "yes"; then
34983 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34987 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34988 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34992 if test "$wxUSE_TEXTFILE" = "yes"; then
34993 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34995 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34997 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
35002 if test "$wxUSE_CONFIG" = "yes" ; then
35003 if test "$wxUSE_TEXTFILE" != "yes"; then
35004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
35005 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35007 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
35009 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
35011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35015 if test "$wxUSE_INTL" = "yes" ; then
35016 if test "$wxUSE_FILE" != "yes"; then
35017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
35018 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35020 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
35022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35023 GUIDIST
="$GUIDIST INTL_DIST"
35027 if test "$wxUSE_XLOCALE" = "yes" ; then
35028 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
35030 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
35031 #include <locale.h>
35033 if test "x$ac_cv_type_locale_t" = xyes
; then :
35035 cat >>confdefs.h
<<_ACEOF
35036 #define HAVE_LOCALE_T 1
35044 if test "$wxUSE_LOG" = "yes"; then
35045 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
35048 if test "$wxUSE_LOGGUI" = "yes"; then
35049 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
35053 if test "$wxUSE_LOGWINDOW" = "yes"; then
35054 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
35058 if test "$wxUSE_LOGDIALOG" = "yes"; then
35059 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
35063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
35066 if test "$wxUSE_LONGLONG" = "yes"; then
35067 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
35071 if test "$wxUSE_GEOMETRY" = "yes"; then
35072 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
35076 if test "$wxUSE_BASE64" = "yes"; then
35077 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
35081 if test "$wxUSE_STREAMS" = "yes" ; then
35082 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
35086 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35087 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
35091 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
35092 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
35097 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
35098 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
35101 if test "$wxUSE_UNIX" = "yes"; then
35102 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35103 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35107 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35108 for ac_header
in sys
/epoll.h
35110 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35112 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
35113 cat >>confdefs.h
<<_ACEOF
35114 #define HAVE_SYS_EPOLL_H 1
35121 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35122 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35126 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35133 for ac_func
in gettimeofday ftime
35135 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35136 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
35137 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
35138 cat >>confdefs.h
<<_ACEOF
35139 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35146 if test "$ac_cv_func_gettimeofday" = "yes"; then
35147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35148 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35149 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
35150 $as_echo_n "(cached) " >&6
35153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35154 /* end confdefs.h. */
35156 #include <sys/time.h>
35157 #include <unistd.h>
35164 gettimeofday(&tv, NULL);
35170 if ac_fn_c_try_compile
"$LINENO"; then :
35171 wx_cv_func_gettimeofday_has_2_args
=yes
35173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35174 /* end confdefs.h. */
35176 #include <sys/time.h>
35177 #include <unistd.h>
35190 if ac_fn_c_try_compile
"$LINENO"; then :
35191 wx_cv_func_gettimeofday_has_2_args
=no
35194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35195 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35196 wx_cv_func_gettimeofday_has_2_args
=unknown
35200 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35207 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35209 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35210 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35215 if test "$wxUSE_DATETIME" = "yes"; then
35216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35217 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35218 if ${wx_cv_var_timezone+:} false
; then :
35219 $as_echo_n "(cached) " >&6
35223 ac_cpp
='$CXXCPP $CPPFLAGS'
35224 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35225 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35226 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35229 /* end confdefs.h. */
35244 if ac_fn_cxx_try_compile
"$LINENO"; then :
35246 wx_cv_var_timezone
=timezone
35250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35251 /* end confdefs.h. */
35266 if ac_fn_cxx_try_compile
"$LINENO"; then :
35268 wx_cv_var_timezone
=_timezone
35272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35273 /* end confdefs.h. */
35288 if ac_fn_cxx_try_compile
"$LINENO"; then :
35290 wx_cv_var_timezone
=__timezone
35294 if test "$USE_DOS" = 0 ; then
35295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35296 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35311 ac_cpp
='$CPP $CPPFLAGS'
35312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35320 $as_echo "$wx_cv_var_timezone" >&6; }
35322 if test "x$wx_cv_var_timezone" != x
; then
35323 cat >>confdefs.h
<<_ACEOF
35324 #define WX_TIMEZONE $wx_cv_var_timezone
35329 for ac_func
in localtime
35331 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
35332 if test "x$ac_cv_func_localtime" = xyes
; then :
35333 cat >>confdefs.h
<<_ACEOF
35334 #define HAVE_LOCALTIME 1
35341 if test "$ac_cv_func_localtime" = "yes"; then
35342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35343 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35344 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
35345 $as_echo_n "(cached) " >&6
35348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35349 /* end confdefs.h. */
35364 if ac_fn_c_try_compile
"$LINENO"; then :
35366 wx_cv_struct_tm_has_gmtoff
=yes
35369 wx_cv_struct_tm_has_gmtoff
=no
35372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35376 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35379 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35380 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35388 for ac_func
in setpriority
35390 ac_fn_c_check_func
"$LINENO" "setpriority" "ac_cv_func_setpriority"
35391 if test "x$ac_cv_func_setpriority" = xyes
; then :
35392 cat >>confdefs.h
<<_ACEOF
35393 #define HAVE_SETPRIORITY 1
35401 if test "$wxUSE_SOCKETS" = "yes"; then
35402 if test "$TOOLKIT" != "MSW"; then
35403 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
35404 if test "x$ac_cv_func_socket" = xyes
; then :
35408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35409 $as_echo_n "checking for socket in -lsocket... " >&6; }
35410 if ${ac_cv_lib_socket_socket+:} false
; then :
35411 $as_echo_n "(cached) " >&6
35413 ac_check_lib_save_LIBS
=$LIBS
35414 LIBS
="-lsocket $LIBS"
35415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35416 /* end confdefs.h. */
35418 /* Override any GCC internal prototype to avoid an error.
35419 Use char because int might match the return type of a GCC
35420 builtin and then its argument prototype would still apply. */
35433 if ac_fn_c_try_link
"$LINENO"; then :
35434 ac_cv_lib_socket_socket
=yes
35436 ac_cv_lib_socket_socket
=no
35438 rm -f core conftest.err conftest.
$ac_objext \
35439 conftest
$ac_exeext conftest.
$ac_ext
35440 LIBS
=$ac_check_lib_save_LIBS
35442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35443 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35444 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
35445 if test "$INET_LINK" != " -lsocket"; then
35446 INET_LINK
="$INET_LINK -lsocket"
35450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35451 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35464 if test "$wxUSE_SOCKETS" = "yes" ; then
35465 if test "$TOOLKIT" != "MSW"; then
35466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35467 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35468 if ${wx_cv_type_getsockname3+:} false
; then :
35469 $as_echo_n "(cached) " >&6
35473 ac_cpp
='$CXXCPP $CPPFLAGS'
35474 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35475 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35476 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35479 /* end confdefs.h. */
35481 #include <sys/types.h>
35482 #include <sys/socket.h>
35489 getsockname(0, 0, &len);
35495 if ac_fn_cxx_try_compile
"$LINENO"; then :
35496 wx_cv_type_getsockname3
=socklen_t
35499 CFLAGS_OLD
="$CFLAGS"
35500 if test "$GCC" = yes ; then
35501 CFLAGS
="-Werror $CFLAGS"
35504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35505 /* end confdefs.h. */
35507 #include <sys/types.h>
35508 #include <sys/socket.h>
35515 getsockname(0, 0, &len);
35521 if ac_fn_cxx_try_compile
"$LINENO"; then :
35522 wx_cv_type_getsockname3
=size_t
35524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35525 /* end confdefs.h. */
35527 #include <sys/types.h>
35528 #include <sys/socket.h>
35535 getsockname(0, 0, &len);
35541 if ac_fn_cxx_try_compile
"$LINENO"; then :
35542 wx_cv_type_getsockname3
=int
35544 wx_cv_type_getsockname3
=unknown
35547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35552 CFLAGS
="$CFLAGS_OLD"
35556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35558 ac_cpp
='$CPP $CPPFLAGS'
35559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35566 $as_echo "$wx_cv_type_getsockname3" >&6; }
35568 if test "$wx_cv_type_getsockname3" = "unknown"; then
35570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35571 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35573 cat >>confdefs.h
<<_ACEOF
35574 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35579 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35580 if ${wx_cv_type_getsockopt5+:} false
; then :
35581 $as_echo_n "(cached) " >&6
35585 ac_cpp
='$CXXCPP $CPPFLAGS'
35586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35591 /* end confdefs.h. */
35593 #include <sys/types.h>
35594 #include <sys/socket.h>
35601 getsockopt(0, 0, 0, 0, &len);
35607 if ac_fn_cxx_try_compile
"$LINENO"; then :
35608 wx_cv_type_getsockopt5
=socklen_t
35611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35612 /* end confdefs.h. */
35614 #include <sys/types.h>
35615 #include <sys/socket.h>
35622 getsockopt(0, 0, 0, 0, &len);
35628 if ac_fn_cxx_try_compile
"$LINENO"; then :
35629 wx_cv_type_getsockopt5
=size_t
35631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35632 /* end confdefs.h. */
35634 #include <sys/types.h>
35635 #include <sys/socket.h>
35642 getsockopt(0, 0, 0, 0, &len);
35648 if ac_fn_cxx_try_compile
"$LINENO"; then :
35649 wx_cv_type_getsockopt5
=int
35651 wx_cv_type_getsockopt5
=unknown
35654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35663 ac_cpp
='$CPP $CPPFLAGS'
35664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35671 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35673 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35676 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35678 cat >>confdefs.h
<<_ACEOF
35679 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35686 if test "$wxUSE_SOCKETS" = "yes" ; then
35687 if test "$wxUSE_IPV6" = "yes"; then
35688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35689 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35690 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35691 $as_echo_n "(cached) " >&6
35694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35695 /* end confdefs.h. */
35697 #include <sys/types.h>
35698 #include <sys/socket.h>
35699 #include <netinet/in.h>
35705 struct sockaddr_in6 sa6;
35711 if ac_fn_c_try_compile
"$LINENO"; then :
35712 wx_cv_type_sockaddr_in6
=yes
35714 wx_cv_type_sockaddr_in6
=no
35717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35722 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35724 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35725 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35729 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35733 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35738 if test "$wxUSE_PROTOCOL" = "yes"; then
35739 if test "$wxUSE_SOCKETS" != "yes"; then
35740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35741 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35746 if test "$wxUSE_PROTOCOL" = "yes"; then
35747 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35750 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35751 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35754 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35755 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35758 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35759 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35763 if test "$wxUSE_FS_INET" = "yes"; then
35764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35765 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35770 if test "$wxUSE_URL" = "yes"; then
35771 if test "$wxUSE_PROTOCOL" != "yes"; then
35772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35773 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35776 if test "$wxUSE_URL" = "yes"; then
35777 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35782 if test "$wxUSE_VARIANT" = "yes"; then
35783 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35787 if test "$wxUSE_FS_INET" = "yes"; then
35788 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35793 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35796 if test "$TOOLKIT" = "MSW"; then
35799 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35800 if test "$USE_DARWIN" = 1; then
35801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35802 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35804 ac_cpp
='$CXXCPP $CPPFLAGS'
35805 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35810 /* end confdefs.h. */
35811 #include <IOKit/hid/IOHIDLib.h>
35815 IOHIDQueueInterface *qi = NULL;
35816 IOHIDCallbackFunction cb = NULL;
35817 qi->setEventCallout(NULL, cb, NULL, NULL);
35822 if ac_fn_cxx_try_compile
"$LINENO"; then :
35826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35828 ac_cpp
='$CPP $CPPFLAGS'
35829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35834 $as_echo "$wxUSE_JOYSTICK" >&6; }
35838 for ac_header
in linux
/joystick.h
35840 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35842 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35843 cat >>confdefs.h
<<_ACEOF
35844 #define HAVE_LINUX_JOYSTICK_H 1
35853 if test "$wxUSE_JOYSTICK" = "yes"; then
35854 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35859 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35865 if test "$wxUSE_FONTENUM" = "yes" ; then
35866 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35870 if test "$wxUSE_FONTMAP" = "yes" ; then
35871 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35875 if test "$wxUSE_UNICODE" = "yes" ; then
35876 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35879 if test "$USE_WIN32" != 1; then
35880 wxUSE_UNICODE_MSLU
=no
35883 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35885 $as_echo_n "checking for main in -lunicows... " >&6; }
35886 if ${ac_cv_lib_unicows_main+:} false
; then :
35887 $as_echo_n "(cached) " >&6
35889 ac_check_lib_save_LIBS
=$LIBS
35890 LIBS
="-lunicows $LIBS"
35891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35892 /* end confdefs.h. */
35903 if ac_fn_c_try_link
"$LINENO"; then :
35904 ac_cv_lib_unicows_main
=yes
35906 ac_cv_lib_unicows_main
=no
35908 rm -f core conftest.err conftest.
$ac_objext \
35909 conftest
$ac_exeext conftest.
$ac_ext
35910 LIBS
=$ac_check_lib_save_LIBS
35912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35913 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35914 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35916 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35922 Applications will only run on Windows NT/2000/XP!" >&5
35923 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35924 Applications will only run on Windows NT/2000/XP!" >&2;}
35925 wxUSE_UNICODE_MSLU
=no
35932 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35933 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35936 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35937 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35943 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35944 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35949 if test "$wxUSE_MDI" = "yes"; then
35950 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35953 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35954 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35960 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35961 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35963 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35966 if test "$wxUSE_HELP" = "yes"; then
35967 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35971 if test "$wxUSE_MSW" = 1; then
35972 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35973 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35978 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35979 if test "$wxUSE_HTML" = "yes"; then
35980 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35984 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35985 wxUSE_WXHTML_HELP
=no
35990 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35991 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35996 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35997 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
36001 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
36004 if test "$wxUSE_SVG" = "yes"; then
36005 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
36010 if test "$wxUSE_METAFILE" = "yes"; then
36011 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
36012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
36013 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
36016 elif test "$wxUSE_METAFILE" = "auto"; then
36017 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
36022 if test "$wxUSE_METAFILE" = "yes"; then
36023 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
36025 if test "$wxUSE_MSW" = 1; then
36026 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
36032 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36033 -o "$wxUSE_CLIPBOARD" = "yes" \
36034 -o "$wxUSE_OLE" = "yes" \
36035 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36036 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
36038 if test "x$ac_cv_header_ole2_h" = xyes
; then :
36044 if test "$ac_cv_header_ole2_h" = "yes" ; then
36045 if test "$GCC" = yes ; then
36046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
36047 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
36048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36049 /* end confdefs.h. */
36050 #include <windows.h>
36060 if ac_fn_c_try_compile
"$LINENO"; then :
36061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36062 $as_echo "no" >&6; }
36064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36065 $as_echo "yes" >&6; }
36066 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
36068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36069 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36070 if test "$wxUSE_OLE" = "yes" ; then
36071 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
36073 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
36075 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
36077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
36081 if test "$wxUSE_DATAOBJ" = "yes" ; then
36082 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
36087 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36090 wxUSE_DRAG_AND_DROP
=no
36096 if test "$wxUSE_IPC" = "yes"; then
36097 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
36098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36099 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36103 if test "$wxUSE_IPC" = "yes"; then
36104 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
36110 if test "$wxUSE_DATAOBJ" = "yes"; then
36111 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36115 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36117 wxUSE_DRAG_AND_DROP
=no
36120 if test "$wxUSE_CLIPBOARD" = "yes"; then
36121 if test "$wxUSE_DFB" = 1; then
36122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36123 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36127 if test "$wxUSE_CLIPBOARD" = "yes"; then
36128 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36133 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36134 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36136 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36137 wxUSE_DRAG_AND_DROP
=no
36140 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36141 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36147 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36151 if test "$wxUSE_CLIPBOARD" = "yes"; then
36152 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
36155 if test "$wxUSE_SPLINES" = "yes" ; then
36156 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36160 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36161 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36165 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36166 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
36171 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36172 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36178 if test "$wxUSE_CONTROLS" = "yes"; then
36182 if test "$wxUSE_MARKUP" = "yes"; then
36183 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36187 if test "$wxUSE_ACCEL" = "yes"; then
36188 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36193 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36194 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
36200 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36201 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36205 if test "$wxUSE_BUTTON" = "yes"; then
36206 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36211 if test "$wxUSE_BMPBUTTON" = "yes"; then
36212 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36217 if test "$wxUSE_CALCTRL" = "yes"; then
36218 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36224 if test "$wxUSE_CARET" = "yes"; then
36225 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36231 if test "$wxUSE_COLLPANE" = "yes"; then
36232 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
36238 if test "$wxUSE_COMBOBOX" = "yes"; then
36239 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36244 if test "$wxUSE_COMBOCTRL" = "yes"; then
36245 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36250 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36251 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36256 if test "$wxUSE_CHOICE" = "yes"; then
36257 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36262 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36263 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36268 if test "$wxUSE_CHECKBOX" = "yes"; then
36269 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36274 if test "$wxUSE_CHECKLST" = "yes"; then
36275 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36280 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36281 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36286 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36287 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36292 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36293 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36298 if test "$wxUSE_FILECTRL" = "yes"; then
36299 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36304 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36305 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36310 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36311 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36316 if test "$wxUSE_DISPLAY" = "yes"; then
36317 if test "$wxUSE_DFB" = 1; then
36318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36319 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36322 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36328 if test "$wxUSE_DETECT_SM" = "yes"; then
36329 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36333 if test "$wxUSE_GAUGE" = "yes"; then
36334 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36339 if test "$wxUSE_GRID" = "yes"; then
36340 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36343 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36346 if test "$wxUSE_HEADERCTRL" = "yes"; then
36347 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36352 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36353 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36358 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36359 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36364 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36365 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36368 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
36371 if test "$wxUSE_IMAGLIST" = "yes"; then
36372 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36376 if test "$wxUSE_INFOBAR" = "yes"; then
36377 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36381 if test "$wxUSE_LISTBOOK" = "yes"; then
36382 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36387 if test "$wxUSE_LISTBOX" = "yes"; then
36388 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36393 if test "$wxUSE_LISTCTRL" = "yes"; then
36394 if test "$wxUSE_IMAGLIST" = "yes"; then
36395 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36401 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36405 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36406 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36411 if test "$wxUSE_NOTEBOOK" = "yes"; then
36412 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36418 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36419 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36423 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36424 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
36430 if test "$wxUSE_RADIOBOX" = "yes"; then
36431 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36436 if test "$wxUSE_RADIOBTN" = "yes"; then
36437 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36442 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36443 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36447 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36448 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36452 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36453 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36457 if test "$wxUSE_SASH" = "yes"; then
36458 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36463 if test "$wxUSE_SCROLLBAR" = "yes"; then
36464 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
36470 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36471 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36476 if test "$wxUSE_SLIDER" = "yes"; then
36477 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36482 if test "$wxUSE_SPINBTN" = "yes"; then
36483 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36488 if test "$wxUSE_SPINCTRL" = "yes"; then
36489 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36494 if test "$wxUSE_SPLITTER" = "yes"; then
36495 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36500 if test "$wxUSE_STATBMP" = "yes"; then
36501 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36506 if test "$wxUSE_STATBOX" = "yes"; then
36507 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36512 if test "$wxUSE_STATTEXT" = "yes"; then
36513 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36518 if test "$wxUSE_STATLINE" = "yes"; then
36519 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36524 if test "$wxUSE_STATUSBAR" = "yes"; then
36525 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36527 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36534 if test "$wxUSE_TEXTCTRL" = "yes"; then
36535 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36540 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36542 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36546 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36547 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36552 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36553 if test "$wxUSE_OLD_COCOA" = 1 ; then
36554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36555 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36559 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36560 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36566 if test "$wxUSE_TOOLBAR" = "yes"; then
36567 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36571 if test "$wxUSE_UNIVERSAL" = "yes"; then
36572 wxUSE_TOOLBAR_NATIVE
="no"
36574 wxUSE_TOOLBAR_NATIVE
="yes"
36575 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36582 if test "$wxUSE_TOOLTIPS" = "yes"; then
36583 if test "$wxUSE_MOTIF" = 1; then
36584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36585 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36587 if test "$wxUSE_UNIVERSAL" = "yes"; then
36588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36589 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36591 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36597 if test "$wxUSE_TREEBOOK" = "yes"; then
36598 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36603 if test "$wxUSE_TOOLBOOK" = "yes"; then
36604 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36609 if test "$wxUSE_TREECTRL" = "yes"; then
36610 if test "$wxUSE_IMAGLIST" = "yes"; then
36611 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36617 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36621 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36622 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
36628 if test "$wxUSE_POPUPWIN" = "yes"; then
36629 if test "$wxUSE_OLD_COCOA" = 1 ; then
36630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36631 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36633 if test "$wxUSE_PM" = 1; then
36634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36635 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36637 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36639 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
36646 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36647 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36649 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36651 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
36657 if test "$wxUSE_TIPWINDOW" = "yes"; then
36658 if test "$wxUSE_PM" = 1; then
36659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36660 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36662 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36667 if test "$USES_CONTROLS" = 1; then
36668 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36673 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36674 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36679 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36680 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36684 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36685 if test "$wxUSE_GTK" != 1; then
36686 if test "$wxUSE_LIBPNG" != no
-a \
36687 "$wxUSE_IMAGE" = yes -a \
36688 "$wxUSE_STREAMS" = yes; then
36689 wxUSE_ARTPROVIDER_TANGO
="yes"
36694 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36695 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36699 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36700 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36705 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36706 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36708 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36710 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36717 if test "$wxUSE_HTML" = "yes"; then
36718 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36723 if test "$wxUSE_WEBKIT" = "yes"; then
36724 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36725 old_CPPFLAGS
="$CPPFLAGS"
36726 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36727 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36728 #include <Carbon/Carbon.h>
36729 #include <WebKit/WebKit.h>
36732 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36734 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36736 WEBKIT_LINK
="-framework WebKit"
36740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36741 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36747 CPPFLAGS
="$old_CPPFLAGS"
36748 elif test "$wxUSE_OLD_COCOA" = 1; then
36749 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36754 if test "$wxUSE_WEBKIT" = "yes"; then
36755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36760 if test "$wxUSE_XRC" = "yes"; then
36761 if test "$wxUSE_XML" != "yes"; then
36762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36763 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36766 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36774 if test "$wxUSE_AUI" = "yes"; then
36775 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36782 if test "$wxUSE_PROPGRID" = "yes"; then
36783 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36790 if test "$wxUSE_RIBBON" = "yes"; then
36791 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36798 if test "$wxUSE_STC" = "yes"; then
36799 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36804 # Extract the first word of "python", so it can be a program name with args.
36805 set dummy python
; ac_word
=$2
36806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36807 $as_echo_n "checking for $ac_word... " >&6; }
36808 if ${ac_cv_path_PYTHON+:} false
; then :
36809 $as_echo_n "(cached) " >&6
36813 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36817 for as_dir
in $PATH
36820 test -z "$as_dir" && as_dir
=.
36821 for ac_exec_ext
in '' $ac_executable_extensions; do
36822 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
36823 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36834 PYTHON
=$ac_cv_path_PYTHON
36835 if test -n "$PYTHON"; then
36836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36837 $as_echo "$PYTHON" >&6; }
36839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36840 $as_echo "no" >&6; }
36844 if test "x$PYTHON" = "x"; then
36850 if test "$wxUSE_MENUS" = "yes"; then
36851 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36856 if test "$wxUSE_MIMETYPE" = "yes"; then
36857 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36861 if test "$wxUSE_MINIFRAME" = "yes"; then
36862 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36866 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36867 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36871 if test "$wxUSE_TASKBARICON" = "yes"; then
36872 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36874 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36880 if test "$wxUSE_VALIDATORS" = "yes"; then
36881 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36886 if test "$wxUSE_PALETTE" = "yes" ; then
36887 if test "$wxUSE_DFB" = 1; then
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36889 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36892 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36897 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36898 LIBS
=" -lunicows $LIBS"
36902 if test "$wxUSE_RICHTEXT" = "yes"; then
36903 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36909 if test "$wxUSE_WEBVIEW" = "yes"; then
36910 USE_WEBVIEW_WEBKIT
=0
36911 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36912 if test "$wxUSE_GTK" = 1; then
36913 webkitgtk
=webkit
-1.0
36914 if test "$WXGTK3" = 1; then
36915 webkitgtk
=webkitgtk
-3.0
36919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36920 $as_echo_n "checking for WEBKIT... " >&6; }
36922 if test -n "$PKG_CONFIG"; then
36923 if test -n "$WEBKIT_CFLAGS"; then
36924 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36926 if test -n "$PKG_CONFIG" && \
36927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36928 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36931 test $ac_status = 0; }; then
36932 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36940 if test -n "$PKG_CONFIG"; then
36941 if test -n "$WEBKIT_LIBS"; then
36942 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36944 if test -n "$PKG_CONFIG" && \
36945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36946 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36949 test $ac_status = 0; }; then
36950 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36961 if test $pkg_failed = yes; then
36963 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36964 _pkg_short_errors_supported
=yes
36966 _pkg_short_errors_supported
=no
36968 if test $_pkg_short_errors_supported = yes; then
36969 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36971 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36973 # Put the nasty error message in config.log where it belongs
36974 echo "$WEBKIT_PKG_ERRORS" >&5
36977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36978 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36980 elif test $pkg_failed = untried
; then
36982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36983 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36986 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36987 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36989 $as_echo "yes" >&6; }
36991 USE_WEBVIEW_WEBKIT
=1
36992 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36993 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36996 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36997 old_CPPFLAGS
="$CPPFLAGS"
36998 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36999 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
37000 #include <Carbon/Carbon.h>
37001 #include <WebKit/WebKit.h>
37004 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
37006 USE_WEBVIEW_WEBKIT
=1
37007 WEBKIT_LINK
="-framework WebKit"
37011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
37012 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
37017 CPPFLAGS
="$old_CPPFLAGS"
37022 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
37023 if test "$USE_WEBVIEW_WEBKIT" = 1; then
37024 wxUSE_WEBVIEW
="yes"
37025 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
37029 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
37031 elif test "$wxUSE_MSW" = 1; then
37032 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
37033 wxUSE_WEBVIEW
="yes"
37034 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
37040 if test "$wxUSE_WEBVIEW" = "yes"; then
37042 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
37044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
37050 if test "$wxUSE_IMAGE" = "yes" ; then
37051 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
37054 if test "$wxUSE_GIF" = "yes" ; then
37055 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
37059 if test "$wxUSE_PCX" = "yes" ; then
37060 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
37064 if test "$wxUSE_TGA" = "yes" ; then
37065 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
37069 if test "$wxUSE_IFF" = "yes" ; then
37070 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
37074 if test "$wxUSE_PNM" = "yes" ; then
37075 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
37079 if test "$wxUSE_XPM" = "yes" ; then
37080 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
37084 if test "$wxUSE_ICO_CUR" = "yes" ; then
37085 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
37091 if test "$wxUSE_ABOUTDLG" = "yes"; then
37092 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
37096 if test "$wxUSE_CHOICEDLG" = "yes"; then
37097 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
37101 if test "$wxUSE_COLOURDLG" = "yes"; then
37102 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37106 if test "$wxUSE_FILEDLG" = "yes"; then
37107 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37111 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37112 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37116 if test "$wxUSE_FONTDLG" = "yes"; then
37117 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37121 if test "$wxUSE_DIRDLG" = "yes"; then
37122 if test "$wxUSE_TREECTRL" != "yes"; then
37123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37124 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37126 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37131 if test "$wxUSE_MSGDLG" = "yes"; then
37132 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37136 if test "$wxUSE_NUMBERDLG" = "yes"; then
37137 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37141 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37142 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37146 if test "$wxUSE_SPLASH" = "yes"; then
37147 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37152 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37153 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37157 if test "$wxUSE_TEXTDLG" = "yes"; then
37158 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37162 if test "$wxUSE_WIZARDDLG" = "yes"; then
37163 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37169 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37170 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37171 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37177 if test "$wxUSE_MSW" = 1 ; then
37179 if test "$wxUSE_DC_CACHEING" = "yes"; then
37180 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37184 if test "$wxUSE_DIB" = "yes"; then
37185 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37189 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37190 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37194 if test "$wxUSE_UXTHEME" = "yes"; then
37195 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37201 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37202 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37206 if test "$USE_WIN32" = 1 ; then
37207 if test "$wxUSE_INICONF" = "yes"; then
37208 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37212 if test "$wxUSE_REGKEY" = "yes"; then
37213 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37219 if test "$wxUSE_MAC" = 1; then
37220 wxUSE_GRAPHICS_CONTEXT
="yes"
37223 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37225 if test "$wxUSE_MSW" = 1; then
37226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37227 $as_echo_n "checking if GDI+ is available... " >&6; }
37228 if ${wx_cv_lib_gdiplus+:} false
; then :
37229 $as_echo_n "(cached) " >&6
37233 ac_cpp
='$CXXCPP $CPPFLAGS'
37234 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37239 /* end confdefs.h. */
37240 #include <windows.h>
37241 #include <gdiplus.h>
37246 using namespace Gdiplus;
37252 if ac_fn_cxx_try_compile
"$LINENO"; then :
37253 wx_cv_lib_gdiplus
=yes
37255 wx_cv_lib_gdiplus
=no
37258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37260 ac_cpp
='$CPP $CPPFLAGS'
37261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37269 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37270 if test "$wx_cv_lib_gdiplus" = "yes"; then
37273 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37277 $as_echo_n "checking for CAIRO... " >&6; }
37279 if test -n "$PKG_CONFIG"; then
37280 if test -n "$CAIRO_CFLAGS"; then
37281 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
37283 if test -n "$PKG_CONFIG" && \
37284 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37285 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37288 test $ac_status = 0; }; then
37289 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37297 if test -n "$PKG_CONFIG"; then
37298 if test -n "$CAIRO_LIBS"; then
37299 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
37301 if test -n "$PKG_CONFIG" && \
37302 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37303 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37306 test $ac_status = 0; }; then
37307 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37318 if test $pkg_failed = yes; then
37320 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37321 _pkg_short_errors_supported
=yes
37323 _pkg_short_errors_supported
=no
37325 if test $_pkg_short_errors_supported = yes; then
37326 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37328 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37330 # Put the nasty error message in config.log where it belongs
37331 echo "$CAIRO_PKG_ERRORS" >&5
37333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37334 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37336 elif test $pkg_failed = untried
; then
37337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37338 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37341 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
37342 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
37343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37344 $as_echo "yes" >&6; }
37347 if test "$wx_has_graphics" = 1; then
37349 LIBS
="$LIBS $CAIRO_LIBS"
37350 for ac_func
in cairo_push_group
37352 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37353 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
37354 cat >>confdefs.h
<<_ACEOF
37355 #define HAVE_CAIRO_PUSH_GROUP 1
37362 if test "$ac_cv_func_cairo_push_group" = "no"; then
37364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37365 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37367 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37370 if test "$wxUSE_GTK" != 1; then
37371 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
37372 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
37380 if test "$wx_has_graphics" = 1; then
37381 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37385 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37392 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37395 if test "$wxUSE_GTK" = 1; then
37396 wxUSE_GSTREAMER
="no"
37398 GST_VERSION_MAJOR
=0
37399 GST_VERSION_MINOR
=10
37400 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37402 if test "$wxUSE_GSTREAMER8" = "no"; then
37405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37406 $as_echo_n "checking for GST... " >&6; }
37408 if test -n "$PKG_CONFIG"; then
37409 if test -n "$GST_CFLAGS"; then
37410 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37412 if test -n "$PKG_CONFIG" && \
37413 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37414 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37417 test $ac_status = 0; }; then
37418 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37426 if test -n "$PKG_CONFIG"; then
37427 if test -n "$GST_LIBS"; then
37428 pkg_cv_GST_LIBS
="$GST_LIBS"
37430 if test -n "$PKG_CONFIG" && \
37431 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37432 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37435 test $ac_status = 0; }; then
37436 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37447 if test $pkg_failed = yes; then
37449 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37450 _pkg_short_errors_supported
=yes
37452 _pkg_short_errors_supported
=no
37454 if test $_pkg_short_errors_supported = yes; then
37455 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37457 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37459 # Put the nasty error message in config.log where it belongs
37460 echo "$GST_PKG_ERRORS" >&5
37463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37464 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37465 GST_VERSION_MINOR
=8
37468 elif test $pkg_failed = untried
; then
37470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37471 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37472 GST_VERSION_MINOR
=8
37476 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37477 GST_LIBS
=$pkg_cv_GST_LIBS
37478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37479 $as_echo "yes" >&6; }
37481 wxUSE_GSTREAMER
="yes"
37482 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37486 GST_VERSION_MINOR
=8
37489 if test $GST_VERSION_MINOR = "8"; then
37490 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37494 $as_echo_n "checking for GST... " >&6; }
37496 if test -n "$PKG_CONFIG"; then
37497 if test -n "$GST_CFLAGS"; then
37498 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37500 if test -n "$PKG_CONFIG" && \
37501 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37502 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37505 test $ac_status = 0; }; then
37506 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37514 if test -n "$PKG_CONFIG"; then
37515 if test -n "$GST_LIBS"; then
37516 pkg_cv_GST_LIBS
="$GST_LIBS"
37518 if test -n "$PKG_CONFIG" && \
37519 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37520 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37523 test $ac_status = 0; }; then
37524 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37535 if test $pkg_failed = yes; then
37537 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37538 _pkg_short_errors_supported
=yes
37540 _pkg_short_errors_supported
=no
37542 if test $_pkg_short_errors_supported = yes; then
37543 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37545 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37547 # Put the nasty error message in config.log where it belongs
37548 echo "$GST_PKG_ERRORS" >&5
37551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37552 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37554 elif test $pkg_failed = untried
; then
37556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37557 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37560 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37561 GST_LIBS
=$pkg_cv_GST_LIBS
37562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37563 $as_echo "yes" >&6; }
37564 wxUSE_GSTREAMER
="yes"
37569 if test "$wxUSE_GSTREAMER" = "yes"; then
37570 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
37571 EXTRALIBS_MEDIA
="$GST_LIBS"
37573 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37579 elif test "$wxUSE_MAC" = 1; then
37580 GST_LIBS
="-framework QTKit"
37583 if test $USE_MEDIA = 1; then
37584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
37585 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37588 if test "$wxUSE_MEDIACTRL" = "yes"; then
37589 as_fn_error $?
"GStreamer not available" "$LINENO" 5
37591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37592 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37598 if test "$cross_compiling" != "no"; then
37601 OSINFO
=`uname -s -r -m`
37602 OSINFO
="\"$OSINFO\""
37605 cat >>confdefs.h
<<_ACEOF
37606 #define WXWIN_OS_DESCRIPTION $OSINFO
37611 if test "x$prefix" != "xNONE"; then
37614 wxPREFIX
=$ac_default_prefix
37617 cat >>confdefs.h
<<_ACEOF
37618 #define wxINSTALL_PREFIX "$wxPREFIX"
37624 STD_BASE_LIBS
="base"
37626 BUILT_WX_LIBS
="base"
37627 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
37629 if test "$wxUSE_SOCKETS" = "yes" ; then
37630 STD_BASE_LIBS
="net $STD_BASE_LIBS"
37631 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
37633 if test "$wxUSE_XML" = "yes" ; then
37634 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
37635 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
37638 if test "$wxUSE_GUI" = "yes"; then
37639 STD_GUI_LIBS
="adv core"
37640 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
37642 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37643 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
37644 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
37646 if test "$wxUSE_HTML" = "yes" ; then
37647 STD_GUI_LIBS
="html $STD_GUI_LIBS"
37648 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
37650 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37651 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
37653 if test "$wxUSE_OPENGL" = "yes" ; then
37654 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
37656 if test "$wxUSE_AUI" = "yes" ; then
37657 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
37659 if test "$wxUSE_PROPGRID" = "yes" ; then
37660 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
37662 if test "$wxUSE_RIBBON" = "yes" ; then
37663 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
37665 if test "$wxUSE_RICHTEXT" = "yes" ; then
37666 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
37668 if test "$wxUSE_STC" = "yes" ; then
37669 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
37671 if test "$wxUSE_WEBVIEW" = "yes" ; then
37672 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
37673 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
37675 if test "$wxUSE_XRC" = "yes" ; then
37676 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
37677 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
37688 if test "$wxUSE_MAC" = 1 ; then
37689 if test "$USE_DARWIN" = 1; then
37690 if test "$wxUSE_OSX_IPHONE" = 1; then
37691 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37693 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37696 if test "$cross_compiling" != "no"; then
37697 wx_cv_target_x86_64
=no
37699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37700 $as_echo_n "checking if we target only x86_64... " >&6; }
37701 if ${wx_cv_target_x86_64+:} false
; then :
37702 $as_echo_n "(cached) " >&6
37704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37705 /* end confdefs.h. */
37706 int main() { return 0; }
37708 if ac_fn_c_try_link
"$LINENO"; then :
37709 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37710 wx_cv_target_x86_64
=no
37712 wx_cv_target_x86_64
=yes
37716 rm -f core conftest.err conftest.
$ac_objext \
37717 conftest
$ac_exeext conftest.
$ac_ext
37720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37721 $as_echo "$wx_cv_target_x86_64" >&6; }
37724 if test "$wx_cv_target_x86_64" != "yes"; then
37725 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37730 if test "$wxUSE_OLD_COCOA" = 1 ; then
37731 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37732 if test "$wxUSE_MEDIACTRL" = "yes"; then
37733 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37736 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37737 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37740 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37741 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37743 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37745 if test "$wxUSE_GUI" = "yes"; then
37748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37749 erase event exec font image minimal preferences render \
37750 shaped svg taborder vscroll widgets wrapsizer"
37752 if test "$wxUSE_MONOLITHIC" != "yes"; then
37753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37755 if test "$TOOLKIT" = "MSW"; then
37756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37757 if test "$wxUSE_UNIVERSAL" != "yes"; then
37758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37761 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37765 SAMPLES_SUBDIRS
="console"
37766 if test "$wxUSE_SOCKETS" = "yes" ; then
37767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37769 if test "$wxUSE_IPC" = "yes" ; then
37770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37775 if test "x$INTELCC" = "xyes" ; then
37776 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37777 elif test "$GCC" = yes ; then
37778 CWARNINGS
="-Wall -Wundef"
37781 if test "x$INTELCXX" = "xyes" ; then
37782 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37783 elif test "$GXX" = yes ; then
37784 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37786 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37787 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37788 $as_echo_n "(cached) " >&6
37790 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37793 ac_cpp
='$CXXCPP $CPPFLAGS'
37794 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37795 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37796 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37798 ac_save_CXXFLAGS
="$CXXFLAGS"
37799 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37800 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37802 /* end confdefs.h. */
37812 if ac_fn_cxx_try_compile
"$LINENO"; then :
37813 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37817 CXXFLAGS
="$ac_save_CXXFLAGS"
37819 ac_cpp
='$CPP $CPPFLAGS'
37820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37827 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37828 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37832 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37833 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37834 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37837 test $ac_status = 0; }
37838 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37839 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37842 test $ac_status = 0; }
37843 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37849 if test "$wxUSE_MAC" = 1 ; then
37850 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37855 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37856 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37859 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37860 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37861 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37864 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37865 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37866 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37867 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37868 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37870 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37873 if test "x$MWCC" = "xyes"; then
37875 CC
="$CC -cwd source -I-"
37876 CXX
="$CXX -cwd source -I-"
37881 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37882 EXTRALIBS_XML
="$EXPAT_LINK"
37883 EXTRALIBS_HTML
="$MSPACK_LINK"
37884 EXTRALIBS_MEDIA
="$GST_LIBS"
37885 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37886 if test "$wxUSE_GUI" = "yes"; then
37887 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37889 if test "$wxUSE_OPENGL" = "yes"; then
37890 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37893 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37895 WXCONFIG_LIBS
="$LIBS"
37897 if test "$wxUSE_REGEX" = "builtin" ; then
37898 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37900 if test "$wxUSE_EXPAT" = "builtin" ; then
37901 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37903 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37904 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37906 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37907 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37909 if test "$wxUSE_LIBPNG" = "builtin" ; then
37910 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37912 if test "$wxUSE_ZLIB" = "builtin" ; then
37913 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37916 for i
in $wxconfig_3rdparty ; do
37917 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37921 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37924 case "$wxUNIV_THEMES" in
37926 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37931 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37932 cat >>confdefs.h
<<_ACEOF
37933 #define wxUSE_THEME_$t 1
37949 if test $wxUSE_MONOLITHIC = "yes" ; then
37955 if test $wxUSE_PLUGINS = "yes" ; then
37961 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37967 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37995 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
38008 TOOLKIT_DESC
="GTK+"
38009 if test "$WXGTK2" = 1; then
38010 if test "$WXGTK3" = 1; then
38011 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
38013 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
38015 if test "$wxUSE_GTKPRINT" = "yes" ; then
38016 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
38018 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38019 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
38021 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
38022 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
38024 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
38025 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA libnotify"
38027 if test "$wxUSE_LIBHILDON" = "yes"; then
38028 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
38030 if test "$wxUSE_LIBHILDON2" = "yes"; then
38031 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
38034 if test "$TOOLKIT_EXTRA" != ""; then
38035 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
38041 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
38045 TOOLKIT_DESC
="base only"
38049 if test "$wxUSE_WINE" = "yes"; then
38050 BAKEFILE_FORCE_PLATFORM
=win32
38053 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
38055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
38056 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
38057 if ${wx_cv_gcc_pch_bug+:} false
; then :
38058 $as_echo_n "(cached) " >&6
38061 echo '#include <stdio.h>
38062 const wchar_t test_var[] = L"awidetest";' > conftest.h
38064 echo '#include "conftest.h"
38067 printf("%ls", test_var);
38071 wx_cv_gcc_pch_bug
="pch not supported"
38073 if $CXX conftest.h
>/dev
/null
2>&1
38077 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
38079 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
38080 grep awidetest
>/dev
/null
38082 wx_cv_gcc_pch_bug
=no
38084 wx_cv_gcc_pch_bug
=yes
38089 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
38092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
38093 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
38095 if test "$wx_cv_gcc_pch_bug" = yes; then
38100 # Find a good install program. We prefer a C program (faster),
38101 # so one script is as good as another. But avoid the broken or
38102 # incompatible versions:
38103 # SysV /etc/install, /usr/sbin/install
38104 # SunOS /usr/etc/install
38105 # IRIX /sbin/install
38107 # AmigaOS /C/install, which installs bootblocks on floppy discs
38108 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38109 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38110 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38111 # OS/2's system install, which has a completely different semantic
38112 # ./install, which can be erroneously created by make from ./install.sh.
38113 # Reject install programs that cannot install multiple files.
38114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38115 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38116 if test -z "$INSTALL"; then
38117 if ${ac_cv_path_install+:} false
; then :
38118 $as_echo_n "(cached) " >&6
38120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38121 for as_dir
in $PATH
38124 test -z "$as_dir" && as_dir
=.
38125 # Account for people who put trailing slashes in PATH elements.
38126 case $as_dir/ in #((
38127 .
/ | .
// | /[cC
]/* | \
38128 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38129 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
38132 # OSF1 and SCO ODT 3.0 have their own names for install.
38133 # Don't use installbsd from OSF since it installs stuff as root
38135 for ac_prog
in ginstall scoinst
install; do
38136 for ac_exec_ext
in '' $ac_executable_extensions; do
38137 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
38138 if test $ac_prog = install &&
38139 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38140 # AIX install. It has an incompatible calling convention.
38142 elif test $ac_prog = install &&
38143 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38144 # program-specific install script used by HP pwplus--don't use.
38147 rm -rf conftest.one conftest.two conftest.dir
38148 echo one
> conftest.one
38149 echo two
> conftest.two
38151 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
38152 test -s conftest.one
&& test -s conftest.two
&&
38153 test -s conftest.dir
/conftest.one
&&
38154 test -s conftest.dir
/conftest.two
38156 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38169 rm -rf conftest.one conftest.two conftest.dir
38172 if test "${ac_cv_path_install+set}" = set; then
38173 INSTALL
=$ac_cv_path_install
38175 # As a last resort, use the slow shell script. Don't cache a
38176 # value for INSTALL within a source directory, because that will
38177 # break other packages using the cache if that directory is
38178 # removed, or if the value is a relative name.
38179 INSTALL
=$ac_install_sh
38182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38183 $as_echo "$INSTALL" >&6; }
38185 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38186 # It thinks the first close brace ends the variable substitution.
38187 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38189 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38191 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38199 if test "x$BAKEFILE_HOST" = "x"; then
38200 if test "x${host}" = "x" ; then
38201 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38204 BAKEFILE_HOST
="${host}"
38207 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38209 if test -n "$ac_tool_prefix"; then
38210 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38211 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38213 $as_echo_n "checking for $ac_word... " >&6; }
38214 if ${ac_cv_prog_RANLIB+:} false
; then :
38215 $as_echo_n "(cached) " >&6
38217 if test -n "$RANLIB"; then
38218 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38221 for as_dir
in $PATH
38224 test -z "$as_dir" && as_dir
=.
38225 for ac_exec_ext
in '' $ac_executable_extensions; do
38226 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38227 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38237 RANLIB
=$ac_cv_prog_RANLIB
38238 if test -n "$RANLIB"; then
38239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38240 $as_echo "$RANLIB" >&6; }
38242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38243 $as_echo "no" >&6; }
38248 if test -z "$ac_cv_prog_RANLIB"; then
38249 ac_ct_RANLIB
=$RANLIB
38250 # Extract the first word of "ranlib", so it can be a program name with args.
38251 set dummy ranlib
; ac_word
=$2
38252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38253 $as_echo_n "checking for $ac_word... " >&6; }
38254 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
38255 $as_echo_n "(cached) " >&6
38257 if test -n "$ac_ct_RANLIB"; then
38258 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38261 for as_dir
in $PATH
38264 test -z "$as_dir" && as_dir
=.
38265 for ac_exec_ext
in '' $ac_executable_extensions; do
38266 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38267 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38277 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38278 if test -n "$ac_ct_RANLIB"; then
38279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38280 $as_echo "$ac_ct_RANLIB" >&6; }
38282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38283 $as_echo "no" >&6; }
38286 if test "x$ac_ct_RANLIB" = x
; then
38289 case $cross_compiling:$ac_tool_warned in
38291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38293 ac_tool_warned
=yes ;;
38295 RANLIB
=$ac_ct_RANLIB
38298 RANLIB
="$ac_cv_prog_RANLIB"
38302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38303 $as_echo_n "checking whether ln -s works... " >&6; }
38305 if test "$LN_S" = "ln -s"; then
38306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38307 $as_echo "yes" >&6; }
38309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38310 $as_echo "no, using $LN_S" >&6; }
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38315 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38317 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38318 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
38319 $as_echo_n "(cached) " >&6
38321 cat >conftest.
make <<\_ACEOF
38324 @
echo '@@@%%%=$(MAKE)=@@@%%%'
38326 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38327 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38328 *@@@
%%%=?
*=@@@
%%%*)
38329 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
38331 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
38333 rm -f conftest.
make
38335 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
38336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38337 $as_echo "yes" >&6; }
38340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38341 $as_echo "no" >&6; }
38342 SET_MAKE
="MAKE=${MAKE-make}"
38347 if test "x$SUNCXX" = "xyes"; then
38349 AROPTIONS
="-xar -o"
38351 elif test "x$SGICC" = "xyes"; then
38356 if test -n "$ac_tool_prefix"; then
38357 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38358 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38360 $as_echo_n "checking for $ac_word... " >&6; }
38361 if ${ac_cv_prog_AR+:} false
; then :
38362 $as_echo_n "(cached) " >&6
38364 if test -n "$AR"; then
38365 ac_cv_prog_AR
="$AR" # Let the user override the test.
38367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38368 for as_dir
in $PATH
38371 test -z "$as_dir" && as_dir
=.
38372 for ac_exec_ext
in '' $ac_executable_extensions; do
38373 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38374 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38385 if test -n "$AR"; then
38386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38387 $as_echo "$AR" >&6; }
38389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38390 $as_echo "no" >&6; }
38395 if test -z "$ac_cv_prog_AR"; then
38397 # Extract the first word of "ar", so it can be a program name with args.
38398 set dummy
ar; ac_word
=$2
38399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38400 $as_echo_n "checking for $ac_word... " >&6; }
38401 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
38402 $as_echo_n "(cached) " >&6
38404 if test -n "$ac_ct_AR"; then
38405 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38408 for as_dir
in $PATH
38411 test -z "$as_dir" && as_dir
=.
38412 for ac_exec_ext
in '' $ac_executable_extensions; do
38413 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38414 ac_cv_prog_ac_ct_AR
="ar"
38415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38424 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38425 if test -n "$ac_ct_AR"; then
38426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38427 $as_echo "$ac_ct_AR" >&6; }
38429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38430 $as_echo "no" >&6; }
38433 if test "x$ac_ct_AR" = x
; then
38436 case $cross_compiling:$ac_tool_warned in
38438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38440 ac_tool_warned
=yes ;;
38445 AR
="$ac_cv_prog_AR"
38452 if test -n "$ac_tool_prefix"; then
38453 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38454 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38456 $as_echo_n "checking for $ac_word... " >&6; }
38457 if ${ac_cv_prog_STRIP+:} false
; then :
38458 $as_echo_n "(cached) " >&6
38460 if test -n "$STRIP"; then
38461 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38464 for as_dir
in $PATH
38467 test -z "$as_dir" && as_dir
=.
38468 for ac_exec_ext
in '' $ac_executable_extensions; do
38469 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38470 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38480 STRIP
=$ac_cv_prog_STRIP
38481 if test -n "$STRIP"; then
38482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38483 $as_echo "$STRIP" >&6; }
38485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38486 $as_echo "no" >&6; }
38491 if test -z "$ac_cv_prog_STRIP"; then
38493 # Extract the first word of "strip", so it can be a program name with args.
38494 set dummy strip
; ac_word
=$2
38495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38496 $as_echo_n "checking for $ac_word... " >&6; }
38497 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
38498 $as_echo_n "(cached) " >&6
38500 if test -n "$ac_ct_STRIP"; then
38501 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38504 for as_dir
in $PATH
38507 test -z "$as_dir" && as_dir
=.
38508 for ac_exec_ext
in '' $ac_executable_extensions; do
38509 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38510 ac_cv_prog_ac_ct_STRIP
="strip"
38511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38520 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38521 if test -n "$ac_ct_STRIP"; then
38522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38523 $as_echo "$ac_ct_STRIP" >&6; }
38525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38526 $as_echo "no" >&6; }
38529 if test "x$ac_ct_STRIP" = x
; then
38532 case $cross_compiling:$ac_tool_warned in
38534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38536 ac_tool_warned
=yes ;;
38541 STRIP
="$ac_cv_prog_STRIP"
38544 if test -n "$ac_tool_prefix"; then
38545 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38546 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38548 $as_echo_n "checking for $ac_word... " >&6; }
38549 if ${ac_cv_prog_NM+:} false
; then :
38550 $as_echo_n "(cached) " >&6
38552 if test -n "$NM"; then
38553 ac_cv_prog_NM
="$NM" # Let the user override the test.
38555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38556 for as_dir
in $PATH
38559 test -z "$as_dir" && as_dir
=.
38560 for ac_exec_ext
in '' $ac_executable_extensions; do
38561 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38562 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38573 if test -n "$NM"; then
38574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38575 $as_echo "$NM" >&6; }
38577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38578 $as_echo "no" >&6; }
38583 if test -z "$ac_cv_prog_NM"; then
38585 # Extract the first word of "nm", so it can be a program name with args.
38586 set dummy nm
; ac_word
=$2
38587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38588 $as_echo_n "checking for $ac_word... " >&6; }
38589 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
38590 $as_echo_n "(cached) " >&6
38592 if test -n "$ac_ct_NM"; then
38593 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38596 for as_dir
in $PATH
38599 test -z "$as_dir" && as_dir
=.
38600 for ac_exec_ext
in '' $ac_executable_extensions; do
38601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38602 ac_cv_prog_ac_ct_NM
="nm"
38603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38612 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38613 if test -n "$ac_ct_NM"; then
38614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38615 $as_echo "$ac_ct_NM" >&6; }
38617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38618 $as_echo "no" >&6; }
38621 if test "x$ac_ct_NM" = x
; then
38624 case $cross_compiling:$ac_tool_warned in
38626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38628 ac_tool_warned
=yes ;;
38633 NM
="$ac_cv_prog_NM"
38637 INSTALL_DIR
="mkdir -p"
38641 case ${BAKEFILE_HOST} in
38642 *-*-cygwin* | *-*-mingw32* )
38643 LDFLAGS_GUI
="-mwindows"
38649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38650 $as_echo_n "checking if make is GNU make... " >&6; }
38651 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
38652 $as_echo_n "(cached) " >&6
38655 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38656 egrep -s GNU
> /dev
/null
); then
38657 bakefile_cv_prog_makeisgnu
="yes"
38659 bakefile_cv_prog_makeisgnu
="no"
38663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38664 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38666 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38683 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38684 case "${BAKEFILE_HOST}" in
38691 *-pc-os2_emx | *-pc-os2-emx )
38701 powerpc
-apple-macos* )
38710 case "$BAKEFILE_FORCE_PLATFORM" in
38731 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38746 # Check whether --enable-omf was given.
38747 if test "${enable_omf+set}" = set; then :
38748 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38752 case "${BAKEFILE_HOST}" in
38754 if test "x$GCC" = "xyes"; then
38755 CFLAGS
="$CFLAGS -fno-common"
38756 CXXFLAGS
="$CXXFLAGS -fno-common"
38758 if test "x$XLCC" = "xyes"; then
38759 CFLAGS
="$CFLAGS -qnocommon"
38760 CXXFLAGS
="$CXXFLAGS -qnocommon"
38764 *-pc-os2_emx | *-pc-os2-emx )
38765 if test "x$bk_os2_use_omf" = "xyes" ; then
38768 LDFLAGS
="-Zomf $LDFLAGS"
38769 CFLAGS
="-Zomf $CFLAGS"
38770 CXXFLAGS
="-Zomf $CXXFLAGS"
38778 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38784 SO_SUFFIX_MODULE
="so"
38789 DLLPREFIX_MODULE
=""
38793 case "${BAKEFILE_HOST}" in
38798 SO_SUFFIX_MODULE
="sl"
38802 SO_SUFFIX_MODULE
="a"
38806 SO_SUFFIX_MODULE
="dll"
38807 DLLIMP_SUFFIX
="dll.a"
38814 SO_SUFFIX_MODULE
="dll"
38815 DLLIMP_SUFFIX
="dll.a"
38825 *-pc-os2_emx | *-pc-os2-emx )
38827 SO_SUFFIX_MODULE
="dll"
38828 DLLIMP_SUFFIX
=$OS2_LIBEXT
38832 LIBEXT
=".$OS2_LIBEXT"
38837 SO_SUFFIX_MODULE
="bundle"
38841 if test "x$DLLIMP_SUFFIX" = "x" ; then
38842 DLLIMP_SUFFIX
="$SO_SUFFIX"
38857 if test "x$GCC" = "xyes"; then
38861 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38862 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38865 case "${BAKEFILE_HOST}" in
38867 if test "x$GCC" != "xyes"; then
38868 LDFLAGS
="$LDFLAGS -L/usr/lib"
38870 SHARED_LD_CC
="${CC} -b -o"
38871 SHARED_LD_CXX
="${CXX} -b -o"
38877 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38879 elif test "x$SUNCXX" = "xyes"; then
38880 SHARED_LD_CC
="${CC} -G -o"
38881 SHARED_LD_CXX
="${CXX} -G -o"
38887 if test "x$SUNCXX" = xyes
; then
38888 SHARED_LD_CC
="${CC} -G -o"
38889 SHARED_LD_CXX
="${CXX} -G -o"
38897 cat <<EOF >shared-ld-sh
38899 #-----------------------------------------------------------------------------
38900 #-- Name: distrib/mac/shared-ld-sh
38901 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38902 #-- Author: Gilles Depeyrot
38903 #-- Copyright: (c) 2002 Gilles Depeyrot
38904 #-- Licence: any use permitted
38905 #-----------------------------------------------------------------------------
38910 linking_flag="-dynamiclib"
38911 ldargs="-r -keep_private_externs -nostdlib"
38913 if test "x${D}CXX" = "x"; then
38917 while test ${D}# -gt 0; do
38924 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38925 # collect these options and values
38926 args="${D}{args} ${D}1 ${D}2"
38931 # collect these options and values
38932 ldargs="${D}{ldargs} ${D}1 ${D}2"
38937 # collect these load args
38938 ldargs="${D}{ldargs} ${D}1"
38941 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38942 # collect these options
38943 args="${D}{args} ${D}1"
38946 -dynamiclib|-bundle)
38947 linking_flag="${D}1"
38951 echo "shared-ld: unhandled option '${D}1'"
38955 *.o | *.a | *.dylib)
38956 # collect object files
38957 objects="${D}{objects} ${D}1"
38961 echo "shared-ld: unhandled argument '${D}1'"
38972 # Link one module containing all the others
38974 if test ${D}{verbose} = 1; then
38975 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38977 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38981 # Link the shared library from the single module created, but only if the
38982 # previous command didn't fail:
38984 if test ${D}{status} = 0; then
38985 if test ${D}{verbose} = 1; then
38986 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38988 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38993 # Remove intermediate module
38995 rm -f master.${D}${D}.o
39000 chmod +x shared
-ld-sh
39002 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39003 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
39006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
39007 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
39008 if ${bakefile_cv_gcc31+:} false
; then :
39009 $as_echo_n "(cached) " >&6
39012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39013 /* end confdefs.h. */
39019 #if (__GNUC__ < 3) || \
39020 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39028 if ac_fn_c_try_compile
"$LINENO"; then :
39030 bakefile_cv_gcc31
=yes
39034 bakefile_cv_gcc31
=no
39038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
39042 $as_echo "$bakefile_cv_gcc31" >&6; }
39043 if test "$bakefile_cv_gcc31" = "no"; then
39044 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39045 SHARED_LD_CXX
="$SHARED_LD_CC"
39047 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39048 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39051 if test "x$GCC" == "xyes"; then
39052 PIC_FLAG
="-dynamic -fPIC"
39054 if test "x$XLCC" = "xyes"; then
39055 PIC_FLAG
="-dynamic -DPIC"
39060 if test "x$GCC" = "xyes"; then
39063 case "${BAKEFILE_HOST}" in
39065 LD_EXPFULL
="-Wl,-bexpfull"
39069 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
39070 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
39072 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39073 set dummy makeC
++SharedLib
; ac_word
=$2
39074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39075 $as_echo_n "checking for $ac_word... " >&6; }
39076 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
39077 $as_echo_n "(cached) " >&6
39079 if test -n "$AIX_CXX_LD"; then
39080 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39083 for as_dir
in $PATH
39086 test -z "$as_dir" && as_dir
=.
39087 for ac_exec_ext
in '' $ac_executable_extensions; do
39088 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39089 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39097 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39100 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39101 if test -n "$AIX_CXX_LD"; then
39102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39103 $as_echo "$AIX_CXX_LD" >&6; }
39105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39106 $as_echo "no" >&6; }
39110 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39111 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39116 SHARED_LD_CC
="${LD} -nostart -o"
39117 SHARED_LD_CXX
="${LD} -nostart -o"
39121 if test "x$GCC" != "xyes"; then
39126 *-*-cygwin* | *-*-mingw32* )
39128 SHARED_LD_CC
="\$(CC) -shared -o"
39129 SHARED_LD_CXX
="\$(CXX) -shared -o"
39133 *-pc-os2_emx | *-pc-os2-emx )
39134 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39135 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39139 cat <<EOF >dllar.sh
39142 # dllar - a tool to build both a .dll and an .a file
39143 # from a set of object (.o) files for EMX/OS2.
39145 # Written by Andrew Zabolotny, bit@freya.etu.ru
39146 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39148 # This script will accept a set of files on the command line.
39149 # All the public symbols from the .o files will be exported into
39150 # a .DEF file, then linker will be run (through gcc) against them to
39151 # build a shared library consisting of all given .o files. All libraries
39152 # (.a) will be first decompressed into component .o files then act as
39153 # described above. You can optionally give a description (-d "description")
39154 # which will be put into .DLL. To see the list of accepted options (as well
39155 # as command-line format) simply run this program without options. The .DLL
39156 # is built to be imported by name (there is no guarantee that new versions
39157 # of the library you build will have same ordinals for same symbols).
39159 # dllar is free software; you can redistribute it and/or modify
39160 # it under the terms of the GNU General Public License as published by
39161 # the Free Software Foundation; either version 2, or (at your option)
39162 # any later version.
39164 # dllar is distributed in the hope that it will be useful,
39165 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39166 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39167 # GNU General Public License for more details.
39169 # You should have received a copy of the GNU General Public License
39170 # along with dllar; see the file COPYING. If not, write to the Free
39171 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39174 # To successfuly run this program you will need:
39175 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39176 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39178 # (used to build the .dll)
39180 # (used to create .def file from .o files)
39182 # (used to create .a file from .def file)
39183 # - GNU text utilites (cat, sort, uniq)
39184 # used to process emxexp output
39185 # - GNU file utilities (mv, rm)
39187 # - lxlite (optional, see flag below)
39188 # (used for general .dll cleanup)
39195 # basnam, variant of basename, which does _not_ remove the path, _iff_
39196 # second argument (suffix to remove) is given
39200 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39203 echo ${D}1 | sed 's/'${D}2'${D}//'
39206 echo "error in basnam ${D}*"
39212 # Cleanup temporary files and output
39215 for i in ${D}inputFiles ; do
39218 rm -rf \`basnam ${D}i !\`
39225 # Kill result in case of failure as there is just to many stupid make/nmake
39226 # things out there which doesn't do this.
39227 if [ ${D}# -eq 0 ]; then
39228 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39232 # Print usage and exit script with rc=1.
39234 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39235 echo ' [-name-mangler-script script.sh]'
39236 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39237 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39238 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39239 echo ' [*.o] [*.a]'
39240 echo '*> "output_file" should have no extension.'
39241 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39242 echo ' The import library name is derived from this and is set to "name".a,'
39243 echo ' unless overridden by -import'
39244 echo '*> "importlib_name" should have no extension.'
39245 echo ' If it has the .o, or .a extension, it is automatically removed.'
39246 echo ' This name is used as the import library name and may be longer and'
39247 echo ' more descriptive than the DLL name which has to follow the old '
39248 echo ' 8.3 convention of FAT.'
39249 echo '*> "script.sh may be given to override the output_file name by a'
39250 echo ' different name. It is mainly useful if the regular make process'
39251 echo ' of some package does not take into account OS/2 restriction of'
39252 echo ' DLL name lengths. It takes the importlib name as input and is'
39253 echo ' supposed to procude a shorter name as output. The script should'
39254 echo ' expect to get importlib_name without extension and should produce'
39255 echo ' a (max.) 8 letter name without extension.'
39256 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39257 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39258 echo ' These flags will be put at the start of GCC command line.'
39259 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39260 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39261 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39262 echo ' If the last character of a symbol is "*", all symbols beginning'
39263 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39264 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39265 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39266 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39267 echo ' C runtime DLLs.'
39268 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39269 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39270 echo ' unchanged to GCC at the end of command line.'
39271 echo '*> If you create a DLL from a library and you do not specify -o,'
39272 echo ' the basename for DLL and import library will be set to library name,'
39273 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39274 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39275 echo ' library will be renamed into gcc_s.a.'
39278 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39279 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39284 # Execute a command.
39285 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39286 # @Uses Whatever CleanUp() uses.
39292 if [ ${D}rcCmd -ne 0 ]; then
39293 echo "command failed, exit code="${D}rcCmd
39308 CFLAGS="-s -Zcrtdll"
39310 EXPORT_BY_ORDINALS=0
39315 case ${D}curDirS in
39319 curDirS=${D}{curDirS}"/"
39322 # Parse commandline
39325 while [ ${D}1 ]; do
39328 EXPORT_BY_ORDINALS=1;
39338 -name-mangler-script)
39359 exclude_symbols=${D}{exclude_symbols}${D}1" "
39363 library_flags=${D}{library_flags}${D}1" "
39382 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39385 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39386 if [ ${D}omfLinking -eq 1 ]; then
39387 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39389 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39394 if [ ${D}libsToLink -ne 0 ]; then
39395 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39397 for file in ${D}1 ; do
39398 if [ -f ${D}file ]; then
39399 inputFiles="${D}{inputFiles} ${D}file"
39403 if [ ${D}found -eq 0 ]; then
39404 echo "ERROR: No file(s) found: "${D}1
39411 done # iterate cmdline words
39414 if [ -z "${D}inputFiles" ]; then
39415 echo "dllar: no input files"
39419 # Now extract all .o files from .a files
39421 for file in ${D}inputFiles ; do
39432 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39437 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39439 if [ ${D}? -ne 0 ]; then
39440 echo "Failed to create subdirectory ./${D}dirname"
39444 # Append '!' to indicate archive
39445 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39446 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39449 for subfile in ${D}dirname/*.o* ; do
39450 if [ -f ${D}subfile ]; then
39452 if [ -s ${D}subfile ]; then
39453 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39454 newInputFiles="${D}newInputFiles ${D}subfile"
39458 if [ ${D}found -eq 0 ]; then
39459 echo "WARNING: there are no files in archive \\'${D}file\\'"
39463 newInputFiles="${D}{newInputFiles} ${D}file"
39467 inputFiles="${D}newInputFiles"
39469 # Output filename(s).
39471 if [ -z ${D}outFile ]; then
39473 set outFile ${D}inputFiles; outFile=${D}2
39476 # If it is an archive, remove the '!' and the '_%' suffixes
39477 case ${D}outFile in
39479 outFile=\`basnam ${D}outFile _%!\`
39484 case ${D}outFile in
39486 outFile=\`basnam ${D}outFile .dll\`
39489 outFile=\`basnam ${D}outFile .DLL\`
39492 outFile=\`basnam ${D}outFile .o\`
39495 outFile=\`basnam ${D}outFile .obj\`
39498 outFile=\`basnam ${D}outFile .a\`
39501 outFile=\`basnam ${D}outFile .lib\`
39506 case ${D}outimpFile in
39508 outimpFile=\`basnam ${D}outimpFile .a\`
39511 outimpFile=\`basnam ${D}outimpFile .lib\`
39516 if [ -z ${D}outimpFile ]; then
39517 outimpFile=${D}outFile
39519 defFile="${D}{outFile}.def"
39520 arcFile="${D}{outimpFile}.a"
39521 arcFile2="${D}{outimpFile}.lib"
39523 #create ${D}dllFile as something matching 8.3 restrictions,
39524 if [ -z ${D}renameScript ] ; then
39525 dllFile="${D}outFile"
39527 dllFile=\`${D}renameScript ${D}outimpFile\`
39530 if [ ${D}do_backup -ne 0 ] ; then
39531 if [ -f ${D}arcFile ] ; then
39532 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39534 if [ -f ${D}arcFile2 ] ; then
39535 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39539 # Extract public symbols from all the object files.
39540 tmpdefFile=${D}{defFile}_%
39541 rm -f ${D}tmpdefFile
39542 for file in ${D}inputFiles ; do
39547 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39552 # Create the def file.
39554 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39555 dllFile="${D}{dllFile}.dll"
39556 if [ ! -z ${D}description ]; then
39557 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39559 echo "EXPORTS" >> ${D}defFile
39561 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39562 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39564 # Checks if the export is ok or not.
39565 for word in ${D}exclude_symbols; do
39566 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39567 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39571 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39572 sed "=" < ${D}tmpdefFile | \\
39576 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39578 ' > ${D}{tmpdefFile}%
39579 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39581 rm -f ${D}{tmpdefFile}%
39583 cat ${D}tmpdefFile >> ${D}defFile
39584 rm -f ${D}tmpdefFile
39586 # Do linking, create implib, and apply lxlite.
39588 for file in ${D}inputFiles ; do
39593 gccCmdl="${D}gccCmdl ${D}file"
39597 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39598 touch "${D}{outFile}.dll"
39600 doCommand "emximp -o ${D}arcFile ${D}defFile"
39601 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39603 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39606 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39608 doCommand "emxomf -s -l ${D}arcFile"
39618 powerpc
-apple-macos* | \
39619 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
39629 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
39632 if test "x$PIC_FLAG" != "x" ; then
39633 PIC_FLAG
="$PIC_FLAG -DPIC"
39636 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39637 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39639 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39640 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39655 USE_SOTWOSYMLINKS
=0
39659 case "${BAKEFILE_HOST}" in
39660 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39661 *-*-k*bsd
*-gnu | *-*-mirbsd* )
39662 if test "x$SUNCXX" = "xyes"; then
39665 SONAME_FLAG
="-Wl,-soname,"
39669 USE_SOTWOSYMLINKS
=1
39681 USE_SOTWOSYMLINKS
=1
39699 # Check whether --enable-dependency-tracking was given.
39700 if test "${enable_dependency_tracking+set}" = set; then :
39701 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39706 $as_echo_n "checking for dependency tracking method... " >&6; }
39709 if test "x$bk_use_trackdeps" = "xno" ; then
39711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39712 $as_echo "disabled" >&6; }
39716 if test "x$GCC" = "xyes"; then
39719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39720 $as_echo "gcc" >&6; }
39721 elif test "x$MWCC" = "xyes"; then
39724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39725 $as_echo "mwcc" >&6; }
39726 elif test "x$SUNCC" = "xyes"; then
39729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39730 $as_echo "Sun cc" >&6; }
39731 elif test "x$SGICC" = "xyes"; then
39734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39735 $as_echo "SGI cc" >&6; }
39736 elif test "x$HPCC" = "xyes"; then
39739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39740 $as_echo "HP cc" >&6; }
39741 elif test "x$COMPAQCC" = "xyes"; then
39744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39745 $as_echo "Compaq cc" >&6; }
39748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39749 $as_echo "none" >&6; }
39752 if test $DEPS_TRACKING = 1 ; then
39758 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39759 # script. It is used to track C/C++ files dependencies in portable way.
39761 # Permission is given to use this file in any way.
39763 DEPSMODE=${DEPSMODE}
39764 DEPSFLAG="${DEPSFLAG}"
39767 if test ${D}DEPSMODE = gcc ; then
39768 ${D}* ${D}{DEPSFLAG}
39771 # determine location of created files:
39772 while test ${D}# -gt 0; do
39786 objfilebase=\`basename ${D}objfile\`
39787 builddir=\`dirname ${D}objfile\`
39788 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39789 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39790 depsdir=${D}builddir/${D}DEPSDIRBASE
39791 mkdir -p ${D}depsdir
39793 # if the compiler failed, we're done:
39794 if test ${D}{status} != 0 ; then
39799 # move created file to the location we want it in:
39800 if test -f ${D}depfile ; then
39801 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39804 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39805 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39806 if test ! -f ${D}depfile ; then
39807 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39808 depfile="${D}objfile.d"
39810 if test -f ${D}depfile ; then
39811 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39817 elif test ${D}DEPSMODE = mwcc ; then
39818 ${D}* || exit ${D}?
39819 # Run mwcc again with -MM and redirect into the dep file we want
39820 # NOTE: We can't use shift here because we need ${D}* to be valid
39822 for arg in ${D}* ; do
39823 if test "${D}prevarg" = "-o"; then
39837 objfilebase=\`basename ${D}objfile\`
39838 builddir=\`dirname ${D}objfile\`
39839 depsdir=${D}builddir/${D}DEPSDIRBASE
39840 mkdir -p ${D}depsdir
39842 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39845 elif test ${D}DEPSMODE = unixcc; then
39846 ${D}* || exit ${D}?
39847 # Run compiler again with deps flag and redirect into the dep file.
39848 # It doesn't work if the '-o FILE' option is used, but without it the
39849 # dependency file will contain the wrong name for the object. So it is
39850 # removed from the command line, and the dep file is fixed with sed.
39852 while test ${D}# -gt 0; do
39859 eval arg${D}#=\\${D}1
39860 cmd="${D}cmd \\${D}arg${D}#"
39866 objfilebase=\`basename ${D}objfile\`
39867 builddir=\`dirname ${D}objfile\`
39868 depsdir=${D}builddir/${D}DEPSDIRBASE
39869 mkdir -p ${D}depsdir
39871 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39881 BK_DEPS
="`pwd`/bk-deps"
39889 case ${BAKEFILE_HOST} in
39890 *-*-cygwin* | *-*-mingw32* )
39891 if test -n "$ac_tool_prefix"; then
39892 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39893 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39895 $as_echo_n "checking for $ac_word... " >&6; }
39896 if ${ac_cv_prog_WINDRES+:} false
; then :
39897 $as_echo_n "(cached) " >&6
39899 if test -n "$WINDRES"; then
39900 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39903 for as_dir
in $PATH
39906 test -z "$as_dir" && as_dir
=.
39907 for ac_exec_ext
in '' $ac_executable_extensions; do
39908 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39909 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39919 WINDRES
=$ac_cv_prog_WINDRES
39920 if test -n "$WINDRES"; then
39921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39922 $as_echo "$WINDRES" >&6; }
39924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39925 $as_echo "no" >&6; }
39930 if test -z "$ac_cv_prog_WINDRES"; then
39931 ac_ct_WINDRES
=$WINDRES
39932 # Extract the first word of "windres", so it can be a program name with args.
39933 set dummy windres
; ac_word
=$2
39934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39935 $as_echo_n "checking for $ac_word... " >&6; }
39936 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39937 $as_echo_n "(cached) " >&6
39939 if test -n "$ac_ct_WINDRES"; then
39940 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39943 for as_dir
in $PATH
39946 test -z "$as_dir" && as_dir
=.
39947 for ac_exec_ext
in '' $ac_executable_extensions; do
39948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39949 ac_cv_prog_ac_ct_WINDRES
="windres"
39950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39959 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39960 if test -n "$ac_ct_WINDRES"; then
39961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39962 $as_echo "$ac_ct_WINDRES" >&6; }
39964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39965 $as_echo "no" >&6; }
39968 if test "x$ac_ct_WINDRES" = x
; then
39971 case $cross_compiling:$ac_tool_warned in
39973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39975 ac_tool_warned
=yes ;;
39977 WINDRES
=$ac_ct_WINDRES
39980 WINDRES
="$ac_cv_prog_WINDRES"
39985 *-*-darwin* | powerpc
-apple-macos* )
39986 # Extract the first word of "Rez", so it can be a program name with args.
39987 set dummy Rez
; ac_word
=$2
39988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39989 $as_echo_n "checking for $ac_word... " >&6; }
39990 if ${ac_cv_prog_REZ+:} false
; then :
39991 $as_echo_n "(cached) " >&6
39993 if test -n "$REZ"; then
39994 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39997 for as_dir
in $PATH
40000 test -z "$as_dir" && as_dir
=.
40001 for ac_exec_ext
in '' $ac_executable_extensions; do
40002 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40003 ac_cv_prog_REZ
="Rez"
40004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40011 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
40014 REZ
=$ac_cv_prog_REZ
40015 if test -n "$REZ"; then
40016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
40017 $as_echo "$REZ" >&6; }
40019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40020 $as_echo "no" >&6; }
40024 # Extract the first word of "SetFile", so it can be a program name with args.
40025 set dummy SetFile
; ac_word
=$2
40026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40027 $as_echo_n "checking for $ac_word... " >&6; }
40028 if ${ac_cv_prog_SETFILE+:} false
; then :
40029 $as_echo_n "(cached) " >&6
40031 if test -n "$SETFILE"; then
40032 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40035 for as_dir
in $PATH
40038 test -z "$as_dir" && as_dir
=.
40039 for ac_exec_ext
in '' $ac_executable_extensions; do
40040 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40041 ac_cv_prog_SETFILE
="SetFile"
40042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40049 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40052 SETFILE
=$ac_cv_prog_SETFILE
40053 if test -n "$SETFILE"; then
40054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
40055 $as_echo "$SETFILE" >&6; }
40057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40058 $as_echo "no" >&6; }
40073 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
40076 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
40080 # Check whether --enable-precomp-headers was given.
40081 if test "${enable_precomp_headers+set}" = set; then :
40082 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
40091 case ${BAKEFILE_HOST} in
40097 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40098 if test "x$GCC" = "xyes"; then
40099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
40100 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
40101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40102 /* end confdefs.h. */
40108 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40109 There is no PCH support
40112 There is no PCH support
40114 #if (__GNUC__ == 3) && \
40115 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40116 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40117 ( defined(__INTEL_COMPILER) )
40118 There is no PCH support
40125 if ac_fn_c_try_compile
"$LINENO"; then :
40127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40128 $as_echo "yes" >&6; }
40133 if test "$INTELCXX8" = "yes"; then
40134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40135 $as_echo "yes" >&6; }
40137 if test "$INTELCXX10" = "yes"; then
40138 ICC_PCH_CREATE_SWITCH
="-pch-create"
40139 ICC_PCH_USE_SWITCH
="-pch-use"
40141 ICC_PCH_CREATE_SWITCH
="-create-pch"
40142 ICC_PCH_USE_SWITCH
="-use-pch"
40145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40146 $as_echo "no" >&6; }
40150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40151 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40155 cat <<EOF >bk-make-pch
40158 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40159 # script. It is used to generated precompiled headers.
40161 # Permission is given to use this file in any way.
40168 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40173 while test ${D}{#} -gt 0; do
40177 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40178 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40179 headerfile="${D}{incdir}/${D}{header}"
40182 -use-pch|-use_pch|-pch-use )
40187 if test ${D}add_to_cmdline = 1 ; then
40188 compiler="${D}{compiler} ${D}{1}"
40193 if test "x${D}{headerfile}" = "x" ; then
40194 echo "error: can't find header ${D}{header} in include paths" >&2
40196 if test -f ${D}{outfile} ; then
40197 rm -f ${D}{outfile}
40199 mkdir -p \`dirname ${D}{outfile}\`
40201 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40202 mkdir -p ${D}{builddir}/.deps
40203 if test "x${GCC_PCH}" = "x1" ; then
40204 # can do this because gcc is >= 3.4:
40205 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40206 elif test "x${ICC_PCH}" = "x1" ; then
40207 filename=pch_gen-${D}${D}
40208 file=${D}{filename}.c
40209 dfile=${D}{filename}.d
40210 cat > ${D}file <<EOT
40211 #include "${D}header"
40213 # using -MF icc complains about differing command lines in creation/use
40214 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40215 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40216 rm -f ${D}file ${D}dfile ${D}{filename}.o
40222 chmod +x bk
-make-pch
40223 BK_MAKE_PCH
="`pwd`/bk-make-pch"
40234 COND_BUILD_debug
="#"
40235 if test "x$BUILD" = "xdebug" ; then
40236 COND_BUILD_debug
=""
40239 COND_BUILD_debug_DEBUG_INFO_default
="#"
40240 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40241 COND_BUILD_debug_DEBUG_INFO_default
=""
40244 COND_BUILD_release
="#"
40245 if test "x$BUILD" = "xrelease" ; then
40246 COND_BUILD_release
=""
40249 COND_BUILD_release_DEBUG_INFO_default
="#"
40250 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40251 COND_BUILD_release_DEBUG_INFO_default
=""
40254 COND_DEBUG_FLAG_0
="#"
40255 if test "x$DEBUG_FLAG" = "x0" ; then
40256 COND_DEBUG_FLAG_0
=""
40259 COND_DEBUG_INFO_0
="#"
40260 if test "x$DEBUG_INFO" = "x0" ; then
40261 COND_DEBUG_INFO_0
=""
40264 COND_DEBUG_INFO_1
="#"
40265 if test "x$DEBUG_INFO" = "x1" ; then
40266 COND_DEBUG_INFO_1
=""
40269 COND_DEPS_TRACKING_0
="#"
40270 if test "x$DEPS_TRACKING" = "x0" ; then
40271 COND_DEPS_TRACKING_0
=""
40274 COND_DEPS_TRACKING_1
="#"
40275 if test "x$DEPS_TRACKING" = "x1" ; then
40276 COND_DEPS_TRACKING_1
=""
40280 if test "x$GCC_PCH" = "x1" ; then
40285 if test "x$ICC_PCH" = "x1" ; then
40289 COND_MONOLITHIC_0
="#"
40290 if test "x$MONOLITHIC" = "x0" ; then
40291 COND_MONOLITHIC_0
=""
40294 COND_MONOLITHIC_0_SHARED_0
="#"
40295 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40296 COND_MONOLITHIC_0_SHARED_0
=""
40299 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
40300 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40301 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
40304 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40305 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40306 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40309 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40310 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40311 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40314 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
40315 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40316 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
40319 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
40320 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40321 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
40324 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
40325 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40326 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
40329 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
40330 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40331 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
40334 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
40335 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40336 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
40339 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
40340 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40341 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
40344 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
40345 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40346 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
40349 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40350 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40351 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40354 COND_MONOLITHIC_0_SHARED_1
="#"
40355 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40356 COND_MONOLITHIC_0_SHARED_1
=""
40359 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
40360 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40361 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
40364 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40365 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40366 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40369 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40370 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40371 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40374 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
40375 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40376 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
40379 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
40380 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40381 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
40384 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
40385 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40386 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
40389 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
40390 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40391 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
40394 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
40395 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40396 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
40399 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
40400 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40401 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
40404 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
40405 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40406 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
40409 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40410 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40411 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40414 COND_MONOLITHIC_0_USE_AUI_1
="#"
40415 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40416 COND_MONOLITHIC_0_USE_AUI_1
=""
40419 COND_MONOLITHIC_0_USE_GUI_1
="#"
40420 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40421 COND_MONOLITHIC_0_USE_GUI_1
=""
40424 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
40425 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40426 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
40429 COND_MONOLITHIC_0_USE_HTML_1
="#"
40430 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40431 COND_MONOLITHIC_0_USE_HTML_1
=""
40434 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
40435 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40436 COND_MONOLITHIC_0_USE_MEDIA_1
=""
40439 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
40440 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40441 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
40444 COND_MONOLITHIC_0_USE_QA_1
="#"
40445 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40446 COND_MONOLITHIC_0_USE_QA_1
=""
40449 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
40450 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40451 COND_MONOLITHIC_0_USE_RIBBON_1
=""
40454 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
40455 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40456 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
40459 COND_MONOLITHIC_0_USE_STC_1
="#"
40460 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40461 COND_MONOLITHIC_0_USE_STC_1
=""
40464 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
40465 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40466 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
40469 COND_MONOLITHIC_0_USE_XRC_1
="#"
40470 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40471 COND_MONOLITHIC_0_USE_XRC_1
=""
40474 COND_MONOLITHIC_1
="#"
40475 if test "x$MONOLITHIC" = "x1" ; then
40476 COND_MONOLITHIC_1
=""
40479 COND_MONOLITHIC_1_SHARED_0
="#"
40480 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40481 COND_MONOLITHIC_1_SHARED_0
=""
40484 COND_MONOLITHIC_1_SHARED_1
="#"
40485 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40486 COND_MONOLITHIC_1_SHARED_1
=""
40489 COND_MONOLITHIC_1_USE_STC_1
="#"
40490 if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40491 COND_MONOLITHIC_1_USE_STC_1
=""
40494 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40495 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40496 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40499 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40500 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40501 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40504 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
40505 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40506 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
40509 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40510 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40511 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40514 COND_PLATFORM_MACOSX_1
="#"
40515 if test "x$PLATFORM_MACOSX" = "x1" ; then
40516 COND_PLATFORM_MACOSX_1
=""
40519 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
40520 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40521 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
40524 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
40525 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40526 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
40529 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40530 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40531 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40534 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40535 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40536 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40539 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40540 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40541 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40544 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40545 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40546 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40549 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40550 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40551 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40554 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
40555 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40556 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
40559 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40560 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40561 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40564 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
40565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40566 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
40569 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40571 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40574 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40576 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40579 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40580 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40581 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40584 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
40585 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40586 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
40589 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40590 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40591 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40594 COND_PLATFORM_MAC_0
="#"
40595 if test "x$PLATFORM_MAC" = "x0" ; then
40596 COND_PLATFORM_MAC_0
=""
40599 COND_PLATFORM_MAC_1
="#"
40600 if test "x$PLATFORM_MAC" = "x1" ; then
40601 COND_PLATFORM_MAC_1
=""
40604 COND_PLATFORM_MSDOS_0
="#"
40605 if test "x$PLATFORM_MSDOS" = "x0" ; then
40606 COND_PLATFORM_MSDOS_0
=""
40609 COND_PLATFORM_MSDOS_1
="#"
40610 if test "x$PLATFORM_MSDOS" = "x1" ; then
40611 COND_PLATFORM_MSDOS_1
=""
40614 COND_PLATFORM_OS2_1
="#"
40615 if test "x$PLATFORM_OS2" = "x1" ; then
40616 COND_PLATFORM_OS2_1
=""
40619 COND_PLATFORM_UNIX_0
="#"
40620 if test "x$PLATFORM_UNIX" = "x0" ; then
40621 COND_PLATFORM_UNIX_0
=""
40624 COND_PLATFORM_UNIX_1
="#"
40625 if test "x$PLATFORM_UNIX" = "x1" ; then
40626 COND_PLATFORM_UNIX_1
=""
40629 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40630 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40631 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40634 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40635 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40636 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40639 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40640 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40641 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40644 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40645 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40646 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40649 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40650 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40651 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40654 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40655 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40656 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40659 COND_PLATFORM_WIN32_0
="#"
40660 if test "x$PLATFORM_WIN32" = "x0" ; then
40661 COND_PLATFORM_WIN32_0
=""
40664 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40665 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40666 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40669 COND_PLATFORM_WIN32_1
="#"
40670 if test "x$PLATFORM_WIN32" = "x1" ; then
40671 COND_PLATFORM_WIN32_1
=""
40674 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40675 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40676 COND_PLATFORM_WIN32_1_SHARED_0
=""
40679 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40680 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40681 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40684 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40685 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40686 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40689 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40690 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40691 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40694 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40695 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40696 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40700 if test "x$SHARED" = "x0" ; then
40704 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40705 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40706 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40709 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40710 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40711 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40714 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40715 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40716 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40719 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40720 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40721 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40724 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40725 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40726 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40729 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40730 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40731 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40734 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40735 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40736 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40739 COND_SHARED_0_USE_STC_1
="#"
40740 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40741 COND_SHARED_0_USE_STC_1
=""
40744 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40745 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40746 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40749 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40750 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40751 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40754 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40755 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40756 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40760 if test "x$SHARED" = "x1" ; then
40764 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40765 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40766 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40770 if test "x$TOOLKIT" = "x" ; then
40774 COND_TOOLKIT_COCOA
="#"
40775 if test "x$TOOLKIT" = "xCOCOA" ; then
40776 COND_TOOLKIT_COCOA
=""
40779 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40780 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40781 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40784 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40785 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40786 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40789 COND_TOOLKIT_DFB
="#"
40790 if test "x$TOOLKIT" = "xDFB" ; then
40791 COND_TOOLKIT_DFB
=""
40794 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40795 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40796 COND_TOOLKIT_DFB_USE_GUI_1
=""
40799 COND_TOOLKIT_GTK
="#"
40800 if test "x$TOOLKIT" = "xGTK" ; then
40801 COND_TOOLKIT_GTK
=""
40804 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40805 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40806 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40809 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40810 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40811 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40814 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40815 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40816 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40819 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40820 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40821 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40824 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40825 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40826 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40829 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40830 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40831 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40834 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40835 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40836 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40839 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40840 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40841 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40844 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40845 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40846 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40849 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40850 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40851 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40854 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40855 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40856 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40859 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40860 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40861 COND_TOOLKIT_GTK_USE_GUI_1
=""
40864 COND_TOOLKIT_MAC
="#"
40865 if test "x$TOOLKIT" = "xMAC" ; then
40866 COND_TOOLKIT_MAC
=""
40869 COND_TOOLKIT_MOTIF
="#"
40870 if test "x$TOOLKIT" = "xMOTIF" ; then
40871 COND_TOOLKIT_MOTIF
=""
40874 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40875 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40876 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40879 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40880 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40881 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40884 COND_TOOLKIT_MSW
="#"
40885 if test "x$TOOLKIT" = "xMSW" ; then
40886 COND_TOOLKIT_MSW
=""
40889 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40890 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40891 COND_TOOLKIT_MSW_USE_GUI_1
=""
40894 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40895 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40896 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40899 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40900 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40901 COND_TOOLKIT_MSW_WXUNIV_0
=""
40904 COND_TOOLKIT_OSX_CARBON
="#"
40905 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40906 COND_TOOLKIT_OSX_CARBON
=""
40909 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40910 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40911 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40914 COND_TOOLKIT_OSX_COCOA
="#"
40915 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40916 COND_TOOLKIT_OSX_COCOA
=""
40919 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40920 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40921 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40924 COND_TOOLKIT_OSX_IPHONE
="#"
40925 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40926 COND_TOOLKIT_OSX_IPHONE
=""
40929 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40930 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40931 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40934 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40935 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40936 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40939 COND_TOOLKIT_PM
="#"
40940 if test "x$TOOLKIT" = "xPM" ; then
40944 COND_TOOLKIT_PM_USE_GUI_1
="#"
40945 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40946 COND_TOOLKIT_PM_USE_GUI_1
=""
40949 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40950 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40951 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40954 COND_TOOLKIT_WINCE
="#"
40955 if test "x$TOOLKIT" = "xWINCE" ; then
40956 COND_TOOLKIT_WINCE
=""
40959 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40960 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40961 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40964 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40965 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40966 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40969 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40970 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40971 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40974 COND_TOOLKIT_X11
="#"
40975 if test "x$TOOLKIT" = "xX11" ; then
40976 COND_TOOLKIT_X11
=""
40979 COND_TOOLKIT_X11_USE_GUI_1
="#"
40980 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40981 COND_TOOLKIT_X11_USE_GUI_1
=""
40985 if test "x$UNICODE" = "x1" ; then
40989 COND_USE_CAIRO_1
="#"
40990 if test "x$USE_CAIRO" = "x1" ; then
40991 COND_USE_CAIRO_1
=""
40994 COND_USE_EXCEPTIONS_0
="#"
40995 if test "x$USE_EXCEPTIONS" = "x0" ; then
40996 COND_USE_EXCEPTIONS_0
=""
40999 COND_USE_EXCEPTIONS_1
="#"
41000 if test "x$USE_EXCEPTIONS" = "x1" ; then
41001 COND_USE_EXCEPTIONS_1
=""
41005 if test "x$USE_GUI" = "x0" ; then
41010 if test "x$USE_GUI" = "x1" ; then
41014 COND_USE_GUI_1_USE_OPENGL_1
="#"
41015 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41016 COND_USE_GUI_1_USE_OPENGL_1
=""
41019 COND_USE_GUI_1_WXUNIV_0
="#"
41020 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41021 COND_USE_GUI_1_WXUNIV_0
=""
41024 COND_USE_GUI_1_WXUNIV_1
="#"
41025 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41026 COND_USE_GUI_1_WXUNIV_1
=""
41029 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
41030 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41031 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
41034 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
41035 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41036 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
41039 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
41040 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41041 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
41044 COND_USE_OPENGL_1
="#"
41045 if test "x$USE_OPENGL" = "x1" ; then
41046 COND_USE_OPENGL_1
=""
41050 if test "x$USE_PCH" = "x1" ; then
41054 COND_USE_PLUGINS_0
="#"
41055 if test "x$USE_PLUGINS" = "x0" ; then
41056 COND_USE_PLUGINS_0
=""
41059 COND_USE_RTTI_0
="#"
41060 if test "x$USE_RTTI" = "x0" ; then
41064 COND_USE_RTTI_1
="#"
41065 if test "x$USE_RTTI" = "x1" ; then
41069 COND_USE_SOTWOSYMLINKS_1
="#"
41070 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41071 COND_USE_SOTWOSYMLINKS_1
=""
41074 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
41075 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41076 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
41079 COND_USE_SOVERLINUX_1
="#"
41080 if test "x$USE_SOVERLINUX" = "x1" ; then
41081 COND_USE_SOVERLINUX_1
=""
41084 COND_USE_SOVERSION_0
="#"
41085 if test "x$USE_SOVERSION" = "x0" ; then
41086 COND_USE_SOVERSION_0
=""
41089 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
41090 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41091 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
41094 COND_USE_SOVERSOLARIS_1
="#"
41095 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41096 COND_USE_SOVERSOLARIS_1
=""
41100 if test "x$USE_STC" = "x1" ; then
41104 COND_USE_THREADS_0
="#"
41105 if test "x$USE_THREADS" = "x0" ; then
41106 COND_USE_THREADS_0
=""
41109 COND_USE_THREADS_1
="#"
41110 if test "x$USE_THREADS" = "x1" ; then
41111 COND_USE_THREADS_1
=""
41115 if test "x$USE_XRC" = "x1" ; then
41119 COND_WINDOWS_IMPLIB_1
="#"
41120 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41121 COND_WINDOWS_IMPLIB_1
=""
41124 COND_WITH_PLUGIN_SDL_1
="#"
41125 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41126 COND_WITH_PLUGIN_SDL_1
=""
41130 if test "x$WXUNIV" = "x0" ; then
41135 if test "x$WXUNIV" = "x1" ; then
41139 COND_wxUSE_EXPAT_builtin
="#"
41140 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41141 COND_wxUSE_EXPAT_builtin
=""
41144 COND_wxUSE_LIBJPEG_builtin
="#"
41145 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41146 COND_wxUSE_LIBJPEG_builtin
=""
41149 COND_wxUSE_LIBPNG_builtin
="#"
41150 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41151 COND_wxUSE_LIBPNG_builtin
=""
41154 COND_wxUSE_LIBTIFF_builtin
="#"
41155 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41156 COND_wxUSE_LIBTIFF_builtin
=""
41159 COND_wxUSE_REGEX_builtin
="#"
41160 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41161 COND_wxUSE_REGEX_builtin
=""
41164 COND_wxUSE_ZLIB_builtin
="#"
41165 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41166 COND_wxUSE_ZLIB_builtin
=""
41171 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41172 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
41175 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41176 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
41183 ?
:* ) # Drive letter, considered as absolute.
41186 INSTALL
=`pwd`/${INSTALL} ;;
41189 if test "$wxUSE_GUI" = "yes"; then
41191 if test "$wxUSE_MSW" = 1 ; then
41192 if test "x$WINDRES" = "x"; then
41193 as_fn_error $?
"Required windres program not found" "$LINENO" 5
41199 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41200 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41201 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41203 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41205 # Extract the first word of "DeRez", so it can be a program name with args.
41206 set dummy DeRez
; ac_word
=$2
41207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41208 $as_echo_n "checking for $ac_word... " >&6; }
41209 if ${ac_cv_prog_DEREZ+:} false
; then :
41210 $as_echo_n "(cached) " >&6
41212 if test -n "$DEREZ"; then
41213 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
41215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41216 for as_dir
in $PATH
41219 test -z "$as_dir" && as_dir
=.
41220 for ac_exec_ext
in '' $ac_executable_extensions; do
41221 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41222 ac_cv_prog_DEREZ
="DeRez"
41223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41230 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
41233 DEREZ
=$ac_cv_prog_DEREZ
41234 if test -n "$DEREZ"; then
41235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41236 $as_echo "$DEREZ" >&6; }
41238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41239 $as_echo "no" >&6; }
41244 MACSETFILE
="\$(SETFILE)"
41246 if test "$wxUSE_OSX_CARBON" = 1; then
41247 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41249 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
41251 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41252 RESCOMP
="cat /dev/null \| $REZ"
41253 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41259 if test "$wxUSE_PM" = 1; then
41261 WXCONFIG_RESFLAGS
="-ep"
41263 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
41265 POSTLINK_COMMAND
="@true"
41272 if test $GCC_PCH = 1
41274 if test "$wx_cv_gcc_pch_bug" = yes; then
41275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41276 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41278 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41280 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41283 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41284 # the headers that benefit from precompilation are mostly C++ headers.
41285 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
41286 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41287 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41291 if test "$wxUSE_MAC" = 1 ; then
41292 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41293 if test "x$disable_macosx_deps" = "xyes"; then
41294 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
41301 if test "$wxUSE_SHARED" = "yes"; then
41303 *-pc-os2_emx | *-pc-os2-emx )
41304 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41305 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41306 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41307 cp -p ${srcdir}/src
/os
2/dllar.sh .
41311 if test "$wxUSE_OMF" = "yes"; then
41313 *-pc-os2_emx | *-pc-os2-emx )
41314 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
41315 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41316 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41321 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41326 if test "$GCC" = yes; then
41327 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
41328 LIBS
=`echo $LIBS | sed 's/-mt//g'`
41329 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41334 if test "x$SUNCXX" = xyes
; then
41335 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
41336 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
41337 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41342 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
41343 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41344 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
41345 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41347 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41409 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41411 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41412 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
41413 $as_echo_n "(cached) " >&6
41415 cat >conftest.
make <<\_ACEOF
41418 @
echo '@@@%%%=$(MAKE)=@@@%%%'
41420 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41421 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41422 *@@@
%%%=?
*=@@@
%%%*)
41423 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
41425 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
41427 rm -f conftest.
make
41429 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
41430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41431 $as_echo "yes" >&6; }
41434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41435 $as_echo "no" >&6; }
41436 SET_MAKE
="MAKE=${MAKE-make}"
41441 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41444 if test "$USE_WIN32" = 1; then
41445 ac_config_commands
="$ac_config_commands rcdefs.h"
41449 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41452 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41455 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
41458 if test "$wx_cv_version_script" = "yes"; then
41459 ac_config_files
="$ac_config_files version-script"
41462 ac_config_files
="$ac_config_files Makefile"
41465 ac_config_commands
="$ac_config_commands wx-config"
41469 if test "$wxWITH_SUBDIRS" != "no"; then
41470 if test "$wxUSE_GUI" = "yes"; then
41471 SUBDIRS
="samples demos utils"
41473 SUBDIRS
="samples utils"
41478 # Check whether --with-cppunit-prefix was given.
41479 if test "${with_cppunit_prefix+set}" = set; then :
41480 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
41482 cppunit_config_prefix
=""
41486 # Check whether --with-cppunit-exec-prefix was given.
41487 if test "${with_cppunit_exec_prefix+set}" = set; then :
41488 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
41490 cppunit_config_exec_prefix
=""
41494 if test x
$cppunit_config_exec_prefix != x
; then
41495 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41496 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41497 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41500 if test x
$cppunit_config_prefix != x
; then
41501 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41502 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41503 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41507 # Extract the first word of "cppunit-config", so it can be a program name with args.
41508 set dummy cppunit
-config; ac_word
=$2
41509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41510 $as_echo_n "checking for $ac_word... " >&6; }
41511 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
41512 $as_echo_n "(cached) " >&6
41514 case $CPPUNIT_CONFIG in
41516 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41520 for as_dir
in $PATH
41523 test -z "$as_dir" && as_dir
=.
41524 for ac_exec_ext
in '' $ac_executable_extensions; do
41525 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41526 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41534 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41538 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41539 if test -n "$CPPUNIT_CONFIG"; then
41540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41541 $as_echo "$CPPUNIT_CONFIG" >&6; }
41543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41544 $as_echo "no" >&6; }
41548 cppunit_version_min
=1.8.0
41550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41551 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41553 if test "$CPPUNIT_CONFIG" = "no" ; then
41554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41555 $as_echo "no" >&6; }
41558 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41559 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41560 cppunit_version
=`$CPPUNIT_CONFIG --version`
41562 cppunit_major_version
=`echo $cppunit_version | \
41563 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41564 cppunit_minor_version
=`echo $cppunit_version | \
41565 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41566 cppunit_micro_version
=`echo $cppunit_version | \
41567 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41569 cppunit_major_min
=`echo $cppunit_version_min | \
41570 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41571 cppunit_minor_min
=`echo $cppunit_version_min | \
41572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41573 cppunit_micro_min
=`echo $cppunit_version_min | \
41574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41576 cppunit_version_proper
=`expr \
41577 $cppunit_major_version \> $cppunit_major_min \| \
41578 $cppunit_major_version \= $cppunit_major_min \& \
41579 $cppunit_minor_version \> $cppunit_minor_min \| \
41580 $cppunit_major_version \= $cppunit_major_min \& \
41581 $cppunit_minor_version \= $cppunit_minor_min \& \
41582 $cppunit_micro_version \>= $cppunit_micro_min `
41584 if test "$cppunit_version_proper" = "1" ; then
41585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41586 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41589 $as_echo "no" >&6; }
41594 if test "x$no_cppunit" = x
; then
41595 SUBDIRS
="$SUBDIRS tests"
41606 for subdir
in $SUBDIRS; do
41607 if test -d ${srcdir}/${subdir} ; then
41608 if test "$wxUSE_GUI" = "yes"; then
41609 if test ${subdir} = "samples"; then
41610 makefiles
="samples/Makefile.in $makefiles"
41611 for sample
in $SAMPLES_SUBDIRS; do
41612 if test -d $srcdir/samples
/$sample; then
41613 makefiles
="samples/$sample/Makefile.in $makefiles"
41617 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41618 eval "disabled=\$$disabled_var"
41619 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41620 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41623 if test ${subdir} = "samples"; then
41624 makefiles
="samples/Makefile.in $makefiles"
41625 for sample
in `echo $SAMPLES_SUBDIRS`; do
41626 if test -d $srcdir/samples
/$sample; then
41627 makefiles
="samples/$sample/Makefile.in $makefiles"
41630 elif test ${subdir} = "utils"; then
41632 for util
in ifacecheck
; do
41633 if test -d $srcdir/utils
/$util ; then
41634 makefiles
="utils/$util/src/Makefile.in \
41639 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41643 for mkin
in $makefiles ; do
41644 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41645 ac_config_files
="$ac_config_files $mk"
41651 cat >confcache
<<\_ACEOF
41652 # This file is a shell script that caches the results of configure
41653 # tests run on this system so they can be shared between configure
41654 # scripts and configure runs, see configure's option --config-cache.
41655 # It is not useful on other systems. If it contains results you don't
41656 # want to keep, you may remove or edit it.
41658 # config.status only pays attention to the cache file if you give it
41659 # the --recheck option to rerun configure.
41661 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41662 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41663 # following values.
41667 # The following way of writing the cache mishandles newlines in values,
41668 # but we know of no workaround that is simple, portable, and efficient.
41669 # So, we kill variables containing newlines.
41670 # Ultrix sh set writes to stderr and can't be redirected directly,
41671 # and sets the high bit in the cache file unless we assign to the vars.
41673 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41674 eval ac_val
=\$
$ac_var
41678 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41679 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41682 _
| IFS
| as_nl
) ;; #(
41683 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41684 *) { eval $ac_var=; unset $ac_var;} ;;
41690 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41691 *${as_nl}ac_space
=\
*)
41692 # `set' does not quote correctly, so add quotes: double-quote
41693 # substitution turns \\\\ into \\, and sed turns \\ into \.
41696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41699 # `set' quotes correctly as required by POSIX, so do not add quotes.
41700 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41709 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41711 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41713 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41714 if test -w "$cache_file"; then
41715 if test "x$cache_file" != "x/dev/null"; then
41716 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41717 $as_echo "$as_me: updating cache $cache_file" >&6;}
41718 if test ! -f "$cache_file" || test -h "$cache_file"; then
41719 cat confcache
>"$cache_file"
41721 case $cache_file in #(
41723 mv -f confcache
"$cache_file"$$
&&
41724 mv -f "$cache_file"$$
"$cache_file" ;; #(
41726 mv -f confcache
"$cache_file" ;;
41731 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41732 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41737 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41738 # Let make expand exec_prefix.
41739 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41741 DEFS
=-DHAVE_CONFIG_H
41746 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41747 # 1. Remove the extension, and $U if already installed.
41748 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41749 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41750 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41751 # will be set to the directory where LIBOBJS objects are built.
41752 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41753 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41755 LIBOBJS
=$ac_libobjs
41757 LTLIBOBJS
=$ac_ltlibobjs
41761 : "${CONFIG_STATUS=./config.status}"
41763 ac_clean_files_save
=$ac_clean_files
41764 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41765 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41766 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41768 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41770 # Generated by $as_me.
41771 # Run this file to recreate the current configuration.
41772 # Compiler output produced by configure, useful for debugging
41773 # configure, is in config.log if it exists.
41776 ac_cs_recheck=false
41779 SHELL=\${CONFIG_SHELL-$SHELL}
41782 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41783 ## -------------------- ##
41784 ## M4sh Initialization. ##
41785 ## -------------------- ##
41787 # Be more Bourne compatible
41788 DUALCASE
=1; export DUALCASE
# for MKS sh
41789 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41792 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41793 # is contrary to our usage. Disable this feature.
41794 alias -g '${1+"$@"}'='"$@"'
41795 setopt NO_GLOB_SUBST
41797 case `(set -o) 2>/dev/null` in #(
41809 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41810 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41811 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41812 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41813 # Prefer a ksh shell builtin over an external printf program on Solaris,
41814 # but without wasting forks for bash or zsh.
41815 if test -z "$BASH_VERSION$ZSH_VERSION" \
41816 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41817 as_echo='print
-r --'
41818 as_echo_n='print
-rn --'
41819 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41820 as_echo='printf %s
\n'
41821 as_echo_n='printf %s
'
41823 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41824 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41825 as_echo_n='/usr
/ucb
/echo -n'
41827 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41828 as_echo_n_body='eval
41832 expr "X$arg" : "X\\(.*\\)$as_nl";
41833 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41835 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41837 export as_echo_n_body
41838 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41840 export as_echo_body
41841 as_echo='sh
-c $as_echo_body as_echo
'
41844 # The user is always right.
41845 if test "${PATH_SEPARATOR+set}" != set; then
41847 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41848 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41855 # We need space, tab and new line, in precisely that order. Quoting is
41856 # there to prevent editors from complaining about space-tab.
41857 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41858 # splitting by setting IFS to empty value.)
41861 # Find who we are. Look in the path if we contain no directory separator.
41864 *[\\/]* ) as_myself=$0 ;;
41865 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41866 for as_dir in $PATH
41869 test -z "$as_dir" && as_dir=.
41870 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41876 # We did not find ourselves, most probably we were run as `sh COMMAND'
41877 # in which case we are not to be found in the path.
41878 if test "x$as_myself" = x
; then
41881 if test ! -f "$as_myself"; then
41882 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41886 # Unset variables that we do not need and which cause bugs (e.g. in
41887 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41888 # suppresses any "Segmentation fault" message there. '((' could
41889 # trigger a bug in pdksh 5.2.14.
41890 for as_var
in BASH_ENV ENV MAIL MAILPATH
41891 do eval test x\
${$as_var+set} = xset \
41892 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41905 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41908 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41909 # ----------------------------------------
41910 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41911 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41912 # script with STATUS, using 1 if that was 0.
41915 as_status
=$1; test $as_status -eq 0 && as_status
=1
41917 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41918 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41920 $as_echo "$as_me: error: $2" >&2
41921 as_fn_exit
$as_status
41925 # as_fn_set_status STATUS
41926 # -----------------------
41927 # Set $? to STATUS, without forking.
41928 as_fn_set_status
()
41931 } # as_fn_set_status
41933 # as_fn_exit STATUS
41934 # -----------------
41935 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41939 as_fn_set_status
$1
41945 # Portably unset VAR.
41948 { eval $1=; unset $1;}
41950 as_unset
=as_fn_unset
41951 # as_fn_append VAR VALUE
41952 # ----------------------
41953 # Append the text in VALUE to the end of the definition contained in VAR. Take
41954 # advantage of any shell optimizations that allow amortized linear growth over
41955 # repeated appends, instead of the typical quadratic growth present in naive
41957 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41958 eval 'as_fn_append ()
41969 # as_fn_arith ARG...
41970 # ------------------
41971 # Perform arithmetic evaluation on the ARGs, and store the result in the
41972 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41973 # must be portable across $(()) and expr.
41974 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41975 eval 'as_fn_arith ()
41982 as_val
=`expr "$@" || test $? -eq 1`
41987 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41988 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41994 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41995 as_basename
=basename
42000 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
42006 as_me
=`$as_basename -- "$0" ||
42007 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42008 X"$0" : 'X\(//\)$' \| \
42009 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
42011 sed '/^.*\/\([^/][^/]*\)\/*$/{
42025 # Avoid depending upon Character Ranges.
42026 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42027 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42028 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42029 as_cr_digits
='0123456789'
42030 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42032 ECHO_C
= ECHO_N
= ECHO_T
=
42033 case `echo -n x` in #(((((
42035 case `echo 'xy\c'` in
42036 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
42038 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
42045 rm -f conf$$ conf$$.exe conf$$.
file
42046 if test -d conf$$.dir
; then
42047 rm -f conf$$.dir
/conf$$.
file
42050 mkdir conf$$.dir
2>/dev
/null
42052 if (echo >conf$$.
file) 2>/dev
/null
; then
42053 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42055 # ... but there are two gotchas:
42056 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42057 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42058 # In both cases, we have to default to `cp -pR'.
42059 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
42061 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42069 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
42070 rmdir conf$$.dir
2>/dev
/null
42075 # Create "$as_dir" as a directory, including parents if necessary.
42080 -*) as_dir
=.
/$as_dir;;
42082 test -d "$as_dir" || eval $as_mkdir_p || {
42086 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42087 *) as_qdir
=$as_dir;;
42089 as_dirs
="'$as_qdir' $as_dirs"
42090 as_dir
=`$as_dirname -- "$as_dir" ||
42091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42092 X"$as_dir" : 'X\(//\)[^/]' \| \
42093 X"$as_dir" : 'X\(//\)$' \| \
42094 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42095 $as_echo X"$as_dir" |
42096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42100 /^X\(\/\/\)[^/].*/{
42113 test -d "$as_dir" && break
42115 test -z "$as_dirs" || eval "mkdir $as_dirs"
42116 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
42120 if mkdir -p .
2>/dev
/null
; then
42121 as_mkdir_p
='mkdir -p "$as_dir"'
42123 test -d .
/-p && rmdir .
/-p
42128 # as_fn_executable_p FILE
42129 # -----------------------
42130 # Test if FILE is an executable regular file.
42131 as_fn_executable_p
()
42133 test -f "$1" && test -x "$1"
42134 } # as_fn_executable_p
42135 as_test_x
='test -x'
42136 as_executable_p
=as_fn_executable_p
42138 # Sed expression to map a string onto a valid CPP name.
42139 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42141 # Sed expression to map a string onto a valid variable name.
42142 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42146 ## ----------------------------------- ##
42147 ## Main body of $CONFIG_STATUS script. ##
42148 ## ----------------------------------- ##
42150 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
42152 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42153 # Save the log message, to keep $0 and so on meaningful, and to
42154 # report actual input values of CONFIG_FILES etc. instead of their
42155 # values after options handling.
42157 This file was extended by wxWidgets $as_me 2.9.5, which was
42158 generated by GNU Autoconf 2.69. Invocation command line was
42160 CONFIG_FILES = $CONFIG_FILES
42161 CONFIG_HEADERS = $CONFIG_HEADERS
42162 CONFIG_LINKS = $CONFIG_LINKS
42163 CONFIG_COMMANDS = $CONFIG_COMMANDS
42166 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42171 case $ac_config_files in *"
42172 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
42175 case $ac_config_headers in *"
42176 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
42180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42181 # Files that config.status was made for.
42182 config_files="$ac_config_files"
42183 config_headers="$ac_config_headers"
42184 config_commands="$ac_config_commands"
42188 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42190 \`$as_me' instantiates files and other configuration actions
42191 from templates according to the current configuration. Unless the files
42192 and actions are specified as TAGs, all are instantiated by default.
42194 Usage: $0 [OPTION]... [TAG]...
42196 -h, --help print this help, then exit
42197 -V, --version print version number and configuration settings, then exit
42198 --config print configuration, then exit
42199 -q, --quiet, --silent
42200 do not print progress messages
42201 -d, --debug don't remove temporary files
42202 --recheck update $as_me by reconfiguring in the same conditions
42203 --file=FILE[:TEMPLATE]
42204 instantiate the configuration file FILE
42205 --header=FILE[:TEMPLATE]
42206 instantiate the configuration header FILE
42208 Configuration files:
42211 Configuration headers:
42214 Configuration commands:
42217 Report bugs to <wx-dev@lists.wxwidgets.org>."
42220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42221 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42223 wxWidgets config.status 2.9.5
42224 configured by $0, generated by GNU Autoconf 2.69,
42225 with options \\"\$ac_cs_config\\"
42227 Copyright (C) 2012 Free Software Foundation, Inc.
42228 This config.status script is free software; the Free Software Foundation
42229 gives unlimited permission to copy, distribute and modify it."
42234 test -n "\$AWK" || AWK=awk
42237 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42238 # The default lists apply if the user does not specify any file.
42244 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42245 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
42249 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42261 # Handling of the options.
42262 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42264 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42265 $as_echo "$ac_cs_version"; exit ;;
42266 --config | --confi | --conf | --con | --co | --c )
42267 $as_echo "$ac_cs_config"; exit ;;
42268 --debug | --debu | --deb | --de | --d | -d )
42270 --file | --fil | --fi | --f )
42273 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42274 '') as_fn_error $?
"missing file argument" ;;
42276 as_fn_append CONFIG_FILES
" '$ac_optarg'"
42277 ac_need_defaults
=false
;;
42278 --header | --heade | --head | --hea )
42281 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42283 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
42284 ac_need_defaults
=false
;;
42286 # Conflict between --help and --header
42287 as_fn_error $?
"ambiguous option: \`$1'
42288 Try \`$0 --help' for more information.";;
42289 --help | --hel | -h )
42290 $as_echo "$ac_cs_usage"; exit ;;
42291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42292 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42295 # This is an error.
42296 -*) as_fn_error $?
"unrecognized option: \`$1'
42297 Try \`$0 --help' for more information." ;;
42299 *) as_fn_append ac_config_targets
" $1"
42300 ac_need_defaults
=false
;;
42306 ac_configure_extra_args
=
42308 if $ac_cs_silent; then
42310 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42315 if \$ac_cs_recheck; then
42316 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42318 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42319 CONFIG_SHELL='$SHELL'
42320 export CONFIG_SHELL
42325 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42329 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42330 ## Running $as_me. ##
42336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42342 infile="$srcdir/include/wx/msw/genrcdefs.h"
42343 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42346 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42347 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42348 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42354 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42356 # Handling of arguments.
42357 for ac_config_target
in $ac_config_targets
42359 case $ac_config_target in
42360 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42361 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
42362 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42363 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42364 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42365 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42366 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42367 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42368 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42370 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42375 # If the user did not use the arguments to specify the items to instantiate,
42376 # then the envvar interface is used. Set only those that are not.
42377 # We use the long form for the default assignment because of an extremely
42378 # bizarre bug on SunOS 4.1.3.
42379 if $ac_need_defaults; then
42380 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42381 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42382 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42385 # Have a temporary directory for convenience. Make it in the build tree
42386 # simply because there is no reason against having it here, and in addition,
42387 # creating and moving files from /tmp can sometimes cause problems.
42388 # Hook for its removal unless debugging.
42389 # Note that there is a small window in which the directory will not be cleaned:
42390 # after its creation but before its name has been assigned to `$tmp'.
42394 trap 'exit_status=$?
42395 : "${ac_tmp:=$tmp}"
42396 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42398 trap 'as_fn_exit 1' 1 2 13 15
42400 # Create a (secure) tmp directory for tmp files.
42403 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42407 tmp
=.
/conf$$
-$RANDOM
42408 (umask 077 && mkdir "$tmp")
42409 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
42412 # Set up the scripts for CONFIG_FILES section.
42413 # No need to generate them if there are no CONFIG_FILES.
42414 # This happens for instance with `./config.status config.h'.
42415 if test -n "$CONFIG_FILES"; then
42418 ac_cr
=`echo X | tr X '\015'`
42419 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42420 # But we know of no other shell where ac_cr would be empty at this
42421 # point, so we can use a bashism as a fallback.
42422 if test "x$ac_cr" = x
; then
42423 eval ac_cr
=\$
\'\\r
\'
42425 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42426 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42429 ac_cs_awk_cr
=$ac_cr
42432 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42437 echo "cat >conf$$subs.awk <<_ACEOF" &&
42438 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42440 } >conf$$subs.sh ||
42441 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42442 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42444 for ac_last_try in false false false false false :; do
42445 . ./conf$$subs.sh ||
42446 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42448 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
42449 if test $ac_delim_n = $ac_delim_num; then
42451 elif $ac_last_try; then
42452 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42454 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42457 rm -f conf$$subs.sh
42459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42460 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
42464 s/^/S["/; s
/!.
*/"]=/
42474 s/\(.\{148\}\)..*/\1/
42476 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
42481 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42488 s/\(.\{148\}\)..*/\1/
42490 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
42494 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42499 ' <conf$$subs.awk | sed '
42504 ' >>$CONFIG_STATUS || ac_write_fail=1
42505 rm -f conf$$subs.awk
42506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42508 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
42509 for (key in S) S_is_set[key] = 1
42515 nfields = split(line, field, "@
")
42517 len = length(field[1])
42518 for (i = 2; i < nfields; i++) {
42520 keylen = length(key)
42521 if (S_is_set[key]) {
42523 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42524 len += length(value) + length(field[++i])
42535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42536 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42537 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
42540 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
42541 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
42544 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42545 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
42546 # trailing colons and then remove the whole line if VPATH becomes empty
42547 # (actually we leave an empty line to preserve line numbers).
42548 if test "x
$srcdir" = x.; then
42549 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42568 fi # test -n "$CONFIG_FILES"
42570 # Set up the scripts for CONFIG_HEADERS section.
42571 # No need to generate them if there are no CONFIG_HEADERS.
42572 # This happens for instance with `./config.status Makefile'.
42573 if test -n "$CONFIG_HEADERS"; then
42574 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
42578 # Transform confdefs.h into an awk script `defines.awk', embedded as
42579 # here-document in config.status, that substitutes the proper values into
42580 # config.h.in to produce config.h.
42582 # Create a delimiter string that does not exist in confdefs.h, to ease
42583 # handling of long lines.
42585 for ac_last_try in false false :; do
42586 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
42587 if test -z "$ac_tt"; then
42589 elif $ac_last_try; then
42590 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
42592 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42596 # For the awk script, D is an array of macro values keyed by name,
42597 # likewise P contains macro parameters if any. Preserve backslash
42598 # newline sequences.
42600 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42602 s/.\{148\}/&'"$ac_delim"'/g
42605 s/^[ ]*#[ ]*define[ ][ ]*/ /
42612 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42614 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42618 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42619 D["\
1"]=" \
3\\\\\\n
"\\/p
42621 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42626 s/.\{148\}/&'"$ac_delim"'/g
42631 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42634 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42636 ' <confdefs.h | sed '
42637 s/'"$ac_delim"'/"\\\
42638 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42641 for (key in D) D_is_set[key] = 1
42644 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42646 split(line, arg, " ")
42647 if (arg[1] == "#") {
42651 defundef
= substr
(arg
[1], 2)
42654 split(mac1
, mac2
, "(") #)
42656 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42657 if (D_is_set
[macro
]) {
42658 # Preserve the white space surrounding the "#".
42659 print prefix
"define", macro P
[macro
] D
[macro
]
42662 # Replace #undef with comments. This is necessary, for example,
42663 # in the case of _POSIX_SOURCE, which is predefined and required
42664 # on some systems where configure will not decide to define it.
42665 if (defundef
== "undef") {
42666 print
"/*", prefix defundef
, macro
, "*/"
42674 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42675 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42676 fi # test -n "$CONFIG_HEADERS"
42679 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42684 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42686 case $ac_mode$ac_tag in
42688 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42689 :[FH
]-) ac_tag
=-:-;;
42690 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42707 -) ac_f
="$ac_tmp/stdin";;
42708 *) # Look for the file first in the build tree, then in the source tree
42709 # (if the path is not absolute). The absolute path cannot be DOS-style,
42710 # because $ac_f cannot contain `:'.
42714 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42716 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42718 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42719 as_fn_append ac_file_inputs
" '$ac_f'"
42722 # Let's still pretend it is `configure' which instantiates (i.e., don't
42723 # use $as_me), people would be surprised to read:
42724 # /* config.h. Generated by config.status. */
42725 configure_input
='Generated from '`
42726 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42728 if test x
"$ac_file" != x
-; then
42729 configure_input
="$ac_file. $configure_input"
42730 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42731 $as_echo "$as_me: creating $ac_file" >&6;}
42733 # Neutralize special characters interpreted by sed in replacement strings.
42734 case $configure_input in #(
42735 *\
&* | *\
|* | *\\* )
42736 ac_sed_conf_input
=`$as_echo "$configure_input" |
42737 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42738 *) ac_sed_conf_input
=$configure_input;;
42742 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42743 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42748 ac_dir
=`$as_dirname -- "$ac_file" ||
42749 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42750 X"$ac_file" : 'X\(//\)[^/]' \| \
42751 X"$ac_file" : 'X\(//\)$' \| \
42752 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42753 $as_echo X"$ac_file" |
42754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42758 /^X\(\/\/\)[^/].*/{
42771 as_dir
="$ac_dir"; as_fn_mkdir_p
42775 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42777 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42778 # A ".." for each directory in $ac_dir_suffix.
42779 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42780 case $ac_top_builddir_sub in
42781 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42782 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42785 ac_abs_top_builddir
=$ac_pwd
42786 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42787 # for backward compatibility:
42788 ac_top_builddir
=$ac_top_build_prefix
42791 .
) # We are building in place.
42793 ac_top_srcdir
=$ac_top_builddir_sub
42794 ac_abs_top_srcdir
=$ac_pwd ;;
42795 [\\/]* | ?
:[\\/]* ) # Absolute name.
42796 ac_srcdir
=$srcdir$ac_dir_suffix;
42797 ac_top_srcdir
=$srcdir
42798 ac_abs_top_srcdir
=$srcdir ;;
42799 *) # Relative name.
42800 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42801 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42802 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42804 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42814 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42815 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42819 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42820 # If the template does not know about datarootdir, expand it.
42821 # FIXME: This hack should be removed a few years after 2.60.
42822 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42833 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42834 *datarootdir
*) ac_datarootdir_seen
=yes;;
42835 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42837 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42840 ac_datarootdir_hack='
42841 s&@datadir@&$datadir&g
42842 s&@docdir@&$docdir&g
42843 s&@infodir@&$infodir&g
42844 s&@localedir@&$localedir&g
42845 s&@mandir@&$mandir&g
42846 s&\\\${datarootdir}&$datarootdir&g' ;;
42850 # Neutralize VPATH when `$srcdir' = `.'.
42851 # Shell code in configure.ac might set extrasub.
42852 # FIXME: do we really want to maintain this feature?
42853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42854 ac_sed_extra="$ac_vpsub
42857 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42859 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42860 s
|@configure_input@
|$ac_sed_conf_input|;t t
42861 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42862 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42863 s
&@srcdir@
&$ac_srcdir&;t t
42864 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42865 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42866 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42867 s
&@builddir@
&$ac_builddir&;t t
42868 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42869 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42870 s
&@INSTALL@
&$ac_INSTALL&;t t
42871 $ac_datarootdir_hack
42873 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42874 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42876 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42877 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42878 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42879 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42881 which seems to be undefined. Please make sure it is defined" >&5
42882 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42883 which seems to be undefined. Please make sure it is defined" >&2;}
42885 rm -f "$ac_tmp/stdin"
42887 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42888 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42890 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42896 if test x"$ac_file" != x-; then
42898 $as_echo "/* $configure_input */" \
42899 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42900 } >"$ac_tmp/config.h" \
42901 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42902 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42903 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42904 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42907 mv "$ac_tmp/config.h" "$ac_file" \
42908 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42911 $as_echo "/* $configure_input */" \
42912 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42913 || as_fn_error $? "could not create -" "$LINENO" 5
42917 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42918 $as_echo "$as_me: executing $ac_file commands" >&6;}
42923 case $ac_file$ac_mode in
42925 mkdir -p $outdir &&
42926 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42928 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42929 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42930 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42931 "wx-config":C
) rm -f wx
-config
42932 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42941 ac_clean_files
=$ac_clean_files_save
42943 test $ac_write_fail = 0 ||
42944 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42947 # configure is writing to config.log, and then calls config.status.
42948 # config.status does its own redirection, appending to config.log.
42949 # Unfortunately, on DOS this fails, as config.log is still kept open
42950 # by configure, so config.status won't be able to write to it; its
42951 # output is simply discarded. So we exec the FD to /dev/null,
42952 # effectively closing config.log, so it can be properly (re)opened and
42953 # appended to by config.status. When coming back to configure, we
42954 # need to make the FD available again.
42955 if test "$no_create" != yes; then
42957 ac_config_status_args
=
42958 test "$silent" = yes &&
42959 ac_config_status_args
="$ac_config_status_args --quiet"
42961 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42963 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42964 # would make configure fail if this is the last instruction.
42965 $ac_cs_success || as_fn_exit
1
42969 # CONFIG_SUBDIRS section.
42971 if test "$no_recursion" != yes; then
42973 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42974 # so they do not pile up.
42975 ac_sub_configure_args
=
42977 eval "set x $ac_configure_args"
42981 if test -n "$ac_prev"; then
42986 -cache-file | --cache-file | --cache-fil | --cache-fi \
42987 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42988 ac_prev
=cache_file
;;
42989 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42990 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42993 --config-cache | -C)
42995 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42997 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42999 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43001 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43003 --disable-option-checking)
43007 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43009 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
43013 # Always prepend --prefix to ensure using the same prefix
43014 # in subdir configurations.
43015 ac_arg
="--prefix=$prefix"
43017 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43019 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
43022 if test "$silent" = yes; then
43023 ac_sub_configure_args
="--silent $ac_sub_configure_args"
43026 # Always prepend --disable-option-checking to silence warnings, since
43027 # different subdirs can have different --enable and --with options.
43028 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
43031 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43033 # Do not complain, so a configure script can configure whichever
43034 # parts of a large source tree are present.
43035 test -d "$srcdir/$ac_dir" || continue
43037 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43038 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43039 $as_echo "$ac_msg" >&6
43040 as_dir
="$ac_dir"; as_fn_mkdir_p
43044 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
43046 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43047 # A ".." for each directory in $ac_dir_suffix.
43048 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43049 case $ac_top_builddir_sub in
43050 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
43051 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
43054 ac_abs_top_builddir
=$ac_pwd
43055 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
43056 # for backward compatibility:
43057 ac_top_builddir
=$ac_top_build_prefix
43060 .
) # We are building in place.
43062 ac_top_srcdir
=$ac_top_builddir_sub
43063 ac_abs_top_srcdir
=$ac_pwd ;;
43064 [\\/]* | ?
:[\\/]* ) # Absolute name.
43065 ac_srcdir
=$srcdir$ac_dir_suffix;
43066 ac_top_srcdir
=$srcdir
43067 ac_abs_top_srcdir
=$srcdir ;;
43068 *) # Relative name.
43069 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
43070 ac_top_srcdir
=$ac_top_build_prefix$srcdir
43071 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
43073 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
43078 # Check for guested configure; otherwise get Cygnus style configure.
43079 if test -f "$ac_srcdir/configure.gnu"; then
43080 ac_sub_configure
=$ac_srcdir/configure.gnu
43081 elif test -f "$ac_srcdir/configure"; then
43082 ac_sub_configure
=$ac_srcdir/configure
43083 elif test -f "$ac_srcdir/configure.in"; then
43084 # This should be Cygnus configure.
43085 ac_sub_configure
=$ac_aux_dir/configure
43087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43088 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43092 # The recursion is here.
43093 if test -n "$ac_sub_configure"; then
43094 # Make the cache file name correct relative to the subdirectory.
43095 case $cache_file in
43096 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43097 *) # Relative name.
43098 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
43101 { $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
43102 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43103 # The eval makes quoting arguments work.
43104 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43105 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43106 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43112 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
43113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43114 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43119 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43121 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43122 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43123 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43124 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43125 if test "$wxUSE_UNICODE" = "yes"; then
43126 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43127 echo " (using UTF-8)"
43129 echo " (using wchar_t)"
43135 echo " What level of wxWidgets compatibility should be enabled?"
43136 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43137 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43139 echo " Which libraries should wxWidgets use?"
43140 echo " STL ${wxUSE_STL}"
43141 echo " jpeg ${wxUSE_LIBJPEG-none}"
43142 echo " png ${wxUSE_LIBPNG-none}"
43143 echo " regex ${wxUSE_REGEX}"
43144 echo " tiff ${wxUSE_LIBTIFF-none}"
43145 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43146 echo " xpm ${wxUSE_LIBXPM-none}"
43148 echo " zlib ${wxUSE_ZLIB}"
43149 echo " expat ${wxUSE_EXPAT}"
43150 echo " libmspack ${wxUSE_LIBMSPACK}"
43151 echo " sdl ${wxUSE_LIBSDL}"