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_1
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
748 COND_TOOLKIT_DFB_USE_GUI_1
750 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
751 COND_TOOLKIT_COCOA_USE_GUI_1
754 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
756 COND_SHARED_0_wxUSE_ZLIB_builtin
757 COND_SHARED_0_wxUSE_REGEX_builtin
758 COND_SHARED_0_wxUSE_EXPAT_builtin
759 COND_SHARED_0_USE_STC_1
760 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
761 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
762 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
763 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
764 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
765 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
766 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
769 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
770 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
771 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
772 COND_PLATFORM_WIN32_1_SHARED_0
773 COND_PLATFORM_WIN32_1
774 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
775 COND_PLATFORM_WIN32_0
776 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
777 COND_PLATFORM_UNIX_1_USE_GUI_1
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
779 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
780 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
781 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
785 COND_PLATFORM_MSDOS_1
786 COND_PLATFORM_MSDOS_0
789 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
790 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
791 COND_PLATFORM_MACOSX_1_USE_GUI_1
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
800 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
802 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
803 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
804 COND_PLATFORM_MACOSX_1
805 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
806 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
807 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
808 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
809 COND_MONOLITHIC_1_USE_STC_1
810 COND_MONOLITHIC_1_SHARED_1
811 COND_MONOLITHIC_1_SHARED_0
813 COND_MONOLITHIC_0_USE_XRC_1
814 COND_MONOLITHIC_0_USE_WEBVIEW_1
815 COND_MONOLITHIC_0_USE_STC_1
816 COND_MONOLITHIC_0_USE_RICHTEXT_1
817 COND_MONOLITHIC_0_USE_RIBBON_1
818 COND_MONOLITHIC_0_USE_QA_1
819 COND_MONOLITHIC_0_USE_PROPGRID_1
820 COND_MONOLITHIC_0_USE_MEDIA_1
821 COND_MONOLITHIC_0_USE_HTML_1
822 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
823 COND_MONOLITHIC_0_USE_GUI_1
824 COND_MONOLITHIC_0_USE_AUI_1
825 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
826 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
827 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
828 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
829 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
835 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
836 COND_MONOLITHIC_0_SHARED_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
839 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
840 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
841 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0
857 COND_BUILD_release_DEBUG_INFO_default
859 COND_BUILD_debug_DEBUG_INFO_default
863 ICC_PCH_CREATE_SWITCH
971 LIBGNOMEPRINTUI_CFLAGS
1062 program_transform_name
1075 enable_option_checking
1081 enable_official_build
1125 with_macosx_version_min
1134 enable_std_containers
1135 enable_std_iostreams
1137 enable_std_string_conv_in_wxstring
1142 enable_extended_rtti
1147 enable_no_exceptions
1150 enable_vararg_macros
1151 enable_universal_binary
1156 enable_objc_uniquifying
1185 enable_dynamicloader
1202 enable_printfposparam
1217 enable_protocol_http
1219 enable_protocol_file
1270 enable_commandlinkbutton
1297 enable_rearrangectrl
1346 enable_accessibility
1349 enable_webviewwebkit
1369 with_gtk_exec_prefix
1371 with_libiconv_prefix
1373 with_sdl_exec_prefix
1375 enable_dependency_tracking
1376 enable_precomp_headers
1378 with_cppunit_exec_prefix
1380 ac_precious_vars
='build_alias
1417 LIBGNOMEPRINTUI_CFLAGS
1418 LIBGNOMEPRINTUI_LIBS
1433 ac_subdirs_all
='src/tiff
1436 # Initialize some variables set by options.
1438 ac_init_version
=false
1439 ac_unrecognized_opts
=
1440 ac_unrecognized_sep
=
1441 # The variables have the same names as the options, with
1442 # dashes changed to underlines.
1443 cache_file
=/dev
/null
1450 program_transform_name
=s
,x
,x
,
1458 # Installation directory options.
1459 # These are left unexpanded so users can "make install exec_prefix=/foo"
1460 # and all the variables that are supposed to be based on exec_prefix
1461 # by default will actually change.
1462 # Use braces instead of parens because sh, perl, etc. also accept them.
1463 # (The list follows the same order as the GNU Coding Standards.)
1464 bindir
='${exec_prefix}/bin'
1465 sbindir
='${exec_prefix}/sbin'
1466 libexecdir
='${exec_prefix}/libexec'
1467 datarootdir
='${prefix}/share'
1468 datadir
='${datarootdir}'
1469 sysconfdir
='${prefix}/etc'
1470 sharedstatedir
='${prefix}/com'
1471 localstatedir
='${prefix}/var'
1472 includedir
='${prefix}/include'
1473 oldincludedir
='/usr/include'
1474 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1475 infodir
='${datarootdir}/info'
1480 libdir
='${exec_prefix}/lib'
1481 localedir
='${datarootdir}/locale'
1482 mandir
='${datarootdir}/man'
1488 # If the previous option needs an argument, assign it.
1489 if test -n "$ac_prev"; then
1490 eval $ac_prev=\
$ac_option
1496 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1501 # Accept the important Cygnus configure options, so we can diagnose typos.
1503 case $ac_dashdash$ac_option in
1507 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1509 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1510 bindir
=$ac_optarg ;;
1512 -build | --build | --buil | --bui | --bu)
1513 ac_prev
=build_alias
;;
1514 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1515 build_alias
=$ac_optarg ;;
1517 -cache-file | --cache-file | --cache-fil | --cache-fi \
1518 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1519 ac_prev
=cache_file
;;
1520 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1521 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1522 cache_file
=$ac_optarg ;;
1524 --config-cache | -C)
1525 cache_file
=config.cache
;;
1527 -datadir | --datadir | --datadi | --datad)
1529 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1530 datadir
=$ac_optarg ;;
1532 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1533 | --dataroo | --dataro | --datar)
1534 ac_prev
=datarootdir
;;
1535 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1536 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1537 datarootdir
=$ac_optarg ;;
1539 -disable-* | --disable-*)
1540 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1541 # Reject names that are not valid shell variable names.
1542 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1543 as_fn_error $?
"invalid feature name: $ac_useropt"
1544 ac_useropt_orig
=$ac_useropt
1545 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1546 case $ac_user_opts in
1548 "enable_
$ac_useropt"
1550 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1551 ac_unrecognized_sep
=', ';;
1553 eval enable_
$ac_useropt=no
;;
1555 -docdir | --docdir | --docdi | --doc | --do)
1557 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1558 docdir
=$ac_optarg ;;
1560 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1562 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1563 dvidir
=$ac_optarg ;;
1565 -enable-* | --enable-*)
1566 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1567 # Reject names that are not valid shell variable names.
1568 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1569 as_fn_error $?
"invalid feature name: $ac_useropt"
1570 ac_useropt_orig
=$ac_useropt
1571 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1572 case $ac_user_opts in
1574 "enable_
$ac_useropt"
1576 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1577 ac_unrecognized_sep
=', ';;
1579 eval enable_
$ac_useropt=\
$ac_optarg ;;
1581 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1582 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1583 | --exec | --exe | --ex)
1584 ac_prev
=exec_prefix
;;
1585 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1586 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1587 | --exec=* | --exe=* | --ex=*)
1588 exec_prefix
=$ac_optarg ;;
1590 -gas | --gas | --ga | --g)
1591 # Obsolete; use --with-gas.
1594 -help | --help | --hel | --he | -h)
1595 ac_init_help
=long
;;
1596 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1597 ac_init_help
=recursive
;;
1598 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1599 ac_init_help
=short
;;
1601 -host | --host | --hos | --ho)
1602 ac_prev
=host_alias
;;
1603 -host=* | --host=* | --hos=* | --ho=*)
1604 host_alias
=$ac_optarg ;;
1606 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1608 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1610 htmldir
=$ac_optarg ;;
1612 -includedir | --includedir | --includedi | --included | --include \
1613 | --includ | --inclu | --incl | --inc)
1614 ac_prev
=includedir
;;
1615 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1616 | --includ=* | --inclu=* | --incl=* | --inc=*)
1617 includedir
=$ac_optarg ;;
1619 -infodir | --infodir | --infodi | --infod | --info | --inf)
1621 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1622 infodir
=$ac_optarg ;;
1624 -libdir | --libdir | --libdi | --libd)
1626 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1627 libdir
=$ac_optarg ;;
1629 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1630 | --libexe | --libex | --libe)
1631 ac_prev
=libexecdir
;;
1632 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1633 | --libexe=* | --libex=* | --libe=*)
1634 libexecdir
=$ac_optarg ;;
1636 -localedir | --localedir | --localedi | --localed | --locale)
1637 ac_prev
=localedir
;;
1638 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1639 localedir
=$ac_optarg ;;
1641 -localstatedir | --localstatedir | --localstatedi | --localstated \
1642 | --localstate | --localstat | --localsta | --localst | --locals)
1643 ac_prev
=localstatedir
;;
1644 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1645 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1646 localstatedir
=$ac_optarg ;;
1648 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1650 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1651 mandir
=$ac_optarg ;;
1653 -nfp | --nfp | --nf)
1654 # Obsolete; use --without-fp.
1657 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1658 | --no-cr | --no-c | -n)
1661 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1662 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1665 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1666 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1667 | --oldin | --oldi | --old | --ol | --o)
1668 ac_prev
=oldincludedir
;;
1669 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1670 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1671 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1672 oldincludedir
=$ac_optarg ;;
1674 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1676 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1677 prefix
=$ac_optarg ;;
1679 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1680 | --program-pre | --program-pr | --program-p)
1681 ac_prev
=program_prefix
;;
1682 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1683 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1684 program_prefix
=$ac_optarg ;;
1686 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1687 | --program-suf | --program-su | --program-s)
1688 ac_prev
=program_suffix
;;
1689 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1690 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1691 program_suffix
=$ac_optarg ;;
1693 -program-transform-name | --program-transform-name \
1694 | --program-transform-nam | --program-transform-na \
1695 | --program-transform-n | --program-transform- \
1696 | --program-transform | --program-transfor \
1697 | --program-transfo | --program-transf \
1698 | --program-trans | --program-tran \
1699 | --progr-tra | --program-tr | --program-t)
1700 ac_prev
=program_transform_name
;;
1701 -program-transform-name=* | --program-transform-name=* \
1702 | --program-transform-nam=* | --program-transform-na=* \
1703 | --program-transform-n=* | --program-transform-=* \
1704 | --program-transform=* | --program-transfor=* \
1705 | --program-transfo=* | --program-transf=* \
1706 | --program-trans=* | --program-tran=* \
1707 | --progr-tra=* | --program-tr=* | --program-t=*)
1708 program_transform_name
=$ac_optarg ;;
1710 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1712 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1713 pdfdir
=$ac_optarg ;;
1715 -psdir | --psdir | --psdi | --psd | --ps)
1717 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1721 | -silent | --silent | --silen | --sile | --sil)
1724 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1726 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1728 sbindir
=$ac_optarg ;;
1730 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1731 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1732 | --sharedst | --shareds | --shared | --share | --shar \
1734 ac_prev
=sharedstatedir
;;
1735 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1736 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1737 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1739 sharedstatedir
=$ac_optarg ;;
1741 -site | --site | --sit)
1743 -site=* | --site=* | --sit=*)
1746 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1748 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1749 srcdir
=$ac_optarg ;;
1751 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1752 | --syscon | --sysco | --sysc | --sys | --sy)
1753 ac_prev
=sysconfdir
;;
1754 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1755 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1756 sysconfdir
=$ac_optarg ;;
1758 -target | --target | --targe | --targ | --tar | --ta | --t)
1759 ac_prev
=target_alias
;;
1760 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1761 target_alias
=$ac_optarg ;;
1763 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1766 -version | --version | --versio | --versi | --vers | -V)
1767 ac_init_version
=: ;;
1770 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1771 # Reject names that are not valid shell variable names.
1772 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1773 as_fn_error $?
"invalid package name: $ac_useropt"
1774 ac_useropt_orig
=$ac_useropt
1775 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1776 case $ac_user_opts in
1780 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1781 ac_unrecognized_sep
=', ';;
1783 eval with_
$ac_useropt=\
$ac_optarg ;;
1785 -without-* | --without-*)
1786 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1787 # Reject names that are not valid shell variable names.
1788 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1789 as_fn_error $?
"invalid package name: $ac_useropt"
1790 ac_useropt_orig
=$ac_useropt
1791 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1792 case $ac_user_opts in
1796 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1797 ac_unrecognized_sep
=', ';;
1799 eval with_
$ac_useropt=no
;;
1802 # Obsolete; use --with-x.
1805 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1806 | --x-incl | --x-inc | --x-in | --x-i)
1807 ac_prev
=x_includes
;;
1808 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1809 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1810 x_includes
=$ac_optarg ;;
1812 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1813 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1814 ac_prev
=x_libraries
;;
1815 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1816 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1817 x_libraries
=$ac_optarg ;;
1819 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1820 Try \`$0 --help' for more information"
1824 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1825 # Reject names that are not valid shell variable names.
1826 case $ac_envvar in #(
1827 '' | [0-9]* | *[!_$as_cr_alnum]* )
1828 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1830 eval $ac_envvar=\
$ac_optarg
1831 export $ac_envvar ;;
1834 # FIXME: should be removed in autoconf 3.0.
1835 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1836 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1837 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1838 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1844 if test -n "$ac_prev"; then
1845 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1846 as_fn_error $?
"missing argument to $ac_option"
1849 if test -n "$ac_unrecognized_opts"; then
1850 case $enable_option_checking in
1852 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1853 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1857 # Check all directory arguments for consistency.
1858 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1859 datadir sysconfdir sharedstatedir localstatedir includedir \
1860 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1861 libdir localedir mandir
1863 eval ac_val
=\$
$ac_var
1864 # Remove trailing slashes.
1867 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1868 eval $ac_var=\
$ac_val;;
1870 # Be sure to have absolute directory names.
1872 [\\/$
]* | ?
:[\\/]* ) continue;;
1873 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1875 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1878 # There might be people who depend on the old broken behavior: `$host'
1879 # used to hold the argument of --host etc.
1880 # FIXME: To remove some day.
1883 target
=$target_alias
1885 # FIXME: To remove some day.
1886 if test "x$host_alias" != x
; then
1887 if test "x$build_alias" = x
; then
1888 cross_compiling
=maybe
1889 elif test "x$build_alias" != "x$host_alias"; then
1895 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1897 test "$silent" = yes && exec 6>/dev
/null
1900 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1901 ac_ls_di
=`ls -di .` &&
1902 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1903 as_fn_error $?
"working directory cannot be determined"
1904 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1905 as_fn_error $?
"pwd does not report name of working directory"
1908 # Find the source files, if location was not specified.
1909 if test -z "$srcdir"; then
1910 ac_srcdir_defaulted
=yes
1911 # Try the directory containing this script, then the parent directory.
1912 ac_confdir
=`$as_dirname -- "$as_myself" ||
1913 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1914 X"$as_myself" : 'X\(//\)[^/]' \| \
1915 X"$as_myself" : 'X\(//\)$' \| \
1916 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1917 $as_echo X"$as_myself" |
1918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1936 if test ! -r "$srcdir/$ac_unique_file"; then
1940 ac_srcdir_defaulted
=no
1942 if test ! -r "$srcdir/$ac_unique_file"; then
1943 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1944 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1946 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1948 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1950 # When building in place, set srcdir=.
1951 if test "$ac_abs_confdir" = "$ac_pwd"; then
1954 # Remove unnecessary trailing slashes from srcdir.
1955 # Double slashes in file names in object file debugging info
1956 # mess up M-x gdb in Emacs.
1958 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1960 for ac_var
in $ac_precious_vars; do
1961 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1962 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1963 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1964 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1968 # Report the --help message.
1970 if test "$ac_init_help" = "long"; then
1971 # Omit some internal or obsolete options to make the list less imposing.
1972 # This message is too long to be a string in the A/UX 3.1 sh.
1974 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1976 Usage: $0 [OPTION]... [VAR=VALUE]...
1978 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1979 VAR=VALUE. See below for descriptions of some of the useful variables.
1981 Defaults for the options are specified in brackets.
1984 -h, --help display this help and exit
1985 --help=short display options specific to this package
1986 --help=recursive display the short help of all the included packages
1987 -V, --version display version information and exit
1988 -q, --quiet, --silent do not print \`checking ...' messages
1989 --cache-file=FILE cache test results in FILE [disabled]
1990 -C, --config-cache alias for \`--cache-file=config.cache'
1991 -n, --no-create do not create output files
1992 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1994 Installation directories:
1995 --prefix=PREFIX install architecture-independent files in PREFIX
1996 [$ac_default_prefix]
1997 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2000 By default, \`make install' will install all the files in
2001 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2002 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2003 for instance \`--prefix=\$HOME'.
2005 For better control, use the options below.
2007 Fine tuning of the installation directories:
2008 --bindir=DIR user executables [EPREFIX/bin]
2009 --sbindir=DIR system admin executables [EPREFIX/sbin]
2010 --libexecdir=DIR program executables [EPREFIX/libexec]
2011 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2012 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2013 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2014 --libdir=DIR object code libraries [EPREFIX/lib]
2015 --includedir=DIR C header files [PREFIX/include]
2016 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2017 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2018 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2019 --infodir=DIR info documentation [DATAROOTDIR/info]
2020 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2021 --mandir=DIR man documentation [DATAROOTDIR/man]
2022 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2023 --htmldir=DIR html documentation [DOCDIR]
2024 --dvidir=DIR dvi documentation [DOCDIR]
2025 --pdfdir=DIR pdf documentation [DOCDIR]
2026 --psdir=DIR ps documentation [DOCDIR]
2032 --x-includes=DIR X include files are
in DIR
2033 --x-libraries=DIR X library files are
in DIR
2036 --build=BUILD configure
for building on BUILD
[guessed
]
2037 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2041 if test -n "$ac_init_help"; then
2042 case $ac_init_help in
2043 short
| recursive
) echo "Configuration of wxWidgets 2.9.5:";;
2048 --disable-option-checking ignore unrecognized
--enable/--with options
2049 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2050 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2051 --disable-gui don
't build GUI parts of the library
2052 --enable-monolithic build wxWidgets as single library
2053 --enable-plugins build parts of wxWidgets as loadable components
2054 --enable-official_build official build of wxWidgets (win32 DLL only)
2055 --enable-vendor=VENDOR vendor name (win32 DLL only)
2056 --disable-all-features disable all optional features to build minimal library
2057 --enable-universal use wxWidgets GUI controls instead of native ones
2058 --enable-nanox use NanoX
2059 --enable-gpe use GNOME PDA Environment features if possible
2060 --enable-debug build library for debugging
2061 --disable-debug_flag disable all debugging support
2062 --enable-debug_info generate debug information
2063 --enable-debug_gdb create code with extra GDB debugging information
2064 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2065 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2066 --disable-shared create static library instead of shared
2067 --enable-stl use standard C++ classes for everything
2068 --enable-std_containers use standard C++ container classes
2069 --enable-std_iostreams use standard C++ stream classes
2070 --enable-std_string use standard C++ string classes
2071 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2072 --disable-unicode compile without Unicode support
2073 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2074 --enable-utf8 use UTF-8 representation for strings (Unix only)
2075 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2076 --enable-extended_rtti use extended RTTI (XTI)
2077 --enable-omf use OMF object format
2078 --disable-optimise compile without optimisations
2079 --enable-profile create code with profiling information
2080 --enable-no_rtti create code without RTTI information
2081 --enable-no_exceptions create code without C++ exceptions handling
2082 --enable-permissive compile code disregarding strict ANSI
2083 --enable-no_deps create code without dependency information
2084 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2085 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2086 --enable-macosx_arch=ARCH build
for just the specified architecture
2087 --enable-compat26 enable wxWidgets
2.6 compatibility
2088 --disable-compat28 disable wxWidgets
2.8 compatibility
2089 --disable-rpath disable use of rpath
for uninstalled builds
2090 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2091 --disable-visibility disable use of ELF symbols visibility even
if supported
2092 --disable-tls disable use of compiler TLS support
2093 --enable-intl use internationalization system
2094 --enable-xlocale use x
-locale support
(requires wxLocale
)
2095 --enable-config use wxConfig
(and derived
) classes
2096 --enable-protocols use wxProtocol and derived classes
2097 --enable-ftp use wxFTP
(requires wxProtocol
2098 --enable-http use wxHTTP
(requires wxProtocol
2099 --enable-fileproto use wxFileProto class
(requires wxProtocol
2100 --enable-sockets use socket
/network classes
2101 --enable-ipv6 enable IPv6 support
in wxSocket
2102 --enable-ole use OLE classes
(Win32 only
)
2103 --enable-dataobj use data object classes
2104 --enable-ipc use interprocess communication
(wxSocket etc.
)
2105 --enable-baseevtloop use event loop
in console programs too
2106 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2107 --enable-selectloop use wxSelectDispatcher class
2108 --enable-any use wxAny class
2109 --enable-apple_ieee use the Apple IEEE codec
2110 --enable-arcstream use wxArchive streams
2111 --enable-base64 use base64 encoding
/decoding functions
2112 --enable-backtrace use wxStackWalker class
for getting backtraces
2113 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2114 --enable-cmdline use wxCmdLineParser class
2115 --enable-datetime use wxDateTime class
2116 --enable-debugreport use wxDebugReport class
2117 --enable-dialupman use dialup network classes
2118 --enable-dynlib use wxLibrary class
for DLL loading
2119 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2120 --enable-exceptions build exception
-safe library
2121 --enable-ffile use wxFFile class
2122 --enable-file use wxFile class
2123 --enable-filehistory use wxFileHistory class
2124 --enable-filesystem use virtual
file systems classes
2125 --enable-fontenum use wxFontEnumerator class
2126 --enable-fontmap use font encodings conversion classes
2127 --enable-fs_archive use virtual archive filesystems
2128 --enable-fs_inet use virtual HTTP
/FTP filesystems
2129 --enable-fs_zip now replaced by fs_archive
2130 --enable-fsvolume use wxFSVolume class
2131 --enable-fswatcher use wxFileSystemWatcher class
2132 --enable-geometry use geometry class
2133 --enable-log use logging system
2134 --enable-longlong use wxLongLong class
2135 --enable-mimetype use wxMimeTypesManager
2136 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2137 --enable-snglinst use wxSingleInstanceChecker class
2138 --enable-sound use wxSound class
2139 --enable-stdpaths use wxStandardPaths class
2140 --enable-stopwatch use wxStopWatch class
2141 --enable-streams use wxStream etc classes
2142 --enable-sysoptions use wxSystemOptions
2143 --enable-tarstream use wxTar streams
2144 --enable-textbuf use wxTextBuffer class
2145 --enable-textfile use wxTextFile class
2146 --enable-timer use wxTimer class
2147 --enable-variant use wxVariant class
2148 --enable-zipstream use wxZip streams
2149 --enable-url use wxURL class
2150 --enable-protocol use wxProtocol class
2151 --enable-protocol-http HTTP support
in wxProtocol
2152 --enable-protocol-ftp FTP support
in wxProtocol
2153 --enable-protocol-file FILE support
in wxProtocol
2154 --enable-threads use threads
2155 --enable-iniconf use wxIniConfig
(Win32 only
)
2156 --enable-regkey use wxRegKey class
(Win32 only
)
2157 --enable-docview use document view architecture
2158 --enable-help use
help subsystem
2159 --enable-mshtmlhelp use MS HTML Help
(win32
)
2160 --enable-html use wxHTML sub
-library
2161 --enable-htmlhelp use wxHTML
-based help
2162 --enable-xrc use XRC resources sub
-library
2163 --enable-aui use AUI docking library
2164 --enable-propgrid use wxPropertyGrid library
2165 --enable-ribbon use wxRibbon library
2166 --enable-stc use wxStyledTextCtrl library
2167 --enable-constraints use layout
-constraints system
2168 --enable-loggui use standard GUI logger
2169 --enable-logwin use wxLogWindow
2170 --enable-logdialog use wxLogDialog
2171 --enable-mdi use multiple document interface architecture
2172 --enable-mdidoc use docview architecture with MDI
2173 --enable-mediactrl use wxMediaCtrl class
2174 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2175 --enable-richtext use wxRichTextCtrl
2176 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2177 --enable-printarch use printing architecture
2178 --enable-svg use wxSVGFileDC device context
2179 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2180 --enable-webview use wxWebView library
2181 --enable-graphics_ctx use graphics context
2D drawing API
2182 --enable-clipboard use wxClipboard class
2183 --enable-dnd use Drag
'n'Drop classes
2184 --disable-controls disable compilation of all standard controls
2185 --enable-markup support wxControl
::SetLabelMarkup
2186 --enable-accel use accelerators
2187 --enable-animatectrl use wxAnimationCtrl class
2188 --enable-bannerwindow use wxBannerWindow class
2189 --enable-artstd use standard XPM icons
in wxArtProvider
2190 --enable-arttango use Tango icons
in wxArtProvider
2191 --enable-bmpbutton use wxBitmapButton class
2192 --enable-bmpcombobox use wxBitmapComboBox class
2193 --enable-button use wxButton class
2194 --enable-calendar use wxCalendarCtrl class
2195 --enable-caret use wxCaret class
2196 --enable-checkbox use wxCheckBox class
2197 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2198 --enable-choice use wxChoice class
2199 --enable-choicebook use wxChoicebook class
2200 --enable-collpane use wxCollapsiblePane class
2201 --enable-colourpicker use wxColourPickerCtrl class
2202 --enable-combobox use wxComboBox class
2203 --enable-comboctrl use wxComboCtrl class
2204 --enable-commandlinkbutton use wxCommmandLinkButton class
2205 --enable-dataviewctrl use wxDataViewCtrl class
2206 --enable-datepick use wxDatePickerCtrl class
2207 --enable-detect_sm use code to detect X11 session manager
2208 --enable-dirpicker use wxDirPickerCtrl class
2209 --enable-display use wxDisplay class
2210 --enable-editablebox use wxEditableListBox class
2211 --enable-filectrl use wxFileCtrl class
2212 --enable-filepicker use wxFilePickerCtrl class
2213 --enable-fontpicker use wxFontPickerCtrl class
2214 --enable-gauge use wxGauge class
2215 --enable-grid use wxGrid class
2216 --enable-headerctrl use wxHeaderCtrl class
2217 --enable-hyperlink use wxHyperlinkCtrl class
2218 --enable-imaglist use wxImageList class
2219 --enable-infobar use wxInfoBar class
2220 --enable-listbook use wxListbook class
2221 --enable-listbox use wxListBox class
2222 --enable-listctrl use wxListCtrl class
2223 --enable-notebook use wxNotebook class
2224 --enable-notifmsg use wxNotificationMessage class
2225 --enable-odcombobox use wxOwnerDrawnComboBox class
2226 --enable-popupwin use wxPopUpWindow class
2227 --enable-radiobox use wxRadioBox class
2228 --enable-radiobtn use wxRadioButton class
2229 --enable-richmsgdlg use wxRichMessageDialog class
2230 --enable-richtooltip use wxRichToolTip class
2231 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2232 --enable-sash use wxSashWindow class
2233 --enable-scrollbar use wxScrollBar class and scrollable windows
2234 --enable-searchctrl use wxSearchCtrl class
2235 --enable-slider use wxSlider class
2236 --enable-spinbtn use wxSpinButton class
2237 --enable-spinctrl use wxSpinCtrl class
2238 --enable-splitter use wxSplitterWindow class
2239 --enable-statbmp use wxStaticBitmap class
2240 --enable-statbox use wxStaticBox class
2241 --enable-statline use wxStaticLine class
2242 --enable-stattext use wxStaticText class
2243 --enable-statusbar use wxStatusBar class
2244 --enable-taskbaricon use wxTaskBarIcon class
2245 --enable-tbarnative use native wxToolBar class
2246 --enable-textctrl use wxTextCtrl class
2247 --enable-timepick use wxTimePickerCtrl class
2248 --enable-tipwindow use wxTipWindow class
2249 --enable-togglebtn use wxToggleButton class
2250 --enable-toolbar use wxToolBar class
2251 --enable-toolbook use wxToolbook class
2252 --enable-treebook use wxTreebook class
2253 --enable-treectrl use wxTreeCtrl class
2254 --enable-treelist use wxTreeListCtrl class
2255 --enable-commondlg use all common dialogs
2256 --enable-aboutdlg use wxAboutBox
2257 --enable-choicedlg use wxChoiceDialog
2258 --enable-coldlg use wxColourDialog
2259 --enable-filedlg use wxFileDialog
2260 --enable-finddlg use wxFindReplaceDialog
2261 --enable-fontdlg use wxFontDialog
2262 --enable-dirdlg use wxDirDialog
2263 --enable-msgdlg use wxMessageDialog
2264 --enable-numberdlg use wxNumberEntryDialog
2265 --enable-splash use wxSplashScreen
2266 --enable-textdlg use wxTextDialog
2267 --enable-tipdlg use startup tips
2268 --enable-progressdlg use wxProgressDialog
2269 --enable-wizarddlg use wxWizard
2270 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2271 --enable-miniframe use wxMiniFrame class
2272 --enable-tooltips use wxToolTip class
2273 --enable-splines use spline drawing code
2274 --enable-mousewheel use mousewheel
2275 --enable-validators use wxValidator and derived classes
2276 --enable-busyinfo use wxBusyInfo
2277 --enable-hotkey use wxWindow
::RegisterHotKey
()
2278 --enable-joystick use wxJoystick
2279 --enable-metafiles use wxMetaFile
2280 --enable-dragimage use wxDragImage
2281 --enable-accessibility enable accessibility support
2282 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2283 --enable-dctransform use wxDC
::SetTransformMatrix and related
2284 --enable-webviewwebkit use wxWebView WebKit backend
2285 --enable-palette use wxPalette class
2286 --enable-image use wxImage class
2287 --enable-gif use gif images
(GIF
file format
)
2288 --enable-pcx use pcx images
(PCX
file format
)
2289 --enable-tga use tga images
(TGA
file format
)
2290 --enable-iff use iff images
(IFF
file format
)
2291 --enable-pnm use pnm images
(PNM
file format
)
2292 --enable-xpm use xpm images
(XPM
file format
)
2293 --enable-ico_cur use Windows ICO and CUR formats
2294 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2295 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2296 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2297 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2298 --enable-wxdib use wxDIB class
(Win32 only
)
2299 --enable-webviewie use wxWebView IE backend
(Win32 only
)
2300 --enable-autoidman use automatic ids management
2301 --disable-largefile omit support
for large files
2302 --disable-gtktest do not try to compile and run a
test GTK
+ program
2303 --disable-gtktest Do not try to compile and run a
test GTK program
2304 --disable-sdltest Do not try to compile and run a
test SDL program
2305 --enable-omf use OMF object format
(OS
/2)
2306 --disable-dependency-tracking
2307 don
't use dependency tracking even if the compiler
2309 --disable-precomp-headers
2310 don't use precompiled headers even
if compiler can
2313 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2314 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2315 --without-subdirs don
't generate makefiles for samples/demos/...
2316 --with-flavour=NAME specify a name to identify this build
2317 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2318 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2319 --with-motif use Motif/Lesstif
2320 --with-osx_carbon use Mac OS X (Carbon)
2321 --with-osx_cocoa use Mac OS X (Cocoa)
2322 --with-osx_iphone use iPhone OS X port
2323 --with-osx use Mac OS X (default port, currently Carbon)
2324 --with-carbon same as --with-osx_carbon
2325 --with-cocoa same as --with-osx_cocoa
2326 --with-iphone same as --with-osx_iphone
2327 --with-mac same as --with-osx
2328 --with-old_cocoa use old, deprecated, Cocoa port
2329 --with-wine use Wine
2330 --with-msw use MS-Windows
2331 --with-pm use OS/2 Presentation Manager
2332 --with-directfb use DirectFB
2333 --with-microwin use MicroWindows
2335 --with-libpng use libpng (PNG image format)
2336 --with-libjpeg use libjpeg (JPEG file format)
2337 --with-libtiff use libtiff (TIFF file format)
2338 --without-libjbig don't use libjbig
in libtiff even
if available
)
2339 --without-liblzma don
't use liblzma in libtiff even if available)
2340 --with-libxpm use libxpm (XPM file format)
2341 --with-libiconv use libiconv (character conversion)
2342 --with-libmspack use libmspack (CHM help files loading)
2343 --without-gtkprint don't use GTK printing support
2344 --without-gnomeprint don
't use GNOME printing libraries
2345 --with-gnomevfs use GNOME VFS for associating MIME types
2346 --with-libnotify use libnotify for notifications
2347 --with-hildon use Hildon framework for Nokia 770/800/810
2348 --with-opengl use OpenGL (or Mesa)
2349 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2350 --with-sdl use SDL for audio on Unix
2351 --with-regex enable support for wxRegEx class
2352 --with-zlib use zlib for LZW compression
2353 --with-expat enable XML support using expat parser
2354 --with-macosx-sdk=PATH use an OS X SDK at PATH
2355 --with-macosx-version-min=VER build binaries which require at least this OS X version
2356 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2357 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2358 --with-x use the X Window System
2359 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2360 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2361 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2362 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2363 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2365 Some influential environment variables:
2366 CC C compiler command
2367 CFLAGS C compiler flags
2368 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2369 nonstandard directory <lib dir>
2370 LIBS libraries to pass to the linker, e.g. -l<library>
2371 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2372 you have headers in a nonstandard directory <include dir>
2374 CXX C++ compiler command
2375 CXXFLAGS C++ compiler flags
2376 CXXCPP C++ preprocessor
2377 PKG_CONFIG path to pkg-config utility
2379 C compiler flags for DIRECTFB, overriding pkg-config
2381 linker flags for DIRECTFB, overriding pkg-config
2382 XMKMF Path to xmkmf, Makefile generator for X Window System
2384 C compiler flags for PANGOX, overriding pkg-config
2385 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2387 C compiler flags for PANGOFT2, overriding pkg-config
2389 linker flags for PANGOFT2, overriding pkg-config
2391 C compiler flags for PANGOXFT, overriding pkg-config
2393 linker flags for PANGOXFT, overriding pkg-config
2395 C compiler flags for Xinerama, overriding pkg-config
2397 linker flags for Xinerama, overriding pkg-config
2399 C compiler flags for Xxf86vm, overriding pkg-config
2401 linker flags for Xxf86vm, overriding pkg-config
2402 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2403 SM_LIBS linker flags for SM, overriding pkg-config
2404 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2405 GL_LIBS linker flags for GL, overriding pkg-config
2406 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2407 GLU_LIBS linker flags for GLU, overriding pkg-config
2409 C compiler flags for MesaGL, overriding pkg-config
2410 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2412 C compiler flags for GTKPRINT, overriding pkg-config
2414 linker flags for GTKPRINT, overriding pkg-config
2415 LIBGNOMEPRINTUI_CFLAGS
2416 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2417 LIBGNOMEPRINTUI_LIBS
2418 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2420 C compiler flags for GNOMEVFS, overriding pkg-config
2422 linker flags for GNOMEVFS, overriding pkg-config
2424 C compiler flags for LIBNOTIFY, overriding pkg-config
2426 linker flags for LIBNOTIFY, overriding pkg-config
2428 C compiler flags for HILDON, overriding pkg-config
2429 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2431 C compiler flags for HILDON2, overriding pkg-config
2433 linker flags for HILDON2, overriding pkg-config
2435 C compiler flags for WEBKIT, overriding pkg-config
2436 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2438 C compiler flags for CAIRO, overriding pkg-config
2439 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2440 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2441 GST_LIBS linker flags for GST, overriding pkg-config
2443 Use these variables to override the choices made by `configure' or to
help
2444 it to
find libraries and programs with nonstandard names
/locations.
2446 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2451 if test "$ac_init_help" = "recursive"; then
2452 # If there are subdirs, report their specific --help.
2453 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2454 test -d "$ac_dir" ||
2455 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2460 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2462 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2463 # A ".." for each directory in $ac_dir_suffix.
2464 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2465 case $ac_top_builddir_sub in
2466 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2467 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2470 ac_abs_top_builddir
=$ac_pwd
2471 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2472 # for backward compatibility:
2473 ac_top_builddir
=$ac_top_build_prefix
2476 .
) # We are building in place.
2478 ac_top_srcdir
=$ac_top_builddir_sub
2479 ac_abs_top_srcdir
=$ac_pwd ;;
2480 [\\/]* | ?
:[\\/]* ) # Absolute name.
2481 ac_srcdir
=$srcdir$ac_dir_suffix;
2482 ac_top_srcdir
=$srcdir
2483 ac_abs_top_srcdir
=$srcdir ;;
2485 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2486 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2487 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2489 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2491 cd "$ac_dir" || { ac_status
=$?
; continue; }
2492 # Check for guested configure.
2493 if test -f "$ac_srcdir/configure.gnu"; then
2495 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2496 elif test -f "$ac_srcdir/configure"; then
2498 $SHELL "$ac_srcdir/configure" --help=recursive
2500 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2502 cd "$ac_pwd" || { ac_status
=$?
; break; }
2506 test -n "$ac_init_help" && exit $ac_status
2507 if $ac_init_version; then
2509 wxWidgets configure
2.9.5
2510 generated by GNU Autoconf
2.69
2512 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2513 This configure
script is free software
; the Free Software Foundation
2514 gives unlimited permission to copy
, distribute and modify it.
2519 ## ------------------------ ##
2520 ## Autoconf initialization. ##
2521 ## ------------------------ ##
2523 # ac_fn_c_try_compile LINENO
2524 # --------------------------
2525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2526 ac_fn_c_try_compile
()
2528 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2529 rm -f conftest.
$ac_objext
2530 if { { ac_try
="$ac_compile"
2532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2536 $as_echo "$ac_try_echo"; } >&5
2537 (eval "$ac_compile") 2>conftest.err
2539 if test -s conftest.err; then
2540 grep -v '^ *+' conftest.err >conftest.er1
2541 cat conftest.er1 >&5
2542 mv -f conftest.er1 conftest.err
2544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2545 test $ac_status = 0; } && {
2546 test -z "$ac_c_werror_flag" ||
2547 test ! -s conftest.err
2548 } && test -s conftest.$ac_objext; then :
2551 $as_echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2556 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2557 as_fn_set_status $ac_retval
2559 } # ac_fn_c_try_compile
2561 # ac_fn_c_try_cpp LINENO
2562 # ----------------------
2563 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2567 if { { ac_try="$ac_cpp conftest.$ac_ext"
2569 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2570 *) ac_try_echo
=$ac_try;;
2572 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2576 if test -s conftest.err
; then
2577 grep -v '^ *+' conftest.err
>conftest.er1
2578 cat conftest.er1
>&5
2579 mv -f conftest.er1 conftest.err
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; } > conftest.i
&& {
2583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2584 test ! -s conftest.err
2588 $as_echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.
$ac_ext >&5
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594 as_fn_set_status
$ac_retval
2598 # ac_fn_cxx_try_compile LINENO
2599 # ----------------------------
2600 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2601 ac_fn_cxx_try_compile
()
2603 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2604 rm -f conftest.
$ac_objext
2605 if { { ac_try
="$ac_compile"
2607 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2611 $as_echo "$ac_try_echo"; } >&5
2612 (eval "$ac_compile") 2>conftest.err
2614 if test -s conftest.err; then
2615 grep -v '^ *+' conftest.err >conftest.er1
2616 cat conftest.er1 >&5
2617 mv -f conftest.er1 conftest.err
2619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620 test $ac_status = 0; } && {
2621 test -z "$ac_cxx_werror_flag" ||
2622 test ! -s conftest.err
2623 } && test -s conftest.$ac_objext; then :
2626 $as_echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.$ac_ext >&5
2631 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2632 as_fn_set_status $ac_retval
2634 } # ac_fn_cxx_try_compile
2636 # ac_fn_c_try_link LINENO
2637 # -----------------------
2638 # Try to link conftest.$ac_ext, and return whether this succeeded.
2641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2642 rm -f conftest.$ac_objext conftest$ac_exeext
2643 if { { ac_try="$ac_link"
2645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2646 *) ac_try_echo
=$ac_try;;
2648 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2649 $as_echo "$ac_try_echo"; } >&5
2650 (eval "$ac_link") 2>conftest.err
2652 if test -s conftest.err
; then
2653 grep -v '^ *+' conftest.err
>conftest.er1
2654 cat conftest.er1
>&5
2655 mv -f conftest.er1 conftest.err
2657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2658 test $ac_status = 0; } && {
2659 test -z "$ac_c_werror_flag" ||
2660 test ! -s conftest.err
2661 } && test -s conftest
$ac_exeext && {
2662 test "$cross_compiling" = yes ||
2663 test -x conftest
$ac_exeext
2667 $as_echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.
$ac_ext >&5
2672 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2673 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2674 # interfere with the next link command; also delete a directory that is
2675 # left behind by Apple's compiler. We do this before executing the actions.
2676 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2678 as_fn_set_status
$ac_retval
2680 } # ac_fn_c_try_link
2682 # ac_fn_cxx_try_link LINENO
2683 # -------------------------
2684 # Try to link conftest.$ac_ext, and return whether this succeeded.
2685 ac_fn_cxx_try_link
()
2687 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2688 rm -f conftest.
$ac_objext conftest
$ac_exeext
2689 if { { ac_try
="$ac_link"
2691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696 (eval "$ac_link") 2>conftest.err
2698 if test -s conftest.err; then
2699 grep -v '^ *+' conftest.err >conftest.er1
2700 cat conftest.er1 >&5
2701 mv -f conftest.er1 conftest.err
2703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2704 test $ac_status = 0; } && {
2705 test -z "$ac_cxx_werror_flag" ||
2706 test ! -s conftest.err
2707 } && test -s conftest$ac_exeext && {
2708 test "$cross_compiling" = yes ||
2709 test -x conftest$ac_exeext
2713 $as_echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.$ac_ext >&5
2718 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2719 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2720 # interfere with the next link command; also delete a directory that is
2721 # left behind by Apple's compiler. We do this before executing the actions.
2722 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2724 as_fn_set_status $ac_retval
2726 } # ac_fn_cxx_try_link
2728 # ac_fn_c_try_run LINENO
2729 # ----------------------
2730 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2731 # that executables *can* be run.
2734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2735 if { { ac_try="$ac_link"
2737 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2738 *) ac_try_echo
=$ac_try;;
2740 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742 (eval "$ac_link") 2>&5
2744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2746 { { case "(($ac_try" in
2747 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2751 $as_echo "$ac_try_echo"; } >&5
2752 (eval "$ac_try") 2>&5
2754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2755 test $ac_status = 0; }; }; then :
2758 $as_echo "$as_me: program exited with status $ac_status" >&5
2759 $as_echo "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.$ac_ext >&5
2762 ac_retval=$ac_status
2764 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 as_fn_set_status $ac_retval
2770 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2771 # -------------------------------------------------------
2772 # Tests whether HEADER exists and can be compiled using the include files in
2773 # INCLUDES, setting the cache variable VAR accordingly.
2774 ac_fn_c_check_header_compile ()
2776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2778 $as_echo_n "checking for $2... " >&6; }
2779 if eval \${$3+:} false; then :
2780 $as_echo_n "(cached) " >&6
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2787 if ac_fn_c_try_compile "$LINENO"; then :
2792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2796 $as_echo "$ac_res" >&6; }
2797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2799 } # ac_fn_c_check_header_compile
2801 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2802 # ---------------------------------------------------------
2803 # Tests whether HEADER exists and can be compiled using the include files in
2804 # INCLUDES, setting the cache variable VAR accordingly.
2805 ac_fn_cxx_check_header_compile ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2809 $as_echo_n "checking for $2... " >&6; }
2810 if eval \${$3+:} false; then :
2811 $as_echo_n "(cached) " >&6
2813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2814 /* end confdefs.h. */
2818 if ac_fn_cxx_try_compile "$LINENO"; then :
2823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2827 $as_echo "$ac_res" >&6; }
2828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 } # ac_fn_cxx_check_header_compile
2832 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2833 # --------------------------------------------
2834 # Tries to find the compile-time value of EXPR in a program that includes
2835 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2837 ac_fn_c_compute_int ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 if test "$cross_compiling" = yes; then
2841 # Depending upon the size, compute the lo and hi bounds.
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2848 static int test_array [1 - 2 * !(($2) >= 0)];
2850 return test_array [0];
2856 if ac_fn_c_try_compile "$LINENO"; then :
2859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2860 /* end confdefs.h. */
2865 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2867 return test_array [0];
2873 if ac_fn_c_try_compile "$LINENO"; then :
2874 ac_hi=$ac_mid; break
2876 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2877 if test $ac_lo -le $ac_mid; then
2881 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2892 static int test_array [1 - 2 * !(($2) < 0)];
2894 return test_array [0];
2900 if ac_fn_c_try_compile "$LINENO"; then :
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2909 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2911 return test_array [0];
2917 if ac_fn_c_try_compile "$LINENO"; then :
2918 ac_lo=$ac_mid; break
2920 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2921 if test $ac_mid -le $ac_hi; then
2925 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2935 # Binary search between lo and hi bounds.
2936 while test "x$ac_lo" != "x$ac_hi"; do
2937 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2944 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2946 return test_array [0];
2952 if ac_fn_c_try_compile "$LINENO"; then :
2955 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2960 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2967 static long int longval () { return $2; }
2968 static unsigned long int ulongval () { return $2; }
2975 FILE *f = fopen ("conftest.val", "w");
2980 long int i = longval ();
2983 fprintf (f, "%ld", i);
2987 unsigned long int i = ulongval ();
2990 fprintf (f, "%lu", i);
2992 /* Do not output a trailing newline, as this causes \r\n confusion
2993 on some platforms. */
2994 return ferror (f) || fclose (f) != 0;
3000 if ac_fn_c_try_run "$LINENO"; then :
3001 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3006 conftest.$ac_objext conftest.beam conftest.$ac_ext
3010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011 as_fn_set_status $ac_retval
3013 } # ac_fn_c_compute_int
3015 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3016 # ---------------------------------------------
3017 # Tests whether TYPE exists after having included INCLUDES, setting cache
3018 # variable VAR accordingly.
3019 ac_fn_cxx_check_type ()
3021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3023 $as_echo_n "checking for $2... " >&6; }
3024 if eval \${$3+:} false; then :
3025 $as_echo_n "(cached) " >&6
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3040 if ac_fn_cxx_try_compile "$LINENO"; then :
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042 /* end confdefs.h. */
3053 if ac_fn_cxx_try_compile "$LINENO"; then :
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3064 $as_echo "$ac_res" >&6; }
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3067 } # ac_fn_cxx_check_type
3069 # ac_fn_cxx_try_cpp LINENO
3070 # ------------------------
3071 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3072 ac_fn_cxx_try_cpp ()
3074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3075 if { { ac_try="$ac_cpp conftest.$ac_ext"
3077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3078 *) ac_try_echo
=$ac_try;;
3080 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3081 $as_echo "$ac_try_echo"; } >&5
3082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3084 if test -s conftest.err
; then
3085 grep -v '^ *+' conftest.err
>conftest.er1
3086 cat conftest.er1
>&5
3087 mv -f conftest.er1 conftest.err
3089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090 test $ac_status = 0; } > conftest.i
&& {
3091 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3092 test ! -s conftest.err
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.
$ac_ext >&5
3101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3102 as_fn_set_status
$ac_retval
3104 } # ac_fn_cxx_try_cpp
3106 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3107 # ---------------------------------------------------------
3108 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3109 # the include files in INCLUDES and setting the cache variable VAR
3111 ac_fn_cxx_check_header_mongrel
()
3113 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3114 if eval \
${$3+:} false
; then :
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3116 $as_echo_n "checking for $2... " >&6; }
3117 if eval \
${$3+:} false
; then :
3118 $as_echo_n "(cached) " >&6
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3122 $as_echo "$ac_res" >&6; }
3124 # Is the header compilable?
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3126 $as_echo_n "checking $2 usability... " >&6; }
3127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3128 /* end confdefs.h. */
3132 if ac_fn_cxx_try_compile
"$LINENO"; then :
3133 ac_header_compiler
=yes
3135 ac_header_compiler
=no
3137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3139 $as_echo "$ac_header_compiler" >&6; }
3141 # Is the header present?
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3143 $as_echo_n "checking $2 presence... " >&6; }
3144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3148 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3149 ac_header_preproc
=yes
3151 ac_header_preproc
=no
3153 rm -f conftest.err conftest.i conftest.
$ac_ext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3155 $as_echo "$ac_header_preproc" >&6; }
3157 # So? What about this header?
3158 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3161 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3163 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3167 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3169 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3171 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3173 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3175 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3176 ( $as_echo "## ----------------------------------------- ##
3177 ## Report this to wx-dev@lists.wxwidgets.org ##
3178 ## ----------------------------------------- ##"
3179 ) | sed "s/^/$as_me: WARNING: /" >&2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3183 $as_echo_n "checking for $2... " >&6; }
3184 if eval \
${$3+:} false
; then :
3185 $as_echo_n "(cached) " >&6
3187 eval "$3=\$ac_header_compiler"
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3191 $as_echo "$ac_res" >&6; }
3193 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3195 } # ac_fn_cxx_check_header_mongrel
3197 # ac_fn_c_check_func LINENO FUNC VAR
3198 # ----------------------------------
3199 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3200 ac_fn_c_check_func
()
3202 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3204 $as_echo_n "checking for $2... " >&6; }
3205 if eval \
${$3+:} false
; then :
3206 $as_echo_n "(cached) " >&6
3208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3210 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3212 #define $2 innocuous_$2
3214 /* System header to define __stub macros and hopefully few prototypes,
3215 which can conflict with char $2 (); below.
3216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3217 <limits.h> exists even on freestanding compilers. */
3220 # include <limits.h>
3222 # include <assert.h>
3227 /* Override any GCC internal prototype to avoid an error.
3228 Use char because int might match the return type of a GCC
3229 builtin and then its argument prototype would still apply. */
3234 /* The GNU C library defines this for functions which it implements
3235 to always fail with ENOSYS. Some functions are actually named
3236 something starting with __ and the normal name is an alias. */
3237 #if defined __stub_$2 || defined __stub___$2
3249 if ac_fn_c_try_link
"$LINENO"; then :
3254 rm -f core conftest.err conftest.
$ac_objext \
3255 conftest
$ac_exeext conftest.
$ac_ext
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3259 $as_echo "$ac_res" >&6; }
3260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3262 } # ac_fn_c_check_func
3264 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3265 # -------------------------------------------
3266 # Tests whether TYPE exists after having included INCLUDES, setting cache
3267 # variable VAR accordingly.
3268 ac_fn_c_check_type
()
3270 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3272 $as_echo_n "checking for $2... " >&6; }
3273 if eval \
${$3+:} false
; then :
3274 $as_echo_n "(cached) " >&6
3277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3289 if ac_fn_c_try_compile
"$LINENO"; then :
3290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3302 if ac_fn_c_try_compile
"$LINENO"; then :
3307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3313 $as_echo "$ac_res" >&6; }
3314 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3316 } # ac_fn_c_check_type
3318 # ac_fn_cxx_try_run LINENO
3319 # ------------------------
3320 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3321 # that executables *can* be run.
3322 ac_fn_cxx_try_run
()
3324 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3325 if { { ac_try
="$ac_link"
3327 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3328 *) ac_try_echo=$ac_try;;
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332 (eval "$ac_link") 2>&5
3334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3336 { { case "(($ac_try" in
3337 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3338 *) ac_try_echo
=$ac_try;;
3340 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341 $as_echo "$ac_try_echo"; } >&5
3342 (eval "$ac_try") 2>&5
3344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345 test $ac_status = 0; }; }; then :
3348 $as_echo "$as_me: program exited with status $ac_status" >&5
3349 $as_echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.
$ac_ext >&5
3352 ac_retval
=$ac_status
3354 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3355 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3356 as_fn_set_status
$ac_retval
3358 } # ac_fn_cxx_try_run
3359 cat >config.log
<<_ACEOF
3360 This file contains any messages produced by compilers while
3361 running configure, to aid debugging if configure makes a mistake.
3363 It was created by wxWidgets $as_me 2.9.5, which was
3364 generated by GNU Autoconf 2.69. Invocation command line was
3376 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3377 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3378 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3379 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3380 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3382 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3383 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3385 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3386 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3387 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3388 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3389 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3390 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3391 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3399 test -z "$as_dir" && as_dir
=.
3400 $as_echo "PATH: $as_dir"
3416 # Keep a trace of the command line.
3417 # Strip out --no-create and --no-recursion so they do not pile up.
3418 # Strip out --silent because we don't want to record it for future runs.
3419 # Also quote any args containing shell meta-characters.
3420 # Make two passes to allow for proper duplicate-argument suppression.
3424 ac_must_keep_next
=false
3430 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3431 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3432 | -silent | --silent | --silen | --sile | --sil)
3435 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3438 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3440 as_fn_append ac_configure_args1
" '$ac_arg'"
3441 if test $ac_must_keep_next = true
; then
3442 ac_must_keep_next
=false
# Got value, back to normal.
3445 *=* | --config-cache | -C | -disable-* | --disable-* \
3446 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3447 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3448 | -with-* | --with-* | -without-* | --without-* | --x)
3449 case "$ac_configure_args0 " in
3450 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3453 -* ) ac_must_keep_next
=true
;;
3456 as_fn_append ac_configure_args
" '$ac_arg'"
3461 { ac_configure_args0
=; unset ac_configure_args0
;}
3462 { ac_configure_args1
=; unset ac_configure_args1
;}
3464 # When interrupted or exit'd, cleanup temporary files, and complete
3465 # config.log. We remove comments because anyway the quotes in there
3466 # would cause problems or look ugly.
3467 # WARNING: Use '\'' to represent an apostrophe within the trap.
3468 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3469 trap 'exit_status=$?
3470 # Save into config.log some information that might help in debugging.
3474 $as_echo "## ---------------- ##
3475 ## Cache variables. ##
3476 ## ---------------- ##"
3478 # The following way of writing the cache mishandles newlines in values,
3480 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3481 eval ac_val=\$$ac_var
3485 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3489 _ | IFS | as_nl) ;; #(
3490 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3491 *) { eval $ac_var=; unset $ac_var;} ;;
3496 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3497 *${as_nl}ac_space=\ *)
3499 "s/'\''/'\''\\\\'\'''\''/g;
3500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3503 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3510 $as_echo "## ----------------- ##
3511 ## Output variables. ##
3512 ## ----------------- ##"
3514 for ac_var in $ac_subst_vars
3516 eval ac_val=\$$ac_var
3518 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3520 $as_echo "$ac_var='\''$ac_val'\''"
3524 if test -n "$ac_subst_files"; then
3525 $as_echo "## ------------------- ##
3526 ## File substitutions. ##
3527 ## ------------------- ##"
3529 for ac_var
in $ac_subst_files
3531 eval ac_val
=\$
$ac_var
3533 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3535 $as_echo "$ac_var='\''$ac_val'\''"
3540 if test -s confdefs.h; then
3541 $as_echo "## ----------- ##
3548 test "$ac_signal" != 0 &&
3549 $as_echo "$as_me: caught signal $ac_signal"
3550 $as_echo "$as_me: exit $exit_status"
3552 rm -f core *.core core.conftest.* &&
3553 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3556 for ac_signal
in 1 2 13 15; do
3557 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3561 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3562 rm -f -r conftest
* confdefs.h
3564 $as_echo "/* confdefs.h */" > confdefs.h
3566 # Predefined preprocessor variables.
3568 cat >>confdefs.h
<<_ACEOF
3569 #define PACKAGE_NAME "$PACKAGE_NAME"
3572 cat >>confdefs.h
<<_ACEOF
3573 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3576 cat >>confdefs.h
<<_ACEOF
3577 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3580 cat >>confdefs.h
<<_ACEOF
3581 #define PACKAGE_STRING "$PACKAGE_STRING"
3584 cat >>confdefs.h
<<_ACEOF
3585 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3588 cat >>confdefs.h
<<_ACEOF
3589 #define PACKAGE_URL "$PACKAGE_URL"
3593 # Let the site file select an alternate cache file if it wants to.
3594 # Prefer an explicitly selected file to automatically selected ones.
3597 if test -n "$CONFIG_SITE"; then
3598 # We do not want a PATH search for config.site.
3599 case $CONFIG_SITE in #((
3600 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3601 */*) ac_site_file1
=$CONFIG_SITE;;
3602 *) ac_site_file1
=.
/$CONFIG_SITE;;
3604 elif test "x$prefix" != xNONE
; then
3605 ac_site_file1
=$prefix/share
/config.site
3606 ac_site_file2
=$prefix/etc
/config.site
3608 ac_site_file1
=$ac_default_prefix/share
/config.site
3609 ac_site_file2
=$ac_default_prefix/etc
/config.site
3611 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3613 test "x$ac_site_file" = xNONE
&& continue
3614 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3616 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3617 sed 's/^/| /' "$ac_site_file" >&5
3619 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $?
"failed to load site script $ac_site_file
3622 See \`config.log' for more details" "$LINENO" 5; }
3626 if test -r "$cache_file"; then
3627 # Some versions of bash will fail to source /dev/null (special files
3628 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3629 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3631 $as_echo "$as_me: loading cache $cache_file" >&6;}
3633 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3634 *) .
"./$cache_file";;
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3639 $as_echo "$as_me: creating cache $cache_file" >&6;}
3643 # Check that the precious variables saved in the cache have kept the same
3645 ac_cache_corrupted
=false
3646 for ac_var
in $ac_precious_vars; do
3647 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3648 eval ac_new_set
=\
$ac_env_${ac_var}_set
3649 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3650 eval ac_new_val
=\
$ac_env_${ac_var}_value
3651 case $ac_old_set,$ac_new_set in
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3654 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3655 ac_cache_corrupted
=: ;;
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3658 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3659 ac_cache_corrupted
=: ;;
3662 if test "x$ac_old_val" != "x$ac_new_val"; then
3663 # differences in whitespace do not lead to failure.
3664 ac_old_val_w
=`echo x $ac_old_val`
3665 ac_new_val_w
=`echo x $ac_new_val`
3666 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3668 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3669 ac_cache_corrupted
=:
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3672 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3673 eval $ac_var=\
$ac_old_val
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3676 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3678 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3681 # Pass precious variables to config.status.
3682 if test "$ac_new_set" = set; then
3684 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3685 *) ac_arg
=$ac_var=$ac_new_val ;;
3687 case " $ac_configure_args " in
3688 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3689 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3693 if $ac_cache_corrupted; then
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3697 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3698 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3700 ## -------------------- ##
3701 ## Main body of script. ##
3702 ## -------------------- ##
3705 ac_cpp
='$CPP $CPPFLAGS'
3706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3715 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3716 if test -f "$ac_dir/install-sh"; then
3718 ac_install_sh
="$ac_aux_dir/install-sh -c"
3720 elif test -f "$ac_dir/install.sh"; then
3722 ac_install_sh
="$ac_aux_dir/install.sh -c"
3724 elif test -f "$ac_dir/shtool"; then
3726 ac_install_sh
="$ac_aux_dir/shtool install -c"
3730 if test -z "$ac_aux_dir"; then
3731 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3734 # These three variables are undocumented and unsupported,
3735 # and are intended to be withdrawn in a future Autoconf release.
3736 # They can cause serious problems if a builder's source tree is in a directory
3737 # whose full name contains unusual characters.
3738 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3739 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3740 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3743 # Make sure we can run config.sub.
3744 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3745 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3748 $as_echo_n "checking build system type... " >&6; }
3749 if ${ac_cv_build+:} false
; then :
3750 $as_echo_n "(cached) " >&6
3752 ac_build_alias
=$build_alias
3753 test "x$ac_build_alias" = x
&&
3754 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3755 test "x$ac_build_alias" = x
&&
3756 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3757 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3758 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3762 $as_echo "$ac_cv_build" >&6; }
3763 case $ac_cv_build in
3765 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3768 ac_save_IFS
=$IFS; IFS
='-'
3774 # Remember, the first character of IFS is used to create $*,
3775 # except with old shells:
3778 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3782 $as_echo_n "checking host system type... " >&6; }
3783 if ${ac_cv_host+:} false
; then :
3784 $as_echo_n "(cached) " >&6
3786 if test "x$host_alias" = x
; then
3787 ac_cv_host
=$ac_cv_build
3789 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3790 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3795 $as_echo "$ac_cv_host" >&6; }
3798 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3801 ac_save_IFS
=$IFS; IFS
='-'
3807 # Remember, the first character of IFS is used to create $*,
3808 # except with old shells:
3811 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3815 if test "$cross_compiling" != "no"; then
3816 HOST_PREFIX
="${host_alias}-"
3817 HOST_SUFFIX
="-$host_alias"
3824 wx_major_version_number
=2
3825 wx_minor_version_number
=9
3827 wx_subrelease_number
=0
3829 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3830 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3831 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3833 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3836 wx_top_builddir
="`pwd`"
3849 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3855 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3861 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3863 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3865 DEFAULT_wxUSE_OLD_COCOA
=0
3867 DEFAULT_wxUSE_OSX_CARBON
=0
3868 DEFAULT_wxUSE_OSX_COCOA
=0
3869 DEFAULT_wxUSE_OSX_IPHONE
=0
3870 DEFAULT_wxUSE_MICROWIN
=0
3871 DEFAULT_wxUSE_MOTIF
=0
3877 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3878 DEFAULT_DEFAULT_wxUSE_GTK
=0
3879 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3880 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3881 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3882 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3883 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3884 DEFAULT_DEFAULT_wxUSE_MSW
=0
3885 DEFAULT_DEFAULT_wxUSE_PM
=0
3886 DEFAULT_DEFAULT_wxUSE_X11
=0
3887 DEFAULT_DEFAULT_wxUSE_DFB
=0
3891 DYLIB_RPATH_INSTALL
=
3892 DYLIB_RPATH_POSTLINK
=
3894 DEFAULT_STD_FLAG
=yes
3899 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3900 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3901 $as_echo "#define __HPUX__ 1" >>confdefs.h
3904 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3908 $as_echo "#define __LINUX__ 1" >>confdefs.h
3911 if test "x$TMP" = "xalpha"; then
3913 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3916 DEFAULT_DEFAULT_wxUSE_GTK
=1
3918 *-*-gnu* | *-*-k*bsd
*-gnu )
3921 if test "x$TMP" = "xalpha"; then
3923 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3926 DEFAULT_DEFAULT_wxUSE_GTK
=1
3928 *-*-irix5* | *-*-irix6* )
3931 $as_echo "#define __SGI__ 1" >>confdefs.h
3933 $as_echo "#define __SVR4__ 1" >>confdefs.h
3935 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3939 $as_echo "#define __QNX__ 1" >>confdefs.h
3941 DEFAULT_DEFAULT_wxUSE_X11
=1
3947 $as_echo "#define __SUN__ 1" >>confdefs.h
3949 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3951 $as_echo "#define __SVR4__ 1" >>confdefs.h
3953 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3954 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3960 $as_echo "#define __SUN__ 1" >>confdefs.h
3962 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3964 $as_echo "#define __BSD__ 1" >>confdefs.h
3966 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3971 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3973 $as_echo "#define __BSD__ 1" >>confdefs.h
3975 DEFAULT_DEFAULT_wxUSE_GTK
=1
3977 *-*-openbsd*|*-*-mirbsd*)
3980 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3982 $as_echo "#define __BSD__ 1" >>confdefs.h
3984 DEFAULT_DEFAULT_wxUSE_GTK
=1
3989 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3991 $as_echo "#define __BSD__ 1" >>confdefs.h
3993 DEFAULT_DEFAULT_wxUSE_GTK
=1
3994 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3996 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4001 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4003 $as_echo "#define __OSF__ 1" >>confdefs.h
4005 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4006 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4011 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4013 $as_echo "#define __SVR4__ 1" >>confdefs.h
4015 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4020 $as_echo "#define __SYSV__ 1" >>confdefs.h
4022 $as_echo "#define __SVR4__ 1" >>confdefs.h
4024 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4030 $as_echo "#define __AIX__ 1" >>confdefs.h
4032 $as_echo "#define __SYSV__ 1" >>confdefs.h
4034 $as_echo "#define __SVR4__ 1" >>confdefs.h
4036 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4043 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4047 *-*-cygwin* | *-*-mingw32* )
4049 DEFAULT_DEFAULT_wxUSE_MSW
=1
4055 $as_echo "#define __DOS__ 1" >>confdefs.h
4060 *-pc-os2_emx | *-pc-os2-emx )
4061 $as_echo "#define __EMX__ 1" >>confdefs.h
4064 $as_echo "#define __OS2__ 1" >>confdefs.h
4067 DEFAULT_DEFAULT_wxUSE_PM
=1
4069 LDFLAGS
="$LDFLAGS -Zcrtdll"
4070 ac_executable_extensions
=".exe"
4071 export ac_executable_extensions
4075 for ac_dir
in $PATH; do
4077 if test -z "$ac_TEMP_PATH"; then
4078 ac_TEMP_PATH
="$ac_dir"
4080 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4083 export PATH
="$ac_TEMP_PATH"
4091 $as_echo "#define __BSD__ 1" >>confdefs.h
4093 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4095 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4101 $as_echo "#define __BSD__ 1" >>confdefs.h
4103 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4105 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4107 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
4112 $as_echo "#define __BEOS__ 1" >>confdefs.h
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4118 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4120 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4122 DEFAULT_DEFAULT_wxUSE_X11
=1
4123 DEFAULT_wxUSE_SHARED
=no
4128 DEFAULT_wxUSE_ALL_FEATURES
=yes
4130 DEFAULT_wxUSE_STD_CONTAINERS
=no
4131 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4132 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4134 DEFAULT_wxUSE_DMALLOC
=no
4135 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4136 DEFAULT_wxUSE_LIBHILDON
=no
4137 DEFAULT_wxUSE_LIBHILDON2
=no
4138 DEFAULT_wxUSE_LIBMSPACK
=no
4139 DEFAULT_wxUSE_LIBSDL
=no
4141 DEFAULT_wxUSE_ACCESSIBILITY
=no
4142 DEFAULT_wxUSE_IPV6
=no
4143 DEFAULT_wxUSE_GSTREAMER8
=no
4144 DEFAULT_wxUSE_UNICODE_UTF8
=no
4145 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4147 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4148 DEFAULT_wxUSE_OPENGL
=auto
4149 DEFAULT_wxUSE_MEDIACTRL
=auto
4150 DEFAULT_wxUSE_COMPILER_TLS
=auto
4151 DEFAULT_wxUSE_HOTKEY
=auto
4152 DEFAULT_wxUSE_METAFILE
=auto
4154 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4155 DEFAULT_wxUSE_MAC_ARCH
=no
4157 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4159 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4165 enablestring
=disable
4167 if test -z "$defaultval"; then
4168 if test x
"$enablestring" = xdisable
; then
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4176 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4177 # Check whether --enable-gui was given.
4178 if test "${enable_gui+set}" = set; then :
4179 enableval
=$enable_gui;
4180 if test "$enableval" = yes; then
4181 wx_cv_use_gui
='wxUSE_GUI=yes'
4183 wx_cv_use_gui
='wxUSE_GUI=no'
4188 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4193 eval "$wx_cv_use_gui"
4195 if test x"$enablestring" = xdisable; then
4196 if test $wxUSE_GUI = no; then
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4206 $as_echo "$result" >&6; }
4211 if test -z "$defaultval"; then
4212 if test x"$enablestring" = xdisable; then
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4220 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4221 # Check whether --enable-monolithic was given.
4222 if test "${enable_monolithic+set}" = set; then :
4223 enableval=$enable_monolithic;
4224 if test "$enableval" = yes; then
4225 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4227 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4232 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4237 eval "$wx_cv_use_monolithic"
4239 if test x"$enablestring" = xdisable; then
4240 if test $wxUSE_MONOLITHIC = no; then
4246 result=$wxUSE_MONOLITHIC
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4250 $as_echo "$result" >&6; }
4255 if test -z "$defaultval"; then
4256 if test x"$enablestring" = xdisable; then
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4264 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4265 # Check whether --enable-plugins was given.
4266 if test "${enable_plugins+set}" = set; then :
4267 enableval=$enable_plugins;
4268 if test "$enableval" = yes; then
4269 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4271 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4276 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4281 eval "$wx_cv_use_plugins"
4283 if test x
"$enablestring" = xdisable
; then
4284 if test $wxUSE_PLUGINS = no
; then
4290 result
=$wxUSE_PLUGINS
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4294 $as_echo "$result" >&6; }
4298 defaultval
=$wxUSE_ALL_FEATURES
4299 if test -z "$defaultval"; then
4300 if test x
"$withstring" = xwithout
; then
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4307 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4309 # Check whether --with-subdirs was given.
4310 if test "${with_subdirs+set}" = set; then :
4311 withval
=$with_subdirs;
4312 if test "$withval" = yes; then
4313 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4315 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4320 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4325 eval "$wx_cv_use_subdirs"
4327 if test x"$withstring" = xwithout; then
4328 if test $wxWITH_SUBDIRS = yes; then
4334 result=$wxWITH_SUBDIRS
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4338 $as_echo "$result" >&6; }
4341 # Check whether --with-flavour was given.
4342 if test "${with_flavour+set}" = set; then :
4343 withval=$with_flavour; WX_FLAVOUR="$withval"
4349 if test -z "$defaultval"; then
4350 if test x"$enablestring" = xdisable; then
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4358 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4359 # Check whether --enable-official_build was given.
4360 if test "${enable_official_build+set}" = set; then :
4361 enableval=$enable_official_build;
4362 if test "$enableval" = yes; then
4363 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4365 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4370 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4375 eval "$wx_cv_use_official_build"
4377 if test x"$enablestring" = xdisable; then
4378 if test $wxUSE_OFFICIAL_BUILD = no; then
4384 result=$wxUSE_OFFICIAL_BUILD
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4388 $as_echo "$result" >&6; }
4390 # Check whether --enable-vendor was given.
4391 if test "${enable_vendor+set}" = set; then :
4392 enableval=$enable_vendor; VENDOR="$enableval"
4395 if test "x
$VENDOR" = "x
"; then
4400 enablestring=disable
4402 if test -z "$defaultval"; then
4403 if test x"$enablestring" = xdisable; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4411 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4412 # Check whether --enable-all-features was given.
4413 if test "${enable_all_features+set}" = set; then :
4414 enableval=$enable_all_features;
4415 if test "$enableval" = yes; then
4416 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4418 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4423 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4428 eval "$wx_cv_use_all_features"
4430 if test x
"$enablestring" = xdisable
; then
4431 if test $wxUSE_ALL_FEATURES = no
; then
4437 result
=$wxUSE_ALL_FEATURES
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4441 $as_echo "$result" >&6; }
4444 if test "$wxUSE_ALL_FEATURES" = "no"; then
4445 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4446 DEFAULT_wxUSE_MEDIACTRL
=no
4450 if test "$wxUSE_GUI" = "yes"; then
4455 if test -z "$defaultval"; then
4456 if test x
"$enablestring" = xdisable
; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4464 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4465 # Check whether --enable-universal was given.
4466 if test "${enable_universal+set}" = set; then :
4467 enableval
=$enable_universal;
4468 if test "$enableval" = yes; then
4469 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4471 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4476 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4481 eval "$wx_cv_use_universal"
4483 if test x"$enablestring" = xdisable; then
4484 if test $wxUSE_UNIVERSAL = no; then
4490 result=$wxUSE_UNIVERSAL
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4494 $as_echo "$result" >&6; }
4496 if test "$wxUSE_UNIVERSAL" = "yes"; then
4498 # Check whether --with-themes was given.
4499 if test "${with_themes+set}" = set; then :
4500 withval=$with_themes; wxUNIV_THEMES="$withval"
4506 # Check whether --with-gtk was given.
4507 if test "${with_gtk+set}" = set; then :
4508 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4512 # Check whether --with-motif was given.
4513 if test "${with_motif+set}" = set; then :
4514 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4518 # Check whether --with-osx_carbon was given.
4519 if test "${with_osx_carbon+set}" = set; then :
4520 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4524 # Check whether --with-osx_cocoa was given.
4525 if test "${with_osx_cocoa+set}" = set; then :
4526 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4530 # Check whether --with-osx_iphone was given.
4531 if test "${with_osx_iphone+set}" = set; then :
4532 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4536 # Check whether --with-osx was given.
4537 if test "${with_osx+set}" = set; then :
4538 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4542 # Check whether --with-carbon was given.
4543 if test "${with_carbon+set}" = set; then :
4544 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4548 # Check whether --with-cocoa was given.
4549 if test "${with_cocoa+set}" = set; then :
4550 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4554 # Check whether --with-iphone was given.
4555 if test "${with_iphone+set}" = set; then :
4556 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4560 # Check whether --with-mac was given.
4561 if test "${with_mac+set}" = set; then :
4562 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4566 # Check whether --with-old_cocoa was given.
4567 if test "${with_old_cocoa+set}" = set; then :
4568 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4572 # Check whether --with-wine was given.
4573 if test "${with_wine+set}" = set; then :
4574 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4578 # Check whether --with-msw was given.
4579 if test "${with_msw+set}" = set; then :
4580 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4584 # Check whether --with-pm was given.
4585 if test "${with_pm+set}" = set; then :
4586 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4590 # Check whether --with-directfb was given.
4591 if test "${with_directfb+set}" = set; then :
4592 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4596 # Check whether --with-microwin was given.
4597 if test "${with_microwin+set}" = set; then :
4598 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4602 # Check whether --with-x11 was given.
4603 if test "${with_x11+set}" = set; then :
4604 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4610 if test -z "$defaultval"; then
4611 if test x"$enablestring" = xdisable; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4619 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4620 # Check whether --enable-nanox was given.
4621 if test "${enable_nanox+set}" = set; then :
4622 enableval=$enable_nanox;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4626 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4631 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4636 eval "$wx_cv_use_nanox"
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_NANOX = no; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4649 $as_echo "$result" >&6; }
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4663 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4664 # Check whether --enable-gpe was given.
4665 if test "${enable_gpe+set}" = set; then :
4666 enableval=$enable_gpe;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_gpe='wxUSE_GPE=yes'
4670 wx_cv_use_gpe='wxUSE_GPE=no'
4675 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4680 eval "$wx_cv_use_gpe"
4682 if test x
"$enablestring" = xdisable
; then
4683 if test $wxUSE_GPE = no
; then
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4693 $as_echo "$result" >&6; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4698 $as_echo_n "checking for toolkit... " >&6; }
4702 # In Wine, we need to default to MSW, not GTK or MOTIF
4703 if test "$wxUSE_WINE" = "yes"; then
4704 DEFAULT_DEFAULT_wxUSE_GTK
=0
4705 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4706 DEFAULT_DEFAULT_wxUSE_MSW
=1
4713 if test "$wxUSE_GUI" = "yes"; then
4715 if test "$USE_BEOS" = 1; then
4716 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4719 if test "$TOOLKIT_GIVEN" = 1; then
4720 for toolkit
in $ALL_TOOLKITS; do
4722 eval "value=\$${var}"
4723 if test "x$value" = "xno"; then
4725 elif test "x$value" != "x"; then
4729 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4730 eval "wx${toolkit}_VERSION=$value"
4734 for toolkit
in $ALL_TOOLKITS; do
4735 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4736 eval "wxUSE_$toolkit=\$${var}"
4740 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4741 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4742 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4745 *-pc-os2_emx | *-pc-os2-emx )
4746 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4749 case "$NUM_TOOLKITS" in
4753 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4756 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4759 for toolkit
in $ALL_TOOLKITS; do
4761 eval "value=\$${var}"
4762 if test "$value" = 1; then
4763 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4765 $as_echo "$toolkit_echo" >&6; }
4769 if test "x$host_alias" != "x"; then
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4771 $as_echo "base ($host_alias hosted) only" >&6; }
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4774 $as_echo "base only" >&6; }
4779 if test "$wxUSE_OSX_CARBON" = 1 \
4780 -o "$wxUSE_OSX_COCOA" = 1 \
4781 -o "$wxUSE_OSX_IPHONE" = 1; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4788 $as_echo_n "checking for --with-libpng... " >&6; }
4790 # Check whether --with-libpng was given.
4791 if test "${with_libpng+set}" = set; then :
4792 withval
=$with_libpng;
4793 if test "$withval" = yes; then
4794 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4795 elif test "$withval" = no
; then
4796 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4797 elif test "$withval" = sys
; then
4798 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4799 elif test "$withval" = builtin; then
4800 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4802 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4807 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4812 eval "$wx_cv_use_libpng"
4814 if test "$wxUSE_LIBPNG" = yes; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4816 $as_echo "yes" >&6; }
4817 elif test "$wxUSE_LIBPNG" = no; then
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4820 elif test "$wxUSE_LIBPNG" = sys; then
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4822 $as_echo "system version" >&6; }
4823 elif test "$wxUSE_LIBPNG" = builtin; then
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4825 $as_echo "builtin version" >&6; }
4827 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4832 $as_echo_n "checking for --with-libjpeg... " >&6; }
4834 # Check whether --with-libjpeg was given.
4835 if test "${with_libjpeg+set}" = set; then :
4836 withval=$with_libjpeg;
4837 if test "$withval" = yes; then
4838 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4839 elif test "$withval" = no; then
4840 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4841 elif test "$withval" = sys; then
4842 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4843 elif test "$withval" = builtin; then
4844 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4846 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4851 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4856 eval "$wx_cv_use_libjpeg"
4858 if test "$wxUSE_LIBJPEG" = yes; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4860 $as_echo "yes" >&6; }
4861 elif test "$wxUSE_LIBJPEG" = no; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4863 $as_echo "no
" >&6; }
4864 elif test "$wxUSE_LIBJPEG" = sys; then
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4866 $as_echo "system version
" >&6; }
4867 elif test "$wxUSE_LIBJPEG" = builtin; then
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4869 $as_echo "builtin version
" >&6; }
4871 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4876 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4878 # Check whether --with-libtiff was given.
4879 if test "${with_libtiff+set}" = set; then :
4880 withval=$with_libtiff;
4881 if test "$withval" = yes; then
4882 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4883 elif test "$withval" = no; then
4884 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4885 elif test "$withval" = sys; then
4886 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4887 elif test "$withval" = builtin; then
4888 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4890 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4895 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4900 eval "$wx_cv_use_libtiff"
4902 if test "$wxUSE_LIBTIFF" = yes; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4904 $as_echo "yes" >&6; }
4905 elif test "$wxUSE_LIBTIFF" = no
; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4908 elif test "$wxUSE_LIBTIFF" = sys
; then
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4910 $as_echo "system version" >&6; }
4911 elif test "$wxUSE_LIBTIFF" = builtin; then
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4913 $as_echo "builtin version" >&6; }
4915 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4920 defaultval
=$wxUSE_ALL_FEATURES
4921 if test -z "$defaultval"; then
4922 if test x
"$withstring" = xwithout
; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4929 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4931 # Check whether --with-libjbig was given.
4932 if test "${with_libjbig+set}" = set; then :
4933 withval
=$with_libjbig;
4934 if test "$withval" = yes; then
4935 wx_cv_use_libjbig
='wxUSE_LIBJBIG=yes'
4937 wx_cv_use_libjbig
='wxUSE_LIBJBIG=no'
4942 wx_cv_use_libjbig
='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4947 eval "$wx_cv_use_libjbig"
4949 if test x"$withstring" = xwithout; then
4950 if test $wxUSE_LIBJBIG = yes; then
4956 result=$wxUSE_LIBJBIG
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4960 $as_echo "$result" >&6; }
4964 defaultval=$wxUSE_ALL_FEATURES
4965 if test -z "$defaultval"; then
4966 if test x"$withstring" = xwithout; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4973 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4975 # Check whether --with-liblzma was given.
4976 if test "${with_liblzma+set}" = set; then :
4977 withval=$with_liblzma;
4978 if test "$withval" = yes; then
4979 wx_cv_use_liblzma='wxUSE_LIBLZMA
=yes'
4981 wx_cv_use_liblzma='wxUSE_LIBLZMA
=no
'
4986 wx_cv_use_liblzma='wxUSE_LIBLZMA
=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4991 eval "$wx_cv_use_liblzma"
4993 if test x"$withstring" = xwithout; then
4994 if test $wxUSE_LIBLZMA = yes; then
5000 result=$wxUSE_LIBLZMA
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5004 $as_echo "$result" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libxpm" >&5
5008 $as_echo_n "checking
for --with-libxpm...
" >&6; }
5010 # Check whether --with-libxpm was given.
5011 if test "${with_libxpm+set}" = set; then :
5012 withval=$with_libxpm;
5013 if test "$withval" = yes; then
5014 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5015 elif test "$withval" = no; then
5016 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5017 elif test "$withval" = sys; then
5018 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5019 elif test "$withval" = builtin; then
5020 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5022 as_fn_error $? "Invalid value
for --with-libxpm: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5027 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5032 eval "$wx_cv_use_libxpm"
5034 if test "$wxUSE_LIBXPM" = yes; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5036 $as_echo "yes" >&6; }
5037 elif test "$wxUSE_LIBXPM" = no
; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5040 elif test "$wxUSE_LIBXPM" = sys
; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5042 $as_echo "system version" >&6; }
5043 elif test "$wxUSE_LIBXPM" = builtin; then
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5045 $as_echo "builtin version" >&6; }
5047 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5052 defaultval
=$wxUSE_ALL_FEATURES
5053 if test -z "$defaultval"; then
5054 if test x
"$withstring" = xwithout
; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5061 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5063 # Check whether --with-libiconv was given.
5064 if test "${with_libiconv+set}" = set; then :
5065 withval
=$with_libiconv;
5066 if test "$withval" = yes; then
5067 wx_cv_use_libiconv
='wxUSE_LIBICONV=yes'
5069 wx_cv_use_libiconv
='wxUSE_LIBICONV=no'
5074 wx_cv_use_libiconv
='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5079 eval "$wx_cv_use_libiconv"
5081 if test x"$withstring" = xwithout; then
5082 if test $wxUSE_LIBICONV = yes; then
5088 result=$wxUSE_LIBICONV
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5092 $as_echo "$result" >&6; }
5096 defaultval=$wxUSE_ALL_FEATURES
5097 if test -z "$defaultval"; then
5098 if test x"$withstring" = xwithout; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5105 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5107 # Check whether --with-libmspack was given.
5108 if test "${with_libmspack+set}" = set; then :
5109 withval=$with_libmspack;
5110 if test "$withval" = yes; then
5111 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=yes'
5113 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=no
'
5118 wx_cv_use_libmspack='wxUSE_LIBMSPACK
=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5123 eval "$wx_cv_use_libmspack"
5125 if test x"$withstring" = xwithout; then
5126 if test $wxUSE_LIBMSPACK = yes; then
5132 result=$wxUSE_LIBMSPACK
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5136 $as_echo "$result" >&6; }
5140 defaultval=$wxUSE_ALL_FEATURES
5141 if test -z "$defaultval"; then
5142 if test x"$withstring" = xwithout; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gtkprint" >&5
5149 $as_echo_n "checking
for --${withstring:-with}-gtkprint...
" >&6; }
5151 # Check whether --with-gtkprint was given.
5152 if test "${with_gtkprint+set}" = set; then :
5153 withval=$with_gtkprint;
5154 if test "$withval" = yes; then
5155 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5157 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5162 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5167 eval "$wx_cv_use_gtkprint"
5169 if test x
"$withstring" = xwithout
; then
5170 if test $wxUSE_GTKPRINT = yes; then
5176 result
=$wxUSE_GTKPRINT
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5180 $as_echo "$result" >&6; }
5184 defaultval
=$wxUSE_ALL_FEATURES
5185 if test -z "$defaultval"; then
5186 if test x
"$withstring" = xwithout
; then
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5193 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5195 # Check whether --with-gnomeprint was given.
5196 if test "${with_gnomeprint+set}" = set; then :
5197 withval
=$with_gnomeprint;
5198 if test "$withval" = yes; then
5199 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=yes'
5201 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=no'
5206 wx_cv_use_gnomeprint
='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5211 eval "$wx_cv_use_gnomeprint"
5213 if test x"$withstring" = xwithout; then
5214 if test $wxUSE_LIBGNOMEPRINT = yes; then
5220 result=$wxUSE_LIBGNOMEPRINT
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5224 $as_echo "$result" >&6; }
5228 defaultval=$wxUSE_ALL_FEATURES
5229 if test -z "$defaultval"; then
5230 if test x"$withstring" = xwithout; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5237 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5239 # Check whether --with-gnomevfs was given.
5240 if test "${with_gnomevfs+set}" = set; then :
5241 withval=$with_gnomevfs;
5242 if test "$withval" = yes; then
5243 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=yes'
5245 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=no
'
5250 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS
=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5255 eval "$wx_cv_use_gnomevfs"
5257 if test x"$withstring" = xwithout; then
5258 if test $wxUSE_LIBGNOMEVFS = yes; then
5264 result=$wxUSE_LIBGNOMEVFS
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5268 $as_echo "$result" >&6; }
5272 defaultval=$wxUSE_ALL_FEATURES
5273 if test -z "$defaultval"; then
5274 if test x"$withstring" = xwithout; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libnotify" >&5
5281 $as_echo_n "checking
for --${withstring:-with}-libnotify...
" >&6; }
5283 # Check whether --with-libnotify was given.
5284 if test "${with_libnotify+set}" = set; then :
5285 withval=$with_libnotify;
5286 if test "$withval" = yes; then
5287 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5289 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5294 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5299 eval "$wx_cv_use_libnotify"
5301 if test x
"$withstring" = xwithout
; then
5302 if test $wxUSE_LIBNOTIFY = yes; then
5308 result
=$wxUSE_LIBNOTIFY
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5312 $as_echo "$result" >&6; }
5316 defaultval
=$wxUSE_ALL_FEATURES
5317 if test -z "$defaultval"; then
5318 if test x
"$withstring" = xwithout
; then
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5325 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5327 # Check whether --with-hildon was given.
5328 if test "${with_hildon+set}" = set; then :
5329 withval
=$with_hildon;
5330 if test "$withval" = yes; then
5331 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
5333 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
5338 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5343 eval "$wx_cv_use_hildon"
5345 if test x"$withstring" = xwithout; then
5346 if test $wxUSE_LIBHILDON = yes; then
5352 result=$wxUSE_LIBHILDON
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5356 $as_echo "$result" >&6; }
5360 defaultval=$wxUSE_ALL_FEATURES
5361 if test -z "$defaultval"; then
5362 if test x"$withstring" = xwithout; then
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5369 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5371 # Check whether --with-opengl was given.
5372 if test "${with_opengl+set}" = set; then :
5373 withval=$with_opengl;
5374 if test "$withval" = yes; then
5375 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
5377 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
5382 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5387 eval "$wx_cv_use_opengl"
5389 if test x"$withstring" = xwithout; then
5390 if test $wxUSE_OPENGL = yes; then
5396 result=$wxUSE_OPENGL
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5400 $as_echo "$result" >&6; }
5407 defaultval=$wxUSE_ALL_FEATURES
5408 if test -z "$defaultval"; then
5409 if test x"$withstring" = xwithout; then
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-dmalloc" >&5
5416 $as_echo_n "checking
for --${withstring:-with}-dmalloc...
" >&6; }
5418 # Check whether --with-dmalloc was given.
5419 if test "${with_dmalloc+set}" = set; then :
5420 withval=$with_dmalloc;
5421 if test "$withval" = yes; then
5422 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5424 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5429 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5434 eval "$wx_cv_use_dmalloc"
5436 if test x
"$withstring" = xwithout
; then
5437 if test $wxUSE_DMALLOC = yes; then
5443 result
=$wxUSE_DMALLOC
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5447 $as_echo "$result" >&6; }
5451 defaultval
=$wxUSE_ALL_FEATURES
5452 if test -z "$defaultval"; then
5453 if test x
"$withstring" = xwithout
; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5460 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5462 # Check whether --with-sdl was given.
5463 if test "${with_sdl+set}" = set; then :
5465 if test "$withval" = yes; then
5466 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
5468 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
5473 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5478 eval "$wx_cv_use_sdl"
5480 if test x"$withstring" = xwithout; then
5481 if test $wxUSE_LIBSDL = yes; then
5487 result=$wxUSE_LIBSDL
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5491 $as_echo "$result" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5495 $as_echo_n "checking for --with-regex... " >&6; }
5497 # Check whether --with-regex was given.
5498 if test "${with_regex+set}" = set; then :
5499 withval=$with_regex;
5500 if test "$withval" = yes; then
5501 wx_cv_use_regex='wxUSE_REGEX
=yes'
5502 elif test "$withval" = no; then
5503 wx_cv_use_regex='wxUSE_REGEX
=no
'
5504 elif test "$withval" = sys; then
5505 wx_cv_use_regex='wxUSE_REGEX
=sys
'
5506 elif test "$withval" = builtin; then
5507 wx_cv_use_regex='wxUSE_REGEX
=builtin'
5509 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5514 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5519 eval "$wx_cv_use_regex"
5521 if test "$wxUSE_REGEX" = yes; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5523 $as_echo "yes" >&6; }
5524 elif test "$wxUSE_REGEX" = no; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5526 $as_echo "no
" >&6; }
5527 elif test "$wxUSE_REGEX" = sys; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5529 $as_echo "system version
" >&6; }
5530 elif test "$wxUSE_REGEX" = builtin; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5532 $as_echo "builtin version
" >&6; }
5534 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-zlib" >&5
5539 $as_echo_n "checking
for --with-zlib...
" >&6; }
5541 # Check whether --with-zlib was given.
5542 if test "${with_zlib+set}" = set; then :
5544 if test "$withval" = yes; then
5545 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5546 elif test "$withval" = no; then
5547 wx_cv_use_zlib='wxUSE_ZLIB=no'
5548 elif test "$withval" = sys; then
5549 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5550 elif test "$withval" = builtin; then
5551 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5553 as_fn_error $? "Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5558 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5563 eval "$wx_cv_use_zlib"
5565 if test "$wxUSE_ZLIB" = yes; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5567 $as_echo "yes" >&6; }
5568 elif test "$wxUSE_ZLIB" = no
; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5571 elif test "$wxUSE_ZLIB" = sys
; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5573 $as_echo "system version" >&6; }
5574 elif test "$wxUSE_ZLIB" = builtin; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5576 $as_echo "builtin version" >&6; }
5578 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5583 $as_echo_n "checking for --with-expat... " >&6; }
5585 # Check whether --with-expat was given.
5586 if test "${with_expat+set}" = set; then :
5587 withval
=$with_expat;
5588 if test "$withval" = yes; then
5589 wx_cv_use_expat
='wxUSE_EXPAT=yes'
5590 elif test "$withval" = no
; then
5591 wx_cv_use_expat
='wxUSE_EXPAT=no'
5592 elif test "$withval" = sys
; then
5593 wx_cv_use_expat
='wxUSE_EXPAT=sys'
5594 elif test "$withval" = builtin; then
5595 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
5597 as_fn_error $?
"Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5602 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5607 eval "$wx_cv_use_expat"
5609 if test "$wxUSE_EXPAT" = yes; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5611 $as_echo "yes" >&6; }
5612 elif test "$wxUSE_EXPAT" = no; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5615 elif test "$wxUSE_EXPAT" = sys; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5617 $as_echo "system version" >&6; }
5618 elif test "$wxUSE_EXPAT" = builtin; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5620 $as_echo "builtin version" >&6; }
5622 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5627 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5629 # Check whether --with-macosx-sdk was given.
5630 if test "${with_macosx_sdk+set}" = set; then :
5631 withval=$with_macosx_sdk;
5632 wxUSE_MACOSX_SDK=$withval
5633 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5638 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5641 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5643 # Check whether --with-macosx-version-min was given.
5644 if test "${with_macosx_version_min+set}" = set; then :
5645 withval=$with_macosx_version_min;
5646 wxUSE_MACOSX_VERSION_MIN=$withval
5647 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5652 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5656 $as_echo_n "checking for --enable-debug... " >&6; }
5657 # Check whether --enable-debug was given.
5658 if test "${enable_debug+set}" = set; then :
5659 enableval=$enable_debug;
5660 if test "$enableval" = yes; then
5662 elif test "$enableval" = no; then
5664 elif test "$enableval" = max; then
5666 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5668 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5677 $as_echo "${enable_debug-default}" >&6; }
5679 case "$wxUSE_DEBUG" in
5681 DEFAULT_wxUSE_DEBUG_FLAG=yes
5682 DEFAULT_wxUSE_DEBUG_INFO=yes
5684 DEFAULT_wxUSE_OPTIMISE=no
5688 DEFAULT_wxUSE_DEBUG_FLAG=no
5689 DEFAULT_wxUSE_DEBUG_INFO=no
5693 DEFAULT_wxUSE_DEBUG_FLAG=yes
5694 DEFAULT_wxUSE_DEBUG_INFO=no
5699 enablestring=disable
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5710 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5711 # Check whether --enable-debug_flag was given.
5712 if test "${enable_debug_flag+set}" = set; then :
5713 enableval=$enable_debug_flag;
5714 if test "$enableval" = yes; then
5715 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
5717 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
5722 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5727 eval "$wx_cv_use_debug_flag"
5729 if test x"$enablestring" = xdisable; then
5730 if test $wxUSE_DEBUG_FLAG = no; then
5736 result=$wxUSE_DEBUG_FLAG
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5740 $as_echo "$result" >&6; }
5745 if test -z "$defaultval"; then
5746 if test x"$enablestring" = xdisable; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_info" >&5
5754 $as_echo_n "checking
for --${enablestring:-enable}-debug_info...
" >&6; }
5755 # Check whether --enable-debug_info was given.
5756 if test "${enable_debug_info+set}" = set; then :
5757 enableval=$enable_debug_info;
5758 if test "$enableval" = yes; then
5759 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5761 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5766 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5771 eval "$wx_cv_use_debug_info"
5773 if test x
"$enablestring" = xdisable
; then
5774 if test $wxUSE_DEBUG_INFO = no
; then
5780 result
=$wxUSE_DEBUG_INFO
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5784 $as_echo "$result" >&6; }
5791 if test -z "$defaultval"; then
5792 if test x
"$enablestring" = xdisable
; then
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5800 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5801 # Check whether --enable-debug_gdb was given.
5802 if test "${enable_debug_gdb+set}" = set; then :
5803 enableval
=$enable_debug_gdb;
5804 if test "$enableval" = yes; then
5805 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
5807 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
5812 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5817 eval "$wx_cv_use_debug_gdb"
5819 if test x"$enablestring" = xdisable; then
5820 if test $wxUSE_DEBUG_GDB = no; then
5826 result=$wxUSE_DEBUG_GDB
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5830 $as_echo "$result" >&6; }
5835 if test -z "$defaultval"; then
5836 if test x"$enablestring" = xdisable; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5844 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5845 # Check whether --enable-debug_cntxt was given.
5846 if test "${enable_debug_cntxt+set}" = set; then :
5847 enableval=$enable_debug_cntxt;
5848 if test "$enableval" = yes; then
5849 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
5851 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
5856 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5861 eval "$wx_cv_use_debug_cntxt"
5863 if test x"$enablestring" = xdisable; then
5864 if test $wxUSE_DEBUG_CONTEXT = no; then
5870 result=$wxUSE_DEBUG_CONTEXT
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5874 $as_echo "$result" >&6; }
5879 if test -z "$defaultval"; then
5880 if test x"$enablestring" = xdisable; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mem_tracing" >&5
5888 $as_echo_n "checking
for --${enablestring:-enable}-mem_tracing...
" >&6; }
5889 # Check whether --enable-mem_tracing was given.
5890 if test "${enable_mem_tracing+set}" = set; then :
5891 enableval=$enable_mem_tracing;
5892 if test "$enableval" = yes; then
5893 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5895 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5900 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5905 eval "$wx_cv_use_mem_tracing"
5907 if test x
"$enablestring" = xdisable
; then
5908 if test $wxUSE_MEM_TRACING = no
; then
5914 result
=$wxUSE_MEM_TRACING
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5918 $as_echo "$result" >&6; }
5923 enablestring
=disable
5925 if test -z "$defaultval"; then
5926 if test x
"$enablestring" = xdisable
; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5934 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5935 # Check whether --enable-shared was given.
5936 if test "${enable_shared+set}" = set; then :
5937 enableval
=$enable_shared;
5938 if test "$enableval" = yes; then
5939 wx_cv_use_shared
='wxUSE_SHARED=yes'
5941 wx_cv_use_shared
='wxUSE_SHARED=no'
5946 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5951 eval "$wx_cv_use_shared"
5953 if test x"$enablestring" = xdisable; then
5954 if test $wxUSE_SHARED = no; then
5960 result=$wxUSE_SHARED
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5964 $as_echo "$result" >&6; }
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5978 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5979 # Check whether --enable-stl was given.
5980 if test "${enable_stl+set}" = set; then :
5981 enableval=$enable_stl;
5982 if test "$enableval" = yes; then
5983 wx_cv_use_stl='wxUSE_STL
=yes'
5985 wx_cv_use_stl='wxUSE_STL
=no
'
5990 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
5995 eval "$wx_cv_use_stl"
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_STL = no; then
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6008 $as_echo "$result" >&6; }
6010 if test "$wxUSE_STL" = "yes"; then
6011 DEFAULT_wxUSE_STD_CONTAINERS=yes
6012 DEFAULT_wxUSE_STD_IOSTREAM=yes
6013 DEFAULT_wxUSE_STD_STRING=yes
6018 if test -z "$defaultval"; then
6019 if test x"$enablestring" = xdisable; then
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_containers" >&5
6027 $as_echo_n "checking
for --${enablestring:-enable}-std_containers...
" >&6; }
6028 # Check whether --enable-std_containers was given.
6029 if test "${enable_std_containers+set}" = set; then :
6030 enableval=$enable_std_containers;
6031 if test "$enableval" = yes; then
6032 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
6034 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
6039 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
6044 eval "$wx_cv_use_std_containers"
6046 if test x
"$enablestring" = xdisable
; then
6047 if test $wxUSE_STD_CONTAINERS = no
; then
6053 result
=$wxUSE_STD_CONTAINERS
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6057 $as_echo "$result" >&6; }
6062 if test -z "$defaultval"; then
6063 if test x
"$enablestring" = xdisable
; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6071 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6072 # Check whether --enable-std_iostreams was given.
6073 if test "${enable_std_iostreams+set}" = set; then :
6074 enableval
=$enable_std_iostreams;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
6078 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
6083 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6088 eval "$wx_cv_use_std_iostreams"
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_STD_IOSTREAM = no; then
6097 result=$wxUSE_STD_IOSTREAM
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6101 $as_echo "$result" >&6; }
6106 if test -z "$defaultval"; then
6107 if test x"$enablestring" = xdisable; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6115 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6116 # Check whether --enable-std_string was given.
6117 if test "${enable_std_string+set}" = set; then :
6118 enableval=$enable_std_string;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
6122 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
6127 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6132 eval "$wx_cv_use_std_string"
6134 if test x"$enablestring" = xdisable; then
6135 if test $wxUSE_STD_STRING = no; then
6141 result=$wxUSE_STD_STRING
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6145 $as_echo "$result" >&6; }
6150 if test -z "$defaultval"; then
6151 if test x"$enablestring" = xdisable; then
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6159 $as_echo_n "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
" >&6; }
6160 # Check whether --enable-std_string_conv_in_wxstring was given.
6161 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6162 enableval=$enable_std_string_conv_in_wxstring;
6163 if test "$enableval" = yes; then
6164 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6166 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6171 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6176 eval "$wx_cv_use_std_string_conv_in_wxstring"
6178 if test x
"$enablestring" = xdisable
; then
6179 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
6185 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6189 $as_echo "$result" >&6; }
6192 enablestring
=disable
6194 if test -z "$defaultval"; then
6195 if test x
"$enablestring" = xdisable
; then
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6203 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6204 # Check whether --enable-unicode was given.
6205 if test "${enable_unicode+set}" = set; then :
6206 enableval
=$enable_unicode;
6207 if test "$enableval" = yes; then
6208 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
6210 wx_cv_use_unicode
='wxUSE_UNICODE=no'
6215 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6220 eval "$wx_cv_use_unicode"
6222 if test x"$enablestring" = xdisable; then
6223 if test $wxUSE_UNICODE = no; then
6229 result=$wxUSE_UNICODE
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6233 $as_echo "$result" >&6; }
6238 if test -z "$defaultval"; then
6239 if test x"$enablestring" = xdisable; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6247 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6248 # Check whether --enable-mslu was given.
6249 if test "${enable_mslu+set}" = set; then :
6250 enableval=$enable_mslu;
6251 if test "$enableval" = yes; then
6252 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
6254 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6259 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6264 eval "$wx_cv_use_mslu"
6266 if test x"$enablestring" = xdisable; then
6267 if test $wxUSE_UNICODE_MSLU = no; then
6273 result=$wxUSE_UNICODE_MSLU
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6277 $as_echo "$result" >&6; }
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8" >&5
6282 $as_echo_n "checking
for --${enablestring:-enable}-utf8...
" >&6; }
6283 # Check whether --enable-utf8 was given.
6284 if test "${enable_utf8+set}" = set; then :
6285 enableval=$enable_utf8;
6286 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
6290 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6295 eval "$wx_cv_use_utf8"
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_UNICODE_UTF8" >&5
6298 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6303 if test -z "$defaultval"; then
6304 if test x"$enablestring" = xdisable; then
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8only" >&5
6312 $as_echo_n "checking
for --${enablestring:-enable}-utf8only...
" >&6; }
6313 # Check whether --enable-utf8only was given.
6314 if test "${enable_utf8only+set}" = set; then :
6315 enableval=$enable_utf8only;
6316 if test "$enableval" = yes; then
6317 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6319 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6324 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6329 eval "$wx_cv_use_utf8only"
6331 if test x
"$enablestring" = xdisable
; then
6332 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
6338 result
=$wxUSE_UNICODE_UTF8_LOCALE
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6342 $as_echo "$result" >&6; }
6347 if test -z "$defaultval"; then
6348 if test x
"$enablestring" = xdisable
; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6356 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6357 # Check whether --enable-extended_rtti was given.
6358 if test "${enable_extended_rtti+set}" = set; then :
6359 enableval
=$enable_extended_rtti;
6360 if test "$enableval" = yes; then
6361 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
6363 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
6368 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6373 eval "$wx_cv_use_extended_rtti"
6375 if test x"$enablestring" = xdisable; then
6376 if test $wxUSE_EXTENDED_RTTI = no; then
6382 result=$wxUSE_EXTENDED_RTTI
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6386 $as_echo "$result" >&6; }
6388 if test "$USE_OS2" = 1; then
6389 DEFAULT_wxUSE_OMF=no
6393 if test -z "$defaultval"; then
6394 if test x"$enablestring" = xdisable; then
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6402 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6403 # Check whether --enable-omf was given.
6404 if test "${enable_omf+set}" = set; then :
6405 enableval=$enable_omf;
6406 if test "$enableval" = yes; then
6407 wx_cv_use_omf='wxUSE_OMF
=yes'
6409 wx_cv_use_omf='wxUSE_OMF
=no
'
6414 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6419 eval "$wx_cv_use_omf"
6421 if test x"$enablestring" = xdisable; then
6422 if test $wxUSE_OMF = no; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6432 $as_echo "$result" >&6; }
6437 enablestring=disable
6439 if test -z "$defaultval"; then
6440 if test x"$enablestring" = xdisable; then
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-optimise" >&5
6448 $as_echo_n "checking
for --${enablestring:-enable}-optimise...
" >&6; }
6449 # Check whether --enable-optimise was given.
6450 if test "${enable_optimise+set}" = set; then :
6451 enableval=$enable_optimise;
6452 if test "$enableval" = yes; then
6453 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6455 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6460 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6465 eval "$wx_cv_use_optimise"
6467 if test x
"$enablestring" = xdisable
; then
6468 if test $wxUSE_OPTIMISE = no
; then
6474 result
=$wxUSE_OPTIMISE
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6478 $as_echo "$result" >&6; }
6484 if test -z "$defaultval"; then
6485 if test x
"$enablestring" = xdisable
; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6493 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6494 # Check whether --enable-profile was given.
6495 if test "${enable_profile+set}" = set; then :
6496 enableval
=$enable_profile;
6497 if test "$enableval" = yes; then
6498 wx_cv_use_profile
='wxUSE_PROFILE=yes'
6500 wx_cv_use_profile
='wxUSE_PROFILE=no'
6505 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6510 eval "$wx_cv_use_profile"
6512 if test x"$enablestring" = xdisable; then
6513 if test $wxUSE_PROFILE = no; then
6519 result=$wxUSE_PROFILE
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6523 $as_echo "$result" >&6; }
6528 if test -z "$defaultval"; then
6529 if test x"$enablestring" = xdisable; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6537 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6538 # Check whether --enable-no_rtti was given.
6539 if test "${enable_no_rtti+set}" = set; then :
6540 enableval=$enable_no_rtti;
6541 if test "$enableval" = yes; then
6542 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
6544 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
6549 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6554 eval "$wx_cv_use_no_rtti"
6556 if test x"$enablestring" = xdisable; then
6557 if test $wxUSE_NO_RTTI = no; then
6563 result=$wxUSE_NO_RTTI
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6567 $as_echo "$result" >&6; }
6572 if test -z "$defaultval"; then
6573 if test x"$enablestring" = xdisable; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_exceptions" >&5
6581 $as_echo_n "checking
for --${enablestring:-enable}-no_exceptions...
" >&6; }
6582 # Check whether --enable-no_exceptions was given.
6583 if test "${enable_no_exceptions+set}" = set; then :
6584 enableval=$enable_no_exceptions;
6585 if test "$enableval" = yes; then
6586 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6588 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6593 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6598 eval "$wx_cv_use_no_exceptions"
6600 if test x
"$enablestring" = xdisable
; then
6601 if test $wxUSE_NO_EXCEPTIONS = no
; then
6607 result
=$wxUSE_NO_EXCEPTIONS
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6611 $as_echo "$result" >&6; }
6616 if test -z "$defaultval"; then
6617 if test x
"$enablestring" = xdisable
; then
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6625 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6626 # Check whether --enable-permissive was given.
6627 if test "${enable_permissive+set}" = set; then :
6628 enableval
=$enable_permissive;
6629 if test "$enableval" = yes; then
6630 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
6632 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
6637 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6642 eval "$wx_cv_use_permissive"
6644 if test x"$enablestring" = xdisable; then
6645 if test $wxUSE_PERMISSIVE = no; then
6651 result=$wxUSE_PERMISSIVE
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6655 $as_echo "$result" >&6; }
6660 if test -z "$defaultval"; then
6661 if test x"$enablestring" = xdisable; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6669 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6670 # Check whether --enable-no_deps was given.
6671 if test "${enable_no_deps+set}" = set; then :
6672 enableval=$enable_no_deps;
6673 if test "$enableval" = yes; then
6674 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
6676 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
6681 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6686 eval "$wx_cv_use_no_deps"
6688 if test x"$enablestring" = xdisable; then
6689 if test $wxUSE_NO_DEPS = no; then
6695 result=$wxUSE_NO_DEPS
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6699 $as_echo "$result" >&6; }
6702 enablestring=disable
6704 if test -z "$defaultval"; then
6705 if test x"$enablestring" = xdisable; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-vararg_macros" >&5
6713 $as_echo_n "checking
for --${enablestring:-enable}-vararg_macros...
" >&6; }
6714 # Check whether --enable-vararg_macros was given.
6715 if test "${enable_vararg_macros+set}" = set; then :
6716 enableval=$enable_vararg_macros;
6717 if test "$enableval" = yes; then
6718 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6720 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6725 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6730 eval "$wx_cv_use_vararg_macros"
6732 if test x
"$enablestring" = xdisable
; then
6733 if test $wxUSE_VARARG_MACROS = no
; then
6739 result
=$wxUSE_VARARG_MACROS
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6743 $as_echo "$result" >&6; }
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6749 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6750 # Check whether --enable-universal_binary was given.
6751 if test "${enable_universal_binary+set}" = set; then :
6752 enableval
=$enable_universal_binary;
6753 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
6757 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6762 eval "$wx_cv_use_universal_binary"
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6765 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6770 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6771 # Check whether --enable-macosx_arch was given.
6772 if test "${enable_macosx_arch+set}" = set; then :
6773 enableval
=$enable_macosx_arch;
6774 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
6778 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6783 eval "$wx_cv_use_macosx_arch"
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6786 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6792 if test -z "$defaultval"; then
6793 if test x
"$enablestring" = xdisable
; then
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6801 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6802 # Check whether --enable-compat26 was given.
6803 if test "${enable_compat26+set}" = set; then :
6804 enableval
=$enable_compat26;
6805 if test "$enableval" = yes; then
6806 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
6808 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
6813 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6818 eval "$wx_cv_use_compat26"
6820 if test x"$enablestring" = xdisable; then
6821 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6827 result=$WXWIN_COMPATIBILITY_2_6
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6831 $as_echo "$result" >&6; }
6834 enablestring=disable
6836 if test -z "$defaultval"; then
6837 if test x"$enablestring" = xdisable; then
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6845 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6846 # Check whether --enable-compat28 was given.
6847 if test "${enable_compat28+set}" = set; then :
6848 enableval=$enable_compat28;
6849 if test "$enableval" = yes; then
6850 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
6852 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
6857 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6862 eval "$wx_cv_use_compat28"
6864 if test x"$enablestring" = xdisable; then
6865 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6871 result=$WXWIN_COMPATIBILITY_2_8
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6875 $as_echo "$result" >&6; }
6879 enablestring=disable
6881 if test -z "$defaultval"; then
6882 if test x"$enablestring" = xdisable; then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rpath" >&5
6890 $as_echo_n "checking
for --${enablestring:-enable}-rpath...
" >&6; }
6891 # Check whether --enable-rpath was given.
6892 if test "${enable_rpath+set}" = set; then :
6893 enableval=$enable_rpath;
6894 if test "$enableval" = yes; then
6895 wx_cv_use_rpath='wxUSE_RPATH=yes'
6897 wx_cv_use_rpath='wxUSE_RPATH=no'
6902 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6907 eval "$wx_cv_use_rpath"
6909 if test x
"$enablestring" = xdisable
; then
6910 if test $wxUSE_RPATH = no
; then
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6920 $as_echo "$result" >&6; }
6926 if test -z "$defaultval"; then
6927 if test x
"$enablestring" = xdisable
; then
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6935 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6936 # Check whether --enable-objc_uniquifying was given.
6937 if test "${enable_objc_uniquifying+set}" = set; then :
6938 enableval
=$enable_objc_uniquifying;
6939 if test "$enableval" = yes; then
6940 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
6942 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
6947 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6952 eval "$wx_cv_use_objc_uniquifying"
6954 if test x"$enablestring" = xdisable; then
6955 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6961 result=$wxUSE_OBJC_UNIQUIFYING
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6965 $as_echo "$result" >&6; }
6969 enablestring=disable
6971 if test -z "$defaultval"; then
6972 if test x"$enablestring" = xdisable; then
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6980 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6981 # Check whether --enable-visibility was given.
6982 if test "${enable_visibility+set}" = set; then :
6983 enableval=$enable_visibility;
6984 if test "$enableval" = yes; then
6985 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
6987 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
6992 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6997 eval "$wx_cv_use_visibility"
6999 if test x"$enablestring" = xdisable; then
7000 if test $wxUSE_VISIBILITY = no; then
7006 result=$wxUSE_VISIBILITY
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7010 $as_echo "$result" >&6; }
7013 enablestring=disable
7015 if test -z "$defaultval"; then
7016 if test x"$enablestring" = xdisable; then
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tls" >&5
7024 $as_echo_n "checking
for --${enablestring:-enable}-tls...
" >&6; }
7025 # Check whether --enable-tls was given.
7026 if test "${enable_tls+set}" = set; then :
7027 enableval=$enable_tls;
7028 if test "$enableval" = yes; then
7029 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
7031 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
7036 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
7041 eval "$wx_cv_use_tls"
7043 if test x
"$enablestring" = xdisable
; then
7044 if test $wxUSE_COMPILER_TLS = no
; then
7050 result
=$wxUSE_COMPILER_TLS
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7054 $as_echo "$result" >&6; }
7060 defaultval
=$wxUSE_ALL_FEATURES
7061 if test -z "$defaultval"; then
7062 if test x
"$enablestring" = xdisable
; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7070 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7071 # Check whether --enable-intl was given.
7072 if test "${enable_intl+set}" = set; then :
7073 enableval
=$enable_intl;
7074 if test "$enableval" = yes; then
7075 wx_cv_use_intl
='wxUSE_INTL=yes'
7077 wx_cv_use_intl
='wxUSE_INTL=no'
7082 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7087 eval "$wx_cv_use_intl"
7089 if test x"$enablestring" = xdisable; then
7090 if test $wxUSE_INTL = no; then
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7100 $as_echo "$result" >&6; }
7104 defaultval=$wxUSE_ALL_FEATURES
7105 if test -z "$defaultval"; then
7106 if test x"$enablestring" = xdisable; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7114 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7115 # Check whether --enable-xlocale was given.
7116 if test "${enable_xlocale+set}" = set; then :
7117 enableval=$enable_xlocale;
7118 if test "$enableval" = yes; then
7119 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
7121 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
7126 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7131 eval "$wx_cv_use_xlocale"
7133 if test x"$enablestring" = xdisable; then
7134 if test $wxUSE_XLOCALE = no; then
7140 result=$wxUSE_XLOCALE
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7144 $as_echo "$result" >&6; }
7148 defaultval=$wxUSE_ALL_FEATURES
7149 if test -z "$defaultval"; then
7150 if test x"$enablestring" = xdisable; then
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-config" >&5
7158 $as_echo_n "checking
for --${enablestring:-enable}-config...
" >&6; }
7159 # Check whether --enable-config was given.
7160 if test "${enable_config+set}" = set; then :
7161 enableval=$enable_config;
7162 if test "$enableval" = yes; then
7163 wx_cv_use_config='wxUSE_CONFIG=yes'
7165 wx_cv_use_config='wxUSE_CONFIG=no'
7170 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7175 eval "$wx_cv_use_config"
7177 if test x
"$enablestring" = xdisable
; then
7178 if test $wxUSE_CONFIG = no
; then
7184 result
=$wxUSE_CONFIG
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7188 $as_echo "$result" >&6; }
7193 defaultval
=$wxUSE_ALL_FEATURES
7194 if test -z "$defaultval"; then
7195 if test x
"$enablestring" = xdisable
; then
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7203 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7204 # Check whether --enable-protocols was given.
7205 if test "${enable_protocols+set}" = set; then :
7206 enableval
=$enable_protocols;
7207 if test "$enableval" = yes; then
7208 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
7210 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
7215 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7220 eval "$wx_cv_use_protocols"
7222 if test x"$enablestring" = xdisable; then
7223 if test $wxUSE_PROTOCOL = no; then
7229 result=$wxUSE_PROTOCOL
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7233 $as_echo "$result" >&6; }
7237 defaultval=$wxUSE_ALL_FEATURES
7238 if test -z "$defaultval"; then
7239 if test x"$enablestring" = xdisable; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7247 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7248 # Check whether --enable-ftp was given.
7249 if test "${enable_ftp+set}" = set; then :
7250 enableval=$enable_ftp;
7251 if test "$enableval" = yes; then
7252 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
7254 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
7259 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7264 eval "$wx_cv_use_ftp"
7266 if test x"$enablestring" = xdisable; then
7267 if test $wxUSE_PROTOCOL_FTP = no; then
7273 result=$wxUSE_PROTOCOL_FTP
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7277 $as_echo "$result" >&6; }
7281 defaultval=$wxUSE_ALL_FEATURES
7282 if test -z "$defaultval"; then
7283 if test x"$enablestring" = xdisable; then
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-http" >&5
7291 $as_echo_n "checking
for --${enablestring:-enable}-http...
" >&6; }
7292 # Check whether --enable-http was given.
7293 if test "${enable_http+set}" = set; then :
7294 enableval=$enable_http;
7295 if test "$enableval" = yes; then
7296 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7298 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7303 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7308 eval "$wx_cv_use_http"
7310 if test x
"$enablestring" = xdisable
; then
7311 if test $wxUSE_PROTOCOL_HTTP = no
; then
7317 result
=$wxUSE_PROTOCOL_HTTP
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7321 $as_echo "$result" >&6; }
7325 defaultval
=$wxUSE_ALL_FEATURES
7326 if test -z "$defaultval"; then
7327 if test x
"$enablestring" = xdisable
; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7335 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7336 # Check whether --enable-fileproto was given.
7337 if test "${enable_fileproto+set}" = set; then :
7338 enableval
=$enable_fileproto;
7339 if test "$enableval" = yes; then
7340 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
7342 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
7347 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7352 eval "$wx_cv_use_fileproto"
7354 if test x"$enablestring" = xdisable; then
7355 if test $wxUSE_PROTOCOL_FILE = no; then
7361 result=$wxUSE_PROTOCOL_FILE
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7365 $as_echo "$result" >&6; }
7369 defaultval=$wxUSE_ALL_FEATURES
7370 if test -z "$defaultval"; then
7371 if test x"$enablestring" = xdisable; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7379 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7380 # Check whether --enable-sockets was given.
7381 if test "${enable_sockets+set}" = set; then :
7382 enableval=$enable_sockets;
7383 if test "$enableval" = yes; then
7384 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
7386 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
7391 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7396 eval "$wx_cv_use_sockets"
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_SOCKETS = no; then
7405 result=$wxUSE_SOCKETS
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7409 $as_echo "$result" >&6; }
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipv6" >&5
7423 $as_echo_n "checking
for --${enablestring:-enable}-ipv6...
" >&6; }
7424 # Check whether --enable-ipv6 was given.
7425 if test "${enable_ipv6+set}" = set; then :
7426 enableval=$enable_ipv6;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7430 wx_cv_use_ipv6='wxUSE_IPV6=no'
7435 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7440 eval "$wx_cv_use_ipv6"
7442 if test x
"$enablestring" = xdisable
; then
7443 if test $wxUSE_IPV6 = no
; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7453 $as_echo "$result" >&6; }
7457 defaultval
=$wxUSE_ALL_FEATURES
7458 if test -z "$defaultval"; then
7459 if test x
"$enablestring" = xdisable
; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7467 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7468 # Check whether --enable-ole was given.
7469 if test "${enable_ole+set}" = set; then :
7470 enableval
=$enable_ole;
7471 if test "$enableval" = yes; then
7472 wx_cv_use_ole
='wxUSE_OLE=yes'
7474 wx_cv_use_ole
='wxUSE_OLE=no'
7479 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7484 eval "$wx_cv_use_ole"
7486 if test x"$enablestring" = xdisable; then
7487 if test $wxUSE_OLE = no; then
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7497 $as_echo "$result" >&6; }
7501 defaultval=$wxUSE_ALL_FEATURES
7502 if test -z "$defaultval"; then
7503 if test x"$enablestring" = xdisable; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7511 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7512 # Check whether --enable-dataobj was given.
7513 if test "${enable_dataobj+set}" = set; then :
7514 enableval=$enable_dataobj;
7515 if test "$enableval" = yes; then
7516 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
7518 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
7523 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7528 eval "$wx_cv_use_dataobj"
7530 if test x"$enablestring" = xdisable; then
7531 if test $wxUSE_DATAOBJ = no; then
7537 result=$wxUSE_DATAOBJ
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7541 $as_echo "$result" >&6; }
7546 defaultval=$wxUSE_ALL_FEATURES
7547 if test -z "$defaultval"; then
7548 if test x"$enablestring" = xdisable; then
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipc" >&5
7556 $as_echo_n "checking
for --${enablestring:-enable}-ipc...
" >&6; }
7557 # Check whether --enable-ipc was given.
7558 if test "${enable_ipc+set}" = set; then :
7559 enableval=$enable_ipc;
7560 if test "$enableval" = yes; then
7561 wx_cv_use_ipc='wxUSE_IPC=yes'
7563 wx_cv_use_ipc='wxUSE_IPC=no'
7568 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7573 eval "$wx_cv_use_ipc"
7575 if test x
"$enablestring" = xdisable
; then
7576 if test $wxUSE_IPC = no
; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7586 $as_echo "$result" >&6; }
7591 defaultval
=$wxUSE_ALL_FEATURES
7592 if test -z "$defaultval"; then
7593 if test x
"$enablestring" = xdisable
; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7601 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7602 # Check whether --enable-baseevtloop was given.
7603 if test "${enable_baseevtloop+set}" = set; then :
7604 enableval
=$enable_baseevtloop;
7605 if test "$enableval" = yes; then
7606 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
7608 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
7613 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7618 eval "$wx_cv_use_baseevtloop"
7620 if test x"$enablestring" = xdisable; then
7621 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7627 result=$wxUSE_CONSOLE_EVENTLOOP
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7631 $as_echo "$result" >&6; }
7635 defaultval=$wxUSE_ALL_FEATURES
7636 if test -z "$defaultval"; then
7637 if test x"$enablestring" = xdisable; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7645 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7646 # Check whether --enable-epollloop was given.
7647 if test "${enable_epollloop+set}" = set; then :
7648 enableval=$enable_epollloop;
7649 if test "$enableval" = yes; then
7650 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
7652 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
7657 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7662 eval "$wx_cv_use_epollloop"
7664 if test x"$enablestring" = xdisable; then
7665 if test $wxUSE_EPOLL_DISPATCHER = no; then
7671 result=$wxUSE_EPOLL_DISPATCHER
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7675 $as_echo "$result" >&6; }
7679 defaultval=$wxUSE_ALL_FEATURES
7680 if test -z "$defaultval"; then
7681 if test x"$enablestring" = xdisable; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-selectloop" >&5
7689 $as_echo_n "checking
for --${enablestring:-enable}-selectloop...
" >&6; }
7690 # Check whether --enable-selectloop was given.
7691 if test "${enable_selectloop+set}" = set; then :
7692 enableval=$enable_selectloop;
7693 if test "$enableval" = yes; then
7694 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7696 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7701 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7706 eval "$wx_cv_use_selectloop"
7708 if test x
"$enablestring" = xdisable
; then
7709 if test $wxUSE_SELECT_DISPATCHER = no
; then
7715 result
=$wxUSE_SELECT_DISPATCHER
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7719 $as_echo "$result" >&6; }
7724 defaultval
=$wxUSE_ALL_FEATURES
7725 if test -z "$defaultval"; then
7726 if test x
"$enablestring" = xdisable
; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7734 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7735 # Check whether --enable-any was given.
7736 if test "${enable_any+set}" = set; then :
7737 enableval
=$enable_any;
7738 if test "$enableval" = yes; then
7739 wx_cv_use_any
='wxUSE_ANY=yes'
7741 wx_cv_use_any
='wxUSE_ANY=no'
7746 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7751 eval "$wx_cv_use_any"
7753 if test x"$enablestring" = xdisable; then
7754 if test $wxUSE_ANY = no; then
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7764 $as_echo "$result" >&6; }
7768 defaultval=$wxUSE_ALL_FEATURES
7769 if test -z "$defaultval"; then
7770 if test x"$enablestring" = xdisable; then
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7778 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7779 # Check whether --enable-apple_ieee was given.
7780 if test "${enable_apple_ieee+set}" = set; then :
7781 enableval=$enable_apple_ieee;
7782 if test "$enableval" = yes; then
7783 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
7785 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
7790 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7795 eval "$wx_cv_use_apple_ieee"
7797 if test x"$enablestring" = xdisable; then
7798 if test $wxUSE_APPLE_IEEE = no; then
7804 result=$wxUSE_APPLE_IEEE
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7808 $as_echo "$result" >&6; }
7812 defaultval=$wxUSE_ALL_FEATURES
7813 if test -z "$defaultval"; then
7814 if test x"$enablestring" = xdisable; then
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-arcstream" >&5
7822 $as_echo_n "checking
for --${enablestring:-enable}-arcstream...
" >&6; }
7823 # Check whether --enable-arcstream was given.
7824 if test "${enable_arcstream+set}" = set; then :
7825 enableval=$enable_arcstream;
7826 if test "$enableval" = yes; then
7827 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7829 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7834 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7839 eval "$wx_cv_use_arcstream"
7841 if test x
"$enablestring" = xdisable
; then
7842 if test $wxUSE_ARCHIVE_STREAMS = no
; then
7848 result
=$wxUSE_ARCHIVE_STREAMS
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7852 $as_echo "$result" >&6; }
7856 defaultval
=$wxUSE_ALL_FEATURES
7857 if test -z "$defaultval"; then
7858 if test x
"$enablestring" = xdisable
; then
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7866 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7867 # Check whether --enable-base64 was given.
7868 if test "${enable_base64+set}" = set; then :
7869 enableval
=$enable_base64;
7870 if test "$enableval" = yes; then
7871 wx_cv_use_base64
='wxUSE_BASE64=yes'
7873 wx_cv_use_base64
='wxUSE_BASE64=no'
7878 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7883 eval "$wx_cv_use_base64"
7885 if test x"$enablestring" = xdisable; then
7886 if test $wxUSE_BASE64 = no; then
7892 result=$wxUSE_BASE64
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7896 $as_echo "$result" >&6; }
7900 defaultval=$wxUSE_ALL_FEATURES
7901 if test -z "$defaultval"; then
7902 if test x"$enablestring" = xdisable; then
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7910 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7911 # Check whether --enable-backtrace was given.
7912 if test "${enable_backtrace+set}" = set; then :
7913 enableval=$enable_backtrace;
7914 if test "$enableval" = yes; then
7915 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7917 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7922 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7927 eval "$wx_cv_use_backtrace"
7929 if test x"$enablestring" = xdisable; then
7930 if test $wxUSE_STACKWALKER = no; then
7936 result=$wxUSE_STACKWALKER
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7940 $as_echo "$result" >&6; }
7944 defaultval=$wxUSE_ALL_FEATURES
7945 if test -z "$defaultval"; then
7946 if test x"$enablestring" = xdisable; then
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-catch_segvs" >&5
7954 $as_echo_n "checking
for --${enablestring:-enable}-catch_segvs...
" >&6; }
7955 # Check whether --enable-catch_segvs was given.
7956 if test "${enable_catch_segvs+set}" = set; then :
7957 enableval=$enable_catch_segvs;
7958 if test "$enableval" = yes; then
7959 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7961 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7966 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7971 eval "$wx_cv_use_catch_segvs"
7973 if test x
"$enablestring" = xdisable
; then
7974 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
7980 result
=$wxUSE_ON_FATAL_EXCEPTION
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7984 $as_echo "$result" >&6; }
7988 defaultval
=$wxUSE_ALL_FEATURES
7989 if test -z "$defaultval"; then
7990 if test x
"$enablestring" = xdisable
; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7998 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7999 # Check whether --enable-cmdline was given.
8000 if test "${enable_cmdline+set}" = set; then :
8001 enableval
=$enable_cmdline;
8002 if test "$enableval" = yes; then
8003 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
8005 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
8010 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
8015 eval "$wx_cv_use_cmdline"
8017 if test x"$enablestring" = xdisable; then
8018 if test $wxUSE_CMDLINE_PARSER = no; then
8024 result=$wxUSE_CMDLINE_PARSER
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8028 $as_echo "$result" >&6; }
8032 defaultval=$wxUSE_ALL_FEATURES
8033 if test -z "$defaultval"; then
8034 if test x"$enablestring" = xdisable; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
8042 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
8043 # Check whether --enable-datetime was given.
8044 if test "${enable_datetime+set}" = set; then :
8045 enableval=$enable_datetime;
8046 if test "$enableval" = yes; then
8047 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
8049 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
8054 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8059 eval "$wx_cv_use_datetime"
8061 if test x"$enablestring" = xdisable; then
8062 if test $wxUSE_DATETIME = no; then
8068 result=$wxUSE_DATETIME
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8072 $as_echo "$result" >&6; }
8076 defaultval=$wxUSE_ALL_FEATURES
8077 if test -z "$defaultval"; then
8078 if test x"$enablestring" = xdisable; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debugreport" >&5
8086 $as_echo_n "checking
for --${enablestring:-enable}-debugreport...
" >&6; }
8087 # Check whether --enable-debugreport was given.
8088 if test "${enable_debugreport+set}" = set; then :
8089 enableval=$enable_debugreport;
8090 if test "$enableval" = yes; then
8091 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8093 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8098 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8103 eval "$wx_cv_use_debugreport"
8105 if test x
"$enablestring" = xdisable
; then
8106 if test $wxUSE_DEBUGREPORT = no
; then
8112 result
=$wxUSE_DEBUGREPORT
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8116 $as_echo "$result" >&6; }
8120 defaultval
=$wxUSE_ALL_FEATURES
8121 if test -z "$defaultval"; then
8122 if test x
"$enablestring" = xdisable
; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8130 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8131 # Check whether --enable-dialupman was given.
8132 if test "${enable_dialupman+set}" = set; then :
8133 enableval
=$enable_dialupman;
8134 if test "$enableval" = yes; then
8135 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
8137 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
8142 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8147 eval "$wx_cv_use_dialupman"
8149 if test x"$enablestring" = xdisable; then
8150 if test $wxUSE_DIALUP_MANAGER = no; then
8156 result=$wxUSE_DIALUP_MANAGER
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8160 $as_echo "$result" >&6; }
8164 defaultval=$wxUSE_ALL_FEATURES
8165 if test -z "$defaultval"; then
8166 if test x"$enablestring" = xdisable; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8174 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8175 # Check whether --enable-dynlib was given.
8176 if test "${enable_dynlib+set}" = set; then :
8177 enableval=$enable_dynlib;
8178 if test "$enableval" = yes; then
8179 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
8181 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
8186 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8191 eval "$wx_cv_use_dynlib"
8193 if test x"$enablestring" = xdisable; then
8194 if test $wxUSE_DYNLIB_CLASS = no; then
8200 result=$wxUSE_DYNLIB_CLASS
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8204 $as_echo "$result" >&6; }
8208 defaultval=$wxUSE_ALL_FEATURES
8209 if test -z "$defaultval"; then
8210 if test x"$enablestring" = xdisable; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynamicloader" >&5
8218 $as_echo_n "checking
for --${enablestring:-enable}-dynamicloader...
" >&6; }
8219 # Check whether --enable-dynamicloader was given.
8220 if test "${enable_dynamicloader+set}" = set; then :
8221 enableval=$enable_dynamicloader;
8222 if test "$enableval" = yes; then
8223 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8225 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8230 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8235 eval "$wx_cv_use_dynamicloader"
8237 if test x
"$enablestring" = xdisable
; then
8238 if test $wxUSE_DYNAMIC_LOADER = no
; then
8244 result
=$wxUSE_DYNAMIC_LOADER
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8248 $as_echo "$result" >&6; }
8252 defaultval
=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x
"$enablestring" = xdisable
; then
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8262 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8263 # Check whether --enable-exceptions was given.
8264 if test "${enable_exceptions+set}" = set; then :
8265 enableval
=$enable_exceptions;
8266 if test "$enableval" = yes; then
8267 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
8269 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
8274 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8279 eval "$wx_cv_use_exceptions"
8281 if test x"$enablestring" = xdisable; then
8282 if test $wxUSE_EXCEPTIONS = no; then
8288 result=$wxUSE_EXCEPTIONS
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8292 $as_echo "$result" >&6; }
8296 defaultval=$wxUSE_ALL_FEATURES
8297 if test -z "$defaultval"; then
8298 if test x"$enablestring" = xdisable; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8306 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8307 # Check whether --enable-ffile was given.
8308 if test "${enable_ffile+set}" = set; then :
8309 enableval=$enable_ffile;
8310 if test "$enableval" = yes; then
8311 wx_cv_use_ffile='wxUSE_FFILE
=yes'
8313 wx_cv_use_ffile='wxUSE_FFILE
=no
'
8318 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8323 eval "$wx_cv_use_ffile"
8325 if test x"$enablestring" = xdisable; then
8326 if test $wxUSE_FFILE = no; then
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8336 $as_echo "$result" >&6; }
8340 defaultval=$wxUSE_ALL_FEATURES
8341 if test -z "$defaultval"; then
8342 if test x"$enablestring" = xdisable; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-file" >&5
8350 $as_echo_n "checking
for --${enablestring:-enable}-file...
" >&6; }
8351 # Check whether --enable-file was given.
8352 if test "${enable_file+set}" = set; then :
8353 enableval=$enable_file;
8354 if test "$enableval" = yes; then
8355 wx_cv_use_file='wxUSE_FILE=yes'
8357 wx_cv_use_file='wxUSE_FILE=no'
8362 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8367 eval "$wx_cv_use_file"
8369 if test x
"$enablestring" = xdisable
; then
8370 if test $wxUSE_FILE = no
; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8380 $as_echo "$result" >&6; }
8384 defaultval
=$wxUSE_ALL_FEATURES
8385 if test -z "$defaultval"; then
8386 if test x
"$enablestring" = xdisable
; then
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8394 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8395 # Check whether --enable-filehistory was given.
8396 if test "${enable_filehistory+set}" = set; then :
8397 enableval
=$enable_filehistory;
8398 if test "$enableval" = yes; then
8399 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
8401 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
8406 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8411 eval "$wx_cv_use_filehistory"
8413 if test x"$enablestring" = xdisable; then
8414 if test $wxUSE_FILE_HISTORY = no; then
8420 result=$wxUSE_FILE_HISTORY
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8424 $as_echo "$result" >&6; }
8428 defaultval=$wxUSE_ALL_FEATURES
8429 if test -z "$defaultval"; then
8430 if test x"$enablestring" = xdisable; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8438 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8439 # Check whether --enable-filesystem was given.
8440 if test "${enable_filesystem+set}" = set; then :
8441 enableval=$enable_filesystem;
8442 if test "$enableval" = yes; then
8443 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
8445 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
8450 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8455 eval "$wx_cv_use_filesystem"
8457 if test x"$enablestring" = xdisable; then
8458 if test $wxUSE_FILESYSTEM = no; then
8464 result=$wxUSE_FILESYSTEM
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8468 $as_echo "$result" >&6; }
8472 defaultval=$wxUSE_ALL_FEATURES
8473 if test -z "$defaultval"; then
8474 if test x"$enablestring" = xdisable; then
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontenum" >&5
8482 $as_echo_n "checking
for --${enablestring:-enable}-fontenum...
" >&6; }
8483 # Check whether --enable-fontenum was given.
8484 if test "${enable_fontenum+set}" = set; then :
8485 enableval=$enable_fontenum;
8486 if test "$enableval" = yes; then
8487 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8489 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8494 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8499 eval "$wx_cv_use_fontenum"
8501 if test x
"$enablestring" = xdisable
; then
8502 if test $wxUSE_FONTENUM = no
; then
8508 result
=$wxUSE_FONTENUM
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8512 $as_echo "$result" >&6; }
8516 defaultval
=$wxUSE_ALL_FEATURES
8517 if test -z "$defaultval"; then
8518 if test x
"$enablestring" = xdisable
; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8526 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8527 # Check whether --enable-fontmap was given.
8528 if test "${enable_fontmap+set}" = set; then :
8529 enableval
=$enable_fontmap;
8530 if test "$enableval" = yes; then
8531 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
8533 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
8538 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8543 eval "$wx_cv_use_fontmap"
8545 if test x"$enablestring" = xdisable; then
8546 if test $wxUSE_FONTMAP = no; then
8552 result=$wxUSE_FONTMAP
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8556 $as_echo "$result" >&6; }
8560 defaultval=$wxUSE_ALL_FEATURES
8561 if test -z "$defaultval"; then
8562 if test x"$enablestring" = xdisable; then
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8570 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8571 # Check whether --enable-fs_archive was given.
8572 if test "${enable_fs_archive+set}" = set; then :
8573 enableval=$enable_fs_archive;
8574 if test "$enableval" = yes; then
8575 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
8577 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
8582 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8587 eval "$wx_cv_use_fs_archive"
8589 if test x"$enablestring" = xdisable; then
8590 if test $wxUSE_FS_ARCHIVE = no; then
8596 result=$wxUSE_FS_ARCHIVE
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8600 $as_echo "$result" >&6; }
8604 defaultval=$wxUSE_ALL_FEATURES
8605 if test -z "$defaultval"; then
8606 if test x"$enablestring" = xdisable; then
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_inet" >&5
8614 $as_echo_n "checking
for --${enablestring:-enable}-fs_inet...
" >&6; }
8615 # Check whether --enable-fs_inet was given.
8616 if test "${enable_fs_inet+set}" = set; then :
8617 enableval=$enable_fs_inet;
8618 if test "$enableval" = yes; then
8619 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8621 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8626 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8631 eval "$wx_cv_use_fs_inet"
8633 if test x
"$enablestring" = xdisable
; then
8634 if test $wxUSE_FS_INET = no
; then
8640 result
=$wxUSE_FS_INET
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8644 $as_echo "$result" >&6; }
8648 defaultval
=$wxUSE_ALL_FEATURES
8649 if test -z "$defaultval"; then
8650 if test x
"$enablestring" = xdisable
; then
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8658 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8659 # Check whether --enable-fs_zip was given.
8660 if test "${enable_fs_zip+set}" = set; then :
8661 enableval
=$enable_fs_zip;
8662 if test "$enableval" = yes; then
8663 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
8665 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
8670 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8675 eval "$wx_cv_use_fs_zip"
8677 if test x"$enablestring" = xdisable; then
8678 if test $wxUSE_FS_ZIP = no; then
8684 result=$wxUSE_FS_ZIP
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8688 $as_echo "$result" >&6; }
8692 defaultval=$wxUSE_ALL_FEATURES
8693 if test -z "$defaultval"; then
8694 if test x"$enablestring" = xdisable; then
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8702 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8703 # Check whether --enable-fsvolume was given.
8704 if test "${enable_fsvolume+set}" = set; then :
8705 enableval=$enable_fsvolume;
8706 if test "$enableval" = yes; then
8707 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=yes'
8709 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=no
'
8714 wx_cv_use_fsvolume='wxUSE_FSVOLUME
=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8719 eval "$wx_cv_use_fsvolume"
8721 if test x"$enablestring" = xdisable; then
8722 if test $wxUSE_FSVOLUME = no; then
8728 result=$wxUSE_FSVOLUME
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8732 $as_echo "$result" >&6; }
8736 defaultval=$wxUSE_ALL_FEATURES
8737 if test -z "$defaultval"; then
8738 if test x"$enablestring" = xdisable; then
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fswatcher" >&5
8746 $as_echo_n "checking
for --${enablestring:-enable}-fswatcher...
" >&6; }
8747 # Check whether --enable-fswatcher was given.
8748 if test "${enable_fswatcher+set}" = set; then :
8749 enableval=$enable_fswatcher;
8750 if test "$enableval" = yes; then
8751 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8753 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8758 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8763 eval "$wx_cv_use_fswatcher"
8765 if test x
"$enablestring" = xdisable
; then
8766 if test $wxUSE_FSWATCHER = no
; then
8772 result
=$wxUSE_FSWATCHER
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8776 $as_echo "$result" >&6; }
8780 defaultval
=$wxUSE_ALL_FEATURES
8781 if test -z "$defaultval"; then
8782 if test x
"$enablestring" = xdisable
; then
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8790 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8791 # Check whether --enable-geometry was given.
8792 if test "${enable_geometry+set}" = set; then :
8793 enableval
=$enable_geometry;
8794 if test "$enableval" = yes; then
8795 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
8797 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
8802 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8807 eval "$wx_cv_use_geometry"
8809 if test x"$enablestring" = xdisable; then
8810 if test $wxUSE_GEOMETRY = no; then
8816 result=$wxUSE_GEOMETRY
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8820 $as_echo "$result" >&6; }
8824 defaultval=$wxUSE_ALL_FEATURES
8825 if test -z "$defaultval"; then
8826 if test x"$enablestring" = xdisable; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8834 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8835 # Check whether --enable-log was given.
8836 if test "${enable_log+set}" = set; then :
8837 enableval=$enable_log;
8838 if test "$enableval" = yes; then
8839 wx_cv_use_log='wxUSE_LOG
=yes'
8841 wx_cv_use_log='wxUSE_LOG
=no
'
8846 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8851 eval "$wx_cv_use_log"
8853 if test x"$enablestring" = xdisable; then
8854 if test $wxUSE_LOG = no; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8864 $as_echo "$result" >&6; }
8868 defaultval=$wxUSE_ALL_FEATURES
8869 if test -z "$defaultval"; then
8870 if test x"$enablestring" = xdisable; then
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-longlong" >&5
8878 $as_echo_n "checking
for --${enablestring:-enable}-longlong...
" >&6; }
8879 # Check whether --enable-longlong was given.
8880 if test "${enable_longlong+set}" = set; then :
8881 enableval=$enable_longlong;
8882 if test "$enableval" = yes; then
8883 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8885 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8890 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8895 eval "$wx_cv_use_longlong"
8897 if test x
"$enablestring" = xdisable
; then
8898 if test $wxUSE_LONGLONG = no
; then
8904 result
=$wxUSE_LONGLONG
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8908 $as_echo "$result" >&6; }
8912 defaultval
=$wxUSE_ALL_FEATURES
8913 if test -z "$defaultval"; then
8914 if test x
"$enablestring" = xdisable
; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8922 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8923 # Check whether --enable-mimetype was given.
8924 if test "${enable_mimetype+set}" = set; then :
8925 enableval
=$enable_mimetype;
8926 if test "$enableval" = yes; then
8927 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
8929 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
8934 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8939 eval "$wx_cv_use_mimetype"
8941 if test x"$enablestring" = xdisable; then
8942 if test $wxUSE_MIMETYPE = no; then
8948 result=$wxUSE_MIMETYPE
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8952 $as_echo "$result" >&6; }
8956 defaultval=$wxUSE_ALL_FEATURES
8957 if test -z "$defaultval"; then
8958 if test x"$enablestring" = xdisable; then
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8966 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8967 # Check whether --enable-printfposparam was given.
8968 if test "${enable_printfposparam+set}" = set; then :
8969 enableval=$enable_printfposparam;
8970 if test "$enableval" = yes; then
8971 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
8973 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
8978 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8983 eval "$wx_cv_use_printfposparam"
8985 if test x"$enablestring" = xdisable; then
8986 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8992 result=$wxUSE_PRINTF_POS_PARAMS
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8996 $as_echo "$result" >&6; }
9000 defaultval=$wxUSE_ALL_FEATURES
9001 if test -z "$defaultval"; then
9002 if test x"$enablestring" = xdisable; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-snglinst" >&5
9010 $as_echo_n "checking
for --${enablestring:-enable}-snglinst...
" >&6; }
9011 # Check whether --enable-snglinst was given.
9012 if test "${enable_snglinst+set}" = set; then :
9013 enableval=$enable_snglinst;
9014 if test "$enableval" = yes; then
9015 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
9017 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
9022 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
9027 eval "$wx_cv_use_snglinst"
9029 if test x
"$enablestring" = xdisable
; then
9030 if test $wxUSE_SNGLINST_CHECKER = no
; then
9036 result
=$wxUSE_SNGLINST_CHECKER
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9040 $as_echo "$result" >&6; }
9044 defaultval
=$wxUSE_ALL_FEATURES
9045 if test -z "$defaultval"; then
9046 if test x
"$enablestring" = xdisable
; then
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
9054 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9055 # Check whether --enable-sound was given.
9056 if test "${enable_sound+set}" = set; then :
9057 enableval
=$enable_sound;
9058 if test "$enableval" = yes; then
9059 wx_cv_use_sound
='wxUSE_SOUND=yes'
9061 wx_cv_use_sound
='wxUSE_SOUND=no'
9066 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9071 eval "$wx_cv_use_sound"
9073 if test x"$enablestring" = xdisable; then
9074 if test $wxUSE_SOUND = no; then
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9084 $as_echo "$result" >&6; }
9088 defaultval=$wxUSE_ALL_FEATURES
9089 if test -z "$defaultval"; then
9090 if test x"$enablestring" = xdisable; then
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9098 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9099 # Check whether --enable-stdpaths was given.
9100 if test "${enable_stdpaths+set}" = set; then :
9101 enableval=$enable_stdpaths;
9102 if test "$enableval" = yes; then
9103 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
9105 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
9110 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9115 eval "$wx_cv_use_stdpaths"
9117 if test x"$enablestring" = xdisable; then
9118 if test $wxUSE_STDPATHS = no; then
9124 result=$wxUSE_STDPATHS
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9128 $as_echo "$result" >&6; }
9132 defaultval=$wxUSE_ALL_FEATURES
9133 if test -z "$defaultval"; then
9134 if test x"$enablestring" = xdisable; then
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stopwatch" >&5
9142 $as_echo_n "checking
for --${enablestring:-enable}-stopwatch...
" >&6; }
9143 # Check whether --enable-stopwatch was given.
9144 if test "${enable_stopwatch+set}" = set; then :
9145 enableval=$enable_stopwatch;
9146 if test "$enableval" = yes; then
9147 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9149 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9154 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9159 eval "$wx_cv_use_stopwatch"
9161 if test x
"$enablestring" = xdisable
; then
9162 if test $wxUSE_STOPWATCH = no
; then
9168 result
=$wxUSE_STOPWATCH
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9172 $as_echo "$result" >&6; }
9176 defaultval
=$wxUSE_ALL_FEATURES
9177 if test -z "$defaultval"; then
9178 if test x
"$enablestring" = xdisable
; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9186 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9187 # Check whether --enable-streams was given.
9188 if test "${enable_streams+set}" = set; then :
9189 enableval
=$enable_streams;
9190 if test "$enableval" = yes; then
9191 wx_cv_use_streams
='wxUSE_STREAMS=yes'
9193 wx_cv_use_streams
='wxUSE_STREAMS=no'
9198 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9203 eval "$wx_cv_use_streams"
9205 if test x"$enablestring" = xdisable; then
9206 if test $wxUSE_STREAMS = no; then
9212 result=$wxUSE_STREAMS
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9216 $as_echo "$result" >&6; }
9220 defaultval=$wxUSE_ALL_FEATURES
9221 if test -z "$defaultval"; then
9222 if test x"$enablestring" = xdisable; then
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9230 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9231 # Check whether --enable-sysoptions was given.
9232 if test "${enable_sysoptions+set}" = set; then :
9233 enableval=$enable_sysoptions;
9234 if test "$enableval" = yes; then
9235 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=yes'
9237 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=no
'
9242 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9247 eval "$wx_cv_use_sysoptions"
9249 if test x"$enablestring" = xdisable; then
9250 if test $wxUSE_SYSTEM_OPTIONS = no; then
9256 result=$wxUSE_SYSTEM_OPTIONS
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9260 $as_echo "$result" >&6; }
9264 defaultval=$wxUSE_ALL_FEATURES
9265 if test -z "$defaultval"; then
9266 if test x"$enablestring" = xdisable; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tarstream" >&5
9274 $as_echo_n "checking
for --${enablestring:-enable}-tarstream...
" >&6; }
9275 # Check whether --enable-tarstream was given.
9276 if test "${enable_tarstream+set}" = set; then :
9277 enableval=$enable_tarstream;
9278 if test "$enableval" = yes; then
9279 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9281 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9286 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9291 eval "$wx_cv_use_tarstream"
9293 if test x
"$enablestring" = xdisable
; then
9294 if test $wxUSE_TARSTREAM = no
; then
9300 result
=$wxUSE_TARSTREAM
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9304 $as_echo "$result" >&6; }
9308 defaultval
=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x
"$enablestring" = xdisable
; then
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9318 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9319 # Check whether --enable-textbuf was given.
9320 if test "${enable_textbuf+set}" = set; then :
9321 enableval
=$enable_textbuf;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
9325 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
9330 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9335 eval "$wx_cv_use_textbuf"
9337 if test x"$enablestring" = xdisable; then
9338 if test $wxUSE_TEXTBUFFER = no; then
9344 result=$wxUSE_TEXTBUFFER
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9348 $as_echo "$result" >&6; }
9352 defaultval=$wxUSE_ALL_FEATURES
9353 if test -z "$defaultval"; then
9354 if test x"$enablestring" = xdisable; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9362 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9363 # Check whether --enable-textfile was given.
9364 if test "${enable_textfile+set}" = set; then :
9365 enableval=$enable_textfile;
9366 if test "$enableval" = yes; then
9367 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
9369 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
9374 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9379 eval "$wx_cv_use_textfile"
9381 if test x"$enablestring" = xdisable; then
9382 if test $wxUSE_TEXTFILE = no; then
9388 result=$wxUSE_TEXTFILE
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9392 $as_echo "$result" >&6; }
9396 defaultval=$wxUSE_ALL_FEATURES
9397 if test -z "$defaultval"; then
9398 if test x"$enablestring" = xdisable; then
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-timer" >&5
9406 $as_echo_n "checking
for --${enablestring:-enable}-timer...
" >&6; }
9407 # Check whether --enable-timer was given.
9408 if test "${enable_timer+set}" = set; then :
9409 enableval=$enable_timer;
9410 if test "$enableval" = yes; then
9411 wx_cv_use_timer='wxUSE_TIMER=yes'
9413 wx_cv_use_timer='wxUSE_TIMER=no'
9418 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9423 eval "$wx_cv_use_timer"
9425 if test x
"$enablestring" = xdisable
; then
9426 if test $wxUSE_TIMER = no
; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9436 $as_echo "$result" >&6; }
9440 defaultval
=$wxUSE_ALL_FEATURES
9441 if test -z "$defaultval"; then
9442 if test x
"$enablestring" = xdisable
; then
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9450 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9451 # Check whether --enable-variant was given.
9452 if test "${enable_variant+set}" = set; then :
9453 enableval
=$enable_variant;
9454 if test "$enableval" = yes; then
9455 wx_cv_use_variant
='wxUSE_VARIANT=yes'
9457 wx_cv_use_variant
='wxUSE_VARIANT=no'
9462 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9467 eval "$wx_cv_use_variant"
9469 if test x"$enablestring" = xdisable; then
9470 if test $wxUSE_VARIANT = no; then
9476 result=$wxUSE_VARIANT
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9480 $as_echo "$result" >&6; }
9484 defaultval=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x"$enablestring" = xdisable; then
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9494 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9495 # Check whether --enable-zipstream was given.
9496 if test "${enable_zipstream+set}" = set; then :
9497 enableval=$enable_zipstream;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
9501 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
9506 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9511 eval "$wx_cv_use_zipstream"
9513 if test x"$enablestring" = xdisable; then
9514 if test $wxUSE_ZIPSTREAM = no; then
9520 result=$wxUSE_ZIPSTREAM
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9524 $as_echo "$result" >&6; }
9529 defaultval=$wxUSE_ALL_FEATURES
9530 if test -z "$defaultval"; then
9531 if test x"$enablestring" = xdisable; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-url" >&5
9539 $as_echo_n "checking
for --${enablestring:-enable}-url...
" >&6; }
9540 # Check whether --enable-url was given.
9541 if test "${enable_url+set}" = set; then :
9542 enableval=$enable_url;
9543 if test "$enableval" = yes; then
9544 wx_cv_use_url='wxUSE_URL=yes'
9546 wx_cv_use_url='wxUSE_URL=no'
9551 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9556 eval "$wx_cv_use_url"
9558 if test x
"$enablestring" = xdisable
; then
9559 if test $wxUSE_URL = no
; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9569 $as_echo "$result" >&6; }
9573 defaultval
=$wxUSE_ALL_FEATURES
9574 if test -z "$defaultval"; then
9575 if test x
"$enablestring" = xdisable
; then
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9583 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9584 # Check whether --enable-protocol was given.
9585 if test "${enable_protocol+set}" = set; then :
9586 enableval
=$enable_protocol;
9587 if test "$enableval" = yes; then
9588 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
9590 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
9595 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9600 eval "$wx_cv_use_protocol"
9602 if test x"$enablestring" = xdisable; then
9603 if test $wxUSE_PROTOCOL = no; then
9609 result=$wxUSE_PROTOCOL
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9613 $as_echo "$result" >&6; }
9617 defaultval=$wxUSE_ALL_FEATURES
9618 if test -z "$defaultval"; then
9619 if test x"$enablestring" = xdisable; then
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9627 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9628 # Check whether --enable-protocol_http was given.
9629 if test "${enable_protocol_http+set}" = set; then :
9630 enableval=$enable_protocol_http;
9631 if test "$enableval" = yes; then
9632 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
9634 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
9639 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9644 eval "$wx_cv_use_protocol_http"
9646 if test x"$enablestring" = xdisable; then
9647 if test $wxUSE_PROTOCOL_HTTP = no; then
9653 result=$wxUSE_PROTOCOL_HTTP
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9657 $as_echo "$result" >&6; }
9661 defaultval=$wxUSE_ALL_FEATURES
9662 if test -z "$defaultval"; then
9663 if test x"$enablestring" = xdisable; then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_ftp" >&5
9671 $as_echo_n "checking
for --${enablestring:-enable}-protocol_ftp...
" >&6; }
9672 # Check whether --enable-protocol_ftp was given.
9673 if test "${enable_protocol_ftp+set}" = set; then :
9674 enableval=$enable_protocol_ftp;
9675 if test "$enableval" = yes; then
9676 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9678 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9683 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9688 eval "$wx_cv_use_protocol_ftp"
9690 if test x
"$enablestring" = xdisable
; then
9691 if test $wxUSE_PROTOCOL_FTP = no
; then
9697 result
=$wxUSE_PROTOCOL_FTP
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9701 $as_echo "$result" >&6; }
9705 defaultval
=$wxUSE_ALL_FEATURES
9706 if test -z "$defaultval"; then
9707 if test x
"$enablestring" = xdisable
; then
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9715 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9716 # Check whether --enable-protocol_file was given.
9717 if test "${enable_protocol_file+set}" = set; then :
9718 enableval
=$enable_protocol_file;
9719 if test "$enableval" = yes; then
9720 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
9722 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
9727 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9732 eval "$wx_cv_use_protocol_file"
9734 if test x"$enablestring" = xdisable; then
9735 if test $wxUSE_PROTOCOL_FILE = no; then
9741 result=$wxUSE_PROTOCOL_FILE
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9745 $as_echo "$result" >&6; }
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9760 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9761 # Check whether --enable-threads was given.
9762 if test "${enable_threads+set}" = set; then :
9763 enableval=$enable_threads;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_threads='wxUSE_THREADS
=yes'
9767 wx_cv_use_threads='wxUSE_THREADS
=no
'
9772 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9777 eval "$wx_cv_use_threads"
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_THREADS = no; then
9786 result=$wxUSE_THREADS
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9790 $as_echo "$result" >&6; }
9796 if test -z "$defaultval"; then
9797 if test x"$enablestring" = xdisable; then
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-iniconf" >&5
9805 $as_echo_n "checking
for --${enablestring:-enable}-iniconf...
" >&6; }
9806 # Check whether --enable-iniconf was given.
9807 if test "${enable_iniconf+set}" = set; then :
9808 enableval=$enable_iniconf;
9809 if test "$enableval" = yes; then
9810 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9812 wx_cv_use_iniconf='wxUSE_INICONF=no'
9817 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9822 eval "$wx_cv_use_iniconf"
9824 if test x
"$enablestring" = xdisable
; then
9825 if test $wxUSE_INICONF = no
; then
9831 result
=$wxUSE_INICONF
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9835 $as_echo "$result" >&6; }
9839 defaultval
=$wxUSE_ALL_FEATURES
9840 if test -z "$defaultval"; then
9841 if test x
"$enablestring" = xdisable
; then
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9849 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9850 # Check whether --enable-regkey was given.
9851 if test "${enable_regkey+set}" = set; then :
9852 enableval
=$enable_regkey;
9853 if test "$enableval" = yes; then
9854 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
9856 wx_cv_use_regkey
='wxUSE_REGKEY=no'
9861 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9866 eval "$wx_cv_use_regkey"
9868 if test x"$enablestring" = xdisable; then
9869 if test $wxUSE_REGKEY = no; then
9875 result=$wxUSE_REGKEY
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9879 $as_echo "$result" >&6; }
9882 if test "$wxUSE_GUI" = "yes"; then
9887 defaultval=$wxUSE_ALL_FEATURES
9888 if test -z "$defaultval"; then
9889 if test x"$enablestring" = xdisable; then
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9897 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9898 # Check whether --enable-docview was given.
9899 if test "${enable_docview+set}" = set; then :
9900 enableval=$enable_docview;
9901 if test "$enableval" = yes; then
9902 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
9904 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
9909 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9914 eval "$wx_cv_use_docview"
9916 if test x"$enablestring" = xdisable; then
9917 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9923 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9927 $as_echo "$result" >&6; }
9931 defaultval=$wxUSE_ALL_FEATURES
9932 if test -z "$defaultval"; then
9933 if test x"$enablestring" = xdisable; then
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-help" >&5
9941 $as_echo_n "checking
for --${enablestring:-enable}-help...
" >&6; }
9942 # Check whether --enable-help was given.
9943 if test "${enable_help+set}" = set; then :
9944 enableval=$enable_help;
9945 if test "$enableval" = yes; then
9946 wx_cv_use_help='wxUSE_HELP=yes'
9948 wx_cv_use_help='wxUSE_HELP=no'
9953 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9958 eval "$wx_cv_use_help"
9960 if test x
"$enablestring" = xdisable
; then
9961 if test $wxUSE_HELP = no
; then
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9971 $as_echo "$result" >&6; }
9975 defaultval
=$wxUSE_ALL_FEATURES
9976 if test -z "$defaultval"; then
9977 if test x
"$enablestring" = xdisable
; then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9985 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9986 # Check whether --enable-mshtmlhelp was given.
9987 if test "${enable_mshtmlhelp+set}" = set; then :
9988 enableval
=$enable_mshtmlhelp;
9989 if test "$enableval" = yes; then
9990 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
9992 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
9997 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
10002 eval "$wx_cv_use_mshtmlhelp"
10004 if test x"$enablestring" = xdisable; then
10005 if test $wxUSE_MS_HTML_HELP = no; then
10011 result=$wxUSE_MS_HTML_HELP
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10015 $as_echo "$result" >&6; }
10019 defaultval=$wxUSE_ALL_FEATURES
10020 if test -z "$defaultval"; then
10021 if test x"$enablestring" = xdisable; then
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
10029 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
10030 # Check whether --enable-html was given.
10031 if test "${enable_html+set}" = set; then :
10032 enableval=$enable_html;
10033 if test "$enableval" = yes; then
10034 wx_cv_use_html='wxUSE_HTML
=yes'
10036 wx_cv_use_html='wxUSE_HTML
=no
'
10041 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
10046 eval "$wx_cv_use_html"
10048 if test x"$enablestring" = xdisable; then
10049 if test $wxUSE_HTML = no; then
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10059 $as_echo "$result" >&6; }
10063 defaultval=$wxUSE_ALL_FEATURES
10064 if test -z "$defaultval"; then
10065 if test x"$enablestring" = xdisable; then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-htmlhelp" >&5
10073 $as_echo_n "checking
for --${enablestring:-enable}-htmlhelp...
" >&6; }
10074 # Check whether --enable-htmlhelp was given.
10075 if test "${enable_htmlhelp+set}" = set; then :
10076 enableval=$enable_htmlhelp;
10077 if test "$enableval" = yes; then
10078 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10080 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10085 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10090 eval "$wx_cv_use_htmlhelp"
10092 if test x
"$enablestring" = xdisable
; then
10093 if test $wxUSE_WXHTML_HELP = no
; then
10099 result
=$wxUSE_WXHTML_HELP
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10103 $as_echo "$result" >&6; }
10107 defaultval
=$wxUSE_ALL_FEATURES
10108 if test -z "$defaultval"; then
10109 if test x
"$enablestring" = xdisable
; then
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10117 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10118 # Check whether --enable-xrc was given.
10119 if test "${enable_xrc+set}" = set; then :
10120 enableval
=$enable_xrc;
10121 if test "$enableval" = yes; then
10122 wx_cv_use_xrc
='wxUSE_XRC=yes'
10124 wx_cv_use_xrc
='wxUSE_XRC=no'
10129 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10134 eval "$wx_cv_use_xrc"
10136 if test x"$enablestring" = xdisable; then
10137 if test $wxUSE_XRC = no; then
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10147 $as_echo "$result" >&6; }
10151 defaultval=$wxUSE_ALL_FEATURES
10152 if test -z "$defaultval"; then
10153 if test x"$enablestring" = xdisable; then
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10161 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10162 # Check whether --enable-aui was given.
10163 if test "${enable_aui+set}" = set; then :
10164 enableval=$enable_aui;
10165 if test "$enableval" = yes; then
10166 wx_cv_use_aui='wxUSE_AUI
=yes'
10168 wx_cv_use_aui='wxUSE_AUI
=no
'
10173 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10178 eval "$wx_cv_use_aui"
10180 if test x"$enablestring" = xdisable; then
10181 if test $wxUSE_AUI = no; then
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10191 $as_echo "$result" >&6; }
10195 defaultval=$wxUSE_ALL_FEATURES
10196 if test -z "$defaultval"; then
10197 if test x"$enablestring" = xdisable; then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-propgrid" >&5
10205 $as_echo_n "checking
for --${enablestring:-enable}-propgrid...
" >&6; }
10206 # Check whether --enable-propgrid was given.
10207 if test "${enable_propgrid+set}" = set; then :
10208 enableval=$enable_propgrid;
10209 if test "$enableval" = yes; then
10210 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10212 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10217 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10222 eval "$wx_cv_use_propgrid"
10224 if test x
"$enablestring" = xdisable
; then
10225 if test $wxUSE_PROPGRID = no
; then
10231 result
=$wxUSE_PROPGRID
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10235 $as_echo "$result" >&6; }
10239 defaultval
=$wxUSE_ALL_FEATURES
10240 if test -z "$defaultval"; then
10241 if test x
"$enablestring" = xdisable
; then
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10249 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10250 # Check whether --enable-ribbon was given.
10251 if test "${enable_ribbon+set}" = set; then :
10252 enableval
=$enable_ribbon;
10253 if test "$enableval" = yes; then
10254 wx_cv_use_ribbon
='wxUSE_RIBBON=yes'
10256 wx_cv_use_ribbon
='wxUSE_RIBBON=no'
10261 wx_cv_use_ribbon
='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10266 eval "$wx_cv_use_ribbon"
10268 if test x"$enablestring" = xdisable; then
10269 if test $wxUSE_RIBBON = no; then
10275 result=$wxUSE_RIBBON
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10279 $as_echo "$result" >&6; }
10283 defaultval=$wxUSE_ALL_FEATURES
10284 if test -z "$defaultval"; then
10285 if test x"$enablestring" = xdisable; then
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10293 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10294 # Check whether --enable-stc was given.
10295 if test "${enable_stc+set}" = set; then :
10296 enableval=$enable_stc;
10297 if test "$enableval" = yes; then
10298 wx_cv_use_stc='wxUSE_STC
=yes'
10300 wx_cv_use_stc='wxUSE_STC
=no
'
10305 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
10310 eval "$wx_cv_use_stc"
10312 if test x"$enablestring" = xdisable; then
10313 if test $wxUSE_STC = no; then
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10323 $as_echo "$result" >&6; }
10327 defaultval=$wxUSE_ALL_FEATURES
10328 if test -z "$defaultval"; then
10329 if test x"$enablestring" = xdisable; then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-constraints" >&5
10337 $as_echo_n "checking
for --${enablestring:-enable}-constraints...
" >&6; }
10338 # Check whether --enable-constraints was given.
10339 if test "${enable_constraints+set}" = set; then :
10340 enableval=$enable_constraints;
10341 if test "$enableval" = yes; then
10342 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10344 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10349 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10354 eval "$wx_cv_use_constraints"
10356 if test x
"$enablestring" = xdisable
; then
10357 if test $wxUSE_CONSTRAINTS = no
; then
10363 result
=$wxUSE_CONSTRAINTS
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10367 $as_echo "$result" >&6; }
10371 defaultval
=$wxUSE_ALL_FEATURES
10372 if test -z "$defaultval"; then
10373 if test x
"$enablestring" = xdisable
; then
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10381 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10382 # Check whether --enable-loggui was given.
10383 if test "${enable_loggui+set}" = set; then :
10384 enableval
=$enable_loggui;
10385 if test "$enableval" = yes; then
10386 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
10388 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
10393 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10398 eval "$wx_cv_use_loggui"
10400 if test x"$enablestring" = xdisable; then
10401 if test $wxUSE_LOGGUI = no; then
10407 result=$wxUSE_LOGGUI
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10411 $as_echo "$result" >&6; }
10415 defaultval=$wxUSE_ALL_FEATURES
10416 if test -z "$defaultval"; then
10417 if test x"$enablestring" = xdisable; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10425 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10426 # Check whether --enable-logwin was given.
10427 if test "${enable_logwin+set}" = set; then :
10428 enableval=$enable_logwin;
10429 if test "$enableval" = yes; then
10430 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
10432 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
10437 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10442 eval "$wx_cv_use_logwin"
10444 if test x"$enablestring" = xdisable; then
10445 if test $wxUSE_LOGWINDOW = no; then
10451 result=$wxUSE_LOGWINDOW
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10455 $as_echo "$result" >&6; }
10459 defaultval=$wxUSE_ALL_FEATURES
10460 if test -z "$defaultval"; then
10461 if test x"$enablestring" = xdisable; then
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-logdialog" >&5
10469 $as_echo_n "checking
for --${enablestring:-enable}-logdialog...
" >&6; }
10470 # Check whether --enable-logdialog was given.
10471 if test "${enable_logdialog+set}" = set; then :
10472 enableval=$enable_logdialog;
10473 if test "$enableval" = yes; then
10474 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10476 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10481 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10486 eval "$wx_cv_use_logdialog"
10488 if test x
"$enablestring" = xdisable
; then
10489 if test $wxUSE_LOGDIALOG = no
; then
10495 result
=$wxUSE_LOGDIALOG
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10499 $as_echo "$result" >&6; }
10503 defaultval
=$wxUSE_ALL_FEATURES
10504 if test -z "$defaultval"; then
10505 if test x
"$enablestring" = xdisable
; then
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10513 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10514 # Check whether --enable-mdi was given.
10515 if test "${enable_mdi+set}" = set; then :
10516 enableval
=$enable_mdi;
10517 if test "$enableval" = yes; then
10518 wx_cv_use_mdi
='wxUSE_MDI=yes'
10520 wx_cv_use_mdi
='wxUSE_MDI=no'
10525 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10530 eval "$wx_cv_use_mdi"
10532 if test x"$enablestring" = xdisable; then
10533 if test $wxUSE_MDI = no; then
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10543 $as_echo "$result" >&6; }
10547 defaultval=$wxUSE_ALL_FEATURES
10548 if test -z "$defaultval"; then
10549 if test x"$enablestring" = xdisable; then
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10557 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10558 # Check whether --enable-mdidoc was given.
10559 if test "${enable_mdidoc+set}" = set; then :
10560 enableval=$enable_mdidoc;
10561 if test "$enableval" = yes; then
10562 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
10564 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
10569 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10574 eval "$wx_cv_use_mdidoc"
10576 if test x"$enablestring" = xdisable; then
10577 if test $wxUSE_MDI_ARCHITECTURE = no; then
10583 result=$wxUSE_MDI_ARCHITECTURE
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10587 $as_echo "$result" >&6; }
10591 defaultval=$wxUSE_ALL_FEATURES
10592 if test -z "$defaultval"; then
10593 if test x"$enablestring" = xdisable; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mediactrl" >&5
10601 $as_echo_n "checking
for --${enablestring:-enable}-mediactrl...
" >&6; }
10602 # Check whether --enable-mediactrl was given.
10603 if test "${enable_mediactrl+set}" = set; then :
10604 enableval=$enable_mediactrl;
10605 if test "$enableval" = yes; then
10606 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10608 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10613 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10618 eval "$wx_cv_use_mediactrl"
10620 if test x
"$enablestring" = xdisable
; then
10621 if test $wxUSE_MEDIACTRL = no
; then
10627 result
=$wxUSE_MEDIACTRL
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10631 $as_echo "$result" >&6; }
10635 defaultval
=$wxUSE_ALL_FEATURES
10636 if test -z "$defaultval"; then
10637 if test x
"$enablestring" = xdisable
; then
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10645 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10646 # Check whether --enable-gstreamer8 was given.
10647 if test "${enable_gstreamer8+set}" = set; then :
10648 enableval
=$enable_gstreamer8;
10649 if test "$enableval" = yes; then
10650 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
10652 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
10657 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10662 eval "$wx_cv_use_gstreamer8"
10664 if test x"$enablestring" = xdisable; then
10665 if test $wxUSE_GSTREAMER8 = no; then
10671 result=$wxUSE_GSTREAMER8
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10675 $as_echo "$result" >&6; }
10679 defaultval=$wxUSE_ALL_FEATURES
10680 if test -z "$defaultval"; then
10681 if test x"$enablestring" = xdisable; then
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10689 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10690 # Check whether --enable-richtext was given.
10691 if test "${enable_richtext+set}" = set; then :
10692 enableval=$enable_richtext;
10693 if test "$enableval" = yes; then
10694 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
10696 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
10701 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10706 eval "$wx_cv_use_richtext"
10708 if test x"$enablestring" = xdisable; then
10709 if test $wxUSE_RICHTEXT = no; then
10715 result=$wxUSE_RICHTEXT
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10719 $as_echo "$result" >&6; }
10723 defaultval=$wxUSE_ALL_FEATURES
10724 if test -z "$defaultval"; then
10725 if test x"$enablestring" = xdisable; then
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-postscript" >&5
10733 $as_echo_n "checking
for --${enablestring:-enable}-postscript...
" >&6; }
10734 # Check whether --enable-postscript was given.
10735 if test "${enable_postscript+set}" = set; then :
10736 enableval=$enable_postscript;
10737 if test "$enableval" = yes; then
10738 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10740 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10745 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10750 eval "$wx_cv_use_postscript"
10752 if test x
"$enablestring" = xdisable
; then
10753 if test $wxUSE_POSTSCRIPT = no
; then
10759 result
=$wxUSE_POSTSCRIPT
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10763 $as_echo "$result" >&6; }
10767 defaultval
=$wxUSE_ALL_FEATURES
10768 if test -z "$defaultval"; then
10769 if test x
"$enablestring" = xdisable
; then
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10777 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10778 # Check whether --enable-printarch was given.
10779 if test "${enable_printarch+set}" = set; then :
10780 enableval
=$enable_printarch;
10781 if test "$enableval" = yes; then
10782 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
10784 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
10789 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10794 eval "$wx_cv_use_printarch"
10796 if test x"$enablestring" = xdisable; then
10797 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10803 result=$wxUSE_PRINTING_ARCHITECTURE
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10807 $as_echo "$result" >&6; }
10811 defaultval=$wxUSE_ALL_FEATURES
10812 if test -z "$defaultval"; then
10813 if test x"$enablestring" = xdisable; then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10821 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10822 # Check whether --enable-svg was given.
10823 if test "${enable_svg+set}" = set; then :
10824 enableval=$enable_svg;
10825 if test "$enableval" = yes; then
10826 wx_cv_use_svg='wxUSE_SVG
=yes'
10828 wx_cv_use_svg='wxUSE_SVG
=no
'
10833 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10838 eval "$wx_cv_use_svg"
10840 if test x"$enablestring" = xdisable; then
10841 if test $wxUSE_SVG = no; then
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10851 $as_echo "$result" >&6; }
10855 defaultval=$wxUSE_ALL_FEATURES
10856 if test -z "$defaultval"; then
10857 if test x"$enablestring" = xdisable; then
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webkit" >&5
10865 $as_echo_n "checking
for --${enablestring:-enable}-webkit...
" >&6; }
10866 # Check whether --enable-webkit was given.
10867 if test "${enable_webkit+set}" = set; then :
10868 enableval=$enable_webkit;
10869 if test "$enableval" = yes; then
10870 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10872 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10877 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10882 eval "$wx_cv_use_webkit"
10884 if test x
"$enablestring" = xdisable
; then
10885 if test $wxUSE_WEBKIT = no
; then
10891 result
=$wxUSE_WEBKIT
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10895 $as_echo "$result" >&6; }
10899 defaultval
=$wxUSE_ALL_FEATURES
10900 if test -z "$defaultval"; then
10901 if test x
"$enablestring" = xdisable
; then
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10909 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10910 # Check whether --enable-webview was given.
10911 if test "${enable_webview+set}" = set; then :
10912 enableval
=$enable_webview;
10913 if test "$enableval" = yes; then
10914 wx_cv_use_webview
='wxUSE_WEBVIEW=yes'
10916 wx_cv_use_webview
='wxUSE_WEBVIEW=no'
10921 wx_cv_use_webview
='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10926 eval "$wx_cv_use_webview"
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_WEBVIEW = no; then
10935 result=$wxUSE_WEBVIEW
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10939 $as_echo "$result" >&6; }
10942 if test "$wxUSE_MAC" != 1; then
10945 defaultval=$wxUSE_ALL_FEATURES
10946 if test -z "$defaultval"; then
10947 if test x"$enablestring" = xdisable; then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10955 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10956 # Check whether --enable-graphics_ctx was given.
10957 if test "${enable_graphics_ctx+set}" = set; then :
10958 enableval=$enable_graphics_ctx;
10959 if test "$enableval" = yes; then
10960 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=yes'
10962 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=no
'
10967 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT
=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10972 eval "$wx_cv_use_graphics_ctx"
10974 if test x"$enablestring" = xdisable; then
10975 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10981 result=$wxUSE_GRAPHICS_CONTEXT
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10985 $as_echo "$result" >&6; }
10992 defaultval=$wxUSE_ALL_FEATURES
10993 if test -z "$defaultval"; then
10994 if test x"$enablestring" = xdisable; then
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-clipboard" >&5
11002 $as_echo_n "checking
for --${enablestring:-enable}-clipboard...
" >&6; }
11003 # Check whether --enable-clipboard was given.
11004 if test "${enable_clipboard+set}" = set; then :
11005 enableval=$enable_clipboard;
11006 if test "$enableval" = yes; then
11007 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
11009 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
11014 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
11019 eval "$wx_cv_use_clipboard"
11021 if test x
"$enablestring" = xdisable
; then
11022 if test $wxUSE_CLIPBOARD = no
; then
11028 result
=$wxUSE_CLIPBOARD
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11032 $as_echo "$result" >&6; }
11036 defaultval
=$wxUSE_ALL_FEATURES
11037 if test -z "$defaultval"; then
11038 if test x
"$enablestring" = xdisable
; then
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
11046 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
11047 # Check whether --enable-dnd was given.
11048 if test "${enable_dnd+set}" = set; then :
11049 enableval
=$enable_dnd;
11050 if test "$enableval" = yes; then
11051 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
11053 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
11058 wx_cv_use_dnd
='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11063 eval "$wx_cv_use_dnd"
11065 if test x"$enablestring" = xdisable; then
11066 if test $wxUSE_DRAG_AND_DROP = no; then
11072 result=$wxUSE_DRAG_AND_DROP
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11076 $as_echo "$result" >&6; }
11080 DEFAULT_wxUSE_CONTROLS=none
11082 enablestring=disable
11084 if test -z "$defaultval"; then
11085 if test x"$enablestring" = xdisable; then
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11093 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11094 # Check whether --enable-controls was given.
11095 if test "${enable_controls+set}" = set; then :
11096 enableval=$enable_controls;
11097 if test "$enableval" = yes; then
11098 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
11100 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
11105 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11110 eval "$wx_cv_use_controls"
11112 if test x"$enablestring" = xdisable; then
11113 if test $wxUSE_CONTROLS = no; then
11119 result=$wxUSE_CONTROLS
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11123 $as_echo "$result" >&6; }
11126 if test "$wxUSE_CONTROLS" = "no
"; then
11127 DEFAULT_wxUSE_ACCEL=no
11128 DEFAULT_wxUSE_ANIMATIONCTRL=no
11129 DEFAULT_wxUSE_BANNERWINDOW=no
11130 DEFAULT_wxUSE_BMPBUTTON=no
11131 DEFAULT_wxUSE_BUTTON=no
11132 DEFAULT_wxUSE_CALCTRL=no
11133 DEFAULT_wxUSE_CARET=no
11134 DEFAULT_wxUSE_CHECKBOX=no
11135 DEFAULT_wxUSE_CHECKLISTBOX=no
11136 DEFAULT_wxUSE_CHOICE=no
11137 DEFAULT_wxUSE_CHOICEBOOK=no
11138 DEFAULT_wxUSE_COLLPANE=no
11139 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11140 DEFAULT_wxUSE_COMBOBOX=no
11141 DEFAULT_wxUSE_COMBOBOX=no
11142 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11143 DEFAULT_wxUSE_DATAVIEWCTRL=no
11144 DEFAULT_wxUSE_DATEPICKCTRL=no
11145 DEFAULT_wxUSE_DETECT_SM=no
11146 DEFAULT_wxUSE_DIRPICKERCTRL=no
11147 DEFAULT_wxUSE_DISPLAY=no
11148 DEFAULT_wxUSE_FILECTRL=no
11149 DEFAULT_wxUSE_FILEPICKERCTRL=no
11150 DEFAULT_wxUSE_FONTPICKERCTRL=no
11151 DEFAULT_wxUSE_GAUGE=no
11152 DEFAULT_wxUSE_GRID=no
11153 DEFAULT_wxUSE_HEADERCTRL=no
11154 DEFAULT_wxUSE_HYPERLINKCTRL=no
11155 DEFAULT_wxUSE_IMAGLIST=no
11156 DEFAULT_wxUSE_LISTBOOK=no
11157 DEFAULT_wxUSE_LISTBOX=no
11158 DEFAULT_wxUSE_LISTCTRL=no
11159 DEFAULT_wxUSE_MARKUP=no
11160 DEFAULT_wxUSE_NOTEBOOK=no
11161 DEFAULT_wxUSE_POPUPWIN=no
11162 DEFAULT_wxUSE_RADIOBOX=no
11163 DEFAULT_wxUSE_RADIOBTN=no
11164 DEFAULT_wxUSE_RICHMSGDLG=no
11165 DEFAULT_wxUSE_RICHTOOLTIP=no
11166 DEFAULT_wxUSE_REARRANGECTRL=no
11167 DEFAULT_wxUSE_SASH=no
11168 DEFAULT_wxUSE_SCROLLBAR=no
11169 DEFAULT_wxUSE_SEARCHCTRL=no
11170 DEFAULT_wxUSE_SLIDER=no
11171 DEFAULT_wxUSE_SPINBTN=no
11172 DEFAULT_wxUSE_SPINCTRL=no
11173 DEFAULT_wxUSE_SPLITTER=no
11174 DEFAULT_wxUSE_STATBMP=no
11175 DEFAULT_wxUSE_STATBOX=no
11176 DEFAULT_wxUSE_STATLINE=no
11177 DEFAULT_wxUSE_STATUSBAR=no
11178 DEFAULT_wxUSE_TIMEPICKCTRL=no
11179 DEFAULT_wxUSE_TIPWINDOW=no
11180 DEFAULT_wxUSE_TOGGLEBTN=no
11181 DEFAULT_wxUSE_TOOLBAR=no
11182 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11183 DEFAULT_wxUSE_TOOLBOOK=no
11184 DEFAULT_wxUSE_TOOLTIPS=no
11185 DEFAULT_wxUSE_TREEBOOK=no
11186 DEFAULT_wxUSE_TREECTRL=no
11187 DEFAULT_wxUSE_TREELISTCTRL=no
11192 defaultval=$wxUSE_ALL_FEATURES
11193 if test -z "$defaultval"; then
11194 if test x"$enablestring" = xdisable; then
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-markup" >&5
11202 $as_echo_n "checking
for --${enablestring:-enable}-markup...
" >&6; }
11203 # Check whether --enable-markup was given.
11204 if test "${enable_markup+set}" = set; then :
11205 enableval=$enable_markup;
11206 if test "$enableval" = yes; then
11207 wx_cv_use_markup='wxUSE_MARKUP=yes'
11209 wx_cv_use_markup='wxUSE_MARKUP=no'
11214 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11219 eval "$wx_cv_use_markup"
11221 if test x
"$enablestring" = xdisable
; then
11222 if test $wxUSE_MARKUP = no
; then
11228 result
=$wxUSE_MARKUP
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11232 $as_echo "$result" >&6; }
11237 defaultval
=$wxUSE_ALL_FEATURES
11238 if test -z "$defaultval"; then
11239 if test x
"$enablestring" = xdisable
; then
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11247 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11248 # Check whether --enable-accel was given.
11249 if test "${enable_accel+set}" = set; then :
11250 enableval
=$enable_accel;
11251 if test "$enableval" = yes; then
11252 wx_cv_use_accel
='wxUSE_ACCEL=yes'
11254 wx_cv_use_accel
='wxUSE_ACCEL=no'
11259 wx_cv_use_accel
='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11264 eval "$wx_cv_use_accel"
11266 if test x"$enablestring" = xdisable; then
11267 if test $wxUSE_ACCEL = no; then
11273 result=$wxUSE_ACCEL
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11277 $as_echo "$result" >&6; }
11281 defaultval=$wxUSE_ALL_FEATURES
11282 if test -z "$defaultval"; then
11283 if test x"$enablestring" = xdisable; then
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11291 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11292 # Check whether --enable-animatectrl was given.
11293 if test "${enable_animatectrl+set}" = set; then :
11294 enableval=$enable_animatectrl;
11295 if test "$enableval" = yes; then
11296 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=yes'
11298 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=no
'
11303 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL
=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11308 eval "$wx_cv_use_animatectrl"
11310 if test x"$enablestring" = xdisable; then
11311 if test $wxUSE_ANIMATIONCTRL = no; then
11317 result=$wxUSE_ANIMATIONCTRL
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11321 $as_echo "$result" >&6; }
11325 defaultval=$wxUSE_ALL_FEATURES
11326 if test -z "$defaultval"; then
11327 if test x"$enablestring" = xdisable; then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bannerwindow" >&5
11335 $as_echo_n "checking
for --${enablestring:-enable}-bannerwindow...
" >&6; }
11336 # Check whether --enable-bannerwindow was given.
11337 if test "${enable_bannerwindow+set}" = set; then :
11338 enableval=$enable_bannerwindow;
11339 if test "$enableval" = yes; then
11340 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11342 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11347 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11352 eval "$wx_cv_use_bannerwindow"
11354 if test x
"$enablestring" = xdisable
; then
11355 if test $wxUSE_BANNERWINDOW = no
; then
11361 result
=$wxUSE_BANNERWINDOW
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11365 $as_echo "$result" >&6; }
11369 defaultval
=$wxUSE_ALL_FEATURES
11370 if test -z "$defaultval"; then
11371 if test x
"$enablestring" = xdisable
; then
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11379 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11380 # Check whether --enable-artstd was given.
11381 if test "${enable_artstd+set}" = set; then :
11382 enableval
=$enable_artstd;
11383 if test "$enableval" = yes; then
11384 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=yes'
11386 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=no'
11391 wx_cv_use_artstd
='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11396 eval "$wx_cv_use_artstd"
11398 if test x"$enablestring" = xdisable; then
11399 if test $wxUSE_ARTPROVIDER_STD = no; then
11405 result=$wxUSE_ARTPROVIDER_STD
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11409 $as_echo "$result" >&6; }
11413 defaultval=$wxUSE_ALL_FEATURES
11414 if test -z "$defaultval"; then
11415 if test x"$enablestring" = xdisable; then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11423 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11424 # Check whether --enable-arttango was given.
11425 if test "${enable_arttango+set}" = set; then :
11426 enableval=$enable_arttango;
11427 if test "$enableval" = yes; then
11428 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=yes'
11430 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=no
'
11435 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO
=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11440 eval "$wx_cv_use_arttango"
11442 if test x"$enablestring" = xdisable; then
11443 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11449 result=$wxUSE_ARTPROVIDER_TANGO
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11453 $as_echo "$result" >&6; }
11457 defaultval=$wxUSE_ALL_FEATURES
11458 if test -z "$defaultval"; then
11459 if test x"$enablestring" = xdisable; then
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bmpbutton" >&5
11467 $as_echo_n "checking
for --${enablestring:-enable}-bmpbutton...
" >&6; }
11468 # Check whether --enable-bmpbutton was given.
11469 if test "${enable_bmpbutton+set}" = set; then :
11470 enableval=$enable_bmpbutton;
11471 if test "$enableval" = yes; then
11472 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11474 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11479 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11484 eval "$wx_cv_use_bmpbutton"
11486 if test x
"$enablestring" = xdisable
; then
11487 if test $wxUSE_BMPBUTTON = no
; then
11493 result
=$wxUSE_BMPBUTTON
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11497 $as_echo "$result" >&6; }
11501 defaultval
=$wxUSE_ALL_FEATURES
11502 if test -z "$defaultval"; then
11503 if test x
"$enablestring" = xdisable
; then
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11511 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11512 # Check whether --enable-bmpcombobox was given.
11513 if test "${enable_bmpcombobox+set}" = set; then :
11514 enableval
=$enable_bmpcombobox;
11515 if test "$enableval" = yes; then
11516 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=yes'
11518 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=no'
11523 wx_cv_use_bmpcombobox
='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11528 eval "$wx_cv_use_bmpcombobox"
11530 if test x"$enablestring" = xdisable; then
11531 if test $wxUSE_BITMAPCOMBOBOX = no; then
11537 result=$wxUSE_BITMAPCOMBOBOX
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11541 $as_echo "$result" >&6; }
11545 defaultval=$wxUSE_ALL_FEATURES
11546 if test -z "$defaultval"; then
11547 if test x"$enablestring" = xdisable; then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11555 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11556 # Check whether --enable-button was given.
11557 if test "${enable_button+set}" = set; then :
11558 enableval=$enable_button;
11559 if test "$enableval" = yes; then
11560 wx_cv_use_button='wxUSE_BUTTON
=yes'
11562 wx_cv_use_button='wxUSE_BUTTON
=no
'
11567 wx_cv_use_button='wxUSE_BUTTON
=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11572 eval "$wx_cv_use_button"
11574 if test x"$enablestring" = xdisable; then
11575 if test $wxUSE_BUTTON = no; then
11581 result=$wxUSE_BUTTON
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11585 $as_echo "$result" >&6; }
11589 defaultval=$wxUSE_ALL_FEATURES
11590 if test -z "$defaultval"; then
11591 if test x"$enablestring" = xdisable; then
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-calendar" >&5
11599 $as_echo_n "checking
for --${enablestring:-enable}-calendar...
" >&6; }
11600 # Check whether --enable-calendar was given.
11601 if test "${enable_calendar+set}" = set; then :
11602 enableval=$enable_calendar;
11603 if test "$enableval" = yes; then
11604 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11606 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11611 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11616 eval "$wx_cv_use_calendar"
11618 if test x
"$enablestring" = xdisable
; then
11619 if test $wxUSE_CALCTRL = no
; then
11625 result
=$wxUSE_CALCTRL
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11629 $as_echo "$result" >&6; }
11633 defaultval
=$wxUSE_ALL_FEATURES
11634 if test -z "$defaultval"; then
11635 if test x
"$enablestring" = xdisable
; then
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11643 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11644 # Check whether --enable-caret was given.
11645 if test "${enable_caret+set}" = set; then :
11646 enableval
=$enable_caret;
11647 if test "$enableval" = yes; then
11648 wx_cv_use_caret
='wxUSE_CARET=yes'
11650 wx_cv_use_caret
='wxUSE_CARET=no'
11655 wx_cv_use_caret
='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11660 eval "$wx_cv_use_caret"
11662 if test x"$enablestring" = xdisable; then
11663 if test $wxUSE_CARET = no; then
11669 result=$wxUSE_CARET
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11673 $as_echo "$result" >&6; }
11677 defaultval=$wxUSE_ALL_FEATURES
11678 if test -z "$defaultval"; then
11679 if test x"$enablestring" = xdisable; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11687 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11688 # Check whether --enable-checkbox was given.
11689 if test "${enable_checkbox+set}" = set; then :
11690 enableval=$enable_checkbox;
11691 if test "$enableval" = yes; then
11692 wx_cv_use_checkbox='wxUSE_CHECKBOX
=yes'
11694 wx_cv_use_checkbox='wxUSE_CHECKBOX
=no
'
11699 wx_cv_use_checkbox='wxUSE_CHECKBOX
=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11704 eval "$wx_cv_use_checkbox"
11706 if test x"$enablestring" = xdisable; then
11707 if test $wxUSE_CHECKBOX = no; then
11713 result=$wxUSE_CHECKBOX
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11717 $as_echo "$result" >&6; }
11721 defaultval=$wxUSE_ALL_FEATURES
11722 if test -z "$defaultval"; then
11723 if test x"$enablestring" = xdisable; then
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-checklst" >&5
11731 $as_echo_n "checking
for --${enablestring:-enable}-checklst...
" >&6; }
11732 # Check whether --enable-checklst was given.
11733 if test "${enable_checklst+set}" = set; then :
11734 enableval=$enable_checklst;
11735 if test "$enableval" = yes; then
11736 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11738 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11743 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11748 eval "$wx_cv_use_checklst"
11750 if test x
"$enablestring" = xdisable
; then
11751 if test $wxUSE_CHECKLST = no
; then
11757 result
=$wxUSE_CHECKLST
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11761 $as_echo "$result" >&6; }
11765 defaultval
=$wxUSE_ALL_FEATURES
11766 if test -z "$defaultval"; then
11767 if test x
"$enablestring" = xdisable
; then
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11775 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11776 # Check whether --enable-choice was given.
11777 if test "${enable_choice+set}" = set; then :
11778 enableval
=$enable_choice;
11779 if test "$enableval" = yes; then
11780 wx_cv_use_choice
='wxUSE_CHOICE=yes'
11782 wx_cv_use_choice
='wxUSE_CHOICE=no'
11787 wx_cv_use_choice
='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11792 eval "$wx_cv_use_choice"
11794 if test x"$enablestring" = xdisable; then
11795 if test $wxUSE_CHOICE = no; then
11801 result=$wxUSE_CHOICE
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11805 $as_echo "$result" >&6; }
11809 defaultval=$wxUSE_ALL_FEATURES
11810 if test -z "$defaultval"; then
11811 if test x"$enablestring" = xdisable; then
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11819 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11820 # Check whether --enable-choicebook was given.
11821 if test "${enable_choicebook+set}" = set; then :
11822 enableval=$enable_choicebook;
11823 if test "$enableval" = yes; then
11824 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=yes'
11826 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=no
'
11831 wx_cv_use_choicebook='wxUSE_CHOICEBOOK
=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11836 eval "$wx_cv_use_choicebook"
11838 if test x"$enablestring" = xdisable; then
11839 if test $wxUSE_CHOICEBOOK = no; then
11845 result=$wxUSE_CHOICEBOOK
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11849 $as_echo "$result" >&6; }
11853 defaultval=$wxUSE_ALL_FEATURES
11854 if test -z "$defaultval"; then
11855 if test x"$enablestring" = xdisable; then
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-collpane" >&5
11863 $as_echo_n "checking
for --${enablestring:-enable}-collpane...
" >&6; }
11864 # Check whether --enable-collpane was given.
11865 if test "${enable_collpane+set}" = set; then :
11866 enableval=$enable_collpane;
11867 if test "$enableval" = yes; then
11868 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11870 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11875 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11880 eval "$wx_cv_use_collpane"
11882 if test x
"$enablestring" = xdisable
; then
11883 if test $wxUSE_COLLPANE = no
; then
11889 result
=$wxUSE_COLLPANE
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11893 $as_echo "$result" >&6; }
11897 defaultval
=$wxUSE_ALL_FEATURES
11898 if test -z "$defaultval"; then
11899 if test x
"$enablestring" = xdisable
; then
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11907 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11908 # Check whether --enable-colourpicker was given.
11909 if test "${enable_colourpicker+set}" = set; then :
11910 enableval
=$enable_colourpicker;
11911 if test "$enableval" = yes; then
11912 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=yes'
11914 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=no'
11919 wx_cv_use_colourpicker
='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11924 eval "$wx_cv_use_colourpicker"
11926 if test x"$enablestring" = xdisable; then
11927 if test $wxUSE_COLOURPICKERCTRL = no; then
11933 result=$wxUSE_COLOURPICKERCTRL
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11937 $as_echo "$result" >&6; }
11941 defaultval=$wxUSE_ALL_FEATURES
11942 if test -z "$defaultval"; then
11943 if test x"$enablestring" = xdisable; then
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11951 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11952 # Check whether --enable-combobox was given.
11953 if test "${enable_combobox+set}" = set; then :
11954 enableval=$enable_combobox;
11955 if test "$enableval" = yes; then
11956 wx_cv_use_combobox='wxUSE_COMBOBOX
=yes'
11958 wx_cv_use_combobox='wxUSE_COMBOBOX
=no
'
11963 wx_cv_use_combobox='wxUSE_COMBOBOX
=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11968 eval "$wx_cv_use_combobox"
11970 if test x"$enablestring" = xdisable; then
11971 if test $wxUSE_COMBOBOX = no; then
11977 result=$wxUSE_COMBOBOX
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11981 $as_echo "$result" >&6; }
11985 defaultval=$wxUSE_ALL_FEATURES
11986 if test -z "$defaultval"; then
11987 if test x"$enablestring" = xdisable; then
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-comboctrl" >&5
11995 $as_echo_n "checking
for --${enablestring:-enable}-comboctrl...
" >&6; }
11996 # Check whether --enable-comboctrl was given.
11997 if test "${enable_comboctrl+set}" = set; then :
11998 enableval=$enable_comboctrl;
11999 if test "$enableval" = yes; then
12000 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
12002 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
12007 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
12012 eval "$wx_cv_use_comboctrl"
12014 if test x
"$enablestring" = xdisable
; then
12015 if test $wxUSE_COMBOCTRL = no
; then
12021 result
=$wxUSE_COMBOCTRL
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12025 $as_echo "$result" >&6; }
12029 defaultval
=$wxUSE_ALL_FEATURES
12030 if test -z "$defaultval"; then
12031 if test x
"$enablestring" = xdisable
; then
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
12039 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
12040 # Check whether --enable-commandlinkbutton was given.
12041 if test "${enable_commandlinkbutton+set}" = set; then :
12042 enableval
=$enable_commandlinkbutton;
12043 if test "$enableval" = yes; then
12044 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=yes'
12046 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=no'
12051 wx_cv_use_commandlinkbutton
='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
12056 eval "$wx_cv_use_commandlinkbutton"
12058 if test x"$enablestring" = xdisable; then
12059 if test $wxUSE_COMMANDLINKBUTTON = no; then
12065 result=$wxUSE_COMMANDLINKBUTTON
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12069 $as_echo "$result" >&6; }
12073 defaultval=$wxUSE_ALL_FEATURES
12074 if test -z "$defaultval"; then
12075 if test x"$enablestring" = xdisable; then
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12083 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12084 # Check whether --enable-dataviewctrl was given.
12085 if test "${enable_dataviewctrl+set}" = set; then :
12086 enableval=$enable_dataviewctrl;
12087 if test "$enableval" = yes; then
12088 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
12090 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
12095 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12100 eval "$wx_cv_use_dataviewctrl"
12102 if test x"$enablestring" = xdisable; then
12103 if test $wxUSE_DATAVIEWCTRL = no; then
12109 result=$wxUSE_DATAVIEWCTRL
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12113 $as_echo "$result" >&6; }
12117 defaultval=$wxUSE_ALL_FEATURES
12118 if test -z "$defaultval"; then
12119 if test x"$enablestring" = xdisable; then
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datepick" >&5
12127 $as_echo_n "checking
for --${enablestring:-enable}-datepick...
" >&6; }
12128 # Check whether --enable-datepick was given.
12129 if test "${enable_datepick+set}" = set; then :
12130 enableval=$enable_datepick;
12131 if test "$enableval" = yes; then
12132 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12134 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12139 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12144 eval "$wx_cv_use_datepick"
12146 if test x
"$enablestring" = xdisable
; then
12147 if test $wxUSE_DATEPICKCTRL = no
; then
12153 result
=$wxUSE_DATEPICKCTRL
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12157 $as_echo "$result" >&6; }
12161 defaultval
=$wxUSE_ALL_FEATURES
12162 if test -z "$defaultval"; then
12163 if test x
"$enablestring" = xdisable
; then
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12171 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12172 # Check whether --enable-detect_sm was given.
12173 if test "${enable_detect_sm+set}" = set; then :
12174 enableval
=$enable_detect_sm;
12175 if test "$enableval" = yes; then
12176 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
12178 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
12183 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12188 eval "$wx_cv_use_detect_sm"
12190 if test x"$enablestring" = xdisable; then
12191 if test $wxUSE_DETECT_SM = no; then
12197 result=$wxUSE_DETECT_SM
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12201 $as_echo "$result" >&6; }
12205 defaultval=$wxUSE_ALL_FEATURES
12206 if test -z "$defaultval"; then
12207 if test x"$enablestring" = xdisable; then
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12215 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12216 # Check whether --enable-dirpicker was given.
12217 if test "${enable_dirpicker+set}" = set; then :
12218 enableval=$enable_dirpicker;
12219 if test "$enableval" = yes; then
12220 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
12222 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
12227 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12232 eval "$wx_cv_use_dirpicker"
12234 if test x"$enablestring" = xdisable; then
12235 if test $wxUSE_DIRPICKERCTRL = no; then
12241 result=$wxUSE_DIRPICKERCTRL
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12245 $as_echo "$result" >&6; }
12249 defaultval=$wxUSE_ALL_FEATURES
12250 if test -z "$defaultval"; then
12251 if test x"$enablestring" = xdisable; then
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-display" >&5
12259 $as_echo_n "checking
for --${enablestring:-enable}-display...
" >&6; }
12260 # Check whether --enable-display was given.
12261 if test "${enable_display+set}" = set; then :
12262 enableval=$enable_display;
12263 if test "$enableval" = yes; then
12264 wx_cv_use_display='wxUSE_DISPLAY=yes'
12266 wx_cv_use_display='wxUSE_DISPLAY=no'
12271 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12276 eval "$wx_cv_use_display"
12278 if test x
"$enablestring" = xdisable
; then
12279 if test $wxUSE_DISPLAY = no
; then
12285 result
=$wxUSE_DISPLAY
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12289 $as_echo "$result" >&6; }
12293 defaultval
=$wxUSE_ALL_FEATURES
12294 if test -z "$defaultval"; then
12295 if test x
"$enablestring" = xdisable
; then
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12303 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12304 # Check whether --enable-editablebox was given.
12305 if test "${enable_editablebox+set}" = set; then :
12306 enableval
=$enable_editablebox;
12307 if test "$enableval" = yes; then
12308 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
12310 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
12315 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12320 eval "$wx_cv_use_editablebox"
12322 if test x"$enablestring" = xdisable; then
12323 if test $wxUSE_EDITABLELISTBOX = no; then
12329 result=$wxUSE_EDITABLELISTBOX
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12333 $as_echo "$result" >&6; }
12337 defaultval=$wxUSE_ALL_FEATURES
12338 if test -z "$defaultval"; then
12339 if test x"$enablestring" = xdisable; then
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12347 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12348 # Check whether --enable-filectrl was given.
12349 if test "${enable_filectrl+set}" = set; then :
12350 enableval=$enable_filectrl;
12351 if test "$enableval" = yes; then
12352 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
12354 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
12359 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12364 eval "$wx_cv_use_filectrl"
12366 if test x"$enablestring" = xdisable; then
12367 if test $wxUSE_FILECTRL = no; then
12373 result=$wxUSE_FILECTRL
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12377 $as_echo "$result" >&6; }
12381 defaultval=$wxUSE_ALL_FEATURES
12382 if test -z "$defaultval"; then
12383 if test x"$enablestring" = xdisable; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filepicker" >&5
12391 $as_echo_n "checking
for --${enablestring:-enable}-filepicker...
" >&6; }
12392 # Check whether --enable-filepicker was given.
12393 if test "${enable_filepicker+set}" = set; then :
12394 enableval=$enable_filepicker;
12395 if test "$enableval" = yes; then
12396 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12398 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12403 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12408 eval "$wx_cv_use_filepicker"
12410 if test x
"$enablestring" = xdisable
; then
12411 if test $wxUSE_FILEPICKERCTRL = no
; then
12417 result
=$wxUSE_FILEPICKERCTRL
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12421 $as_echo "$result" >&6; }
12425 defaultval
=$wxUSE_ALL_FEATURES
12426 if test -z "$defaultval"; then
12427 if test x
"$enablestring" = xdisable
; then
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12435 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12436 # Check whether --enable-fontpicker was given.
12437 if test "${enable_fontpicker+set}" = set; then :
12438 enableval
=$enable_fontpicker;
12439 if test "$enableval" = yes; then
12440 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
12442 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
12447 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12452 eval "$wx_cv_use_fontpicker"
12454 if test x"$enablestring" = xdisable; then
12455 if test $wxUSE_FONTPICKERCTRL = no; then
12461 result=$wxUSE_FONTPICKERCTRL
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12465 $as_echo "$result" >&6; }
12469 defaultval=$wxUSE_ALL_FEATURES
12470 if test -z "$defaultval"; then
12471 if test x"$enablestring" = xdisable; then
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12479 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12480 # Check whether --enable-gauge was given.
12481 if test "${enable_gauge+set}" = set; then :
12482 enableval=$enable_gauge;
12483 if test "$enableval" = yes; then
12484 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
12486 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
12491 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12496 eval "$wx_cv_use_gauge"
12498 if test x"$enablestring" = xdisable; then
12499 if test $wxUSE_GAUGE = no; then
12505 result=$wxUSE_GAUGE
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12509 $as_echo "$result" >&6; }
12513 defaultval=$wxUSE_ALL_FEATURES
12514 if test -z "$defaultval"; then
12515 if test x"$enablestring" = xdisable; then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-grid" >&5
12523 $as_echo_n "checking
for --${enablestring:-enable}-grid...
" >&6; }
12524 # Check whether --enable-grid was given.
12525 if test "${enable_grid+set}" = set; then :
12526 enableval=$enable_grid;
12527 if test "$enableval" = yes; then
12528 wx_cv_use_grid='wxUSE_GRID=yes'
12530 wx_cv_use_grid='wxUSE_GRID=no'
12535 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12540 eval "$wx_cv_use_grid"
12542 if test x
"$enablestring" = xdisable
; then
12543 if test $wxUSE_GRID = no
; then
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12553 $as_echo "$result" >&6; }
12557 defaultval
=$wxUSE_ALL_FEATURES
12558 if test -z "$defaultval"; then
12559 if test x
"$enablestring" = xdisable
; then
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12567 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12568 # Check whether --enable-headerctrl was given.
12569 if test "${enable_headerctrl+set}" = set; then :
12570 enableval
=$enable_headerctrl;
12571 if test "$enableval" = yes; then
12572 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
12574 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
12579 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12584 eval "$wx_cv_use_headerctrl"
12586 if test x"$enablestring" = xdisable; then
12587 if test $wxUSE_HEADERCTRL = no; then
12593 result=$wxUSE_HEADERCTRL
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12597 $as_echo "$result" >&6; }
12601 defaultval=$wxUSE_ALL_FEATURES
12602 if test -z "$defaultval"; then
12603 if test x"$enablestring" = xdisable; then
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12611 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12612 # Check whether --enable-hyperlink was given.
12613 if test "${enable_hyperlink+set}" = set; then :
12614 enableval=$enable_hyperlink;
12615 if test "$enableval" = yes; then
12616 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
12618 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
12623 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12628 eval "$wx_cv_use_hyperlink"
12630 if test x"$enablestring" = xdisable; then
12631 if test $wxUSE_HYPERLINKCTRL = no; then
12637 result=$wxUSE_HYPERLINKCTRL
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12641 $as_echo "$result" >&6; }
12645 defaultval=$wxUSE_ALL_FEATURES
12646 if test -z "$defaultval"; then
12647 if test x"$enablestring" = xdisable; then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-imaglist" >&5
12655 $as_echo_n "checking
for --${enablestring:-enable}-imaglist...
" >&6; }
12656 # Check whether --enable-imaglist was given.
12657 if test "${enable_imaglist+set}" = set; then :
12658 enableval=$enable_imaglist;
12659 if test "$enableval" = yes; then
12660 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12662 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12667 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12672 eval "$wx_cv_use_imaglist"
12674 if test x
"$enablestring" = xdisable
; then
12675 if test $wxUSE_IMAGLIST = no
; then
12681 result
=$wxUSE_IMAGLIST
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12685 $as_echo "$result" >&6; }
12689 defaultval
=$wxUSE_ALL_FEATURES
12690 if test -z "$defaultval"; then
12691 if test x
"$enablestring" = xdisable
; then
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12699 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12700 # Check whether --enable-infobar was given.
12701 if test "${enable_infobar+set}" = set; then :
12702 enableval
=$enable_infobar;
12703 if test "$enableval" = yes; then
12704 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
12706 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
12711 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12716 eval "$wx_cv_use_infobar"
12718 if test x"$enablestring" = xdisable; then
12719 if test $wxUSE_INFOBAR = no; then
12725 result=$wxUSE_INFOBAR
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12729 $as_echo "$result" >&6; }
12733 defaultval=$wxUSE_ALL_FEATURES
12734 if test -z "$defaultval"; then
12735 if test x"$enablestring" = xdisable; then
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12743 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12744 # Check whether --enable-listbook was given.
12745 if test "${enable_listbook+set}" = set; then :
12746 enableval=$enable_listbook;
12747 if test "$enableval" = yes; then
12748 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
12750 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
12755 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12760 eval "$wx_cv_use_listbook"
12762 if test x"$enablestring" = xdisable; then
12763 if test $wxUSE_LISTBOOK = no; then
12769 result=$wxUSE_LISTBOOK
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12773 $as_echo "$result" >&6; }
12777 defaultval=$wxUSE_ALL_FEATURES
12778 if test -z "$defaultval"; then
12779 if test x"$enablestring" = xdisable; then
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listbox" >&5
12787 $as_echo_n "checking
for --${enablestring:-enable}-listbox...
" >&6; }
12788 # Check whether --enable-listbox was given.
12789 if test "${enable_listbox+set}" = set; then :
12790 enableval=$enable_listbox;
12791 if test "$enableval" = yes; then
12792 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12794 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12799 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12804 eval "$wx_cv_use_listbox"
12806 if test x
"$enablestring" = xdisable
; then
12807 if test $wxUSE_LISTBOX = no
; then
12813 result
=$wxUSE_LISTBOX
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12817 $as_echo "$result" >&6; }
12821 defaultval
=$wxUSE_ALL_FEATURES
12822 if test -z "$defaultval"; then
12823 if test x
"$enablestring" = xdisable
; then
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12831 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12832 # Check whether --enable-listctrl was given.
12833 if test "${enable_listctrl+set}" = set; then :
12834 enableval
=$enable_listctrl;
12835 if test "$enableval" = yes; then
12836 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
12838 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
12843 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12848 eval "$wx_cv_use_listctrl"
12850 if test x"$enablestring" = xdisable; then
12851 if test $wxUSE_LISTCTRL = no; then
12857 result=$wxUSE_LISTCTRL
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12861 $as_echo "$result" >&6; }
12865 defaultval=$wxUSE_ALL_FEATURES
12866 if test -z "$defaultval"; then
12867 if test x"$enablestring" = xdisable; then
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12875 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12876 # Check whether --enable-notebook was given.
12877 if test "${enable_notebook+set}" = set; then :
12878 enableval=$enable_notebook;
12879 if test "$enableval" = yes; then
12880 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
12882 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
12887 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12892 eval "$wx_cv_use_notebook"
12894 if test x"$enablestring" = xdisable; then
12895 if test $wxUSE_NOTEBOOK = no; then
12901 result=$wxUSE_NOTEBOOK
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12905 $as_echo "$result" >&6; }
12909 defaultval=$wxUSE_ALL_FEATURES
12910 if test -z "$defaultval"; then
12911 if test x"$enablestring" = xdisable; then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-notifmsg" >&5
12919 $as_echo_n "checking
for --${enablestring:-enable}-notifmsg...
" >&6; }
12920 # Check whether --enable-notifmsg was given.
12921 if test "${enable_notifmsg+set}" = set; then :
12922 enableval=$enable_notifmsg;
12923 if test "$enableval" = yes; then
12924 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12926 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12931 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12936 eval "$wx_cv_use_notifmsg"
12938 if test x
"$enablestring" = xdisable
; then
12939 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
12945 result
=$wxUSE_NOTIFICATION_MESSAGE
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12949 $as_echo "$result" >&6; }
12953 defaultval
=$wxUSE_ALL_FEATURES
12954 if test -z "$defaultval"; then
12955 if test x
"$enablestring" = xdisable
; then
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12963 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12964 # Check whether --enable-odcombobox was given.
12965 if test "${enable_odcombobox+set}" = set; then :
12966 enableval
=$enable_odcombobox;
12967 if test "$enableval" = yes; then
12968 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
12970 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
12975 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12980 eval "$wx_cv_use_odcombobox"
12982 if test x"$enablestring" = xdisable; then
12983 if test $wxUSE_ODCOMBOBOX = no; then
12989 result=$wxUSE_ODCOMBOBOX
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12993 $as_echo "$result" >&6; }
12997 defaultval=$wxUSE_ALL_FEATURES
12998 if test -z "$defaultval"; then
12999 if test x"$enablestring" = xdisable; then
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
13007 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
13008 # Check whether --enable-popupwin was given.
13009 if test "${enable_popupwin+set}" = set; then :
13010 enableval=$enable_popupwin;
13011 if test "$enableval" = yes; then
13012 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
13014 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
13019 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13024 eval "$wx_cv_use_popupwin"
13026 if test x"$enablestring" = xdisable; then
13027 if test $wxUSE_POPUPWIN = no; then
13033 result=$wxUSE_POPUPWIN
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13037 $as_echo "$result" >&6; }
13041 defaultval=$wxUSE_ALL_FEATURES
13042 if test -z "$defaultval"; then
13043 if test x"$enablestring" = xdisable; then
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-radiobox" >&5
13051 $as_echo_n "checking
for --${enablestring:-enable}-radiobox...
" >&6; }
13052 # Check whether --enable-radiobox was given.
13053 if test "${enable_radiobox+set}" = set; then :
13054 enableval=$enable_radiobox;
13055 if test "$enableval" = yes; then
13056 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
13058 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
13063 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13068 eval "$wx_cv_use_radiobox"
13070 if test x
"$enablestring" = xdisable
; then
13071 if test $wxUSE_RADIOBOX = no
; then
13077 result
=$wxUSE_RADIOBOX
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13081 $as_echo "$result" >&6; }
13085 defaultval
=$wxUSE_ALL_FEATURES
13086 if test -z "$defaultval"; then
13087 if test x
"$enablestring" = xdisable
; then
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13095 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13096 # Check whether --enable-radiobtn was given.
13097 if test "${enable_radiobtn+set}" = set; then :
13098 enableval
=$enable_radiobtn;
13099 if test "$enableval" = yes; then
13100 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
13102 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
13107 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13112 eval "$wx_cv_use_radiobtn"
13114 if test x"$enablestring" = xdisable; then
13115 if test $wxUSE_RADIOBTN = no; then
13121 result=$wxUSE_RADIOBTN
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13125 $as_echo "$result" >&6; }
13129 defaultval=$wxUSE_ALL_FEATURES
13130 if test -z "$defaultval"; then
13131 if test x"$enablestring" = xdisable; then
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13139 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13140 # Check whether --enable-richmsgdlg was given.
13141 if test "${enable_richmsgdlg+set}" = set; then :
13142 enableval=$enable_richmsgdlg;
13143 if test "$enableval" = yes; then
13144 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=yes'
13146 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=no
'
13151 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG
=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13156 eval "$wx_cv_use_richmsgdlg"
13158 if test x"$enablestring" = xdisable; then
13159 if test $wxUSE_RICHMSGDLG = no; then
13165 result=$wxUSE_RICHMSGDLG
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13169 $as_echo "$result" >&6; }
13173 defaultval=$wxUSE_ALL_FEATURES
13174 if test -z "$defaultval"; then
13175 if test x"$enablestring" = xdisable; then
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-richtooltip" >&5
13183 $as_echo_n "checking
for --${enablestring:-enable}-richtooltip...
" >&6; }
13184 # Check whether --enable-richtooltip was given.
13185 if test "${enable_richtooltip+set}" = set; then :
13186 enableval=$enable_richtooltip;
13187 if test "$enableval" = yes; then
13188 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13190 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13195 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13200 eval "$wx_cv_use_richtooltip"
13202 if test x
"$enablestring" = xdisable
; then
13203 if test $wxUSE_RICHTOOLTIP = no
; then
13209 result
=$wxUSE_RICHTOOLTIP
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13213 $as_echo "$result" >&6; }
13217 defaultval
=$wxUSE_ALL_FEATURES
13218 if test -z "$defaultval"; then
13219 if test x
"$enablestring" = xdisable
; then
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13227 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13228 # Check whether --enable-rearrangectrl was given.
13229 if test "${enable_rearrangectrl+set}" = set; then :
13230 enableval
=$enable_rearrangectrl;
13231 if test "$enableval" = yes; then
13232 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
13234 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
13239 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13244 eval "$wx_cv_use_rearrangectrl"
13246 if test x"$enablestring" = xdisable; then
13247 if test $wxUSE_REARRANGECTRL = no; then
13253 result=$wxUSE_REARRANGECTRL
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13257 $as_echo "$result" >&6; }
13261 defaultval=$wxUSE_ALL_FEATURES
13262 if test -z "$defaultval"; then
13263 if test x"$enablestring" = xdisable; then
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13271 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13272 # Check whether --enable-sash was given.
13273 if test "${enable_sash+set}" = set; then :
13274 enableval=$enable_sash;
13275 if test "$enableval" = yes; then
13276 wx_cv_use_sash='wxUSE_SASH
=yes'
13278 wx_cv_use_sash='wxUSE_SASH
=no
'
13283 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13288 eval "$wx_cv_use_sash"
13290 if test x"$enablestring" = xdisable; then
13291 if test $wxUSE_SASH = no; then
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13301 $as_echo "$result" >&6; }
13305 defaultval=$wxUSE_ALL_FEATURES
13306 if test -z "$defaultval"; then
13307 if test x"$enablestring" = xdisable; then
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-scrollbar" >&5
13315 $as_echo_n "checking
for --${enablestring:-enable}-scrollbar...
" >&6; }
13316 # Check whether --enable-scrollbar was given.
13317 if test "${enable_scrollbar+set}" = set; then :
13318 enableval=$enable_scrollbar;
13319 if test "$enableval" = yes; then
13320 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13322 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13327 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13332 eval "$wx_cv_use_scrollbar"
13334 if test x
"$enablestring" = xdisable
; then
13335 if test $wxUSE_SCROLLBAR = no
; then
13341 result
=$wxUSE_SCROLLBAR
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13345 $as_echo "$result" >&6; }
13349 defaultval
=$wxUSE_ALL_FEATURES
13350 if test -z "$defaultval"; then
13351 if test x
"$enablestring" = xdisable
; then
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13359 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13360 # Check whether --enable-searchctrl was given.
13361 if test "${enable_searchctrl+set}" = set; then :
13362 enableval
=$enable_searchctrl;
13363 if test "$enableval" = yes; then
13364 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
13366 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
13371 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13376 eval "$wx_cv_use_searchctrl"
13378 if test x"$enablestring" = xdisable; then
13379 if test $wxUSE_SEARCHCTRL = no; then
13385 result=$wxUSE_SEARCHCTRL
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13389 $as_echo "$result" >&6; }
13393 defaultval=$wxUSE_ALL_FEATURES
13394 if test -z "$defaultval"; then
13395 if test x"$enablestring" = xdisable; then
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13403 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13404 # Check whether --enable-slider was given.
13405 if test "${enable_slider+set}" = set; then :
13406 enableval=$enable_slider;
13407 if test "$enableval" = yes; then
13408 wx_cv_use_slider='wxUSE_SLIDER
=yes'
13410 wx_cv_use_slider='wxUSE_SLIDER
=no
'
13415 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13420 eval "$wx_cv_use_slider"
13422 if test x"$enablestring" = xdisable; then
13423 if test $wxUSE_SLIDER = no; then
13429 result=$wxUSE_SLIDER
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13433 $as_echo "$result" >&6; }
13437 defaultval=$wxUSE_ALL_FEATURES
13438 if test -z "$defaultval"; then
13439 if test x"$enablestring" = xdisable; then
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-spinbtn" >&5
13447 $as_echo_n "checking
for --${enablestring:-enable}-spinbtn...
" >&6; }
13448 # Check whether --enable-spinbtn was given.
13449 if test "${enable_spinbtn+set}" = set; then :
13450 enableval=$enable_spinbtn;
13451 if test "$enableval" = yes; then
13452 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13454 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13459 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13464 eval "$wx_cv_use_spinbtn"
13466 if test x
"$enablestring" = xdisable
; then
13467 if test $wxUSE_SPINBTN = no
; then
13473 result
=$wxUSE_SPINBTN
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13477 $as_echo "$result" >&6; }
13481 defaultval
=$wxUSE_ALL_FEATURES
13482 if test -z "$defaultval"; then
13483 if test x
"$enablestring" = xdisable
; then
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13491 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13492 # Check whether --enable-spinctrl was given.
13493 if test "${enable_spinctrl+set}" = set; then :
13494 enableval
=$enable_spinctrl;
13495 if test "$enableval" = yes; then
13496 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
13498 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
13503 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13508 eval "$wx_cv_use_spinctrl"
13510 if test x"$enablestring" = xdisable; then
13511 if test $wxUSE_SPINCTRL = no; then
13517 result=$wxUSE_SPINCTRL
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13521 $as_echo "$result" >&6; }
13525 defaultval=$wxUSE_ALL_FEATURES
13526 if test -z "$defaultval"; then
13527 if test x"$enablestring" = xdisable; then
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13535 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13536 # Check whether --enable-splitter was given.
13537 if test "${enable_splitter+set}" = set; then :
13538 enableval=$enable_splitter;
13539 if test "$enableval" = yes; then
13540 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
13542 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
13547 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13552 eval "$wx_cv_use_splitter"
13554 if test x"$enablestring" = xdisable; then
13555 if test $wxUSE_SPLITTER = no; then
13561 result=$wxUSE_SPLITTER
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13565 $as_echo "$result" >&6; }
13569 defaultval=$wxUSE_ALL_FEATURES
13570 if test -z "$defaultval"; then
13571 if test x"$enablestring" = xdisable; then
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statbmp" >&5
13579 $as_echo_n "checking
for --${enablestring:-enable}-statbmp...
" >&6; }
13580 # Check whether --enable-statbmp was given.
13581 if test "${enable_statbmp+set}" = set; then :
13582 enableval=$enable_statbmp;
13583 if test "$enableval" = yes; then
13584 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13586 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13591 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13596 eval "$wx_cv_use_statbmp"
13598 if test x
"$enablestring" = xdisable
; then
13599 if test $wxUSE_STATBMP = no
; then
13605 result
=$wxUSE_STATBMP
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13609 $as_echo "$result" >&6; }
13613 defaultval
=$wxUSE_ALL_FEATURES
13614 if test -z "$defaultval"; then
13615 if test x
"$enablestring" = xdisable
; then
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13623 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13624 # Check whether --enable-statbox was given.
13625 if test "${enable_statbox+set}" = set; then :
13626 enableval
=$enable_statbox;
13627 if test "$enableval" = yes; then
13628 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
13630 wx_cv_use_statbox
='wxUSE_STATBOX=no'
13635 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13640 eval "$wx_cv_use_statbox"
13642 if test x"$enablestring" = xdisable; then
13643 if test $wxUSE_STATBOX = no; then
13649 result=$wxUSE_STATBOX
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13653 $as_echo "$result" >&6; }
13657 defaultval=$wxUSE_ALL_FEATURES
13658 if test -z "$defaultval"; then
13659 if test x"$enablestring" = xdisable; then
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13667 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13668 # Check whether --enable-statline was given.
13669 if test "${enable_statline+set}" = set; then :
13670 enableval=$enable_statline;
13671 if test "$enableval" = yes; then
13672 wx_cv_use_statline='wxUSE_STATLINE
=yes'
13674 wx_cv_use_statline='wxUSE_STATLINE
=no
'
13679 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13684 eval "$wx_cv_use_statline"
13686 if test x"$enablestring" = xdisable; then
13687 if test $wxUSE_STATLINE = no; then
13693 result=$wxUSE_STATLINE
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13697 $as_echo "$result" >&6; }
13701 defaultval=$wxUSE_ALL_FEATURES
13702 if test -z "$defaultval"; then
13703 if test x"$enablestring" = xdisable; then
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stattext" >&5
13711 $as_echo_n "checking
for --${enablestring:-enable}-stattext...
" >&6; }
13712 # Check whether --enable-stattext was given.
13713 if test "${enable_stattext+set}" = set; then :
13714 enableval=$enable_stattext;
13715 if test "$enableval" = yes; then
13716 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13718 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13723 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13728 eval "$wx_cv_use_stattext"
13730 if test x
"$enablestring" = xdisable
; then
13731 if test $wxUSE_STATTEXT = no
; then
13737 result
=$wxUSE_STATTEXT
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13741 $as_echo "$result" >&6; }
13745 defaultval
=$wxUSE_ALL_FEATURES
13746 if test -z "$defaultval"; then
13747 if test x
"$enablestring" = xdisable
; then
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13755 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13756 # Check whether --enable-statusbar was given.
13757 if test "${enable_statusbar+set}" = set; then :
13758 enableval
=$enable_statusbar;
13759 if test "$enableval" = yes; then
13760 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
13762 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
13767 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13772 eval "$wx_cv_use_statusbar"
13774 if test x"$enablestring" = xdisable; then
13775 if test $wxUSE_STATUSBAR = no; then
13781 result=$wxUSE_STATUSBAR
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13785 $as_echo "$result" >&6; }
13789 defaultval=$wxUSE_ALL_FEATURES
13790 if test -z "$defaultval"; then
13791 if test x"$enablestring" = xdisable; then
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13799 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13800 # Check whether --enable-taskbaricon was given.
13801 if test "${enable_taskbaricon+set}" = set; then :
13802 enableval=$enable_taskbaricon;
13803 if test "$enableval" = yes; then
13804 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
13806 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
13811 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13816 eval "$wx_cv_use_taskbaricon"
13818 if test x"$enablestring" = xdisable; then
13819 if test $wxUSE_TASKBARICON = no; then
13825 result=$wxUSE_TASKBARICON
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13829 $as_echo "$result" >&6; }
13833 defaultval=$wxUSE_ALL_FEATURES
13834 if test -z "$defaultval"; then
13835 if test x"$enablestring" = xdisable; then
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tbarnative" >&5
13843 $as_echo_n "checking
for --${enablestring:-enable}-tbarnative...
" >&6; }
13844 # Check whether --enable-tbarnative was given.
13845 if test "${enable_tbarnative+set}" = set; then :
13846 enableval=$enable_tbarnative;
13847 if test "$enableval" = yes; then
13848 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13850 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13855 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13860 eval "$wx_cv_use_tbarnative"
13862 if test x
"$enablestring" = xdisable
; then
13863 if test $wxUSE_TOOLBAR_NATIVE = no
; then
13869 result
=$wxUSE_TOOLBAR_NATIVE
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13873 $as_echo "$result" >&6; }
13877 defaultval
=$wxUSE_ALL_FEATURES
13878 if test -z "$defaultval"; then
13879 if test x
"$enablestring" = xdisable
; then
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13887 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13888 # Check whether --enable-textctrl was given.
13889 if test "${enable_textctrl+set}" = set; then :
13890 enableval
=$enable_textctrl;
13891 if test "$enableval" = yes; then
13892 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
13894 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
13899 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13904 eval "$wx_cv_use_textctrl"
13906 if test x"$enablestring" = xdisable; then
13907 if test $wxUSE_TEXTCTRL = no; then
13913 result=$wxUSE_TEXTCTRL
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13917 $as_echo "$result" >&6; }
13921 defaultval=$wxUSE_ALL_FEATURES
13922 if test -z "$defaultval"; then
13923 if test x"$enablestring" = xdisable; then
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13931 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13932 # Check whether --enable-datepick was given.
13933 if test "${enable_datepick+set}" = set; then :
13934 enableval=$enable_datepick;
13935 if test "$enableval" = yes; then
13936 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=yes'
13938 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=no
'
13943 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL
=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13948 eval "$wx_cv_use_datepick"
13950 if test x"$enablestring" = xdisable; then
13951 if test $wxUSE_TIMEPICKCTRL = no; then
13957 result=$wxUSE_TIMEPICKCTRL
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13961 $as_echo "$result" >&6; }
13965 defaultval=$wxUSE_ALL_FEATURES
13966 if test -z "$defaultval"; then
13967 if test x"$enablestring" = xdisable; then
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tipwindow" >&5
13975 $as_echo_n "checking
for --${enablestring:-enable}-tipwindow...
" >&6; }
13976 # Check whether --enable-tipwindow was given.
13977 if test "${enable_tipwindow+set}" = set; then :
13978 enableval=$enable_tipwindow;
13979 if test "$enableval" = yes; then
13980 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13982 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13987 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13992 eval "$wx_cv_use_tipwindow"
13994 if test x
"$enablestring" = xdisable
; then
13995 if test $wxUSE_TIPWINDOW = no
; then
14001 result
=$wxUSE_TIPWINDOW
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14005 $as_echo "$result" >&6; }
14009 defaultval
=$wxUSE_ALL_FEATURES
14010 if test -z "$defaultval"; then
14011 if test x
"$enablestring" = xdisable
; then
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14019 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14020 # Check whether --enable-togglebtn was given.
14021 if test "${enable_togglebtn+set}" = set; then :
14022 enableval
=$enable_togglebtn;
14023 if test "$enableval" = yes; then
14024 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
14026 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
14031 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14036 eval "$wx_cv_use_togglebtn"
14038 if test x"$enablestring" = xdisable; then
14039 if test $wxUSE_TOGGLEBTN = no; then
14045 result=$wxUSE_TOGGLEBTN
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14049 $as_echo "$result" >&6; }
14053 defaultval=$wxUSE_ALL_FEATURES
14054 if test -z "$defaultval"; then
14055 if test x"$enablestring" = xdisable; then
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
14063 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
14064 # Check whether --enable-toolbar was given.
14065 if test "${enable_toolbar+set}" = set; then :
14066 enableval=$enable_toolbar;
14067 if test "$enableval" = yes; then
14068 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
14070 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
14075 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14080 eval "$wx_cv_use_toolbar"
14082 if test x"$enablestring" = xdisable; then
14083 if test $wxUSE_TOOLBAR = no; then
14089 result=$wxUSE_TOOLBAR
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14093 $as_echo "$result" >&6; }
14097 defaultval=$wxUSE_ALL_FEATURES
14098 if test -z "$defaultval"; then
14099 if test x"$enablestring" = xdisable; then
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-toolbook" >&5
14107 $as_echo_n "checking
for --${enablestring:-enable}-toolbook...
" >&6; }
14108 # Check whether --enable-toolbook was given.
14109 if test "${enable_toolbook+set}" = set; then :
14110 enableval=$enable_toolbook;
14111 if test "$enableval" = yes; then
14112 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14114 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14119 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14124 eval "$wx_cv_use_toolbook"
14126 if test x
"$enablestring" = xdisable
; then
14127 if test $wxUSE_TOOLBOOK = no
; then
14133 result
=$wxUSE_TOOLBOOK
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14137 $as_echo "$result" >&6; }
14141 defaultval
=$wxUSE_ALL_FEATURES
14142 if test -z "$defaultval"; then
14143 if test x
"$enablestring" = xdisable
; then
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14151 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14152 # Check whether --enable-treebook was given.
14153 if test "${enable_treebook+set}" = set; then :
14154 enableval
=$enable_treebook;
14155 if test "$enableval" = yes; then
14156 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
14158 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
14163 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14168 eval "$wx_cv_use_treebook"
14170 if test x"$enablestring" = xdisable; then
14171 if test $wxUSE_TREEBOOK = no; then
14177 result=$wxUSE_TREEBOOK
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14181 $as_echo "$result" >&6; }
14185 defaultval=$wxUSE_ALL_FEATURES
14186 if test -z "$defaultval"; then
14187 if test x"$enablestring" = xdisable; then
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14195 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14196 # Check whether --enable-treectrl was given.
14197 if test "${enable_treectrl+set}" = set; then :
14198 enableval=$enable_treectrl;
14199 if test "$enableval" = yes; then
14200 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
14202 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
14207 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14212 eval "$wx_cv_use_treectrl"
14214 if test x"$enablestring" = xdisable; then
14215 if test $wxUSE_TREECTRL = no; then
14221 result=$wxUSE_TREECTRL
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14225 $as_echo "$result" >&6; }
14229 defaultval=$wxUSE_ALL_FEATURES
14230 if test -z "$defaultval"; then
14231 if test x"$enablestring" = xdisable; then
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treelist" >&5
14239 $as_echo_n "checking
for --${enablestring:-enable}-treelist...
" >&6; }
14240 # Check whether --enable-treelist was given.
14241 if test "${enable_treelist+set}" = set; then :
14242 enableval=$enable_treelist;
14243 if test "$enableval" = yes; then
14244 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14246 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14251 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14256 eval "$wx_cv_use_treelist"
14258 if test x
"$enablestring" = xdisable
; then
14259 if test $wxUSE_TREELISTCTRL = no
; then
14265 result
=$wxUSE_TREELISTCTRL
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14269 $as_echo "$result" >&6; }
14275 defaultval
=$wxUSE_ALL_FEATURES
14276 if test -z "$defaultval"; then
14277 if test x
"$enablestring" = xdisable
; then
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14285 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14286 # Check whether --enable-commondlg was given.
14287 if test "${enable_commondlg+set}" = set; then :
14288 enableval
=$enable_commondlg;
14289 if test "$enableval" = yes; then
14290 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
14292 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
14297 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14302 eval "$wx_cv_use_commondlg"
14304 if test x"$enablestring" = xdisable; then
14305 if test $wxUSE_COMMONDLGS = no; then
14311 result=$wxUSE_COMMONDLGS
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14315 $as_echo "$result" >&6; }
14319 defaultval=$wxUSE_ALL_FEATURES
14320 if test -z "$defaultval"; then
14321 if test x"$enablestring" = xdisable; then
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14329 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14330 # Check whether --enable-aboutdlg was given.
14331 if test "${enable_aboutdlg+set}" = set; then :
14332 enableval=$enable_aboutdlg;
14333 if test "$enableval" = yes; then
14334 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
14336 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
14341 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14346 eval "$wx_cv_use_aboutdlg"
14348 if test x"$enablestring" = xdisable; then
14349 if test $wxUSE_ABOUTDLG = no; then
14355 result=$wxUSE_ABOUTDLG
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14359 $as_echo "$result" >&6; }
14363 defaultval=$wxUSE_ALL_FEATURES
14364 if test -z "$defaultval"; then
14365 if test x"$enablestring" = xdisable; then
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-choicedlg" >&5
14373 $as_echo_n "checking
for --${enablestring:-enable}-choicedlg...
" >&6; }
14374 # Check whether --enable-choicedlg was given.
14375 if test "${enable_choicedlg+set}" = set; then :
14376 enableval=$enable_choicedlg;
14377 if test "$enableval" = yes; then
14378 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14380 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14385 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14390 eval "$wx_cv_use_choicedlg"
14392 if test x
"$enablestring" = xdisable
; then
14393 if test $wxUSE_CHOICEDLG = no
; then
14399 result
=$wxUSE_CHOICEDLG
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14403 $as_echo "$result" >&6; }
14407 defaultval
=$wxUSE_ALL_FEATURES
14408 if test -z "$defaultval"; then
14409 if test x
"$enablestring" = xdisable
; then
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14417 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14418 # Check whether --enable-coldlg was given.
14419 if test "${enable_coldlg+set}" = set; then :
14420 enableval
=$enable_coldlg;
14421 if test "$enableval" = yes; then
14422 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
14424 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
14429 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14434 eval "$wx_cv_use_coldlg"
14436 if test x"$enablestring" = xdisable; then
14437 if test $wxUSE_COLOURDLG = no; then
14443 result=$wxUSE_COLOURDLG
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14447 $as_echo "$result" >&6; }
14451 defaultval=$wxUSE_ALL_FEATURES
14452 if test -z "$defaultval"; then
14453 if test x"$enablestring" = xdisable; then
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14461 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14462 # Check whether --enable-filedlg was given.
14463 if test "${enable_filedlg+set}" = set; then :
14464 enableval=$enable_filedlg;
14465 if test "$enableval" = yes; then
14466 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
14468 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
14473 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14478 eval "$wx_cv_use_filedlg"
14480 if test x"$enablestring" = xdisable; then
14481 if test $wxUSE_FILEDLG = no; then
14487 result=$wxUSE_FILEDLG
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14491 $as_echo "$result" >&6; }
14495 defaultval=$wxUSE_ALL_FEATURES
14496 if test -z "$defaultval"; then
14497 if test x"$enablestring" = xdisable; then
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-finddlg" >&5
14505 $as_echo_n "checking
for --${enablestring:-enable}-finddlg...
" >&6; }
14506 # Check whether --enable-finddlg was given.
14507 if test "${enable_finddlg+set}" = set; then :
14508 enableval=$enable_finddlg;
14509 if test "$enableval" = yes; then
14510 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14512 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14517 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14522 eval "$wx_cv_use_finddlg"
14524 if test x
"$enablestring" = xdisable
; then
14525 if test $wxUSE_FINDREPLDLG = no
; then
14531 result
=$wxUSE_FINDREPLDLG
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14535 $as_echo "$result" >&6; }
14539 defaultval
=$wxUSE_ALL_FEATURES
14540 if test -z "$defaultval"; then
14541 if test x
"$enablestring" = xdisable
; then
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14549 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14550 # Check whether --enable-fontdlg was given.
14551 if test "${enable_fontdlg+set}" = set; then :
14552 enableval
=$enable_fontdlg;
14553 if test "$enableval" = yes; then
14554 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
14556 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
14561 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14566 eval "$wx_cv_use_fontdlg"
14568 if test x"$enablestring" = xdisable; then
14569 if test $wxUSE_FONTDLG = no; then
14575 result=$wxUSE_FONTDLG
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14579 $as_echo "$result" >&6; }
14583 defaultval=$wxUSE_ALL_FEATURES
14584 if test -z "$defaultval"; then
14585 if test x"$enablestring" = xdisable; then
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14593 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14594 # Check whether --enable-dirdlg was given.
14595 if test "${enable_dirdlg+set}" = set; then :
14596 enableval=$enable_dirdlg;
14597 if test "$enableval" = yes; then
14598 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
14600 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
14605 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14610 eval "$wx_cv_use_dirdlg"
14612 if test x"$enablestring" = xdisable; then
14613 if test $wxUSE_DIRDLG = no; then
14619 result=$wxUSE_DIRDLG
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14623 $as_echo "$result" >&6; }
14627 defaultval=$wxUSE_ALL_FEATURES
14628 if test -z "$defaultval"; then
14629 if test x"$enablestring" = xdisable; then
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-msgdlg" >&5
14637 $as_echo_n "checking
for --${enablestring:-enable}-msgdlg...
" >&6; }
14638 # Check whether --enable-msgdlg was given.
14639 if test "${enable_msgdlg+set}" = set; then :
14640 enableval=$enable_msgdlg;
14641 if test "$enableval" = yes; then
14642 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14644 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14649 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14654 eval "$wx_cv_use_msgdlg"
14656 if test x
"$enablestring" = xdisable
; then
14657 if test $wxUSE_MSGDLG = no
; then
14663 result
=$wxUSE_MSGDLG
14666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14667 $as_echo "$result" >&6; }
14671 defaultval
=$wxUSE_ALL_FEATURES
14672 if test -z "$defaultval"; then
14673 if test x
"$enablestring" = xdisable
; then
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14681 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14682 # Check whether --enable-numberdlg was given.
14683 if test "${enable_numberdlg+set}" = set; then :
14684 enableval
=$enable_numberdlg;
14685 if test "$enableval" = yes; then
14686 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
14688 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
14693 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14698 eval "$wx_cv_use_numberdlg"
14700 if test x"$enablestring" = xdisable; then
14701 if test $wxUSE_NUMBERDLG = no; then
14707 result=$wxUSE_NUMBERDLG
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14711 $as_echo "$result" >&6; }
14715 defaultval=$wxUSE_ALL_FEATURES
14716 if test -z "$defaultval"; then
14717 if test x"$enablestring" = xdisable; then
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14725 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14726 # Check whether --enable-splash was given.
14727 if test "${enable_splash+set}" = set; then :
14728 enableval=$enable_splash;
14729 if test "$enableval" = yes; then
14730 wx_cv_use_splash='wxUSE_SPLASH
=yes'
14732 wx_cv_use_splash='wxUSE_SPLASH
=no
'
14737 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14742 eval "$wx_cv_use_splash"
14744 if test x"$enablestring" = xdisable; then
14745 if test $wxUSE_SPLASH = no; then
14751 result=$wxUSE_SPLASH
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14755 $as_echo "$result" >&6; }
14759 defaultval=$wxUSE_ALL_FEATURES
14760 if test -z "$defaultval"; then
14761 if test x"$enablestring" = xdisable; then
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textdlg" >&5
14769 $as_echo_n "checking
for --${enablestring:-enable}-textdlg...
" >&6; }
14770 # Check whether --enable-textdlg was given.
14771 if test "${enable_textdlg+set}" = set; then :
14772 enableval=$enable_textdlg;
14773 if test "$enableval" = yes; then
14774 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14776 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14781 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14786 eval "$wx_cv_use_textdlg"
14788 if test x
"$enablestring" = xdisable
; then
14789 if test $wxUSE_TEXTDLG = no
; then
14795 result
=$wxUSE_TEXTDLG
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14799 $as_echo "$result" >&6; }
14803 defaultval
=$wxUSE_ALL_FEATURES
14804 if test -z "$defaultval"; then
14805 if test x
"$enablestring" = xdisable
; then
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14813 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14814 # Check whether --enable-tipdlg was given.
14815 if test "${enable_tipdlg+set}" = set; then :
14816 enableval
=$enable_tipdlg;
14817 if test "$enableval" = yes; then
14818 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
14820 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
14825 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14830 eval "$wx_cv_use_tipdlg"
14832 if test x"$enablestring" = xdisable; then
14833 if test $wxUSE_STARTUP_TIPS = no; then
14839 result=$wxUSE_STARTUP_TIPS
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14843 $as_echo "$result" >&6; }
14847 defaultval=$wxUSE_ALL_FEATURES
14848 if test -z "$defaultval"; then
14849 if test x"$enablestring" = xdisable; then
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14857 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14858 # Check whether --enable-progressdlg was given.
14859 if test "${enable_progressdlg+set}" = set; then :
14860 enableval=$enable_progressdlg;
14861 if test "$enableval" = yes; then
14862 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
14864 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
14869 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14874 eval "$wx_cv_use_progressdlg"
14876 if test x"$enablestring" = xdisable; then
14877 if test $wxUSE_PROGRESSDLG = no; then
14883 result=$wxUSE_PROGRESSDLG
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14887 $as_echo "$result" >&6; }
14891 defaultval=$wxUSE_ALL_FEATURES
14892 if test -z "$defaultval"; then
14893 if test x"$enablestring" = xdisable; then
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-wizarddlg" >&5
14901 $as_echo_n "checking
for --${enablestring:-enable}-wizarddlg...
" >&6; }
14902 # Check whether --enable-wizarddlg was given.
14903 if test "${enable_wizarddlg+set}" = set; then :
14904 enableval=$enable_wizarddlg;
14905 if test "$enableval" = yes; then
14906 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14908 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14913 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14918 eval "$wx_cv_use_wizarddlg"
14920 if test x
"$enablestring" = xdisable
; then
14921 if test $wxUSE_WIZARDDLG = no
; then
14927 result
=$wxUSE_WIZARDDLG
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14931 $as_echo "$result" >&6; }
14937 defaultval
=$wxUSE_ALL_FEATURES
14938 if test -z "$defaultval"; then
14939 if test x
"$enablestring" = xdisable
; then
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14947 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14948 # Check whether --enable-menus was given.
14949 if test "${enable_menus+set}" = set; then :
14950 enableval
=$enable_menus;
14951 if test "$enableval" = yes; then
14952 wx_cv_use_menus
='wxUSE_MENUS=yes'
14954 wx_cv_use_menus
='wxUSE_MENUS=no'
14959 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14964 eval "$wx_cv_use_menus"
14966 if test x"$enablestring" = xdisable; then
14967 if test $wxUSE_MENUS = no; then
14973 result=$wxUSE_MENUS
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14977 $as_echo "$result" >&6; }
14981 defaultval=$wxUSE_ALL_FEATURES
14982 if test -z "$defaultval"; then
14983 if test x"$enablestring" = xdisable; then
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14991 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14992 # Check whether --enable-miniframe was given.
14993 if test "${enable_miniframe+set}" = set; then :
14994 enableval=$enable_miniframe;
14995 if test "$enableval" = yes; then
14996 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
14998 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
15003 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
15008 eval "$wx_cv_use_miniframe"
15010 if test x"$enablestring" = xdisable; then
15011 if test $wxUSE_MINIFRAME = no; then
15017 result=$wxUSE_MINIFRAME
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15021 $as_echo "$result" >&6; }
15025 defaultval=$wxUSE_ALL_FEATURES
15026 if test -z "$defaultval"; then
15027 if test x"$enablestring" = xdisable; then
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tooltips" >&5
15035 $as_echo_n "checking
for --${enablestring:-enable}-tooltips...
" >&6; }
15036 # Check whether --enable-tooltips was given.
15037 if test "${enable_tooltips+set}" = set; then :
15038 enableval=$enable_tooltips;
15039 if test "$enableval" = yes; then
15040 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15042 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15047 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15052 eval "$wx_cv_use_tooltips"
15054 if test x
"$enablestring" = xdisable
; then
15055 if test $wxUSE_TOOLTIPS = no
; then
15061 result
=$wxUSE_TOOLTIPS
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15065 $as_echo "$result" >&6; }
15069 defaultval
=$wxUSE_ALL_FEATURES
15070 if test -z "$defaultval"; then
15071 if test x
"$enablestring" = xdisable
; then
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15079 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15080 # Check whether --enable-splines was given.
15081 if test "${enable_splines+set}" = set; then :
15082 enableval
=$enable_splines;
15083 if test "$enableval" = yes; then
15084 wx_cv_use_splines
='wxUSE_SPLINES=yes'
15086 wx_cv_use_splines
='wxUSE_SPLINES=no'
15091 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15096 eval "$wx_cv_use_splines"
15098 if test x"$enablestring" = xdisable; then
15099 if test $wxUSE_SPLINES = no; then
15105 result=$wxUSE_SPLINES
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15109 $as_echo "$result" >&6; }
15113 defaultval=$wxUSE_ALL_FEATURES
15114 if test -z "$defaultval"; then
15115 if test x"$enablestring" = xdisable; then
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15123 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15124 # Check whether --enable-mousewheel was given.
15125 if test "${enable_mousewheel+set}" = set; then :
15126 enableval=$enable_mousewheel;
15127 if test "$enableval" = yes; then
15128 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
15130 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
15135 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15140 eval "$wx_cv_use_mousewheel"
15142 if test x"$enablestring" = xdisable; then
15143 if test $wxUSE_MOUSEWHEEL = no; then
15149 result=$wxUSE_MOUSEWHEEL
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15153 $as_echo "$result" >&6; }
15157 defaultval=$wxUSE_ALL_FEATURES
15158 if test -z "$defaultval"; then
15159 if test x"$enablestring" = xdisable; then
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-validators" >&5
15167 $as_echo_n "checking
for --${enablestring:-enable}-validators...
" >&6; }
15168 # Check whether --enable-validators was given.
15169 if test "${enable_validators+set}" = set; then :
15170 enableval=$enable_validators;
15171 if test "$enableval" = yes; then
15172 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15174 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15179 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15184 eval "$wx_cv_use_validators"
15186 if test x
"$enablestring" = xdisable
; then
15187 if test $wxUSE_VALIDATORS = no
; then
15193 result
=$wxUSE_VALIDATORS
15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15197 $as_echo "$result" >&6; }
15201 defaultval
=$wxUSE_ALL_FEATURES
15202 if test -z "$defaultval"; then
15203 if test x
"$enablestring" = xdisable
; then
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15211 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15212 # Check whether --enable-busyinfo was given.
15213 if test "${enable_busyinfo+set}" = set; then :
15214 enableval
=$enable_busyinfo;
15215 if test "$enableval" = yes; then
15216 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
15218 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
15223 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15228 eval "$wx_cv_use_busyinfo"
15230 if test x"$enablestring" = xdisable; then
15231 if test $wxUSE_BUSYINFO = no; then
15237 result=$wxUSE_BUSYINFO
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15241 $as_echo "$result" >&6; }
15245 defaultval=$wxUSE_ALL_FEATURES
15246 if test -z "$defaultval"; then
15247 if test x"$enablestring" = xdisable; then
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15255 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15256 # Check whether --enable-hotkey was given.
15257 if test "${enable_hotkey+set}" = set; then :
15258 enableval=$enable_hotkey;
15259 if test "$enableval" = yes; then
15260 wx_cv_use_hotkey='wxUSE_HOTKEY
=yes'
15262 wx_cv_use_hotkey='wxUSE_HOTKEY
=no
'
15267 wx_cv_use_hotkey='wxUSE_HOTKEY
=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15272 eval "$wx_cv_use_hotkey"
15274 if test x"$enablestring" = xdisable; then
15275 if test $wxUSE_HOTKEY = no; then
15281 result=$wxUSE_HOTKEY
15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15285 $as_echo "$result" >&6; }
15289 defaultval=$wxUSE_ALL_FEATURES
15290 if test -z "$defaultval"; then
15291 if test x"$enablestring" = xdisable; then
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-joystick" >&5
15299 $as_echo_n "checking
for --${enablestring:-enable}-joystick...
" >&6; }
15300 # Check whether --enable-joystick was given.
15301 if test "${enable_joystick+set}" = set; then :
15302 enableval=$enable_joystick;
15303 if test "$enableval" = yes; then
15304 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15306 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15311 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15316 eval "$wx_cv_use_joystick"
15318 if test x
"$enablestring" = xdisable
; then
15319 if test $wxUSE_JOYSTICK = no
; then
15325 result
=$wxUSE_JOYSTICK
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15329 $as_echo "$result" >&6; }
15333 defaultval
=$wxUSE_ALL_FEATURES
15334 if test -z "$defaultval"; then
15335 if test x
"$enablestring" = xdisable
; then
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15343 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15344 # Check whether --enable-metafile was given.
15345 if test "${enable_metafile+set}" = set; then :
15346 enableval
=$enable_metafile;
15347 if test "$enableval" = yes; then
15348 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
15350 wx_cv_use_metafile
='wxUSE_METAFILE=no'
15355 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15360 eval "$wx_cv_use_metafile"
15362 if test x"$enablestring" = xdisable; then
15363 if test $wxUSE_METAFILE = no; then
15369 result=$wxUSE_METAFILE
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15373 $as_echo "$result" >&6; }
15377 defaultval=$wxUSE_ALL_FEATURES
15378 if test -z "$defaultval"; then
15379 if test x"$enablestring" = xdisable; then
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15387 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15388 # Check whether --enable-dragimage was given.
15389 if test "${enable_dragimage+set}" = set; then :
15390 enableval=$enable_dragimage;
15391 if test "$enableval" = yes; then
15392 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
15394 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
15399 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15404 eval "$wx_cv_use_dragimage"
15406 if test x"$enablestring" = xdisable; then
15407 if test $wxUSE_DRAGIMAGE = no; then
15413 result=$wxUSE_DRAGIMAGE
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15417 $as_echo "$result" >&6; }
15421 defaultval=$wxUSE_ALL_FEATURES
15422 if test -z "$defaultval"; then
15423 if test x"$enablestring" = xdisable; then
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-accessibility" >&5
15431 $as_echo_n "checking
for --${enablestring:-enable}-accessibility...
" >&6; }
15432 # Check whether --enable-accessibility was given.
15433 if test "${enable_accessibility+set}" = set; then :
15434 enableval=$enable_accessibility;
15435 if test "$enableval" = yes; then
15436 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15438 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15443 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15448 eval "$wx_cv_use_accessibility"
15450 if test x
"$enablestring" = xdisable
; then
15451 if test $wxUSE_ACCESSIBILITY = no
; then
15457 result
=$wxUSE_ACCESSIBILITY
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15461 $as_echo "$result" >&6; }
15465 defaultval
=$wxUSE_ALL_FEATURES
15466 if test -z "$defaultval"; then
15467 if test x
"$enablestring" = xdisable
; then
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15475 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15476 # Check whether --enable-uiactionsim was given.
15477 if test "${enable_uiactionsim+set}" = set; then :
15478 enableval
=$enable_uiactionsim;
15479 if test "$enableval" = yes; then
15480 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=yes'
15482 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=no'
15487 wx_cv_use_uiactionsim
='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15492 eval "$wx_cv_use_uiactionsim"
15494 if test x"$enablestring" = xdisable; then
15495 if test $wxUSE_UIACTIONSIMULATOR = no; then
15501 result=$wxUSE_UIACTIONSIMULATOR
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15505 $as_echo "$result" >&6; }
15509 defaultval=$wxUSE_ALL_FEATURES
15510 if test -z "$defaultval"; then
15511 if test x"$enablestring" = xdisable; then
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15519 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15520 # Check whether --enable-dctransform was given.
15521 if test "${enable_dctransform+set}" = set; then :
15522 enableval=$enable_dctransform;
15523 if test "$enableval" = yes; then
15524 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=yes'
15526 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=no
'
15531 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX
=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15536 eval "$wx_cv_use_dctransform"
15538 if test x"$enablestring" = xdisable; then
15539 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15545 result=$wxUSE_DC_TRANSFORM_MATRIX
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15549 $as_echo "$result" >&6; }
15553 defaultval=$wxUSE_ALL_FEATURES
15554 if test -z "$defaultval"; then
15555 if test x"$enablestring" = xdisable; then
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webviewwebkit" >&5
15563 $as_echo_n "checking
for --${enablestring:-enable}-webviewwebkit...
" >&6; }
15564 # Check whether --enable-webviewwebkit was given.
15565 if test "${enable_webviewwebkit+set}" = set; then :
15566 enableval=$enable_webviewwebkit;
15567 if test "$enableval" = yes; then
15568 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15570 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15575 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15580 eval "$wx_cv_use_webviewwebkit"
15582 if test x
"$enablestring" = xdisable
; then
15583 if test $wxUSE_WEBVIEW_WEBKIT = no
; then
15589 result
=$wxUSE_WEBVIEW_WEBKIT
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15593 $as_echo "$result" >&6; }
15599 defaultval
=$wxUSE_ALL_FEATURES
15600 if test -z "$defaultval"; then
15601 if test x
"$enablestring" = xdisable
; then
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15609 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15610 # Check whether --enable-palette was given.
15611 if test "${enable_palette+set}" = set; then :
15612 enableval
=$enable_palette;
15613 if test "$enableval" = yes; then
15614 wx_cv_use_palette
='wxUSE_PALETTE=yes'
15616 wx_cv_use_palette
='wxUSE_PALETTE=no'
15621 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15626 eval "$wx_cv_use_palette"
15628 if test x"$enablestring" = xdisable; then
15629 if test $wxUSE_PALETTE = no; then
15635 result=$wxUSE_PALETTE
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15639 $as_echo "$result" >&6; }
15643 defaultval=$wxUSE_ALL_FEATURES
15644 if test -z "$defaultval"; then
15645 if test x"$enablestring" = xdisable; then
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15653 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15654 # Check whether --enable-image was given.
15655 if test "${enable_image+set}" = set; then :
15656 enableval=$enable_image;
15657 if test "$enableval" = yes; then
15658 wx_cv_use_image='wxUSE_IMAGE
=yes'
15660 wx_cv_use_image='wxUSE_IMAGE
=no
'
15665 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15670 eval "$wx_cv_use_image"
15672 if test x"$enablestring" = xdisable; then
15673 if test $wxUSE_IMAGE = no; then
15679 result=$wxUSE_IMAGE
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15683 $as_echo "$result" >&6; }
15687 defaultval=$wxUSE_ALL_FEATURES
15688 if test -z "$defaultval"; then
15689 if test x"$enablestring" = xdisable; then
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gif" >&5
15697 $as_echo_n "checking
for --${enablestring:-enable}-gif...
" >&6; }
15698 # Check whether --enable-gif was given.
15699 if test "${enable_gif+set}" = set; then :
15700 enableval=$enable_gif;
15701 if test "$enableval" = yes; then
15702 wx_cv_use_gif='wxUSE_GIF=yes'
15704 wx_cv_use_gif='wxUSE_GIF=no'
15709 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15714 eval "$wx_cv_use_gif"
15716 if test x
"$enablestring" = xdisable
; then
15717 if test $wxUSE_GIF = no
; then
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15727 $as_echo "$result" >&6; }
15731 defaultval
=$wxUSE_ALL_FEATURES
15732 if test -z "$defaultval"; then
15733 if test x
"$enablestring" = xdisable
; then
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15741 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15742 # Check whether --enable-pcx was given.
15743 if test "${enable_pcx+set}" = set; then :
15744 enableval
=$enable_pcx;
15745 if test "$enableval" = yes; then
15746 wx_cv_use_pcx
='wxUSE_PCX=yes'
15748 wx_cv_use_pcx
='wxUSE_PCX=no'
15753 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15758 eval "$wx_cv_use_pcx"
15760 if test x"$enablestring" = xdisable; then
15761 if test $wxUSE_PCX = no; then
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15771 $as_echo "$result" >&6; }
15775 defaultval=$wxUSE_ALL_FEATURES
15776 if test -z "$defaultval"; then
15777 if test x"$enablestring" = xdisable; then
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15785 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15786 # Check whether --enable-tga was given.
15787 if test "${enable_tga+set}" = set; then :
15788 enableval=$enable_tga;
15789 if test "$enableval" = yes; then
15790 wx_cv_use_tga='wxUSE_TGA
=yes'
15792 wx_cv_use_tga='wxUSE_TGA
=no
'
15797 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15802 eval "$wx_cv_use_tga"
15804 if test x"$enablestring" = xdisable; then
15805 if test $wxUSE_TGA = no; then
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15815 $as_echo "$result" >&6; }
15819 defaultval=$wxUSE_ALL_FEATURES
15820 if test -z "$defaultval"; then
15821 if test x"$enablestring" = xdisable; then
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-iff" >&5
15829 $as_echo_n "checking
for --${enablestring:-enable}-iff...
" >&6; }
15830 # Check whether --enable-iff was given.
15831 if test "${enable_iff+set}" = set; then :
15832 enableval=$enable_iff;
15833 if test "$enableval" = yes; then
15834 wx_cv_use_iff='wxUSE_IFF=yes'
15836 wx_cv_use_iff='wxUSE_IFF=no'
15841 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15846 eval "$wx_cv_use_iff"
15848 if test x
"$enablestring" = xdisable
; then
15849 if test $wxUSE_IFF = no
; then
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15859 $as_echo "$result" >&6; }
15863 defaultval
=$wxUSE_ALL_FEATURES
15864 if test -z "$defaultval"; then
15865 if test x
"$enablestring" = xdisable
; then
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15873 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15874 # Check whether --enable-pnm was given.
15875 if test "${enable_pnm+set}" = set; then :
15876 enableval
=$enable_pnm;
15877 if test "$enableval" = yes; then
15878 wx_cv_use_pnm
='wxUSE_PNM=yes'
15880 wx_cv_use_pnm
='wxUSE_PNM=no'
15885 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15890 eval "$wx_cv_use_pnm"
15892 if test x"$enablestring" = xdisable; then
15893 if test $wxUSE_PNM = no; then
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15903 $as_echo "$result" >&6; }
15907 defaultval=$wxUSE_ALL_FEATURES
15908 if test -z "$defaultval"; then
15909 if test x"$enablestring" = xdisable; then
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15917 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15918 # Check whether --enable-xpm was given.
15919 if test "${enable_xpm+set}" = set; then :
15920 enableval=$enable_xpm;
15921 if test "$enableval" = yes; then
15922 wx_cv_use_xpm='wxUSE_XPM
=yes'
15924 wx_cv_use_xpm='wxUSE_XPM
=no
'
15929 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15934 eval "$wx_cv_use_xpm"
15936 if test x"$enablestring" = xdisable; then
15937 if test $wxUSE_XPM = no; then
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15947 $as_echo "$result" >&6; }
15951 defaultval=$wxUSE_ALL_FEATURES
15952 if test -z "$defaultval"; then
15953 if test x"$enablestring" = xdisable; then
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ico_cur" >&5
15961 $as_echo_n "checking
for --${enablestring:-enable}-ico_cur...
" >&6; }
15962 # Check whether --enable-ico_cur was given.
15963 if test "${enable_ico_cur+set}" = set; then :
15964 enableval=$enable_ico_cur;
15965 if test "$enableval" = yes; then
15966 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15968 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15973 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15978 eval "$wx_cv_use_ico_cur"
15980 if test x
"$enablestring" = xdisable
; then
15981 if test $wxUSE_ICO_CUR = no
; then
15987 result
=$wxUSE_ICO_CUR
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15991 $as_echo "$result" >&6; }
15997 defaultval
=$wxUSE_ALL_FEATURES
15998 if test -z "$defaultval"; then
15999 if test x
"$enablestring" = xdisable
; then
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
16007 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
16008 # Check whether --enable-dccache was given.
16009 if test "${enable_dccache+set}" = set; then :
16010 enableval
=$enable_dccache;
16011 if test "$enableval" = yes; then
16012 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
16014 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
16019 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16024 eval "$wx_cv_use_dccache"
16026 if test x"$enablestring" = xdisable; then
16027 if test $wxUSE_DC_CACHEING = no; then
16033 result=$wxUSE_DC_CACHEING
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16037 $as_echo "$result" >&6; }
16041 defaultval=$wxUSE_ALL_FEATURES
16042 if test -z "$defaultval"; then
16043 if test x"$enablestring" = xdisable; then
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
16051 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
16052 # Check whether --enable-ps-in-msw was given.
16053 if test "${enable_ps_in_msw+set}" = set; then :
16054 enableval=$enable_ps_in_msw;
16055 if test "$enableval" = yes; then
16056 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
16058 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
16063 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16068 eval "$wx_cv_use_ps_in_msw"
16070 if test x"$enablestring" = xdisable; then
16071 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16077 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16081 $as_echo "$result" >&6; }
16085 defaultval=$wxUSE_ALL_FEATURES
16086 if test -z "$defaultval"; then
16087 if test x"$enablestring" = xdisable; then
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ownerdrawn" >&5
16095 $as_echo_n "checking
for --${enablestring:-enable}-ownerdrawn...
" >&6; }
16096 # Check whether --enable-ownerdrawn was given.
16097 if test "${enable_ownerdrawn+set}" = set; then :
16098 enableval=$enable_ownerdrawn;
16099 if test "$enableval" = yes; then
16100 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16102 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16107 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16112 eval "$wx_cv_use_ownerdrawn"
16114 if test x
"$enablestring" = xdisable
; then
16115 if test $wxUSE_OWNER_DRAWN = no
; then
16121 result
=$wxUSE_OWNER_DRAWN
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16125 $as_echo "$result" >&6; }
16129 defaultval
=$wxUSE_ALL_FEATURES
16130 if test -z "$defaultval"; then
16131 if test x
"$enablestring" = xdisable
; then
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16139 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16140 # Check whether --enable-uxtheme was given.
16141 if test "${enable_uxtheme+set}" = set; then :
16142 enableval
=$enable_uxtheme;
16143 if test "$enableval" = yes; then
16144 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
16146 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
16151 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16156 eval "$wx_cv_use_uxtheme"
16158 if test x"$enablestring" = xdisable; then
16159 if test $wxUSE_UXTHEME = no; then
16165 result=$wxUSE_UXTHEME
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16169 $as_echo "$result" >&6; }
16173 defaultval=$wxUSE_ALL_FEATURES
16174 if test -z "$defaultval"; then
16175 if test x"$enablestring" = xdisable; then
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16183 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16184 # Check whether --enable-wxdib was given.
16185 if test "${enable_wxdib+set}" = set; then :
16186 enableval=$enable_wxdib;
16187 if test "$enableval" = yes; then
16188 wx_cv_use_wxdib='wxUSE_DIB
=yes'
16190 wx_cv_use_wxdib='wxUSE_DIB
=no
'
16195 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16200 eval "$wx_cv_use_wxdib"
16202 if test x"$enablestring" = xdisable; then
16203 if test $wxUSE_DIB = no; then
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16213 $as_echo "$result" >&6; }
16217 defaultval=$wxUSE_ALL_FEATURES
16218 if test -z "$defaultval"; then
16219 if test x"$enablestring" = xdisable; then
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webviewie" >&5
16227 $as_echo_n "checking
for --${enablestring:-enable}-webviewie...
" >&6; }
16228 # Check whether --enable-webviewie was given.
16229 if test "${enable_webviewie+set}" = set; then :
16230 enableval=$enable_webviewie;
16231 if test "$enableval" = yes; then
16232 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16234 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16239 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16244 eval "$wx_cv_use_webviewie"
16246 if test x
"$enablestring" = xdisable
; then
16247 if test $wxUSE_WEBVIEW_IE = no
; then
16253 result
=$wxUSE_WEBVIEW_IE
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16257 $as_echo "$result" >&6; }
16260 if test "$wxUSE_MSW" != 1; then
16261 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
16266 defaultval
=$wxUSE_ALL_FEATURES
16267 if test -z "$defaultval"; then
16268 if test x
"$enablestring" = xdisable
; then
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16276 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16277 # Check whether --enable-autoidman was given.
16278 if test "${enable_autoidman+set}" = set; then :
16279 enableval
=$enable_autoidman;
16280 if test "$enableval" = yes; then
16281 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
16283 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
16288 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16293 eval "$wx_cv_use_autoidman"
16295 if test x"$enablestring" = xdisable; then
16296 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16302 result=$wxUSE_AUTOID_MANAGEMENT
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16306 $as_echo "$result" >&6; }
16312 cat >confcache <<\_ACEOF
16313 # This file is a shell script that caches the results of configure
16314 # tests run on this system so they can be shared between configure
16315 # scripts and configure runs, see configure's option
--config-cache.
16316 # It is not useful on other systems. If it contains results you don't
16317 # want to keep, you may remove or edit it.
16319 # config.status only pays attention to the cache file if you give it
16320 # the --recheck option to rerun configure.
16322 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16323 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16324 # following values.
16328 # The following way of writing the cache mishandles newlines in values,
16329 # but we know of no workaround that is simple, portable, and efficient.
16330 # So, we kill variables containing newlines.
16331 # Ultrix sh set writes to stderr and can't be redirected directly,
16332 # and sets the high bit in the cache file unless we assign to the vars.
16334 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16335 eval ac_val
=\$
$ac_var
16339 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16340 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16343 _
| IFS
| as_nl
) ;; #(
16344 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16345 *) { eval $ac_var=; unset $ac_var;} ;;
16351 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16352 *${as_nl}ac_space
=\
*)
16353 # `set' does not quote correctly, so add quotes: double-quote
16354 # substitution turns \\\\ into \\, and sed turns \\ into \.
16357 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16360 # `set' quotes correctly as required by POSIX, so do not add quotes.
16361 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16370 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16372 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16374 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16375 if test -w "$cache_file"; then
16376 if test "x$cache_file" != "x/dev/null"; then
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16378 $as_echo "$as_me: updating cache $cache_file" >&6;}
16379 if test ! -f "$cache_file" || test -h "$cache_file"; then
16380 cat confcache
>"$cache_file"
16382 case $cache_file in #(
16384 mv -f confcache
"$cache_file"$$
&&
16385 mv -f "$cache_file"$$
"$cache_file" ;; #(
16387 mv -f confcache
"$cache_file" ;;
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16393 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16400 ac_cpp
='$CPP $CPPFLAGS'
16401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16404 if test -n "$ac_tool_prefix"; then
16405 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16406 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16408 $as_echo_n "checking for $ac_word... " >&6; }
16409 if ${ac_cv_prog_CC+:} false
; then :
16410 $as_echo_n "(cached) " >&6
16412 if test -n "$CC"; then
16413 ac_cv_prog_CC
="$CC" # Let the user override the test.
16415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16416 for as_dir
in $PATH
16419 test -z "$as_dir" && as_dir
=.
16420 for ac_exec_ext
in '' $ac_executable_extensions; do
16421 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16422 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16433 if test -n "$CC"; then
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16435 $as_echo "$CC" >&6; }
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16438 $as_echo "no" >&6; }
16443 if test -z "$ac_cv_prog_CC"; then
16445 # Extract the first word of "gcc", so it can be a program name with args.
16446 set dummy gcc
; ac_word
=$2
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16448 $as_echo_n "checking for $ac_word... " >&6; }
16449 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16450 $as_echo_n "(cached) " >&6
16452 if test -n "$ac_ct_CC"; then
16453 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16456 for as_dir
in $PATH
16459 test -z "$as_dir" && as_dir
=.
16460 for ac_exec_ext
in '' $ac_executable_extensions; do
16461 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16462 ac_cv_prog_ac_ct_CC
="gcc"
16463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16472 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16473 if test -n "$ac_ct_CC"; then
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16475 $as_echo "$ac_ct_CC" >&6; }
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16478 $as_echo "no" >&6; }
16481 if test "x$ac_ct_CC" = x
; then
16484 case $cross_compiling:$ac_tool_warned in
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16488 ac_tool_warned
=yes ;;
16493 CC
="$ac_cv_prog_CC"
16496 if test -z "$CC"; then
16497 if test -n "$ac_tool_prefix"; then
16498 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16499 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16501 $as_echo_n "checking for $ac_word... " >&6; }
16502 if ${ac_cv_prog_CC+:} false
; then :
16503 $as_echo_n "(cached) " >&6
16505 if test -n "$CC"; then
16506 ac_cv_prog_CC
="$CC" # Let the user override the test.
16508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16509 for as_dir
in $PATH
16512 test -z "$as_dir" && as_dir
=.
16513 for ac_exec_ext
in '' $ac_executable_extensions; do
16514 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16515 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16526 if test -n "$CC"; then
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16528 $as_echo "$CC" >&6; }
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16531 $as_echo "no" >&6; }
16537 if test -z "$CC"; then
16538 # Extract the first word of "cc", so it can be a program name with args.
16539 set dummy cc
; ac_word
=$2
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16541 $as_echo_n "checking for $ac_word... " >&6; }
16542 if ${ac_cv_prog_CC+:} false
; then :
16543 $as_echo_n "(cached) " >&6
16545 if test -n "$CC"; then
16546 ac_cv_prog_CC
="$CC" # Let the user override the test.
16548 ac_prog_rejected
=no
16549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16550 for as_dir
in $PATH
16553 test -z "$as_dir" && as_dir
=.
16554 for ac_exec_ext
in '' $ac_executable_extensions; do
16555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16556 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16557 ac_prog_rejected
=yes
16561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16568 if test $ac_prog_rejected = yes; then
16569 # We found a bogon in the path, so make sure we never use it.
16570 set dummy
$ac_cv_prog_CC
16572 if test $# != 0; then
16573 # We chose a different compiler from the bogus one.
16574 # However, it has the same basename, so the bogon will be chosen
16575 # first if we set CC to just the basename; use the full file name.
16577 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16583 if test -n "$CC"; then
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16585 $as_echo "$CC" >&6; }
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16588 $as_echo "no" >&6; }
16593 if test -z "$CC"; then
16594 if test -n "$ac_tool_prefix"; then
16595 for ac_prog
in cl.exe
16597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16598 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16600 $as_echo_n "checking for $ac_word... " >&6; }
16601 if ${ac_cv_prog_CC+:} false
; then :
16602 $as_echo_n "(cached) " >&6
16604 if test -n "$CC"; then
16605 ac_cv_prog_CC
="$CC" # Let the user override the test.
16607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16608 for as_dir
in $PATH
16611 test -z "$as_dir" && as_dir
=.
16612 for ac_exec_ext
in '' $ac_executable_extensions; do
16613 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16614 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16625 if test -n "$CC"; then
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16627 $as_echo "$CC" >&6; }
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16630 $as_echo "no" >&6; }
16634 test -n "$CC" && break
16637 if test -z "$CC"; then
16639 for ac_prog
in cl.exe
16641 # Extract the first word of "$ac_prog", so it can be a program name with args.
16642 set dummy
$ac_prog; ac_word
=$2
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16644 $as_echo_n "checking for $ac_word... " >&6; }
16645 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16646 $as_echo_n "(cached) " >&6
16648 if test -n "$ac_ct_CC"; then
16649 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16652 for as_dir
in $PATH
16655 test -z "$as_dir" && as_dir
=.
16656 for ac_exec_ext
in '' $ac_executable_extensions; do
16657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16658 ac_cv_prog_ac_ct_CC
="$ac_prog"
16659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16668 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16669 if test -n "$ac_ct_CC"; then
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16671 $as_echo "$ac_ct_CC" >&6; }
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16674 $as_echo "no" >&6; }
16678 test -n "$ac_ct_CC" && break
16681 if test "x$ac_ct_CC" = x
; then
16684 case $cross_compiling:$ac_tool_warned in
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16688 ac_tool_warned
=yes ;;
16697 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16699 as_fn_error $?
"no acceptable C compiler found in \$PATH
16700 See \`config.log' for more details" "$LINENO" 5; }
16702 # Provide some information about the compiler.
16703 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16706 for ac_option
in --version -v -V -qversion; do
16707 { { ac_try
="$ac_compiler $ac_option >&5"
16708 case "(($ac_try" in
16709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16710 *) ac_try_echo=$ac_try;;
16712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16713 $as_echo "$ac_try_echo"; } >&5
16714 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16716 if test -s conftest.err; then
16718 ... rest of stderr output deleted ...
16719 10q' conftest.err >conftest.er1
16720 cat conftest.er1 >&5
16722 rm -f conftest.er1 conftest.err
16723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16724 test $ac_status = 0; }
16727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16728 /* end confdefs.h. */
16738 ac_clean_files_save=$ac_clean_files
16739 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16740 # Try to create an executable without -o first, disregard a.out.
16741 # It will help us diagnose broken compilers, and finding out an intuition
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16744 $as_echo_n "checking whether the C compiler works... " >&6; }
16745 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16747 # The possible output files:
16748 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16751 for ac_file in $ac_files
16754 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16755 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16760 if { { ac_try="$ac_link_default"
16761 case "(($ac_try" in
16762 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16763 *) ac_try_echo
=$ac_try;;
16765 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16766 $as_echo "$ac_try_echo"; } >&5
16767 (eval "$ac_link_default") 2>&5
16769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16770 test $ac_status = 0; }; then :
16771 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16772 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16773 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16774 # so that the user can short-circuit this test for compilers unknown to
16776 for ac_file
in $ac_files ''
16778 test -f "$ac_file" || continue
16780 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
16783 # We found the default executable, but exeext='' is most
16787 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16789 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16791 # We set ac_cv_exeext here because the later test for it is not
16792 # safe: cross compilers may not add the suffix if given an `-o'
16793 # argument, so we may need to know it at that point already.
16794 # Even if this section looks crufty: it has the advantage of
16795 # actually working.
16801 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16806 if test -z "$ac_file"; then :
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16808 $as_echo "no" >&6; }
16809 $as_echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.
$ac_ext >&5
16812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16814 as_fn_error
77 "C compiler cannot create executables
16815 See \`config.log' for more details" "$LINENO" 5; }
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16818 $as_echo "yes" >&6; }
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16821 $as_echo_n "checking for C compiler default output file name... " >&6; }
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16823 $as_echo "$ac_file" >&6; }
16824 ac_exeext
=$ac_cv_exeext
16826 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
16827 ac_clean_files
=$ac_clean_files_save
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16829 $as_echo_n "checking for suffix of executables... " >&6; }
16830 if { { ac_try
="$ac_link"
16831 case "(($ac_try" in
16832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16833 *) ac_try_echo=$ac_try;;
16835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16836 $as_echo "$ac_try_echo"; } >&5
16837 (eval "$ac_link") 2>&5
16839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16840 test $ac_status = 0; }; then :
16841 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
16842 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
16843 # work properly (i.e., refer to `conftest.exe'), while it won't with
16845 for ac_file
in conftest.exe conftest conftest.
*; do
16846 test -f "$ac_file" || continue
16848 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
16849 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16857 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
16858 See \`config.log' for more details" "$LINENO" 5; }
16860 rm -f conftest conftest
$ac_cv_exeext
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16862 $as_echo "$ac_cv_exeext" >&6; }
16864 rm -f conftest.
$ac_ext
16865 EXEEXT
=$ac_cv_exeext
16867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h. */
16873 FILE *f = fopen ("conftest.out", "w");
16874 return ferror (f) || fclose (f) != 0;
16880 ac_clean_files
="$ac_clean_files conftest.out"
16881 # Check that the compiler produces executables we can run. If not, either
16882 # the compiler is broken, or we cross compile.
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16884 $as_echo_n "checking whether we are cross compiling... " >&6; }
16885 if test "$cross_compiling" != yes; then
16886 { { ac_try
="$ac_link"
16887 case "(($ac_try" in
16888 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16889 *) ac_try_echo=$ac_try;;
16891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16892 $as_echo "$ac_try_echo"; } >&5
16893 (eval "$ac_link") 2>&5
16895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16896 test $ac_status = 0; }
16897 if { ac_try='./conftest$ac_cv_exeext'
16898 { { case "(($ac_try" in
16899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16900 *) ac_try_echo
=$ac_try;;
16902 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16903 $as_echo "$ac_try_echo"; } >&5
16904 (eval "$ac_try") 2>&5
16906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16907 test $ac_status = 0; }; }; then
16910 if test "$cross_compiling" = maybe
; then
16911 cross_compiling
=yes
16913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16915 as_fn_error $?
"cannot run C compiled programs.
16916 If you meant to cross compile, use \`--host'.
16917 See \`config.log' for more details" "$LINENO" 5; }
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16922 $as_echo "$cross_compiling" >&6; }
16924 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
16925 ac_clean_files
=$ac_clean_files_save
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16927 $as_echo_n "checking for suffix of object files... " >&6; }
16928 if ${ac_cv_objext+:} false
; then :
16929 $as_echo_n "(cached) " >&6
16931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16942 rm -f conftest.o conftest.obj
16943 if { { ac_try
="$ac_compile"
16944 case "(($ac_try" in
16945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16946 *) ac_try_echo=$ac_try;;
16948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16949 $as_echo "$ac_try_echo"; } >&5
16950 (eval "$ac_compile") 2>&5
16952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16953 test $ac_status = 0; }; then :
16954 for ac_file in conftest.o conftest.obj conftest.*; do
16955 test -f "$ac_file" || continue;
16957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16958 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16963 $as_echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.$ac_ext >&5
16966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16968 as_fn_error $? "cannot compute suffix of object files
: cannot compile
16969 See \
`config.log' for more details" "$LINENO" 5; }
16971 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16974 $as_echo "$ac_cv_objext" >&6; }
16975 OBJEXT=$ac_cv_objext
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16978 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16979 if ${ac_cv_c_compiler_gnu+:} false; then :
16980 $as_echo_n "(cached) " >&6
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16996 if ac_fn_c_try_compile "$LINENO"; then :
16997 ac_compiler_gnu=yes
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17006 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17007 if test $ac_compiler_gnu = yes; then
17012 ac_test_CFLAGS=${CFLAGS+set}
17013 ac_save_CFLAGS=$CFLAGS
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17015 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17016 if ${ac_cv_prog_cc_g+:} false; then :
17017 $as_echo_n "(cached) " >&6
17019 ac_save_c_werror_flag=$ac_c_werror_flag
17020 ac_c_werror_flag=yes
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17034 if ac_fn_c_try_compile "$LINENO"; then :
17035 ac_cv_prog_cc_g=yes
17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17049 if ac_fn_c_try_compile "$LINENO"; then :
17052 ac_c_werror_flag=$ac_save_c_werror_flag
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17065 if ac_fn_c_try_compile "$LINENO"; then :
17066 ac_cv_prog_cc_g=yes
17068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17073 ac_c_werror_flag=$ac_save_c_werror_flag
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17076 $as_echo "$ac_cv_prog_cc_g" >&6; }
17077 if test "$ac_test_CFLAGS" = set; then
17078 CFLAGS=$ac_save_CFLAGS
17079 elif test $ac_cv_prog_cc_g = yes; then
17080 if test "$GCC" = yes; then
17086 if test "$GCC" = yes; then
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17093 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17094 if ${ac_cv_prog_cc_c89+:} false; then :
17095 $as_echo_n "(cached) " >&6
17097 ac_cv_prog_cc_c89=no
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17101 #include <stdarg.h>
17104 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17105 struct buf { int x; };
17106 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17107 static char *e (p, i)
17113 static char *f (char * (*g) (char **, int), char **p, ...)
17118 s = g (p, va_arg (v,int));
17123 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17124 function prototypes and stuff, but not '\xHH' hex character constants.
17125 These don't provoke an error unfortunately, instead are silently treated
17126 as 'x'. The following induces an error, until -std is added to get
17127 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17128 array size at least. It's necessary to write '\x00'==0 to get something
17129 that's true only with -std. */
17130 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17132 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17133 inside strings and character constants. */
17135 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17137 int test (int i, double x);
17138 struct s1 {int (*f) (int a);};
17139 struct s2 {int (*f) (double a);};
17140 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17146 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17151 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17152 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17154 CC="$ac_save_CC $ac_arg"
17155 if ac_fn_c_try_compile "$LINENO"; then :
17156 ac_cv_prog_cc_c89=$ac_arg
17158 rm -f core conftest.err conftest.$ac_objext
17159 test "x$ac_cv_prog_cc_c89" != "xno" && break
17161 rm -f conftest.$ac_ext
17166 case "x$ac_cv_prog_cc_c89" in
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17169 $as_echo "none needed" >&6; } ;;
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17172 $as_echo "unsupported" >&6; } ;;
17174 CC="$CC $ac_cv_prog_cc_c89"
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17176 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17178 if test "x$ac_cv_prog_cc_c89" != xno; then :
17183 ac_cpp='$CPP $CPPFLAGS'
17184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17196 ac_cpp='$CPP $CPPFLAGS'
17197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17202 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17203 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17204 $as_echo_n "(cached) " >&6
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17213 #ifndef __INTEL_COMPILER
17221 if ac_fn_c_try_compile "$LINENO"; then :
17222 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17224 bakefile_cv_c_compiler___INTEL_COMPILER=no
17227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17232 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17233 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17239 ac_cpp='$CPP $CPPFLAGS'
17240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17247 if test "$INTELCC" = "yes"; then
17251 ac_cpp='$CPP $CPPFLAGS'
17252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17257 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17258 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17259 $as_echo_n "(cached) " >&6
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17268 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17276 if ac_fn_c_try_compile "$LINENO"; then :
17277 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17279 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17287 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17288 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17294 ac_cpp='$CPP $CPPFLAGS'
17295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17304 ac_cpp='$CPP $CPPFLAGS'
17305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17310 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17311 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17312 $as_echo_n "(cached) " >&6
17314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17315 /* end confdefs.h. */
17321 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17329 if ac_fn_c_try_compile "$LINENO"; then :
17330 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17332 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17340 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17341 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17347 ac_cpp='$CPP $CPPFLAGS'
17348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17356 if test "x$GCC" != "xyes"; then
17357 if test "xCC" = "xC"; then
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17359 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17360 if ${bakefile_cv_c_exto+:} false; then :
17361 $as_echo_n "(cached) " >&6
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17374 rm -f conftest.$ac_objext conftest.$ac_ext.o
17375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17376 (eval $ac_compile) 2>&5
17378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17379 test $ac_status = 0; }; then :
17380 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
17382 conftest.$ac_ext.o)
17383 bakefile_cv_c_exto="-ext o"
17390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17392 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
17393 See \
`config.log' for more details" "$LINENO" 5; }
17396 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17400 $as_echo "$bakefile_cv_c_exto" >&6; }
17401 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17402 if test "c" = "c"; then
17403 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17405 if test "c" = "cxx"; then
17406 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17410 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17411 unset ac_cv_prog_cc_g
17412 ac_test_CFLAGS=${CFLAGS+set}
17413 ac_save_CFLAGS=$CFLAGS
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17415 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17416 if ${ac_cv_prog_cc_g+:} false; then :
17417 $as_echo_n "(cached) " >&6
17419 ac_save_c_werror_flag=$ac_c_werror_flag
17420 ac_c_werror_flag=yes
17423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17424 /* end confdefs.h. */
17434 if ac_fn_c_try_compile "$LINENO"; then :
17435 ac_cv_prog_cc_g=yes
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17449 if ac_fn_c_try_compile "$LINENO"; then :
17452 ac_c_werror_flag=$ac_save_c_werror_flag
17454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h. */
17465 if ac_fn_c_try_compile "$LINENO"; then :
17466 ac_cv_prog_cc_g=yes
17468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17473 ac_c_werror_flag=$ac_save_c_werror_flag
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17476 $as_echo "$ac_cv_prog_cc_g" >&6; }
17477 if test "$ac_test_CFLAGS" = set; then
17478 CFLAGS=$ac_save_CFLAGS
17479 elif test $ac_cv_prog_cc_g = yes; then
17480 if test "$GCC" = yes; then
17486 if test "$GCC" = yes; then
17500 ac_cpp='$CPP $CPPFLAGS'
17501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17506 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17507 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17508 $as_echo_n "(cached) " >&6
17510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17525 if ac_fn_c_try_compile "$LINENO"; then :
17526 bakefile_cv_c_compiler___xlC__=yes
17528 bakefile_cv_c_compiler___xlC__=no
17531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17536 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17537 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17543 ac_cpp='$CPP $CPPFLAGS'
17544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17556 ac_cpp='$CPP $CPPFLAGS'
17557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17562 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17563 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17564 $as_echo_n "(cached) " >&6
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17581 if ac_fn_c_try_compile "$LINENO"; then :
17582 bakefile_cv_c_compiler___MWERKS__=yes
17584 bakefile_cv_c_compiler___MWERKS__=no
17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17592 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17593 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17599 ac_cpp='$CPP $CPPFLAGS'
17600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17606 if test "$MWCC" != "yes"; then
17610 ac_cpp='$CPP $CPPFLAGS'
17611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17616 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17617 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17618 $as_echo_n "(cached) " >&6
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17635 if ac_fn_c_try_compile "$LINENO"; then :
17636 bakefile_cv_c_compiler___xlC__=yes
17638 bakefile_cv_c_compiler___xlC__=no
17641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17646 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17647 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17653 ac_cpp='$CPP $CPPFLAGS'
17654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17667 ac_cpp='$CPP $CPPFLAGS'
17668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17673 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17674 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17675 $as_echo_n "(cached) " >&6
17677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17678 /* end confdefs.h. */
17684 #ifndef _SGI_COMPILER_VERSION
17692 if ac_fn_c_try_compile "$LINENO"; then :
17693 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17695 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17703 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17704 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17710 ac_cpp='$CPP $CPPFLAGS'
17711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17720 if test "$INTELCC" != "yes"; then
17724 ac_cpp='$CPP $CPPFLAGS'
17725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17730 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17731 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17732 $as_echo_n "(cached) " >&6
17734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17735 /* end confdefs.h. */
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750 bakefile_cv_c_compiler___SUNPRO_C=yes
17752 bakefile_cv_c_compiler___SUNPRO_C=no
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17760 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17761 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17767 ac_cpp='$CPP $CPPFLAGS'
17768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17781 ac_cpp='$CPP $CPPFLAGS'
17782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17787 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17788 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17789 $as_echo_n "(cached) " >&6
17791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17806 if ac_fn_c_try_compile "$LINENO"; then :
17807 bakefile_cv_c_compiler___HP_cc=yes
17809 bakefile_cv_c_compiler___HP_cc=no
17812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17817 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17818 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17824 ac_cpp='$CPP $CPPFLAGS'
17825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17837 ac_cpp='$CPP $CPPFLAGS'
17838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17843 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17844 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17845 $as_echo_n "(cached) " >&6
17847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17862 if ac_fn_c_try_compile "$LINENO"; then :
17863 bakefile_cv_c_compiler___DECC=yes
17865 bakefile_cv_c_compiler___DECC=no
17868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17873 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17874 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17880 ac_cpp='$CPP $CPPFLAGS'
17881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17893 ac_cpp='$CPP $CPPFLAGS'
17894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17899 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17900 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17901 $as_echo_n "(cached) " >&6
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h. */
17918 if ac_fn_c_try_compile "$LINENO"; then :
17919 bakefile_cv_c_compiler___SUNPRO_C=yes
17921 bakefile_cv_c_compiler___SUNPRO_C=no
17924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17929 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17930 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17936 ac_cpp='$CPP $CPPFLAGS'
17937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17950 ac_cpp='$CPP $CPPFLAGS'
17951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17955 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17956 # On Suns, sometimes $CPP names a directory.
17957 if test -n "$CPP" && test -d "$CPP"; then
17960 if test -z "$CPP"; then
17961 if ${ac_cv_prog_CPP+:} false; then :
17962 $as_echo_n "(cached) " >&6
17964 # Double quotes because CPP needs to be expanded
17965 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17967 ac_preproc_ok=false
17968 for ac_c_preproc_warn_flag in '' yes
17970 # Use a header file that comes with gcc, so configuring glibc
17971 # with a fresh cross-compiler works.
17972 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17973 # <limits.h> exists even on freestanding compilers.
17974 # On the NeXT, cc -E runs the code through the compiler's parser,
17975 # not just through cpp. "Syntax error" is here to catch this case.
17976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977 /* end confdefs.h. */
17979 # include <limits.h>
17981 # include <assert.h>
17985 if ac_fn_c_try_cpp "$LINENO"; then :
17988 # Broken: fails on valid input.
17991 rm -f conftest.err conftest.i conftest.$ac_ext
17993 # OK, works on sane cases. Now check whether nonexistent headers
17994 # can be detected and how.
17995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17996 /* end confdefs.h. */
17997 #include <ac_nonexistent.h>
17999 if ac_fn_c_try_cpp "$LINENO"; then :
18000 # Broken: success on invalid input.
18003 # Passes both tests.
18007 rm -f conftest.err conftest.i conftest.$ac_ext
18010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18011 rm -f conftest.i conftest.err conftest.
$ac_ext
18012 if $ac_preproc_ok; then :
18017 ac_cv_prog_CPP
=$CPP
18020 CPP
=$ac_cv_prog_CPP
18022 ac_cv_prog_CPP
=$CPP
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18025 $as_echo "$CPP" >&6; }
18026 ac_preproc_ok
=false
18027 for ac_c_preproc_warn_flag
in '' yes
18029 # Use a header file that comes with gcc, so configuring glibc
18030 # with a fresh cross-compiler works.
18031 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18032 # <limits.h> exists even on freestanding compilers.
18033 # On the NeXT, cc -E runs the code through the compiler's parser,
18034 # not just through cpp. "Syntax error" is here to catch this case.
18035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18038 # include <limits.h>
18040 # include <assert.h>
18044 if ac_fn_c_try_cpp
"$LINENO"; then :
18047 # Broken: fails on valid input.
18050 rm -f conftest.err conftest.i conftest.
$ac_ext
18052 # OK, works on sane cases. Now check whether nonexistent headers
18053 # can be detected and how.
18054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18055 /* end confdefs.h. */
18056 #include <ac_nonexistent.h>
18058 if ac_fn_c_try_cpp
"$LINENO"; then :
18059 # Broken: success on invalid input.
18062 # Passes both tests.
18066 rm -f conftest.err conftest.i conftest.
$ac_ext
18069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18070 rm -f conftest.i conftest.err conftest.
$ac_ext
18071 if $ac_preproc_ok; then :
18074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18076 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
18077 See \`config.log' for more details" "$LINENO" 5; }
18081 ac_cpp
='$CPP $CPPFLAGS'
18082 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18083 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18084 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18088 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18089 if ${ac_cv_path_GREP+:} false
; then :
18090 $as_echo_n "(cached) " >&6
18092 if test -z "$GREP"; then
18093 ac_path_GREP_found
=false
18094 # Loop through the user's path and test for each of PROGNAME-LIST
18095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18096 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18099 test -z "$as_dir" && as_dir
=.
18100 for ac_prog
in grep ggrep
; do
18101 for ac_exec_ext
in '' $ac_executable_extensions; do
18102 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18103 as_fn_executable_p
"$ac_path_GREP" || continue
18104 # Check for GNU ac_path_GREP and select it if it is found.
18105 # Check for GNU $ac_path_GREP
18106 case `"$ac_path_GREP" --version 2>&1` in
18108 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18111 $as_echo_n 0123456789 >"conftest.in"
18114 cat "conftest.in" "conftest.in" >"conftest.tmp"
18115 mv "conftest.tmp" "conftest.in"
18116 cp "conftest.in" "conftest.nl"
18117 $as_echo 'GREP' >> "conftest.nl"
18118 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18119 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18120 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18121 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18122 # Best one so far, save it but keep looking for a better one
18123 ac_cv_path_GREP
="$ac_path_GREP"
18124 ac_path_GREP_max
=$ac_count
18126 # 10*(2^10) chars as input seems more than enough
18127 test $ac_count -gt 10 && break
18129 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18132 $ac_path_GREP_found && break 3
18137 if test -z "$ac_cv_path_GREP"; then
18138 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18141 ac_cv_path_GREP
=$GREP
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18146 $as_echo "$ac_cv_path_GREP" >&6; }
18147 GREP
="$ac_cv_path_GREP"
18150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18151 $as_echo_n "checking for egrep... " >&6; }
18152 if ${ac_cv_path_EGREP+:} false
; then :
18153 $as_echo_n "(cached) " >&6
18155 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18156 then ac_cv_path_EGREP
="$GREP -E"
18158 if test -z "$EGREP"; then
18159 ac_path_EGREP_found
=false
18160 # Loop through the user's path and test for each of PROGNAME-LIST
18161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18162 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18165 test -z "$as_dir" && as_dir
=.
18166 for ac_prog
in egrep; do
18167 for ac_exec_ext
in '' $ac_executable_extensions; do
18168 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18169 as_fn_executable_p
"$ac_path_EGREP" || continue
18170 # Check for GNU ac_path_EGREP and select it if it is found.
18171 # Check for GNU $ac_path_EGREP
18172 case `"$ac_path_EGREP" --version 2>&1` in
18174 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18177 $as_echo_n 0123456789 >"conftest.in"
18180 cat "conftest.in" "conftest.in" >"conftest.tmp"
18181 mv "conftest.tmp" "conftest.in"
18182 cp "conftest.in" "conftest.nl"
18183 $as_echo 'EGREP' >> "conftest.nl"
18184 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18185 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18186 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18187 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18188 # Best one so far, save it but keep looking for a better one
18189 ac_cv_path_EGREP
="$ac_path_EGREP"
18190 ac_path_EGREP_max
=$ac_count
18192 # 10*(2^10) chars as input seems more than enough
18193 test $ac_count -gt 10 && break
18195 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18198 $ac_path_EGREP_found && break 3
18203 if test -z "$ac_cv_path_EGREP"; then
18204 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18207 ac_cv_path_EGREP
=$EGREP
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18213 $as_echo "$ac_cv_path_EGREP" >&6; }
18214 EGREP
="$ac_cv_path_EGREP"
18217 if test $ac_cv_c_compiler_gnu = yes; then
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18219 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18220 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18221 $as_echo_n "(cached) " >&6
18223 ac_pattern
="Autoconf.*'x'"
18224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18225 /* end confdefs.h. */
18229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18230 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18231 ac_cv_prog_gcc_traditional
=yes
18233 ac_cv_prog_gcc_traditional
=no
18238 if test $ac_cv_prog_gcc_traditional = no
; then
18239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18240 /* end confdefs.h. */
18241 #include <termio.h>
18244 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18245 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18246 ac_cv_prog_gcc_traditional
=yes
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18253 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18254 if test $ac_cv_prog_gcc_traditional = yes; then
18255 CC
="$CC -traditional"
18260 CXXFLAGS
=${CXXFLAGS:=}
18262 ac_cpp
='$CXXCPP $CPPFLAGS'
18263 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18264 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18265 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18266 if test -z "$CXX"; then
18267 if test -n "$CCC"; then
18270 if test -n "$ac_tool_prefix"; then
18271 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18273 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18274 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18276 $as_echo_n "checking for $ac_word... " >&6; }
18277 if ${ac_cv_prog_CXX+:} false
; then :
18278 $as_echo_n "(cached) " >&6
18280 if test -n "$CXX"; then
18281 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18284 for as_dir
in $PATH
18287 test -z "$as_dir" && as_dir
=.
18288 for ac_exec_ext
in '' $ac_executable_extensions; do
18289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18290 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18300 CXX
=$ac_cv_prog_CXX
18301 if test -n "$CXX"; then
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18303 $as_echo "$CXX" >&6; }
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18306 $as_echo "no" >&6; }
18310 test -n "$CXX" && break
18313 if test -z "$CXX"; then
18315 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18317 # Extract the first word of "$ac_prog", so it can be a program name with args.
18318 set dummy
$ac_prog; ac_word
=$2
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18320 $as_echo_n "checking for $ac_word... " >&6; }
18321 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18322 $as_echo_n "(cached) " >&6
18324 if test -n "$ac_ct_CXX"; then
18325 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18328 for as_dir
in $PATH
18331 test -z "$as_dir" && as_dir
=.
18332 for ac_exec_ext
in '' $ac_executable_extensions; do
18333 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18334 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18344 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18345 if test -n "$ac_ct_CXX"; then
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18347 $as_echo "$ac_ct_CXX" >&6; }
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18350 $as_echo "no" >&6; }
18354 test -n "$ac_ct_CXX" && break
18357 if test "x$ac_ct_CXX" = x
; then
18360 case $cross_compiling:$ac_tool_warned in
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18364 ac_tool_warned
=yes ;;
18372 # Provide some information about the compiler.
18373 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18376 for ac_option
in --version -v -V -qversion; do
18377 { { ac_try
="$ac_compiler $ac_option >&5"
18378 case "(($ac_try" in
18379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18380 *) ac_try_echo=$ac_try;;
18382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18383 $as_echo "$ac_try_echo"; } >&5
18384 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18386 if test -s conftest.err; then
18388 ... rest of stderr output deleted ...
18389 10q' conftest.err >conftest.er1
18390 cat conftest.er1 >&5
18392 rm -f conftest.er1 conftest.err
18393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18394 test $ac_status = 0; }
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18398 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18399 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18400 $as_echo_n "(cached) " >&6
18402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18403 /* end confdefs.h. */
18416 if ac_fn_cxx_try_compile "$LINENO"; then :
18417 ac_compiler_gnu=yes
18421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18422 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18426 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18427 if test $ac_compiler_gnu = yes; then
18432 ac_test_CXXFLAGS=${CXXFLAGS+set}
18433 ac_save_CXXFLAGS=$CXXFLAGS
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18435 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18436 if ${ac_cv_prog_cxx_g+:} false; then :
18437 $as_echo_n "(cached) " >&6
18439 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18440 ac_cxx_werror_flag=yes
18441 ac_cv_prog_cxx_g=no
18443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18454 if ac_fn_cxx_try_compile "$LINENO"; then :
18455 ac_cv_prog_cxx_g=yes
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18469 if ac_fn_cxx_try_compile "$LINENO"; then :
18472 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18475 /* end confdefs.h. */
18485 if ac_fn_cxx_try_compile "$LINENO"; then :
18486 ac_cv_prog_cxx_g=yes
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18493 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18496 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18497 if test "$ac_test_CXXFLAGS" = set; then
18498 CXXFLAGS=$ac_save_CXXFLAGS
18499 elif test $ac_cv_prog_cxx_g = yes; then
18500 if test "$GXX" = yes; then
18506 if test "$GXX" = yes; then
18513 ac_cpp='$CPP $CPPFLAGS'
18514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18526 ac_cpp='$CXXCPP $CPPFLAGS'
18527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18532 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18533 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18534 $as_echo_n "(cached) " >&6
18536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18537 /* end confdefs.h. */
18543 #ifndef __INTEL_COMPILER
18551 if ac_fn_cxx_try_compile "$LINENO"; then :
18552 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18554 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18562 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18563 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18569 ac_cpp='$CPP $CPPFLAGS'
18570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18577 if test "$INTELCXX" = "yes"; then
18581 ac_cpp='$CXXCPP $CPPFLAGS'
18582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18587 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18588 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18589 $as_echo_n "(cached) " >&6
18591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18592 /* end confdefs.h. */
18598 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18606 if ac_fn_cxx_try_compile "$LINENO"; then :
18607 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18609 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18617 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18618 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18624 ac_cpp='$CPP $CPPFLAGS'
18625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18634 ac_cpp='$CXXCPP $CPPFLAGS'
18635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18640 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18641 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18642 $as_echo_n "(cached) " >&6
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18651 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18659 if ac_fn_cxx_try_compile "$LINENO"; then :
18660 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18662 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18670 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18671 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18677 ac_cpp='$CPP $CPPFLAGS'
18678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18686 if test "x$GCXX" != "xyes"; then
18687 if test "xCXX" = "xC"; then
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18689 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18690 if ${bakefile_cv_c_exto+:} false; then :
18691 $as_echo_n "(cached) " >&6
18693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h. */
18704 rm -f conftest.$ac_objext conftest.$ac_ext.o
18705 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18706 (eval $ac_compile) 2>&5
18708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18709 test $ac_status = 0; }; then :
18710 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18712 conftest.$ac_ext.o)
18713 bakefile_cv_c_exto="-ext o"
18720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18722 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18723 See \
`config.log' for more details" "$LINENO" 5; }
18726 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18730 $as_echo "$bakefile_cv_c_exto" >&6; }
18731 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18732 if test "c" = "c"; then
18733 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18735 if test "c" = "cxx"; then
18736 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18740 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18741 unset ac_cv_prog_cc_g
18742 ac_test_CFLAGS=${CFLAGS+set}
18743 ac_save_CFLAGS=$CFLAGS
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18745 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18746 if ${ac_cv_prog_cc_g+:} false; then :
18747 $as_echo_n "(cached) " >&6
18749 ac_save_c_werror_flag=$ac_c_werror_flag
18750 ac_c_werror_flag=yes
18753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18754 /* end confdefs.h. */
18764 if ac_fn_c_try_compile "$LINENO"; then :
18765 ac_cv_prog_cc_g=yes
18768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18769 /* end confdefs.h. */
18779 if ac_fn_c_try_compile "$LINENO"; then :
18782 ac_c_werror_flag=$ac_save_c_werror_flag
18784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18785 /* end confdefs.h. */
18795 if ac_fn_c_try_compile "$LINENO"; then :
18796 ac_cv_prog_cc_g=yes
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18803 ac_c_werror_flag=$ac_save_c_werror_flag
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18806 $as_echo "$ac_cv_prog_cc_g" >&6; }
18807 if test "$ac_test_CFLAGS" = set; then
18808 CFLAGS=$ac_save_CFLAGS
18809 elif test $ac_cv_prog_cc_g = yes; then
18810 if test "$GCC" = yes; then
18816 if test "$GCC" = yes; then
18830 ac_cpp='$CXXCPP $CPPFLAGS'
18831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18836 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18837 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18838 $as_echo_n "(cached) " >&6
18840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h. */
18855 if ac_fn_cxx_try_compile "$LINENO"; then :
18856 bakefile_cv_cxx_compiler___xlC__=yes
18858 bakefile_cv_cxx_compiler___xlC__=no
18861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18866 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18867 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18873 ac_cpp='$CPP $CPPFLAGS'
18874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18886 ac_cpp='$CXXCPP $CPPFLAGS'
18887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18892 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18893 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18894 $as_echo_n "(cached) " >&6
18896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18897 /* end confdefs.h. */
18911 if ac_fn_cxx_try_compile "$LINENO"; then :
18912 bakefile_cv_cxx_compiler___MWERKS__=yes
18914 bakefile_cv_cxx_compiler___MWERKS__=no
18917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18922 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18923 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18929 ac_cpp='$CPP $CPPFLAGS'
18930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18936 if test "$MWCXX" != "yes"; then
18940 ac_cpp='$CXXCPP $CPPFLAGS'
18941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18946 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18947 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18948 $as_echo_n "(cached) " >&6
18950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18965 if ac_fn_cxx_try_compile "$LINENO"; then :
18966 bakefile_cv_cxx_compiler___xlC__=yes
18968 bakefile_cv_cxx_compiler___xlC__=no
18971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18976 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18977 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18983 ac_cpp='$CPP $CPPFLAGS'
18984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18997 ac_cpp='$CXXCPP $CPPFLAGS'
18998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
19003 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
19004 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
19005 $as_echo_n "(cached) " >&6
19007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19008 /* end confdefs.h. */
19014 #ifndef _SGI_COMPILER_VERSION
19022 if ac_fn_cxx_try_compile "$LINENO"; then :
19023 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19025 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19033 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19034 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19040 ac_cpp='$CPP $CPPFLAGS'
19041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19050 if test "$INTELCXX" != "yes"; then
19054 ac_cpp='$CXXCPP $CPPFLAGS'
19055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19060 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19061 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19062 $as_echo_n "(cached) " >&6
19064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19071 #ifndef __SUNPRO_CC
19079 if ac_fn_cxx_try_compile "$LINENO"; then :
19080 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19082 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19090 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19091 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19097 ac_cpp='$CPP $CPPFLAGS'
19098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19111 ac_cpp='$CXXCPP $CPPFLAGS'
19112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19117 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19118 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19119 $as_echo_n "(cached) " >&6
19121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19122 /* end confdefs.h. */
19136 if ac_fn_cxx_try_compile "$LINENO"; then :
19137 bakefile_cv_cxx_compiler___HP_aCC=yes
19139 bakefile_cv_cxx_compiler___HP_aCC=no
19142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19147 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19148 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19154 ac_cpp='$CPP $CPPFLAGS'
19155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19167 ac_cpp='$CXXCPP $CPPFLAGS'
19168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19173 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19174 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19175 $as_echo_n "(cached) " >&6
19177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19178 /* end confdefs.h. */
19192 if ac_fn_cxx_try_compile "$LINENO"; then :
19193 bakefile_cv_cxx_compiler___DECCXX=yes
19195 bakefile_cv_cxx_compiler___DECCXX=no
19198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19203 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19204 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19210 ac_cpp='$CPP $CPPFLAGS'
19211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19223 ac_cpp='$CXXCPP $CPPFLAGS'
19224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19229 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19230 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19231 $as_echo_n "(cached) " >&6
19233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19234 /* end confdefs.h. */
19240 #ifndef __SUNPRO_CC
19248 if ac_fn_cxx_try_compile "$LINENO"; then :
19249 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19251 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19259 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19260 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19266 ac_cpp='$CPP $CPPFLAGS'
19267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19279 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19280 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19283 if test "x$SUNCXX" != xyes; then
19284 if test -n "$ac_tool_prefix"; then
19285 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19286 set dummy ${ac_tool_prefix}ar; ac_word=$2
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19288 $as_echo_n "checking for $ac_word... " >&6; }
19289 if ${ac_cv_prog_AR+:} false; then :
19290 $as_echo_n "(cached) " >&6
19292 if test -n "$AR"; then
19293 ac_cv_prog_AR="$AR" # Let the user override the test.
19295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19296 for as_dir in $PATH
19299 test -z "$as_dir" && as_dir=.
19300 for ac_exec_ext in '' $ac_executable_extensions; do
19301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19302 ac_cv_prog_AR="${ac_tool_prefix}ar"
19303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19313 if test -n "$AR"; then
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19315 $as_echo "$AR" >&6; }
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19318 $as_echo "no" >&6; }
19323 if test -z "$ac_cv_prog_AR"; then
19325 # Extract the first word of "ar", so it can be a program name with args.
19326 set dummy ar; ac_word=$2
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19328 $as_echo_n "checking for $ac_word... " >&6; }
19329 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19330 $as_echo_n "(cached) " >&6
19332 if test -n "$ac_ct_AR"; then
19333 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19336 for as_dir in $PATH
19339 test -z "$as_dir" && as_dir=.
19340 for ac_exec_ext in '' $ac_executable_extensions; do
19341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19342 ac_cv_prog_ac_ct_AR="ar"
19343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19352 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19353 if test -n "$ac_ct_AR"; then
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19355 $as_echo "$ac_ct_AR" >&6; }
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19358 $as_echo "no" >&6; }
19361 if test "x$ac_ct_AR" = x; then
19364 case $cross_compiling:$ac_tool_warned in
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19368 ac_tool_warned=yes ;;
19373 AR="$ac_cv_prog_AR"
19376 if test "x$AR" = "x" ; then
19377 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19382 if test "$wxUSE_MAC" = 1; then
19384 retest_macosx_linking=no
19388 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19389 if test "x$wxUSE_MAC_ARCH" != xno; then
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19391 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19394 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19395 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19396 else OSX_ARCH_OPTS="ppc,i386"
19397 if test "$wxUSE_OSX_COCOA" = 1; then
19398 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19403 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19405 $as_echo "$OSX_ARCH_OPTS" >&6; }
19407 retest_macosx_linking=yes
19409 if test "x$wxUSE_MAC_ARCH" != xno; then
19410 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19414 if test "x$OSX_ARCH_OPTS" != "x"; then
19415 if echo $OSX_ARCH_OPTS | grep -q ","; then
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19417 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19418 disable_macosx_deps=yes
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19421 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19425 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19427 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19428 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19429 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19430 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19431 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19434 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19436 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19437 # TODO: Search for most recent SDK and use it.
19438 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19442 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19444 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19445 if ! test -d "$wxUSE_MACOSX_SDK"; then
19446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19448 as_fn_error $? "not found
19449 See \
`config.log' for more details" "$LINENO" 5; }
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19452 $as_echo "exists" >&6; }
19454 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19455 retest_macosx_linking=yes
19458 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19459 wxUSE_MACOSX_VERSION_MIN=
19460 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19461 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19463 $as_echo_n "checking SDK deployment version... " >&6; }
19465 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/'`
19467 # If that failed, try again with the new key
19468 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19470 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/'`
19474 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19475 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19477 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19480 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19481 wxUSE_MACOSX_VERSION_MIN=
19484 wxUSE_MACOSX_VERSION_MIN=
19486 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19487 wxUSE_MACOSX_VERSION_MIN=10.5
19490 if test "x$MACOSX_SDK_OPTS" != "x"; then
19491 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19492 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19493 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19494 retest_macosx_linking=yes
19497 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19498 if test "$wxUSE_OSX_IPHONE" = 1; then
19499 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19501 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19503 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19504 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19505 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19506 retest_macosx_linking=yes
19509 if test "x$retest_macosx_linking" = "xyes"; then
19511 ac_cpp='$CPP $CPPFLAGS'
19512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19517 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19529 if ac_fn_c_try_link "$LINENO"; then :
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19531 $as_echo "yes" >&6; }
19533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19535 as_fn_error $? "no. Try a different SDK
19536 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19538 rm -f core conftest.err conftest.$ac_objext \
19539 conftest$ac_exeext conftest.$ac_ext
19541 ac_cpp='$CPP $CPPFLAGS'
19542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19548 ac_cpp='$CXXCPP $CPPFLAGS'
19549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19554 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h. */
19566 if ac_fn_cxx_try_link "$LINENO"; then :
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19568 $as_echo "yes" >&6; }
19570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19572 as_fn_error $? "no. Try a different SDK
19573 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19575 rm -f core conftest.err conftest.$ac_objext \
19576 conftest$ac_exeext conftest.$ac_ext
19578 ac_cpp='$CPP $CPPFLAGS'
19579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19589 INSTALL_PROGRAM="cp -fp"
19590 INSTALL_DATA="cp -fp"
19597 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19598 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19601 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19602 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19605 if test "x$USE_AIX" = "x1"; then
19606 if test "x$XLCXX" = "xyes"; then
19607 CXXFLAGS="-qunique $CXXFLAGS"
19610 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19614 powerpc-*-darwin* )
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19616 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19623 #ifndef __POWERPC__
19624 choke me for lack of PowerPC
19631 if ac_fn_c_try_compile "$LINENO"; then :
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19633 $as_echo "yes" >&6; }
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19636 $as_echo "no" >&6; }
19637 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19648 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19651 #include <CoreFoundation/CFBase.h>
19661 if ac_fn_c_try_compile "$LINENO"; then :
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19663 $as_echo "yes" >&6; }
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19666 $as_echo "no" >&6; }
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19668 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671 #define __CF_USE_FRAMEWORK_INCLUDES__
19672 #include <CoreFoundation/CFBase.h>
19682 if ac_fn_c_try_compile "$LINENO"; then :
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19684 $as_echo "yes" >&6; }
19685 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19687 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19688 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19689 as_fn_error $? "no. CoreFoundation not available.
19690 See \
`config.log' for more details" "$LINENO" 5; }
19693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19702 doesnt_want_win32=0
19705 if test "$wxUSE_MSW" = 1 ; then
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19709 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19710 if ${wx_cv_nocygwin+:} false; then :
19711 $as_echo_n "(cached) " >&6
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19729 if ac_fn_c_try_compile "$LINENO"; then :
19735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19740 $as_echo "$wx_cv_nocygwin" >&6; }
19742 if test "$wx_cv_nocygwin" = "yes"; then
19745 doesnt_want_win32=1
19748 if test "$wants_win32" = 1 ; then
19749 BAKEFILE_FORCE_PLATFORM=win32
19757 if test "$wxUSE_WINE" = "yes"; then
19759 LDFLAGS_GUI="-mwindows"
19762 if test "$wants_win32" = 1 ; then
19765 $as_echo "#define __WIN32__ 1" >>confdefs.h
19767 $as_echo "#define __WIN95__ 1" >>confdefs.h
19769 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19771 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19773 $as_echo "#define STRICT 1" >>confdefs.h
19776 if test "$doesnt_want_win32" = 1 ; then
19781 if test "$USE_UNIX" = 1 ; then
19783 $as_echo "#define __UNIX__ 1" >>confdefs.h
19788 *-pc-os2_emx | *-pc-os2-emx )
19789 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19791 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19792 if ${ac_cv_lib_cExt_drand48+:} false; then :
19793 $as_echo_n "(cached) " >&6
19795 ac_check_lib_save_LIBS=$LIBS
19796 LIBS="-lcExt $LIBS"
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19800 /* Override any GCC internal prototype to avoid an error.
19801 Use char because int might match the return type of a GCC
19802 builtin and then its argument prototype would still apply. */
19815 if ac_fn_c_try_link "$LINENO"; then :
19816 ac_cv_lib_cExt_drand48=yes
19818 ac_cv_lib_cExt_drand48=no
19820 rm -f core conftest.err conftest.$ac_objext \
19821 conftest$ac_exeext conftest.$ac_ext
19822 LIBS=$ac_check_lib_save_LIBS
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19825 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19826 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19827 LIBS="$LIBS -lcExt"
19831 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19834 $as_echo_n "checking for gcc/libc version... " >&6; }
19835 if ${wx_cv_gccversion+:} false; then :
19836 $as_echo_n "(cached) " >&6
19839 if test "$cross_compiling" = yes; then :
19840 wx_cv_gccversion="EMX2"
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19850 FILE *f=fopen("conftestval", "w");
19855 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19857 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19867 if ac_fn_c_try_run "$LINENO"; then :
19868 wx_cv_gccversion=`cat conftestval
`
19870 wx_cv_gccversion="EMX2"
19872 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19873 conftest.$ac_objext conftest.beam conftest.$ac_ext
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19879 $as_echo "$wx_cv_gccversion" >&6; }
19880 if test "$wx_cv_gccversion" = "EMX2"; then
19881 LIBS="$LIBS -lstdcpp"
19882 LDFLAGS="$LDFLAGS -Zsysv-signals"
19884 if test "$wx_cv_gccversion" = "EMX3"; then
19885 LIBS="$LIBS -lstdcxx -lgcc"
19886 LDFLAGS="$LDFLAGS -Zsysv-signals"
19888 LIBS="$LIBS -lstdc++"
19891 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19893 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19901 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19902 if ${ac_cv_string_strcasecmp+:} false; then :
19903 $as_echo_n "(cached) " >&6
19906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h. */
19909 #include <string.h>
19915 strcasecmp("foo", "bar");
19921 if ac_fn_c_try_link "$LINENO"; then :
19922 ac_cv_string_strcasecmp=yes
19924 ac_cv_string_strcasecmp=no
19927 rm -f core conftest.err conftest.$ac_objext \
19928 conftest$ac_exeext conftest.$ac_ext
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19932 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19934 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19935 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19939 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19940 if ${ac_cv_strings_strcasecmp+:} false; then :
19941 $as_echo_n "(cached) " >&6
19944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19945 /* end confdefs.h. */
19947 #include <strings.h>
19953 strcasecmp("foo", "bar");
19959 if ac_fn_c_try_link "$LINENO"; then :
19960 ac_cv_strings_strcasecmp=yes
19962 ac_cv_strings_strcasecmp=no
19965 rm -f core conftest.err conftest.$ac_objext \
19966 conftest$ac_exeext conftest.$ac_ext
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19970 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19972 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19973 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19976 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19985 $as_echo_n "checking for ANSI C header files... " >&6; }
19986 if ${ac_cv_header_stdc+:} false; then :
19987 $as_echo_n "(cached) " >&6
19989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19990 /* end confdefs.h. */
19991 #include <stdlib.h>
19992 #include <stdarg.h>
19993 #include <string.h>
20004 if ac_fn_c_try_compile "$LINENO"; then :
20005 ac_cv_header_stdc=yes
20007 ac_cv_header_stdc=no
20009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20011 if test $ac_cv_header_stdc = yes; then
20012 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20014 /* end confdefs.h. */
20015 #include <string.h>
20018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20019 $EGREP "memchr" >/dev/null 2>&1; then :
20022 ac_cv_header_stdc=no
20028 if test $ac_cv_header_stdc = yes; then
20029 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h. */
20032 #include <stdlib.h>
20035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20036 $EGREP "free" >/dev/null 2>&1; then :
20039 ac_cv_header_stdc=no
20045 if test $ac_cv_header_stdc = yes; then
20046 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20047 if test "$cross_compiling" = yes; then :
20050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20051 /* end confdefs.h. */
20053 #include <stdlib.h>
20054 #if ((' ' & 0x0FF) == 0x020)
20055 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20056 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20058 # define ISLOWER(c) \
20059 (('a' <= (c) && (c) <= 'i') \
20060 || ('j' <= (c) && (c) <= 'r') \
20061 || ('s' <= (c) && (c) <= 'z'))
20062 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20065 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20070 for (i = 0; i < 256; i++)
20071 if (XOR (islower (i), ISLOWER (i))
20072 || toupper (i) != TOUPPER (i))
20077 if ac_fn_c_try_run "$LINENO"; then :
20080 ac_cv_header_stdc=no
20082 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20083 conftest.$ac_objext conftest.beam conftest.$ac_ext
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20089 $as_echo "$ac_cv_header_stdc" >&6; }
20090 if test $ac_cv_header_stdc = yes; then
20092 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20096 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20097 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20098 inttypes.h stdint.h unistd.h
20100 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20101 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20103 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20104 cat >>confdefs.h <<_ACEOF
20105 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20113 for ac_header in langinfo.h wchar.h
20115 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20116 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20118 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20119 cat >>confdefs.h <<_ACEOF
20120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20128 if test "$ac_cv_header_wchar_h" != "yes"; then
20129 for ac_header in wcstr.h
20131 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20133 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20134 cat >>confdefs.h <<_ACEOF
20135 #define HAVE_WCSTR_H 1
20145 *-pc-os2_emx | *-pc-os2-emx )
20146 if test $ac_cv_header_langinfo_h = "yes" \
20147 -a \( "$wx_cv_gccversion" = "EMX2" \
20148 -o "$wx_cv_gccversion" = "EMX3" \
20149 -o "$wx_cv_gccversion" = "Innotek5" \); then
20150 LIBS="$LIBS -lintl"
20155 if test "$USE_UNIX" = 1 ; then
20156 for ac_header in sys/select.h
20158 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20160 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20161 cat >>confdefs.h <<_ACEOF
20162 #define HAVE_SYS_SELECT_H 1
20171 ac_cpp='$CXXCPP $CPPFLAGS'
20172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20176 for ac_header in cxxabi.h
20178 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20180 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20181 cat >>confdefs.h <<_ACEOF
20182 #define HAVE_CXXABI_H 1
20190 ac_cpp='$CPP $CPPFLAGS'
20191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20199 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20200 if ${ac_cv_c_const+:} false; then :
20201 $as_echo_n "(cached) " >&6
20203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20210 #ifndef __cplusplus
20211 /* Ultrix mips cc rejects this sort of thing. */
20212 typedef int charset[2];
20213 const charset cs = { 0, 0 };
20214 /* SunOS 4.1.1 cc rejects this. */
20215 char const *const *pcpcc;
20217 /* NEC SVR4.0.2 mips cc rejects this. */
20218 struct point {int x, y;};
20219 static struct point const zero = {0,0};
20220 /* AIX XL C 1.02.0.0 rejects this.
20221 It does not let you subtract one const X* pointer from another in
20222 an arm of an if-expression whose if-part is not a constant
20224 const char *g = "string";
20225 pcpcc = &g + (g ? g-g : 0);
20226 /* HPUX 7.0 cc rejects these. */
20228 ppc = (char**) pcpcc;
20229 pcpcc = (char const *const *) ppc;
20230 { /* SCO 3.2v4 cc rejects this sort of thing. */
20233 char const *s = 0 ? (char *) 0 : (char const *) 0;
20238 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20239 int x[] = {25, 17};
20240 const int *foo = &x[0];
20243 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20244 typedef const int *iptr;
20248 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20249 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20250 struct s { int j; const int *ap[3]; } bx;
20251 struct s *b = &bx; b->j = 5;
20253 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20254 const int foo = 10;
20255 if (!foo) return 0;
20257 return !cs[0] && !zero.x;
20264 if ac_fn_c_try_compile "$LINENO"; then :
20269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20272 $as_echo "$ac_cv_c_const" >&6; }
20273 if test $ac_cv_c_const = no; then
20275 $as_echo "#define const /**/" >>confdefs.h
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20280 $as_echo_n "checking for inline... " >&6; }
20281 if ${ac_cv_c_inline+:} false; then :
20282 $as_echo_n "(cached) " >&6
20285 for ac_kw in inline __inline__ __inline; do
20286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20287 /* end confdefs.h. */
20288 #ifndef __cplusplus
20290 static $ac_kw foo_t static_foo () {return 0; }
20291 $ac_kw foo_t foo () {return 0; }
20295 if ac_fn_c_try_compile "$LINENO"; then :
20296 ac_cv_c_inline=$ac_kw
20298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20299 test "$ac_cv_c_inline" != no && break
20303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20304 $as_echo "$ac_cv_c_inline" >&6; }
20306 case $ac_cv_c_inline in
20309 case $ac_cv_c_inline in
20311 *) ac_val=$ac_cv_c_inline;;
20313 cat >>confdefs.h <<_ACEOF
20314 #ifndef __cplusplus
20315 #define inline $ac_val
20322 # The cast to long int works around a bug in the HP C Compiler
20323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20324 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20325 # This bug is HP SR number 8606223364.
20326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20327 $as_echo_n "checking size of short... " >&6; }
20328 if ${ac_cv_sizeof_short+:} false; then :
20329 $as_echo_n "(cached) " >&6
20331 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20334 if test "$ac_cv_type_short" = yes; then
20335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20336 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20337 as_fn_error 77 "cannot compute sizeof (short)
20338 See \`config.log
' for more details" "$LINENO" 5; }
20340 ac_cv_sizeof_short=0
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20346 $as_echo "$ac_cv_sizeof_short" >&6; }
20350 cat >>confdefs.h <<_ACEOF
20351 #define SIZEOF_SHORT $ac_cv_sizeof_short
20355 # The cast to long int works around a bug in the HP C Compiler
20356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20358 # This bug is HP SR number 8606223364.
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20360 $as_echo_n "checking size of void *... " >&6; }
20361 if ${ac_cv_sizeof_void_p+:} false
; then :
20362 $as_echo_n "(cached) " >&6
20364 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20367 if test "$ac_cv_type_void_p" = yes; then
20368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20370 as_fn_error
77 "cannot compute sizeof (void *)
20371 See \`config.log' for more details" "$LINENO" 5; }
20373 ac_cv_sizeof_void_p
=0
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20379 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20383 cat >>confdefs.h
<<_ACEOF
20384 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20388 # The cast to long int works around a bug in the HP C Compiler
20389 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20390 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20391 # This bug is HP SR number 8606223364.
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20393 $as_echo_n "checking size of int... " >&6; }
20394 if ${ac_cv_sizeof_int+:} false
; then :
20395 $as_echo_n "(cached) " >&6
20397 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20400 if test "$ac_cv_type_int" = yes; then
20401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20403 as_fn_error
77 "cannot compute sizeof (int)
20404 See \`config.log' for more details" "$LINENO" 5; }
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20412 $as_echo "$ac_cv_sizeof_int" >&6; }
20416 cat >>confdefs.h
<<_ACEOF
20417 #define SIZEOF_INT $ac_cv_sizeof_int
20421 # The cast to long int works around a bug in the HP C Compiler
20422 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20423 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20424 # This bug is HP SR number 8606223364.
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20426 $as_echo_n "checking size of long... " >&6; }
20427 if ${ac_cv_sizeof_long+:} false
; then :
20428 $as_echo_n "(cached) " >&6
20430 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20433 if test "$ac_cv_type_long" = yes; then
20434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20436 as_fn_error
77 "cannot compute sizeof (long)
20437 See \`config.log' for more details" "$LINENO" 5; }
20439 ac_cv_sizeof_long
=0
20444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20445 $as_echo "$ac_cv_sizeof_long" >&6; }
20449 cat >>confdefs.h
<<_ACEOF
20450 #define SIZEOF_LONG $ac_cv_sizeof_long
20454 # The cast to long int works around a bug in the HP C Compiler
20455 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20456 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20457 # This bug is HP SR number 8606223364.
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20459 $as_echo_n "checking size of size_t... " >&6; }
20460 if ${ac_cv_sizeof_size_t+:} false
; then :
20461 $as_echo_n "(cached) " >&6
20463 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20466 if test "$ac_cv_type_size_t" = yes; then
20467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20469 as_fn_error
77 "cannot compute sizeof (size_t)
20470 See \`config.log' for more details" "$LINENO" 5; }
20472 ac_cv_sizeof_size_t
=0
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20478 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20482 cat >>confdefs.h
<<_ACEOF
20483 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20490 # The cast to long int works around a bug in the HP C Compiler
20491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20493 # This bug is HP SR number 8606223364.
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20495 $as_echo_n "checking size of long long... " >&6; }
20496 if ${ac_cv_sizeof_long_long+:} false
; then :
20497 $as_echo_n "(cached) " >&6
20499 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20502 if test "$ac_cv_type_long_long" = yes; then
20503 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20505 as_fn_error
77 "cannot compute sizeof (long long)
20506 See \`config.log' for more details" "$LINENO" 5; }
20508 ac_cv_sizeof_long_long
=0
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20514 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20518 cat >>confdefs.h
<<_ACEOF
20519 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20525 # The cast to long int works around a bug in the HP C Compiler
20526 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20527 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20528 # This bug is HP SR number 8606223364.
20529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20530 $as_echo_n "checking size of long long... " >&6; }
20531 if ${ac_cv_sizeof_long_long+:} false
; then :
20532 $as_echo_n "(cached) " >&6
20534 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20537 if test "$ac_cv_type_long_long" = yes; then
20538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20540 as_fn_error
77 "cannot compute sizeof (long long)
20541 See \`config.log' for more details" "$LINENO" 5; }
20543 ac_cv_sizeof_long_long
=0
20548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20549 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20553 cat >>confdefs.h
<<_ACEOF
20554 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20558 if test "$ac_cv_sizeof_long_long" != 0; then
20559 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20563 # The cast to long int works around a bug in the HP C Compiler
20564 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20565 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20566 # This bug is HP SR number 8606223364.
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20568 $as_echo_n "checking size of long long... " >&6; }
20569 if ${ac_cv_sizeof_long_long+:} false
; then :
20570 $as_echo_n "(cached) " >&6
20572 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20575 if test "$ac_cv_type_long_long" = yes; then
20576 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20578 as_fn_error
77 "cannot compute sizeof (long long)
20579 See \`config.log' for more details" "$LINENO" 5; }
20581 ac_cv_sizeof_long_long
=0
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20587 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20591 cat >>confdefs.h
<<_ACEOF
20592 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20598 # The cast to long int works around a bug in the HP C Compiler
20599 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20600 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20601 # This bug is HP SR number 8606223364.
20602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20603 $as_echo_n "checking size of wchar_t... " >&6; }
20604 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20605 $as_echo_n "(cached) " >&6
20607 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20608 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20609 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20610 # error \"fake wchar_t\"
20612 #ifdef HAVE_WCHAR_H
20614 # include <stddef.h>
20616 # include <wchar.h>
20618 #ifdef HAVE_STDLIB_H
20619 # include <stdlib.h>
20627 if test "$ac_cv_type_wchar_t" = yes; then
20628 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20630 as_fn_error
77 "cannot compute sizeof (wchar_t)
20631 See \`config.log' for more details" "$LINENO" 5; }
20633 ac_cv_sizeof_wchar_t
=0
20638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20639 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20643 cat >>confdefs.h
<<_ACEOF
20644 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20648 if test "$ac_cv_sizeof_wchar_t" = 0; then
20649 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20651 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20655 $as_echo_n "checking for va_copy... " >&6; }
20656 if ${wx_cv_func_va_copy+:} false
; then :
20657 $as_echo_n "(cached) " >&6
20661 ac_cpp
='$CXXCPP $CPPFLAGS'
20662 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20663 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20664 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20667 /* end confdefs.h. */
20670 #include <stdarg.h>
20671 void foo(char *f, ...)
20686 if ac_fn_cxx_try_link
"$LINENO"; then :
20687 wx_cv_func_va_copy
=yes
20689 wx_cv_func_va_copy
=no
20692 rm -f core conftest.err conftest.
$ac_objext \
20693 conftest
$ac_exeext conftest.
$ac_ext
20695 ac_cpp
='$CPP $CPPFLAGS'
20696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20704 $as_echo "$wx_cv_func_va_copy" >&6; }
20706 if test $wx_cv_func_va_copy = "yes"; then
20707 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20711 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20712 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20713 $as_echo_n "(cached) " >&6
20716 if test "$cross_compiling" = yes; then :
20717 wx_cv_type_va_list_lvalue
=yes
20720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20721 /* end confdefs.h. */
20724 #include <stdarg.h>
20725 int foo(char *f, ...)
20730 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20738 return foo("hi", 17);
20742 if ac_fn_c_try_run
"$LINENO"; then :
20743 wx_cv_type_va_list_lvalue
=yes
20745 wx_cv_type_va_list_lvalue
=no
20747 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20748 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20755 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20757 if test $wx_cv_type_va_list_lvalue != "yes"; then
20758 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20763 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20766 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20767 if ${wx_cv_have_variadic_macros+:} false
; then :
20768 $as_echo_n "(cached) " >&6
20772 ac_cpp
='$CXXCPP $CPPFLAGS'
20773 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20774 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20775 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20778 /* end confdefs.h. */
20782 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20788 test("%s %d %p", "test", 1, 0);
20795 if ac_fn_cxx_try_compile
"$LINENO"; then :
20796 wx_cv_have_variadic_macros
=yes
20798 wx_cv_have_variadic_macros
=no
20801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20803 ac_cpp
='$CPP $CPPFLAGS'
20804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20812 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20814 if test $wx_cv_have_variadic_macros = "yes"; then
20815 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20821 LARGEFILE_CPPFLAGS
=
20822 # Check whether --enable-largefile was given.
20823 if test "${enable_largefile+set}" = set; then :
20824 enableval
=$enable_largefile;
20827 if test "$enable_largefile" != no
; then
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20831 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20832 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20833 $as_echo_n "(cached) " >&6
20836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20837 /* end confdefs.h. */
20838 #define _FILE_OFFSET_BITS 64
20839 #include <sys/types.h>
20844 unsigned int field: sizeof(off_t) == 8;
20851 if ac_fn_c_try_compile
"$LINENO"; then :
20852 ac_cv_sys_file_offset_bits
=64
20854 ac_cv_sys_file_offset_bits
=no
20856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20861 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20863 if test "$ac_cv_sys_file_offset_bits" != no
; then
20865 cat >>confdefs.h
<<_ACEOF
20866 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20871 if test "x$wx_largefile" != "xyes"; then
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20874 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20875 if ${ac_cv_sys_large_files+:} false
; then :
20876 $as_echo_n "(cached) " >&6
20879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h. */
20881 #define _LARGE_FILES 1
20882 #include <sys/types.h>
20887 unsigned int field: sizeof(off_t) == 8;
20894 if ac_fn_c_try_compile
"$LINENO"; then :
20895 ac_cv_sys_large_files
=1
20897 ac_cv_sys_large_files
=no
20899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20904 $as_echo "$ac_cv_sys_large_files" >&6; }
20906 if test "$ac_cv_sys_large_files" != no
; then
20908 cat >>confdefs.h
<<_ACEOF
20909 #define _LARGE_FILES $ac_cv_sys_large_files
20916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20917 $as_echo_n "checking if large file support is available... " >&6; }
20918 if test "x$wx_largefile" = "xyes"; then
20919 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20923 $as_echo "$wx_largefile" >&6; }
20926 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20927 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20928 elif test "$ac_cv_sys_large_files" = 1; then
20929 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20932 if test -n "$LARGEFILE_CPPFLAGS"; then
20933 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20935 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20937 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20938 if ${wx_cv_STDC_EXT_required+:} false
; then :
20939 $as_echo_n "(cached) " >&6
20943 ac_cpp
='$CXXCPP $CPPFLAGS'
20944 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20945 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20946 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20949 /* end confdefs.h. */
20955 #ifndef __STDC_EXT__
20963 if ac_fn_cxx_try_compile
"$LINENO"; then :
20964 wx_cv_STDC_EXT_required
=no
20966 wx_cv_STDC_EXT_required
=yes
20969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20971 ac_cpp
='$CPP $CPPFLAGS'
20972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20980 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20981 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20982 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20988 ac_cpp
='$CXXCPP $CPPFLAGS'
20989 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20990 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20991 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20993 old_CPPFLAGS
="$CPPFLAGS"
20994 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20996 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20997 if ${ac_cv_sys_largefile_source+:} false
; then :
20998 $as_echo_n "(cached) " >&6
21001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21002 /* end confdefs.h. */
21003 #include <sys/types.h> /* for off_t */
21008 int (*fp) (FILE *, off_t, int) = fseeko;
21009 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21014 if ac_fn_cxx_try_link
"$LINENO"; then :
21015 ac_cv_sys_largefile_source
=no
; break
21017 rm -f core conftest.err conftest.
$ac_objext \
21018 conftest
$ac_exeext conftest.
$ac_ext
21019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21020 /* end confdefs.h. */
21021 #define _LARGEFILE_SOURCE 1
21022 #include <sys/types.h> /* for off_t */
21027 int (*fp) (FILE *, off_t, int) = fseeko;
21028 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21033 if ac_fn_cxx_try_link
"$LINENO"; then :
21034 ac_cv_sys_largefile_source
=1; break
21036 rm -f core conftest.err conftest.
$ac_objext \
21037 conftest
$ac_exeext conftest.
$ac_ext
21038 ac_cv_sys_largefile_source
=unknown
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21043 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21044 case $ac_cv_sys_largefile_source in #(
21047 cat >>confdefs.h
<<_ACEOF
21048 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21054 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21055 # in glibc 2.1.3, but that breaks too many other things.
21056 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21057 if test $ac_cv_sys_largefile_source != unknown
; then
21059 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21063 CPPFLAGS
="$old_CPPFLAGS"
21065 ac_cpp
='$CPP $CPPFLAGS'
21066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21070 if test "$ac_cv_sys_largefile_source" != no
; then
21071 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
21075 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
21076 if ${ac_cv_c_bigendian+:} false
; then :
21077 $as_echo_n "(cached) " >&6
21079 ac_cv_c_bigendian
=unknown
21080 # See if sys/param.h defines the BYTE_ORDER macro.
21081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21082 /* end confdefs.h. */
21083 #include <sys/types.h>
21084 #include <sys/param.h>
21089 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21090 bogus endian macros
21096 if ac_fn_c_try_compile
"$LINENO"; then :
21097 # It does; now see whether it defined to BIG_ENDIAN or not.
21098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21099 /* end confdefs.h. */
21100 #include <sys/types.h>
21101 #include <sys/param.h>
21106 #if BYTE_ORDER != BIG_ENDIAN
21113 if ac_fn_c_try_compile
"$LINENO"; then :
21114 ac_cv_c_bigendian
=yes
21116 ac_cv_c_bigendian
=no
21118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21121 if test $ac_cv_c_bigendian = unknown
; then
21122 if test "$cross_compiling" = yes; then :
21123 ac_cv_c_bigendian
=unknown
21125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21126 /* end confdefs.h. */
21128 /* Are we little or big endian? From Harbison&Steele. */
21132 char c[sizeof (long)];
21135 exit (u.c[sizeof (long) - 1] == 1);
21138 if ac_fn_c_try_run
"$LINENO"; then :
21139 ac_cv_c_bigendian
=no
21141 ac_cv_c_bigendian
=yes
21143 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21144 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21150 $as_echo "$ac_cv_c_bigendian" >&6; }
21151 if test $ac_cv_c_bigendian = unknown
; then
21152 { $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
21153 $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;}
21155 if test $ac_cv_c_bigendian = yes; then
21156 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21164 ac_cpp
='$CXXCPP $CPPFLAGS'
21165 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21166 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21167 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21170 for ac_header
in iostream
21172 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
21174 if test "x$ac_cv_header_iostream" = xyes
; then :
21175 cat >>confdefs.h
<<_ACEOF
21176 #define HAVE_IOSTREAM 1
21184 if test "$ac_cv_header_iostream" = "yes" ; then
21187 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21192 ac_cpp
='$CPP $CPPFLAGS'
21193 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21194 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21195 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21201 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21202 if ${wx_cv_explicit+:} false
; then :
21203 $as_echo_n "(cached) " >&6
21208 ac_cpp
='$CXXCPP $CPPFLAGS'
21209 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21210 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21211 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21215 /* end confdefs.h. */
21217 class Foo { public: explicit Foo(int) {} };
21229 if ac_fn_cxx_try_compile
"$LINENO"; then :
21231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21232 /* end confdefs.h. */
21234 class Foo { public: explicit Foo(int) {} };
21235 static void TakeFoo(const Foo& foo) { }
21248 if ac_fn_cxx_try_compile
"$LINENO"; then :
21254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21263 ac_cpp
='$CPP $CPPFLAGS'
21264 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21265 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21266 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21271 $as_echo "$wx_cv_explicit" >&6; }
21273 if test "$wx_cv_explicit" = "yes"; then
21274 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21279 if test "x$SUNCXX" = xyes
; then
21280 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21283 if test "x$SUNCC" = xyes
; then
21284 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21287 if test "x$SGICC" = "xyes"; then
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21289 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21290 if ${wx_cv_prog_sgicc744+:} false
; then :
21291 $as_echo_n "(cached) " >&6
21294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21295 /* end confdefs.h. */
21301 #if _SGI_COMPILER_VERSION >= 744
21302 chock me: mipsPro is 7.4.4 or later
21309 if ac_fn_c_try_compile
"$LINENO"; then :
21310 wx_cv_prog_sgicc744
=no
21312 wx_cv_prog_sgicc744
=yes
21315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21320 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21322 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21323 CFLAGS
="-woff 3970 $CFLAGS"
21326 if test "x$SGICXX" = "xyes"; then
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21328 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21329 if ${wx_cv_prog_sgicxx744+:} false
; then :
21330 $as_echo_n "(cached) " >&6
21334 ac_cpp
='$CXXCPP $CPPFLAGS'
21335 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21336 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21337 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21340 /* end confdefs.h. */
21346 #if _SGI_COMPILER_VERSION >= 744
21347 chock me: mipsPro is 7.4.4 or later
21354 if ac_fn_cxx_try_compile
"$LINENO"; then :
21355 wx_cv_prog_sgicxx744
=no
21357 wx_cv_prog_sgicxx744
=yes
21360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21362 ac_cpp
='$CPP $CPPFLAGS'
21363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21371 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21373 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21374 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21378 if test "x$HPCC" = "xyes"; then
21379 CFLAGS
="+W 2011,2450 $CFLAGS"
21381 if test "x$HPCXX" = "xyes"; then
21382 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21385 if test "x$COMPAQCXX" = "xyes"; then
21386 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21390 ac_cpp
='$CXXCPP $CPPFLAGS'
21391 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21392 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21393 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21396 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21397 if test "$wxUSE_UNICODE" = "yes"; then
21398 std_string
="std::wstring"
21399 char_type
="wchar_t"
21401 std_string
="std::string"
21405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21406 $as_echo_n "checking for $std_string in <string>... " >&6; }
21407 if ${wx_cv_class_stdstring+:} false
; then :
21408 $as_echo_n "(cached) " >&6
21411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21412 /* end confdefs.h. */
21422 if ac_fn_cxx_try_compile
"$LINENO"; then :
21423 wx_cv_class_stdstring
=yes
21425 wx_cv_class_stdstring
=no
21428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21433 $as_echo "$wx_cv_class_stdstring" >&6; }
21435 if test "$wx_cv_class_stdstring" = yes; then
21436 if test "$wxUSE_UNICODE" = "yes"; then
21437 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21442 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21443 if ${wx_cv_class_stdbasicstring+:} false
; then :
21444 $as_echo_n "(cached) " >&6
21447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21448 /* end confdefs.h. */
21450 #ifdef HAVE_WCHAR_H
21452 # include <stddef.h>
21454 # include <wchar.h>
21456 #ifdef HAVE_STDLIB_H
21457 # include <stdlib.h>
21465 std::basic_string<$char_type> foo;
21466 const $char_type* dummy = foo.c_str();
21471 if ac_fn_cxx_try_compile
"$LINENO"; then :
21472 wx_cv_class_stdbasicstring
=yes
21474 wx_cv_class_stdbasicstring
=no
21477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21482 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21484 if test "$wx_cv_class_stdbasicstring" != yes; then
21485 if test "$wxUSE_STL" = "yes"; then
21486 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21487 elif test "$wxUSE_STD_STRING" = "yes"; then
21488 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21491 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21492 wxUSE_STD_STRING
=no
21498 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21499 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21501 if test "x$ac_cv_type_std__istream" = xyes
; then :
21503 cat >>confdefs.h
<<_ACEOF
21504 #define HAVE_STD__ISTREAM 1
21509 wxUSE_STD_IOSTREAM
=no
21511 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21513 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21515 cat >>confdefs.h
<<_ACEOF
21516 #define HAVE_STD__OSTREAM 1
21521 wxUSE_STD_IOSTREAM
=no
21525 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21526 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21527 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21530 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21535 if test "$wxUSE_STL" = "yes"; then
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21537 $as_echo_n "checking for basic STL functionality... " >&6; }
21538 if ${wx_cv_lib_stl+:} false
; then :
21539 $as_echo_n "(cached) " >&6
21541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21544 #include <functional>
21545 #include <algorithm>
21551 std::vector<int> moo;
21552 std::list<int> foo;
21553 std::vector<int>::iterator it =
21554 std::find_if(moo.begin(), moo.end(),
21555 std::bind2nd(std::less<int>(), 3));
21560 if ac_fn_cxx_try_compile
"$LINENO"; then :
21566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21570 $as_echo "$wx_cv_lib_stl" >&6; }
21572 if test "$wx_cv_lib_stl" != yes; then
21573 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21577 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21578 if ${wx_cv_func_stdstring_compare+:} false
; then :
21579 $as_echo_n "(cached) " >&6
21581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21582 /* end confdefs.h. */
21587 std::string foo, bar;
21589 foo.compare(1, 1, bar);
21590 foo.compare(1, 1, bar, 1, 1);
21592 foo.compare(1, 1, "");
21593 foo.compare(1, 1, "", 2);
21598 if ac_fn_cxx_try_compile
"$LINENO"; then :
21599 wx_cv_func_stdstring_compare
=yes
21601 wx_cv_func_stdstring_compare
=no
21604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21608 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21610 if test "$wx_cv_func_stdstring_compare" = yes; then
21611 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21615 if test "$wx_cv_class_gnuhashmapset" = yes; then
21616 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21618 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21622 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21625 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21627 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21628 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21629 $as_echo_n "(cached) " >&6
21631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21632 /* end confdefs.h. */
21633 #include <unordered_map>
21634 #include <unordered_set>
21638 std::unordered_map<double*, char*> test1;
21639 std::unordered_set<char*> test2;
21644 if ac_fn_cxx_try_compile
"$LINENO"; then :
21645 wx_cv_class_stdunorderedmapset
=yes
21647 wx_cv_class_stdunorderedmapset
=no
21649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21654 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21659 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21660 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21662 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21665 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21668 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21670 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21671 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21672 $as_echo_n "(cached) " >&6
21674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21675 /* end confdefs.h. */
21676 #include <tr1/unordered_map>
21677 #include <tr1/unordered_set>
21681 std::tr1::unordered_map<double*, char*> test1;
21682 std::tr1::unordered_set<char*> test2;
21683 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21684 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21690 if ac_fn_cxx_try_compile
"$LINENO"; then :
21691 wx_cv_class_tr1unorderedmapset
=yes
21693 wx_cv_class_tr1unorderedmapset
=no
21695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21700 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21705 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21706 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21708 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21711 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21714 if test "x$ac_cv_header_hash_map" = xyes
; then :
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21716 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21717 if ${wx_cv_class_stdhashmapset+:} false
; then :
21718 $as_echo_n "(cached) " >&6
21720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21721 /* end confdefs.h. */
21722 #include <hash_map>
21723 #include <hash_set>
21727 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21728 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21733 if ac_fn_cxx_try_compile
"$LINENO"; then :
21734 wx_cv_class_stdhashmapset
=yes
21736 wx_cv_class_stdhashmapset
=no
21738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21743 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21748 if test "$wx_cv_class_stdhashmapset" = yes; then
21749 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21751 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21755 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21758 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21760 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21761 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21762 $as_echo_n "(cached) " >&6
21764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21765 /* end confdefs.h. */
21766 #include <ext/hash_map>
21767 #include <ext/hash_set>
21771 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21772 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21777 if ac_fn_cxx_try_compile
"$LINENO"; then :
21778 wx_cv_class_gnuhashmapset
=yes
21780 wx_cv_class_gnuhashmapset
=no
21782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21787 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21797 ac_cpp
='$CXXCPP $CPPFLAGS'
21798 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21802 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21803 if test -z "$CXXCPP"; then
21804 if ${ac_cv_prog_CXXCPP+:} false
; then :
21805 $as_echo_n "(cached) " >&6
21807 # Double quotes because CXXCPP needs to be expanded
21808 for CXXCPP
in "$CXX -E" "/lib/cpp"
21810 ac_preproc_ok
=false
21811 for ac_cxx_preproc_warn_flag
in '' yes
21813 # Use a header file that comes with gcc, so configuring glibc
21814 # with a fresh cross-compiler works.
21815 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21816 # <limits.h> exists even on freestanding compilers.
21817 # On the NeXT, cc -E runs the code through the compiler's parser,
21818 # not just through cpp. "Syntax error" is here to catch this case.
21819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21820 /* end confdefs.h. */
21822 # include <limits.h>
21824 # include <assert.h>
21828 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21831 # Broken: fails on valid input.
21834 rm -f conftest.err conftest.i conftest.
$ac_ext
21836 # OK, works on sane cases. Now check whether nonexistent headers
21837 # can be detected and how.
21838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21839 /* end confdefs.h. */
21840 #include <ac_nonexistent.h>
21842 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21843 # Broken: success on invalid input.
21846 # Passes both tests.
21850 rm -f conftest.err conftest.i conftest.
$ac_ext
21853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21854 rm -f conftest.i conftest.err conftest.
$ac_ext
21855 if $ac_preproc_ok; then :
21860 ac_cv_prog_CXXCPP
=$CXXCPP
21863 CXXCPP
=$ac_cv_prog_CXXCPP
21865 ac_cv_prog_CXXCPP
=$CXXCPP
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21868 $as_echo "$CXXCPP" >&6; }
21869 ac_preproc_ok
=false
21870 for ac_cxx_preproc_warn_flag
in '' yes
21872 # Use a header file that comes with gcc, so configuring glibc
21873 # with a fresh cross-compiler works.
21874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21875 # <limits.h> exists even on freestanding compilers.
21876 # On the NeXT, cc -E runs the code through the compiler's parser,
21877 # not just through cpp. "Syntax error" is here to catch this case.
21878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21879 /* end confdefs.h. */
21881 # include <limits.h>
21883 # include <assert.h>
21887 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21890 # Broken: fails on valid input.
21893 rm -f conftest.err conftest.i conftest.
$ac_ext
21895 # OK, works on sane cases. Now check whether nonexistent headers
21896 # can be detected and how.
21897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21898 /* end confdefs.h. */
21899 #include <ac_nonexistent.h>
21901 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21902 # Broken: success on invalid input.
21905 # Passes both tests.
21909 rm -f conftest.err conftest.i conftest.
$ac_ext
21912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21913 rm -f conftest.i conftest.err conftest.
$ac_ext
21914 if $ac_preproc_ok; then :
21917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21919 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21920 See \`config.log' for more details" "$LINENO" 5; }
21924 ac_cpp
='$CXXCPP $CPPFLAGS'
21925 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21926 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21927 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21930 for ac_header
in type_traits tr
1/type_traits
21932 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21933 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21934 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21935 cat >>confdefs.h
<<_ACEOF
21936 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21946 if test -n "$GCC"; then
21947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21948 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21949 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21950 $as_echo_n "(cached) " >&6
21953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21954 /* end confdefs.h. */
21960 unsigned int value=0;
21961 /* wxAtomicInc doesn't use return value here */
21962 __sync_fetch_and_add(&value, 2);
21963 __sync_sub_and_fetch(&value, 1);
21964 /* but wxAtomicDec does, so mimic that: */
21965 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21971 if ac_fn_cxx_try_link
"$LINENO"; then :
21972 wx_cv_cc_gcc_atomic_builtins
=yes
21974 wx_cv_cc_gcc_atomic_builtins
=no
21976 rm -f core conftest.err conftest.
$ac_objext \
21977 conftest
$ac_exeext conftest.
$ac_ext
21981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21982 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21983 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21984 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21991 ac_cpp
='$CPP $CPPFLAGS'
21992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21999 /usr/local/include \
22000 /usr/local/X11/include \
22001 /usr/local/include/X11 \
22002 /usr/local/X11R7/include \
22003 /usr/local/X11R6/include \
22004 /usr/local/include/X11R7 \
22005 /usr/local/include/X11R6 \
22007 /usr/Motif-2.1/include \
22008 /usr/Motif-1.2/include \
22009 /usr/include/Motif1.2 \
22012 /usr/openwin/include \
22016 /usr/X11R7/include \
22017 /usr/X11R6/include \
22018 /usr/X11R6.4/include \
22020 /usr/include/X11R7 \
22021 /usr/include/X11R6 \
22026 /usr/XFree86/include/X11 \
22029 /usr/local/X1R5/include \
22030 /usr/local/include/X11R5 \
22031 /usr/X11R5/include \
22032 /usr/include/X11R5 \
22034 /usr/local/X11R4/include \
22035 /usr/local/include/X11R4 \
22036 /usr/X11R4/include \
22037 /usr/include/X11R4 \
22039 /usr/openwin/share/include"
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
22042 $as_echo_n "checking for libraries directories... " >&6; }
22046 if ${wx_cv_std_libpath+:} false
; then :
22047 $as_echo_n "(cached) " >&6
22050 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
22051 for e
in a so sl dylib dll.a
; do
22053 if test -f $libc; then
22056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22057 /* end confdefs.h. */
22059 int main() { return 0; }
22062 if ac_fn_c_try_link
"$LINENO"; then :
22063 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
22065 rm -f core conftest.err conftest.
$ac_objext \
22066 conftest
$ac_exeext conftest.
$ac_ext
22068 if test "x$wx_cv_std_libpath" != "x"; then
22081 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
22082 wx_cv_std_libpath
="lib/64"
22087 if test "$ac_cv_sizeof_void_p" = 8; then
22088 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
22089 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
22090 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
22091 wx_cv_std_libpath
="lib64"
22096 if test -d '/usr/lib/i386-linux-gnu'; then
22097 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
22102 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22103 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
22108 if test -z "$wx_cv_std_libpath"; then
22109 wx_cv_std_libpath
="lib"
22112 if test -z "$wx_cv_std_libfullpath"; then
22113 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22118 $as_echo "$wx_cv_std_libfullpath" >&6; }
22120 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22122 if test "$build" != "$host" -a "$GCC" = yes; then
22123 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22124 cross_root
=`dirname $cross_root`
22125 cross_root
=`dirname $cross_root`
22127 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22128 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22129 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
22131 if test -z "$PKG_CONFIG_PATH"; then
22132 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22133 export PKG_CONFIG_PATH
22136 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22139 for ac_dir
in $SEARCH_INCLUDE /usr
/include
22141 if test -f "$ac_dir/X11/Intrinsic.h"; then
22142 ac_find_includes
=$ac_dir
22147 x_includes
=$ac_find_includes
22149 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22152 for ac_dir
in $SEARCH_LIB
22154 for ac_extension
in a so sl dylib dll.a
; do
22155 if test -f "$ac_dir/libXt.$ac_extension"; then
22156 ac_find_libraries
=$ac_dir
22162 x_libraries
=$ac_find_libraries
22168 cat >confcache
<<\_ACEOF
22169 # This file is a shell script that caches the results of configure
22170 # tests run on this system so they can be shared between configure
22171 # scripts and configure runs, see configure's option --config-cache.
22172 # It is not useful on other systems. If it contains results you don't
22173 # want to keep, you may remove or edit it.
22175 # config.status only pays attention to the cache file if you give it
22176 # the --recheck option to rerun configure.
22178 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22179 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22180 # following values.
22184 # The following way of writing the cache mishandles newlines in values,
22185 # but we know of no workaround that is simple, portable, and efficient.
22186 # So, we kill variables containing newlines.
22187 # Ultrix sh set writes to stderr and can't be redirected directly,
22188 # and sets the high bit in the cache file unless we assign to the vars.
22190 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22191 eval ac_val
=\$
$ac_var
22195 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22196 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22199 _
| IFS
| as_nl
) ;; #(
22200 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22201 *) { eval $ac_var=; unset $ac_var;} ;;
22207 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22208 *${as_nl}ac_space
=\
*)
22209 # `set' does not quote correctly, so add quotes: double-quote
22210 # substitution turns \\\\ into \\, and sed turns \\ into \.
22213 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22216 # `set' quotes correctly as required by POSIX, so do not add quotes.
22217 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22226 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22228 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22230 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22231 if test -w "$cache_file"; then
22232 if test "x$cache_file" != "x/dev/null"; then
22233 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22234 $as_echo "$as_me: updating cache $cache_file" >&6;}
22235 if test ! -f "$cache_file" || test -h "$cache_file"; then
22236 cat confcache
>"$cache_file"
22238 case $cache_file in #(
22240 mv -f confcache
"$cache_file"$$
&&
22241 mv -f "$cache_file"$$
"$cache_file" ;; #(
22243 mv -f confcache
"$cache_file" ;;
22248 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22249 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22258 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22259 if test "x$ac_cv_func_cos" = xyes
; then :
22260 cat >>confdefs.h
<<_ACEOF
22267 for ac_func
in floor
22269 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22270 if test "x$ac_cv_func_floor" = xyes
; then :
22271 cat >>confdefs.h
<<_ACEOF
22272 #define HAVE_FLOOR 1
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22279 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22280 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22282 $as_echo "yes" >&6; }
22284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22285 $as_echo "no" >&6; }
22287 # use different functions to avoid configure caching
22292 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22293 if test "x$ac_cv_func_sin" = xyes
; then :
22294 cat >>confdefs.h
<<_ACEOF
22301 for ac_func
in ceil
22303 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22304 if test "x$ac_cv_func_ceil" = xyes
; then :
22305 cat >>confdefs.h
<<_ACEOF
22306 #define HAVE_CEIL 1
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22313 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22314 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22316 $as_echo "yes" >&6; }
22318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22319 $as_echo "no" >&6; }
22320 # not sure we should warn the user, crash, etc.
22325 ac_cpp
='$CXXCPP $CPPFLAGS'
22326 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22327 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22328 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22330 if test "wxUSE_UNICODE" = "yes"; then
22332 for wx_func
in wcstoull
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22335 $as_echo_n "checking for $wx_func... " >&6; }
22336 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22337 $as_echo_n "(cached) " >&6
22340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22341 /* end confdefs.h. */
22345 $ac_includes_default
22361 if ac_fn_cxx_try_link
"$LINENO"; then :
22362 eval wx_cv_func_
$wx_func=yes
22364 eval wx_cv_func_
$wx_func=no
22366 rm -f core conftest.err conftest.
$ac_objext \
22367 conftest
$ac_exeext conftest.
$ac_ext
22370 eval ac_res
=\
$wx_cv_func_$wx_func
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22372 $as_echo "$ac_res" >&6; }
22374 if eval test \
$wx_cv_func_$wx_func = yes
22376 cat >>confdefs.h
<<_ACEOF
22377 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22389 for wx_func
in strtoull
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22392 $as_echo_n "checking for $wx_func... " >&6; }
22393 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22394 $as_echo_n "(cached) " >&6
22397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22398 /* end confdefs.h. */
22402 $ac_includes_default
22418 if ac_fn_cxx_try_link
"$LINENO"; then :
22419 eval wx_cv_func_
$wx_func=yes
22421 eval wx_cv_func_
$wx_func=no
22423 rm -f core conftest.err conftest.
$ac_objext \
22424 conftest
$ac_exeext conftest.
$ac_ext
22427 eval ac_res
=\
$wx_cv_func_$wx_func
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22429 $as_echo "$ac_res" >&6; }
22431 if eval test \
$wx_cv_func_$wx_func = yes
22433 cat >>confdefs.h
<<_ACEOF
22434 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22446 ac_cpp
='$CPP $CPPFLAGS'
22447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22454 if test "$wxUSE_REGEX" != "no"; then
22455 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22458 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22460 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22461 wxUSE_REGEX
=builtin
22464 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22465 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22467 if test "x$ac_cv_header_regex_h" = xyes
; then :
22468 for ac_func
in regcomp re_search
22470 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22471 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22472 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22473 cat >>confdefs.h
<<_ACEOF
22474 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22484 if test "x$ac_cv_func_regcomp" != "xyes"; then
22485 if test "$wxUSE_REGEX" = "sys" ; then
22486 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22489 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22490 wxUSE_REGEX
=builtin
22494 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22502 if test "$wxUSE_ZLIB" != "no" ; then
22503 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22506 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22507 if test "$USE_DARWIN" = 1; then
22508 system_zlib_h_ok
="yes"
22510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22511 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22512 if ${ac_cv_header_zlib_h+:} false
; then :
22513 $as_echo_n "(cached) " >&6
22515 if test "$cross_compiling" = yes; then :
22516 unset ac_cv_header_zlib_h
22519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22520 /* end confdefs.h. */
22527 FILE *f=fopen("conftestval", "w");
22530 ZLIB_VERSION[0] == '1' &&
22531 (ZLIB_VERSION[2] > '1' ||
22532 (ZLIB_VERSION[2] == '1' &&
22533 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22538 if ac_fn_c_try_run
"$LINENO"; then :
22539 ac_cv_header_zlib_h
=`cat conftestval`
22541 ac_cv_header_zlib_h
=no
22543 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22544 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22550 $as_echo "$ac_cv_header_zlib_h" >&6; }
22551 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22553 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22559 system_zlib_h_ok
=$ac_cv_header_zlib_h
22562 if test "$system_zlib_h_ok" = "yes"; then
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22564 $as_echo_n "checking for deflate in -lz... " >&6; }
22565 if ${ac_cv_lib_z_deflate+:} false
; then :
22566 $as_echo_n "(cached) " >&6
22568 ac_check_lib_save_LIBS
=$LIBS
22570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22571 /* end confdefs.h. */
22573 /* Override any GCC internal prototype to avoid an error.
22574 Use char because int might match the return type of a GCC
22575 builtin and then its argument prototype would still apply. */
22588 if ac_fn_c_try_link
"$LINENO"; then :
22589 ac_cv_lib_z_deflate
=yes
22591 ac_cv_lib_z_deflate
=no
22593 rm -f core conftest.err conftest.
$ac_objext \
22594 conftest
$ac_exeext conftest.
$ac_ext
22595 LIBS
=$ac_check_lib_save_LIBS
22597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22598 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22599 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22605 if test "x$ZLIB_LINK" = "x" ; then
22606 if test "$wxUSE_ZLIB" = "sys" ; then
22607 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22610 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22621 if test "$wxUSE_LIBPNG" != "no" ; then
22622 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22625 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22627 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22628 wxUSE_LIBPNG
=builtin
22631 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22633 $as_echo_n "checking for png.h > 0.90... " >&6; }
22634 if ${ac_cv_header_png_h+:} false
; then :
22635 $as_echo_n "(cached) " >&6
22637 if test "$cross_compiling" = yes; then :
22638 unset ac_cv_header_png_h
22641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22642 /* end confdefs.h. */
22649 FILE *f=fopen("conftestval", "w");
22652 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22657 if ac_fn_c_try_run
"$LINENO"; then :
22658 ac_cv_header_png_h
=`cat conftestval`
22660 ac_cv_header_png_h
=no
22662 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22663 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22669 $as_echo "$ac_cv_header_png_h" >&6; }
22670 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22672 if test "x$ac_cv_header_png_h" = xyes
; then :
22678 if test "$ac_cv_header_png_h" = "yes"; then
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22680 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22681 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22682 $as_echo_n "(cached) " >&6
22684 ac_check_lib_save_LIBS
=$LIBS
22685 LIBS
="-lpng -lz -lm $LIBS"
22686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22687 /* end confdefs.h. */
22689 /* Override any GCC internal prototype to avoid an error.
22690 Use char because int might match the return type of a GCC
22691 builtin and then its argument prototype would still apply. */
22695 char png_sig_cmp ();
22699 return png_sig_cmp ();
22704 if ac_fn_c_try_link
"$LINENO"; then :
22705 ac_cv_lib_png_png_sig_cmp
=yes
22707 ac_cv_lib_png_png_sig_cmp
=no
22709 rm -f core conftest.err conftest.
$ac_objext \
22710 conftest
$ac_exeext conftest.
$ac_ext
22711 LIBS
=$ac_check_lib_save_LIBS
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22714 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22715 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22716 PNG_LINK
=" -lpng -lz"
22721 if test "x$PNG_LINK" = "x" ; then
22722 if test "$wxUSE_LIBPNG" = "sys" ; then
22723 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22726 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22727 wxUSE_LIBPNG
=builtin
22737 if test "$wxUSE_LIBJPEG" != "no" ; then
22738 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22741 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22743 $as_echo_n "checking for jpeglib.h... " >&6; }
22744 if ${ac_cv_header_jpeglib_h+:} false
; then :
22745 $as_echo_n "(cached) " >&6
22747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22748 /* end confdefs.h. */
22750 #undef HAVE_STDLIB_H
22752 #include <jpeglib.h>
22763 if ac_fn_c_try_compile
"$LINENO"; then :
22764 ac_cv_header_jpeglib_h
=yes
22766 ac_cv_header_jpeglib_h
=no
22769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22774 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22776 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22778 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22779 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22780 $as_echo_n "(cached) " >&6
22782 ac_check_lib_save_LIBS
=$LIBS
22783 LIBS
="-ljpeg $LIBS"
22784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22785 /* end confdefs.h. */
22787 /* Override any GCC internal prototype to avoid an error.
22788 Use char because int might match the return type of a GCC
22789 builtin and then its argument prototype would still apply. */
22793 char jpeg_read_header ();
22797 return jpeg_read_header ();
22802 if ac_fn_c_try_link
"$LINENO"; then :
22803 ac_cv_lib_jpeg_jpeg_read_header
=yes
22805 ac_cv_lib_jpeg_jpeg_read_header
=no
22807 rm -f core conftest.err conftest.
$ac_objext \
22808 conftest
$ac_exeext conftest.
$ac_ext
22809 LIBS
=$ac_check_lib_save_LIBS
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22812 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22813 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22814 JPEG_LINK
=" -ljpeg"
22819 if test "x$JPEG_LINK" = "x" ; then
22820 if test "$wxUSE_LIBJPEG" = "sys" ; then
22821 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22824 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22825 wxUSE_LIBJPEG
=builtin
22830 if test "$wxUSE_MSW" = 1; then
22831 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22833 if test "x$ac_cv_type_boolean" = xyes
; then :
22835 cat >>confdefs.h
<<_ACEOF
22836 #define HAVE_BOOLEAN 1
22840 # The cast to long int works around a bug in the HP C Compiler
22841 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22842 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22843 # This bug is HP SR number 8606223364.
22844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22845 $as_echo_n "checking size of boolean... " >&6; }
22846 if ${ac_cv_sizeof_boolean+:} false
; then :
22847 $as_echo_n "(cached) " >&6
22849 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22850 #undef HAVE_BOOLEAN
22852 #include <jpeglib.h>
22857 if test "$ac_cv_type_boolean" = yes; then
22858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22860 as_fn_error
77 "cannot compute sizeof (boolean)
22861 See \`config.log' for more details" "$LINENO" 5; }
22863 ac_cv_sizeof_boolean
=0
22868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22869 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22873 cat >>confdefs.h
<<_ACEOF
22874 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22878 cat >>confdefs.h
<<_ACEOF
22879 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22892 TIFF_PREREQ_LINKS
=-lm
22893 if test "$wxUSE_LIBTIFF" != "no" ; then
22894 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22897 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22898 if test "$wxUSE_LIBJPEG" = "sys"; then
22899 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22901 if test "$wxUSE_ZLIB" = "sys"; then
22902 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22904 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22907 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22910 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22911 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22912 $as_echo_n "(cached) " >&6
22914 ac_check_lib_save_LIBS
=$LIBS
22915 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22917 /* end confdefs.h. */
22919 /* Override any GCC internal prototype to avoid an error.
22920 Use char because int might match the return type of a GCC
22921 builtin and then its argument prototype would still apply. */
22929 return TIFFError ();
22934 if ac_fn_c_try_link
"$LINENO"; then :
22935 ac_cv_lib_tiff_TIFFError
=yes
22937 ac_cv_lib_tiff_TIFFError
=no
22939 rm -f core conftest.err conftest.
$ac_objext \
22940 conftest
$ac_exeext conftest.
$ac_ext
22941 LIBS
=$ac_check_lib_save_LIBS
22943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22944 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22945 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22946 TIFF_LINK
=" -ltiff"
22954 if test "x$TIFF_LINK" = "x" ; then
22955 if test "$wxUSE_LIBTIFF" = "sys" ; then
22956 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22959 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22960 wxUSE_LIBTIFF
=builtin
22966 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22967 if test "$wxUSE_LIBJPEG" = "no"; then
22968 ac_configure_args
="$ac_configure_args --disable-jpeg"
22971 if test "$wxUSE_LIBLZMA" = "yes"; then
22972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22973 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22974 if ${ac_cv_lib_lzma_lzma_code+:} false
; then :
22975 $as_echo_n "(cached) " >&6
22977 ac_check_lib_save_LIBS
=$LIBS
22978 LIBS
="-llzma $LIBS"
22979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22980 /* end confdefs.h. */
22982 /* Override any GCC internal prototype to avoid an error.
22983 Use char because int might match the return type of a GCC
22984 builtin and then its argument prototype would still apply. */
22992 return lzma_code ();
22997 if ac_fn_c_try_link
"$LINENO"; then :
22998 ac_cv_lib_lzma_lzma_code
=yes
23000 ac_cv_lib_lzma_lzma_code
=no
23002 rm -f core conftest.err conftest.
$ac_objext \
23003 conftest
$ac_exeext conftest.
$ac_ext
23004 LIBS
=$ac_check_lib_save_LIBS
23006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
23007 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
23008 if test "x$ac_cv_lib_lzma_lzma_code" = xyes
; then :
23009 LIBS
="$LIBS -llzma"
23013 ac_configure_args
="$ac_configure_args --disable-lzma"
23016 if test "$wxUSE_LIBJBIG" = "yes"; then
23017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
23018 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
23019 if ${ac_cv_lib_jbig_jbg_dec_init+:} false
; then :
23020 $as_echo_n "(cached) " >&6
23022 ac_check_lib_save_LIBS
=$LIBS
23023 LIBS
="-ljbig $LIBS"
23024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23025 /* end confdefs.h. */
23027 /* Override any GCC internal prototype to avoid an error.
23028 Use char because int might match the return type of a GCC
23029 builtin and then its argument prototype would still apply. */
23033 char jbg_dec_init ();
23037 return jbg_dec_init ();
23042 if ac_fn_c_try_link
"$LINENO"; then :
23043 ac_cv_lib_jbig_jbg_dec_init
=yes
23045 ac_cv_lib_jbig_jbg_dec_init
=no
23047 rm -f core conftest.err conftest.
$ac_objext \
23048 conftest
$ac_exeext conftest.
$ac_ext
23049 LIBS
=$ac_check_lib_save_LIBS
23051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
23052 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
23053 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes
; then :
23054 LIBS
="$LIBS -ljbig"
23058 ac_configure_args
="$ac_configure_args --disable-jbig"
23063 subdirs
="$subdirs src/tiff"
23069 if test "$wxUSE_EXPAT" != "no"; then
23071 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
23073 $as_echo "#define wxUSE_XML 1" >>confdefs.h
23076 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
23077 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
23079 if test "x$ac_cv_header_expat_h" = xyes
; then :
23084 if test "x$found_expat_h" = "x1"; then
23085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
23086 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
23087 if ${wx_cv_expat_is_not_broken+:} false
; then :
23088 $as_echo_n "(cached) " >&6
23092 ac_cpp
='$CXXCPP $CPPFLAGS'
23093 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23094 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23095 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23098 /* end confdefs.h. */
23108 if ac_fn_cxx_try_compile
"$LINENO"; then :
23109 wx_cv_expat_is_not_broken
=yes
23111 wx_cv_expat_is_not_broken
=no
23114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23116 ac_cpp
='$CPP $CPPFLAGS'
23117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23125 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23126 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23128 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23129 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
23130 $as_echo_n "(cached) " >&6
23132 ac_check_lib_save_LIBS
=$LIBS
23133 LIBS
="-lexpat $LIBS"
23134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23135 /* end confdefs.h. */
23137 /* Override any GCC internal prototype to avoid an error.
23138 Use char because int might match the return type of a GCC
23139 builtin and then its argument prototype would still apply. */
23143 char XML_ParserCreate ();
23147 return XML_ParserCreate ();
23152 if ac_fn_c_try_link
"$LINENO"; then :
23153 ac_cv_lib_expat_XML_ParserCreate
=yes
23155 ac_cv_lib_expat_XML_ParserCreate
=no
23157 rm -f core conftest.err conftest.
$ac_objext \
23158 conftest
$ac_exeext conftest.
$ac_ext
23159 LIBS
=$ac_check_lib_save_LIBS
23161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23162 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23163 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
23164 EXPAT_LINK
=" -lexpat"
23169 if test "x$EXPAT_LINK" = "x" ; then
23170 if test "$wxUSE_EXPAT" = "sys" ; then
23171 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23174 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23175 wxUSE_EXPAT
=builtin
23181 if test "$wxUSE_EXPAT" = "builtin" ; then
23182 subdirs
="$subdirs src/expat"
23189 if test "$wxUSE_LIBMSPACK" != "no"; then
23190 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23192 if test "x$ac_cv_header_mspack_h" = xyes
; then :
23197 if test "x$found_mspack_h" = "x1"; then
23198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23199 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23200 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
23201 $as_echo_n "(cached) " >&6
23203 ac_check_lib_save_LIBS
=$LIBS
23204 LIBS
="-lmspack $LIBS"
23205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23206 /* end confdefs.h. */
23208 /* Override any GCC internal prototype to avoid an error.
23209 Use char because int might match the return type of a GCC
23210 builtin and then its argument prototype would still apply. */
23214 char mspack_create_chm_decompressor ();
23218 return mspack_create_chm_decompressor ();
23223 if ac_fn_c_try_link
"$LINENO"; then :
23224 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23226 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23228 rm -f core conftest.err conftest.
$ac_objext \
23229 conftest
$ac_exeext conftest.
$ac_ext
23230 LIBS
=$ac_check_lib_save_LIBS
23232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23233 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23234 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
23235 MSPACK_LINK
=" -lmspack"
23239 if test "x$MSPACK_LINK" = "x" ; then
23244 if test "$wxUSE_LIBMSPACK" != "no"; then
23245 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23258 if test "$USE_WIN32" = 1 ; then
23259 for ac_header
in w32api.h
23261 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23263 if test "x$ac_cv_header_w32api_h" = xyes
; then :
23264 cat >>confdefs.h
<<_ACEOF
23265 #define HAVE_W32API_H 1
23272 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
23274 if test "x$ac_cv_header_windows_h" = xyes
; then :
23278 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23284 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23286 x86_64
-*-mingw32* )
23287 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
23290 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23291 LIBS
="$LIBS -loleacc"
23296 LIBS
="$LIBS -lkernel32 -luser32"
23299 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23300 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
23302 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23304 WIN32INSTALL
=win32install
23307 if test "$wxUSE_GUI" = "yes"; then
23318 if test "$wxUSE_OLD_COCOA" = 1 ; then
23319 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23321 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23322 wxUSE_PRINTING_ARCHITECTURE
=no
23324 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23326 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23327 wxUSE_DRAG_AND_DROP
=no
23329 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23331 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23336 if test "$wxUSE_MSW" = 1 ; then
23342 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23346 if test "$wxUSE_GTK" = 1; then
23347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23348 $as_echo_n "checking for GTK+ version... " >&6; }
23350 gtk_version_cached
=1
23351 if ${wx_cv_lib_gtk+:} false
; then :
23352 $as_echo_n "(cached) " >&6
23355 gtk_version_cached
=0
23356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23360 if test "$wxUSE_THREADS" = "yes"; then
23361 GTK_MODULES
=gthread
23364 if test -z "$wxGTK_VERSION"; then
23369 if test "x$wxGTK_VERSION" != "x1"
23373 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23378 if test "$wxGTK_VERSION" != 3; then
23379 # Check whether --enable-gtktest was given.
23380 if test "${enable_gtktest+set}" = set; then :
23381 enableval
=$enable_gtktest;
23387 pkg_config_args
=gtk
+-2.0
23388 for module
in .
$GTK_MODULES
23392 pkg_config_args
="$pkg_config_args gthread-2.0"
23399 # Extract the first word of "pkg-config", so it can be a program name with args.
23400 set dummy pkg
-config; ac_word
=$2
23401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23402 $as_echo_n "checking for $ac_word... " >&6; }
23403 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23404 $as_echo_n "(cached) " >&6
23406 case $PKG_CONFIG in
23408 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23412 for as_dir
in $PATH
23415 test -z "$as_dir" && as_dir
=.
23416 for ac_exec_ext
in '' $ac_executable_extensions; do
23417 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23418 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23426 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23430 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23431 if test -n "$PKG_CONFIG"; then
23432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23433 $as_echo "$PKG_CONFIG" >&6; }
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23436 $as_echo "no" >&6; }
23441 if test x
$PKG_CONFIG != xno
; then
23442 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23445 echo "*** pkg-config too old; version 0.7 or better required."
23453 min_gtk_version
=2.6.0
23454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23455 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23457 if test x
$PKG_CONFIG != xno
; then
23458 ## don't try to run the test against uninstalled libtool libs
23459 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23460 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23464 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23471 if test x
"$no_gtk" = x
; then
23472 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23473 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23474 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23476 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23477 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23478 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23479 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23480 if test "x$enable_gtktest" = "xyes" ; then
23481 ac_save_CFLAGS
="$CFLAGS"
23482 ac_save_LIBS
="$LIBS"
23483 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23484 LIBS
="$GTK_LIBS $LIBS"
23486 if test "$cross_compiling" = yes; then :
23487 echo $ac_n "cross compiling; assumed OK... $ac_c"
23489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23490 /* end confdefs.h. */
23492 #include <gtk/gtk.h>
23494 #include <stdlib.h>
23499 int major, minor, micro;
23502 system ("touch conf.gtktest");
23504 /* HP/UX 9 (%@#!) writes to sscanf strings */
23505 tmp_version = g_strdup("$min_gtk_version");
23506 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23507 printf("%s, bad version string\n", "$min_gtk_version");
23511 if ((gtk_major_version != $gtk_config_major_version) ||
23512 (gtk_minor_version != $gtk_config_minor_version) ||
23513 (gtk_micro_version != $gtk_config_micro_version))
23515 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23516 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23517 gtk_major_version, gtk_minor_version, gtk_micro_version);
23518 printf ("*** was found! If pkg-config was correct, then it is best\n");
23519 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23520 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23521 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23522 printf("*** required on your system.\n");
23523 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23524 printf("*** to point to the correct configuration files\n");
23526 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23527 (gtk_minor_version != GTK_MINOR_VERSION) ||
23528 (gtk_micro_version != GTK_MICRO_VERSION))
23530 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23531 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23532 printf("*** library (version %d.%d.%d)\n",
23533 gtk_major_version, gtk_minor_version, gtk_micro_version);
23537 if ((gtk_major_version > major) ||
23538 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23539 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23545 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23546 gtk_major_version, gtk_minor_version, gtk_micro_version);
23547 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23548 major, minor, micro);
23549 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23551 printf("*** If you have already installed a sufficiently new version, this error\n");
23552 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23553 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23554 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23555 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23556 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23557 printf("*** so that the correct libraries are found at run-time))\n");
23564 if ac_fn_c_try_run
"$LINENO"; then :
23569 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23570 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23573 CFLAGS
="$ac_save_CFLAGS"
23574 LIBS
="$ac_save_LIBS"
23577 if test "x$no_gtk" = x
; then
23578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23579 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23583 $as_echo "no" >&6; }
23584 if test "$PKG_CONFIG" = "no" ; then
23585 echo "*** A new enough version of pkg-config was not found."
23586 echo "*** See http://pkgconfig.sourceforge.net"
23588 if test -f conf.gtktest
; then
23591 echo "*** Could not run GTK+ test program, checking why..."
23592 ac_save_CFLAGS
="$CFLAGS"
23593 ac_save_LIBS
="$LIBS"
23594 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23595 LIBS
="$LIBS $GTK_LIBS"
23596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23597 /* end confdefs.h. */
23599 #include <gtk/gtk.h>
23605 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23610 if ac_fn_c_try_link
"$LINENO"; then :
23611 echo "*** The test program compiled, but did not run. This usually means"
23612 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23613 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23614 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23615 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23616 echo "*** is required on your system"
23618 echo "*** If you have an old version installed, it is best to remove it, although"
23619 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23621 echo "*** The test program failed to compile or link. See the file config.log for the"
23622 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23624 rm -f core conftest.err conftest.
$ac_objext \
23625 conftest
$ac_exeext conftest.
$ac_ext
23626 CFLAGS
="$ac_save_CFLAGS"
23627 LIBS
="$ac_save_LIBS"
23639 if test -z "$wx_cv_lib_gtk"; then
23640 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23641 # Check whether --enable-gtktest was given.
23642 if test "${enable_gtktest+set}" = set; then :
23643 enableval
=$enable_gtktest;
23649 pkg_gtk_version
=gtk
+-3.0
23650 pkg_config_args
=$pkg_gtk_version
23651 for module
in .
$GTK_MODULES
23655 pkg_gthread_version
=gthread
-2.0
23656 pkg_config_args
="$pkg_config_args $pkg_gthread_version"
23663 # Extract the first word of "pkg-config", so it can be a program name with args.
23664 set dummy pkg
-config; ac_word
=$2
23665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23666 $as_echo_n "checking for $ac_word... " >&6; }
23667 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23668 $as_echo_n "(cached) " >&6
23670 case $PKG_CONFIG in
23672 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23676 for as_dir
in $PATH
23679 test -z "$as_dir" && as_dir
=.
23680 for ac_exec_ext
in '' $ac_executable_extensions; do
23681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23682 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23690 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23694 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23695 if test -n "$PKG_CONFIG"; then
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23697 $as_echo "$PKG_CONFIG" >&6; }
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23700 $as_echo "no" >&6; }
23705 if test x
$PKG_CONFIG != xno
; then
23706 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23709 echo "*** pkg-config too old; version 0.7 or better required."
23717 min_gtk_version
=3.0.0
23718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23719 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23721 if test x
$PKG_CONFIG != xno
; then
23722 ## don't try to run the test against uninstalled libtool libs
23723 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23724 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23727 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23734 if test x
"$no_gtk" = x
; then
23735 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23736 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23737 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23739 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23740 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23741 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23742 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23743 if test "x$enable_gtktest" = "xyes" ; then
23744 ac_save_CFLAGS
="$CFLAGS"
23745 ac_save_LIBS
="$LIBS"
23746 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23747 LIBS
="$GTK_LIBS $LIBS"
23749 if test "$cross_compiling" = yes; then :
23750 echo $ac_n "cross compiling; assumed OK... $ac_c"
23752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23753 /* end confdefs.h. */
23755 #include <gtk/gtk.h>
23757 #include <stdlib.h>
23762 int major, minor, micro;
23765 fclose (fopen ("conf.gtktest", "w"));
23767 /* HP/UX 9 (%@#!) writes to sscanf strings */
23768 tmp_version = g_strdup("$min_gtk_version");
23769 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23770 printf("%s, bad version string\n", "$min_gtk_version");
23774 if ((gtk_major_version != $gtk_config_major_version) ||
23775 (gtk_minor_version != $gtk_config_minor_version) ||
23776 (gtk_micro_version != $gtk_config_micro_version))
23778 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23779 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23780 gtk_major_version, gtk_minor_version, gtk_micro_version);
23781 printf ("*** was found! If pkg-config was correct, then it is best\n");
23782 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23783 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23784 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23785 printf("*** required on your system.\n");
23786 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23787 printf("*** to point to the correct configuration files\n");
23789 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23790 (gtk_minor_version != GTK_MINOR_VERSION) ||
23791 (gtk_micro_version != GTK_MICRO_VERSION))
23793 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23794 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23795 printf("*** library (version %d.%d.%d)\n",
23796 gtk_major_version, gtk_minor_version, gtk_micro_version);
23800 if ((gtk_major_version > major) ||
23801 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23802 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23808 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23809 gtk_major_version, gtk_minor_version, gtk_micro_version);
23810 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23811 major, minor, micro);
23812 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23814 printf("*** If you have already installed a sufficiently new version, this error\n");
23815 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23816 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23817 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23818 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23819 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23820 printf("*** so that the correct libraries are found at run-time))\n");
23827 if ac_fn_c_try_run
"$LINENO"; then :
23832 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23833 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23836 CFLAGS
="$ac_save_CFLAGS"
23837 LIBS
="$ac_save_LIBS"
23840 if test "x$no_gtk" = x
; then
23841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23842 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23846 $as_echo "no" >&6; }
23847 if test "$PKG_CONFIG" = "no" ; then
23848 echo "*** A new enough version of pkg-config was not found."
23849 echo "*** See http://pkgconfig.sourceforge.net"
23851 if test -f conf.gtktest
; then
23854 echo "*** Could not run GTK+ test program, checking why..."
23855 ac_save_CFLAGS
="$CFLAGS"
23856 ac_save_LIBS
="$LIBS"
23857 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23858 LIBS
="$LIBS $GTK_LIBS"
23859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23860 /* end confdefs.h. */
23862 #include <gtk/gtk.h>
23868 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23873 if ac_fn_c_try_link
"$LINENO"; then :
23874 echo "*** The test program compiled, but did not run. This usually means"
23875 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23876 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23877 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23878 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23879 echo "*** is required on your system"
23881 echo "*** If you have an old version installed, it is best to remove it, although"
23882 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23884 echo "*** The test program failed to compile or link. See the file config.log for the"
23885 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23887 rm -f core conftest.err conftest.
$ac_objext \
23888 conftest
$ac_exeext conftest.
$ac_ext
23889 CFLAGS
="$ac_save_CFLAGS"
23890 LIBS
="$ac_save_LIBS"
23905 if test -z "$wx_cv_lib_gtk"; then
23906 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23908 # Check whether --with-gtk-prefix was given.
23909 if test "${with_gtk_prefix+set}" = set; then :
23910 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23912 gtk_config_prefix
=""
23916 # Check whether --with-gtk-exec-prefix was given.
23917 if test "${with_gtk_exec_prefix+set}" = set; then :
23918 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23920 gtk_config_exec_prefix
=""
23923 # Check whether --enable-gtktest was given.
23924 if test "${enable_gtktest+set}" = set; then :
23925 enableval
=$enable_gtktest;
23931 for module
in .
$GTK_MODULES
23935 gtk_config_args
="$gtk_config_args gthread"
23940 if test x
$gtk_config_exec_prefix != x
; then
23941 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23942 if test x
${GTK_CONFIG+set} != xset
; then
23943 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23946 if test x
$gtk_config_prefix != x
; then
23947 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23948 if test x
${GTK_CONFIG+set} != xset
; then
23949 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23953 # Extract the first word of "gtk-config", so it can be a program name with args.
23954 set dummy gtk
-config; ac_word
=$2
23955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23956 $as_echo_n "checking for $ac_word... " >&6; }
23957 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23958 $as_echo_n "(cached) " >&6
23960 case $GTK_CONFIG in
23962 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23966 for as_dir
in $PATH
23969 test -z "$as_dir" && as_dir
=.
23970 for ac_exec_ext
in '' $ac_executable_extensions; do
23971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23972 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23980 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23984 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23985 if test -n "$GTK_CONFIG"; then
23986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23987 $as_echo "$GTK_CONFIG" >&6; }
23989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23990 $as_echo "no" >&6; }
23994 min_gtk_version
=1.2.7
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23996 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23998 if test "$GTK_CONFIG" = "no" ; then
24001 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24002 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24003 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24004 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24005 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24007 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24008 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24009 if test "x$enable_gtktest" = "xyes" ; then
24010 ac_save_CFLAGS
="$CFLAGS"
24011 ac_save_LIBS
="$LIBS"
24012 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24013 LIBS
="$GTK_LIBS $LIBS"
24015 if test "$cross_compiling" = yes; then :
24016 echo $ac_n "cross compiling; assumed OK... $ac_c"
24018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24019 /* end confdefs.h. */
24021 #include <gtk/gtk.h>
24023 #include <stdlib.h>
24028 int major, minor, micro;
24031 system ("touch conf.gtktest");
24033 /* HP/UX 9 (%@#!) writes to sscanf strings */
24034 tmp_version = g_strdup("$min_gtk_version");
24035 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24036 printf("%s, bad version string\n", "$min_gtk_version");
24040 if ((gtk_major_version != $gtk_config_major_version) ||
24041 (gtk_minor_version != $gtk_config_minor_version) ||
24042 (gtk_micro_version != $gtk_config_micro_version))
24044 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24045 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24046 gtk_major_version, gtk_minor_version, gtk_micro_version);
24047 printf ("*** was found! If gtk-config was correct, then it is best\n");
24048 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24049 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24050 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24051 printf("*** required on your system.\n");
24052 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24053 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24054 printf("*** before re-running configure\n");
24056 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24057 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24058 (gtk_minor_version != GTK_MINOR_VERSION) ||
24059 (gtk_micro_version != GTK_MICRO_VERSION))
24061 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24062 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24063 printf("*** library (version %d.%d.%d)\n",
24064 gtk_major_version, gtk_minor_version, gtk_micro_version);
24066 #endif /* defined (GTK_MAJOR_VERSION) ... */
24069 if ((gtk_major_version > major) ||
24070 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24071 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24077 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24078 gtk_major_version, gtk_minor_version, gtk_micro_version);
24079 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24080 major, minor, micro);
24081 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24083 printf("*** If you have already installed a sufficiently new version, this error\n");
24084 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24085 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24086 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24087 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24088 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24089 printf("*** so that the correct libraries are found at run-time))\n");
24096 if ac_fn_c_try_run
"$LINENO"; then :
24101 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24102 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24105 CFLAGS
="$ac_save_CFLAGS"
24106 LIBS
="$ac_save_LIBS"
24109 if test "x$no_gtk" = x
; then
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24111 $as_echo "yes" >&6; }
24112 wx_cv_lib_gtk
=1.2.7
24114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24115 $as_echo "no" >&6; }
24116 if test "$GTK_CONFIG" = "no" ; then
24117 echo "*** The gtk-config script installed by GTK could not be found"
24118 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24119 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24120 echo "*** full path to gtk-config."
24122 if test -f conf.gtktest
; then
24125 echo "*** Could not run GTK test program, checking why..."
24126 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24127 LIBS
="$LIBS $GTK_LIBS"
24128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24129 /* end confdefs.h. */
24131 #include <gtk/gtk.h>
24137 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24142 if ac_fn_c_try_link
"$LINENO"; then :
24143 echo "*** The test program compiled, but did not run. This usually means"
24144 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24145 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24146 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24147 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24148 echo "*** is required on your system"
24150 echo "*** If you have an old version installed, it is best to remove it, although"
24151 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24153 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24154 echo "*** came with the system with the command"
24156 echo "*** rpm --erase --nodeps gtk gtk-devel"
24158 echo "*** The test program failed to compile or link. See the file config.log for the"
24159 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24160 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24161 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24163 rm -f core conftest.err conftest.
$ac_objext \
24164 conftest
$ac_exeext conftest.
$ac_ext
24165 CFLAGS
="$ac_save_CFLAGS"
24166 LIBS
="$ac_save_LIBS"
24178 if test -z "$wx_cv_lib_gtk"; then
24180 # Check whether --with-gtk-prefix was given.
24181 if test "${with_gtk_prefix+set}" = set; then :
24182 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
24184 gtk_config_prefix
=""
24188 # Check whether --with-gtk-exec-prefix was given.
24189 if test "${with_gtk_exec_prefix+set}" = set; then :
24190 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
24192 gtk_config_exec_prefix
=""
24195 # Check whether --enable-gtktest was given.
24196 if test "${enable_gtktest+set}" = set; then :
24197 enableval
=$enable_gtktest;
24203 for module
in .
$GTK_MODULES
24207 gtk_config_args
="$gtk_config_args gthread"
24212 if test x
$gtk_config_exec_prefix != x
; then
24213 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24214 if test x
${GTK_CONFIG+set} != xset
; then
24215 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24218 if test x
$gtk_config_prefix != x
; then
24219 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24220 if test x
${GTK_CONFIG+set} != xset
; then
24221 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24225 # Extract the first word of "gtk-config", so it can be a program name with args.
24226 set dummy gtk
-config; ac_word
=$2
24227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24228 $as_echo_n "checking for $ac_word... " >&6; }
24229 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
24230 $as_echo_n "(cached) " >&6
24232 case $GTK_CONFIG in
24234 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24238 for as_dir
in $PATH
24241 test -z "$as_dir" && as_dir
=.
24242 for ac_exec_ext
in '' $ac_executable_extensions; do
24243 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24244 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24252 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24256 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24257 if test -n "$GTK_CONFIG"; then
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24259 $as_echo "$GTK_CONFIG" >&6; }
24261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24262 $as_echo "no" >&6; }
24266 min_gtk_version
=1.2.3
24267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24268 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24270 if test "$GTK_CONFIG" = "no" ; then
24273 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24274 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24275 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24276 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24277 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24278 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24279 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24280 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24281 if test "x$enable_gtktest" = "xyes" ; then
24282 ac_save_CFLAGS
="$CFLAGS"
24283 ac_save_LIBS
="$LIBS"
24284 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24285 LIBS
="$GTK_LIBS $LIBS"
24287 if test "$cross_compiling" = yes; then :
24288 echo $ac_n "cross compiling; assumed OK... $ac_c"
24290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24291 /* end confdefs.h. */
24293 #include <gtk/gtk.h>
24295 #include <stdlib.h>
24300 int major, minor, micro;
24303 system ("touch conf.gtktest");
24305 /* HP/UX 9 (%@#!) writes to sscanf strings */
24306 tmp_version = g_strdup("$min_gtk_version");
24307 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24308 printf("%s, bad version string\n", "$min_gtk_version");
24312 if ((gtk_major_version != $gtk_config_major_version) ||
24313 (gtk_minor_version != $gtk_config_minor_version) ||
24314 (gtk_micro_version != $gtk_config_micro_version))
24316 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24317 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24318 gtk_major_version, gtk_minor_version, gtk_micro_version);
24319 printf ("*** was found! If gtk-config was correct, then it is best\n");
24320 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24321 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24322 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24323 printf("*** required on your system.\n");
24324 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24325 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24326 printf("*** before re-running configure\n");
24328 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24329 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24330 (gtk_minor_version != GTK_MINOR_VERSION) ||
24331 (gtk_micro_version != GTK_MICRO_VERSION))
24333 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24334 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24335 printf("*** library (version %d.%d.%d)\n",
24336 gtk_major_version, gtk_minor_version, gtk_micro_version);
24338 #endif /* defined (GTK_MAJOR_VERSION) ... */
24341 if ((gtk_major_version > major) ||
24342 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24343 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24349 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24350 gtk_major_version, gtk_minor_version, gtk_micro_version);
24351 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24352 major, minor, micro);
24353 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24355 printf("*** If you have already installed a sufficiently new version, this error\n");
24356 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24357 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24358 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24359 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24360 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24361 printf("*** so that the correct libraries are found at run-time))\n");
24368 if ac_fn_c_try_run
"$LINENO"; then :
24373 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24374 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24377 CFLAGS
="$ac_save_CFLAGS"
24378 LIBS
="$ac_save_LIBS"
24381 if test "x$no_gtk" = x
; then
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24383 $as_echo "yes" >&6; }
24384 wx_cv_lib_gtk
=1.2.3
24386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24387 $as_echo "no" >&6; }
24388 if test "$GTK_CONFIG" = "no" ; then
24389 echo "*** The gtk-config script installed by GTK could not be found"
24390 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24391 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24392 echo "*** full path to gtk-config."
24394 if test -f conf.gtktest
; then
24397 echo "*** Could not run GTK test program, checking why..."
24398 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24399 LIBS
="$LIBS $GTK_LIBS"
24400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24401 /* end confdefs.h. */
24403 #include <gtk/gtk.h>
24409 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24414 if ac_fn_c_try_link
"$LINENO"; then :
24415 echo "*** The test program compiled, but did not run. This usually means"
24416 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24417 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24418 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24419 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24420 echo "*** is required on your system"
24422 echo "*** If you have an old version installed, it is best to remove it, although"
24423 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24425 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24426 echo "*** came with the system with the command"
24428 echo "*** rpm --erase --nodeps gtk gtk-devel"
24430 echo "*** The test program failed to compile or link. See the file config.log for the"
24431 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24432 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24433 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24435 rm -f core conftest.err conftest.
$ac_objext \
24436 conftest
$ac_exeext conftest.
$ac_ext
24437 CFLAGS
="$ac_save_CFLAGS"
24438 LIBS
="$ac_save_LIBS"
24453 if test -z "$wx_cv_lib_gtk"; then
24456 GTK_LIBS
="$GTK_LIBS -lX11"
24458 wx_cv_cflags_gtk
=$GTK_CFLAGS
24459 wx_cv_libs_gtk
=$GTK_LIBS
24466 if test "$gtk_version_cached" = 1; then
24467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24468 $as_echo "$wx_cv_lib_gtk" >&6; }
24471 case "$wx_cv_lib_gtk" in
24482 *) as_fn_error $?
"
24483 The development files for GTK+ were not found. For GTK+ 2, please
24484 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24485 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24486 and that the version is 1.2.3 or above. Also check that the
24487 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24488 --libs' are in the LD_LIBRARY_PATH or equivalent.
24493 if test "$WXGTK3" = 1; then
24494 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24496 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24498 elif test "$WXGTK2" = 1; then
24499 save_CFLAGS
="$CFLAGS"
24501 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24502 LIBS
="$LIBS $wx_cv_libs_gtk"
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24505 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24507 /* end confdefs.h. */
24509 #include <gtk/gtk.h>
24515 #if !GTK_CHECK_VERSION(2,18,0)
24523 if ac_fn_c_try_compile
"$LINENO"; then :
24525 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24527 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24530 $as_echo "yes" >&6; }
24535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24536 $as_echo "no" >&6; }
24540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24542 if test "$ac_wxgtk218" = 0; then
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24544 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24546 /* end confdefs.h. */
24548 #include <gtk/gtk.h>
24554 #if !GTK_CHECK_VERSION(2,10,0)
24562 if ac_fn_c_try_compile
"$LINENO"; then :
24564 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24567 $as_echo "yes" >&6; }
24572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24573 $as_echo "no" >&6; }
24577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24580 CFLAGS
="$save_CFLAGS"
24583 if test "$wxUSE_UNICODE" = "yes"; then
24584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24585 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24590 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24591 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24592 $as_echo_n "(cached) " >&6
24594 ac_check_lib_save_LIBS
=$LIBS
24596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24597 /* end confdefs.h. */
24599 /* Override any GCC internal prototype to avoid an error.
24600 Use char because int might match the return type of a GCC
24601 builtin and then its argument prototype would still apply. */
24605 char gdk_im_open ();
24609 return gdk_im_open ();
24614 if ac_fn_c_try_link
"$LINENO"; then :
24615 ac_cv_lib_gdk_gdk_im_open
=yes
24617 ac_cv_lib_gdk_gdk_im_open
=no
24619 rm -f core conftest.err conftest.
$ac_objext \
24620 conftest
$ac_exeext conftest.
$ac_ext
24621 LIBS
=$ac_check_lib_save_LIBS
24623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24624 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24625 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24626 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24631 if test "$USE_DARWIN" != 1; then
24632 for ac_func
in poll
24634 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24635 if test "x$ac_cv_func_poll" = xyes
; then :
24636 cat >>confdefs.h
<<_ACEOF
24637 #define HAVE_POLL 1
24646 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24647 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24648 AFMINSTALL
=afminstall
24652 if test "$wxUSE_GPE" = "yes"; then
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24654 $as_echo_n "checking for gpewidget library... " >&6; }
24657 for ac_dir
in $SEARCH_LIB
24659 for ac_extension
in a so sl dylib dll.a
; do
24660 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24661 ac_find_libraries
=$ac_dir
24667 if test "$ac_find_libraries" != "" ; then
24669 if test "$ac_find_libraries" = "default location"; then
24672 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24674 if test $result = 0; then
24677 ac_path_to_link
=" -L$ac_find_libraries"
24681 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24684 $as_echo "found in $ac_find_libraries" >&6; }
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24687 $as_echo "not found" >&6; }
24693 if test "$wxUSE_DFB" = 1; then
24696 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24697 if test -n "$ac_tool_prefix"; then
24698 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24699 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24701 $as_echo_n "checking for $ac_word... " >&6; }
24702 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24703 $as_echo_n "(cached) " >&6
24705 case $PKG_CONFIG in
24707 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24711 for as_dir
in $PATH
24714 test -z "$as_dir" && as_dir
=.
24715 for ac_exec_ext
in '' $ac_executable_extensions; do
24716 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24717 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24728 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24729 if test -n "$PKG_CONFIG"; then
24730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24731 $as_echo "$PKG_CONFIG" >&6; }
24733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24734 $as_echo "no" >&6; }
24739 if test -z "$ac_cv_path_PKG_CONFIG"; then
24740 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24741 # Extract the first word of "pkg-config", so it can be a program name with args.
24742 set dummy pkg
-config; ac_word
=$2
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24744 $as_echo_n "checking for $ac_word... " >&6; }
24745 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24746 $as_echo_n "(cached) " >&6
24748 case $ac_pt_PKG_CONFIG in
24750 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24754 for as_dir
in $PATH
24757 test -z "$as_dir" && as_dir
=.
24758 for ac_exec_ext
in '' $ac_executable_extensions; do
24759 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24760 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24771 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24772 if test -n "$ac_pt_PKG_CONFIG"; then
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24774 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24777 $as_echo "no" >&6; }
24780 if test "x$ac_pt_PKG_CONFIG" = x
; then
24783 case $cross_compiling:$ac_tool_warned in
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24787 ac_tool_warned
=yes ;;
24789 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24792 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24796 if test -n "$PKG_CONFIG"; then
24797 _pkg_min_version
=0.9.0
24798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24799 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24800 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24802 $as_echo "yes" >&6; }
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24805 $as_echo "no" >&6; }
24813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24814 $as_echo_n "checking for DIRECTFB... " >&6; }
24816 if test -n "$PKG_CONFIG"; then
24817 if test -n "$DIRECTFB_CFLAGS"; then
24818 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24820 if test -n "$PKG_CONFIG" && \
24821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24822 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24825 test $ac_status = 0; }; then
24826 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24834 if test -n "$PKG_CONFIG"; then
24835 if test -n "$DIRECTFB_LIBS"; then
24836 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24838 if test -n "$PKG_CONFIG" && \
24839 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24840 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24843 test $ac_status = 0; }; then
24844 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24855 if test $pkg_failed = yes; then
24857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24858 _pkg_short_errors_supported
=yes
24860 _pkg_short_errors_supported
=no
24862 if test $_pkg_short_errors_supported = yes; then
24863 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24865 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24867 # Put the nasty error message in config.log where it belongs
24868 echo "$DIRECTFB_PKG_ERRORS" >&5
24871 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24874 elif test $pkg_failed = untried
; then
24876 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24880 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24881 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24883 $as_echo "yes" >&6; }
24885 wxUSE_UNIVERSAL
="yes"
24886 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24887 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24894 if test "$wxUSE_MICROWIN" = 1; then
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24896 $as_echo_n "checking for MicroWindows... " >&6; }
24897 if test "x$MICROWINDOWS" = x
; then
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24899 $as_echo "not found" >&6; }
24900 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24903 $as_echo "$MICROWINDOWS" >&6; }
24906 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24908 $as_echo "MicroWindows' libraries found." >&6; }
24910 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24913 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24914 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24916 wxUSE_UNIVERSAL
="yes"
24918 AFMINSTALL
=afminstall
24920 GUIDIST
=MICROWIN_DIST
24922 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24925 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24927 $as_echo_n "checking for X... " >&6; }
24930 # Check whether --with-x was given.
24931 if test "${with_x+set}" = set; then :
24935 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24936 if test "x$with_x" = xno
; then
24937 # The user explicitly disabled X.
24940 case $x_includes,$x_libraries in #(
24941 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24942 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24943 $as_echo_n "(cached) " >&6
24945 # One or both of the vars are not set, and there is no cached value.
24946 ac_x_includes
=no ac_x_libraries
=no
24947 rm -f -r conftest.dir
24948 if mkdir conftest.dir
; then
24950 cat >Imakefile
<<'_ACEOF'
24952 @echo incroot='${INCROOT}'
24954 @echo usrlibdir='${USRLIBDIR}'
24956 @echo libdir='${LIBDIR}'
24958 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24959 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24960 for ac_var
in incroot usrlibdir libdir
; do
24961 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24963 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24964 for ac_extension
in a so sl dylib la dll
; do
24965 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24966 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24967 ac_im_usrlibdir
=$ac_im_libdir; break
24970 # Screen out bogus values from the imake configuration. They are
24971 # bogus both because they are the default anyway, and because
24972 # using them would break gcc on systems where it needs fixed includes.
24973 case $ac_im_incroot in
24974 /usr
/include
) ac_x_includes
= ;;
24975 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24977 case $ac_im_usrlibdir in
24978 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24979 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24983 rm -f -r conftest.dir
24986 # Standard set of common directories for X headers.
24987 # Check X11 before X11Rn because it is often a symlink to the current release.
25001 /usr/local/X11/include
25002 /usr/local/X11R7/include
25003 /usr/local/X11R6/include
25004 /usr/local/X11R5/include
25005 /usr/local/X11R4/include
25007 /usr/local/include/X11
25008 /usr/local/include/X11R7
25009 /usr/local/include/X11R6
25010 /usr/local/include/X11R5
25011 /usr/local/include/X11R4
25015 /usr/XFree86/include/X11
25019 /usr/unsupported/include
25020 /usr/athena/include
25021 /usr/local/x11r5/include
25022 /usr/lpp/Xamples/include
25024 /usr/openwin/include
25025 /usr/openwin/share/include'
25027 if test "$ac_x_includes" = no
; then
25028 # Guess where to find include files, by looking for Xlib.h.
25029 # First, try using that file with no special directory specified.
25030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25031 /* end confdefs.h. */
25032 #include <X11/Xlib.h>
25034 if ac_fn_c_try_cpp
"$LINENO"; then :
25035 # We can compile using X headers with no special include directory.
25038 for ac_dir
in $ac_x_header_dirs; do
25039 if test -r "$ac_dir/X11/Xlib.h"; then
25040 ac_x_includes
=$ac_dir
25045 rm -f conftest.err conftest.i conftest.
$ac_ext
25046 fi # $ac_x_includes = no
25048 if test "$ac_x_libraries" = no
; then
25049 # Check for the libraries.
25050 # See if we find them without any special options.
25051 # Don't add to $LIBS permanently.
25054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25055 /* end confdefs.h. */
25056 #include <X11/Xlib.h>
25065 if ac_fn_c_try_link
"$LINENO"; then :
25067 # We can link X programs with no special library path.
25071 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25073 # Don't even attempt the hair of trying to link an X program!
25074 for ac_extension
in a so sl dylib la dll
; do
25075 if test -r "$ac_dir/libX11.$ac_extension"; then
25076 ac_x_libraries
=$ac_dir
25082 rm -f core conftest.err conftest.
$ac_objext \
25083 conftest
$ac_exeext conftest.
$ac_ext
25084 fi # $ac_x_libraries = no
25086 case $ac_x_includes,$ac_x_libraries in #(
25087 no
,* | *,no
| *\'*)
25088 # Didn't find X, or a directory has "'" in its name.
25089 ac_cv_have_x
="have_x=no";; #(
25091 # Record where we found X for the cache.
25092 ac_cv_have_x
="have_x=yes\
25093 ac_x_includes='$ac_x_includes'\
25094 ac_x_libraries='$ac_x_libraries'"
25100 eval "$ac_cv_have_x"
25103 if test "$have_x" != yes; then
25104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25105 $as_echo "$have_x" >&6; }
25108 # If each of the values was on the command line, it overrides each guess.
25109 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25110 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25111 # Update the cache value to reflect the command line values.
25112 ac_cv_have_x
="have_x=yes\
25113 ac_x_includes='$x_includes'\
25114 ac_x_libraries='$x_libraries'"
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25116 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25119 if test "$no_x" = yes; then
25120 # Not all programs may use this symbol, but it does not hurt to define it.
25122 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25124 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25126 if test -n "$x_includes"; then
25127 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25130 # It would also be nice to do this for all -L options, not just this one.
25131 if test -n "$x_libraries"; then
25132 X_LIBS
="$X_LIBS -L$x_libraries"
25133 # For Solaris; some versions of Sun CC require a space after -R and
25134 # others require no space. Words are not sufficient . . . .
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25136 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25137 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25138 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25139 ac_c_werror_flag
=yes
25140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25141 /* end confdefs.h. */
25151 if ac_fn_c_try_link
"$LINENO"; then :
25152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25153 $as_echo "no" >&6; }
25154 X_LIBS
="$X_LIBS -R$x_libraries"
25156 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25158 /* end confdefs.h. */
25168 if ac_fn_c_try_link
"$LINENO"; then :
25169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25170 $as_echo "yes" >&6; }
25171 X_LIBS
="$X_LIBS -R $x_libraries"
25173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25174 $as_echo "neither works" >&6; }
25176 rm -f core conftest.err conftest.
$ac_objext \
25177 conftest
$ac_exeext conftest.
$ac_ext
25179 rm -f core conftest.err conftest.
$ac_objext \
25180 conftest
$ac_exeext conftest.
$ac_ext
25181 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25182 LIBS
=$ac_xsave_LIBS
25185 # Check for system-dependent libraries X programs must link with.
25186 # Do this before checking for the system-independent R6 libraries
25187 # (-lICE), since we may need -lsocket or whatever for X linking.
25189 if test "$ISC" = yes; then
25190 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25192 # Martyn Johnson says this is needed for Ultrix, if the X
25193 # libraries were built with DECnet support. And Karl Berry says
25194 # the Alpha needs dnet_stub (dnet does not exist).
25195 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25197 /* end confdefs.h. */
25199 /* Override any GCC internal prototype to avoid an error.
25200 Use char because int might match the return type of a GCC
25201 builtin and then its argument prototype would still apply. */
25205 char XOpenDisplay ();
25209 return XOpenDisplay ();
25214 if ac_fn_c_try_link
"$LINENO"; then :
25217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25218 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25219 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
25220 $as_echo_n "(cached) " >&6
25222 ac_check_lib_save_LIBS
=$LIBS
25223 LIBS
="-ldnet $LIBS"
25224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25225 /* end confdefs.h. */
25227 /* Override any GCC internal prototype to avoid an error.
25228 Use char because int might match the return type of a GCC
25229 builtin and then its argument prototype would still apply. */
25237 return dnet_ntoa ();
25242 if ac_fn_c_try_link
"$LINENO"; then :
25243 ac_cv_lib_dnet_dnet_ntoa
=yes
25245 ac_cv_lib_dnet_dnet_ntoa
=no
25247 rm -f core conftest.err conftest.
$ac_objext \
25248 conftest
$ac_exeext conftest.
$ac_ext
25249 LIBS
=$ac_check_lib_save_LIBS
25251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25252 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25253 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
25254 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25257 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25259 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25260 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
25261 $as_echo_n "(cached) " >&6
25263 ac_check_lib_save_LIBS
=$LIBS
25264 LIBS
="-ldnet_stub $LIBS"
25265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25266 /* end confdefs.h. */
25268 /* Override any GCC internal prototype to avoid an error.
25269 Use char because int might match the return type of a GCC
25270 builtin and then its argument prototype would still apply. */
25278 return dnet_ntoa ();
25283 if ac_fn_c_try_link
"$LINENO"; then :
25284 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25286 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25288 rm -f core conftest.err conftest.
$ac_objext \
25289 conftest
$ac_exeext conftest.
$ac_ext
25290 LIBS
=$ac_check_lib_save_LIBS
25292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25293 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25294 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
25295 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25300 rm -f core conftest.err conftest.
$ac_objext \
25301 conftest
$ac_exeext conftest.
$ac_ext
25302 LIBS
="$ac_xsave_LIBS"
25304 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25305 # to get the SysV transport functions.
25306 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25308 # The nsl library prevents programs from opening the X display
25309 # on Irix 5.2, according to T.E. Dickey.
25310 # The functions gethostbyname, getservbyname, and inet_addr are
25311 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25312 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25313 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25317 if test $ac_cv_func_gethostbyname = no
; then
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25319 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25320 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25321 $as_echo_n "(cached) " >&6
25323 ac_check_lib_save_LIBS
=$LIBS
25325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25326 /* end confdefs.h. */
25328 /* Override any GCC internal prototype to avoid an error.
25329 Use char because int might match the return type of a GCC
25330 builtin and then its argument prototype would still apply. */
25334 char gethostbyname ();
25338 return gethostbyname ();
25343 if ac_fn_c_try_link
"$LINENO"; then :
25344 ac_cv_lib_nsl_gethostbyname
=yes
25346 ac_cv_lib_nsl_gethostbyname
=no
25348 rm -f core conftest.err conftest.
$ac_objext \
25349 conftest
$ac_exeext conftest.
$ac_ext
25350 LIBS
=$ac_check_lib_save_LIBS
25352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25353 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25354 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25355 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25358 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25360 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25361 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25362 $as_echo_n "(cached) " >&6
25364 ac_check_lib_save_LIBS
=$LIBS
25366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25367 /* end confdefs.h. */
25369 /* Override any GCC internal prototype to avoid an error.
25370 Use char because int might match the return type of a GCC
25371 builtin and then its argument prototype would still apply. */
25375 char gethostbyname ();
25379 return gethostbyname ();
25384 if ac_fn_c_try_link
"$LINENO"; then :
25385 ac_cv_lib_bsd_gethostbyname
=yes
25387 ac_cv_lib_bsd_gethostbyname
=no
25389 rm -f core conftest.err conftest.
$ac_objext \
25390 conftest
$ac_exeext conftest.
$ac_ext
25391 LIBS
=$ac_check_lib_save_LIBS
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25394 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25395 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25396 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25402 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25403 # socket/setsockopt and other routines are undefined under SCO ODT
25404 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25405 # on later versions), says Simon Leinen: it contains gethostby*
25406 # variants that don't use the name server (or something). -lsocket
25407 # must be given before -lnsl if both are needed. We assume that
25408 # if connect needs -lnsl, so does gethostbyname.
25409 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25410 if test "x$ac_cv_func_connect" = xyes
; then :
25414 if test $ac_cv_func_connect = no
; then
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25416 $as_echo_n "checking for connect in -lsocket... " >&6; }
25417 if ${ac_cv_lib_socket_connect+:} false
; then :
25418 $as_echo_n "(cached) " >&6
25420 ac_check_lib_save_LIBS
=$LIBS
25421 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25423 /* end confdefs.h. */
25425 /* Override any GCC internal prototype to avoid an error.
25426 Use char because int might match the return type of a GCC
25427 builtin and then its argument prototype would still apply. */
25440 if ac_fn_c_try_link
"$LINENO"; then :
25441 ac_cv_lib_socket_connect
=yes
25443 ac_cv_lib_socket_connect
=no
25445 rm -f core conftest.err conftest.
$ac_objext \
25446 conftest
$ac_exeext conftest.
$ac_ext
25447 LIBS
=$ac_check_lib_save_LIBS
25449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25450 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25451 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25452 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25457 # Guillermo Gomez says -lposix is necessary on A/UX.
25458 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25459 if test "x$ac_cv_func_remove" = xyes
; then :
25463 if test $ac_cv_func_remove = no
; then
25464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25465 $as_echo_n "checking for remove in -lposix... " >&6; }
25466 if ${ac_cv_lib_posix_remove+:} false
; then :
25467 $as_echo_n "(cached) " >&6
25469 ac_check_lib_save_LIBS
=$LIBS
25470 LIBS
="-lposix $LIBS"
25471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25472 /* end confdefs.h. */
25474 /* Override any GCC internal prototype to avoid an error.
25475 Use char because int might match the return type of a GCC
25476 builtin and then its argument prototype would still apply. */
25489 if ac_fn_c_try_link
"$LINENO"; then :
25490 ac_cv_lib_posix_remove
=yes
25492 ac_cv_lib_posix_remove
=no
25494 rm -f core conftest.err conftest.
$ac_objext \
25495 conftest
$ac_exeext conftest.
$ac_ext
25496 LIBS
=$ac_check_lib_save_LIBS
25498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25499 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25500 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25501 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25506 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25507 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25508 if test "x$ac_cv_func_shmat" = xyes
; then :
25512 if test $ac_cv_func_shmat = no
; then
25513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25514 $as_echo_n "checking for shmat in -lipc... " >&6; }
25515 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25516 $as_echo_n "(cached) " >&6
25518 ac_check_lib_save_LIBS
=$LIBS
25520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25521 /* end confdefs.h. */
25523 /* Override any GCC internal prototype to avoid an error.
25524 Use char because int might match the return type of a GCC
25525 builtin and then its argument prototype would still apply. */
25538 if ac_fn_c_try_link
"$LINENO"; then :
25539 ac_cv_lib_ipc_shmat
=yes
25541 ac_cv_lib_ipc_shmat
=no
25543 rm -f core conftest.err conftest.
$ac_objext \
25544 conftest
$ac_exeext conftest.
$ac_ext
25545 LIBS
=$ac_check_lib_save_LIBS
25547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25548 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25549 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25550 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25556 # Check for libraries that X11R6 Xt/Xaw programs need.
25557 ac_save_LDFLAGS
=$LDFLAGS
25558 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25559 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25560 # check for ICE first), but we must link in the order -lSM -lICE or
25561 # we get undefined symbols. So assume we have SM if we have ICE.
25562 # These have to be linked with before -lX11, unlike the other
25563 # libraries we check for below, so use a different variable.
25564 # John Interrante, Karl Berry
25565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25566 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25567 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25568 $as_echo_n "(cached) " >&6
25570 ac_check_lib_save_LIBS
=$LIBS
25571 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25573 /* end confdefs.h. */
25575 /* Override any GCC internal prototype to avoid an error.
25576 Use char because int might match the return type of a GCC
25577 builtin and then its argument prototype would still apply. */
25581 char IceConnectionNumber ();
25585 return IceConnectionNumber ();
25590 if ac_fn_c_try_link
"$LINENO"; then :
25591 ac_cv_lib_ICE_IceConnectionNumber
=yes
25593 ac_cv_lib_ICE_IceConnectionNumber
=no
25595 rm -f core conftest.err conftest.
$ac_objext \
25596 conftest
$ac_exeext conftest.
$ac_ext
25597 LIBS
=$ac_check_lib_save_LIBS
25599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25600 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25601 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25602 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25605 LDFLAGS
=$ac_save_LDFLAGS
25610 if test "$no_x" = "yes"; then
25611 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25614 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25615 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25616 AFMINSTALL
=afminstall
25617 COMPILED_X_PROGRAM
=0
25621 if test "$wxUSE_X11" = 1; then
25622 if test "$wxUSE_NANOX" = "yes"; then
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25624 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25625 if test "x$MICROWIN" = x
; then
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25627 $as_echo "not found" >&6; }
25628 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25631 $as_echo "$MICROWIN" >&6; }
25632 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25637 if test "$wxUSE_UNICODE" = "yes"; then
25640 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25641 if test -n "$ac_tool_prefix"; then
25642 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25643 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25645 $as_echo_n "checking for $ac_word... " >&6; }
25646 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25647 $as_echo_n "(cached) " >&6
25649 case $PKG_CONFIG in
25651 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25655 for as_dir
in $PATH
25658 test -z "$as_dir" && as_dir
=.
25659 for ac_exec_ext
in '' $ac_executable_extensions; do
25660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25661 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25672 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25673 if test -n "$PKG_CONFIG"; then
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25675 $as_echo "$PKG_CONFIG" >&6; }
25677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25678 $as_echo "no" >&6; }
25683 if test -z "$ac_cv_path_PKG_CONFIG"; then
25684 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25685 # Extract the first word of "pkg-config", so it can be a program name with args.
25686 set dummy pkg
-config; ac_word
=$2
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25688 $as_echo_n "checking for $ac_word... " >&6; }
25689 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25690 $as_echo_n "(cached) " >&6
25692 case $ac_pt_PKG_CONFIG in
25694 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25698 for as_dir
in $PATH
25701 test -z "$as_dir" && as_dir
=.
25702 for ac_exec_ext
in '' $ac_executable_extensions; do
25703 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25704 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25715 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25716 if test -n "$ac_pt_PKG_CONFIG"; then
25717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25718 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25721 $as_echo "no" >&6; }
25724 if test "x$ac_pt_PKG_CONFIG" = x
; then
25727 case $cross_compiling:$ac_tool_warned in
25729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25731 ac_tool_warned
=yes ;;
25733 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25736 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25740 if test -n "$PKG_CONFIG"; then
25741 _pkg_min_version
=0.9.0
25742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25743 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25744 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25746 $as_echo "yes" >&6; }
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25749 $as_echo "no" >&6; }
25757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25758 $as_echo_n "checking for PANGOX... " >&6; }
25760 if test -n "$PKG_CONFIG"; then
25761 if test -n "$PANGOX_CFLAGS"; then
25762 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25764 if test -n "$PKG_CONFIG" && \
25765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25766 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25769 test $ac_status = 0; }; then
25770 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25778 if test -n "$PKG_CONFIG"; then
25779 if test -n "$PANGOX_LIBS"; then
25780 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25782 if test -n "$PKG_CONFIG" && \
25783 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25784 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25787 test $ac_status = 0; }; then
25788 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25799 if test $pkg_failed = yes; then
25801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25802 _pkg_short_errors_supported
=yes
25804 _pkg_short_errors_supported
=no
25806 if test $_pkg_short_errors_supported = yes; then
25807 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25809 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25811 # Put the nasty error message in config.log where it belongs
25812 echo "$PANGOX_PKG_ERRORS" >&5
25815 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25818 elif test $pkg_failed = untried
; then
25820 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25824 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25825 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25827 $as_echo "yes" >&6; }
25829 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25830 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25831 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25837 $as_echo_n "checking for PANGOFT2... " >&6; }
25839 if test -n "$PKG_CONFIG"; then
25840 if test -n "$PANGOFT2_CFLAGS"; then
25841 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25843 if test -n "$PKG_CONFIG" && \
25844 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25845 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25848 test $ac_status = 0; }; then
25849 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25857 if test -n "$PKG_CONFIG"; then
25858 if test -n "$PANGOFT2_LIBS"; then
25859 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25861 if test -n "$PKG_CONFIG" && \
25862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25863 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25866 test $ac_status = 0; }; then
25867 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25878 if test $pkg_failed = yes; then
25880 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25881 _pkg_short_errors_supported
=yes
25883 _pkg_short_errors_supported
=no
25885 if test $_pkg_short_errors_supported = yes; then
25886 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25888 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25890 # Put the nasty error message in config.log where it belongs
25891 echo "$PANGOFT2_PKG_ERRORS" >&5
25894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25895 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25896 wxUSE_PRINTING_ARCHITECTURE
="no"
25899 elif test $pkg_failed = untried
; then
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25902 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25903 wxUSE_PRINTING_ARCHITECTURE
="no"
25907 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25908 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25910 $as_echo "yes" >&6; }
25912 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25913 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25914 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25920 $as_echo_n "checking for PANGOXFT... " >&6; }
25922 if test -n "$PKG_CONFIG"; then
25923 if test -n "$PANGOXFT_CFLAGS"; then
25924 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25926 if test -n "$PKG_CONFIG" && \
25927 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25928 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25931 test $ac_status = 0; }; then
25932 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25940 if test -n "$PKG_CONFIG"; then
25941 if test -n "$PANGOXFT_LIBS"; then
25942 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25944 if test -n "$PKG_CONFIG" && \
25945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25946 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25949 test $ac_status = 0; }; then
25950 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25961 if test $pkg_failed = yes; then
25963 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25964 _pkg_short_errors_supported
=yes
25966 _pkg_short_errors_supported
=no
25968 if test $_pkg_short_errors_supported = yes; then
25969 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25971 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25973 # Put the nasty error message in config.log where it belongs
25974 echo "$PANGOXFT_PKG_ERRORS" >&5
25977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25978 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25981 elif test $pkg_failed = untried
; then
25983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25984 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25988 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25989 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25991 $as_echo "yes" >&6; }
25993 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25995 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25996 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25997 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
26001 LIBS
="$LIBS $PANGOX_LIBS"
26002 for ac_func
in pango_font_family_is_monospace
26004 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
26005 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
26006 cat >>confdefs.h
<<_ACEOF
26007 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
26016 wxUSE_UNIVERSAL
="yes"
26018 if test "$wxUSE_NANOX" = "yes"; then
26019 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26020 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"
26021 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26023 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
26030 if test "$wxUSE_MOTIF" = 1; then
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
26032 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
26035 for ac_dir
in $SEARCH_INCLUDE /usr
/include
26037 if test -f "$ac_dir/Xm/Xm.h"; then
26038 ac_find_includes
=$ac_dir
26043 if test "$ac_find_includes" != "" ; then
26044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
26045 $as_echo "found in $ac_find_includes" >&6; }
26047 if test "x$ac_find_includes" = "x/usr/include"; then
26048 ac_path_to_include
=""
26050 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
26052 if test $result = 0; then
26053 ac_path_to_include
=""
26055 ac_path_to_include
=" -I$ac_find_includes"
26059 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
26061 save_CFLAGS
=$CFLAGS
26062 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26065 /* end confdefs.h. */
26074 version = xmUseVersion;
26080 if ac_fn_c_try_compile
"$LINENO"; then :
26082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26083 $as_echo "found in default search path" >&6; }
26084 COMPILED_X_PROGRAM
=1
26088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26089 $as_echo "no" >&6; }
26090 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
26094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26096 CFLAGS
=$save_CFLAGS
26100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
26101 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26104 for ac_dir
in $SEARCH_LIB
26106 for ac_extension
in a so sl dylib dll.a
; do
26107 if test -f "$ac_dir/libXm.$ac_extension"; then
26108 ac_find_libraries
=$ac_dir
26115 if test "x$ac_find_libraries" != "x" ; then
26116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26117 $as_echo "found in $ac_find_libraries" >&6; }
26120 if test "$ac_find_libraries" = "default location"; then
26123 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26125 if test $result = 0; then
26128 ac_path_to_link
=" -L$ac_find_libraries"
26132 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26134 save_CFLAGS
=$CFLAGS
26135 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26137 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26140 /* end confdefs.h. */
26149 version = xmUseVersion;
26155 if ac_fn_c_try_link
"$LINENO"; then :
26157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26158 $as_echo "found in default search path" >&6; }
26159 COMPILED_X_PROGRAM
=1
26163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26164 $as_echo "no" >&6; }
26165 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26169 rm -f core conftest.err conftest.
$ac_objext \
26170 conftest
$ac_exeext conftest.
$ac_ext
26172 CFLAGS
=$save_CFLAGS
26176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26177 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26181 for libp
in "" " -lXp"; do
26182 if test "$libs_found" = 0; then
26183 for libsm_ice
in "" " -lSM -lICE"; do
26184 if test "$libs_found" = 0; then
26186 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26187 save_CFLAGS
=$CFLAGS
26188 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26191 /* end confdefs.h. */
26194 #include <Xm/List.h>
26200 XmString string = NULL;
26203 XmListAddItem(w, string, position);
26209 if ac_fn_c_try_link
"$LINENO"; then :
26212 libsm_ice_link
="$libsm_ice"
26213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26214 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26218 rm -f core conftest.err conftest.
$ac_objext \
26219 conftest
$ac_exeext conftest.
$ac_ext
26222 CFLAGS
=$save_CFLAGS
26228 if test "$libs_found" = 0; then
26229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26230 $as_echo "can't find the right libraries" >&6; }
26231 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
26234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26235 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26236 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
26237 $as_echo_n "(cached) " >&6
26239 ac_check_lib_save_LIBS
=$LIBS
26241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26242 /* end confdefs.h. */
26244 /* Override any GCC internal prototype to avoid an error.
26245 Use char because int might match the return type of a GCC
26246 builtin and then its argument prototype would still apply. */
26250 char SgCreateList ();
26254 return SgCreateList ();
26259 if ac_fn_c_try_link
"$LINENO"; then :
26260 ac_cv_lib_Sgm_SgCreateList
=yes
26262 ac_cv_lib_Sgm_SgCreateList
=no
26264 rm -f core conftest.err conftest.
$ac_objext \
26265 conftest
$ac_exeext conftest.
$ac_ext
26266 LIBS
=$ac_check_lib_save_LIBS
26268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26269 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26270 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
26271 libsgm_link
=" -lSgm"
26275 save_CFLAGS
=$CFLAGS
26276 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26279 $as_echo_n "checking for Motif 2... " >&6; }
26280 if ${wx_cv_lib_motif2+:} false
; then :
26281 $as_echo_n "(cached) " >&6
26283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26284 /* end confdefs.h. */
26292 #if XmVersion < 2000
26300 if ac_fn_c_try_compile
"$LINENO"; then :
26301 wx_cv_lib_motif2
="yes"
26303 wx_cv_lib_motif2
="no"
26305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26308 $as_echo "$wx_cv_lib_motif2" >&6; }
26309 if test "$wx_cv_lib_motif2" = "yes"; then
26310 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26313 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26318 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26319 if ${wx_cv_lib_lesstif+:} false
; then :
26320 $as_echo_n "(cached) " >&6
26322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26323 /* end confdefs.h. */
26331 #if !defined(LesstifVersion) || LesstifVersion <= 0
26339 if ac_fn_c_try_compile
"$LINENO"; then :
26340 wx_cv_lib_lesstif
="yes"
26342 wx_cv_lib_lesstif
="no"
26344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26348 $as_echo "$wx_cv_lib_lesstif" >&6; }
26349 if test "$wx_cv_lib_lesstif" = "yes"; then
26350 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26353 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26357 CFLAGS
=$save_CFLAGS
26359 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26364 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26365 if test "$wxUSE_LIBXPM" = "sys"; then
26366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26367 $as_echo_n "checking for Xpm library... " >&6; }
26370 for ac_dir
in $SEARCH_LIB
26372 for ac_extension
in a so sl dylib dll.a
; do
26373 if test -f "$ac_dir/libXpm.$ac_extension"; then
26374 ac_find_libraries
=$ac_dir
26380 if test "$ac_find_libraries" != "" ; then
26382 if test "$ac_find_libraries" = "default location"; then
26385 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26387 if test $result = 0; then
26390 ac_path_to_link
=" -L$ac_find_libraries"
26394 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26396 $as_echo "found in $ac_find_libraries" >&6; }
26398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26399 $as_echo_n "checking for X11/xpm.h... " >&6; }
26400 if ${wx_cv_x11_xpm_h+:} false
; then :
26401 $as_echo_n "(cached) " >&6
26404 save_CFLAGS
=$CFLAGS
26405 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26408 /* end confdefs.h. */
26410 #include <X11/xpm.h>
26417 version = XpmLibraryVersion();
26423 if ac_fn_c_try_compile
"$LINENO"; then :
26424 wx_cv_x11_xpm_h
=yes
26429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26431 CFLAGS
=$save_CFLAGS
26435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26436 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26438 if test $wx_cv_x11_xpm_h = "yes"; then
26439 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26440 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26444 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26451 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26452 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26453 $as_echo_n "(cached) " >&6
26455 ac_check_lib_save_LIBS
=$LIBS
26456 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26458 /* end confdefs.h. */
26460 /* Override any GCC internal prototype to avoid an error.
26461 Use char because int might match the return type of a GCC
26462 builtin and then its argument prototype would still apply. */
26466 char XShapeQueryExtension ();
26470 return XShapeQueryExtension ();
26475 if ac_fn_c_try_link
"$LINENO"; then :
26476 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26478 ac_cv_lib_Xext_XShapeQueryExtension
=no
26480 rm -f core conftest.err conftest.
$ac_objext \
26481 conftest
$ac_exeext conftest.
$ac_ext
26482 LIBS
=$ac_check_lib_save_LIBS
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26485 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26486 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26488 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26494 if test "$wxHAVE_XEXT_LIB" = 1; then
26495 save_CFLAGS
="$CFLAGS"
26496 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26499 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26501 /* end confdefs.h. */
26503 #include <X11/Xlib.h>
26504 #include <X11/extensions/shape.h>
26510 int dummy1, dummy2;
26511 XShapeQueryExtension((Display*)NULL,
26512 (int*)NULL, (int*)NULL);
26518 if ac_fn_c_try_compile
"$LINENO"; then :
26520 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26523 $as_echo "found" >&6; }
26527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26528 $as_echo "not found" >&6; }
26531 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26532 CFLAGS
="$save_CFLAGS"
26537 if test "$wxUSE_OSX_CARBON" = 1; then
26538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26539 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26540 if test "$GCC" = yes; then
26541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26542 $as_echo "gcc" >&6; }
26543 CPPFLAGS_PASCAL
="-fpascal-strings"
26544 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26546 $as_echo "xlc" >&6; }
26547 CPPFLAGS_PASCAL
="-qmacpstr"
26549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26550 $as_echo "none" >&6; }
26553 if test "x$wxUSE_UNIX" = "xyes"; then
26554 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26556 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26560 GUIDIST
=OSX_CARBON_DIST
26561 WXBASEPORT
="_carbon"
26563 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26566 if test "$wxUSE_OSX_COCOA" = 1; then
26568 GUIDIST
=OSX_COCOA_DIST
26570 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26573 if test "$wxUSE_OSX_IPHONE" = 1; then
26577 if test "$wxUSE_OLD_COCOA" = 1; then
26582 if test "$wxUSE_PM" = 1; then
26585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26586 $as_echo_n "checking for type SPBCDATA... " >&6; }
26587 if ${wx_cv_spbcdata+:} false
; then :
26588 $as_echo_n "(cached) " >&6
26591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26592 /* end confdefs.h. */
26607 if ac_fn_c_try_compile
"$LINENO"; then :
26613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26618 $as_echo "$wx_cv_spbcdata" >&6; }
26620 if test $wx_cv_spbcdata = "yes"; then
26621 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26626 if test "$TOOLKIT" = "PM" ; then
26629 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26632 if test "$wxUSE_UNIVERSAL" = "yes"; then
26633 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26637 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26638 DISTDIR
="wx\$(TOOLKIT)"
26644 if test "$USE_WIN32" = 1 ; then
26648 GUIDIST
="BASE_DIST"
26654 if test "$wxUSE_GUI" = "yes"; then
26655 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26656 for ac_header
in X
11/Xlib.h
26658 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26660 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26661 cat >>confdefs.h
<<_ACEOF
26662 #define HAVE_X11_XLIB_H 1
26669 for ac_header
in X
11/XKBlib.h
26671 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26672 #if HAVE_X11_XLIB_H
26673 #include <X11/Xlib.h>
26677 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26678 cat >>confdefs.h
<<_ACEOF
26679 #define HAVE_X11_XKBLIB_H 1
26692 if test "$wxUSE_DISPLAY" = "yes"; then
26693 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26697 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26700 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26701 if test -n "$ac_tool_prefix"; then
26702 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26703 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26705 $as_echo_n "checking for $ac_word... " >&6; }
26706 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26707 $as_echo_n "(cached) " >&6
26709 case $PKG_CONFIG in
26711 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26715 for as_dir
in $PATH
26718 test -z "$as_dir" && as_dir
=.
26719 for ac_exec_ext
in '' $ac_executable_extensions; do
26720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26721 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26732 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26733 if test -n "$PKG_CONFIG"; then
26734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26735 $as_echo "$PKG_CONFIG" >&6; }
26737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26738 $as_echo "no" >&6; }
26743 if test -z "$ac_cv_path_PKG_CONFIG"; then
26744 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26745 # Extract the first word of "pkg-config", so it can be a program name with args.
26746 set dummy pkg
-config; ac_word
=$2
26747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26748 $as_echo_n "checking for $ac_word... " >&6; }
26749 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26750 $as_echo_n "(cached) " >&6
26752 case $ac_pt_PKG_CONFIG in
26754 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26758 for as_dir
in $PATH
26761 test -z "$as_dir" && as_dir
=.
26762 for ac_exec_ext
in '' $ac_executable_extensions; do
26763 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26764 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26775 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26776 if test -n "$ac_pt_PKG_CONFIG"; then
26777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26778 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26781 $as_echo "no" >&6; }
26784 if test "x$ac_pt_PKG_CONFIG" = x
; then
26787 case $cross_compiling:$ac_tool_warned in
26789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26791 ac_tool_warned
=yes ;;
26793 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26796 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26800 if test -n "$PKG_CONFIG"; then
26801 _pkg_min_version
=0.9.0
26802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26803 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26804 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26806 $as_echo "yes" >&6; }
26808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26809 $as_echo "no" >&6; }
26816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26817 $as_echo_n "checking for Xinerama... " >&6; }
26819 if test -n "$PKG_CONFIG"; then
26820 if test -n "$Xinerama_CFLAGS"; then
26821 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26823 if test -n "$PKG_CONFIG" && \
26824 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26825 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26828 test $ac_status = 0; }; then
26829 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26837 if test -n "$PKG_CONFIG"; then
26838 if test -n "$Xinerama_LIBS"; then
26839 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26841 if test -n "$PKG_CONFIG" && \
26842 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26843 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26846 test $ac_status = 0; }; then
26847 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26858 if test $pkg_failed = yes; then
26860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26861 _pkg_short_errors_supported
=yes
26863 _pkg_short_errors_supported
=no
26865 if test $_pkg_short_errors_supported = yes; then
26866 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26868 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26870 # Put the nasty error message in config.log where it belongs
26871 echo "$Xinerama_PKG_ERRORS" >&5
26874 if test "x$ac_find_libraries" = "x"; then
26875 if test "xXineramaQueryScreens" != "x"; then
26876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26877 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26878 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26879 $as_echo_n "(cached) " >&6
26881 ac_check_lib_save_LIBS
=$LIBS
26882 LIBS
="-lXinerama $LIBS"
26883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26884 /* end confdefs.h. */
26886 /* Override any GCC internal prototype to avoid an error.
26887 Use char because int might match the return type of a GCC
26888 builtin and then its argument prototype would still apply. */
26892 char XineramaQueryScreens ();
26896 return XineramaQueryScreens ();
26901 if ac_fn_c_try_link
"$LINENO"; then :
26902 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26904 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26906 rm -f core conftest.err conftest.
$ac_objext \
26907 conftest
$ac_exeext conftest.
$ac_ext
26908 LIBS
=$ac_check_lib_save_LIBS
26910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26911 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26912 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26913 ac_find_libraries
="std"
26919 if test "x$ac_find_libraries" = "x"; then
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26921 $as_echo_n "checking elsewhere... " >&6; }
26924 for ac_dir
in $SEARCH_LIB
26926 for ac_extension
in a so sl dylib dll.a
; do
26927 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26928 ac_find_libraries
=$ac_dir
26934 if test "x$ac_find_libraries" != "x"; then
26935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26936 $as_echo "yes" >&6; }
26938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26939 $as_echo "no" >&6; }
26943 elif test $pkg_failed = untried
; then
26945 if test "x$ac_find_libraries" = "x"; then
26946 if test "xXineramaQueryScreens" != "x"; then
26947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26948 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26949 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26950 $as_echo_n "(cached) " >&6
26952 ac_check_lib_save_LIBS
=$LIBS
26953 LIBS
="-lXinerama $LIBS"
26954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26955 /* end confdefs.h. */
26957 /* Override any GCC internal prototype to avoid an error.
26958 Use char because int might match the return type of a GCC
26959 builtin and then its argument prototype would still apply. */
26963 char XineramaQueryScreens ();
26967 return XineramaQueryScreens ();
26972 if ac_fn_c_try_link
"$LINENO"; then :
26973 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26975 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26977 rm -f core conftest.err conftest.
$ac_objext \
26978 conftest
$ac_exeext conftest.
$ac_ext
26979 LIBS
=$ac_check_lib_save_LIBS
26981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26982 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26983 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26984 ac_find_libraries
="std"
26990 if test "x$ac_find_libraries" = "x"; then
26991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26992 $as_echo_n "checking elsewhere... " >&6; }
26995 for ac_dir
in $SEARCH_LIB
26997 for ac_extension
in a so sl dylib dll.a
; do
26998 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26999 ac_find_libraries
=$ac_dir
27005 if test "x$ac_find_libraries" != "x"; then
27006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27007 $as_echo "yes" >&6; }
27009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27010 $as_echo "no" >&6; }
27015 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
27016 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
27017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27018 $as_echo "yes" >&6; }
27020 ac_find_libraries
="std"
27022 eval ac_find_cflags
=\
$Xinerama_CFLAGS
27023 eval fl_libs
=\
$Xinerama_LIBS
27025 for fl_path
in $fl_libs
27027 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27028 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27034 if test "$ac_find_libraries" != "" ; then
27035 if test "$ac_find_libraries" != "std" ; then
27037 if test "$ac_find_libraries" = "default location"; then
27040 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27042 if test $result = 0; then
27045 ac_path_to_link
=" -L$ac_find_libraries"
27049 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27050 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27054 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
27056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
27057 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27060 elif test "$wxUSE_MSW" = 1; then
27061 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
27063 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
27071 if test "$wxUSE_DISPLAY" = "yes"; then
27072 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
27076 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
27079 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27080 if test -n "$ac_tool_prefix"; then
27081 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27082 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27084 $as_echo_n "checking for $ac_word... " >&6; }
27085 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27086 $as_echo_n "(cached) " >&6
27088 case $PKG_CONFIG in
27090 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27094 for as_dir
in $PATH
27097 test -z "$as_dir" && as_dir
=.
27098 for ac_exec_ext
in '' $ac_executable_extensions; do
27099 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27100 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27111 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27112 if test -n "$PKG_CONFIG"; then
27113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27114 $as_echo "$PKG_CONFIG" >&6; }
27116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27117 $as_echo "no" >&6; }
27122 if test -z "$ac_cv_path_PKG_CONFIG"; then
27123 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27124 # Extract the first word of "pkg-config", so it can be a program name with args.
27125 set dummy pkg
-config; ac_word
=$2
27126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27127 $as_echo_n "checking for $ac_word... " >&6; }
27128 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27129 $as_echo_n "(cached) " >&6
27131 case $ac_pt_PKG_CONFIG in
27133 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27137 for as_dir
in $PATH
27140 test -z "$as_dir" && as_dir
=.
27141 for ac_exec_ext
in '' $ac_executable_extensions; do
27142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27143 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27154 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27155 if test -n "$ac_pt_PKG_CONFIG"; then
27156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27157 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27160 $as_echo "no" >&6; }
27163 if test "x$ac_pt_PKG_CONFIG" = x
; then
27166 case $cross_compiling:$ac_tool_warned in
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27170 ac_tool_warned
=yes ;;
27172 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27175 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27179 if test -n "$PKG_CONFIG"; then
27180 _pkg_min_version
=0.9.0
27181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27182 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27183 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27185 $as_echo "yes" >&6; }
27187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27188 $as_echo "no" >&6; }
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27196 $as_echo_n "checking for Xxf86vm... " >&6; }
27198 if test -n "$PKG_CONFIG"; then
27199 if test -n "$Xxf86vm_CFLAGS"; then
27200 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
27202 if test -n "$PKG_CONFIG" && \
27203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27204 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27207 test $ac_status = 0; }; then
27208 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27216 if test -n "$PKG_CONFIG"; then
27217 if test -n "$Xxf86vm_LIBS"; then
27218 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
27220 if test -n "$PKG_CONFIG" && \
27221 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27222 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27225 test $ac_status = 0; }; then
27226 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27237 if test $pkg_failed = yes; then
27239 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27240 _pkg_short_errors_supported
=yes
27242 _pkg_short_errors_supported
=no
27244 if test $_pkg_short_errors_supported = yes; then
27245 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27247 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27249 # Put the nasty error message in config.log where it belongs
27250 echo "$Xxf86vm_PKG_ERRORS" >&5
27253 if test "x$ac_find_libraries" = "x"; then
27254 if test "xXF86VidModeQueryExtension" != "x"; then
27255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27256 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27257 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27258 $as_echo_n "(cached) " >&6
27260 ac_check_lib_save_LIBS
=$LIBS
27261 LIBS
="-lXxf86vm $LIBS"
27262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27263 /* end confdefs.h. */
27265 /* Override any GCC internal prototype to avoid an error.
27266 Use char because int might match the return type of a GCC
27267 builtin and then its argument prototype would still apply. */
27271 char XF86VidModeQueryExtension ();
27275 return XF86VidModeQueryExtension ();
27280 if ac_fn_c_try_link
"$LINENO"; then :
27281 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27283 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27285 rm -f core conftest.err conftest.
$ac_objext \
27286 conftest
$ac_exeext conftest.
$ac_ext
27287 LIBS
=$ac_check_lib_save_LIBS
27289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27290 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27291 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27292 ac_find_libraries
="std"
27298 if test "x$ac_find_libraries" = "x"; then
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27300 $as_echo_n "checking elsewhere... " >&6; }
27303 for ac_dir
in $SEARCH_LIB
27305 for ac_extension
in a so sl dylib dll.a
; do
27306 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27307 ac_find_libraries
=$ac_dir
27313 if test "x$ac_find_libraries" != "x"; then
27314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27315 $as_echo "yes" >&6; }
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27318 $as_echo "no" >&6; }
27322 elif test $pkg_failed = untried
; then
27324 if test "x$ac_find_libraries" = "x"; then
27325 if test "xXF86VidModeQueryExtension" != "x"; then
27326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27327 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27328 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27329 $as_echo_n "(cached) " >&6
27331 ac_check_lib_save_LIBS
=$LIBS
27332 LIBS
="-lXxf86vm $LIBS"
27333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27334 /* end confdefs.h. */
27336 /* Override any GCC internal prototype to avoid an error.
27337 Use char because int might match the return type of a GCC
27338 builtin and then its argument prototype would still apply. */
27342 char XF86VidModeQueryExtension ();
27346 return XF86VidModeQueryExtension ();
27351 if ac_fn_c_try_link
"$LINENO"; then :
27352 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27354 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27356 rm -f core conftest.err conftest.
$ac_objext \
27357 conftest
$ac_exeext conftest.
$ac_ext
27358 LIBS
=$ac_check_lib_save_LIBS
27360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27361 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27362 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27363 ac_find_libraries
="std"
27369 if test "x$ac_find_libraries" = "x"; then
27370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27371 $as_echo_n "checking elsewhere... " >&6; }
27374 for ac_dir
in $SEARCH_LIB
27376 for ac_extension
in a so sl dylib dll.a
; do
27377 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27378 ac_find_libraries
=$ac_dir
27384 if test "x$ac_find_libraries" != "x"; then
27385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27386 $as_echo "yes" >&6; }
27388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27389 $as_echo "no" >&6; }
27394 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27395 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27397 $as_echo "yes" >&6; }
27399 ac_find_libraries
="std"
27401 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27402 eval fl_libs
=\
$Xxf86vm_LIBS
27404 for fl_path
in $fl_libs
27406 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27407 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27413 if test "$ac_find_libraries" != "" ; then
27414 for ac_header
in X
11/extensions
/xf86vmode.h
27416 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27417 #if HAVE_X11_XLIB_H
27418 #include <X11/Xlib.h>
27422 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27423 cat >>confdefs.h
<<_ACEOF
27424 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27427 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27437 if test "$wxUSE_DETECT_SM" = "yes"; then
27438 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27442 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27445 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27446 if test -n "$ac_tool_prefix"; then
27447 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27448 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27450 $as_echo_n "checking for $ac_word... " >&6; }
27451 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27452 $as_echo_n "(cached) " >&6
27454 case $PKG_CONFIG in
27456 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27460 for as_dir
in $PATH
27463 test -z "$as_dir" && as_dir
=.
27464 for ac_exec_ext
in '' $ac_executable_extensions; do
27465 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27466 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27477 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27478 if test -n "$PKG_CONFIG"; then
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27480 $as_echo "$PKG_CONFIG" >&6; }
27482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27483 $as_echo "no" >&6; }
27488 if test -z "$ac_cv_path_PKG_CONFIG"; then
27489 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27490 # Extract the first word of "pkg-config", so it can be a program name with args.
27491 set dummy pkg
-config; ac_word
=$2
27492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27493 $as_echo_n "checking for $ac_word... " >&6; }
27494 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27495 $as_echo_n "(cached) " >&6
27497 case $ac_pt_PKG_CONFIG in
27499 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27503 for as_dir
in $PATH
27506 test -z "$as_dir" && as_dir
=.
27507 for ac_exec_ext
in '' $ac_executable_extensions; do
27508 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27509 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27520 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27521 if test -n "$ac_pt_PKG_CONFIG"; then
27522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27523 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27526 $as_echo "no" >&6; }
27529 if test "x$ac_pt_PKG_CONFIG" = x
; then
27532 case $cross_compiling:$ac_tool_warned in
27534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27536 ac_tool_warned
=yes ;;
27538 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27541 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27545 if test -n "$PKG_CONFIG"; then
27546 _pkg_min_version
=0.9.0
27547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27548 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27549 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27551 $as_echo "yes" >&6; }
27553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27554 $as_echo "no" >&6; }
27561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27562 $as_echo_n "checking for SM... " >&6; }
27564 if test -n "$PKG_CONFIG"; then
27565 if test -n "$SM_CFLAGS"; then
27566 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27568 if test -n "$PKG_CONFIG" && \
27569 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27570 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27573 test $ac_status = 0; }; then
27574 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27582 if test -n "$PKG_CONFIG"; then
27583 if test -n "$SM_LIBS"; then
27584 pkg_cv_SM_LIBS
="$SM_LIBS"
27586 if test -n "$PKG_CONFIG" && \
27587 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27588 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27591 test $ac_status = 0; }; then
27592 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27603 if test $pkg_failed = yes; then
27605 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27606 _pkg_short_errors_supported
=yes
27608 _pkg_short_errors_supported
=no
27610 if test $_pkg_short_errors_supported = yes; then
27611 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27613 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27615 # Put the nasty error message in config.log where it belongs
27616 echo "$SM_PKG_ERRORS" >&5
27619 if test "x$ac_find_libraries" = "x"; then
27620 if test "xSmcOpenConnection" != "x"; then
27621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27622 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27623 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27624 $as_echo_n "(cached) " >&6
27626 ac_check_lib_save_LIBS
=$LIBS
27628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27629 /* end confdefs.h. */
27631 /* Override any GCC internal prototype to avoid an error.
27632 Use char because int might match the return type of a GCC
27633 builtin and then its argument prototype would still apply. */
27637 char SmcOpenConnection ();
27641 return SmcOpenConnection ();
27646 if ac_fn_c_try_link
"$LINENO"; then :
27647 ac_cv_lib_SM_SmcOpenConnection
=yes
27649 ac_cv_lib_SM_SmcOpenConnection
=no
27651 rm -f core conftest.err conftest.
$ac_objext \
27652 conftest
$ac_exeext conftest.
$ac_ext
27653 LIBS
=$ac_check_lib_save_LIBS
27655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27656 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27657 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27658 ac_find_libraries
="std"
27664 if test "x$ac_find_libraries" = "x"; then
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27666 $as_echo_n "checking elsewhere... " >&6; }
27669 for ac_dir
in $SEARCH_LIB
27671 for ac_extension
in a so sl dylib dll.a
; do
27672 if test -f "$ac_dir/libSM.$ac_extension"; then
27673 ac_find_libraries
=$ac_dir
27679 if test "x$ac_find_libraries" != "x"; then
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27681 $as_echo "yes" >&6; }
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27684 $as_echo "no" >&6; }
27688 elif test $pkg_failed = untried
; then
27690 if test "x$ac_find_libraries" = "x"; then
27691 if test "xSmcOpenConnection" != "x"; then
27692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27693 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27694 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27695 $as_echo_n "(cached) " >&6
27697 ac_check_lib_save_LIBS
=$LIBS
27699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27700 /* end confdefs.h. */
27702 /* Override any GCC internal prototype to avoid an error.
27703 Use char because int might match the return type of a GCC
27704 builtin and then its argument prototype would still apply. */
27708 char SmcOpenConnection ();
27712 return SmcOpenConnection ();
27717 if ac_fn_c_try_link
"$LINENO"; then :
27718 ac_cv_lib_SM_SmcOpenConnection
=yes
27720 ac_cv_lib_SM_SmcOpenConnection
=no
27722 rm -f core conftest.err conftest.
$ac_objext \
27723 conftest
$ac_exeext conftest.
$ac_ext
27724 LIBS
=$ac_check_lib_save_LIBS
27726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27727 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27728 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27729 ac_find_libraries
="std"
27735 if test "x$ac_find_libraries" = "x"; then
27736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27737 $as_echo_n "checking elsewhere... " >&6; }
27740 for ac_dir
in $SEARCH_LIB
27742 for ac_extension
in a so sl dylib dll.a
; do
27743 if test -f "$ac_dir/libSM.$ac_extension"; then
27744 ac_find_libraries
=$ac_dir
27750 if test "x$ac_find_libraries" != "x"; then
27751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27752 $as_echo "yes" >&6; }
27754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27755 $as_echo "no" >&6; }
27760 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27761 SM_LIBS
=$pkg_cv_SM_LIBS
27762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27763 $as_echo "yes" >&6; }
27765 ac_find_libraries
="std"
27767 eval ac_find_cflags
=\
$SM_CFLAGS
27768 eval fl_libs
=\
$SM_LIBS
27770 for fl_path
in $fl_libs
27772 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27773 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27779 if test "$ac_find_libraries" != "" ; then
27780 if test "$ac_find_libraries" != "std" ; then
27782 if test "$ac_find_libraries" = "default location"; then
27785 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27787 if test $result = 0; then
27790 ac_path_to_link
=" -L$ac_find_libraries"
27794 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27795 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27798 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27801 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27802 wxUSE_DETECT_SM
="no"
27805 wxUSE_DETECT_SM
="no"
27812 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27815 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27816 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27817 elif test "$wxUSE_MSW" = 1; then
27818 OPENGL_LIBS
="-lopengl32 -lglu32"
27819 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27822 $as_echo_n "checking for OpenGL headers... " >&6; }
27825 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27827 if test -f "$ac_dir/GL/gl.h"; then
27828 ac_find_includes
=$ac_dir
27833 if test "$ac_find_includes" != "" ; then
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27835 $as_echo "found in $ac_find_includes" >&6; }
27837 if test "x$ac_find_includes" = "x/usr/include"; then
27838 ac_path_to_include
=""
27840 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27842 if test $result = 0; then
27843 ac_path_to_include
=""
27845 ac_path_to_include
=" -I$ac_find_includes"
27849 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27852 $as_echo "not found" >&6; }
27855 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27857 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27859 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27861 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27868 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27872 if test -n "$ac_tool_prefix"; then
27873 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27874 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27876 $as_echo_n "checking for $ac_word... " >&6; }
27877 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27878 $as_echo_n "(cached) " >&6
27880 case $PKG_CONFIG in
27882 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27886 for as_dir
in $PATH
27889 test -z "$as_dir" && as_dir
=.
27890 for ac_exec_ext
in '' $ac_executable_extensions; do
27891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27892 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27903 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27904 if test -n "$PKG_CONFIG"; then
27905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27906 $as_echo "$PKG_CONFIG" >&6; }
27908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27909 $as_echo "no" >&6; }
27914 if test -z "$ac_cv_path_PKG_CONFIG"; then
27915 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27916 # Extract the first word of "pkg-config", so it can be a program name with args.
27917 set dummy pkg
-config; ac_word
=$2
27918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27919 $as_echo_n "checking for $ac_word... " >&6; }
27920 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27921 $as_echo_n "(cached) " >&6
27923 case $ac_pt_PKG_CONFIG in
27925 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27929 for as_dir
in $PATH
27932 test -z "$as_dir" && as_dir
=.
27933 for ac_exec_ext
in '' $ac_executable_extensions; do
27934 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27935 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27946 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27947 if test -n "$ac_pt_PKG_CONFIG"; then
27948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27949 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27952 $as_echo "no" >&6; }
27955 if test "x$ac_pt_PKG_CONFIG" = x
; then
27958 case $cross_compiling:$ac_tool_warned in
27960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27962 ac_tool_warned
=yes ;;
27964 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27967 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27971 if test -n "$PKG_CONFIG"; then
27972 _pkg_min_version
=0.9.0
27973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27974 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27975 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27977 $as_echo "yes" >&6; }
27979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27980 $as_echo "no" >&6; }
27987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27988 $as_echo_n "checking for GL... " >&6; }
27990 if test -n "$PKG_CONFIG"; then
27991 if test -n "$GL_CFLAGS"; then
27992 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27994 if test -n "$PKG_CONFIG" && \
27995 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27996 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27999 test $ac_status = 0; }; then
28000 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28008 if test -n "$PKG_CONFIG"; then
28009 if test -n "$GL_LIBS"; then
28010 pkg_cv_GL_LIBS
="$GL_LIBS"
28012 if test -n "$PKG_CONFIG" && \
28013 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28014 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28017 test $ac_status = 0; }; then
28018 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28029 if test $pkg_failed = yes; then
28031 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28032 _pkg_short_errors_supported
=yes
28034 _pkg_short_errors_supported
=no
28036 if test $_pkg_short_errors_supported = yes; then
28037 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28039 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28041 # Put the nasty error message in config.log where it belongs
28042 echo "$GL_PKG_ERRORS" >&5
28045 if test "x$ac_find_libraries" = "x"; then
28046 if test "xglBegin" != "x"; then
28047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28048 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28049 if ${ac_cv_lib_GL_glBegin+:} false
; then :
28050 $as_echo_n "(cached) " >&6
28052 ac_check_lib_save_LIBS
=$LIBS
28054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28055 /* end confdefs.h. */
28057 /* Override any GCC internal prototype to avoid an error.
28058 Use char because int might match the return type of a GCC
28059 builtin and then its argument prototype would still apply. */
28072 if ac_fn_c_try_link
"$LINENO"; then :
28073 ac_cv_lib_GL_glBegin
=yes
28075 ac_cv_lib_GL_glBegin
=no
28077 rm -f core conftest.err conftest.
$ac_objext \
28078 conftest
$ac_exeext conftest.
$ac_ext
28079 LIBS
=$ac_check_lib_save_LIBS
28081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28082 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28083 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
28084 ac_find_libraries
="std"
28090 if test "x$ac_find_libraries" = "x"; then
28091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28092 $as_echo_n "checking elsewhere... " >&6; }
28095 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28097 for ac_extension
in a so sl dylib dll.a
; do
28098 if test -f "$ac_dir/libGL.$ac_extension"; then
28099 ac_find_libraries
=$ac_dir
28105 if test "x$ac_find_libraries" != "x"; then
28106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28107 $as_echo "yes" >&6; }
28109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28110 $as_echo "no" >&6; }
28114 elif test $pkg_failed = untried
; then
28116 if test "x$ac_find_libraries" = "x"; then
28117 if test "xglBegin" != "x"; then
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28119 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28120 if ${ac_cv_lib_GL_glBegin+:} false
; then :
28121 $as_echo_n "(cached) " >&6
28123 ac_check_lib_save_LIBS
=$LIBS
28125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28126 /* end confdefs.h. */
28128 /* Override any GCC internal prototype to avoid an error.
28129 Use char because int might match the return type of a GCC
28130 builtin and then its argument prototype would still apply. */
28143 if ac_fn_c_try_link
"$LINENO"; then :
28144 ac_cv_lib_GL_glBegin
=yes
28146 ac_cv_lib_GL_glBegin
=no
28148 rm -f core conftest.err conftest.
$ac_objext \
28149 conftest
$ac_exeext conftest.
$ac_ext
28150 LIBS
=$ac_check_lib_save_LIBS
28152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28153 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28154 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
28155 ac_find_libraries
="std"
28161 if test "x$ac_find_libraries" = "x"; then
28162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28163 $as_echo_n "checking elsewhere... " >&6; }
28166 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28168 for ac_extension
in a so sl dylib dll.a
; do
28169 if test -f "$ac_dir/libGL.$ac_extension"; then
28170 ac_find_libraries
=$ac_dir
28176 if test "x$ac_find_libraries" != "x"; then
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28178 $as_echo "yes" >&6; }
28180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28181 $as_echo "no" >&6; }
28186 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
28187 GL_LIBS
=$pkg_cv_GL_LIBS
28188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28189 $as_echo "yes" >&6; }
28191 ac_find_libraries
="std"
28193 eval ac_find_cflags
=\
$GL_CFLAGS
28194 eval fl_libs
=\
$GL_LIBS
28196 for fl_path
in $fl_libs
28198 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28199 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28205 if test "$ac_find_libraries" != "" ; then
28206 if test "$ac_find_libraries" != "std" ; then
28208 if test "$ac_find_libraries" = "default location"; then
28211 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28213 if test $result = 0; then
28216 ac_path_to_link
=" -L$ac_find_libraries"
28220 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28221 LDFLAGS_GL
="$ac_path_to_link"
28228 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
28231 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28232 if test -n "$ac_tool_prefix"; then
28233 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28234 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28236 $as_echo_n "checking for $ac_word... " >&6; }
28237 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28238 $as_echo_n "(cached) " >&6
28240 case $PKG_CONFIG in
28242 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28246 for as_dir
in $PATH
28249 test -z "$as_dir" && as_dir
=.
28250 for ac_exec_ext
in '' $ac_executable_extensions; do
28251 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28252 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28263 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28264 if test -n "$PKG_CONFIG"; then
28265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28266 $as_echo "$PKG_CONFIG" >&6; }
28268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28269 $as_echo "no" >&6; }
28274 if test -z "$ac_cv_path_PKG_CONFIG"; then
28275 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28276 # Extract the first word of "pkg-config", so it can be a program name with args.
28277 set dummy pkg
-config; ac_word
=$2
28278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28279 $as_echo_n "checking for $ac_word... " >&6; }
28280 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28281 $as_echo_n "(cached) " >&6
28283 case $ac_pt_PKG_CONFIG in
28285 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28289 for as_dir
in $PATH
28292 test -z "$as_dir" && as_dir
=.
28293 for ac_exec_ext
in '' $ac_executable_extensions; do
28294 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28295 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28306 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28307 if test -n "$ac_pt_PKG_CONFIG"; then
28308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28309 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28312 $as_echo "no" >&6; }
28315 if test "x$ac_pt_PKG_CONFIG" = x
; then
28318 case $cross_compiling:$ac_tool_warned in
28320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28322 ac_tool_warned
=yes ;;
28324 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28327 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28331 if test -n "$PKG_CONFIG"; then
28332 _pkg_min_version
=0.9.0
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28334 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28335 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28337 $as_echo "yes" >&6; }
28339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28340 $as_echo "no" >&6; }
28347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28348 $as_echo_n "checking for GLU... " >&6; }
28350 if test -n "$PKG_CONFIG"; then
28351 if test -n "$GLU_CFLAGS"; then
28352 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28354 if test -n "$PKG_CONFIG" && \
28355 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28356 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28359 test $ac_status = 0; }; then
28360 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28368 if test -n "$PKG_CONFIG"; then
28369 if test -n "$GLU_LIBS"; then
28370 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28372 if test -n "$PKG_CONFIG" && \
28373 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28374 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28377 test $ac_status = 0; }; then
28378 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28389 if test $pkg_failed = yes; then
28391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28392 _pkg_short_errors_supported
=yes
28394 _pkg_short_errors_supported
=no
28396 if test $_pkg_short_errors_supported = yes; then
28397 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28399 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28401 # Put the nasty error message in config.log where it belongs
28402 echo "$GLU_PKG_ERRORS" >&5
28405 if test "x$ac_find_libraries" = "x"; then
28406 if test "xgluBeginCurve" != "x"; then
28407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28408 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28409 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28410 $as_echo_n "(cached) " >&6
28412 ac_check_lib_save_LIBS
=$LIBS
28414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28415 /* end confdefs.h. */
28417 /* Override any GCC internal prototype to avoid an error.
28418 Use char because int might match the return type of a GCC
28419 builtin and then its argument prototype would still apply. */
28423 char gluBeginCurve ();
28427 return gluBeginCurve ();
28432 if ac_fn_c_try_link
"$LINENO"; then :
28433 ac_cv_lib_GLU_gluBeginCurve
=yes
28435 ac_cv_lib_GLU_gluBeginCurve
=no
28437 rm -f core conftest.err conftest.
$ac_objext \
28438 conftest
$ac_exeext conftest.
$ac_ext
28439 LIBS
=$ac_check_lib_save_LIBS
28441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28442 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28443 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28444 ac_find_libraries
="std"
28450 if test "x$ac_find_libraries" = "x"; then
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28452 $as_echo_n "checking elsewhere... " >&6; }
28455 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28457 for ac_extension
in a so sl dylib dll.a
; do
28458 if test -f "$ac_dir/libGLU.$ac_extension"; then
28459 ac_find_libraries
=$ac_dir
28465 if test "x$ac_find_libraries" != "x"; then
28466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28467 $as_echo "yes" >&6; }
28469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28470 $as_echo "no" >&6; }
28474 elif test $pkg_failed = untried
; then
28476 if test "x$ac_find_libraries" = "x"; then
28477 if test "xgluBeginCurve" != "x"; then
28478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28479 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28480 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28481 $as_echo_n "(cached) " >&6
28483 ac_check_lib_save_LIBS
=$LIBS
28485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28486 /* end confdefs.h. */
28488 /* Override any GCC internal prototype to avoid an error.
28489 Use char because int might match the return type of a GCC
28490 builtin and then its argument prototype would still apply. */
28494 char gluBeginCurve ();
28498 return gluBeginCurve ();
28503 if ac_fn_c_try_link
"$LINENO"; then :
28504 ac_cv_lib_GLU_gluBeginCurve
=yes
28506 ac_cv_lib_GLU_gluBeginCurve
=no
28508 rm -f core conftest.err conftest.
$ac_objext \
28509 conftest
$ac_exeext conftest.
$ac_ext
28510 LIBS
=$ac_check_lib_save_LIBS
28512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28513 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28514 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28515 ac_find_libraries
="std"
28521 if test "x$ac_find_libraries" = "x"; then
28522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28523 $as_echo_n "checking elsewhere... " >&6; }
28526 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28528 for ac_extension
in a so sl dylib dll.a
; do
28529 if test -f "$ac_dir/libGLU.$ac_extension"; then
28530 ac_find_libraries
=$ac_dir
28536 if test "x$ac_find_libraries" != "x"; then
28537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28538 $as_echo "yes" >&6; }
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28541 $as_echo "no" >&6; }
28546 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28547 GLU_LIBS
=$pkg_cv_GLU_LIBS
28548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28549 $as_echo "yes" >&6; }
28551 ac_find_libraries
="std"
28553 eval ac_find_cflags
=\
$GLU_CFLAGS
28554 eval fl_libs
=\
$GLU_LIBS
28556 for fl_path
in $fl_libs
28558 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28559 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28565 if test "$ac_find_libraries" != "" ; then
28566 if test "$ac_find_libraries" != "std" ; then
28568 if test "$ac_find_libraries" = "default location"; then
28571 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28573 if test $result = 0; then
28576 ac_path_to_link
=" -L$ac_find_libraries"
28580 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28581 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28582 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28587 OPENGL_LIBS
="-lGL -lGLU"
28591 if test "$found_gl" != 1; then
28595 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28598 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28599 if test -n "$ac_tool_prefix"; then
28600 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28601 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28603 $as_echo_n "checking for $ac_word... " >&6; }
28604 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28605 $as_echo_n "(cached) " >&6
28607 case $PKG_CONFIG in
28609 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28613 for as_dir
in $PATH
28616 test -z "$as_dir" && as_dir
=.
28617 for ac_exec_ext
in '' $ac_executable_extensions; do
28618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28619 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28630 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28631 if test -n "$PKG_CONFIG"; then
28632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28633 $as_echo "$PKG_CONFIG" >&6; }
28635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28636 $as_echo "no" >&6; }
28641 if test -z "$ac_cv_path_PKG_CONFIG"; then
28642 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28643 # Extract the first word of "pkg-config", so it can be a program name with args.
28644 set dummy pkg
-config; ac_word
=$2
28645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28646 $as_echo_n "checking for $ac_word... " >&6; }
28647 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28648 $as_echo_n "(cached) " >&6
28650 case $ac_pt_PKG_CONFIG in
28652 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28656 for as_dir
in $PATH
28659 test -z "$as_dir" && as_dir
=.
28660 for ac_exec_ext
in '' $ac_executable_extensions; do
28661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28662 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28673 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28674 if test -n "$ac_pt_PKG_CONFIG"; then
28675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28676 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28679 $as_echo "no" >&6; }
28682 if test "x$ac_pt_PKG_CONFIG" = x
; then
28685 case $cross_compiling:$ac_tool_warned in
28687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28689 ac_tool_warned
=yes ;;
28691 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28694 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28698 if test -n "$PKG_CONFIG"; then
28699 _pkg_min_version
=0.9.0
28700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28701 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28702 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28704 $as_echo "yes" >&6; }
28706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28707 $as_echo "no" >&6; }
28714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28715 $as_echo_n "checking for MesaGL... " >&6; }
28717 if test -n "$PKG_CONFIG"; then
28718 if test -n "$MesaGL_CFLAGS"; then
28719 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28721 if test -n "$PKG_CONFIG" && \
28722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28723 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28726 test $ac_status = 0; }; then
28727 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28735 if test -n "$PKG_CONFIG"; then
28736 if test -n "$MesaGL_LIBS"; then
28737 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28739 if test -n "$PKG_CONFIG" && \
28740 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28741 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28744 test $ac_status = 0; }; then
28745 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28756 if test $pkg_failed = yes; then
28758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28759 _pkg_short_errors_supported
=yes
28761 _pkg_short_errors_supported
=no
28763 if test $_pkg_short_errors_supported = yes; then
28764 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28766 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28768 # Put the nasty error message in config.log where it belongs
28769 echo "$MesaGL_PKG_ERRORS" >&5
28772 if test "x$ac_find_libraries" = "x"; then
28773 if test "xglEnable" != "x"; then
28774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28775 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28776 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28777 $as_echo_n "(cached) " >&6
28779 ac_check_lib_save_LIBS
=$LIBS
28780 LIBS
="-lMesaGL $LIBS"
28781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28782 /* end confdefs.h. */
28784 /* Override any GCC internal prototype to avoid an error.
28785 Use char because int might match the return type of a GCC
28786 builtin and then its argument prototype would still apply. */
28794 return glEnable ();
28799 if ac_fn_c_try_link
"$LINENO"; then :
28800 ac_cv_lib_MesaGL_glEnable
=yes
28802 ac_cv_lib_MesaGL_glEnable
=no
28804 rm -f core conftest.err conftest.
$ac_objext \
28805 conftest
$ac_exeext conftest.
$ac_ext
28806 LIBS
=$ac_check_lib_save_LIBS
28808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28809 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28810 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28811 ac_find_libraries
="std"
28817 if test "x$ac_find_libraries" = "x"; then
28818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28819 $as_echo_n "checking elsewhere... " >&6; }
28822 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28824 for ac_extension
in a so sl dylib dll.a
; do
28825 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28826 ac_find_libraries
=$ac_dir
28832 if test "x$ac_find_libraries" != "x"; then
28833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28834 $as_echo "yes" >&6; }
28836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28837 $as_echo "no" >&6; }
28841 elif test $pkg_failed = untried
; then
28843 if test "x$ac_find_libraries" = "x"; then
28844 if test "xglEnable" != "x"; then
28845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28846 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28847 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28848 $as_echo_n "(cached) " >&6
28850 ac_check_lib_save_LIBS
=$LIBS
28851 LIBS
="-lMesaGL $LIBS"
28852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28853 /* end confdefs.h. */
28855 /* Override any GCC internal prototype to avoid an error.
28856 Use char because int might match the return type of a GCC
28857 builtin and then its argument prototype would still apply. */
28865 return glEnable ();
28870 if ac_fn_c_try_link
"$LINENO"; then :
28871 ac_cv_lib_MesaGL_glEnable
=yes
28873 ac_cv_lib_MesaGL_glEnable
=no
28875 rm -f core conftest.err conftest.
$ac_objext \
28876 conftest
$ac_exeext conftest.
$ac_ext
28877 LIBS
=$ac_check_lib_save_LIBS
28879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28880 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28881 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28882 ac_find_libraries
="std"
28888 if test "x$ac_find_libraries" = "x"; then
28889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28890 $as_echo_n "checking elsewhere... " >&6; }
28893 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28895 for ac_extension
in a so sl dylib dll.a
; do
28896 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28897 ac_find_libraries
=$ac_dir
28903 if test "x$ac_find_libraries" != "x"; then
28904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28905 $as_echo "yes" >&6; }
28907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28908 $as_echo "no" >&6; }
28913 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28914 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28916 $as_echo "yes" >&6; }
28918 ac_find_libraries
="std"
28920 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28921 eval fl_libs
=\
$MesaGL_LIBS
28923 for fl_path
in $fl_libs
28925 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28926 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28932 if test "$ac_find_libraries" != "" ; then
28933 if test "$ac_find_libraries" != "std" ; then
28935 if test "$ac_find_libraries" = "default location"; then
28938 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28940 if test $result = 0; then
28943 ac_path_to_link
=" -L$ac_find_libraries"
28947 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28948 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28951 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28963 if test "x$OPENGL_LIBS" = "x"; then
28964 if test "$wxUSE_OPENGL" = "yes"; then
28965 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28968 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28975 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28979 if test "$wxUSE_OPENGL" = "auto"; then
28983 if test "$wxUSE_OPENGL" = "yes"; then
28985 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28987 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28994 if test -n "$TOOLKIT" ; then
28995 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
29000 if test "$wxUSE_SHARED" = "yes"; then
29004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
29005 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
29010 if test "$wxUSE_SHARED" = "yes"; then
29014 *-*-cygwin* | *-*-mingw* )
29015 wx_cv_version_script
=no
29019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
29020 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
29021 if ${wx_cv_version_script+:} false
; then :
29022 $as_echo_n "(cached) " >&6
29025 echo "VER_1 { *; };" >conftest.sym
29026 echo "int main() { return 0; }" >conftest.cpp
29029 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29030 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
29031 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29032 (eval $ac_try) 2>&5
29034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29035 test $ac_status = 0; }; } ; then
29036 if test -s conftest.stderr
; then
29037 wx_cv_version_script
=no
29039 wx_cv_version_script
=yes
29042 wx_cv_version_script
=no
29045 if test $wx_cv_version_script = yes
29047 echo "struct B { virtual ~B() { } }; \
29048 struct D : public B { }; \
29049 void F() { D d; }" > conftest.cpp
29052 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29053 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
29054 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29055 (eval $ac_try) 2>&5
29057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29058 test $ac_status = 0; }; } &&
29060 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29061 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
29062 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29063 (eval $ac_try) 2>&5
29065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29066 test $ac_status = 0; }; }
29069 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
29070 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
29071 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
29072 (eval $ac_try) 2>&5
29074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29075 test $ac_status = 0; }; }
29077 wx_cv_version_script
=yes
29079 wx_cv_version_script
=no
29084 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
29085 rm -f conftest1.output conftest2.output conftest3.output
29088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
29089 $as_echo "$wx_cv_version_script" >&6; }
29091 if test $wx_cv_version_script = yes ; then
29092 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
29098 if test "$wxUSE_VISIBILITY" != "no"; then
29101 if test -n "$GCC"; then
29102 CFLAGS_VISIBILITY
="-fvisibility=hidden"
29103 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
29104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29105 $as_echo_n "checking for symbols visibility support... " >&6; }
29106 if ${wx_cv_cc_visibility+:} false
; then :
29107 $as_echo_n "(cached) " >&6
29110 wx_save_CXXFLAGS
="$CXXFLAGS"
29111 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29113 ac_cpp
='$CXXCPP $CPPFLAGS'
29114 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29115 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29116 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29119 /* end confdefs.h. */
29121 /* we need gcc >= 4.0, older versions with visibility support
29122 didn't have class visibility: */
29123 #if defined(__GNUC__) && __GNUC__ < 4
29124 error this gcc is too old;
29127 /* visibility only makes sense for ELF shared libs: */
29128 #if !defined(__ELF__) && !defined(__APPLE__)
29129 error this platform has no visibility;
29132 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29133 #if defined(__clang__)
29134 clang compiler is still broken w.r.t. visibility;
29137 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29138 extern __attribute__((__visibility__("default"))) int exportedvar;
29139 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29140 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29141 class __attribute__((__visibility__("default"))) Foo {
29153 if ac_fn_cxx_try_compile
"$LINENO"; then :
29154 wx_cv_cc_visibility
=yes
29156 wx_cv_cc_visibility
=no
29158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29160 ac_cpp
='$CPP $CPPFLAGS'
29161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29165 CXXFLAGS
="$wx_save_CXXFLAGS"
29168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29169 $as_echo "$wx_cv_cc_visibility" >&6; }
29170 if test $wx_cv_cc_visibility = yes; then
29171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29172 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29173 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
29174 $as_echo_n "(cached) " >&6
29177 wx_save_CXXFLAGS
="$CXXFLAGS"
29178 wx_save_LDFLAGS
="$LDFLAGS"
29179 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29180 LDFLAGS
="$LDFLAGS -shared -fPIC"
29182 ac_cpp
='$CXXCPP $CPPFLAGS'
29183 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29184 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29185 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29188 /* end confdefs.h. */
29196 std::string s("hello");
29203 if ac_fn_cxx_try_link
"$LINENO"; then :
29204 wx_cv_cc_broken_libstdcxx_visibility
=no
29206 wx_cv_cc_broken_libstdcxx_visibility
=yes
29208 rm -f core conftest.err conftest.
$ac_objext \
29209 conftest
$ac_exeext conftest.
$ac_ext
29211 ac_cpp
='$CPP $CPPFLAGS'
29212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29216 CXXFLAGS
="$wx_save_CXXFLAGS"
29217 LDFLAGS
="$wx_save_LDFLAGS"
29220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29221 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29223 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29225 $as_echo_n "checking whether we can work around it... " >&6; }
29226 if ${wx_cv_cc_visibility_workaround+:} false
; then :
29227 $as_echo_n "(cached) " >&6
29231 ac_cpp
='$CXXCPP $CPPFLAGS'
29232 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29233 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29234 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29237 /* end confdefs.h. */
29239 #pragma GCC visibility push(default)
29241 #pragma GCC visibility pop
29247 std::string s("hello");
29254 if ac_fn_cxx_try_link
"$LINENO"; then :
29255 wx_cv_cc_visibility_workaround
=no
29257 wx_cv_cc_visibility_workaround
=yes
29259 rm -f core conftest.err conftest.
$ac_objext \
29260 conftest
$ac_exeext conftest.
$ac_ext
29262 ac_cpp
='$CPP $CPPFLAGS'
29263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29271 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29273 if test $wx_cv_cc_visibility_workaround = no
; then
29274 wx_cv_cc_visibility
=no
29279 if test $wx_cv_cc_visibility = yes; then
29280 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29282 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29283 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29287 CFLAGS_VISIBILITY
=""
29288 CXXFLAGS_VISIBILITY
=""
29296 if test "x$SUNCXX" = xyes
; then
29297 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
29298 WXCONFIG_RPATH
="-R\$libdir"
29301 *-*-linux* | *-*-gnu* )
29302 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29303 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29308 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29310 saveLdflags
="$LDFLAGS"
29311 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29313 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29315 /* end confdefs.h. */
29325 if ac_fn_c_try_link
"$LINENO"; then :
29327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29328 $as_echo "yes" >&6; }
29329 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29330 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29335 $as_echo "no" >&6; }
29336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29337 $as_echo_n "checking if the linker accepts -R... " >&6; }
29338 LDFLAGS
="$saveLdflags -Wl,-R,/"
29339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29340 /* end confdefs.h. */
29350 if ac_fn_c_try_link
"$LINENO"; then :
29352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29353 $as_echo "yes" >&6; }
29354 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29355 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29360 $as_echo "no" >&6; }
29363 rm -f core conftest.err conftest.
$ac_objext \
29364 conftest
$ac_exeext conftest.
$ac_ext
29367 rm -f core conftest.err conftest.
$ac_objext \
29368 conftest
$ac_exeext conftest.
$ac_ext
29369 LDFLAGS
="$saveLdflags"
29373 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29374 if test "$install_name_tool" -a -x "$install_name_tool"; then
29375 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29376 cat <<EOF >change-install-names
29378 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29379 for i in \${libnames} ; do
29380 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29381 for dep in \${libnames} ; do
29382 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29386 chmod +x change
-install-names
29387 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29390 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29393 *-*-cygwin* | *-*-mingw32* )
29397 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29398 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29404 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29406 if test $wxUSE_RPATH = "no"; then
29407 SAMPLES_RPATH_FLAG
=''
29408 DYLIB_PATH_POSTLINK
=''
29416 config_linkage_component
="-static"
29423 lib_unicode_suffix
=
29425 if test "$wxUSE_UNICODE" = "yes"; then
29426 lib_unicode_suffix
=u
29427 WX_CHARTYPE
="unicode"
29431 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29432 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29435 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29439 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29441 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29443 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29446 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29447 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29449 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29451 if test "${TOOLKIT_DIR}" = "os2"; then
29452 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29454 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29459 if test "$wxUSE_OLD_COCOA" = 1; then
29462 ac_cpp
='$CPP $CPPFLAGS'
29463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29470 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29472 /* end confdefs.h. */
29473 #include <AppKit/NSEvent.h>
29474 #include <CoreFoundation/CoreFoundation.h>
29484 if ac_fn_c_try_compile
"$LINENO"; then :
29485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29486 $as_echo "no" >&6; }
29488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29489 $as_echo "yes" >&6; }
29490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29491 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29493 /* end confdefs.h. */
29494 #define __Point__ 1
29495 #include <AppKit/NSEvent.h>
29496 #include <CoreFoundation/CoreFoundation.h>
29506 if ac_fn_c_try_compile
"$LINENO"; then :
29507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29508 $as_echo "yes" >&6; }
29509 $as_echo "#define __Point__ 1" >>confdefs.h
29513 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29516 See \`config.log' for more details" "$LINENO" 5; }
29519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29524 ac_cpp
='$CPP $CPPFLAGS'
29525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29532 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29533 if test "x$ac_cv_type_mode_t" = xyes
; then :
29537 cat >>confdefs.h
<<_ACEOF
29543 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29544 if test "x$ac_cv_type_off_t" = xyes
; then :
29548 cat >>confdefs.h
<<_ACEOF
29549 #define off_t long int
29554 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29555 if test "x$ac_cv_type_pid_t" = xyes
; then :
29559 cat >>confdefs.h
<<_ACEOF
29565 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29566 if test "x$ac_cv_type_size_t" = xyes
; then :
29570 cat >>confdefs.h
<<_ACEOF
29571 #define size_t unsigned int
29577 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29578 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29580 cat >>confdefs.h
<<_ACEOF
29581 #define HAVE_SSIZE_T 1
29589 ac_cpp
='$CXXCPP $CPPFLAGS'
29590 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29591 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29592 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29594 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29595 if ${wx_cv_size_t_is_uint+:} false
; then :
29596 $as_echo_n "(cached) " >&6
29599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29600 /* end confdefs.h. */
29601 #include <stddef.h>
29608 struct Foo { void foo(size_t); void foo(unsigned int); };
29616 if ac_fn_cxx_try_compile
"$LINENO"; then :
29617 wx_cv_size_t_is_uint
=no
29619 wx_cv_size_t_is_uint
=yes
29622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29627 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29629 if test "$wx_cv_size_t_is_uint" = "yes"; then
29630 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29634 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29635 if ${wx_cv_size_t_is_ulong+:} false
; then :
29636 $as_echo_n "(cached) " >&6
29638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29639 /* end confdefs.h. */
29640 #include <stddef.h>
29647 struct Foo { void foo(size_t); void foo(unsigned long); };
29655 if ac_fn_cxx_try_compile
"$LINENO"; then :
29656 wx_cv_size_t_is_ulong
=no
29658 wx_cv_size_t_is_ulong
=yes
29661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29665 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29667 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29668 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29674 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29675 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29676 $as_echo_n "(cached) " >&6
29678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29679 /* end confdefs.h. */
29687 struct Foo { void foo(wchar_t);
29688 void foo(unsigned short);
29689 void foo(unsigned int);
29690 void foo(unsigned long); };
29698 if ac_fn_cxx_try_compile
"$LINENO"; then :
29699 wx_cv_wchar_t_is_separate_type
=yes
29701 wx_cv_wchar_t_is_separate_type
=no
29704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29708 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29710 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29711 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29714 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29719 ac_cpp
='$CPP $CPPFLAGS'
29720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29726 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29727 if ${wx_cv_struct_pw_gecos+:} false
; then :
29728 $as_echo_n "(cached) " >&6
29731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29732 /* end confdefs.h. */
29746 if ac_fn_c_try_compile
"$LINENO"; then :
29748 wx_cv_struct_pw_gecos
=yes
29752 wx_cv_struct_pw_gecos
=no
29756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29761 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29763 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29764 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29771 for ac_func
in wcslen
29773 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29774 if test "x$ac_cv_func_wcslen" = xyes
; then :
29775 cat >>confdefs.h
<<_ACEOF
29776 #define HAVE_WCSLEN 1
29783 if test "$WCSLEN_FOUND" = 0; then
29784 if test "$TOOLKIT" = "MSW"; then
29785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29786 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29787 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29788 $as_echo_n "(cached) " >&6
29790 ac_check_lib_save_LIBS
=$LIBS
29791 LIBS
="-lmsvcrt $LIBS"
29792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29793 /* end confdefs.h. */
29795 /* Override any GCC internal prototype to avoid an error.
29796 Use char because int might match the return type of a GCC
29797 builtin and then its argument prototype would still apply. */
29810 if ac_fn_c_try_link
"$LINENO"; then :
29811 ac_cv_lib_msvcrt_wcslen
=yes
29813 ac_cv_lib_msvcrt_wcslen
=no
29815 rm -f core conftest.err conftest.
$ac_objext \
29816 conftest
$ac_exeext conftest.
$ac_ext
29817 LIBS
=$ac_check_lib_save_LIBS
29819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29820 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29821 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29827 $as_echo_n "checking for wcslen in -lw... " >&6; }
29828 if ${ac_cv_lib_w_wcslen+:} false
; then :
29829 $as_echo_n "(cached) " >&6
29831 ac_check_lib_save_LIBS
=$LIBS
29833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29834 /* end confdefs.h. */
29836 /* Override any GCC internal prototype to avoid an error.
29837 Use char because int might match the return type of a GCC
29838 builtin and then its argument prototype would still apply. */
29851 if ac_fn_c_try_link
"$LINENO"; then :
29852 ac_cv_lib_w_wcslen
=yes
29854 ac_cv_lib_w_wcslen
=no
29856 rm -f core conftest.err conftest.
$ac_objext \
29857 conftest
$ac_exeext conftest.
$ac_ext
29858 LIBS
=$ac_check_lib_save_LIBS
29860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29861 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29862 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29872 if test "$WCSLEN_FOUND" = 1; then
29873 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29877 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29879 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29880 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29881 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29882 cat >>confdefs.h
<<_ACEOF
29883 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29890 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29891 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29894 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29896 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29898 cat >>confdefs.h
<<_ACEOF
29899 #define HAVE_MBSTATE_T 1
29902 for ac_func
in wcsrtombs
29904 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29905 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29906 cat >>confdefs.h
<<_ACEOF
29907 #define HAVE_WCSRTOMBS 1
29916 for ac_func
in snprintf vsnprintf vsscanf
29918 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29919 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29920 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29921 cat >>confdefs.h
<<_ACEOF
29922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29930 ac_cpp
='$CXXCPP $CPPFLAGS'
29931 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29932 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29933 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29935 if test "$ac_cv_func_vsnprintf" = "yes"; then
29936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29937 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29938 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29939 $as_echo_n "(cached) " >&6
29942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29943 /* end confdefs.h. */
29946 #include <stdarg.h>
29954 vsnprintf(buf, 10u, "%s", ap);
29960 if ac_fn_cxx_try_compile
"$LINENO"; then :
29961 wx_cv_func_vsnprintf_decl
=yes
29963 wx_cv_func_vsnprintf_decl
=no
29966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29971 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29973 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29974 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29978 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29979 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
29980 $as_echo_n "(cached) " >&6
29983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29984 /* end confdefs.h. */
29987 #include <stdarg.h>
29989 #if __MSL__ >= 0x6000
29991 using namespace std;
30001 const char *fmt = "%s";
30002 vsnprintf(buf, 10u, fmt, ap);
30008 if ac_fn_cxx_try_compile
"$LINENO"; then :
30009 wx_cv_func_broken_vsnprintf_decl
=no
30011 wx_cv_func_broken_vsnprintf_decl
=yes
30014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
30019 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
30021 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
30022 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
30028 if test "$ac_cv_func_snprintf" = "yes"; then
30029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
30030 $as_echo_n "checking for snprintf declaration... " >&6; }
30031 if ${wx_cv_func_snprintf_decl+:} false
; then :
30032 $as_echo_n "(cached) " >&6
30035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30036 /* end confdefs.h. */
30039 #include <stdarg.h>
30041 #if __MSL__ >= 0x6000
30043 using namespace std;
30052 snprintf(buf, 10u, "%s", "wx");
30058 if ac_fn_cxx_try_compile
"$LINENO"; then :
30059 wx_cv_func_snprintf_decl
=yes
30061 wx_cv_func_snprintf_decl
=no
30064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
30069 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
30071 if test "$wx_cv_func_snprintf_decl" = "yes"; then
30072 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
30076 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
30078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
30079 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
30080 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
30081 $as_echo_n "(cached) " >&6
30084 if test "$cross_compiling" = yes; then :
30086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
30087 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
30088 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
30089 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30090 wx_cv_func_snprintf_pos_params
=no
30094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30095 /* end confdefs.h. */
30102 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30103 if (strcmp ("2 3 1", buffer) == 0)
30109 if ac_fn_cxx_try_run
"$LINENO"; then :
30110 wx_cv_func_snprintf_pos_params
=no
30112 wx_cv_func_snprintf_pos_params
=yes
30114 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30115 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30122 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30124 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30125 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30131 if test "$ac_cv_func_vsscanf" = "yes"; then
30132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30133 $as_echo_n "checking for vsscanf declaration... " >&6; }
30134 if ${wx_cv_func_vsscanf_decl+:} false
; then :
30135 $as_echo_n "(cached) " >&6
30138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30139 /* end confdefs.h. */
30142 #include <stdarg.h>
30144 #if __MSL__ >= 0x6000
30146 using namespace std;
30156 vsscanf(buf, "%s", args);
30162 if ac_fn_cxx_try_compile
"$LINENO"; then :
30163 wx_cv_func_vsscanf_decl
=yes
30165 wx_cv_func_vsscanf_decl
=no
30168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30173 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30175 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30176 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30181 ac_cpp
='$CPP $CPPFLAGS'
30182 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30183 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30184 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30187 if test "$wxUSE_UNICODE" = yes; then
30189 wchar_headers
="#include <stdio.h>
30190 #include <wchar.h>"
30193 for ac_header
in widec.h
30195 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30197 if test "x$ac_cv_header_widec_h" = xyes
; then :
30198 cat >>confdefs.h
<<_ACEOF
30199 #define HAVE_WIDEC_H 1
30206 if test "$ac_cv_header_widec_h" = "yes"; then
30207 wchar_headers
="$wchar_headers
30208 #include <widec.h>"
30213 for wx_func
in putws fputws wprintf vswprintf vswscanf
30215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30216 $as_echo_n "checking for $wx_func... " >&6; }
30217 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30218 $as_echo_n "(cached) " >&6
30221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30222 /* end confdefs.h. */
30226 $ac_includes_default
30242 if ac_fn_c_try_link
"$LINENO"; then :
30243 eval wx_cv_func_
$wx_func=yes
30245 eval wx_cv_func_
$wx_func=no
30247 rm -f core conftest.err conftest.
$ac_objext \
30248 conftest
$ac_exeext conftest.
$ac_ext
30251 eval ac_res
=\
$wx_cv_func_$wx_func
30252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30253 $as_echo "$ac_res" >&6; }
30255 if eval test \
$wx_cv_func_$wx_func = yes
30257 cat >>confdefs.h
<<_ACEOF
30258 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30270 $as_echo_n "checking for _vsnwprintf... " >&6; }
30271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30272 /* end confdefs.h. */
30282 if ac_fn_c_try_compile
"$LINENO"; then :
30283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30284 $as_echo "yes" >&6; }
30285 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30289 $as_echo "no" >&6; }
30291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30294 if test "$wxUSE_FILE" = "yes"; then
30296 for wx_func
in fsync
30298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30299 $as_echo_n "checking for $wx_func... " >&6; }
30300 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30301 $as_echo_n "(cached) " >&6
30304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30305 /* end confdefs.h. */
30309 $ac_includes_default
30325 if ac_fn_c_try_link
"$LINENO"; then :
30326 eval wx_cv_func_
$wx_func=yes
30328 eval wx_cv_func_
$wx_func=no
30330 rm -f core conftest.err conftest.
$ac_objext \
30331 conftest
$ac_exeext conftest.
$ac_ext
30334 eval ac_res
=\
$wx_cv_func_$wx_func
30335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30336 $as_echo "$ac_res" >&6; }
30338 if eval test \
$wx_cv_func_$wx_func = yes
30340 cat >>confdefs.h
<<_ACEOF
30341 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30354 ac_cpp
='$CXXCPP $CPPFLAGS'
30355 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30356 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30357 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30360 for wx_func
in round
30362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30363 $as_echo_n "checking for $wx_func... " >&6; }
30364 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30365 $as_echo_n "(cached) " >&6
30368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30369 /* end confdefs.h. */
30373 $ac_includes_default
30389 if ac_fn_cxx_try_link
"$LINENO"; then :
30390 eval wx_cv_func_
$wx_func=yes
30392 eval wx_cv_func_
$wx_func=no
30394 rm -f core conftest.err conftest.
$ac_objext \
30395 conftest
$ac_exeext conftest.
$ac_ext
30398 eval ac_res
=\
$wx_cv_func_$wx_func
30399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30400 $as_echo "$ac_res" >&6; }
30402 if eval test \
$wx_cv_func_$wx_func = yes
30404 cat >>confdefs.h
<<_ACEOF
30405 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30416 ac_cpp
='$CPP $CPPFLAGS'
30417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30422 if test "$TOOLKIT" != "MSW"; then
30424 if test "$wxUSE_LIBICONV" != "no" ; then
30428 # Check whether --with-libiconv-prefix was given.
30429 if test "${with_libiconv_prefix+set}" = set; then :
30430 withval
=$with_libiconv_prefix;
30431 for dir
in `echo "$withval" | tr : ' '`; do
30432 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30433 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30440 $as_echo_n "checking for iconv... " >&6; }
30441 if ${am_cv_func_iconv+:} false
; then :
30442 $as_echo_n "(cached) " >&6
30445 am_cv_func_iconv
="no, consider installing GNU libiconv"
30447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30448 /* end confdefs.h. */
30449 #include <stdlib.h>
30454 iconv_t cd = iconv_open("","");
30455 iconv(cd,NULL,NULL,NULL,NULL);
30461 if ac_fn_c_try_link
"$LINENO"; then :
30462 am_cv_func_iconv
=yes
30464 rm -f core conftest.err conftest.
$ac_objext \
30465 conftest
$ac_exeext conftest.
$ac_ext
30466 if test "$am_cv_func_iconv" != yes; then
30467 am_save_LIBS
="$LIBS"
30468 LIBS
="$LIBS -liconv"
30469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30470 /* end confdefs.h. */
30471 #include <stdlib.h>
30476 iconv_t cd = iconv_open("","");
30477 iconv(cd,NULL,NULL,NULL,NULL);
30483 if ac_fn_c_try_link
"$LINENO"; then :
30484 am_cv_lib_iconv
=yes
30485 am_cv_func_iconv
=yes
30487 rm -f core conftest.err conftest.
$ac_objext \
30488 conftest
$ac_exeext conftest.
$ac_ext
30489 LIBS
="$am_save_LIBS"
30493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30494 $as_echo "$am_cv_func_iconv" >&6; }
30495 if test "$am_cv_func_iconv" = yes; then
30497 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30500 $as_echo_n "checking if iconv needs const... " >&6; }
30501 if ${wx_cv_func_iconv_const+:} false
; then :
30502 $as_echo_n "(cached) " >&6
30504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30505 /* end confdefs.h. */
30507 #include <stdlib.h>
30513 #if defined(__STDC__) || defined(__cplusplus)
30514 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30527 if ac_fn_c_try_compile
"$LINENO"; then :
30528 wx_cv_func_iconv_const
="no"
30530 wx_cv_func_iconv_const
="yes"
30533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30537 $as_echo "$wx_cv_func_iconv_const" >&6; }
30540 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30541 iconv_const
="const"
30545 cat >>confdefs.h
<<_ACEOF
30546 #define ICONV_CONST $iconv_const
30551 if test "$am_cv_lib_iconv" = yes; then
30556 LIBS
="$LIBICONV $LIBS"
30559 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30560 for ac_func
in sigaction
30562 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30563 if test "x$ac_cv_func_sigaction" = xyes
; then :
30564 cat >>confdefs.h
<<_ACEOF
30565 #define HAVE_SIGACTION 1
30572 if test "$ac_cv_func_sigaction" = "no"; then
30573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30574 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30575 wxUSE_ON_FATAL_EXCEPTION
=no
30578 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30580 $as_echo_n "checking for sa_handler type... " >&6; }
30581 if ${wx_cv_type_sa_handler+:} false
; then :
30582 $as_echo_n "(cached) " >&6
30586 ac_cpp
='$CXXCPP $CPPFLAGS'
30587 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30588 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30589 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30592 /* end confdefs.h. */
30593 #include <signal.h>
30598 extern void testSigHandler(int);
30600 struct sigaction sa;
30601 sa.sa_handler = testSigHandler;
30607 if ac_fn_cxx_try_compile
"$LINENO"; then :
30609 wx_cv_type_sa_handler
=int
30613 wx_cv_type_sa_handler
=void
30616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30618 ac_cpp
='$CPP $CPPFLAGS'
30619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30626 $as_echo "$wx_cv_type_sa_handler" >&6; }
30628 cat >>confdefs.h
<<_ACEOF
30629 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30635 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30637 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30638 if ${wx_cv_func_backtrace+:} false
; then :
30639 $as_echo_n "(cached) " >&6
30642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30643 $as_echo_n "checking for library containing backtrace... " >&6; }
30644 if ${ac_cv_search_backtrace+:} false
; then :
30645 $as_echo_n "(cached) " >&6
30647 ac_func_search_save_LIBS
=$LIBS
30648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30649 /* end confdefs.h. */
30651 /* Override any GCC internal prototype to avoid an error.
30652 Use char because int might match the return type of a GCC
30653 builtin and then its argument prototype would still apply. */
30661 return backtrace ();
30666 for ac_lib
in '' execinfo
; do
30667 if test -z "$ac_lib"; then
30668 ac_res
="none required"
30671 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
30673 if ac_fn_c_try_link
"$LINENO"; then :
30674 ac_cv_search_backtrace
=$ac_res
30676 rm -f core conftest.err conftest.
$ac_objext \
30678 if ${ac_cv_search_backtrace+:} false
; then :
30682 if ${ac_cv_search_backtrace+:} false
; then :
30685 ac_cv_search_backtrace
=no
30687 rm conftest.
$ac_ext
30688 LIBS
=$ac_func_search_save_LIBS
30690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30691 $as_echo "$ac_cv_search_backtrace" >&6; }
30692 ac_res
=$ac_cv_search_backtrace
30693 if test "$ac_res" != no
; then :
30694 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
30697 ac_cpp
='$CXXCPP $CPPFLAGS'
30698 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30699 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30700 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30703 /* end confdefs.h. */
30704 #include <execinfo.h>
30711 backtrace(trace, 1);
30712 messages = backtrace_symbols(trace, 1);
30718 if ac_fn_cxx_try_link
"$LINENO"; then :
30719 wx_cv_func_backtrace
=yes
30721 wx_cv_func_backtrace
=no
30724 rm -f core conftest.err conftest.
$ac_objext \
30725 conftest
$ac_exeext conftest.
$ac_ext
30727 ac_cpp
='$CPP $CPPFLAGS'
30728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30734 wx_cv_func_backtrace
=no
30741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30742 $as_echo "$wx_cv_func_backtrace" >&6; }
30744 if test "$wx_cv_func_backtrace" = "no"; then
30745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30746 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30747 wxUSE_STACKWALKER
=no
30749 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30751 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30752 if ${wx_cv_func_cxa_demangle+:} false
; then :
30753 $as_echo_n "(cached) " >&6
30757 ac_cpp
='$CXXCPP $CPPFLAGS'
30758 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30759 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30760 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30763 /* end confdefs.h. */
30764 #include <cxxabi.h>
30770 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30776 if ac_fn_cxx_try_link
"$LINENO"; then :
30777 wx_cv_func_cxa_demangle
=yes
30779 wx_cv_func_cxa_demangle
=no
30782 rm -f core conftest.err conftest.
$ac_objext \
30783 conftest
$ac_exeext conftest.
$ac_ext
30785 ac_cpp
='$CPP $CPPFLAGS'
30786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30794 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30796 wx_cv_func_cxa_demangle
=no
30799 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30800 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30806 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30808 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30809 wxUSE_STACKWALKER
=no
30813 for ac_func
in mkstemp mktemp
30815 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30816 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30817 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30818 cat >>confdefs.h
<<_ACEOF
30819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30827 $as_echo_n "checking for statfs... " >&6; }
30828 if ${wx_cv_func_statfs+:} false
; then :
30829 $as_echo_n "(cached) " >&6
30831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30832 /* end confdefs.h. */
30834 #if defined(__BSD__)
30835 #include <sys/param.h>
30836 #include <sys/mount.h>
30838 #include <sys/vfs.h>
30856 if ac_fn_c_try_compile
"$LINENO"; then :
30857 wx_cv_func_statfs
=yes
30859 wx_cv_func_statfs
=no
30862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30866 $as_echo "$wx_cv_func_statfs" >&6; }
30868 if test "$wx_cv_func_statfs" = "yes"; then
30869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30870 $as_echo_n "checking for statfs declaration... " >&6; }
30871 if ${wx_cv_func_statfs_decl+:} false
; then :
30872 $as_echo_n "(cached) " >&6
30875 ac_cpp
='$CXXCPP $CPPFLAGS'
30876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30881 /* end confdefs.h. */
30883 #if defined(__BSD__)
30884 #include <sys/param.h>
30885 #include <sys/mount.h>
30887 #include <sys/vfs.h>
30901 if ac_fn_cxx_try_compile
"$LINENO"; then :
30902 wx_cv_func_statfs_decl
=yes
30904 wx_cv_func_statfs_decl
=no
30907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30909 ac_cpp
='$CPP $CPPFLAGS'
30910 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30911 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30912 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30917 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30919 if test "$wx_cv_func_statfs_decl" = "yes"; then
30920 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30924 wx_cv_type_statvfs_t
="struct statfs"
30925 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30929 $as_echo_n "checking for statvfs... " >&6; }
30930 if ${wx_cv_func_statvfs+:} false
; then :
30931 $as_echo_n "(cached) " >&6
30933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30934 /* end confdefs.h. */
30936 #include <stddef.h>
30937 #include <sys/statvfs.h>
30943 statvfs("/", NULL);
30949 if ac_fn_c_try_compile
"$LINENO"; then :
30950 wx_cv_func_statvfs
=yes
30952 wx_cv_func_statvfs
=no
30955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30959 $as_echo "$wx_cv_func_statvfs" >&6; }
30961 if test "$wx_cv_func_statvfs" = "yes"; then
30962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30963 $as_echo_n "checking for statvfs argument type... " >&6; }
30964 if ${wx_cv_type_statvfs_t+:} false
; then :
30965 $as_echo_n "(cached) " >&6
30968 ac_cpp
='$CXXCPP $CPPFLAGS'
30969 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30970 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30971 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30974 /* end confdefs.h. */
30976 #include <sys/statvfs.h>
30993 if ac_fn_cxx_try_compile
"$LINENO"; then :
30994 wx_cv_type_statvfs_t
=statvfs_t
30997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30998 /* end confdefs.h. */
31000 #include <sys/statvfs.h>
31017 if ac_fn_cxx_try_compile
"$LINENO"; then :
31018 wx_cv_type_statvfs_t
="struct statvfs"
31020 wx_cv_type_statvfs_t
="unknown"
31023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31029 ac_cpp
='$CPP $CPPFLAGS'
31030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
31037 $as_echo "$wx_cv_type_statvfs_t" >&6; }
31039 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31040 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
31044 wx_cv_type_statvfs_t
="unknown"
31048 if test "$wx_cv_type_statvfs_t" != "unknown"; then
31049 cat >>confdefs.h
<<_ACEOF
31050 #define WX_STATFS_T $wx_cv_type_statvfs_t
31054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
31055 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
31058 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
31059 for ac_func
in fcntl flock
31061 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31062 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
31063 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
31064 cat >>confdefs.h
<<_ACEOF
31065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31072 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
31073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
31074 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
31075 wxUSE_SNGLINST_CHECKER
=no
31079 for ac_func
in setenv putenv
31081 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31082 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
31083 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
31084 cat >>confdefs.h
<<_ACEOF
31085 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31091 if test "$ac_cv_func_setenv" = "yes"; then
31092 for ac_func
in unsetenv
31094 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31095 if test "x$ac_cv_func_unsetenv" = xyes
; then :
31096 cat >>confdefs.h
<<_ACEOF
31097 #define HAVE_UNSETENV 1
31105 HAVE_SOME_SLEEP_FUNC
=0
31106 if test "$USE_BEOS" = 1; then
31107 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31109 HAVE_SOME_SLEEP_FUNC
=1
31112 if test "$USE_DARWIN" = 1; then
31113 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31115 HAVE_SOME_SLEEP_FUNC
=1
31118 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31120 for ac_func
in nanosleep
31122 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31123 if test "x$ac_cv_func_nanosleep" = xyes
; then :
31124 cat >>confdefs.h
<<_ACEOF
31125 #define HAVE_NANOSLEEP 1
31127 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31132 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31133 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
31134 $as_echo_n "(cached) " >&6
31136 ac_check_lib_save_LIBS
=$LIBS
31137 LIBS
="-lposix4 $LIBS"
31138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31139 /* end confdefs.h. */
31141 /* Override any GCC internal prototype to avoid an error.
31142 Use char because int might match the return type of a GCC
31143 builtin and then its argument prototype would still apply. */
31151 return nanosleep ();
31156 if ac_fn_c_try_link
"$LINENO"; then :
31157 ac_cv_lib_posix4_nanosleep
=yes
31159 ac_cv_lib_posix4_nanosleep
=no
31161 rm -f core conftest.err conftest.
$ac_objext \
31162 conftest
$ac_exeext conftest.
$ac_ext
31163 LIBS
=$ac_check_lib_save_LIBS
31165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31166 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31167 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
31169 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31171 POSIX4_LINK
=" -lposix4"
31176 for wx_func
in usleep
31178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31179 $as_echo_n "checking for $wx_func... " >&6; }
31180 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31181 $as_echo_n "(cached) " >&6
31184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31185 /* end confdefs.h. */
31189 $ac_includes_default
31205 if ac_fn_c_try_link
"$LINENO"; then :
31206 eval wx_cv_func_
$wx_func=yes
31208 eval wx_cv_func_
$wx_func=no
31210 rm -f core conftest.err conftest.
$ac_objext \
31211 conftest
$ac_exeext conftest.
$ac_ext
31214 eval ac_res
=\
$wx_cv_func_$wx_func
31215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31216 $as_echo "$ac_res" >&6; }
31218 if eval test \
$wx_cv_func_$wx_func = yes
31220 cat >>confdefs.h
<<_ACEOF
31221 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31228 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31245 for wx_func
in uname
31247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31248 $as_echo_n "checking for $wx_func... " >&6; }
31249 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31250 $as_echo_n "(cached) " >&6
31253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31254 /* end confdefs.h. */
31257 #include <sys/utsname.h>
31258 $ac_includes_default
31274 if ac_fn_c_try_link
"$LINENO"; then :
31275 eval wx_cv_func_
$wx_func=yes
31277 eval wx_cv_func_
$wx_func=no
31279 rm -f core conftest.err conftest.
$ac_objext \
31280 conftest
$ac_exeext conftest.
$ac_ext
31283 eval ac_res
=\
$wx_cv_func_$wx_func
31284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31285 $as_echo "$ac_res" >&6; }
31287 if eval test \
$wx_cv_func_$wx_func = yes
31289 cat >>confdefs.h
<<_ACEOF
31290 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31300 if test "$wx_cv_func_uname" != yes; then
31302 for wx_func
in gethostname
31304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31305 $as_echo_n "checking for $wx_func... " >&6; }
31306 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31307 $as_echo_n "(cached) " >&6
31310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31311 /* end confdefs.h. */
31315 $ac_includes_default
31331 if ac_fn_c_try_link
"$LINENO"; then :
31332 eval wx_cv_func_
$wx_func=yes
31334 eval wx_cv_func_
$wx_func=no
31336 rm -f core conftest.err conftest.
$ac_objext \
31337 conftest
$ac_exeext conftest.
$ac_ext
31340 eval ac_res
=\
$wx_cv_func_$wx_func
31341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31342 $as_echo "$ac_res" >&6; }
31344 if eval test \
$wx_cv_func_$wx_func = yes
31346 cat >>confdefs.h
<<_ACEOF
31347 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31360 for wx_func
in strtok_r
31362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31363 $as_echo_n "checking for $wx_func... " >&6; }
31364 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31365 $as_echo_n "(cached) " >&6
31368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31369 /* end confdefs.h. */
31373 $ac_includes_default
31389 if ac_fn_c_try_link
"$LINENO"; then :
31390 eval wx_cv_func_
$wx_func=yes
31392 eval wx_cv_func_
$wx_func=no
31394 rm -f core conftest.err conftest.
$ac_objext \
31395 conftest
$ac_exeext conftest.
$ac_ext
31398 eval ac_res
=\
$wx_cv_func_$wx_func
31399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31400 $as_echo "$ac_res" >&6; }
31402 if eval test \
$wx_cv_func_$wx_func = yes
31404 cat >>confdefs.h
<<_ACEOF
31405 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31417 for ac_func
in inet_addr
31419 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31420 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31421 cat >>confdefs.h
<<_ACEOF
31422 #define HAVE_INET_ADDR 1
31424 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31429 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31430 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31431 $as_echo_n "(cached) " >&6
31433 ac_check_lib_save_LIBS
=$LIBS
31435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31436 /* end confdefs.h. */
31438 /* Override any GCC internal prototype to avoid an error.
31439 Use char because int might match the return type of a GCC
31440 builtin and then its argument prototype would still apply. */
31448 return inet_addr ();
31453 if ac_fn_c_try_link
"$LINENO"; then :
31454 ac_cv_lib_nsl_inet_addr
=yes
31456 ac_cv_lib_nsl_inet_addr
=no
31458 rm -f core conftest.err conftest.
$ac_objext \
31459 conftest
$ac_exeext conftest.
$ac_ext
31460 LIBS
=$ac_check_lib_save_LIBS
31462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31463 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31464 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31469 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31470 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31471 $as_echo_n "(cached) " >&6
31473 ac_check_lib_save_LIBS
=$LIBS
31474 LIBS
="-lresolv $LIBS"
31475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31476 /* end confdefs.h. */
31478 /* Override any GCC internal prototype to avoid an error.
31479 Use char because int might match the return type of a GCC
31480 builtin and then its argument prototype would still apply. */
31488 return inet_addr ();
31493 if ac_fn_c_try_link
"$LINENO"; then :
31494 ac_cv_lib_resolv_inet_addr
=yes
31496 ac_cv_lib_resolv_inet_addr
=no
31498 rm -f core conftest.err conftest.
$ac_objext \
31499 conftest
$ac_exeext conftest.
$ac_ext
31500 LIBS
=$ac_check_lib_save_LIBS
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31503 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31504 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31509 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31510 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31511 $as_echo_n "(cached) " >&6
31513 ac_check_lib_save_LIBS
=$LIBS
31514 LIBS
="-lsocket $LIBS"
31515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31516 /* end confdefs.h. */
31518 /* Override any GCC internal prototype to avoid an error.
31519 Use char because int might match the return type of a GCC
31520 builtin and then its argument prototype would still apply. */
31528 return inet_addr ();
31533 if ac_fn_c_try_link
"$LINENO"; then :
31534 ac_cv_lib_socket_inet_addr
=yes
31536 ac_cv_lib_socket_inet_addr
=no
31538 rm -f core conftest.err conftest.
$ac_objext \
31539 conftest
$ac_exeext conftest.
$ac_ext
31540 LIBS
=$ac_check_lib_save_LIBS
31542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31543 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31544 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31563 for ac_func
in inet_aton
31565 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31566 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31567 cat >>confdefs.h
<<_ACEOF
31568 #define HAVE_INET_ATON 1
31570 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31574 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31576 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31577 if eval \
${$as_ac_Lib+:} false
; then :
31578 $as_echo_n "(cached) " >&6
31580 ac_check_lib_save_LIBS
=$LIBS
31581 LIBS
="-l$INET_LINK $LIBS"
31582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31583 /* end confdefs.h. */
31585 /* Override any GCC internal prototype to avoid an error.
31586 Use char because int might match the return type of a GCC
31587 builtin and then its argument prototype would still apply. */
31595 return inet_aton ();
31600 if ac_fn_c_try_link
"$LINENO"; then :
31601 eval "$as_ac_Lib=yes"
31603 eval "$as_ac_Lib=no"
31605 rm -f core conftest.err conftest.
$ac_objext \
31606 conftest
$ac_exeext conftest.
$ac_ext
31607 LIBS
=$ac_check_lib_save_LIBS
31609 eval ac_res
=\$
$as_ac_Lib
31610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31611 $as_echo "$ac_res" >&6; }
31612 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31613 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31622 if test "x$INET_LINK" != "x"; then
31623 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31625 INET_LINK
=" -l$INET_LINK"
31629 for wx_func
in fdopen
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31632 $as_echo_n "checking for $wx_func... " >&6; }
31633 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31634 $as_echo_n "(cached) " >&6
31637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31638 /* end confdefs.h. */
31642 $ac_includes_default
31658 if ac_fn_c_try_link
"$LINENO"; then :
31659 eval wx_cv_func_
$wx_func=yes
31661 eval wx_cv_func_
$wx_func=no
31663 rm -f core conftest.err conftest.
$ac_objext \
31664 conftest
$ac_exeext conftest.
$ac_ext
31667 eval ac_res
=\
$wx_cv_func_$wx_func
31668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31669 $as_echo "$ac_res" >&6; }
31671 if eval test \
$wx_cv_func_$wx_func = yes
31673 cat >>confdefs.h
<<_ACEOF
31674 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31685 if test "$wxUSE_TARSTREAM" = "yes"; then
31687 for wx_func
in sysconf
31689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31690 $as_echo_n "checking for $wx_func... " >&6; }
31691 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31692 $as_echo_n "(cached) " >&6
31695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31696 /* end confdefs.h. */
31700 $ac_includes_default
31716 if ac_fn_c_try_link
"$LINENO"; then :
31717 eval wx_cv_func_
$wx_func=yes
31719 eval wx_cv_func_
$wx_func=no
31721 rm -f core conftest.err conftest.
$ac_objext \
31722 conftest
$ac_exeext conftest.
$ac_ext
31725 eval ac_res
=\
$wx_cv_func_$wx_func
31726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31727 $as_echo "$ac_res" >&6; }
31729 if eval test \
$wx_cv_func_$wx_func = yes
31731 cat >>confdefs.h
<<_ACEOF
31732 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31744 for wx_func
in getpwuid_r
31746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31747 $as_echo_n "checking for $wx_func... " >&6; }
31748 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31749 $as_echo_n "(cached) " >&6
31752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31753 /* end confdefs.h. */
31760 $ac_includes_default
31770 struct passwd pw, *ppw;
31772 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31780 if ac_fn_c_try_link
"$LINENO"; then :
31781 eval wx_cv_func_
$wx_func=yes
31783 eval wx_cv_func_
$wx_func=no
31785 rm -f core conftest.err conftest.
$ac_objext \
31786 conftest
$ac_exeext conftest.
$ac_ext
31789 eval ac_res
=\
$wx_cv_func_$wx_func
31790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31791 $as_echo "$ac_res" >&6; }
31793 if eval test \
$wx_cv_func_$wx_func = yes
31795 cat >>confdefs.h
<<_ACEOF
31796 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31808 for wx_func
in getgrgid_r
31810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31811 $as_echo_n "checking for $wx_func... " >&6; }
31812 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31813 $as_echo_n "(cached) " >&6
31816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31817 /* end confdefs.h. */
31824 $ac_includes_default
31834 struct group grp, *pgrp;
31836 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31844 if ac_fn_c_try_link
"$LINENO"; then :
31845 eval wx_cv_func_
$wx_func=yes
31847 eval wx_cv_func_
$wx_func=no
31849 rm -f core conftest.err conftest.
$ac_objext \
31850 conftest
$ac_exeext conftest.
$ac_ext
31853 eval ac_res
=\
$wx_cv_func_$wx_func
31854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31855 $as_echo "$ac_res" >&6; }
31857 if eval test \
$wx_cv_func_$wx_func = yes
31859 cat >>confdefs.h
<<_ACEOF
31860 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31876 cat >confcache
<<\_ACEOF
31877 # This file is a shell script that caches the results of configure
31878 # tests run on this system so they can be shared between configure
31879 # scripts and configure runs, see configure's option --config-cache.
31880 # It is not useful on other systems. If it contains results you don't
31881 # want to keep, you may remove or edit it.
31883 # config.status only pays attention to the cache file if you give it
31884 # the --recheck option to rerun configure.
31886 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31887 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31888 # following values.
31892 # The following way of writing the cache mishandles newlines in values,
31893 # but we know of no workaround that is simple, portable, and efficient.
31894 # So, we kill variables containing newlines.
31895 # Ultrix sh set writes to stderr and can't be redirected directly,
31896 # and sets the high bit in the cache file unless we assign to the vars.
31898 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31899 eval ac_val
=\$
$ac_var
31903 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31904 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31907 _
| IFS
| as_nl
) ;; #(
31908 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31909 *) { eval $ac_var=; unset $ac_var;} ;;
31915 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31916 *${as_nl}ac_space
=\
*)
31917 # `set' does not quote correctly, so add quotes: double-quote
31918 # substitution turns \\\\ into \\, and sed turns \\ into \.
31921 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31924 # `set' quotes correctly as required by POSIX, so do not add quotes.
31925 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31934 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31936 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31938 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31939 if test -w "$cache_file"; then
31940 if test "x$cache_file" != "x/dev/null"; then
31941 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31942 $as_echo "$as_me: updating cache $cache_file" >&6;}
31943 if test ! -f "$cache_file" || test -h "$cache_file"; then
31944 cat confcache
>"$cache_file"
31946 case $cache_file in #(
31948 mv -f confcache
"$cache_file"$$
&&
31949 mv -f "$cache_file"$$
"$cache_file" ;; #(
31951 mv -f confcache
"$cache_file" ;;
31956 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31957 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31963 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31969 if test "$wxUSE_THREADS" = "yes" ; then
31970 if test "$USE_BEOS" = 1; then
31971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31972 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31977 if test "$wxUSE_THREADS" = "yes" ; then
31980 THREAD_OPTS
="-pthread"
31981 if test "x$SUNCXX" = xyes
; then
31982 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31986 *-*-solaris2* | *-*-sunos4* )
31987 if test "x$GCC" = "xyes"; then
31988 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31992 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31994 *-*-darwin* | *-*-cygwin* )
31998 THREAD_OPTS
="pthreads"
32001 if test "x$GCC" = "xyes"; then
32002 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
32010 if test "x$GCC" = "xyes"; then
32020 if test "x$GCC" != "xyes"; then
32021 THREAD_OPTS
="-Ethread"
32028 THREAD_OPTS
="none pthread"
32032 THREAD_OPTS
="$THREAD_OPTS pthread none"
32037 for flag
in $THREAD_OPTS; do
32040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
32041 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
32045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
32046 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
32047 THREADS_CFLAGS
="$flag"
32051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
32052 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
32053 THREADS_LINK
="-l$flag"
32058 save_CFLAGS
="$CFLAGS"
32059 LIBS
="$THREADS_LINK $LIBS"
32060 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
32062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32063 /* end confdefs.h. */
32064 #include <pthread.h>
32068 pthread_create(0,0,0,0);
32073 if ac_fn_c_try_link
"$LINENO"; then :
32076 rm -f core conftest.err conftest.
$ac_objext \
32077 conftest
$ac_exeext conftest.
$ac_ext
32080 CFLAGS
="$save_CFLAGS"
32082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
32083 $as_echo "$THREADS_OK" >&6; }
32084 if test "x$THREADS_OK" = "xyes"; then
32092 if test "x$THREADS_OK" != "xyes"; then
32094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32095 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32097 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32098 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32099 LIBS
="$THREADS_LINK $LIBS"
32101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32102 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32106 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32107 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32108 flag
="-D_THREAD_SAFE"
32111 flag
="-D_THREAD_SAFE"
32114 flag
="-D_REENTRANT"
32115 if test "x$GCC" != "xyes"; then
32116 flag
="$flag -D_RWSTD_MULTI_THREAD"
32119 *solaris
* | alpha
*-osf*)
32120 flag
="-D_REENTRANT"
32123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32124 $as_echo "${flag}" >&6; }
32125 if test "x$flag" != xno
; then
32126 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32129 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32133 if test "$wxUSE_THREADS" = "yes" ; then
32134 for ac_func
in pthread_setconcurrency
32136 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32137 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
32138 cat >>confdefs.h
<<_ACEOF
32139 #define HAVE_PTHREAD_SETCONCURRENCY 1
32141 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32145 for ac_func
in thr_setconcurrency
32147 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32148 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
32149 cat >>confdefs.h
<<_ACEOF
32150 #define HAVE_THR_SETCONCURRENCY 1
32152 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32156 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32166 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32167 if ${wx_cv_func_pthread_cleanup+:} false
; then :
32168 $as_echo_n "(cached) " >&6
32172 ac_cpp
='$CXXCPP $CPPFLAGS'
32173 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32174 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32175 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32178 /* end confdefs.h. */
32179 #include <pthread.h>
32180 void ThreadCleanupFunc(void *p);
32187 pthread_cleanup_push(ThreadCleanupFunc, p);
32188 pthread_cleanup_pop(0);
32194 if ac_fn_cxx_try_compile
"$LINENO"; then :
32196 wx_cv_func_pthread_cleanup
=yes
32200 wx_cv_func_pthread_cleanup
=no
32204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32206 ac_cpp
='$CPP $CPPFLAGS'
32207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32214 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32215 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32216 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32220 for ac_header
in sched.h
32222 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32224 if test "x$ac_cv_header_sched_h" = xyes
; then :
32225 cat >>confdefs.h
<<_ACEOF
32226 #define HAVE_SCHED_H 1
32233 if test "$ac_cv_header_sched_h" = "yes"; then
32234 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32235 if test "x$ac_cv_func_sched_yield" = xyes
; then :
32236 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32241 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32242 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
32243 $as_echo_n "(cached) " >&6
32245 ac_check_lib_save_LIBS
=$LIBS
32246 LIBS
="-lposix4 $LIBS"
32247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32248 /* end confdefs.h. */
32250 /* Override any GCC internal prototype to avoid an error.
32251 Use char because int might match the return type of a GCC
32252 builtin and then its argument prototype would still apply. */
32256 char sched_yield ();
32260 return sched_yield ();
32265 if ac_fn_c_try_link
"$LINENO"; then :
32266 ac_cv_lib_posix4_sched_yield
=yes
32268 ac_cv_lib_posix4_sched_yield
=no
32270 rm -f core conftest.err conftest.
$ac_objext \
32271 conftest
$ac_exeext conftest.
$ac_ext
32272 LIBS
=$ac_check_lib_save_LIBS
32274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32275 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32276 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
32277 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32278 POSIX4_LINK
=" -lposix4"
32280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32281 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32292 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32293 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
32294 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32295 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
32296 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32297 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
32300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32301 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32302 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
32303 $as_echo_n "(cached) " >&6
32305 ac_check_lib_save_LIBS
=$LIBS
32306 LIBS
="-lposix4 $LIBS"
32307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32308 /* end confdefs.h. */
32310 /* Override any GCC internal prototype to avoid an error.
32311 Use char because int might match the return type of a GCC
32312 builtin and then its argument prototype would still apply. */
32316 char sched_get_priority_max ();
32320 return sched_get_priority_max ();
32325 if ac_fn_c_try_link
"$LINENO"; then :
32326 ac_cv_lib_posix4_sched_get_priority_max
=yes
32328 ac_cv_lib_posix4_sched_get_priority_max
=no
32330 rm -f core conftest.err conftest.
$ac_objext \
32331 conftest
$ac_exeext conftest.
$ac_ext
32332 LIBS
=$ac_check_lib_save_LIBS
32334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32335 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32336 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
32339 POSIX4_LINK
=" -lposix4"
32353 if test "$HAVE_PRIOR_FUNCS" = 1; then
32354 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32358 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32361 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32362 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
32363 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32367 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32371 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32372 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
32373 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32377 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32381 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32382 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32383 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32390 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32391 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32392 $as_echo_n "(cached) " >&6
32395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32396 /* end confdefs.h. */
32397 #include <pthread.h>
32402 pthread_mutexattr_t attr;
32403 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32409 if ac_fn_c_try_compile
"$LINENO"; then :
32410 wx_cv_type_pthread_mutexattr_t
=yes
32412 wx_cv_type_pthread_mutexattr_t
=no
32415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32419 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32421 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32422 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32426 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32427 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32428 $as_echo_n "(cached) " >&6
32431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32432 /* end confdefs.h. */
32433 #include <pthread.h>
32438 pthread_mutexattr_t attr;
32439 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32445 if ac_fn_c_try_compile
"$LINENO"; then :
32446 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32448 wx_cv_func_pthread_mutexattr_settype_decl
=no
32451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32455 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32456 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32457 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32462 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32463 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32464 $as_echo_n "(cached) " >&6
32467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32468 /* end confdefs.h. */
32469 #include <pthread.h>
32474 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32480 if ac_fn_c_try_compile
"$LINENO"; then :
32482 wx_cv_type_pthread_rec_mutex_init
=yes
32486 wx_cv_type_pthread_rec_mutex_init
=no
32490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32494 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32495 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32496 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32500 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32504 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32505 if test "$USE_NETBSD" = 1; then
32506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32507 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32508 wxUSE_COMPILER_TLS
=no
32510 wxUSE_COMPILER_TLS
=yes
32514 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32516 $as_echo_n "checking for __thread keyword... " >&6; }
32517 if ${wx_cv_cc___thread+:} false
; then :
32518 $as_echo_n "(cached) " >&6
32521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32522 /* end confdefs.h. */
32523 #include <pthread.h>
32528 static __thread int n = 0;
32529 static __thread int *p = 0;
32535 if ac_fn_c_try_compile
"$LINENO"; then :
32536 wx_cv_cc___thread
=yes
32538 wx_cv_cc___thread
=no
32541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32546 $as_echo "$wx_cv_cc___thread" >&6; }
32548 if test "$wx_cv_cc___thread" = "yes"; then
32554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32555 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32557 if test "x$GCC" = "xyes" ; then :
32559 if test -z "" ; then :
32561 ax_gcc_option_test
="int main()
32568 ax_gcc_option_test
=""
32572 # Dump the test program to file
32573 cat <<EOF > conftest.c
32574 $ax_gcc_option_test
32577 # Dump back the file to the log, useful for debugging purposes
32578 { ac_try
='cat conftest.c 1>&5'
32579 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32580 (eval $ac_try) 2>&5
32582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32583 test $ac_status = 0; }; }
32585 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32586 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32587 (eval $ac_try) 2>&5
32589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32590 test $ac_status = 0; }; } ; then :
32592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32593 $as_echo "yes" >&6; }
32595 ax_gcc_version_option
=yes
32600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32601 $as_echo "no" >&6; }
32603 ax_gcc_version_option
=no
32610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32611 $as_echo "no gcc available" >&6; }
32615 if test "x$GXX" = "xyes"; then :
32617 if test "x$ax_gxx_version_option" != "no"; then :
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32620 $as_echo_n "checking gxx version... " >&6; }
32621 if ${ax_cv_gxx_version+:} false
; then :
32622 $as_echo_n "(cached) " >&6
32625 ax_cv_gxx_version
="`$CXX -dumpversion`"
32626 if test "x$ax_cv_gxx_version" = "x"; then :
32628 ax_cv_gxx_version
=""
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32634 $as_echo "$ax_cv_gxx_version" >&6; }
32635 GXX_VERSION
=$ax_cv_gxx_version
32642 if test -n "$ax_cv_gxx_version"; then
32643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32644 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32645 case "$ax_cv_gxx_version" in
32647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32648 $as_echo "no, it's broken" >&6; }
32649 wx_cv_cc___thread
=no
32652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32653 $as_echo "yes, it works" >&6; }
32659 if test "$wx_cv_cc___thread" = "yes"; then
32660 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32665 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32667 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32668 if ${wx_cv_type_abi_forced_unwind+:} false
; then :
32669 $as_echo_n "(cached) " >&6
32673 ac_cpp
='$CXXCPP $CPPFLAGS'
32674 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32675 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32676 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32679 /* end confdefs.h. */
32680 #include <cxxabi.h>
32685 void foo(abi::__forced_unwind&);
32691 if ac_fn_cxx_try_compile
"$LINENO"; then :
32692 wx_cv_type_abi_forced_unwind
=yes
32694 wx_cv_type_abi_forced_unwind
=no
32697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32699 ac_cpp
='$CPP $CPPFLAGS'
32700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32708 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32710 wx_cv_type_abi_forced_unwind
=no
32713 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32714 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32720 if test "$wxUSE_THREADS" = "yes" ; then
32722 x86_64
-*-mingw32* )
32725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32726 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32727 if ${wx_cv_cflags_mthread+:} false
; then :
32728 $as_echo_n "(cached) " >&6
32731 CFLAGS_OLD
="$CFLAGS"
32732 CFLAGS
="-mthreads $CFLAGS"
32733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32734 /* end confdefs.h. */
32744 if ac_fn_c_try_compile
"$LINENO"; then :
32745 wx_cv_cflags_mthread
=yes
32747 wx_cv_cflags_mthread
=no
32750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32755 $as_echo "$wx_cv_cflags_mthread" >&6; }
32757 if test "$wx_cv_cflags_mthread" = "yes"; then
32758 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32759 LDFLAGS
="$LDFLAGS -mthreads"
32761 CFLAGS
="$CFLAGS_OLD"
32765 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32766 LDFLAGS
="$LDFLAGS -Zmt"
32772 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32773 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32774 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32778 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32779 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32780 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32788 ac_cpp
='$CPP $CPPFLAGS'
32789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32794 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32796 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32797 $as_echo_n "(cached) " >&6
32801 ################################################################
32803 ac_cv_func_which_gethostbyname_r
=unknown
32806 # ONE ARGUMENT (sanity check)
32809 # This should fail, as there is no variant of gethostbyname_r() that takes
32810 # a single argument. If it actually compiles, then we can assume that
32811 # netdb.h is not declaring the function, and the compiler is thereby
32812 # assuming an implicit prototype. In which case, we're out of luck.
32814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32815 /* end confdefs.h. */
32821 char *name = "www.gnu.org";
32822 (void)gethostbyname_r(name) /* ; */
32829 if ac_fn_c_try_compile
"$LINENO"; then :
32830 ac_cv_func_which_gethostbyname_r
=no
32833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32840 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32843 /* end confdefs.h. */
32849 char *name = "www.gnu.org";
32850 struct hostent ret, *retp;
32854 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32861 if ac_fn_c_try_compile
"$LINENO"; then :
32862 ac_cv_func_which_gethostbyname_r
=six
32865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32874 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32877 /* end confdefs.h. */
32883 char *name = "www.gnu.org";
32884 struct hostent ret;
32888 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32895 if ac_fn_c_try_compile
"$LINENO"; then :
32896 ac_cv_func_which_gethostbyname_r
=five
32899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32905 # (e.g. AIX, HP-UX, Tru64)
32908 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32911 /* end confdefs.h. */
32917 char *name = "www.gnu.org";
32918 struct hostent ret;
32919 struct hostent_data data;
32920 (void)gethostbyname_r(name, &ret, &data) /* ; */
32927 if ac_fn_c_try_compile
"$LINENO"; then :
32928 ac_cv_func_which_gethostbyname_r
=three
32931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32935 ################################################################
32940 case "$ac_cv_func_which_gethostbyname_r" in
32942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32943 $as_echo "three" >&6; }
32944 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32950 $as_echo "five" >&6; }
32951 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32957 $as_echo "six" >&6; }
32958 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32964 $as_echo "cannot find function declaration in netdb.h" >&6; }
32968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32969 $as_echo "can't tell" >&6; }
32973 as_fn_error $?
"internal error" "$LINENO" 5
32978 ac_cpp
='$CPP $CPPFLAGS'
32979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32985 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32986 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32987 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32988 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
32989 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32996 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32997 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
32998 $as_echo_n "(cached) " >&6
33002 ac_cpp
='$CXXCPP $CPPFLAGS'
33003 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33004 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33005 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33009 /* end confdefs.h. */
33017 struct servent *se, *res;
33020 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
33026 if ac_fn_cxx_try_compile
"$LINENO"; then :
33027 ac_cv_func_which_getservbyname_r
=six
33030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33031 /* end confdefs.h. */
33039 struct servent *se;
33042 (void) getservbyname_r(name, proto, se, buffer, buflen)
33048 if ac_fn_cxx_try_compile
"$LINENO"; then :
33049 ac_cv_func_which_getservbyname_r
=five
33052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33053 /* end confdefs.h. */
33061 struct servent *se;
33062 struct servent_data data;
33063 (void) getservbyname_r(name, proto, se, &data);
33069 if ac_fn_cxx_try_compile
"$LINENO"; then :
33070 ac_cv_func_which_getservbyname_r
=four
33072 ac_cv_func_which_getservbyname_r
=no
33075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33085 ac_cpp
='$CPP $CPPFLAGS'
33086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33094 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33096 if test $ac_cv_func_which_getservbyname_r = six
; then
33097 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33099 elif test $ac_cv_func_which_getservbyname_r = five
; then
33100 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33102 elif test $ac_cv_func_which_getservbyname_r = four
; then
33103 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33108 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33109 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33110 for ac_func
in getservbyname
33112 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33113 if test "x$ac_cv_func_getservbyname" = xyes
; then :
33114 cat >>confdefs.h
<<_ACEOF
33115 #define HAVE_GETSERVBYNAME 1
33117 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33124 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33127 if test "$wxUSE_THREADS" = "yes"; then
33128 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33133 if test "$wx_cv_func_strtok_r" = "yes"; then
33134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33135 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33136 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33137 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33139 $as_echo "yes" >&6; }
33141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33142 $as_echo "no" >&6; }
33147 if test "$WXGTK3" = 1 ; then
33148 cat >>confdefs.h
<<_ACEOF
33149 #define __WXGTK3__ 1
33154 if test "$WXGTK2" = 1 ; then
33155 cat >>confdefs.h
<<_ACEOF
33156 #define __WXGTK20__ $WXGTK2
33161 if test "$WXGTK127" = 1 ; then
33162 cat >>confdefs.h
<<_ACEOF
33163 #define __WXGTK127__ $WXGTK127
33168 if test "$WXGPE" = 1 ; then
33169 cat >>confdefs.h
<<_ACEOF
33170 #define __WXGPE__ $WXGPE
33176 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33178 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33179 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33183 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33184 wxUSE_DEBUG_INFO
=yes
33185 if test "$GCC" = yes; then
33186 DEBUG_CFLAGS
="-ggdb"
33190 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33191 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33193 if test "$wxUSE_GTK" = 1 ; then
33194 if test "$WXGTK2" = 1 ; then
33195 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33197 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33202 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33203 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33205 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33207 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33212 if test "$wxUSE_DMALLOC" = "yes" ; then
33213 DMALLOC_LIBS
="-ldmallocthcxx"
33217 if test "$wxUSE_PROFILE" = "yes" ; then
33218 PROFILE_FLAGS
=" -pg"
33221 if test "$GCC" = "yes" ; then
33222 if test "$wxUSE_NO_RTTI" = "yes" ; then
33223 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33225 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33226 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
33228 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33229 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
33234 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
33237 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
33243 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33245 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33247 if test "$wxUSE_OPTIMISE" = "no" ; then
33248 if test "$GCC" = yes ; then
33249 OPTIMISE_CFLAGS
="-O0"
33252 if test "$GCC" = yes ; then
33254 *-pc-os2_emx | *-pc-os2-emx )
33255 OPTIMISE_CFLAGS
="-O2"
33258 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
33262 OPTIMISE_CFLAGS
="-O"
33268 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33269 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33272 WXWIN_COMPATIBILITY_2_8
="yes"
33275 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33276 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33281 if test "$wxUSE_GUI" = "yes"; then
33282 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33288 if test "$wxUSE_UNIX" = "yes"; then
33289 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33294 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33298 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33299 if test "$USE_DOS" = 1; then
33302 for ac_func
in dlopen
33304 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
33305 if test "x$ac_cv_func_dlopen" = xyes
; then :
33306 cat >>confdefs.h
<<_ACEOF
33307 #define HAVE_DLOPEN 1
33310 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33317 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33318 if ${ac_cv_lib_dl_dlopen+:} false
; then :
33319 $as_echo_n "(cached) " >&6
33321 ac_check_lib_save_LIBS
=$LIBS
33323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33324 /* end confdefs.h. */
33326 /* Override any GCC internal prototype to avoid an error.
33327 Use char because int might match the return type of a GCC
33328 builtin and then its argument prototype would still apply. */
33341 if ac_fn_c_try_link
"$LINENO"; then :
33342 ac_cv_lib_dl_dlopen
=yes
33344 ac_cv_lib_dl_dlopen
=no
33346 rm -f core conftest.err conftest.
$ac_objext \
33347 conftest
$ac_exeext conftest.
$ac_ext
33348 LIBS
=$ac_check_lib_save_LIBS
33350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33351 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33352 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
33354 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33357 DL_LINK
=" -ldl$DL_LINK"
33361 for ac_func
in shl_load
33363 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
33364 if test "x$ac_cv_func_shl_load" = xyes
; then :
33365 cat >>confdefs.h
<<_ACEOF
33366 #define HAVE_SHL_LOAD 1
33369 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33376 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33377 if ${ac_cv_lib_shl_load_dld+:} false
; then :
33378 $as_echo_n "(cached) " >&6
33380 ac_check_lib_save_LIBS
=$LIBS
33381 LIBS
="-lshl_load $LIBS"
33382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33383 /* end confdefs.h. */
33385 /* Override any GCC internal prototype to avoid an error.
33386 Use char because int might match the return type of a GCC
33387 builtin and then its argument prototype would still apply. */
33400 if ac_fn_c_try_link
"$LINENO"; then :
33401 ac_cv_lib_shl_load_dld
=yes
33403 ac_cv_lib_shl_load_dld
=no
33405 rm -f core conftest.err conftest.
$ac_objext \
33406 conftest
$ac_exeext conftest.
$ac_ext
33407 LIBS
=$ac_check_lib_save_LIBS
33409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33410 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33411 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
33414 DL_LINK
=" -ldld$DL_LINK"
33430 if test "$HAVE_DL_FUNCS" = 1; then
33431 for ac_func
in dlerror
33433 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33434 if test "x$ac_cv_func_dlerror" = xyes
; then :
33435 cat >>confdefs.h
<<_ACEOF
33436 #define HAVE_DLERROR 1
33438 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33443 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33444 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33445 $as_echo_n "(cached) " >&6
33447 ac_check_lib_save_LIBS
=$LIBS
33449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33450 /* end confdefs.h. */
33452 /* Override any GCC internal prototype to avoid an error.
33453 Use char because int might match the return type of a GCC
33454 builtin and then its argument prototype would still apply. */
33467 if ac_fn_c_try_link
"$LINENO"; then :
33468 ac_cv_lib_dl_dlerror
=yes
33470 ac_cv_lib_dl_dlerror
=no
33472 rm -f core conftest.err conftest.
$ac_objext \
33473 conftest
$ac_exeext conftest.
$ac_ext
33474 LIBS
=$ac_check_lib_save_LIBS
33476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33477 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33478 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33479 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33491 if test "$USE_DARWIN" = 1; then
33495 if test "$HAVE_DL_FUNCS" = 0; then
33496 if test "$HAVE_SHL_FUNCS" = 0; then
33497 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33499 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33500 wxUSE_DYNAMIC_LOADER
=no
33501 wxUSE_DYNLIB_CLASS
=no
33503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33504 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33511 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33512 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33515 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33516 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33522 if test "$wxUSE_PLUGINS" = "yes" ; then
33523 if test "$wxUSE_SHARED" = "no" ; then
33524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33525 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33528 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33530 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33533 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33535 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33538 if test "$wxUSE_PLUGINS" = "yes" ; then
33539 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33545 if test "$wxUSE_FSWATCHER" = "yes"; then
33546 if test "$wxUSE_MSW" != "1"; then
33547 if test "$wxUSE_UNIX" = "yes"; then
33548 for ac_header
in sys
/inotify.h
33550 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33552 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33553 cat >>confdefs.h
<<_ACEOF
33554 #define HAVE_SYS_INOTIFY_H 1
33561 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33562 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33565 for ac_header
in sys
/event.h
33567 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33569 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33570 cat >>confdefs.h
<<_ACEOF
33571 #define HAVE_SYS_EVENT_H 1
33578 if test "$ac_cv_header_sys_event_h" = "yes"; then
33579 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33589 if test "$wxUSE_THREADS" != "yes"; then
33590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33591 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33596 if test "$wxUSE_FSWATCHER" = "yes"; then
33597 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33602 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33607 if test "$wxUSE_STL" = "yes"; then
33608 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33612 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33613 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33617 if test "$wxUSE_ANY" = "yes"; then
33618 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33622 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33623 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33627 if test "$wxUSE_TIMER" = "yes"; then
33628 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33632 if test "$USE_UNIX" = 1 ; then
33633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33634 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33635 if ${ac_cv_header_sys_soundcard+:} false
; then :
33636 $as_echo_n "(cached) " >&6
33639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33640 /* end confdefs.h. */
33642 #include <sys/ioctl.h>
33643 #include <sys/soundcard.h>
33649 ioctl(0, SNDCTL_DSP_SPEED, 0);
33655 if ac_fn_c_try_link
"$LINENO"; then :
33656 ac_cv_header_sys_soundcard
=yes
33660 LIBS
="$saveLibs -lossaudio"
33661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33662 /* end confdefs.h. */
33664 #include <sys/ioctl.h>
33665 #include <sys/soundcard.h>
33671 ioctl(0, SNDCTL_DSP_SPEED, 0);
33677 if ac_fn_c_try_link
"$LINENO"; then :
33678 ac_cv_header_sys_soundcard
=yes
33682 ac_cv_header_sys_soundcard
=no
33686 rm -f core conftest.err conftest.
$ac_objext \
33687 conftest
$ac_exeext conftest.
$ac_ext
33691 rm -f core conftest.err conftest.
$ac_objext \
33692 conftest
$ac_exeext conftest.
$ac_ext
33695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33696 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33698 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33699 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33705 if test "$wxUSE_SOUND" = "yes"; then
33706 if test "$USE_UNIX" = 1 ; then
33707 if test "$wxUSE_LIBSDL" != "no"; then
33709 # Check whether --with-sdl-prefix was given.
33710 if test "${with_sdl_prefix+set}" = set; then :
33711 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33717 # Check whether --with-sdl-exec-prefix was given.
33718 if test "${with_sdl_exec_prefix+set}" = set; then :
33719 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33724 # Check whether --enable-sdltest was given.
33725 if test "${enable_sdltest+set}" = set; then :
33726 enableval
=$enable_sdltest;
33732 if test x
$sdl_exec_prefix != x
; then
33733 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33734 if test x
${SDL_CONFIG+set} != xset
; then
33735 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33738 if test x
$sdl_prefix != x
; then
33739 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33740 if test x
${SDL_CONFIG+set} != xset
; then
33741 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33745 if test "x$prefix" != xNONE
; then
33746 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33748 # Extract the first word of "sdl-config", so it can be a program name with args.
33749 set dummy sdl
-config; ac_word
=$2
33750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33751 $as_echo_n "checking for $ac_word... " >&6; }
33752 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33753 $as_echo_n "(cached) " >&6
33755 case $SDL_CONFIG in
33757 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33761 for as_dir
in $PATH
33764 test -z "$as_dir" && as_dir
=.
33765 for ac_exec_ext
in '' $ac_executable_extensions; do
33766 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33767 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33775 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33779 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33780 if test -n "$SDL_CONFIG"; then
33781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33782 $as_echo "$SDL_CONFIG" >&6; }
33784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33785 $as_echo "no" >&6; }
33789 min_sdl_version
=1.2.0
33790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33791 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33793 if test "$SDL_CONFIG" = "no" ; then
33796 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33797 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33799 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33800 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33801 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33802 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33803 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33804 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33805 if test "x$enable_sdltest" = "xyes" ; then
33806 ac_save_CFLAGS
="$CFLAGS"
33807 ac_save_CXXFLAGS
="$CXXFLAGS"
33808 ac_save_LIBS
="$LIBS"
33809 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33810 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33811 LIBS
="$LIBS $SDL_LIBS"
33813 if test "$cross_compiling" = yes; then :
33814 echo $ac_n "cross compiling; assumed OK... $ac_c"
33816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33817 /* end confdefs.h. */
33820 #include <stdlib.h>
33821 #include <string.h>
33825 my_strdup (char *str)
33831 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33832 strcpy (new_str, str);
33840 int main (int argc, char *argv[])
33842 int major, minor, micro;
33845 /* This hangs on some systems (?)
33846 system ("touch conf.sdltest");
33848 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33850 /* HP/UX 9 (%@#!) writes to sscanf strings */
33851 tmp_version = my_strdup("$min_sdl_version");
33852 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33853 printf("%s, bad version string\n", "$min_sdl_version");
33857 if (($sdl_major_version > major) ||
33858 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33859 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33865 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33866 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33867 printf("*** best to upgrade to the required version.\n");
33868 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33869 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33870 printf("*** config.cache before re-running configure\n");
33877 if ac_fn_c_try_run
"$LINENO"; then :
33882 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33883 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33886 CFLAGS
="$ac_save_CFLAGS"
33887 CXXFLAGS
="$ac_save_CXXFLAGS"
33888 LIBS
="$ac_save_LIBS"
33891 if test "x$no_sdl" = x
; then
33892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33893 $as_echo "yes" >&6; }
33895 EXTRALIBS_SDL
="$SDL_LIBS"
33896 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33897 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33898 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33903 $as_echo "no" >&6; }
33904 if test "$SDL_CONFIG" = "no" ; then
33905 echo "*** The sdl-config script installed by SDL could not be found"
33906 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33907 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33908 echo "*** full path to sdl-config."
33910 if test -f conf.sdltest
; then
33913 echo "*** Could not run SDL test program, checking why..."
33914 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33915 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33916 LIBS
="$LIBS $SDL_LIBS"
33917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33918 /* end confdefs.h. */
33923 int main(int argc, char *argv[])
33926 #define main K_and_R_C_main
33936 if ac_fn_c_try_link
"$LINENO"; then :
33937 echo "*** The test program compiled, but did not run. This usually means"
33938 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33939 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33940 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33941 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33942 echo "*** is required on your system"
33944 echo "*** If you have an old version installed, it is best to remove it, although"
33945 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33947 echo "*** The test program failed to compile or link. See the file config.log for the"
33948 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33949 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33950 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33952 rm -f core conftest.err conftest.
$ac_objext \
33953 conftest
$ac_exeext conftest.
$ac_ext
33954 CFLAGS
="$ac_save_CFLAGS"
33955 CXXFLAGS
="$ac_save_CXXFLAGS"
33956 LIBS
="$ac_save_LIBS"
33967 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33974 if test "$wxUSE_SOUND" = "yes"; then
33975 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33980 if test "$WXGTK2" = 1; then
33983 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33984 if test -n "$ac_tool_prefix"; then
33985 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33986 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33988 $as_echo_n "checking for $ac_word... " >&6; }
33989 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
33990 $as_echo_n "(cached) " >&6
33992 case $PKG_CONFIG in
33994 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33998 for as_dir
in $PATH
34001 test -z "$as_dir" && as_dir
=.
34002 for ac_exec_ext
in '' $ac_executable_extensions; do
34003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
34004 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34015 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34016 if test -n "$PKG_CONFIG"; then
34017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
34018 $as_echo "$PKG_CONFIG" >&6; }
34020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34021 $as_echo "no" >&6; }
34026 if test -z "$ac_cv_path_PKG_CONFIG"; then
34027 ac_pt_PKG_CONFIG
=$PKG_CONFIG
34028 # Extract the first word of "pkg-config", so it can be a program name with args.
34029 set dummy pkg
-config; ac_word
=$2
34030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
34031 $as_echo_n "checking for $ac_word... " >&6; }
34032 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
34033 $as_echo_n "(cached) " >&6
34035 case $ac_pt_PKG_CONFIG in
34037 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34041 for as_dir
in $PATH
34044 test -z "$as_dir" && as_dir
=.
34045 for ac_exec_ext
in '' $ac_executable_extensions; do
34046 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
34047 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34058 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
34059 if test -n "$ac_pt_PKG_CONFIG"; then
34060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
34061 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
34063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34064 $as_echo "no" >&6; }
34067 if test "x$ac_pt_PKG_CONFIG" = x
; then
34070 case $cross_compiling:$ac_tool_warned in
34072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
34073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
34074 ac_tool_warned
=yes ;;
34076 PKG_CONFIG
=$ac_pt_PKG_CONFIG
34079 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
34083 if test -n "$PKG_CONFIG"; then
34084 _pkg_min_version
=0.9.0
34085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
34086 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
34087 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34089 $as_echo "yes" >&6; }
34091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34092 $as_echo "no" >&6; }
34098 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34100 if test "$wxUSE_GTKPRINT" = "yes" ; then
34101 if test "$WXGTK3" = 1; then
34102 gtk_unix_print
="gtk+-unix-print-3.0"
34104 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
34108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34109 $as_echo_n "checking for GTKPRINT... " >&6; }
34111 if test -n "$PKG_CONFIG"; then
34112 if test -n "$GTKPRINT_CFLAGS"; then
34113 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
34115 if test -n "$PKG_CONFIG" && \
34116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34117 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34120 test $ac_status = 0; }; then
34121 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34129 if test -n "$PKG_CONFIG"; then
34130 if test -n "$GTKPRINT_LIBS"; then
34131 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
34133 if test -n "$PKG_CONFIG" && \
34134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34135 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34138 test $ac_status = 0; }; then
34139 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34150 if test $pkg_failed = yes; then
34152 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34153 _pkg_short_errors_supported
=yes
34155 _pkg_short_errors_supported
=no
34157 if test $_pkg_short_errors_supported = yes; then
34158 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34160 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34162 # Put the nasty error message in config.log where it belongs
34163 echo "$GTKPRINT_PKG_ERRORS" >&5
34166 { $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
34167 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34168 wxUSE_GTKPRINT
="no"
34171 elif test $pkg_failed = untried
; then
34173 { $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
34174 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34175 wxUSE_GTKPRINT
="no"
34179 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
34180 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
34181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34182 $as_echo "yes" >&6; }
34184 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34185 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
34186 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
34187 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34193 if test "$WXGTK3" = 1; then
34194 wxUSE_LIBGNOMEPRINT
=no
34197 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34202 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34204 if test -n "$PKG_CONFIG"; then
34205 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34206 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
34208 if test -n "$PKG_CONFIG" && \
34209 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34210 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34213 test $ac_status = 0; }; then
34214 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34222 if test -n "$PKG_CONFIG"; then
34223 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34224 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
34226 if test -n "$PKG_CONFIG" && \
34227 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34228 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34231 test $ac_status = 0; }; then
34232 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34243 if test $pkg_failed = yes; then
34245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34246 _pkg_short_errors_supported
=yes
34248 _pkg_short_errors_supported
=no
34250 if test $_pkg_short_errors_supported = yes; then
34251 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34253 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34255 # Put the nasty error message in config.log where it belongs
34256 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34259 if test "$wxUSE_GTKPRINT" = yes; then
34260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34261 $as_echo "no" >&6; }
34263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34264 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34266 wxUSE_LIBGNOMEPRINT
="no"
34269 elif test $pkg_failed = untried
; then
34271 if test "$wxUSE_GTKPRINT" = yes; then
34272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34273 $as_echo "no" >&6; }
34275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34276 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34278 wxUSE_LIBGNOMEPRINT
="no"
34282 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34283 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34285 $as_echo "yes" >&6; }
34287 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34288 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34289 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34290 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34297 if test "$wxUSE_MIMETYPE" = "yes" ; then
34298 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34303 $as_echo_n "checking for GNOMEVFS... " >&6; }
34305 if test -n "$PKG_CONFIG"; then
34306 if test -n "$GNOMEVFS_CFLAGS"; then
34307 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
34309 if test -n "$PKG_CONFIG" && \
34310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34311 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34314 test $ac_status = 0; }; then
34315 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34323 if test -n "$PKG_CONFIG"; then
34324 if test -n "$GNOMEVFS_LIBS"; then
34325 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
34327 if test -n "$PKG_CONFIG" && \
34328 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34329 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34332 test $ac_status = 0; }; then
34333 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34344 if test $pkg_failed = yes; then
34346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34347 _pkg_short_errors_supported
=yes
34349 _pkg_short_errors_supported
=no
34351 if test $_pkg_short_errors_supported = yes; then
34352 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34354 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34356 # Put the nasty error message in config.log where it belongs
34357 echo "$GNOMEVFS_PKG_ERRORS" >&5
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34361 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34362 wxUSE_LIBGNOMEVFS
="no"
34365 elif test $pkg_failed = untried
; then
34367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34368 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34369 wxUSE_LIBGNOMEVFS
="no"
34373 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
34374 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
34375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34376 $as_echo "yes" >&6; }
34378 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34379 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
34380 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
34381 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34388 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34389 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34394 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34396 if test -n "$PKG_CONFIG"; then
34397 if test -n "$LIBNOTIFY_CFLAGS"; then
34398 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34400 if test -n "$PKG_CONFIG" && \
34401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34402 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34405 test $ac_status = 0; }; then
34406 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34414 if test -n "$PKG_CONFIG"; then
34415 if test -n "$LIBNOTIFY_LIBS"; then
34416 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34418 if test -n "$PKG_CONFIG" && \
34419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34420 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34423 test $ac_status = 0; }; then
34424 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34435 if test $pkg_failed = yes; then
34437 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34438 _pkg_short_errors_supported
=yes
34440 _pkg_short_errors_supported
=no
34442 if test $_pkg_short_errors_supported = yes; then
34443 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34445 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34447 # Put the nasty error message in config.log where it belongs
34448 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34454 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34456 if test -n "$PKG_CONFIG"; then
34457 if test -n "$LIBNOTIFY_CFLAGS"; then
34458 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34460 if test -n "$PKG_CONFIG" && \
34461 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34462 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34465 test $ac_status = 0; }; then
34466 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34474 if test -n "$PKG_CONFIG"; then
34475 if test -n "$LIBNOTIFY_LIBS"; then
34476 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34478 if test -n "$PKG_CONFIG" && \
34479 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34480 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34483 test $ac_status = 0; }; then
34484 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34495 if test $pkg_failed = yes; then
34497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34498 _pkg_short_errors_supported
=yes
34500 _pkg_short_errors_supported
=no
34502 if test $_pkg_short_errors_supported = yes; then
34503 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34505 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34507 # Put the nasty error message in config.log where it belongs
34508 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34511 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34513 elif test $pkg_failed = untried
; then
34514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34515 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34518 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34519 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34521 $as_echo "yes" >&6; }
34526 elif test $pkg_failed = untried
; then
34530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34531 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34533 if test -n "$PKG_CONFIG"; then
34534 if test -n "$LIBNOTIFY_CFLAGS"; then
34535 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34537 if test -n "$PKG_CONFIG" && \
34538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34539 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34542 test $ac_status = 0; }; then
34543 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34551 if test -n "$PKG_CONFIG"; then
34552 if test -n "$LIBNOTIFY_LIBS"; then
34553 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34555 if test -n "$PKG_CONFIG" && \
34556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34557 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34560 test $ac_status = 0; }; then
34561 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34572 if test $pkg_failed = yes; then
34574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34575 _pkg_short_errors_supported
=yes
34577 _pkg_short_errors_supported
=no
34579 if test $_pkg_short_errors_supported = yes; then
34580 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34582 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34584 # Put the nasty error message in config.log where it belongs
34585 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34588 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34590 elif test $pkg_failed = untried
; then
34591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34592 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34595 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34596 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34598 $as_echo "yes" >&6; }
34604 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34605 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34607 $as_echo "yes" >&6; }
34610 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34615 if test "$HAVE_LIBNOTIFY" = "1" ; then
34616 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34617 CFLAGS
="$LIBNOTIFY_CFLAGS $CFLAGS"
34618 CXXFLAGS
="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34619 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34625 if test "$wxUSE_LIBHILDON" = "yes" ; then
34628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34629 $as_echo_n "checking for HILDON... " >&6; }
34631 if test -n "$PKG_CONFIG"; then
34632 if test -n "$HILDON_CFLAGS"; then
34633 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
34635 if test -n "$PKG_CONFIG" && \
34636 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34637 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34640 test $ac_status = 0; }; then
34641 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34649 if test -n "$PKG_CONFIG"; then
34650 if test -n "$HILDON_LIBS"; then
34651 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
34653 if test -n "$PKG_CONFIG" && \
34654 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34655 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34658 test $ac_status = 0; }; then
34659 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34670 if test $pkg_failed = yes; then
34672 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34673 _pkg_short_errors_supported
=yes
34675 _pkg_short_errors_supported
=no
34677 if test $_pkg_short_errors_supported = yes; then
34678 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34680 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34682 # Put the nasty error message in config.log where it belongs
34683 echo "$HILDON_PKG_ERRORS" >&5
34686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34687 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34688 wxUSE_LIBHILDON
="no"
34692 elif test $pkg_failed = untried
; then
34694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34695 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34696 wxUSE_LIBHILDON
="no"
34701 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34702 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34704 $as_echo "yes" >&6; }
34706 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON_LIBS"
34707 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34708 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34709 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34715 if test "$ac_hildon_lgpl" = 0 ; then
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34719 $as_echo_n "checking for HILDON2... " >&6; }
34721 if test -n "$PKG_CONFIG"; then
34722 if test -n "$HILDON2_CFLAGS"; then
34723 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34725 if test -n "$PKG_CONFIG" && \
34726 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34727 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34730 test $ac_status = 0; }; then
34731 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34739 if test -n "$PKG_CONFIG"; then
34740 if test -n "$HILDON2_LIBS"; then
34741 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34743 if test -n "$PKG_CONFIG" && \
34744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34745 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34748 test $ac_status = 0; }; then
34749 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34760 if test $pkg_failed = yes; then
34762 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34763 _pkg_short_errors_supported
=yes
34765 _pkg_short_errors_supported
=no
34767 if test $_pkg_short_errors_supported = yes; then
34768 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34770 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34772 # Put the nasty error message in config.log where it belongs
34773 echo "$HILDON2_PKG_ERRORS" >&5
34776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34777 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34778 wxUSE_LIBHILDON2
="no"
34781 elif test $pkg_failed = untried
; then
34783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34784 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34785 wxUSE_LIBHILDON2
="no"
34789 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34790 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34792 $as_echo "yes" >&6; }
34794 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON2_LIBS"
34795 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34796 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34797 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34805 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34806 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34810 if test "$wxUSE_STOPWATCH" = "yes"; then
34811 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34815 if test "$wxUSE_DATETIME" = "yes"; then
34816 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34820 if test "$wxUSE_FILE" = "yes"; then
34821 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34825 if test "$wxUSE_FFILE" = "yes"; then
34826 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34830 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34831 if test "$wxUSE_STREAMS" != yes; then
34832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34833 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34834 wxUSE_ARCHIVE_STREAMS
=no
34836 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34841 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34842 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34844 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34845 elif test "$wxUSE_ZLIB" = "no"; then
34846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34847 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34849 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34854 if test "$wxUSE_TARSTREAM" = "yes"; then
34855 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34857 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34859 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34864 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34865 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34869 if test "$wxUSE_FILESYSTEM" = "yes"; then
34870 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34872 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34873 wxUSE_FILESYSTEM
=no
34875 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34880 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34881 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34883 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34885 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34890 if test "$wxUSE_FS_ZIP" = "yes"; then
34891 if test "$wxUSE_FS_ARCHIVE" != yes; then
34892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34893 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34895 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34900 if test "$wxUSE_FSVOLUME" = "yes"; then
34901 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34905 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34906 if test "$USE_UNIX" != 1; then
34907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34908 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34909 wxUSE_ON_FATAL_EXCEPTION
=no
34911 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34916 if test "$wxUSE_STACKWALKER" = "yes"; then
34917 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34921 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34922 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34924 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34925 wxUSE_DEBUGREPORT
=no
34927 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34929 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34935 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34936 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34940 if test "$wxUSE_BUSYINFO" = "yes"; then
34941 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34945 if test "$wxUSE_HOTKEY" = "yes"; then
34946 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34948 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34951 elif test "$wxUSE_HOTKEY" = "auto"; then
34952 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34956 if test "$wxUSE_HOTKEY" = "yes"; then
34957 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34961 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34962 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34966 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34967 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34971 if test "$wxUSE_STD_STRING" = "yes"; then
34972 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34976 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34977 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34981 if test "$wxUSE_STDPATHS" = "yes"; then
34982 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34986 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34987 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34991 if test "$wxUSE_TEXTFILE" = "yes"; then
34992 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34994 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34996 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
35001 if test "$wxUSE_CONFIG" = "yes" ; then
35002 if test "$wxUSE_TEXTFILE" != "yes"; then
35003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
35004 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35006 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
35008 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
35010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
35014 if test "$wxUSE_INTL" = "yes" ; then
35015 if test "$wxUSE_FILE" != "yes"; then
35016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
35017 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35019 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
35021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
35022 GUIDIST
="$GUIDIST INTL_DIST"
35026 if test "$wxUSE_XLOCALE" = "yes" ; then
35027 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
35029 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
35030 #include <locale.h>
35032 if test "x$ac_cv_type_locale_t" = xyes
; then :
35034 cat >>confdefs.h
<<_ACEOF
35035 #define HAVE_LOCALE_T 1
35043 if test "$wxUSE_LOG" = "yes"; then
35044 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
35047 if test "$wxUSE_LOGGUI" = "yes"; then
35048 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
35052 if test "$wxUSE_LOGWINDOW" = "yes"; then
35053 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
35057 if test "$wxUSE_LOGDIALOG" = "yes"; then
35058 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
35062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
35065 if test "$wxUSE_LONGLONG" = "yes"; then
35066 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
35070 if test "$wxUSE_GEOMETRY" = "yes"; then
35071 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
35075 if test "$wxUSE_BASE64" = "yes"; then
35076 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
35080 if test "$wxUSE_STREAMS" = "yes" ; then
35081 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
35085 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35086 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
35090 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
35091 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
35096 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
35097 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
35100 if test "$wxUSE_UNIX" = "yes"; then
35101 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35102 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35106 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35107 for ac_header
in sys
/epoll.h
35109 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35111 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
35112 cat >>confdefs.h
<<_ACEOF
35113 #define HAVE_SYS_EPOLL_H 1
35120 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35121 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35125 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35132 for ac_func
in gettimeofday ftime
35134 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35135 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
35136 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
35137 cat >>confdefs.h
<<_ACEOF
35138 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35145 if test "$ac_cv_func_gettimeofday" = "yes"; then
35146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35147 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35148 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
35149 $as_echo_n "(cached) " >&6
35152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35153 /* end confdefs.h. */
35155 #include <sys/time.h>
35156 #include <unistd.h>
35163 gettimeofday(&tv, NULL);
35169 if ac_fn_c_try_compile
"$LINENO"; then :
35170 wx_cv_func_gettimeofday_has_2_args
=yes
35172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35173 /* end confdefs.h. */
35175 #include <sys/time.h>
35176 #include <unistd.h>
35189 if ac_fn_c_try_compile
"$LINENO"; then :
35190 wx_cv_func_gettimeofday_has_2_args
=no
35193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35194 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35195 wx_cv_func_gettimeofday_has_2_args
=unknown
35199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35206 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35208 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35209 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35214 if test "$wxUSE_DATETIME" = "yes"; then
35215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35216 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35217 if ${wx_cv_var_timezone+:} false
; then :
35218 $as_echo_n "(cached) " >&6
35222 ac_cpp
='$CXXCPP $CPPFLAGS'
35223 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35224 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35225 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35228 /* end confdefs.h. */
35243 if ac_fn_cxx_try_compile
"$LINENO"; then :
35245 wx_cv_var_timezone
=timezone
35249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35250 /* end confdefs.h. */
35265 if ac_fn_cxx_try_compile
"$LINENO"; then :
35267 wx_cv_var_timezone
=_timezone
35271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35272 /* end confdefs.h. */
35287 if ac_fn_cxx_try_compile
"$LINENO"; then :
35289 wx_cv_var_timezone
=__timezone
35293 if test "$USE_DOS" = 0 ; then
35294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35295 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35310 ac_cpp
='$CPP $CPPFLAGS'
35311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35319 $as_echo "$wx_cv_var_timezone" >&6; }
35321 if test "x$wx_cv_var_timezone" != x
; then
35322 cat >>confdefs.h
<<_ACEOF
35323 #define WX_TIMEZONE $wx_cv_var_timezone
35328 for ac_func
in localtime
35330 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
35331 if test "x$ac_cv_func_localtime" = xyes
; then :
35332 cat >>confdefs.h
<<_ACEOF
35333 #define HAVE_LOCALTIME 1
35340 if test "$ac_cv_func_localtime" = "yes"; then
35341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35342 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35343 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
35344 $as_echo_n "(cached) " >&6
35347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35348 /* end confdefs.h. */
35363 if ac_fn_c_try_compile
"$LINENO"; then :
35365 wx_cv_struct_tm_has_gmtoff
=yes
35368 wx_cv_struct_tm_has_gmtoff
=no
35371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35375 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35378 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35379 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35387 for ac_func
in setpriority
35389 ac_fn_c_check_func
"$LINENO" "setpriority" "ac_cv_func_setpriority"
35390 if test "x$ac_cv_func_setpriority" = xyes
; then :
35391 cat >>confdefs.h
<<_ACEOF
35392 #define HAVE_SETPRIORITY 1
35400 if test "$wxUSE_SOCKETS" = "yes"; then
35401 if test "$TOOLKIT" != "MSW"; then
35402 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
35403 if test "x$ac_cv_func_socket" = xyes
; then :
35407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35408 $as_echo_n "checking for socket in -lsocket... " >&6; }
35409 if ${ac_cv_lib_socket_socket+:} false
; then :
35410 $as_echo_n "(cached) " >&6
35412 ac_check_lib_save_LIBS
=$LIBS
35413 LIBS
="-lsocket $LIBS"
35414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35415 /* end confdefs.h. */
35417 /* Override any GCC internal prototype to avoid an error.
35418 Use char because int might match the return type of a GCC
35419 builtin and then its argument prototype would still apply. */
35432 if ac_fn_c_try_link
"$LINENO"; then :
35433 ac_cv_lib_socket_socket
=yes
35435 ac_cv_lib_socket_socket
=no
35437 rm -f core conftest.err conftest.
$ac_objext \
35438 conftest
$ac_exeext conftest.
$ac_ext
35439 LIBS
=$ac_check_lib_save_LIBS
35441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35442 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35443 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
35444 if test "$INET_LINK" != " -lsocket"; then
35445 INET_LINK
="$INET_LINK -lsocket"
35449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35450 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35463 if test "$wxUSE_SOCKETS" = "yes" ; then
35464 if test "$TOOLKIT" != "MSW"; then
35465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35466 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35467 if ${wx_cv_type_getsockname3+:} false
; then :
35468 $as_echo_n "(cached) " >&6
35472 ac_cpp
='$CXXCPP $CPPFLAGS'
35473 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35474 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35475 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35478 /* end confdefs.h. */
35480 #include <sys/types.h>
35481 #include <sys/socket.h>
35488 getsockname(0, 0, &len);
35494 if ac_fn_cxx_try_compile
"$LINENO"; then :
35495 wx_cv_type_getsockname3
=socklen_t
35498 CFLAGS_OLD
="$CFLAGS"
35499 if test "$GCC" = yes ; then
35500 CFLAGS
="-Werror $CFLAGS"
35503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35504 /* end confdefs.h. */
35506 #include <sys/types.h>
35507 #include <sys/socket.h>
35514 getsockname(0, 0, &len);
35520 if ac_fn_cxx_try_compile
"$LINENO"; then :
35521 wx_cv_type_getsockname3
=size_t
35523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35524 /* end confdefs.h. */
35526 #include <sys/types.h>
35527 #include <sys/socket.h>
35534 getsockname(0, 0, &len);
35540 if ac_fn_cxx_try_compile
"$LINENO"; then :
35541 wx_cv_type_getsockname3
=int
35543 wx_cv_type_getsockname3
=unknown
35546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35551 CFLAGS
="$CFLAGS_OLD"
35555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35557 ac_cpp
='$CPP $CPPFLAGS'
35558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35565 $as_echo "$wx_cv_type_getsockname3" >&6; }
35567 if test "$wx_cv_type_getsockname3" = "unknown"; then
35569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35570 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35572 cat >>confdefs.h
<<_ACEOF
35573 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35578 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35579 if ${wx_cv_type_getsockopt5+:} false
; then :
35580 $as_echo_n "(cached) " >&6
35584 ac_cpp
='$CXXCPP $CPPFLAGS'
35585 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35586 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35587 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35590 /* end confdefs.h. */
35592 #include <sys/types.h>
35593 #include <sys/socket.h>
35600 getsockopt(0, 0, 0, 0, &len);
35606 if ac_fn_cxx_try_compile
"$LINENO"; then :
35607 wx_cv_type_getsockopt5
=socklen_t
35610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35611 /* end confdefs.h. */
35613 #include <sys/types.h>
35614 #include <sys/socket.h>
35621 getsockopt(0, 0, 0, 0, &len);
35627 if ac_fn_cxx_try_compile
"$LINENO"; then :
35628 wx_cv_type_getsockopt5
=size_t
35630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35631 /* end confdefs.h. */
35633 #include <sys/types.h>
35634 #include <sys/socket.h>
35641 getsockopt(0, 0, 0, 0, &len);
35647 if ac_fn_cxx_try_compile
"$LINENO"; then :
35648 wx_cv_type_getsockopt5
=int
35650 wx_cv_type_getsockopt5
=unknown
35653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35662 ac_cpp
='$CPP $CPPFLAGS'
35663 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35664 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35665 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35670 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35672 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35675 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35677 cat >>confdefs.h
<<_ACEOF
35678 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35685 if test "$wxUSE_SOCKETS" = "yes" ; then
35686 if test "$wxUSE_IPV6" = "yes"; then
35687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35688 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35689 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35690 $as_echo_n "(cached) " >&6
35693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35694 /* end confdefs.h. */
35696 #include <sys/types.h>
35697 #include <sys/socket.h>
35698 #include <netinet/in.h>
35704 struct sockaddr_in6 sa6;
35710 if ac_fn_c_try_compile
"$LINENO"; then :
35711 wx_cv_type_sockaddr_in6
=yes
35713 wx_cv_type_sockaddr_in6
=no
35716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35721 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35723 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35724 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35728 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35732 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35737 if test "$wxUSE_PROTOCOL" = "yes"; then
35738 if test "$wxUSE_SOCKETS" != "yes"; then
35739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35740 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35745 if test "$wxUSE_PROTOCOL" = "yes"; then
35746 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35749 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35750 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35753 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35754 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35757 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35758 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35762 if test "$wxUSE_FS_INET" = "yes"; then
35763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35764 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35769 if test "$wxUSE_URL" = "yes"; then
35770 if test "$wxUSE_PROTOCOL" != "yes"; then
35771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35772 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35775 if test "$wxUSE_URL" = "yes"; then
35776 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35781 if test "$wxUSE_VARIANT" = "yes"; then
35782 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35786 if test "$wxUSE_FS_INET" = "yes"; then
35787 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35792 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35795 if test "$TOOLKIT" = "MSW"; then
35798 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35799 if test "$USE_DARWIN" = 1; then
35800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35801 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35803 ac_cpp
='$CXXCPP $CPPFLAGS'
35804 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35809 /* end confdefs.h. */
35810 #include <IOKit/hid/IOHIDLib.h>
35814 IOHIDQueueInterface *qi = NULL;
35815 IOHIDCallbackFunction cb = NULL;
35816 qi->setEventCallout(NULL, cb, NULL, NULL);
35821 if ac_fn_cxx_try_compile
"$LINENO"; then :
35825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35827 ac_cpp
='$CPP $CPPFLAGS'
35828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35833 $as_echo "$wxUSE_JOYSTICK" >&6; }
35837 for ac_header
in linux
/joystick.h
35839 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35841 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35842 cat >>confdefs.h
<<_ACEOF
35843 #define HAVE_LINUX_JOYSTICK_H 1
35852 if test "$wxUSE_JOYSTICK" = "yes"; then
35853 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35855 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35858 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35864 if test "$wxUSE_FONTENUM" = "yes" ; then
35865 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35869 if test "$wxUSE_FONTMAP" = "yes" ; then
35870 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35874 if test "$wxUSE_UNICODE" = "yes" ; then
35875 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35878 if test "$USE_WIN32" != 1; then
35879 wxUSE_UNICODE_MSLU
=no
35882 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35884 $as_echo_n "checking for main in -lunicows... " >&6; }
35885 if ${ac_cv_lib_unicows_main+:} false
; then :
35886 $as_echo_n "(cached) " >&6
35888 ac_check_lib_save_LIBS
=$LIBS
35889 LIBS
="-lunicows $LIBS"
35890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35891 /* end confdefs.h. */
35902 if ac_fn_c_try_link
"$LINENO"; then :
35903 ac_cv_lib_unicows_main
=yes
35905 ac_cv_lib_unicows_main
=no
35907 rm -f core conftest.err conftest.
$ac_objext \
35908 conftest
$ac_exeext conftest.
$ac_ext
35909 LIBS
=$ac_check_lib_save_LIBS
35911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35912 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35913 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35915 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35921 Applications will only run on Windows NT/2000/XP!" >&5
35922 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35923 Applications will only run on Windows NT/2000/XP!" >&2;}
35924 wxUSE_UNICODE_MSLU
=no
35931 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35932 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35935 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35936 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35942 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35943 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35948 if test "$wxUSE_MDI" = "yes"; then
35949 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35952 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35953 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35959 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35960 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35965 if test "$wxUSE_HELP" = "yes"; then
35966 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35970 if test "$wxUSE_MSW" = 1; then
35971 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35972 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35977 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35978 if test "$wxUSE_HTML" = "yes"; then
35979 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35983 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35984 wxUSE_WXHTML_HELP
=no
35989 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35990 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35995 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35996 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
36000 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
36003 if test "$wxUSE_SVG" = "yes"; then
36004 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
36009 if test "$wxUSE_METAFILE" = "yes"; then
36010 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
36011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
36012 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
36015 elif test "$wxUSE_METAFILE" = "auto"; then
36016 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
36021 if test "$wxUSE_METAFILE" = "yes"; then
36022 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
36024 if test "$wxUSE_MSW" = 1; then
36025 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
36031 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
36032 -o "$wxUSE_CLIPBOARD" = "yes" \
36033 -o "$wxUSE_OLE" = "yes" \
36034 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
36035 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
36037 if test "x$ac_cv_header_ole2_h" = xyes
; then :
36043 if test "$ac_cv_header_ole2_h" = "yes" ; then
36044 if test "$GCC" = yes ; then
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
36046 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
36047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36048 /* end confdefs.h. */
36049 #include <windows.h>
36059 if ac_fn_c_try_compile
"$LINENO"; then :
36060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36061 $as_echo "no" >&6; }
36063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36064 $as_echo "yes" >&6; }
36065 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
36067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36068 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36069 if test "$wxUSE_OLE" = "yes" ; then
36070 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
36072 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
36074 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
36076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
36080 if test "$wxUSE_DATAOBJ" = "yes" ; then
36081 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
36086 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36089 wxUSE_DRAG_AND_DROP
=no
36095 if test "$wxUSE_IPC" = "yes"; then
36096 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
36097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
36098 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36102 if test "$wxUSE_IPC" = "yes"; then
36103 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
36109 if test "$wxUSE_DATAOBJ" = "yes"; then
36110 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36114 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36116 wxUSE_DRAG_AND_DROP
=no
36119 if test "$wxUSE_CLIPBOARD" = "yes"; then
36120 if test "$wxUSE_DFB" = 1; then
36121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36122 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36126 if test "$wxUSE_CLIPBOARD" = "yes"; then
36127 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36132 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36133 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36135 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36136 wxUSE_DRAG_AND_DROP
=no
36139 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36140 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36146 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36150 if test "$wxUSE_CLIPBOARD" = "yes"; then
36151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
36154 if test "$wxUSE_SPLINES" = "yes" ; then
36155 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36159 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36160 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36164 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36165 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
36170 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36171 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36177 if test "$wxUSE_CONTROLS" = "yes"; then
36181 if test "$wxUSE_MARKUP" = "yes"; then
36182 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36186 if test "$wxUSE_ACCEL" = "yes"; then
36187 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36192 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36193 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
36199 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36200 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36204 if test "$wxUSE_BUTTON" = "yes"; then
36205 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36210 if test "$wxUSE_BMPBUTTON" = "yes"; then
36211 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36216 if test "$wxUSE_CALCTRL" = "yes"; then
36217 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36223 if test "$wxUSE_CARET" = "yes"; then
36224 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36230 if test "$wxUSE_COLLPANE" = "yes"; then
36231 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
36237 if test "$wxUSE_COMBOBOX" = "yes"; then
36238 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36243 if test "$wxUSE_COMBOCTRL" = "yes"; then
36244 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36249 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36250 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36255 if test "$wxUSE_CHOICE" = "yes"; then
36256 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36261 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36262 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36267 if test "$wxUSE_CHECKBOX" = "yes"; then
36268 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36273 if test "$wxUSE_CHECKLST" = "yes"; then
36274 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36279 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36280 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36285 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36286 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36291 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36292 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36297 if test "$wxUSE_FILECTRL" = "yes"; then
36298 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36303 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36304 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36309 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36310 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36315 if test "$wxUSE_DISPLAY" = "yes"; then
36316 if test "$wxUSE_DFB" = 1; then
36317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36318 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36321 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36327 if test "$wxUSE_DETECT_SM" = "yes"; then
36328 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36332 if test "$wxUSE_GAUGE" = "yes"; then
36333 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36338 if test "$wxUSE_GRID" = "yes"; then
36339 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36345 if test "$wxUSE_HEADERCTRL" = "yes"; then
36346 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36351 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36352 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36357 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36358 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36363 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36364 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
36370 if test "$wxUSE_IMAGLIST" = "yes"; then
36371 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36375 if test "$wxUSE_INFOBAR" = "yes"; then
36376 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36380 if test "$wxUSE_LISTBOOK" = "yes"; then
36381 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36386 if test "$wxUSE_LISTBOX" = "yes"; then
36387 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36392 if test "$wxUSE_LISTCTRL" = "yes"; then
36393 if test "$wxUSE_IMAGLIST" = "yes"; then
36394 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36400 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36404 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36405 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36410 if test "$wxUSE_NOTEBOOK" = "yes"; then
36411 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36417 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36418 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36422 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36423 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36426 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
36429 if test "$wxUSE_RADIOBOX" = "yes"; then
36430 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36435 if test "$wxUSE_RADIOBTN" = "yes"; then
36436 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36441 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36442 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36446 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36447 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36451 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36452 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36456 if test "$wxUSE_SASH" = "yes"; then
36457 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36459 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36462 if test "$wxUSE_SCROLLBAR" = "yes"; then
36463 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
36469 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36470 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36475 if test "$wxUSE_SLIDER" = "yes"; then
36476 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36481 if test "$wxUSE_SPINBTN" = "yes"; then
36482 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36487 if test "$wxUSE_SPINCTRL" = "yes"; then
36488 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36493 if test "$wxUSE_SPLITTER" = "yes"; then
36494 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36499 if test "$wxUSE_STATBMP" = "yes"; then
36500 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36505 if test "$wxUSE_STATBOX" = "yes"; then
36506 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36511 if test "$wxUSE_STATTEXT" = "yes"; then
36512 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36517 if test "$wxUSE_STATLINE" = "yes"; then
36518 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36523 if test "$wxUSE_STATUSBAR" = "yes"; then
36524 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36526 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36533 if test "$wxUSE_TEXTCTRL" = "yes"; then
36534 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36539 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36541 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36545 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36546 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36551 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36552 if test "$wxUSE_OLD_COCOA" = 1 ; then
36553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36554 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36558 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36559 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36565 if test "$wxUSE_TOOLBAR" = "yes"; then
36566 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36570 if test "$wxUSE_UNIVERSAL" = "yes"; then
36571 wxUSE_TOOLBAR_NATIVE
="no"
36573 wxUSE_TOOLBAR_NATIVE
="yes"
36574 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36581 if test "$wxUSE_TOOLTIPS" = "yes"; then
36582 if test "$wxUSE_MOTIF" = 1; then
36583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36584 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36586 if test "$wxUSE_UNIVERSAL" = "yes"; then
36587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36588 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36590 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36596 if test "$wxUSE_TREEBOOK" = "yes"; then
36597 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36602 if test "$wxUSE_TOOLBOOK" = "yes"; then
36603 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36608 if test "$wxUSE_TREECTRL" = "yes"; then
36609 if test "$wxUSE_IMAGLIST" = "yes"; then
36610 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36616 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36620 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36621 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
36627 if test "$wxUSE_POPUPWIN" = "yes"; then
36628 if test "$wxUSE_OLD_COCOA" = 1 ; then
36629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36630 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36632 if test "$wxUSE_PM" = 1; then
36633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36634 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36636 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36638 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
36645 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36646 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36648 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36650 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
36656 if test "$wxUSE_TIPWINDOW" = "yes"; then
36657 if test "$wxUSE_PM" = 1; then
36658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36659 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36661 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36666 if test "$USES_CONTROLS" = 1; then
36667 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36672 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36673 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36678 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36679 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36683 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36684 if test "$wxUSE_GTK" != 1; then
36685 if test "$wxUSE_LIBPNG" != no
-a \
36686 "$wxUSE_IMAGE" = yes -a \
36687 "$wxUSE_STREAMS" = yes; then
36688 wxUSE_ARTPROVIDER_TANGO
="yes"
36693 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36694 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36698 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36699 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36701 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36704 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36705 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36707 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36709 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36716 if test "$wxUSE_HTML" = "yes"; then
36717 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36722 if test "$wxUSE_WEBKIT" = "yes"; then
36723 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36724 old_CPPFLAGS
="$CPPFLAGS"
36725 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36726 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36727 #include <Carbon/Carbon.h>
36728 #include <WebKit/WebKit.h>
36731 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36733 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36735 WEBKIT_LINK
="-framework WebKit"
36739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36740 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36746 CPPFLAGS
="$old_CPPFLAGS"
36747 elif test "$wxUSE_OLD_COCOA" = 1; then
36748 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36753 if test "$wxUSE_WEBKIT" = "yes"; then
36754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36759 if test "$wxUSE_XRC" = "yes"; then
36760 if test "$wxUSE_XML" != "yes"; then
36761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36762 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36765 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36768 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36773 if test "$wxUSE_AUI" = "yes"; then
36774 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36781 if test "$wxUSE_PROPGRID" = "yes"; then
36782 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36789 if test "$wxUSE_RIBBON" = "yes"; then
36790 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36797 if test "$wxUSE_STC" = "yes"; then
36798 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36801 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36803 # Extract the first word of "python", so it can be a program name with args.
36804 set dummy python
; ac_word
=$2
36805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36806 $as_echo_n "checking for $ac_word... " >&6; }
36807 if ${ac_cv_path_PYTHON+:} false
; then :
36808 $as_echo_n "(cached) " >&6
36812 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36816 for as_dir
in $PATH
36819 test -z "$as_dir" && as_dir
=.
36820 for ac_exec_ext
in '' $ac_executable_extensions; do
36821 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
36822 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36833 PYTHON
=$ac_cv_path_PYTHON
36834 if test -n "$PYTHON"; then
36835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36836 $as_echo "$PYTHON" >&6; }
36838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36839 $as_echo "no" >&6; }
36843 if test "x$PYTHON" = "x"; then
36849 if test "$wxUSE_MENUS" = "yes"; then
36850 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36852 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36855 if test "$wxUSE_MIMETYPE" = "yes"; then
36856 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36860 if test "$wxUSE_MINIFRAME" = "yes"; then
36861 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36865 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36866 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36870 if test "$wxUSE_TASKBARICON" = "yes"; then
36871 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36873 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36875 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36879 if test "$wxUSE_VALIDATORS" = "yes"; then
36880 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36885 if test "$wxUSE_PALETTE" = "yes" ; then
36886 if test "$wxUSE_DFB" = 1; then
36887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36888 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36891 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36896 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36897 LIBS
=" -lunicows $LIBS"
36901 if test "$wxUSE_RICHTEXT" = "yes"; then
36902 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36908 if test "$wxUSE_WEBVIEW" = "yes"; then
36909 USE_WEBVIEW_WEBKIT
=0
36910 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36911 if test "$wxUSE_GTK" = 1; then
36912 webkitgtk
=webkit
-1.0
36913 if test "$WXGTK3" = 1; then
36914 webkitgtk
=webkitgtk
-3.0
36918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36919 $as_echo_n "checking for WEBKIT... " >&6; }
36921 if test -n "$PKG_CONFIG"; then
36922 if test -n "$WEBKIT_CFLAGS"; then
36923 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36925 if test -n "$PKG_CONFIG" && \
36926 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36927 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36930 test $ac_status = 0; }; then
36931 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36939 if test -n "$PKG_CONFIG"; then
36940 if test -n "$WEBKIT_LIBS"; then
36941 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36943 if test -n "$PKG_CONFIG" && \
36944 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36945 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36948 test $ac_status = 0; }; then
36949 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36960 if test $pkg_failed = yes; then
36962 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36963 _pkg_short_errors_supported
=yes
36965 _pkg_short_errors_supported
=no
36967 if test $_pkg_short_errors_supported = yes; then
36968 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36970 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36972 # Put the nasty error message in config.log where it belongs
36973 echo "$WEBKIT_PKG_ERRORS" >&5
36976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36977 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36979 elif test $pkg_failed = untried
; then
36981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36982 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36985 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36986 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36988 $as_echo "yes" >&6; }
36990 USE_WEBVIEW_WEBKIT
=1
36991 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36992 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36995 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36996 old_CPPFLAGS
="$CPPFLAGS"
36997 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36998 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36999 #include <Carbon/Carbon.h>
37000 #include <WebKit/WebKit.h>
37003 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
37005 USE_WEBVIEW_WEBKIT
=1
37006 WEBKIT_LINK
="-framework WebKit"
37010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
37011 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
37016 CPPFLAGS
="$old_CPPFLAGS"
37021 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
37022 if test "$USE_WEBVIEW_WEBKIT" = 1; then
37023 wxUSE_WEBVIEW
="yes"
37024 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
37027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
37028 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
37030 elif test "$wxUSE_MSW" = 1; then
37031 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
37032 wxUSE_WEBVIEW
="yes"
37033 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
37039 if test "$wxUSE_WEBVIEW" = "yes"; then
37041 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
37043 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
37049 if test "$wxUSE_IMAGE" = "yes" ; then
37050 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
37053 if test "$wxUSE_GIF" = "yes" ; then
37054 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
37058 if test "$wxUSE_PCX" = "yes" ; then
37059 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
37063 if test "$wxUSE_TGA" = "yes" ; then
37064 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
37068 if test "$wxUSE_IFF" = "yes" ; then
37069 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
37073 if test "$wxUSE_PNM" = "yes" ; then
37074 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
37078 if test "$wxUSE_XPM" = "yes" ; then
37079 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
37083 if test "$wxUSE_ICO_CUR" = "yes" ; then
37084 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
37090 if test "$wxUSE_ABOUTDLG" = "yes"; then
37091 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
37095 if test "$wxUSE_CHOICEDLG" = "yes"; then
37096 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
37100 if test "$wxUSE_COLOURDLG" = "yes"; then
37101 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37105 if test "$wxUSE_FILEDLG" = "yes"; then
37106 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37110 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37111 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37115 if test "$wxUSE_FONTDLG" = "yes"; then
37116 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37120 if test "$wxUSE_DIRDLG" = "yes"; then
37121 if test "$wxUSE_TREECTRL" != "yes"; then
37122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37123 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37125 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37130 if test "$wxUSE_MSGDLG" = "yes"; then
37131 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37135 if test "$wxUSE_NUMBERDLG" = "yes"; then
37136 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37140 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37141 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37145 if test "$wxUSE_SPLASH" = "yes"; then
37146 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37151 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37152 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37156 if test "$wxUSE_TEXTDLG" = "yes"; then
37157 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37161 if test "$wxUSE_WIZARDDLG" = "yes"; then
37162 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37168 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37169 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37170 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37176 if test "$wxUSE_MSW" = 1 ; then
37178 if test "$wxUSE_DC_CACHEING" = "yes"; then
37179 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37183 if test "$wxUSE_DIB" = "yes"; then
37184 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37188 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37189 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37193 if test "$wxUSE_UXTHEME" = "yes"; then
37194 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37200 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37201 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37205 if test "$USE_WIN32" = 1 ; then
37206 if test "$wxUSE_INICONF" = "yes"; then
37207 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37211 if test "$wxUSE_REGKEY" = "yes"; then
37212 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37218 if test "$wxUSE_MAC" = 1; then
37219 wxUSE_GRAPHICS_CONTEXT
="yes"
37222 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37224 if test "$wxUSE_MSW" = 1; then
37225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37226 $as_echo_n "checking if GDI+ is available... " >&6; }
37227 if ${wx_cv_lib_gdiplus+:} false
; then :
37228 $as_echo_n "(cached) " >&6
37232 ac_cpp
='$CXXCPP $CPPFLAGS'
37233 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37238 /* end confdefs.h. */
37239 #include <windows.h>
37240 #include <gdiplus.h>
37245 using namespace Gdiplus;
37251 if ac_fn_cxx_try_compile
"$LINENO"; then :
37252 wx_cv_lib_gdiplus
=yes
37254 wx_cv_lib_gdiplus
=no
37257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37259 ac_cpp
='$CPP $CPPFLAGS'
37260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37268 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37269 if test "$wx_cv_lib_gdiplus" = "yes"; then
37272 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37276 $as_echo_n "checking for CAIRO... " >&6; }
37278 if test -n "$PKG_CONFIG"; then
37279 if test -n "$CAIRO_CFLAGS"; then
37280 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
37282 if test -n "$PKG_CONFIG" && \
37283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37284 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37287 test $ac_status = 0; }; then
37288 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37296 if test -n "$PKG_CONFIG"; then
37297 if test -n "$CAIRO_LIBS"; then
37298 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
37300 if test -n "$PKG_CONFIG" && \
37301 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37302 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37305 test $ac_status = 0; }; then
37306 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37317 if test $pkg_failed = yes; then
37319 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37320 _pkg_short_errors_supported
=yes
37322 _pkg_short_errors_supported
=no
37324 if test $_pkg_short_errors_supported = yes; then
37325 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37327 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37329 # Put the nasty error message in config.log where it belongs
37330 echo "$CAIRO_PKG_ERRORS" >&5
37332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37333 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37335 elif test $pkg_failed = untried
; then
37336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37337 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37340 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
37341 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
37342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37343 $as_echo "yes" >&6; }
37346 if test "$wx_has_graphics" = 1; then
37348 LIBS
="$LIBS $CAIRO_LIBS"
37349 for ac_func
in cairo_push_group
37351 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37352 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
37353 cat >>confdefs.h
<<_ACEOF
37354 #define HAVE_CAIRO_PUSH_GROUP 1
37361 if test "$ac_cv_func_cairo_push_group" = "no"; then
37363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37364 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37366 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37369 if test "$wxUSE_GTK" != 1; then
37370 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
37371 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
37379 if test "$wx_has_graphics" = 1; then
37380 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37384 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37391 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37394 if test "$wxUSE_GTK" = 1; then
37395 wxUSE_GSTREAMER
="no"
37397 GST_VERSION_MAJOR
=0
37398 GST_VERSION_MINOR
=10
37399 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37401 if test "$wxUSE_GSTREAMER8" = "no"; then
37404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37405 $as_echo_n "checking for GST... " >&6; }
37407 if test -n "$PKG_CONFIG"; then
37408 if test -n "$GST_CFLAGS"; then
37409 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37411 if test -n "$PKG_CONFIG" && \
37412 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37413 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37416 test $ac_status = 0; }; then
37417 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37425 if test -n "$PKG_CONFIG"; then
37426 if test -n "$GST_LIBS"; then
37427 pkg_cv_GST_LIBS
="$GST_LIBS"
37429 if test -n "$PKG_CONFIG" && \
37430 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37431 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37434 test $ac_status = 0; }; then
37435 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37446 if test $pkg_failed = yes; then
37448 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37449 _pkg_short_errors_supported
=yes
37451 _pkg_short_errors_supported
=no
37453 if test $_pkg_short_errors_supported = yes; then
37454 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37456 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37458 # Put the nasty error message in config.log where it belongs
37459 echo "$GST_PKG_ERRORS" >&5
37462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37463 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37464 GST_VERSION_MINOR
=8
37467 elif test $pkg_failed = untried
; then
37469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37470 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37471 GST_VERSION_MINOR
=8
37475 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37476 GST_LIBS
=$pkg_cv_GST_LIBS
37477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37478 $as_echo "yes" >&6; }
37480 wxUSE_GSTREAMER
="yes"
37481 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37485 GST_VERSION_MINOR
=8
37488 if test $GST_VERSION_MINOR = "8"; then
37489 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37493 $as_echo_n "checking for GST... " >&6; }
37495 if test -n "$PKG_CONFIG"; then
37496 if test -n "$GST_CFLAGS"; then
37497 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37499 if test -n "$PKG_CONFIG" && \
37500 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37501 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37504 test $ac_status = 0; }; then
37505 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37513 if test -n "$PKG_CONFIG"; then
37514 if test -n "$GST_LIBS"; then
37515 pkg_cv_GST_LIBS
="$GST_LIBS"
37517 if test -n "$PKG_CONFIG" && \
37518 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37519 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37521 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37522 test $ac_status = 0; }; then
37523 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37534 if test $pkg_failed = yes; then
37536 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37537 _pkg_short_errors_supported
=yes
37539 _pkg_short_errors_supported
=no
37541 if test $_pkg_short_errors_supported = yes; then
37542 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37544 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37546 # Put the nasty error message in config.log where it belongs
37547 echo "$GST_PKG_ERRORS" >&5
37550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37551 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37553 elif test $pkg_failed = untried
; then
37555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37556 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37559 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37560 GST_LIBS
=$pkg_cv_GST_LIBS
37561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37562 $as_echo "yes" >&6; }
37563 wxUSE_GSTREAMER
="yes"
37568 if test "$wxUSE_GSTREAMER" = "yes"; then
37569 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
37570 EXTRALIBS_MEDIA
="$GST_LIBS"
37572 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37578 elif test "$wxUSE_MAC" = 1; then
37579 GST_LIBS
="-framework QTKit"
37582 if test $USE_MEDIA = 1; then
37583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
37584 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37587 if test "$wxUSE_MEDIACTRL" = "yes"; then
37588 as_fn_error $?
"GStreamer not available" "$LINENO" 5
37590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37591 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37597 if test "$cross_compiling" != "no"; then
37600 OSINFO
=`uname -s -r -m`
37601 OSINFO
="\"$OSINFO\""
37604 cat >>confdefs.h
<<_ACEOF
37605 #define WXWIN_OS_DESCRIPTION $OSINFO
37610 if test "x$prefix" != "xNONE"; then
37613 wxPREFIX
=$ac_default_prefix
37616 cat >>confdefs.h
<<_ACEOF
37617 #define wxINSTALL_PREFIX "$wxPREFIX"
37623 STD_BASE_LIBS
="base"
37625 BUILT_WX_LIBS
="base"
37626 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
37628 if test "$wxUSE_SOCKETS" = "yes" ; then
37629 STD_BASE_LIBS
="net $STD_BASE_LIBS"
37630 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
37632 if test "$wxUSE_XML" = "yes" ; then
37633 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
37634 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
37637 if test "$wxUSE_GUI" = "yes"; then
37638 STD_GUI_LIBS
="adv core"
37639 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
37641 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37642 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
37643 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
37645 if test "$wxUSE_HTML" = "yes" ; then
37646 STD_GUI_LIBS
="html $STD_GUI_LIBS"
37647 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
37649 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37650 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
37652 if test "$wxUSE_OPENGL" = "yes" ; then
37653 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
37655 if test "$wxUSE_AUI" = "yes" ; then
37656 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
37658 if test "$wxUSE_PROPGRID" = "yes" ; then
37659 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
37661 if test "$wxUSE_RIBBON" = "yes" ; then
37662 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
37664 if test "$wxUSE_RICHTEXT" = "yes" ; then
37665 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
37667 if test "$wxUSE_STC" = "yes" ; then
37668 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
37670 if test "$wxUSE_WEBVIEW" = "yes" ; then
37671 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
37672 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
37674 if test "$wxUSE_XRC" = "yes" ; then
37675 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
37676 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
37687 if test "$wxUSE_MAC" = 1 ; then
37688 if test "$USE_DARWIN" = 1; then
37689 if test "$wxUSE_OSX_IPHONE" = 1; then
37690 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37692 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37695 if test "$cross_compiling" != "no"; then
37696 wx_cv_target_x86_64
=no
37698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37699 $as_echo_n "checking if we target only x86_64... " >&6; }
37700 if ${wx_cv_target_x86_64+:} false
; then :
37701 $as_echo_n "(cached) " >&6
37703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37704 /* end confdefs.h. */
37705 int main() { return 0; }
37707 if ac_fn_c_try_link
"$LINENO"; then :
37708 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37709 wx_cv_target_x86_64
=no
37711 wx_cv_target_x86_64
=yes
37715 rm -f core conftest.err conftest.
$ac_objext \
37716 conftest
$ac_exeext conftest.
$ac_ext
37719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37720 $as_echo "$wx_cv_target_x86_64" >&6; }
37723 if test "$wx_cv_target_x86_64" != "yes"; then
37724 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37729 if test "$wxUSE_OLD_COCOA" = 1 ; then
37730 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37731 if test "$wxUSE_MEDIACTRL" = "yes"; then
37732 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37735 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37736 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37739 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37740 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37742 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37744 if test "$wxUSE_GUI" = "yes"; then
37747 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37748 erase event exec font image minimal preferences render \
37749 shaped svg taborder vscroll widgets wrapsizer"
37751 if test "$wxUSE_MONOLITHIC" != "yes"; then
37752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37754 if test "$TOOLKIT" = "MSW"; then
37755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37756 if test "$wxUSE_UNIVERSAL" != "yes"; then
37757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37760 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37764 SAMPLES_SUBDIRS
="console"
37765 if test "$wxUSE_SOCKETS" = "yes" ; then
37766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37768 if test "$wxUSE_IPC" = "yes" ; then
37769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37774 if test "x$INTELCC" = "xyes" ; then
37775 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37776 elif test "$GCC" = yes ; then
37777 CWARNINGS
="-Wall -Wundef"
37780 if test "x$INTELCXX" = "xyes" ; then
37781 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37782 elif test "$GXX" = yes ; then
37783 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37785 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37786 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37787 $as_echo_n "(cached) " >&6
37789 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37792 ac_cpp
='$CXXCPP $CPPFLAGS'
37793 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37794 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37795 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37797 ac_save_CXXFLAGS
="$CXXFLAGS"
37798 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37799 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37801 /* end confdefs.h. */
37811 if ac_fn_cxx_try_compile
"$LINENO"; then :
37812 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37816 CXXFLAGS
="$ac_save_CXXFLAGS"
37818 ac_cpp
='$CPP $CPPFLAGS'
37819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37826 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37827 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37831 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37832 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37833 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37836 test $ac_status = 0; }
37837 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37838 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37841 test $ac_status = 0; }
37842 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37848 if test "$wxUSE_MAC" = 1 ; then
37849 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37854 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37855 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37858 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37859 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37860 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37863 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37864 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37865 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37866 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37867 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37869 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37872 if test "x$MWCC" = "xyes"; then
37874 CC
="$CC -cwd source -I-"
37875 CXX
="$CXX -cwd source -I-"
37880 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37881 EXTRALIBS_XML
="$EXPAT_LINK"
37882 EXTRALIBS_HTML
="$MSPACK_LINK"
37883 EXTRALIBS_MEDIA
="$GST_LIBS"
37884 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37885 if test "$wxUSE_GUI" = "yes"; then
37886 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37888 if test "$wxUSE_OPENGL" = "yes"; then
37889 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37892 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37894 WXCONFIG_LIBS
="$LIBS"
37896 if test "$wxUSE_REGEX" = "builtin" ; then
37897 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37899 if test "$wxUSE_EXPAT" = "builtin" ; then
37900 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37902 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37903 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37905 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37906 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37908 if test "$wxUSE_LIBPNG" = "builtin" ; then
37909 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37911 if test "$wxUSE_ZLIB" = "builtin" ; then
37912 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37915 for i
in $wxconfig_3rdparty ; do
37916 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37920 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37923 case "$wxUNIV_THEMES" in
37925 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37930 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37931 cat >>confdefs.h
<<_ACEOF
37932 #define wxUSE_THEME_$t 1
37948 if test $wxUSE_MONOLITHIC = "yes" ; then
37954 if test $wxUSE_PLUGINS = "yes" ; then
37960 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37966 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37994 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
38007 TOOLKIT_DESC
="GTK+"
38008 if test "$WXGTK2" = 1; then
38009 if test "$WXGTK3" = 1; then
38010 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
38012 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
38014 if test "$wxUSE_GTKPRINT" = "yes" ; then
38015 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
38017 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
38018 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
38020 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
38021 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
38023 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
38024 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA libnotify"
38026 if test "$wxUSE_LIBHILDON" = "yes"; then
38027 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
38029 if test "$wxUSE_LIBHILDON2" = "yes"; then
38030 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
38033 if test "$TOOLKIT_EXTRA" != ""; then
38034 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
38040 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
38044 TOOLKIT_DESC
="base only"
38048 if test "$wxUSE_WINE" = "yes"; then
38049 BAKEFILE_FORCE_PLATFORM
=win32
38052 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
38054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
38055 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
38056 if ${wx_cv_gcc_pch_bug+:} false
; then :
38057 $as_echo_n "(cached) " >&6
38060 echo '#include <stdio.h>
38061 const wchar_t test_var[] = L"awidetest";' > conftest.h
38063 echo '#include "conftest.h"
38066 printf("%ls", test_var);
38070 wx_cv_gcc_pch_bug
="pch not supported"
38072 if $CXX conftest.h
>/dev
/null
2>&1
38076 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
38078 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
38079 grep awidetest
>/dev
/null
38081 wx_cv_gcc_pch_bug
=no
38083 wx_cv_gcc_pch_bug
=yes
38088 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
38091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
38092 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
38094 if test "$wx_cv_gcc_pch_bug" = yes; then
38099 # Find a good install program. We prefer a C program (faster),
38100 # so one script is as good as another. But avoid the broken or
38101 # incompatible versions:
38102 # SysV /etc/install, /usr/sbin/install
38103 # SunOS /usr/etc/install
38104 # IRIX /sbin/install
38106 # AmigaOS /C/install, which installs bootblocks on floppy discs
38107 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38108 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38109 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38110 # OS/2's system install, which has a completely different semantic
38111 # ./install, which can be erroneously created by make from ./install.sh.
38112 # Reject install programs that cannot install multiple files.
38113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38114 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38115 if test -z "$INSTALL"; then
38116 if ${ac_cv_path_install+:} false
; then :
38117 $as_echo_n "(cached) " >&6
38119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38120 for as_dir
in $PATH
38123 test -z "$as_dir" && as_dir
=.
38124 # Account for people who put trailing slashes in PATH elements.
38125 case $as_dir/ in #((
38126 .
/ | .
// | /[cC
]/* | \
38127 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38128 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
38131 # OSF1 and SCO ODT 3.0 have their own names for install.
38132 # Don't use installbsd from OSF since it installs stuff as root
38134 for ac_prog
in ginstall scoinst
install; do
38135 for ac_exec_ext
in '' $ac_executable_extensions; do
38136 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
38137 if test $ac_prog = install &&
38138 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38139 # AIX install. It has an incompatible calling convention.
38141 elif test $ac_prog = install &&
38142 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38143 # program-specific install script used by HP pwplus--don't use.
38146 rm -rf conftest.one conftest.two conftest.dir
38147 echo one
> conftest.one
38148 echo two
> conftest.two
38150 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
38151 test -s conftest.one
&& test -s conftest.two
&&
38152 test -s conftest.dir
/conftest.one
&&
38153 test -s conftest.dir
/conftest.two
38155 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38168 rm -rf conftest.one conftest.two conftest.dir
38171 if test "${ac_cv_path_install+set}" = set; then
38172 INSTALL
=$ac_cv_path_install
38174 # As a last resort, use the slow shell script. Don't cache a
38175 # value for INSTALL within a source directory, because that will
38176 # break other packages using the cache if that directory is
38177 # removed, or if the value is a relative name.
38178 INSTALL
=$ac_install_sh
38181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38182 $as_echo "$INSTALL" >&6; }
38184 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38185 # It thinks the first close brace ends the variable substitution.
38186 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38188 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38190 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38198 if test "x$BAKEFILE_HOST" = "x"; then
38199 if test "x${host}" = "x" ; then
38200 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38203 BAKEFILE_HOST
="${host}"
38206 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38208 if test -n "$ac_tool_prefix"; then
38209 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38210 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38212 $as_echo_n "checking for $ac_word... " >&6; }
38213 if ${ac_cv_prog_RANLIB+:} false
; then :
38214 $as_echo_n "(cached) " >&6
38216 if test -n "$RANLIB"; then
38217 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38220 for as_dir
in $PATH
38223 test -z "$as_dir" && as_dir
=.
38224 for ac_exec_ext
in '' $ac_executable_extensions; do
38225 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38226 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38236 RANLIB
=$ac_cv_prog_RANLIB
38237 if test -n "$RANLIB"; then
38238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38239 $as_echo "$RANLIB" >&6; }
38241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38242 $as_echo "no" >&6; }
38247 if test -z "$ac_cv_prog_RANLIB"; then
38248 ac_ct_RANLIB
=$RANLIB
38249 # Extract the first word of "ranlib", so it can be a program name with args.
38250 set dummy ranlib
; ac_word
=$2
38251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38252 $as_echo_n "checking for $ac_word... " >&6; }
38253 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
38254 $as_echo_n "(cached) " >&6
38256 if test -n "$ac_ct_RANLIB"; then
38257 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38260 for as_dir
in $PATH
38263 test -z "$as_dir" && as_dir
=.
38264 for ac_exec_ext
in '' $ac_executable_extensions; do
38265 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38266 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38276 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38277 if test -n "$ac_ct_RANLIB"; then
38278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38279 $as_echo "$ac_ct_RANLIB" >&6; }
38281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38282 $as_echo "no" >&6; }
38285 if test "x$ac_ct_RANLIB" = x
; then
38288 case $cross_compiling:$ac_tool_warned in
38290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38292 ac_tool_warned
=yes ;;
38294 RANLIB
=$ac_ct_RANLIB
38297 RANLIB
="$ac_cv_prog_RANLIB"
38301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38302 $as_echo_n "checking whether ln -s works... " >&6; }
38304 if test "$LN_S" = "ln -s"; then
38305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38306 $as_echo "yes" >&6; }
38308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38309 $as_echo "no, using $LN_S" >&6; }
38313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38314 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38316 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38317 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
38318 $as_echo_n "(cached) " >&6
38320 cat >conftest.
make <<\_ACEOF
38323 @
echo '@@@%%%=$(MAKE)=@@@%%%'
38325 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38326 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38327 *@@@
%%%=?
*=@@@
%%%*)
38328 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
38330 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
38332 rm -f conftest.
make
38334 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
38335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38336 $as_echo "yes" >&6; }
38339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38340 $as_echo "no" >&6; }
38341 SET_MAKE
="MAKE=${MAKE-make}"
38346 if test "x$SUNCXX" = "xyes"; then
38348 AROPTIONS
="-xar -o"
38350 elif test "x$SGICC" = "xyes"; then
38355 if test -n "$ac_tool_prefix"; then
38356 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38357 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38359 $as_echo_n "checking for $ac_word... " >&6; }
38360 if ${ac_cv_prog_AR+:} false
; then :
38361 $as_echo_n "(cached) " >&6
38363 if test -n "$AR"; then
38364 ac_cv_prog_AR
="$AR" # Let the user override the test.
38366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38367 for as_dir
in $PATH
38370 test -z "$as_dir" && as_dir
=.
38371 for ac_exec_ext
in '' $ac_executable_extensions; do
38372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38373 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38384 if test -n "$AR"; then
38385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38386 $as_echo "$AR" >&6; }
38388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38389 $as_echo "no" >&6; }
38394 if test -z "$ac_cv_prog_AR"; then
38396 # Extract the first word of "ar", so it can be a program name with args.
38397 set dummy
ar; ac_word
=$2
38398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38399 $as_echo_n "checking for $ac_word... " >&6; }
38400 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
38401 $as_echo_n "(cached) " >&6
38403 if test -n "$ac_ct_AR"; then
38404 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38407 for as_dir
in $PATH
38410 test -z "$as_dir" && as_dir
=.
38411 for ac_exec_ext
in '' $ac_executable_extensions; do
38412 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38413 ac_cv_prog_ac_ct_AR
="ar"
38414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38423 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38424 if test -n "$ac_ct_AR"; then
38425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38426 $as_echo "$ac_ct_AR" >&6; }
38428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38429 $as_echo "no" >&6; }
38432 if test "x$ac_ct_AR" = x
; then
38435 case $cross_compiling:$ac_tool_warned in
38437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38439 ac_tool_warned
=yes ;;
38444 AR
="$ac_cv_prog_AR"
38451 if test -n "$ac_tool_prefix"; then
38452 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38453 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38455 $as_echo_n "checking for $ac_word... " >&6; }
38456 if ${ac_cv_prog_STRIP+:} false
; then :
38457 $as_echo_n "(cached) " >&6
38459 if test -n "$STRIP"; then
38460 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38463 for as_dir
in $PATH
38466 test -z "$as_dir" && as_dir
=.
38467 for ac_exec_ext
in '' $ac_executable_extensions; do
38468 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38469 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38479 STRIP
=$ac_cv_prog_STRIP
38480 if test -n "$STRIP"; then
38481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38482 $as_echo "$STRIP" >&6; }
38484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38485 $as_echo "no" >&6; }
38490 if test -z "$ac_cv_prog_STRIP"; then
38492 # Extract the first word of "strip", so it can be a program name with args.
38493 set dummy strip
; ac_word
=$2
38494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38495 $as_echo_n "checking for $ac_word... " >&6; }
38496 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
38497 $as_echo_n "(cached) " >&6
38499 if test -n "$ac_ct_STRIP"; then
38500 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38503 for as_dir
in $PATH
38506 test -z "$as_dir" && as_dir
=.
38507 for ac_exec_ext
in '' $ac_executable_extensions; do
38508 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38509 ac_cv_prog_ac_ct_STRIP
="strip"
38510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38519 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38520 if test -n "$ac_ct_STRIP"; then
38521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38522 $as_echo "$ac_ct_STRIP" >&6; }
38524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38525 $as_echo "no" >&6; }
38528 if test "x$ac_ct_STRIP" = x
; then
38531 case $cross_compiling:$ac_tool_warned in
38533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38535 ac_tool_warned
=yes ;;
38540 STRIP
="$ac_cv_prog_STRIP"
38543 if test -n "$ac_tool_prefix"; then
38544 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38545 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38547 $as_echo_n "checking for $ac_word... " >&6; }
38548 if ${ac_cv_prog_NM+:} false
; then :
38549 $as_echo_n "(cached) " >&6
38551 if test -n "$NM"; then
38552 ac_cv_prog_NM
="$NM" # Let the user override the test.
38554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38555 for as_dir
in $PATH
38558 test -z "$as_dir" && as_dir
=.
38559 for ac_exec_ext
in '' $ac_executable_extensions; do
38560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38561 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38572 if test -n "$NM"; then
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38574 $as_echo "$NM" >&6; }
38576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38577 $as_echo "no" >&6; }
38582 if test -z "$ac_cv_prog_NM"; then
38584 # Extract the first word of "nm", so it can be a program name with args.
38585 set dummy nm
; ac_word
=$2
38586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38587 $as_echo_n "checking for $ac_word... " >&6; }
38588 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
38589 $as_echo_n "(cached) " >&6
38591 if test -n "$ac_ct_NM"; then
38592 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38595 for as_dir
in $PATH
38598 test -z "$as_dir" && as_dir
=.
38599 for ac_exec_ext
in '' $ac_executable_extensions; do
38600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38601 ac_cv_prog_ac_ct_NM
="nm"
38602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38611 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38612 if test -n "$ac_ct_NM"; then
38613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38614 $as_echo "$ac_ct_NM" >&6; }
38616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38617 $as_echo "no" >&6; }
38620 if test "x$ac_ct_NM" = x
; then
38623 case $cross_compiling:$ac_tool_warned in
38625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38627 ac_tool_warned
=yes ;;
38632 NM
="$ac_cv_prog_NM"
38636 INSTALL_DIR
="mkdir -p"
38640 case ${BAKEFILE_HOST} in
38641 *-*-cygwin* | *-*-mingw32* )
38642 LDFLAGS_GUI
="-mwindows"
38648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38649 $as_echo_n "checking if make is GNU make... " >&6; }
38650 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
38651 $as_echo_n "(cached) " >&6
38654 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38655 egrep -s GNU
> /dev
/null
); then
38656 bakefile_cv_prog_makeisgnu
="yes"
38658 bakefile_cv_prog_makeisgnu
="no"
38662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38663 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38665 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38682 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38683 case "${BAKEFILE_HOST}" in
38690 *-pc-os2_emx | *-pc-os2-emx )
38700 powerpc
-apple-macos* )
38709 case "$BAKEFILE_FORCE_PLATFORM" in
38730 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38745 # Check whether --enable-omf was given.
38746 if test "${enable_omf+set}" = set; then :
38747 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38751 case "${BAKEFILE_HOST}" in
38753 if test "x$GCC" = "xyes"; then
38754 CFLAGS
="$CFLAGS -fno-common"
38755 CXXFLAGS
="$CXXFLAGS -fno-common"
38757 if test "x$XLCC" = "xyes"; then
38758 CFLAGS
="$CFLAGS -qnocommon"
38759 CXXFLAGS
="$CXXFLAGS -qnocommon"
38763 *-pc-os2_emx | *-pc-os2-emx )
38764 if test "x$bk_os2_use_omf" = "xyes" ; then
38767 LDFLAGS
="-Zomf $LDFLAGS"
38768 CFLAGS
="-Zomf $CFLAGS"
38769 CXXFLAGS
="-Zomf $CXXFLAGS"
38777 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38783 SO_SUFFIX_MODULE
="so"
38788 DLLPREFIX_MODULE
=""
38792 case "${BAKEFILE_HOST}" in
38797 SO_SUFFIX_MODULE
="sl"
38801 SO_SUFFIX_MODULE
="a"
38805 SO_SUFFIX_MODULE
="dll"
38806 DLLIMP_SUFFIX
="dll.a"
38813 SO_SUFFIX_MODULE
="dll"
38814 DLLIMP_SUFFIX
="dll.a"
38824 *-pc-os2_emx | *-pc-os2-emx )
38826 SO_SUFFIX_MODULE
="dll"
38827 DLLIMP_SUFFIX
=$OS2_LIBEXT
38831 LIBEXT
=".$OS2_LIBEXT"
38836 SO_SUFFIX_MODULE
="bundle"
38840 if test "x$DLLIMP_SUFFIX" = "x" ; then
38841 DLLIMP_SUFFIX
="$SO_SUFFIX"
38856 if test "x$GCC" = "xyes"; then
38860 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38861 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38864 case "${BAKEFILE_HOST}" in
38866 if test "x$GCC" != "xyes"; then
38867 LDFLAGS
="$LDFLAGS -L/usr/lib"
38869 SHARED_LD_CC
="${CC} -b -o"
38870 SHARED_LD_CXX
="${CXX} -b -o"
38876 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38878 elif test "x$SUNCXX" = "xyes"; then
38879 SHARED_LD_CC
="${CC} -G -o"
38880 SHARED_LD_CXX
="${CXX} -G -o"
38886 if test "x$SUNCXX" = xyes
; then
38887 SHARED_LD_CC
="${CC} -G -o"
38888 SHARED_LD_CXX
="${CXX} -G -o"
38896 cat <<EOF >shared-ld-sh
38898 #-----------------------------------------------------------------------------
38899 #-- Name: distrib/mac/shared-ld-sh
38900 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38901 #-- Author: Gilles Depeyrot
38902 #-- Copyright: (c) 2002 Gilles Depeyrot
38903 #-- Licence: any use permitted
38904 #-----------------------------------------------------------------------------
38909 linking_flag="-dynamiclib"
38910 ldargs="-r -keep_private_externs -nostdlib"
38912 if test "x${D}CXX" = "x"; then
38916 while test ${D}# -gt 0; do
38923 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38924 # collect these options and values
38925 args="${D}{args} ${D}1 ${D}2"
38930 # collect these options and values
38931 ldargs="${D}{ldargs} ${D}1 ${D}2"
38936 # collect these load args
38937 ldargs="${D}{ldargs} ${D}1"
38940 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38941 # collect these options
38942 args="${D}{args} ${D}1"
38945 -dynamiclib|-bundle)
38946 linking_flag="${D}1"
38950 echo "shared-ld: unhandled option '${D}1'"
38954 *.o | *.a | *.dylib)
38955 # collect object files
38956 objects="${D}{objects} ${D}1"
38960 echo "shared-ld: unhandled argument '${D}1'"
38971 # Link one module containing all the others
38973 if test ${D}{verbose} = 1; then
38974 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38976 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38980 # Link the shared library from the single module created, but only if the
38981 # previous command didn't fail:
38983 if test ${D}{status} = 0; then
38984 if test ${D}{verbose} = 1; then
38985 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38987 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38992 # Remove intermediate module
38994 rm -f master.${D}${D}.o
38999 chmod +x shared
-ld-sh
39001 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39002 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
39005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
39006 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
39007 if ${bakefile_cv_gcc31+:} false
; then :
39008 $as_echo_n "(cached) " >&6
39011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39012 /* end confdefs.h. */
39018 #if (__GNUC__ < 3) || \
39019 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39027 if ac_fn_c_try_compile
"$LINENO"; then :
39029 bakefile_cv_gcc31
=yes
39033 bakefile_cv_gcc31
=no
39037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
39041 $as_echo "$bakefile_cv_gcc31" >&6; }
39042 if test "$bakefile_cv_gcc31" = "no"; then
39043 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39044 SHARED_LD_CXX
="$SHARED_LD_CC"
39046 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39047 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39050 if test "x$GCC" == "xyes"; then
39051 PIC_FLAG
="-dynamic -fPIC"
39053 if test "x$XLCC" = "xyes"; then
39054 PIC_FLAG
="-dynamic -DPIC"
39059 if test "x$GCC" = "xyes"; then
39062 case "${BAKEFILE_HOST}" in
39064 LD_EXPFULL
="-Wl,-bexpfull"
39068 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
39069 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
39071 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39072 set dummy makeC
++SharedLib
; ac_word
=$2
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39074 $as_echo_n "checking for $ac_word... " >&6; }
39075 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
39076 $as_echo_n "(cached) " >&6
39078 if test -n "$AIX_CXX_LD"; then
39079 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
39081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39082 for as_dir
in $PATH
39085 test -z "$as_dir" && as_dir
=.
39086 for ac_exec_ext
in '' $ac_executable_extensions; do
39087 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39088 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
39089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39096 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
39099 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
39100 if test -n "$AIX_CXX_LD"; then
39101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39102 $as_echo "$AIX_CXX_LD" >&6; }
39104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39105 $as_echo "no" >&6; }
39109 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39110 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39115 SHARED_LD_CC
="${LD} -nostart -o"
39116 SHARED_LD_CXX
="${LD} -nostart -o"
39120 if test "x$GCC" != "xyes"; then
39125 *-*-cygwin* | *-*-mingw32* )
39127 SHARED_LD_CC
="\$(CC) -shared -o"
39128 SHARED_LD_CXX
="\$(CXX) -shared -o"
39132 *-pc-os2_emx | *-pc-os2-emx )
39133 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39134 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39138 cat <<EOF >dllar.sh
39141 # dllar - a tool to build both a .dll and an .a file
39142 # from a set of object (.o) files for EMX/OS2.
39144 # Written by Andrew Zabolotny, bit@freya.etu.ru
39145 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39147 # This script will accept a set of files on the command line.
39148 # All the public symbols from the .o files will be exported into
39149 # a .DEF file, then linker will be run (through gcc) against them to
39150 # build a shared library consisting of all given .o files. All libraries
39151 # (.a) will be first decompressed into component .o files then act as
39152 # described above. You can optionally give a description (-d "description")
39153 # which will be put into .DLL. To see the list of accepted options (as well
39154 # as command-line format) simply run this program without options. The .DLL
39155 # is built to be imported by name (there is no guarantee that new versions
39156 # of the library you build will have same ordinals for same symbols).
39158 # dllar is free software; you can redistribute it and/or modify
39159 # it under the terms of the GNU General Public License as published by
39160 # the Free Software Foundation; either version 2, or (at your option)
39161 # any later version.
39163 # dllar is distributed in the hope that it will be useful,
39164 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39165 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39166 # GNU General Public License for more details.
39168 # You should have received a copy of the GNU General Public License
39169 # along with dllar; see the file COPYING. If not, write to the Free
39170 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39173 # To successfuly run this program you will need:
39174 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39175 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39177 # (used to build the .dll)
39179 # (used to create .def file from .o files)
39181 # (used to create .a file from .def file)
39182 # - GNU text utilites (cat, sort, uniq)
39183 # used to process emxexp output
39184 # - GNU file utilities (mv, rm)
39186 # - lxlite (optional, see flag below)
39187 # (used for general .dll cleanup)
39194 # basnam, variant of basename, which does _not_ remove the path, _iff_
39195 # second argument (suffix to remove) is given
39199 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39202 echo ${D}1 | sed 's/'${D}2'${D}//'
39205 echo "error in basnam ${D}*"
39211 # Cleanup temporary files and output
39214 for i in ${D}inputFiles ; do
39217 rm -rf \`basnam ${D}i !\`
39224 # Kill result in case of failure as there is just to many stupid make/nmake
39225 # things out there which doesn't do this.
39226 if [ ${D}# -eq 0 ]; then
39227 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39231 # Print usage and exit script with rc=1.
39233 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39234 echo ' [-name-mangler-script script.sh]'
39235 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39236 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39237 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39238 echo ' [*.o] [*.a]'
39239 echo '*> "output_file" should have no extension.'
39240 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39241 echo ' The import library name is derived from this and is set to "name".a,'
39242 echo ' unless overridden by -import'
39243 echo '*> "importlib_name" should have no extension.'
39244 echo ' If it has the .o, or .a extension, it is automatically removed.'
39245 echo ' This name is used as the import library name and may be longer and'
39246 echo ' more descriptive than the DLL name which has to follow the old '
39247 echo ' 8.3 convention of FAT.'
39248 echo '*> "script.sh may be given to override the output_file name by a'
39249 echo ' different name. It is mainly useful if the regular make process'
39250 echo ' of some package does not take into account OS/2 restriction of'
39251 echo ' DLL name lengths. It takes the importlib name as input and is'
39252 echo ' supposed to procude a shorter name as output. The script should'
39253 echo ' expect to get importlib_name without extension and should produce'
39254 echo ' a (max.) 8 letter name without extension.'
39255 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39256 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39257 echo ' These flags will be put at the start of GCC command line.'
39258 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39259 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39260 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39261 echo ' If the last character of a symbol is "*", all symbols beginning'
39262 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39263 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39264 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39265 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39266 echo ' C runtime DLLs.'
39267 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39268 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39269 echo ' unchanged to GCC at the end of command line.'
39270 echo '*> If you create a DLL from a library and you do not specify -o,'
39271 echo ' the basename for DLL and import library will be set to library name,'
39272 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39273 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39274 echo ' library will be renamed into gcc_s.a.'
39277 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39278 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39283 # Execute a command.
39284 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39285 # @Uses Whatever CleanUp() uses.
39291 if [ ${D}rcCmd -ne 0 ]; then
39292 echo "command failed, exit code="${D}rcCmd
39307 CFLAGS="-s -Zcrtdll"
39309 EXPORT_BY_ORDINALS=0
39314 case ${D}curDirS in
39318 curDirS=${D}{curDirS}"/"
39321 # Parse commandline
39324 while [ ${D}1 ]; do
39327 EXPORT_BY_ORDINALS=1;
39337 -name-mangler-script)
39358 exclude_symbols=${D}{exclude_symbols}${D}1" "
39362 library_flags=${D}{library_flags}${D}1" "
39381 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39384 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39385 if [ ${D}omfLinking -eq 1 ]; then
39386 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39388 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39393 if [ ${D}libsToLink -ne 0 ]; then
39394 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39396 for file in ${D}1 ; do
39397 if [ -f ${D}file ]; then
39398 inputFiles="${D}{inputFiles} ${D}file"
39402 if [ ${D}found -eq 0 ]; then
39403 echo "ERROR: No file(s) found: "${D}1
39410 done # iterate cmdline words
39413 if [ -z "${D}inputFiles" ]; then
39414 echo "dllar: no input files"
39418 # Now extract all .o files from .a files
39420 for file in ${D}inputFiles ; do
39431 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39436 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39438 if [ ${D}? -ne 0 ]; then
39439 echo "Failed to create subdirectory ./${D}dirname"
39443 # Append '!' to indicate archive
39444 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39445 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39448 for subfile in ${D}dirname/*.o* ; do
39449 if [ -f ${D}subfile ]; then
39451 if [ -s ${D}subfile ]; then
39452 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39453 newInputFiles="${D}newInputFiles ${D}subfile"
39457 if [ ${D}found -eq 0 ]; then
39458 echo "WARNING: there are no files in archive \\'${D}file\\'"
39462 newInputFiles="${D}{newInputFiles} ${D}file"
39466 inputFiles="${D}newInputFiles"
39468 # Output filename(s).
39470 if [ -z ${D}outFile ]; then
39472 set outFile ${D}inputFiles; outFile=${D}2
39475 # If it is an archive, remove the '!' and the '_%' suffixes
39476 case ${D}outFile in
39478 outFile=\`basnam ${D}outFile _%!\`
39483 case ${D}outFile in
39485 outFile=\`basnam ${D}outFile .dll\`
39488 outFile=\`basnam ${D}outFile .DLL\`
39491 outFile=\`basnam ${D}outFile .o\`
39494 outFile=\`basnam ${D}outFile .obj\`
39497 outFile=\`basnam ${D}outFile .a\`
39500 outFile=\`basnam ${D}outFile .lib\`
39505 case ${D}outimpFile in
39507 outimpFile=\`basnam ${D}outimpFile .a\`
39510 outimpFile=\`basnam ${D}outimpFile .lib\`
39515 if [ -z ${D}outimpFile ]; then
39516 outimpFile=${D}outFile
39518 defFile="${D}{outFile}.def"
39519 arcFile="${D}{outimpFile}.a"
39520 arcFile2="${D}{outimpFile}.lib"
39522 #create ${D}dllFile as something matching 8.3 restrictions,
39523 if [ -z ${D}renameScript ] ; then
39524 dllFile="${D}outFile"
39526 dllFile=\`${D}renameScript ${D}outimpFile\`
39529 if [ ${D}do_backup -ne 0 ] ; then
39530 if [ -f ${D}arcFile ] ; then
39531 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39533 if [ -f ${D}arcFile2 ] ; then
39534 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39538 # Extract public symbols from all the object files.
39539 tmpdefFile=${D}{defFile}_%
39540 rm -f ${D}tmpdefFile
39541 for file in ${D}inputFiles ; do
39546 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39551 # Create the def file.
39553 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39554 dllFile="${D}{dllFile}.dll"
39555 if [ ! -z ${D}description ]; then
39556 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39558 echo "EXPORTS" >> ${D}defFile
39560 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39561 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39563 # Checks if the export is ok or not.
39564 for word in ${D}exclude_symbols; do
39565 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39566 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39570 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39571 sed "=" < ${D}tmpdefFile | \\
39575 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39577 ' > ${D}{tmpdefFile}%
39578 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39580 rm -f ${D}{tmpdefFile}%
39582 cat ${D}tmpdefFile >> ${D}defFile
39583 rm -f ${D}tmpdefFile
39585 # Do linking, create implib, and apply lxlite.
39587 for file in ${D}inputFiles ; do
39592 gccCmdl="${D}gccCmdl ${D}file"
39596 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39597 touch "${D}{outFile}.dll"
39599 doCommand "emximp -o ${D}arcFile ${D}defFile"
39600 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39602 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39605 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39607 doCommand "emxomf -s -l ${D}arcFile"
39617 powerpc
-apple-macos* | \
39618 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
39628 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
39631 if test "x$PIC_FLAG" != "x" ; then
39632 PIC_FLAG
="$PIC_FLAG -DPIC"
39635 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39636 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39638 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39639 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39654 USE_SOTWOSYMLINKS
=0
39658 case "${BAKEFILE_HOST}" in
39659 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39660 *-*-k*bsd
*-gnu | *-*-mirbsd* )
39661 if test "x$SUNCXX" = "xyes"; then
39664 SONAME_FLAG
="-Wl,-soname,"
39668 USE_SOTWOSYMLINKS
=1
39680 USE_SOTWOSYMLINKS
=1
39698 # Check whether --enable-dependency-tracking was given.
39699 if test "${enable_dependency_tracking+set}" = set; then :
39700 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39705 $as_echo_n "checking for dependency tracking method... " >&6; }
39708 if test "x$bk_use_trackdeps" = "xno" ; then
39710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39711 $as_echo "disabled" >&6; }
39715 if test "x$GCC" = "xyes"; then
39718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39719 $as_echo "gcc" >&6; }
39720 elif test "x$MWCC" = "xyes"; then
39723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39724 $as_echo "mwcc" >&6; }
39725 elif test "x$SUNCC" = "xyes"; then
39728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39729 $as_echo "Sun cc" >&6; }
39730 elif test "x$SGICC" = "xyes"; then
39733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39734 $as_echo "SGI cc" >&6; }
39735 elif test "x$HPCC" = "xyes"; then
39738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39739 $as_echo "HP cc" >&6; }
39740 elif test "x$COMPAQCC" = "xyes"; then
39743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39744 $as_echo "Compaq cc" >&6; }
39747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39748 $as_echo "none" >&6; }
39751 if test $DEPS_TRACKING = 1 ; then
39757 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39758 # script. It is used to track C/C++ files dependencies in portable way.
39760 # Permission is given to use this file in any way.
39762 DEPSMODE=${DEPSMODE}
39763 DEPSFLAG="${DEPSFLAG}"
39766 if test ${D}DEPSMODE = gcc ; then
39767 ${D}* ${D}{DEPSFLAG}
39770 # determine location of created files:
39771 while test ${D}# -gt 0; do
39785 objfilebase=\`basename ${D}objfile\`
39786 builddir=\`dirname ${D}objfile\`
39787 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39788 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39789 depsdir=${D}builddir/${D}DEPSDIRBASE
39790 mkdir -p ${D}depsdir
39792 # if the compiler failed, we're done:
39793 if test ${D}{status} != 0 ; then
39798 # move created file to the location we want it in:
39799 if test -f ${D}depfile ; then
39800 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39803 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39804 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39805 if test ! -f ${D}depfile ; then
39806 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39807 depfile="${D}objfile.d"
39809 if test -f ${D}depfile ; then
39810 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39816 elif test ${D}DEPSMODE = mwcc ; then
39817 ${D}* || exit ${D}?
39818 # Run mwcc again with -MM and redirect into the dep file we want
39819 # NOTE: We can't use shift here because we need ${D}* to be valid
39821 for arg in ${D}* ; do
39822 if test "${D}prevarg" = "-o"; then
39836 objfilebase=\`basename ${D}objfile\`
39837 builddir=\`dirname ${D}objfile\`
39838 depsdir=${D}builddir/${D}DEPSDIRBASE
39839 mkdir -p ${D}depsdir
39841 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39844 elif test ${D}DEPSMODE = unixcc; then
39845 ${D}* || exit ${D}?
39846 # Run compiler again with deps flag and redirect into the dep file.
39847 # It doesn't work if the '-o FILE' option is used, but without it the
39848 # dependency file will contain the wrong name for the object. So it is
39849 # removed from the command line, and the dep file is fixed with sed.
39851 while test ${D}# -gt 0; do
39858 eval arg${D}#=\\${D}1
39859 cmd="${D}cmd \\${D}arg${D}#"
39865 objfilebase=\`basename ${D}objfile\`
39866 builddir=\`dirname ${D}objfile\`
39867 depsdir=${D}builddir/${D}DEPSDIRBASE
39868 mkdir -p ${D}depsdir
39870 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39880 BK_DEPS
="`pwd`/bk-deps"
39888 case ${BAKEFILE_HOST} in
39889 *-*-cygwin* | *-*-mingw32* )
39890 if test -n "$ac_tool_prefix"; then
39891 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39892 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39894 $as_echo_n "checking for $ac_word... " >&6; }
39895 if ${ac_cv_prog_WINDRES+:} false
; then :
39896 $as_echo_n "(cached) " >&6
39898 if test -n "$WINDRES"; then
39899 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39902 for as_dir
in $PATH
39905 test -z "$as_dir" && as_dir
=.
39906 for ac_exec_ext
in '' $ac_executable_extensions; do
39907 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39908 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39918 WINDRES
=$ac_cv_prog_WINDRES
39919 if test -n "$WINDRES"; then
39920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39921 $as_echo "$WINDRES" >&6; }
39923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39924 $as_echo "no" >&6; }
39929 if test -z "$ac_cv_prog_WINDRES"; then
39930 ac_ct_WINDRES
=$WINDRES
39931 # Extract the first word of "windres", so it can be a program name with args.
39932 set dummy windres
; ac_word
=$2
39933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39934 $as_echo_n "checking for $ac_word... " >&6; }
39935 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39936 $as_echo_n "(cached) " >&6
39938 if test -n "$ac_ct_WINDRES"; then
39939 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39942 for as_dir
in $PATH
39945 test -z "$as_dir" && as_dir
=.
39946 for ac_exec_ext
in '' $ac_executable_extensions; do
39947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39948 ac_cv_prog_ac_ct_WINDRES
="windres"
39949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39958 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39959 if test -n "$ac_ct_WINDRES"; then
39960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39961 $as_echo "$ac_ct_WINDRES" >&6; }
39963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39964 $as_echo "no" >&6; }
39967 if test "x$ac_ct_WINDRES" = x
; then
39970 case $cross_compiling:$ac_tool_warned in
39972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39974 ac_tool_warned
=yes ;;
39976 WINDRES
=$ac_ct_WINDRES
39979 WINDRES
="$ac_cv_prog_WINDRES"
39984 *-*-darwin* | powerpc
-apple-macos* )
39985 # Extract the first word of "Rez", so it can be a program name with args.
39986 set dummy Rez
; ac_word
=$2
39987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39988 $as_echo_n "checking for $ac_word... " >&6; }
39989 if ${ac_cv_prog_REZ+:} false
; then :
39990 $as_echo_n "(cached) " >&6
39992 if test -n "$REZ"; then
39993 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39996 for as_dir
in $PATH
39999 test -z "$as_dir" && as_dir
=.
40000 for ac_exec_ext
in '' $ac_executable_extensions; do
40001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40002 ac_cv_prog_REZ
="Rez"
40003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40010 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
40013 REZ
=$ac_cv_prog_REZ
40014 if test -n "$REZ"; then
40015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
40016 $as_echo "$REZ" >&6; }
40018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40019 $as_echo "no" >&6; }
40023 # Extract the first word of "SetFile", so it can be a program name with args.
40024 set dummy SetFile
; ac_word
=$2
40025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40026 $as_echo_n "checking for $ac_word... " >&6; }
40027 if ${ac_cv_prog_SETFILE+:} false
; then :
40028 $as_echo_n "(cached) " >&6
40030 if test -n "$SETFILE"; then
40031 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
40033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40034 for as_dir
in $PATH
40037 test -z "$as_dir" && as_dir
=.
40038 for ac_exec_ext
in '' $ac_executable_extensions; do
40039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40040 ac_cv_prog_SETFILE
="SetFile"
40041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40048 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
40051 SETFILE
=$ac_cv_prog_SETFILE
40052 if test -n "$SETFILE"; then
40053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
40054 $as_echo "$SETFILE" >&6; }
40056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40057 $as_echo "no" >&6; }
40072 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
40075 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
40079 # Check whether --enable-precomp-headers was given.
40080 if test "${enable_precomp_headers+set}" = set; then :
40081 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
40090 case ${BAKEFILE_HOST} in
40096 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40097 if test "x$GCC" = "xyes"; then
40098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
40099 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
40100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40101 /* end confdefs.h. */
40107 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40108 There is no PCH support
40111 There is no PCH support
40113 #if (__GNUC__ == 3) && \
40114 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40115 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40116 ( defined(__INTEL_COMPILER) )
40117 There is no PCH support
40124 if ac_fn_c_try_compile
"$LINENO"; then :
40126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40127 $as_echo "yes" >&6; }
40132 if test "$INTELCXX8" = "yes"; then
40133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40134 $as_echo "yes" >&6; }
40136 if test "$INTELCXX10" = "yes"; then
40137 ICC_PCH_CREATE_SWITCH
="-pch-create"
40138 ICC_PCH_USE_SWITCH
="-pch-use"
40140 ICC_PCH_CREATE_SWITCH
="-create-pch"
40141 ICC_PCH_USE_SWITCH
="-use-pch"
40144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40145 $as_echo "no" >&6; }
40149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40150 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40154 cat <<EOF >bk-make-pch
40157 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40158 # script. It is used to generated precompiled headers.
40160 # Permission is given to use this file in any way.
40167 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40172 while test ${D}{#} -gt 0; do
40176 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40177 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40178 headerfile="${D}{incdir}/${D}{header}"
40181 -use-pch|-use_pch|-pch-use )
40186 if test ${D}add_to_cmdline = 1 ; then
40187 compiler="${D}{compiler} ${D}{1}"
40192 if test "x${D}{headerfile}" = "x" ; then
40193 echo "error: can't find header ${D}{header} in include paths" >&2
40195 if test -f ${D}{outfile} ; then
40196 rm -f ${D}{outfile}
40198 mkdir -p \`dirname ${D}{outfile}\`
40200 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40201 mkdir -p ${D}{builddir}/.deps
40202 if test "x${GCC_PCH}" = "x1" ; then
40203 # can do this because gcc is >= 3.4:
40204 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40205 elif test "x${ICC_PCH}" = "x1" ; then
40206 filename=pch_gen-${D}${D}
40207 file=${D}{filename}.c
40208 dfile=${D}{filename}.d
40209 cat > ${D}file <<EOT
40210 #include "${D}header"
40212 # using -MF icc complains about differing command lines in creation/use
40213 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40214 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40215 rm -f ${D}file ${D}dfile ${D}{filename}.o
40221 chmod +x bk
-make-pch
40222 BK_MAKE_PCH
="`pwd`/bk-make-pch"
40233 COND_BUILD_debug
="#"
40234 if test "x$BUILD" = "xdebug" ; then
40235 COND_BUILD_debug
=""
40238 COND_BUILD_debug_DEBUG_INFO_default
="#"
40239 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40240 COND_BUILD_debug_DEBUG_INFO_default
=""
40243 COND_BUILD_release
="#"
40244 if test "x$BUILD" = "xrelease" ; then
40245 COND_BUILD_release
=""
40248 COND_BUILD_release_DEBUG_INFO_default
="#"
40249 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40250 COND_BUILD_release_DEBUG_INFO_default
=""
40253 COND_DEBUG_FLAG_0
="#"
40254 if test "x$DEBUG_FLAG" = "x0" ; then
40255 COND_DEBUG_FLAG_0
=""
40258 COND_DEBUG_INFO_0
="#"
40259 if test "x$DEBUG_INFO" = "x0" ; then
40260 COND_DEBUG_INFO_0
=""
40263 COND_DEBUG_INFO_1
="#"
40264 if test "x$DEBUG_INFO" = "x1" ; then
40265 COND_DEBUG_INFO_1
=""
40268 COND_DEPS_TRACKING_0
="#"
40269 if test "x$DEPS_TRACKING" = "x0" ; then
40270 COND_DEPS_TRACKING_0
=""
40273 COND_DEPS_TRACKING_1
="#"
40274 if test "x$DEPS_TRACKING" = "x1" ; then
40275 COND_DEPS_TRACKING_1
=""
40279 if test "x$GCC_PCH" = "x1" ; then
40284 if test "x$ICC_PCH" = "x1" ; then
40288 COND_MONOLITHIC_0
="#"
40289 if test "x$MONOLITHIC" = "x0" ; then
40290 COND_MONOLITHIC_0
=""
40293 COND_MONOLITHIC_0_SHARED_0
="#"
40294 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40295 COND_MONOLITHIC_0_SHARED_0
=""
40298 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
40299 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40300 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
40303 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40304 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40305 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40308 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40309 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40310 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40313 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
40314 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40315 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
40318 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
40319 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40320 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
40323 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
40324 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40325 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
40328 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
40329 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40330 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
40333 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
40334 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40335 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
40338 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
40339 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40340 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
40343 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
40344 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40345 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
40348 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40349 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40350 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40353 COND_MONOLITHIC_0_SHARED_1
="#"
40354 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40355 COND_MONOLITHIC_0_SHARED_1
=""
40358 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
40359 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40360 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
40363 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40364 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40365 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40368 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40369 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40370 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40373 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
40374 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40375 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
40378 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
40379 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40380 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
40383 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
40384 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40385 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
40388 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
40389 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40390 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
40393 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
40394 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40395 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
40398 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
40399 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40400 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
40403 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
40404 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40405 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
40408 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40409 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40410 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40413 COND_MONOLITHIC_0_USE_AUI_1
="#"
40414 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40415 COND_MONOLITHIC_0_USE_AUI_1
=""
40418 COND_MONOLITHIC_0_USE_GUI_1
="#"
40419 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40420 COND_MONOLITHIC_0_USE_GUI_1
=""
40423 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
40424 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40425 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
40428 COND_MONOLITHIC_0_USE_HTML_1
="#"
40429 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40430 COND_MONOLITHIC_0_USE_HTML_1
=""
40433 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
40434 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40435 COND_MONOLITHIC_0_USE_MEDIA_1
=""
40438 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
40439 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40440 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
40443 COND_MONOLITHIC_0_USE_QA_1
="#"
40444 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40445 COND_MONOLITHIC_0_USE_QA_1
=""
40448 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
40449 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40450 COND_MONOLITHIC_0_USE_RIBBON_1
=""
40453 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
40454 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40455 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
40458 COND_MONOLITHIC_0_USE_STC_1
="#"
40459 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40460 COND_MONOLITHIC_0_USE_STC_1
=""
40463 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
40464 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40465 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
40468 COND_MONOLITHIC_0_USE_XRC_1
="#"
40469 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40470 COND_MONOLITHIC_0_USE_XRC_1
=""
40473 COND_MONOLITHIC_1
="#"
40474 if test "x$MONOLITHIC" = "x1" ; then
40475 COND_MONOLITHIC_1
=""
40478 COND_MONOLITHIC_1_SHARED_0
="#"
40479 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40480 COND_MONOLITHIC_1_SHARED_0
=""
40483 COND_MONOLITHIC_1_SHARED_1
="#"
40484 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40485 COND_MONOLITHIC_1_SHARED_1
=""
40488 COND_MONOLITHIC_1_USE_STC_1
="#"
40489 if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40490 COND_MONOLITHIC_1_USE_STC_1
=""
40493 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40494 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40495 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40498 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40499 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40500 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40503 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
40504 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40505 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
40508 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40509 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40510 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40513 COND_PLATFORM_MACOSX_1
="#"
40514 if test "x$PLATFORM_MACOSX" = "x1" ; then
40515 COND_PLATFORM_MACOSX_1
=""
40518 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
40519 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40520 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
40523 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
40524 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40525 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
40528 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40529 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40530 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40533 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40534 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40535 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40538 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40539 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40540 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40543 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40544 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40545 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40548 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40549 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40550 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40553 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
40554 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40555 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
40558 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40559 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40560 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40563 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
40564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40565 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
40568 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40570 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40573 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40574 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40575 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40578 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40579 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40580 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40583 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
40584 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40585 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
40588 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40589 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40590 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40593 COND_PLATFORM_MAC_0
="#"
40594 if test "x$PLATFORM_MAC" = "x0" ; then
40595 COND_PLATFORM_MAC_0
=""
40598 COND_PLATFORM_MAC_1
="#"
40599 if test "x$PLATFORM_MAC" = "x1" ; then
40600 COND_PLATFORM_MAC_1
=""
40603 COND_PLATFORM_MSDOS_0
="#"
40604 if test "x$PLATFORM_MSDOS" = "x0" ; then
40605 COND_PLATFORM_MSDOS_0
=""
40608 COND_PLATFORM_MSDOS_1
="#"
40609 if test "x$PLATFORM_MSDOS" = "x1" ; then
40610 COND_PLATFORM_MSDOS_1
=""
40613 COND_PLATFORM_OS2_1
="#"
40614 if test "x$PLATFORM_OS2" = "x1" ; then
40615 COND_PLATFORM_OS2_1
=""
40618 COND_PLATFORM_UNIX_0
="#"
40619 if test "x$PLATFORM_UNIX" = "x0" ; then
40620 COND_PLATFORM_UNIX_0
=""
40623 COND_PLATFORM_UNIX_1
="#"
40624 if test "x$PLATFORM_UNIX" = "x1" ; then
40625 COND_PLATFORM_UNIX_1
=""
40628 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40629 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40630 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40633 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40634 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40635 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40638 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40639 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40640 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40643 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40644 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40645 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40648 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40649 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40650 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40653 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40654 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40655 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40658 COND_PLATFORM_WIN32_0
="#"
40659 if test "x$PLATFORM_WIN32" = "x0" ; then
40660 COND_PLATFORM_WIN32_0
=""
40663 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40664 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40665 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40668 COND_PLATFORM_WIN32_1
="#"
40669 if test "x$PLATFORM_WIN32" = "x1" ; then
40670 COND_PLATFORM_WIN32_1
=""
40673 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40674 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40675 COND_PLATFORM_WIN32_1_SHARED_0
=""
40678 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40679 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40680 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40683 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40684 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40685 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40688 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40689 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40690 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40693 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40694 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40695 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40699 if test "x$SHARED" = "x0" ; then
40703 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40704 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40705 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40708 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40709 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40710 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40713 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40714 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40715 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40718 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40719 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40720 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40723 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40724 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40725 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40728 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40729 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40730 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40733 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40734 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40735 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40738 COND_SHARED_0_USE_STC_1
="#"
40739 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40740 COND_SHARED_0_USE_STC_1
=""
40743 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40744 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40745 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40748 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40749 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40750 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40753 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40754 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40755 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40759 if test "x$SHARED" = "x1" ; then
40763 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40764 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40765 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40769 if test "x$TOOLKIT" = "x" ; then
40773 COND_TOOLKIT_COCOA
="#"
40774 if test "x$TOOLKIT" = "xCOCOA" ; then
40775 COND_TOOLKIT_COCOA
=""
40778 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40779 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40780 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40783 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40784 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40785 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40788 COND_TOOLKIT_DFB
="#"
40789 if test "x$TOOLKIT" = "xDFB" ; then
40790 COND_TOOLKIT_DFB
=""
40793 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40794 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40795 COND_TOOLKIT_DFB_USE_GUI_1
=""
40798 COND_TOOLKIT_GTK
="#"
40799 if test "x$TOOLKIT" = "xGTK" ; then
40800 COND_TOOLKIT_GTK
=""
40803 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40804 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40805 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40808 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40809 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40810 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40813 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40814 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40815 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40818 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40819 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40820 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40823 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
="#"
40824 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40825 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
=""
40828 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40829 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40830 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40833 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
="#"
40834 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40835 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
=""
40838 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40839 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40840 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40843 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40844 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40845 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40848 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40849 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40850 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40853 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40854 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40855 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40858 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40859 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40860 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40863 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40864 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40865 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40868 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40869 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40870 COND_TOOLKIT_GTK_USE_GUI_1
=""
40873 COND_TOOLKIT_MAC
="#"
40874 if test "x$TOOLKIT" = "xMAC" ; then
40875 COND_TOOLKIT_MAC
=""
40878 COND_TOOLKIT_MOTIF
="#"
40879 if test "x$TOOLKIT" = "xMOTIF" ; then
40880 COND_TOOLKIT_MOTIF
=""
40883 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40884 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40885 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40888 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40889 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40890 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40893 COND_TOOLKIT_MSW
="#"
40894 if test "x$TOOLKIT" = "xMSW" ; then
40895 COND_TOOLKIT_MSW
=""
40898 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40899 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40900 COND_TOOLKIT_MSW_USE_GUI_1
=""
40903 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40904 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40905 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40908 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40909 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40910 COND_TOOLKIT_MSW_WXUNIV_0
=""
40913 COND_TOOLKIT_OSX_CARBON
="#"
40914 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40915 COND_TOOLKIT_OSX_CARBON
=""
40918 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40919 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40920 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40923 COND_TOOLKIT_OSX_COCOA
="#"
40924 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40925 COND_TOOLKIT_OSX_COCOA
=""
40928 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40929 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40930 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40933 COND_TOOLKIT_OSX_IPHONE
="#"
40934 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40935 COND_TOOLKIT_OSX_IPHONE
=""
40938 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40939 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40940 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40943 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40944 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40945 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40948 COND_TOOLKIT_PM
="#"
40949 if test "x$TOOLKIT" = "xPM" ; then
40953 COND_TOOLKIT_PM_USE_GUI_1
="#"
40954 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40955 COND_TOOLKIT_PM_USE_GUI_1
=""
40958 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40959 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40963 COND_TOOLKIT_WINCE
="#"
40964 if test "x$TOOLKIT" = "xWINCE" ; then
40965 COND_TOOLKIT_WINCE
=""
40968 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40969 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40970 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40973 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40974 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40975 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40978 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40979 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40980 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40983 COND_TOOLKIT_X11
="#"
40984 if test "x$TOOLKIT" = "xX11" ; then
40985 COND_TOOLKIT_X11
=""
40988 COND_TOOLKIT_X11_USE_GUI_1
="#"
40989 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40990 COND_TOOLKIT_X11_USE_GUI_1
=""
40994 if test "x$UNICODE" = "x1" ; then
40998 COND_USE_CAIRO_1
="#"
40999 if test "x$USE_CAIRO" = "x1" ; then
41000 COND_USE_CAIRO_1
=""
41003 COND_USE_EXCEPTIONS_0
="#"
41004 if test "x$USE_EXCEPTIONS" = "x0" ; then
41005 COND_USE_EXCEPTIONS_0
=""
41008 COND_USE_EXCEPTIONS_1
="#"
41009 if test "x$USE_EXCEPTIONS" = "x1" ; then
41010 COND_USE_EXCEPTIONS_1
=""
41014 if test "x$USE_GUI" = "x0" ; then
41019 if test "x$USE_GUI" = "x1" ; then
41023 COND_USE_GUI_1_USE_OPENGL_1
="#"
41024 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41025 COND_USE_GUI_1_USE_OPENGL_1
=""
41028 COND_USE_GUI_1_WXUNIV_0
="#"
41029 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41030 COND_USE_GUI_1_WXUNIV_0
=""
41033 COND_USE_GUI_1_WXUNIV_1
="#"
41034 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41035 COND_USE_GUI_1_WXUNIV_1
=""
41038 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
41039 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41040 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
41043 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
41044 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41045 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
41048 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
41049 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41050 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
41053 COND_USE_OPENGL_1
="#"
41054 if test "x$USE_OPENGL" = "x1" ; then
41055 COND_USE_OPENGL_1
=""
41059 if test "x$USE_PCH" = "x1" ; then
41063 COND_USE_PLUGINS_0
="#"
41064 if test "x$USE_PLUGINS" = "x0" ; then
41065 COND_USE_PLUGINS_0
=""
41068 COND_USE_RTTI_0
="#"
41069 if test "x$USE_RTTI" = "x0" ; then
41073 COND_USE_RTTI_1
="#"
41074 if test "x$USE_RTTI" = "x1" ; then
41078 COND_USE_SOTWOSYMLINKS_1
="#"
41079 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
41080 COND_USE_SOTWOSYMLINKS_1
=""
41083 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
41084 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41085 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
41088 COND_USE_SOVERLINUX_1
="#"
41089 if test "x$USE_SOVERLINUX" = "x1" ; then
41090 COND_USE_SOVERLINUX_1
=""
41093 COND_USE_SOVERSION_0
="#"
41094 if test "x$USE_SOVERSION" = "x0" ; then
41095 COND_USE_SOVERSION_0
=""
41098 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
41099 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
41100 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
41103 COND_USE_SOVERSOLARIS_1
="#"
41104 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41105 COND_USE_SOVERSOLARIS_1
=""
41109 if test "x$USE_STC" = "x1" ; then
41113 COND_USE_THREADS_0
="#"
41114 if test "x$USE_THREADS" = "x0" ; then
41115 COND_USE_THREADS_0
=""
41118 COND_USE_THREADS_1
="#"
41119 if test "x$USE_THREADS" = "x1" ; then
41120 COND_USE_THREADS_1
=""
41124 if test "x$USE_XRC" = "x1" ; then
41128 COND_WINDOWS_IMPLIB_1
="#"
41129 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41130 COND_WINDOWS_IMPLIB_1
=""
41133 COND_WITH_PLUGIN_SDL_1
="#"
41134 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41135 COND_WITH_PLUGIN_SDL_1
=""
41139 if test "x$WXUNIV" = "x0" ; then
41144 if test "x$WXUNIV" = "x1" ; then
41148 COND_wxUSE_EXPAT_builtin
="#"
41149 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41150 COND_wxUSE_EXPAT_builtin
=""
41153 COND_wxUSE_LIBJPEG_builtin
="#"
41154 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41155 COND_wxUSE_LIBJPEG_builtin
=""
41158 COND_wxUSE_LIBPNG_builtin
="#"
41159 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41160 COND_wxUSE_LIBPNG_builtin
=""
41163 COND_wxUSE_LIBTIFF_builtin
="#"
41164 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41165 COND_wxUSE_LIBTIFF_builtin
=""
41168 COND_wxUSE_REGEX_builtin
="#"
41169 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41170 COND_wxUSE_REGEX_builtin
=""
41173 COND_wxUSE_ZLIB_builtin
="#"
41174 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41175 COND_wxUSE_ZLIB_builtin
=""
41180 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41181 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
41184 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41185 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
41192 ?
:* ) # Drive letter, considered as absolute.
41195 INSTALL
=`pwd`/${INSTALL} ;;
41198 if test "$wxUSE_GUI" = "yes"; then
41200 if test "$wxUSE_MSW" = 1 ; then
41201 if test "x$WINDRES" = "x"; then
41202 as_fn_error $?
"Required windres program not found" "$LINENO" 5
41208 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41209 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41210 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41212 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41214 # Extract the first word of "DeRez", so it can be a program name with args.
41215 set dummy DeRez
; ac_word
=$2
41216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41217 $as_echo_n "checking for $ac_word... " >&6; }
41218 if ${ac_cv_prog_DEREZ+:} false
; then :
41219 $as_echo_n "(cached) " >&6
41221 if test -n "$DEREZ"; then
41222 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
41224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41225 for as_dir
in $PATH
41228 test -z "$as_dir" && as_dir
=.
41229 for ac_exec_ext
in '' $ac_executable_extensions; do
41230 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41231 ac_cv_prog_DEREZ
="DeRez"
41232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41239 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
41242 DEREZ
=$ac_cv_prog_DEREZ
41243 if test -n "$DEREZ"; then
41244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41245 $as_echo "$DEREZ" >&6; }
41247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41248 $as_echo "no" >&6; }
41253 MACSETFILE
="\$(SETFILE)"
41255 if test "$wxUSE_OSX_CARBON" = 1; then
41256 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41258 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
41260 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41261 RESCOMP
="cat /dev/null \| $REZ"
41262 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41268 if test "$wxUSE_PM" = 1; then
41270 WXCONFIG_RESFLAGS
="-ep"
41272 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
41274 POSTLINK_COMMAND
="@true"
41281 if test $GCC_PCH = 1
41283 if test "$wx_cv_gcc_pch_bug" = yes; then
41284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41285 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41287 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41289 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41292 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41293 # the headers that benefit from precompilation are mostly C++ headers.
41294 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
41295 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41296 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41300 if test "$wxUSE_MAC" = 1 ; then
41301 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41302 if test "x$disable_macosx_deps" = "xyes"; then
41303 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
41310 if test "$wxUSE_SHARED" = "yes"; then
41312 *-pc-os2_emx | *-pc-os2-emx )
41313 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41314 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41315 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41316 cp -p ${srcdir}/src
/os
2/dllar.sh .
41320 if test "$wxUSE_OMF" = "yes"; then
41322 *-pc-os2_emx | *-pc-os2-emx )
41323 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
41324 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41325 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41330 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41335 if test "$GCC" = yes; then
41336 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
41337 LIBS
=`echo $LIBS | sed 's/-mt//g'`
41338 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41343 if test "x$SUNCXX" = xyes
; then
41344 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
41345 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
41346 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41351 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
41352 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41353 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
41354 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41356 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41418 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41420 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41421 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
41422 $as_echo_n "(cached) " >&6
41424 cat >conftest.
make <<\_ACEOF
41427 @
echo '@@@%%%=$(MAKE)=@@@%%%'
41429 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41430 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41431 *@@@
%%%=?
*=@@@
%%%*)
41432 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
41434 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
41436 rm -f conftest.
make
41438 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
41439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41440 $as_echo "yes" >&6; }
41443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41444 $as_echo "no" >&6; }
41445 SET_MAKE
="MAKE=${MAKE-make}"
41450 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41453 if test "$USE_WIN32" = 1; then
41454 ac_config_commands
="$ac_config_commands rcdefs.h"
41458 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41461 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41464 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
41467 if test "$wx_cv_version_script" = "yes"; then
41468 ac_config_files
="$ac_config_files version-script"
41471 ac_config_files
="$ac_config_files Makefile"
41474 ac_config_commands
="$ac_config_commands wx-config"
41478 if test "$wxWITH_SUBDIRS" != "no"; then
41479 if test "$wxUSE_GUI" = "yes"; then
41480 SUBDIRS
="samples demos utils"
41482 SUBDIRS
="samples utils"
41487 # Check whether --with-cppunit-prefix was given.
41488 if test "${with_cppunit_prefix+set}" = set; then :
41489 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
41491 cppunit_config_prefix
=""
41495 # Check whether --with-cppunit-exec-prefix was given.
41496 if test "${with_cppunit_exec_prefix+set}" = set; then :
41497 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
41499 cppunit_config_exec_prefix
=""
41503 if test x
$cppunit_config_exec_prefix != x
; then
41504 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41505 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41506 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41509 if test x
$cppunit_config_prefix != x
; then
41510 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41511 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41512 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41516 # Extract the first word of "cppunit-config", so it can be a program name with args.
41517 set dummy cppunit
-config; ac_word
=$2
41518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41519 $as_echo_n "checking for $ac_word... " >&6; }
41520 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
41521 $as_echo_n "(cached) " >&6
41523 case $CPPUNIT_CONFIG in
41525 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41529 for as_dir
in $PATH
41532 test -z "$as_dir" && as_dir
=.
41533 for ac_exec_ext
in '' $ac_executable_extensions; do
41534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41535 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41543 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41547 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41548 if test -n "$CPPUNIT_CONFIG"; then
41549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41550 $as_echo "$CPPUNIT_CONFIG" >&6; }
41552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41553 $as_echo "no" >&6; }
41557 cppunit_version_min
=1.8.0
41559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41560 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41562 if test "$CPPUNIT_CONFIG" = "no" ; then
41563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41564 $as_echo "no" >&6; }
41567 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41568 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41569 cppunit_version
=`$CPPUNIT_CONFIG --version`
41571 cppunit_major_version
=`echo $cppunit_version | \
41572 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41573 cppunit_minor_version
=`echo $cppunit_version | \
41574 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41575 cppunit_micro_version
=`echo $cppunit_version | \
41576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41578 cppunit_major_min
=`echo $cppunit_version_min | \
41579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41580 cppunit_minor_min
=`echo $cppunit_version_min | \
41581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41582 cppunit_micro_min
=`echo $cppunit_version_min | \
41583 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41585 cppunit_version_proper
=`expr \
41586 $cppunit_major_version \> $cppunit_major_min \| \
41587 $cppunit_major_version \= $cppunit_major_min \& \
41588 $cppunit_minor_version \> $cppunit_minor_min \| \
41589 $cppunit_major_version \= $cppunit_major_min \& \
41590 $cppunit_minor_version \= $cppunit_minor_min \& \
41591 $cppunit_micro_version \>= $cppunit_micro_min `
41593 if test "$cppunit_version_proper" = "1" ; then
41594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41595 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41598 $as_echo "no" >&6; }
41603 if test "x$no_cppunit" = x
; then
41604 SUBDIRS
="$SUBDIRS tests"
41615 for subdir
in $SUBDIRS; do
41616 if test -d ${srcdir}/${subdir} ; then
41617 if test "$wxUSE_GUI" = "yes"; then
41618 if test ${subdir} = "samples"; then
41619 makefiles
="samples/Makefile.in $makefiles"
41620 for sample
in $SAMPLES_SUBDIRS; do
41621 if test -d $srcdir/samples
/$sample; then
41622 makefiles
="samples/$sample/Makefile.in $makefiles"
41626 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41627 eval "disabled=\$$disabled_var"
41628 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41629 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41632 if test ${subdir} = "samples"; then
41633 makefiles
="samples/Makefile.in $makefiles"
41634 for sample
in `echo $SAMPLES_SUBDIRS`; do
41635 if test -d $srcdir/samples
/$sample; then
41636 makefiles
="samples/$sample/Makefile.in $makefiles"
41639 elif test ${subdir} = "utils"; then
41641 for util
in ifacecheck
; do
41642 if test -d $srcdir/utils
/$util ; then
41643 makefiles
="utils/$util/src/Makefile.in \
41648 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41652 for mkin
in $makefiles ; do
41653 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41654 ac_config_files
="$ac_config_files $mk"
41660 cat >confcache
<<\_ACEOF
41661 # This file is a shell script that caches the results of configure
41662 # tests run on this system so they can be shared between configure
41663 # scripts and configure runs, see configure's option --config-cache.
41664 # It is not useful on other systems. If it contains results you don't
41665 # want to keep, you may remove or edit it.
41667 # config.status only pays attention to the cache file if you give it
41668 # the --recheck option to rerun configure.
41670 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41671 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41672 # following values.
41676 # The following way of writing the cache mishandles newlines in values,
41677 # but we know of no workaround that is simple, portable, and efficient.
41678 # So, we kill variables containing newlines.
41679 # Ultrix sh set writes to stderr and can't be redirected directly,
41680 # and sets the high bit in the cache file unless we assign to the vars.
41682 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41683 eval ac_val
=\$
$ac_var
41687 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41688 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41691 _
| IFS
| as_nl
) ;; #(
41692 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41693 *) { eval $ac_var=; unset $ac_var;} ;;
41699 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41700 *${as_nl}ac_space
=\
*)
41701 # `set' does not quote correctly, so add quotes: double-quote
41702 # substitution turns \\\\ into \\, and sed turns \\ into \.
41705 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41708 # `set' quotes correctly as required by POSIX, so do not add quotes.
41709 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41718 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41720 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41722 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41723 if test -w "$cache_file"; then
41724 if test "x$cache_file" != "x/dev/null"; then
41725 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41726 $as_echo "$as_me: updating cache $cache_file" >&6;}
41727 if test ! -f "$cache_file" || test -h "$cache_file"; then
41728 cat confcache
>"$cache_file"
41730 case $cache_file in #(
41732 mv -f confcache
"$cache_file"$$
&&
41733 mv -f "$cache_file"$$
"$cache_file" ;; #(
41735 mv -f confcache
"$cache_file" ;;
41740 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41741 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41746 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41747 # Let make expand exec_prefix.
41748 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41750 DEFS
=-DHAVE_CONFIG_H
41755 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41756 # 1. Remove the extension, and $U if already installed.
41757 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41758 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41759 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41760 # will be set to the directory where LIBOBJS objects are built.
41761 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41762 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41764 LIBOBJS
=$ac_libobjs
41766 LTLIBOBJS
=$ac_ltlibobjs
41770 : "${CONFIG_STATUS=./config.status}"
41772 ac_clean_files_save
=$ac_clean_files
41773 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41774 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41775 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41777 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41779 # Generated by $as_me.
41780 # Run this file to recreate the current configuration.
41781 # Compiler output produced by configure, useful for debugging
41782 # configure, is in config.log if it exists.
41785 ac_cs_recheck=false
41788 SHELL=\${CONFIG_SHELL-$SHELL}
41791 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41792 ## -------------------- ##
41793 ## M4sh Initialization. ##
41794 ## -------------------- ##
41796 # Be more Bourne compatible
41797 DUALCASE
=1; export DUALCASE
# for MKS sh
41798 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41801 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41802 # is contrary to our usage. Disable this feature.
41803 alias -g '${1+"$@"}'='"$@"'
41804 setopt NO_GLOB_SUBST
41806 case `(set -o) 2>/dev/null` in #(
41818 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41819 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41820 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41821 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41822 # Prefer a ksh shell builtin over an external printf program on Solaris,
41823 # but without wasting forks for bash or zsh.
41824 if test -z "$BASH_VERSION$ZSH_VERSION" \
41825 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41826 as_echo='print
-r --'
41827 as_echo_n='print
-rn --'
41828 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41829 as_echo='printf %s
\n'
41830 as_echo_n='printf %s
'
41832 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41833 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41834 as_echo_n='/usr
/ucb
/echo -n'
41836 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41837 as_echo_n_body='eval
41841 expr "X$arg" : "X\\(.*\\)$as_nl";
41842 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41844 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41846 export as_echo_n_body
41847 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41849 export as_echo_body
41850 as_echo='sh
-c $as_echo_body as_echo
'
41853 # The user is always right.
41854 if test "${PATH_SEPARATOR+set}" != set; then
41856 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41857 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41864 # We need space, tab and new line, in precisely that order. Quoting is
41865 # there to prevent editors from complaining about space-tab.
41866 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41867 # splitting by setting IFS to empty value.)
41870 # Find who we are. Look in the path if we contain no directory separator.
41873 *[\\/]* ) as_myself=$0 ;;
41874 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41875 for as_dir in $PATH
41878 test -z "$as_dir" && as_dir=.
41879 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41885 # We did not find ourselves, most probably we were run as `sh COMMAND'
41886 # in which case we are not to be found in the path.
41887 if test "x$as_myself" = x
; then
41890 if test ! -f "$as_myself"; then
41891 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41895 # Unset variables that we do not need and which cause bugs (e.g. in
41896 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41897 # suppresses any "Segmentation fault" message there. '((' could
41898 # trigger a bug in pdksh 5.2.14.
41899 for as_var
in BASH_ENV ENV MAIL MAILPATH
41900 do eval test x\
${$as_var+set} = xset \
41901 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41914 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41917 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41918 # ----------------------------------------
41919 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41920 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41921 # script with STATUS, using 1 if that was 0.
41924 as_status
=$1; test $as_status -eq 0 && as_status
=1
41926 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41927 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41929 $as_echo "$as_me: error: $2" >&2
41930 as_fn_exit
$as_status
41934 # as_fn_set_status STATUS
41935 # -----------------------
41936 # Set $? to STATUS, without forking.
41937 as_fn_set_status
()
41940 } # as_fn_set_status
41942 # as_fn_exit STATUS
41943 # -----------------
41944 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41948 as_fn_set_status
$1
41954 # Portably unset VAR.
41957 { eval $1=; unset $1;}
41959 as_unset
=as_fn_unset
41960 # as_fn_append VAR VALUE
41961 # ----------------------
41962 # Append the text in VALUE to the end of the definition contained in VAR. Take
41963 # advantage of any shell optimizations that allow amortized linear growth over
41964 # repeated appends, instead of the typical quadratic growth present in naive
41966 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41967 eval 'as_fn_append ()
41978 # as_fn_arith ARG...
41979 # ------------------
41980 # Perform arithmetic evaluation on the ARGs, and store the result in the
41981 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41982 # must be portable across $(()) and expr.
41983 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41984 eval 'as_fn_arith ()
41991 as_val
=`expr "$@" || test $? -eq 1`
41996 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41997 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
42003 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
42004 as_basename
=basename
42009 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
42015 as_me
=`$as_basename -- "$0" ||
42016 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42017 X"$0" : 'X\(//\)$' \| \
42018 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
42020 sed '/^.*\/\([^/][^/]*\)\/*$/{
42034 # Avoid depending upon Character Ranges.
42035 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
42036 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42037 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
42038 as_cr_digits
='0123456789'
42039 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42041 ECHO_C
= ECHO_N
= ECHO_T
=
42042 case `echo -n x` in #(((((
42044 case `echo 'xy\c'` in
42045 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
42047 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
42054 rm -f conf$$ conf$$.exe conf$$.
file
42055 if test -d conf$$.dir
; then
42056 rm -f conf$$.dir
/conf$$.
file
42059 mkdir conf$$.dir
2>/dev
/null
42061 if (echo >conf$$.
file) 2>/dev
/null
; then
42062 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
42064 # ... but there are two gotchas:
42065 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42066 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42067 # In both cases, we have to default to `cp -pR'.
42068 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
42070 elif ln conf$$.
file conf$$
2>/dev
/null
; then
42078 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
42079 rmdir conf$$.dir
2>/dev
/null
42084 # Create "$as_dir" as a directory, including parents if necessary.
42089 -*) as_dir
=.
/$as_dir;;
42091 test -d "$as_dir" || eval $as_mkdir_p || {
42095 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
42096 *) as_qdir
=$as_dir;;
42098 as_dirs
="'$as_qdir' $as_dirs"
42099 as_dir
=`$as_dirname -- "$as_dir" ||
42100 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42101 X"$as_dir" : 'X\(//\)[^/]' \| \
42102 X"$as_dir" : 'X\(//\)$' \| \
42103 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
42104 $as_echo X"$as_dir" |
42105 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42109 /^X\(\/\/\)[^/].*/{
42122 test -d "$as_dir" && break
42124 test -z "$as_dirs" || eval "mkdir $as_dirs"
42125 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
42129 if mkdir -p .
2>/dev
/null
; then
42130 as_mkdir_p
='mkdir -p "$as_dir"'
42132 test -d .
/-p && rmdir .
/-p
42137 # as_fn_executable_p FILE
42138 # -----------------------
42139 # Test if FILE is an executable regular file.
42140 as_fn_executable_p
()
42142 test -f "$1" && test -x "$1"
42143 } # as_fn_executable_p
42144 as_test_x
='test -x'
42145 as_executable_p
=as_fn_executable_p
42147 # Sed expression to map a string onto a valid CPP name.
42148 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42150 # Sed expression to map a string onto a valid variable name.
42151 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42155 ## ----------------------------------- ##
42156 ## Main body of $CONFIG_STATUS script. ##
42157 ## ----------------------------------- ##
42159 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
42161 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42162 # Save the log message, to keep $0 and so on meaningful, and to
42163 # report actual input values of CONFIG_FILES etc. instead of their
42164 # values after options handling.
42166 This file was extended by wxWidgets $as_me 2.9.5, which was
42167 generated by GNU Autoconf 2.69. Invocation command line was
42169 CONFIG_FILES = $CONFIG_FILES
42170 CONFIG_HEADERS = $CONFIG_HEADERS
42171 CONFIG_LINKS = $CONFIG_LINKS
42172 CONFIG_COMMANDS = $CONFIG_COMMANDS
42175 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42180 case $ac_config_files in *"
42181 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
42184 case $ac_config_headers in *"
42185 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
42189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42190 # Files that config.status was made for.
42191 config_files="$ac_config_files"
42192 config_headers="$ac_config_headers"
42193 config_commands="$ac_config_commands"
42197 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42199 \`$as_me' instantiates files and other configuration actions
42200 from templates according to the current configuration. Unless the files
42201 and actions are specified as TAGs, all are instantiated by default.
42203 Usage: $0 [OPTION]... [TAG]...
42205 -h, --help print this help, then exit
42206 -V, --version print version number and configuration settings, then exit
42207 --config print configuration, then exit
42208 -q, --quiet, --silent
42209 do not print progress messages
42210 -d, --debug don't remove temporary files
42211 --recheck update $as_me by reconfiguring in the same conditions
42212 --file=FILE[:TEMPLATE]
42213 instantiate the configuration file FILE
42214 --header=FILE[:TEMPLATE]
42215 instantiate the configuration header FILE
42217 Configuration files:
42220 Configuration headers:
42223 Configuration commands:
42226 Report bugs to <wx-dev@lists.wxwidgets.org>."
42229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42230 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42232 wxWidgets config.status 2.9.5
42233 configured by $0, generated by GNU Autoconf 2.69,
42234 with options \\"\$ac_cs_config\\"
42236 Copyright (C) 2012 Free Software Foundation, Inc.
42237 This config.status script is free software; the Free Software Foundation
42238 gives unlimited permission to copy, distribute and modify it."
42243 test -n "\$AWK" || AWK=awk
42246 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42247 # The default lists apply if the user does not specify any file.
42253 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42254 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
42258 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42270 # Handling of the options.
42271 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42273 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42274 $as_echo "$ac_cs_version"; exit ;;
42275 --config | --confi | --conf | --con | --co | --c )
42276 $as_echo "$ac_cs_config"; exit ;;
42277 --debug | --debu | --deb | --de | --d | -d )
42279 --file | --fil | --fi | --f )
42282 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42283 '') as_fn_error $?
"missing file argument" ;;
42285 as_fn_append CONFIG_FILES
" '$ac_optarg'"
42286 ac_need_defaults
=false
;;
42287 --header | --heade | --head | --hea )
42290 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42292 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
42293 ac_need_defaults
=false
;;
42295 # Conflict between --help and --header
42296 as_fn_error $?
"ambiguous option: \`$1'
42297 Try \`$0 --help' for more information.";;
42298 --help | --hel | -h )
42299 $as_echo "$ac_cs_usage"; exit ;;
42300 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42301 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42304 # This is an error.
42305 -*) as_fn_error $?
"unrecognized option: \`$1'
42306 Try \`$0 --help' for more information." ;;
42308 *) as_fn_append ac_config_targets
" $1"
42309 ac_need_defaults
=false
;;
42315 ac_configure_extra_args
=
42317 if $ac_cs_silent; then
42319 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42324 if \$ac_cs_recheck; then
42325 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42327 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42328 CONFIG_SHELL='$SHELL'
42329 export CONFIG_SHELL
42334 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42338 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42339 ## Running $as_me. ##
42345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42351 infile="$srcdir/include/wx/msw/genrcdefs.h"
42352 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42355 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42356 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42357 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42363 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42365 # Handling of arguments.
42366 for ac_config_target
in $ac_config_targets
42368 case $ac_config_target in
42369 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42370 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
42371 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42372 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42373 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42374 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42375 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42376 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42377 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42379 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42384 # If the user did not use the arguments to specify the items to instantiate,
42385 # then the envvar interface is used. Set only those that are not.
42386 # We use the long form for the default assignment because of an extremely
42387 # bizarre bug on SunOS 4.1.3.
42388 if $ac_need_defaults; then
42389 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42390 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42391 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42394 # Have a temporary directory for convenience. Make it in the build tree
42395 # simply because there is no reason against having it here, and in addition,
42396 # creating and moving files from /tmp can sometimes cause problems.
42397 # Hook for its removal unless debugging.
42398 # Note that there is a small window in which the directory will not be cleaned:
42399 # after its creation but before its name has been assigned to `$tmp'.
42403 trap 'exit_status=$?
42404 : "${ac_tmp:=$tmp}"
42405 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42407 trap 'as_fn_exit 1' 1 2 13 15
42409 # Create a (secure) tmp directory for tmp files.
42412 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42416 tmp
=.
/conf$$
-$RANDOM
42417 (umask 077 && mkdir "$tmp")
42418 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
42421 # Set up the scripts for CONFIG_FILES section.
42422 # No need to generate them if there are no CONFIG_FILES.
42423 # This happens for instance with `./config.status config.h'.
42424 if test -n "$CONFIG_FILES"; then
42427 ac_cr
=`echo X | tr X '\015'`
42428 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42429 # But we know of no other shell where ac_cr would be empty at this
42430 # point, so we can use a bashism as a fallback.
42431 if test "x$ac_cr" = x
; then
42432 eval ac_cr
=\$
\'\\r
\'
42434 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42435 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42438 ac_cs_awk_cr
=$ac_cr
42441 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42446 echo "cat >conf$$subs.awk <<_ACEOF" &&
42447 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42449 } >conf$$subs.sh ||
42450 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42451 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42453 for ac_last_try in false false false false false :; do
42454 . ./conf$$subs.sh ||
42455 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42457 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
42458 if test $ac_delim_n = $ac_delim_num; then
42460 elif $ac_last_try; then
42461 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42463 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42466 rm -f conf$$subs.sh
42468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42469 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
42473 s/^/S["/; s
/!.
*/"]=/
42483 s/\(.\{148\}\)..*/\1/
42485 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
42490 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42497 s/\(.\{148\}\)..*/\1/
42499 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
42503 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42508 ' <conf$$subs.awk | sed '
42513 ' >>$CONFIG_STATUS || ac_write_fail=1
42514 rm -f conf$$subs.awk
42515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42517 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
42518 for (key in S) S_is_set[key] = 1
42524 nfields = split(line, field, "@
")
42526 len = length(field[1])
42527 for (i = 2; i < nfields; i++) {
42529 keylen = length(key)
42530 if (S_is_set[key]) {
42532 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42533 len += length(value) + length(field[++i])
42544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42545 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42546 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
42549 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
42550 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
42553 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42554 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
42555 # trailing colons and then remove the whole line if VPATH becomes empty
42556 # (actually we leave an empty line to preserve line numbers).
42557 if test "x
$srcdir" = x.; then
42558 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42577 fi # test -n "$CONFIG_FILES"
42579 # Set up the scripts for CONFIG_HEADERS section.
42580 # No need to generate them if there are no CONFIG_HEADERS.
42581 # This happens for instance with `./config.status Makefile'.
42582 if test -n "$CONFIG_HEADERS"; then
42583 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
42587 # Transform confdefs.h into an awk script `defines.awk', embedded as
42588 # here-document in config.status, that substitutes the proper values into
42589 # config.h.in to produce config.h.
42591 # Create a delimiter string that does not exist in confdefs.h, to ease
42592 # handling of long lines.
42594 for ac_last_try in false false :; do
42595 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
42596 if test -z "$ac_tt"; then
42598 elif $ac_last_try; then
42599 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
42601 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42605 # For the awk script, D is an array of macro values keyed by name,
42606 # likewise P contains macro parameters if any. Preserve backslash
42607 # newline sequences.
42609 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42611 s/.\{148\}/&'"$ac_delim"'/g
42614 s/^[ ]*#[ ]*define[ ][ ]*/ /
42621 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42623 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42627 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42628 D["\
1"]=" \
3\\\\\\n
"\\/p
42630 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42635 s/.\{148\}/&'"$ac_delim"'/g
42640 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42643 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42645 ' <confdefs.h | sed '
42646 s/'"$ac_delim"'/"\\\
42647 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42650 for (key in D) D_is_set[key] = 1
42653 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42655 split(line, arg, " ")
42656 if (arg[1] == "#") {
42660 defundef
= substr
(arg
[1], 2)
42663 split(mac1
, mac2
, "(") #)
42665 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42666 if (D_is_set
[macro
]) {
42667 # Preserve the white space surrounding the "#".
42668 print prefix
"define", macro P
[macro
] D
[macro
]
42671 # Replace #undef with comments. This is necessary, for example,
42672 # in the case of _POSIX_SOURCE, which is predefined and required
42673 # on some systems where configure will not decide to define it.
42674 if (defundef
== "undef") {
42675 print
"/*", prefix defundef
, macro
, "*/"
42683 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42684 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42685 fi # test -n "$CONFIG_HEADERS"
42688 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42693 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42695 case $ac_mode$ac_tag in
42697 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42698 :[FH
]-) ac_tag
=-:-;;
42699 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42716 -) ac_f
="$ac_tmp/stdin";;
42717 *) # Look for the file first in the build tree, then in the source tree
42718 # (if the path is not absolute). The absolute path cannot be DOS-style,
42719 # because $ac_f cannot contain `:'.
42723 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42725 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42727 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42728 as_fn_append ac_file_inputs
" '$ac_f'"
42731 # Let's still pretend it is `configure' which instantiates (i.e., don't
42732 # use $as_me), people would be surprised to read:
42733 # /* config.h. Generated by config.status. */
42734 configure_input
='Generated from '`
42735 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42737 if test x
"$ac_file" != x
-; then
42738 configure_input
="$ac_file. $configure_input"
42739 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42740 $as_echo "$as_me: creating $ac_file" >&6;}
42742 # Neutralize special characters interpreted by sed in replacement strings.
42743 case $configure_input in #(
42744 *\
&* | *\
|* | *\\* )
42745 ac_sed_conf_input
=`$as_echo "$configure_input" |
42746 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42747 *) ac_sed_conf_input
=$configure_input;;
42751 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42752 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42757 ac_dir
=`$as_dirname -- "$ac_file" ||
42758 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42759 X"$ac_file" : 'X\(//\)[^/]' \| \
42760 X"$ac_file" : 'X\(//\)$' \| \
42761 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42762 $as_echo X"$ac_file" |
42763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42767 /^X\(\/\/\)[^/].*/{
42780 as_dir
="$ac_dir"; as_fn_mkdir_p
42784 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42786 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42787 # A ".." for each directory in $ac_dir_suffix.
42788 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42789 case $ac_top_builddir_sub in
42790 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42791 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42794 ac_abs_top_builddir
=$ac_pwd
42795 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42796 # for backward compatibility:
42797 ac_top_builddir
=$ac_top_build_prefix
42800 .
) # We are building in place.
42802 ac_top_srcdir
=$ac_top_builddir_sub
42803 ac_abs_top_srcdir
=$ac_pwd ;;
42804 [\\/]* | ?
:[\\/]* ) # Absolute name.
42805 ac_srcdir
=$srcdir$ac_dir_suffix;
42806 ac_top_srcdir
=$srcdir
42807 ac_abs_top_srcdir
=$srcdir ;;
42808 *) # Relative name.
42809 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42810 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42811 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42813 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42823 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42824 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42828 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42829 # If the template does not know about datarootdir, expand it.
42830 # FIXME: This hack should be removed a few years after 2.60.
42831 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42842 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42843 *datarootdir
*) ac_datarootdir_seen
=yes;;
42844 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42846 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42849 ac_datarootdir_hack='
42850 s&@datadir@&$datadir&g
42851 s&@docdir@&$docdir&g
42852 s&@infodir@&$infodir&g
42853 s&@localedir@&$localedir&g
42854 s&@mandir@&$mandir&g
42855 s&\\\${datarootdir}&$datarootdir&g' ;;
42859 # Neutralize VPATH when `$srcdir' = `.'.
42860 # Shell code in configure.ac might set extrasub.
42861 # FIXME: do we really want to maintain this feature?
42862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42863 ac_sed_extra="$ac_vpsub
42866 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42868 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42869 s
|@configure_input@
|$ac_sed_conf_input|;t t
42870 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42871 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42872 s
&@srcdir@
&$ac_srcdir&;t t
42873 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42874 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42875 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42876 s
&@builddir@
&$ac_builddir&;t t
42877 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42878 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42879 s
&@INSTALL@
&$ac_INSTALL&;t t
42880 $ac_datarootdir_hack
42882 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42883 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42885 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42886 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42887 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42888 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42890 which seems to be undefined. Please make sure it is defined" >&5
42891 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42892 which seems to be undefined. Please make sure it is defined" >&2;}
42894 rm -f "$ac_tmp/stdin"
42896 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42897 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42905 if test x"$ac_file" != x-; then
42907 $as_echo "/* $configure_input */" \
42908 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42909 } >"$ac_tmp/config.h" \
42910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42911 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42912 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42913 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42916 mv "$ac_tmp/config.h" "$ac_file" \
42917 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42920 $as_echo "/* $configure_input */" \
42921 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42922 || as_fn_error $? "could not create -" "$LINENO" 5
42926 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42927 $as_echo "$as_me: executing $ac_file commands" >&6;}
42932 case $ac_file$ac_mode in
42934 mkdir -p $outdir &&
42935 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42937 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42938 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42939 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42940 "wx-config":C
) rm -f wx
-config
42941 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42950 ac_clean_files
=$ac_clean_files_save
42952 test $ac_write_fail = 0 ||
42953 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42956 # configure is writing to config.log, and then calls config.status.
42957 # config.status does its own redirection, appending to config.log.
42958 # Unfortunately, on DOS this fails, as config.log is still kept open
42959 # by configure, so config.status won't be able to write to it; its
42960 # output is simply discarded. So we exec the FD to /dev/null,
42961 # effectively closing config.log, so it can be properly (re)opened and
42962 # appended to by config.status. When coming back to configure, we
42963 # need to make the FD available again.
42964 if test "$no_create" != yes; then
42966 ac_config_status_args
=
42967 test "$silent" = yes &&
42968 ac_config_status_args
="$ac_config_status_args --quiet"
42970 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42972 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42973 # would make configure fail if this is the last instruction.
42974 $ac_cs_success || as_fn_exit
1
42978 # CONFIG_SUBDIRS section.
42980 if test "$no_recursion" != yes; then
42982 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42983 # so they do not pile up.
42984 ac_sub_configure_args
=
42986 eval "set x $ac_configure_args"
42990 if test -n "$ac_prev"; then
42995 -cache-file | --cache-file | --cache-fil | --cache-fi \
42996 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42997 ac_prev
=cache_file
;;
42998 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42999 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43002 --config-cache | -C)
43004 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43006 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43008 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43010 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43012 --disable-option-checking)
43016 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43018 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
43022 # Always prepend --prefix to ensure using the same prefix
43023 # in subdir configurations.
43024 ac_arg
="--prefix=$prefix"
43026 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
43028 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
43031 if test "$silent" = yes; then
43032 ac_sub_configure_args
="--silent $ac_sub_configure_args"
43035 # Always prepend --disable-option-checking to silence warnings, since
43036 # different subdirs can have different --enable and --with options.
43037 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
43040 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
43042 # Do not complain, so a configure script can configure whichever
43043 # parts of a large source tree are present.
43044 test -d "$srcdir/$ac_dir" || continue
43046 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
43047 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
43048 $as_echo "$ac_msg" >&6
43049 as_dir
="$ac_dir"; as_fn_mkdir_p
43053 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
43055 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
43056 # A ".." for each directory in $ac_dir_suffix.
43057 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
43058 case $ac_top_builddir_sub in
43059 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
43060 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
43063 ac_abs_top_builddir
=$ac_pwd
43064 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
43065 # for backward compatibility:
43066 ac_top_builddir
=$ac_top_build_prefix
43069 .
) # We are building in place.
43071 ac_top_srcdir
=$ac_top_builddir_sub
43072 ac_abs_top_srcdir
=$ac_pwd ;;
43073 [\\/]* | ?
:[\\/]* ) # Absolute name.
43074 ac_srcdir
=$srcdir$ac_dir_suffix;
43075 ac_top_srcdir
=$srcdir
43076 ac_abs_top_srcdir
=$srcdir ;;
43077 *) # Relative name.
43078 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
43079 ac_top_srcdir
=$ac_top_build_prefix$srcdir
43080 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
43082 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
43087 # Check for guested configure; otherwise get Cygnus style configure.
43088 if test -f "$ac_srcdir/configure.gnu"; then
43089 ac_sub_configure
=$ac_srcdir/configure.gnu
43090 elif test -f "$ac_srcdir/configure"; then
43091 ac_sub_configure
=$ac_srcdir/configure
43092 elif test -f "$ac_srcdir/configure.in"; then
43093 # This should be Cygnus configure.
43094 ac_sub_configure
=$ac_aux_dir/configure
43096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
43097 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43101 # The recursion is here.
43102 if test -n "$ac_sub_configure"; then
43103 # Make the cache file name correct relative to the subdirectory.
43104 case $cache_file in
43105 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
43106 *) # Relative name.
43107 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
43110 { $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
43111 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43112 # The eval makes quoting arguments work.
43113 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43114 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43115 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43121 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
43122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43123 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43128 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43130 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43131 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43132 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43133 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43134 if test "$wxUSE_UNICODE" = "yes"; then
43135 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43136 echo " (using UTF-8)"
43138 echo " (using wchar_t)"
43144 echo " What level of wxWidgets compatibility should be enabled?"
43145 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43146 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43148 echo " Which libraries should wxWidgets use?"
43149 echo " STL ${wxUSE_STL}"
43150 echo " jpeg ${wxUSE_LIBJPEG-none}"
43151 echo " png ${wxUSE_LIBPNG-none}"
43152 echo " regex ${wxUSE_REGEX}"
43153 echo " tiff ${wxUSE_LIBTIFF-none}"
43154 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43155 echo " xpm ${wxUSE_LIBXPM-none}"
43157 echo " zlib ${wxUSE_ZLIB}"
43158 echo " expat ${wxUSE_EXPAT}"
43159 echo " libmspack ${wxUSE_LIBMSPACK}"
43160 echo " sdl ${wxUSE_LIBSDL}"