2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for wxWidgets 3.0.0.
5 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wx-dev@lists.wxwidgets.org about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir -p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='wxWidgets'
582 PACKAGE_TARNAME
='wxwidgets'
583 PACKAGE_VERSION
='3.0.0'
584 PACKAGE_STRING
='wxWidgets 3.0.0'
585 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
588 ac_unique_file
="wx-config.in"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 enable_option_checking
=no
626 ac_subst_vars
='LTLIBOBJS
634 WX_RESOURCES_MACOSX_DATA
635 WX_RESOURCES_MACOSX_ASCII
663 WX_LIBRARY_BASENAME_GUI
664 WX_LIBRARY_BASENAME_NOGUI
667 COND_wxUSE_ZLIB_builtin
668 COND_wxUSE_REGEX_builtin
669 COND_wxUSE_LIBTIFF_builtin
670 COND_wxUSE_LIBPNG_builtin
671 COND_wxUSE_LIBJPEG_builtin
672 COND_wxUSE_EXPAT_builtin
675 COND_WITH_PLUGIN_SDL_1
676 COND_WINDOWS_IMPLIB_1
681 COND_USE_SOVERSOLARIS_1
682 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
684 COND_USE_SOVERLINUX_1
685 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
686 COND_USE_SOTWOSYMLINKS_1
692 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
693 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
694 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
695 COND_USE_GUI_1_WXUNIV_1
696 COND_USE_GUI_1_WXUNIV_0
697 COND_USE_GUI_1_USE_OPENGL_1
700 COND_USE_EXCEPTIONS_1
701 COND_USE_EXCEPTIONS_0
704 COND_TOOLKIT_X11_WXUNIV_1
705 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
706 COND_TOOLKIT_X11_USE_GUI_1
708 COND_TOOLKIT_WINCE_WXUNIV_0
709 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
710 COND_TOOLKIT_WINCE_USE_GUI_1
712 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
713 COND_TOOLKIT_PM_USE_GUI_1
715 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
717 COND_TOOLKIT_OSX_IPHONE
718 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
719 COND_TOOLKIT_OSX_COCOA
720 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
721 COND_TOOLKIT_OSX_CARBON
722 COND_TOOLKIT_MSW_WXUNIV_0
723 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
724 COND_TOOLKIT_MSW_USE_GUI_1
726 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
727 COND_TOOLKIT_MOTIF_USE_GUI_1
730 COND_TOOLKIT_GTK_USE_GUI_1
731 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
732 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
745 COND_TOOLKIT_DFB_USE_GUI_1
747 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
748 COND_TOOLKIT_COCOA_USE_GUI_1
751 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
753 COND_SHARED_0_wxUSE_ZLIB_builtin
754 COND_SHARED_0_wxUSE_REGEX_builtin
755 COND_SHARED_0_wxUSE_EXPAT_builtin
756 COND_SHARED_0_USE_STC_1
757 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
758 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
759 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
760 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
761 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
762 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
763 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
765 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
766 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
767 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
769 COND_PLATFORM_WIN32_1_SHARED_0
770 COND_PLATFORM_WIN32_1
771 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
772 COND_PLATFORM_WIN32_0
773 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
774 COND_PLATFORM_UNIX_1_USE_GUI_1
775 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
776 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
777 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
782 COND_PLATFORM_MSDOS_1
783 COND_PLATFORM_MSDOS_0
786 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
787 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
788 COND_PLATFORM_MACOSX_1_USE_GUI_1
789 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
790 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
791 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
797 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
799 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
800 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
801 COND_PLATFORM_MACOSX_1
802 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
803 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
804 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
805 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
806 COND_MONOLITHIC_1_USE_STC_1
807 COND_MONOLITHIC_1_SHARED_1
808 COND_MONOLITHIC_1_SHARED_0
810 COND_MONOLITHIC_0_USE_XRC_1
811 COND_MONOLITHIC_0_USE_WEBVIEW_1
812 COND_MONOLITHIC_0_USE_STC_1
813 COND_MONOLITHIC_0_USE_RICHTEXT_1
814 COND_MONOLITHIC_0_USE_RIBBON_1
815 COND_MONOLITHIC_0_USE_QA_1
816 COND_MONOLITHIC_0_USE_PROPGRID_1
817 COND_MONOLITHIC_0_USE_MEDIA_1
818 COND_MONOLITHIC_0_USE_HTML_1
819 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
820 COND_MONOLITHIC_0_USE_GUI_1
821 COND_MONOLITHIC_0_USE_AUI_1
822 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
823 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
824 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
825 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
826 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
827 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
833 COND_MONOLITHIC_0_SHARED_1
834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
838 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
845 COND_MONOLITHIC_0_SHARED_0
854 COND_BUILD_release_DEBUG_INFO_default
856 COND_BUILD_debug_DEBUG_INFO_default
860 ICC_PCH_CREATE_SWITCH
1057 program_transform_name
1070 enable_option_checking
1076 enable_official_build
1119 with_macosx_version_min
1128 enable_std_containers
1129 enable_std_iostreams
1131 enable_std_string_conv_in_wxstring
1136 enable_extended_rtti
1141 enable_no_exceptions
1144 enable_vararg_macros
1145 enable_universal_binary
1150 enable_objc_uniquifying
1179 enable_dynamicloader
1196 enable_printfposparam
1211 enable_protocol_http
1213 enable_protocol_file
1264 enable_commandlinkbutton
1292 enable_rearrangectrl
1341 enable_accessibility
1344 enable_webviewwebkit
1364 with_gtk_exec_prefix
1366 with_libiconv_prefix
1368 with_sdl_exec_prefix
1370 enable_dependency_tracking
1371 enable_precomp_headers
1373 with_cppunit_exec_prefix
1375 ac_precious_vars
='build_alias
1426 ac_subdirs_all
='src/tiff
1429 # Initialize some variables set by options.
1431 ac_init_version
=false
1432 ac_unrecognized_opts
=
1433 ac_unrecognized_sep
=
1434 # The variables have the same names as the options, with
1435 # dashes changed to underlines.
1436 cache_file
=/dev
/null
1443 program_transform_name
=s
,x
,x
,
1451 # Installation directory options.
1452 # These are left unexpanded so users can "make install exec_prefix=/foo"
1453 # and all the variables that are supposed to be based on exec_prefix
1454 # by default will actually change.
1455 # Use braces instead of parens because sh, perl, etc. also accept them.
1456 # (The list follows the same order as the GNU Coding Standards.)
1457 bindir
='${exec_prefix}/bin'
1458 sbindir
='${exec_prefix}/sbin'
1459 libexecdir
='${exec_prefix}/libexec'
1460 datarootdir
='${prefix}/share'
1461 datadir
='${datarootdir}'
1462 sysconfdir
='${prefix}/etc'
1463 sharedstatedir
='${prefix}/com'
1464 localstatedir
='${prefix}/var'
1465 includedir
='${prefix}/include'
1466 oldincludedir
='/usr/include'
1467 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1468 infodir
='${datarootdir}/info'
1473 libdir
='${exec_prefix}/lib'
1474 localedir
='${datarootdir}/locale'
1475 mandir
='${datarootdir}/man'
1481 # If the previous option needs an argument, assign it.
1482 if test -n "$ac_prev"; then
1483 eval $ac_prev=\
$ac_option
1489 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1494 # Accept the important Cygnus configure options, so we can diagnose typos.
1496 case $ac_dashdash$ac_option in
1500 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1502 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1503 bindir
=$ac_optarg ;;
1505 -build | --build | --buil | --bui | --bu)
1506 ac_prev
=build_alias
;;
1507 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1508 build_alias
=$ac_optarg ;;
1510 -cache-file | --cache-file | --cache-fil | --cache-fi \
1511 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1512 ac_prev
=cache_file
;;
1513 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1514 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1515 cache_file
=$ac_optarg ;;
1517 --config-cache | -C)
1518 cache_file
=config.cache
;;
1520 -datadir | --datadir | --datadi | --datad)
1522 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1523 datadir
=$ac_optarg ;;
1525 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1526 | --dataroo | --dataro | --datar)
1527 ac_prev
=datarootdir
;;
1528 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1529 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1530 datarootdir
=$ac_optarg ;;
1532 -disable-* | --disable-*)
1533 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1534 # Reject names that are not valid shell variable names.
1535 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1536 as_fn_error $?
"invalid feature name: $ac_useropt"
1537 ac_useropt_orig
=$ac_useropt
1538 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1539 case $ac_user_opts in
1541 "enable_
$ac_useropt"
1543 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1544 ac_unrecognized_sep
=', ';;
1546 eval enable_
$ac_useropt=no
;;
1548 -docdir | --docdir | --docdi | --doc | --do)
1550 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1551 docdir
=$ac_optarg ;;
1553 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1555 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1556 dvidir
=$ac_optarg ;;
1558 -enable-* | --enable-*)
1559 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1560 # Reject names that are not valid shell variable names.
1561 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1562 as_fn_error $?
"invalid feature name: $ac_useropt"
1563 ac_useropt_orig
=$ac_useropt
1564 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1565 case $ac_user_opts in
1567 "enable_
$ac_useropt"
1569 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1570 ac_unrecognized_sep
=', ';;
1572 eval enable_
$ac_useropt=\
$ac_optarg ;;
1574 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1575 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1576 | --exec | --exe | --ex)
1577 ac_prev
=exec_prefix
;;
1578 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1579 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1580 | --exec=* | --exe=* | --ex=*)
1581 exec_prefix
=$ac_optarg ;;
1583 -gas | --gas | --ga | --g)
1584 # Obsolete; use --with-gas.
1587 -help | --help | --hel | --he | -h)
1588 ac_init_help
=long
;;
1589 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1590 ac_init_help
=recursive
;;
1591 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1592 ac_init_help
=short
;;
1594 -host | --host | --hos | --ho)
1595 ac_prev
=host_alias
;;
1596 -host=* | --host=* | --hos=* | --ho=*)
1597 host_alias
=$ac_optarg ;;
1599 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1601 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1603 htmldir
=$ac_optarg ;;
1605 -includedir | --includedir | --includedi | --included | --include \
1606 | --includ | --inclu | --incl | --inc)
1607 ac_prev
=includedir
;;
1608 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1609 | --includ=* | --inclu=* | --incl=* | --inc=*)
1610 includedir
=$ac_optarg ;;
1612 -infodir | --infodir | --infodi | --infod | --info | --inf)
1614 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1615 infodir
=$ac_optarg ;;
1617 -libdir | --libdir | --libdi | --libd)
1619 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1620 libdir
=$ac_optarg ;;
1622 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1623 | --libexe | --libex | --libe)
1624 ac_prev
=libexecdir
;;
1625 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1626 | --libexe=* | --libex=* | --libe=*)
1627 libexecdir
=$ac_optarg ;;
1629 -localedir | --localedir | --localedi | --localed | --locale)
1630 ac_prev
=localedir
;;
1631 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1632 localedir
=$ac_optarg ;;
1634 -localstatedir | --localstatedir | --localstatedi | --localstated \
1635 | --localstate | --localstat | --localsta | --localst | --locals)
1636 ac_prev
=localstatedir
;;
1637 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1638 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1639 localstatedir
=$ac_optarg ;;
1641 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1643 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1644 mandir
=$ac_optarg ;;
1646 -nfp | --nfp | --nf)
1647 # Obsolete; use --without-fp.
1650 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1651 | --no-cr | --no-c | -n)
1654 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1655 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1658 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1659 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1660 | --oldin | --oldi | --old | --ol | --o)
1661 ac_prev
=oldincludedir
;;
1662 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1663 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1664 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1665 oldincludedir
=$ac_optarg ;;
1667 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1669 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1670 prefix
=$ac_optarg ;;
1672 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1673 | --program-pre | --program-pr | --program-p)
1674 ac_prev
=program_prefix
;;
1675 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1676 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1677 program_prefix
=$ac_optarg ;;
1679 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1680 | --program-suf | --program-su | --program-s)
1681 ac_prev
=program_suffix
;;
1682 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1683 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1684 program_suffix
=$ac_optarg ;;
1686 -program-transform-name | --program-transform-name \
1687 | --program-transform-nam | --program-transform-na \
1688 | --program-transform-n | --program-transform- \
1689 | --program-transform | --program-transfor \
1690 | --program-transfo | --program-transf \
1691 | --program-trans | --program-tran \
1692 | --progr-tra | --program-tr | --program-t)
1693 ac_prev
=program_transform_name
;;
1694 -program-transform-name=* | --program-transform-name=* \
1695 | --program-transform-nam=* | --program-transform-na=* \
1696 | --program-transform-n=* | --program-transform-=* \
1697 | --program-transform=* | --program-transfor=* \
1698 | --program-transfo=* | --program-transf=* \
1699 | --program-trans=* | --program-tran=* \
1700 | --progr-tra=* | --program-tr=* | --program-t=*)
1701 program_transform_name
=$ac_optarg ;;
1703 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1705 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1706 pdfdir
=$ac_optarg ;;
1708 -psdir | --psdir | --psdi | --psd | --ps)
1710 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1713 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1714 | -silent | --silent | --silen | --sile | --sil)
1717 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1719 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1721 sbindir
=$ac_optarg ;;
1723 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1724 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1725 | --sharedst | --shareds | --shared | --share | --shar \
1727 ac_prev
=sharedstatedir
;;
1728 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1729 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1730 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1732 sharedstatedir
=$ac_optarg ;;
1734 -site | --site | --sit)
1736 -site=* | --site=* | --sit=*)
1739 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1741 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1742 srcdir
=$ac_optarg ;;
1744 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1745 | --syscon | --sysco | --sysc | --sys | --sy)
1746 ac_prev
=sysconfdir
;;
1747 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1748 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1749 sysconfdir
=$ac_optarg ;;
1751 -target | --target | --targe | --targ | --tar | --ta | --t)
1752 ac_prev
=target_alias
;;
1753 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1754 target_alias
=$ac_optarg ;;
1756 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1759 -version | --version | --versio | --versi | --vers | -V)
1760 ac_init_version
=: ;;
1763 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1764 # Reject names that are not valid shell variable names.
1765 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1766 as_fn_error $?
"invalid package name: $ac_useropt"
1767 ac_useropt_orig
=$ac_useropt
1768 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1769 case $ac_user_opts in
1773 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1774 ac_unrecognized_sep
=', ';;
1776 eval with_
$ac_useropt=\
$ac_optarg ;;
1778 -without-* | --without-*)
1779 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1780 # Reject names that are not valid shell variable names.
1781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1782 as_fn_error $?
"invalid package name: $ac_useropt"
1783 ac_useropt_orig
=$ac_useropt
1784 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1785 case $ac_user_opts in
1789 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1790 ac_unrecognized_sep
=', ';;
1792 eval with_
$ac_useropt=no
;;
1795 # Obsolete; use --with-x.
1798 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1799 | --x-incl | --x-inc | --x-in | --x-i)
1800 ac_prev
=x_includes
;;
1801 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1802 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1803 x_includes
=$ac_optarg ;;
1805 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1806 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1807 ac_prev
=x_libraries
;;
1808 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1809 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1810 x_libraries
=$ac_optarg ;;
1812 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1813 Try \`$0 --help' for more information"
1817 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1818 # Reject names that are not valid shell variable names.
1819 case $ac_envvar in #(
1820 '' | [0-9]* | *[!_$as_cr_alnum]* )
1821 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1823 eval $ac_envvar=\
$ac_optarg
1824 export $ac_envvar ;;
1827 # FIXME: should be removed in autoconf 3.0.
1828 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1829 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1830 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1831 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1837 if test -n "$ac_prev"; then
1838 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1839 as_fn_error $?
"missing argument to $ac_option"
1842 if test -n "$ac_unrecognized_opts"; then
1843 case $enable_option_checking in
1845 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1846 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1850 # Check all directory arguments for consistency.
1851 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1852 datadir sysconfdir sharedstatedir localstatedir includedir \
1853 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1854 libdir localedir mandir
1856 eval ac_val
=\$
$ac_var
1857 # Remove trailing slashes.
1860 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1861 eval $ac_var=\
$ac_val;;
1863 # Be sure to have absolute directory names.
1865 [\\/$
]* | ?
:[\\/]* ) continue;;
1866 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1868 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1871 # There might be people who depend on the old broken behavior: `$host'
1872 # used to hold the argument of --host etc.
1873 # FIXME: To remove some day.
1876 target
=$target_alias
1878 # FIXME: To remove some day.
1879 if test "x$host_alias" != x
; then
1880 if test "x$build_alias" = x
; then
1881 cross_compiling
=maybe
1882 elif test "x$build_alias" != "x$host_alias"; then
1888 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1890 test "$silent" = yes && exec 6>/dev
/null
1893 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1894 ac_ls_di
=`ls -di .` &&
1895 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1896 as_fn_error $?
"working directory cannot be determined"
1897 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1898 as_fn_error $?
"pwd does not report name of working directory"
1901 # Find the source files, if location was not specified.
1902 if test -z "$srcdir"; then
1903 ac_srcdir_defaulted
=yes
1904 # Try the directory containing this script, then the parent directory.
1905 ac_confdir
=`$as_dirname -- "$as_myself" ||
1906 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1907 X"$as_myself" : 'X\(//\)[^/]' \| \
1908 X"$as_myself" : 'X\(//\)$' \| \
1909 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1910 $as_echo X"$as_myself" |
1911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1929 if test ! -r "$srcdir/$ac_unique_file"; then
1933 ac_srcdir_defaulted
=no
1935 if test ! -r "$srcdir/$ac_unique_file"; then
1936 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1937 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1939 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1941 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1943 # When building in place, set srcdir=.
1944 if test "$ac_abs_confdir" = "$ac_pwd"; then
1947 # Remove unnecessary trailing slashes from srcdir.
1948 # Double slashes in file names in object file debugging info
1949 # mess up M-x gdb in Emacs.
1951 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1953 for ac_var
in $ac_precious_vars; do
1954 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1955 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1956 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1957 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1961 # Report the --help message.
1963 if test "$ac_init_help" = "long"; then
1964 # Omit some internal or obsolete options to make the list less imposing.
1965 # This message is too long to be a string in the A/UX 3.1 sh.
1967 \`configure' configures wxWidgets 3.0.0 to adapt to many kinds of systems.
1969 Usage: $0 [OPTION]... [VAR=VALUE]...
1971 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1972 VAR=VALUE. See below for descriptions of some of the useful variables.
1974 Defaults for the options are specified in brackets.
1977 -h, --help display this help and exit
1978 --help=short display options specific to this package
1979 --help=recursive display the short help of all the included packages
1980 -V, --version display version information and exit
1981 -q, --quiet, --silent do not print \`checking ...' messages
1982 --cache-file=FILE cache test results in FILE [disabled]
1983 -C, --config-cache alias for \`--cache-file=config.cache'
1984 -n, --no-create do not create output files
1985 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1987 Installation directories:
1988 --prefix=PREFIX install architecture-independent files in PREFIX
1989 [$ac_default_prefix]
1990 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1993 By default, \`make install' will install all the files in
1994 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1995 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1996 for instance \`--prefix=\$HOME'.
1998 For better control, use the options below.
2000 Fine tuning of the installation directories:
2001 --bindir=DIR user executables [EPREFIX/bin]
2002 --sbindir=DIR system admin executables [EPREFIX/sbin]
2003 --libexecdir=DIR program executables [EPREFIX/libexec]
2004 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2005 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2006 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2007 --libdir=DIR object code libraries [EPREFIX/lib]
2008 --includedir=DIR C header files [PREFIX/include]
2009 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2010 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2011 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2012 --infodir=DIR info documentation [DATAROOTDIR/info]
2013 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2014 --mandir=DIR man documentation [DATAROOTDIR/man]
2015 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2016 --htmldir=DIR html documentation [DOCDIR]
2017 --dvidir=DIR dvi documentation [DOCDIR]
2018 --pdfdir=DIR pdf documentation [DOCDIR]
2019 --psdir=DIR ps documentation [DOCDIR]
2025 --x-includes=DIR X include files are
in DIR
2026 --x-libraries=DIR X library files are
in DIR
2029 --build=BUILD configure
for building on BUILD
[guessed
]
2030 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2034 if test -n "$ac_init_help"; then
2035 case $ac_init_help in
2036 short
| recursive
) echo "Configuration of wxWidgets 3.0.0:";;
2041 --disable-option-checking ignore unrecognized
--enable/--with options
2042 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2043 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2044 --disable-gui don
't build GUI parts of the library
2045 --enable-monolithic build wxWidgets as single library
2046 --enable-plugins build parts of wxWidgets as loadable components
2047 --enable-official_build official build of wxWidgets (win32 DLL only)
2048 --enable-vendor=VENDOR vendor name (win32 DLL only)
2049 --disable-all-features disable all optional features to build minimal library
2050 --enable-universal use wxWidgets GUI controls instead of native ones
2051 --enable-nanox use NanoX
2052 --enable-gpe use GNOME PDA Environment features if possible
2053 --enable-debug build library for debugging
2054 --disable-debug_flag disable all debugging support
2055 --enable-debug_info generate debug information
2056 --enable-debug_gdb create code with extra GDB debugging information
2057 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2058 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2059 --disable-shared create static library instead of shared
2060 --enable-stl use standard C++ classes for everything
2061 --enable-std_containers use standard C++ container classes
2062 --enable-std_iostreams use standard C++ stream classes
2063 --enable-std_string use standard C++ string classes
2064 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2065 --disable-unicode compile without Unicode support
2066 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2067 --enable-utf8 use UTF-8 representation for strings (Unix only)
2068 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2069 --enable-extended_rtti use extended RTTI (XTI)
2070 --enable-omf use OMF object format
2071 --disable-optimise compile without optimisations
2072 --enable-profile create code with profiling information
2073 --enable-no_rtti create code without RTTI information
2074 --enable-no_exceptions create code without C++ exceptions handling
2075 --enable-permissive compile code disregarding strict ANSI
2076 --enable-no_deps create code without dependency information
2077 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2078 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2079 --enable-macosx_arch=ARCH build
for just the specified architecture
2080 --enable-compat26 enable wxWidgets
2.6 compatibility
2081 --disable-compat28 disable wxWidgets
2.8 compatibility
2082 --disable-rpath disable use of rpath
for uninstalled builds
2083 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2084 --disable-visibility disable use of ELF symbols visibility even
if supported
2085 --disable-tls disable use of compiler TLS support
2086 --enable-intl use internationalization system
2087 --enable-xlocale use x
-locale support
(requires wxLocale
)
2088 --enable-config use wxConfig
(and derived
) classes
2089 --enable-protocols use wxProtocol and derived classes
2090 --enable-ftp use wxFTP
(requires wxProtocol
2091 --enable-http use wxHTTP
(requires wxProtocol
2092 --enable-fileproto use wxFileProto class
(requires wxProtocol
2093 --enable-sockets use socket
/network classes
2094 --enable-ipv6 enable IPv6 support
in wxSocket
2095 --enable-ole use OLE classes
(Win32 only
)
2096 --enable-dataobj use data object classes
2097 --enable-ipc use interprocess communication
(wxSocket etc.
)
2098 --enable-baseevtloop use event loop
in console programs too
2099 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2100 --enable-selectloop use wxSelectDispatcher class
2101 --enable-any use wxAny class
2102 --enable-apple_ieee use the Apple IEEE codec
2103 --enable-arcstream use wxArchive streams
2104 --enable-base64 use base64 encoding
/decoding functions
2105 --enable-backtrace use wxStackWalker class
for getting backtraces
2106 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2107 --enable-cmdline use wxCmdLineParser class
2108 --enable-datetime use wxDateTime class
2109 --enable-debugreport use wxDebugReport class
2110 --enable-dialupman use dialup network classes
2111 --enable-dynlib use wxLibrary class
for DLL loading
2112 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2113 --enable-exceptions build exception
-safe library
2114 --enable-ffile use wxFFile class
2115 --enable-file use wxFile class
2116 --enable-filehistory use wxFileHistory class
2117 --enable-filesystem use virtual
file systems classes
2118 --enable-fontenum use wxFontEnumerator class
2119 --enable-fontmap use font encodings conversion classes
2120 --enable-fs_archive use virtual archive filesystems
2121 --enable-fs_inet use virtual HTTP
/FTP filesystems
2122 --enable-fs_zip now replaced by fs_archive
2123 --enable-fsvolume use wxFSVolume class
2124 --enable-fswatcher use wxFileSystemWatcher class
2125 --enable-geometry use geometry class
2126 --enable-log use logging system
2127 --enable-longlong use wxLongLong class
2128 --enable-mimetype use wxMimeTypesManager
2129 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2130 --enable-snglinst use wxSingleInstanceChecker class
2131 --enable-sound use wxSound class
2132 --enable-stdpaths use wxStandardPaths class
2133 --enable-stopwatch use wxStopWatch class
2134 --enable-streams use wxStream etc classes
2135 --enable-sysoptions use wxSystemOptions
2136 --enable-tarstream use wxTar streams
2137 --enable-textbuf use wxTextBuffer class
2138 --enable-textfile use wxTextFile class
2139 --enable-timer use wxTimer class
2140 --enable-variant use wxVariant class
2141 --enable-zipstream use wxZip streams
2142 --enable-url use wxURL class
2143 --enable-protocol use wxProtocol class
2144 --enable-protocol-http HTTP support
in wxProtocol
2145 --enable-protocol-ftp FTP support
in wxProtocol
2146 --enable-protocol-file FILE support
in wxProtocol
2147 --enable-threads use threads
2148 --enable-iniconf use wxIniConfig
(Win32 only
)
2149 --enable-regkey use wxRegKey class
(Win32 only
)
2150 --enable-docview use document view architecture
2151 --enable-help use
help subsystem
2152 --enable-mshtmlhelp use MS HTML Help
(win32
)
2153 --enable-html use wxHTML sub
-library
2154 --enable-htmlhelp use wxHTML
-based help
2155 --enable-xrc use XRC resources sub
-library
2156 --enable-aui use AUI docking library
2157 --enable-propgrid use wxPropertyGrid library
2158 --enable-ribbon use wxRibbon library
2159 --enable-stc use wxStyledTextCtrl library
2160 --enable-constraints use layout
-constraints system
2161 --enable-loggui use standard GUI logger
2162 --enable-logwin use wxLogWindow
2163 --enable-logdialog use wxLogDialog
2164 --enable-mdi use multiple document interface architecture
2165 --enable-mdidoc use docview architecture with MDI
2166 --enable-mediactrl use wxMediaCtrl class
2167 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2168 --enable-richtext use wxRichTextCtrl
2169 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2170 --enable-printarch use printing architecture
2171 --enable-svg use wxSVGFileDC device context
2172 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2173 --enable-webview use wxWebView library
2174 --enable-graphics_ctx use graphics context
2D drawing API
2175 --enable-clipboard use wxClipboard class
2176 --enable-dnd use Drag
'n'Drop classes
2177 --disable-controls disable compilation of all standard controls
2178 --enable-markup support wxControl
::SetLabelMarkup
2179 --enable-accel use accelerators
2180 --enable-animatectrl use wxAnimationCtrl class
2181 --enable-bannerwindow use wxBannerWindow class
2182 --enable-artstd use standard XPM icons
in wxArtProvider
2183 --enable-arttango use Tango icons
in wxArtProvider
2184 --enable-bmpbutton use wxBitmapButton class
2185 --enable-bmpcombobox use wxBitmapComboBox class
2186 --enable-button use wxButton class
2187 --enable-calendar use wxCalendarCtrl class
2188 --enable-caret use wxCaret class
2189 --enable-checkbox use wxCheckBox class
2190 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2191 --enable-choice use wxChoice class
2192 --enable-choicebook use wxChoicebook class
2193 --enable-collpane use wxCollapsiblePane class
2194 --enable-colourpicker use wxColourPickerCtrl class
2195 --enable-combobox use wxComboBox class
2196 --enable-comboctrl use wxComboCtrl class
2197 --enable-commandlinkbutton use wxCommmandLinkButton class
2198 --enable-dataviewctrl use wxDataViewCtrl class
2199 --enable-datepick use wxDatePickerCtrl class
2200 --enable-detect_sm use code to detect X11 session manager
2201 --enable-dirpicker use wxDirPickerCtrl class
2202 --enable-display use wxDisplay class
2203 --enable-editablebox use wxEditableListBox class
2204 --enable-filectrl use wxFileCtrl class
2205 --enable-filepicker use wxFilePickerCtrl class
2206 --enable-fontpicker use wxFontPickerCtrl class
2207 --enable-gauge use wxGauge class
2208 --enable-grid use wxGrid class
2209 --enable-headerctrl use wxHeaderCtrl class
2210 --enable-hyperlink use wxHyperlinkCtrl class
2211 --enable-imaglist use wxImageList class
2212 --enable-infobar use wxInfoBar class
2213 --enable-listbook use wxListbook class
2214 --enable-listbox use wxListBox class
2215 --enable-listctrl use wxListCtrl class
2216 --enable-notebook use wxNotebook class
2217 --enable-notifmsg use wxNotificationMessage class
2218 --enable-odcombobox use wxOwnerDrawnComboBox class
2219 --enable-popupwin use wxPopUpWindow class
2220 --enable-prefseditor use wxPreferencesEditor class
2221 --enable-radiobox use wxRadioBox class
2222 --enable-radiobtn use wxRadioButton class
2223 --enable-richmsgdlg use wxRichMessageDialog class
2224 --enable-richtooltip use wxRichToolTip class
2225 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2226 --enable-sash use wxSashWindow class
2227 --enable-scrollbar use wxScrollBar class and scrollable windows
2228 --enable-searchctrl use wxSearchCtrl class
2229 --enable-slider use wxSlider class
2230 --enable-spinbtn use wxSpinButton class
2231 --enable-spinctrl use wxSpinCtrl class
2232 --enable-splitter use wxSplitterWindow class
2233 --enable-statbmp use wxStaticBitmap class
2234 --enable-statbox use wxStaticBox class
2235 --enable-statline use wxStaticLine class
2236 --enable-stattext use wxStaticText class
2237 --enable-statusbar use wxStatusBar class
2238 --enable-taskbaricon use wxTaskBarIcon class
2239 --enable-tbarnative use native wxToolBar class
2240 --enable-textctrl use wxTextCtrl class
2241 --enable-timepick use wxTimePickerCtrl class
2242 --enable-tipwindow use wxTipWindow class
2243 --enable-togglebtn use wxToggleButton class
2244 --enable-toolbar use wxToolBar class
2245 --enable-toolbook use wxToolbook class
2246 --enable-treebook use wxTreebook class
2247 --enable-treectrl use wxTreeCtrl class
2248 --enable-treelist use wxTreeListCtrl class
2249 --enable-commondlg use all common dialogs
2250 --enable-aboutdlg use wxAboutBox
2251 --enable-choicedlg use wxChoiceDialog
2252 --enable-coldlg use wxColourDialog
2253 --enable-filedlg use wxFileDialog
2254 --enable-finddlg use wxFindReplaceDialog
2255 --enable-fontdlg use wxFontDialog
2256 --enable-dirdlg use wxDirDialog
2257 --enable-msgdlg use wxMessageDialog
2258 --enable-numberdlg use wxNumberEntryDialog
2259 --enable-splash use wxSplashScreen
2260 --enable-textdlg use wxTextDialog
2261 --enable-tipdlg use startup tips
2262 --enable-progressdlg use wxProgressDialog
2263 --enable-wizarddlg use wxWizard
2264 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2265 --enable-miniframe use wxMiniFrame class
2266 --enable-tooltips use wxToolTip class
2267 --enable-splines use spline drawing code
2268 --enable-mousewheel use mousewheel
2269 --enable-validators use wxValidator and derived classes
2270 --enable-busyinfo use wxBusyInfo
2271 --enable-hotkey use wxWindow
::RegisterHotKey
()
2272 --enable-joystick use wxJoystick
2273 --enable-metafiles use wxMetaFile
2274 --enable-dragimage use wxDragImage
2275 --enable-accessibility enable accessibility support
2276 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2277 --enable-dctransform use wxDC
::SetTransformMatrix and related
2278 --enable-webviewwebkit use wxWebView WebKit backend
2279 --enable-palette use wxPalette class
2280 --enable-image use wxImage class
2281 --enable-gif use gif images
(GIF
file format
)
2282 --enable-pcx use pcx images
(PCX
file format
)
2283 --enable-tga use tga images
(TGA
file format
)
2284 --enable-iff use iff images
(IFF
file format
)
2285 --enable-pnm use pnm images
(PNM
file format
)
2286 --enable-xpm use xpm images
(XPM
file format
)
2287 --enable-ico_cur use Windows ICO and CUR formats
2288 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2289 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2290 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2291 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2292 --enable-wxdib use wxDIB class
(Win32 only
)
2293 --enable-webviewie use wxWebView IE backend
(Win32 only
)
2294 --enable-autoidman use automatic ids management
2295 --disable-largefile omit support
for large files
2296 --disable-gtktest do not try to compile and run a
test GTK
+ program
2297 --disable-gtktest Do not try to compile and run a
test GTK program
2298 --disable-sdltest Do not try to compile and run a
test SDL program
2299 --enable-omf use OMF object format
(OS
/2)
2300 --disable-dependency-tracking
2301 don
't use dependency tracking even if the compiler
2303 --disable-precomp-headers
2304 don't use precompiled headers even
if compiler can
2307 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2308 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2309 --without-subdirs don
't generate makefiles for samples/demos/...
2310 --with-flavour=NAME specify a name to identify this build
2311 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2312 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2313 --with-motif use Motif/Lesstif
2314 --with-osx_carbon use Mac OS X (Carbon)
2315 --with-osx_cocoa use Mac OS X (Cocoa)
2316 --with-osx_iphone use iPhone OS X port
2317 --with-osx use Mac OS X (default port, currently Carbon)
2318 --with-carbon same as --with-osx_carbon
2319 --with-cocoa same as --with-osx_cocoa
2320 --with-iphone same as --with-osx_iphone
2321 --with-mac same as --with-osx
2322 --with-old_cocoa use old, deprecated, Cocoa port
2323 --with-wine use Wine
2324 --with-msw use MS-Windows
2325 --with-pm use OS/2 Presentation Manager
2326 --with-directfb use DirectFB
2327 --with-microwin use MicroWindows
2329 --with-libpng use libpng (PNG image format)
2330 --with-libjpeg use libjpeg (JPEG file format)
2331 --with-libtiff use libtiff (TIFF file format)
2332 --without-libjbig don't use libjbig
in libtiff even
if available
)
2333 --without-liblzma don
't use liblzma in libtiff even if available)
2334 --with-libxpm use libxpm (XPM file format)
2335 --with-libiconv use libiconv (character conversion)
2336 --with-libmspack use libmspack (CHM help files loading)
2337 --without-gtkprint don't use GTK printing support
2338 --with-gnomevfs use GNOME VFS
for associating MIME types
2339 --with-libnotify use libnotify
for notifications
2340 --with-hildon use Hildon framework
for Nokia
770/800/810
2341 --with-opengl use OpenGL
(or Mesa
)
2342 --with-dmalloc use dmalloc library
(http
://dmalloc.com
/)
2343 --with-sdl use SDL
for audio on Unix
2344 --with-regex enable support
for wxRegEx class
2345 --with-zlib use zlib
for LZW compression
2346 --with-expat enable XML support using expat parser
2347 --with-macosx-sdk=PATH use an OS X SDK
at PATH
2348 --with-macosx-version-min=VER build binaries
which require
at least this OS X version
2349 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
2350 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
2351 --with-x use the X Window System
2352 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
2353 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
2354 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
2355 --with-cppunit-prefix=PFX Prefix where CppUnit is installed
(optional
)
2356 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed
(optional
)
2358 Some influential environment variables
:
2359 CC C compiler
command
2360 CFLAGS C compiler flags
2361 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
2362 nonstandard directory
<lib dir
>
2363 LIBS libraries to pass to the linker
, e.g.
-l<library
>
2364 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
2365 you have headers
in a nonstandard directory
<include dir
>
2367 CXX C
++ compiler
command
2368 CXXFLAGS C
++ compiler flags
2369 CXXCPP C
++ preprocessor
2370 PKG_CONFIG path to pkg
-config utility
2372 C compiler flags
for DIRECTFB
, overriding pkg
-config
2374 linker flags
for DIRECTFB
, overriding pkg
-config
2375 XMKMF Path to xmkmf
, Makefile generator
for X Window System
2377 C compiler flags
for PANGOX
, overriding pkg
-config
2378 PANGOX_LIBS linker flags
for PANGOX
, overriding pkg
-config
2380 C compiler flags
for PANGOFT2
, overriding pkg
-config
2382 linker flags
for PANGOFT2
, overriding pkg
-config
2384 C compiler flags
for PANGOXFT
, overriding pkg
-config
2386 linker flags
for PANGOXFT
, overriding pkg
-config
2388 C compiler flags
for Xinerama
, overriding pkg
-config
2390 linker flags
for Xinerama
, overriding pkg
-config
2392 C compiler flags
for Xxf86vm
, overriding pkg
-config
2394 linker flags
for Xxf86vm
, overriding pkg
-config
2395 SM_CFLAGS C compiler flags
for SM
, overriding pkg
-config
2396 SM_LIBS linker flags
for SM
, overriding pkg
-config
2397 GL_CFLAGS C compiler flags
for GL
, overriding pkg
-config
2398 GL_LIBS linker flags
for GL
, overriding pkg
-config
2399 GLU_CFLAGS C compiler flags
for GLU
, overriding pkg
-config
2400 GLU_LIBS linker flags
for GLU
, overriding pkg
-config
2402 C compiler flags
for MesaGL
, overriding pkg
-config
2403 MesaGL_LIBS linker flags
for MesaGL
, overriding pkg
-config
2405 C compiler flags
for GTKPRINT
, overriding pkg
-config
2407 linker flags
for GTKPRINT
, overriding pkg
-config
2409 C compiler flags
for GNOMEVFS
, overriding pkg
-config
2411 linker flags
for GNOMEVFS
, overriding pkg
-config
2413 C compiler flags
for LIBNOTIFY
, overriding pkg
-config
2415 linker flags
for LIBNOTIFY
, overriding pkg
-config
2417 C compiler flags
for HILDON
, overriding pkg
-config
2418 HILDON_LIBS linker flags
for HILDON
, overriding pkg
-config
2420 C compiler flags
for HILDON2
, overriding pkg
-config
2422 linker flags
for HILDON2
, overriding pkg
-config
2424 C compiler flags
for WEBKIT
, overriding pkg
-config
2425 WEBKIT_LIBS linker flags
for WEBKIT
, overriding pkg
-config
2427 C compiler flags
for CAIRO
, overriding pkg
-config
2428 CAIRO_LIBS linker flags
for CAIRO
, overriding pkg
-config
2429 GST_CFLAGS C compiler flags
for GST
, overriding pkg
-config
2430 GST_LIBS linker flags
for GST
, overriding pkg
-config
2432 Use these variables to override the choices made by
`configure' or to help
2433 it to find libraries and programs with nonstandard names/locations.
2435 Report bugs to <wx-dev@lists.wxwidgets.org>.
2440 if test "$ac_init_help" = "recursive"; then
2441 # If there are subdirs, report their specific --help.
2442 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2443 test -d "$ac_dir" ||
2444 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2449 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2451 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2452 # A ".." for each directory in $ac_dir_suffix.
2453 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2454 case $ac_top_builddir_sub in
2455 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2456 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2459 ac_abs_top_builddir=$ac_pwd
2460 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2461 # for backward compatibility:
2462 ac_top_builddir=$ac_top_build_prefix
2465 .) # We are building in place.
2467 ac_top_srcdir=$ac_top_builddir_sub
2468 ac_abs_top_srcdir=$ac_pwd ;;
2469 [\\/]* | ?:[\\/]* ) # Absolute name.
2470 ac_srcdir=$srcdir$ac_dir_suffix;
2471 ac_top_srcdir=$srcdir
2472 ac_abs_top_srcdir=$srcdir ;;
2474 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2475 ac_top_srcdir=$ac_top_build_prefix$srcdir
2476 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2478 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2480 cd "$ac_dir" || { ac_status=$?; continue; }
2481 # Check for guested configure.
2482 if test -f "$ac_srcdir/configure.gnu"; then
2484 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2485 elif test -f "$ac_srcdir/configure"; then
2487 $SHELL "$ac_srcdir/configure" --help=recursive
2489 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2491 cd "$ac_pwd" || { ac_status=$?; break; }
2495 test -n "$ac_init_help" && exit $ac_status
2496 if $ac_init_version; then
2498 wxWidgets configure 3.0.0
2499 generated by GNU Autoconf 2.69
2501 Copyright (C) 2012 Free Software Foundation, Inc.
2502 This configure script is free software; the Free Software Foundation
2503 gives unlimited permission to copy, distribute and modify it.
2508 ## ------------------------ ##
2509 ## Autoconf initialization. ##
2510 ## ------------------------ ##
2512 # ac_fn_c_try_compile LINENO
2513 # --------------------------
2514 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2515 ac_fn_c_try_compile ()
2517 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2518 rm -f conftest.$ac_objext
2519 if { { ac_try="$ac_compile"
2521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2522 *) ac_try_echo
=$ac_try;;
2524 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2525 $as_echo "$ac_try_echo"; } >&5
2526 (eval "$ac_compile") 2>conftest.err
2528 if test -s conftest.err
; then
2529 grep -v '^ *+' conftest.err
>conftest.er1
2530 cat conftest.er1
>&5
2531 mv -f conftest.er1 conftest.err
2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2534 test $ac_status = 0; } && {
2535 test -z "$ac_c_werror_flag" ||
2536 test ! -s conftest.err
2537 } && test -s conftest.
$ac_objext; then :
2540 $as_echo "$as_me: failed program was:" >&5
2541 sed 's/^/| /' conftest.
$ac_ext >&5
2545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2546 as_fn_set_status
$ac_retval
2548 } # ac_fn_c_try_compile
2550 # ac_fn_c_try_cpp LINENO
2551 # ----------------------
2552 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2555 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2556 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2558 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2562 $as_echo "$ac_try_echo"; } >&5
2563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2565 if test -s conftest.err; then
2566 grep -v '^ *+' conftest.err >conftest.er1
2567 cat conftest.er1 >&5
2568 mv -f conftest.er1 conftest.err
2570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2571 test $ac_status = 0; } > conftest.i && {
2572 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2573 test ! -s conftest.err
2577 $as_echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.$ac_ext >&5
2582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2583 as_fn_set_status $ac_retval
2587 # ac_fn_cxx_try_compile LINENO
2588 # ----------------------------
2589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2590 ac_fn_cxx_try_compile ()
2592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2593 rm -f conftest.$ac_objext
2594 if { { ac_try="$ac_compile"
2596 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2597 *) ac_try_echo
=$ac_try;;
2599 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2600 $as_echo "$ac_try_echo"; } >&5
2601 (eval "$ac_compile") 2>conftest.err
2603 if test -s conftest.err
; then
2604 grep -v '^ *+' conftest.err
>conftest.er1
2605 cat conftest.er1
>&5
2606 mv -f conftest.er1 conftest.err
2608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2609 test $ac_status = 0; } && {
2610 test -z "$ac_cxx_werror_flag" ||
2611 test ! -s conftest.err
2612 } && test -s conftest.
$ac_objext; then :
2615 $as_echo "$as_me: failed program was:" >&5
2616 sed 's/^/| /' conftest.
$ac_ext >&5
2620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2621 as_fn_set_status
$ac_retval
2623 } # ac_fn_cxx_try_compile
2625 # ac_fn_c_try_link LINENO
2626 # -----------------------
2627 # Try to link conftest.$ac_ext, and return whether this succeeded.
2630 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2631 rm -f conftest.
$ac_objext conftest
$ac_exeext
2632 if { { ac_try
="$ac_link"
2634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2635 *) ac_try_echo=$ac_try;;
2637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2638 $as_echo "$ac_try_echo"; } >&5
2639 (eval "$ac_link") 2>conftest.err
2641 if test -s conftest.err; then
2642 grep -v '^ *+' conftest.err >conftest.er1
2643 cat conftest.er1 >&5
2644 mv -f conftest.er1 conftest.err
2646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2647 test $ac_status = 0; } && {
2648 test -z "$ac_c_werror_flag" ||
2649 test ! -s conftest.err
2650 } && test -s conftest$ac_exeext && {
2651 test "$cross_compiling" = yes ||
2652 test -x conftest$ac_exeext
2656 $as_echo "$as_me: failed program was:" >&5
2657 sed 's/^/| /' conftest.$ac_ext >&5
2661 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2662 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2663 # interfere with the next link command; also delete a directory that is
2664 # left behind by Apple's compiler. We do this before executing the actions.
2665 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2667 as_fn_set_status $ac_retval
2669 } # ac_fn_c_try_link
2671 # ac_fn_cxx_try_link LINENO
2672 # -------------------------
2673 # Try to link conftest.$ac_ext, and return whether this succeeded.
2674 ac_fn_cxx_try_link ()
2676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2677 rm -f conftest.$ac_objext conftest$ac_exeext
2678 if { { ac_try="$ac_link"
2680 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2681 *) ac_try_echo
=$ac_try;;
2683 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2684 $as_echo "$ac_try_echo"; } >&5
2685 (eval "$ac_link") 2>conftest.err
2687 if test -s conftest.err
; then
2688 grep -v '^ *+' conftest.err
>conftest.er1
2689 cat conftest.er1
>&5
2690 mv -f conftest.er1 conftest.err
2692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2693 test $ac_status = 0; } && {
2694 test -z "$ac_cxx_werror_flag" ||
2695 test ! -s conftest.err
2696 } && test -s conftest
$ac_exeext && {
2697 test "$cross_compiling" = yes ||
2698 test -x conftest
$ac_exeext
2702 $as_echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.
$ac_ext >&5
2707 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2708 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2709 # interfere with the next link command; also delete a directory that is
2710 # left behind by Apple's compiler. We do this before executing the actions.
2711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 as_fn_set_status
$ac_retval
2715 } # ac_fn_cxx_try_link
2717 # ac_fn_c_try_run LINENO
2718 # ----------------------
2719 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2720 # that executables *can* be run.
2723 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2724 if { { ac_try
="$ac_link"
2726 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2730 $as_echo "$ac_try_echo"; } >&5
2731 (eval "$ac_link") 2>&5
2733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2734 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2735 { { case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2737 *) ac_try_echo
=$ac_try;;
2739 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2740 $as_echo "$ac_try_echo"; } >&5
2741 (eval "$ac_try") 2>&5
2743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; }; }; then :
2747 $as_echo "$as_me: program exited with status $ac_status" >&5
2748 $as_echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.
$ac_ext >&5
2751 ac_retval
=$ac_status
2753 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755 as_fn_set_status
$ac_retval
2759 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2760 # -------------------------------------------------------
2761 # Tests whether HEADER exists and can be compiled using the include files in
2762 # INCLUDES, setting the cache variable VAR accordingly.
2763 ac_fn_c_check_header_compile
()
2765 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2767 $as_echo_n "checking for $2... " >&6; }
2768 if eval \
${$3+:} false
; then :
2769 $as_echo_n "(cached) " >&6
2771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2772 /* end confdefs.h. */
2776 if ac_fn_c_try_compile
"$LINENO"; then :
2781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2785 $as_echo "$ac_res" >&6; }
2786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2788 } # ac_fn_c_check_header_compile
2790 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2791 # ---------------------------------------------------------
2792 # Tests whether HEADER exists and can be compiled using the include files in
2793 # INCLUDES, setting the cache variable VAR accordingly.
2794 ac_fn_cxx_check_header_compile
()
2796 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2798 $as_echo_n "checking for $2... " >&6; }
2799 if eval \
${$3+:} false
; then :
2800 $as_echo_n "(cached) " >&6
2802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2803 /* end confdefs.h. */
2807 if ac_fn_cxx_try_compile
"$LINENO"; then :
2812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2816 $as_echo "$ac_res" >&6; }
2817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2819 } # ac_fn_cxx_check_header_compile
2821 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2822 # --------------------------------------------
2823 # Tries to find the compile-time value of EXPR in a program that includes
2824 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2826 ac_fn_c_compute_int
()
2828 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2829 if test "$cross_compiling" = yes; then
2830 # Depending upon the size, compute the lo and hi bounds.
2831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2837 static int test_array [1 - 2 * !(($2) >= 0)];
2839 return test_array [0];
2845 if ac_fn_c_try_compile
"$LINENO"; then :
2848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2849 /* end confdefs.h. */
2854 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2856 return test_array [0];
2862 if ac_fn_c_try_compile
"$LINENO"; then :
2863 ac_hi
=$ac_mid; break
2865 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2866 if test $ac_lo -le $ac_mid; then
2870 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2876 /* end confdefs.h. */
2881 static int test_array [1 - 2 * !(($2) < 0)];
2883 return test_array [0];
2889 if ac_fn_c_try_compile
"$LINENO"; then :
2892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2898 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2900 return test_array [0];
2906 if ac_fn_c_try_compile
"$LINENO"; then :
2907 ac_lo
=$ac_mid; break
2909 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2910 if test $ac_mid -le $ac_hi; then
2914 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2924 # Binary search between lo and hi bounds.
2925 while test "x$ac_lo" != "x$ac_hi"; do
2926 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2933 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2935 return test_array [0];
2941 if ac_fn_c_try_compile
"$LINENO"; then :
2944 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2949 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2954 /* end confdefs.h. */
2956 static long int longval () { return $2; }
2957 static unsigned long int ulongval () { return $2; }
2964 FILE *f = fopen ("conftest.val", "w");
2969 long int i = longval ();
2972 fprintf (f, "%ld", i);
2976 unsigned long int i = ulongval ();
2979 fprintf (f, "%lu", i);
2981 /* Do not output a trailing newline, as this causes \r\n confusion
2982 on some platforms. */
2983 return ferror (f) || fclose (f) != 0;
2989 if ac_fn_c_try_run
"$LINENO"; then :
2990 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2994 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2995 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2999 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3000 as_fn_set_status
$ac_retval
3002 } # ac_fn_c_compute_int
3004 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3005 # ---------------------------------------------
3006 # Tests whether TYPE exists after having included INCLUDES, setting cache
3007 # variable VAR accordingly.
3008 ac_fn_cxx_check_type
()
3010 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3012 $as_echo_n "checking for $2... " >&6; }
3013 if eval \
${$3+:} false
; then :
3014 $as_echo_n "(cached) " >&6
3017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3029 if ac_fn_cxx_try_compile
"$LINENO"; then :
3030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3042 if ac_fn_cxx_try_compile
"$LINENO"; then :
3047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3053 $as_echo "$ac_res" >&6; }
3054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3056 } # ac_fn_cxx_check_type
3058 # ac_fn_cxx_try_cpp LINENO
3059 # ------------------------
3060 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3061 ac_fn_cxx_try_cpp
()
3063 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3064 if { { ac_try
="$ac_cpp conftest.$ac_ext"
3066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3067 *) ac_try_echo=$ac_try;;
3069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3070 $as_echo "$ac_try_echo"; } >&5
3071 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3073 if test -s conftest.err; then
3074 grep -v '^ *+' conftest.err >conftest.er1
3075 cat conftest.er1 >&5
3076 mv -f conftest.er1 conftest.err
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; } > conftest.i && {
3080 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3081 test ! -s conftest.err
3085 $as_echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3090 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3091 as_fn_set_status $ac_retval
3093 } # ac_fn_cxx_try_cpp
3095 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3096 # ---------------------------------------------------------
3097 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3098 # the include files in INCLUDES and setting the cache variable VAR
3100 ac_fn_cxx_check_header_mongrel ()
3102 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3103 if eval \${$3+:} false; then :
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3105 $as_echo_n "checking for $2... " >&6; }
3106 if eval \${$3+:} false; then :
3107 $as_echo_n "(cached) " >&6
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3111 $as_echo "$ac_res" >&6; }
3113 # Is the header compilable?
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3115 $as_echo_n "checking $2 usability... " >&6; }
3116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h. */
3121 if ac_fn_cxx_try_compile "$LINENO"; then :
3122 ac_header_compiler=yes
3124 ac_header_compiler=no
3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3128 $as_echo "$ac_header_compiler" >&6; }
3130 # Is the header present?
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3132 $as_echo_n "checking $2 presence... " >&6; }
3133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3134 /* end confdefs.h. */
3137 if ac_fn_cxx_try_cpp "$LINENO"; then :
3138 ac_header_preproc=yes
3140 ac_header_preproc=no
3142 rm -f conftest.err conftest.i conftest.$ac_ext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3144 $as_echo "$ac_header_preproc" >&6; }
3146 # So? What about this header?
3147 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3150 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3152 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3156 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3158 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3160 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3162 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3164 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3165 ( $as_echo "## ----------------------------------------- ##
3166 ## Report this to wx-dev@lists.wxwidgets.org ##
3167 ## ----------------------------------------- ##"
3168 ) | sed "s/^/$as_me: WARNING: /" >&2
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3172 $as_echo_n "checking for $2... " >&6; }
3173 if eval \${$3+:} false; then :
3174 $as_echo_n "(cached) " >&6
3176 eval "$3=\$ac_header_compiler"
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3180 $as_echo "$ac_res" >&6; }
3182 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3184 } # ac_fn_cxx_check_header_mongrel
3186 # ac_fn_c_check_func LINENO FUNC VAR
3187 # ----------------------------------
3188 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3189 ac_fn_c_check_func ()
3191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3193 $as_echo_n "checking for $2... " >&6; }
3194 if eval \${$3+:} false; then :
3195 $as_echo_n "(cached) " >&6
3197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3198 /* end confdefs.h. */
3199 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3201 #define $2 innocuous_$2
3203 /* System header to define __stub macros and hopefully few prototypes,
3204 which can conflict with char $2 (); below.
3205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3206 <limits.h> exists even on freestanding compilers. */
3209 # include <limits.h>
3211 # include <assert.h>
3216 /* Override any GCC internal prototype to avoid an error.
3217 Use char because int might match the return type of a GCC
3218 builtin and then its argument prototype would still apply. */
3223 /* The GNU C library defines this for functions which it implements
3224 to always fail with ENOSYS. Some functions are actually named
3225 something starting with __ and the normal name is an alias. */
3226 #if defined __stub_$2 || defined __stub___$2
3238 if ac_fn_c_try_link "$LINENO"; then :
3243 rm -f core conftest.err conftest.$ac_objext \
3244 conftest$ac_exeext conftest.$ac_ext
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3248 $as_echo "$ac_res" >&6; }
3249 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3251 } # ac_fn_c_check_func
3253 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3254 # -------------------------------------------
3255 # Tests whether TYPE exists after having included INCLUDES, setting cache
3256 # variable VAR accordingly.
3257 ac_fn_c_check_type ()
3259 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3261 $as_echo_n "checking for $2... " >&6; }
3262 if eval \${$3+:} false; then :
3263 $as_echo_n "(cached) " >&6
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3278 if ac_fn_c_try_compile "$LINENO"; then :
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3291 if ac_fn_c_try_compile "$LINENO"; then :
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3302 $as_echo "$ac_res" >&6; }
3303 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3305 } # ac_fn_c_check_type
3307 # ac_fn_cxx_try_run LINENO
3308 # ------------------------
3309 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3310 # that executables *can* be run.
3311 ac_fn_cxx_try_run ()
3313 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3314 if { { ac_try="$ac_link"
3316 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3317 *) ac_try_echo
=$ac_try;;
3319 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321 (eval "$ac_link") 2>&5
3323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3324 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
3325 { { case "(($ac_try" in
3326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3327 *) ac_try_echo=$ac_try;;
3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3330 $as_echo "$ac_try_echo"; } >&5
3331 (eval "$ac_try") 2>&5
3333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3334 test $ac_status = 0; }; }; then :
3337 $as_echo "$as_me: program exited with status $ac_status" >&5
3338 $as_echo "$as_me: failed program was:" >&5
3339 sed 's/^/| /' conftest.$ac_ext >&5
3341 ac_retval=$ac_status
3343 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3344 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3345 as_fn_set_status $ac_retval
3347 } # ac_fn_cxx_try_run
3348 cat >config.log <<_ACEOF
3349 This file contains any messages produced by compilers while
3350 running configure, to aid debugging if configure makes a mistake.
3352 It was created by wxWidgets $as_me 3.0.0, which was
3353 generated by GNU Autoconf 2.69. Invocation command line was
3365 hostname = `(hostname
|| uname
-n) 2>/dev
/null
| sed 1q
`
3366 uname -m = `(uname
-m) 2>/dev
/null
|| echo unknown
`
3367 uname -r = `(uname
-r) 2>/dev
/null
|| echo unknown
`
3368 uname -s = `(uname
-s) 2>/dev
/null
|| echo unknown
`
3369 uname -v = `(uname
-v) 2>/dev
/null
|| echo unknown
`
3371 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null
|| echo unknown
`
3372 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null
|| echo unknown
`
3374 /bin/arch = `(/bin
/arch
) 2>/dev
/null
|| echo unknown
`
3375 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null
|| echo unknown
`
3376 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null
|| echo unknown
`
3377 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null
|| echo unknown
`
3378 /bin/machine = `(/bin
/machine
) 2>/dev
/null
|| echo unknown
`
3379 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null
|| echo unknown
`
3380 /bin/universe = `(/bin
/universe
) 2>/dev
/null
|| echo unknown
`
3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388 test -z "$as_dir" && as_dir=.
3389 $as_echo "PATH: $as_dir"
3405 # Keep a trace of the command line.
3406 # Strip out --no-create and --no-recursion so they do not pile up.
3407 # Strip out --silent because we don't want to record it for future runs.
3408 # Also quote any args containing shell meta-characters.
3409 # Make two passes to allow for proper duplicate-argument suppression.
3413 ac_must_keep_next=false
3419 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3421 | -silent | --silent | --silen | --sile | --sil)
3424 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3427 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3429 as_fn_append ac_configure_args1 " '$ac_arg'"
3430 if test $ac_must_keep_next = true; then
3431 ac_must_keep_next=false # Got value, back to normal.
3434 *=* | --config-cache | -C | -disable-* | --disable-* \
3435 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3436 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3437 | -with-* | --with-* | -without-* | --without-* | --x)
3438 case "$ac_configure_args0 " in
3439 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3442 -* ) ac_must_keep_next=true ;;
3445 as_fn_append ac_configure_args " '$ac_arg'"
3450 { ac_configure_args0=; unset ac_configure_args0;}
3451 { ac_configure_args1=; unset ac_configure_args1;}
3453 # When interrupted or exit'd, cleanup temporary files, and complete
3454 # config.log. We remove comments because anyway the quotes in there
3455 # would cause problems or look ugly.
3456 # WARNING: Use '\'' to represent an apostrophe within the trap.
3457 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3458 trap 'exit_status=$?
3459 # Save into config.log some information that might help in debugging.
3463 $as_echo "## ---------------- ##
3464 ## Cache variables. ##
3465 ## ---------------- ##"
3467 # The following way of writing the cache mishandles newlines in values,
3469 for ac_var in `(set) 2>&1 | sed -n '\''s
/^\
([a
-zA-Z_][a
-zA-Z0-9_]*\
)=.
*/\
1/p
'\''`; do
3470 eval ac_val=\$$ac_var
3474 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3475 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3478 _ | IFS | as_nl) ;; #(
3479 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3480 *) { eval $ac_var=; unset $ac_var;} ;;
3485 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
3486 *${as_nl}ac_space=\ *)
3488 "s/'\''/'\''\\\\'\'''\''/g;
3489 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3492 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3499 $as_echo "## ----------------- ##
3500 ## Output variables. ##
3501 ## ----------------- ##"
3503 for ac_var in $ac_subst_vars
3505 eval ac_val=\$$ac_var
3507 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3509 $as_echo "$ac_var='\''$ac_val'\''"
3513 if test -n "$ac_subst_files"; then
3514 $as_echo "## ------------------- ##
3515 ## File substitutions. ##
3516 ## ------------------- ##"
3518 for ac_var in $ac_subst_files
3520 eval ac_val=\$$ac_var
3522 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3524 $as_echo "$ac_var='\''$ac_val'\''"
3529 if test -s confdefs.h; then
3530 $as_echo "## ----------- ##
3537 test "$ac_signal" != 0 &&
3538 $as_echo "$as_me: caught signal $ac_signal"
3539 $as_echo "$as_me: exit $exit_status"
3541 rm -f core *.core core.conftest.* &&
3542 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3545 for ac_signal in 1 2 13 15; do
3546 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3550 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3551 rm -f -r conftest* confdefs.h
3553 $as_echo "/* confdefs.h */" > confdefs.h
3555 # Predefined preprocessor variables.
3557 cat >>confdefs.h <<_ACEOF
3558 #define PACKAGE_NAME "$PACKAGE_NAME"
3561 cat >>confdefs.h <<_ACEOF
3562 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3565 cat >>confdefs.h <<_ACEOF
3566 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3569 cat >>confdefs.h <<_ACEOF
3570 #define PACKAGE_STRING "$PACKAGE_STRING"
3573 cat >>confdefs.h <<_ACEOF
3574 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3577 cat >>confdefs.h <<_ACEOF
3578 #define PACKAGE_URL "$PACKAGE_URL"
3582 # Let the site file select an alternate cache file if it wants to.
3583 # Prefer an explicitly selected file to automatically selected ones.
3586 if test -n "$CONFIG_SITE"; then
3587 # We do not want a PATH search for config.site.
3588 case $CONFIG_SITE in #((
3589 -*) ac_site_file1=./$CONFIG_SITE;;
3590 */*) ac_site_file1=$CONFIG_SITE;;
3591 *) ac_site_file1=./$CONFIG_SITE;;
3593 elif test "x$prefix" != xNONE; then
3594 ac_site_file1=$prefix/share/config.site
3595 ac_site_file2=$prefix/etc/config.site
3597 ac_site_file1=$ac_default_prefix/share/config.site
3598 ac_site_file2=$ac_default_prefix/etc/config.site
3600 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3602 test "x$ac_site_file" = xNONE && continue
3603 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3605 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3606 sed 's/^/| /' "$ac_site_file" >&5
3608 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610 as_fn_error $? "failed to load site
script $ac_site_file
3611 See \
`config.log' for more details" "$LINENO" 5; }
3615 if test -r "$cache_file"; then
3616 # Some versions of bash will fail to source /dev/null (special files
3617 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3618 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3620 $as_echo "$as_me: loading cache $cache_file" >&6;}
3622 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3623 *) . "./$cache_file";;
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3628 $as_echo "$as_me: creating cache $cache_file" >&6;}
3632 # Check that the precious variables saved in the cache have kept the same
3634 ac_cache_corrupted=false
3635 for ac_var in $ac_precious_vars; do
3636 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3637 eval ac_new_set=\$ac_env_${ac_var}_set
3638 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3639 eval ac_new_val=\$ac_env_${ac_var}_value
3640 case $ac_old_set,$ac_new_set in
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
3643 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3644 ac_cache_corrupted=: ;;
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
3647 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
3648 ac_cache_corrupted=: ;;
3651 if test "x$ac_old_val" != "x$ac_new_val"; then
3652 # differences in whitespace do not lead to failure.
3653 ac_old_val_w=`echo x
$ac_old_val`
3654 ac_new_val_w=`echo x
$ac_new_val`
3655 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3657 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
3658 ac_cache_corrupted=:
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
3661 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3662 eval $ac_var=\$ac_old_val
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3665 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3667 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3670 # Pass precious variables to config.status.
3671 if test "$ac_new_set" = set; then
3673 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
3674 *) ac_arg=$ac_var=$ac_new_val ;;
3676 case " $ac_configure_args " in
3677 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3678 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3682 if $ac_cache_corrupted; then
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3686 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3687 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
3689 ## -------------------- ##
3690 ## Main body of script. ##
3691 ## -------------------- ##
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3704 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3705 if test -f "$ac_dir/install-sh"; then
3707 ac_install_sh="$ac_aux_dir/install-sh -c"
3709 elif test -f "$ac_dir/install.sh"; then
3711 ac_install_sh="$ac_aux_dir/install.sh -c"
3713 elif test -f "$ac_dir/shtool"; then
3715 ac_install_sh="$ac_aux_dir/shtool install -c"
3719 if test -z "$ac_aux_dir"; then
3720 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3723 # These three variables are undocumented and unsupported,
3724 # and are intended to be withdrawn in a future Autoconf release.
3725 # They can cause serious problems if a builder's source tree is in a directory
3726 # whose full name contains unusual characters.
3727 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3728 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3729 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3732 # Make sure we can run config.sub.
3733 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3734 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3737 $as_echo_n "checking build system type... " >&6; }
3738 if ${ac_cv_build+:} false; then :
3739 $as_echo_n "(cached) " >&6
3741 ac_build_alias=$build_alias
3742 test "x$ac_build_alias" = x &&
3743 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3744 test "x$ac_build_alias" = x &&
3745 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3746 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3747 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3751 $as_echo "$ac_cv_build" >&6; }
3752 case $ac_cv_build in
3754 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3757 ac_save_IFS=$IFS; IFS='-'
3763 # Remember, the first character of IFS is used to create $*,
3764 # except with old shells:
3767 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3771 $as_echo_n "checking host system type... " >&6; }
3772 if ${ac_cv_host+:} false; then :
3773 $as_echo_n "(cached) " >&6
3775 if test "x$host_alias" = x; then
3776 ac_cv_host=$ac_cv_build
3778 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3779 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3784 $as_echo "$ac_cv_host" >&6; }
3787 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3790 ac_save_IFS=$IFS; IFS='-'
3796 # Remember, the first character of IFS is used to create $*,
3797 # except with old shells:
3800 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3804 if test "$cross_compiling" != "no"; then
3805 HOST_PREFIX="${host_alias}-"
3806 HOST_SUFFIX="-$host_alias"
3813 wx_major_version_number=3
3814 wx_minor_version_number=0
3816 wx_subrelease_number=0
3818 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3819 WX_VERSION=$WX_RELEASE.$wx_release_number
3820 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3822 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3825 wx_top_builddir="`pwd`"
3838 USE_BSD= USE_DARWIN= USE_FREEBSD=
3844 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3850 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3852 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3854 DEFAULT_wxUSE_OLD_COCOA=0
3856 DEFAULT_wxUSE_OSX_CARBON=0
3857 DEFAULT_wxUSE_OSX_COCOA=0
3858 DEFAULT_wxUSE_OSX_IPHONE=0
3859 DEFAULT_wxUSE_MICROWIN=0
3860 DEFAULT_wxUSE_MOTIF=0
3866 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3867 DEFAULT_DEFAULT_wxUSE_GTK=0
3868 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3869 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3870 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3871 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3872 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3873 DEFAULT_DEFAULT_wxUSE_MSW=0
3874 DEFAULT_DEFAULT_wxUSE_PM=0
3875 DEFAULT_DEFAULT_wxUSE_X11=0
3876 DEFAULT_DEFAULT_wxUSE_DFB=0
3880 DYLIB_RPATH_INSTALL=
3881 DYLIB_RPATH_POSTLINK=
3883 DEFAULT_STD_FLAG=yes
3888 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3889 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3890 $as_echo "#define __HPUX__ 1" >>confdefs.h
3893 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3897 $as_echo "#define __LINUX__ 1" >>confdefs.h
3900 if test "x$TMP" = "xalpha"; then
3902 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3905 DEFAULT_DEFAULT_wxUSE_GTK=1
3907 *-*-gnu* | *-*-k*bsd*-gnu )
3910 if test "x$TMP" = "xalpha"; then
3912 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3915 DEFAULT_DEFAULT_wxUSE_GTK=1
3917 *-*-irix5* | *-*-irix6* )
3920 $as_echo "#define __SGI__ 1" >>confdefs.h
3922 $as_echo "#define __SVR4__ 1" >>confdefs.h
3924 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3928 $as_echo "#define __QNX__ 1" >>confdefs.h
3930 DEFAULT_DEFAULT_wxUSE_X11=1
3936 $as_echo "#define __SUN__ 1" >>confdefs.h
3938 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3940 $as_echo "#define __SVR4__ 1" >>confdefs.h
3942 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3943 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3949 $as_echo "#define __SUN__ 1" >>confdefs.h
3951 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3953 $as_echo "#define __BSD__ 1" >>confdefs.h
3955 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3960 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3962 $as_echo "#define __BSD__ 1" >>confdefs.h
3964 DEFAULT_DEFAULT_wxUSE_GTK=1
3966 *-*-openbsd*|*-*-mirbsd*)
3969 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3971 $as_echo "#define __BSD__ 1" >>confdefs.h
3973 DEFAULT_DEFAULT_wxUSE_GTK=1
3978 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3980 $as_echo "#define __BSD__ 1" >>confdefs.h
3982 DEFAULT_DEFAULT_wxUSE_GTK=1
3983 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3985 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3990 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3992 $as_echo "#define __OSF__ 1" >>confdefs.h
3994 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3995 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4000 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4002 $as_echo "#define __SVR4__ 1" >>confdefs.h
4004 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4009 $as_echo "#define __SYSV__ 1" >>confdefs.h
4011 $as_echo "#define __SVR4__ 1" >>confdefs.h
4013 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4019 $as_echo "#define __AIX__ 1" >>confdefs.h
4021 $as_echo "#define __SYSV__ 1" >>confdefs.h
4023 $as_echo "#define __SVR4__ 1" >>confdefs.h
4025 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4032 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4036 *-*-cygwin* | *-*-mingw32* )
4038 DEFAULT_DEFAULT_wxUSE_MSW=1
4044 $as_echo "#define __DOS__ 1" >>confdefs.h
4049 *-pc-os2_emx | *-pc-os2-emx )
4050 $as_echo "#define __EMX__ 1" >>confdefs.h
4053 $as_echo "#define __OS2__ 1" >>confdefs.h
4056 DEFAULT_DEFAULT_wxUSE_PM=1
4058 LDFLAGS="$LDFLAGS -Zcrtdll"
4059 ac_executable_extensions=".exe"
4060 export ac_executable_extensions
4064 for ac_dir in $PATH; do
4066 if test -z "$ac_TEMP_PATH"; then
4067 ac_TEMP_PATH="$ac_dir"
4069 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4072 export PATH="$ac_TEMP_PATH"
4080 $as_echo "#define __BSD__ 1" >>confdefs.h
4082 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4084 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4090 $as_echo "#define __BSD__ 1" >>confdefs.h
4092 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4094 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4096 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=1
4101 $as_echo "#define __BEOS__ 1" >>confdefs.h
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4107 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4109 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4111 DEFAULT_DEFAULT_wxUSE_X11=1
4112 DEFAULT_wxUSE_SHARED=no
4117 DEFAULT_wxUSE_ALL_FEATURES=yes
4119 DEFAULT_wxUSE_STD_CONTAINERS=no
4120 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4121 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4123 DEFAULT_wxUSE_DMALLOC=no
4124 DEFAULT_wxUSE_LIBGNOMEVFS=no
4125 DEFAULT_wxUSE_LIBHILDON=no
4126 DEFAULT_wxUSE_LIBHILDON2=no
4127 DEFAULT_wxUSE_LIBMSPACK=no
4128 DEFAULT_wxUSE_LIBSDL=no
4130 DEFAULT_wxUSE_ACCESSIBILITY=no
4131 DEFAULT_wxUSE_IPV6=no
4132 DEFAULT_wxUSE_GSTREAMER8=no
4133 DEFAULT_wxUSE_UNICODE_UTF8=no
4134 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4136 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4137 DEFAULT_wxUSE_OPENGL=auto
4138 DEFAULT_wxUSE_MEDIACTRL=auto
4139 DEFAULT_wxUSE_COMPILER_TLS=auto
4140 DEFAULT_wxUSE_HOTKEY=auto
4141 DEFAULT_wxUSE_METAFILE=auto
4143 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4144 DEFAULT_wxUSE_MAC_ARCH=no
4146 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4148 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4154 enablestring=disable
4156 if test -z "$defaultval"; then
4157 if test x"$enablestring" = xdisable; then
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4165 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4166 # Check whether --enable-gui was given.
4167 if test "${enable_gui+set}" = set; then :
4168 enableval=$enable_gui;
4169 if test "$enableval" = yes; then
4170 wx_cv_use_gui='wxUSE_GUI=yes'
4172 wx_cv_use_gui='wxUSE_GUI=no'
4177 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4182 eval "$wx_cv_use_gui"
4184 if test x"$enablestring" = xdisable; then
4185 if test $wxUSE_GUI = no; then
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4195 $as_echo "$result" >&6; }
4200 if test -z "$defaultval"; then
4201 if test x"$enablestring" = xdisable; then
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4209 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4210 # Check whether --enable-monolithic was given.
4211 if test "${enable_monolithic+set}" = set; then :
4212 enableval=$enable_monolithic;
4213 if test "$enableval" = yes; then
4214 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4216 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4221 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4226 eval "$wx_cv_use_monolithic"
4228 if test x"$enablestring" = xdisable; then
4229 if test $wxUSE_MONOLITHIC = no; then
4235 result=$wxUSE_MONOLITHIC
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4239 $as_echo "$result" >&6; }
4244 if test -z "$defaultval"; then
4245 if test x"$enablestring" = xdisable; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4253 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4254 # Check whether --enable-plugins was given.
4255 if test "${enable_plugins+set}" = set; then :
4256 enableval=$enable_plugins;
4257 if test "$enableval" = yes; then
4258 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4260 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4265 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4270 eval "$wx_cv_use_plugins"
4272 if test x"$enablestring" = xdisable; then
4273 if test $wxUSE_PLUGINS = no; then
4279 result=$wxUSE_PLUGINS
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4283 $as_echo "$result" >&6; }
4287 defaultval=$wxUSE_ALL_FEATURES
4288 if test -z "$defaultval"; then
4289 if test x"$withstring" = xwithout; then
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4296 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4298 # Check whether --with-subdirs was given.
4299 if test "${with_subdirs+set}" = set; then :
4300 withval=$with_subdirs;
4301 if test "$withval" = yes; then
4302 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4304 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4309 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4314 eval "$wx_cv_use_subdirs"
4316 if test x"$withstring" = xwithout; then
4317 if test $wxWITH_SUBDIRS = yes; then
4323 result=$wxWITH_SUBDIRS
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4327 $as_echo "$result" >&6; }
4330 # Check whether --with-flavour was given.
4331 if test "${with_flavour+set}" = set; then :
4332 withval=$with_flavour; WX_FLAVOUR="$withval"
4338 if test -z "$defaultval"; then
4339 if test x"$enablestring" = xdisable; then
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4347 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4348 # Check whether --enable-official_build was given.
4349 if test "${enable_official_build+set}" = set; then :
4350 enableval=$enable_official_build;
4351 if test "$enableval" = yes; then
4352 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4354 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4359 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4364 eval "$wx_cv_use_official_build"
4366 if test x"$enablestring" = xdisable; then
4367 if test $wxUSE_OFFICIAL_BUILD = no; then
4373 result=$wxUSE_OFFICIAL_BUILD
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4377 $as_echo "$result" >&6; }
4379 # Check whether --enable-vendor was given.
4380 if test "${enable_vendor+set}" = set; then :
4381 enableval=$enable_vendor; VENDOR="$enableval"
4384 if test "x$VENDOR" = "x"; then
4389 enablestring=disable
4391 if test -z "$defaultval"; then
4392 if test x"$enablestring" = xdisable; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4400 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4401 # Check whether --enable-all-features was given.
4402 if test "${enable_all_features+set}" = set; then :
4403 enableval=$enable_all_features;
4404 if test "$enableval" = yes; then
4405 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4407 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4412 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4417 eval "$wx_cv_use_all_features"
4419 if test x"$enablestring" = xdisable; then
4420 if test $wxUSE_ALL_FEATURES = no; then
4426 result=$wxUSE_ALL_FEATURES
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4430 $as_echo "$result" >&6; }
4433 if test "$wxUSE_ALL_FEATURES" = "no"; then
4434 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4435 DEFAULT_wxUSE_MEDIACTRL=no
4439 if test "$wxUSE_GUI" = "yes"; then
4444 if test -z "$defaultval"; then
4445 if test x"$enablestring" = xdisable; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4453 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4454 # Check whether --enable-universal was given.
4455 if test "${enable_universal+set}" = set; then :
4456 enableval=$enable_universal;
4457 if test "$enableval" = yes; then
4458 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4460 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4465 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4470 eval "$wx_cv_use_universal"
4472 if test x"$enablestring" = xdisable; then
4473 if test $wxUSE_UNIVERSAL = no; then
4479 result=$wxUSE_UNIVERSAL
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4483 $as_echo "$result" >&6; }
4485 if test "$wxUSE_UNIVERSAL" = "yes"; then
4487 # Check whether --with-themes was given.
4488 if test "${with_themes+set}" = set; then :
4489 withval=$with_themes; wxUNIV_THEMES="$withval"
4495 # Check whether --with-gtk was given.
4496 if test "${with_gtk+set}" = set; then :
4497 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4501 # Check whether --with-motif was given.
4502 if test "${with_motif+set}" = set; then :
4503 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4507 # Check whether --with-osx_carbon was given.
4508 if test "${with_osx_carbon+set}" = set; then :
4509 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4513 # Check whether --with-osx_cocoa was given.
4514 if test "${with_osx_cocoa+set}" = set; then :
4515 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4519 # Check whether --with-osx_iphone was given.
4520 if test "${with_osx_iphone+set}" = set; then :
4521 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4525 # Check whether --with-osx was given.
4526 if test "${with_osx+set}" = set; then :
4527 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4531 # Check whether --with-carbon was given.
4532 if test "${with_carbon+set}" = set; then :
4533 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4537 # Check whether --with-cocoa was given.
4538 if test "${with_cocoa+set}" = set; then :
4539 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4543 # Check whether --with-iphone was given.
4544 if test "${with_iphone+set}" = set; then :
4545 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4549 # Check whether --with-mac was given.
4550 if test "${with_mac+set}" = set; then :
4551 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4555 # Check whether --with-old_cocoa was given.
4556 if test "${with_old_cocoa+set}" = set; then :
4557 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4561 # Check whether --with-wine was given.
4562 if test "${with_wine+set}" = set; then :
4563 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4567 # Check whether --with-msw was given.
4568 if test "${with_msw+set}" = set; then :
4569 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4573 # Check whether --with-pm was given.
4574 if test "${with_pm+set}" = set; then :
4575 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4579 # Check whether --with-directfb was given.
4580 if test "${with_directfb+set}" = set; then :
4581 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4585 # Check whether --with-microwin was given.
4586 if test "${with_microwin+set}" = set; then :
4587 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4591 # Check whether --with-x11 was given.
4592 if test "${with_x11+set}" = set; then :
4593 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4599 if test -z "$defaultval"; then
4600 if test x"$enablestring" = xdisable; then
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4608 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4609 # Check whether --enable-nanox was given.
4610 if test "${enable_nanox+set}" = set; then :
4611 enableval=$enable_nanox;
4612 if test "$enableval" = yes; then
4613 wx_cv_use_nanox='wxUSE_NANOX=yes'
4615 wx_cv_use_nanox='wxUSE_NANOX=no'
4620 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4625 eval "$wx_cv_use_nanox"
4627 if test x"$enablestring" = xdisable; then
4628 if test $wxUSE_NANOX = no; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4638 $as_echo "$result" >&6; }
4643 if test -z "$defaultval"; then
4644 if test x"$enablestring" = xdisable; then
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4652 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4653 # Check whether --enable-gpe was given.
4654 if test "${enable_gpe+set}" = set; then :
4655 enableval=$enable_gpe;
4656 if test "$enableval" = yes; then
4657 wx_cv_use_gpe='wxUSE_GPE=yes'
4659 wx_cv_use_gpe='wxUSE_GPE=no'
4664 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4669 eval "$wx_cv_use_gpe"
4671 if test x"$enablestring" = xdisable; then
4672 if test $wxUSE_GPE = no; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4682 $as_echo "$result" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4687 $as_echo_n "checking for toolkit... " >&6; }
4691 # In Wine, we need to default to MSW, not GTK or MOTIF
4692 if test "$wxUSE_WINE" = "yes"; then
4693 DEFAULT_DEFAULT_wxUSE_GTK=0
4694 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4695 DEFAULT_DEFAULT_wxUSE_MSW=1
4702 if test "$wxUSE_GUI" = "yes"; then
4704 if test "$USE_BEOS" = 1; then
4705 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4708 if test "$TOOLKIT_GIVEN" = 1; then
4709 for toolkit in $ALL_TOOLKITS; do
4711 eval "value=\$${var}"
4712 if test "x$value" = "xno"; then
4714 elif test "x$value" != "x"; then
4718 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4719 eval "wx${toolkit}_VERSION=$value"
4723 for toolkit in $ALL_TOOLKITS; do
4724 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4725 eval "wxUSE_$toolkit=\$${var}"
4729 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4730 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4731 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4734 *-pc-os2_emx | *-pc-os2-emx )
4735 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4738 case "$NUM_TOOLKITS" in
4742 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4745 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4748 for toolkit in $ALL_TOOLKITS; do
4750 eval "value=\$${var}"
4751 if test "$value" = 1; then
4752 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4754 $as_echo "$toolkit_echo" >&6; }
4758 if test "x$host_alias" != "x"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4760 $as_echo "base ($host_alias hosted) only" >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4763 $as_echo "base only" >&6; }
4768 if test "$wxUSE_OSX_CARBON" = 1 \
4769 -o "$wxUSE_OSX_COCOA" = 1 \
4770 -o "$wxUSE_OSX_IPHONE" = 1; then
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4777 $as_echo_n "checking for --with-libpng... " >&6; }
4779 # Check whether --with-libpng was given.
4780 if test "${with_libpng+set}" = set; then :
4781 withval=$with_libpng;
4782 if test "$withval" = yes; then
4783 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4784 elif test "$withval" = no; then
4785 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4786 elif test "$withval" = sys; then
4787 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4788 elif test "$withval" = builtin; then
4789 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4791 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4796 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4801 eval "$wx_cv_use_libpng"
4803 if test "$wxUSE_LIBPNG" = yes; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4805 $as_echo "yes" >&6; }
4806 elif test "$wxUSE_LIBPNG" = no; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 $as_echo "no" >&6; }
4809 elif test "$wxUSE_LIBPNG" = sys; then
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4811 $as_echo "system version" >&6; }
4812 elif test "$wxUSE_LIBPNG" = builtin; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4814 $as_echo "builtin version" >&6; }
4816 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4821 $as_echo_n "checking for --with-libjpeg... " >&6; }
4823 # Check whether --with-libjpeg was given.
4824 if test "${with_libjpeg+set}" = set; then :
4825 withval=$with_libjpeg;
4826 if test "$withval" = yes; then
4827 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4828 elif test "$withval" = no; then
4829 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4830 elif test "$withval" = sys; then
4831 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4832 elif test "$withval" = builtin; then
4833 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4835 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4840 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4845 eval "$wx_cv_use_libjpeg"
4847 if test "$wxUSE_LIBJPEG" = yes; then
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4849 $as_echo "yes" >&6; }
4850 elif test "$wxUSE_LIBJPEG" = no; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4852 $as_echo "no" >&6; }
4853 elif test "$wxUSE_LIBJPEG" = sys; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4855 $as_echo "system version" >&6; }
4856 elif test "$wxUSE_LIBJPEG" = builtin; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4858 $as_echo "builtin version" >&6; }
4860 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4865 $as_echo_n "checking for --with-libtiff... " >&6; }
4867 # Check whether --with-libtiff was given.
4868 if test "${with_libtiff+set}" = set; then :
4869 withval=$with_libtiff;
4870 if test "$withval" = yes; then
4871 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4872 elif test "$withval" = no; then
4873 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4874 elif test "$withval" = sys; then
4875 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4876 elif test "$withval" = builtin; then
4877 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4879 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4884 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4889 eval "$wx_cv_use_libtiff"
4891 if test "$wxUSE_LIBTIFF" = yes; then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4893 $as_echo "yes" >&6; }
4894 elif test "$wxUSE_LIBTIFF" = no; then
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 $as_echo "no" >&6; }
4897 elif test "$wxUSE_LIBTIFF" = sys; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4899 $as_echo "system version" >&6; }
4900 elif test "$wxUSE_LIBTIFF" = builtin; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4902 $as_echo "builtin version" >&6; }
4904 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4909 defaultval=$wxUSE_ALL_FEATURES
4910 if test -z "$defaultval"; then
4911 if test x"$withstring" = xwithout; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
4918 $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
4920 # Check whether --with-libjbig was given.
4921 if test "${with_libjbig+set}" = set; then :
4922 withval=$with_libjbig;
4923 if test "$withval" = yes; then
4924 wx_cv_use_libjbig='wxUSE_LIBJBIG=yes'
4926 wx_cv_use_libjbig='wxUSE_LIBJBIG=no'
4931 wx_cv_use_libjbig='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
4936 eval "$wx_cv_use_libjbig"
4938 if test x"$withstring" = xwithout; then
4939 if test $wxUSE_LIBJBIG = yes; then
4945 result=$wxUSE_LIBJBIG
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4949 $as_echo "$result" >&6; }
4953 defaultval=$wxUSE_ALL_FEATURES
4954 if test -z "$defaultval"; then
4955 if test x"$withstring" = xwithout; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
4962 $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
4964 # Check whether --with-liblzma was given.
4965 if test "${with_liblzma+set}" = set; then :
4966 withval=$with_liblzma;
4967 if test "$withval" = yes; then
4968 wx_cv_use_liblzma='wxUSE_LIBLZMA=yes'
4970 wx_cv_use_liblzma='wxUSE_LIBLZMA=no'
4975 wx_cv_use_liblzma='wxUSE_LIBLZMA=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
4980 eval "$wx_cv_use_liblzma"
4982 if test x"$withstring" = xwithout; then
4983 if test $wxUSE_LIBLZMA = yes; then
4989 result=$wxUSE_LIBLZMA
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4993 $as_echo "$result" >&6; }
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4997 $as_echo_n "checking for --with-libxpm... " >&6; }
4999 # Check whether --with-libxpm was given.
5000 if test "${with_libxpm+set}" = set; then :
5001 withval=$with_libxpm;
5002 if test "$withval" = yes; then
5003 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
5004 elif test "$withval" = no; then
5005 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
5006 elif test "$withval" = sys; then
5007 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
5008 elif test "$withval" = builtin; then
5009 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
5011 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5016 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
5021 eval "$wx_cv_use_libxpm"
5023 if test "$wxUSE_LIBXPM" = yes; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5025 $as_echo "yes" >&6; }
5026 elif test "$wxUSE_LIBXPM" = no; then
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5029 elif test "$wxUSE_LIBXPM" = sys; then
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5031 $as_echo "system version" >&6; }
5032 elif test "$wxUSE_LIBXPM" = builtin; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5034 $as_echo "builtin version" >&6; }
5036 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
5041 defaultval=$wxUSE_ALL_FEATURES
5042 if test -z "$defaultval"; then
5043 if test x"$withstring" = xwithout; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
5050 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
5052 # Check whether --with-libiconv was given.
5053 if test "${with_libiconv+set}" = set; then :
5054 withval=$with_libiconv;
5055 if test "$withval" = yes; then
5056 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
5058 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
5063 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
5068 eval "$wx_cv_use_libiconv"
5070 if test x"$withstring" = xwithout; then
5071 if test $wxUSE_LIBICONV = yes; then
5077 result=$wxUSE_LIBICONV
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5081 $as_echo "$result" >&6; }
5085 defaultval=$wxUSE_ALL_FEATURES
5086 if test -z "$defaultval"; then
5087 if test x"$withstring" = xwithout; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5094 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5096 # Check whether --with-libmspack was given.
5097 if test "${with_libmspack+set}" = set; then :
5098 withval=$with_libmspack;
5099 if test "$withval" = yes; then
5100 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5102 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5107 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5112 eval "$wx_cv_use_libmspack"
5114 if test x"$withstring" = xwithout; then
5115 if test $wxUSE_LIBMSPACK = yes; then
5121 result=$wxUSE_LIBMSPACK
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5125 $as_echo "$result" >&6; }
5129 defaultval=$wxUSE_ALL_FEATURES
5130 if test -z "$defaultval"; then
5131 if test x"$withstring" = xwithout; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5138 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5140 # Check whether --with-gtkprint was given.
5141 if test "${with_gtkprint+set}" = set; then :
5142 withval=$with_gtkprint;
5143 if test "$withval" = yes; then
5144 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5146 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5151 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5156 eval "$wx_cv_use_gtkprint"
5158 if test x"$withstring" = xwithout; then
5159 if test $wxUSE_GTKPRINT = yes; then
5165 result=$wxUSE_GTKPRINT
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5169 $as_echo "$result" >&6; }
5173 defaultval=$wxUSE_ALL_FEATURES
5174 if test -z "$defaultval"; then
5175 if test x"$withstring" = xwithout; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5182 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5184 # Check whether --with-gnomevfs was given.
5185 if test "${with_gnomevfs+set}" = set; then :
5186 withval=$with_gnomevfs;
5187 if test "$withval" = yes; then
5188 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5190 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5195 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5200 eval "$wx_cv_use_gnomevfs"
5202 if test x"$withstring" = xwithout; then
5203 if test $wxUSE_LIBGNOMEVFS = yes; then
5209 result=$wxUSE_LIBGNOMEVFS
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5213 $as_echo "$result" >&6; }
5217 defaultval=$wxUSE_ALL_FEATURES
5218 if test -z "$defaultval"; then
5219 if test x"$withstring" = xwithout; then
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5226 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5228 # Check whether --with-libnotify was given.
5229 if test "${with_libnotify+set}" = set; then :
5230 withval=$with_libnotify;
5231 if test "$withval" = yes; then
5232 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
5234 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
5239 wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5244 eval "$wx_cv_use_libnotify"
5246 if test x"$withstring" = xwithout; then
5247 if test $wxUSE_LIBNOTIFY = yes; then
5253 result=$wxUSE_LIBNOTIFY
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5257 $as_echo "$result" >&6; }
5261 defaultval=$wxUSE_ALL_FEATURES
5262 if test -z "$defaultval"; then
5263 if test x"$withstring" = xwithout; then
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5270 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5272 # Check whether --with-hildon was given.
5273 if test "${with_hildon+set}" = set; then :
5274 withval=$with_hildon;
5275 if test "$withval" = yes; then
5276 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5278 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5283 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5288 eval "$wx_cv_use_hildon"
5290 if test x"$withstring" = xwithout; then
5291 if test $wxUSE_LIBHILDON = yes; then
5297 result=$wxUSE_LIBHILDON
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5301 $as_echo "$result" >&6; }
5305 defaultval=$wxUSE_ALL_FEATURES
5306 if test -z "$defaultval"; then
5307 if test x"$withstring" = xwithout; then
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5314 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5316 # Check whether --with-opengl was given.
5317 if test "${with_opengl+set}" = set; then :
5318 withval=$with_opengl;
5319 if test "$withval" = yes; then
5320 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5322 wx_cv_use_opengl='wxUSE_OPENGL=no'
5327 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5332 eval "$wx_cv_use_opengl"
5334 if test x"$withstring" = xwithout; then
5335 if test $wxUSE_OPENGL = yes; then
5341 result=$wxUSE_OPENGL
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5345 $as_echo "$result" >&6; }
5352 defaultval=$wxUSE_ALL_FEATURES
5353 if test -z "$defaultval"; then
5354 if test x"$withstring" = xwithout; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5361 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5363 # Check whether --with-dmalloc was given.
5364 if test "${with_dmalloc+set}" = set; then :
5365 withval=$with_dmalloc;
5366 if test "$withval" = yes; then
5367 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5369 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5374 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5379 eval "$wx_cv_use_dmalloc"
5381 if test x"$withstring" = xwithout; then
5382 if test $wxUSE_DMALLOC = yes; then
5388 result=$wxUSE_DMALLOC
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5392 $as_echo "$result" >&6; }
5396 defaultval=$wxUSE_ALL_FEATURES
5397 if test -z "$defaultval"; then
5398 if test x"$withstring" = xwithout; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5405 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5407 # Check whether --with-sdl was given.
5408 if test "${with_sdl+set}" = set; then :
5410 if test "$withval" = yes; then
5411 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5413 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5418 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5423 eval "$wx_cv_use_sdl"
5425 if test x"$withstring" = xwithout; then
5426 if test $wxUSE_LIBSDL = yes; then
5432 result=$wxUSE_LIBSDL
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5436 $as_echo "$result" >&6; }
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5440 $as_echo_n "checking for --with-regex... " >&6; }
5442 # Check whether --with-regex was given.
5443 if test "${with_regex+set}" = set; then :
5444 withval=$with_regex;
5445 if test "$withval" = yes; then
5446 wx_cv_use_regex='wxUSE_REGEX=yes'
5447 elif test "$withval" = no; then
5448 wx_cv_use_regex='wxUSE_REGEX=no'
5449 elif test "$withval" = sys; then
5450 wx_cv_use_regex='wxUSE_REGEX=sys'
5451 elif test "$withval" = builtin; then
5452 wx_cv_use_regex='wxUSE_REGEX=builtin'
5454 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5459 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5464 eval "$wx_cv_use_regex"
5466 if test "$wxUSE_REGEX" = yes; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5468 $as_echo "yes" >&6; }
5469 elif test "$wxUSE_REGEX" = no; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5472 elif test "$wxUSE_REGEX" = sys; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5474 $as_echo "system version" >&6; }
5475 elif test "$wxUSE_REGEX" = builtin; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5477 $as_echo "builtin version" >&6; }
5479 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5484 $as_echo_n "checking for --with-zlib... " >&6; }
5486 # Check whether --with-zlib was given.
5487 if test "${with_zlib+set}" = set; then :
5489 if test "$withval" = yes; then
5490 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5491 elif test "$withval" = no; then
5492 wx_cv_use_zlib='wxUSE_ZLIB=no'
5493 elif test "$withval" = sys; then
5494 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5495 elif test "$withval" = builtin; then
5496 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5498 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5503 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5508 eval "$wx_cv_use_zlib"
5510 if test "$wxUSE_ZLIB" = yes; then
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5512 $as_echo "yes" >&6; }
5513 elif test "$wxUSE_ZLIB" = no; then
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5516 elif test "$wxUSE_ZLIB" = sys; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5518 $as_echo "system version" >&6; }
5519 elif test "$wxUSE_ZLIB" = builtin; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5521 $as_echo "builtin version" >&6; }
5523 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5528 $as_echo_n "checking for --with-expat... " >&6; }
5530 # Check whether --with-expat was given.
5531 if test "${with_expat+set}" = set; then :
5532 withval=$with_expat;
5533 if test "$withval" = yes; then
5534 wx_cv_use_expat='wxUSE_EXPAT=yes'
5535 elif test "$withval" = no; then
5536 wx_cv_use_expat='wxUSE_EXPAT=no'
5537 elif test "$withval" = sys; then
5538 wx_cv_use_expat='wxUSE_EXPAT=sys'
5539 elif test "$withval" = builtin; then
5540 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5542 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5547 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5552 eval "$wx_cv_use_expat"
5554 if test "$wxUSE_EXPAT" = yes; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5556 $as_echo "yes" >&6; }
5557 elif test "$wxUSE_EXPAT" = no; then
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559 $as_echo "no" >&6; }
5560 elif test "$wxUSE_EXPAT" = sys; then
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5562 $as_echo "system version" >&6; }
5563 elif test "$wxUSE_EXPAT" = builtin; then
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5565 $as_echo "builtin version" >&6; }
5567 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5572 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5574 # Check whether --with-macosx-sdk was given.
5575 if test "${with_macosx_sdk+set}" = set; then :
5576 withval=$with_macosx_sdk;
5577 wxUSE_MACOSX_SDK=$withval
5578 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5583 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5586 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5588 # Check whether --with-macosx-version-min was given.
5589 if test "${with_macosx_version_min+set}" = set; then :
5590 withval=$with_macosx_version_min;
5591 wxUSE_MACOSX_VERSION_MIN=$withval
5592 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5597 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5601 $as_echo_n "checking for --enable-debug... " >&6; }
5602 # Check whether --enable-debug was given.
5603 if test "${enable_debug+set}" = set; then :
5604 enableval=$enable_debug;
5605 if test "$enableval" = yes; then
5607 elif test "$enableval" = no; then
5609 elif test "$enableval" = max; then
5611 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5613 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5622 $as_echo "${enable_debug-default}" >&6; }
5624 case "$wxUSE_DEBUG" in
5626 DEFAULT_wxUSE_DEBUG_FLAG=yes
5627 DEFAULT_wxUSE_DEBUG_INFO=yes
5629 DEFAULT_wxUSE_OPTIMISE=no
5633 DEFAULT_wxUSE_DEBUG_FLAG=no
5634 DEFAULT_wxUSE_DEBUG_INFO=no
5638 DEFAULT_wxUSE_DEBUG_FLAG=yes
5639 DEFAULT_wxUSE_DEBUG_INFO=no
5644 enablestring=disable
5646 if test -z "$defaultval"; then
5647 if test x"$enablestring" = xdisable; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5655 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5656 # Check whether --enable-debug_flag was given.
5657 if test "${enable_debug_flag+set}" = set; then :
5658 enableval=$enable_debug_flag;
5659 if test "$enableval" = yes; then
5660 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5662 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5667 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5672 eval "$wx_cv_use_debug_flag"
5674 if test x"$enablestring" = xdisable; then
5675 if test $wxUSE_DEBUG_FLAG = no; then
5681 result=$wxUSE_DEBUG_FLAG
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5685 $as_echo "$result" >&6; }
5690 if test -z "$defaultval"; then
5691 if test x"$enablestring" = xdisable; then
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5699 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5700 # Check whether --enable-debug_info was given.
5701 if test "${enable_debug_info+set}" = set; then :
5702 enableval=$enable_debug_info;
5703 if test "$enableval" = yes; then
5704 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5706 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5711 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5716 eval "$wx_cv_use_debug_info"
5718 if test x"$enablestring" = xdisable; then
5719 if test $wxUSE_DEBUG_INFO = no; then
5725 result=$wxUSE_DEBUG_INFO
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5729 $as_echo "$result" >&6; }
5736 if test -z "$defaultval"; then
5737 if test x"$enablestring" = xdisable; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5745 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5746 # Check whether --enable-debug_gdb was given.
5747 if test "${enable_debug_gdb+set}" = set; then :
5748 enableval=$enable_debug_gdb;
5749 if test "$enableval" = yes; then
5750 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5752 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5757 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5762 eval "$wx_cv_use_debug_gdb"
5764 if test x"$enablestring" = xdisable; then
5765 if test $wxUSE_DEBUG_GDB = no; then
5771 result=$wxUSE_DEBUG_GDB
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5775 $as_echo "$result" >&6; }
5780 if test -z "$defaultval"; then
5781 if test x"$enablestring" = xdisable; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5789 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5790 # Check whether --enable-debug_cntxt was given.
5791 if test "${enable_debug_cntxt+set}" = set; then :
5792 enableval=$enable_debug_cntxt;
5793 if test "$enableval" = yes; then
5794 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5796 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5801 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5806 eval "$wx_cv_use_debug_cntxt"
5808 if test x"$enablestring" = xdisable; then
5809 if test $wxUSE_DEBUG_CONTEXT = no; then
5815 result=$wxUSE_DEBUG_CONTEXT
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5819 $as_echo "$result" >&6; }
5824 if test -z "$defaultval"; then
5825 if test x"$enablestring" = xdisable; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5833 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5834 # Check whether --enable-mem_tracing was given.
5835 if test "${enable_mem_tracing+set}" = set; then :
5836 enableval=$enable_mem_tracing;
5837 if test "$enableval" = yes; then
5838 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5840 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5845 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5850 eval "$wx_cv_use_mem_tracing"
5852 if test x"$enablestring" = xdisable; then
5853 if test $wxUSE_MEM_TRACING = no; then
5859 result=$wxUSE_MEM_TRACING
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5863 $as_echo "$result" >&6; }
5868 enablestring=disable
5870 if test -z "$defaultval"; then
5871 if test x"$enablestring" = xdisable; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5879 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5880 # Check whether --enable-shared was given.
5881 if test "${enable_shared+set}" = set; then :
5882 enableval=$enable_shared;
5883 if test "$enableval" = yes; then
5884 wx_cv_use_shared='wxUSE_SHARED=yes'
5886 wx_cv_use_shared='wxUSE_SHARED=no'
5891 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5896 eval "$wx_cv_use_shared"
5898 if test x"$enablestring" = xdisable; then
5899 if test $wxUSE_SHARED = no; then
5905 result=$wxUSE_SHARED
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5909 $as_echo "$result" >&6; }
5914 if test -z "$defaultval"; then
5915 if test x"$enablestring" = xdisable; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5923 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5924 # Check whether --enable-stl was given.
5925 if test "${enable_stl+set}" = set; then :
5926 enableval=$enable_stl;
5927 if test "$enableval" = yes; then
5928 wx_cv_use_stl='wxUSE_STL=yes'
5930 wx_cv_use_stl='wxUSE_STL=no'
5935 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5940 eval "$wx_cv_use_stl"
5942 if test x"$enablestring" = xdisable; then
5943 if test $wxUSE_STL = no; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5953 $as_echo "$result" >&6; }
5955 if test "$wxUSE_STL" = "yes"; then
5956 DEFAULT_wxUSE_STD_CONTAINERS=yes
5957 DEFAULT_wxUSE_STD_IOSTREAM=yes
5958 DEFAULT_wxUSE_STD_STRING=yes
5963 if test -z "$defaultval"; then
5964 if test x"$enablestring" = xdisable; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5972 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5973 # Check whether --enable-std_containers was given.
5974 if test "${enable_std_containers+set}" = set; then :
5975 enableval=$enable_std_containers;
5976 if test "$enableval" = yes; then
5977 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5979 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5984 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5989 eval "$wx_cv_use_std_containers"
5991 if test x"$enablestring" = xdisable; then
5992 if test $wxUSE_STD_CONTAINERS = no; then
5998 result=$wxUSE_STD_CONTAINERS
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6002 $as_echo "$result" >&6; }
6007 if test -z "$defaultval"; then
6008 if test x"$enablestring" = xdisable; then
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
6016 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
6017 # Check whether --enable-std_iostreams was given.
6018 if test "${enable_std_iostreams+set}" = set; then :
6019 enableval=$enable_std_iostreams;
6020 if test "$enableval" = yes; then
6021 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6023 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6028 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
6033 eval "$wx_cv_use_std_iostreams"
6035 if test x"$enablestring" = xdisable; then
6036 if test $wxUSE_STD_IOSTREAM = no; then
6042 result=$wxUSE_STD_IOSTREAM
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6046 $as_echo "$result" >&6; }
6051 if test -z "$defaultval"; then
6052 if test x"$enablestring" = xdisable; then
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
6060 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
6061 # Check whether --enable-std_string was given.
6062 if test "${enable_std_string+set}" = set; then :
6063 enableval=$enable_std_string;
6064 if test "$enableval" = yes; then
6065 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6067 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6072 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6077 eval "$wx_cv_use_std_string"
6079 if test x"$enablestring" = xdisable; then
6080 if test $wxUSE_STD_STRING = no; then
6086 result=$wxUSE_STD_STRING
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6090 $as_echo "$result" >&6; }
6095 if test -z "$defaultval"; then
6096 if test x"$enablestring" = xdisable; then
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6104 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6105 # Check whether --enable-std_string_conv_in_wxstring was given.
6106 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6107 enableval=$enable_std_string_conv_in_wxstring;
6108 if test "$enableval" = yes; then
6109 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6111 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6116 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6121 eval "$wx_cv_use_std_string_conv_in_wxstring"
6123 if test x"$enablestring" = xdisable; then
6124 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6130 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6134 $as_echo "$result" >&6; }
6137 enablestring=disable
6139 if test -z "$defaultval"; then
6140 if test x"$enablestring" = xdisable; then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6148 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6149 # Check whether --enable-unicode was given.
6150 if test "${enable_unicode+set}" = set; then :
6151 enableval=$enable_unicode;
6152 if test "$enableval" = yes; then
6153 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6155 wx_cv_use_unicode='wxUSE_UNICODE=no'
6160 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6165 eval "$wx_cv_use_unicode"
6167 if test x"$enablestring" = xdisable; then
6168 if test $wxUSE_UNICODE = no; then
6174 result=$wxUSE_UNICODE
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6178 $as_echo "$result" >&6; }
6183 if test -z "$defaultval"; then
6184 if test x"$enablestring" = xdisable; then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6192 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6193 # Check whether --enable-mslu was given.
6194 if test "${enable_mslu+set}" = set; then :
6195 enableval=$enable_mslu;
6196 if test "$enableval" = yes; then
6197 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6199 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6204 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6209 eval "$wx_cv_use_mslu"
6211 if test x"$enablestring" = xdisable; then
6212 if test $wxUSE_UNICODE_MSLU = no; then
6218 result=$wxUSE_UNICODE_MSLU
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6222 $as_echo "$result" >&6; }
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6227 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6228 # Check whether --enable-utf8 was given.
6229 if test "${enable_utf8+set}" = set; then :
6230 enableval=$enable_utf8;
6231 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6235 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6240 eval "$wx_cv_use_utf8"
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6243 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6248 if test -z "$defaultval"; then
6249 if test x"$enablestring" = xdisable; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6257 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6258 # Check whether --enable-utf8only was given.
6259 if test "${enable_utf8only+set}" = set; then :
6260 enableval=$enable_utf8only;
6261 if test "$enableval" = yes; then
6262 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6264 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6269 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6274 eval "$wx_cv_use_utf8only"
6276 if test x"$enablestring" = xdisable; then
6277 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6283 result=$wxUSE_UNICODE_UTF8_LOCALE
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6287 $as_echo "$result" >&6; }
6292 if test -z "$defaultval"; then
6293 if test x"$enablestring" = xdisable; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6301 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6302 # Check whether --enable-extended_rtti was given.
6303 if test "${enable_extended_rtti+set}" = set; then :
6304 enableval=$enable_extended_rtti;
6305 if test "$enableval" = yes; then
6306 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6308 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6313 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6318 eval "$wx_cv_use_extended_rtti"
6320 if test x"$enablestring" = xdisable; then
6321 if test $wxUSE_EXTENDED_RTTI = no; then
6327 result=$wxUSE_EXTENDED_RTTI
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6331 $as_echo "$result" >&6; }
6333 if test "$USE_OS2" = 1; then
6334 DEFAULT_wxUSE_OMF=no
6338 if test -z "$defaultval"; then
6339 if test x"$enablestring" = xdisable; then
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6347 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6348 # Check whether --enable-omf was given.
6349 if test "${enable_omf+set}" = set; then :
6350 enableval=$enable_omf;
6351 if test "$enableval" = yes; then
6352 wx_cv_use_omf='wxUSE_OMF=yes'
6354 wx_cv_use_omf='wxUSE_OMF=no'
6359 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6364 eval "$wx_cv_use_omf"
6366 if test x"$enablestring" = xdisable; then
6367 if test $wxUSE_OMF = no; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6377 $as_echo "$result" >&6; }
6382 enablestring=disable
6384 if test -z "$defaultval"; then
6385 if test x"$enablestring" = xdisable; then
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6393 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6394 # Check whether --enable-optimise was given.
6395 if test "${enable_optimise+set}" = set; then :
6396 enableval=$enable_optimise;
6397 if test "$enableval" = yes; then
6398 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6400 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6405 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6410 eval "$wx_cv_use_optimise"
6412 if test x"$enablestring" = xdisable; then
6413 if test $wxUSE_OPTIMISE = no; then
6419 result=$wxUSE_OPTIMISE
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6423 $as_echo "$result" >&6; }
6429 if test -z "$defaultval"; then
6430 if test x"$enablestring" = xdisable; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6438 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6439 # Check whether --enable-profile was given.
6440 if test "${enable_profile+set}" = set; then :
6441 enableval=$enable_profile;
6442 if test "$enableval" = yes; then
6443 wx_cv_use_profile='wxUSE_PROFILE=yes'
6445 wx_cv_use_profile='wxUSE_PROFILE=no'
6450 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6455 eval "$wx_cv_use_profile"
6457 if test x"$enablestring" = xdisable; then
6458 if test $wxUSE_PROFILE = no; then
6464 result=$wxUSE_PROFILE
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6468 $as_echo "$result" >&6; }
6473 if test -z "$defaultval"; then
6474 if test x"$enablestring" = xdisable; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6482 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6483 # Check whether --enable-no_rtti was given.
6484 if test "${enable_no_rtti+set}" = set; then :
6485 enableval=$enable_no_rtti;
6486 if test "$enableval" = yes; then
6487 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6489 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6494 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6499 eval "$wx_cv_use_no_rtti"
6501 if test x"$enablestring" = xdisable; then
6502 if test $wxUSE_NO_RTTI = no; then
6508 result=$wxUSE_NO_RTTI
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6512 $as_echo "$result" >&6; }
6517 if test -z "$defaultval"; then
6518 if test x"$enablestring" = xdisable; then
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6526 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6527 # Check whether --enable-no_exceptions was given.
6528 if test "${enable_no_exceptions+set}" = set; then :
6529 enableval=$enable_no_exceptions;
6530 if test "$enableval" = yes; then
6531 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6533 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6538 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6543 eval "$wx_cv_use_no_exceptions"
6545 if test x"$enablestring" = xdisable; then
6546 if test $wxUSE_NO_EXCEPTIONS = no; then
6552 result=$wxUSE_NO_EXCEPTIONS
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6556 $as_echo "$result" >&6; }
6561 if test -z "$defaultval"; then
6562 if test x"$enablestring" = xdisable; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6570 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6571 # Check whether --enable-permissive was given.
6572 if test "${enable_permissive+set}" = set; then :
6573 enableval=$enable_permissive;
6574 if test "$enableval" = yes; then
6575 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6577 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6582 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6587 eval "$wx_cv_use_permissive"
6589 if test x"$enablestring" = xdisable; then
6590 if test $wxUSE_PERMISSIVE = no; then
6596 result=$wxUSE_PERMISSIVE
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6600 $as_echo "$result" >&6; }
6605 if test -z "$defaultval"; then
6606 if test x"$enablestring" = xdisable; then
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6614 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6615 # Check whether --enable-no_deps was given.
6616 if test "${enable_no_deps+set}" = set; then :
6617 enableval=$enable_no_deps;
6618 if test "$enableval" = yes; then
6619 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6621 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6626 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6631 eval "$wx_cv_use_no_deps"
6633 if test x"$enablestring" = xdisable; then
6634 if test $wxUSE_NO_DEPS = no; then
6640 result=$wxUSE_NO_DEPS
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6644 $as_echo "$result" >&6; }
6647 enablestring=disable
6649 if test -z "$defaultval"; then
6650 if test x"$enablestring" = xdisable; then
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6658 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6659 # Check whether --enable-vararg_macros was given.
6660 if test "${enable_vararg_macros+set}" = set; then :
6661 enableval=$enable_vararg_macros;
6662 if test "$enableval" = yes; then
6663 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6665 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6670 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6675 eval "$wx_cv_use_vararg_macros"
6677 if test x"$enablestring" = xdisable; then
6678 if test $wxUSE_VARARG_MACROS = no; then
6684 result=$wxUSE_VARARG_MACROS
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6688 $as_echo "$result" >&6; }
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6694 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6695 # Check whether --enable-universal_binary was given.
6696 if test "${enable_universal_binary+set}" = set; then :
6697 enableval=$enable_universal_binary;
6698 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6702 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6707 eval "$wx_cv_use_universal_binary"
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6710 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6715 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6716 # Check whether --enable-macosx_arch was given.
6717 if test "${enable_macosx_arch+set}" = set; then :
6718 enableval=$enable_macosx_arch;
6719 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6723 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6728 eval "$wx_cv_use_macosx_arch"
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6731 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6737 if test -z "$defaultval"; then
6738 if test x"$enablestring" = xdisable; then
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6746 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6747 # Check whether --enable-compat26 was given.
6748 if test "${enable_compat26+set}" = set; then :
6749 enableval=$enable_compat26;
6750 if test "$enableval" = yes; then
6751 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6753 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6758 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6763 eval "$wx_cv_use_compat26"
6765 if test x"$enablestring" = xdisable; then
6766 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6772 result=$WXWIN_COMPATIBILITY_2_6
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6776 $as_echo "$result" >&6; }
6779 enablestring=disable
6781 if test -z "$defaultval"; then
6782 if test x"$enablestring" = xdisable; then
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6790 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6791 # Check whether --enable-compat28 was given.
6792 if test "${enable_compat28+set}" = set; then :
6793 enableval=$enable_compat28;
6794 if test "$enableval" = yes; then
6795 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6797 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6802 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6807 eval "$wx_cv_use_compat28"
6809 if test x"$enablestring" = xdisable; then
6810 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6816 result=$WXWIN_COMPATIBILITY_2_8
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6820 $as_echo "$result" >&6; }
6824 enablestring=disable
6826 if test -z "$defaultval"; then
6827 if test x"$enablestring" = xdisable; then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6835 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6836 # Check whether --enable-rpath was given.
6837 if test "${enable_rpath+set}" = set; then :
6838 enableval=$enable_rpath;
6839 if test "$enableval" = yes; then
6840 wx_cv_use_rpath='wxUSE_RPATH=yes'
6842 wx_cv_use_rpath='wxUSE_RPATH=no'
6847 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6852 eval "$wx_cv_use_rpath"
6854 if test x"$enablestring" = xdisable; then
6855 if test $wxUSE_RPATH = no; then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6865 $as_echo "$result" >&6; }
6871 if test -z "$defaultval"; then
6872 if test x"$enablestring" = xdisable; then
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6880 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6881 # Check whether --enable-objc_uniquifying was given.
6882 if test "${enable_objc_uniquifying+set}" = set; then :
6883 enableval=$enable_objc_uniquifying;
6884 if test "$enableval" = yes; then
6885 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6887 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6892 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6897 eval "$wx_cv_use_objc_uniquifying"
6899 if test x"$enablestring" = xdisable; then
6900 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6906 result=$wxUSE_OBJC_UNIQUIFYING
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6910 $as_echo "$result" >&6; }
6914 enablestring=disable
6916 if test -z "$defaultval"; then
6917 if test x"$enablestring" = xdisable; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6925 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6926 # Check whether --enable-visibility was given.
6927 if test "${enable_visibility+set}" = set; then :
6928 enableval=$enable_visibility;
6929 if test "$enableval" = yes; then
6930 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6932 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6937 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6942 eval "$wx_cv_use_visibility"
6944 if test x"$enablestring" = xdisable; then
6945 if test $wxUSE_VISIBILITY = no; then
6951 result=$wxUSE_VISIBILITY
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6955 $as_echo "$result" >&6; }
6958 enablestring=disable
6960 if test -z "$defaultval"; then
6961 if test x"$enablestring" = xdisable; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6969 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6970 # Check whether --enable-tls was given.
6971 if test "${enable_tls+set}" = set; then :
6972 enableval=$enable_tls;
6973 if test "$enableval" = yes; then
6974 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6976 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6981 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6986 eval "$wx_cv_use_tls"
6988 if test x"$enablestring" = xdisable; then
6989 if test $wxUSE_COMPILER_TLS = no; then
6995 result=$wxUSE_COMPILER_TLS
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6999 $as_echo "$result" >&6; }
7005 defaultval=$wxUSE_ALL_FEATURES
7006 if test -z "$defaultval"; then
7007 if test x"$enablestring" = xdisable; then
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
7015 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
7016 # Check whether --enable-intl was given.
7017 if test "${enable_intl+set}" = set; then :
7018 enableval=$enable_intl;
7019 if test "$enableval" = yes; then
7020 wx_cv_use_intl='wxUSE_INTL=yes'
7022 wx_cv_use_intl='wxUSE_INTL=no'
7027 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
7032 eval "$wx_cv_use_intl"
7034 if test x"$enablestring" = xdisable; then
7035 if test $wxUSE_INTL = no; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7045 $as_echo "$result" >&6; }
7049 defaultval=$wxUSE_ALL_FEATURES
7050 if test -z "$defaultval"; then
7051 if test x"$enablestring" = xdisable; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
7059 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
7060 # Check whether --enable-xlocale was given.
7061 if test "${enable_xlocale+set}" = set; then :
7062 enableval=$enable_xlocale;
7063 if test "$enableval" = yes; then
7064 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7066 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7071 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7076 eval "$wx_cv_use_xlocale"
7078 if test x"$enablestring" = xdisable; then
7079 if test $wxUSE_XLOCALE = no; then
7085 result=$wxUSE_XLOCALE
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7089 $as_echo "$result" >&6; }
7093 defaultval=$wxUSE_ALL_FEATURES
7094 if test -z "$defaultval"; then
7095 if test x"$enablestring" = xdisable; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7103 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7104 # Check whether --enable-config was given.
7105 if test "${enable_config+set}" = set; then :
7106 enableval=$enable_config;
7107 if test "$enableval" = yes; then
7108 wx_cv_use_config='wxUSE_CONFIG=yes'
7110 wx_cv_use_config='wxUSE_CONFIG=no'
7115 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7120 eval "$wx_cv_use_config"
7122 if test x"$enablestring" = xdisable; then
7123 if test $wxUSE_CONFIG = no; then
7129 result=$wxUSE_CONFIG
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7133 $as_echo "$result" >&6; }
7138 defaultval=$wxUSE_ALL_FEATURES
7139 if test -z "$defaultval"; then
7140 if test x"$enablestring" = xdisable; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7148 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7149 # Check whether --enable-protocols was given.
7150 if test "${enable_protocols+set}" = set; then :
7151 enableval=$enable_protocols;
7152 if test "$enableval" = yes; then
7153 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7155 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7160 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7165 eval "$wx_cv_use_protocols"
7167 if test x"$enablestring" = xdisable; then
7168 if test $wxUSE_PROTOCOL = no; then
7174 result=$wxUSE_PROTOCOL
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7178 $as_echo "$result" >&6; }
7182 defaultval=$wxUSE_ALL_FEATURES
7183 if test -z "$defaultval"; then
7184 if test x"$enablestring" = xdisable; then
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7192 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7193 # Check whether --enable-ftp was given.
7194 if test "${enable_ftp+set}" = set; then :
7195 enableval=$enable_ftp;
7196 if test "$enableval" = yes; then
7197 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7199 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7204 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7209 eval "$wx_cv_use_ftp"
7211 if test x"$enablestring" = xdisable; then
7212 if test $wxUSE_PROTOCOL_FTP = no; then
7218 result=$wxUSE_PROTOCOL_FTP
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7222 $as_echo "$result" >&6; }
7226 defaultval=$wxUSE_ALL_FEATURES
7227 if test -z "$defaultval"; then
7228 if test x"$enablestring" = xdisable; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7236 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7237 # Check whether --enable-http was given.
7238 if test "${enable_http+set}" = set; then :
7239 enableval=$enable_http;
7240 if test "$enableval" = yes; then
7241 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7243 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7248 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7253 eval "$wx_cv_use_http"
7255 if test x"$enablestring" = xdisable; then
7256 if test $wxUSE_PROTOCOL_HTTP = no; then
7262 result=$wxUSE_PROTOCOL_HTTP
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7266 $as_echo "$result" >&6; }
7270 defaultval=$wxUSE_ALL_FEATURES
7271 if test -z "$defaultval"; then
7272 if test x"$enablestring" = xdisable; then
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7280 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7281 # Check whether --enable-fileproto was given.
7282 if test "${enable_fileproto+set}" = set; then :
7283 enableval=$enable_fileproto;
7284 if test "$enableval" = yes; then
7285 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7287 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7292 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7297 eval "$wx_cv_use_fileproto"
7299 if test x"$enablestring" = xdisable; then
7300 if test $wxUSE_PROTOCOL_FILE = no; then
7306 result=$wxUSE_PROTOCOL_FILE
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7310 $as_echo "$result" >&6; }
7314 defaultval=$wxUSE_ALL_FEATURES
7315 if test -z "$defaultval"; then
7316 if test x"$enablestring" = xdisable; then
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7324 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7325 # Check whether --enable-sockets was given.
7326 if test "${enable_sockets+set}" = set; then :
7327 enableval=$enable_sockets;
7328 if test "$enableval" = yes; then
7329 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7331 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7336 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7341 eval "$wx_cv_use_sockets"
7343 if test x"$enablestring" = xdisable; then
7344 if test $wxUSE_SOCKETS = no; then
7350 result=$wxUSE_SOCKETS
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7354 $as_echo "$result" >&6; }
7358 defaultval=$wxUSE_ALL_FEATURES
7359 if test -z "$defaultval"; then
7360 if test x"$enablestring" = xdisable; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7368 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7369 # Check whether --enable-ipv6 was given.
7370 if test "${enable_ipv6+set}" = set; then :
7371 enableval=$enable_ipv6;
7372 if test "$enableval" = yes; then
7373 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7375 wx_cv_use_ipv6='wxUSE_IPV6=no'
7380 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7385 eval "$wx_cv_use_ipv6"
7387 if test x"$enablestring" = xdisable; then
7388 if test $wxUSE_IPV6 = no; then
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7398 $as_echo "$result" >&6; }
7402 defaultval=$wxUSE_ALL_FEATURES
7403 if test -z "$defaultval"; then
7404 if test x"$enablestring" = xdisable; then
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7412 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7413 # Check whether --enable-ole was given.
7414 if test "${enable_ole+set}" = set; then :
7415 enableval=$enable_ole;
7416 if test "$enableval" = yes; then
7417 wx_cv_use_ole='wxUSE_OLE=yes'
7419 wx_cv_use_ole='wxUSE_OLE=no'
7424 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7429 eval "$wx_cv_use_ole"
7431 if test x"$enablestring" = xdisable; then
7432 if test $wxUSE_OLE = no; then
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7442 $as_echo "$result" >&6; }
7446 defaultval=$wxUSE_ALL_FEATURES
7447 if test -z "$defaultval"; then
7448 if test x"$enablestring" = xdisable; then
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7456 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7457 # Check whether --enable-dataobj was given.
7458 if test "${enable_dataobj+set}" = set; then :
7459 enableval=$enable_dataobj;
7460 if test "$enableval" = yes; then
7461 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7463 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7468 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7473 eval "$wx_cv_use_dataobj"
7475 if test x"$enablestring" = xdisable; then
7476 if test $wxUSE_DATAOBJ = no; then
7482 result=$wxUSE_DATAOBJ
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7486 $as_echo "$result" >&6; }
7491 defaultval=$wxUSE_ALL_FEATURES
7492 if test -z "$defaultval"; then
7493 if test x"$enablestring" = xdisable; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7501 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7502 # Check whether --enable-ipc was given.
7503 if test "${enable_ipc+set}" = set; then :
7504 enableval=$enable_ipc;
7505 if test "$enableval" = yes; then
7506 wx_cv_use_ipc='wxUSE_IPC=yes'
7508 wx_cv_use_ipc='wxUSE_IPC=no'
7513 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7518 eval "$wx_cv_use_ipc"
7520 if test x"$enablestring" = xdisable; then
7521 if test $wxUSE_IPC = no; then
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7531 $as_echo "$result" >&6; }
7536 defaultval=$wxUSE_ALL_FEATURES
7537 if test -z "$defaultval"; then
7538 if test x"$enablestring" = xdisable; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7546 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7547 # Check whether --enable-baseevtloop was given.
7548 if test "${enable_baseevtloop+set}" = set; then :
7549 enableval=$enable_baseevtloop;
7550 if test "$enableval" = yes; then
7551 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7553 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7558 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7563 eval "$wx_cv_use_baseevtloop"
7565 if test x"$enablestring" = xdisable; then
7566 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7572 result=$wxUSE_CONSOLE_EVENTLOOP
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7576 $as_echo "$result" >&6; }
7580 defaultval=$wxUSE_ALL_FEATURES
7581 if test -z "$defaultval"; then
7582 if test x"$enablestring" = xdisable; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7590 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7591 # Check whether --enable-epollloop was given.
7592 if test "${enable_epollloop+set}" = set; then :
7593 enableval=$enable_epollloop;
7594 if test "$enableval" = yes; then
7595 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7597 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7602 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7607 eval "$wx_cv_use_epollloop"
7609 if test x"$enablestring" = xdisable; then
7610 if test $wxUSE_EPOLL_DISPATCHER = no; then
7616 result=$wxUSE_EPOLL_DISPATCHER
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7620 $as_echo "$result" >&6; }
7624 defaultval=$wxUSE_ALL_FEATURES
7625 if test -z "$defaultval"; then
7626 if test x"$enablestring" = xdisable; then
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7634 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7635 # Check whether --enable-selectloop was given.
7636 if test "${enable_selectloop+set}" = set; then :
7637 enableval=$enable_selectloop;
7638 if test "$enableval" = yes; then
7639 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7641 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7646 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7651 eval "$wx_cv_use_selectloop"
7653 if test x"$enablestring" = xdisable; then
7654 if test $wxUSE_SELECT_DISPATCHER = no; then
7660 result=$wxUSE_SELECT_DISPATCHER
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7664 $as_echo "$result" >&6; }
7669 defaultval=$wxUSE_ALL_FEATURES
7670 if test -z "$defaultval"; then
7671 if test x"$enablestring" = xdisable; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7679 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7680 # Check whether --enable-any was given.
7681 if test "${enable_any+set}" = set; then :
7682 enableval=$enable_any;
7683 if test "$enableval" = yes; then
7684 wx_cv_use_any='wxUSE_ANY=yes'
7686 wx_cv_use_any='wxUSE_ANY=no'
7691 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7696 eval "$wx_cv_use_any"
7698 if test x"$enablestring" = xdisable; then
7699 if test $wxUSE_ANY = no; then
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7709 $as_echo "$result" >&6; }
7713 defaultval=$wxUSE_ALL_FEATURES
7714 if test -z "$defaultval"; then
7715 if test x"$enablestring" = xdisable; then
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7723 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7724 # Check whether --enable-apple_ieee was given.
7725 if test "${enable_apple_ieee+set}" = set; then :
7726 enableval=$enable_apple_ieee;
7727 if test "$enableval" = yes; then
7728 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7730 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7735 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7740 eval "$wx_cv_use_apple_ieee"
7742 if test x"$enablestring" = xdisable; then
7743 if test $wxUSE_APPLE_IEEE = no; then
7749 result=$wxUSE_APPLE_IEEE
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7753 $as_echo "$result" >&6; }
7757 defaultval=$wxUSE_ALL_FEATURES
7758 if test -z "$defaultval"; then
7759 if test x"$enablestring" = xdisable; then
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7767 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7768 # Check whether --enable-arcstream was given.
7769 if test "${enable_arcstream+set}" = set; then :
7770 enableval=$enable_arcstream;
7771 if test "$enableval" = yes; then
7772 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7774 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7779 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7784 eval "$wx_cv_use_arcstream"
7786 if test x"$enablestring" = xdisable; then
7787 if test $wxUSE_ARCHIVE_STREAMS = no; then
7793 result=$wxUSE_ARCHIVE_STREAMS
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7797 $as_echo "$result" >&6; }
7801 defaultval=$wxUSE_ALL_FEATURES
7802 if test -z "$defaultval"; then
7803 if test x"$enablestring" = xdisable; then
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7811 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7812 # Check whether --enable-base64 was given.
7813 if test "${enable_base64+set}" = set; then :
7814 enableval=$enable_base64;
7815 if test "$enableval" = yes; then
7816 wx_cv_use_base64='wxUSE_BASE64=yes'
7818 wx_cv_use_base64='wxUSE_BASE64=no'
7823 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7828 eval "$wx_cv_use_base64"
7830 if test x"$enablestring" = xdisable; then
7831 if test $wxUSE_BASE64 = no; then
7837 result=$wxUSE_BASE64
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7841 $as_echo "$result" >&6; }
7845 defaultval=$wxUSE_ALL_FEATURES
7846 if test -z "$defaultval"; then
7847 if test x"$enablestring" = xdisable; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7855 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7856 # Check whether --enable-backtrace was given.
7857 if test "${enable_backtrace+set}" = set; then :
7858 enableval=$enable_backtrace;
7859 if test "$enableval" = yes; then
7860 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7862 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7867 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7872 eval "$wx_cv_use_backtrace"
7874 if test x"$enablestring" = xdisable; then
7875 if test $wxUSE_STACKWALKER = no; then
7881 result=$wxUSE_STACKWALKER
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7885 $as_echo "$result" >&6; }
7889 defaultval=$wxUSE_ALL_FEATURES
7890 if test -z "$defaultval"; then
7891 if test x"$enablestring" = xdisable; then
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7899 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7900 # Check whether --enable-catch_segvs was given.
7901 if test "${enable_catch_segvs+set}" = set; then :
7902 enableval=$enable_catch_segvs;
7903 if test "$enableval" = yes; then
7904 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7906 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7911 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7916 eval "$wx_cv_use_catch_segvs"
7918 if test x"$enablestring" = xdisable; then
7919 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7925 result=$wxUSE_ON_FATAL_EXCEPTION
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7929 $as_echo "$result" >&6; }
7933 defaultval=$wxUSE_ALL_FEATURES
7934 if test -z "$defaultval"; then
7935 if test x"$enablestring" = xdisable; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7943 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7944 # Check whether --enable-cmdline was given.
7945 if test "${enable_cmdline+set}" = set; then :
7946 enableval=$enable_cmdline;
7947 if test "$enableval" = yes; then
7948 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7950 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7955 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7960 eval "$wx_cv_use_cmdline"
7962 if test x"$enablestring" = xdisable; then
7963 if test $wxUSE_CMDLINE_PARSER = no; then
7969 result=$wxUSE_CMDLINE_PARSER
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7973 $as_echo "$result" >&6; }
7977 defaultval=$wxUSE_ALL_FEATURES
7978 if test -z "$defaultval"; then
7979 if test x"$enablestring" = xdisable; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7987 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7988 # Check whether --enable-datetime was given.
7989 if test "${enable_datetime+set}" = set; then :
7990 enableval=$enable_datetime;
7991 if test "$enableval" = yes; then
7992 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7994 wx_cv_use_datetime='wxUSE_DATETIME=no'
7999 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
8004 eval "$wx_cv_use_datetime"
8006 if test x"$enablestring" = xdisable; then
8007 if test $wxUSE_DATETIME = no; then
8013 result=$wxUSE_DATETIME
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8017 $as_echo "$result" >&6; }
8021 defaultval=$wxUSE_ALL_FEATURES
8022 if test -z "$defaultval"; then
8023 if test x"$enablestring" = xdisable; then
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
8031 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
8032 # Check whether --enable-debugreport was given.
8033 if test "${enable_debugreport+set}" = set; then :
8034 enableval=$enable_debugreport;
8035 if test "$enableval" = yes; then
8036 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
8038 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
8043 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8048 eval "$wx_cv_use_debugreport"
8050 if test x"$enablestring" = xdisable; then
8051 if test $wxUSE_DEBUGREPORT = no; then
8057 result=$wxUSE_DEBUGREPORT
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8061 $as_echo "$result" >&6; }
8065 defaultval=$wxUSE_ALL_FEATURES
8066 if test -z "$defaultval"; then
8067 if test x"$enablestring" = xdisable; then
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8075 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8076 # Check whether --enable-dialupman was given.
8077 if test "${enable_dialupman+set}" = set; then :
8078 enableval=$enable_dialupman;
8079 if test "$enableval" = yes; then
8080 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8082 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8087 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8092 eval "$wx_cv_use_dialupman"
8094 if test x"$enablestring" = xdisable; then
8095 if test $wxUSE_DIALUP_MANAGER = no; then
8101 result=$wxUSE_DIALUP_MANAGER
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8105 $as_echo "$result" >&6; }
8109 defaultval=$wxUSE_ALL_FEATURES
8110 if test -z "$defaultval"; then
8111 if test x"$enablestring" = xdisable; then
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8119 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8120 # Check whether --enable-dynlib was given.
8121 if test "${enable_dynlib+set}" = set; then :
8122 enableval=$enable_dynlib;
8123 if test "$enableval" = yes; then
8124 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8126 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8131 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8136 eval "$wx_cv_use_dynlib"
8138 if test x"$enablestring" = xdisable; then
8139 if test $wxUSE_DYNLIB_CLASS = no; then
8145 result=$wxUSE_DYNLIB_CLASS
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8149 $as_echo "$result" >&6; }
8153 defaultval=$wxUSE_ALL_FEATURES
8154 if test -z "$defaultval"; then
8155 if test x"$enablestring" = xdisable; then
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8163 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8164 # Check whether --enable-dynamicloader was given.
8165 if test "${enable_dynamicloader+set}" = set; then :
8166 enableval=$enable_dynamicloader;
8167 if test "$enableval" = yes; then
8168 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8170 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8175 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8180 eval "$wx_cv_use_dynamicloader"
8182 if test x"$enablestring" = xdisable; then
8183 if test $wxUSE_DYNAMIC_LOADER = no; then
8189 result=$wxUSE_DYNAMIC_LOADER
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8193 $as_echo "$result" >&6; }
8197 defaultval=$wxUSE_ALL_FEATURES
8198 if test -z "$defaultval"; then
8199 if test x"$enablestring" = xdisable; then
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8207 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8208 # Check whether --enable-exceptions was given.
8209 if test "${enable_exceptions+set}" = set; then :
8210 enableval=$enable_exceptions;
8211 if test "$enableval" = yes; then
8212 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8214 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8219 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8224 eval "$wx_cv_use_exceptions"
8226 if test x"$enablestring" = xdisable; then
8227 if test $wxUSE_EXCEPTIONS = no; then
8233 result=$wxUSE_EXCEPTIONS
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8237 $as_echo "$result" >&6; }
8241 defaultval=$wxUSE_ALL_FEATURES
8242 if test -z "$defaultval"; then
8243 if test x"$enablestring" = xdisable; then
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8251 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8252 # Check whether --enable-ffile was given.
8253 if test "${enable_ffile+set}" = set; then :
8254 enableval=$enable_ffile;
8255 if test "$enableval" = yes; then
8256 wx_cv_use_ffile='wxUSE_FFILE=yes'
8258 wx_cv_use_ffile='wxUSE_FFILE=no'
8263 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8268 eval "$wx_cv_use_ffile"
8270 if test x"$enablestring" = xdisable; then
8271 if test $wxUSE_FFILE = no; then
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8281 $as_echo "$result" >&6; }
8285 defaultval=$wxUSE_ALL_FEATURES
8286 if test -z "$defaultval"; then
8287 if test x"$enablestring" = xdisable; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8295 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8296 # Check whether --enable-file was given.
8297 if test "${enable_file+set}" = set; then :
8298 enableval=$enable_file;
8299 if test "$enableval" = yes; then
8300 wx_cv_use_file='wxUSE_FILE=yes'
8302 wx_cv_use_file='wxUSE_FILE=no'
8307 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8312 eval "$wx_cv_use_file"
8314 if test x"$enablestring" = xdisable; then
8315 if test $wxUSE_FILE = no; then
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8325 $as_echo "$result" >&6; }
8329 defaultval=$wxUSE_ALL_FEATURES
8330 if test -z "$defaultval"; then
8331 if test x"$enablestring" = xdisable; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8339 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8340 # Check whether --enable-filehistory was given.
8341 if test "${enable_filehistory+set}" = set; then :
8342 enableval=$enable_filehistory;
8343 if test "$enableval" = yes; then
8344 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8346 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8351 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8356 eval "$wx_cv_use_filehistory"
8358 if test x"$enablestring" = xdisable; then
8359 if test $wxUSE_FILE_HISTORY = no; then
8365 result=$wxUSE_FILE_HISTORY
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8369 $as_echo "$result" >&6; }
8373 defaultval=$wxUSE_ALL_FEATURES
8374 if test -z "$defaultval"; then
8375 if test x"$enablestring" = xdisable; then
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8383 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8384 # Check whether --enable-filesystem was given.
8385 if test "${enable_filesystem+set}" = set; then :
8386 enableval=$enable_filesystem;
8387 if test "$enableval" = yes; then
8388 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8390 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8395 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8400 eval "$wx_cv_use_filesystem"
8402 if test x"$enablestring" = xdisable; then
8403 if test $wxUSE_FILESYSTEM = no; then
8409 result=$wxUSE_FILESYSTEM
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8413 $as_echo "$result" >&6; }
8417 defaultval=$wxUSE_ALL_FEATURES
8418 if test -z "$defaultval"; then
8419 if test x"$enablestring" = xdisable; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8427 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8428 # Check whether --enable-fontenum was given.
8429 if test "${enable_fontenum+set}" = set; then :
8430 enableval=$enable_fontenum;
8431 if test "$enableval" = yes; then
8432 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8434 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8439 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8444 eval "$wx_cv_use_fontenum"
8446 if test x"$enablestring" = xdisable; then
8447 if test $wxUSE_FONTENUM = no; then
8453 result=$wxUSE_FONTENUM
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8457 $as_echo "$result" >&6; }
8461 defaultval=$wxUSE_ALL_FEATURES
8462 if test -z "$defaultval"; then
8463 if test x"$enablestring" = xdisable; then
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8471 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8472 # Check whether --enable-fontmap was given.
8473 if test "${enable_fontmap+set}" = set; then :
8474 enableval=$enable_fontmap;
8475 if test "$enableval" = yes; then
8476 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8478 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8483 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8488 eval "$wx_cv_use_fontmap"
8490 if test x"$enablestring" = xdisable; then
8491 if test $wxUSE_FONTMAP = no; then
8497 result=$wxUSE_FONTMAP
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8501 $as_echo "$result" >&6; }
8505 defaultval=$wxUSE_ALL_FEATURES
8506 if test -z "$defaultval"; then
8507 if test x"$enablestring" = xdisable; then
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8515 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8516 # Check whether --enable-fs_archive was given.
8517 if test "${enable_fs_archive+set}" = set; then :
8518 enableval=$enable_fs_archive;
8519 if test "$enableval" = yes; then
8520 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8522 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8527 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8532 eval "$wx_cv_use_fs_archive"
8534 if test x"$enablestring" = xdisable; then
8535 if test $wxUSE_FS_ARCHIVE = no; then
8541 result=$wxUSE_FS_ARCHIVE
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8545 $as_echo "$result" >&6; }
8549 defaultval=$wxUSE_ALL_FEATURES
8550 if test -z "$defaultval"; then
8551 if test x"$enablestring" = xdisable; then
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8559 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8560 # Check whether --enable-fs_inet was given.
8561 if test "${enable_fs_inet+set}" = set; then :
8562 enableval=$enable_fs_inet;
8563 if test "$enableval" = yes; then
8564 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8566 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8571 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8576 eval "$wx_cv_use_fs_inet"
8578 if test x"$enablestring" = xdisable; then
8579 if test $wxUSE_FS_INET = no; then
8585 result=$wxUSE_FS_INET
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8589 $as_echo "$result" >&6; }
8593 defaultval=$wxUSE_ALL_FEATURES
8594 if test -z "$defaultval"; then
8595 if test x"$enablestring" = xdisable; then
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8603 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8604 # Check whether --enable-fs_zip was given.
8605 if test "${enable_fs_zip+set}" = set; then :
8606 enableval=$enable_fs_zip;
8607 if test "$enableval" = yes; then
8608 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8610 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8615 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8620 eval "$wx_cv_use_fs_zip"
8622 if test x"$enablestring" = xdisable; then
8623 if test $wxUSE_FS_ZIP = no; then
8629 result=$wxUSE_FS_ZIP
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8633 $as_echo "$result" >&6; }
8637 defaultval=$wxUSE_ALL_FEATURES
8638 if test -z "$defaultval"; then
8639 if test x"$enablestring" = xdisable; then
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
8647 $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
8648 # Check whether --enable-fsvolume was given.
8649 if test "${enable_fsvolume+set}" = set; then :
8650 enableval=$enable_fsvolume;
8651 if test "$enableval" = yes; then
8652 wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
8654 wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
8659 wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8664 eval "$wx_cv_use_fsvolume"
8666 if test x"$enablestring" = xdisable; then
8667 if test $wxUSE_FSVOLUME = no; then
8673 result=$wxUSE_FSVOLUME
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8677 $as_echo "$result" >&6; }
8681 defaultval=$wxUSE_ALL_FEATURES
8682 if test -z "$defaultval"; then
8683 if test x"$enablestring" = xdisable; then
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8691 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8692 # Check whether --enable-fswatcher was given.
8693 if test "${enable_fswatcher+set}" = set; then :
8694 enableval=$enable_fswatcher;
8695 if test "$enableval" = yes; then
8696 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8698 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8703 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8708 eval "$wx_cv_use_fswatcher"
8710 if test x"$enablestring" = xdisable; then
8711 if test $wxUSE_FSWATCHER = no; then
8717 result=$wxUSE_FSWATCHER
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8721 $as_echo "$result" >&6; }
8725 defaultval=$wxUSE_ALL_FEATURES
8726 if test -z "$defaultval"; then
8727 if test x"$enablestring" = xdisable; then
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8735 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8736 # Check whether --enable-geometry was given.
8737 if test "${enable_geometry+set}" = set; then :
8738 enableval=$enable_geometry;
8739 if test "$enableval" = yes; then
8740 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8742 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8747 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8752 eval "$wx_cv_use_geometry"
8754 if test x"$enablestring" = xdisable; then
8755 if test $wxUSE_GEOMETRY = no; then
8761 result=$wxUSE_GEOMETRY
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8765 $as_echo "$result" >&6; }
8769 defaultval=$wxUSE_ALL_FEATURES
8770 if test -z "$defaultval"; then
8771 if test x"$enablestring" = xdisable; then
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8779 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8780 # Check whether --enable-log was given.
8781 if test "${enable_log+set}" = set; then :
8782 enableval=$enable_log;
8783 if test "$enableval" = yes; then
8784 wx_cv_use_log='wxUSE_LOG=yes'
8786 wx_cv_use_log='wxUSE_LOG=no'
8791 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8796 eval "$wx_cv_use_log"
8798 if test x"$enablestring" = xdisable; then
8799 if test $wxUSE_LOG = no; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8809 $as_echo "$result" >&6; }
8813 defaultval=$wxUSE_ALL_FEATURES
8814 if test -z "$defaultval"; then
8815 if test x"$enablestring" = xdisable; then
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8823 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8824 # Check whether --enable-longlong was given.
8825 if test "${enable_longlong+set}" = set; then :
8826 enableval=$enable_longlong;
8827 if test "$enableval" = yes; then
8828 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8830 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8835 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8840 eval "$wx_cv_use_longlong"
8842 if test x"$enablestring" = xdisable; then
8843 if test $wxUSE_LONGLONG = no; then
8849 result=$wxUSE_LONGLONG
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8853 $as_echo "$result" >&6; }
8857 defaultval=$wxUSE_ALL_FEATURES
8858 if test -z "$defaultval"; then
8859 if test x"$enablestring" = xdisable; then
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8867 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8868 # Check whether --enable-mimetype was given.
8869 if test "${enable_mimetype+set}" = set; then :
8870 enableval=$enable_mimetype;
8871 if test "$enableval" = yes; then
8872 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8874 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8879 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8884 eval "$wx_cv_use_mimetype"
8886 if test x"$enablestring" = xdisable; then
8887 if test $wxUSE_MIMETYPE = no; then
8893 result=$wxUSE_MIMETYPE
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8897 $as_echo "$result" >&6; }
8901 defaultval=$wxUSE_ALL_FEATURES
8902 if test -z "$defaultval"; then
8903 if test x"$enablestring" = xdisable; then
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8911 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8912 # Check whether --enable-printfposparam was given.
8913 if test "${enable_printfposparam+set}" = set; then :
8914 enableval=$enable_printfposparam;
8915 if test "$enableval" = yes; then
8916 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8918 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8923 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8928 eval "$wx_cv_use_printfposparam"
8930 if test x"$enablestring" = xdisable; then
8931 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8937 result=$wxUSE_PRINTF_POS_PARAMS
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8941 $as_echo "$result" >&6; }
8945 defaultval=$wxUSE_ALL_FEATURES
8946 if test -z "$defaultval"; then
8947 if test x"$enablestring" = xdisable; then
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8955 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8956 # Check whether --enable-snglinst was given.
8957 if test "${enable_snglinst+set}" = set; then :
8958 enableval=$enable_snglinst;
8959 if test "$enableval" = yes; then
8960 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8962 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8967 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8972 eval "$wx_cv_use_snglinst"
8974 if test x"$enablestring" = xdisable; then
8975 if test $wxUSE_SNGLINST_CHECKER = no; then
8981 result=$wxUSE_SNGLINST_CHECKER
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8985 $as_echo "$result" >&6; }
8989 defaultval=$wxUSE_ALL_FEATURES
8990 if test -z "$defaultval"; then
8991 if test x"$enablestring" = xdisable; then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8999 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
9000 # Check whether --enable-sound was given.
9001 if test "${enable_sound+set}" = set; then :
9002 enableval=$enable_sound;
9003 if test "$enableval" = yes; then
9004 wx_cv_use_sound='wxUSE_SOUND=yes'
9006 wx_cv_use_sound='wxUSE_SOUND=no'
9011 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
9016 eval "$wx_cv_use_sound"
9018 if test x"$enablestring" = xdisable; then
9019 if test $wxUSE_SOUND = no; then
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9029 $as_echo "$result" >&6; }
9033 defaultval=$wxUSE_ALL_FEATURES
9034 if test -z "$defaultval"; then
9035 if test x"$enablestring" = xdisable; then
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
9043 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
9044 # Check whether --enable-stdpaths was given.
9045 if test "${enable_stdpaths+set}" = set; then :
9046 enableval=$enable_stdpaths;
9047 if test "$enableval" = yes; then
9048 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
9050 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
9055 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9060 eval "$wx_cv_use_stdpaths"
9062 if test x"$enablestring" = xdisable; then
9063 if test $wxUSE_STDPATHS = no; then
9069 result=$wxUSE_STDPATHS
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9073 $as_echo "$result" >&6; }
9077 defaultval=$wxUSE_ALL_FEATURES
9078 if test -z "$defaultval"; then
9079 if test x"$enablestring" = xdisable; then
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9087 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9088 # Check whether --enable-stopwatch was given.
9089 if test "${enable_stopwatch+set}" = set; then :
9090 enableval=$enable_stopwatch;
9091 if test "$enableval" = yes; then
9092 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
9094 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
9099 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9104 eval "$wx_cv_use_stopwatch"
9106 if test x"$enablestring" = xdisable; then
9107 if test $wxUSE_STOPWATCH = no; then
9113 result=$wxUSE_STOPWATCH
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9117 $as_echo "$result" >&6; }
9121 defaultval=$wxUSE_ALL_FEATURES
9122 if test -z "$defaultval"; then
9123 if test x"$enablestring" = xdisable; then
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9131 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9132 # Check whether --enable-streams was given.
9133 if test "${enable_streams+set}" = set; then :
9134 enableval=$enable_streams;
9135 if test "$enableval" = yes; then
9136 wx_cv_use_streams='wxUSE_STREAMS=yes'
9138 wx_cv_use_streams='wxUSE_STREAMS=no'
9143 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9148 eval "$wx_cv_use_streams"
9150 if test x"$enablestring" = xdisable; then
9151 if test $wxUSE_STREAMS = no; then
9157 result=$wxUSE_STREAMS
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9161 $as_echo "$result" >&6; }
9165 defaultval=$wxUSE_ALL_FEATURES
9166 if test -z "$defaultval"; then
9167 if test x"$enablestring" = xdisable; then
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9175 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9176 # Check whether --enable-sysoptions was given.
9177 if test "${enable_sysoptions+set}" = set; then :
9178 enableval=$enable_sysoptions;
9179 if test "$enableval" = yes; then
9180 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9182 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9187 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9192 eval "$wx_cv_use_sysoptions"
9194 if test x"$enablestring" = xdisable; then
9195 if test $wxUSE_SYSTEM_OPTIONS = no; then
9201 result=$wxUSE_SYSTEM_OPTIONS
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9205 $as_echo "$result" >&6; }
9209 defaultval=$wxUSE_ALL_FEATURES
9210 if test -z "$defaultval"; then
9211 if test x"$enablestring" = xdisable; then
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9219 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9220 # Check whether --enable-tarstream was given.
9221 if test "${enable_tarstream+set}" = set; then :
9222 enableval=$enable_tarstream;
9223 if test "$enableval" = yes; then
9224 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9226 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9231 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9236 eval "$wx_cv_use_tarstream"
9238 if test x"$enablestring" = xdisable; then
9239 if test $wxUSE_TARSTREAM = no; then
9245 result=$wxUSE_TARSTREAM
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9249 $as_echo "$result" >&6; }
9253 defaultval=$wxUSE_ALL_FEATURES
9254 if test -z "$defaultval"; then
9255 if test x"$enablestring" = xdisable; then
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9263 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9264 # Check whether --enable-textbuf was given.
9265 if test "${enable_textbuf+set}" = set; then :
9266 enableval=$enable_textbuf;
9267 if test "$enableval" = yes; then
9268 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9270 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9275 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9280 eval "$wx_cv_use_textbuf"
9282 if test x"$enablestring" = xdisable; then
9283 if test $wxUSE_TEXTBUFFER = no; then
9289 result=$wxUSE_TEXTBUFFER
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9293 $as_echo "$result" >&6; }
9297 defaultval=$wxUSE_ALL_FEATURES
9298 if test -z "$defaultval"; then
9299 if test x"$enablestring" = xdisable; then
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9307 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9308 # Check whether --enable-textfile was given.
9309 if test "${enable_textfile+set}" = set; then :
9310 enableval=$enable_textfile;
9311 if test "$enableval" = yes; then
9312 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9314 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9319 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9324 eval "$wx_cv_use_textfile"
9326 if test x"$enablestring" = xdisable; then
9327 if test $wxUSE_TEXTFILE = no; then
9333 result=$wxUSE_TEXTFILE
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9337 $as_echo "$result" >&6; }
9341 defaultval=$wxUSE_ALL_FEATURES
9342 if test -z "$defaultval"; then
9343 if test x"$enablestring" = xdisable; then
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9351 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9352 # Check whether --enable-timer was given.
9353 if test "${enable_timer+set}" = set; then :
9354 enableval=$enable_timer;
9355 if test "$enableval" = yes; then
9356 wx_cv_use_timer='wxUSE_TIMER=yes'
9358 wx_cv_use_timer='wxUSE_TIMER=no'
9363 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9368 eval "$wx_cv_use_timer"
9370 if test x"$enablestring" = xdisable; then
9371 if test $wxUSE_TIMER = no; then
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9381 $as_echo "$result" >&6; }
9385 defaultval=$wxUSE_ALL_FEATURES
9386 if test -z "$defaultval"; then
9387 if test x"$enablestring" = xdisable; then
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9395 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9396 # Check whether --enable-variant was given.
9397 if test "${enable_variant+set}" = set; then :
9398 enableval=$enable_variant;
9399 if test "$enableval" = yes; then
9400 wx_cv_use_variant='wxUSE_VARIANT=yes'
9402 wx_cv_use_variant='wxUSE_VARIANT=no'
9407 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9412 eval "$wx_cv_use_variant"
9414 if test x"$enablestring" = xdisable; then
9415 if test $wxUSE_VARIANT = no; then
9421 result=$wxUSE_VARIANT
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9425 $as_echo "$result" >&6; }
9429 defaultval=$wxUSE_ALL_FEATURES
9430 if test -z "$defaultval"; then
9431 if test x"$enablestring" = xdisable; then
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9439 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9440 # Check whether --enable-zipstream was given.
9441 if test "${enable_zipstream+set}" = set; then :
9442 enableval=$enable_zipstream;
9443 if test "$enableval" = yes; then
9444 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9446 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9451 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9456 eval "$wx_cv_use_zipstream"
9458 if test x"$enablestring" = xdisable; then
9459 if test $wxUSE_ZIPSTREAM = no; then
9465 result=$wxUSE_ZIPSTREAM
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9469 $as_echo "$result" >&6; }
9474 defaultval=$wxUSE_ALL_FEATURES
9475 if test -z "$defaultval"; then
9476 if test x"$enablestring" = xdisable; then
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9484 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9485 # Check whether --enable-url was given.
9486 if test "${enable_url+set}" = set; then :
9487 enableval=$enable_url;
9488 if test "$enableval" = yes; then
9489 wx_cv_use_url='wxUSE_URL=yes'
9491 wx_cv_use_url='wxUSE_URL=no'
9496 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9501 eval "$wx_cv_use_url"
9503 if test x"$enablestring" = xdisable; then
9504 if test $wxUSE_URL = no; then
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9514 $as_echo "$result" >&6; }
9518 defaultval=$wxUSE_ALL_FEATURES
9519 if test -z "$defaultval"; then
9520 if test x"$enablestring" = xdisable; then
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9528 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9529 # Check whether --enable-protocol was given.
9530 if test "${enable_protocol+set}" = set; then :
9531 enableval=$enable_protocol;
9532 if test "$enableval" = yes; then
9533 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9535 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9540 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9545 eval "$wx_cv_use_protocol"
9547 if test x"$enablestring" = xdisable; then
9548 if test $wxUSE_PROTOCOL = no; then
9554 result=$wxUSE_PROTOCOL
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9558 $as_echo "$result" >&6; }
9562 defaultval=$wxUSE_ALL_FEATURES
9563 if test -z "$defaultval"; then
9564 if test x"$enablestring" = xdisable; then
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9572 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9573 # Check whether --enable-protocol_http was given.
9574 if test "${enable_protocol_http+set}" = set; then :
9575 enableval=$enable_protocol_http;
9576 if test "$enableval" = yes; then
9577 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9579 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9584 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9589 eval "$wx_cv_use_protocol_http"
9591 if test x"$enablestring" = xdisable; then
9592 if test $wxUSE_PROTOCOL_HTTP = no; then
9598 result=$wxUSE_PROTOCOL_HTTP
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9602 $as_echo "$result" >&6; }
9606 defaultval=$wxUSE_ALL_FEATURES
9607 if test -z "$defaultval"; then
9608 if test x"$enablestring" = xdisable; then
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9616 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9617 # Check whether --enable-protocol_ftp was given.
9618 if test "${enable_protocol_ftp+set}" = set; then :
9619 enableval=$enable_protocol_ftp;
9620 if test "$enableval" = yes; then
9621 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9623 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9628 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9633 eval "$wx_cv_use_protocol_ftp"
9635 if test x"$enablestring" = xdisable; then
9636 if test $wxUSE_PROTOCOL_FTP = no; then
9642 result=$wxUSE_PROTOCOL_FTP
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9646 $as_echo "$result" >&6; }
9650 defaultval=$wxUSE_ALL_FEATURES
9651 if test -z "$defaultval"; then
9652 if test x"$enablestring" = xdisable; then
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9660 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9661 # Check whether --enable-protocol_file was given.
9662 if test "${enable_protocol_file+set}" = set; then :
9663 enableval=$enable_protocol_file;
9664 if test "$enableval" = yes; then
9665 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9667 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9672 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9677 eval "$wx_cv_use_protocol_file"
9679 if test x"$enablestring" = xdisable; then
9680 if test $wxUSE_PROTOCOL_FILE = no; then
9686 result=$wxUSE_PROTOCOL_FILE
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9690 $as_echo "$result" >&6; }
9695 defaultval=$wxUSE_ALL_FEATURES
9696 if test -z "$defaultval"; then
9697 if test x"$enablestring" = xdisable; then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9705 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9706 # Check whether --enable-threads was given.
9707 if test "${enable_threads+set}" = set; then :
9708 enableval=$enable_threads;
9709 if test "$enableval" = yes; then
9710 wx_cv_use_threads='wxUSE_THREADS=yes'
9712 wx_cv_use_threads='wxUSE_THREADS=no'
9717 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9722 eval "$wx_cv_use_threads"
9724 if test x"$enablestring" = xdisable; then
9725 if test $wxUSE_THREADS = no; then
9731 result=$wxUSE_THREADS
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9735 $as_echo "$result" >&6; }
9741 if test -z "$defaultval"; then
9742 if test x"$enablestring" = xdisable; then
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9750 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9751 # Check whether --enable-iniconf was given.
9752 if test "${enable_iniconf+set}" = set; then :
9753 enableval=$enable_iniconf;
9754 if test "$enableval" = yes; then
9755 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9757 wx_cv_use_iniconf='wxUSE_INICONF=no'
9762 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9767 eval "$wx_cv_use_iniconf"
9769 if test x"$enablestring" = xdisable; then
9770 if test $wxUSE_INICONF = no; then
9776 result=$wxUSE_INICONF
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9780 $as_echo "$result" >&6; }
9784 defaultval=$wxUSE_ALL_FEATURES
9785 if test -z "$defaultval"; then
9786 if test x"$enablestring" = xdisable; then
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9794 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9795 # Check whether --enable-regkey was given.
9796 if test "${enable_regkey+set}" = set; then :
9797 enableval=$enable_regkey;
9798 if test "$enableval" = yes; then
9799 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9801 wx_cv_use_regkey='wxUSE_REGKEY=no'
9806 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9811 eval "$wx_cv_use_regkey"
9813 if test x"$enablestring" = xdisable; then
9814 if test $wxUSE_REGKEY = no; then
9820 result=$wxUSE_REGKEY
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9824 $as_echo "$result" >&6; }
9827 if test "$wxUSE_GUI" = "yes"; then
9832 defaultval=$wxUSE_ALL_FEATURES
9833 if test -z "$defaultval"; then
9834 if test x"$enablestring" = xdisable; then
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9842 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9843 # Check whether --enable-docview was given.
9844 if test "${enable_docview+set}" = set; then :
9845 enableval=$enable_docview;
9846 if test "$enableval" = yes; then
9847 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9849 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9854 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9859 eval "$wx_cv_use_docview"
9861 if test x"$enablestring" = xdisable; then
9862 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9868 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9872 $as_echo "$result" >&6; }
9876 defaultval=$wxUSE_ALL_FEATURES
9877 if test -z "$defaultval"; then
9878 if test x"$enablestring" = xdisable; then
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9886 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9887 # Check whether --enable-help was given.
9888 if test "${enable_help+set}" = set; then :
9889 enableval=$enable_help;
9890 if test "$enableval" = yes; then
9891 wx_cv_use_help='wxUSE_HELP=yes'
9893 wx_cv_use_help='wxUSE_HELP=no'
9898 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9903 eval "$wx_cv_use_help"
9905 if test x"$enablestring" = xdisable; then
9906 if test $wxUSE_HELP = no; then
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9916 $as_echo "$result" >&6; }
9920 defaultval=$wxUSE_ALL_FEATURES
9921 if test -z "$defaultval"; then
9922 if test x"$enablestring" = xdisable; then
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9930 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9931 # Check whether --enable-mshtmlhelp was given.
9932 if test "${enable_mshtmlhelp+set}" = set; then :
9933 enableval=$enable_mshtmlhelp;
9934 if test "$enableval" = yes; then
9935 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9937 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9942 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9947 eval "$wx_cv_use_mshtmlhelp"
9949 if test x"$enablestring" = xdisable; then
9950 if test $wxUSE_MS_HTML_HELP = no; then
9956 result=$wxUSE_MS_HTML_HELP
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9960 $as_echo "$result" >&6; }
9964 defaultval=$wxUSE_ALL_FEATURES
9965 if test -z "$defaultval"; then
9966 if test x"$enablestring" = xdisable; then
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9974 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9975 # Check whether --enable-html was given.
9976 if test "${enable_html+set}" = set; then :
9977 enableval=$enable_html;
9978 if test "$enableval" = yes; then
9979 wx_cv_use_html='wxUSE_HTML=yes'
9981 wx_cv_use_html='wxUSE_HTML=no'
9986 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9991 eval "$wx_cv_use_html"
9993 if test x"$enablestring" = xdisable; then
9994 if test $wxUSE_HTML = no; then
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10004 $as_echo "$result" >&6; }
10008 defaultval=$wxUSE_ALL_FEATURES
10009 if test -z "$defaultval"; then
10010 if test x"$enablestring" = xdisable; then
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
10018 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
10019 # Check whether --enable-htmlhelp was given.
10020 if test "${enable_htmlhelp+set}" = set; then :
10021 enableval=$enable_htmlhelp;
10022 if test "$enableval" = yes; then
10023 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
10025 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
10030 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
10035 eval "$wx_cv_use_htmlhelp"
10037 if test x"$enablestring" = xdisable; then
10038 if test $wxUSE_WXHTML_HELP = no; then
10044 result=$wxUSE_WXHTML_HELP
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10048 $as_echo "$result" >&6; }
10052 defaultval=$wxUSE_ALL_FEATURES
10053 if test -z "$defaultval"; then
10054 if test x"$enablestring" = xdisable; then
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10062 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10063 # Check whether --enable-xrc was given.
10064 if test "${enable_xrc+set}" = set; then :
10065 enableval=$enable_xrc;
10066 if test "$enableval" = yes; then
10067 wx_cv_use_xrc='wxUSE_XRC=yes'
10069 wx_cv_use_xrc='wxUSE_XRC=no'
10074 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10079 eval "$wx_cv_use_xrc"
10081 if test x"$enablestring" = xdisable; then
10082 if test $wxUSE_XRC = no; then
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10092 $as_echo "$result" >&6; }
10096 defaultval=$wxUSE_ALL_FEATURES
10097 if test -z "$defaultval"; then
10098 if test x"$enablestring" = xdisable; then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
10106 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
10107 # Check whether --enable-aui was given.
10108 if test "${enable_aui+set}" = set; then :
10109 enableval=$enable_aui;
10110 if test "$enableval" = yes; then
10111 wx_cv_use_aui='wxUSE_AUI=yes'
10113 wx_cv_use_aui='wxUSE_AUI=no'
10118 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10123 eval "$wx_cv_use_aui"
10125 if test x"$enablestring" = xdisable; then
10126 if test $wxUSE_AUI = no; then
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10136 $as_echo "$result" >&6; }
10140 defaultval=$wxUSE_ALL_FEATURES
10141 if test -z "$defaultval"; then
10142 if test x"$enablestring" = xdisable; then
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10150 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10151 # Check whether --enable-propgrid was given.
10152 if test "${enable_propgrid+set}" = set; then :
10153 enableval=$enable_propgrid;
10154 if test "$enableval" = yes; then
10155 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10157 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10162 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10167 eval "$wx_cv_use_propgrid"
10169 if test x"$enablestring" = xdisable; then
10170 if test $wxUSE_PROPGRID = no; then
10176 result=$wxUSE_PROPGRID
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10180 $as_echo "$result" >&6; }
10184 defaultval=$wxUSE_ALL_FEATURES
10185 if test -z "$defaultval"; then
10186 if test x"$enablestring" = xdisable; then
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10194 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10195 # Check whether --enable-ribbon was given.
10196 if test "${enable_ribbon+set}" = set; then :
10197 enableval=$enable_ribbon;
10198 if test "$enableval" = yes; then
10199 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10201 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10206 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10211 eval "$wx_cv_use_ribbon"
10213 if test x"$enablestring" = xdisable; then
10214 if test $wxUSE_RIBBON = no; then
10220 result=$wxUSE_RIBBON
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10224 $as_echo "$result" >&6; }
10228 defaultval=$wxUSE_ALL_FEATURES
10229 if test -z "$defaultval"; then
10230 if test x"$enablestring" = xdisable; then
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10238 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10239 # Check whether --enable-stc was given.
10240 if test "${enable_stc+set}" = set; then :
10241 enableval=$enable_stc;
10242 if test "$enableval" = yes; then
10243 wx_cv_use_stc='wxUSE_STC=yes'
10245 wx_cv_use_stc='wxUSE_STC=no'
10250 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10255 eval "$wx_cv_use_stc"
10257 if test x"$enablestring" = xdisable; then
10258 if test $wxUSE_STC = no; then
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10268 $as_echo "$result" >&6; }
10272 defaultval=$wxUSE_ALL_FEATURES
10273 if test -z "$defaultval"; then
10274 if test x"$enablestring" = xdisable; then
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10282 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10283 # Check whether --enable-constraints was given.
10284 if test "${enable_constraints+set}" = set; then :
10285 enableval=$enable_constraints;
10286 if test "$enableval" = yes; then
10287 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10289 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10294 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10299 eval "$wx_cv_use_constraints"
10301 if test x"$enablestring" = xdisable; then
10302 if test $wxUSE_CONSTRAINTS = no; then
10308 result=$wxUSE_CONSTRAINTS
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10312 $as_echo "$result" >&6; }
10316 defaultval=$wxUSE_ALL_FEATURES
10317 if test -z "$defaultval"; then
10318 if test x"$enablestring" = xdisable; then
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10326 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10327 # Check whether --enable-loggui was given.
10328 if test "${enable_loggui+set}" = set; then :
10329 enableval=$enable_loggui;
10330 if test "$enableval" = yes; then
10331 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10333 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10338 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10343 eval "$wx_cv_use_loggui"
10345 if test x"$enablestring" = xdisable; then
10346 if test $wxUSE_LOGGUI = no; then
10352 result=$wxUSE_LOGGUI
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10356 $as_echo "$result" >&6; }
10360 defaultval=$wxUSE_ALL_FEATURES
10361 if test -z "$defaultval"; then
10362 if test x"$enablestring" = xdisable; then
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10370 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10371 # Check whether --enable-logwin was given.
10372 if test "${enable_logwin+set}" = set; then :
10373 enableval=$enable_logwin;
10374 if test "$enableval" = yes; then
10375 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10377 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10382 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10387 eval "$wx_cv_use_logwin"
10389 if test x"$enablestring" = xdisable; then
10390 if test $wxUSE_LOGWINDOW = no; then
10396 result=$wxUSE_LOGWINDOW
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10400 $as_echo "$result" >&6; }
10404 defaultval=$wxUSE_ALL_FEATURES
10405 if test -z "$defaultval"; then
10406 if test x"$enablestring" = xdisable; then
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10414 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10415 # Check whether --enable-logdialog was given.
10416 if test "${enable_logdialog+set}" = set; then :
10417 enableval=$enable_logdialog;
10418 if test "$enableval" = yes; then
10419 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10421 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10426 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10431 eval "$wx_cv_use_logdialog"
10433 if test x"$enablestring" = xdisable; then
10434 if test $wxUSE_LOGDIALOG = no; then
10440 result=$wxUSE_LOGDIALOG
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10444 $as_echo "$result" >&6; }
10448 defaultval=$wxUSE_ALL_FEATURES
10449 if test -z "$defaultval"; then
10450 if test x"$enablestring" = xdisable; then
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10458 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10459 # Check whether --enable-mdi was given.
10460 if test "${enable_mdi+set}" = set; then :
10461 enableval=$enable_mdi;
10462 if test "$enableval" = yes; then
10463 wx_cv_use_mdi='wxUSE_MDI=yes'
10465 wx_cv_use_mdi='wxUSE_MDI=no'
10470 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10475 eval "$wx_cv_use_mdi"
10477 if test x"$enablestring" = xdisable; then
10478 if test $wxUSE_MDI = no; then
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10488 $as_echo "$result" >&6; }
10492 defaultval=$wxUSE_ALL_FEATURES
10493 if test -z "$defaultval"; then
10494 if test x"$enablestring" = xdisable; then
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10502 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10503 # Check whether --enable-mdidoc was given.
10504 if test "${enable_mdidoc+set}" = set; then :
10505 enableval=$enable_mdidoc;
10506 if test "$enableval" = yes; then
10507 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10509 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10514 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10519 eval "$wx_cv_use_mdidoc"
10521 if test x"$enablestring" = xdisable; then
10522 if test $wxUSE_MDI_ARCHITECTURE = no; then
10528 result=$wxUSE_MDI_ARCHITECTURE
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10532 $as_echo "$result" >&6; }
10536 defaultval=$wxUSE_ALL_FEATURES
10537 if test -z "$defaultval"; then
10538 if test x"$enablestring" = xdisable; then
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10546 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10547 # Check whether --enable-mediactrl was given.
10548 if test "${enable_mediactrl+set}" = set; then :
10549 enableval=$enable_mediactrl;
10550 if test "$enableval" = yes; then
10551 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10553 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10558 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10563 eval "$wx_cv_use_mediactrl"
10565 if test x"$enablestring" = xdisable; then
10566 if test $wxUSE_MEDIACTRL = no; then
10572 result=$wxUSE_MEDIACTRL
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10576 $as_echo "$result" >&6; }
10580 defaultval=$wxUSE_ALL_FEATURES
10581 if test -z "$defaultval"; then
10582 if test x"$enablestring" = xdisable; then
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10590 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10591 # Check whether --enable-gstreamer8 was given.
10592 if test "${enable_gstreamer8+set}" = set; then :
10593 enableval=$enable_gstreamer8;
10594 if test "$enableval" = yes; then
10595 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10597 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10602 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10607 eval "$wx_cv_use_gstreamer8"
10609 if test x"$enablestring" = xdisable; then
10610 if test $wxUSE_GSTREAMER8 = no; then
10616 result=$wxUSE_GSTREAMER8
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10620 $as_echo "$result" >&6; }
10624 defaultval=$wxUSE_ALL_FEATURES
10625 if test -z "$defaultval"; then
10626 if test x"$enablestring" = xdisable; then
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10634 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10635 # Check whether --enable-richtext was given.
10636 if test "${enable_richtext+set}" = set; then :
10637 enableval=$enable_richtext;
10638 if test "$enableval" = yes; then
10639 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10641 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10646 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10651 eval "$wx_cv_use_richtext"
10653 if test x"$enablestring" = xdisable; then
10654 if test $wxUSE_RICHTEXT = no; then
10660 result=$wxUSE_RICHTEXT
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10664 $as_echo "$result" >&6; }
10668 defaultval=$wxUSE_ALL_FEATURES
10669 if test -z "$defaultval"; then
10670 if test x"$enablestring" = xdisable; then
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10678 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10679 # Check whether --enable-postscript was given.
10680 if test "${enable_postscript+set}" = set; then :
10681 enableval=$enable_postscript;
10682 if test "$enableval" = yes; then
10683 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10685 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10690 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10695 eval "$wx_cv_use_postscript"
10697 if test x"$enablestring" = xdisable; then
10698 if test $wxUSE_POSTSCRIPT = no; then
10704 result=$wxUSE_POSTSCRIPT
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10708 $as_echo "$result" >&6; }
10712 defaultval=$wxUSE_ALL_FEATURES
10713 if test -z "$defaultval"; then
10714 if test x"$enablestring" = xdisable; then
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10722 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10723 # Check whether --enable-printarch was given.
10724 if test "${enable_printarch+set}" = set; then :
10725 enableval=$enable_printarch;
10726 if test "$enableval" = yes; then
10727 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10729 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10734 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10739 eval "$wx_cv_use_printarch"
10741 if test x"$enablestring" = xdisable; then
10742 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10748 result=$wxUSE_PRINTING_ARCHITECTURE
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10752 $as_echo "$result" >&6; }
10756 defaultval=$wxUSE_ALL_FEATURES
10757 if test -z "$defaultval"; then
10758 if test x"$enablestring" = xdisable; then
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10766 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10767 # Check whether --enable-svg was given.
10768 if test "${enable_svg+set}" = set; then :
10769 enableval=$enable_svg;
10770 if test "$enableval" = yes; then
10771 wx_cv_use_svg='wxUSE_SVG=yes'
10773 wx_cv_use_svg='wxUSE_SVG=no'
10778 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10783 eval "$wx_cv_use_svg"
10785 if test x"$enablestring" = xdisable; then
10786 if test $wxUSE_SVG = no; then
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10796 $as_echo "$result" >&6; }
10800 defaultval=$wxUSE_ALL_FEATURES
10801 if test -z "$defaultval"; then
10802 if test x"$enablestring" = xdisable; then
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10810 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10811 # Check whether --enable-webkit was given.
10812 if test "${enable_webkit+set}" = set; then :
10813 enableval=$enable_webkit;
10814 if test "$enableval" = yes; then
10815 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10817 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10822 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10827 eval "$wx_cv_use_webkit"
10829 if test x"$enablestring" = xdisable; then
10830 if test $wxUSE_WEBKIT = no; then
10836 result=$wxUSE_WEBKIT
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10840 $as_echo "$result" >&6; }
10844 defaultval=$wxUSE_ALL_FEATURES
10845 if test -z "$defaultval"; then
10846 if test x"$enablestring" = xdisable; then
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10854 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10855 # Check whether --enable-webview was given.
10856 if test "${enable_webview+set}" = set; then :
10857 enableval=$enable_webview;
10858 if test "$enableval" = yes; then
10859 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10861 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10866 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10871 eval "$wx_cv_use_webview"
10873 if test x"$enablestring" = xdisable; then
10874 if test $wxUSE_WEBVIEW = no; then
10880 result=$wxUSE_WEBVIEW
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10884 $as_echo "$result" >&6; }
10887 if test "$wxUSE_MAC" != 1; then
10890 defaultval=$wxUSE_ALL_FEATURES
10891 if test -z "$defaultval"; then
10892 if test x"$enablestring" = xdisable; then
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10900 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10901 # Check whether --enable-graphics_ctx was given.
10902 if test "${enable_graphics_ctx+set}" = set; then :
10903 enableval=$enable_graphics_ctx;
10904 if test "$enableval" = yes; then
10905 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10907 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10912 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10917 eval "$wx_cv_use_graphics_ctx"
10919 if test x"$enablestring" = xdisable; then
10920 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10926 result=$wxUSE_GRAPHICS_CONTEXT
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10930 $as_echo "$result" >&6; }
10937 defaultval=$wxUSE_ALL_FEATURES
10938 if test -z "$defaultval"; then
10939 if test x"$enablestring" = xdisable; then
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10947 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10948 # Check whether --enable-clipboard was given.
10949 if test "${enable_clipboard+set}" = set; then :
10950 enableval=$enable_clipboard;
10951 if test "$enableval" = yes; then
10952 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10954 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10959 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10964 eval "$wx_cv_use_clipboard"
10966 if test x"$enablestring" = xdisable; then
10967 if test $wxUSE_CLIPBOARD = no; then
10973 result=$wxUSE_CLIPBOARD
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10977 $as_echo "$result" >&6; }
10981 defaultval=$wxUSE_ALL_FEATURES
10982 if test -z "$defaultval"; then
10983 if test x"$enablestring" = xdisable; then
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10991 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10992 # Check whether --enable-dnd was given.
10993 if test "${enable_dnd+set}" = set; then :
10994 enableval=$enable_dnd;
10995 if test "$enableval" = yes; then
10996 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10998 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
11003 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
11008 eval "$wx_cv_use_dnd"
11010 if test x"$enablestring" = xdisable; then
11011 if test $wxUSE_DRAG_AND_DROP = no; then
11017 result=$wxUSE_DRAG_AND_DROP
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11021 $as_echo "$result" >&6; }
11025 DEFAULT_wxUSE_CONTROLS=none
11027 enablestring=disable
11029 if test -z "$defaultval"; then
11030 if test x"$enablestring" = xdisable; then
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
11038 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
11039 # Check whether --enable-controls was given.
11040 if test "${enable_controls+set}" = set; then :
11041 enableval=$enable_controls;
11042 if test "$enableval" = yes; then
11043 wx_cv_use_controls='wxUSE_CONTROLS=yes'
11045 wx_cv_use_controls='wxUSE_CONTROLS=no'
11050 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11055 eval "$wx_cv_use_controls"
11057 if test x"$enablestring" = xdisable; then
11058 if test $wxUSE_CONTROLS = no; then
11064 result=$wxUSE_CONTROLS
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11068 $as_echo "$result" >&6; }
11071 if test "$wxUSE_CONTROLS" = "no"; then
11072 DEFAULT_wxUSE_ACCEL=no
11073 DEFAULT_wxUSE_ANIMATIONCTRL=no
11074 DEFAULT_wxUSE_BANNERWINDOW=no
11075 DEFAULT_wxUSE_BMPBUTTON=no
11076 DEFAULT_wxUSE_BUTTON=no
11077 DEFAULT_wxUSE_CALCTRL=no
11078 DEFAULT_wxUSE_CARET=no
11079 DEFAULT_wxUSE_CHECKBOX=no
11080 DEFAULT_wxUSE_CHECKLISTBOX=no
11081 DEFAULT_wxUSE_CHOICE=no
11082 DEFAULT_wxUSE_CHOICEBOOK=no
11083 DEFAULT_wxUSE_COLLPANE=no
11084 DEFAULT_wxUSE_COLOURPICKERCTRL=no
11085 DEFAULT_wxUSE_COMBOBOX=no
11086 DEFAULT_wxUSE_COMBOBOX=no
11087 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
11088 DEFAULT_wxUSE_DATAVIEWCTRL=no
11089 DEFAULT_wxUSE_DATEPICKCTRL=no
11090 DEFAULT_wxUSE_DETECT_SM=no
11091 DEFAULT_wxUSE_DIRPICKERCTRL=no
11092 DEFAULT_wxUSE_DISPLAY=no
11093 DEFAULT_wxUSE_FILECTRL=no
11094 DEFAULT_wxUSE_FILEPICKERCTRL=no
11095 DEFAULT_wxUSE_FONTPICKERCTRL=no
11096 DEFAULT_wxUSE_GAUGE=no
11097 DEFAULT_wxUSE_GRID=no
11098 DEFAULT_wxUSE_HEADERCTRL=no
11099 DEFAULT_wxUSE_HYPERLINKCTRL=no
11100 DEFAULT_wxUSE_IMAGLIST=no
11101 DEFAULT_wxUSE_LISTBOOK=no
11102 DEFAULT_wxUSE_LISTBOX=no
11103 DEFAULT_wxUSE_LISTCTRL=no
11104 DEFAULT_wxUSE_MARKUP=no
11105 DEFAULT_wxUSE_NOTEBOOK=no
11106 DEFAULT_wxUSE_POPUPWIN=no
11107 DEFAULT_wxUSE_RADIOBOX=no
11108 DEFAULT_wxUSE_RADIOBTN=no
11109 DEFAULT_wxUSE_RICHMSGDLG=no
11110 DEFAULT_wxUSE_RICHTOOLTIP=no
11111 DEFAULT_wxUSE_REARRANGECTRL=no
11112 DEFAULT_wxUSE_SASH=no
11113 DEFAULT_wxUSE_SCROLLBAR=no
11114 DEFAULT_wxUSE_SEARCHCTRL=no
11115 DEFAULT_wxUSE_SLIDER=no
11116 DEFAULT_wxUSE_SPINBTN=no
11117 DEFAULT_wxUSE_SPINCTRL=no
11118 DEFAULT_wxUSE_SPLITTER=no
11119 DEFAULT_wxUSE_STATBMP=no
11120 DEFAULT_wxUSE_STATBOX=no
11121 DEFAULT_wxUSE_STATLINE=no
11122 DEFAULT_wxUSE_STATUSBAR=no
11123 DEFAULT_wxUSE_TIMEPICKCTRL=no
11124 DEFAULT_wxUSE_TIPWINDOW=no
11125 DEFAULT_wxUSE_TOGGLEBTN=no
11126 DEFAULT_wxUSE_TOOLBAR=no
11127 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11128 DEFAULT_wxUSE_TOOLBOOK=no
11129 DEFAULT_wxUSE_TOOLTIPS=no
11130 DEFAULT_wxUSE_TREEBOOK=no
11131 DEFAULT_wxUSE_TREECTRL=no
11132 DEFAULT_wxUSE_TREELISTCTRL=no
11137 defaultval=$wxUSE_ALL_FEATURES
11138 if test -z "$defaultval"; then
11139 if test x"$enablestring" = xdisable; then
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11147 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11148 # Check whether --enable-markup was given.
11149 if test "${enable_markup+set}" = set; then :
11150 enableval=$enable_markup;
11151 if test "$enableval" = yes; then
11152 wx_cv_use_markup='wxUSE_MARKUP=yes'
11154 wx_cv_use_markup='wxUSE_MARKUP=no'
11159 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11164 eval "$wx_cv_use_markup"
11166 if test x"$enablestring" = xdisable; then
11167 if test $wxUSE_MARKUP = no; then
11173 result=$wxUSE_MARKUP
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11177 $as_echo "$result" >&6; }
11182 defaultval=$wxUSE_ALL_FEATURES
11183 if test -z "$defaultval"; then
11184 if test x"$enablestring" = xdisable; then
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11192 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11193 # Check whether --enable-accel was given.
11194 if test "${enable_accel+set}" = set; then :
11195 enableval=$enable_accel;
11196 if test "$enableval" = yes; then
11197 wx_cv_use_accel='wxUSE_ACCEL=yes'
11199 wx_cv_use_accel='wxUSE_ACCEL=no'
11204 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11209 eval "$wx_cv_use_accel"
11211 if test x"$enablestring" = xdisable; then
11212 if test $wxUSE_ACCEL = no; then
11218 result=$wxUSE_ACCEL
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11222 $as_echo "$result" >&6; }
11226 defaultval=$wxUSE_ALL_FEATURES
11227 if test -z "$defaultval"; then
11228 if test x"$enablestring" = xdisable; then
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11236 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11237 # Check whether --enable-animatectrl was given.
11238 if test "${enable_animatectrl+set}" = set; then :
11239 enableval=$enable_animatectrl;
11240 if test "$enableval" = yes; then
11241 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11243 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11248 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11253 eval "$wx_cv_use_animatectrl"
11255 if test x"$enablestring" = xdisable; then
11256 if test $wxUSE_ANIMATIONCTRL = no; then
11262 result=$wxUSE_ANIMATIONCTRL
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11266 $as_echo "$result" >&6; }
11270 defaultval=$wxUSE_ALL_FEATURES
11271 if test -z "$defaultval"; then
11272 if test x"$enablestring" = xdisable; then
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11280 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11281 # Check whether --enable-bannerwindow was given.
11282 if test "${enable_bannerwindow+set}" = set; then :
11283 enableval=$enable_bannerwindow;
11284 if test "$enableval" = yes; then
11285 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11287 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11292 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11297 eval "$wx_cv_use_bannerwindow"
11299 if test x"$enablestring" = xdisable; then
11300 if test $wxUSE_BANNERWINDOW = no; then
11306 result=$wxUSE_BANNERWINDOW
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11310 $as_echo "$result" >&6; }
11314 defaultval=$wxUSE_ALL_FEATURES
11315 if test -z "$defaultval"; then
11316 if test x"$enablestring" = xdisable; then
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11324 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11325 # Check whether --enable-artstd was given.
11326 if test "${enable_artstd+set}" = set; then :
11327 enableval=$enable_artstd;
11328 if test "$enableval" = yes; then
11329 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11331 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11336 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11341 eval "$wx_cv_use_artstd"
11343 if test x"$enablestring" = xdisable; then
11344 if test $wxUSE_ARTPROVIDER_STD = no; then
11350 result=$wxUSE_ARTPROVIDER_STD
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11354 $as_echo "$result" >&6; }
11358 defaultval=$wxUSE_ALL_FEATURES
11359 if test -z "$defaultval"; then
11360 if test x"$enablestring" = xdisable; then
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11368 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11369 # Check whether --enable-arttango was given.
11370 if test "${enable_arttango+set}" = set; then :
11371 enableval=$enable_arttango;
11372 if test "$enableval" = yes; then
11373 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11375 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11380 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11385 eval "$wx_cv_use_arttango"
11387 if test x"$enablestring" = xdisable; then
11388 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11394 result=$wxUSE_ARTPROVIDER_TANGO
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11398 $as_echo "$result" >&6; }
11402 defaultval=$wxUSE_ALL_FEATURES
11403 if test -z "$defaultval"; then
11404 if test x"$enablestring" = xdisable; then
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11412 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11413 # Check whether --enable-bmpbutton was given.
11414 if test "${enable_bmpbutton+set}" = set; then :
11415 enableval=$enable_bmpbutton;
11416 if test "$enableval" = yes; then
11417 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11419 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11424 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11429 eval "$wx_cv_use_bmpbutton"
11431 if test x"$enablestring" = xdisable; then
11432 if test $wxUSE_BMPBUTTON = no; then
11438 result=$wxUSE_BMPBUTTON
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11442 $as_echo "$result" >&6; }
11446 defaultval=$wxUSE_ALL_FEATURES
11447 if test -z "$defaultval"; then
11448 if test x"$enablestring" = xdisable; then
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11456 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11457 # Check whether --enable-bmpcombobox was given.
11458 if test "${enable_bmpcombobox+set}" = set; then :
11459 enableval=$enable_bmpcombobox;
11460 if test "$enableval" = yes; then
11461 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11463 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11468 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11473 eval "$wx_cv_use_bmpcombobox"
11475 if test x"$enablestring" = xdisable; then
11476 if test $wxUSE_BITMAPCOMBOBOX = no; then
11482 result=$wxUSE_BITMAPCOMBOBOX
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11486 $as_echo "$result" >&6; }
11490 defaultval=$wxUSE_ALL_FEATURES
11491 if test -z "$defaultval"; then
11492 if test x"$enablestring" = xdisable; then
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11500 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11501 # Check whether --enable-button was given.
11502 if test "${enable_button+set}" = set; then :
11503 enableval=$enable_button;
11504 if test "$enableval" = yes; then
11505 wx_cv_use_button='wxUSE_BUTTON=yes'
11507 wx_cv_use_button='wxUSE_BUTTON=no'
11512 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11517 eval "$wx_cv_use_button"
11519 if test x"$enablestring" = xdisable; then
11520 if test $wxUSE_BUTTON = no; then
11526 result=$wxUSE_BUTTON
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11530 $as_echo "$result" >&6; }
11534 defaultval=$wxUSE_ALL_FEATURES
11535 if test -z "$defaultval"; then
11536 if test x"$enablestring" = xdisable; then
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11544 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11545 # Check whether --enable-calendar was given.
11546 if test "${enable_calendar+set}" = set; then :
11547 enableval=$enable_calendar;
11548 if test "$enableval" = yes; then
11549 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11551 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11556 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11561 eval "$wx_cv_use_calendar"
11563 if test x"$enablestring" = xdisable; then
11564 if test $wxUSE_CALCTRL = no; then
11570 result=$wxUSE_CALCTRL
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11574 $as_echo "$result" >&6; }
11578 defaultval=$wxUSE_ALL_FEATURES
11579 if test -z "$defaultval"; then
11580 if test x"$enablestring" = xdisable; then
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11588 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11589 # Check whether --enable-caret was given.
11590 if test "${enable_caret+set}" = set; then :
11591 enableval=$enable_caret;
11592 if test "$enableval" = yes; then
11593 wx_cv_use_caret='wxUSE_CARET=yes'
11595 wx_cv_use_caret='wxUSE_CARET=no'
11600 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11605 eval "$wx_cv_use_caret"
11607 if test x"$enablestring" = xdisable; then
11608 if test $wxUSE_CARET = no; then
11614 result=$wxUSE_CARET
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11618 $as_echo "$result" >&6; }
11622 defaultval=$wxUSE_ALL_FEATURES
11623 if test -z "$defaultval"; then
11624 if test x"$enablestring" = xdisable; then
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11632 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11633 # Check whether --enable-checkbox was given.
11634 if test "${enable_checkbox+set}" = set; then :
11635 enableval=$enable_checkbox;
11636 if test "$enableval" = yes; then
11637 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11639 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11644 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11649 eval "$wx_cv_use_checkbox"
11651 if test x"$enablestring" = xdisable; then
11652 if test $wxUSE_CHECKBOX = no; then
11658 result=$wxUSE_CHECKBOX
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11662 $as_echo "$result" >&6; }
11666 defaultval=$wxUSE_ALL_FEATURES
11667 if test -z "$defaultval"; then
11668 if test x"$enablestring" = xdisable; then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11676 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11677 # Check whether --enable-checklst was given.
11678 if test "${enable_checklst+set}" = set; then :
11679 enableval=$enable_checklst;
11680 if test "$enableval" = yes; then
11681 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11683 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11688 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11693 eval "$wx_cv_use_checklst"
11695 if test x"$enablestring" = xdisable; then
11696 if test $wxUSE_CHECKLST = no; then
11702 result=$wxUSE_CHECKLST
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11706 $as_echo "$result" >&6; }
11710 defaultval=$wxUSE_ALL_FEATURES
11711 if test -z "$defaultval"; then
11712 if test x"$enablestring" = xdisable; then
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11720 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11721 # Check whether --enable-choice was given.
11722 if test "${enable_choice+set}" = set; then :
11723 enableval=$enable_choice;
11724 if test "$enableval" = yes; then
11725 wx_cv_use_choice='wxUSE_CHOICE=yes'
11727 wx_cv_use_choice='wxUSE_CHOICE=no'
11732 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11737 eval "$wx_cv_use_choice"
11739 if test x"$enablestring" = xdisable; then
11740 if test $wxUSE_CHOICE = no; then
11746 result=$wxUSE_CHOICE
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11750 $as_echo "$result" >&6; }
11754 defaultval=$wxUSE_ALL_FEATURES
11755 if test -z "$defaultval"; then
11756 if test x"$enablestring" = xdisable; then
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11764 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11765 # Check whether --enable-choicebook was given.
11766 if test "${enable_choicebook+set}" = set; then :
11767 enableval=$enable_choicebook;
11768 if test "$enableval" = yes; then
11769 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11771 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11776 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11781 eval "$wx_cv_use_choicebook"
11783 if test x"$enablestring" = xdisable; then
11784 if test $wxUSE_CHOICEBOOK = no; then
11790 result=$wxUSE_CHOICEBOOK
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11794 $as_echo "$result" >&6; }
11798 defaultval=$wxUSE_ALL_FEATURES
11799 if test -z "$defaultval"; then
11800 if test x"$enablestring" = xdisable; then
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11808 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11809 # Check whether --enable-collpane was given.
11810 if test "${enable_collpane+set}" = set; then :
11811 enableval=$enable_collpane;
11812 if test "$enableval" = yes; then
11813 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11815 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11820 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11825 eval "$wx_cv_use_collpane"
11827 if test x"$enablestring" = xdisable; then
11828 if test $wxUSE_COLLPANE = no; then
11834 result=$wxUSE_COLLPANE
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11838 $as_echo "$result" >&6; }
11842 defaultval=$wxUSE_ALL_FEATURES
11843 if test -z "$defaultval"; then
11844 if test x"$enablestring" = xdisable; then
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11852 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11853 # Check whether --enable-colourpicker was given.
11854 if test "${enable_colourpicker+set}" = set; then :
11855 enableval=$enable_colourpicker;
11856 if test "$enableval" = yes; then
11857 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11859 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11864 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11869 eval "$wx_cv_use_colourpicker"
11871 if test x"$enablestring" = xdisable; then
11872 if test $wxUSE_COLOURPICKERCTRL = no; then
11878 result=$wxUSE_COLOURPICKERCTRL
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11882 $as_echo "$result" >&6; }
11886 defaultval=$wxUSE_ALL_FEATURES
11887 if test -z "$defaultval"; then
11888 if test x"$enablestring" = xdisable; then
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11896 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11897 # Check whether --enable-combobox was given.
11898 if test "${enable_combobox+set}" = set; then :
11899 enableval=$enable_combobox;
11900 if test "$enableval" = yes; then
11901 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11903 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11908 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11913 eval "$wx_cv_use_combobox"
11915 if test x"$enablestring" = xdisable; then
11916 if test $wxUSE_COMBOBOX = no; then
11922 result=$wxUSE_COMBOBOX
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11926 $as_echo "$result" >&6; }
11930 defaultval=$wxUSE_ALL_FEATURES
11931 if test -z "$defaultval"; then
11932 if test x"$enablestring" = xdisable; then
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11940 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11941 # Check whether --enable-comboctrl was given.
11942 if test "${enable_comboctrl+set}" = set; then :
11943 enableval=$enable_comboctrl;
11944 if test "$enableval" = yes; then
11945 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11947 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11952 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11957 eval "$wx_cv_use_comboctrl"
11959 if test x"$enablestring" = xdisable; then
11960 if test $wxUSE_COMBOCTRL = no; then
11966 result=$wxUSE_COMBOCTRL
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11970 $as_echo "$result" >&6; }
11974 defaultval=$wxUSE_ALL_FEATURES
11975 if test -z "$defaultval"; then
11976 if test x"$enablestring" = xdisable; then
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11984 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11985 # Check whether --enable-commandlinkbutton was given.
11986 if test "${enable_commandlinkbutton+set}" = set; then :
11987 enableval=$enable_commandlinkbutton;
11988 if test "$enableval" = yes; then
11989 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11991 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11996 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
12001 eval "$wx_cv_use_commandlinkbutton"
12003 if test x"$enablestring" = xdisable; then
12004 if test $wxUSE_COMMANDLINKBUTTON = no; then
12010 result=$wxUSE_COMMANDLINKBUTTON
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12014 $as_echo "$result" >&6; }
12018 defaultval=$wxUSE_ALL_FEATURES
12019 if test -z "$defaultval"; then
12020 if test x"$enablestring" = xdisable; then
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
12028 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
12029 # Check whether --enable-dataviewctrl was given.
12030 if test "${enable_dataviewctrl+set}" = set; then :
12031 enableval=$enable_dataviewctrl;
12032 if test "$enableval" = yes; then
12033 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
12035 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12040 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12045 eval "$wx_cv_use_dataviewctrl"
12047 if test x"$enablestring" = xdisable; then
12048 if test $wxUSE_DATAVIEWCTRL = no; then
12054 result=$wxUSE_DATAVIEWCTRL
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12058 $as_echo "$result" >&6; }
12062 defaultval=$wxUSE_ALL_FEATURES
12063 if test -z "$defaultval"; then
12064 if test x"$enablestring" = xdisable; then
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12072 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12073 # Check whether --enable-datepick was given.
12074 if test "${enable_datepick+set}" = set; then :
12075 enableval=$enable_datepick;
12076 if test "$enableval" = yes; then
12077 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
12079 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
12084 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12089 eval "$wx_cv_use_datepick"
12091 if test x"$enablestring" = xdisable; then
12092 if test $wxUSE_DATEPICKCTRL = no; then
12098 result=$wxUSE_DATEPICKCTRL
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12102 $as_echo "$result" >&6; }
12106 defaultval=$wxUSE_ALL_FEATURES
12107 if test -z "$defaultval"; then
12108 if test x"$enablestring" = xdisable; then
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12116 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12117 # Check whether --enable-detect_sm was given.
12118 if test "${enable_detect_sm+set}" = set; then :
12119 enableval=$enable_detect_sm;
12120 if test "$enableval" = yes; then
12121 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12123 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12128 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12133 eval "$wx_cv_use_detect_sm"
12135 if test x"$enablestring" = xdisable; then
12136 if test $wxUSE_DETECT_SM = no; then
12142 result=$wxUSE_DETECT_SM
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12146 $as_echo "$result" >&6; }
12150 defaultval=$wxUSE_ALL_FEATURES
12151 if test -z "$defaultval"; then
12152 if test x"$enablestring" = xdisable; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12160 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12161 # Check whether --enable-dirpicker was given.
12162 if test "${enable_dirpicker+set}" = set; then :
12163 enableval=$enable_dirpicker;
12164 if test "$enableval" = yes; then
12165 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12167 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12172 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12177 eval "$wx_cv_use_dirpicker"
12179 if test x"$enablestring" = xdisable; then
12180 if test $wxUSE_DIRPICKERCTRL = no; then
12186 result=$wxUSE_DIRPICKERCTRL
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12190 $as_echo "$result" >&6; }
12194 defaultval=$wxUSE_ALL_FEATURES
12195 if test -z "$defaultval"; then
12196 if test x"$enablestring" = xdisable; then
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12204 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12205 # Check whether --enable-display was given.
12206 if test "${enable_display+set}" = set; then :
12207 enableval=$enable_display;
12208 if test "$enableval" = yes; then
12209 wx_cv_use_display='wxUSE_DISPLAY=yes'
12211 wx_cv_use_display='wxUSE_DISPLAY=no'
12216 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12221 eval "$wx_cv_use_display"
12223 if test x"$enablestring" = xdisable; then
12224 if test $wxUSE_DISPLAY = no; then
12230 result=$wxUSE_DISPLAY
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12234 $as_echo "$result" >&6; }
12238 defaultval=$wxUSE_ALL_FEATURES
12239 if test -z "$defaultval"; then
12240 if test x"$enablestring" = xdisable; then
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12248 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12249 # Check whether --enable-editablebox was given.
12250 if test "${enable_editablebox+set}" = set; then :
12251 enableval=$enable_editablebox;
12252 if test "$enableval" = yes; then
12253 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12255 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12260 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12265 eval "$wx_cv_use_editablebox"
12267 if test x"$enablestring" = xdisable; then
12268 if test $wxUSE_EDITABLELISTBOX = no; then
12274 result=$wxUSE_EDITABLELISTBOX
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12278 $as_echo "$result" >&6; }
12282 defaultval=$wxUSE_ALL_FEATURES
12283 if test -z "$defaultval"; then
12284 if test x"$enablestring" = xdisable; then
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12292 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12293 # Check whether --enable-filectrl was given.
12294 if test "${enable_filectrl+set}" = set; then :
12295 enableval=$enable_filectrl;
12296 if test "$enableval" = yes; then
12297 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12299 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12304 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12309 eval "$wx_cv_use_filectrl"
12311 if test x"$enablestring" = xdisable; then
12312 if test $wxUSE_FILECTRL = no; then
12318 result=$wxUSE_FILECTRL
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12322 $as_echo "$result" >&6; }
12326 defaultval=$wxUSE_ALL_FEATURES
12327 if test -z "$defaultval"; then
12328 if test x"$enablestring" = xdisable; then
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12336 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12337 # Check whether --enable-filepicker was given.
12338 if test "${enable_filepicker+set}" = set; then :
12339 enableval=$enable_filepicker;
12340 if test "$enableval" = yes; then
12341 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12343 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12348 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12353 eval "$wx_cv_use_filepicker"
12355 if test x"$enablestring" = xdisable; then
12356 if test $wxUSE_FILEPICKERCTRL = no; then
12362 result=$wxUSE_FILEPICKERCTRL
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12366 $as_echo "$result" >&6; }
12370 defaultval=$wxUSE_ALL_FEATURES
12371 if test -z "$defaultval"; then
12372 if test x"$enablestring" = xdisable; then
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12380 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12381 # Check whether --enable-fontpicker was given.
12382 if test "${enable_fontpicker+set}" = set; then :
12383 enableval=$enable_fontpicker;
12384 if test "$enableval" = yes; then
12385 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12387 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12392 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12397 eval "$wx_cv_use_fontpicker"
12399 if test x"$enablestring" = xdisable; then
12400 if test $wxUSE_FONTPICKERCTRL = no; then
12406 result=$wxUSE_FONTPICKERCTRL
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12410 $as_echo "$result" >&6; }
12414 defaultval=$wxUSE_ALL_FEATURES
12415 if test -z "$defaultval"; then
12416 if test x"$enablestring" = xdisable; then
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12424 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12425 # Check whether --enable-gauge was given.
12426 if test "${enable_gauge+set}" = set; then :
12427 enableval=$enable_gauge;
12428 if test "$enableval" = yes; then
12429 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12431 wx_cv_use_gauge='wxUSE_GAUGE=no'
12436 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12441 eval "$wx_cv_use_gauge"
12443 if test x"$enablestring" = xdisable; then
12444 if test $wxUSE_GAUGE = no; then
12450 result=$wxUSE_GAUGE
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12454 $as_echo "$result" >&6; }
12458 defaultval=$wxUSE_ALL_FEATURES
12459 if test -z "$defaultval"; then
12460 if test x"$enablestring" = xdisable; then
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12468 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12469 # Check whether --enable-grid was given.
12470 if test "${enable_grid+set}" = set; then :
12471 enableval=$enable_grid;
12472 if test "$enableval" = yes; then
12473 wx_cv_use_grid='wxUSE_GRID=yes'
12475 wx_cv_use_grid='wxUSE_GRID=no'
12480 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12485 eval "$wx_cv_use_grid"
12487 if test x"$enablestring" = xdisable; then
12488 if test $wxUSE_GRID = no; then
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12498 $as_echo "$result" >&6; }
12502 defaultval=$wxUSE_ALL_FEATURES
12503 if test -z "$defaultval"; then
12504 if test x"$enablestring" = xdisable; then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12512 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12513 # Check whether --enable-headerctrl was given.
12514 if test "${enable_headerctrl+set}" = set; then :
12515 enableval=$enable_headerctrl;
12516 if test "$enableval" = yes; then
12517 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12519 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12524 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12529 eval "$wx_cv_use_headerctrl"
12531 if test x"$enablestring" = xdisable; then
12532 if test $wxUSE_HEADERCTRL = no; then
12538 result=$wxUSE_HEADERCTRL
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12542 $as_echo "$result" >&6; }
12546 defaultval=$wxUSE_ALL_FEATURES
12547 if test -z "$defaultval"; then
12548 if test x"$enablestring" = xdisable; then
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12556 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12557 # Check whether --enable-hyperlink was given.
12558 if test "${enable_hyperlink+set}" = set; then :
12559 enableval=$enable_hyperlink;
12560 if test "$enableval" = yes; then
12561 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12563 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12568 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12573 eval "$wx_cv_use_hyperlink"
12575 if test x"$enablestring" = xdisable; then
12576 if test $wxUSE_HYPERLINKCTRL = no; then
12582 result=$wxUSE_HYPERLINKCTRL
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12586 $as_echo "$result" >&6; }
12590 defaultval=$wxUSE_ALL_FEATURES
12591 if test -z "$defaultval"; then
12592 if test x"$enablestring" = xdisable; then
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12600 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12601 # Check whether --enable-imaglist was given.
12602 if test "${enable_imaglist+set}" = set; then :
12603 enableval=$enable_imaglist;
12604 if test "$enableval" = yes; then
12605 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12607 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12612 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12617 eval "$wx_cv_use_imaglist"
12619 if test x"$enablestring" = xdisable; then
12620 if test $wxUSE_IMAGLIST = no; then
12626 result=$wxUSE_IMAGLIST
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12630 $as_echo "$result" >&6; }
12634 defaultval=$wxUSE_ALL_FEATURES
12635 if test -z "$defaultval"; then
12636 if test x"$enablestring" = xdisable; then
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12644 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12645 # Check whether --enable-infobar was given.
12646 if test "${enable_infobar+set}" = set; then :
12647 enableval=$enable_infobar;
12648 if test "$enableval" = yes; then
12649 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12651 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12656 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12661 eval "$wx_cv_use_infobar"
12663 if test x"$enablestring" = xdisable; then
12664 if test $wxUSE_INFOBAR = no; then
12670 result=$wxUSE_INFOBAR
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12674 $as_echo "$result" >&6; }
12678 defaultval=$wxUSE_ALL_FEATURES
12679 if test -z "$defaultval"; then
12680 if test x"$enablestring" = xdisable; then
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12688 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12689 # Check whether --enable-listbook was given.
12690 if test "${enable_listbook+set}" = set; then :
12691 enableval=$enable_listbook;
12692 if test "$enableval" = yes; then
12693 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12695 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12700 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12705 eval "$wx_cv_use_listbook"
12707 if test x"$enablestring" = xdisable; then
12708 if test $wxUSE_LISTBOOK = no; then
12714 result=$wxUSE_LISTBOOK
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12718 $as_echo "$result" >&6; }
12722 defaultval=$wxUSE_ALL_FEATURES
12723 if test -z "$defaultval"; then
12724 if test x"$enablestring" = xdisable; then
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12732 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12733 # Check whether --enable-listbox was given.
12734 if test "${enable_listbox+set}" = set; then :
12735 enableval=$enable_listbox;
12736 if test "$enableval" = yes; then
12737 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12739 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12744 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12749 eval "$wx_cv_use_listbox"
12751 if test x"$enablestring" = xdisable; then
12752 if test $wxUSE_LISTBOX = no; then
12758 result=$wxUSE_LISTBOX
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12762 $as_echo "$result" >&6; }
12766 defaultval=$wxUSE_ALL_FEATURES
12767 if test -z "$defaultval"; then
12768 if test x"$enablestring" = xdisable; then
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12776 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12777 # Check whether --enable-listctrl was given.
12778 if test "${enable_listctrl+set}" = set; then :
12779 enableval=$enable_listctrl;
12780 if test "$enableval" = yes; then
12781 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12783 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12788 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12793 eval "$wx_cv_use_listctrl"
12795 if test x"$enablestring" = xdisable; then
12796 if test $wxUSE_LISTCTRL = no; then
12802 result=$wxUSE_LISTCTRL
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12806 $as_echo "$result" >&6; }
12810 defaultval=$wxUSE_ALL_FEATURES
12811 if test -z "$defaultval"; then
12812 if test x"$enablestring" = xdisable; then
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12820 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12821 # Check whether --enable-notebook was given.
12822 if test "${enable_notebook+set}" = set; then :
12823 enableval=$enable_notebook;
12824 if test "$enableval" = yes; then
12825 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12827 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12832 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12837 eval "$wx_cv_use_notebook"
12839 if test x"$enablestring" = xdisable; then
12840 if test $wxUSE_NOTEBOOK = no; then
12846 result=$wxUSE_NOTEBOOK
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12850 $as_echo "$result" >&6; }
12854 defaultval=$wxUSE_ALL_FEATURES
12855 if test -z "$defaultval"; then
12856 if test x"$enablestring" = xdisable; then
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12864 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12865 # Check whether --enable-notifmsg was given.
12866 if test "${enable_notifmsg+set}" = set; then :
12867 enableval=$enable_notifmsg;
12868 if test "$enableval" = yes; then
12869 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12871 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12876 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12881 eval "$wx_cv_use_notifmsg"
12883 if test x"$enablestring" = xdisable; then
12884 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12890 result=$wxUSE_NOTIFICATION_MESSAGE
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12894 $as_echo "$result" >&6; }
12898 defaultval=$wxUSE_ALL_FEATURES
12899 if test -z "$defaultval"; then
12900 if test x"$enablestring" = xdisable; then
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12908 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12909 # Check whether --enable-odcombobox was given.
12910 if test "${enable_odcombobox+set}" = set; then :
12911 enableval=$enable_odcombobox;
12912 if test "$enableval" = yes; then
12913 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12915 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12920 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12925 eval "$wx_cv_use_odcombobox"
12927 if test x"$enablestring" = xdisable; then
12928 if test $wxUSE_ODCOMBOBOX = no; then
12934 result=$wxUSE_ODCOMBOBOX
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12938 $as_echo "$result" >&6; }
12942 defaultval=$wxUSE_ALL_FEATURES
12943 if test -z "$defaultval"; then
12944 if test x"$enablestring" = xdisable; then
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12952 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12953 # Check whether --enable-popupwin was given.
12954 if test "${enable_popupwin+set}" = set; then :
12955 enableval=$enable_popupwin;
12956 if test "$enableval" = yes; then
12957 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12959 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12964 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12969 eval "$wx_cv_use_popupwin"
12971 if test x"$enablestring" = xdisable; then
12972 if test $wxUSE_POPUPWIN = no; then
12978 result=$wxUSE_POPUPWIN
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12982 $as_echo "$result" >&6; }
12986 defaultval=$wxUSE_ALL_FEATURES
12987 if test -z "$defaultval"; then
12988 if test x"$enablestring" = xdisable; then
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-prefseditor" >&5
12996 $as_echo_n "checking for --${enablestring:-enable}-prefseditor... " >&6; }
12997 # Check whether --enable-prefseditor was given.
12998 if test "${enable_prefseditor+set}" = set; then :
12999 enableval=$enable_prefseditor;
13000 if test "$enableval" = yes; then
13001 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=yes'
13003 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=no'
13008 wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=${'DEFAULT_wxUSE_PREFERENCES_EDITOR":-$defaultval}"
13013 eval "$wx_cv_use_prefseditor"
13015 if test x"$enablestring" = xdisable; then
13016 if test $wxUSE_PREFERENCES_EDITOR = no; then
13022 result=$wxUSE_PREFERENCES_EDITOR
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13026 $as_echo "$result" >&6; }
13030 defaultval=$wxUSE_ALL_FEATURES
13031 if test -z "$defaultval"; then
13032 if test x"$enablestring" = xdisable; then
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
13040 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
13041 # Check whether --enable-radiobox was given.
13042 if test "${enable_radiobox+set}" = set; then :
13043 enableval=$enable_radiobox;
13044 if test "$enableval" = yes; then
13045 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
13047 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
13052 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
13057 eval "$wx_cv_use_radiobox"
13059 if test x"$enablestring" = xdisable; then
13060 if test $wxUSE_RADIOBOX = no; then
13066 result=$wxUSE_RADIOBOX
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13070 $as_echo "$result" >&6; }
13074 defaultval=$wxUSE_ALL_FEATURES
13075 if test -z "$defaultval"; then
13076 if test x"$enablestring" = xdisable; then
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13084 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13085 # Check whether --enable-radiobtn was given.
13086 if test "${enable_radiobtn+set}" = set; then :
13087 enableval=$enable_radiobtn;
13088 if test "$enableval" = yes; then
13089 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
13091 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
13096 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13101 eval "$wx_cv_use_radiobtn"
13103 if test x"$enablestring" = xdisable; then
13104 if test $wxUSE_RADIOBTN = no; then
13110 result=$wxUSE_RADIOBTN
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13114 $as_echo "$result" >&6; }
13118 defaultval=$wxUSE_ALL_FEATURES
13119 if test -z "$defaultval"; then
13120 if test x"$enablestring" = xdisable; then
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
13128 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
13129 # Check whether --enable-richmsgdlg was given.
13130 if test "${enable_richmsgdlg+set}" = set; then :
13131 enableval=$enable_richmsgdlg;
13132 if test "$enableval" = yes; then
13133 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13135 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13140 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13145 eval "$wx_cv_use_richmsgdlg"
13147 if test x"$enablestring" = xdisable; then
13148 if test $wxUSE_RICHMSGDLG = no; then
13154 result=$wxUSE_RICHMSGDLG
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13158 $as_echo "$result" >&6; }
13162 defaultval=$wxUSE_ALL_FEATURES
13163 if test -z "$defaultval"; then
13164 if test x"$enablestring" = xdisable; then
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13172 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13173 # Check whether --enable-richtooltip was given.
13174 if test "${enable_richtooltip+set}" = set; then :
13175 enableval=$enable_richtooltip;
13176 if test "$enableval" = yes; then
13177 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13179 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13184 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13189 eval "$wx_cv_use_richtooltip"
13191 if test x"$enablestring" = xdisable; then
13192 if test $wxUSE_RICHTOOLTIP = no; then
13198 result=$wxUSE_RICHTOOLTIP
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13202 $as_echo "$result" >&6; }
13206 defaultval=$wxUSE_ALL_FEATURES
13207 if test -z "$defaultval"; then
13208 if test x"$enablestring" = xdisable; then
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13216 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13217 # Check whether --enable-rearrangectrl was given.
13218 if test "${enable_rearrangectrl+set}" = set; then :
13219 enableval=$enable_rearrangectrl;
13220 if test "$enableval" = yes; then
13221 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13223 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13228 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13233 eval "$wx_cv_use_rearrangectrl"
13235 if test x"$enablestring" = xdisable; then
13236 if test $wxUSE_REARRANGECTRL = no; then
13242 result=$wxUSE_REARRANGECTRL
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13246 $as_echo "$result" >&6; }
13250 defaultval=$wxUSE_ALL_FEATURES
13251 if test -z "$defaultval"; then
13252 if test x"$enablestring" = xdisable; then
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13260 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13261 # Check whether --enable-sash was given.
13262 if test "${enable_sash+set}" = set; then :
13263 enableval=$enable_sash;
13264 if test "$enableval" = yes; then
13265 wx_cv_use_sash='wxUSE_SASH=yes'
13267 wx_cv_use_sash='wxUSE_SASH=no'
13272 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13277 eval "$wx_cv_use_sash"
13279 if test x"$enablestring" = xdisable; then
13280 if test $wxUSE_SASH = no; then
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13290 $as_echo "$result" >&6; }
13294 defaultval=$wxUSE_ALL_FEATURES
13295 if test -z "$defaultval"; then
13296 if test x"$enablestring" = xdisable; then
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13304 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13305 # Check whether --enable-scrollbar was given.
13306 if test "${enable_scrollbar+set}" = set; then :
13307 enableval=$enable_scrollbar;
13308 if test "$enableval" = yes; then
13309 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13311 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13316 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13321 eval "$wx_cv_use_scrollbar"
13323 if test x"$enablestring" = xdisable; then
13324 if test $wxUSE_SCROLLBAR = no; then
13330 result=$wxUSE_SCROLLBAR
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13334 $as_echo "$result" >&6; }
13338 defaultval=$wxUSE_ALL_FEATURES
13339 if test -z "$defaultval"; then
13340 if test x"$enablestring" = xdisable; then
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13348 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13349 # Check whether --enable-searchctrl was given.
13350 if test "${enable_searchctrl+set}" = set; then :
13351 enableval=$enable_searchctrl;
13352 if test "$enableval" = yes; then
13353 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13355 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13360 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13365 eval "$wx_cv_use_searchctrl"
13367 if test x"$enablestring" = xdisable; then
13368 if test $wxUSE_SEARCHCTRL = no; then
13374 result=$wxUSE_SEARCHCTRL
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13378 $as_echo "$result" >&6; }
13382 defaultval=$wxUSE_ALL_FEATURES
13383 if test -z "$defaultval"; then
13384 if test x"$enablestring" = xdisable; then
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13392 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13393 # Check whether --enable-slider was given.
13394 if test "${enable_slider+set}" = set; then :
13395 enableval=$enable_slider;
13396 if test "$enableval" = yes; then
13397 wx_cv_use_slider='wxUSE_SLIDER=yes'
13399 wx_cv_use_slider='wxUSE_SLIDER=no'
13404 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13409 eval "$wx_cv_use_slider"
13411 if test x"$enablestring" = xdisable; then
13412 if test $wxUSE_SLIDER = no; then
13418 result=$wxUSE_SLIDER
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13422 $as_echo "$result" >&6; }
13426 defaultval=$wxUSE_ALL_FEATURES
13427 if test -z "$defaultval"; then
13428 if test x"$enablestring" = xdisable; then
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13436 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13437 # Check whether --enable-spinbtn was given.
13438 if test "${enable_spinbtn+set}" = set; then :
13439 enableval=$enable_spinbtn;
13440 if test "$enableval" = yes; then
13441 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13443 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13448 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13453 eval "$wx_cv_use_spinbtn"
13455 if test x"$enablestring" = xdisable; then
13456 if test $wxUSE_SPINBTN = no; then
13462 result=$wxUSE_SPINBTN
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13466 $as_echo "$result" >&6; }
13470 defaultval=$wxUSE_ALL_FEATURES
13471 if test -z "$defaultval"; then
13472 if test x"$enablestring" = xdisable; then
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13480 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13481 # Check whether --enable-spinctrl was given.
13482 if test "${enable_spinctrl+set}" = set; then :
13483 enableval=$enable_spinctrl;
13484 if test "$enableval" = yes; then
13485 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13487 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13492 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13497 eval "$wx_cv_use_spinctrl"
13499 if test x"$enablestring" = xdisable; then
13500 if test $wxUSE_SPINCTRL = no; then
13506 result=$wxUSE_SPINCTRL
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13510 $as_echo "$result" >&6; }
13514 defaultval=$wxUSE_ALL_FEATURES
13515 if test -z "$defaultval"; then
13516 if test x"$enablestring" = xdisable; then
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13524 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13525 # Check whether --enable-splitter was given.
13526 if test "${enable_splitter+set}" = set; then :
13527 enableval=$enable_splitter;
13528 if test "$enableval" = yes; then
13529 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13531 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13536 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13541 eval "$wx_cv_use_splitter"
13543 if test x"$enablestring" = xdisable; then
13544 if test $wxUSE_SPLITTER = no; then
13550 result=$wxUSE_SPLITTER
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13554 $as_echo "$result" >&6; }
13558 defaultval=$wxUSE_ALL_FEATURES
13559 if test -z "$defaultval"; then
13560 if test x"$enablestring" = xdisable; then
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13568 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13569 # Check whether --enable-statbmp was given.
13570 if test "${enable_statbmp+set}" = set; then :
13571 enableval=$enable_statbmp;
13572 if test "$enableval" = yes; then
13573 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13575 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13580 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13585 eval "$wx_cv_use_statbmp"
13587 if test x"$enablestring" = xdisable; then
13588 if test $wxUSE_STATBMP = no; then
13594 result=$wxUSE_STATBMP
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13598 $as_echo "$result" >&6; }
13602 defaultval=$wxUSE_ALL_FEATURES
13603 if test -z "$defaultval"; then
13604 if test x"$enablestring" = xdisable; then
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13612 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13613 # Check whether --enable-statbox was given.
13614 if test "${enable_statbox+set}" = set; then :
13615 enableval=$enable_statbox;
13616 if test "$enableval" = yes; then
13617 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13619 wx_cv_use_statbox='wxUSE_STATBOX=no'
13624 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13629 eval "$wx_cv_use_statbox"
13631 if test x"$enablestring" = xdisable; then
13632 if test $wxUSE_STATBOX = no; then
13638 result=$wxUSE_STATBOX
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13642 $as_echo "$result" >&6; }
13646 defaultval=$wxUSE_ALL_FEATURES
13647 if test -z "$defaultval"; then
13648 if test x"$enablestring" = xdisable; then
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13656 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13657 # Check whether --enable-statline was given.
13658 if test "${enable_statline+set}" = set; then :
13659 enableval=$enable_statline;
13660 if test "$enableval" = yes; then
13661 wx_cv_use_statline='wxUSE_STATLINE=yes'
13663 wx_cv_use_statline='wxUSE_STATLINE=no'
13668 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13673 eval "$wx_cv_use_statline"
13675 if test x"$enablestring" = xdisable; then
13676 if test $wxUSE_STATLINE = no; then
13682 result=$wxUSE_STATLINE
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13686 $as_echo "$result" >&6; }
13690 defaultval=$wxUSE_ALL_FEATURES
13691 if test -z "$defaultval"; then
13692 if test x"$enablestring" = xdisable; then
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13700 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13701 # Check whether --enable-stattext was given.
13702 if test "${enable_stattext+set}" = set; then :
13703 enableval=$enable_stattext;
13704 if test "$enableval" = yes; then
13705 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13707 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13712 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13717 eval "$wx_cv_use_stattext"
13719 if test x"$enablestring" = xdisable; then
13720 if test $wxUSE_STATTEXT = no; then
13726 result=$wxUSE_STATTEXT
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13730 $as_echo "$result" >&6; }
13734 defaultval=$wxUSE_ALL_FEATURES
13735 if test -z "$defaultval"; then
13736 if test x"$enablestring" = xdisable; then
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13744 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13745 # Check whether --enable-statusbar was given.
13746 if test "${enable_statusbar+set}" = set; then :
13747 enableval=$enable_statusbar;
13748 if test "$enableval" = yes; then
13749 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13751 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13756 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13761 eval "$wx_cv_use_statusbar"
13763 if test x"$enablestring" = xdisable; then
13764 if test $wxUSE_STATUSBAR = no; then
13770 result=$wxUSE_STATUSBAR
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13774 $as_echo "$result" >&6; }
13778 defaultval=$wxUSE_ALL_FEATURES
13779 if test -z "$defaultval"; then
13780 if test x"$enablestring" = xdisable; then
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13788 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13789 # Check whether --enable-taskbaricon was given.
13790 if test "${enable_taskbaricon+set}" = set; then :
13791 enableval=$enable_taskbaricon;
13792 if test "$enableval" = yes; then
13793 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13795 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13800 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13805 eval "$wx_cv_use_taskbaricon"
13807 if test x"$enablestring" = xdisable; then
13808 if test $wxUSE_TASKBARICON = no; then
13814 result=$wxUSE_TASKBARICON
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13818 $as_echo "$result" >&6; }
13822 defaultval=$wxUSE_ALL_FEATURES
13823 if test -z "$defaultval"; then
13824 if test x"$enablestring" = xdisable; then
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13832 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13833 # Check whether --enable-tbarnative was given.
13834 if test "${enable_tbarnative+set}" = set; then :
13835 enableval=$enable_tbarnative;
13836 if test "$enableval" = yes; then
13837 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13839 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13844 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13849 eval "$wx_cv_use_tbarnative"
13851 if test x"$enablestring" = xdisable; then
13852 if test $wxUSE_TOOLBAR_NATIVE = no; then
13858 result=$wxUSE_TOOLBAR_NATIVE
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13862 $as_echo "$result" >&6; }
13866 defaultval=$wxUSE_ALL_FEATURES
13867 if test -z "$defaultval"; then
13868 if test x"$enablestring" = xdisable; then
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13876 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13877 # Check whether --enable-textctrl was given.
13878 if test "${enable_textctrl+set}" = set; then :
13879 enableval=$enable_textctrl;
13880 if test "$enableval" = yes; then
13881 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13883 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13888 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13893 eval "$wx_cv_use_textctrl"
13895 if test x"$enablestring" = xdisable; then
13896 if test $wxUSE_TEXTCTRL = no; then
13902 result=$wxUSE_TEXTCTRL
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13906 $as_echo "$result" >&6; }
13910 defaultval=$wxUSE_ALL_FEATURES
13911 if test -z "$defaultval"; then
13912 if test x"$enablestring" = xdisable; then
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13920 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13921 # Check whether --enable-datepick was given.
13922 if test "${enable_datepick+set}" = set; then :
13923 enableval=$enable_datepick;
13924 if test "$enableval" = yes; then
13925 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13927 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13932 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13937 eval "$wx_cv_use_datepick"
13939 if test x"$enablestring" = xdisable; then
13940 if test $wxUSE_TIMEPICKCTRL = no; then
13946 result=$wxUSE_TIMEPICKCTRL
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13950 $as_echo "$result" >&6; }
13954 defaultval=$wxUSE_ALL_FEATURES
13955 if test -z "$defaultval"; then
13956 if test x"$enablestring" = xdisable; then
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13964 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13965 # Check whether --enable-tipwindow was given.
13966 if test "${enable_tipwindow+set}" = set; then :
13967 enableval=$enable_tipwindow;
13968 if test "$enableval" = yes; then
13969 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13971 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13976 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13981 eval "$wx_cv_use_tipwindow"
13983 if test x"$enablestring" = xdisable; then
13984 if test $wxUSE_TIPWINDOW = no; then
13990 result=$wxUSE_TIPWINDOW
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13994 $as_echo "$result" >&6; }
13998 defaultval=$wxUSE_ALL_FEATURES
13999 if test -z "$defaultval"; then
14000 if test x"$enablestring" = xdisable; then
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
14008 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
14009 # Check whether --enable-togglebtn was given.
14010 if test "${enable_togglebtn+set}" = set; then :
14011 enableval=$enable_togglebtn;
14012 if test "$enableval" = yes; then
14013 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
14015 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
14020 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
14025 eval "$wx_cv_use_togglebtn"
14027 if test x"$enablestring" = xdisable; then
14028 if test $wxUSE_TOGGLEBTN = no; then
14034 result=$wxUSE_TOGGLEBTN
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14038 $as_echo "$result" >&6; }
14042 defaultval=$wxUSE_ALL_FEATURES
14043 if test -z "$defaultval"; then
14044 if test x"$enablestring" = xdisable; then
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
14052 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
14053 # Check whether --enable-toolbar was given.
14054 if test "${enable_toolbar+set}" = set; then :
14055 enableval=$enable_toolbar;
14056 if test "$enableval" = yes; then
14057 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
14059 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
14064 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
14069 eval "$wx_cv_use_toolbar"
14071 if test x"$enablestring" = xdisable; then
14072 if test $wxUSE_TOOLBAR = no; then
14078 result=$wxUSE_TOOLBAR
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14082 $as_echo "$result" >&6; }
14086 defaultval=$wxUSE_ALL_FEATURES
14087 if test -z "$defaultval"; then
14088 if test x"$enablestring" = xdisable; then
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14096 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14097 # Check whether --enable-toolbook was given.
14098 if test "${enable_toolbook+set}" = set; then :
14099 enableval=$enable_toolbook;
14100 if test "$enableval" = yes; then
14101 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
14103 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
14108 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14113 eval "$wx_cv_use_toolbook"
14115 if test x"$enablestring" = xdisable; then
14116 if test $wxUSE_TOOLBOOK = no; then
14122 result=$wxUSE_TOOLBOOK
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14126 $as_echo "$result" >&6; }
14130 defaultval=$wxUSE_ALL_FEATURES
14131 if test -z "$defaultval"; then
14132 if test x"$enablestring" = xdisable; then
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14140 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14141 # Check whether --enable-treebook was given.
14142 if test "${enable_treebook+set}" = set; then :
14143 enableval=$enable_treebook;
14144 if test "$enableval" = yes; then
14145 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
14147 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
14152 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14157 eval "$wx_cv_use_treebook"
14159 if test x"$enablestring" = xdisable; then
14160 if test $wxUSE_TREEBOOK = no; then
14166 result=$wxUSE_TREEBOOK
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14170 $as_echo "$result" >&6; }
14174 defaultval=$wxUSE_ALL_FEATURES
14175 if test -z "$defaultval"; then
14176 if test x"$enablestring" = xdisable; then
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14184 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14185 # Check whether --enable-treectrl was given.
14186 if test "${enable_treectrl+set}" = set; then :
14187 enableval=$enable_treectrl;
14188 if test "$enableval" = yes; then
14189 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14191 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14196 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14201 eval "$wx_cv_use_treectrl"
14203 if test x"$enablestring" = xdisable; then
14204 if test $wxUSE_TREECTRL = no; then
14210 result=$wxUSE_TREECTRL
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14214 $as_echo "$result" >&6; }
14218 defaultval=$wxUSE_ALL_FEATURES
14219 if test -z "$defaultval"; then
14220 if test x"$enablestring" = xdisable; then
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14228 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14229 # Check whether --enable-treelist was given.
14230 if test "${enable_treelist+set}" = set; then :
14231 enableval=$enable_treelist;
14232 if test "$enableval" = yes; then
14233 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14235 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14240 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14245 eval "$wx_cv_use_treelist"
14247 if test x"$enablestring" = xdisable; then
14248 if test $wxUSE_TREELISTCTRL = no; then
14254 result=$wxUSE_TREELISTCTRL
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14258 $as_echo "$result" >&6; }
14264 defaultval=$wxUSE_ALL_FEATURES
14265 if test -z "$defaultval"; then
14266 if test x"$enablestring" = xdisable; then
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14274 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14275 # Check whether --enable-commondlg was given.
14276 if test "${enable_commondlg+set}" = set; then :
14277 enableval=$enable_commondlg;
14278 if test "$enableval" = yes; then
14279 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14281 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14286 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14291 eval "$wx_cv_use_commondlg"
14293 if test x"$enablestring" = xdisable; then
14294 if test $wxUSE_COMMONDLGS = no; then
14300 result=$wxUSE_COMMONDLGS
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14304 $as_echo "$result" >&6; }
14308 defaultval=$wxUSE_ALL_FEATURES
14309 if test -z "$defaultval"; then
14310 if test x"$enablestring" = xdisable; then
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14318 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14319 # Check whether --enable-aboutdlg was given.
14320 if test "${enable_aboutdlg+set}" = set; then :
14321 enableval=$enable_aboutdlg;
14322 if test "$enableval" = yes; then
14323 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14325 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14330 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14335 eval "$wx_cv_use_aboutdlg"
14337 if test x"$enablestring" = xdisable; then
14338 if test $wxUSE_ABOUTDLG = no; then
14344 result=$wxUSE_ABOUTDLG
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14348 $as_echo "$result" >&6; }
14352 defaultval=$wxUSE_ALL_FEATURES
14353 if test -z "$defaultval"; then
14354 if test x"$enablestring" = xdisable; then
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14362 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14363 # Check whether --enable-choicedlg was given.
14364 if test "${enable_choicedlg+set}" = set; then :
14365 enableval=$enable_choicedlg;
14366 if test "$enableval" = yes; then
14367 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14369 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14374 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14379 eval "$wx_cv_use_choicedlg"
14381 if test x"$enablestring" = xdisable; then
14382 if test $wxUSE_CHOICEDLG = no; then
14388 result=$wxUSE_CHOICEDLG
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14392 $as_echo "$result" >&6; }
14396 defaultval=$wxUSE_ALL_FEATURES
14397 if test -z "$defaultval"; then
14398 if test x"$enablestring" = xdisable; then
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14406 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14407 # Check whether --enable-coldlg was given.
14408 if test "${enable_coldlg+set}" = set; then :
14409 enableval=$enable_coldlg;
14410 if test "$enableval" = yes; then
14411 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14413 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14418 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14423 eval "$wx_cv_use_coldlg"
14425 if test x"$enablestring" = xdisable; then
14426 if test $wxUSE_COLOURDLG = no; then
14432 result=$wxUSE_COLOURDLG
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14436 $as_echo "$result" >&6; }
14440 defaultval=$wxUSE_ALL_FEATURES
14441 if test -z "$defaultval"; then
14442 if test x"$enablestring" = xdisable; then
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14450 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14451 # Check whether --enable-filedlg was given.
14452 if test "${enable_filedlg+set}" = set; then :
14453 enableval=$enable_filedlg;
14454 if test "$enableval" = yes; then
14455 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14457 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14462 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14467 eval "$wx_cv_use_filedlg"
14469 if test x"$enablestring" = xdisable; then
14470 if test $wxUSE_FILEDLG = no; then
14476 result=$wxUSE_FILEDLG
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14480 $as_echo "$result" >&6; }
14484 defaultval=$wxUSE_ALL_FEATURES
14485 if test -z "$defaultval"; then
14486 if test x"$enablestring" = xdisable; then
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14494 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14495 # Check whether --enable-finddlg was given.
14496 if test "${enable_finddlg+set}" = set; then :
14497 enableval=$enable_finddlg;
14498 if test "$enableval" = yes; then
14499 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14501 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14506 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14511 eval "$wx_cv_use_finddlg"
14513 if test x"$enablestring" = xdisable; then
14514 if test $wxUSE_FINDREPLDLG = no; then
14520 result=$wxUSE_FINDREPLDLG
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14524 $as_echo "$result" >&6; }
14528 defaultval=$wxUSE_ALL_FEATURES
14529 if test -z "$defaultval"; then
14530 if test x"$enablestring" = xdisable; then
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14538 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14539 # Check whether --enable-fontdlg was given.
14540 if test "${enable_fontdlg+set}" = set; then :
14541 enableval=$enable_fontdlg;
14542 if test "$enableval" = yes; then
14543 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14545 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14550 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14555 eval "$wx_cv_use_fontdlg"
14557 if test x"$enablestring" = xdisable; then
14558 if test $wxUSE_FONTDLG = no; then
14564 result=$wxUSE_FONTDLG
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14568 $as_echo "$result" >&6; }
14572 defaultval=$wxUSE_ALL_FEATURES
14573 if test -z "$defaultval"; then
14574 if test x"$enablestring" = xdisable; then
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14582 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14583 # Check whether --enable-dirdlg was given.
14584 if test "${enable_dirdlg+set}" = set; then :
14585 enableval=$enable_dirdlg;
14586 if test "$enableval" = yes; then
14587 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14589 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14594 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14599 eval "$wx_cv_use_dirdlg"
14601 if test x"$enablestring" = xdisable; then
14602 if test $wxUSE_DIRDLG = no; then
14608 result=$wxUSE_DIRDLG
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14612 $as_echo "$result" >&6; }
14616 defaultval=$wxUSE_ALL_FEATURES
14617 if test -z "$defaultval"; then
14618 if test x"$enablestring" = xdisable; then
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14626 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14627 # Check whether --enable-msgdlg was given.
14628 if test "${enable_msgdlg+set}" = set; then :
14629 enableval=$enable_msgdlg;
14630 if test "$enableval" = yes; then
14631 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14633 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14638 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14643 eval "$wx_cv_use_msgdlg"
14645 if test x"$enablestring" = xdisable; then
14646 if test $wxUSE_MSGDLG = no; then
14652 result=$wxUSE_MSGDLG
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14656 $as_echo "$result" >&6; }
14660 defaultval=$wxUSE_ALL_FEATURES
14661 if test -z "$defaultval"; then
14662 if test x"$enablestring" = xdisable; then
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14670 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14671 # Check whether --enable-numberdlg was given.
14672 if test "${enable_numberdlg+set}" = set; then :
14673 enableval=$enable_numberdlg;
14674 if test "$enableval" = yes; then
14675 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14677 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14682 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14687 eval "$wx_cv_use_numberdlg"
14689 if test x"$enablestring" = xdisable; then
14690 if test $wxUSE_NUMBERDLG = no; then
14696 result=$wxUSE_NUMBERDLG
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14700 $as_echo "$result" >&6; }
14704 defaultval=$wxUSE_ALL_FEATURES
14705 if test -z "$defaultval"; then
14706 if test x"$enablestring" = xdisable; then
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14714 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14715 # Check whether --enable-splash was given.
14716 if test "${enable_splash+set}" = set; then :
14717 enableval=$enable_splash;
14718 if test "$enableval" = yes; then
14719 wx_cv_use_splash='wxUSE_SPLASH=yes'
14721 wx_cv_use_splash='wxUSE_SPLASH=no'
14726 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14731 eval "$wx_cv_use_splash"
14733 if test x"$enablestring" = xdisable; then
14734 if test $wxUSE_SPLASH = no; then
14740 result=$wxUSE_SPLASH
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14744 $as_echo "$result" >&6; }
14748 defaultval=$wxUSE_ALL_FEATURES
14749 if test -z "$defaultval"; then
14750 if test x"$enablestring" = xdisable; then
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14758 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14759 # Check whether --enable-textdlg was given.
14760 if test "${enable_textdlg+set}" = set; then :
14761 enableval=$enable_textdlg;
14762 if test "$enableval" = yes; then
14763 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14765 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14770 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14775 eval "$wx_cv_use_textdlg"
14777 if test x"$enablestring" = xdisable; then
14778 if test $wxUSE_TEXTDLG = no; then
14784 result=$wxUSE_TEXTDLG
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14788 $as_echo "$result" >&6; }
14792 defaultval=$wxUSE_ALL_FEATURES
14793 if test -z "$defaultval"; then
14794 if test x"$enablestring" = xdisable; then
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14802 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14803 # Check whether --enable-tipdlg was given.
14804 if test "${enable_tipdlg+set}" = set; then :
14805 enableval=$enable_tipdlg;
14806 if test "$enableval" = yes; then
14807 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14809 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14814 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14819 eval "$wx_cv_use_tipdlg"
14821 if test x"$enablestring" = xdisable; then
14822 if test $wxUSE_STARTUP_TIPS = no; then
14828 result=$wxUSE_STARTUP_TIPS
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14832 $as_echo "$result" >&6; }
14836 defaultval=$wxUSE_ALL_FEATURES
14837 if test -z "$defaultval"; then
14838 if test x"$enablestring" = xdisable; then
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14846 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14847 # Check whether --enable-progressdlg was given.
14848 if test "${enable_progressdlg+set}" = set; then :
14849 enableval=$enable_progressdlg;
14850 if test "$enableval" = yes; then
14851 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14853 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14858 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14863 eval "$wx_cv_use_progressdlg"
14865 if test x"$enablestring" = xdisable; then
14866 if test $wxUSE_PROGRESSDLG = no; then
14872 result=$wxUSE_PROGRESSDLG
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14876 $as_echo "$result" >&6; }
14880 defaultval=$wxUSE_ALL_FEATURES
14881 if test -z "$defaultval"; then
14882 if test x"$enablestring" = xdisable; then
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14890 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14891 # Check whether --enable-wizarddlg was given.
14892 if test "${enable_wizarddlg+set}" = set; then :
14893 enableval=$enable_wizarddlg;
14894 if test "$enableval" = yes; then
14895 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14897 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14902 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14907 eval "$wx_cv_use_wizarddlg"
14909 if test x"$enablestring" = xdisable; then
14910 if test $wxUSE_WIZARDDLG = no; then
14916 result=$wxUSE_WIZARDDLG
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14920 $as_echo "$result" >&6; }
14926 defaultval=$wxUSE_ALL_FEATURES
14927 if test -z "$defaultval"; then
14928 if test x"$enablestring" = xdisable; then
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14936 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14937 # Check whether --enable-menus was given.
14938 if test "${enable_menus+set}" = set; then :
14939 enableval=$enable_menus;
14940 if test "$enableval" = yes; then
14941 wx_cv_use_menus='wxUSE_MENUS=yes'
14943 wx_cv_use_menus='wxUSE_MENUS=no'
14948 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14953 eval "$wx_cv_use_menus"
14955 if test x"$enablestring" = xdisable; then
14956 if test $wxUSE_MENUS = no; then
14962 result=$wxUSE_MENUS
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14966 $as_echo "$result" >&6; }
14970 defaultval=$wxUSE_ALL_FEATURES
14971 if test -z "$defaultval"; then
14972 if test x"$enablestring" = xdisable; then
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14980 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14981 # Check whether --enable-miniframe was given.
14982 if test "${enable_miniframe+set}" = set; then :
14983 enableval=$enable_miniframe;
14984 if test "$enableval" = yes; then
14985 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14987 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14992 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14997 eval "$wx_cv_use_miniframe"
14999 if test x"$enablestring" = xdisable; then
15000 if test $wxUSE_MINIFRAME = no; then
15006 result=$wxUSE_MINIFRAME
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15010 $as_echo "$result" >&6; }
15014 defaultval=$wxUSE_ALL_FEATURES
15015 if test -z "$defaultval"; then
15016 if test x"$enablestring" = xdisable; then
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
15024 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
15025 # Check whether --enable-tooltips was given.
15026 if test "${enable_tooltips+set}" = set; then :
15027 enableval=$enable_tooltips;
15028 if test "$enableval" = yes; then
15029 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
15031 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
15036 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
15041 eval "$wx_cv_use_tooltips"
15043 if test x"$enablestring" = xdisable; then
15044 if test $wxUSE_TOOLTIPS = no; then
15050 result=$wxUSE_TOOLTIPS
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15054 $as_echo "$result" >&6; }
15058 defaultval=$wxUSE_ALL_FEATURES
15059 if test -z "$defaultval"; then
15060 if test x"$enablestring" = xdisable; then
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
15068 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
15069 # Check whether --enable-splines was given.
15070 if test "${enable_splines+set}" = set; then :
15071 enableval=$enable_splines;
15072 if test "$enableval" = yes; then
15073 wx_cv_use_splines='wxUSE_SPLINES=yes'
15075 wx_cv_use_splines='wxUSE_SPLINES=no'
15080 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15085 eval "$wx_cv_use_splines"
15087 if test x"$enablestring" = xdisable; then
15088 if test $wxUSE_SPLINES = no; then
15094 result=$wxUSE_SPLINES
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15098 $as_echo "$result" >&6; }
15102 defaultval=$wxUSE_ALL_FEATURES
15103 if test -z "$defaultval"; then
15104 if test x"$enablestring" = xdisable; then
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
15112 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
15113 # Check whether --enable-mousewheel was given.
15114 if test "${enable_mousewheel+set}" = set; then :
15115 enableval=$enable_mousewheel;
15116 if test "$enableval" = yes; then
15117 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15119 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15124 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15129 eval "$wx_cv_use_mousewheel"
15131 if test x"$enablestring" = xdisable; then
15132 if test $wxUSE_MOUSEWHEEL = no; then
15138 result=$wxUSE_MOUSEWHEEL
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15142 $as_echo "$result" >&6; }
15146 defaultval=$wxUSE_ALL_FEATURES
15147 if test -z "$defaultval"; then
15148 if test x"$enablestring" = xdisable; then
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15156 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15157 # Check whether --enable-validators was given.
15158 if test "${enable_validators+set}" = set; then :
15159 enableval=$enable_validators;
15160 if test "$enableval" = yes; then
15161 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15163 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15168 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15173 eval "$wx_cv_use_validators"
15175 if test x"$enablestring" = xdisable; then
15176 if test $wxUSE_VALIDATORS = no; then
15182 result=$wxUSE_VALIDATORS
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15186 $as_echo "$result" >&6; }
15190 defaultval=$wxUSE_ALL_FEATURES
15191 if test -z "$defaultval"; then
15192 if test x"$enablestring" = xdisable; then
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15200 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15201 # Check whether --enable-busyinfo was given.
15202 if test "${enable_busyinfo+set}" = set; then :
15203 enableval=$enable_busyinfo;
15204 if test "$enableval" = yes; then
15205 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15207 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15212 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15217 eval "$wx_cv_use_busyinfo"
15219 if test x"$enablestring" = xdisable; then
15220 if test $wxUSE_BUSYINFO = no; then
15226 result=$wxUSE_BUSYINFO
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15230 $as_echo "$result" >&6; }
15234 defaultval=$wxUSE_ALL_FEATURES
15235 if test -z "$defaultval"; then
15236 if test x"$enablestring" = xdisable; then
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15244 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15245 # Check whether --enable-hotkey was given.
15246 if test "${enable_hotkey+set}" = set; then :
15247 enableval=$enable_hotkey;
15248 if test "$enableval" = yes; then
15249 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15251 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15256 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15261 eval "$wx_cv_use_hotkey"
15263 if test x"$enablestring" = xdisable; then
15264 if test $wxUSE_HOTKEY = no; then
15270 result=$wxUSE_HOTKEY
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15274 $as_echo "$result" >&6; }
15278 defaultval=$wxUSE_ALL_FEATURES
15279 if test -z "$defaultval"; then
15280 if test x"$enablestring" = xdisable; then
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15288 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15289 # Check whether --enable-joystick was given.
15290 if test "${enable_joystick+set}" = set; then :
15291 enableval=$enable_joystick;
15292 if test "$enableval" = yes; then
15293 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15295 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15300 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15305 eval "$wx_cv_use_joystick"
15307 if test x"$enablestring" = xdisable; then
15308 if test $wxUSE_JOYSTICK = no; then
15314 result=$wxUSE_JOYSTICK
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15318 $as_echo "$result" >&6; }
15322 defaultval=$wxUSE_ALL_FEATURES
15323 if test -z "$defaultval"; then
15324 if test x"$enablestring" = xdisable; then
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15332 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15333 # Check whether --enable-metafile was given.
15334 if test "${enable_metafile+set}" = set; then :
15335 enableval=$enable_metafile;
15336 if test "$enableval" = yes; then
15337 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15339 wx_cv_use_metafile='wxUSE_METAFILE=no'
15344 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15349 eval "$wx_cv_use_metafile"
15351 if test x"$enablestring" = xdisable; then
15352 if test $wxUSE_METAFILE = no; then
15358 result=$wxUSE_METAFILE
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15362 $as_echo "$result" >&6; }
15366 defaultval=$wxUSE_ALL_FEATURES
15367 if test -z "$defaultval"; then
15368 if test x"$enablestring" = xdisable; then
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15376 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15377 # Check whether --enable-dragimage was given.
15378 if test "${enable_dragimage+set}" = set; then :
15379 enableval=$enable_dragimage;
15380 if test "$enableval" = yes; then
15381 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15383 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15388 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15393 eval "$wx_cv_use_dragimage"
15395 if test x"$enablestring" = xdisable; then
15396 if test $wxUSE_DRAGIMAGE = no; then
15402 result=$wxUSE_DRAGIMAGE
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15406 $as_echo "$result" >&6; }
15410 defaultval=$wxUSE_ALL_FEATURES
15411 if test -z "$defaultval"; then
15412 if test x"$enablestring" = xdisable; then
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15420 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15421 # Check whether --enable-accessibility was given.
15422 if test "${enable_accessibility+set}" = set; then :
15423 enableval=$enable_accessibility;
15424 if test "$enableval" = yes; then
15425 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15427 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15432 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15437 eval "$wx_cv_use_accessibility"
15439 if test x"$enablestring" = xdisable; then
15440 if test $wxUSE_ACCESSIBILITY = no; then
15446 result=$wxUSE_ACCESSIBILITY
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15450 $as_echo "$result" >&6; }
15454 defaultval=$wxUSE_ALL_FEATURES
15455 if test -z "$defaultval"; then
15456 if test x"$enablestring" = xdisable; then
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15464 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15465 # Check whether --enable-uiactionsim was given.
15466 if test "${enable_uiactionsim+set}" = set; then :
15467 enableval=$enable_uiactionsim;
15468 if test "$enableval" = yes; then
15469 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15471 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15476 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15481 eval "$wx_cv_use_uiactionsim"
15483 if test x"$enablestring" = xdisable; then
15484 if test $wxUSE_UIACTIONSIMULATOR = no; then
15490 result=$wxUSE_UIACTIONSIMULATOR
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15494 $as_echo "$result" >&6; }
15498 defaultval=$wxUSE_ALL_FEATURES
15499 if test -z "$defaultval"; then
15500 if test x"$enablestring" = xdisable; then
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15508 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15509 # Check whether --enable-dctransform was given.
15510 if test "${enable_dctransform+set}" = set; then :
15511 enableval=$enable_dctransform;
15512 if test "$enableval" = yes; then
15513 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15515 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15520 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15525 eval "$wx_cv_use_dctransform"
15527 if test x"$enablestring" = xdisable; then
15528 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15534 result=$wxUSE_DC_TRANSFORM_MATRIX
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15538 $as_echo "$result" >&6; }
15542 defaultval=$wxUSE_ALL_FEATURES
15543 if test -z "$defaultval"; then
15544 if test x"$enablestring" = xdisable; then
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15552 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15553 # Check whether --enable-webviewwebkit was given.
15554 if test "${enable_webviewwebkit+set}" = set; then :
15555 enableval=$enable_webviewwebkit;
15556 if test "$enableval" = yes; then
15557 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15559 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15564 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15569 eval "$wx_cv_use_webviewwebkit"
15571 if test x"$enablestring" = xdisable; then
15572 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15578 result=$wxUSE_WEBVIEW_WEBKIT
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15582 $as_echo "$result" >&6; }
15588 defaultval=$wxUSE_ALL_FEATURES
15589 if test -z "$defaultval"; then
15590 if test x"$enablestring" = xdisable; then
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15598 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15599 # Check whether --enable-palette was given.
15600 if test "${enable_palette+set}" = set; then :
15601 enableval=$enable_palette;
15602 if test "$enableval" = yes; then
15603 wx_cv_use_palette='wxUSE_PALETTE=yes'
15605 wx_cv_use_palette='wxUSE_PALETTE=no'
15610 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15615 eval "$wx_cv_use_palette"
15617 if test x"$enablestring" = xdisable; then
15618 if test $wxUSE_PALETTE = no; then
15624 result=$wxUSE_PALETTE
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15628 $as_echo "$result" >&6; }
15632 defaultval=$wxUSE_ALL_FEATURES
15633 if test -z "$defaultval"; then
15634 if test x"$enablestring" = xdisable; then
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15642 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15643 # Check whether --enable-image was given.
15644 if test "${enable_image+set}" = set; then :
15645 enableval=$enable_image;
15646 if test "$enableval" = yes; then
15647 wx_cv_use_image='wxUSE_IMAGE=yes'
15649 wx_cv_use_image='wxUSE_IMAGE=no'
15654 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15659 eval "$wx_cv_use_image"
15661 if test x"$enablestring" = xdisable; then
15662 if test $wxUSE_IMAGE = no; then
15668 result=$wxUSE_IMAGE
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15672 $as_echo "$result" >&6; }
15676 defaultval=$wxUSE_ALL_FEATURES
15677 if test -z "$defaultval"; then
15678 if test x"$enablestring" = xdisable; then
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15686 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15687 # Check whether --enable-gif was given.
15688 if test "${enable_gif+set}" = set; then :
15689 enableval=$enable_gif;
15690 if test "$enableval" = yes; then
15691 wx_cv_use_gif='wxUSE_GIF=yes'
15693 wx_cv_use_gif='wxUSE_GIF=no'
15698 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15703 eval "$wx_cv_use_gif"
15705 if test x"$enablestring" = xdisable; then
15706 if test $wxUSE_GIF = no; then
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15716 $as_echo "$result" >&6; }
15720 defaultval=$wxUSE_ALL_FEATURES
15721 if test -z "$defaultval"; then
15722 if test x"$enablestring" = xdisable; then
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15730 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15731 # Check whether --enable-pcx was given.
15732 if test "${enable_pcx+set}" = set; then :
15733 enableval=$enable_pcx;
15734 if test "$enableval" = yes; then
15735 wx_cv_use_pcx='wxUSE_PCX=yes'
15737 wx_cv_use_pcx='wxUSE_PCX=no'
15742 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15747 eval "$wx_cv_use_pcx"
15749 if test x"$enablestring" = xdisable; then
15750 if test $wxUSE_PCX = no; then
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15760 $as_echo "$result" >&6; }
15764 defaultval=$wxUSE_ALL_FEATURES
15765 if test -z "$defaultval"; then
15766 if test x"$enablestring" = xdisable; then
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15774 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15775 # Check whether --enable-tga was given.
15776 if test "${enable_tga+set}" = set; then :
15777 enableval=$enable_tga;
15778 if test "$enableval" = yes; then
15779 wx_cv_use_tga='wxUSE_TGA=yes'
15781 wx_cv_use_tga='wxUSE_TGA=no'
15786 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15791 eval "$wx_cv_use_tga"
15793 if test x"$enablestring" = xdisable; then
15794 if test $wxUSE_TGA = no; then
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15804 $as_echo "$result" >&6; }
15808 defaultval=$wxUSE_ALL_FEATURES
15809 if test -z "$defaultval"; then
15810 if test x"$enablestring" = xdisable; then
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15818 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15819 # Check whether --enable-iff was given.
15820 if test "${enable_iff+set}" = set; then :
15821 enableval=$enable_iff;
15822 if test "$enableval" = yes; then
15823 wx_cv_use_iff='wxUSE_IFF=yes'
15825 wx_cv_use_iff='wxUSE_IFF=no'
15830 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15835 eval "$wx_cv_use_iff"
15837 if test x"$enablestring" = xdisable; then
15838 if test $wxUSE_IFF = no; then
15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15848 $as_echo "$result" >&6; }
15852 defaultval=$wxUSE_ALL_FEATURES
15853 if test -z "$defaultval"; then
15854 if test x"$enablestring" = xdisable; then
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15862 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15863 # Check whether --enable-pnm was given.
15864 if test "${enable_pnm+set}" = set; then :
15865 enableval=$enable_pnm;
15866 if test "$enableval" = yes; then
15867 wx_cv_use_pnm='wxUSE_PNM=yes'
15869 wx_cv_use_pnm='wxUSE_PNM=no'
15874 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15879 eval "$wx_cv_use_pnm"
15881 if test x"$enablestring" = xdisable; then
15882 if test $wxUSE_PNM = no; then
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15892 $as_echo "$result" >&6; }
15896 defaultval=$wxUSE_ALL_FEATURES
15897 if test -z "$defaultval"; then
15898 if test x"$enablestring" = xdisable; then
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15906 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15907 # Check whether --enable-xpm was given.
15908 if test "${enable_xpm+set}" = set; then :
15909 enableval=$enable_xpm;
15910 if test "$enableval" = yes; then
15911 wx_cv_use_xpm='wxUSE_XPM=yes'
15913 wx_cv_use_xpm='wxUSE_XPM=no'
15918 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15923 eval "$wx_cv_use_xpm"
15925 if test x"$enablestring" = xdisable; then
15926 if test $wxUSE_XPM = no; then
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15936 $as_echo "$result" >&6; }
15940 defaultval=$wxUSE_ALL_FEATURES
15941 if test -z "$defaultval"; then
15942 if test x"$enablestring" = xdisable; then
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15950 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15951 # Check whether --enable-ico_cur was given.
15952 if test "${enable_ico_cur+set}" = set; then :
15953 enableval=$enable_ico_cur;
15954 if test "$enableval" = yes; then
15955 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15957 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15962 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15967 eval "$wx_cv_use_ico_cur"
15969 if test x"$enablestring" = xdisable; then
15970 if test $wxUSE_ICO_CUR = no; then
15976 result=$wxUSE_ICO_CUR
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15980 $as_echo "$result" >&6; }
15986 defaultval=$wxUSE_ALL_FEATURES
15987 if test -z "$defaultval"; then
15988 if test x"$enablestring" = xdisable; then
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15996 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15997 # Check whether --enable-dccache was given.
15998 if test "${enable_dccache+set}" = set; then :
15999 enableval=$enable_dccache;
16000 if test "$enableval" = yes; then
16001 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
16003 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
16008 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
16013 eval "$wx_cv_use_dccache"
16015 if test x"$enablestring" = xdisable; then
16016 if test $wxUSE_DC_CACHEING = no; then
16022 result=$wxUSE_DC_CACHEING
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16026 $as_echo "$result" >&6; }
16030 defaultval=$wxUSE_ALL_FEATURES
16031 if test -z "$defaultval"; then
16032 if test x"$enablestring" = xdisable; then
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
16040 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
16041 # Check whether --enable-ps-in-msw was given.
16042 if test "${enable_ps_in_msw+set}" = set; then :
16043 enableval=$enable_ps_in_msw;
16044 if test "$enableval" = yes; then
16045 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
16047 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
16052 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
16057 eval "$wx_cv_use_ps_in_msw"
16059 if test x"$enablestring" = xdisable; then
16060 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
16066 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16070 $as_echo "$result" >&6; }
16074 defaultval=$wxUSE_ALL_FEATURES
16075 if test -z "$defaultval"; then
16076 if test x"$enablestring" = xdisable; then
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16084 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16085 # Check whether --enable-ownerdrawn was given.
16086 if test "${enable_ownerdrawn+set}" = set; then :
16087 enableval=$enable_ownerdrawn;
16088 if test "$enableval" = yes; then
16089 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
16091 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
16096 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16101 eval "$wx_cv_use_ownerdrawn"
16103 if test x"$enablestring" = xdisable; then
16104 if test $wxUSE_OWNER_DRAWN = no; then
16110 result=$wxUSE_OWNER_DRAWN
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16114 $as_echo "$result" >&6; }
16118 defaultval=$wxUSE_ALL_FEATURES
16119 if test -z "$defaultval"; then
16120 if test x"$enablestring" = xdisable; then
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16128 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16129 # Check whether --enable-uxtheme was given.
16130 if test "${enable_uxtheme+set}" = set; then :
16131 enableval=$enable_uxtheme;
16132 if test "$enableval" = yes; then
16133 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
16135 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
16140 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16145 eval "$wx_cv_use_uxtheme"
16147 if test x"$enablestring" = xdisable; then
16148 if test $wxUSE_UXTHEME = no; then
16154 result=$wxUSE_UXTHEME
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16158 $as_echo "$result" >&6; }
16162 defaultval=$wxUSE_ALL_FEATURES
16163 if test -z "$defaultval"; then
16164 if test x"$enablestring" = xdisable; then
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16172 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16173 # Check whether --enable-wxdib was given.
16174 if test "${enable_wxdib+set}" = set; then :
16175 enableval=$enable_wxdib;
16176 if test "$enableval" = yes; then
16177 wx_cv_use_wxdib='wxUSE_DIB=yes'
16179 wx_cv_use_wxdib='wxUSE_DIB=no'
16184 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16189 eval "$wx_cv_use_wxdib"
16191 if test x"$enablestring" = xdisable; then
16192 if test $wxUSE_DIB = no; then
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16202 $as_echo "$result" >&6; }
16206 defaultval=$wxUSE_ALL_FEATURES
16207 if test -z "$defaultval"; then
16208 if test x"$enablestring" = xdisable; then
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16216 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16217 # Check whether --enable-webviewie was given.
16218 if test "${enable_webviewie+set}" = set; then :
16219 enableval=$enable_webviewie;
16220 if test "$enableval" = yes; then
16221 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16223 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16228 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16233 eval "$wx_cv_use_webviewie"
16235 if test x"$enablestring" = xdisable; then
16236 if test $wxUSE_WEBVIEW_IE = no; then
16242 result=$wxUSE_WEBVIEW_IE
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16246 $as_echo "$result" >&6; }
16249 if test "$wxUSE_MSW" != 1; then
16250 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16255 defaultval=$wxUSE_ALL_FEATURES
16256 if test -z "$defaultval"; then
16257 if test x"$enablestring" = xdisable; then
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16265 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16266 # Check whether --enable-autoidman was given.
16267 if test "${enable_autoidman+set}" = set; then :
16268 enableval=$enable_autoidman;
16269 if test "$enableval" = yes; then
16270 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16272 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16277 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16282 eval "$wx_cv_use_autoidman"
16284 if test x"$enablestring" = xdisable; then
16285 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16291 result=$wxUSE_AUTOID_MANAGEMENT
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16295 $as_echo "$result" >&6; }
16301 cat >confcache <<\_ACEOF
16302 # This file is a shell script that caches the results of configure
16303 # tests run on this system so they can be shared between configure
16304 # scripts and configure runs, see configure's option --config-cache.
16305 # It is not useful on other systems. If it contains results you don't
16306 # want to keep, you may remove or edit it.
16308 # config.status only pays attention to the cache file if you give it
16309 # the --recheck option to rerun configure.
16311 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
16312 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16313 # following values.
16317 # The following way of writing the cache mishandles newlines in values,
16318 # but we know of no workaround that is simple, portable, and efficient.
16319 # So, we kill variables containing newlines.
16320 # Ultrix sh set writes to stderr and can't be redirected directly,
16321 # and sets the high bit in the cache file unless we assign to the vars.
16323 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16324 eval ac_val
=\$
$ac_var
16328 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16329 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16332 _
| IFS
| as_nl
) ;; #(
16333 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16334 *) { eval $ac_var=; unset $ac_var;} ;;
16340 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16341 *${as_nl}ac_space
=\
*)
16342 # `set' does not quote correctly, so add quotes: double-quote
16343 # substitution turns \\\\ into \\, and sed turns \\ into \.
16346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16349 # `set' quotes correctly as required by POSIX, so do not add quotes.
16350 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16359 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16361 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16363 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16364 if test -w "$cache_file"; then
16365 if test "x$cache_file" != "x/dev/null"; then
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16367 $as_echo "$as_me: updating cache $cache_file" >&6;}
16368 if test ! -f "$cache_file" || test -h "$cache_file"; then
16369 cat confcache
>"$cache_file"
16371 case $cache_file in #(
16373 mv -f confcache
"$cache_file"$$
&&
16374 mv -f "$cache_file"$$
"$cache_file" ;; #(
16376 mv -f confcache
"$cache_file" ;;
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16382 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16389 ac_cpp
='$CPP $CPPFLAGS'
16390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16393 if test -n "$ac_tool_prefix"; then
16394 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16395 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16397 $as_echo_n "checking for $ac_word... " >&6; }
16398 if ${ac_cv_prog_CC+:} false
; then :
16399 $as_echo_n "(cached) " >&6
16401 if test -n "$CC"; then
16402 ac_cv_prog_CC
="$CC" # Let the user override the test.
16404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16405 for as_dir
in $PATH
16408 test -z "$as_dir" && as_dir
=.
16409 for ac_exec_ext
in '' $ac_executable_extensions; do
16410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16411 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16422 if test -n "$CC"; then
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16424 $as_echo "$CC" >&6; }
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16427 $as_echo "no" >&6; }
16432 if test -z "$ac_cv_prog_CC"; then
16434 # Extract the first word of "gcc", so it can be a program name with args.
16435 set dummy gcc
; ac_word
=$2
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16437 $as_echo_n "checking for $ac_word... " >&6; }
16438 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16439 $as_echo_n "(cached) " >&6
16441 if test -n "$ac_ct_CC"; then
16442 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16445 for as_dir
in $PATH
16448 test -z "$as_dir" && as_dir
=.
16449 for ac_exec_ext
in '' $ac_executable_extensions; do
16450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16451 ac_cv_prog_ac_ct_CC
="gcc"
16452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16461 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16462 if test -n "$ac_ct_CC"; then
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16464 $as_echo "$ac_ct_CC" >&6; }
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467 $as_echo "no" >&6; }
16470 if test "x$ac_ct_CC" = x
; then
16473 case $cross_compiling:$ac_tool_warned in
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16477 ac_tool_warned
=yes ;;
16482 CC
="$ac_cv_prog_CC"
16485 if test -z "$CC"; then
16486 if test -n "$ac_tool_prefix"; then
16487 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16488 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16490 $as_echo_n "checking for $ac_word... " >&6; }
16491 if ${ac_cv_prog_CC+:} false
; then :
16492 $as_echo_n "(cached) " >&6
16494 if test -n "$CC"; then
16495 ac_cv_prog_CC
="$CC" # Let the user override the test.
16497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16498 for as_dir
in $PATH
16501 test -z "$as_dir" && as_dir
=.
16502 for ac_exec_ext
in '' $ac_executable_extensions; do
16503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16504 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16515 if test -n "$CC"; then
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16517 $as_echo "$CC" >&6; }
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16520 $as_echo "no" >&6; }
16526 if test -z "$CC"; then
16527 # Extract the first word of "cc", so it can be a program name with args.
16528 set dummy cc
; ac_word
=$2
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16530 $as_echo_n "checking for $ac_word... " >&6; }
16531 if ${ac_cv_prog_CC+:} false
; then :
16532 $as_echo_n "(cached) " >&6
16534 if test -n "$CC"; then
16535 ac_cv_prog_CC
="$CC" # Let the user override the test.
16537 ac_prog_rejected
=no
16538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16539 for as_dir
in $PATH
16542 test -z "$as_dir" && as_dir
=.
16543 for ac_exec_ext
in '' $ac_executable_extensions; do
16544 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16545 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16546 ac_prog_rejected
=yes
16550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16557 if test $ac_prog_rejected = yes; then
16558 # We found a bogon in the path, so make sure we never use it.
16559 set dummy
$ac_cv_prog_CC
16561 if test $# != 0; then
16562 # We chose a different compiler from the bogus one.
16563 # However, it has the same basename, so the bogon will be chosen
16564 # first if we set CC to just the basename; use the full file name.
16566 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16572 if test -n "$CC"; then
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16574 $as_echo "$CC" >&6; }
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16577 $as_echo "no" >&6; }
16582 if test -z "$CC"; then
16583 if test -n "$ac_tool_prefix"; then
16584 for ac_prog
in cl.exe
16586 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16587 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16589 $as_echo_n "checking for $ac_word... " >&6; }
16590 if ${ac_cv_prog_CC+:} false
; then :
16591 $as_echo_n "(cached) " >&6
16593 if test -n "$CC"; then
16594 ac_cv_prog_CC
="$CC" # Let the user override the test.
16596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16597 for as_dir
in $PATH
16600 test -z "$as_dir" && as_dir
=.
16601 for ac_exec_ext
in '' $ac_executable_extensions; do
16602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16603 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16614 if test -n "$CC"; then
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16616 $as_echo "$CC" >&6; }
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16619 $as_echo "no" >&6; }
16623 test -n "$CC" && break
16626 if test -z "$CC"; then
16628 for ac_prog
in cl.exe
16630 # Extract the first word of "$ac_prog", so it can be a program name with args.
16631 set dummy
$ac_prog; ac_word
=$2
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16633 $as_echo_n "checking for $ac_word... " >&6; }
16634 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16635 $as_echo_n "(cached) " >&6
16637 if test -n "$ac_ct_CC"; then
16638 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16641 for as_dir
in $PATH
16644 test -z "$as_dir" && as_dir
=.
16645 for ac_exec_ext
in '' $ac_executable_extensions; do
16646 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16647 ac_cv_prog_ac_ct_CC
="$ac_prog"
16648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16657 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16658 if test -n "$ac_ct_CC"; then
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16660 $as_echo "$ac_ct_CC" >&6; }
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16663 $as_echo "no" >&6; }
16667 test -n "$ac_ct_CC" && break
16670 if test "x$ac_ct_CC" = x
; then
16673 case $cross_compiling:$ac_tool_warned in
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16677 ac_tool_warned
=yes ;;
16686 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16688 as_fn_error $?
"no acceptable C compiler found in \$PATH
16689 See \`config.log' for more details" "$LINENO" 5; }
16691 # Provide some information about the compiler.
16692 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16695 for ac_option
in --version -v -V -qversion; do
16696 { { ac_try
="$ac_compiler $ac_option >&5"
16697 case "(($ac_try" in
16698 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16699 *) ac_try_echo=$ac_try;;
16701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16702 $as_echo "$ac_try_echo"; } >&5
16703 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16705 if test -s conftest.err; then
16707 ... rest of stderr output deleted ...
16708 10q' conftest.err >conftest.er1
16709 cat conftest.er1 >&5
16711 rm -f conftest.er1 conftest.err
16712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16713 test $ac_status = 0; }
16716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h. */
16727 ac_clean_files_save=$ac_clean_files
16728 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16729 # Try to create an executable without -o first, disregard a.out.
16730 # It will help us diagnose broken compilers, and finding out an intuition
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16733 $as_echo_n "checking whether the C compiler works... " >&6; }
16734 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16736 # The possible output files:
16737 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16740 for ac_file in $ac_files
16743 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16744 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16749 if { { ac_try="$ac_link_default"
16750 case "(($ac_try" in
16751 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16752 *) ac_try_echo
=$ac_try;;
16754 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16755 $as_echo "$ac_try_echo"; } >&5
16756 (eval "$ac_link_default") 2>&5
16758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16759 test $ac_status = 0; }; then :
16760 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16761 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16762 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16763 # so that the user can short-circuit this test for compilers unknown to
16765 for ac_file
in $ac_files ''
16767 test -f "$ac_file" || continue
16769 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
16772 # We found the default executable, but exeext='' is most
16776 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16778 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16780 # We set ac_cv_exeext here because the later test for it is not
16781 # safe: cross compilers may not add the suffix if given an `-o'
16782 # argument, so we may need to know it at that point already.
16783 # Even if this section looks crufty: it has the advantage of
16784 # actually working.
16790 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16795 if test -z "$ac_file"; then :
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16797 $as_echo "no" >&6; }
16798 $as_echo "$as_me: failed program was:" >&5
16799 sed 's/^/| /' conftest.
$ac_ext >&5
16801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16803 as_fn_error
77 "C compiler cannot create executables
16804 See \`config.log' for more details" "$LINENO" 5; }
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16807 $as_echo "yes" >&6; }
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16810 $as_echo_n "checking for C compiler default output file name... " >&6; }
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16812 $as_echo "$ac_file" >&6; }
16813 ac_exeext
=$ac_cv_exeext
16815 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
16816 ac_clean_files
=$ac_clean_files_save
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16818 $as_echo_n "checking for suffix of executables... " >&6; }
16819 if { { ac_try
="$ac_link"
16820 case "(($ac_try" in
16821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16822 *) ac_try_echo=$ac_try;;
16824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16825 $as_echo "$ac_try_echo"; } >&5
16826 (eval "$ac_link") 2>&5
16828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16829 test $ac_status = 0; }; then :
16830 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
16831 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
16832 # work properly (i.e., refer to `conftest.exe'), while it won't with
16834 for ac_file
in conftest.exe conftest conftest.
*; do
16835 test -f "$ac_file" || continue
16837 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
16838 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16846 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
16847 See \`config.log' for more details" "$LINENO" 5; }
16849 rm -f conftest conftest
$ac_cv_exeext
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16851 $as_echo "$ac_cv_exeext" >&6; }
16853 rm -f conftest.
$ac_ext
16854 EXEEXT
=$ac_cv_exeext
16856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16862 FILE *f = fopen ("conftest.out", "w");
16863 return ferror (f) || fclose (f) != 0;
16869 ac_clean_files
="$ac_clean_files conftest.out"
16870 # Check that the compiler produces executables we can run. If not, either
16871 # the compiler is broken, or we cross compile.
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16873 $as_echo_n "checking whether we are cross compiling... " >&6; }
16874 if test "$cross_compiling" != yes; then
16875 { { ac_try
="$ac_link"
16876 case "(($ac_try" in
16877 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16878 *) ac_try_echo=$ac_try;;
16880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16881 $as_echo "$ac_try_echo"; } >&5
16882 (eval "$ac_link") 2>&5
16884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16885 test $ac_status = 0; }
16886 if { ac_try='./conftest$ac_cv_exeext'
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_try") 2>&5
16895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16896 test $ac_status = 0; }; }; then
16899 if test "$cross_compiling" = maybe
; then
16900 cross_compiling
=yes
16902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16903 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16904 as_fn_error $?
"cannot run C compiled programs.
16905 If you meant to cross compile, use \`--host'.
16906 See \`config.log' for more details" "$LINENO" 5; }
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16911 $as_echo "$cross_compiling" >&6; }
16913 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
16914 ac_clean_files
=$ac_clean_files_save
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16916 $as_echo_n "checking for suffix of object files... " >&6; }
16917 if ${ac_cv_objext+:} false
; then :
16918 $as_echo_n "(cached) " >&6
16920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h. */
16931 rm -f conftest.o conftest.obj
16932 if { { ac_try
="$ac_compile"
16933 case "(($ac_try" in
16934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16935 *) ac_try_echo=$ac_try;;
16937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16938 $as_echo "$ac_try_echo"; } >&5
16939 (eval "$ac_compile") 2>&5
16941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16942 test $ac_status = 0; }; then :
16943 for ac_file in conftest.o conftest.obj conftest.*; do
16944 test -f "$ac_file" || continue;
16946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16947 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16952 $as_echo "$as_me: failed program was:" >&5
16953 sed 's/^/| /' conftest.$ac_ext >&5
16955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16957 as_fn_error $? "cannot compute suffix of object files
: cannot compile
16958 See \
`config.log' for more details" "$LINENO" 5; }
16960 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16963 $as_echo "$ac_cv_objext" >&6; }
16964 OBJEXT=$ac_cv_objext
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16967 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16968 if ${ac_cv_c_compiler_gnu+:} false; then :
16969 $as_echo_n "(cached) " >&6
16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16985 if ac_fn_c_try_compile "$LINENO"; then :
16986 ac_compiler_gnu=yes
16990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16991 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16995 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16996 if test $ac_compiler_gnu = yes; then
17001 ac_test_CFLAGS=${CFLAGS+set}
17002 ac_save_CFLAGS=$CFLAGS
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17004 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17005 if ${ac_cv_prog_cc_g+:} false; then :
17006 $as_echo_n "(cached) " >&6
17008 ac_save_c_werror_flag=$ac_c_werror_flag
17009 ac_c_werror_flag=yes
17012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17023 if ac_fn_c_try_compile "$LINENO"; then :
17024 ac_cv_prog_cc_g=yes
17027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17038 if ac_fn_c_try_compile "$LINENO"; then :
17041 ac_c_werror_flag=$ac_save_c_werror_flag
17043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17044 /* end confdefs.h. */
17054 if ac_fn_c_try_compile "$LINENO"; then :
17055 ac_cv_prog_cc_g=yes
17057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17062 ac_c_werror_flag=$ac_save_c_werror_flag
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17065 $as_echo "$ac_cv_prog_cc_g" >&6; }
17066 if test "$ac_test_CFLAGS" = set; then
17067 CFLAGS=$ac_save_CFLAGS
17068 elif test $ac_cv_prog_cc_g = yes; then
17069 if test "$GCC" = yes; then
17075 if test "$GCC" = yes; then
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17082 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17083 if ${ac_cv_prog_cc_c89+:} false; then :
17084 $as_echo_n "(cached) " >&6
17086 ac_cv_prog_cc_c89=no
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17090 #include <stdarg.h>
17093 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17094 struct buf { int x; };
17095 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17096 static char *e (p, i)
17102 static char *f (char * (*g) (char **, int), char **p, ...)
17107 s = g (p, va_arg (v,int));
17112 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17113 function prototypes and stuff, but not '\xHH' hex character constants.
17114 These don't provoke an error unfortunately, instead are silently treated
17115 as 'x'. The following induces an error, until -std is added to get
17116 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17117 array size at least. It's necessary to write '\x00'==0 to get something
17118 that's true only with -std. */
17119 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17121 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17122 inside strings and character constants. */
17124 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17126 int test (int i, double x);
17127 struct s1 {int (*f) (int a);};
17128 struct s2 {int (*f) (double a);};
17129 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17135 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17140 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17141 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17143 CC="$ac_save_CC $ac_arg"
17144 if ac_fn_c_try_compile "$LINENO"; then :
17145 ac_cv_prog_cc_c89=$ac_arg
17147 rm -f core conftest.err conftest.$ac_objext
17148 test "x$ac_cv_prog_cc_c89" != "xno" && break
17150 rm -f conftest.$ac_ext
17155 case "x$ac_cv_prog_cc_c89" in
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17158 $as_echo "none needed" >&6; } ;;
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17161 $as_echo "unsupported" >&6; } ;;
17163 CC="$CC $ac_cv_prog_cc_c89"
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17165 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17167 if test "x$ac_cv_prog_cc_c89" != xno; then :
17172 ac_cpp='$CPP $CPPFLAGS'
17173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17185 ac_cpp='$CPP $CPPFLAGS'
17186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17191 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17192 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17193 $as_echo_n "(cached) " >&6
17195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h. */
17202 #ifndef __INTEL_COMPILER
17210 if ac_fn_c_try_compile "$LINENO"; then :
17211 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17213 bakefile_cv_c_compiler___INTEL_COMPILER=no
17216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17221 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17222 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17228 ac_cpp='$CPP $CPPFLAGS'
17229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17236 if test "$INTELCC" = "yes"; then
17240 ac_cpp='$CPP $CPPFLAGS'
17241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17246 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17247 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17248 $as_echo_n "(cached) " >&6
17250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h. */
17257 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17265 if ac_fn_c_try_compile "$LINENO"; then :
17266 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17268 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17276 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17277 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17283 ac_cpp='$CPP $CPPFLAGS'
17284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17293 ac_cpp='$CPP $CPPFLAGS'
17294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17299 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17300 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17301 $as_echo_n "(cached) " >&6
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17310 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17318 if ac_fn_c_try_compile "$LINENO"; then :
17319 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17321 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17329 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17330 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17336 ac_cpp='$CPP $CPPFLAGS'
17337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17345 if test "x$GCC" != "xyes"; then
17346 if test "xCC" = "xC"; then
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17348 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17349 if ${bakefile_cv_c_exto+:} false; then :
17350 $as_echo_n "(cached) " >&6
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17363 rm -f conftest.$ac_objext conftest.$ac_ext.o
17364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17365 (eval $ac_compile) 2>&5
17367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17368 test $ac_status = 0; }; then :
17369 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
17371 conftest.$ac_ext.o)
17372 bakefile_cv_c_exto="-ext o"
17379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17381 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
17382 See \
`config.log' for more details" "$LINENO" 5; }
17385 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17389 $as_echo "$bakefile_cv_c_exto" >&6; }
17390 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17391 if test "c" = "c"; then
17392 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17394 if test "c" = "cxx"; then
17395 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17399 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17400 unset ac_cv_prog_cc_g
17401 ac_test_CFLAGS=${CFLAGS+set}
17402 ac_save_CFLAGS=$CFLAGS
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17404 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17405 if ${ac_cv_prog_cc_g+:} false; then :
17406 $as_echo_n "(cached) " >&6
17408 ac_save_c_werror_flag=$ac_c_werror_flag
17409 ac_c_werror_flag=yes
17412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17413 /* end confdefs.h. */
17423 if ac_fn_c_try_compile "$LINENO"; then :
17424 ac_cv_prog_cc_g=yes
17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h. */
17438 if ac_fn_c_try_compile "$LINENO"; then :
17441 ac_c_werror_flag=$ac_save_c_werror_flag
17443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17444 /* end confdefs.h. */
17454 if ac_fn_c_try_compile "$LINENO"; then :
17455 ac_cv_prog_cc_g=yes
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17462 ac_c_werror_flag=$ac_save_c_werror_flag
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17465 $as_echo "$ac_cv_prog_cc_g" >&6; }
17466 if test "$ac_test_CFLAGS" = set; then
17467 CFLAGS=$ac_save_CFLAGS
17468 elif test $ac_cv_prog_cc_g = yes; then
17469 if test "$GCC" = yes; then
17475 if test "$GCC" = yes; then
17489 ac_cpp='$CPP $CPPFLAGS'
17490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17495 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17496 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17497 $as_echo_n "(cached) " >&6
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17514 if ac_fn_c_try_compile "$LINENO"; then :
17515 bakefile_cv_c_compiler___xlC__=yes
17517 bakefile_cv_c_compiler___xlC__=no
17520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17525 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17526 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17532 ac_cpp='$CPP $CPPFLAGS'
17533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17545 ac_cpp='$CPP $CPPFLAGS'
17546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17551 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17552 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17553 $as_echo_n "(cached) " >&6
17555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17556 /* end confdefs.h. */
17570 if ac_fn_c_try_compile "$LINENO"; then :
17571 bakefile_cv_c_compiler___MWERKS__=yes
17573 bakefile_cv_c_compiler___MWERKS__=no
17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17581 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17582 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17588 ac_cpp='$CPP $CPPFLAGS'
17589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17595 if test "$MWCC" != "yes"; 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
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17605 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17606 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17607 $as_echo_n "(cached) " >&6
17609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h. */
17624 if ac_fn_c_try_compile "$LINENO"; then :
17625 bakefile_cv_c_compiler___xlC__=yes
17627 bakefile_cv_c_compiler___xlC__=no
17630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17635 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17636 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17642 ac_cpp='$CPP $CPPFLAGS'
17643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17656 ac_cpp='$CPP $CPPFLAGS'
17657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17662 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17663 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17664 $as_echo_n "(cached) " >&6
17666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17673 #ifndef _SGI_COMPILER_VERSION
17681 if ac_fn_c_try_compile "$LINENO"; then :
17682 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17684 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17692 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17693 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17699 ac_cpp='$CPP $CPPFLAGS'
17700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17709 if test "$INTELCC" != "yes"; then
17713 ac_cpp='$CPP $CPPFLAGS'
17714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17719 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17720 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17721 $as_echo_n "(cached) " >&6
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17738 if ac_fn_c_try_compile "$LINENO"; then :
17739 bakefile_cv_c_compiler___SUNPRO_C=yes
17741 bakefile_cv_c_compiler___SUNPRO_C=no
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17749 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17750 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17756 ac_cpp='$CPP $CPPFLAGS'
17757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17770 ac_cpp='$CPP $CPPFLAGS'
17771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17776 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17777 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17778 $as_echo_n "(cached) " >&6
17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h. */
17795 if ac_fn_c_try_compile "$LINENO"; then :
17796 bakefile_cv_c_compiler___HP_cc=yes
17798 bakefile_cv_c_compiler___HP_cc=no
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17806 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17807 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17813 ac_cpp='$CPP $CPPFLAGS'
17814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17826 ac_cpp='$CPP $CPPFLAGS'
17827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17832 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17833 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17834 $as_echo_n "(cached) " >&6
17836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837 /* end confdefs.h. */
17851 if ac_fn_c_try_compile "$LINENO"; then :
17852 bakefile_cv_c_compiler___DECC=yes
17854 bakefile_cv_c_compiler___DECC=no
17857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17862 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17863 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17869 ac_cpp='$CPP $CPPFLAGS'
17870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17882 ac_cpp='$CPP $CPPFLAGS'
17883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17888 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17889 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17890 $as_echo_n "(cached) " >&6
17892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17907 if ac_fn_c_try_compile "$LINENO"; then :
17908 bakefile_cv_c_compiler___SUNPRO_C=yes
17910 bakefile_cv_c_compiler___SUNPRO_C=no
17913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17918 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17919 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17925 ac_cpp='$CPP $CPPFLAGS'
17926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17939 ac_cpp='$CPP $CPPFLAGS'
17940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17944 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17945 # On Suns, sometimes $CPP names a directory.
17946 if test -n "$CPP" && test -d "$CPP"; then
17949 if test -z "$CPP"; then
17950 if ${ac_cv_prog_CPP+:} false; then :
17951 $as_echo_n "(cached) " >&6
17953 # Double quotes because CPP needs to be expanded
17954 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17956 ac_preproc_ok=false
17957 for ac_c_preproc_warn_flag in '' yes
17959 # Use a header file that comes with gcc, so configuring glibc
17960 # with a fresh cross-compiler works.
17961 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17962 # <limits.h> exists even on freestanding compilers.
17963 # On the NeXT, cc -E runs the code through the compiler's parser,
17964 # not just through cpp. "Syntax error" is here to catch this case.
17965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17966 /* end confdefs.h. */
17968 # include <limits.h>
17970 # include <assert.h>
17974 if ac_fn_c_try_cpp "$LINENO"; then :
17977 # Broken: fails on valid input.
17980 rm -f conftest.err conftest.i conftest.$ac_ext
17982 # OK, works on sane cases. Now check whether nonexistent headers
17983 # can be detected and how.
17984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17985 /* end confdefs.h. */
17986 #include <ac_nonexistent.h>
17988 if ac_fn_c_try_cpp "$LINENO"; then :
17989 # Broken: success on invalid input.
17992 # Passes both tests.
17996 rm -f conftest.err conftest.i conftest.$ac_ext
17999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18000 rm -f conftest.i conftest.err conftest.
$ac_ext
18001 if $ac_preproc_ok; then :
18006 ac_cv_prog_CPP
=$CPP
18009 CPP
=$ac_cv_prog_CPP
18011 ac_cv_prog_CPP
=$CPP
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
18014 $as_echo "$CPP" >&6; }
18015 ac_preproc_ok
=false
18016 for ac_c_preproc_warn_flag
in '' yes
18018 # Use a header file that comes with gcc, so configuring glibc
18019 # with a fresh cross-compiler works.
18020 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18021 # <limits.h> exists even on freestanding compilers.
18022 # On the NeXT, cc -E runs the code through the compiler's parser,
18023 # not just through cpp. "Syntax error" is here to catch this case.
18024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18025 /* end confdefs.h. */
18027 # include <limits.h>
18029 # include <assert.h>
18033 if ac_fn_c_try_cpp
"$LINENO"; then :
18036 # Broken: fails on valid input.
18039 rm -f conftest.err conftest.i conftest.
$ac_ext
18041 # OK, works on sane cases. Now check whether nonexistent headers
18042 # can be detected and how.
18043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18045 #include <ac_nonexistent.h>
18047 if ac_fn_c_try_cpp
"$LINENO"; then :
18048 # Broken: success on invalid input.
18051 # Passes both tests.
18055 rm -f conftest.err conftest.i conftest.
$ac_ext
18058 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18059 rm -f conftest.i conftest.err conftest.
$ac_ext
18060 if $ac_preproc_ok; then :
18063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18065 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
18066 See \`config.log' for more details" "$LINENO" 5; }
18070 ac_cpp
='$CPP $CPPFLAGS'
18071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
18077 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
18078 if ${ac_cv_path_GREP+:} false
; then :
18079 $as_echo_n "(cached) " >&6
18081 if test -z "$GREP"; then
18082 ac_path_GREP_found
=false
18083 # Loop through the user's path and test for each of PROGNAME-LIST
18084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18085 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18088 test -z "$as_dir" && as_dir
=.
18089 for ac_prog
in grep ggrep
; do
18090 for ac_exec_ext
in '' $ac_executable_extensions; do
18091 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18092 as_fn_executable_p
"$ac_path_GREP" || continue
18093 # Check for GNU ac_path_GREP and select it if it is found.
18094 # Check for GNU $ac_path_GREP
18095 case `"$ac_path_GREP" --version 2>&1` in
18097 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18100 $as_echo_n 0123456789 >"conftest.in"
18103 cat "conftest.in" "conftest.in" >"conftest.tmp"
18104 mv "conftest.tmp" "conftest.in"
18105 cp "conftest.in" "conftest.nl"
18106 $as_echo 'GREP' >> "conftest.nl"
18107 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18108 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18109 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18110 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18111 # Best one so far, save it but keep looking for a better one
18112 ac_cv_path_GREP
="$ac_path_GREP"
18113 ac_path_GREP_max
=$ac_count
18115 # 10*(2^10) chars as input seems more than enough
18116 test $ac_count -gt 10 && break
18118 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18121 $ac_path_GREP_found && break 3
18126 if test -z "$ac_cv_path_GREP"; then
18127 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18130 ac_cv_path_GREP
=$GREP
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18135 $as_echo "$ac_cv_path_GREP" >&6; }
18136 GREP
="$ac_cv_path_GREP"
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18140 $as_echo_n "checking for egrep... " >&6; }
18141 if ${ac_cv_path_EGREP+:} false
; then :
18142 $as_echo_n "(cached) " >&6
18144 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18145 then ac_cv_path_EGREP
="$GREP -E"
18147 if test -z "$EGREP"; then
18148 ac_path_EGREP_found
=false
18149 # Loop through the user's path and test for each of PROGNAME-LIST
18150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18151 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18154 test -z "$as_dir" && as_dir
=.
18155 for ac_prog
in egrep; do
18156 for ac_exec_ext
in '' $ac_executable_extensions; do
18157 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18158 as_fn_executable_p
"$ac_path_EGREP" || continue
18159 # Check for GNU ac_path_EGREP and select it if it is found.
18160 # Check for GNU $ac_path_EGREP
18161 case `"$ac_path_EGREP" --version 2>&1` in
18163 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18166 $as_echo_n 0123456789 >"conftest.in"
18169 cat "conftest.in" "conftest.in" >"conftest.tmp"
18170 mv "conftest.tmp" "conftest.in"
18171 cp "conftest.in" "conftest.nl"
18172 $as_echo 'EGREP' >> "conftest.nl"
18173 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18174 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18175 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18176 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18177 # Best one so far, save it but keep looking for a better one
18178 ac_cv_path_EGREP
="$ac_path_EGREP"
18179 ac_path_EGREP_max
=$ac_count
18181 # 10*(2^10) chars as input seems more than enough
18182 test $ac_count -gt 10 && break
18184 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18187 $ac_path_EGREP_found && break 3
18192 if test -z "$ac_cv_path_EGREP"; then
18193 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18196 ac_cv_path_EGREP
=$EGREP
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18202 $as_echo "$ac_cv_path_EGREP" >&6; }
18203 EGREP
="$ac_cv_path_EGREP"
18206 if test $ac_cv_c_compiler_gnu = yes; then
18207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18208 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18209 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18210 $as_echo_n "(cached) " >&6
18212 ac_pattern
="Autoconf.*'x'"
18213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18219 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18220 ac_cv_prog_gcc_traditional
=yes
18222 ac_cv_prog_gcc_traditional
=no
18227 if test $ac_cv_prog_gcc_traditional = no
; then
18228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18230 #include <termio.h>
18233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18234 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18235 ac_cv_prog_gcc_traditional
=yes
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18242 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18243 if test $ac_cv_prog_gcc_traditional = yes; then
18244 CC
="$CC -traditional"
18249 CXXFLAGS
=${CXXFLAGS:=}
18251 ac_cpp
='$CXXCPP $CPPFLAGS'
18252 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18253 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18254 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18255 if test -z "$CXX"; then
18256 if test -n "$CCC"; then
18259 if test -n "$ac_tool_prefix"; then
18260 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18263 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18265 $as_echo_n "checking for $ac_word... " >&6; }
18266 if ${ac_cv_prog_CXX+:} false
; then :
18267 $as_echo_n "(cached) " >&6
18269 if test -n "$CXX"; then
18270 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18273 for as_dir
in $PATH
18276 test -z "$as_dir" && as_dir
=.
18277 for ac_exec_ext
in '' $ac_executable_extensions; do
18278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18279 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18289 CXX
=$ac_cv_prog_CXX
18290 if test -n "$CXX"; then
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18292 $as_echo "$CXX" >&6; }
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18295 $as_echo "no" >&6; }
18299 test -n "$CXX" && break
18302 if test -z "$CXX"; then
18304 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18306 # Extract the first word of "$ac_prog", so it can be a program name with args.
18307 set dummy
$ac_prog; ac_word
=$2
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18309 $as_echo_n "checking for $ac_word... " >&6; }
18310 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18311 $as_echo_n "(cached) " >&6
18313 if test -n "$ac_ct_CXX"; then
18314 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18317 for as_dir
in $PATH
18320 test -z "$as_dir" && as_dir
=.
18321 for ac_exec_ext
in '' $ac_executable_extensions; do
18322 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18323 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18333 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18334 if test -n "$ac_ct_CXX"; then
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18336 $as_echo "$ac_ct_CXX" >&6; }
18338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18339 $as_echo "no" >&6; }
18343 test -n "$ac_ct_CXX" && break
18346 if test "x$ac_ct_CXX" = x
; then
18349 case $cross_compiling:$ac_tool_warned in
18351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18352 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18353 ac_tool_warned
=yes ;;
18361 # Provide some information about the compiler.
18362 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18365 for ac_option
in --version -v -V -qversion; do
18366 { { ac_try
="$ac_compiler $ac_option >&5"
18367 case "(($ac_try" in
18368 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18369 *) ac_try_echo=$ac_try;;
18371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18372 $as_echo "$ac_try_echo"; } >&5
18373 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18375 if test -s conftest.err; then
18377 ... rest of stderr output deleted ...
18378 10q' conftest.err >conftest.er1
18379 cat conftest.er1 >&5
18381 rm -f conftest.er1 conftest.err
18382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18383 test $ac_status = 0; }
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18387 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18388 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18389 $as_echo_n "(cached) " >&6
18391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h. */
18405 if ac_fn_cxx_try_compile "$LINENO"; then :
18406 ac_compiler_gnu=yes
18410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18411 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18415 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18416 if test $ac_compiler_gnu = yes; then
18421 ac_test_CXXFLAGS=${CXXFLAGS+set}
18422 ac_save_CXXFLAGS=$CXXFLAGS
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18424 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18425 if ${ac_cv_prog_cxx_g+:} false; then :
18426 $as_echo_n "(cached) " >&6
18428 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18429 ac_cxx_werror_flag=yes
18430 ac_cv_prog_cxx_g=no
18432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18443 if ac_fn_cxx_try_compile "$LINENO"; then :
18444 ac_cv_prog_cxx_g=yes
18447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18458 if ac_fn_cxx_try_compile "$LINENO"; then :
18461 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18474 if ac_fn_cxx_try_compile "$LINENO"; then :
18475 ac_cv_prog_cxx_g=yes
18477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18482 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18485 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18486 if test "$ac_test_CXXFLAGS" = set; then
18487 CXXFLAGS=$ac_save_CXXFLAGS
18488 elif test $ac_cv_prog_cxx_g = yes; then
18489 if test "$GXX" = yes; then
18495 if test "$GXX" = yes; then
18502 ac_cpp='$CPP $CPPFLAGS'
18503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18515 ac_cpp='$CXXCPP $CPPFLAGS'
18516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18521 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18522 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18523 $as_echo_n "(cached) " >&6
18525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18526 /* end confdefs.h. */
18532 #ifndef __INTEL_COMPILER
18540 if ac_fn_cxx_try_compile "$LINENO"; then :
18541 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18543 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18551 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18552 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18558 ac_cpp='$CPP $CPPFLAGS'
18559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18566 if test "$INTELCXX" = "yes"; then
18570 ac_cpp='$CXXCPP $CPPFLAGS'
18571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18576 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18577 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18578 $as_echo_n "(cached) " >&6
18580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h. */
18587 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18595 if ac_fn_cxx_try_compile "$LINENO"; then :
18596 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18598 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18606 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18607 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18623 ac_cpp='$CXXCPP $CPPFLAGS'
18624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18629 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18630 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18631 $as_echo_n "(cached) " >&6
18633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18634 /* end confdefs.h. */
18640 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18648 if ac_fn_cxx_try_compile "$LINENO"; then :
18649 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18651 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18659 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18660 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18666 ac_cpp='$CPP $CPPFLAGS'
18667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18675 if test "x$GCXX" != "xyes"; then
18676 if test "xCXX" = "xC"; then
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18678 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18679 if ${bakefile_cv_c_exto+:} false; then :
18680 $as_echo_n "(cached) " >&6
18682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18683 /* end confdefs.h. */
18693 rm -f conftest.$ac_objext conftest.$ac_ext.o
18694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18695 (eval $ac_compile) 2>&5
18697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18698 test $ac_status = 0; }; then :
18699 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18701 conftest.$ac_ext.o)
18702 bakefile_cv_c_exto="-ext o"
18709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18711 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18712 See \
`config.log' for more details" "$LINENO" 5; }
18715 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18719 $as_echo "$bakefile_cv_c_exto" >&6; }
18720 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18721 if test "c" = "c"; then
18722 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18724 if test "c" = "cxx"; then
18725 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18729 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18730 unset ac_cv_prog_cc_g
18731 ac_test_CFLAGS=${CFLAGS+set}
18732 ac_save_CFLAGS=$CFLAGS
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18734 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18735 if ${ac_cv_prog_cc_g+:} false; then :
18736 $as_echo_n "(cached) " >&6
18738 ac_save_c_werror_flag=$ac_c_werror_flag
18739 ac_c_werror_flag=yes
18742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18743 /* end confdefs.h. */
18753 if ac_fn_c_try_compile "$LINENO"; then :
18754 ac_cv_prog_cc_g=yes
18757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18768 if ac_fn_c_try_compile "$LINENO"; then :
18771 ac_c_werror_flag=$ac_save_c_werror_flag
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h. */
18784 if ac_fn_c_try_compile "$LINENO"; then :
18785 ac_cv_prog_cc_g=yes
18787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18792 ac_c_werror_flag=$ac_save_c_werror_flag
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18795 $as_echo "$ac_cv_prog_cc_g" >&6; }
18796 if test "$ac_test_CFLAGS" = set; then
18797 CFLAGS=$ac_save_CFLAGS
18798 elif test $ac_cv_prog_cc_g = yes; then
18799 if test "$GCC" = yes; then
18805 if test "$GCC" = yes; then
18819 ac_cpp='$CXXCPP $CPPFLAGS'
18820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18825 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18826 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18827 $as_echo_n "(cached) " >&6
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18844 if ac_fn_cxx_try_compile "$LINENO"; then :
18845 bakefile_cv_cxx_compiler___xlC__=yes
18847 bakefile_cv_cxx_compiler___xlC__=no
18850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18855 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18856 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18862 ac_cpp='$CPP $CPPFLAGS'
18863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18875 ac_cpp='$CXXCPP $CPPFLAGS'
18876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18881 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18882 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18883 $as_echo_n "(cached) " >&6
18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18900 if ac_fn_cxx_try_compile "$LINENO"; then :
18901 bakefile_cv_cxx_compiler___MWERKS__=yes
18903 bakefile_cv_cxx_compiler___MWERKS__=no
18906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18911 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18912 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18918 ac_cpp='$CPP $CPPFLAGS'
18919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18925 if test "$MWCXX" != "yes"; then
18929 ac_cpp='$CXXCPP $CPPFLAGS'
18930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18935 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18936 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18937 $as_echo_n "(cached) " >&6
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18954 if ac_fn_cxx_try_compile "$LINENO"; then :
18955 bakefile_cv_cxx_compiler___xlC__=yes
18957 bakefile_cv_cxx_compiler___xlC__=no
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18965 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18966 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18972 ac_cpp='$CPP $CPPFLAGS'
18973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18986 ac_cpp='$CXXCPP $CPPFLAGS'
18987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18992 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18993 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18994 $as_echo_n "(cached) " >&6
18996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
19003 #ifndef _SGI_COMPILER_VERSION
19011 if ac_fn_cxx_try_compile "$LINENO"; then :
19012 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19014 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19022 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19023 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19029 ac_cpp='$CPP $CPPFLAGS'
19030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19039 if test "$INTELCXX" != "yes"; then
19043 ac_cpp='$CXXCPP $CPPFLAGS'
19044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19049 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19050 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19051 $as_echo_n "(cached) " >&6
19053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19054 /* end confdefs.h. */
19060 #ifndef __SUNPRO_CC
19068 if ac_fn_cxx_try_compile "$LINENO"; then :
19069 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19071 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19079 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19080 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19100 ac_cpp='$CXXCPP $CPPFLAGS'
19101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19106 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19107 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19108 $as_echo_n "(cached) " >&6
19110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19111 /* end confdefs.h. */
19125 if ac_fn_cxx_try_compile "$LINENO"; then :
19126 bakefile_cv_cxx_compiler___HP_aCC=yes
19128 bakefile_cv_cxx_compiler___HP_aCC=no
19131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19136 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19137 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19143 ac_cpp='$CPP $CPPFLAGS'
19144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19156 ac_cpp='$CXXCPP $CPPFLAGS'
19157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19162 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19163 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19164 $as_echo_n "(cached) " >&6
19166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19181 if ac_fn_cxx_try_compile "$LINENO"; then :
19182 bakefile_cv_cxx_compiler___DECCXX=yes
19184 bakefile_cv_cxx_compiler___DECCXX=no
19187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19192 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19193 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19199 ac_cpp='$CPP $CPPFLAGS'
19200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19212 ac_cpp='$CXXCPP $CPPFLAGS'
19213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19218 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19219 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19220 $as_echo_n "(cached) " >&6
19222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19223 /* end confdefs.h. */
19229 #ifndef __SUNPRO_CC
19237 if ac_fn_cxx_try_compile "$LINENO"; then :
19238 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19240 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19248 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19249 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19255 ac_cpp='$CPP $CPPFLAGS'
19256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19268 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19269 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19272 if test "x$SUNCXX" != xyes; then
19273 if test -n "$ac_tool_prefix"; then
19274 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19275 set dummy ${ac_tool_prefix}ar; ac_word=$2
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19277 $as_echo_n "checking for $ac_word... " >&6; }
19278 if ${ac_cv_prog_AR+:} false; then :
19279 $as_echo_n "(cached) " >&6
19281 if test -n "$AR"; then
19282 ac_cv_prog_AR="$AR" # Let the user override the test.
19284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19285 for as_dir in $PATH
19288 test -z "$as_dir" && as_dir=.
19289 for ac_exec_ext in '' $ac_executable_extensions; do
19290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19291 ac_cv_prog_AR="${ac_tool_prefix}ar"
19292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19302 if test -n "$AR"; then
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19304 $as_echo "$AR" >&6; }
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19307 $as_echo "no" >&6; }
19312 if test -z "$ac_cv_prog_AR"; then
19314 # Extract the first word of "ar", so it can be a program name with args.
19315 set dummy ar; ac_word=$2
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19317 $as_echo_n "checking for $ac_word... " >&6; }
19318 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19319 $as_echo_n "(cached) " >&6
19321 if test -n "$ac_ct_AR"; then
19322 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19325 for as_dir in $PATH
19328 test -z "$as_dir" && as_dir=.
19329 for ac_exec_ext in '' $ac_executable_extensions; do
19330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19331 ac_cv_prog_ac_ct_AR="ar"
19332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19341 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19342 if test -n "$ac_ct_AR"; then
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19344 $as_echo "$ac_ct_AR" >&6; }
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19347 $as_echo "no" >&6; }
19350 if test "x$ac_ct_AR" = x; then
19353 case $cross_compiling:$ac_tool_warned in
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19357 ac_tool_warned=yes ;;
19362 AR="$ac_cv_prog_AR"
19365 if test "x$AR" = "x" ; then
19366 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19371 if test "$wxUSE_MAC" = 1; then
19373 retest_macosx_linking=no
19377 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19378 if test "x$wxUSE_MAC_ARCH" != xno; then
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19380 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19383 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19384 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19385 else OSX_ARCH_OPTS="ppc,i386"
19386 if test "$wxUSE_OSX_COCOA" = 1; then
19387 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19392 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19394 $as_echo "$OSX_ARCH_OPTS" >&6; }
19396 retest_macosx_linking=yes
19398 if test "x$wxUSE_MAC_ARCH" != xno; then
19399 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19403 if test "x$OSX_ARCH_OPTS" != "x"; then
19404 if echo $OSX_ARCH_OPTS | grep -q ","; then
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19406 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19407 disable_macosx_deps=yes
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19410 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19414 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19416 CPPFLAGS="$OSX_ARCH_OPTS $CPPFLAGS"
19417 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19418 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19419 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19420 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19421 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19424 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19426 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19427 # TODO: Search for most recent SDK and use it.
19428 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19432 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19434 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19435 if ! test -d "$wxUSE_MACOSX_SDK"; then
19436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19438 as_fn_error $? "not found
19439 See \
`config.log' for more details" "$LINENO" 5; }
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19442 $as_echo "exists" >&6; }
19444 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19445 retest_macosx_linking=yes
19448 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19449 wxUSE_MACOSX_VERSION_MIN=
19450 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19451 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19453 $as_echo_n "checking SDK deployment version... " >&6; }
19455 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/'`
19457 # If that failed, try again with the new key
19458 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19460 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/'`
19464 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19465 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19467 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19470 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19471 wxUSE_MACOSX_VERSION_MIN=
19474 wxUSE_MACOSX_VERSION_MIN=
19476 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19477 wxUSE_MACOSX_VERSION_MIN=10.5
19480 if test "x$MACOSX_SDK_OPTS" != "x"; then
19481 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19482 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19483 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19484 retest_macosx_linking=yes
19487 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19488 if test "$wxUSE_OSX_IPHONE" = 1; then
19489 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19491 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19493 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19494 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19495 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19496 retest_macosx_linking=yes
19499 if test "x$retest_macosx_linking" = "xyes"; then
19501 ac_cpp='$CPP $CPPFLAGS'
19502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19507 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19509 /* end confdefs.h. */
19519 if ac_fn_c_try_link "$LINENO"; then :
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19521 $as_echo "yes" >&6; }
19523 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19525 as_fn_error $? "no. Try a different SDK
19526 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19528 rm -f core conftest.err conftest.$ac_objext \
19529 conftest$ac_exeext conftest.$ac_ext
19531 ac_cpp='$CPP $CPPFLAGS'
19532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19538 ac_cpp='$CXXCPP $CPPFLAGS'
19539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19544 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19546 /* end confdefs.h. */
19556 if ac_fn_cxx_try_link "$LINENO"; then :
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19558 $as_echo "yes" >&6; }
19560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19562 as_fn_error $? "no. Try a different SDK
19563 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19565 rm -f core conftest.err conftest.$ac_objext \
19566 conftest$ac_exeext conftest.$ac_ext
19568 ac_cpp='$CPP $CPPFLAGS'
19569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19579 INSTALL_PROGRAM="cp -fp"
19580 INSTALL_DATA="cp -fp"
19587 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19588 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19591 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19592 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19595 if test "x$USE_AIX" = "x1"; then
19596 if test "x$XLCXX" = "xyes"; then
19597 CXXFLAGS="-qunique $CXXFLAGS"
19600 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19604 powerpc-*-darwin* )
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19606 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19608 /* end confdefs.h. */
19613 #ifndef __POWERPC__
19614 choke me for lack of PowerPC
19621 if ac_fn_c_try_compile "$LINENO"; then :
19622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19623 $as_echo "yes" >&6; }
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19626 $as_echo "no" >&6; }
19627 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19638 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h. */
19641 #include <CoreFoundation/CFBase.h>
19651 if ac_fn_c_try_compile "$LINENO"; then :
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19653 $as_echo "yes" >&6; }
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19656 $as_echo "no" >&6; }
19657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19658 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19660 /* end confdefs.h. */
19661 #define __CF_USE_FRAMEWORK_INCLUDES__
19662 #include <CoreFoundation/CFBase.h>
19672 if ac_fn_c_try_compile "$LINENO"; then :
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19674 $as_echo "yes" >&6; }
19675 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19678 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19679 as_fn_error $? "no. CoreFoundation not available.
19680 See \
`config.log' for more details" "$LINENO" 5; }
19683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19692 doesnt_want_win32=0
19695 if test "$wxUSE_MSW" = 1 ; then
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19699 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19700 if ${wx_cv_nocygwin+:} false; then :
19701 $as_echo_n "(cached) " >&6
19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19705 /* end confdefs.h. */
19719 if ac_fn_c_try_compile "$LINENO"; then :
19725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19730 $as_echo "$wx_cv_nocygwin" >&6; }
19732 if test "$wx_cv_nocygwin" = "yes"; then
19735 doesnt_want_win32=1
19738 if test "$wants_win32" = 1 ; then
19739 BAKEFILE_FORCE_PLATFORM=win32
19747 if test "$wxUSE_WINE" = "yes"; then
19749 LDFLAGS_GUI="-mwindows"
19752 if test "$wants_win32" = 1 ; then
19755 $as_echo "#define __WIN32__ 1" >>confdefs.h
19757 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19759 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19761 $as_echo "#define STRICT 1" >>confdefs.h
19764 if test "$doesnt_want_win32" = 1 ; then
19769 if test "$USE_UNIX" = 1 ; then
19771 $as_echo "#define __UNIX__ 1" >>confdefs.h
19776 *-pc-os2_emx | *-pc-os2-emx )
19777 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19779 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19780 if ${ac_cv_lib_cExt_drand48+:} false; then :
19781 $as_echo_n "(cached) " >&6
19783 ac_check_lib_save_LIBS=$LIBS
19784 LIBS="-lcExt $LIBS"
19785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19786 /* end confdefs.h. */
19788 /* Override any GCC internal prototype to avoid an error.
19789 Use char because int might match the return type of a GCC
19790 builtin and then its argument prototype would still apply. */
19803 if ac_fn_c_try_link "$LINENO"; then :
19804 ac_cv_lib_cExt_drand48=yes
19806 ac_cv_lib_cExt_drand48=no
19808 rm -f core conftest.err conftest.$ac_objext \
19809 conftest$ac_exeext conftest.$ac_ext
19810 LIBS=$ac_check_lib_save_LIBS
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19813 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19814 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19815 LIBS="$LIBS -lcExt"
19819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19820 $as_echo_n "checking for gcc/libc version... " >&6; }
19821 if ${wx_cv_gccversion+:} false; then :
19822 $as_echo_n "(cached) " >&6
19825 if test "$cross_compiling" = yes; then :
19826 wx_cv_gccversion="EMX2"
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h. */
19836 FILE *f=fopen("conftestval", "w");
19841 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19843 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19853 if ac_fn_c_try_run "$LINENO"; then :
19854 wx_cv_gccversion=`cat conftestval
`
19856 wx_cv_gccversion="EMX2"
19858 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19859 conftest.$ac_objext conftest.beam conftest.$ac_ext
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19865 $as_echo "$wx_cv_gccversion" >&6; }
19866 if test "$wx_cv_gccversion" = "EMX2"; then
19867 LIBS="$LIBS -lstdcpp"
19868 LDFLAGS="$LDFLAGS -Zsysv-signals"
19870 if test "$wx_cv_gccversion" = "EMX3"; then
19871 LIBS="$LIBS -lstdcxx -lgcc"
19872 LDFLAGS="$LDFLAGS -Zsysv-signals"
19874 LIBS="$LIBS -lstdc++"
19877 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19879 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19888 $as_echo_n "checking for ANSI C header files... " >&6; }
19889 if ${ac_cv_header_stdc+:} false; then :
19890 $as_echo_n "(cached) " >&6
19892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19894 #include <stdlib.h>
19895 #include <stdarg.h>
19896 #include <string.h>
19907 if ac_fn_c_try_compile "$LINENO"; then :
19908 ac_cv_header_stdc=yes
19910 ac_cv_header_stdc=no
19912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19914 if test $ac_cv_header_stdc = yes; then
19915 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19917 /* end confdefs.h. */
19918 #include <string.h>
19921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19922 $EGREP "memchr" >/dev/null 2>&1; then :
19925 ac_cv_header_stdc=no
19931 if test $ac_cv_header_stdc = yes; then
19932 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19934 /* end confdefs.h. */
19935 #include <stdlib.h>
19938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19939 $EGREP "free" >/dev/null 2>&1; then :
19942 ac_cv_header_stdc=no
19948 if test $ac_cv_header_stdc = yes; then
19949 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19950 if test "$cross_compiling" = yes; then :
19953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */
19956 #include <stdlib.h>
19957 #if ((' ' & 0x0FF) == 0x020)
19958 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19959 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19961 # define ISLOWER(c) \
19962 (('a' <= (c) && (c) <= 'i') \
19963 || ('j' <= (c) && (c) <= 'r') \
19964 || ('s' <= (c) && (c) <= 'z'))
19965 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19968 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19973 for (i = 0; i < 256; i++)
19974 if (XOR (islower (i), ISLOWER (i))
19975 || toupper (i) != TOUPPER (i))
19980 if ac_fn_c_try_run "$LINENO"; then :
19983 ac_cv_header_stdc=no
19985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19986 conftest.$ac_objext conftest.beam conftest.$ac_ext
19991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19992 $as_echo "$ac_cv_header_stdc" >&6; }
19993 if test $ac_cv_header_stdc = yes; then
19995 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19999 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20000 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20001 inttypes.h stdint.h unistd.h
20003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20004 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20006 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20007 cat >>confdefs.h <<_ACEOF
20008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20016 for ac_header in langinfo.h wchar.h
20018 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20019 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20021 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20022 cat >>confdefs.h <<_ACEOF
20023 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20031 if test "$ac_cv_header_wchar_h" != "yes"; then
20032 for ac_header in wcstr.h
20034 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20036 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20037 cat >>confdefs.h <<_ACEOF
20038 #define HAVE_WCSTR_H 1
20048 *-pc-os2_emx | *-pc-os2-emx )
20049 if test $ac_cv_header_langinfo_h = "yes" \
20050 -a \( "$wx_cv_gccversion" = "EMX2" \
20051 -o "$wx_cv_gccversion" = "EMX3" \
20052 -o "$wx_cv_gccversion" = "Innotek5" \); then
20053 LIBS="$LIBS -lintl"
20058 if test "$USE_UNIX" = 1 ; then
20059 for ac_header in sys/select.h
20061 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20063 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20064 cat >>confdefs.h <<_ACEOF
20065 #define HAVE_SYS_SELECT_H 1
20074 ac_cpp='$CXXCPP $CPPFLAGS'
20075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20079 for ac_header in cxxabi.h
20081 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20083 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20084 cat >>confdefs.h <<_ACEOF
20085 #define HAVE_CXXABI_H 1
20093 ac_cpp='$CPP $CPPFLAGS'
20094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20102 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20103 if ${ac_cv_c_const+:} false; then :
20104 $as_echo_n "(cached) " >&6
20106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20107 /* end confdefs.h. */
20113 #ifndef __cplusplus
20114 /* Ultrix mips cc rejects this sort of thing. */
20115 typedef int charset[2];
20116 const charset cs = { 0, 0 };
20117 /* SunOS 4.1.1 cc rejects this. */
20118 char const *const *pcpcc;
20120 /* NEC SVR4.0.2 mips cc rejects this. */
20121 struct point {int x, y;};
20122 static struct point const zero = {0,0};
20123 /* AIX XL C 1.02.0.0 rejects this.
20124 It does not let you subtract one const X* pointer from another in
20125 an arm of an if-expression whose if-part is not a constant
20127 const char *g = "string";
20128 pcpcc = &g + (g ? g-g : 0);
20129 /* HPUX 7.0 cc rejects these. */
20131 ppc = (char**) pcpcc;
20132 pcpcc = (char const *const *) ppc;
20133 { /* SCO 3.2v4 cc rejects this sort of thing. */
20136 char const *s = 0 ? (char *) 0 : (char const *) 0;
20141 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20142 int x[] = {25, 17};
20143 const int *foo = &x[0];
20146 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20147 typedef const int *iptr;
20151 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20152 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20153 struct s { int j; const int *ap[3]; } bx;
20154 struct s *b = &bx; b->j = 5;
20156 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20157 const int foo = 10;
20158 if (!foo) return 0;
20160 return !cs[0] && !zero.x;
20167 if ac_fn_c_try_compile "$LINENO"; then :
20172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20175 $as_echo "$ac_cv_c_const" >&6; }
20176 if test $ac_cv_c_const = no; then
20178 $as_echo "#define const /**/" >>confdefs.h
20182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20183 $as_echo_n "checking for inline... " >&6; }
20184 if ${ac_cv_c_inline+:} false; then :
20185 $as_echo_n "(cached) " >&6
20188 for ac_kw in inline __inline__ __inline; do
20189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20190 /* end confdefs.h. */
20191 #ifndef __cplusplus
20193 static $ac_kw foo_t static_foo () {return 0; }
20194 $ac_kw foo_t foo () {return 0; }
20198 if ac_fn_c_try_compile "$LINENO"; then :
20199 ac_cv_c_inline=$ac_kw
20201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20202 test "$ac_cv_c_inline" != no && break
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20207 $as_echo "$ac_cv_c_inline" >&6; }
20209 case $ac_cv_c_inline in
20212 case $ac_cv_c_inline in
20214 *) ac_val=$ac_cv_c_inline;;
20216 cat >>confdefs.h <<_ACEOF
20217 #ifndef __cplusplus
20218 #define inline $ac_val
20225 # The cast to long int works around a bug in the HP C Compiler
20226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20227 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20228 # This bug is HP SR number 8606223364.
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20230 $as_echo_n "checking size of short... " >&6; }
20231 if ${ac_cv_sizeof_short+:} false; then :
20232 $as_echo_n "(cached) " >&6
20234 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20237 if test "$ac_cv_type_short" = yes; then
20238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20239 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20240 as_fn_error 77 "cannot compute sizeof (short)
20241 See \`config.log
' for more details" "$LINENO" 5; }
20243 ac_cv_sizeof_short=0
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20249 $as_echo "$ac_cv_sizeof_short" >&6; }
20253 cat >>confdefs.h <<_ACEOF
20254 #define SIZEOF_SHORT $ac_cv_sizeof_short
20258 # The cast to long int works around a bug in the HP C Compiler
20259 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20260 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20261 # This bug is HP SR number 8606223364.
20262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20263 $as_echo_n "checking size of void *... " >&6; }
20264 if ${ac_cv_sizeof_void_p+:} false
; then :
20265 $as_echo_n "(cached) " >&6
20267 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20270 if test "$ac_cv_type_void_p" = yes; then
20271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20273 as_fn_error
77 "cannot compute sizeof (void *)
20274 See \`config.log' for more details" "$LINENO" 5; }
20276 ac_cv_sizeof_void_p
=0
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20282 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20286 cat >>confdefs.h
<<_ACEOF
20287 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20291 # The cast to long int works around a bug in the HP C Compiler
20292 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20293 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20294 # This bug is HP SR number 8606223364.
20295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20296 $as_echo_n "checking size of int... " >&6; }
20297 if ${ac_cv_sizeof_int+:} false
; then :
20298 $as_echo_n "(cached) " >&6
20300 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20303 if test "$ac_cv_type_int" = yes; then
20304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20306 as_fn_error
77 "cannot compute sizeof (int)
20307 See \`config.log' for more details" "$LINENO" 5; }
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20315 $as_echo "$ac_cv_sizeof_int" >&6; }
20319 cat >>confdefs.h
<<_ACEOF
20320 #define SIZEOF_INT $ac_cv_sizeof_int
20324 # The cast to long int works around a bug in the HP C Compiler
20325 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20326 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20327 # This bug is HP SR number 8606223364.
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20329 $as_echo_n "checking size of long... " >&6; }
20330 if ${ac_cv_sizeof_long+:} false
; then :
20331 $as_echo_n "(cached) " >&6
20333 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20336 if test "$ac_cv_type_long" = yes; then
20337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20339 as_fn_error
77 "cannot compute sizeof (long)
20340 See \`config.log' for more details" "$LINENO" 5; }
20342 ac_cv_sizeof_long
=0
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20348 $as_echo "$ac_cv_sizeof_long" >&6; }
20352 cat >>confdefs.h
<<_ACEOF
20353 #define SIZEOF_LONG $ac_cv_sizeof_long
20357 # The cast to long int works around a bug in the HP C Compiler
20358 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20359 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20360 # This bug is HP SR number 8606223364.
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20362 $as_echo_n "checking size of size_t... " >&6; }
20363 if ${ac_cv_sizeof_size_t+:} false
; then :
20364 $as_echo_n "(cached) " >&6
20366 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20369 if test "$ac_cv_type_size_t" = yes; then
20370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20372 as_fn_error
77 "cannot compute sizeof (size_t)
20373 See \`config.log' for more details" "$LINENO" 5; }
20375 ac_cv_sizeof_size_t
=0
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20381 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20385 cat >>confdefs.h
<<_ACEOF
20386 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20393 # The cast to long int works around a bug in the HP C Compiler
20394 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20395 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20396 # This bug is HP SR number 8606223364.
20397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20398 $as_echo_n "checking size of long long... " >&6; }
20399 if ${ac_cv_sizeof_long_long+:} false
; then :
20400 $as_echo_n "(cached) " >&6
20402 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20405 if test "$ac_cv_type_long_long" = yes; then
20406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20408 as_fn_error
77 "cannot compute sizeof (long long)
20409 See \`config.log' for more details" "$LINENO" 5; }
20411 ac_cv_sizeof_long_long
=0
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20417 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20421 cat >>confdefs.h
<<_ACEOF
20422 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20428 # The cast to long int works around a bug in the HP C Compiler
20429 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20430 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20431 # This bug is HP SR number 8606223364.
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20433 $as_echo_n "checking size of long long... " >&6; }
20434 if ${ac_cv_sizeof_long_long+:} false
; then :
20435 $as_echo_n "(cached) " >&6
20437 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20440 if test "$ac_cv_type_long_long" = yes; then
20441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20443 as_fn_error
77 "cannot compute sizeof (long long)
20444 See \`config.log' for more details" "$LINENO" 5; }
20446 ac_cv_sizeof_long_long
=0
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20452 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20456 cat >>confdefs.h
<<_ACEOF
20457 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20461 if test "$ac_cv_sizeof_long_long" != 0; then
20462 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20466 # The cast to long int works around a bug in the HP C Compiler
20467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20469 # This bug is HP SR number 8606223364.
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20471 $as_echo_n "checking size of long long... " >&6; }
20472 if ${ac_cv_sizeof_long_long+:} false
; then :
20473 $as_echo_n "(cached) " >&6
20475 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20478 if test "$ac_cv_type_long_long" = yes; then
20479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20481 as_fn_error
77 "cannot compute sizeof (long long)
20482 See \`config.log' for more details" "$LINENO" 5; }
20484 ac_cv_sizeof_long_long
=0
20489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20490 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20494 cat >>confdefs.h
<<_ACEOF
20495 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20501 # The cast to long int works around a bug in the HP C Compiler
20502 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20503 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20504 # This bug is HP SR number 8606223364.
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20506 $as_echo_n "checking size of wchar_t... " >&6; }
20507 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20508 $as_echo_n "(cached) " >&6
20510 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20511 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20512 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20513 # error \"fake wchar_t\"
20515 #ifdef HAVE_WCHAR_H
20517 # include <stddef.h>
20519 # include <wchar.h>
20521 #ifdef HAVE_STDLIB_H
20522 # include <stdlib.h>
20530 if test "$ac_cv_type_wchar_t" = yes; then
20531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20533 as_fn_error
77 "cannot compute sizeof (wchar_t)
20534 See \`config.log' for more details" "$LINENO" 5; }
20536 ac_cv_sizeof_wchar_t
=0
20541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20542 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20546 cat >>confdefs.h
<<_ACEOF
20547 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20551 if test "$ac_cv_sizeof_wchar_t" = 0; then
20552 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20554 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20558 $as_echo_n "checking for va_copy... " >&6; }
20559 if ${wx_cv_func_va_copy+:} false
; then :
20560 $as_echo_n "(cached) " >&6
20564 ac_cpp
='$CXXCPP $CPPFLAGS'
20565 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20566 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20567 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20570 /* end confdefs.h. */
20573 #include <stdarg.h>
20574 void foo(char *f, ...)
20589 if ac_fn_cxx_try_link
"$LINENO"; then :
20590 wx_cv_func_va_copy
=yes
20592 wx_cv_func_va_copy
=no
20595 rm -f core conftest.err conftest.
$ac_objext \
20596 conftest
$ac_exeext conftest.
$ac_ext
20598 ac_cpp
='$CPP $CPPFLAGS'
20599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20607 $as_echo "$wx_cv_func_va_copy" >&6; }
20609 if test $wx_cv_func_va_copy = "yes"; then
20610 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20614 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20615 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20616 $as_echo_n "(cached) " >&6
20619 if test "$cross_compiling" = yes; then :
20620 wx_cv_type_va_list_lvalue
=yes
20623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20627 #include <stdarg.h>
20628 int foo(char *f, ...)
20633 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20641 return foo("hi", 17);
20645 if ac_fn_c_try_run
"$LINENO"; then :
20646 wx_cv_type_va_list_lvalue
=yes
20648 wx_cv_type_va_list_lvalue
=no
20650 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20651 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20658 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20660 if test $wx_cv_type_va_list_lvalue != "yes"; then
20661 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20666 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20669 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20670 if ${wx_cv_have_variadic_macros+:} false
; then :
20671 $as_echo_n "(cached) " >&6
20675 ac_cpp
='$CXXCPP $CPPFLAGS'
20676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20681 /* end confdefs.h. */
20685 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20691 test("%s %d %p", "test", 1, 0);
20698 if ac_fn_cxx_try_compile
"$LINENO"; then :
20699 wx_cv_have_variadic_macros
=yes
20701 wx_cv_have_variadic_macros
=no
20704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20706 ac_cpp
='$CPP $CPPFLAGS'
20707 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20708 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20709 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20715 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20717 if test $wx_cv_have_variadic_macros = "yes"; then
20718 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20723 $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
20727 LARGEFILE_CPPFLAGS
=
20728 # Check whether --enable-largefile was given.
20729 if test "${enable_largefile+set}" = set; then :
20730 enableval
=$enable_largefile;
20733 if test "$enable_largefile" != no
; then
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20737 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20738 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20739 $as_echo_n "(cached) " >&6
20742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20743 /* end confdefs.h. */
20744 #define _FILE_OFFSET_BITS 64
20745 #include <sys/types.h>
20750 unsigned int field: sizeof(off_t) == 8;
20757 if ac_fn_c_try_compile
"$LINENO"; then :
20758 ac_cv_sys_file_offset_bits
=64
20760 ac_cv_sys_file_offset_bits
=no
20762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20767 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20769 if test "$ac_cv_sys_file_offset_bits" != no
; then
20771 cat >>confdefs.h
<<_ACEOF
20772 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20777 if test "x$wx_largefile" != "xyes"; then
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20780 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20781 if ${ac_cv_sys_large_files+:} false
; then :
20782 $as_echo_n "(cached) " >&6
20785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20786 /* end confdefs.h. */
20787 #define _LARGE_FILES 1
20788 #include <sys/types.h>
20793 unsigned int field: sizeof(off_t) == 8;
20800 if ac_fn_c_try_compile
"$LINENO"; then :
20801 ac_cv_sys_large_files
=1
20803 ac_cv_sys_large_files
=no
20805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20810 $as_echo "$ac_cv_sys_large_files" >&6; }
20812 if test "$ac_cv_sys_large_files" != no
; then
20814 cat >>confdefs.h
<<_ACEOF
20815 #define _LARGE_FILES $ac_cv_sys_large_files
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20823 $as_echo_n "checking if large file support is available... " >&6; }
20824 if test "x$wx_largefile" = "xyes"; then
20825 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20829 $as_echo "$wx_largefile" >&6; }
20832 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20833 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20834 elif test "$ac_cv_sys_large_files" = 1; then
20835 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20838 if test -n "$LARGEFILE_CPPFLAGS"; then
20839 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20841 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20843 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20844 if ${wx_cv_STDC_EXT_required+:} false
; then :
20845 $as_echo_n "(cached) " >&6
20849 ac_cpp
='$CXXCPP $CPPFLAGS'
20850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20855 /* end confdefs.h. */
20861 #ifndef __STDC_EXT__
20869 if ac_fn_cxx_try_compile
"$LINENO"; then :
20870 wx_cv_STDC_EXT_required
=no
20872 wx_cv_STDC_EXT_required
=yes
20875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20877 ac_cpp
='$CPP $CPPFLAGS'
20878 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20879 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20880 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20886 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20887 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20888 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20894 ac_cpp
='$CXXCPP $CPPFLAGS'
20895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20899 old_CPPFLAGS
="$CPPFLAGS"
20900 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20902 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20903 if ${ac_cv_sys_largefile_source+:} false
; then :
20904 $as_echo_n "(cached) " >&6
20907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20908 /* end confdefs.h. */
20909 #include <sys/types.h> /* for off_t */
20914 int (*fp) (FILE *, off_t, int) = fseeko;
20915 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20920 if ac_fn_cxx_try_link
"$LINENO"; then :
20921 ac_cv_sys_largefile_source
=no
; break
20923 rm -f core conftest.err conftest.
$ac_objext \
20924 conftest
$ac_exeext conftest.
$ac_ext
20925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20926 /* end confdefs.h. */
20927 #define _LARGEFILE_SOURCE 1
20928 #include <sys/types.h> /* for off_t */
20933 int (*fp) (FILE *, off_t, int) = fseeko;
20934 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20939 if ac_fn_cxx_try_link
"$LINENO"; then :
20940 ac_cv_sys_largefile_source
=1; break
20942 rm -f core conftest.err conftest.
$ac_objext \
20943 conftest
$ac_exeext conftest.
$ac_ext
20944 ac_cv_sys_largefile_source
=unknown
20948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20949 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20950 case $ac_cv_sys_largefile_source in #(
20953 cat >>confdefs.h
<<_ACEOF
20954 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20960 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20961 # in glibc 2.1.3, but that breaks too many other things.
20962 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20963 if test $ac_cv_sys_largefile_source != unknown
; then
20965 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20969 CPPFLAGS
="$old_CPPFLAGS"
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
20976 if test "$ac_cv_sys_largefile_source" != no
; then
20977 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20981 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20982 if ${ac_cv_c_bigendian+:} false
; then :
20983 $as_echo_n "(cached) " >&6
20985 ac_cv_c_bigendian
=unknown
20986 # See if sys/param.h defines the BYTE_ORDER macro.
20987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20989 #include <sys/types.h>
20990 #include <sys/param.h>
20995 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20996 bogus endian macros
21002 if ac_fn_c_try_compile
"$LINENO"; then :
21003 # It does; now see whether it defined to BIG_ENDIAN or not.
21004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21005 /* end confdefs.h. */
21006 #include <sys/types.h>
21007 #include <sys/param.h>
21012 #if BYTE_ORDER != BIG_ENDIAN
21019 if ac_fn_c_try_compile
"$LINENO"; then :
21020 ac_cv_c_bigendian
=yes
21022 ac_cv_c_bigendian
=no
21024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21027 if test $ac_cv_c_bigendian = unknown
; then
21028 if test "$cross_compiling" = yes; then :
21029 ac_cv_c_bigendian
=unknown
21031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21032 /* end confdefs.h. */
21034 /* Are we little or big endian? From Harbison&Steele. */
21038 char c[sizeof (long)];
21041 exit (u.c[sizeof (long) - 1] == 1);
21044 if ac_fn_c_try_run
"$LINENO"; then :
21045 ac_cv_c_bigendian
=no
21047 ac_cv_c_bigendian
=yes
21049 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21050 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21056 $as_echo "$ac_cv_c_bigendian" >&6; }
21057 if test $ac_cv_c_bigendian = unknown
; then
21058 { $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
21059 $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;}
21061 if test $ac_cv_c_bigendian = yes; then
21062 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21070 ac_cpp
='$CXXCPP $CPPFLAGS'
21071 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21072 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21073 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21076 for ac_header
in iostream
21078 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
21080 if test "x$ac_cv_header_iostream" = xyes
; then :
21081 cat >>confdefs.h
<<_ACEOF
21082 #define HAVE_IOSTREAM 1
21090 if test "$ac_cv_header_iostream" = "yes" ; then
21093 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21098 ac_cpp
='$CPP $CPPFLAGS'
21099 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21100 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21101 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21107 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21108 if ${wx_cv_explicit+:} false
; then :
21109 $as_echo_n "(cached) " >&6
21114 ac_cpp
='$CXXCPP $CPPFLAGS'
21115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21121 /* end confdefs.h. */
21123 class Foo { public: explicit Foo(int) {} };
21135 if ac_fn_cxx_try_compile
"$LINENO"; then :
21137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21138 /* end confdefs.h. */
21140 class Foo { public: explicit Foo(int) {} };
21141 static void TakeFoo(const Foo& foo) { }
21154 if ac_fn_cxx_try_compile
"$LINENO"; then :
21160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21169 ac_cpp
='$CPP $CPPFLAGS'
21170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21177 $as_echo "$wx_cv_explicit" >&6; }
21179 if test "$wx_cv_explicit" = "yes"; then
21180 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21185 if test "x$SUNCXX" = xyes
; then
21186 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21189 if test "x$SUNCC" = xyes
; then
21190 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21193 if test "x$SGICC" = "xyes"; then
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21195 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21196 if ${wx_cv_prog_sgicc744+:} false
; then :
21197 $as_echo_n "(cached) " >&6
21200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21201 /* end confdefs.h. */
21207 #if _SGI_COMPILER_VERSION >= 744
21208 chock me: mipsPro is 7.4.4 or later
21215 if ac_fn_c_try_compile
"$LINENO"; then :
21216 wx_cv_prog_sgicc744
=no
21218 wx_cv_prog_sgicc744
=yes
21221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21226 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21228 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21229 CFLAGS
="-woff 3970 $CFLAGS"
21232 if test "x$SGICXX" = "xyes"; then
21233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21234 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21235 if ${wx_cv_prog_sgicxx744+:} false
; then :
21236 $as_echo_n "(cached) " >&6
21240 ac_cpp
='$CXXCPP $CPPFLAGS'
21241 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21242 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21243 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21246 /* end confdefs.h. */
21252 #if _SGI_COMPILER_VERSION >= 744
21253 chock me: mipsPro is 7.4.4 or later
21260 if ac_fn_cxx_try_compile
"$LINENO"; then :
21261 wx_cv_prog_sgicxx744
=no
21263 wx_cv_prog_sgicxx744
=yes
21266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21268 ac_cpp
='$CPP $CPPFLAGS'
21269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21277 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21279 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21280 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21284 if test "x$HPCC" = "xyes"; then
21285 CFLAGS
="+W 2011,2450 $CFLAGS"
21287 if test "x$HPCXX" = "xyes"; then
21288 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21291 if test "x$COMPAQCXX" = "xyes"; then
21292 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21296 ac_cpp
='$CXXCPP $CPPFLAGS'
21297 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21298 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21299 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21302 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21303 if test "$wxUSE_UNICODE" = "yes"; then
21304 std_string
="std::wstring"
21305 char_type
="wchar_t"
21307 std_string
="std::string"
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21312 $as_echo_n "checking for $std_string in <string>... " >&6; }
21313 if ${wx_cv_class_stdstring+:} false
; then :
21314 $as_echo_n "(cached) " >&6
21317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h. */
21328 if ac_fn_cxx_try_compile
"$LINENO"; then :
21329 wx_cv_class_stdstring
=yes
21331 wx_cv_class_stdstring
=no
21334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21339 $as_echo "$wx_cv_class_stdstring" >&6; }
21341 if test "$wx_cv_class_stdstring" = yes; then
21342 if test "$wxUSE_UNICODE" = "yes"; then
21343 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21348 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21349 if ${wx_cv_class_stdbasicstring+:} false
; then :
21350 $as_echo_n "(cached) " >&6
21353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21354 /* end confdefs.h. */
21356 #ifdef HAVE_WCHAR_H
21358 # include <stddef.h>
21360 # include <wchar.h>
21362 #ifdef HAVE_STDLIB_H
21363 # include <stdlib.h>
21371 std::basic_string<$char_type> foo;
21372 const $char_type* dummy = foo.c_str();
21377 if ac_fn_cxx_try_compile
"$LINENO"; then :
21378 wx_cv_class_stdbasicstring
=yes
21380 wx_cv_class_stdbasicstring
=no
21383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21388 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21390 if test "$wx_cv_class_stdbasicstring" != yes; then
21391 if test "$wxUSE_STL" = "yes"; then
21392 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21393 elif test "$wxUSE_STD_STRING" = "yes"; then
21394 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21397 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21398 wxUSE_STD_STRING
=no
21404 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21405 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21407 if test "x$ac_cv_type_std__istream" = xyes
; then :
21409 cat >>confdefs.h
<<_ACEOF
21410 #define HAVE_STD__ISTREAM 1
21415 wxUSE_STD_IOSTREAM
=no
21417 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21419 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21421 cat >>confdefs.h
<<_ACEOF
21422 #define HAVE_STD__OSTREAM 1
21427 wxUSE_STD_IOSTREAM
=no
21431 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21432 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21433 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21436 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21441 if test "$wxUSE_STL" = "yes"; then
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21443 $as_echo_n "checking for basic STL functionality... " >&6; }
21444 if ${wx_cv_lib_stl+:} false
; then :
21445 $as_echo_n "(cached) " >&6
21447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21448 /* end confdefs.h. */
21450 #include <functional>
21451 #include <algorithm>
21457 std::vector<int> moo;
21458 std::list<int> foo;
21459 std::vector<int>::iterator it =
21460 std::find_if(moo.begin(), moo.end(),
21461 std::bind2nd(std::less<int>(), 3));
21466 if ac_fn_cxx_try_compile
"$LINENO"; then :
21472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21476 $as_echo "$wx_cv_lib_stl" >&6; }
21478 if test "$wx_cv_lib_stl" != yes; then
21479 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21483 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21484 if ${wx_cv_func_stdstring_compare+:} false
; then :
21485 $as_echo_n "(cached) " >&6
21487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21493 std::string foo, bar;
21495 foo.compare(1, 1, bar);
21496 foo.compare(1, 1, bar, 1, 1);
21498 foo.compare(1, 1, "");
21499 foo.compare(1, 1, "", 2);
21504 if ac_fn_cxx_try_compile
"$LINENO"; then :
21505 wx_cv_func_stdstring_compare
=yes
21507 wx_cv_func_stdstring_compare
=no
21510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21514 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21516 if test "$wx_cv_func_stdstring_compare" = yes; then
21517 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21521 if test "$wx_cv_class_gnuhashmapset" = yes; then
21522 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21524 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21528 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21531 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21533 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21534 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21535 $as_echo_n "(cached) " >&6
21537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21538 /* end confdefs.h. */
21539 #include <unordered_map>
21540 #include <unordered_set>
21544 std::unordered_map<double*, char*> test1;
21545 std::unordered_set<char*> test2;
21550 if ac_fn_cxx_try_compile
"$LINENO"; then :
21551 wx_cv_class_stdunorderedmapset
=yes
21553 wx_cv_class_stdunorderedmapset
=no
21555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21560 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21565 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21566 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21568 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21571 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21574 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21576 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21577 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21578 $as_echo_n "(cached) " >&6
21580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21581 /* end confdefs.h. */
21582 #include <tr1/unordered_map>
21583 #include <tr1/unordered_set>
21587 std::tr1::unordered_map<double*, char*> test1;
21588 std::tr1::unordered_set<char*> test2;
21589 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21590 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21596 if ac_fn_cxx_try_compile
"$LINENO"; then :
21597 wx_cv_class_tr1unorderedmapset
=yes
21599 wx_cv_class_tr1unorderedmapset
=no
21601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21606 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21611 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21612 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21614 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21617 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21620 if test "x$ac_cv_header_hash_map" = xyes
; then :
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21622 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21623 if ${wx_cv_class_stdhashmapset+:} false
; then :
21624 $as_echo_n "(cached) " >&6
21626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21627 /* end confdefs.h. */
21628 #include <hash_map>
21629 #include <hash_set>
21633 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21634 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21639 if ac_fn_cxx_try_compile
"$LINENO"; then :
21640 wx_cv_class_stdhashmapset
=yes
21642 wx_cv_class_stdhashmapset
=no
21644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21649 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21654 if test "$wx_cv_class_stdhashmapset" = yes; then
21655 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21657 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21661 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21664 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21666 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21667 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21668 $as_echo_n "(cached) " >&6
21670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21671 /* end confdefs.h. */
21672 #include <ext/hash_map>
21673 #include <ext/hash_set>
21677 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21678 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21683 if ac_fn_cxx_try_compile
"$LINENO"; then :
21684 wx_cv_class_gnuhashmapset
=yes
21686 wx_cv_class_gnuhashmapset
=no
21688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21693 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21703 ac_cpp
='$CXXCPP $CPPFLAGS'
21704 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21705 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21706 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21708 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21709 if test -z "$CXXCPP"; then
21710 if ${ac_cv_prog_CXXCPP+:} false
; then :
21711 $as_echo_n "(cached) " >&6
21713 # Double quotes because CXXCPP needs to be expanded
21714 for CXXCPP
in "$CXX -E" "/lib/cpp"
21716 ac_preproc_ok
=false
21717 for ac_cxx_preproc_warn_flag
in '' yes
21719 # Use a header file that comes with gcc, so configuring glibc
21720 # with a fresh cross-compiler works.
21721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21722 # <limits.h> exists even on freestanding compilers.
21723 # On the NeXT, cc -E runs the code through the compiler's parser,
21724 # not just through cpp. "Syntax error" is here to catch this case.
21725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21726 /* end confdefs.h. */
21728 # include <limits.h>
21730 # include <assert.h>
21734 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21737 # Broken: fails on valid input.
21740 rm -f conftest.err conftest.i conftest.
$ac_ext
21742 # OK, works on sane cases. Now check whether nonexistent headers
21743 # can be detected and how.
21744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21745 /* end confdefs.h. */
21746 #include <ac_nonexistent.h>
21748 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21749 # Broken: success on invalid input.
21752 # Passes both tests.
21756 rm -f conftest.err conftest.i conftest.
$ac_ext
21759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21760 rm -f conftest.i conftest.err conftest.
$ac_ext
21761 if $ac_preproc_ok; then :
21766 ac_cv_prog_CXXCPP
=$CXXCPP
21769 CXXCPP
=$ac_cv_prog_CXXCPP
21771 ac_cv_prog_CXXCPP
=$CXXCPP
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21774 $as_echo "$CXXCPP" >&6; }
21775 ac_preproc_ok
=false
21776 for ac_cxx_preproc_warn_flag
in '' yes
21778 # Use a header file that comes with gcc, so configuring glibc
21779 # with a fresh cross-compiler works.
21780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21781 # <limits.h> exists even on freestanding compilers.
21782 # On the NeXT, cc -E runs the code through the compiler's parser,
21783 # not just through cpp. "Syntax error" is here to catch this case.
21784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21785 /* end confdefs.h. */
21787 # include <limits.h>
21789 # include <assert.h>
21793 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21796 # Broken: fails on valid input.
21799 rm -f conftest.err conftest.i conftest.
$ac_ext
21801 # OK, works on sane cases. Now check whether nonexistent headers
21802 # can be detected and how.
21803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21804 /* end confdefs.h. */
21805 #include <ac_nonexistent.h>
21807 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21808 # Broken: success on invalid input.
21811 # Passes both tests.
21815 rm -f conftest.err conftest.i conftest.
$ac_ext
21818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21819 rm -f conftest.i conftest.err conftest.
$ac_ext
21820 if $ac_preproc_ok; then :
21823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21825 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21826 See \`config.log' for more details" "$LINENO" 5; }
21830 ac_cpp
='$CXXCPP $CPPFLAGS'
21831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21836 for ac_header
in type_traits tr
1/type_traits
21838 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21839 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21840 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21841 cat >>confdefs.h
<<_ACEOF
21842 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21852 if test -n "$GCC"; then
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21854 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21855 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21856 $as_echo_n "(cached) " >&6
21859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21860 /* end confdefs.h. */
21866 unsigned int value=0;
21867 /* wxAtomicInc doesn't use return value here */
21868 __sync_fetch_and_add(&value, 2);
21869 __sync_sub_and_fetch(&value, 1);
21870 /* but wxAtomicDec does, so mimic that: */
21871 volatile unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21877 if ac_fn_cxx_try_link
"$LINENO"; then :
21878 wx_cv_cc_gcc_atomic_builtins
=yes
21880 wx_cv_cc_gcc_atomic_builtins
=no
21882 rm -f core conftest.err conftest.
$ac_objext \
21883 conftest
$ac_exeext conftest.
$ac_ext
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21888 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21889 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21890 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21897 ac_cpp
='$CPP $CPPFLAGS'
21898 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21899 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21900 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21905 /usr/local/include \
21906 /usr/local/X11/include \
21907 /usr/local/include/X11 \
21908 /usr/local/X11R7/include \
21909 /usr/local/X11R6/include \
21910 /usr/local/include/X11R7 \
21911 /usr/local/include/X11R6 \
21913 /usr/Motif-2.1/include \
21914 /usr/Motif-1.2/include \
21915 /usr/include/Motif1.2 \
21918 /usr/openwin/include \
21922 /usr/X11R7/include \
21923 /usr/X11R6/include \
21924 /usr/X11R6.4/include \
21926 /usr/include/X11R7 \
21927 /usr/include/X11R6 \
21932 /usr/XFree86/include/X11 \
21935 /usr/local/X1R5/include \
21936 /usr/local/include/X11R5 \
21937 /usr/X11R5/include \
21938 /usr/include/X11R5 \
21940 /usr/local/X11R4/include \
21941 /usr/local/include/X11R4 \
21942 /usr/X11R4/include \
21943 /usr/include/X11R4 \
21945 /usr/openwin/share/include"
21947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21948 $as_echo_n "checking for libraries directories... " >&6; }
21952 if ${wx_cv_std_libpath+:} false
; then :
21953 $as_echo_n "(cached) " >&6
21956 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
21957 for e
in a so sl dylib dll.a
; do
21959 if test -f $libc; then
21962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21963 /* end confdefs.h. */
21965 int main() { return 0; }
21968 if ac_fn_c_try_link
"$LINENO"; then :
21969 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
21971 rm -f core conftest.err conftest.
$ac_objext \
21972 conftest
$ac_exeext conftest.
$ac_ext
21974 if test "x$wx_cv_std_libpath" != "x"; then
21987 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21988 wx_cv_std_libpath
="lib/64"
21993 if test "$ac_cv_sizeof_void_p" = 8; then
21994 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21995 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
21996 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21997 wx_cv_std_libpath
="lib64"
22002 if test -d '/usr/lib/i386-linux-gnu'; then
22003 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
22008 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22009 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
22014 if test -z "$wx_cv_std_libpath"; then
22015 wx_cv_std_libpath
="lib"
22018 if test -z "$wx_cv_std_libfullpath"; then
22019 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
22023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22024 $as_echo "$wx_cv_std_libfullpath" >&6; }
22026 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22028 if test "$build" != "$host" -a "$GCC" = yes; then
22029 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22030 cross_root
=`dirname $cross_root`
22031 cross_root
=`dirname $cross_root`
22033 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22034 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22035 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
22037 if test -z "$PKG_CONFIG_PATH"; then
22038 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22039 export PKG_CONFIG_PATH
22042 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22045 for ac_dir
in $SEARCH_INCLUDE /usr
/include
22047 if test -f "$ac_dir/X11/Intrinsic.h"; then
22048 ac_find_includes
=$ac_dir
22053 x_includes
=$ac_find_includes
22055 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22058 for ac_dir
in $SEARCH_LIB
22060 for ac_extension
in a so sl dylib dll.a
; do
22061 if test -f "$ac_dir/libXt.$ac_extension"; then
22062 ac_find_libraries
=$ac_dir
22068 x_libraries
=$ac_find_libraries
22074 cat >confcache
<<\_ACEOF
22075 # This file is a shell script that caches the results of configure
22076 # tests run on this system so they can be shared between configure
22077 # scripts and configure runs, see configure's option --config-cache.
22078 # It is not useful on other systems. If it contains results you don't
22079 # want to keep, you may remove or edit it.
22081 # config.status only pays attention to the cache file if you give it
22082 # the --recheck option to rerun configure.
22084 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22085 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22086 # following values.
22090 # The following way of writing the cache mishandles newlines in values,
22091 # but we know of no workaround that is simple, portable, and efficient.
22092 # So, we kill variables containing newlines.
22093 # Ultrix sh set writes to stderr and can't be redirected directly,
22094 # and sets the high bit in the cache file unless we assign to the vars.
22096 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22097 eval ac_val
=\$
$ac_var
22101 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22102 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22105 _
| IFS
| as_nl
) ;; #(
22106 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22107 *) { eval $ac_var=; unset $ac_var;} ;;
22113 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22114 *${as_nl}ac_space
=\
*)
22115 # `set' does not quote correctly, so add quotes: double-quote
22116 # substitution turns \\\\ into \\, and sed turns \\ into \.
22119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22122 # `set' quotes correctly as required by POSIX, so do not add quotes.
22123 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22132 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22134 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22136 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22137 if test -w "$cache_file"; then
22138 if test "x$cache_file" != "x/dev/null"; then
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22140 $as_echo "$as_me: updating cache $cache_file" >&6;}
22141 if test ! -f "$cache_file" || test -h "$cache_file"; then
22142 cat confcache
>"$cache_file"
22144 case $cache_file in #(
22146 mv -f confcache
"$cache_file"$$
&&
22147 mv -f "$cache_file"$$
"$cache_file" ;; #(
22149 mv -f confcache
"$cache_file" ;;
22154 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22155 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22164 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22165 if test "x$ac_cv_func_cos" = xyes
; then :
22166 cat >>confdefs.h
<<_ACEOF
22173 for ac_func
in floor
22175 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22176 if test "x$ac_cv_func_floor" = xyes
; then :
22177 cat >>confdefs.h
<<_ACEOF
22178 #define HAVE_FLOOR 1
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22185 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22186 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22188 $as_echo "yes" >&6; }
22190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22191 $as_echo "no" >&6; }
22193 # use different functions to avoid configure caching
22198 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22199 if test "x$ac_cv_func_sin" = xyes
; then :
22200 cat >>confdefs.h
<<_ACEOF
22207 for ac_func
in ceil
22209 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22210 if test "x$ac_cv_func_ceil" = xyes
; then :
22211 cat >>confdefs.h
<<_ACEOF
22212 #define HAVE_CEIL 1
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22219 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22220 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22222 $as_echo "yes" >&6; }
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22225 $as_echo "no" >&6; }
22226 # not sure we should warn the user, crash, etc.
22231 ac_cpp
='$CXXCPP $CPPFLAGS'
22232 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22233 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22234 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22236 if test "wxUSE_UNICODE" = "yes"; then
22238 for wx_func
in wcstoull
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22241 $as_echo_n "checking for $wx_func... " >&6; }
22242 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22243 $as_echo_n "(cached) " >&6
22246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22247 /* end confdefs.h. */
22251 $ac_includes_default
22267 if ac_fn_cxx_try_link
"$LINENO"; then :
22268 eval wx_cv_func_
$wx_func=yes
22270 eval wx_cv_func_
$wx_func=no
22272 rm -f core conftest.err conftest.
$ac_objext \
22273 conftest
$ac_exeext conftest.
$ac_ext
22276 eval ac_res
=\
$wx_cv_func_$wx_func
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22278 $as_echo "$ac_res" >&6; }
22280 if eval test \
$wx_cv_func_$wx_func = yes
22282 cat >>confdefs.h
<<_ACEOF
22283 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22295 for wx_func
in strtoull
22297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22298 $as_echo_n "checking for $wx_func... " >&6; }
22299 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22300 $as_echo_n "(cached) " >&6
22303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22304 /* end confdefs.h. */
22308 $ac_includes_default
22324 if ac_fn_cxx_try_link
"$LINENO"; then :
22325 eval wx_cv_func_
$wx_func=yes
22327 eval wx_cv_func_
$wx_func=no
22329 rm -f core conftest.err conftest.
$ac_objext \
22330 conftest
$ac_exeext conftest.
$ac_ext
22333 eval ac_res
=\
$wx_cv_func_$wx_func
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22335 $as_echo "$ac_res" >&6; }
22337 if eval test \
$wx_cv_func_$wx_func = yes
22339 cat >>confdefs.h
<<_ACEOF
22340 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22352 ac_cpp
='$CPP $CPPFLAGS'
22353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22360 if test "$wxUSE_REGEX" != "no"; then
22361 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22364 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22366 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22367 wxUSE_REGEX
=builtin
22370 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22371 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22373 if test "x$ac_cv_header_regex_h" = xyes
; then :
22374 for ac_func
in regcomp re_search
22376 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22377 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22378 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22379 cat >>confdefs.h
<<_ACEOF
22380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22390 if test "x$ac_cv_func_regcomp" != "xyes"; then
22391 if test "$wxUSE_REGEX" = "sys" ; then
22392 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22395 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22396 wxUSE_REGEX
=builtin
22400 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22408 if test "$wxUSE_ZLIB" != "no" ; then
22409 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22412 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22413 if test "$USE_DARWIN" = 1; then
22414 system_zlib_h_ok
="yes"
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22417 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22418 if ${ac_cv_header_zlib_h+:} false
; then :
22419 $as_echo_n "(cached) " >&6
22421 if test "$cross_compiling" = yes; then :
22422 unset ac_cv_header_zlib_h
22425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22426 /* end confdefs.h. */
22433 FILE *f=fopen("conftestval", "w");
22436 ZLIB_VERSION[0] == '1' &&
22437 (ZLIB_VERSION[2] > '1' ||
22438 (ZLIB_VERSION[2] == '1' &&
22439 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22444 if ac_fn_c_try_run
"$LINENO"; then :
22445 ac_cv_header_zlib_h
=`cat conftestval`
22447 ac_cv_header_zlib_h
=no
22449 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22450 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22456 $as_echo "$ac_cv_header_zlib_h" >&6; }
22457 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22459 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22465 system_zlib_h_ok
=$ac_cv_header_zlib_h
22468 if test "$system_zlib_h_ok" = "yes"; then
22469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22470 $as_echo_n "checking for deflate in -lz... " >&6; }
22471 if ${ac_cv_lib_z_deflate+:} false
; then :
22472 $as_echo_n "(cached) " >&6
22474 ac_check_lib_save_LIBS
=$LIBS
22476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22477 /* end confdefs.h. */
22479 /* Override any GCC internal prototype to avoid an error.
22480 Use char because int might match the return type of a GCC
22481 builtin and then its argument prototype would still apply. */
22494 if ac_fn_c_try_link
"$LINENO"; then :
22495 ac_cv_lib_z_deflate
=yes
22497 ac_cv_lib_z_deflate
=no
22499 rm -f core conftest.err conftest.
$ac_objext \
22500 conftest
$ac_exeext conftest.
$ac_ext
22501 LIBS
=$ac_check_lib_save_LIBS
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22504 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22505 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22511 if test "x$ZLIB_LINK" = "x" ; then
22512 if test "$wxUSE_ZLIB" = "sys" ; then
22513 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22516 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22527 if test "$wxUSE_LIBPNG" != "no" ; then
22528 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22531 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22533 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22534 wxUSE_LIBPNG
=builtin
22537 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22539 $as_echo_n "checking for png.h > 0.90... " >&6; }
22540 if ${ac_cv_header_png_h+:} false
; then :
22541 $as_echo_n "(cached) " >&6
22543 if test "$cross_compiling" = yes; then :
22544 unset ac_cv_header_png_h
22547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22548 /* end confdefs.h. */
22555 FILE *f=fopen("conftestval", "w");
22558 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22563 if ac_fn_c_try_run
"$LINENO"; then :
22564 ac_cv_header_png_h
=`cat conftestval`
22566 ac_cv_header_png_h
=no
22568 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22569 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22575 $as_echo "$ac_cv_header_png_h" >&6; }
22576 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22578 if test "x$ac_cv_header_png_h" = xyes
; then :
22584 if test "$ac_cv_header_png_h" = "yes"; then
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22586 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22587 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22588 $as_echo_n "(cached) " >&6
22590 ac_check_lib_save_LIBS
=$LIBS
22591 LIBS
="-lpng -lz -lm $LIBS"
22592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h. */
22595 /* Override any GCC internal prototype to avoid an error.
22596 Use char because int might match the return type of a GCC
22597 builtin and then its argument prototype would still apply. */
22601 char png_sig_cmp ();
22605 return png_sig_cmp ();
22610 if ac_fn_c_try_link
"$LINENO"; then :
22611 ac_cv_lib_png_png_sig_cmp
=yes
22613 ac_cv_lib_png_png_sig_cmp
=no
22615 rm -f core conftest.err conftest.
$ac_objext \
22616 conftest
$ac_exeext conftest.
$ac_ext
22617 LIBS
=$ac_check_lib_save_LIBS
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22620 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22621 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22622 PNG_LINK
=" -lpng -lz"
22627 if test "x$PNG_LINK" = "x" ; then
22628 if test "$wxUSE_LIBPNG" = "sys" ; then
22629 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22632 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22633 wxUSE_LIBPNG
=builtin
22643 if test "$wxUSE_LIBJPEG" != "no" ; then
22644 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22647 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22649 $as_echo_n "checking for jpeglib.h... " >&6; }
22650 if ${ac_cv_header_jpeglib_h+:} false
; then :
22651 $as_echo_n "(cached) " >&6
22653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22654 /* end confdefs.h. */
22656 #undef HAVE_STDLIB_H
22658 #include <jpeglib.h>
22669 if ac_fn_c_try_compile
"$LINENO"; then :
22670 ac_cv_header_jpeglib_h
=yes
22672 ac_cv_header_jpeglib_h
=no
22675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22680 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22682 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22684 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22685 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22686 $as_echo_n "(cached) " >&6
22688 ac_check_lib_save_LIBS
=$LIBS
22689 LIBS
="-ljpeg $LIBS"
22690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22691 /* end confdefs.h. */
22693 /* Override any GCC internal prototype to avoid an error.
22694 Use char because int might match the return type of a GCC
22695 builtin and then its argument prototype would still apply. */
22699 char jpeg_read_header ();
22703 return jpeg_read_header ();
22708 if ac_fn_c_try_link
"$LINENO"; then :
22709 ac_cv_lib_jpeg_jpeg_read_header
=yes
22711 ac_cv_lib_jpeg_jpeg_read_header
=no
22713 rm -f core conftest.err conftest.
$ac_objext \
22714 conftest
$ac_exeext conftest.
$ac_ext
22715 LIBS
=$ac_check_lib_save_LIBS
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22718 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22719 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22720 JPEG_LINK
=" -ljpeg"
22725 if test "x$JPEG_LINK" = "x" ; then
22726 if test "$wxUSE_LIBJPEG" = "sys" ; then
22727 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22730 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22731 wxUSE_LIBJPEG
=builtin
22736 if test "$wxUSE_MSW" = 1; then
22737 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22739 if test "x$ac_cv_type_boolean" = xyes
; then :
22741 cat >>confdefs.h
<<_ACEOF
22742 #define HAVE_BOOLEAN 1
22746 # The cast to long int works around a bug in the HP C Compiler
22747 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22748 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22749 # This bug is HP SR number 8606223364.
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22751 $as_echo_n "checking size of boolean... " >&6; }
22752 if ${ac_cv_sizeof_boolean+:} false
; then :
22753 $as_echo_n "(cached) " >&6
22755 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22756 #undef HAVE_BOOLEAN
22758 #include <jpeglib.h>
22763 if test "$ac_cv_type_boolean" = yes; then
22764 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22766 as_fn_error
77 "cannot compute sizeof (boolean)
22767 See \`config.log' for more details" "$LINENO" 5; }
22769 ac_cv_sizeof_boolean
=0
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22775 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22779 cat >>confdefs.h
<<_ACEOF
22780 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22784 cat >>confdefs.h
<<_ACEOF
22785 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22798 TIFF_PREREQ_LINKS
=-lm
22799 if test "$wxUSE_LIBTIFF" != "no" ; then
22800 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22803 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22804 if test "$wxUSE_LIBJPEG" = "sys"; then
22805 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22807 if test "$wxUSE_ZLIB" = "sys"; then
22808 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22810 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22813 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22816 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22817 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22818 $as_echo_n "(cached) " >&6
22820 ac_check_lib_save_LIBS
=$LIBS
22821 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22823 /* end confdefs.h. */
22825 /* Override any GCC internal prototype to avoid an error.
22826 Use char because int might match the return type of a GCC
22827 builtin and then its argument prototype would still apply. */
22835 return TIFFError ();
22840 if ac_fn_c_try_link
"$LINENO"; then :
22841 ac_cv_lib_tiff_TIFFError
=yes
22843 ac_cv_lib_tiff_TIFFError
=no
22845 rm -f core conftest.err conftest.
$ac_objext \
22846 conftest
$ac_exeext conftest.
$ac_ext
22847 LIBS
=$ac_check_lib_save_LIBS
22849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22850 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22851 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22852 TIFF_LINK
=" -ltiff"
22860 if test "x$TIFF_LINK" = "x" ; then
22861 if test "$wxUSE_LIBTIFF" = "sys" ; then
22862 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22865 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22866 wxUSE_LIBTIFF
=builtin
22872 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22873 if test "$wxUSE_LIBJPEG" = "no"; then
22874 ac_configure_args
="$ac_configure_args --disable-jpeg"
22877 if test "$wxUSE_LIBLZMA" = "yes"; then
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22879 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22880 if ${ac_cv_lib_lzma_lzma_code+:} false
; then :
22881 $as_echo_n "(cached) " >&6
22883 ac_check_lib_save_LIBS
=$LIBS
22884 LIBS
="-llzma $LIBS"
22885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22886 /* end confdefs.h. */
22888 /* Override any GCC internal prototype to avoid an error.
22889 Use char because int might match the return type of a GCC
22890 builtin and then its argument prototype would still apply. */
22898 return lzma_code ();
22903 if ac_fn_c_try_link
"$LINENO"; then :
22904 ac_cv_lib_lzma_lzma_code
=yes
22906 ac_cv_lib_lzma_lzma_code
=no
22908 rm -f core conftest.err conftest.
$ac_objext \
22909 conftest
$ac_exeext conftest.
$ac_ext
22910 LIBS
=$ac_check_lib_save_LIBS
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
22913 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
22914 if test "x$ac_cv_lib_lzma_lzma_code" = xyes
; then :
22915 LIBS
="$LIBS -llzma"
22919 ac_configure_args
="$ac_configure_args --disable-lzma"
22922 if test "$wxUSE_LIBJBIG" = "yes"; then
22923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
22924 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
22925 if ${ac_cv_lib_jbig_jbg_dec_init+:} false
; then :
22926 $as_echo_n "(cached) " >&6
22928 ac_check_lib_save_LIBS
=$LIBS
22929 LIBS
="-ljbig $LIBS"
22930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22931 /* end confdefs.h. */
22933 /* Override any GCC internal prototype to avoid an error.
22934 Use char because int might match the return type of a GCC
22935 builtin and then its argument prototype would still apply. */
22939 char jbg_dec_init ();
22943 return jbg_dec_init ();
22948 if ac_fn_c_try_link
"$LINENO"; then :
22949 ac_cv_lib_jbig_jbg_dec_init
=yes
22951 ac_cv_lib_jbig_jbg_dec_init
=no
22953 rm -f core conftest.err conftest.
$ac_objext \
22954 conftest
$ac_exeext conftest.
$ac_ext
22955 LIBS
=$ac_check_lib_save_LIBS
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
22958 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
22959 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes
; then :
22960 LIBS
="$LIBS -ljbig"
22964 ac_configure_args
="$ac_configure_args --disable-jbig"
22969 subdirs
="$subdirs src/tiff"
22975 if test "$wxUSE_EXPAT" != "no"; then
22977 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22979 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22982 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22983 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
22985 if test "x$ac_cv_header_expat_h" = xyes
; then :
22990 if test "x$found_expat_h" = "x1"; then
22991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22992 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22993 if ${wx_cv_expat_is_not_broken+:} false
; then :
22994 $as_echo_n "(cached) " >&6
22998 ac_cpp
='$CXXCPP $CPPFLAGS'
22999 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23000 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23001 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23004 /* end confdefs.h. */
23014 if ac_fn_cxx_try_compile
"$LINENO"; then :
23015 wx_cv_expat_is_not_broken
=yes
23017 wx_cv_expat_is_not_broken
=no
23020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23022 ac_cpp
='$CPP $CPPFLAGS'
23023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23031 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23032 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23034 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23035 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
23036 $as_echo_n "(cached) " >&6
23038 ac_check_lib_save_LIBS
=$LIBS
23039 LIBS
="-lexpat $LIBS"
23040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23041 /* end confdefs.h. */
23043 /* Override any GCC internal prototype to avoid an error.
23044 Use char because int might match the return type of a GCC
23045 builtin and then its argument prototype would still apply. */
23049 char XML_ParserCreate ();
23053 return XML_ParserCreate ();
23058 if ac_fn_c_try_link
"$LINENO"; then :
23059 ac_cv_lib_expat_XML_ParserCreate
=yes
23061 ac_cv_lib_expat_XML_ParserCreate
=no
23063 rm -f core conftest.err conftest.
$ac_objext \
23064 conftest
$ac_exeext conftest.
$ac_ext
23065 LIBS
=$ac_check_lib_save_LIBS
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23068 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23069 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
23070 EXPAT_LINK
=" -lexpat"
23075 if test "x$EXPAT_LINK" = "x" ; then
23076 if test "$wxUSE_EXPAT" = "sys" ; then
23077 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23080 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23081 wxUSE_EXPAT
=builtin
23087 if test "$wxUSE_EXPAT" = "builtin" ; then
23088 subdirs
="$subdirs src/expat"
23095 if test "$wxUSE_LIBMSPACK" != "no"; then
23096 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23098 if test "x$ac_cv_header_mspack_h" = xyes
; then :
23103 if test "x$found_mspack_h" = "x1"; then
23104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23105 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23106 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
23107 $as_echo_n "(cached) " >&6
23109 ac_check_lib_save_LIBS
=$LIBS
23110 LIBS
="-lmspack $LIBS"
23111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23112 /* end confdefs.h. */
23114 /* Override any GCC internal prototype to avoid an error.
23115 Use char because int might match the return type of a GCC
23116 builtin and then its argument prototype would still apply. */
23120 char mspack_create_chm_decompressor ();
23124 return mspack_create_chm_decompressor ();
23129 if ac_fn_c_try_link
"$LINENO"; then :
23130 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23132 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23134 rm -f core conftest.err conftest.
$ac_objext \
23135 conftest
$ac_exeext conftest.
$ac_ext
23136 LIBS
=$ac_check_lib_save_LIBS
23138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23139 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23140 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
23141 MSPACK_LINK
=" -lmspack"
23145 if test "x$MSPACK_LINK" = "x" ; then
23150 if test "$wxUSE_LIBMSPACK" != "no"; then
23151 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23161 if test "$USE_WIN32" = 1 ; then
23162 for ac_header
in w32api.h
23164 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23166 if test "x$ac_cv_header_w32api_h" = xyes
; then :
23167 cat >>confdefs.h
<<_ACEOF
23168 #define HAVE_W32API_H 1
23175 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
23177 if test "x$ac_cv_header_windows_h" = xyes
; then :
23181 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23187 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23189 x86_64
-*-mingw32* )
23192 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23193 LIBS
="$LIBS -loleacc"
23198 LIBS
="$LIBS -lkernel32 -luser32"
23201 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23204 if test "$wxUSE_GUI" = "yes"; then
23215 if test "$wxUSE_OLD_COCOA" = 1 ; then
23216 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23218 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23219 wxUSE_PRINTING_ARCHITECTURE
=no
23221 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23223 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23224 wxUSE_DRAG_AND_DROP
=no
23226 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23228 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23233 if test "$wxUSE_MSW" = 1 ; then
23239 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23243 if test "$wxUSE_GTK" = 1; then
23244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23245 $as_echo_n "checking for GTK+ version... " >&6; }
23247 gtk_version_cached
=1
23248 if ${wx_cv_lib_gtk+:} false
; then :
23249 $as_echo_n "(cached) " >&6
23252 gtk_version_cached
=0
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23257 if test "$wxUSE_THREADS" = "yes"; then
23258 GTK_MODULES
=gthread
23261 if test -z "$wxGTK_VERSION"; then
23266 if test "x$wxGTK_VERSION" != "x1"
23270 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23275 if test "$wxGTK_VERSION" != 3; then
23276 # Check whether --enable-gtktest was given.
23277 if test "${enable_gtktest+set}" = set; then :
23278 enableval
=$enable_gtktest;
23284 pkg_config_args
=gtk
+-2.0
23285 for module
in .
$GTK_MODULES
23289 pkg_config_args
="$pkg_config_args gthread-2.0"
23296 # Extract the first word of "pkg-config", so it can be a program name with args.
23297 set dummy pkg
-config; ac_word
=$2
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23299 $as_echo_n "checking for $ac_word... " >&6; }
23300 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23301 $as_echo_n "(cached) " >&6
23303 case $PKG_CONFIG in
23305 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23309 for as_dir
in $PATH
23312 test -z "$as_dir" && as_dir
=.
23313 for ac_exec_ext
in '' $ac_executable_extensions; do
23314 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23315 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23323 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23327 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23328 if test -n "$PKG_CONFIG"; then
23329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23330 $as_echo "$PKG_CONFIG" >&6; }
23332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23333 $as_echo "no" >&6; }
23338 if test x
$PKG_CONFIG != xno
; then
23339 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23342 echo "*** pkg-config too old; version 0.7 or better required."
23350 min_gtk_version
=2.6.0
23351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23352 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23354 if test x
$PKG_CONFIG != xno
; then
23355 ## don't try to run the test against uninstalled libtool libs
23356 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23357 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23361 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23368 if test x
"$no_gtk" = x
; then
23369 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23370 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23371 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23373 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23375 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23377 if test "x$enable_gtktest" = "xyes" ; then
23378 ac_save_CFLAGS
="$CFLAGS"
23379 ac_save_LIBS
="$LIBS"
23380 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23381 LIBS
="$GTK_LIBS $LIBS"
23383 if test "$cross_compiling" = yes; then :
23384 echo $ac_n "cross compiling; assumed OK... $ac_c"
23386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23387 /* end confdefs.h. */
23389 #include <gtk/gtk.h>
23391 #include <stdlib.h>
23396 int major, minor, micro;
23399 system ("touch conf.gtktest");
23401 /* HP/UX 9 (%@#!) writes to sscanf strings */
23402 tmp_version = g_strdup("$min_gtk_version");
23403 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23404 printf("%s, bad version string\n", "$min_gtk_version");
23408 if ((gtk_major_version != $gtk_config_major_version) ||
23409 (gtk_minor_version != $gtk_config_minor_version) ||
23410 (gtk_micro_version != $gtk_config_micro_version))
23412 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23413 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23414 gtk_major_version, gtk_minor_version, gtk_micro_version);
23415 printf ("*** was found! If pkg-config was correct, then it is best\n");
23416 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23417 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23418 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23419 printf("*** required on your system.\n");
23420 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23421 printf("*** to point to the correct configuration files\n");
23423 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23424 (gtk_minor_version != GTK_MINOR_VERSION) ||
23425 (gtk_micro_version != GTK_MICRO_VERSION))
23427 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23428 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23429 printf("*** library (version %d.%d.%d)\n",
23430 gtk_major_version, gtk_minor_version, gtk_micro_version);
23434 if ((gtk_major_version > major) ||
23435 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23436 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23442 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23443 gtk_major_version, gtk_minor_version, gtk_micro_version);
23444 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23445 major, minor, micro);
23446 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23448 printf("*** If you have already installed a sufficiently new version, this error\n");
23449 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23450 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23451 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23452 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23453 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23454 printf("*** so that the correct libraries are found at run-time))\n");
23461 if ac_fn_c_try_run
"$LINENO"; then :
23466 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23467 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23470 CFLAGS
="$ac_save_CFLAGS"
23471 LIBS
="$ac_save_LIBS"
23474 if test "x$no_gtk" = x
; then
23475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23476 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23480 $as_echo "no" >&6; }
23481 if test "$PKG_CONFIG" = "no" ; then
23482 echo "*** A new enough version of pkg-config was not found."
23483 echo "*** See http://pkgconfig.sourceforge.net"
23485 if test -f conf.gtktest
; then
23488 echo "*** Could not run GTK+ test program, checking why..."
23489 ac_save_CFLAGS
="$CFLAGS"
23490 ac_save_LIBS
="$LIBS"
23491 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23492 LIBS
="$LIBS $GTK_LIBS"
23493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23494 /* end confdefs.h. */
23496 #include <gtk/gtk.h>
23502 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23507 if ac_fn_c_try_link
"$LINENO"; then :
23508 echo "*** The test program compiled, but did not run. This usually means"
23509 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23510 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23511 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23512 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23513 echo "*** is required on your system"
23515 echo "*** If you have an old version installed, it is best to remove it, although"
23516 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23518 echo "*** The test program failed to compile or link. See the file config.log for the"
23519 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23521 rm -f core conftest.err conftest.
$ac_objext \
23522 conftest
$ac_exeext conftest.
$ac_ext
23523 CFLAGS
="$ac_save_CFLAGS"
23524 LIBS
="$ac_save_LIBS"
23536 if test -z "$wx_cv_lib_gtk"; then
23537 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23538 # Check whether --enable-gtktest was given.
23539 if test "${enable_gtktest+set}" = set; then :
23540 enableval
=$enable_gtktest;
23546 pkg_gtk_version
=gtk
+-3.0
23547 pkg_config_args
=$pkg_gtk_version
23548 for module
in .
$GTK_MODULES
23552 pkg_gthread_version
=gthread
-2.0
23553 pkg_config_args
="$pkg_config_args $pkg_gthread_version"
23560 # Extract the first word of "pkg-config", so it can be a program name with args.
23561 set dummy pkg
-config; ac_word
=$2
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23563 $as_echo_n "checking for $ac_word... " >&6; }
23564 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23565 $as_echo_n "(cached) " >&6
23567 case $PKG_CONFIG in
23569 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23573 for as_dir
in $PATH
23576 test -z "$as_dir" && as_dir
=.
23577 for ac_exec_ext
in '' $ac_executable_extensions; do
23578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23579 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23587 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23591 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23592 if test -n "$PKG_CONFIG"; then
23593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23594 $as_echo "$PKG_CONFIG" >&6; }
23596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23597 $as_echo "no" >&6; }
23602 if test x
$PKG_CONFIG != xno
; then
23603 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23606 echo "*** pkg-config too old; version 0.7 or better required."
23614 min_gtk_version
=3.0.0
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23616 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23618 if test x
$PKG_CONFIG != xno
; then
23619 ## don't try to run the test against uninstalled libtool libs
23620 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23621 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23624 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
23631 if test x
"$no_gtk" = x
; then
23632 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23633 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23634 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23635 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23636 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23638 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23640 if test "x$enable_gtktest" = "xyes" ; then
23641 ac_save_CFLAGS
="$CFLAGS"
23642 ac_save_LIBS
="$LIBS"
23643 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23644 LIBS
="$GTK_LIBS $LIBS"
23646 if test "$cross_compiling" = yes; then :
23647 echo $ac_n "cross compiling; assumed OK... $ac_c"
23649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23650 /* end confdefs.h. */
23652 #include <gtk/gtk.h>
23654 #include <stdlib.h>
23659 int major, minor, micro;
23662 fclose (fopen ("conf.gtktest", "w"));
23664 /* HP/UX 9 (%@#!) writes to sscanf strings */
23665 tmp_version = g_strdup("$min_gtk_version");
23666 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23667 printf("%s, bad version string\n", "$min_gtk_version");
23671 if ((gtk_major_version != $gtk_config_major_version) ||
23672 (gtk_minor_version != $gtk_config_minor_version) ||
23673 (gtk_micro_version != $gtk_config_micro_version))
23675 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23676 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23677 gtk_major_version, gtk_minor_version, gtk_micro_version);
23678 printf ("*** was found! If pkg-config was correct, then it is best\n");
23679 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23680 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23681 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23682 printf("*** required on your system.\n");
23683 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23684 printf("*** to point to the correct configuration files\n");
23686 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23687 (gtk_minor_version != GTK_MINOR_VERSION) ||
23688 (gtk_micro_version != GTK_MICRO_VERSION))
23690 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23691 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23692 printf("*** library (version %d.%d.%d)\n",
23693 gtk_major_version, gtk_minor_version, gtk_micro_version);
23697 if ((gtk_major_version > major) ||
23698 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23699 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23705 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23706 gtk_major_version, gtk_minor_version, gtk_micro_version);
23707 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23708 major, minor, micro);
23709 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23711 printf("*** If you have already installed a sufficiently new version, this error\n");
23712 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23713 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23714 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23715 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23716 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23717 printf("*** so that the correct libraries are found at run-time))\n");
23724 if ac_fn_c_try_run
"$LINENO"; then :
23729 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23730 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23733 CFLAGS
="$ac_save_CFLAGS"
23734 LIBS
="$ac_save_LIBS"
23737 if test "x$no_gtk" = x
; then
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23739 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23743 $as_echo "no" >&6; }
23744 if test "$PKG_CONFIG" = "no" ; then
23745 echo "*** A new enough version of pkg-config was not found."
23746 echo "*** See http://pkgconfig.sourceforge.net"
23748 if test -f conf.gtktest
; then
23751 echo "*** Could not run GTK+ test program, checking why..."
23752 ac_save_CFLAGS
="$CFLAGS"
23753 ac_save_LIBS
="$LIBS"
23754 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23755 LIBS
="$LIBS $GTK_LIBS"
23756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23757 /* end confdefs.h. */
23759 #include <gtk/gtk.h>
23765 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23770 if ac_fn_c_try_link
"$LINENO"; then :
23771 echo "*** The test program compiled, but did not run. This usually means"
23772 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23773 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23774 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23775 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23776 echo "*** is required on your system"
23778 echo "*** If you have an old version installed, it is best to remove it, although"
23779 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23781 echo "*** The test program failed to compile or link. See the file config.log for the"
23782 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23784 rm -f core conftest.err conftest.
$ac_objext \
23785 conftest
$ac_exeext conftest.
$ac_ext
23786 CFLAGS
="$ac_save_CFLAGS"
23787 LIBS
="$ac_save_LIBS"
23802 if test -z "$wx_cv_lib_gtk"; then
23803 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23805 # Check whether --with-gtk-prefix was given.
23806 if test "${with_gtk_prefix+set}" = set; then :
23807 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23809 gtk_config_prefix
=""
23813 # Check whether --with-gtk-exec-prefix was given.
23814 if test "${with_gtk_exec_prefix+set}" = set; then :
23815 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23817 gtk_config_exec_prefix
=""
23820 # Check whether --enable-gtktest was given.
23821 if test "${enable_gtktest+set}" = set; then :
23822 enableval
=$enable_gtktest;
23828 for module
in .
$GTK_MODULES
23832 gtk_config_args
="$gtk_config_args gthread"
23837 if test x
$gtk_config_exec_prefix != x
; then
23838 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23839 if test x
${GTK_CONFIG+set} != xset
; then
23840 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23843 if test x
$gtk_config_prefix != x
; then
23844 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23845 if test x
${GTK_CONFIG+set} != xset
; then
23846 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23850 # Extract the first word of "gtk-config", so it can be a program name with args.
23851 set dummy gtk
-config; ac_word
=$2
23852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23853 $as_echo_n "checking for $ac_word... " >&6; }
23854 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23855 $as_echo_n "(cached) " >&6
23857 case $GTK_CONFIG in
23859 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23863 for as_dir
in $PATH
23866 test -z "$as_dir" && as_dir
=.
23867 for ac_exec_ext
in '' $ac_executable_extensions; do
23868 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23869 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23877 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23881 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23882 if test -n "$GTK_CONFIG"; then
23883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23884 $as_echo "$GTK_CONFIG" >&6; }
23886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23887 $as_echo "no" >&6; }
23891 min_gtk_version
=1.2.7
23892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23893 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23895 if test "$GTK_CONFIG" = "no" ; then
23898 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23899 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23900 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23902 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23903 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23904 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23905 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23906 if test "x$enable_gtktest" = "xyes" ; then
23907 ac_save_CFLAGS
="$CFLAGS"
23908 ac_save_LIBS
="$LIBS"
23909 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23910 LIBS
="$GTK_LIBS $LIBS"
23912 if test "$cross_compiling" = yes; then :
23913 echo $ac_n "cross compiling; assumed OK... $ac_c"
23915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23918 #include <gtk/gtk.h>
23920 #include <stdlib.h>
23925 int major, minor, micro;
23928 system ("touch conf.gtktest");
23930 /* HP/UX 9 (%@#!) writes to sscanf strings */
23931 tmp_version = g_strdup("$min_gtk_version");
23932 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23933 printf("%s, bad version string\n", "$min_gtk_version");
23937 if ((gtk_major_version != $gtk_config_major_version) ||
23938 (gtk_minor_version != $gtk_config_minor_version) ||
23939 (gtk_micro_version != $gtk_config_micro_version))
23941 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23942 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23943 gtk_major_version, gtk_minor_version, gtk_micro_version);
23944 printf ("*** was found! If gtk-config was correct, then it is best\n");
23945 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23946 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23947 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23948 printf("*** required on your system.\n");
23949 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23950 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23951 printf("*** before re-running configure\n");
23953 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23954 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23955 (gtk_minor_version != GTK_MINOR_VERSION) ||
23956 (gtk_micro_version != GTK_MICRO_VERSION))
23958 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23959 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23960 printf("*** library (version %d.%d.%d)\n",
23961 gtk_major_version, gtk_minor_version, gtk_micro_version);
23963 #endif /* defined (GTK_MAJOR_VERSION) ... */
23966 if ((gtk_major_version > major) ||
23967 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23968 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23974 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23975 gtk_major_version, gtk_minor_version, gtk_micro_version);
23976 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23977 major, minor, micro);
23978 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23980 printf("*** If you have already installed a sufficiently new version, this error\n");
23981 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23982 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23983 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23984 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23985 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23986 printf("*** so that the correct libraries are found at run-time))\n");
23993 if ac_fn_c_try_run
"$LINENO"; then :
23998 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23999 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24002 CFLAGS
="$ac_save_CFLAGS"
24003 LIBS
="$ac_save_LIBS"
24006 if test "x$no_gtk" = x
; then
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24008 $as_echo "yes" >&6; }
24009 wx_cv_lib_gtk
=1.2.7
24011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24012 $as_echo "no" >&6; }
24013 if test "$GTK_CONFIG" = "no" ; then
24014 echo "*** The gtk-config script installed by GTK could not be found"
24015 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24016 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24017 echo "*** full path to gtk-config."
24019 if test -f conf.gtktest
; then
24022 echo "*** Could not run GTK test program, checking why..."
24023 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24024 LIBS
="$LIBS $GTK_LIBS"
24025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24026 /* end confdefs.h. */
24028 #include <gtk/gtk.h>
24034 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24039 if ac_fn_c_try_link
"$LINENO"; then :
24040 echo "*** The test program compiled, but did not run. This usually means"
24041 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24042 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24043 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24044 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24045 echo "*** is required on your system"
24047 echo "*** If you have an old version installed, it is best to remove it, although"
24048 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24050 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24051 echo "*** came with the system with the command"
24053 echo "*** rpm --erase --nodeps gtk gtk-devel"
24055 echo "*** The test program failed to compile or link. See the file config.log for the"
24056 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24057 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24058 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24060 rm -f core conftest.err conftest.
$ac_objext \
24061 conftest
$ac_exeext conftest.
$ac_ext
24062 CFLAGS
="$ac_save_CFLAGS"
24063 LIBS
="$ac_save_LIBS"
24075 if test -z "$wx_cv_lib_gtk"; then
24077 # Check whether --with-gtk-prefix was given.
24078 if test "${with_gtk_prefix+set}" = set; then :
24079 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
24081 gtk_config_prefix
=""
24085 # Check whether --with-gtk-exec-prefix was given.
24086 if test "${with_gtk_exec_prefix+set}" = set; then :
24087 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
24089 gtk_config_exec_prefix
=""
24092 # Check whether --enable-gtktest was given.
24093 if test "${enable_gtktest+set}" = set; then :
24094 enableval
=$enable_gtktest;
24100 for module
in .
$GTK_MODULES
24104 gtk_config_args
="$gtk_config_args gthread"
24109 if test x
$gtk_config_exec_prefix != x
; then
24110 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24111 if test x
${GTK_CONFIG+set} != xset
; then
24112 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24115 if test x
$gtk_config_prefix != x
; then
24116 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24117 if test x
${GTK_CONFIG+set} != xset
; then
24118 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24122 # Extract the first word of "gtk-config", so it can be a program name with args.
24123 set dummy gtk
-config; ac_word
=$2
24124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24125 $as_echo_n "checking for $ac_word... " >&6; }
24126 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
24127 $as_echo_n "(cached) " >&6
24129 case $GTK_CONFIG in
24131 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24135 for as_dir
in $PATH
24138 test -z "$as_dir" && as_dir
=.
24139 for ac_exec_ext
in '' $ac_executable_extensions; do
24140 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24141 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24149 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24153 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24154 if test -n "$GTK_CONFIG"; then
24155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24156 $as_echo "$GTK_CONFIG" >&6; }
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24159 $as_echo "no" >&6; }
24163 min_gtk_version
=1.2.3
24164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24165 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24167 if test "$GTK_CONFIG" = "no" ; then
24170 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24171 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24172 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24174 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24175 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24176 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24177 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24178 if test "x$enable_gtktest" = "xyes" ; then
24179 ac_save_CFLAGS
="$CFLAGS"
24180 ac_save_LIBS
="$LIBS"
24181 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24182 LIBS
="$GTK_LIBS $LIBS"
24184 if test "$cross_compiling" = yes; then :
24185 echo $ac_n "cross compiling; assumed OK... $ac_c"
24187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24188 /* end confdefs.h. */
24190 #include <gtk/gtk.h>
24192 #include <stdlib.h>
24197 int major, minor, micro;
24200 system ("touch conf.gtktest");
24202 /* HP/UX 9 (%@#!) writes to sscanf strings */
24203 tmp_version = g_strdup("$min_gtk_version");
24204 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24205 printf("%s, bad version string\n", "$min_gtk_version");
24209 if ((gtk_major_version != $gtk_config_major_version) ||
24210 (gtk_minor_version != $gtk_config_minor_version) ||
24211 (gtk_micro_version != $gtk_config_micro_version))
24213 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24214 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24215 gtk_major_version, gtk_minor_version, gtk_micro_version);
24216 printf ("*** was found! If gtk-config was correct, then it is best\n");
24217 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24218 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24219 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24220 printf("*** required on your system.\n");
24221 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24222 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24223 printf("*** before re-running configure\n");
24225 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24226 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24227 (gtk_minor_version != GTK_MINOR_VERSION) ||
24228 (gtk_micro_version != GTK_MICRO_VERSION))
24230 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24231 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24232 printf("*** library (version %d.%d.%d)\n",
24233 gtk_major_version, gtk_minor_version, gtk_micro_version);
24235 #endif /* defined (GTK_MAJOR_VERSION) ... */
24238 if ((gtk_major_version > major) ||
24239 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24240 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24246 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24247 gtk_major_version, gtk_minor_version, gtk_micro_version);
24248 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24249 major, minor, micro);
24250 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24252 printf("*** If you have already installed a sufficiently new version, this error\n");
24253 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24254 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24255 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24256 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24257 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24258 printf("*** so that the correct libraries are found at run-time))\n");
24265 if ac_fn_c_try_run
"$LINENO"; then :
24270 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24271 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24274 CFLAGS
="$ac_save_CFLAGS"
24275 LIBS
="$ac_save_LIBS"
24278 if test "x$no_gtk" = x
; then
24279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24280 $as_echo "yes" >&6; }
24281 wx_cv_lib_gtk
=1.2.3
24283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24284 $as_echo "no" >&6; }
24285 if test "$GTK_CONFIG" = "no" ; then
24286 echo "*** The gtk-config script installed by GTK could not be found"
24287 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24288 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24289 echo "*** full path to gtk-config."
24291 if test -f conf.gtktest
; then
24294 echo "*** Could not run GTK test program, checking why..."
24295 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24296 LIBS
="$LIBS $GTK_LIBS"
24297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24298 /* end confdefs.h. */
24300 #include <gtk/gtk.h>
24306 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24311 if ac_fn_c_try_link
"$LINENO"; then :
24312 echo "*** The test program compiled, but did not run. This usually means"
24313 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24314 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24315 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24316 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24317 echo "*** is required on your system"
24319 echo "*** If you have an old version installed, it is best to remove it, although"
24320 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24322 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24323 echo "*** came with the system with the command"
24325 echo "*** rpm --erase --nodeps gtk gtk-devel"
24327 echo "*** The test program failed to compile or link. See the file config.log for the"
24328 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24329 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24330 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24332 rm -f core conftest.err conftest.
$ac_objext \
24333 conftest
$ac_exeext conftest.
$ac_ext
24334 CFLAGS
="$ac_save_CFLAGS"
24335 LIBS
="$ac_save_LIBS"
24350 if test -z "$wx_cv_lib_gtk"; then
24353 GTK_LIBS
="$GTK_LIBS -lX11"
24355 wx_cv_cflags_gtk
=$GTK_CFLAGS
24356 wx_cv_libs_gtk
=$GTK_LIBS
24363 if test "$gtk_version_cached" = 1; then
24364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24365 $as_echo "$wx_cv_lib_gtk" >&6; }
24368 case "$wx_cv_lib_gtk" in
24379 *) as_fn_error $?
"
24380 The development files for GTK+ were not found. For GTK+ 2, please
24381 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24382 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24383 and that the version is 1.2.3 or above. Also check that the
24384 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24385 --libs' are in the LD_LIBRARY_PATH or equivalent.
24390 if test "$WXGTK3" = 1; then
24391 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24393 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24395 elif test "$WXGTK2" = 1; then
24396 save_CFLAGS
="$CFLAGS"
24398 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24399 LIBS
="$LIBS $wx_cv_libs_gtk"
24401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24402 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24404 /* end confdefs.h. */
24406 #include <gtk/gtk.h>
24412 #if !GTK_CHECK_VERSION(2,18,0)
24420 if ac_fn_c_try_compile
"$LINENO"; then :
24422 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24424 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24427 $as_echo "yes" >&6; }
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24433 $as_echo "no" >&6; }
24437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24439 if test "$ac_wxgtk218" = 0; then
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24441 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24443 /* end confdefs.h. */
24445 #include <gtk/gtk.h>
24451 #if !GTK_CHECK_VERSION(2,10,0)
24459 if ac_fn_c_try_compile
"$LINENO"; then :
24461 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24464 $as_echo "yes" >&6; }
24469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24470 $as_echo "no" >&6; }
24474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24477 CFLAGS
="$save_CFLAGS"
24480 if test "$wxUSE_UNICODE" = "yes"; then
24481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24482 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24487 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24488 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24489 $as_echo_n "(cached) " >&6
24491 ac_check_lib_save_LIBS
=$LIBS
24493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24494 /* end confdefs.h. */
24496 /* Override any GCC internal prototype to avoid an error.
24497 Use char because int might match the return type of a GCC
24498 builtin and then its argument prototype would still apply. */
24502 char gdk_im_open ();
24506 return gdk_im_open ();
24511 if ac_fn_c_try_link
"$LINENO"; then :
24512 ac_cv_lib_gdk_gdk_im_open
=yes
24514 ac_cv_lib_gdk_gdk_im_open
=no
24516 rm -f core conftest.err conftest.
$ac_objext \
24517 conftest
$ac_exeext conftest.
$ac_ext
24518 LIBS
=$ac_check_lib_save_LIBS
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24521 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24522 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24523 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24528 if test "$USE_DARWIN" != 1; then
24529 for ac_func
in poll
24531 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24532 if test "x$ac_cv_func_poll" = xyes
; then :
24533 cat >>confdefs.h
<<_ACEOF
24534 #define HAVE_POLL 1
24543 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24544 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24548 if test "$wxUSE_GPE" = "yes"; then
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24550 $as_echo_n "checking for gpewidget library... " >&6; }
24553 for ac_dir
in $SEARCH_LIB
24555 for ac_extension
in a so sl dylib dll.a
; do
24556 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24557 ac_find_libraries
=$ac_dir
24563 if test "$ac_find_libraries" != "" ; then
24565 if test "$ac_find_libraries" = "default location"; then
24568 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24570 if test $result = 0; then
24573 ac_path_to_link
=" -L$ac_find_libraries"
24577 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24580 $as_echo "found in $ac_find_libraries" >&6; }
24582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24583 $as_echo "not found" >&6; }
24589 if test "$wxUSE_DFB" = 1; then
24592 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24593 if test -n "$ac_tool_prefix"; then
24594 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24595 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24597 $as_echo_n "checking for $ac_word... " >&6; }
24598 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24599 $as_echo_n "(cached) " >&6
24601 case $PKG_CONFIG in
24603 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24607 for as_dir
in $PATH
24610 test -z "$as_dir" && as_dir
=.
24611 for ac_exec_ext
in '' $ac_executable_extensions; do
24612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24613 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24624 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24625 if test -n "$PKG_CONFIG"; then
24626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24627 $as_echo "$PKG_CONFIG" >&6; }
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24630 $as_echo "no" >&6; }
24635 if test -z "$ac_cv_path_PKG_CONFIG"; then
24636 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24637 # Extract the first word of "pkg-config", so it can be a program name with args.
24638 set dummy pkg
-config; ac_word
=$2
24639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24640 $as_echo_n "checking for $ac_word... " >&6; }
24641 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24642 $as_echo_n "(cached) " >&6
24644 case $ac_pt_PKG_CONFIG in
24646 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24650 for as_dir
in $PATH
24653 test -z "$as_dir" && as_dir
=.
24654 for ac_exec_ext
in '' $ac_executable_extensions; do
24655 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24656 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24667 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24668 if test -n "$ac_pt_PKG_CONFIG"; then
24669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24670 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24673 $as_echo "no" >&6; }
24676 if test "x$ac_pt_PKG_CONFIG" = x
; then
24679 case $cross_compiling:$ac_tool_warned in
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24683 ac_tool_warned
=yes ;;
24685 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24688 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24692 if test -n "$PKG_CONFIG"; then
24693 _pkg_min_version
=0.9.0
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24695 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24696 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24698 $as_echo "yes" >&6; }
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24701 $as_echo "no" >&6; }
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24710 $as_echo_n "checking for DIRECTFB... " >&6; }
24712 if test -n "$PKG_CONFIG"; then
24713 if test -n "$DIRECTFB_CFLAGS"; then
24714 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24716 if test -n "$PKG_CONFIG" && \
24717 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24718 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24721 test $ac_status = 0; }; then
24722 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24730 if test -n "$PKG_CONFIG"; then
24731 if test -n "$DIRECTFB_LIBS"; then
24732 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24734 if test -n "$PKG_CONFIG" && \
24735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24736 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24739 test $ac_status = 0; }; then
24740 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24751 if test $pkg_failed = yes; then
24753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24754 _pkg_short_errors_supported
=yes
24756 _pkg_short_errors_supported
=no
24758 if test $_pkg_short_errors_supported = yes; then
24759 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24761 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24763 # Put the nasty error message in config.log where it belongs
24764 echo "$DIRECTFB_PKG_ERRORS" >&5
24767 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24770 elif test $pkg_failed = untried
; then
24772 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24776 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24777 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24779 $as_echo "yes" >&6; }
24781 wxUSE_UNIVERSAL
="yes"
24782 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24783 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24790 if test "$wxUSE_MICROWIN" = 1; then
24791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24792 $as_echo_n "checking for MicroWindows... " >&6; }
24793 if test "x$MICROWINDOWS" = x
; then
24794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24795 $as_echo "not found" >&6; }
24796 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24799 $as_echo "$MICROWINDOWS" >&6; }
24802 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24804 $as_echo "MicroWindows' libraries found." >&6; }
24806 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24809 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24810 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24812 wxUSE_UNIVERSAL
="yes"
24815 GUIDIST
=MICROWIN_DIST
24817 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24820 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24822 $as_echo_n "checking for X... " >&6; }
24825 # Check whether --with-x was given.
24826 if test "${with_x+set}" = set; then :
24830 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24831 if test "x$with_x" = xno
; then
24832 # The user explicitly disabled X.
24835 case $x_includes,$x_libraries in #(
24836 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24837 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24838 $as_echo_n "(cached) " >&6
24840 # One or both of the vars are not set, and there is no cached value.
24841 ac_x_includes
=no ac_x_libraries
=no
24842 rm -f -r conftest.dir
24843 if mkdir conftest.dir
; then
24845 cat >Imakefile
<<'_ACEOF'
24847 @echo incroot='${INCROOT}'
24849 @echo usrlibdir='${USRLIBDIR}'
24851 @echo libdir='${LIBDIR}'
24853 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24854 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24855 for ac_var
in incroot usrlibdir libdir
; do
24856 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24858 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24859 for ac_extension
in a so sl dylib la dll
; do
24860 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24861 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24862 ac_im_usrlibdir
=$ac_im_libdir; break
24865 # Screen out bogus values from the imake configuration. They are
24866 # bogus both because they are the default anyway, and because
24867 # using them would break gcc on systems where it needs fixed includes.
24868 case $ac_im_incroot in
24869 /usr
/include
) ac_x_includes
= ;;
24870 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24872 case $ac_im_usrlibdir in
24873 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24874 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24878 rm -f -r conftest.dir
24881 # Standard set of common directories for X headers.
24882 # Check X11 before X11Rn because it is often a symlink to the current release.
24896 /usr/local/X11/include
24897 /usr/local/X11R7/include
24898 /usr/local/X11R6/include
24899 /usr/local/X11R5/include
24900 /usr/local/X11R4/include
24902 /usr/local/include/X11
24903 /usr/local/include/X11R7
24904 /usr/local/include/X11R6
24905 /usr/local/include/X11R5
24906 /usr/local/include/X11R4
24910 /usr/XFree86/include/X11
24914 /usr/unsupported/include
24915 /usr/athena/include
24916 /usr/local/x11r5/include
24917 /usr/lpp/Xamples/include
24919 /usr/openwin/include
24920 /usr/openwin/share/include'
24922 if test "$ac_x_includes" = no
; then
24923 # Guess where to find include files, by looking for Xlib.h.
24924 # First, try using that file with no special directory specified.
24925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24926 /* end confdefs.h. */
24927 #include <X11/Xlib.h>
24929 if ac_fn_c_try_cpp
"$LINENO"; then :
24930 # We can compile using X headers with no special include directory.
24933 for ac_dir
in $ac_x_header_dirs; do
24934 if test -r "$ac_dir/X11/Xlib.h"; then
24935 ac_x_includes
=$ac_dir
24940 rm -f conftest.err conftest.i conftest.
$ac_ext
24941 fi # $ac_x_includes = no
24943 if test "$ac_x_libraries" = no
; then
24944 # Check for the libraries.
24945 # See if we find them without any special options.
24946 # Don't add to $LIBS permanently.
24949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24950 /* end confdefs.h. */
24951 #include <X11/Xlib.h>
24960 if ac_fn_c_try_link
"$LINENO"; then :
24962 # We can link X programs with no special library path.
24966 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24968 # Don't even attempt the hair of trying to link an X program!
24969 for ac_extension
in a so sl dylib la dll
; do
24970 if test -r "$ac_dir/libX11.$ac_extension"; then
24971 ac_x_libraries
=$ac_dir
24977 rm -f core conftest.err conftest.
$ac_objext \
24978 conftest
$ac_exeext conftest.
$ac_ext
24979 fi # $ac_x_libraries = no
24981 case $ac_x_includes,$ac_x_libraries in #(
24982 no
,* | *,no
| *\'*)
24983 # Didn't find X, or a directory has "'" in its name.
24984 ac_cv_have_x
="have_x=no";; #(
24986 # Record where we found X for the cache.
24987 ac_cv_have_x
="have_x=yes\
24988 ac_x_includes='$ac_x_includes'\
24989 ac_x_libraries='$ac_x_libraries'"
24995 eval "$ac_cv_have_x"
24998 if test "$have_x" != yes; then
24999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25000 $as_echo "$have_x" >&6; }
25003 # If each of the values was on the command line, it overrides each guess.
25004 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25005 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25006 # Update the cache value to reflect the command line values.
25007 ac_cv_have_x
="have_x=yes\
25008 ac_x_includes='$x_includes'\
25009 ac_x_libraries='$x_libraries'"
25010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25011 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25014 if test "$no_x" = yes; then
25015 # Not all programs may use this symbol, but it does not hurt to define it.
25017 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25019 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25021 if test -n "$x_includes"; then
25022 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25025 # It would also be nice to do this for all -L options, not just this one.
25026 if test -n "$x_libraries"; then
25027 X_LIBS
="$X_LIBS -L$x_libraries"
25028 # For Solaris; some versions of Sun CC require a space after -R and
25029 # others require no space. Words are not sufficient . . . .
25030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25031 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25032 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25033 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25034 ac_c_werror_flag
=yes
25035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25036 /* end confdefs.h. */
25046 if ac_fn_c_try_link
"$LINENO"; then :
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25048 $as_echo "no" >&6; }
25049 X_LIBS
="$X_LIBS -R$x_libraries"
25051 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25053 /* end confdefs.h. */
25063 if ac_fn_c_try_link
"$LINENO"; then :
25064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25065 $as_echo "yes" >&6; }
25066 X_LIBS
="$X_LIBS -R $x_libraries"
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25069 $as_echo "neither works" >&6; }
25071 rm -f core conftest.err conftest.
$ac_objext \
25072 conftest
$ac_exeext conftest.
$ac_ext
25074 rm -f core conftest.err conftest.
$ac_objext \
25075 conftest
$ac_exeext conftest.
$ac_ext
25076 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25077 LIBS
=$ac_xsave_LIBS
25080 # Check for system-dependent libraries X programs must link with.
25081 # Do this before checking for the system-independent R6 libraries
25082 # (-lICE), since we may need -lsocket or whatever for X linking.
25084 if test "$ISC" = yes; then
25085 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25087 # Martyn Johnson says this is needed for Ultrix, if the X
25088 # libraries were built with DECnet support. And Karl Berry says
25089 # the Alpha needs dnet_stub (dnet does not exist).
25090 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25092 /* end confdefs.h. */
25094 /* Override any GCC internal prototype to avoid an error.
25095 Use char because int might match the return type of a GCC
25096 builtin and then its argument prototype would still apply. */
25100 char XOpenDisplay ();
25104 return XOpenDisplay ();
25109 if ac_fn_c_try_link
"$LINENO"; then :
25112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25113 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25114 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
25115 $as_echo_n "(cached) " >&6
25117 ac_check_lib_save_LIBS
=$LIBS
25118 LIBS
="-ldnet $LIBS"
25119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25120 /* end confdefs.h. */
25122 /* Override any GCC internal prototype to avoid an error.
25123 Use char because int might match the return type of a GCC
25124 builtin and then its argument prototype would still apply. */
25132 return dnet_ntoa ();
25137 if ac_fn_c_try_link
"$LINENO"; then :
25138 ac_cv_lib_dnet_dnet_ntoa
=yes
25140 ac_cv_lib_dnet_dnet_ntoa
=no
25142 rm -f core conftest.err conftest.
$ac_objext \
25143 conftest
$ac_exeext conftest.
$ac_ext
25144 LIBS
=$ac_check_lib_save_LIBS
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25147 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25148 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
25149 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25152 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25154 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25155 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
25156 $as_echo_n "(cached) " >&6
25158 ac_check_lib_save_LIBS
=$LIBS
25159 LIBS
="-ldnet_stub $LIBS"
25160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25161 /* end confdefs.h. */
25163 /* Override any GCC internal prototype to avoid an error.
25164 Use char because int might match the return type of a GCC
25165 builtin and then its argument prototype would still apply. */
25173 return dnet_ntoa ();
25178 if ac_fn_c_try_link
"$LINENO"; then :
25179 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25181 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25183 rm -f core conftest.err conftest.
$ac_objext \
25184 conftest
$ac_exeext conftest.
$ac_ext
25185 LIBS
=$ac_check_lib_save_LIBS
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25188 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25189 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
25190 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25195 rm -f core conftest.err conftest.
$ac_objext \
25196 conftest
$ac_exeext conftest.
$ac_ext
25197 LIBS
="$ac_xsave_LIBS"
25199 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25200 # to get the SysV transport functions.
25201 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25203 # The nsl library prevents programs from opening the X display
25204 # on Irix 5.2, according to T.E. Dickey.
25205 # The functions gethostbyname, getservbyname, and inet_addr are
25206 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25207 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25208 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25212 if test $ac_cv_func_gethostbyname = no
; then
25213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25214 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25215 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25216 $as_echo_n "(cached) " >&6
25218 ac_check_lib_save_LIBS
=$LIBS
25220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25221 /* end confdefs.h. */
25223 /* Override any GCC internal prototype to avoid an error.
25224 Use char because int might match the return type of a GCC
25225 builtin and then its argument prototype would still apply. */
25229 char gethostbyname ();
25233 return gethostbyname ();
25238 if ac_fn_c_try_link
"$LINENO"; then :
25239 ac_cv_lib_nsl_gethostbyname
=yes
25241 ac_cv_lib_nsl_gethostbyname
=no
25243 rm -f core conftest.err conftest.
$ac_objext \
25244 conftest
$ac_exeext conftest.
$ac_ext
25245 LIBS
=$ac_check_lib_save_LIBS
25247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25248 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25249 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25250 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25253 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25255 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25256 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25257 $as_echo_n "(cached) " >&6
25259 ac_check_lib_save_LIBS
=$LIBS
25261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25262 /* end confdefs.h. */
25264 /* Override any GCC internal prototype to avoid an error.
25265 Use char because int might match the return type of a GCC
25266 builtin and then its argument prototype would still apply. */
25270 char gethostbyname ();
25274 return gethostbyname ();
25279 if ac_fn_c_try_link
"$LINENO"; then :
25280 ac_cv_lib_bsd_gethostbyname
=yes
25282 ac_cv_lib_bsd_gethostbyname
=no
25284 rm -f core conftest.err conftest.
$ac_objext \
25285 conftest
$ac_exeext conftest.
$ac_ext
25286 LIBS
=$ac_check_lib_save_LIBS
25288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25289 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25290 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25291 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25297 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25298 # socket/setsockopt and other routines are undefined under SCO ODT
25299 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25300 # on later versions), says Simon Leinen: it contains gethostby*
25301 # variants that don't use the name server (or something). -lsocket
25302 # must be given before -lnsl if both are needed. We assume that
25303 # if connect needs -lnsl, so does gethostbyname.
25304 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25305 if test "x$ac_cv_func_connect" = xyes
; then :
25309 if test $ac_cv_func_connect = no
; then
25310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25311 $as_echo_n "checking for connect in -lsocket... " >&6; }
25312 if ${ac_cv_lib_socket_connect+:} false
; then :
25313 $as_echo_n "(cached) " >&6
25315 ac_check_lib_save_LIBS
=$LIBS
25316 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25318 /* end confdefs.h. */
25320 /* Override any GCC internal prototype to avoid an error.
25321 Use char because int might match the return type of a GCC
25322 builtin and then its argument prototype would still apply. */
25335 if ac_fn_c_try_link
"$LINENO"; then :
25336 ac_cv_lib_socket_connect
=yes
25338 ac_cv_lib_socket_connect
=no
25340 rm -f core conftest.err conftest.
$ac_objext \
25341 conftest
$ac_exeext conftest.
$ac_ext
25342 LIBS
=$ac_check_lib_save_LIBS
25344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25345 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25346 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25347 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25352 # Guillermo Gomez says -lposix is necessary on A/UX.
25353 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25354 if test "x$ac_cv_func_remove" = xyes
; then :
25358 if test $ac_cv_func_remove = no
; then
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25360 $as_echo_n "checking for remove in -lposix... " >&6; }
25361 if ${ac_cv_lib_posix_remove+:} false
; then :
25362 $as_echo_n "(cached) " >&6
25364 ac_check_lib_save_LIBS
=$LIBS
25365 LIBS
="-lposix $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. */
25384 if ac_fn_c_try_link
"$LINENO"; then :
25385 ac_cv_lib_posix_remove
=yes
25387 ac_cv_lib_posix_remove
=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_posix_remove" >&5
25394 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25395 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25396 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25401 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25402 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25403 if test "x$ac_cv_func_shmat" = xyes
; then :
25407 if test $ac_cv_func_shmat = no
; then
25408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25409 $as_echo_n "checking for shmat in -lipc... " >&6; }
25410 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25411 $as_echo_n "(cached) " >&6
25413 ac_check_lib_save_LIBS
=$LIBS
25415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25416 /* end confdefs.h. */
25418 /* Override any GCC internal prototype to avoid an error.
25419 Use char because int might match the return type of a GCC
25420 builtin and then its argument prototype would still apply. */
25433 if ac_fn_c_try_link
"$LINENO"; then :
25434 ac_cv_lib_ipc_shmat
=yes
25436 ac_cv_lib_ipc_shmat
=no
25438 rm -f core conftest.err conftest.
$ac_objext \
25439 conftest
$ac_exeext conftest.
$ac_ext
25440 LIBS
=$ac_check_lib_save_LIBS
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25443 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25444 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25445 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25451 # Check for libraries that X11R6 Xt/Xaw programs need.
25452 ac_save_LDFLAGS
=$LDFLAGS
25453 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25454 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25455 # check for ICE first), but we must link in the order -lSM -lICE or
25456 # we get undefined symbols. So assume we have SM if we have ICE.
25457 # These have to be linked with before -lX11, unlike the other
25458 # libraries we check for below, so use a different variable.
25459 # John Interrante, Karl Berry
25460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25461 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25462 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25463 $as_echo_n "(cached) " >&6
25465 ac_check_lib_save_LIBS
=$LIBS
25466 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25468 /* end confdefs.h. */
25470 /* Override any GCC internal prototype to avoid an error.
25471 Use char because int might match the return type of a GCC
25472 builtin and then its argument prototype would still apply. */
25476 char IceConnectionNumber ();
25480 return IceConnectionNumber ();
25485 if ac_fn_c_try_link
"$LINENO"; then :
25486 ac_cv_lib_ICE_IceConnectionNumber
=yes
25488 ac_cv_lib_ICE_IceConnectionNumber
=no
25490 rm -f core conftest.err conftest.
$ac_objext \
25491 conftest
$ac_exeext conftest.
$ac_ext
25492 LIBS
=$ac_check_lib_save_LIBS
25494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25495 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25496 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25497 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25500 LDFLAGS
=$ac_save_LDFLAGS
25505 if test "$no_x" = "yes"; then
25506 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25509 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25510 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25511 COMPILED_X_PROGRAM
=0
25515 if test "$wxUSE_X11" = 1; then
25516 if test "$wxUSE_NANOX" = "yes"; then
25517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25518 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25519 if test "x$MICROWIN" = x
; then
25520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25521 $as_echo "not found" >&6; }
25522 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25525 $as_echo "$MICROWIN" >&6; }
25526 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25531 if test "$wxUSE_UNICODE" = "yes"; then
25534 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25535 if test -n "$ac_tool_prefix"; then
25536 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25537 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25539 $as_echo_n "checking for $ac_word... " >&6; }
25540 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25541 $as_echo_n "(cached) " >&6
25543 case $PKG_CONFIG in
25545 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25549 for as_dir
in $PATH
25552 test -z "$as_dir" && as_dir
=.
25553 for ac_exec_ext
in '' $ac_executable_extensions; do
25554 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25555 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25566 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25567 if test -n "$PKG_CONFIG"; then
25568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25569 $as_echo "$PKG_CONFIG" >&6; }
25571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25572 $as_echo "no" >&6; }
25577 if test -z "$ac_cv_path_PKG_CONFIG"; then
25578 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25579 # Extract the first word of "pkg-config", so it can be a program name with args.
25580 set dummy pkg
-config; ac_word
=$2
25581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25582 $as_echo_n "checking for $ac_word... " >&6; }
25583 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25584 $as_echo_n "(cached) " >&6
25586 case $ac_pt_PKG_CONFIG in
25588 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25592 for as_dir
in $PATH
25595 test -z "$as_dir" && as_dir
=.
25596 for ac_exec_ext
in '' $ac_executable_extensions; do
25597 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25598 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25609 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25610 if test -n "$ac_pt_PKG_CONFIG"; then
25611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25612 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25615 $as_echo "no" >&6; }
25618 if test "x$ac_pt_PKG_CONFIG" = x
; then
25621 case $cross_compiling:$ac_tool_warned in
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25625 ac_tool_warned
=yes ;;
25627 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25630 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25634 if test -n "$PKG_CONFIG"; then
25635 _pkg_min_version
=0.9.0
25636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25637 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25638 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25640 $as_echo "yes" >&6; }
25642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25643 $as_echo "no" >&6; }
25651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25652 $as_echo_n "checking for PANGOX... " >&6; }
25654 if test -n "$PKG_CONFIG"; then
25655 if test -n "$PANGOX_CFLAGS"; then
25656 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25658 if test -n "$PKG_CONFIG" && \
25659 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25660 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25663 test $ac_status = 0; }; then
25664 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25672 if test -n "$PKG_CONFIG"; then
25673 if test -n "$PANGOX_LIBS"; then
25674 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25676 if test -n "$PKG_CONFIG" && \
25677 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25678 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25681 test $ac_status = 0; }; then
25682 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25693 if test $pkg_failed = yes; then
25695 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25696 _pkg_short_errors_supported
=yes
25698 _pkg_short_errors_supported
=no
25700 if test $_pkg_short_errors_supported = yes; then
25701 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25703 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25705 # Put the nasty error message in config.log where it belongs
25706 echo "$PANGOX_PKG_ERRORS" >&5
25709 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25712 elif test $pkg_failed = untried
; then
25714 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25718 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25719 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25721 $as_echo "yes" >&6; }
25723 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25724 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25725 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25731 $as_echo_n "checking for PANGOFT2... " >&6; }
25733 if test -n "$PKG_CONFIG"; then
25734 if test -n "$PANGOFT2_CFLAGS"; then
25735 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25737 if test -n "$PKG_CONFIG" && \
25738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25739 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25742 test $ac_status = 0; }; then
25743 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25751 if test -n "$PKG_CONFIG"; then
25752 if test -n "$PANGOFT2_LIBS"; then
25753 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25755 if test -n "$PKG_CONFIG" && \
25756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25757 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25760 test $ac_status = 0; }; then
25761 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25772 if test $pkg_failed = yes; then
25774 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25775 _pkg_short_errors_supported
=yes
25777 _pkg_short_errors_supported
=no
25779 if test $_pkg_short_errors_supported = yes; then
25780 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25782 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25784 # Put the nasty error message in config.log where it belongs
25785 echo "$PANGOFT2_PKG_ERRORS" >&5
25788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25789 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25790 wxUSE_PRINTING_ARCHITECTURE
="no"
25793 elif test $pkg_failed = untried
; then
25795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25796 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25797 wxUSE_PRINTING_ARCHITECTURE
="no"
25801 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25802 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25804 $as_echo "yes" >&6; }
25806 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25807 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25808 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25814 $as_echo_n "checking for PANGOXFT... " >&6; }
25816 if test -n "$PKG_CONFIG"; then
25817 if test -n "$PANGOXFT_CFLAGS"; then
25818 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25820 if test -n "$PKG_CONFIG" && \
25821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25822 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25825 test $ac_status = 0; }; then
25826 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25834 if test -n "$PKG_CONFIG"; then
25835 if test -n "$PANGOXFT_LIBS"; then
25836 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25838 if test -n "$PKG_CONFIG" && \
25839 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25840 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25843 test $ac_status = 0; }; then
25844 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25855 if test $pkg_failed = yes; then
25857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25858 _pkg_short_errors_supported
=yes
25860 _pkg_short_errors_supported
=no
25862 if test $_pkg_short_errors_supported = yes; then
25863 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25865 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25867 # Put the nasty error message in config.log where it belongs
25868 echo "$PANGOXFT_PKG_ERRORS" >&5
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25872 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25875 elif test $pkg_failed = untried
; then
25877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25878 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25882 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25883 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25885 $as_echo "yes" >&6; }
25887 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25889 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25890 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25891 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25895 LIBS
="$LIBS $PANGOX_LIBS"
25896 for ac_func
in pango_font_family_is_monospace
25898 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25899 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
25900 cat >>confdefs.h
<<_ACEOF
25901 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25910 wxUSE_UNIVERSAL
="yes"
25912 if test "$wxUSE_NANOX" = "yes"; then
25913 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25914 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"
25915 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25917 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25924 if test "$wxUSE_MOTIF" = 1; then
25925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25926 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25929 for ac_dir
in $SEARCH_INCLUDE /usr
/include
25931 if test -f "$ac_dir/Xm/Xm.h"; then
25932 ac_find_includes
=$ac_dir
25937 if test "$ac_find_includes" != "" ; then
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25939 $as_echo "found in $ac_find_includes" >&6; }
25941 if test "x$ac_find_includes" = "x/usr/include"; then
25942 ac_path_to_include
=""
25944 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25946 if test $result = 0; then
25947 ac_path_to_include
=""
25949 ac_path_to_include
=" -I$ac_find_includes"
25953 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25955 save_CFLAGS
=$CFLAGS
25956 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25959 /* end confdefs.h. */
25968 version = xmUseVersion;
25974 if ac_fn_c_try_compile
"$LINENO"; then :
25976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25977 $as_echo "found in default search path" >&6; }
25978 COMPILED_X_PROGRAM
=1
25982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25983 $as_echo "no" >&6; }
25984 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25990 CFLAGS
=$save_CFLAGS
25994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25995 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25998 for ac_dir
in $SEARCH_LIB
26000 for ac_extension
in a so sl dylib dll.a
; do
26001 if test -f "$ac_dir/libXm.$ac_extension"; then
26002 ac_find_libraries
=$ac_dir
26009 if test "x$ac_find_libraries" != "x" ; then
26010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26011 $as_echo "found in $ac_find_libraries" >&6; }
26014 if test "$ac_find_libraries" = "default location"; then
26017 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26019 if test $result = 0; then
26022 ac_path_to_link
=" -L$ac_find_libraries"
26026 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26028 save_CFLAGS
=$CFLAGS
26029 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26031 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26034 /* end confdefs.h. */
26043 version = xmUseVersion;
26049 if ac_fn_c_try_link
"$LINENO"; then :
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26052 $as_echo "found in default search path" >&6; }
26053 COMPILED_X_PROGRAM
=1
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26058 $as_echo "no" >&6; }
26059 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26063 rm -f core conftest.err conftest.
$ac_objext \
26064 conftest
$ac_exeext conftest.
$ac_ext
26066 CFLAGS
=$save_CFLAGS
26070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26071 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26075 for libp
in "" " -lXp"; do
26076 if test "$libs_found" = 0; then
26077 for libsm_ice
in "" " -lSM -lICE"; do
26078 if test "$libs_found" = 0; then
26080 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26081 save_CFLAGS
=$CFLAGS
26082 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26085 /* end confdefs.h. */
26088 #include <Xm/List.h>
26094 XmString string = NULL;
26097 XmListAddItem(w, string, position);
26103 if ac_fn_c_try_link
"$LINENO"; then :
26106 libsm_ice_link
="$libsm_ice"
26107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26108 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26112 rm -f core conftest.err conftest.
$ac_objext \
26113 conftest
$ac_exeext conftest.
$ac_ext
26116 CFLAGS
=$save_CFLAGS
26122 if test "$libs_found" = 0; then
26123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26124 $as_echo "can't find the right libraries" >&6; }
26125 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
26128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26129 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26130 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
26131 $as_echo_n "(cached) " >&6
26133 ac_check_lib_save_LIBS
=$LIBS
26135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26136 /* end confdefs.h. */
26138 /* Override any GCC internal prototype to avoid an error.
26139 Use char because int might match the return type of a GCC
26140 builtin and then its argument prototype would still apply. */
26144 char SgCreateList ();
26148 return SgCreateList ();
26153 if ac_fn_c_try_link
"$LINENO"; then :
26154 ac_cv_lib_Sgm_SgCreateList
=yes
26156 ac_cv_lib_Sgm_SgCreateList
=no
26158 rm -f core conftest.err conftest.
$ac_objext \
26159 conftest
$ac_exeext conftest.
$ac_ext
26160 LIBS
=$ac_check_lib_save_LIBS
26162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26163 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26164 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
26165 libsgm_link
=" -lSgm"
26169 save_CFLAGS
=$CFLAGS
26170 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26173 $as_echo_n "checking for Motif 2... " >&6; }
26174 if ${wx_cv_lib_motif2+:} false
; then :
26175 $as_echo_n "(cached) " >&6
26177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26178 /* end confdefs.h. */
26186 #if XmVersion < 2000
26194 if ac_fn_c_try_compile
"$LINENO"; then :
26195 wx_cv_lib_motif2
="yes"
26197 wx_cv_lib_motif2
="no"
26199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26202 $as_echo "$wx_cv_lib_motif2" >&6; }
26203 if test "$wx_cv_lib_motif2" = "yes"; then
26204 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26207 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26212 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26213 if ${wx_cv_lib_lesstif+:} false
; then :
26214 $as_echo_n "(cached) " >&6
26216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26217 /* end confdefs.h. */
26225 #if !defined(LesstifVersion) || LesstifVersion <= 0
26233 if ac_fn_c_try_compile
"$LINENO"; then :
26234 wx_cv_lib_lesstif
="yes"
26236 wx_cv_lib_lesstif
="no"
26238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26242 $as_echo "$wx_cv_lib_lesstif" >&6; }
26243 if test "$wx_cv_lib_lesstif" = "yes"; then
26244 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26247 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26251 CFLAGS
=$save_CFLAGS
26253 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26258 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26259 if test "$wxUSE_LIBXPM" = "sys"; then
26260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26261 $as_echo_n "checking for Xpm library... " >&6; }
26264 for ac_dir
in $SEARCH_LIB
26266 for ac_extension
in a so sl dylib dll.a
; do
26267 if test -f "$ac_dir/libXpm.$ac_extension"; then
26268 ac_find_libraries
=$ac_dir
26274 if test "$ac_find_libraries" != "" ; then
26276 if test "$ac_find_libraries" = "default location"; then
26279 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26281 if test $result = 0; then
26284 ac_path_to_link
=" -L$ac_find_libraries"
26288 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26290 $as_echo "found in $ac_find_libraries" >&6; }
26292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26293 $as_echo_n "checking for X11/xpm.h... " >&6; }
26294 if ${wx_cv_x11_xpm_h+:} false
; then :
26295 $as_echo_n "(cached) " >&6
26298 save_CFLAGS
=$CFLAGS
26299 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26302 /* end confdefs.h. */
26304 #include <X11/xpm.h>
26311 version = XpmLibraryVersion();
26317 if ac_fn_c_try_compile
"$LINENO"; then :
26318 wx_cv_x11_xpm_h
=yes
26323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26325 CFLAGS
=$save_CFLAGS
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26330 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26332 if test $wx_cv_x11_xpm_h = "yes"; then
26333 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26334 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26338 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26345 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26346 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26347 $as_echo_n "(cached) " >&6
26349 ac_check_lib_save_LIBS
=$LIBS
26350 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26352 /* end confdefs.h. */
26354 /* Override any GCC internal prototype to avoid an error.
26355 Use char because int might match the return type of a GCC
26356 builtin and then its argument prototype would still apply. */
26360 char XShapeQueryExtension ();
26364 return XShapeQueryExtension ();
26369 if ac_fn_c_try_link
"$LINENO"; then :
26370 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26372 ac_cv_lib_Xext_XShapeQueryExtension
=no
26374 rm -f core conftest.err conftest.
$ac_objext \
26375 conftest
$ac_exeext conftest.
$ac_ext
26376 LIBS
=$ac_check_lib_save_LIBS
26378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26379 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26380 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26382 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26388 if test "$wxHAVE_XEXT_LIB" = 1; then
26389 save_CFLAGS
="$CFLAGS"
26390 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26393 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26395 /* end confdefs.h. */
26397 #include <X11/Xlib.h>
26398 #include <X11/extensions/shape.h>
26404 int dummy1, dummy2;
26405 XShapeQueryExtension((Display*)NULL,
26406 (int*)NULL, (int*)NULL);
26412 if ac_fn_c_try_compile
"$LINENO"; then :
26414 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26417 $as_echo "found" >&6; }
26421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26422 $as_echo "not found" >&6; }
26425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26426 CFLAGS
="$save_CFLAGS"
26431 if test "$wxUSE_OSX_CARBON" = 1; then
26432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26433 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26434 if test "$GCC" = yes; then
26435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26436 $as_echo "gcc" >&6; }
26437 CPPFLAGS_PASCAL
="-fpascal-strings"
26438 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26440 $as_echo "xlc" >&6; }
26441 CPPFLAGS_PASCAL
="-qmacpstr"
26443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26444 $as_echo "none" >&6; }
26447 if test "x$wxUSE_UNIX" = "xyes"; then
26448 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26450 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26454 GUIDIST
=OSX_CARBON_DIST
26455 WXBASEPORT
="_carbon"
26457 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26460 if test "$wxUSE_OSX_COCOA" = 1; then
26462 GUIDIST
=OSX_COCOA_DIST
26464 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26467 if test "$wxUSE_OSX_IPHONE" = 1; then
26471 if test "$wxUSE_OLD_COCOA" = 1; then
26476 if test "$wxUSE_PM" = 1; then
26479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26480 $as_echo_n "checking for type SPBCDATA... " >&6; }
26481 if ${wx_cv_spbcdata+:} false
; then :
26482 $as_echo_n "(cached) " >&6
26485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26486 /* end confdefs.h. */
26501 if ac_fn_c_try_compile
"$LINENO"; then :
26507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26512 $as_echo "$wx_cv_spbcdata" >&6; }
26514 if test $wx_cv_spbcdata = "yes"; then
26515 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26520 if test "$TOOLKIT" = "PM" ; then
26523 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26526 if test "$wxUSE_UNIVERSAL" = "yes"; then
26527 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26531 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26532 DISTDIR
="wx\$(TOOLKIT)"
26538 if test "$USE_WIN32" = 1 ; then
26542 GUIDIST
="BASE_DIST"
26548 if test "$wxUSE_GUI" = "yes"; then
26549 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26550 for ac_header
in X
11/Xlib.h
26552 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26554 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26555 cat >>confdefs.h
<<_ACEOF
26556 #define HAVE_X11_XLIB_H 1
26563 for ac_header
in X
11/XKBlib.h
26565 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26566 #if HAVE_X11_XLIB_H
26567 #include <X11/Xlib.h>
26571 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26572 cat >>confdefs.h
<<_ACEOF
26573 #define HAVE_X11_XKBLIB_H 1
26586 if test "$wxUSE_DISPLAY" = "yes"; then
26587 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26591 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26594 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26595 if test -n "$ac_tool_prefix"; then
26596 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26597 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26599 $as_echo_n "checking for $ac_word... " >&6; }
26600 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26601 $as_echo_n "(cached) " >&6
26603 case $PKG_CONFIG in
26605 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26609 for as_dir
in $PATH
26612 test -z "$as_dir" && as_dir
=.
26613 for ac_exec_ext
in '' $ac_executable_extensions; do
26614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26615 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26626 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26627 if test -n "$PKG_CONFIG"; then
26628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26629 $as_echo "$PKG_CONFIG" >&6; }
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26632 $as_echo "no" >&6; }
26637 if test -z "$ac_cv_path_PKG_CONFIG"; then
26638 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26639 # Extract the first word of "pkg-config", so it can be a program name with args.
26640 set dummy pkg
-config; ac_word
=$2
26641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26642 $as_echo_n "checking for $ac_word... " >&6; }
26643 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26644 $as_echo_n "(cached) " >&6
26646 case $ac_pt_PKG_CONFIG in
26648 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26652 for as_dir
in $PATH
26655 test -z "$as_dir" && as_dir
=.
26656 for ac_exec_ext
in '' $ac_executable_extensions; do
26657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26658 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26669 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26670 if test -n "$ac_pt_PKG_CONFIG"; then
26671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26672 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26675 $as_echo "no" >&6; }
26678 if test "x$ac_pt_PKG_CONFIG" = x
; then
26681 case $cross_compiling:$ac_tool_warned in
26683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26685 ac_tool_warned
=yes ;;
26687 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26690 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26694 if test -n "$PKG_CONFIG"; then
26695 _pkg_min_version
=0.9.0
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26697 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26698 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26700 $as_echo "yes" >&6; }
26702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26703 $as_echo "no" >&6; }
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26711 $as_echo_n "checking for Xinerama... " >&6; }
26713 if test -n "$PKG_CONFIG"; then
26714 if test -n "$Xinerama_CFLAGS"; then
26715 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26717 if test -n "$PKG_CONFIG" && \
26718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26719 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26722 test $ac_status = 0; }; then
26723 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26731 if test -n "$PKG_CONFIG"; then
26732 if test -n "$Xinerama_LIBS"; then
26733 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26735 if test -n "$PKG_CONFIG" && \
26736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26737 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26740 test $ac_status = 0; }; then
26741 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26752 if test $pkg_failed = yes; then
26754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26755 _pkg_short_errors_supported
=yes
26757 _pkg_short_errors_supported
=no
26759 if test $_pkg_short_errors_supported = yes; then
26760 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26762 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26764 # Put the nasty error message in config.log where it belongs
26765 echo "$Xinerama_PKG_ERRORS" >&5
26768 if test "x$ac_find_libraries" = "x"; then
26769 if test "xXineramaQueryScreens" != "x"; then
26770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26771 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26772 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26773 $as_echo_n "(cached) " >&6
26775 ac_check_lib_save_LIBS
=$LIBS
26776 LIBS
="-lXinerama $LIBS"
26777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26778 /* end confdefs.h. */
26780 /* Override any GCC internal prototype to avoid an error.
26781 Use char because int might match the return type of a GCC
26782 builtin and then its argument prototype would still apply. */
26786 char XineramaQueryScreens ();
26790 return XineramaQueryScreens ();
26795 if ac_fn_c_try_link
"$LINENO"; then :
26796 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26798 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26800 rm -f core conftest.err conftest.
$ac_objext \
26801 conftest
$ac_exeext conftest.
$ac_ext
26802 LIBS
=$ac_check_lib_save_LIBS
26804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26805 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26806 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26807 ac_find_libraries
="std"
26813 if test "x$ac_find_libraries" = "x"; then
26814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26815 $as_echo_n "checking elsewhere... " >&6; }
26818 for ac_dir
in $SEARCH_LIB
26820 for ac_extension
in a so sl dylib dll.a
; do
26821 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26822 ac_find_libraries
=$ac_dir
26828 if test "x$ac_find_libraries" != "x"; then
26829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26830 $as_echo "yes" >&6; }
26832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26833 $as_echo "no" >&6; }
26837 elif test $pkg_failed = untried
; then
26839 if test "x$ac_find_libraries" = "x"; then
26840 if test "xXineramaQueryScreens" != "x"; then
26841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26842 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26843 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26844 $as_echo_n "(cached) " >&6
26846 ac_check_lib_save_LIBS
=$LIBS
26847 LIBS
="-lXinerama $LIBS"
26848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26849 /* end confdefs.h. */
26851 /* Override any GCC internal prototype to avoid an error.
26852 Use char because int might match the return type of a GCC
26853 builtin and then its argument prototype would still apply. */
26857 char XineramaQueryScreens ();
26861 return XineramaQueryScreens ();
26866 if ac_fn_c_try_link
"$LINENO"; then :
26867 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26869 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26871 rm -f core conftest.err conftest.
$ac_objext \
26872 conftest
$ac_exeext conftest.
$ac_ext
26873 LIBS
=$ac_check_lib_save_LIBS
26875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26876 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26877 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26878 ac_find_libraries
="std"
26884 if test "x$ac_find_libraries" = "x"; then
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26886 $as_echo_n "checking elsewhere... " >&6; }
26889 for ac_dir
in $SEARCH_LIB
26891 for ac_extension
in a so sl dylib dll.a
; do
26892 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26893 ac_find_libraries
=$ac_dir
26899 if test "x$ac_find_libraries" != "x"; then
26900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26901 $as_echo "yes" >&6; }
26903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26904 $as_echo "no" >&6; }
26909 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
26910 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26912 $as_echo "yes" >&6; }
26914 ac_find_libraries
="std"
26916 eval ac_find_cflags
=\
$Xinerama_CFLAGS
26917 eval fl_libs
=\
$Xinerama_LIBS
26919 for fl_path
in $fl_libs
26921 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26922 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
26928 if test "$ac_find_libraries" != "" ; then
26929 if test "$ac_find_libraries" != "std" ; then
26931 if test "$ac_find_libraries" = "default location"; then
26934 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26936 if test $result = 0; then
26939 ac_path_to_link
=" -L$ac_find_libraries"
26943 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26944 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26948 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26951 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26954 elif test "$wxUSE_MSW" = 1; then
26955 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26957 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
26965 if test "$wxUSE_DISPLAY" = "yes"; then
26966 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26970 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26973 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26974 if test -n "$ac_tool_prefix"; then
26975 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26976 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26978 $as_echo_n "checking for $ac_word... " >&6; }
26979 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26980 $as_echo_n "(cached) " >&6
26982 case $PKG_CONFIG in
26984 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26988 for as_dir
in $PATH
26991 test -z "$as_dir" && as_dir
=.
26992 for ac_exec_ext
in '' $ac_executable_extensions; do
26993 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26994 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27005 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27006 if test -n "$PKG_CONFIG"; then
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27008 $as_echo "$PKG_CONFIG" >&6; }
27010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27011 $as_echo "no" >&6; }
27016 if test -z "$ac_cv_path_PKG_CONFIG"; then
27017 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27018 # Extract the first word of "pkg-config", so it can be a program name with args.
27019 set dummy pkg
-config; ac_word
=$2
27020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27021 $as_echo_n "checking for $ac_word... " >&6; }
27022 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27023 $as_echo_n "(cached) " >&6
27025 case $ac_pt_PKG_CONFIG in
27027 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27031 for as_dir
in $PATH
27034 test -z "$as_dir" && as_dir
=.
27035 for ac_exec_ext
in '' $ac_executable_extensions; do
27036 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27037 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27048 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27049 if test -n "$ac_pt_PKG_CONFIG"; then
27050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27051 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27054 $as_echo "no" >&6; }
27057 if test "x$ac_pt_PKG_CONFIG" = x
; then
27060 case $cross_compiling:$ac_tool_warned in
27062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27064 ac_tool_warned
=yes ;;
27066 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27069 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27073 if test -n "$PKG_CONFIG"; then
27074 _pkg_min_version
=0.9.0
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27076 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27077 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27079 $as_echo "yes" >&6; }
27081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27082 $as_echo "no" >&6; }
27089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27090 $as_echo_n "checking for Xxf86vm... " >&6; }
27092 if test -n "$PKG_CONFIG"; then
27093 if test -n "$Xxf86vm_CFLAGS"; then
27094 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
27096 if test -n "$PKG_CONFIG" && \
27097 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27098 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27101 test $ac_status = 0; }; then
27102 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27110 if test -n "$PKG_CONFIG"; then
27111 if test -n "$Xxf86vm_LIBS"; then
27112 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
27114 if test -n "$PKG_CONFIG" && \
27115 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27116 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27119 test $ac_status = 0; }; then
27120 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27131 if test $pkg_failed = yes; then
27133 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27134 _pkg_short_errors_supported
=yes
27136 _pkg_short_errors_supported
=no
27138 if test $_pkg_short_errors_supported = yes; then
27139 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27141 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27143 # Put the nasty error message in config.log where it belongs
27144 echo "$Xxf86vm_PKG_ERRORS" >&5
27147 if test "x$ac_find_libraries" = "x"; then
27148 if test "xXF86VidModeQueryExtension" != "x"; then
27149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27150 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27151 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27152 $as_echo_n "(cached) " >&6
27154 ac_check_lib_save_LIBS
=$LIBS
27155 LIBS
="-lXxf86vm $LIBS"
27156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27157 /* end confdefs.h. */
27159 /* Override any GCC internal prototype to avoid an error.
27160 Use char because int might match the return type of a GCC
27161 builtin and then its argument prototype would still apply. */
27165 char XF86VidModeQueryExtension ();
27169 return XF86VidModeQueryExtension ();
27174 if ac_fn_c_try_link
"$LINENO"; then :
27175 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27177 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27179 rm -f core conftest.err conftest.
$ac_objext \
27180 conftest
$ac_exeext conftest.
$ac_ext
27181 LIBS
=$ac_check_lib_save_LIBS
27183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27184 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27185 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27186 ac_find_libraries
="std"
27192 if test "x$ac_find_libraries" = "x"; then
27193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27194 $as_echo_n "checking elsewhere... " >&6; }
27197 for ac_dir
in $SEARCH_LIB
27199 for ac_extension
in a so sl dylib dll.a
; do
27200 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27201 ac_find_libraries
=$ac_dir
27207 if test "x$ac_find_libraries" != "x"; then
27208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27209 $as_echo "yes" >&6; }
27211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27212 $as_echo "no" >&6; }
27216 elif test $pkg_failed = untried
; then
27218 if test "x$ac_find_libraries" = "x"; then
27219 if test "xXF86VidModeQueryExtension" != "x"; then
27220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27221 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27222 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27223 $as_echo_n "(cached) " >&6
27225 ac_check_lib_save_LIBS
=$LIBS
27226 LIBS
="-lXxf86vm $LIBS"
27227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27228 /* end confdefs.h. */
27230 /* Override any GCC internal prototype to avoid an error.
27231 Use char because int might match the return type of a GCC
27232 builtin and then its argument prototype would still apply. */
27236 char XF86VidModeQueryExtension ();
27240 return XF86VidModeQueryExtension ();
27245 if ac_fn_c_try_link
"$LINENO"; then :
27246 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27248 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27250 rm -f core conftest.err conftest.
$ac_objext \
27251 conftest
$ac_exeext conftest.
$ac_ext
27252 LIBS
=$ac_check_lib_save_LIBS
27254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27255 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27256 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27257 ac_find_libraries
="std"
27263 if test "x$ac_find_libraries" = "x"; then
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27265 $as_echo_n "checking elsewhere... " >&6; }
27268 for ac_dir
in $SEARCH_LIB
27270 for ac_extension
in a so sl dylib dll.a
; do
27271 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27272 ac_find_libraries
=$ac_dir
27278 if test "x$ac_find_libraries" != "x"; then
27279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27280 $as_echo "yes" >&6; }
27282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27283 $as_echo "no" >&6; }
27288 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27289 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27291 $as_echo "yes" >&6; }
27293 ac_find_libraries
="std"
27295 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27296 eval fl_libs
=\
$Xxf86vm_LIBS
27298 for fl_path
in $fl_libs
27300 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27301 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27307 if test "$ac_find_libraries" != "" ; then
27308 for ac_header
in X
11/extensions
/xf86vmode.h
27310 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27311 #if HAVE_X11_XLIB_H
27312 #include <X11/Xlib.h>
27316 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27317 cat >>confdefs.h
<<_ACEOF
27318 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27321 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27331 if test "$wxUSE_DETECT_SM" = "yes"; then
27332 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27336 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27339 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27340 if test -n "$ac_tool_prefix"; then
27341 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27342 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27344 $as_echo_n "checking for $ac_word... " >&6; }
27345 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27346 $as_echo_n "(cached) " >&6
27348 case $PKG_CONFIG in
27350 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27354 for as_dir
in $PATH
27357 test -z "$as_dir" && as_dir
=.
27358 for ac_exec_ext
in '' $ac_executable_extensions; do
27359 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27360 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27371 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27372 if test -n "$PKG_CONFIG"; then
27373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27374 $as_echo "$PKG_CONFIG" >&6; }
27376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27377 $as_echo "no" >&6; }
27382 if test -z "$ac_cv_path_PKG_CONFIG"; then
27383 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27384 # Extract the first word of "pkg-config", so it can be a program name with args.
27385 set dummy pkg
-config; ac_word
=$2
27386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27387 $as_echo_n "checking for $ac_word... " >&6; }
27388 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27389 $as_echo_n "(cached) " >&6
27391 case $ac_pt_PKG_CONFIG in
27393 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27397 for as_dir
in $PATH
27400 test -z "$as_dir" && as_dir
=.
27401 for ac_exec_ext
in '' $ac_executable_extensions; do
27402 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27403 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27414 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27415 if test -n "$ac_pt_PKG_CONFIG"; then
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27417 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27420 $as_echo "no" >&6; }
27423 if test "x$ac_pt_PKG_CONFIG" = x
; then
27426 case $cross_compiling:$ac_tool_warned in
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27430 ac_tool_warned
=yes ;;
27432 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27435 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27439 if test -n "$PKG_CONFIG"; then
27440 _pkg_min_version
=0.9.0
27441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27442 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27443 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27445 $as_echo "yes" >&6; }
27447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27448 $as_echo "no" >&6; }
27455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27456 $as_echo_n "checking for SM... " >&6; }
27458 if test -n "$PKG_CONFIG"; then
27459 if test -n "$SM_CFLAGS"; then
27460 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27462 if test -n "$PKG_CONFIG" && \
27463 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27464 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27467 test $ac_status = 0; }; then
27468 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27476 if test -n "$PKG_CONFIG"; then
27477 if test -n "$SM_LIBS"; then
27478 pkg_cv_SM_LIBS
="$SM_LIBS"
27480 if test -n "$PKG_CONFIG" && \
27481 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27482 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27485 test $ac_status = 0; }; then
27486 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27497 if test $pkg_failed = yes; then
27499 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27500 _pkg_short_errors_supported
=yes
27502 _pkg_short_errors_supported
=no
27504 if test $_pkg_short_errors_supported = yes; then
27505 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27507 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27509 # Put the nasty error message in config.log where it belongs
27510 echo "$SM_PKG_ERRORS" >&5
27513 if test "x$ac_find_libraries" = "x"; then
27514 if test "xSmcOpenConnection" != "x"; then
27515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27516 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27517 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27518 $as_echo_n "(cached) " >&6
27520 ac_check_lib_save_LIBS
=$LIBS
27522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27523 /* end confdefs.h. */
27525 /* Override any GCC internal prototype to avoid an error.
27526 Use char because int might match the return type of a GCC
27527 builtin and then its argument prototype would still apply. */
27531 char SmcOpenConnection ();
27535 return SmcOpenConnection ();
27540 if ac_fn_c_try_link
"$LINENO"; then :
27541 ac_cv_lib_SM_SmcOpenConnection
=yes
27543 ac_cv_lib_SM_SmcOpenConnection
=no
27545 rm -f core conftest.err conftest.
$ac_objext \
27546 conftest
$ac_exeext conftest.
$ac_ext
27547 LIBS
=$ac_check_lib_save_LIBS
27549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27550 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27551 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27552 ac_find_libraries
="std"
27558 if test "x$ac_find_libraries" = "x"; then
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27560 $as_echo_n "checking elsewhere... " >&6; }
27563 for ac_dir
in $SEARCH_LIB
27565 for ac_extension
in a so sl dylib dll.a
; do
27566 if test -f "$ac_dir/libSM.$ac_extension"; then
27567 ac_find_libraries
=$ac_dir
27573 if test "x$ac_find_libraries" != "x"; then
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27575 $as_echo "yes" >&6; }
27577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27578 $as_echo "no" >&6; }
27582 elif test $pkg_failed = untried
; then
27584 if test "x$ac_find_libraries" = "x"; then
27585 if test "xSmcOpenConnection" != "x"; then
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27587 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27588 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27589 $as_echo_n "(cached) " >&6
27591 ac_check_lib_save_LIBS
=$LIBS
27593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27594 /* end confdefs.h. */
27596 /* Override any GCC internal prototype to avoid an error.
27597 Use char because int might match the return type of a GCC
27598 builtin and then its argument prototype would still apply. */
27602 char SmcOpenConnection ();
27606 return SmcOpenConnection ();
27611 if ac_fn_c_try_link
"$LINENO"; then :
27612 ac_cv_lib_SM_SmcOpenConnection
=yes
27614 ac_cv_lib_SM_SmcOpenConnection
=no
27616 rm -f core conftest.err conftest.
$ac_objext \
27617 conftest
$ac_exeext conftest.
$ac_ext
27618 LIBS
=$ac_check_lib_save_LIBS
27620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27621 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27622 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27623 ac_find_libraries
="std"
27629 if test "x$ac_find_libraries" = "x"; then
27630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27631 $as_echo_n "checking elsewhere... " >&6; }
27634 for ac_dir
in $SEARCH_LIB
27636 for ac_extension
in a so sl dylib dll.a
; do
27637 if test -f "$ac_dir/libSM.$ac_extension"; then
27638 ac_find_libraries
=$ac_dir
27644 if test "x$ac_find_libraries" != "x"; then
27645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27646 $as_echo "yes" >&6; }
27648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27649 $as_echo "no" >&6; }
27654 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27655 SM_LIBS
=$pkg_cv_SM_LIBS
27656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27657 $as_echo "yes" >&6; }
27659 ac_find_libraries
="std"
27661 eval ac_find_cflags
=\
$SM_CFLAGS
27662 eval fl_libs
=\
$SM_LIBS
27664 for fl_path
in $fl_libs
27666 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27667 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27673 if test "$ac_find_libraries" != "" ; then
27674 if test "$ac_find_libraries" != "std" ; then
27676 if test "$ac_find_libraries" = "default location"; then
27679 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27681 if test $result = 0; then
27684 ac_path_to_link
=" -L$ac_find_libraries"
27688 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27689 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27692 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27695 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27696 wxUSE_DETECT_SM
="no"
27699 wxUSE_DETECT_SM
="no"
27706 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27709 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27710 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27711 elif test "$wxUSE_MSW" = 1; then
27712 OPENGL_LIBS
="-lopengl32 -lglu32"
27713 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27716 $as_echo_n "checking for OpenGL headers... " >&6; }
27719 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27721 if test -f "$ac_dir/GL/gl.h"; then
27722 ac_find_includes
=$ac_dir
27727 if test "$ac_find_includes" != "" ; then
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27729 $as_echo "found in $ac_find_includes" >&6; }
27731 if test "x$ac_find_includes" = "x/usr/include"; then
27732 ac_path_to_include
=""
27734 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27736 if test $result = 0; then
27737 ac_path_to_include
=""
27739 ac_path_to_include
=" -I$ac_find_includes"
27743 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27746 $as_echo "not found" >&6; }
27749 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27751 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27753 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27755 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27762 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27765 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27766 if test -n "$ac_tool_prefix"; then
27767 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27768 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27770 $as_echo_n "checking for $ac_word... " >&6; }
27771 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27772 $as_echo_n "(cached) " >&6
27774 case $PKG_CONFIG in
27776 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27780 for as_dir
in $PATH
27783 test -z "$as_dir" && as_dir
=.
27784 for ac_exec_ext
in '' $ac_executable_extensions; do
27785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27786 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27797 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27798 if test -n "$PKG_CONFIG"; then
27799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27800 $as_echo "$PKG_CONFIG" >&6; }
27802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27803 $as_echo "no" >&6; }
27808 if test -z "$ac_cv_path_PKG_CONFIG"; then
27809 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27810 # Extract the first word of "pkg-config", so it can be a program name with args.
27811 set dummy pkg
-config; ac_word
=$2
27812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27813 $as_echo_n "checking for $ac_word... " >&6; }
27814 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27815 $as_echo_n "(cached) " >&6
27817 case $ac_pt_PKG_CONFIG in
27819 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27823 for as_dir
in $PATH
27826 test -z "$as_dir" && as_dir
=.
27827 for ac_exec_ext
in '' $ac_executable_extensions; do
27828 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27829 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27840 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27841 if test -n "$ac_pt_PKG_CONFIG"; then
27842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27843 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27846 $as_echo "no" >&6; }
27849 if test "x$ac_pt_PKG_CONFIG" = x
; then
27852 case $cross_compiling:$ac_tool_warned in
27854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27856 ac_tool_warned
=yes ;;
27858 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27861 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27865 if test -n "$PKG_CONFIG"; then
27866 _pkg_min_version
=0.9.0
27867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27868 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27869 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27871 $as_echo "yes" >&6; }
27873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27874 $as_echo "no" >&6; }
27881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27882 $as_echo_n "checking for GL... " >&6; }
27884 if test -n "$PKG_CONFIG"; then
27885 if test -n "$GL_CFLAGS"; then
27886 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27888 if test -n "$PKG_CONFIG" && \
27889 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27890 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27893 test $ac_status = 0; }; then
27894 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27902 if test -n "$PKG_CONFIG"; then
27903 if test -n "$GL_LIBS"; then
27904 pkg_cv_GL_LIBS
="$GL_LIBS"
27906 if test -n "$PKG_CONFIG" && \
27907 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27908 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27911 test $ac_status = 0; }; then
27912 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27923 if test $pkg_failed = yes; then
27925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27926 _pkg_short_errors_supported
=yes
27928 _pkg_short_errors_supported
=no
27930 if test $_pkg_short_errors_supported = yes; then
27931 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27933 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27935 # Put the nasty error message in config.log where it belongs
27936 echo "$GL_PKG_ERRORS" >&5
27939 if test "x$ac_find_libraries" = "x"; then
27940 if test "xglBegin" != "x"; then
27941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27942 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27943 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27944 $as_echo_n "(cached) " >&6
27946 ac_check_lib_save_LIBS
=$LIBS
27948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27949 /* end confdefs.h. */
27951 /* Override any GCC internal prototype to avoid an error.
27952 Use char because int might match the return type of a GCC
27953 builtin and then its argument prototype would still apply. */
27966 if ac_fn_c_try_link
"$LINENO"; then :
27967 ac_cv_lib_GL_glBegin
=yes
27969 ac_cv_lib_GL_glBegin
=no
27971 rm -f core conftest.err conftest.
$ac_objext \
27972 conftest
$ac_exeext conftest.
$ac_ext
27973 LIBS
=$ac_check_lib_save_LIBS
27975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27976 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27977 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27978 ac_find_libraries
="std"
27984 if test "x$ac_find_libraries" = "x"; then
27985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27986 $as_echo_n "checking elsewhere... " >&6; }
27989 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27991 for ac_extension
in a so sl dylib dll.a
; do
27992 if test -f "$ac_dir/libGL.$ac_extension"; then
27993 ac_find_libraries
=$ac_dir
27999 if test "x$ac_find_libraries" != "x"; then
28000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28001 $as_echo "yes" >&6; }
28003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28004 $as_echo "no" >&6; }
28008 elif test $pkg_failed = untried
; then
28010 if test "x$ac_find_libraries" = "x"; then
28011 if test "xglBegin" != "x"; then
28012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28013 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28014 if ${ac_cv_lib_GL_glBegin+:} false
; then :
28015 $as_echo_n "(cached) " >&6
28017 ac_check_lib_save_LIBS
=$LIBS
28019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28020 /* end confdefs.h. */
28022 /* Override any GCC internal prototype to avoid an error.
28023 Use char because int might match the return type of a GCC
28024 builtin and then its argument prototype would still apply. */
28037 if ac_fn_c_try_link
"$LINENO"; then :
28038 ac_cv_lib_GL_glBegin
=yes
28040 ac_cv_lib_GL_glBegin
=no
28042 rm -f core conftest.err conftest.
$ac_objext \
28043 conftest
$ac_exeext conftest.
$ac_ext
28044 LIBS
=$ac_check_lib_save_LIBS
28046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28047 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28048 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
28049 ac_find_libraries
="std"
28055 if test "x$ac_find_libraries" = "x"; then
28056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28057 $as_echo_n "checking elsewhere... " >&6; }
28060 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28062 for ac_extension
in a so sl dylib dll.a
; do
28063 if test -f "$ac_dir/libGL.$ac_extension"; then
28064 ac_find_libraries
=$ac_dir
28070 if test "x$ac_find_libraries" != "x"; then
28071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28072 $as_echo "yes" >&6; }
28074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28075 $as_echo "no" >&6; }
28080 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
28081 GL_LIBS
=$pkg_cv_GL_LIBS
28082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28083 $as_echo "yes" >&6; }
28085 ac_find_libraries
="std"
28087 eval ac_find_cflags
=\
$GL_CFLAGS
28088 eval fl_libs
=\
$GL_LIBS
28090 for fl_path
in $fl_libs
28092 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28093 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28099 if test "$ac_find_libraries" != "" ; then
28100 if test "$ac_find_libraries" != "std" ; then
28102 if test "$ac_find_libraries" = "default location"; then
28105 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28107 if test $result = 0; then
28110 ac_path_to_link
=" -L$ac_find_libraries"
28114 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28115 LDFLAGS_GL
="$ac_path_to_link"
28122 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
28125 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28126 if test -n "$ac_tool_prefix"; then
28127 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28128 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28130 $as_echo_n "checking for $ac_word... " >&6; }
28131 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28132 $as_echo_n "(cached) " >&6
28134 case $PKG_CONFIG in
28136 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28140 for as_dir
in $PATH
28143 test -z "$as_dir" && as_dir
=.
28144 for ac_exec_ext
in '' $ac_executable_extensions; do
28145 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28146 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28157 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28158 if test -n "$PKG_CONFIG"; then
28159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28160 $as_echo "$PKG_CONFIG" >&6; }
28162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28163 $as_echo "no" >&6; }
28168 if test -z "$ac_cv_path_PKG_CONFIG"; then
28169 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28170 # Extract the first word of "pkg-config", so it can be a program name with args.
28171 set dummy pkg
-config; ac_word
=$2
28172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28173 $as_echo_n "checking for $ac_word... " >&6; }
28174 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28175 $as_echo_n "(cached) " >&6
28177 case $ac_pt_PKG_CONFIG in
28179 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28183 for as_dir
in $PATH
28186 test -z "$as_dir" && as_dir
=.
28187 for ac_exec_ext
in '' $ac_executable_extensions; do
28188 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28189 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28200 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28201 if test -n "$ac_pt_PKG_CONFIG"; then
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28203 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28206 $as_echo "no" >&6; }
28209 if test "x$ac_pt_PKG_CONFIG" = x
; then
28212 case $cross_compiling:$ac_tool_warned in
28214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28216 ac_tool_warned
=yes ;;
28218 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28221 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28225 if test -n "$PKG_CONFIG"; then
28226 _pkg_min_version
=0.9.0
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28228 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28229 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28231 $as_echo "yes" >&6; }
28233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28234 $as_echo "no" >&6; }
28241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28242 $as_echo_n "checking for GLU... " >&6; }
28244 if test -n "$PKG_CONFIG"; then
28245 if test -n "$GLU_CFLAGS"; then
28246 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28248 if test -n "$PKG_CONFIG" && \
28249 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28250 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28253 test $ac_status = 0; }; then
28254 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28262 if test -n "$PKG_CONFIG"; then
28263 if test -n "$GLU_LIBS"; then
28264 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28266 if test -n "$PKG_CONFIG" && \
28267 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28268 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28271 test $ac_status = 0; }; then
28272 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28283 if test $pkg_failed = yes; then
28285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28286 _pkg_short_errors_supported
=yes
28288 _pkg_short_errors_supported
=no
28290 if test $_pkg_short_errors_supported = yes; then
28291 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28293 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28295 # Put the nasty error message in config.log where it belongs
28296 echo "$GLU_PKG_ERRORS" >&5
28299 if test "x$ac_find_libraries" = "x"; then
28300 if test "xgluBeginCurve" != "x"; then
28301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28302 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28303 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28304 $as_echo_n "(cached) " >&6
28306 ac_check_lib_save_LIBS
=$LIBS
28308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28309 /* end confdefs.h. */
28311 /* Override any GCC internal prototype to avoid an error.
28312 Use char because int might match the return type of a GCC
28313 builtin and then its argument prototype would still apply. */
28317 char gluBeginCurve ();
28321 return gluBeginCurve ();
28326 if ac_fn_c_try_link
"$LINENO"; then :
28327 ac_cv_lib_GLU_gluBeginCurve
=yes
28329 ac_cv_lib_GLU_gluBeginCurve
=no
28331 rm -f core conftest.err conftest.
$ac_objext \
28332 conftest
$ac_exeext conftest.
$ac_ext
28333 LIBS
=$ac_check_lib_save_LIBS
28335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28336 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28337 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28338 ac_find_libraries
="std"
28344 if test "x$ac_find_libraries" = "x"; then
28345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28346 $as_echo_n "checking elsewhere... " >&6; }
28349 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28351 for ac_extension
in a so sl dylib dll.a
; do
28352 if test -f "$ac_dir/libGLU.$ac_extension"; then
28353 ac_find_libraries
=$ac_dir
28359 if test "x$ac_find_libraries" != "x"; then
28360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28361 $as_echo "yes" >&6; }
28363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28364 $as_echo "no" >&6; }
28368 elif test $pkg_failed = untried
; then
28370 if test "x$ac_find_libraries" = "x"; then
28371 if test "xgluBeginCurve" != "x"; then
28372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28373 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28374 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28375 $as_echo_n "(cached) " >&6
28377 ac_check_lib_save_LIBS
=$LIBS
28379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28380 /* end confdefs.h. */
28382 /* Override any GCC internal prototype to avoid an error.
28383 Use char because int might match the return type of a GCC
28384 builtin and then its argument prototype would still apply. */
28388 char gluBeginCurve ();
28392 return gluBeginCurve ();
28397 if ac_fn_c_try_link
"$LINENO"; then :
28398 ac_cv_lib_GLU_gluBeginCurve
=yes
28400 ac_cv_lib_GLU_gluBeginCurve
=no
28402 rm -f core conftest.err conftest.
$ac_objext \
28403 conftest
$ac_exeext conftest.
$ac_ext
28404 LIBS
=$ac_check_lib_save_LIBS
28406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28407 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28408 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28409 ac_find_libraries
="std"
28415 if test "x$ac_find_libraries" = "x"; then
28416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28417 $as_echo_n "checking elsewhere... " >&6; }
28420 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28422 for ac_extension
in a so sl dylib dll.a
; do
28423 if test -f "$ac_dir/libGLU.$ac_extension"; then
28424 ac_find_libraries
=$ac_dir
28430 if test "x$ac_find_libraries" != "x"; then
28431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28432 $as_echo "yes" >&6; }
28434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28435 $as_echo "no" >&6; }
28440 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28441 GLU_LIBS
=$pkg_cv_GLU_LIBS
28442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28443 $as_echo "yes" >&6; }
28445 ac_find_libraries
="std"
28447 eval ac_find_cflags
=\
$GLU_CFLAGS
28448 eval fl_libs
=\
$GLU_LIBS
28450 for fl_path
in $fl_libs
28452 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28453 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28459 if test "$ac_find_libraries" != "" ; then
28460 if test "$ac_find_libraries" != "std" ; then
28462 if test "$ac_find_libraries" = "default location"; then
28465 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28467 if test $result = 0; then
28470 ac_path_to_link
=" -L$ac_find_libraries"
28474 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28475 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28476 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28481 OPENGL_LIBS
="-lGL -lGLU"
28485 if test "$found_gl" != 1; then
28489 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28492 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28493 if test -n "$ac_tool_prefix"; then
28494 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28495 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28497 $as_echo_n "checking for $ac_word... " >&6; }
28498 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28499 $as_echo_n "(cached) " >&6
28501 case $PKG_CONFIG in
28503 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28507 for as_dir
in $PATH
28510 test -z "$as_dir" && as_dir
=.
28511 for ac_exec_ext
in '' $ac_executable_extensions; do
28512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28513 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28524 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28525 if test -n "$PKG_CONFIG"; then
28526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28527 $as_echo "$PKG_CONFIG" >&6; }
28529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28530 $as_echo "no" >&6; }
28535 if test -z "$ac_cv_path_PKG_CONFIG"; then
28536 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28537 # Extract the first word of "pkg-config", so it can be a program name with args.
28538 set dummy pkg
-config; ac_word
=$2
28539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28540 $as_echo_n "checking for $ac_word... " >&6; }
28541 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28542 $as_echo_n "(cached) " >&6
28544 case $ac_pt_PKG_CONFIG in
28546 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28550 for as_dir
in $PATH
28553 test -z "$as_dir" && as_dir
=.
28554 for ac_exec_ext
in '' $ac_executable_extensions; do
28555 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28556 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28567 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28568 if test -n "$ac_pt_PKG_CONFIG"; then
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28570 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28573 $as_echo "no" >&6; }
28576 if test "x$ac_pt_PKG_CONFIG" = x
; then
28579 case $cross_compiling:$ac_tool_warned in
28581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28583 ac_tool_warned
=yes ;;
28585 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28588 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28592 if test -n "$PKG_CONFIG"; then
28593 _pkg_min_version
=0.9.0
28594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28595 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28596 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28598 $as_echo "yes" >&6; }
28600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28601 $as_echo "no" >&6; }
28608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28609 $as_echo_n "checking for MesaGL... " >&6; }
28611 if test -n "$PKG_CONFIG"; then
28612 if test -n "$MesaGL_CFLAGS"; then
28613 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28615 if test -n "$PKG_CONFIG" && \
28616 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28617 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28620 test $ac_status = 0; }; then
28621 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28629 if test -n "$PKG_CONFIG"; then
28630 if test -n "$MesaGL_LIBS"; then
28631 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28633 if test -n "$PKG_CONFIG" && \
28634 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28635 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28638 test $ac_status = 0; }; then
28639 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28650 if test $pkg_failed = yes; then
28652 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28653 _pkg_short_errors_supported
=yes
28655 _pkg_short_errors_supported
=no
28657 if test $_pkg_short_errors_supported = yes; then
28658 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28660 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28662 # Put the nasty error message in config.log where it belongs
28663 echo "$MesaGL_PKG_ERRORS" >&5
28666 if test "x$ac_find_libraries" = "x"; then
28667 if test "xglEnable" != "x"; then
28668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28669 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28670 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28671 $as_echo_n "(cached) " >&6
28673 ac_check_lib_save_LIBS
=$LIBS
28674 LIBS
="-lMesaGL $LIBS"
28675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28676 /* end confdefs.h. */
28678 /* Override any GCC internal prototype to avoid an error.
28679 Use char because int might match the return type of a GCC
28680 builtin and then its argument prototype would still apply. */
28688 return glEnable ();
28693 if ac_fn_c_try_link
"$LINENO"; then :
28694 ac_cv_lib_MesaGL_glEnable
=yes
28696 ac_cv_lib_MesaGL_glEnable
=no
28698 rm -f core conftest.err conftest.
$ac_objext \
28699 conftest
$ac_exeext conftest.
$ac_ext
28700 LIBS
=$ac_check_lib_save_LIBS
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28703 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28704 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28705 ac_find_libraries
="std"
28711 if test "x$ac_find_libraries" = "x"; then
28712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28713 $as_echo_n "checking elsewhere... " >&6; }
28716 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28718 for ac_extension
in a so sl dylib dll.a
; do
28719 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28720 ac_find_libraries
=$ac_dir
28726 if test "x$ac_find_libraries" != "x"; then
28727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28728 $as_echo "yes" >&6; }
28730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28731 $as_echo "no" >&6; }
28735 elif test $pkg_failed = untried
; then
28737 if test "x$ac_find_libraries" = "x"; then
28738 if test "xglEnable" != "x"; then
28739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28740 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28741 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28742 $as_echo_n "(cached) " >&6
28744 ac_check_lib_save_LIBS
=$LIBS
28745 LIBS
="-lMesaGL $LIBS"
28746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28747 /* end confdefs.h. */
28749 /* Override any GCC internal prototype to avoid an error.
28750 Use char because int might match the return type of a GCC
28751 builtin and then its argument prototype would still apply. */
28759 return glEnable ();
28764 if ac_fn_c_try_link
"$LINENO"; then :
28765 ac_cv_lib_MesaGL_glEnable
=yes
28767 ac_cv_lib_MesaGL_glEnable
=no
28769 rm -f core conftest.err conftest.
$ac_objext \
28770 conftest
$ac_exeext conftest.
$ac_ext
28771 LIBS
=$ac_check_lib_save_LIBS
28773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28774 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28775 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28776 ac_find_libraries
="std"
28782 if test "x$ac_find_libraries" = "x"; then
28783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28784 $as_echo_n "checking elsewhere... " >&6; }
28787 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28789 for ac_extension
in a so sl dylib dll.a
; do
28790 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28791 ac_find_libraries
=$ac_dir
28797 if test "x$ac_find_libraries" != "x"; then
28798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28799 $as_echo "yes" >&6; }
28801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28802 $as_echo "no" >&6; }
28807 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28808 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28810 $as_echo "yes" >&6; }
28812 ac_find_libraries
="std"
28814 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28815 eval fl_libs
=\
$MesaGL_LIBS
28817 for fl_path
in $fl_libs
28819 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28820 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28826 if test "$ac_find_libraries" != "" ; then
28827 if test "$ac_find_libraries" != "std" ; then
28829 if test "$ac_find_libraries" = "default location"; then
28832 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28834 if test $result = 0; then
28837 ac_path_to_link
=" -L$ac_find_libraries"
28841 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28842 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28845 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28857 if test "x$OPENGL_LIBS" = "x"; then
28858 if test "$wxUSE_OPENGL" = "yes"; then
28859 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28862 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28869 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28873 if test "$wxUSE_OPENGL" = "auto"; then
28877 if test "$wxUSE_OPENGL" = "yes"; then
28879 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28881 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28888 if test -n "$TOOLKIT" ; then
28889 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28894 if test "$wxUSE_SHARED" = "yes"; then
28898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28899 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28904 if test "$wxUSE_SHARED" = "yes"; then
28908 *-*-cygwin* | *-*-mingw* )
28909 wx_cv_version_script
=no
28913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28914 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28915 if ${wx_cv_version_script+:} false
; then :
28916 $as_echo_n "(cached) " >&6
28919 echo "VER_1 { *; };" >conftest.sym
28920 echo "int main() { return 0; }" >conftest.cpp
28923 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28924 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28925 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28926 (eval $ac_try) 2>&5
28928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28929 test $ac_status = 0; }; } ; then
28930 if test -s conftest.stderr
; then
28931 wx_cv_version_script
=no
28933 wx_cv_version_script
=yes
28936 wx_cv_version_script
=no
28939 if test $wx_cv_version_script = yes
28941 echo "struct B { virtual ~B() { } }; \
28942 struct D : public B { }; \
28943 void F() { D d; }" > conftest.cpp
28946 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28947 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28948 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28949 (eval $ac_try) 2>&5
28951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28952 test $ac_status = 0; }; } &&
28954 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28955 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28956 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28957 (eval $ac_try) 2>&5
28959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28960 test $ac_status = 0; }; }
28963 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28964 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28965 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28966 (eval $ac_try) 2>&5
28968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28969 test $ac_status = 0; }; }
28971 wx_cv_version_script
=yes
28973 wx_cv_version_script
=no
28978 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28979 rm -f conftest1.output conftest2.output conftest3.output
28982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28983 $as_echo "$wx_cv_version_script" >&6; }
28985 if test $wx_cv_version_script = yes ; then
28986 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28992 if test "$wxUSE_VISIBILITY" != "no"; then
28995 if test -n "$GCC"; then
28996 CFLAGS_VISIBILITY
="-fvisibility=hidden"
28997 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
28998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28999 $as_echo_n "checking for symbols visibility support... " >&6; }
29000 if ${wx_cv_cc_visibility+:} false
; then :
29001 $as_echo_n "(cached) " >&6
29004 wx_save_CXXFLAGS
="$CXXFLAGS"
29005 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29007 ac_cpp
='$CXXCPP $CPPFLAGS'
29008 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29009 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29010 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29013 /* end confdefs.h. */
29015 /* we need gcc >= 4.0, older versions with visibility support
29016 didn't have class visibility: */
29017 #if defined(__GNUC__) && __GNUC__ < 4
29018 error this gcc is too old;
29021 /* visibility only makes sense for ELF shared libs: */
29022 #if !defined(__ELF__) && !defined(__APPLE__)
29023 error this platform has no visibility;
29026 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29027 #if defined(__clang__)
29028 clang compiler is still broken w.r.t. visibility;
29031 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29032 extern __attribute__((__visibility__("default"))) int exportedvar;
29033 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29034 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29035 class __attribute__((__visibility__("default"))) Foo {
29047 if ac_fn_cxx_try_compile
"$LINENO"; then :
29048 wx_cv_cc_visibility
=yes
29050 wx_cv_cc_visibility
=no
29052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29054 ac_cpp
='$CPP $CPPFLAGS'
29055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29059 CXXFLAGS
="$wx_save_CXXFLAGS"
29062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29063 $as_echo "$wx_cv_cc_visibility" >&6; }
29064 if test $wx_cv_cc_visibility = yes; then
29065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29066 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29067 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
29068 $as_echo_n "(cached) " >&6
29071 wx_save_CXXFLAGS
="$CXXFLAGS"
29072 wx_save_LDFLAGS
="$LDFLAGS"
29073 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29074 LDFLAGS
="$LDFLAGS -shared -fPIC"
29076 ac_cpp
='$CXXCPP $CPPFLAGS'
29077 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29078 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29079 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29082 /* end confdefs.h. */
29090 std::string s("hello");
29097 if ac_fn_cxx_try_link
"$LINENO"; then :
29098 wx_cv_cc_broken_libstdcxx_visibility
=no
29100 wx_cv_cc_broken_libstdcxx_visibility
=yes
29102 rm -f core conftest.err conftest.
$ac_objext \
29103 conftest
$ac_exeext conftest.
$ac_ext
29105 ac_cpp
='$CPP $CPPFLAGS'
29106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29110 CXXFLAGS
="$wx_save_CXXFLAGS"
29111 LDFLAGS
="$wx_save_LDFLAGS"
29114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29115 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29117 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29119 $as_echo_n "checking whether we can work around it... " >&6; }
29120 if ${wx_cv_cc_visibility_workaround+:} false
; then :
29121 $as_echo_n "(cached) " >&6
29125 ac_cpp
='$CXXCPP $CPPFLAGS'
29126 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29127 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29128 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29131 /* end confdefs.h. */
29133 #pragma GCC visibility push(default)
29135 #pragma GCC visibility pop
29141 std::string s("hello");
29148 if ac_fn_cxx_try_link
"$LINENO"; then :
29149 wx_cv_cc_visibility_workaround
=no
29151 wx_cv_cc_visibility_workaround
=yes
29153 rm -f core conftest.err conftest.
$ac_objext \
29154 conftest
$ac_exeext conftest.
$ac_ext
29156 ac_cpp
='$CPP $CPPFLAGS'
29157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29165 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29167 if test $wx_cv_cc_visibility_workaround = no
; then
29168 wx_cv_cc_visibility
=no
29173 if test $wx_cv_cc_visibility = yes; then
29174 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29176 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29177 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29181 CFLAGS_VISIBILITY
=""
29182 CXXFLAGS_VISIBILITY
=""
29190 if test "x$SUNCXX" = xyes
; then
29191 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
29192 WXCONFIG_RPATH
="-R\$libdir"
29195 *-*-linux* | *-*-gnu* )
29196 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29197 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29202 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29204 saveLdflags
="$LDFLAGS"
29205 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29207 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29209 /* end confdefs.h. */
29219 if ac_fn_c_try_link
"$LINENO"; then :
29221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29222 $as_echo "yes" >&6; }
29223 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29224 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29229 $as_echo "no" >&6; }
29230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29231 $as_echo_n "checking if the linker accepts -R... " >&6; }
29232 LDFLAGS
="$saveLdflags -Wl,-R,/"
29233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29234 /* end confdefs.h. */
29244 if ac_fn_c_try_link
"$LINENO"; then :
29246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29247 $as_echo "yes" >&6; }
29248 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29249 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29254 $as_echo "no" >&6; }
29257 rm -f core conftest.err conftest.
$ac_objext \
29258 conftest
$ac_exeext conftest.
$ac_ext
29261 rm -f core conftest.err conftest.
$ac_objext \
29262 conftest
$ac_exeext conftest.
$ac_ext
29263 LDFLAGS
="$saveLdflags"
29267 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29268 if test "$install_name_tool" -a -x "$install_name_tool"; then
29269 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29270 cat <<EOF >change-install-names
29272 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29274 for dep in \${libnames} ; do
29275 changes="\${changes} -change \${4}/\${dep} \${3}/\${dep}"
29277 for i in \${libnames} ; do
29278 ${HOST_PREFIX}install_name_tool \${changes} -id \${3}/\${i} \${1}/\${i}
29280 ${HOST_PREFIX}install_name_tool \${changes} \${2}/wxrc-${WX_RELEASE}
29282 chmod +x change
-install-names
29283 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \${DESTDIR}\${bindir} \${libdir} \$(wx_top_builddir)/lib"
29286 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29289 *-*-cygwin* | *-*-mingw32* )
29293 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29294 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29300 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29302 if test $wxUSE_RPATH = "no"; then
29303 SAMPLES_RPATH_FLAG
=''
29304 DYLIB_PATH_POSTLINK
=''
29312 config_linkage_component
="-static"
29319 lib_unicode_suffix
=
29321 if test "$wxUSE_UNICODE" = "yes"; then
29322 lib_unicode_suffix
=u
29323 WX_CHARTYPE
="unicode"
29327 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29328 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29331 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29335 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29337 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29339 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29342 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29343 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29345 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29347 if test "${TOOLKIT_DIR}" = "os2"; then
29348 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29350 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29355 if test "$wxUSE_OLD_COCOA" = 1; then
29358 ac_cpp
='$CPP $CPPFLAGS'
29359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29366 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29368 /* end confdefs.h. */
29369 #include <AppKit/NSEvent.h>
29370 #include <CoreFoundation/CoreFoundation.h>
29380 if ac_fn_c_try_compile
"$LINENO"; then :
29381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29382 $as_echo "no" >&6; }
29384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29385 $as_echo "yes" >&6; }
29386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29387 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29389 /* end confdefs.h. */
29390 #define __Point__ 1
29391 #include <AppKit/NSEvent.h>
29392 #include <CoreFoundation/CoreFoundation.h>
29402 if ac_fn_c_try_compile
"$LINENO"; then :
29403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29404 $as_echo "yes" >&6; }
29405 $as_echo "#define __Point__ 1" >>confdefs.h
29409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29412 See \`config.log' for more details" "$LINENO" 5; }
29415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29420 ac_cpp
='$CPP $CPPFLAGS'
29421 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29422 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29423 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29428 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29429 if test "x$ac_cv_type_mode_t" = xyes
; then :
29433 cat >>confdefs.h
<<_ACEOF
29439 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29440 if test "x$ac_cv_type_off_t" = xyes
; then :
29444 cat >>confdefs.h
<<_ACEOF
29445 #define off_t long int
29450 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29451 if test "x$ac_cv_type_pid_t" = xyes
; then :
29455 cat >>confdefs.h
<<_ACEOF
29461 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29462 if test "x$ac_cv_type_size_t" = xyes
; then :
29466 cat >>confdefs.h
<<_ACEOF
29467 #define size_t unsigned int
29473 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29474 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29476 cat >>confdefs.h
<<_ACEOF
29477 #define HAVE_SSIZE_T 1
29485 ac_cpp
='$CXXCPP $CPPFLAGS'
29486 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29487 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29488 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29490 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29491 if ${wx_cv_size_t_is_uint+:} false
; then :
29492 $as_echo_n "(cached) " >&6
29495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29496 /* end confdefs.h. */
29497 #include <stddef.h>
29504 struct Foo { void foo(size_t); void foo(unsigned int); };
29512 if ac_fn_cxx_try_compile
"$LINENO"; then :
29513 wx_cv_size_t_is_uint
=no
29515 wx_cv_size_t_is_uint
=yes
29518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29523 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29525 if test "$wx_cv_size_t_is_uint" = "yes"; then
29526 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29530 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29531 if ${wx_cv_size_t_is_ulong+:} false
; then :
29532 $as_echo_n "(cached) " >&6
29534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29535 /* end confdefs.h. */
29536 #include <stddef.h>
29543 struct Foo { void foo(size_t); void foo(unsigned long); };
29551 if ac_fn_cxx_try_compile
"$LINENO"; then :
29552 wx_cv_size_t_is_ulong
=no
29554 wx_cv_size_t_is_ulong
=yes
29557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29561 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29563 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29564 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29570 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29571 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29572 $as_echo_n "(cached) " >&6
29574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29575 /* end confdefs.h. */
29583 struct Foo { void foo(wchar_t);
29584 void foo(unsigned short);
29585 void foo(unsigned int);
29586 void foo(unsigned long); };
29594 if ac_fn_cxx_try_compile
"$LINENO"; then :
29595 wx_cv_wchar_t_is_separate_type
=yes
29597 wx_cv_wchar_t_is_separate_type
=no
29600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29604 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29606 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29607 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29610 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29615 ac_cpp
='$CPP $CPPFLAGS'
29616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29622 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29623 if ${wx_cv_struct_pw_gecos+:} false
; then :
29624 $as_echo_n "(cached) " >&6
29627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29628 /* end confdefs.h. */
29642 if ac_fn_c_try_compile
"$LINENO"; then :
29644 wx_cv_struct_pw_gecos
=yes
29648 wx_cv_struct_pw_gecos
=no
29652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29657 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29659 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29660 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29667 for ac_func
in wcslen
29669 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29670 if test "x$ac_cv_func_wcslen" = xyes
; then :
29671 cat >>confdefs.h
<<_ACEOF
29672 #define HAVE_WCSLEN 1
29679 if test "$WCSLEN_FOUND" = 0; then
29680 if test "$TOOLKIT" = "MSW"; then
29681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29682 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29683 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29684 $as_echo_n "(cached) " >&6
29686 ac_check_lib_save_LIBS
=$LIBS
29687 LIBS
="-lmsvcrt $LIBS"
29688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29689 /* end confdefs.h. */
29691 /* Override any GCC internal prototype to avoid an error.
29692 Use char because int might match the return type of a GCC
29693 builtin and then its argument prototype would still apply. */
29706 if ac_fn_c_try_link
"$LINENO"; then :
29707 ac_cv_lib_msvcrt_wcslen
=yes
29709 ac_cv_lib_msvcrt_wcslen
=no
29711 rm -f core conftest.err conftest.
$ac_objext \
29712 conftest
$ac_exeext conftest.
$ac_ext
29713 LIBS
=$ac_check_lib_save_LIBS
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29716 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29717 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29723 $as_echo_n "checking for wcslen in -lw... " >&6; }
29724 if ${ac_cv_lib_w_wcslen+:} false
; then :
29725 $as_echo_n "(cached) " >&6
29727 ac_check_lib_save_LIBS
=$LIBS
29729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h. */
29732 /* Override any GCC internal prototype to avoid an error.
29733 Use char because int might match the return type of a GCC
29734 builtin and then its argument prototype would still apply. */
29747 if ac_fn_c_try_link
"$LINENO"; then :
29748 ac_cv_lib_w_wcslen
=yes
29750 ac_cv_lib_w_wcslen
=no
29752 rm -f core conftest.err conftest.
$ac_objext \
29753 conftest
$ac_exeext conftest.
$ac_ext
29754 LIBS
=$ac_check_lib_save_LIBS
29756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29757 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29758 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29768 if test "$WCSLEN_FOUND" = 1; then
29769 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29773 for ac_func
in wcsftime
29775 ac_fn_c_check_func
"$LINENO" "wcsftime" "ac_cv_func_wcsftime"
29776 if test "x$ac_cv_func_wcsftime" = xyes
; then :
29777 cat >>confdefs.h
<<_ACEOF
29778 #define HAVE_WCSFTIME 1
29785 if test "$wxUSE_MAC" != 1; then
29786 for ac_func
in strnlen wcsdup wcsnlen wcscasecmp wcsncasecmp
29788 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29789 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29790 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29791 cat >>confdefs.h
<<_ACEOF
29792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29800 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29801 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29804 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29806 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29808 cat >>confdefs.h
<<_ACEOF
29809 #define HAVE_MBSTATE_T 1
29812 for ac_func
in wcsrtombs
29814 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29815 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29816 cat >>confdefs.h
<<_ACEOF
29817 #define HAVE_WCSRTOMBS 1
29826 for ac_func
in snprintf vsnprintf vsscanf
29828 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29829 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29830 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29831 cat >>confdefs.h
<<_ACEOF
29832 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29840 ac_cpp
='$CXXCPP $CPPFLAGS'
29841 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29842 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29843 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29845 if test "$ac_cv_func_vsnprintf" = "yes"; then
29846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29847 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29848 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29849 $as_echo_n "(cached) " >&6
29852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29853 /* end confdefs.h. */
29856 #include <stdarg.h>
29864 vsnprintf(buf, 10u, "%s", ap);
29870 if ac_fn_cxx_try_compile
"$LINENO"; then :
29871 wx_cv_func_vsnprintf_decl
=yes
29873 wx_cv_func_vsnprintf_decl
=no
29876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29881 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29883 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29884 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29888 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29889 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
29890 $as_echo_n "(cached) " >&6
29893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29894 /* end confdefs.h. */
29897 #include <stdarg.h>
29899 #if __MSL__ >= 0x6000
29901 using namespace std;
29911 const char *fmt = "%s";
29912 vsnprintf(buf, 10u, fmt, ap);
29918 if ac_fn_cxx_try_compile
"$LINENO"; then :
29919 wx_cv_func_broken_vsnprintf_decl
=no
29921 wx_cv_func_broken_vsnprintf_decl
=yes
29924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29929 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29931 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29932 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29938 if test "$ac_cv_func_snprintf" = "yes"; then
29939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29940 $as_echo_n "checking for snprintf declaration... " >&6; }
29941 if ${wx_cv_func_snprintf_decl+:} false
; then :
29942 $as_echo_n "(cached) " >&6
29945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29946 /* end confdefs.h. */
29949 #include <stdarg.h>
29951 #if __MSL__ >= 0x6000
29953 using namespace std;
29962 snprintf(buf, 10u, "%s", "wx");
29968 if ac_fn_cxx_try_compile
"$LINENO"; then :
29969 wx_cv_func_snprintf_decl
=yes
29971 wx_cv_func_snprintf_decl
=no
29974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29979 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29981 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29982 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29986 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29989 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29990 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
29991 $as_echo_n "(cached) " >&6
29994 if test "$cross_compiling" = yes; then :
29996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29997 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29998 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29999 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
30000 wx_cv_func_snprintf_pos_params
=no
30004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30005 /* end confdefs.h. */
30012 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30013 if (strcmp ("2 3 1", buffer) == 0)
30019 if ac_fn_cxx_try_run
"$LINENO"; then :
30020 wx_cv_func_snprintf_pos_params
=no
30022 wx_cv_func_snprintf_pos_params
=yes
30024 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30025 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30032 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30034 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30035 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30041 if test "$ac_cv_func_vsscanf" = "yes"; then
30042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30043 $as_echo_n "checking for vsscanf declaration... " >&6; }
30044 if ${wx_cv_func_vsscanf_decl+:} false
; then :
30045 $as_echo_n "(cached) " >&6
30048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30049 /* end confdefs.h. */
30052 #include <stdarg.h>
30054 #if __MSL__ >= 0x6000
30056 using namespace std;
30066 vsscanf(buf, "%s", args);
30072 if ac_fn_cxx_try_compile
"$LINENO"; then :
30073 wx_cv_func_vsscanf_decl
=yes
30075 wx_cv_func_vsscanf_decl
=no
30078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30083 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30085 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30086 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30091 ac_cpp
='$CPP $CPPFLAGS'
30092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30097 if test "$wxUSE_UNICODE" = yes; then
30099 wchar_headers
="#include <stdio.h>
30100 #include <wchar.h>"
30103 for ac_header
in widec.h
30105 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30107 if test "x$ac_cv_header_widec_h" = xyes
; then :
30108 cat >>confdefs.h
<<_ACEOF
30109 #define HAVE_WIDEC_H 1
30116 if test "$ac_cv_header_widec_h" = "yes"; then
30117 wchar_headers
="$wchar_headers
30118 #include <widec.h>"
30123 for wx_func
in putws fputws wprintf vswprintf vswscanf
30125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30126 $as_echo_n "checking for $wx_func... " >&6; }
30127 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30128 $as_echo_n "(cached) " >&6
30131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30132 /* end confdefs.h. */
30136 $ac_includes_default
30152 if ac_fn_c_try_link
"$LINENO"; then :
30153 eval wx_cv_func_
$wx_func=yes
30155 eval wx_cv_func_
$wx_func=no
30157 rm -f core conftest.err conftest.
$ac_objext \
30158 conftest
$ac_exeext conftest.
$ac_ext
30161 eval ac_res
=\
$wx_cv_func_$wx_func
30162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30163 $as_echo "$ac_res" >&6; }
30165 if eval test \
$wx_cv_func_$wx_func = yes
30167 cat >>confdefs.h
<<_ACEOF
30168 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30180 $as_echo_n "checking for _vsnwprintf... " >&6; }
30181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30182 /* end confdefs.h. */
30192 if ac_fn_c_try_compile
"$LINENO"; then :
30193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30194 $as_echo "yes" >&6; }
30195 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30199 $as_echo "no" >&6; }
30201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30204 if test "$wxUSE_FILE" = "yes"; then
30206 for wx_func
in fsync
30208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30209 $as_echo_n "checking for $wx_func... " >&6; }
30210 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30211 $as_echo_n "(cached) " >&6
30214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30215 /* end confdefs.h. */
30219 $ac_includes_default
30235 if ac_fn_c_try_link
"$LINENO"; then :
30236 eval wx_cv_func_
$wx_func=yes
30238 eval wx_cv_func_
$wx_func=no
30240 rm -f core conftest.err conftest.
$ac_objext \
30241 conftest
$ac_exeext conftest.
$ac_ext
30244 eval ac_res
=\
$wx_cv_func_$wx_func
30245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30246 $as_echo "$ac_res" >&6; }
30248 if eval test \
$wx_cv_func_$wx_func = yes
30250 cat >>confdefs.h
<<_ACEOF
30251 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30264 ac_cpp
='$CXXCPP $CPPFLAGS'
30265 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30266 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30267 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30270 for wx_func
in round
30272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30273 $as_echo_n "checking for $wx_func... " >&6; }
30274 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30275 $as_echo_n "(cached) " >&6
30278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30279 /* end confdefs.h. */
30283 $ac_includes_default
30299 if ac_fn_cxx_try_link
"$LINENO"; then :
30300 eval wx_cv_func_
$wx_func=yes
30302 eval wx_cv_func_
$wx_func=no
30304 rm -f core conftest.err conftest.
$ac_objext \
30305 conftest
$ac_exeext conftest.
$ac_ext
30308 eval ac_res
=\
$wx_cv_func_$wx_func
30309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30310 $as_echo "$ac_res" >&6; }
30312 if eval test \
$wx_cv_func_$wx_func = yes
30314 cat >>confdefs.h
<<_ACEOF
30315 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30326 ac_cpp
='$CPP $CPPFLAGS'
30327 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30328 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30329 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30332 if test "$TOOLKIT" != "MSW"; then
30334 if test "$wxUSE_LIBICONV" != "no" ; then
30338 # Check whether --with-libiconv-prefix was given.
30339 if test "${with_libiconv_prefix+set}" = set; then :
30340 withval
=$with_libiconv_prefix;
30341 for dir
in `echo "$withval" | tr : ' '`; do
30342 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30343 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30350 $as_echo_n "checking for iconv... " >&6; }
30351 if ${am_cv_func_iconv+:} false
; then :
30352 $as_echo_n "(cached) " >&6
30355 am_cv_func_iconv
="no, consider installing GNU libiconv"
30357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30358 /* end confdefs.h. */
30359 #include <stdlib.h>
30364 iconv_t cd = iconv_open("","");
30365 iconv(cd,NULL,NULL,NULL,NULL);
30371 if ac_fn_c_try_link
"$LINENO"; then :
30372 am_cv_func_iconv
=yes
30374 rm -f core conftest.err conftest.
$ac_objext \
30375 conftest
$ac_exeext conftest.
$ac_ext
30376 if test "$am_cv_func_iconv" != yes; then
30377 am_save_LIBS
="$LIBS"
30378 LIBS
="$LIBS -liconv"
30379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30380 /* end confdefs.h. */
30381 #include <stdlib.h>
30386 iconv_t cd = iconv_open("","");
30387 iconv(cd,NULL,NULL,NULL,NULL);
30393 if ac_fn_c_try_link
"$LINENO"; then :
30394 am_cv_lib_iconv
=yes
30395 am_cv_func_iconv
=yes
30397 rm -f core conftest.err conftest.
$ac_objext \
30398 conftest
$ac_exeext conftest.
$ac_ext
30399 LIBS
="$am_save_LIBS"
30403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30404 $as_echo "$am_cv_func_iconv" >&6; }
30405 if test "$am_cv_func_iconv" = yes; then
30407 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30410 $as_echo_n "checking if iconv needs const... " >&6; }
30411 if ${wx_cv_func_iconv_const+:} false
; then :
30412 $as_echo_n "(cached) " >&6
30414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30415 /* end confdefs.h. */
30417 #include <stdlib.h>
30423 #if defined(__STDC__) || defined(__cplusplus)
30424 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30437 if ac_fn_c_try_compile
"$LINENO"; then :
30438 wx_cv_func_iconv_const
="no"
30440 wx_cv_func_iconv_const
="yes"
30443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30447 $as_echo "$wx_cv_func_iconv_const" >&6; }
30450 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30451 iconv_const
="const"
30455 cat >>confdefs.h
<<_ACEOF
30456 #define ICONV_CONST $iconv_const
30461 if test "$am_cv_lib_iconv" = yes; then
30466 LIBS
="$LIBICONV $LIBS"
30469 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30470 for ac_func
in sigaction
30472 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30473 if test "x$ac_cv_func_sigaction" = xyes
; then :
30474 cat >>confdefs.h
<<_ACEOF
30475 #define HAVE_SIGACTION 1
30482 if test "$ac_cv_func_sigaction" = "no"; then
30483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30484 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30485 wxUSE_ON_FATAL_EXCEPTION
=no
30488 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30490 $as_echo_n "checking for sa_handler type... " >&6; }
30491 if ${wx_cv_type_sa_handler+:} false
; then :
30492 $as_echo_n "(cached) " >&6
30496 ac_cpp
='$CXXCPP $CPPFLAGS'
30497 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30498 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30499 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30502 /* end confdefs.h. */
30503 #include <signal.h>
30508 extern void testSigHandler(int);
30510 struct sigaction sa;
30511 sa.sa_handler = testSigHandler;
30517 if ac_fn_cxx_try_compile
"$LINENO"; then :
30519 wx_cv_type_sa_handler
=int
30523 wx_cv_type_sa_handler
=void
30526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30528 ac_cpp
='$CPP $CPPFLAGS'
30529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30536 $as_echo "$wx_cv_type_sa_handler" >&6; }
30538 cat >>confdefs.h
<<_ACEOF
30539 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30545 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30547 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30548 if ${wx_cv_func_backtrace+:} false
; then :
30549 $as_echo_n "(cached) " >&6
30552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30553 $as_echo_n "checking for library containing backtrace... " >&6; }
30554 if ${ac_cv_search_backtrace+:} false
; then :
30555 $as_echo_n "(cached) " >&6
30557 ac_func_search_save_LIBS
=$LIBS
30558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30559 /* end confdefs.h. */
30561 /* Override any GCC internal prototype to avoid an error.
30562 Use char because int might match the return type of a GCC
30563 builtin and then its argument prototype would still apply. */
30571 return backtrace ();
30576 for ac_lib
in '' execinfo
; do
30577 if test -z "$ac_lib"; then
30578 ac_res
="none required"
30581 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
30583 if ac_fn_c_try_link
"$LINENO"; then :
30584 ac_cv_search_backtrace
=$ac_res
30586 rm -f core conftest.err conftest.
$ac_objext \
30588 if ${ac_cv_search_backtrace+:} false
; then :
30592 if ${ac_cv_search_backtrace+:} false
; then :
30595 ac_cv_search_backtrace
=no
30597 rm conftest.
$ac_ext
30598 LIBS
=$ac_func_search_save_LIBS
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30601 $as_echo "$ac_cv_search_backtrace" >&6; }
30602 ac_res
=$ac_cv_search_backtrace
30603 if test "$ac_res" != no
; then :
30604 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
30607 ac_cpp
='$CXXCPP $CPPFLAGS'
30608 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30609 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30610 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30613 /* end confdefs.h. */
30614 #include <execinfo.h>
30621 backtrace(trace, 1);
30622 messages = backtrace_symbols(trace, 1);
30628 if ac_fn_cxx_try_link
"$LINENO"; then :
30629 wx_cv_func_backtrace
=yes
30631 wx_cv_func_backtrace
=no
30634 rm -f core conftest.err conftest.
$ac_objext \
30635 conftest
$ac_exeext conftest.
$ac_ext
30637 ac_cpp
='$CPP $CPPFLAGS'
30638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30644 wx_cv_func_backtrace
=no
30651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30652 $as_echo "$wx_cv_func_backtrace" >&6; }
30654 if test "$wx_cv_func_backtrace" = "no"; then
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30656 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30657 wxUSE_STACKWALKER
=no
30659 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30661 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30662 if ${wx_cv_func_cxa_demangle+:} false
; then :
30663 $as_echo_n "(cached) " >&6
30667 ac_cpp
='$CXXCPP $CPPFLAGS'
30668 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30669 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30670 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30673 /* end confdefs.h. */
30674 #include <cxxabi.h>
30680 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30686 if ac_fn_cxx_try_link
"$LINENO"; then :
30687 wx_cv_func_cxa_demangle
=yes
30689 wx_cv_func_cxa_demangle
=no
30692 rm -f core conftest.err conftest.
$ac_objext \
30693 conftest
$ac_exeext conftest.
$ac_ext
30695 ac_cpp
='$CPP $CPPFLAGS'
30696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30704 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30706 wx_cv_func_cxa_demangle
=no
30709 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30710 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30716 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30718 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30719 wxUSE_STACKWALKER
=no
30723 for ac_func
in mkstemp mktemp
30725 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30726 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30727 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30728 cat >>confdefs.h
<<_ACEOF
30729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30737 $as_echo_n "checking for statfs... " >&6; }
30738 if ${wx_cv_func_statfs+:} false
; then :
30739 $as_echo_n "(cached) " >&6
30741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30742 /* end confdefs.h. */
30744 #if defined(__BSD__)
30745 #include <sys/param.h>
30746 #include <sys/mount.h>
30748 #include <sys/vfs.h>
30766 if ac_fn_c_try_compile
"$LINENO"; then :
30767 wx_cv_func_statfs
=yes
30769 wx_cv_func_statfs
=no
30772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30776 $as_echo "$wx_cv_func_statfs" >&6; }
30778 if test "$wx_cv_func_statfs" = "yes"; then
30779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30780 $as_echo_n "checking for statfs declaration... " >&6; }
30781 if ${wx_cv_func_statfs_decl+:} false
; then :
30782 $as_echo_n "(cached) " >&6
30785 ac_cpp
='$CXXCPP $CPPFLAGS'
30786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30791 /* end confdefs.h. */
30793 #if defined(__BSD__)
30794 #include <sys/param.h>
30795 #include <sys/mount.h>
30797 #include <sys/vfs.h>
30811 if ac_fn_cxx_try_compile
"$LINENO"; then :
30812 wx_cv_func_statfs_decl
=yes
30814 wx_cv_func_statfs_decl
=no
30817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30819 ac_cpp
='$CPP $CPPFLAGS'
30820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30827 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30829 if test "$wx_cv_func_statfs_decl" = "yes"; then
30830 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30834 wx_cv_type_statvfs_t
="struct statfs"
30835 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30839 $as_echo_n "checking for statvfs... " >&6; }
30840 if ${wx_cv_func_statvfs+:} false
; then :
30841 $as_echo_n "(cached) " >&6
30843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30844 /* end confdefs.h. */
30846 #include <stddef.h>
30847 #include <sys/statvfs.h>
30853 statvfs("/", NULL);
30859 if ac_fn_c_try_compile
"$LINENO"; then :
30860 wx_cv_func_statvfs
=yes
30862 wx_cv_func_statvfs
=no
30865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30869 $as_echo "$wx_cv_func_statvfs" >&6; }
30871 if test "$wx_cv_func_statvfs" = "yes"; then
30872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30873 $as_echo_n "checking for statvfs argument type... " >&6; }
30874 if ${wx_cv_type_statvfs_t+:} false
; then :
30875 $as_echo_n "(cached) " >&6
30878 ac_cpp
='$CXXCPP $CPPFLAGS'
30879 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30880 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30881 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30884 /* end confdefs.h. */
30886 #include <sys/statvfs.h>
30903 if ac_fn_cxx_try_compile
"$LINENO"; then :
30904 wx_cv_type_statvfs_t
=statvfs_t
30907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30908 /* end confdefs.h. */
30910 #include <sys/statvfs.h>
30927 if ac_fn_cxx_try_compile
"$LINENO"; then :
30928 wx_cv_type_statvfs_t
="struct statvfs"
30930 wx_cv_type_statvfs_t
="unknown"
30933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30939 ac_cpp
='$CPP $CPPFLAGS'
30940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30947 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30949 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30950 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30954 wx_cv_type_statvfs_t
="unknown"
30958 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30959 cat >>confdefs.h
<<_ACEOF
30960 #define WX_STATFS_T $wx_cv_type_statvfs_t
30964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30965 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30968 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30969 for ac_func
in fcntl flock
30971 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30972 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30973 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30974 cat >>confdefs.h
<<_ACEOF
30975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30982 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30984 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30985 wxUSE_SNGLINST_CHECKER
=no
30989 for ac_func
in setenv putenv
30991 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30992 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30993 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30994 cat >>confdefs.h
<<_ACEOF
30995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31001 if test "$ac_cv_func_setenv" = "yes"; then
31002 for ac_func
in unsetenv
31004 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
31005 if test "x$ac_cv_func_unsetenv" = xyes
; then :
31006 cat >>confdefs.h
<<_ACEOF
31007 #define HAVE_UNSETENV 1
31015 HAVE_SOME_SLEEP_FUNC
=0
31016 if test "$USE_BEOS" = 1; then
31017 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31019 HAVE_SOME_SLEEP_FUNC
=1
31022 if test "$USE_DARWIN" = 1; then
31023 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31025 HAVE_SOME_SLEEP_FUNC
=1
31028 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31030 for ac_func
in nanosleep
31032 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31033 if test "x$ac_cv_func_nanosleep" = xyes
; then :
31034 cat >>confdefs.h
<<_ACEOF
31035 #define HAVE_NANOSLEEP 1
31037 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31042 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31043 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
31044 $as_echo_n "(cached) " >&6
31046 ac_check_lib_save_LIBS
=$LIBS
31047 LIBS
="-lposix4 $LIBS"
31048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31049 /* end confdefs.h. */
31051 /* Override any GCC internal prototype to avoid an error.
31052 Use char because int might match the return type of a GCC
31053 builtin and then its argument prototype would still apply. */
31061 return nanosleep ();
31066 if ac_fn_c_try_link
"$LINENO"; then :
31067 ac_cv_lib_posix4_nanosleep
=yes
31069 ac_cv_lib_posix4_nanosleep
=no
31071 rm -f core conftest.err conftest.
$ac_objext \
31072 conftest
$ac_exeext conftest.
$ac_ext
31073 LIBS
=$ac_check_lib_save_LIBS
31075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31076 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31077 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
31079 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31081 POSIX4_LINK
=" -lposix4"
31086 for wx_func
in usleep
31088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31089 $as_echo_n "checking for $wx_func... " >&6; }
31090 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31091 $as_echo_n "(cached) " >&6
31094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31095 /* end confdefs.h. */
31099 $ac_includes_default
31115 if ac_fn_c_try_link
"$LINENO"; then :
31116 eval wx_cv_func_
$wx_func=yes
31118 eval wx_cv_func_
$wx_func=no
31120 rm -f core conftest.err conftest.
$ac_objext \
31121 conftest
$ac_exeext conftest.
$ac_ext
31124 eval ac_res
=\
$wx_cv_func_$wx_func
31125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31126 $as_echo "$ac_res" >&6; }
31128 if eval test \
$wx_cv_func_$wx_func = yes
31130 cat >>confdefs.h
<<_ACEOF
31131 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31138 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31155 for wx_func
in uname
31157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31158 $as_echo_n "checking for $wx_func... " >&6; }
31159 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31160 $as_echo_n "(cached) " >&6
31163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31164 /* end confdefs.h. */
31167 #include <sys/utsname.h>
31168 $ac_includes_default
31184 if ac_fn_c_try_link
"$LINENO"; then :
31185 eval wx_cv_func_
$wx_func=yes
31187 eval wx_cv_func_
$wx_func=no
31189 rm -f core conftest.err conftest.
$ac_objext \
31190 conftest
$ac_exeext conftest.
$ac_ext
31193 eval ac_res
=\
$wx_cv_func_$wx_func
31194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31195 $as_echo "$ac_res" >&6; }
31197 if eval test \
$wx_cv_func_$wx_func = yes
31199 cat >>confdefs.h
<<_ACEOF
31200 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31210 if test "$wx_cv_func_uname" != yes; then
31212 for wx_func
in gethostname
31214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31215 $as_echo_n "checking for $wx_func... " >&6; }
31216 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31217 $as_echo_n "(cached) " >&6
31220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31221 /* end confdefs.h. */
31225 $ac_includes_default
31241 if ac_fn_c_try_link
"$LINENO"; then :
31242 eval wx_cv_func_
$wx_func=yes
31244 eval wx_cv_func_
$wx_func=no
31246 rm -f core conftest.err conftest.
$ac_objext \
31247 conftest
$ac_exeext conftest.
$ac_ext
31250 eval ac_res
=\
$wx_cv_func_$wx_func
31251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31252 $as_echo "$ac_res" >&6; }
31254 if eval test \
$wx_cv_func_$wx_func = yes
31256 cat >>confdefs.h
<<_ACEOF
31257 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31270 for wx_func
in strtok_r
31272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31273 $as_echo_n "checking for $wx_func... " >&6; }
31274 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31275 $as_echo_n "(cached) " >&6
31278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31279 /* end confdefs.h. */
31283 $ac_includes_default
31299 if ac_fn_c_try_link
"$LINENO"; then :
31300 eval wx_cv_func_
$wx_func=yes
31302 eval wx_cv_func_
$wx_func=no
31304 rm -f core conftest.err conftest.
$ac_objext \
31305 conftest
$ac_exeext conftest.
$ac_ext
31308 eval ac_res
=\
$wx_cv_func_$wx_func
31309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31310 $as_echo "$ac_res" >&6; }
31312 if eval test \
$wx_cv_func_$wx_func = yes
31314 cat >>confdefs.h
<<_ACEOF
31315 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31327 for ac_func
in inet_addr
31329 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31330 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31331 cat >>confdefs.h
<<_ACEOF
31332 #define HAVE_INET_ADDR 1
31334 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31339 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31340 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31341 $as_echo_n "(cached) " >&6
31343 ac_check_lib_save_LIBS
=$LIBS
31345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31346 /* end confdefs.h. */
31348 /* Override any GCC internal prototype to avoid an error.
31349 Use char because int might match the return type of a GCC
31350 builtin and then its argument prototype would still apply. */
31358 return inet_addr ();
31363 if ac_fn_c_try_link
"$LINENO"; then :
31364 ac_cv_lib_nsl_inet_addr
=yes
31366 ac_cv_lib_nsl_inet_addr
=no
31368 rm -f core conftest.err conftest.
$ac_objext \
31369 conftest
$ac_exeext conftest.
$ac_ext
31370 LIBS
=$ac_check_lib_save_LIBS
31372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31373 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31374 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31379 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31380 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31381 $as_echo_n "(cached) " >&6
31383 ac_check_lib_save_LIBS
=$LIBS
31384 LIBS
="-lresolv $LIBS"
31385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31386 /* end confdefs.h. */
31388 /* Override any GCC internal prototype to avoid an error.
31389 Use char because int might match the return type of a GCC
31390 builtin and then its argument prototype would still apply. */
31398 return inet_addr ();
31403 if ac_fn_c_try_link
"$LINENO"; then :
31404 ac_cv_lib_resolv_inet_addr
=yes
31406 ac_cv_lib_resolv_inet_addr
=no
31408 rm -f core conftest.err conftest.
$ac_objext \
31409 conftest
$ac_exeext conftest.
$ac_ext
31410 LIBS
=$ac_check_lib_save_LIBS
31412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31413 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31414 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31419 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31420 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31421 $as_echo_n "(cached) " >&6
31423 ac_check_lib_save_LIBS
=$LIBS
31424 LIBS
="-lsocket $LIBS"
31425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31426 /* end confdefs.h. */
31428 /* Override any GCC internal prototype to avoid an error.
31429 Use char because int might match the return type of a GCC
31430 builtin and then its argument prototype would still apply. */
31438 return inet_addr ();
31443 if ac_fn_c_try_link
"$LINENO"; then :
31444 ac_cv_lib_socket_inet_addr
=yes
31446 ac_cv_lib_socket_inet_addr
=no
31448 rm -f core conftest.err conftest.
$ac_objext \
31449 conftest
$ac_exeext conftest.
$ac_ext
31450 LIBS
=$ac_check_lib_save_LIBS
31452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31453 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31454 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31473 for ac_func
in inet_aton
31475 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31476 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31477 cat >>confdefs.h
<<_ACEOF
31478 #define HAVE_INET_ATON 1
31480 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31484 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31486 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31487 if eval \
${$as_ac_Lib+:} false
; then :
31488 $as_echo_n "(cached) " >&6
31490 ac_check_lib_save_LIBS
=$LIBS
31491 LIBS
="-l$INET_LINK $LIBS"
31492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31493 /* end confdefs.h. */
31495 /* Override any GCC internal prototype to avoid an error.
31496 Use char because int might match the return type of a GCC
31497 builtin and then its argument prototype would still apply. */
31505 return inet_aton ();
31510 if ac_fn_c_try_link
"$LINENO"; then :
31511 eval "$as_ac_Lib=yes"
31513 eval "$as_ac_Lib=no"
31515 rm -f core conftest.err conftest.
$ac_objext \
31516 conftest
$ac_exeext conftest.
$ac_ext
31517 LIBS
=$ac_check_lib_save_LIBS
31519 eval ac_res
=\$
$as_ac_Lib
31520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31521 $as_echo "$ac_res" >&6; }
31522 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31523 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31532 if test "x$INET_LINK" != "x"; then
31533 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31535 INET_LINK
=" -l$INET_LINK"
31539 for wx_func
in fdopen
31541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31542 $as_echo_n "checking for $wx_func... " >&6; }
31543 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31544 $as_echo_n "(cached) " >&6
31547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31548 /* end confdefs.h. */
31552 $ac_includes_default
31568 if ac_fn_c_try_link
"$LINENO"; then :
31569 eval wx_cv_func_
$wx_func=yes
31571 eval wx_cv_func_
$wx_func=no
31573 rm -f core conftest.err conftest.
$ac_objext \
31574 conftest
$ac_exeext conftest.
$ac_ext
31577 eval ac_res
=\
$wx_cv_func_$wx_func
31578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31579 $as_echo "$ac_res" >&6; }
31581 if eval test \
$wx_cv_func_$wx_func = yes
31583 cat >>confdefs.h
<<_ACEOF
31584 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31595 if test "$wxUSE_TARSTREAM" = "yes"; then
31597 for wx_func
in sysconf
31599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31600 $as_echo_n "checking for $wx_func... " >&6; }
31601 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31602 $as_echo_n "(cached) " >&6
31605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31606 /* end confdefs.h. */
31610 $ac_includes_default
31626 if ac_fn_c_try_link
"$LINENO"; then :
31627 eval wx_cv_func_
$wx_func=yes
31629 eval wx_cv_func_
$wx_func=no
31631 rm -f core conftest.err conftest.
$ac_objext \
31632 conftest
$ac_exeext conftest.
$ac_ext
31635 eval ac_res
=\
$wx_cv_func_$wx_func
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31637 $as_echo "$ac_res" >&6; }
31639 if eval test \
$wx_cv_func_$wx_func = yes
31641 cat >>confdefs.h
<<_ACEOF
31642 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31654 for wx_func
in getpwuid_r
31656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31657 $as_echo_n "checking for $wx_func... " >&6; }
31658 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31659 $as_echo_n "(cached) " >&6
31662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31663 /* end confdefs.h. */
31670 $ac_includes_default
31680 struct passwd pw, *ppw;
31682 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31690 if ac_fn_c_try_link
"$LINENO"; then :
31691 eval wx_cv_func_
$wx_func=yes
31693 eval wx_cv_func_
$wx_func=no
31695 rm -f core conftest.err conftest.
$ac_objext \
31696 conftest
$ac_exeext conftest.
$ac_ext
31699 eval ac_res
=\
$wx_cv_func_$wx_func
31700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31701 $as_echo "$ac_res" >&6; }
31703 if eval test \
$wx_cv_func_$wx_func = yes
31705 cat >>confdefs.h
<<_ACEOF
31706 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31718 for wx_func
in getgrgid_r
31720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31721 $as_echo_n "checking for $wx_func... " >&6; }
31722 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31723 $as_echo_n "(cached) " >&6
31726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31727 /* end confdefs.h. */
31734 $ac_includes_default
31744 struct group grp, *pgrp;
31746 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31754 if ac_fn_c_try_link
"$LINENO"; then :
31755 eval wx_cv_func_
$wx_func=yes
31757 eval wx_cv_func_
$wx_func=no
31759 rm -f core conftest.err conftest.
$ac_objext \
31760 conftest
$ac_exeext conftest.
$ac_ext
31763 eval ac_res
=\
$wx_cv_func_$wx_func
31764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31765 $as_echo "$ac_res" >&6; }
31767 if eval test \
$wx_cv_func_$wx_func = yes
31769 cat >>confdefs.h
<<_ACEOF
31770 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31786 cat >confcache
<<\_ACEOF
31787 # This file is a shell script that caches the results of configure
31788 # tests run on this system so they can be shared between configure
31789 # scripts and configure runs, see configure's option --config-cache.
31790 # It is not useful on other systems. If it contains results you don't
31791 # want to keep, you may remove or edit it.
31793 # config.status only pays attention to the cache file if you give it
31794 # the --recheck option to rerun configure.
31796 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31797 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31798 # following values.
31802 # The following way of writing the cache mishandles newlines in values,
31803 # but we know of no workaround that is simple, portable, and efficient.
31804 # So, we kill variables containing newlines.
31805 # Ultrix sh set writes to stderr and can't be redirected directly,
31806 # and sets the high bit in the cache file unless we assign to the vars.
31808 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31809 eval ac_val
=\$
$ac_var
31813 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31814 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31817 _
| IFS
| as_nl
) ;; #(
31818 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31819 *) { eval $ac_var=; unset $ac_var;} ;;
31825 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31826 *${as_nl}ac_space
=\
*)
31827 # `set' does not quote correctly, so add quotes: double-quote
31828 # substitution turns \\\\ into \\, and sed turns \\ into \.
31831 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31834 # `set' quotes correctly as required by POSIX, so do not add quotes.
31835 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31844 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31846 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31848 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31849 if test -w "$cache_file"; then
31850 if test "x$cache_file" != "x/dev/null"; then
31851 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31852 $as_echo "$as_me: updating cache $cache_file" >&6;}
31853 if test ! -f "$cache_file" || test -h "$cache_file"; then
31854 cat confcache
>"$cache_file"
31856 case $cache_file in #(
31858 mv -f confcache
"$cache_file"$$
&&
31859 mv -f "$cache_file"$$
"$cache_file" ;; #(
31861 mv -f confcache
"$cache_file" ;;
31866 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31867 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31873 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31879 if test "$wxUSE_THREADS" = "yes" ; then
31880 if test "$USE_BEOS" = 1; then
31881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31882 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31887 if test "$wxUSE_THREADS" = "yes" ; then
31890 THREAD_OPTS
="-pthread"
31891 if test "x$SUNCXX" = xyes
; then
31892 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31896 *-*-solaris2* | *-*-sunos4* )
31897 if test "x$GCC" = "xyes"; then
31898 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31902 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31904 *-*-darwin* | *-*-cygwin* )
31908 THREAD_OPTS
="pthreads"
31911 if test "x$GCC" = "xyes"; then
31912 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
31920 if test "x$GCC" = "xyes"; then
31930 if test "x$GCC" != "xyes"; then
31931 THREAD_OPTS
="-Ethread"
31938 THREAD_OPTS
="none pthread"
31942 THREAD_OPTS
="$THREAD_OPTS pthread none"
31947 for flag
in $THREAD_OPTS; do
31950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31951 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31956 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31957 THREADS_CFLAGS
="$flag"
31961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31962 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31963 THREADS_LINK
="-l$flag"
31968 save_CFLAGS
="$CFLAGS"
31969 LIBS
="$THREADS_LINK $LIBS"
31970 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31973 /* end confdefs.h. */
31974 #include <pthread.h>
31978 pthread_create(0,0,0,0);
31983 if ac_fn_c_try_link
"$LINENO"; then :
31986 rm -f core conftest.err conftest.
$ac_objext \
31987 conftest
$ac_exeext conftest.
$ac_ext
31990 CFLAGS
="$save_CFLAGS"
31992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31993 $as_echo "$THREADS_OK" >&6; }
31994 if test "x$THREADS_OK" = "xyes"; then
32002 if test "x$THREADS_OK" != "xyes"; then
32004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
32005 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32007 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
32008 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
32009 LIBS
="$THREADS_LINK $LIBS"
32011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32012 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32016 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32017 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32018 flag
="-D_THREAD_SAFE"
32021 flag
="-D_THREAD_SAFE"
32024 flag
="-D_REENTRANT"
32025 if test "x$GCC" != "xyes"; then
32026 flag
="$flag -D_RWSTD_MULTI_THREAD"
32029 *solaris
* | alpha
*-osf*)
32030 flag
="-D_REENTRANT"
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32034 $as_echo "${flag}" >&6; }
32035 if test "x$flag" != xno
; then
32036 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32039 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32043 if test "$wxUSE_THREADS" = "yes" ; then
32044 for ac_func
in pthread_setconcurrency
32046 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32047 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
32048 cat >>confdefs.h
<<_ACEOF
32049 #define HAVE_PTHREAD_SETCONCURRENCY 1
32051 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32055 for ac_func
in thr_setconcurrency
32057 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32058 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
32059 cat >>confdefs.h
<<_ACEOF
32060 #define HAVE_THR_SETCONCURRENCY 1
32062 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32066 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32076 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32077 if ${wx_cv_func_pthread_cleanup+:} false
; then :
32078 $as_echo_n "(cached) " >&6
32082 ac_cpp
='$CXXCPP $CPPFLAGS'
32083 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32084 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32085 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32088 /* end confdefs.h. */
32089 #include <pthread.h>
32090 void ThreadCleanupFunc(void *p);
32097 pthread_cleanup_push(ThreadCleanupFunc, p);
32098 pthread_cleanup_pop(0);
32104 if ac_fn_cxx_try_compile
"$LINENO"; then :
32106 wx_cv_func_pthread_cleanup
=yes
32110 wx_cv_func_pthread_cleanup
=no
32114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32116 ac_cpp
='$CPP $CPPFLAGS'
32117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32124 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32125 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32126 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32130 for ac_header
in sched.h
32132 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32134 if test "x$ac_cv_header_sched_h" = xyes
; then :
32135 cat >>confdefs.h
<<_ACEOF
32136 #define HAVE_SCHED_H 1
32143 if test "$ac_cv_header_sched_h" = "yes"; then
32144 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32145 if test "x$ac_cv_func_sched_yield" = xyes
; then :
32146 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32151 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32152 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
32153 $as_echo_n "(cached) " >&6
32155 ac_check_lib_save_LIBS
=$LIBS
32156 LIBS
="-lposix4 $LIBS"
32157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32158 /* end confdefs.h. */
32160 /* Override any GCC internal prototype to avoid an error.
32161 Use char because int might match the return type of a GCC
32162 builtin and then its argument prototype would still apply. */
32166 char sched_yield ();
32170 return sched_yield ();
32175 if ac_fn_c_try_link
"$LINENO"; then :
32176 ac_cv_lib_posix4_sched_yield
=yes
32178 ac_cv_lib_posix4_sched_yield
=no
32180 rm -f core conftest.err conftest.
$ac_objext \
32181 conftest
$ac_exeext conftest.
$ac_ext
32182 LIBS
=$ac_check_lib_save_LIBS
32184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32185 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32186 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
32187 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32188 POSIX4_LINK
=" -lposix4"
32190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32191 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32202 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32203 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
32204 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32205 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
32206 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32207 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
32210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32211 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32212 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
32213 $as_echo_n "(cached) " >&6
32215 ac_check_lib_save_LIBS
=$LIBS
32216 LIBS
="-lposix4 $LIBS"
32217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32218 /* end confdefs.h. */
32220 /* Override any GCC internal prototype to avoid an error.
32221 Use char because int might match the return type of a GCC
32222 builtin and then its argument prototype would still apply. */
32226 char sched_get_priority_max ();
32230 return sched_get_priority_max ();
32235 if ac_fn_c_try_link
"$LINENO"; then :
32236 ac_cv_lib_posix4_sched_get_priority_max
=yes
32238 ac_cv_lib_posix4_sched_get_priority_max
=no
32240 rm -f core conftest.err conftest.
$ac_objext \
32241 conftest
$ac_exeext conftest.
$ac_ext
32242 LIBS
=$ac_check_lib_save_LIBS
32244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32245 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32246 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
32249 POSIX4_LINK
=" -lposix4"
32263 if test "$HAVE_PRIOR_FUNCS" = 1; then
32264 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32268 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32271 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32272 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
32273 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32277 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32281 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32282 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
32283 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32287 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32291 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32292 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32293 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32300 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32301 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32302 $as_echo_n "(cached) " >&6
32305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32306 /* end confdefs.h. */
32307 #include <pthread.h>
32312 pthread_mutexattr_t attr;
32313 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32319 if ac_fn_c_try_compile
"$LINENO"; then :
32320 wx_cv_type_pthread_mutexattr_t
=yes
32322 wx_cv_type_pthread_mutexattr_t
=no
32325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32329 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32331 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32332 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32336 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32337 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32338 $as_echo_n "(cached) " >&6
32341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32342 /* end confdefs.h. */
32343 #include <pthread.h>
32348 pthread_mutexattr_t attr;
32349 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32355 if ac_fn_c_try_compile
"$LINENO"; then :
32356 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32358 wx_cv_func_pthread_mutexattr_settype_decl
=no
32361 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32365 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32366 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32367 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32372 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32373 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32374 $as_echo_n "(cached) " >&6
32377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32378 /* end confdefs.h. */
32379 #include <pthread.h>
32384 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32390 if ac_fn_c_try_compile
"$LINENO"; then :
32392 wx_cv_type_pthread_rec_mutex_init
=yes
32396 wx_cv_type_pthread_rec_mutex_init
=no
32400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32404 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32405 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32406 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32410 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32414 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32415 if test "$USE_NETBSD" = 1; then
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32417 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32418 wxUSE_COMPILER_TLS
=no
32420 wxUSE_COMPILER_TLS
=yes
32424 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32426 $as_echo_n "checking for __thread keyword... " >&6; }
32427 if ${wx_cv_cc___thread+:} 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 static __thread int n = 0;
32439 static __thread int *p = 0;
32445 if ac_fn_c_try_compile
"$LINENO"; then :
32446 wx_cv_cc___thread
=yes
32448 wx_cv_cc___thread
=no
32451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32456 $as_echo "$wx_cv_cc___thread" >&6; }
32458 if test "$wx_cv_cc___thread" = "yes"; then
32464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32465 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32467 if test "x$GCC" = "xyes" ; then :
32469 if test -z "" ; then :
32471 ax_gcc_option_test
="int main()
32478 ax_gcc_option_test
=""
32482 # Dump the test program to file
32483 cat <<EOF > conftest.c
32484 $ax_gcc_option_test
32487 # Dump back the file to the log, useful for debugging purposes
32488 { ac_try
='cat conftest.c 1>&5'
32489 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32490 (eval $ac_try) 2>&5
32492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32493 test $ac_status = 0; }; }
32495 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32496 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32497 (eval $ac_try) 2>&5
32499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32500 test $ac_status = 0; }; } ; then :
32502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32503 $as_echo "yes" >&6; }
32505 ax_gcc_version_option
=yes
32510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32511 $as_echo "no" >&6; }
32513 ax_gcc_version_option
=no
32520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32521 $as_echo "no gcc available" >&6; }
32525 if test "x$GXX" = "xyes"; then :
32527 if test "x$ax_gxx_version_option" != "no"; then :
32529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32530 $as_echo_n "checking gxx version... " >&6; }
32531 if ${ax_cv_gxx_version+:} false
; then :
32532 $as_echo_n "(cached) " >&6
32535 ax_cv_gxx_version
="`$CXX -dumpversion`"
32536 if test "x$ax_cv_gxx_version" = "x"; then :
32538 ax_cv_gxx_version
=""
32543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32544 $as_echo "$ax_cv_gxx_version" >&6; }
32545 GXX_VERSION
=$ax_cv_gxx_version
32552 if test -n "$ax_cv_gxx_version"; then
32553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32554 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32555 case "$ax_cv_gxx_version" in
32557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32558 $as_echo "no, it's broken" >&6; }
32559 wx_cv_cc___thread
=no
32562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32563 $as_echo "yes, it works" >&6; }
32569 if test "$wx_cv_cc___thread" = "yes"; then
32570 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32575 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32577 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32578 if ${wx_cv_type_abi_forced_unwind+:} false
; then :
32579 $as_echo_n "(cached) " >&6
32583 ac_cpp
='$CXXCPP $CPPFLAGS'
32584 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32585 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32586 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32589 /* end confdefs.h. */
32590 #include <cxxabi.h>
32595 void foo(abi::__forced_unwind&);
32601 if ac_fn_cxx_try_compile
"$LINENO"; then :
32602 wx_cv_type_abi_forced_unwind
=yes
32604 wx_cv_type_abi_forced_unwind
=no
32607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32609 ac_cpp
='$CPP $CPPFLAGS'
32610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32618 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32620 wx_cv_type_abi_forced_unwind
=no
32623 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32624 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32630 if test "$wxUSE_THREADS" = "yes" ; then
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32634 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32635 if ${wx_cv_cflags_mthread+:} false
; then :
32636 $as_echo_n "(cached) " >&6
32639 CFLAGS_OLD
="$CFLAGS"
32640 CFLAGS
="-mthreads $CFLAGS"
32641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32642 /* end confdefs.h. */
32652 if ac_fn_c_try_compile
"$LINENO"; then :
32653 wx_cv_cflags_mthread
=yes
32655 wx_cv_cflags_mthread
=no
32658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32663 $as_echo "$wx_cv_cflags_mthread" >&6; }
32665 if test "$wx_cv_cflags_mthread" = "yes"; then
32666 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32667 LDFLAGS
="$LDFLAGS -mthreads"
32669 CFLAGS
="$CFLAGS_OLD"
32673 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32674 LDFLAGS
="$LDFLAGS -Zmt"
32680 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32681 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32682 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32686 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32687 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32688 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32696 ac_cpp
='$CPP $CPPFLAGS'
32697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32702 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32704 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32705 $as_echo_n "(cached) " >&6
32709 ################################################################
32711 ac_cv_func_which_gethostbyname_r
=unknown
32714 # ONE ARGUMENT (sanity check)
32717 # This should fail, as there is no variant of gethostbyname_r() that takes
32718 # a single argument. If it actually compiles, then we can assume that
32719 # netdb.h is not declaring the function, and the compiler is thereby
32720 # assuming an implicit prototype. In which case, we're out of luck.
32722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32723 /* end confdefs.h. */
32729 char *name = "www.gnu.org";
32730 (void)gethostbyname_r(name) /* ; */
32737 if ac_fn_c_try_compile
"$LINENO"; then :
32738 ac_cv_func_which_gethostbyname_r
=no
32741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32748 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32751 /* end confdefs.h. */
32757 char *name = "www.gnu.org";
32758 struct hostent ret, *retp;
32762 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32769 if ac_fn_c_try_compile
"$LINENO"; then :
32770 ac_cv_func_which_gethostbyname_r
=six
32773 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32782 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32785 /* end confdefs.h. */
32791 char *name = "www.gnu.org";
32792 struct hostent ret;
32796 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32803 if ac_fn_c_try_compile
"$LINENO"; then :
32804 ac_cv_func_which_gethostbyname_r
=five
32807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32813 # (e.g. AIX, HP-UX, Tru64)
32816 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32819 /* end confdefs.h. */
32825 char *name = "www.gnu.org";
32826 struct hostent ret;
32827 struct hostent_data data;
32828 (void)gethostbyname_r(name, &ret, &data) /* ; */
32835 if ac_fn_c_try_compile
"$LINENO"; then :
32836 ac_cv_func_which_gethostbyname_r
=three
32839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32843 ################################################################
32848 case "$ac_cv_func_which_gethostbyname_r" in
32850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32851 $as_echo "three" >&6; }
32852 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32858 $as_echo "five" >&6; }
32859 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32865 $as_echo "six" >&6; }
32866 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32872 $as_echo "cannot find function declaration in netdb.h" >&6; }
32876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32877 $as_echo "can't tell" >&6; }
32881 as_fn_error $?
"internal error" "$LINENO" 5
32886 ac_cpp
='$CPP $CPPFLAGS'
32887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32893 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32894 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32895 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32896 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
32897 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32904 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32905 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
32906 $as_echo_n "(cached) " >&6
32910 ac_cpp
='$CXXCPP $CPPFLAGS'
32911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32917 /* end confdefs.h. */
32925 struct servent *se, *res;
32928 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32934 if ac_fn_cxx_try_compile
"$LINENO"; then :
32935 ac_cv_func_which_getservbyname_r
=six
32938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32939 /* end confdefs.h. */
32947 struct servent *se;
32950 (void) getservbyname_r(name, proto, se, buffer, buflen)
32956 if ac_fn_cxx_try_compile
"$LINENO"; then :
32957 ac_cv_func_which_getservbyname_r
=five
32960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32961 /* end confdefs.h. */
32969 struct servent *se;
32970 struct servent_data data;
32971 (void) getservbyname_r(name, proto, se, &data);
32977 if ac_fn_cxx_try_compile
"$LINENO"; then :
32978 ac_cv_func_which_getservbyname_r
=four
32980 ac_cv_func_which_getservbyname_r
=no
32983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32993 ac_cpp
='$CPP $CPPFLAGS'
32994 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32995 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32996 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
33002 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
33004 if test $ac_cv_func_which_getservbyname_r = six
; then
33005 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
33007 elif test $ac_cv_func_which_getservbyname_r = five
; then
33008 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33010 elif test $ac_cv_func_which_getservbyname_r = four
; then
33011 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33016 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33017 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33018 for ac_func
in getservbyname
33020 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33021 if test "x$ac_cv_func_getservbyname" = xyes
; then :
33022 cat >>confdefs.h
<<_ACEOF
33023 #define HAVE_GETSERVBYNAME 1
33025 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33032 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33035 if test "$wxUSE_THREADS" = "yes"; then
33036 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33041 if test "$wx_cv_func_strtok_r" = "yes"; then
33042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33043 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33044 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33045 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33047 $as_echo "yes" >&6; }
33049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33050 $as_echo "no" >&6; }
33055 if test "$WXGTK3" = 1 ; then
33056 cat >>confdefs.h
<<_ACEOF
33057 #define __WXGTK3__ 1
33062 if test "$WXGTK2" = 1 ; then
33063 cat >>confdefs.h
<<_ACEOF
33064 #define __WXGTK20__ $WXGTK2
33069 if test "$WXGTK127" = 1 ; then
33070 cat >>confdefs.h
<<_ACEOF
33071 #define __WXGTK127__ $WXGTK127
33076 if test "$WXGPE" = 1 ; then
33077 cat >>confdefs.h
<<_ACEOF
33078 #define __WXGPE__ $WXGPE
33084 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33086 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33087 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33091 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33092 wxUSE_DEBUG_INFO
=yes
33093 if test "$GCC" = yes; then
33094 DEBUG_CFLAGS
="-ggdb"
33098 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33099 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33101 if test "$wxUSE_GTK" = 1 ; then
33102 if test "$WXGTK2" = 1 ; then
33103 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33105 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33110 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33111 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33113 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33115 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33117 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33120 if test "$wxUSE_DMALLOC" = "yes" ; then
33121 DMALLOC_LIBS
="-ldmallocthcxx"
33125 if test "$wxUSE_PROFILE" = "yes" ; then
33126 PROFILE_FLAGS
=" -pg"
33129 if test "$GCC" = "yes" ; then
33130 if test "$wxUSE_NO_RTTI" = "yes" ; then
33131 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33133 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33134 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
33136 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33137 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
33142 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
33145 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
33151 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33153 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33155 if test "$wxUSE_OPTIMISE" = "no" ; then
33156 if test "$GCC" = yes ; then
33157 OPTIMISE_CFLAGS
="-O0"
33160 if test "$GCC" = yes ; then
33162 *-pc-os2_emx | *-pc-os2-emx )
33163 OPTIMISE_CFLAGS
="-O2"
33166 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
33170 OPTIMISE_CFLAGS
="-O"
33176 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33177 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33180 WXWIN_COMPATIBILITY_2_8
="yes"
33183 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33184 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33189 if test "$wxUSE_GUI" = "yes"; then
33190 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33196 if test "$wxUSE_UNIX" = "yes"; then
33197 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33202 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33206 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33207 if test "$USE_DOS" = 1; then
33210 for ac_func
in dlopen
33212 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
33213 if test "x$ac_cv_func_dlopen" = xyes
; then :
33214 cat >>confdefs.h
<<_ACEOF
33215 #define HAVE_DLOPEN 1
33218 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33225 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33226 if ${ac_cv_lib_dl_dlopen+:} false
; then :
33227 $as_echo_n "(cached) " >&6
33229 ac_check_lib_save_LIBS
=$LIBS
33231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33232 /* end confdefs.h. */
33234 /* Override any GCC internal prototype to avoid an error.
33235 Use char because int might match the return type of a GCC
33236 builtin and then its argument prototype would still apply. */
33249 if ac_fn_c_try_link
"$LINENO"; then :
33250 ac_cv_lib_dl_dlopen
=yes
33252 ac_cv_lib_dl_dlopen
=no
33254 rm -f core conftest.err conftest.
$ac_objext \
33255 conftest
$ac_exeext conftest.
$ac_ext
33256 LIBS
=$ac_check_lib_save_LIBS
33258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33259 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33260 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
33262 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33265 DL_LINK
=" -ldl$DL_LINK"
33269 for ac_func
in shl_load
33271 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
33272 if test "x$ac_cv_func_shl_load" = xyes
; then :
33273 cat >>confdefs.h
<<_ACEOF
33274 #define HAVE_SHL_LOAD 1
33277 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33284 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33285 if ${ac_cv_lib_shl_load_dld+:} false
; then :
33286 $as_echo_n "(cached) " >&6
33288 ac_check_lib_save_LIBS
=$LIBS
33289 LIBS
="-lshl_load $LIBS"
33290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33291 /* end confdefs.h. */
33293 /* Override any GCC internal prototype to avoid an error.
33294 Use char because int might match the return type of a GCC
33295 builtin and then its argument prototype would still apply. */
33308 if ac_fn_c_try_link
"$LINENO"; then :
33309 ac_cv_lib_shl_load_dld
=yes
33311 ac_cv_lib_shl_load_dld
=no
33313 rm -f core conftest.err conftest.
$ac_objext \
33314 conftest
$ac_exeext conftest.
$ac_ext
33315 LIBS
=$ac_check_lib_save_LIBS
33317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33318 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33319 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
33322 DL_LINK
=" -ldld$DL_LINK"
33338 if test "$HAVE_DL_FUNCS" = 1; then
33339 for ac_func
in dlerror
33341 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33342 if test "x$ac_cv_func_dlerror" = xyes
; then :
33343 cat >>confdefs.h
<<_ACEOF
33344 #define HAVE_DLERROR 1
33346 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33351 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33352 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33353 $as_echo_n "(cached) " >&6
33355 ac_check_lib_save_LIBS
=$LIBS
33357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33358 /* end confdefs.h. */
33360 /* Override any GCC internal prototype to avoid an error.
33361 Use char because int might match the return type of a GCC
33362 builtin and then its argument prototype would still apply. */
33375 if ac_fn_c_try_link
"$LINENO"; then :
33376 ac_cv_lib_dl_dlerror
=yes
33378 ac_cv_lib_dl_dlerror
=no
33380 rm -f core conftest.err conftest.
$ac_objext \
33381 conftest
$ac_exeext conftest.
$ac_ext
33382 LIBS
=$ac_check_lib_save_LIBS
33384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33385 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33386 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33387 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33399 if test "$USE_DARWIN" = 1; then
33403 if test "$HAVE_DL_FUNCS" = 0; then
33404 if test "$HAVE_SHL_FUNCS" = 0; then
33405 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33407 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33408 wxUSE_DYNAMIC_LOADER
=no
33409 wxUSE_DYNLIB_CLASS
=no
33411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33412 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33419 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33420 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33423 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33424 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33430 if test "$wxUSE_PLUGINS" = "yes" ; then
33431 if test "$wxUSE_SHARED" = "no" ; then
33432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33433 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33436 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33438 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33441 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33443 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33446 if test "$wxUSE_PLUGINS" = "yes" ; then
33447 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33453 if test "$wxUSE_FSWATCHER" = "yes"; then
33454 if test "$wxUSE_MSW" != "1"; then
33455 if test "$wxUSE_UNIX" = "yes"; then
33456 for ac_header
in sys
/inotify.h
33458 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33460 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33461 cat >>confdefs.h
<<_ACEOF
33462 #define HAVE_SYS_INOTIFY_H 1
33469 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33470 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33473 for ac_header
in sys
/event.h
33475 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33477 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33478 cat >>confdefs.h
<<_ACEOF
33479 #define HAVE_SYS_EVENT_H 1
33486 if test "$ac_cv_header_sys_event_h" = "yes"; then
33487 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33497 if test "$wxUSE_THREADS" != "yes"; then
33498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33499 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33504 if test "$wxUSE_FSWATCHER" = "yes"; then
33505 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33510 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33515 if test "$wxUSE_STL" = "yes"; then
33516 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33520 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33521 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33525 if test "$wxUSE_ANY" = "yes"; then
33526 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33530 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33531 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33535 if test "$wxUSE_TIMER" = "yes"; then
33536 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33540 if test "$USE_UNIX" = 1 ; then
33541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33542 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33543 if ${ac_cv_header_sys_soundcard+:} false
; then :
33544 $as_echo_n "(cached) " >&6
33547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33548 /* end confdefs.h. */
33550 #include <sys/ioctl.h>
33551 #include <sys/soundcard.h>
33557 ioctl(0, SNDCTL_DSP_SPEED, 0);
33563 if ac_fn_c_try_link
"$LINENO"; then :
33564 ac_cv_header_sys_soundcard
=yes
33568 LIBS
="$saveLibs -lossaudio"
33569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33570 /* end confdefs.h. */
33572 #include <sys/ioctl.h>
33573 #include <sys/soundcard.h>
33579 ioctl(0, SNDCTL_DSP_SPEED, 0);
33585 if ac_fn_c_try_link
"$LINENO"; then :
33586 ac_cv_header_sys_soundcard
=yes
33590 ac_cv_header_sys_soundcard
=no
33594 rm -f core conftest.err conftest.
$ac_objext \
33595 conftest
$ac_exeext conftest.
$ac_ext
33599 rm -f core conftest.err conftest.
$ac_objext \
33600 conftest
$ac_exeext conftest.
$ac_ext
33603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33604 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33606 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33607 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33613 if test "$wxUSE_SOUND" = "yes"; then
33614 if test "$USE_UNIX" = 1 ; then
33615 if test "$wxUSE_LIBSDL" != "no"; then
33617 # Check whether --with-sdl-prefix was given.
33618 if test "${with_sdl_prefix+set}" = set; then :
33619 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33625 # Check whether --with-sdl-exec-prefix was given.
33626 if test "${with_sdl_exec_prefix+set}" = set; then :
33627 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33632 # Check whether --enable-sdltest was given.
33633 if test "${enable_sdltest+set}" = set; then :
33634 enableval
=$enable_sdltest;
33640 if test x
$sdl_exec_prefix != x
; then
33641 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33642 if test x
${SDL_CONFIG+set} != xset
; then
33643 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33646 if test x
$sdl_prefix != x
; then
33647 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33648 if test x
${SDL_CONFIG+set} != xset
; then
33649 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33653 if test "x$prefix" != xNONE
; then
33654 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33656 # Extract the first word of "sdl-config", so it can be a program name with args.
33657 set dummy sdl
-config; ac_word
=$2
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33659 $as_echo_n "checking for $ac_word... " >&6; }
33660 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33661 $as_echo_n "(cached) " >&6
33663 case $SDL_CONFIG in
33665 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33669 for as_dir
in $PATH
33672 test -z "$as_dir" && as_dir
=.
33673 for ac_exec_ext
in '' $ac_executable_extensions; do
33674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33675 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33683 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33687 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33688 if test -n "$SDL_CONFIG"; then
33689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33690 $as_echo "$SDL_CONFIG" >&6; }
33692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33693 $as_echo "no" >&6; }
33697 min_sdl_version
=1.2.0
33698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33699 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33701 if test "$SDL_CONFIG" = "no" ; then
33704 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33705 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33707 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33708 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33709 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33710 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33711 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33712 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33713 if test "x$enable_sdltest" = "xyes" ; then
33714 ac_save_CFLAGS
="$CFLAGS"
33715 ac_save_CXXFLAGS
="$CXXFLAGS"
33716 ac_save_LIBS
="$LIBS"
33717 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33718 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33719 LIBS
="$LIBS $SDL_LIBS"
33721 if test "$cross_compiling" = yes; then :
33722 echo $ac_n "cross compiling; assumed OK... $ac_c"
33724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33725 /* end confdefs.h. */
33728 #include <stdlib.h>
33729 #include <string.h>
33733 my_strdup (char *str)
33739 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33740 strcpy (new_str, str);
33748 int main (int argc, char *argv[])
33750 int major, minor, micro;
33753 /* This hangs on some systems (?)
33754 system ("touch conf.sdltest");
33756 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33758 /* HP/UX 9 (%@#!) writes to sscanf strings */
33759 tmp_version = my_strdup("$min_sdl_version");
33760 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33761 printf("%s, bad version string\n", "$min_sdl_version");
33765 if (($sdl_major_version > major) ||
33766 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33767 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33773 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33774 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33775 printf("*** best to upgrade to the required version.\n");
33776 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33777 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33778 printf("*** config.cache before re-running configure\n");
33785 if ac_fn_c_try_run
"$LINENO"; then :
33790 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33791 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33794 CFLAGS
="$ac_save_CFLAGS"
33795 CXXFLAGS
="$ac_save_CXXFLAGS"
33796 LIBS
="$ac_save_LIBS"
33799 if test "x$no_sdl" = x
; then
33800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33801 $as_echo "yes" >&6; }
33803 EXTRALIBS_SDL
="$SDL_LIBS"
33804 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33805 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33806 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33811 $as_echo "no" >&6; }
33812 if test "$SDL_CONFIG" = "no" ; then
33813 echo "*** The sdl-config script installed by SDL could not be found"
33814 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33815 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33816 echo "*** full path to sdl-config."
33818 if test -f conf.sdltest
; then
33821 echo "*** Could not run SDL test program, checking why..."
33822 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33823 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33824 LIBS
="$LIBS $SDL_LIBS"
33825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33826 /* end confdefs.h. */
33831 int main(int argc, char *argv[])
33834 #define main K_and_R_C_main
33844 if ac_fn_c_try_link
"$LINENO"; then :
33845 echo "*** The test program compiled, but did not run. This usually means"
33846 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33847 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33848 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33849 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33850 echo "*** is required on your system"
33852 echo "*** If you have an old version installed, it is best to remove it, although"
33853 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33855 echo "*** The test program failed to compile or link. See the file config.log for the"
33856 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33857 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33858 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33860 rm -f core conftest.err conftest.
$ac_objext \
33861 conftest
$ac_exeext conftest.
$ac_ext
33862 CFLAGS
="$ac_save_CFLAGS"
33863 CXXFLAGS
="$ac_save_CXXFLAGS"
33864 LIBS
="$ac_save_LIBS"
33875 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33882 if test "$wxUSE_SOUND" = "yes"; then
33883 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33888 if test "$WXGTK2" = 1; then
33891 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33892 if test -n "$ac_tool_prefix"; then
33893 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33894 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33896 $as_echo_n "checking for $ac_word... " >&6; }
33897 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
33898 $as_echo_n "(cached) " >&6
33900 case $PKG_CONFIG in
33902 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33906 for as_dir
in $PATH
33909 test -z "$as_dir" && as_dir
=.
33910 for ac_exec_ext
in '' $ac_executable_extensions; do
33911 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33912 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33923 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33924 if test -n "$PKG_CONFIG"; then
33925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33926 $as_echo "$PKG_CONFIG" >&6; }
33928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33929 $as_echo "no" >&6; }
33934 if test -z "$ac_cv_path_PKG_CONFIG"; then
33935 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33936 # Extract the first word of "pkg-config", so it can be a program name with args.
33937 set dummy pkg
-config; ac_word
=$2
33938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33939 $as_echo_n "checking for $ac_word... " >&6; }
33940 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
33941 $as_echo_n "(cached) " >&6
33943 case $ac_pt_PKG_CONFIG in
33945 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33949 for as_dir
in $PATH
33952 test -z "$as_dir" && as_dir
=.
33953 for ac_exec_ext
in '' $ac_executable_extensions; do
33954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33955 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33966 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33967 if test -n "$ac_pt_PKG_CONFIG"; then
33968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33969 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33972 $as_echo "no" >&6; }
33975 if test "x$ac_pt_PKG_CONFIG" = x
; then
33978 case $cross_compiling:$ac_tool_warned in
33980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33982 ac_tool_warned
=yes ;;
33984 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33987 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33991 if test -n "$PKG_CONFIG"; then
33992 _pkg_min_version
=0.9.0
33993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33994 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33995 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33997 $as_echo "yes" >&6; }
33999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34000 $as_echo "no" >&6; }
34006 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34008 if test "$wxUSE_GTKPRINT" = "yes" ; then
34009 if test "$WXGTK3" = 1; then
34010 gtk_unix_print
="gtk+-unix-print-3.0"
34012 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
34016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34017 $as_echo_n "checking for GTKPRINT... " >&6; }
34019 if test -n "$PKG_CONFIG"; then
34020 if test -n "$GTKPRINT_CFLAGS"; then
34021 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
34023 if test -n "$PKG_CONFIG" && \
34024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34025 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34028 test $ac_status = 0; }; then
34029 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34037 if test -n "$PKG_CONFIG"; then
34038 if test -n "$GTKPRINT_LIBS"; then
34039 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
34041 if test -n "$PKG_CONFIG" && \
34042 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34043 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34046 test $ac_status = 0; }; then
34047 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34058 if test $pkg_failed = yes; then
34060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34061 _pkg_short_errors_supported
=yes
34063 _pkg_short_errors_supported
=no
34065 if test $_pkg_short_errors_supported = yes; then
34066 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34068 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34070 # Put the nasty error message in config.log where it belongs
34071 echo "$GTKPRINT_PKG_ERRORS" >&5
34074 { $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
34075 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34076 wxUSE_GTKPRINT
="no"
34079 elif test $pkg_failed = untried
; then
34081 { $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
34082 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34083 wxUSE_GTKPRINT
="no"
34087 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
34088 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
34089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34090 $as_echo "yes" >&6; }
34092 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34093 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
34094 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
34095 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34102 if test "$wxUSE_MIMETYPE" = "yes" ; then
34103 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34108 $as_echo_n "checking for GNOMEVFS... " >&6; }
34110 if test -n "$PKG_CONFIG"; then
34111 if test -n "$GNOMEVFS_CFLAGS"; then
34112 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
34114 if test -n "$PKG_CONFIG" && \
34115 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34116 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34119 test $ac_status = 0; }; then
34120 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34128 if test -n "$PKG_CONFIG"; then
34129 if test -n "$GNOMEVFS_LIBS"; then
34130 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
34132 if test -n "$PKG_CONFIG" && \
34133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34134 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34137 test $ac_status = 0; }; then
34138 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34149 if test $pkg_failed = yes; then
34151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34152 _pkg_short_errors_supported
=yes
34154 _pkg_short_errors_supported
=no
34156 if test $_pkg_short_errors_supported = yes; then
34157 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34159 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34161 # Put the nasty error message in config.log where it belongs
34162 echo "$GNOMEVFS_PKG_ERRORS" >&5
34165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34166 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34167 wxUSE_LIBGNOMEVFS
="no"
34170 elif test $pkg_failed = untried
; then
34172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34173 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34174 wxUSE_LIBGNOMEVFS
="no"
34178 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
34179 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34181 $as_echo "yes" >&6; }
34183 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34184 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
34185 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
34186 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34193 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34194 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34199 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34201 if test -n "$PKG_CONFIG"; then
34202 if test -n "$LIBNOTIFY_CFLAGS"; then
34203 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34205 if test -n "$PKG_CONFIG" && \
34206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34207 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34210 test $ac_status = 0; }; then
34211 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34219 if test -n "$PKG_CONFIG"; then
34220 if test -n "$LIBNOTIFY_LIBS"; then
34221 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34223 if test -n "$PKG_CONFIG" && \
34224 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34225 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34228 test $ac_status = 0; }; then
34229 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34240 if test $pkg_failed = yes; then
34242 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34243 _pkg_short_errors_supported
=yes
34245 _pkg_short_errors_supported
=no
34247 if test $_pkg_short_errors_supported = yes; then
34248 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34250 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34252 # Put the nasty error message in config.log where it belongs
34253 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34259 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34261 if test -n "$PKG_CONFIG"; then
34262 if test -n "$LIBNOTIFY_CFLAGS"; then
34263 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34265 if test -n "$PKG_CONFIG" && \
34266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34267 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34270 test $ac_status = 0; }; then
34271 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34279 if test -n "$PKG_CONFIG"; then
34280 if test -n "$LIBNOTIFY_LIBS"; then
34281 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34283 if test -n "$PKG_CONFIG" && \
34284 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34285 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34288 test $ac_status = 0; }; then
34289 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34300 if test $pkg_failed = yes; then
34302 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34303 _pkg_short_errors_supported
=yes
34305 _pkg_short_errors_supported
=no
34307 if test $_pkg_short_errors_supported = yes; then
34308 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34310 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34312 # Put the nasty error message in config.log where it belongs
34313 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34316 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34318 elif test $pkg_failed = untried
; then
34319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34320 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34323 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34324 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34326 $as_echo "yes" >&6; }
34331 elif test $pkg_failed = untried
; then
34335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34336 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34338 if test -n "$PKG_CONFIG"; then
34339 if test -n "$LIBNOTIFY_CFLAGS"; then
34340 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34342 if test -n "$PKG_CONFIG" && \
34343 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34344 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34347 test $ac_status = 0; }; then
34348 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34356 if test -n "$PKG_CONFIG"; then
34357 if test -n "$LIBNOTIFY_LIBS"; then
34358 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34360 if test -n "$PKG_CONFIG" && \
34361 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34362 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34365 test $ac_status = 0; }; then
34366 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34377 if test $pkg_failed = yes; then
34379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34380 _pkg_short_errors_supported
=yes
34382 _pkg_short_errors_supported
=no
34384 if test $_pkg_short_errors_supported = yes; then
34385 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34387 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34389 # Put the nasty error message in config.log where it belongs
34390 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34393 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34395 elif test $pkg_failed = untried
; then
34396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34397 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34400 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34401 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34403 $as_echo "yes" >&6; }
34409 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34410 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34412 $as_echo "yes" >&6; }
34415 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34420 if test "$HAVE_LIBNOTIFY" = "1" ; then
34421 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34422 CFLAGS
="$LIBNOTIFY_CFLAGS $CFLAGS"
34423 CXXFLAGS
="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34424 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34430 if test "$wxUSE_LIBHILDON" = "yes" ; then
34433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34434 $as_echo_n "checking for HILDON... " >&6; }
34436 if test -n "$PKG_CONFIG"; then
34437 if test -n "$HILDON_CFLAGS"; then
34438 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
34440 if test -n "$PKG_CONFIG" && \
34441 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34442 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34445 test $ac_status = 0; }; then
34446 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34454 if test -n "$PKG_CONFIG"; then
34455 if test -n "$HILDON_LIBS"; then
34456 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
34458 if test -n "$PKG_CONFIG" && \
34459 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34460 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34463 test $ac_status = 0; }; then
34464 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34475 if test $pkg_failed = yes; then
34477 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34478 _pkg_short_errors_supported
=yes
34480 _pkg_short_errors_supported
=no
34482 if test $_pkg_short_errors_supported = yes; then
34483 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34485 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34487 # Put the nasty error message in config.log where it belongs
34488 echo "$HILDON_PKG_ERRORS" >&5
34491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34492 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34493 wxUSE_LIBHILDON
="no"
34497 elif test $pkg_failed = untried
; then
34499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34500 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34501 wxUSE_LIBHILDON
="no"
34506 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34507 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34509 $as_echo "yes" >&6; }
34511 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON_LIBS"
34512 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34513 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34514 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34520 if test "$ac_hildon_lgpl" = 0 ; then
34523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34524 $as_echo_n "checking for HILDON2... " >&6; }
34526 if test -n "$PKG_CONFIG"; then
34527 if test -n "$HILDON2_CFLAGS"; then
34528 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34530 if test -n "$PKG_CONFIG" && \
34531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34532 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34535 test $ac_status = 0; }; then
34536 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34544 if test -n "$PKG_CONFIG"; then
34545 if test -n "$HILDON2_LIBS"; then
34546 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34548 if test -n "$PKG_CONFIG" && \
34549 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34550 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34553 test $ac_status = 0; }; then
34554 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34565 if test $pkg_failed = yes; then
34567 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34568 _pkg_short_errors_supported
=yes
34570 _pkg_short_errors_supported
=no
34572 if test $_pkg_short_errors_supported = yes; then
34573 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34575 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34577 # Put the nasty error message in config.log where it belongs
34578 echo "$HILDON2_PKG_ERRORS" >&5
34581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34582 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34583 wxUSE_LIBHILDON2
="no"
34586 elif test $pkg_failed = untried
; then
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34589 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34590 wxUSE_LIBHILDON2
="no"
34594 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34595 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34597 $as_echo "yes" >&6; }
34599 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON2_LIBS"
34600 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34601 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34602 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34610 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34611 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34615 if test "$wxUSE_STOPWATCH" = "yes"; then
34616 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34620 if test "$wxUSE_DATETIME" = "yes"; then
34621 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34625 if test "$wxUSE_FILE" = "yes"; then
34626 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34630 if test "$wxUSE_FFILE" = "yes"; then
34631 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34635 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34636 if test "$wxUSE_STREAMS" != yes; then
34637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34638 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34639 wxUSE_ARCHIVE_STREAMS
=no
34641 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34646 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34647 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34649 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34650 elif test "$wxUSE_ZLIB" = "no"; then
34651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34652 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34654 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34659 if test "$wxUSE_TARSTREAM" = "yes"; then
34660 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34662 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34664 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34669 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34670 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34674 if test "$wxUSE_FILESYSTEM" = "yes"; then
34675 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34677 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34678 wxUSE_FILESYSTEM
=no
34680 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34685 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34686 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34688 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34690 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34695 if test "$wxUSE_FS_ZIP" = "yes"; then
34696 if test "$wxUSE_FS_ARCHIVE" != yes; then
34697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34698 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34700 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34705 if test "$wxUSE_FSVOLUME" = "yes"; then
34706 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34710 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34711 if test "$USE_UNIX" != 1; then
34712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34713 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34714 wxUSE_ON_FATAL_EXCEPTION
=no
34716 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34721 if test "$wxUSE_STACKWALKER" = "yes"; then
34722 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34726 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34727 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34729 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34730 wxUSE_DEBUGREPORT
=no
34732 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34734 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34740 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34741 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34745 if test "$wxUSE_BUSYINFO" = "yes"; then
34746 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34750 if test "$wxUSE_HOTKEY" = "yes"; then
34751 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34753 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34756 elif test "$wxUSE_HOTKEY" = "auto"; then
34757 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34761 if test "$wxUSE_HOTKEY" = "yes"; then
34762 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34766 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34767 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34771 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34772 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34776 if test "$wxUSE_STD_STRING" = "yes"; then
34777 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34781 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34782 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34786 if test "$wxUSE_STDPATHS" = "yes"; then
34787 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34791 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34792 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34796 if test "$wxUSE_TEXTFILE" = "yes"; then
34797 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34799 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34801 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34806 if test "$wxUSE_CONFIG" = "yes" ; then
34807 if test "$wxUSE_TEXTFILE" != "yes"; then
34808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34809 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34811 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34813 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34819 if test "$wxUSE_INTL" = "yes" ; then
34820 if test "$wxUSE_FILE" != "yes"; then
34821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34822 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34824 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34827 GUIDIST
="$GUIDIST INTL_DIST"
34831 if test "$wxUSE_XLOCALE" = "yes" ; then
34832 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34834 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34835 #include <locale.h>
34837 if test "x$ac_cv_type_locale_t" = xyes
; then :
34839 cat >>confdefs.h
<<_ACEOF
34840 #define HAVE_LOCALE_T 1
34848 if test "$wxUSE_LOG" = "yes"; then
34849 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34852 if test "$wxUSE_LOGGUI" = "yes"; then
34853 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34857 if test "$wxUSE_LOGWINDOW" = "yes"; then
34858 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34862 if test "$wxUSE_LOGDIALOG" = "yes"; then
34863 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34867 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
34870 if test "$wxUSE_LONGLONG" = "yes"; then
34871 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34875 if test "$wxUSE_GEOMETRY" = "yes"; then
34876 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34880 if test "$wxUSE_BASE64" = "yes"; then
34881 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34885 if test "$wxUSE_STREAMS" = "yes" ; then
34886 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34890 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34891 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34895 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34896 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34901 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34902 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34905 if test "$wxUSE_UNIX" = "yes"; then
34906 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34907 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34911 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34912 for ac_header
in sys
/epoll.h
34914 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34916 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
34917 cat >>confdefs.h
<<_ACEOF
34918 #define HAVE_SYS_EPOLL_H 1
34925 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34926 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34930 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34937 for ac_func
in gettimeofday ftime
34939 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34940 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
34941 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
34942 cat >>confdefs.h
<<_ACEOF
34943 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34950 if test "$ac_cv_func_gettimeofday" = "yes"; then
34951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34952 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34953 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
34954 $as_echo_n "(cached) " >&6
34957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34958 /* end confdefs.h. */
34960 #include <sys/time.h>
34961 #include <unistd.h>
34968 gettimeofday(&tv, NULL);
34974 if ac_fn_c_try_compile
"$LINENO"; then :
34975 wx_cv_func_gettimeofday_has_2_args
=yes
34977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34978 /* end confdefs.h. */
34980 #include <sys/time.h>
34981 #include <unistd.h>
34994 if ac_fn_c_try_compile
"$LINENO"; then :
34995 wx_cv_func_gettimeofday_has_2_args
=no
34998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34999 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35000 wx_cv_func_gettimeofday_has_2_args
=unknown
35004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35011 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35013 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35014 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35019 if test "$wxUSE_DATETIME" = "yes"; then
35020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35021 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35022 if ${wx_cv_var_timezone+:} false
; then :
35023 $as_echo_n "(cached) " >&6
35027 ac_cpp
='$CXXCPP $CPPFLAGS'
35028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35033 /* end confdefs.h. */
35048 if ac_fn_cxx_try_compile
"$LINENO"; then :
35050 wx_cv_var_timezone
=timezone
35054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35055 /* end confdefs.h. */
35070 if ac_fn_cxx_try_compile
"$LINENO"; then :
35072 wx_cv_var_timezone
=_timezone
35076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35077 /* end confdefs.h. */
35092 if ac_fn_cxx_try_compile
"$LINENO"; then :
35094 wx_cv_var_timezone
=__timezone
35098 if test "$USE_DOS" = 0 ; then
35099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35100 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35115 ac_cpp
='$CPP $CPPFLAGS'
35116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35124 $as_echo "$wx_cv_var_timezone" >&6; }
35126 if test "x$wx_cv_var_timezone" != x
; then
35127 cat >>confdefs.h
<<_ACEOF
35128 #define WX_TIMEZONE $wx_cv_var_timezone
35133 for ac_func
in localtime
35135 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
35136 if test "x$ac_cv_func_localtime" = xyes
; then :
35137 cat >>confdefs.h
<<_ACEOF
35138 #define HAVE_LOCALTIME 1
35145 if test "$ac_cv_func_localtime" = "yes"; then
35146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35147 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35148 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
35149 $as_echo_n "(cached) " >&6
35152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35153 /* end confdefs.h. */
35168 if ac_fn_c_try_compile
"$LINENO"; then :
35170 wx_cv_struct_tm_has_gmtoff
=yes
35173 wx_cv_struct_tm_has_gmtoff
=no
35176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35180 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35183 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35184 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35192 for ac_func
in setpriority
35194 ac_fn_c_check_func
"$LINENO" "setpriority" "ac_cv_func_setpriority"
35195 if test "x$ac_cv_func_setpriority" = xyes
; then :
35196 cat >>confdefs.h
<<_ACEOF
35197 #define HAVE_SETPRIORITY 1
35205 if test "$wxUSE_SOCKETS" = "yes"; then
35206 if test "$TOOLKIT" != "MSW"; then
35207 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
35208 if test "x$ac_cv_func_socket" = xyes
; then :
35212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35213 $as_echo_n "checking for socket in -lsocket... " >&6; }
35214 if ${ac_cv_lib_socket_socket+:} false
; then :
35215 $as_echo_n "(cached) " >&6
35217 ac_check_lib_save_LIBS
=$LIBS
35218 LIBS
="-lsocket $LIBS"
35219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35220 /* end confdefs.h. */
35222 /* Override any GCC internal prototype to avoid an error.
35223 Use char because int might match the return type of a GCC
35224 builtin and then its argument prototype would still apply. */
35237 if ac_fn_c_try_link
"$LINENO"; then :
35238 ac_cv_lib_socket_socket
=yes
35240 ac_cv_lib_socket_socket
=no
35242 rm -f core conftest.err conftest.
$ac_objext \
35243 conftest
$ac_exeext conftest.
$ac_ext
35244 LIBS
=$ac_check_lib_save_LIBS
35246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35247 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35248 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
35249 if test "$INET_LINK" != " -lsocket"; then
35250 INET_LINK
="$INET_LINK -lsocket"
35254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35255 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35268 if test "$wxUSE_SOCKETS" = "yes" ; then
35269 if test "$TOOLKIT" != "MSW"; then
35270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35271 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35272 if ${wx_cv_type_getsockname3+:} false
; then :
35273 $as_echo_n "(cached) " >&6
35277 ac_cpp
='$CXXCPP $CPPFLAGS'
35278 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35279 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35280 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35283 /* end confdefs.h. */
35285 #include <sys/types.h>
35286 #include <sys/socket.h>
35293 getsockname(0, 0, &len);
35299 if ac_fn_cxx_try_compile
"$LINENO"; then :
35300 wx_cv_type_getsockname3
=socklen_t
35303 CFLAGS_OLD
="$CFLAGS"
35304 if test "$GCC" = yes ; then
35305 CFLAGS
="-Werror $CFLAGS"
35308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35309 /* end confdefs.h. */
35311 #include <sys/types.h>
35312 #include <sys/socket.h>
35319 getsockname(0, 0, &len);
35325 if ac_fn_cxx_try_compile
"$LINENO"; then :
35326 wx_cv_type_getsockname3
=size_t
35328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35329 /* end confdefs.h. */
35331 #include <sys/types.h>
35332 #include <sys/socket.h>
35339 getsockname(0, 0, &len);
35345 if ac_fn_cxx_try_compile
"$LINENO"; then :
35346 wx_cv_type_getsockname3
=int
35348 wx_cv_type_getsockname3
=unknown
35351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35356 CFLAGS
="$CFLAGS_OLD"
35360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35362 ac_cpp
='$CPP $CPPFLAGS'
35363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35370 $as_echo "$wx_cv_type_getsockname3" >&6; }
35372 if test "$wx_cv_type_getsockname3" = "unknown"; then
35374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35375 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35377 cat >>confdefs.h
<<_ACEOF
35378 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35383 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35384 if ${wx_cv_type_getsockopt5+:} false
; then :
35385 $as_echo_n "(cached) " >&6
35389 ac_cpp
='$CXXCPP $CPPFLAGS'
35390 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35391 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35392 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35395 /* end confdefs.h. */
35397 #include <sys/types.h>
35398 #include <sys/socket.h>
35405 getsockopt(0, 0, 0, 0, &len);
35411 if ac_fn_cxx_try_compile
"$LINENO"; then :
35412 wx_cv_type_getsockopt5
=socklen_t
35415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35416 /* end confdefs.h. */
35418 #include <sys/types.h>
35419 #include <sys/socket.h>
35426 getsockopt(0, 0, 0, 0, &len);
35432 if ac_fn_cxx_try_compile
"$LINENO"; then :
35433 wx_cv_type_getsockopt5
=size_t
35435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35436 /* end confdefs.h. */
35438 #include <sys/types.h>
35439 #include <sys/socket.h>
35446 getsockopt(0, 0, 0, 0, &len);
35452 if ac_fn_cxx_try_compile
"$LINENO"; then :
35453 wx_cv_type_getsockopt5
=int
35455 wx_cv_type_getsockopt5
=unknown
35458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35467 ac_cpp
='$CPP $CPPFLAGS'
35468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35475 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35477 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35480 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35482 cat >>confdefs.h
<<_ACEOF
35483 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35490 if test "$wxUSE_SOCKETS" = "yes" ; then
35491 if test "$wxUSE_IPV6" = "yes"; then
35492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35493 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35494 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35495 $as_echo_n "(cached) " >&6
35498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35499 /* end confdefs.h. */
35501 #include <sys/types.h>
35502 #include <sys/socket.h>
35503 #include <netinet/in.h>
35509 struct sockaddr_in6 sa6;
35515 if ac_fn_c_try_compile
"$LINENO"; then :
35516 wx_cv_type_sockaddr_in6
=yes
35518 wx_cv_type_sockaddr_in6
=no
35521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35526 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35528 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35529 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35533 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35537 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35542 if test "$wxUSE_PROTOCOL" = "yes"; then
35543 if test "$wxUSE_SOCKETS" != "yes"; then
35544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35545 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35550 if test "$wxUSE_PROTOCOL" = "yes"; then
35551 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35554 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35555 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35558 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35559 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35562 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35563 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35567 if test "$wxUSE_FS_INET" = "yes"; then
35568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35569 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35574 if test "$wxUSE_URL" = "yes"; then
35575 if test "$wxUSE_PROTOCOL" != "yes"; then
35576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35577 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35580 if test "$wxUSE_URL" = "yes"; then
35581 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35586 if test "$wxUSE_VARIANT" = "yes"; then
35587 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35591 if test "$wxUSE_FS_INET" = "yes"; then
35592 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35597 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35600 if test "$TOOLKIT" = "MSW"; then
35603 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35604 if test "$USE_DARWIN" = 1; then
35605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35606 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35608 ac_cpp
='$CXXCPP $CPPFLAGS'
35609 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35610 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35611 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35614 /* end confdefs.h. */
35615 #include <IOKit/hid/IOHIDLib.h>
35619 IOHIDQueueInterface *qi = NULL;
35620 IOHIDCallbackFunction cb = NULL;
35621 qi->setEventCallout(NULL, cb, NULL, NULL);
35626 if ac_fn_cxx_try_compile
"$LINENO"; then :
35630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35632 ac_cpp
='$CPP $CPPFLAGS'
35633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35638 $as_echo "$wxUSE_JOYSTICK" >&6; }
35642 for ac_header
in linux
/joystick.h
35644 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35646 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35647 cat >>confdefs.h
<<_ACEOF
35648 #define HAVE_LINUX_JOYSTICK_H 1
35657 if test "$wxUSE_JOYSTICK" = "yes"; then
35658 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35663 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35669 if test "$wxUSE_FONTENUM" = "yes" ; then
35670 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35674 if test "$wxUSE_FONTMAP" = "yes" ; then
35675 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35679 if test "$wxUSE_UNICODE" = "yes" ; then
35680 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35683 if test "$USE_WIN32" != 1; then
35684 wxUSE_UNICODE_MSLU
=no
35687 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35689 $as_echo_n "checking for main in -lunicows... " >&6; }
35690 if ${ac_cv_lib_unicows_main+:} false
; then :
35691 $as_echo_n "(cached) " >&6
35693 ac_check_lib_save_LIBS
=$LIBS
35694 LIBS
="-lunicows $LIBS"
35695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35696 /* end confdefs.h. */
35707 if ac_fn_c_try_link
"$LINENO"; then :
35708 ac_cv_lib_unicows_main
=yes
35710 ac_cv_lib_unicows_main
=no
35712 rm -f core conftest.err conftest.
$ac_objext \
35713 conftest
$ac_exeext conftest.
$ac_ext
35714 LIBS
=$ac_check_lib_save_LIBS
35716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35717 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35718 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35720 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35726 Applications will only run on Windows NT/2000/XP!" >&5
35727 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35728 Applications will only run on Windows NT/2000/XP!" >&2;}
35729 wxUSE_UNICODE_MSLU
=no
35736 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35737 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35740 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35741 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35747 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35748 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35753 if test "$wxUSE_MDI" = "yes"; then
35754 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35757 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35758 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35764 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35765 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35767 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35770 if test "$wxUSE_HELP" = "yes"; then
35771 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35775 if test "$wxUSE_MSW" = 1; then
35776 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35777 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35782 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35783 if test "$wxUSE_HTML" = "yes"; then
35784 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35788 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35789 wxUSE_WXHTML_HELP
=no
35794 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35795 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35800 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35801 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35805 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35808 if test "$wxUSE_SVG" = "yes"; then
35809 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35814 if test "$wxUSE_METAFILE" = "yes"; then
35815 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35817 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35820 elif test "$wxUSE_METAFILE" = "auto"; then
35821 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35826 if test "$wxUSE_METAFILE" = "yes"; then
35827 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35829 if test "$wxUSE_MSW" = 1; then
35830 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35836 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35837 -o "$wxUSE_CLIPBOARD" = "yes" \
35838 -o "$wxUSE_OLE" = "yes" \
35839 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35840 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35842 if test "x$ac_cv_header_ole2_h" = xyes
; then :
35848 if test "$ac_cv_header_ole2_h" = "yes" ; then
35849 if test "$GCC" = yes ; then
35850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35851 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35853 /* end confdefs.h. */
35854 #include <windows.h>
35864 if ac_fn_c_try_compile
"$LINENO"; then :
35865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35866 $as_echo "no" >&6; }
35868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35869 $as_echo "yes" >&6; }
35870 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35873 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35874 if test "$wxUSE_OLE" = "yes" ; then
35875 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35877 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35879 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
35885 if test "$wxUSE_DATAOBJ" = "yes" ; then
35886 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35891 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35894 wxUSE_DRAG_AND_DROP
=no
35900 if test "$wxUSE_IPC" = "yes"; then
35901 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35903 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35907 if test "$wxUSE_IPC" = "yes"; then
35908 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
35914 if test "$wxUSE_DATAOBJ" = "yes"; then
35915 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35919 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35921 wxUSE_DRAG_AND_DROP
=no
35924 if test "$wxUSE_CLIPBOARD" = "yes"; then
35925 if test "$wxUSE_DFB" = 1; then
35926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35927 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35931 if test "$wxUSE_CLIPBOARD" = "yes"; then
35932 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35937 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35938 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35940 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35941 wxUSE_DRAG_AND_DROP
=no
35944 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35945 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35951 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
35955 if test "$wxUSE_CLIPBOARD" = "yes"; then
35956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
35959 if test "$wxUSE_SPLINES" = "yes" ; then
35960 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35964 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35965 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35969 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35970 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35972 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
35975 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35976 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35982 if test "$wxUSE_CONTROLS" = "yes"; then
35986 if test "$wxUSE_MARKUP" = "yes"; then
35987 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35991 if test "$wxUSE_ACCEL" = "yes"; then
35992 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35997 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35998 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36001 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
36004 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36005 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36009 if test "$wxUSE_BUTTON" = "yes"; then
36010 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36015 if test "$wxUSE_BMPBUTTON" = "yes"; then
36016 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36021 if test "$wxUSE_CALCTRL" = "yes"; then
36022 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36028 if test "$wxUSE_CARET" = "yes"; then
36029 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36035 if test "$wxUSE_COLLPANE" = "yes"; then
36036 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
36042 if test "$wxUSE_COMBOBOX" = "yes"; then
36043 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36048 if test "$wxUSE_COMBOCTRL" = "yes"; then
36049 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36054 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36055 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36060 if test "$wxUSE_CHOICE" = "yes"; then
36061 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36066 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36067 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36072 if test "$wxUSE_CHECKBOX" = "yes"; then
36073 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36078 if test "$wxUSE_CHECKLST" = "yes"; then
36079 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36084 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36085 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36090 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36091 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36096 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36097 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36102 if test "$wxUSE_FILECTRL" = "yes"; then
36103 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36108 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36109 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36114 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36115 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36120 if test "$wxUSE_DISPLAY" = "yes"; then
36121 if test "$wxUSE_DFB" = 1; then
36122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36123 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36126 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36132 if test "$wxUSE_DETECT_SM" = "yes"; then
36133 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36137 if test "$wxUSE_GAUGE" = "yes"; then
36138 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36143 if test "$wxUSE_GRID" = "yes"; then
36144 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36147 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36150 if test "$wxUSE_HEADERCTRL" = "yes"; then
36151 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36156 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36157 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36162 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36163 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36168 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36169 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
36175 if test "$wxUSE_IMAGLIST" = "yes"; then
36176 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36180 if test "$wxUSE_INFOBAR" = "yes"; then
36181 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36185 if test "$wxUSE_LISTBOOK" = "yes"; then
36186 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36191 if test "$wxUSE_LISTBOX" = "yes"; then
36192 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36197 if test "$wxUSE_LISTCTRL" = "yes"; then
36198 if test "$wxUSE_IMAGLIST" = "yes"; then
36199 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36205 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36209 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36210 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36215 if test "$wxUSE_NOTEBOOK" = "yes"; then
36216 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36222 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36223 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36227 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36228 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36231 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
36234 if test "$wxUSE_RADIOBOX" = "yes"; then
36235 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36240 if test "$wxUSE_RADIOBTN" = "yes"; then
36241 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36246 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36247 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36251 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36252 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36256 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36257 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36261 if test "$wxUSE_SASH" = "yes"; then
36262 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36264 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36267 if test "$wxUSE_SCROLLBAR" = "yes"; then
36268 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
36274 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36275 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36280 if test "$wxUSE_SLIDER" = "yes"; then
36281 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36286 if test "$wxUSE_SPINBTN" = "yes"; then
36287 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36292 if test "$wxUSE_SPINCTRL" = "yes"; then
36293 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36298 if test "$wxUSE_SPLITTER" = "yes"; then
36299 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36304 if test "$wxUSE_STATBMP" = "yes"; then
36305 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36310 if test "$wxUSE_STATBOX" = "yes"; then
36311 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36316 if test "$wxUSE_STATTEXT" = "yes"; then
36317 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36322 if test "$wxUSE_STATLINE" = "yes"; then
36323 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36328 if test "$wxUSE_STATUSBAR" = "yes"; then
36329 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36331 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36338 if test "$wxUSE_TEXTCTRL" = "yes"; then
36339 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36344 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36346 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36350 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36351 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36356 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36357 if test "$wxUSE_OLD_COCOA" = 1 ; then
36358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36359 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36363 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36364 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36370 if test "$wxUSE_TOOLBAR" = "yes"; then
36371 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36375 if test "$wxUSE_UNIVERSAL" = "yes"; then
36376 wxUSE_TOOLBAR_NATIVE
="no"
36378 wxUSE_TOOLBAR_NATIVE
="yes"
36379 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36386 if test "$wxUSE_TOOLTIPS" = "yes"; then
36387 if test "$wxUSE_MOTIF" = 1; then
36388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36389 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36391 if test "$wxUSE_UNIVERSAL" = "yes"; then
36392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36393 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36395 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36401 if test "$wxUSE_TREEBOOK" = "yes"; then
36402 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36407 if test "$wxUSE_TOOLBOOK" = "yes"; then
36408 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36413 if test "$wxUSE_TREECTRL" = "yes"; then
36414 if test "$wxUSE_IMAGLIST" = "yes"; then
36415 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36421 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36425 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36426 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
36432 if test "$wxUSE_POPUPWIN" = "yes"; then
36433 if test "$wxUSE_OLD_COCOA" = 1 ; then
36434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36435 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36437 if test "$wxUSE_PM" = 1; then
36438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36439 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36441 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
36450 if test "$wxUSE_PREFERENCES_EDITOR" = "yes"; then
36451 $as_echo "#define wxUSE_PREFERENCES_EDITOR 1" >>confdefs.h
36453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS prefseditor"
36456 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36457 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36459 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36461 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36463 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
36467 if test "$wxUSE_TIPWINDOW" = "yes"; then
36468 if test "$wxUSE_PM" = 1; then
36469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36470 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36472 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36477 if test "$USES_CONTROLS" = 1; then
36478 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36483 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36484 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36486 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36489 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36490 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36494 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36495 if test "$wxUSE_GTK" != 1; then
36496 if test "$wxUSE_LIBPNG" != no
-a \
36497 "$wxUSE_IMAGE" = yes -a \
36498 "$wxUSE_STREAMS" = yes; then
36499 wxUSE_ARTPROVIDER_TANGO
="yes"
36504 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36505 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36509 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36510 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36515 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36516 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36518 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36520 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36527 if test "$wxUSE_HTML" = "yes"; then
36528 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36533 if test "$wxUSE_WEBKIT" = "yes"; then
36534 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36535 old_CPPFLAGS
="$CPPFLAGS"
36536 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36537 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36538 #include <Carbon/Carbon.h>
36539 #include <WebKit/WebKit.h>
36542 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36544 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36546 WEBKIT_LINK
="-framework WebKit"
36550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36551 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36557 CPPFLAGS
="$old_CPPFLAGS"
36558 elif test "$wxUSE_OLD_COCOA" = 1; then
36559 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36564 if test "$wxUSE_WEBKIT" = "yes"; then
36565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36570 if test "$wxUSE_XRC" = "yes"; then
36571 if test "$wxUSE_XML" != "yes"; then
36572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36573 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36576 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36584 if test "$wxUSE_AUI" = "yes"; then
36585 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36592 if test "$wxUSE_PROPGRID" = "yes"; then
36593 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36600 if test "$wxUSE_RIBBON" = "yes"; then
36601 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36608 if test "$wxUSE_STC" = "yes"; then
36609 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36614 # Extract the first word of "python", so it can be a program name with args.
36615 set dummy python
; ac_word
=$2
36616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36617 $as_echo_n "checking for $ac_word... " >&6; }
36618 if ${ac_cv_path_PYTHON+:} false
; then :
36619 $as_echo_n "(cached) " >&6
36623 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36627 for as_dir
in $PATH
36630 test -z "$as_dir" && as_dir
=.
36631 for ac_exec_ext
in '' $ac_executable_extensions; do
36632 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
36633 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36644 PYTHON
=$ac_cv_path_PYTHON
36645 if test -n "$PYTHON"; then
36646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36647 $as_echo "$PYTHON" >&6; }
36649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36650 $as_echo "no" >&6; }
36654 if test "x$PYTHON" = "x"; then
36660 if test "$wxUSE_MENUS" = "yes"; then
36661 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36666 if test "$wxUSE_MIMETYPE" = "yes"; then
36667 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36671 if test "$wxUSE_MINIFRAME" = "yes"; then
36672 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36676 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36677 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36681 if test "$wxUSE_TASKBARICON" = "yes"; then
36682 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36684 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36686 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36690 if test "$wxUSE_VALIDATORS" = "yes"; then
36691 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36693 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36696 if test "$wxUSE_PALETTE" = "yes" ; then
36697 if test "$wxUSE_DFB" = 1; then
36698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36699 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36702 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36707 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36708 LIBS
=" -lunicows $LIBS"
36712 if test "$wxUSE_RICHTEXT" = "yes"; then
36713 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36719 if test "$wxUSE_WEBVIEW" = "yes"; then
36720 USE_WEBVIEW_WEBKIT
=0
36721 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36722 if test "$wxUSE_GTK" = 1; then
36723 webkitgtk
=webkit
-1.0
36724 if test "$WXGTK3" = 1; then
36725 webkitgtk
=webkitgtk
-3.0
36729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36730 $as_echo_n "checking for WEBKIT... " >&6; }
36732 if test -n "$PKG_CONFIG"; then
36733 if test -n "$WEBKIT_CFLAGS"; then
36734 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36736 if test -n "$PKG_CONFIG" && \
36737 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36738 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36741 test $ac_status = 0; }; then
36742 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36750 if test -n "$PKG_CONFIG"; then
36751 if test -n "$WEBKIT_LIBS"; then
36752 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36754 if test -n "$PKG_CONFIG" && \
36755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36756 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36759 test $ac_status = 0; }; then
36760 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36771 if test $pkg_failed = yes; then
36773 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36774 _pkg_short_errors_supported
=yes
36776 _pkg_short_errors_supported
=no
36778 if test $_pkg_short_errors_supported = yes; then
36779 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36781 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36783 # Put the nasty error message in config.log where it belongs
36784 echo "$WEBKIT_PKG_ERRORS" >&5
36787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36788 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36790 elif test $pkg_failed = untried
; then
36792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36793 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36796 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36797 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36799 $as_echo "yes" >&6; }
36801 USE_WEBVIEW_WEBKIT
=1
36802 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36803 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36806 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36807 old_CPPFLAGS
="$CPPFLAGS"
36808 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36809 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36810 #include <Carbon/Carbon.h>
36811 #include <WebKit/WebKit.h>
36814 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36816 USE_WEBVIEW_WEBKIT
=1
36817 WEBKIT_LINK
="-framework WebKit"
36821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36822 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36827 CPPFLAGS
="$old_CPPFLAGS"
36832 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36833 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36834 wxUSE_WEBVIEW
="yes"
36835 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36839 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36841 elif test "$wxUSE_MSW" = 1; then
36842 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36843 wxUSE_WEBVIEW
="yes"
36844 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36850 if test "$wxUSE_WEBVIEW" = "yes"; then
36852 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
36860 if test "$wxUSE_IMAGE" = "yes" ; then
36861 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36864 if test "$wxUSE_GIF" = "yes" ; then
36865 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36869 if test "$wxUSE_PCX" = "yes" ; then
36870 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36874 if test "$wxUSE_TGA" = "yes" ; then
36875 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36879 if test "$wxUSE_IFF" = "yes" ; then
36880 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36884 if test "$wxUSE_PNM" = "yes" ; then
36885 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36889 if test "$wxUSE_XPM" = "yes" ; then
36890 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36894 if test "$wxUSE_ICO_CUR" = "yes" ; then
36895 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36901 if test "$wxUSE_ABOUTDLG" = "yes"; then
36902 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36906 if test "$wxUSE_CHOICEDLG" = "yes"; then
36907 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36911 if test "$wxUSE_COLOURDLG" = "yes"; then
36912 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36916 if test "$wxUSE_FILEDLG" = "yes"; then
36917 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36921 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36922 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36926 if test "$wxUSE_FONTDLG" = "yes"; then
36927 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36931 if test "$wxUSE_DIRDLG" = "yes"; then
36932 if test "$wxUSE_TREECTRL" != "yes"; then
36933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36934 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36936 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36941 if test "$wxUSE_MSGDLG" = "yes"; then
36942 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36946 if test "$wxUSE_NUMBERDLG" = "yes"; then
36947 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36951 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36952 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36956 if test "$wxUSE_SPLASH" = "yes"; then
36957 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
36962 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36963 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36967 if test "$wxUSE_TEXTDLG" = "yes"; then
36968 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36972 if test "$wxUSE_WIZARDDLG" = "yes"; then
36973 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
36979 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36980 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36981 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36987 if test "$wxUSE_MSW" = 1 ; then
36989 if test "$wxUSE_DC_CACHEING" = "yes"; then
36990 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36994 if test "$wxUSE_DIB" = "yes"; then
36995 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36999 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37000 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37004 if test "$wxUSE_UXTHEME" = "yes"; then
37005 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37011 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37012 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37016 if test "$USE_WIN32" = 1 ; then
37017 if test "$wxUSE_INICONF" = "yes"; then
37018 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37022 if test "$wxUSE_REGKEY" = "yes"; then
37023 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37029 if test "$wxUSE_MAC" = 1; then
37030 wxUSE_GRAPHICS_CONTEXT
="yes"
37033 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37035 if test "$wxUSE_MSW" = 1; then
37036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37037 $as_echo_n "checking if GDI+ is available... " >&6; }
37038 if ${wx_cv_lib_gdiplus+:} false
; then :
37039 $as_echo_n "(cached) " >&6
37043 ac_cpp
='$CXXCPP $CPPFLAGS'
37044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37049 /* end confdefs.h. */
37050 #include <windows.h>
37051 #include <gdiplus.h>
37056 using namespace Gdiplus;
37062 if ac_fn_cxx_try_compile
"$LINENO"; then :
37063 wx_cv_lib_gdiplus
=yes
37065 wx_cv_lib_gdiplus
=no
37068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37070 ac_cpp
='$CPP $CPPFLAGS'
37071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37079 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37080 if test "$wx_cv_lib_gdiplus" = "yes"; then
37083 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37087 $as_echo_n "checking for CAIRO... " >&6; }
37089 if test -n "$PKG_CONFIG"; then
37090 if test -n "$CAIRO_CFLAGS"; then
37091 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
37093 if test -n "$PKG_CONFIG" && \
37094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37095 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37098 test $ac_status = 0; }; then
37099 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37107 if test -n "$PKG_CONFIG"; then
37108 if test -n "$CAIRO_LIBS"; then
37109 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
37111 if test -n "$PKG_CONFIG" && \
37112 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37113 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37116 test $ac_status = 0; }; then
37117 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37128 if test $pkg_failed = yes; then
37130 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37131 _pkg_short_errors_supported
=yes
37133 _pkg_short_errors_supported
=no
37135 if test $_pkg_short_errors_supported = yes; then
37136 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37138 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37140 # Put the nasty error message in config.log where it belongs
37141 echo "$CAIRO_PKG_ERRORS" >&5
37143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37144 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37146 elif test $pkg_failed = untried
; then
37147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37148 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37151 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
37152 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
37153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37154 $as_echo "yes" >&6; }
37157 if test "$wx_has_graphics" = 1; then
37159 LIBS
="$LIBS $CAIRO_LIBS"
37160 for ac_func
in cairo_push_group
37162 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37163 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
37164 cat >>confdefs.h
<<_ACEOF
37165 #define HAVE_CAIRO_PUSH_GROUP 1
37172 if test "$ac_cv_func_cairo_push_group" = "no"; then
37174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37175 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37177 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37180 if test "$wxUSE_GTK" != 1; then
37181 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
37182 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
37190 if test "$wx_has_graphics" = 1; then
37191 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37195 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37202 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37205 if test "$wxUSE_GTK" = 1; then
37206 wxUSE_GSTREAMER
="no"
37208 GST_VERSION_MAJOR
=0
37209 GST_VERSION_MINOR
=10
37210 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37212 if test "$wxUSE_GSTREAMER8" = "no"; then
37215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37216 $as_echo_n "checking for GST... " >&6; }
37218 if test -n "$PKG_CONFIG"; then
37219 if test -n "$GST_CFLAGS"; then
37220 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37222 if test -n "$PKG_CONFIG" && \
37223 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37224 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37227 test $ac_status = 0; }; then
37228 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37236 if test -n "$PKG_CONFIG"; then
37237 if test -n "$GST_LIBS"; then
37238 pkg_cv_GST_LIBS
="$GST_LIBS"
37240 if test -n "$PKG_CONFIG" && \
37241 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37242 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37245 test $ac_status = 0; }; then
37246 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37257 if test $pkg_failed = yes; then
37259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37260 _pkg_short_errors_supported
=yes
37262 _pkg_short_errors_supported
=no
37264 if test $_pkg_short_errors_supported = yes; then
37265 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37267 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37269 # Put the nasty error message in config.log where it belongs
37270 echo "$GST_PKG_ERRORS" >&5
37273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37274 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37275 GST_VERSION_MINOR
=8
37278 elif test $pkg_failed = untried
; then
37280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37281 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37282 GST_VERSION_MINOR
=8
37286 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37287 GST_LIBS
=$pkg_cv_GST_LIBS
37288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37289 $as_echo "yes" >&6; }
37291 wxUSE_GSTREAMER
="yes"
37292 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37296 GST_VERSION_MINOR
=8
37299 if test $GST_VERSION_MINOR = "8"; then
37300 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37304 $as_echo_n "checking for GST... " >&6; }
37306 if test -n "$PKG_CONFIG"; then
37307 if test -n "$GST_CFLAGS"; then
37308 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37310 if test -n "$PKG_CONFIG" && \
37311 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37312 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37315 test $ac_status = 0; }; then
37316 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37324 if test -n "$PKG_CONFIG"; then
37325 if test -n "$GST_LIBS"; then
37326 pkg_cv_GST_LIBS
="$GST_LIBS"
37328 if test -n "$PKG_CONFIG" && \
37329 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37330 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37333 test $ac_status = 0; }; then
37334 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37345 if test $pkg_failed = yes; then
37347 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37348 _pkg_short_errors_supported
=yes
37350 _pkg_short_errors_supported
=no
37352 if test $_pkg_short_errors_supported = yes; then
37353 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37355 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37357 # Put the nasty error message in config.log where it belongs
37358 echo "$GST_PKG_ERRORS" >&5
37361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37362 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37364 elif test $pkg_failed = untried
; then
37366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37367 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37370 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37371 GST_LIBS
=$pkg_cv_GST_LIBS
37372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37373 $as_echo "yes" >&6; }
37374 wxUSE_GSTREAMER
="yes"
37379 if test "$wxUSE_GSTREAMER" = "yes"; then
37380 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
37381 EXTRALIBS_MEDIA
="$GST_LIBS"
37383 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37389 elif test "$wxUSE_MAC" = 1; then
37390 GST_LIBS
="-framework QTKit"
37393 if test $USE_MEDIA = 1; then
37394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
37395 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37398 if test "$wxUSE_MEDIACTRL" = "yes"; then
37399 as_fn_error $?
"GStreamer not available" "$LINENO" 5
37401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37402 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37408 if test "$cross_compiling" != "no"; then
37411 OSINFO
=`uname -s -r -m`
37412 OSINFO
="\"$OSINFO\""
37415 cat >>confdefs.h
<<_ACEOF
37416 #define WXWIN_OS_DESCRIPTION $OSINFO
37421 if test "x$prefix" != "xNONE"; then
37424 wxPREFIX
=$ac_default_prefix
37427 cat >>confdefs.h
<<_ACEOF
37428 #define wxINSTALL_PREFIX "$wxPREFIX"
37434 STD_BASE_LIBS
="base"
37436 BUILT_WX_LIBS
="base"
37437 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
37439 if test "$wxUSE_SOCKETS" = "yes" ; then
37440 STD_BASE_LIBS
="net $STD_BASE_LIBS"
37441 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
37443 if test "$wxUSE_XML" = "yes" ; then
37444 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
37445 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
37448 if test "$wxUSE_GUI" = "yes"; then
37449 STD_GUI_LIBS
="adv core"
37450 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
37452 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37453 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
37454 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
37456 if test "$wxUSE_HTML" = "yes" ; then
37457 STD_GUI_LIBS
="html $STD_GUI_LIBS"
37458 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
37460 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37461 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
37463 if test "$wxUSE_OPENGL" = "yes" ; then
37464 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
37466 if test "$wxUSE_AUI" = "yes" ; then
37467 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
37469 if test "$wxUSE_PROPGRID" = "yes" ; then
37470 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
37472 if test "$wxUSE_RIBBON" = "yes" ; then
37473 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
37475 if test "$wxUSE_RICHTEXT" = "yes" ; then
37476 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
37478 if test "$wxUSE_STC" = "yes" ; then
37479 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
37481 if test "$wxUSE_WEBVIEW" = "yes" ; then
37482 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
37483 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
37485 if test "$wxUSE_XRC" = "yes" ; then
37486 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
37487 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
37498 if test "$wxUSE_MAC" = 1 ; then
37499 if test "$USE_DARWIN" = 1; then
37500 if test "$wxUSE_OSX_IPHONE" = 1; then
37501 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37503 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37506 if test "$cross_compiling" != "no"; then
37507 wx_cv_target_x86_64
=no
37509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37510 $as_echo_n "checking if we target only x86_64... " >&6; }
37511 if ${wx_cv_target_x86_64+:} false
; then :
37512 $as_echo_n "(cached) " >&6
37514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37515 /* end confdefs.h. */
37516 int main() { return 0; }
37518 if ac_fn_c_try_link
"$LINENO"; then :
37519 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37520 wx_cv_target_x86_64
=no
37522 wx_cv_target_x86_64
=yes
37526 rm -f core conftest.err conftest.
$ac_objext \
37527 conftest
$ac_exeext conftest.
$ac_ext
37530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37531 $as_echo "$wx_cv_target_x86_64" >&6; }
37534 if test "$wx_cv_target_x86_64" != "yes"; then
37535 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37540 if test "$wxUSE_OLD_COCOA" = 1 ; then
37541 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37542 if test "$wxUSE_MEDIACTRL" = "yes"; then
37543 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37546 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37547 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37550 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37551 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37553 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37555 if test "$wxUSE_GUI" = "yes"; then
37558 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37559 erase event exec font image minimal render \
37560 shaped svg taborder vscroll widgets wrapsizer"
37562 if test "$wxUSE_MONOLITHIC" != "yes"; then
37563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37565 if test "$TOOLKIT" = "MSW"; then
37566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37567 if test "$wxUSE_UNIVERSAL" != "yes"; then
37568 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37571 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37575 SAMPLES_SUBDIRS
="console"
37576 if test "$wxUSE_SOCKETS" = "yes" ; then
37577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37579 if test "$wxUSE_IPC" = "yes" ; then
37580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37585 if test "x$INTELCC" = "xyes" ; then
37586 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37587 elif test "$GCC" = yes ; then
37588 CWARNINGS
="-Wall -Wundef"
37591 if test "x$INTELCXX" = "xyes" ; then
37592 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37593 elif test "$GXX" = yes ; then
37594 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37596 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37597 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37598 $as_echo_n "(cached) " >&6
37600 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37603 ac_cpp
='$CXXCPP $CPPFLAGS'
37604 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37605 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37606 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37608 ac_save_CXXFLAGS
="$CXXFLAGS"
37609 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37610 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37612 /* end confdefs.h. */
37622 if ac_fn_cxx_try_compile
"$LINENO"; then :
37623 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37627 CXXFLAGS
="$ac_save_CXXFLAGS"
37629 ac_cpp
='$CPP $CPPFLAGS'
37630 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37631 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37632 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37637 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37638 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37642 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37643 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37644 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37647 test $ac_status = 0; }
37648 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37649 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37652 test $ac_status = 0; }
37653 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37659 if test "$wxUSE_MAC" = 1 ; then
37660 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37665 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37666 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37669 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37670 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37671 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37674 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37675 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37676 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37677 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37678 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37680 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37683 if test "x$MWCC" = "xyes"; then
37685 CC
="$CC -cwd source -I-"
37686 CXX
="$CXX -cwd source -I-"
37691 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37692 EXTRALIBS_XML
="$EXPAT_LINK"
37693 EXTRALIBS_HTML
="$MSPACK_LINK"
37694 EXTRALIBS_MEDIA
="$GST_LIBS"
37695 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37696 if test "$wxUSE_GUI" = "yes"; then
37697 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37699 if test "$wxUSE_OPENGL" = "yes"; then
37700 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37703 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37705 WXCONFIG_LIBS
="$LIBS"
37707 if test "$wxUSE_REGEX" = "builtin" ; then
37708 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37710 if test "$wxUSE_EXPAT" = "builtin" ; then
37711 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37713 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37714 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37716 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37717 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37719 if test "$wxUSE_LIBPNG" = "builtin" ; then
37720 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37722 if test "$wxUSE_ZLIB" = "builtin" ; then
37723 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37726 for i
in $wxconfig_3rdparty ; do
37727 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37731 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37734 case "$wxUNIV_THEMES" in
37736 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37741 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37742 cat >>confdefs.h
<<_ACEOF
37743 #define wxUSE_THEME_$t 1
37759 if test $wxUSE_MONOLITHIC = "yes" ; then
37765 if test $wxUSE_PLUGINS = "yes" ; then
37771 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37777 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37805 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37818 TOOLKIT_DESC
="GTK+"
37819 if test "$WXGTK2" = 1; then
37820 if test "$WXGTK3" = 1; then
37821 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
37823 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
37825 if test "$wxUSE_GTKPRINT" = "yes" ; then
37826 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
37828 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37829 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
37831 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37832 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA libnotify"
37834 if test "$wxUSE_LIBHILDON" = "yes"; then
37835 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37837 if test "$wxUSE_LIBHILDON2" = "yes"; then
37838 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37841 if test "$TOOLKIT_EXTRA" != ""; then
37842 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37848 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
37852 TOOLKIT_DESC
="base only"
37856 if test "$wxUSE_WINE" = "yes"; then
37857 BAKEFILE_FORCE_PLATFORM
=win32
37860 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37863 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37864 if ${wx_cv_gcc_pch_bug+:} false
; then :
37865 $as_echo_n "(cached) " >&6
37868 echo '#include <stdio.h>
37869 const wchar_t test_var[] = L"awidetest";' > conftest.h
37871 echo '#include "conftest.h"
37874 printf("%ls", test_var);
37878 wx_cv_gcc_pch_bug
="pch not supported"
37880 if $CXX conftest.h
>/dev
/null
2>&1
37884 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
37886 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
37887 grep awidetest
>/dev
/null
37889 wx_cv_gcc_pch_bug
=no
37891 wx_cv_gcc_pch_bug
=yes
37896 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
37899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37900 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37902 if test "$wx_cv_gcc_pch_bug" = yes; then
37907 # Find a good install program. We prefer a C program (faster),
37908 # so one script is as good as another. But avoid the broken or
37909 # incompatible versions:
37910 # SysV /etc/install, /usr/sbin/install
37911 # SunOS /usr/etc/install
37912 # IRIX /sbin/install
37914 # AmigaOS /C/install, which installs bootblocks on floppy discs
37915 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37916 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37917 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37918 # OS/2's system install, which has a completely different semantic
37919 # ./install, which can be erroneously created by make from ./install.sh.
37920 # Reject install programs that cannot install multiple files.
37921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37922 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37923 if test -z "$INSTALL"; then
37924 if ${ac_cv_path_install+:} false
; then :
37925 $as_echo_n "(cached) " >&6
37927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37928 for as_dir
in $PATH
37931 test -z "$as_dir" && as_dir
=.
37932 # Account for people who put trailing slashes in PATH elements.
37933 case $as_dir/ in #((
37934 .
/ | .
// | /[cC
]/* | \
37935 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37936 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
37939 # OSF1 and SCO ODT 3.0 have their own names for install.
37940 # Don't use installbsd from OSF since it installs stuff as root
37942 for ac_prog
in ginstall scoinst
install; do
37943 for ac_exec_ext
in '' $ac_executable_extensions; do
37944 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
37945 if test $ac_prog = install &&
37946 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37947 # AIX install. It has an incompatible calling convention.
37949 elif test $ac_prog = install &&
37950 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37951 # program-specific install script used by HP pwplus--don't use.
37954 rm -rf conftest.one conftest.two conftest.dir
37955 echo one
> conftest.one
37956 echo two
> conftest.two
37958 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
37959 test -s conftest.one
&& test -s conftest.two
&&
37960 test -s conftest.dir
/conftest.one
&&
37961 test -s conftest.dir
/conftest.two
37963 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37976 rm -rf conftest.one conftest.two conftest.dir
37979 if test "${ac_cv_path_install+set}" = set; then
37980 INSTALL
=$ac_cv_path_install
37982 # As a last resort, use the slow shell script. Don't cache a
37983 # value for INSTALL within a source directory, because that will
37984 # break other packages using the cache if that directory is
37985 # removed, or if the value is a relative name.
37986 INSTALL
=$ac_install_sh
37989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37990 $as_echo "$INSTALL" >&6; }
37992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37993 # It thinks the first close brace ends the variable substitution.
37994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37998 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38006 if test "x$BAKEFILE_HOST" = "x"; then
38007 if test "x${host}" = "x" ; then
38008 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38011 BAKEFILE_HOST
="${host}"
38014 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38016 if test -n "$ac_tool_prefix"; then
38017 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38018 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38020 $as_echo_n "checking for $ac_word... " >&6; }
38021 if ${ac_cv_prog_RANLIB+:} false
; then :
38022 $as_echo_n "(cached) " >&6
38024 if test -n "$RANLIB"; then
38025 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38028 for as_dir
in $PATH
38031 test -z "$as_dir" && as_dir
=.
38032 for ac_exec_ext
in '' $ac_executable_extensions; do
38033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38034 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38044 RANLIB
=$ac_cv_prog_RANLIB
38045 if test -n "$RANLIB"; then
38046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38047 $as_echo "$RANLIB" >&6; }
38049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38050 $as_echo "no" >&6; }
38055 if test -z "$ac_cv_prog_RANLIB"; then
38056 ac_ct_RANLIB
=$RANLIB
38057 # Extract the first word of "ranlib", so it can be a program name with args.
38058 set dummy ranlib
; ac_word
=$2
38059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38060 $as_echo_n "checking for $ac_word... " >&6; }
38061 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
38062 $as_echo_n "(cached) " >&6
38064 if test -n "$ac_ct_RANLIB"; then
38065 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38068 for as_dir
in $PATH
38071 test -z "$as_dir" && as_dir
=.
38072 for ac_exec_ext
in '' $ac_executable_extensions; do
38073 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38074 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38084 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38085 if test -n "$ac_ct_RANLIB"; then
38086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38087 $as_echo "$ac_ct_RANLIB" >&6; }
38089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38090 $as_echo "no" >&6; }
38093 if test "x$ac_ct_RANLIB" = x
; then
38096 case $cross_compiling:$ac_tool_warned in
38098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38100 ac_tool_warned
=yes ;;
38102 RANLIB
=$ac_ct_RANLIB
38105 RANLIB
="$ac_cv_prog_RANLIB"
38109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38110 $as_echo_n "checking whether ln -s works... " >&6; }
38112 if test "$LN_S" = "ln -s"; then
38113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38114 $as_echo "yes" >&6; }
38116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38117 $as_echo "no, using $LN_S" >&6; }
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38122 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38124 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38125 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
38126 $as_echo_n "(cached) " >&6
38128 cat >conftest.
make <<\_ACEOF
38131 @
echo '@@@%%%=$(MAKE)=@@@%%%'
38133 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38134 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38135 *@@@
%%%=?
*=@@@
%%%*)
38136 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
38138 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
38140 rm -f conftest.
make
38142 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
38143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38144 $as_echo "yes" >&6; }
38147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38148 $as_echo "no" >&6; }
38149 SET_MAKE
="MAKE=${MAKE-make}"
38154 if test "x$SUNCXX" = "xyes"; then
38156 AROPTIONS
="-xar -o"
38158 elif test "x$SGICC" = "xyes"; then
38163 if test -n "$ac_tool_prefix"; then
38164 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38165 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38167 $as_echo_n "checking for $ac_word... " >&6; }
38168 if ${ac_cv_prog_AR+:} false
; then :
38169 $as_echo_n "(cached) " >&6
38171 if test -n "$AR"; then
38172 ac_cv_prog_AR
="$AR" # Let the user override the test.
38174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38175 for as_dir
in $PATH
38178 test -z "$as_dir" && as_dir
=.
38179 for ac_exec_ext
in '' $ac_executable_extensions; do
38180 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38181 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38192 if test -n "$AR"; then
38193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38194 $as_echo "$AR" >&6; }
38196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38197 $as_echo "no" >&6; }
38202 if test -z "$ac_cv_prog_AR"; then
38204 # Extract the first word of "ar", so it can be a program name with args.
38205 set dummy
ar; ac_word
=$2
38206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38207 $as_echo_n "checking for $ac_word... " >&6; }
38208 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
38209 $as_echo_n "(cached) " >&6
38211 if test -n "$ac_ct_AR"; then
38212 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38215 for as_dir
in $PATH
38218 test -z "$as_dir" && as_dir
=.
38219 for ac_exec_ext
in '' $ac_executable_extensions; do
38220 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38221 ac_cv_prog_ac_ct_AR
="ar"
38222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38231 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38232 if test -n "$ac_ct_AR"; then
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38234 $as_echo "$ac_ct_AR" >&6; }
38236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38237 $as_echo "no" >&6; }
38240 if test "x$ac_ct_AR" = x
; then
38243 case $cross_compiling:$ac_tool_warned in
38245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38247 ac_tool_warned
=yes ;;
38252 AR
="$ac_cv_prog_AR"
38259 if test -n "$ac_tool_prefix"; then
38260 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38261 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38263 $as_echo_n "checking for $ac_word... " >&6; }
38264 if ${ac_cv_prog_STRIP+:} false
; then :
38265 $as_echo_n "(cached) " >&6
38267 if test -n "$STRIP"; then
38268 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38271 for as_dir
in $PATH
38274 test -z "$as_dir" && as_dir
=.
38275 for ac_exec_ext
in '' $ac_executable_extensions; do
38276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38277 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38287 STRIP
=$ac_cv_prog_STRIP
38288 if test -n "$STRIP"; then
38289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38290 $as_echo "$STRIP" >&6; }
38292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38293 $as_echo "no" >&6; }
38298 if test -z "$ac_cv_prog_STRIP"; then
38300 # Extract the first word of "strip", so it can be a program name with args.
38301 set dummy strip
; ac_word
=$2
38302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38303 $as_echo_n "checking for $ac_word... " >&6; }
38304 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
38305 $as_echo_n "(cached) " >&6
38307 if test -n "$ac_ct_STRIP"; then
38308 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38311 for as_dir
in $PATH
38314 test -z "$as_dir" && as_dir
=.
38315 for ac_exec_ext
in '' $ac_executable_extensions; do
38316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38317 ac_cv_prog_ac_ct_STRIP
="strip"
38318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38327 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38328 if test -n "$ac_ct_STRIP"; then
38329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38330 $as_echo "$ac_ct_STRIP" >&6; }
38332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38333 $as_echo "no" >&6; }
38336 if test "x$ac_ct_STRIP" = x
; then
38339 case $cross_compiling:$ac_tool_warned in
38341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38343 ac_tool_warned
=yes ;;
38348 STRIP
="$ac_cv_prog_STRIP"
38351 if test -n "$ac_tool_prefix"; then
38352 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38353 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38355 $as_echo_n "checking for $ac_word... " >&6; }
38356 if ${ac_cv_prog_NM+:} false
; then :
38357 $as_echo_n "(cached) " >&6
38359 if test -n "$NM"; then
38360 ac_cv_prog_NM
="$NM" # Let the user override the test.
38362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38363 for as_dir
in $PATH
38366 test -z "$as_dir" && as_dir
=.
38367 for ac_exec_ext
in '' $ac_executable_extensions; do
38368 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38369 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38380 if test -n "$NM"; then
38381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38382 $as_echo "$NM" >&6; }
38384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38385 $as_echo "no" >&6; }
38390 if test -z "$ac_cv_prog_NM"; then
38392 # Extract the first word of "nm", so it can be a program name with args.
38393 set dummy nm
; ac_word
=$2
38394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38395 $as_echo_n "checking for $ac_word... " >&6; }
38396 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
38397 $as_echo_n "(cached) " >&6
38399 if test -n "$ac_ct_NM"; then
38400 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38403 for as_dir
in $PATH
38406 test -z "$as_dir" && as_dir
=.
38407 for ac_exec_ext
in '' $ac_executable_extensions; do
38408 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38409 ac_cv_prog_ac_ct_NM
="nm"
38410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38419 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38420 if test -n "$ac_ct_NM"; then
38421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38422 $as_echo "$ac_ct_NM" >&6; }
38424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38425 $as_echo "no" >&6; }
38428 if test "x$ac_ct_NM" = x
; then
38431 case $cross_compiling:$ac_tool_warned in
38433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38435 ac_tool_warned
=yes ;;
38440 NM
="$ac_cv_prog_NM"
38444 INSTALL_DIR
="mkdir -p"
38448 case ${BAKEFILE_HOST} in
38449 *-*-cygwin* | *-*-mingw32* )
38450 LDFLAGS_GUI
="-mwindows"
38456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38457 $as_echo_n "checking if make is GNU make... " >&6; }
38458 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
38459 $as_echo_n "(cached) " >&6
38462 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38463 egrep -s GNU
> /dev
/null
); then
38464 bakefile_cv_prog_makeisgnu
="yes"
38466 bakefile_cv_prog_makeisgnu
="no"
38470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38471 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38473 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38490 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38491 case "${BAKEFILE_HOST}" in
38498 *-pc-os2_emx | *-pc-os2-emx )
38508 powerpc
-apple-macos* )
38517 case "$BAKEFILE_FORCE_PLATFORM" in
38538 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38553 # Check whether --enable-omf was given.
38554 if test "${enable_omf+set}" = set; then :
38555 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38559 case "${BAKEFILE_HOST}" in
38561 if test "x$GCC" = "xyes"; then
38562 CFLAGS
="$CFLAGS -fno-common"
38563 CXXFLAGS
="$CXXFLAGS -fno-common"
38565 if test "x$XLCC" = "xyes"; then
38566 CFLAGS
="$CFLAGS -qnocommon"
38567 CXXFLAGS
="$CXXFLAGS -qnocommon"
38571 *-pc-os2_emx | *-pc-os2-emx )
38572 if test "x$bk_os2_use_omf" = "xyes" ; then
38575 LDFLAGS
="-Zomf $LDFLAGS"
38576 CFLAGS
="-Zomf $CFLAGS"
38577 CXXFLAGS
="-Zomf $CXXFLAGS"
38585 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38591 SO_SUFFIX_MODULE
="so"
38596 DLLPREFIX_MODULE
=""
38600 case "${BAKEFILE_HOST}" in
38605 SO_SUFFIX_MODULE
="sl"
38609 SO_SUFFIX_MODULE
="a"
38613 SO_SUFFIX_MODULE
="dll"
38614 DLLIMP_SUFFIX
="dll.a"
38621 SO_SUFFIX_MODULE
="dll"
38622 DLLIMP_SUFFIX
="dll.a"
38632 *-pc-os2_emx | *-pc-os2-emx )
38634 SO_SUFFIX_MODULE
="dll"
38635 DLLIMP_SUFFIX
=$OS2_LIBEXT
38639 LIBEXT
=".$OS2_LIBEXT"
38644 SO_SUFFIX_MODULE
="bundle"
38648 if test "x$DLLIMP_SUFFIX" = "x" ; then
38649 DLLIMP_SUFFIX
="$SO_SUFFIX"
38664 if test "x$GCC" = "xyes"; then
38668 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38669 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38672 case "${BAKEFILE_HOST}" in
38674 if test "x$GCC" != "xyes"; then
38675 LDFLAGS
="$LDFLAGS -L/usr/lib"
38677 SHARED_LD_CC
="${CC} -b -o"
38678 SHARED_LD_CXX
="${CXX} -b -o"
38684 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38686 elif test "x$SUNCXX" = "xyes"; then
38687 SHARED_LD_CC
="${CC} -G -o"
38688 SHARED_LD_CXX
="${CXX} -G -o"
38694 if test "x$SUNCXX" = xyes
; then
38695 SHARED_LD_CC
="${CC} -G -o"
38696 SHARED_LD_CXX
="${CXX} -G -o"
38704 cat <<EOF >shared-ld-sh
38706 #-----------------------------------------------------------------------------
38707 #-- Name: distrib/mac/shared-ld-sh
38708 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38709 #-- Author: Gilles Depeyrot
38710 #-- Copyright: (c) 2002 Gilles Depeyrot
38711 #-- Licence: any use permitted
38712 #-----------------------------------------------------------------------------
38717 linking_flag="-dynamiclib"
38718 ldargs="-r -keep_private_externs -nostdlib"
38720 if test "x${D}CXX" = "x"; then
38724 while test ${D}# -gt 0; do
38731 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38732 # collect these options and values
38733 args="${D}{args} ${D}1 ${D}2"
38738 # collect these options and values
38739 ldargs="${D}{ldargs} ${D}1 ${D}2"
38744 # collect these load args
38745 ldargs="${D}{ldargs} ${D}1"
38748 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38749 # collect these options
38750 args="${D}{args} ${D}1"
38753 -dynamiclib|-bundle)
38754 linking_flag="${D}1"
38758 echo "shared-ld: unhandled option '${D}1'"
38762 *.o | *.a | *.dylib)
38763 # collect object files
38764 objects="${D}{objects} ${D}1"
38768 echo "shared-ld: unhandled argument '${D}1'"
38779 # Link one module containing all the others
38781 if test ${D}{verbose} = 1; then
38782 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38784 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38788 # Link the shared library from the single module created, but only if the
38789 # previous command didn't fail:
38791 if test ${D}{status} = 0; then
38792 if test ${D}{verbose} = 1; then
38793 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38795 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38800 # Remove intermediate module
38802 rm -f master.${D}${D}.o
38807 chmod +x shared
-ld-sh
38809 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38810 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38814 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38815 if ${bakefile_cv_gcc31+:} false
; then :
38816 $as_echo_n "(cached) " >&6
38819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38820 /* end confdefs.h. */
38826 #if (__GNUC__ < 3) || \
38827 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38835 if ac_fn_c_try_compile
"$LINENO"; then :
38837 bakefile_cv_gcc31
=yes
38841 bakefile_cv_gcc31
=no
38845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38849 $as_echo "$bakefile_cv_gcc31" >&6; }
38850 if test "$bakefile_cv_gcc31" = "no"; then
38851 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38852 SHARED_LD_CXX
="$SHARED_LD_CC"
38854 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38855 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38858 if test "x$GCC" == "xyes"; then
38859 PIC_FLAG
="-dynamic -fPIC"
38861 if test "x$XLCC" = "xyes"; then
38862 PIC_FLAG
="-dynamic -DPIC"
38867 if test "x$GCC" = "xyes"; then
38870 case "${BAKEFILE_HOST}" in
38872 LD_EXPFULL
="-Wl,-bexpfull"
38876 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
38877 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
38879 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38880 set dummy makeC
++SharedLib
; ac_word
=$2
38881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38882 $as_echo_n "checking for $ac_word... " >&6; }
38883 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
38884 $as_echo_n "(cached) " >&6
38886 if test -n "$AIX_CXX_LD"; then
38887 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38890 for as_dir
in $PATH
38893 test -z "$as_dir" && as_dir
=.
38894 for ac_exec_ext
in '' $ac_executable_extensions; do
38895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38896 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38904 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38907 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38908 if test -n "$AIX_CXX_LD"; then
38909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38910 $as_echo "$AIX_CXX_LD" >&6; }
38912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38913 $as_echo "no" >&6; }
38917 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38918 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38923 SHARED_LD_CC
="${LD} -nostart -o"
38924 SHARED_LD_CXX
="${LD} -nostart -o"
38928 if test "x$GCC" != "xyes"; then
38933 *-*-cygwin* | *-*-mingw32* )
38935 SHARED_LD_CC
="\$(CC) -shared -o"
38936 SHARED_LD_CXX
="\$(CXX) -shared -o"
38940 *-pc-os2_emx | *-pc-os2-emx )
38941 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38942 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38946 cat <<EOF >dllar.sh
38949 # dllar - a tool to build both a .dll and an .a file
38950 # from a set of object (.o) files for EMX/OS2.
38952 # Written by Andrew Zabolotny, bit@freya.etu.ru
38953 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38955 # This script will accept a set of files on the command line.
38956 # All the public symbols from the .o files will be exported into
38957 # a .DEF file, then linker will be run (through gcc) against them to
38958 # build a shared library consisting of all given .o files. All libraries
38959 # (.a) will be first decompressed into component .o files then act as
38960 # described above. You can optionally give a description (-d "description")
38961 # which will be put into .DLL. To see the list of accepted options (as well
38962 # as command-line format) simply run this program without options. The .DLL
38963 # is built to be imported by name (there is no guarantee that new versions
38964 # of the library you build will have same ordinals for same symbols).
38966 # dllar is free software; you can redistribute it and/or modify
38967 # it under the terms of the GNU General Public License as published by
38968 # the Free Software Foundation; either version 2, or (at your option)
38969 # any later version.
38971 # dllar is distributed in the hope that it will be useful,
38972 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38973 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38974 # GNU General Public License for more details.
38976 # You should have received a copy of the GNU General Public License
38977 # along with dllar; see the file COPYING. If not, write to the Free
38978 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38981 # To successfuly run this program you will need:
38982 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38983 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38985 # (used to build the .dll)
38987 # (used to create .def file from .o files)
38989 # (used to create .a file from .def file)
38990 # - GNU text utilites (cat, sort, uniq)
38991 # used to process emxexp output
38992 # - GNU file utilities (mv, rm)
38994 # - lxlite (optional, see flag below)
38995 # (used for general .dll cleanup)
39002 # basnam, variant of basename, which does _not_ remove the path, _iff_
39003 # second argument (suffix to remove) is given
39007 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39010 echo ${D}1 | sed 's/'${D}2'${D}//'
39013 echo "error in basnam ${D}*"
39019 # Cleanup temporary files and output
39022 for i in ${D}inputFiles ; do
39025 rm -rf \`basnam ${D}i !\`
39032 # Kill result in case of failure as there is just to many stupid make/nmake
39033 # things out there which doesn't do this.
39034 if [ ${D}# -eq 0 ]; then
39035 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39039 # Print usage and exit script with rc=1.
39041 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39042 echo ' [-name-mangler-script script.sh]'
39043 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39044 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39045 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39046 echo ' [*.o] [*.a]'
39047 echo '*> "output_file" should have no extension.'
39048 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39049 echo ' The import library name is derived from this and is set to "name".a,'
39050 echo ' unless overridden by -import'
39051 echo '*> "importlib_name" should have no extension.'
39052 echo ' If it has the .o, or .a extension, it is automatically removed.'
39053 echo ' This name is used as the import library name and may be longer and'
39054 echo ' more descriptive than the DLL name which has to follow the old '
39055 echo ' 8.3 convention of FAT.'
39056 echo '*> "script.sh may be given to override the output_file name by a'
39057 echo ' different name. It is mainly useful if the regular make process'
39058 echo ' of some package does not take into account OS/2 restriction of'
39059 echo ' DLL name lengths. It takes the importlib name as input and is'
39060 echo ' supposed to procude a shorter name as output. The script should'
39061 echo ' expect to get importlib_name without extension and should produce'
39062 echo ' a (max.) 8 letter name without extension.'
39063 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39064 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39065 echo ' These flags will be put at the start of GCC command line.'
39066 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39067 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39068 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39069 echo ' If the last character of a symbol is "*", all symbols beginning'
39070 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39071 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39072 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39073 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39074 echo ' C runtime DLLs.'
39075 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39076 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39077 echo ' unchanged to GCC at the end of command line.'
39078 echo '*> If you create a DLL from a library and you do not specify -o,'
39079 echo ' the basename for DLL and import library will be set to library name,'
39080 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39081 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39082 echo ' library will be renamed into gcc_s.a.'
39085 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39086 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39091 # Execute a command.
39092 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39093 # @Uses Whatever CleanUp() uses.
39099 if [ ${D}rcCmd -ne 0 ]; then
39100 echo "command failed, exit code="${D}rcCmd
39115 CFLAGS="-s -Zcrtdll"
39117 EXPORT_BY_ORDINALS=0
39122 case ${D}curDirS in
39126 curDirS=${D}{curDirS}"/"
39129 # Parse commandline
39132 while [ ${D}1 ]; do
39135 EXPORT_BY_ORDINALS=1;
39145 -name-mangler-script)
39166 exclude_symbols=${D}{exclude_symbols}${D}1" "
39170 library_flags=${D}{library_flags}${D}1" "
39189 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39192 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39193 if [ ${D}omfLinking -eq 1 ]; then
39194 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39196 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39201 if [ ${D}libsToLink -ne 0 ]; then
39202 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39204 for file in ${D}1 ; do
39205 if [ -f ${D}file ]; then
39206 inputFiles="${D}{inputFiles} ${D}file"
39210 if [ ${D}found -eq 0 ]; then
39211 echo "ERROR: No file(s) found: "${D}1
39218 done # iterate cmdline words
39221 if [ -z "${D}inputFiles" ]; then
39222 echo "dllar: no input files"
39226 # Now extract all .o files from .a files
39228 for file in ${D}inputFiles ; do
39239 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39244 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39246 if [ ${D}? -ne 0 ]; then
39247 echo "Failed to create subdirectory ./${D}dirname"
39251 # Append '!' to indicate archive
39252 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39253 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39256 for subfile in ${D}dirname/*.o* ; do
39257 if [ -f ${D}subfile ]; then
39259 if [ -s ${D}subfile ]; then
39260 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39261 newInputFiles="${D}newInputFiles ${D}subfile"
39265 if [ ${D}found -eq 0 ]; then
39266 echo "WARNING: there are no files in archive \\'${D}file\\'"
39270 newInputFiles="${D}{newInputFiles} ${D}file"
39274 inputFiles="${D}newInputFiles"
39276 # Output filename(s).
39278 if [ -z ${D}outFile ]; then
39280 set outFile ${D}inputFiles; outFile=${D}2
39283 # If it is an archive, remove the '!' and the '_%' suffixes
39284 case ${D}outFile in
39286 outFile=\`basnam ${D}outFile _%!\`
39291 case ${D}outFile in
39293 outFile=\`basnam ${D}outFile .dll\`
39296 outFile=\`basnam ${D}outFile .DLL\`
39299 outFile=\`basnam ${D}outFile .o\`
39302 outFile=\`basnam ${D}outFile .obj\`
39305 outFile=\`basnam ${D}outFile .a\`
39308 outFile=\`basnam ${D}outFile .lib\`
39313 case ${D}outimpFile in
39315 outimpFile=\`basnam ${D}outimpFile .a\`
39318 outimpFile=\`basnam ${D}outimpFile .lib\`
39323 if [ -z ${D}outimpFile ]; then
39324 outimpFile=${D}outFile
39326 defFile="${D}{outFile}.def"
39327 arcFile="${D}{outimpFile}.a"
39328 arcFile2="${D}{outimpFile}.lib"
39330 #create ${D}dllFile as something matching 8.3 restrictions,
39331 if [ -z ${D}renameScript ] ; then
39332 dllFile="${D}outFile"
39334 dllFile=\`${D}renameScript ${D}outimpFile\`
39337 if [ ${D}do_backup -ne 0 ] ; then
39338 if [ -f ${D}arcFile ] ; then
39339 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39341 if [ -f ${D}arcFile2 ] ; then
39342 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39346 # Extract public symbols from all the object files.
39347 tmpdefFile=${D}{defFile}_%
39348 rm -f ${D}tmpdefFile
39349 for file in ${D}inputFiles ; do
39354 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39359 # Create the def file.
39361 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39362 dllFile="${D}{dllFile}.dll"
39363 if [ ! -z ${D}description ]; then
39364 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39366 echo "EXPORTS" >> ${D}defFile
39368 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39369 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39371 # Checks if the export is ok or not.
39372 for word in ${D}exclude_symbols; do
39373 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39374 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39378 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39379 sed "=" < ${D}tmpdefFile | \\
39383 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39385 ' > ${D}{tmpdefFile}%
39386 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39388 rm -f ${D}{tmpdefFile}%
39390 cat ${D}tmpdefFile >> ${D}defFile
39391 rm -f ${D}tmpdefFile
39393 # Do linking, create implib, and apply lxlite.
39395 for file in ${D}inputFiles ; do
39400 gccCmdl="${D}gccCmdl ${D}file"
39404 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39405 touch "${D}{outFile}.dll"
39407 doCommand "emximp -o ${D}arcFile ${D}defFile"
39408 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39410 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39413 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39415 doCommand "emxomf -s -l ${D}arcFile"
39425 powerpc
-apple-macos* | \
39426 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-gnu* | *-*-k*bsd
*-gnu | \
39436 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
39439 if test "x$PIC_FLAG" != "x" ; then
39440 PIC_FLAG
="$PIC_FLAG -DPIC"
39443 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39444 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39446 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39447 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39462 USE_SOTWOSYMLINKS
=0
39466 case "${BAKEFILE_HOST}" in
39467 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39468 *-*-k*bsd
*-gnu | *-*-mirbsd* | *-*-gnu* )
39469 if test "x$SUNCXX" = "xyes"; then
39472 SONAME_FLAG
="-Wl,-soname,"
39476 USE_SOTWOSYMLINKS
=1
39488 USE_SOTWOSYMLINKS
=1
39506 # Check whether --enable-dependency-tracking was given.
39507 if test "${enable_dependency_tracking+set}" = set; then :
39508 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39513 $as_echo_n "checking for dependency tracking method... " >&6; }
39516 if test "x$bk_use_trackdeps" = "xno" ; then
39518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39519 $as_echo "disabled" >&6; }
39523 if test "x$GCC" = "xyes"; then
39526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39527 $as_echo "gcc" >&6; }
39528 elif test "x$MWCC" = "xyes"; then
39531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39532 $as_echo "mwcc" >&6; }
39533 elif test "x$SUNCC" = "xyes"; then
39536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39537 $as_echo "Sun cc" >&6; }
39538 elif test "x$SGICC" = "xyes"; then
39541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39542 $as_echo "SGI cc" >&6; }
39543 elif test "x$HPCC" = "xyes"; then
39546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39547 $as_echo "HP cc" >&6; }
39548 elif test "x$COMPAQCC" = "xyes"; then
39551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39552 $as_echo "Compaq cc" >&6; }
39555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39556 $as_echo "none" >&6; }
39559 if test $DEPS_TRACKING = 1 ; then
39565 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39566 # script. It is used to track C/C++ files dependencies in portable way.
39568 # Permission is given to use this file in any way.
39570 DEPSMODE=${DEPSMODE}
39571 DEPSFLAG="${DEPSFLAG}"
39574 if test ${D}DEPSMODE = gcc ; then
39575 ${D}* ${D}{DEPSFLAG}
39578 # determine location of created files:
39579 while test ${D}# -gt 0; do
39593 objfilebase=\`basename ${D}objfile\`
39594 builddir=\`dirname ${D}objfile\`
39595 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39596 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39597 depsdir=${D}builddir/${D}DEPSDIRBASE
39598 mkdir -p ${D}depsdir
39600 # if the compiler failed, we're done:
39601 if test ${D}{status} != 0 ; then
39606 # move created file to the location we want it in:
39607 if test -f ${D}depfile ; then
39608 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39611 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39612 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39613 if test ! -f ${D}depfile ; then
39614 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39615 depfile="${D}objfile.d"
39617 if test -f ${D}depfile ; then
39618 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39624 elif test ${D}DEPSMODE = mwcc ; then
39625 ${D}* || exit ${D}?
39626 # Run mwcc again with -MM and redirect into the dep file we want
39627 # NOTE: We can't use shift here because we need ${D}* to be valid
39629 for arg in ${D}* ; do
39630 if test "${D}prevarg" = "-o"; then
39644 objfilebase=\`basename ${D}objfile\`
39645 builddir=\`dirname ${D}objfile\`
39646 depsdir=${D}builddir/${D}DEPSDIRBASE
39647 mkdir -p ${D}depsdir
39649 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39652 elif test ${D}DEPSMODE = unixcc; then
39653 ${D}* || exit ${D}?
39654 # Run compiler again with deps flag and redirect into the dep file.
39655 # It doesn't work if the '-o FILE' option is used, but without it the
39656 # dependency file will contain the wrong name for the object. So it is
39657 # removed from the command line, and the dep file is fixed with sed.
39659 while test ${D}# -gt 0; do
39666 eval arg${D}#=\\${D}1
39667 cmd="${D}cmd \\${D}arg${D}#"
39673 objfilebase=\`basename ${D}objfile\`
39674 builddir=\`dirname ${D}objfile\`
39675 depsdir=${D}builddir/${D}DEPSDIRBASE
39676 mkdir -p ${D}depsdir
39678 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39688 BK_DEPS
="`pwd`/bk-deps"
39696 case ${BAKEFILE_HOST} in
39697 *-*-cygwin* | *-*-mingw32* )
39698 if test -n "$ac_tool_prefix"; then
39699 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39700 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39702 $as_echo_n "checking for $ac_word... " >&6; }
39703 if ${ac_cv_prog_WINDRES+:} false
; then :
39704 $as_echo_n "(cached) " >&6
39706 if test -n "$WINDRES"; then
39707 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39710 for as_dir
in $PATH
39713 test -z "$as_dir" && as_dir
=.
39714 for ac_exec_ext
in '' $ac_executable_extensions; do
39715 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39716 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39726 WINDRES
=$ac_cv_prog_WINDRES
39727 if test -n "$WINDRES"; then
39728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39729 $as_echo "$WINDRES" >&6; }
39731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39732 $as_echo "no" >&6; }
39737 if test -z "$ac_cv_prog_WINDRES"; then
39738 ac_ct_WINDRES
=$WINDRES
39739 # Extract the first word of "windres", so it can be a program name with args.
39740 set dummy windres
; ac_word
=$2
39741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39742 $as_echo_n "checking for $ac_word... " >&6; }
39743 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39744 $as_echo_n "(cached) " >&6
39746 if test -n "$ac_ct_WINDRES"; then
39747 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39750 for as_dir
in $PATH
39753 test -z "$as_dir" && as_dir
=.
39754 for ac_exec_ext
in '' $ac_executable_extensions; do
39755 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39756 ac_cv_prog_ac_ct_WINDRES
="windres"
39757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39766 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39767 if test -n "$ac_ct_WINDRES"; then
39768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39769 $as_echo "$ac_ct_WINDRES" >&6; }
39771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39772 $as_echo "no" >&6; }
39775 if test "x$ac_ct_WINDRES" = x
; then
39778 case $cross_compiling:$ac_tool_warned in
39780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39782 ac_tool_warned
=yes ;;
39784 WINDRES
=$ac_ct_WINDRES
39787 WINDRES
="$ac_cv_prog_WINDRES"
39792 *-*-darwin* | powerpc
-apple-macos* )
39793 # Extract the first word of "Rez", so it can be a program name with args.
39794 set dummy Rez
; ac_word
=$2
39795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39796 $as_echo_n "checking for $ac_word... " >&6; }
39797 if ${ac_cv_prog_REZ+:} false
; then :
39798 $as_echo_n "(cached) " >&6
39800 if test -n "$REZ"; then
39801 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39804 for as_dir
in $PATH
39807 test -z "$as_dir" && as_dir
=.
39808 for ac_exec_ext
in '' $ac_executable_extensions; do
39809 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39810 ac_cv_prog_REZ
="Rez"
39811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39818 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
39821 REZ
=$ac_cv_prog_REZ
39822 if test -n "$REZ"; then
39823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39824 $as_echo "$REZ" >&6; }
39826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39827 $as_echo "no" >&6; }
39831 # Extract the first word of "SetFile", so it can be a program name with args.
39832 set dummy SetFile
; ac_word
=$2
39833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39834 $as_echo_n "checking for $ac_word... " >&6; }
39835 if ${ac_cv_prog_SETFILE+:} false
; then :
39836 $as_echo_n "(cached) " >&6
39838 if test -n "$SETFILE"; then
39839 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39842 for as_dir
in $PATH
39845 test -z "$as_dir" && as_dir
=.
39846 for ac_exec_ext
in '' $ac_executable_extensions; do
39847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39848 ac_cv_prog_SETFILE
="SetFile"
39849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39856 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39859 SETFILE
=$ac_cv_prog_SETFILE
39860 if test -n "$SETFILE"; then
39861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39862 $as_echo "$SETFILE" >&6; }
39864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39865 $as_echo "no" >&6; }
39880 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
39883 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
39887 # Check whether --enable-precomp-headers was given.
39888 if test "${enable_precomp_headers+set}" = set; then :
39889 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
39898 case ${BAKEFILE_HOST} in
39904 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39905 if test "x$GCC" = "xyes"; then
39906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39907 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39909 /* end confdefs.h. */
39915 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39916 There is no PCH support
39919 There is no PCH support
39921 #if (__GNUC__ == 3) && \
39922 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39923 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39924 ( defined(__INTEL_COMPILER) )
39925 There is no PCH support
39932 if ac_fn_c_try_compile
"$LINENO"; then :
39934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39935 $as_echo "yes" >&6; }
39940 if test "$INTELCXX8" = "yes"; then
39941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39942 $as_echo "yes" >&6; }
39944 if test "$INTELCXX10" = "yes"; then
39945 ICC_PCH_CREATE_SWITCH
="-pch-create"
39946 ICC_PCH_USE_SWITCH
="-pch-use"
39948 ICC_PCH_CREATE_SWITCH
="-create-pch"
39949 ICC_PCH_USE_SWITCH
="-use-pch"
39952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39953 $as_echo "no" >&6; }
39957 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39958 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39962 cat <<EOF >bk-make-pch
39965 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39966 # script. It is used to generated precompiled headers.
39968 # Permission is given to use this file in any way.
39975 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39980 while test ${D}{#} -gt 0; do
39984 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39985 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39986 headerfile="${D}{incdir}/${D}{header}"
39989 -use-pch|-use_pch|-pch-use )
39994 if test ${D}add_to_cmdline = 1 ; then
39995 compiler="${D}{compiler} ${D}{1}"
40000 if test "x${D}{headerfile}" = "x" ; then
40001 echo "error: can't find header ${D}{header} in include paths" >&2
40003 if test -f ${D}{outfile} ; then
40004 rm -f ${D}{outfile}
40006 mkdir -p \`dirname ${D}{outfile}\`
40008 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40009 mkdir -p ${D}{builddir}/.deps
40010 if test "x${GCC_PCH}" = "x1" ; then
40011 # can do this because gcc is >= 3.4:
40012 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40013 elif test "x${ICC_PCH}" = "x1" ; then
40014 filename=pch_gen-${D}${D}
40015 file=${D}{filename}.c
40016 dfile=${D}{filename}.d
40017 cat > ${D}file <<EOT
40018 #include "${D}header"
40020 # using -MF icc complains about differing command lines in creation/use
40021 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40022 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40023 rm -f ${D}file ${D}dfile ${D}{filename}.o
40029 chmod +x bk
-make-pch
40030 BK_MAKE_PCH
="`pwd`/bk-make-pch"
40041 COND_BUILD_debug
="#"
40042 if test "x$BUILD" = "xdebug" ; then
40043 COND_BUILD_debug
=""
40046 COND_BUILD_debug_DEBUG_INFO_default
="#"
40047 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40048 COND_BUILD_debug_DEBUG_INFO_default
=""
40051 COND_BUILD_release
="#"
40052 if test "x$BUILD" = "xrelease" ; then
40053 COND_BUILD_release
=""
40056 COND_BUILD_release_DEBUG_INFO_default
="#"
40057 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40058 COND_BUILD_release_DEBUG_INFO_default
=""
40061 COND_DEBUG_FLAG_0
="#"
40062 if test "x$DEBUG_FLAG" = "x0" ; then
40063 COND_DEBUG_FLAG_0
=""
40066 COND_DEBUG_INFO_0
="#"
40067 if test "x$DEBUG_INFO" = "x0" ; then
40068 COND_DEBUG_INFO_0
=""
40071 COND_DEBUG_INFO_1
="#"
40072 if test "x$DEBUG_INFO" = "x1" ; then
40073 COND_DEBUG_INFO_1
=""
40076 COND_DEPS_TRACKING_0
="#"
40077 if test "x$DEPS_TRACKING" = "x0" ; then
40078 COND_DEPS_TRACKING_0
=""
40081 COND_DEPS_TRACKING_1
="#"
40082 if test "x$DEPS_TRACKING" = "x1" ; then
40083 COND_DEPS_TRACKING_1
=""
40087 if test "x$GCC_PCH" = "x1" ; then
40092 if test "x$ICC_PCH" = "x1" ; then
40096 COND_MONOLITHIC_0
="#"
40097 if test "x$MONOLITHIC" = "x0" ; then
40098 COND_MONOLITHIC_0
=""
40101 COND_MONOLITHIC_0_SHARED_0
="#"
40102 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40103 COND_MONOLITHIC_0_SHARED_0
=""
40106 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
40107 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40108 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
40111 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40112 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40113 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40116 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40117 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40118 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40121 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
40122 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40123 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
40126 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
40127 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40128 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
40131 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
40132 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40133 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
40136 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
40137 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40138 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
40141 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
40142 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40143 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
40146 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
40147 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40148 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
40151 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
40152 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40153 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
40156 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40157 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40158 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40161 COND_MONOLITHIC_0_SHARED_1
="#"
40162 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40163 COND_MONOLITHIC_0_SHARED_1
=""
40166 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
40167 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40168 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
40171 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40172 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40173 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40176 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40177 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40178 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40181 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
40182 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40183 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
40186 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
40187 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40188 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
40191 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
40192 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40193 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
40196 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
40197 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40198 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
40201 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
40202 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40203 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
40206 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
40207 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40208 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
40211 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
40212 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40213 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
40216 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40217 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40218 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40221 COND_MONOLITHIC_0_USE_AUI_1
="#"
40222 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40223 COND_MONOLITHIC_0_USE_AUI_1
=""
40226 COND_MONOLITHIC_0_USE_GUI_1
="#"
40227 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40228 COND_MONOLITHIC_0_USE_GUI_1
=""
40231 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
40232 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40233 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
40236 COND_MONOLITHIC_0_USE_HTML_1
="#"
40237 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40238 COND_MONOLITHIC_0_USE_HTML_1
=""
40241 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
40242 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40243 COND_MONOLITHIC_0_USE_MEDIA_1
=""
40246 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
40247 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40248 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
40251 COND_MONOLITHIC_0_USE_QA_1
="#"
40252 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40253 COND_MONOLITHIC_0_USE_QA_1
=""
40256 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
40257 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40258 COND_MONOLITHIC_0_USE_RIBBON_1
=""
40261 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
40262 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40263 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
40266 COND_MONOLITHIC_0_USE_STC_1
="#"
40267 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40268 COND_MONOLITHIC_0_USE_STC_1
=""
40271 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
40272 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40273 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
40276 COND_MONOLITHIC_0_USE_XRC_1
="#"
40277 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40278 COND_MONOLITHIC_0_USE_XRC_1
=""
40281 COND_MONOLITHIC_1
="#"
40282 if test "x$MONOLITHIC" = "x1" ; then
40283 COND_MONOLITHIC_1
=""
40286 COND_MONOLITHIC_1_SHARED_0
="#"
40287 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40288 COND_MONOLITHIC_1_SHARED_0
=""
40291 COND_MONOLITHIC_1_SHARED_1
="#"
40292 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40293 COND_MONOLITHIC_1_SHARED_1
=""
40296 COND_MONOLITHIC_1_USE_STC_1
="#"
40297 if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
40298 COND_MONOLITHIC_1_USE_STC_1
=""
40301 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40302 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40303 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40306 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40307 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40308 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40311 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
40312 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40313 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
40316 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40317 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40318 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40321 COND_PLATFORM_MACOSX_1
="#"
40322 if test "x$PLATFORM_MACOSX" = "x1" ; then
40323 COND_PLATFORM_MACOSX_1
=""
40326 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
40327 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40328 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
40331 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
40332 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40333 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
40336 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40337 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40338 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40341 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40342 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40343 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40346 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40347 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40348 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40351 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40352 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40353 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40356 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40357 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40358 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40361 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
40362 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40363 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
40366 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40367 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40368 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40371 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
40372 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40373 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
40376 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40377 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40378 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40381 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40382 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40383 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40386 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40387 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40388 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40391 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
40392 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40393 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
40396 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40397 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40398 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40401 COND_PLATFORM_MAC_0
="#"
40402 if test "x$PLATFORM_MAC" = "x0" ; then
40403 COND_PLATFORM_MAC_0
=""
40406 COND_PLATFORM_MAC_1
="#"
40407 if test "x$PLATFORM_MAC" = "x1" ; then
40408 COND_PLATFORM_MAC_1
=""
40411 COND_PLATFORM_MSDOS_0
="#"
40412 if test "x$PLATFORM_MSDOS" = "x0" ; then
40413 COND_PLATFORM_MSDOS_0
=""
40416 COND_PLATFORM_MSDOS_1
="#"
40417 if test "x$PLATFORM_MSDOS" = "x1" ; then
40418 COND_PLATFORM_MSDOS_1
=""
40421 COND_PLATFORM_OS2_1
="#"
40422 if test "x$PLATFORM_OS2" = "x1" ; then
40423 COND_PLATFORM_OS2_1
=""
40426 COND_PLATFORM_UNIX_0
="#"
40427 if test "x$PLATFORM_UNIX" = "x0" ; then
40428 COND_PLATFORM_UNIX_0
=""
40431 COND_PLATFORM_UNIX_1
="#"
40432 if test "x$PLATFORM_UNIX" = "x1" ; then
40433 COND_PLATFORM_UNIX_1
=""
40436 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40437 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40438 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40441 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40442 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40443 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40446 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40447 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40448 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40451 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40452 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40453 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40456 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40457 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40458 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40461 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40462 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40463 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40466 COND_PLATFORM_WIN32_0
="#"
40467 if test "x$PLATFORM_WIN32" = "x0" ; then
40468 COND_PLATFORM_WIN32_0
=""
40471 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40472 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40473 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40476 COND_PLATFORM_WIN32_1
="#"
40477 if test "x$PLATFORM_WIN32" = "x1" ; then
40478 COND_PLATFORM_WIN32_1
=""
40481 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40482 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40483 COND_PLATFORM_WIN32_1_SHARED_0
=""
40486 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40487 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40488 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40491 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40492 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40493 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40496 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40497 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40498 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40501 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40502 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40503 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40507 if test "x$SHARED" = "x0" ; then
40511 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40512 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40513 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40516 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40517 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40518 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40521 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40522 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40523 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40526 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40527 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40528 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40531 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40532 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40533 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40536 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40537 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40538 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40541 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40542 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40543 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40546 COND_SHARED_0_USE_STC_1
="#"
40547 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40548 COND_SHARED_0_USE_STC_1
=""
40551 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40552 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40553 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40556 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40557 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40558 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40561 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40562 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40563 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40567 if test "x$SHARED" = "x1" ; then
40571 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40572 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40573 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40577 if test "x$TOOLKIT" = "x" ; then
40581 COND_TOOLKIT_COCOA
="#"
40582 if test "x$TOOLKIT" = "xCOCOA" ; then
40583 COND_TOOLKIT_COCOA
=""
40586 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40587 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40588 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40591 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40592 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40593 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40596 COND_TOOLKIT_DFB
="#"
40597 if test "x$TOOLKIT" = "xDFB" ; then
40598 COND_TOOLKIT_DFB
=""
40601 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40602 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40603 COND_TOOLKIT_DFB_USE_GUI_1
=""
40606 COND_TOOLKIT_GTK
="#"
40607 if test "x$TOOLKIT" = "xGTK" ; then
40608 COND_TOOLKIT_GTK
=""
40611 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40612 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40613 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40616 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40617 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40618 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40621 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40622 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40623 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40626 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40627 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40628 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40631 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
="#"
40632 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40633 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
=""
40636 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40637 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40638 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40641 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
="#"
40642 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40643 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
=""
40646 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40647 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40648 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40651 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40652 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40653 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40656 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40657 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40658 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40661 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40662 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40663 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40666 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40667 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40668 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40671 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40672 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40673 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40676 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40677 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40678 COND_TOOLKIT_GTK_USE_GUI_1
=""
40681 COND_TOOLKIT_MAC
="#"
40682 if test "x$TOOLKIT" = "xMAC" ; then
40683 COND_TOOLKIT_MAC
=""
40686 COND_TOOLKIT_MOTIF
="#"
40687 if test "x$TOOLKIT" = "xMOTIF" ; then
40688 COND_TOOLKIT_MOTIF
=""
40691 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40692 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40693 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40696 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40697 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40698 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40701 COND_TOOLKIT_MSW
="#"
40702 if test "x$TOOLKIT" = "xMSW" ; then
40703 COND_TOOLKIT_MSW
=""
40706 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40707 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40708 COND_TOOLKIT_MSW_USE_GUI_1
=""
40711 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40712 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40713 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40716 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40717 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40718 COND_TOOLKIT_MSW_WXUNIV_0
=""
40721 COND_TOOLKIT_OSX_CARBON
="#"
40722 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40723 COND_TOOLKIT_OSX_CARBON
=""
40726 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40727 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40728 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40731 COND_TOOLKIT_OSX_COCOA
="#"
40732 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40733 COND_TOOLKIT_OSX_COCOA
=""
40736 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40737 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40738 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40741 COND_TOOLKIT_OSX_IPHONE
="#"
40742 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40743 COND_TOOLKIT_OSX_IPHONE
=""
40746 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40747 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40748 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40751 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40752 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40753 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40756 COND_TOOLKIT_PM
="#"
40757 if test "x$TOOLKIT" = "xPM" ; then
40761 COND_TOOLKIT_PM_USE_GUI_1
="#"
40762 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40763 COND_TOOLKIT_PM_USE_GUI_1
=""
40766 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40767 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40768 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40771 COND_TOOLKIT_WINCE
="#"
40772 if test "x$TOOLKIT" = "xWINCE" ; then
40773 COND_TOOLKIT_WINCE
=""
40776 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40777 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40778 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40781 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40782 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40783 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40786 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40787 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40788 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40791 COND_TOOLKIT_X11
="#"
40792 if test "x$TOOLKIT" = "xX11" ; then
40793 COND_TOOLKIT_X11
=""
40796 COND_TOOLKIT_X11_USE_GUI_1
="#"
40797 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40798 COND_TOOLKIT_X11_USE_GUI_1
=""
40801 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
="#"
40802 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40803 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
=""
40806 COND_TOOLKIT_X11_WXUNIV_1
="#"
40807 if test "x$TOOLKIT" = "xX11" -a "x$WXUNIV" = "x1" ; then
40808 COND_TOOLKIT_X11_WXUNIV_1
=""
40812 if test "x$UNICODE" = "x1" ; then
40816 COND_USE_CAIRO_1
="#"
40817 if test "x$USE_CAIRO" = "x1" ; then
40818 COND_USE_CAIRO_1
=""
40821 COND_USE_EXCEPTIONS_0
="#"
40822 if test "x$USE_EXCEPTIONS" = "x0" ; then
40823 COND_USE_EXCEPTIONS_0
=""
40826 COND_USE_EXCEPTIONS_1
="#"
40827 if test "x$USE_EXCEPTIONS" = "x1" ; then
40828 COND_USE_EXCEPTIONS_1
=""
40832 if test "x$USE_GUI" = "x0" ; then
40837 if test "x$USE_GUI" = "x1" ; then
40841 COND_USE_GUI_1_USE_OPENGL_1
="#"
40842 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40843 COND_USE_GUI_1_USE_OPENGL_1
=""
40846 COND_USE_GUI_1_WXUNIV_0
="#"
40847 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40848 COND_USE_GUI_1_WXUNIV_0
=""
40851 COND_USE_GUI_1_WXUNIV_1
="#"
40852 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40853 COND_USE_GUI_1_WXUNIV_1
=""
40856 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40857 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40858 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40861 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40862 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40863 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40866 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40867 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40868 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40871 COND_USE_OPENGL_1
="#"
40872 if test "x$USE_OPENGL" = "x1" ; then
40873 COND_USE_OPENGL_1
=""
40877 if test "x$USE_PCH" = "x1" ; then
40881 COND_USE_PLUGINS_0
="#"
40882 if test "x$USE_PLUGINS" = "x0" ; then
40883 COND_USE_PLUGINS_0
=""
40886 COND_USE_RTTI_0
="#"
40887 if test "x$USE_RTTI" = "x0" ; then
40891 COND_USE_RTTI_1
="#"
40892 if test "x$USE_RTTI" = "x1" ; then
40896 COND_USE_SOTWOSYMLINKS_1
="#"
40897 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40898 COND_USE_SOTWOSYMLINKS_1
=""
40901 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
40902 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40903 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
40906 COND_USE_SOVERLINUX_1
="#"
40907 if test "x$USE_SOVERLINUX" = "x1" ; then
40908 COND_USE_SOVERLINUX_1
=""
40911 COND_USE_SOVERSION_0
="#"
40912 if test "x$USE_SOVERSION" = "x0" ; then
40913 COND_USE_SOVERSION_0
=""
40916 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
40917 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40918 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
40921 COND_USE_SOVERSOLARIS_1
="#"
40922 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40923 COND_USE_SOVERSOLARIS_1
=""
40927 if test "x$USE_STC" = "x1" ; then
40931 COND_USE_THREADS_0
="#"
40932 if test "x$USE_THREADS" = "x0" ; then
40933 COND_USE_THREADS_0
=""
40936 COND_USE_THREADS_1
="#"
40937 if test "x$USE_THREADS" = "x1" ; then
40938 COND_USE_THREADS_1
=""
40942 if test "x$USE_XRC" = "x1" ; then
40946 COND_WINDOWS_IMPLIB_1
="#"
40947 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40948 COND_WINDOWS_IMPLIB_1
=""
40951 COND_WITH_PLUGIN_SDL_1
="#"
40952 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40953 COND_WITH_PLUGIN_SDL_1
=""
40957 if test "x$WXUNIV" = "x0" ; then
40962 if test "x$WXUNIV" = "x1" ; then
40966 COND_wxUSE_EXPAT_builtin
="#"
40967 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40968 COND_wxUSE_EXPAT_builtin
=""
40971 COND_wxUSE_LIBJPEG_builtin
="#"
40972 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40973 COND_wxUSE_LIBJPEG_builtin
=""
40976 COND_wxUSE_LIBPNG_builtin
="#"
40977 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40978 COND_wxUSE_LIBPNG_builtin
=""
40981 COND_wxUSE_LIBTIFF_builtin
="#"
40982 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40983 COND_wxUSE_LIBTIFF_builtin
=""
40986 COND_wxUSE_REGEX_builtin
="#"
40987 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40988 COND_wxUSE_REGEX_builtin
=""
40991 COND_wxUSE_ZLIB_builtin
="#"
40992 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40993 COND_wxUSE_ZLIB_builtin
=""
40998 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40999 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
41002 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41003 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
41010 ?
:* ) # Drive letter, considered as absolute.
41013 INSTALL
=`pwd`/${INSTALL} ;;
41016 if test "$wxUSE_GUI" = "yes"; then
41018 if test "$wxUSE_MSW" = 1 ; then
41019 if test "x$WINDRES" = "x"; then
41020 as_fn_error $?
"Required windres program not found" "$LINENO" 5
41026 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41027 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41028 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41030 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41032 # Extract the first word of "DeRez", so it can be a program name with args.
41033 set dummy DeRez
; ac_word
=$2
41034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41035 $as_echo_n "checking for $ac_word... " >&6; }
41036 if ${ac_cv_prog_DEREZ+:} false
; then :
41037 $as_echo_n "(cached) " >&6
41039 if test -n "$DEREZ"; then
41040 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
41042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41043 for as_dir
in $PATH
41046 test -z "$as_dir" && as_dir
=.
41047 for ac_exec_ext
in '' $ac_executable_extensions; do
41048 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41049 ac_cv_prog_DEREZ
="DeRez"
41050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41057 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
41060 DEREZ
=$ac_cv_prog_DEREZ
41061 if test -n "$DEREZ"; then
41062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41063 $as_echo "$DEREZ" >&6; }
41065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41066 $as_echo "no" >&6; }
41071 MACSETFILE
="\$(SETFILE)"
41073 if test "$wxUSE_OSX_CARBON" = 1; then
41074 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41076 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
41078 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41079 RESCOMP
="cat /dev/null \| $REZ"
41080 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41086 if test "$wxUSE_PM" = 1; then
41088 WXCONFIG_RESFLAGS
="-ep"
41090 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
41092 POSTLINK_COMMAND
="@true"
41099 if test $GCC_PCH = 1
41101 if test "$wx_cv_gcc_pch_bug" = yes; then
41102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41103 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41105 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41107 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41110 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41111 # the headers that benefit from precompilation are mostly C++ headers.
41112 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
41113 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41114 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41118 if test "$DEPS_TRACKING" = 1 -a "$wxUSE_MAC" = 1 ; then
41119 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41120 if test "x$disable_macosx_deps" = "xyes"; then
41121 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
41128 if test "$wxUSE_SHARED" = "yes"; then
41130 *-pc-os2_emx | *-pc-os2-emx )
41131 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41132 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41133 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41134 cp -p ${srcdir}/src
/os
2/dllar.sh .
41138 if test "$wxUSE_OMF" = "yes"; then
41140 *-pc-os2_emx | *-pc-os2-emx )
41141 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
41142 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41143 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41148 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41153 if test "$GCC" = yes; then
41154 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
41155 LIBS
=`echo $LIBS | sed 's/-mt//g'`
41156 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41161 if test "x$SUNCXX" = xyes
; then
41162 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
41163 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
41164 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41169 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
41170 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41171 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
41172 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41174 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41232 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41234 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41235 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
41236 $as_echo_n "(cached) " >&6
41238 cat >conftest.
make <<\_ACEOF
41241 @
echo '@@@%%%=$(MAKE)=@@@%%%'
41243 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41244 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41245 *@@@
%%%=?
*=@@@
%%%*)
41246 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
41248 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
41250 rm -f conftest.
make
41252 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
41253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41254 $as_echo "yes" >&6; }
41257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41258 $as_echo "no" >&6; }
41259 SET_MAKE
="MAKE=${MAKE-make}"
41264 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41267 if test "$USE_WIN32" = 1; then
41268 ac_config_commands
="$ac_config_commands rcdefs.h"
41272 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41275 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41278 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
41281 if test "$wx_cv_version_script" = "yes"; then
41282 ac_config_files
="$ac_config_files version-script"
41285 ac_config_files
="$ac_config_files Makefile"
41288 ac_config_commands
="$ac_config_commands wx-config"
41292 if test "$wxWITH_SUBDIRS" != "no"; then
41293 if test "$wxUSE_GUI" = "yes"; then
41294 SUBDIRS
="samples demos utils"
41296 SUBDIRS
="samples utils"
41301 # Check whether --with-cppunit-prefix was given.
41302 if test "${with_cppunit_prefix+set}" = set; then :
41303 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
41305 cppunit_config_prefix
=""
41309 # Check whether --with-cppunit-exec-prefix was given.
41310 if test "${with_cppunit_exec_prefix+set}" = set; then :
41311 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
41313 cppunit_config_exec_prefix
=""
41317 if test x
$cppunit_config_exec_prefix != x
; then
41318 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41319 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41320 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41323 if test x
$cppunit_config_prefix != x
; then
41324 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41325 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41326 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41330 # Extract the first word of "cppunit-config", so it can be a program name with args.
41331 set dummy cppunit
-config; ac_word
=$2
41332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41333 $as_echo_n "checking for $ac_word... " >&6; }
41334 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
41335 $as_echo_n "(cached) " >&6
41337 case $CPPUNIT_CONFIG in
41339 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41343 for as_dir
in $PATH
41346 test -z "$as_dir" && as_dir
=.
41347 for ac_exec_ext
in '' $ac_executable_extensions; do
41348 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41349 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41357 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41361 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41362 if test -n "$CPPUNIT_CONFIG"; then
41363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41364 $as_echo "$CPPUNIT_CONFIG" >&6; }
41366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41367 $as_echo "no" >&6; }
41371 cppunit_version_min
=1.8.0
41373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41374 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41376 if test "$CPPUNIT_CONFIG" = "no" ; then
41377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41378 $as_echo "no" >&6; }
41381 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41382 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41383 cppunit_version
=`$CPPUNIT_CONFIG --version`
41385 cppunit_major_version
=`echo $cppunit_version | \
41386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41387 cppunit_minor_version
=`echo $cppunit_version | \
41388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41389 cppunit_micro_version
=`echo $cppunit_version | \
41390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41392 cppunit_major_min
=`echo $cppunit_version_min | \
41393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41394 cppunit_minor_min
=`echo $cppunit_version_min | \
41395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41396 cppunit_micro_min
=`echo $cppunit_version_min | \
41397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41399 cppunit_version_proper
=`expr \
41400 $cppunit_major_version \> $cppunit_major_min \| \
41401 $cppunit_major_version \= $cppunit_major_min \& \
41402 $cppunit_minor_version \> $cppunit_minor_min \| \
41403 $cppunit_major_version \= $cppunit_major_min \& \
41404 $cppunit_minor_version \= $cppunit_minor_min \& \
41405 $cppunit_micro_version \>= $cppunit_micro_min `
41407 if test "$cppunit_version_proper" = "1" ; then
41408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41409 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41412 $as_echo "no" >&6; }
41417 if test "x$no_cppunit" = x
; then
41418 SUBDIRS
="$SUBDIRS tests"
41429 for subdir
in $SUBDIRS; do
41430 if test -d ${srcdir}/${subdir} ; then
41431 if test "$wxUSE_GUI" = "yes"; then
41432 if test ${subdir} = "samples"; then
41433 makefiles
="samples/Makefile.in $makefiles"
41434 for sample
in $SAMPLES_SUBDIRS; do
41435 if test -d $srcdir/samples
/$sample; then
41436 makefiles
="samples/$sample/Makefile.in $makefiles"
41440 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41441 eval "disabled=\$$disabled_var"
41442 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41443 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41446 if test ${subdir} = "samples"; then
41447 makefiles
="samples/Makefile.in $makefiles"
41448 for sample
in `echo $SAMPLES_SUBDIRS`; do
41449 if test -d $srcdir/samples
/$sample; then
41450 makefiles
="samples/$sample/Makefile.in $makefiles"
41453 elif test ${subdir} = "utils"; then
41455 for util
in ifacecheck
; do
41456 if test -d $srcdir/utils
/$util ; then
41457 makefiles
="utils/$util/src/Makefile.in \
41462 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41466 for mkin
in $makefiles ; do
41467 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41468 ac_config_files
="$ac_config_files $mk"
41474 cat >confcache
<<\_ACEOF
41475 # This file is a shell script that caches the results of configure
41476 # tests run on this system so they can be shared between configure
41477 # scripts and configure runs, see configure's option --config-cache.
41478 # It is not useful on other systems. If it contains results you don't
41479 # want to keep, you may remove or edit it.
41481 # config.status only pays attention to the cache file if you give it
41482 # the --recheck option to rerun configure.
41484 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41485 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41486 # following values.
41490 # The following way of writing the cache mishandles newlines in values,
41491 # but we know of no workaround that is simple, portable, and efficient.
41492 # So, we kill variables containing newlines.
41493 # Ultrix sh set writes to stderr and can't be redirected directly,
41494 # and sets the high bit in the cache file unless we assign to the vars.
41496 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41497 eval ac_val
=\$
$ac_var
41501 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41502 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41505 _
| IFS
| as_nl
) ;; #(
41506 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41507 *) { eval $ac_var=; unset $ac_var;} ;;
41513 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41514 *${as_nl}ac_space
=\
*)
41515 # `set' does not quote correctly, so add quotes: double-quote
41516 # substitution turns \\\\ into \\, and sed turns \\ into \.
41519 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41522 # `set' quotes correctly as required by POSIX, so do not add quotes.
41523 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41532 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41534 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41536 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41537 if test -w "$cache_file"; then
41538 if test "x$cache_file" != "x/dev/null"; then
41539 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41540 $as_echo "$as_me: updating cache $cache_file" >&6;}
41541 if test ! -f "$cache_file" || test -h "$cache_file"; then
41542 cat confcache
>"$cache_file"
41544 case $cache_file in #(
41546 mv -f confcache
"$cache_file"$$
&&
41547 mv -f "$cache_file"$$
"$cache_file" ;; #(
41549 mv -f confcache
"$cache_file" ;;
41554 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41555 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41560 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41561 # Let make expand exec_prefix.
41562 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41564 DEFS
=-DHAVE_CONFIG_H
41569 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41570 # 1. Remove the extension, and $U if already installed.
41571 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41572 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41573 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41574 # will be set to the directory where LIBOBJS objects are built.
41575 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41576 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41578 LIBOBJS
=$ac_libobjs
41580 LTLIBOBJS
=$ac_ltlibobjs
41584 : "${CONFIG_STATUS=./config.status}"
41586 ac_clean_files_save
=$ac_clean_files
41587 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41588 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41589 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41591 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41593 # Generated by $as_me.
41594 # Run this file to recreate the current configuration.
41595 # Compiler output produced by configure, useful for debugging
41596 # configure, is in config.log if it exists.
41599 ac_cs_recheck=false
41602 SHELL=\${CONFIG_SHELL-$SHELL}
41605 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41606 ## -------------------- ##
41607 ## M4sh Initialization. ##
41608 ## -------------------- ##
41610 # Be more Bourne compatible
41611 DUALCASE
=1; export DUALCASE
# for MKS sh
41612 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41615 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41616 # is contrary to our usage. Disable this feature.
41617 alias -g '${1+"$@"}'='"$@"'
41618 setopt NO_GLOB_SUBST
41620 case `(set -o) 2>/dev/null` in #(
41632 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41633 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41634 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41635 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41636 # Prefer a ksh shell builtin over an external printf program on Solaris,
41637 # but without wasting forks for bash or zsh.
41638 if test -z "$BASH_VERSION$ZSH_VERSION" \
41639 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41640 as_echo='print
-r --'
41641 as_echo_n='print
-rn --'
41642 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41643 as_echo='printf %s
\n'
41644 as_echo_n='printf %s
'
41646 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41647 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41648 as_echo_n='/usr
/ucb
/echo -n'
41650 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41651 as_echo_n_body='eval
41655 expr "X$arg" : "X\\(.*\\)$as_nl";
41656 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41658 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41660 export as_echo_n_body
41661 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41663 export as_echo_body
41664 as_echo='sh
-c $as_echo_body as_echo
'
41667 # The user is always right.
41668 if test "${PATH_SEPARATOR+set}" != set; then
41670 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41671 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41678 # We need space, tab and new line, in precisely that order. Quoting is
41679 # there to prevent editors from complaining about space-tab.
41680 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41681 # splitting by setting IFS to empty value.)
41684 # Find who we are. Look in the path if we contain no directory separator.
41687 *[\\/]* ) as_myself=$0 ;;
41688 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41689 for as_dir in $PATH
41692 test -z "$as_dir" && as_dir=.
41693 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41699 # We did not find ourselves, most probably we were run as `sh COMMAND'
41700 # in which case we are not to be found in the path.
41701 if test "x$as_myself" = x
; then
41704 if test ! -f "$as_myself"; then
41705 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41709 # Unset variables that we do not need and which cause bugs (e.g. in
41710 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41711 # suppresses any "Segmentation fault" message there. '((' could
41712 # trigger a bug in pdksh 5.2.14.
41713 for as_var
in BASH_ENV ENV MAIL MAILPATH
41714 do eval test x\
${$as_var+set} = xset \
41715 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41728 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41731 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41732 # ----------------------------------------
41733 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41734 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41735 # script with STATUS, using 1 if that was 0.
41738 as_status
=$1; test $as_status -eq 0 && as_status
=1
41740 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41741 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41743 $as_echo "$as_me: error: $2" >&2
41744 as_fn_exit
$as_status
41748 # as_fn_set_status STATUS
41749 # -----------------------
41750 # Set $? to STATUS, without forking.
41751 as_fn_set_status
()
41754 } # as_fn_set_status
41756 # as_fn_exit STATUS
41757 # -----------------
41758 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41762 as_fn_set_status
$1
41768 # Portably unset VAR.
41771 { eval $1=; unset $1;}
41773 as_unset
=as_fn_unset
41774 # as_fn_append VAR VALUE
41775 # ----------------------
41776 # Append the text in VALUE to the end of the definition contained in VAR. Take
41777 # advantage of any shell optimizations that allow amortized linear growth over
41778 # repeated appends, instead of the typical quadratic growth present in naive
41780 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41781 eval 'as_fn_append ()
41792 # as_fn_arith ARG...
41793 # ------------------
41794 # Perform arithmetic evaluation on the ARGs, and store the result in the
41795 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41796 # must be portable across $(()) and expr.
41797 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41798 eval 'as_fn_arith ()
41805 as_val
=`expr "$@" || test $? -eq 1`
41810 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41811 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41817 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41818 as_basename
=basename
41823 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
41829 as_me
=`$as_basename -- "$0" ||
41830 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41831 X"$0" : 'X\(//\)$' \| \
41832 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41834 sed '/^.*\/\([^/][^/]*\)\/*$/{
41848 # Avoid depending upon Character Ranges.
41849 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41850 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41851 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41852 as_cr_digits
='0123456789'
41853 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41855 ECHO_C
= ECHO_N
= ECHO_T
=
41856 case `echo -n x` in #(((((
41858 case `echo 'xy\c'` in
41859 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
41861 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
41868 rm -f conf$$ conf$$.exe conf$$.
file
41869 if test -d conf$$.dir
; then
41870 rm -f conf$$.dir
/conf$$.
file
41873 mkdir conf$$.dir
2>/dev
/null
41875 if (echo >conf$$.
file) 2>/dev
/null
; then
41876 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41878 # ... but there are two gotchas:
41879 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41880 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41881 # In both cases, we have to default to `cp -pR'.
41882 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
41884 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41892 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
41893 rmdir conf$$.dir
2>/dev
/null
41898 # Create "$as_dir" as a directory, including parents if necessary.
41903 -*) as_dir
=.
/$as_dir;;
41905 test -d "$as_dir" || eval $as_mkdir_p || {
41909 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41910 *) as_qdir
=$as_dir;;
41912 as_dirs
="'$as_qdir' $as_dirs"
41913 as_dir
=`$as_dirname -- "$as_dir" ||
41914 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41915 X"$as_dir" : 'X\(//\)[^/]' \| \
41916 X"$as_dir" : 'X\(//\)$' \| \
41917 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41918 $as_echo X"$as_dir" |
41919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41923 /^X\(\/\/\)[^/].*/{
41936 test -d "$as_dir" && break
41938 test -z "$as_dirs" || eval "mkdir $as_dirs"
41939 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
41943 if mkdir -p .
2>/dev
/null
; then
41944 as_mkdir_p
='mkdir -p "$as_dir"'
41946 test -d .
/-p && rmdir .
/-p
41951 # as_fn_executable_p FILE
41952 # -----------------------
41953 # Test if FILE is an executable regular file.
41954 as_fn_executable_p
()
41956 test -f "$1" && test -x "$1"
41957 } # as_fn_executable_p
41958 as_test_x
='test -x'
41959 as_executable_p
=as_fn_executable_p
41961 # Sed expression to map a string onto a valid CPP name.
41962 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41964 # Sed expression to map a string onto a valid variable name.
41965 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41969 ## ----------------------------------- ##
41970 ## Main body of $CONFIG_STATUS script. ##
41971 ## ----------------------------------- ##
41973 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
41975 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41976 # Save the log message, to keep $0 and so on meaningful, and to
41977 # report actual input values of CONFIG_FILES etc. instead of their
41978 # values after options handling.
41980 This file was extended by wxWidgets $as_me 3.0.0, which was
41981 generated by GNU Autoconf 2.69. Invocation command line was
41983 CONFIG_FILES = $CONFIG_FILES
41984 CONFIG_HEADERS = $CONFIG_HEADERS
41985 CONFIG_LINKS = $CONFIG_LINKS
41986 CONFIG_COMMANDS = $CONFIG_COMMANDS
41989 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41994 case $ac_config_files in *"
41995 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
41998 case $ac_config_headers in *"
41999 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
42003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42004 # Files that config.status was made for.
42005 config_files="$ac_config_files"
42006 config_headers="$ac_config_headers"
42007 config_commands="$ac_config_commands"
42011 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42013 \`$as_me' instantiates files and other configuration actions
42014 from templates according to the current configuration. Unless the files
42015 and actions are specified as TAGs, all are instantiated by default.
42017 Usage: $0 [OPTION]... [TAG]...
42019 -h, --help print this help, then exit
42020 -V, --version print version number and configuration settings, then exit
42021 --config print configuration, then exit
42022 -q, --quiet, --silent
42023 do not print progress messages
42024 -d, --debug don't remove temporary files
42025 --recheck update $as_me by reconfiguring in the same conditions
42026 --file=FILE[:TEMPLATE]
42027 instantiate the configuration file FILE
42028 --header=FILE[:TEMPLATE]
42029 instantiate the configuration header FILE
42031 Configuration files:
42034 Configuration headers:
42037 Configuration commands:
42040 Report bugs to <wx-dev@lists.wxwidgets.org>."
42043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42044 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42046 wxWidgets config.status 3.0.0
42047 configured by $0, generated by GNU Autoconf 2.69,
42048 with options \\"\$ac_cs_config\\"
42050 Copyright (C) 2012 Free Software Foundation, Inc.
42051 This config.status script is free software; the Free Software Foundation
42052 gives unlimited permission to copy, distribute and modify it."
42057 test -n "\$AWK" || AWK=awk
42060 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42061 # The default lists apply if the user does not specify any file.
42067 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42068 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
42072 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42084 # Handling of the options.
42085 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42087 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42088 $as_echo "$ac_cs_version"; exit ;;
42089 --config | --confi | --conf | --con | --co | --c )
42090 $as_echo "$ac_cs_config"; exit ;;
42091 --debug | --debu | --deb | --de | --d | -d )
42093 --file | --fil | --fi | --f )
42096 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42097 '') as_fn_error $?
"missing file argument" ;;
42099 as_fn_append CONFIG_FILES
" '$ac_optarg'"
42100 ac_need_defaults
=false
;;
42101 --header | --heade | --head | --hea )
42104 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42106 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
42107 ac_need_defaults
=false
;;
42109 # Conflict between --help and --header
42110 as_fn_error $?
"ambiguous option: \`$1'
42111 Try \`$0 --help' for more information.";;
42112 --help | --hel | -h )
42113 $as_echo "$ac_cs_usage"; exit ;;
42114 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42115 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42118 # This is an error.
42119 -*) as_fn_error $?
"unrecognized option: \`$1'
42120 Try \`$0 --help' for more information." ;;
42122 *) as_fn_append ac_config_targets
" $1"
42123 ac_need_defaults
=false
;;
42129 ac_configure_extra_args
=
42131 if $ac_cs_silent; then
42133 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42138 if \$ac_cs_recheck; then
42139 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42141 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42142 CONFIG_SHELL='$SHELL'
42143 export CONFIG_SHELL
42148 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42152 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42153 ## Running $as_me. ##
42159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42165 infile="$srcdir/include/wx/msw/genrcdefs.h"
42166 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42169 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42170 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42171 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42177 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42179 # Handling of arguments.
42180 for ac_config_target
in $ac_config_targets
42182 case $ac_config_target in
42183 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42184 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
42185 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42186 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42187 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42188 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42189 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42190 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42191 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42193 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42198 # If the user did not use the arguments to specify the items to instantiate,
42199 # then the envvar interface is used. Set only those that are not.
42200 # We use the long form for the default assignment because of an extremely
42201 # bizarre bug on SunOS 4.1.3.
42202 if $ac_need_defaults; then
42203 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42204 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42205 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42208 # Have a temporary directory for convenience. Make it in the build tree
42209 # simply because there is no reason against having it here, and in addition,
42210 # creating and moving files from /tmp can sometimes cause problems.
42211 # Hook for its removal unless debugging.
42212 # Note that there is a small window in which the directory will not be cleaned:
42213 # after its creation but before its name has been assigned to `$tmp'.
42217 trap 'exit_status=$?
42218 : "${ac_tmp:=$tmp}"
42219 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42221 trap 'as_fn_exit 1' 1 2 13 15
42223 # Create a (secure) tmp directory for tmp files.
42226 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42230 tmp
=.
/conf$$
-$RANDOM
42231 (umask 077 && mkdir "$tmp")
42232 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
42235 # Set up the scripts for CONFIG_FILES section.
42236 # No need to generate them if there are no CONFIG_FILES.
42237 # This happens for instance with `./config.status config.h'.
42238 if test -n "$CONFIG_FILES"; then
42241 ac_cr
=`echo X | tr X '\015'`
42242 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42243 # But we know of no other shell where ac_cr would be empty at this
42244 # point, so we can use a bashism as a fallback.
42245 if test "x$ac_cr" = x
; then
42246 eval ac_cr
=\$
\'\\r
\'
42248 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42249 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42252 ac_cs_awk_cr
=$ac_cr
42255 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42260 echo "cat >conf$$subs.awk <<_ACEOF" &&
42261 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42263 } >conf$$subs.sh ||
42264 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42265 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42267 for ac_last_try in false false false false false :; do
42268 . ./conf$$subs.sh ||
42269 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42271 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
42272 if test $ac_delim_n = $ac_delim_num; then
42274 elif $ac_last_try; then
42275 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42277 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42280 rm -f conf$$subs.sh
42282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42283 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
42287 s/^/S["/; s
/!.
*/"]=/
42297 s/\(.\{148\}\)..*/\1/
42299 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
42304 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42311 s/\(.\{148\}\)..*/\1/
42313 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
42317 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42322 ' <conf$$subs.awk | sed '
42327 ' >>$CONFIG_STATUS || ac_write_fail=1
42328 rm -f conf$$subs.awk
42329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42331 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
42332 for (key in S) S_is_set[key] = 1
42338 nfields = split(line, field, "@
")
42340 len = length(field[1])
42341 for (i = 2; i < nfields; i++) {
42343 keylen = length(key)
42344 if (S_is_set[key]) {
42346 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42347 len += length(value) + length(field[++i])
42358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42359 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42360 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
42363 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
42364 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
42367 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42368 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
42369 # trailing colons and then remove the whole line if VPATH becomes empty
42370 # (actually we leave an empty line to preserve line numbers).
42371 if test "x
$srcdir" = x.; then
42372 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42391 fi # test -n "$CONFIG_FILES"
42393 # Set up the scripts for CONFIG_HEADERS section.
42394 # No need to generate them if there are no CONFIG_HEADERS.
42395 # This happens for instance with `./config.status Makefile'.
42396 if test -n "$CONFIG_HEADERS"; then
42397 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
42401 # Transform confdefs.h into an awk script `defines.awk', embedded as
42402 # here-document in config.status, that substitutes the proper values into
42403 # config.h.in to produce config.h.
42405 # Create a delimiter string that does not exist in confdefs.h, to ease
42406 # handling of long lines.
42408 for ac_last_try in false false :; do
42409 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
42410 if test -z "$ac_tt"; then
42412 elif $ac_last_try; then
42413 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
42415 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42419 # For the awk script, D is an array of macro values keyed by name,
42420 # likewise P contains macro parameters if any. Preserve backslash
42421 # newline sequences.
42423 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42425 s/.\{148\}/&'"$ac_delim"'/g
42428 s/^[ ]*#[ ]*define[ ][ ]*/ /
42435 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42437 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42441 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42442 D["\
1"]=" \
3\\\\\\n
"\\/p
42444 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42449 s/.\{148\}/&'"$ac_delim"'/g
42454 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42457 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42459 ' <confdefs.h | sed '
42460 s/'"$ac_delim"'/"\\\
42461 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42464 for (key in D) D_is_set[key] = 1
42467 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42469 split(line, arg, " ")
42470 if (arg[1] == "#") {
42474 defundef
= substr
(arg
[1], 2)
42477 split(mac1
, mac2
, "(") #)
42479 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42480 if (D_is_set
[macro
]) {
42481 # Preserve the white space surrounding the "#".
42482 print prefix
"define", macro P
[macro
] D
[macro
]
42485 # Replace #undef with comments. This is necessary, for example,
42486 # in the case of _POSIX_SOURCE, which is predefined and required
42487 # on some systems where configure will not decide to define it.
42488 if (defundef
== "undef") {
42489 print
"/*", prefix defundef
, macro
, "*/"
42497 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42498 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42499 fi # test -n "$CONFIG_HEADERS"
42502 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42507 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42509 case $ac_mode$ac_tag in
42511 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42512 :[FH
]-) ac_tag
=-:-;;
42513 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42530 -) ac_f
="$ac_tmp/stdin";;
42531 *) # Look for the file first in the build tree, then in the source tree
42532 # (if the path is not absolute). The absolute path cannot be DOS-style,
42533 # because $ac_f cannot contain `:'.
42537 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42539 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42541 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42542 as_fn_append ac_file_inputs
" '$ac_f'"
42545 # Let's still pretend it is `configure' which instantiates (i.e., don't
42546 # use $as_me), people would be surprised to read:
42547 # /* config.h. Generated by config.status. */
42548 configure_input
='Generated from '`
42549 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42551 if test x
"$ac_file" != x
-; then
42552 configure_input
="$ac_file. $configure_input"
42553 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42554 $as_echo "$as_me: creating $ac_file" >&6;}
42556 # Neutralize special characters interpreted by sed in replacement strings.
42557 case $configure_input in #(
42558 *\
&* | *\
|* | *\\* )
42559 ac_sed_conf_input
=`$as_echo "$configure_input" |
42560 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42561 *) ac_sed_conf_input
=$configure_input;;
42565 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42566 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42571 ac_dir
=`$as_dirname -- "$ac_file" ||
42572 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42573 X"$ac_file" : 'X\(//\)[^/]' \| \
42574 X"$ac_file" : 'X\(//\)$' \| \
42575 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42576 $as_echo X"$ac_file" |
42577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42581 /^X\(\/\/\)[^/].*/{
42594 as_dir
="$ac_dir"; as_fn_mkdir_p
42598 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42600 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42601 # A ".." for each directory in $ac_dir_suffix.
42602 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42603 case $ac_top_builddir_sub in
42604 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42605 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42608 ac_abs_top_builddir
=$ac_pwd
42609 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42610 # for backward compatibility:
42611 ac_top_builddir
=$ac_top_build_prefix
42614 .
) # We are building in place.
42616 ac_top_srcdir
=$ac_top_builddir_sub
42617 ac_abs_top_srcdir
=$ac_pwd ;;
42618 [\\/]* | ?
:[\\/]* ) # Absolute name.
42619 ac_srcdir
=$srcdir$ac_dir_suffix;
42620 ac_top_srcdir
=$srcdir
42621 ac_abs_top_srcdir
=$srcdir ;;
42622 *) # Relative name.
42623 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42624 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42625 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42627 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42637 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42638 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42642 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42643 # If the template does not know about datarootdir, expand it.
42644 # FIXME: This hack should be removed a few years after 2.60.
42645 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42656 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42657 *datarootdir
*) ac_datarootdir_seen
=yes;;
42658 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42660 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42663 ac_datarootdir_hack='
42664 s&@datadir@&$datadir&g
42665 s&@docdir@&$docdir&g
42666 s&@infodir@&$infodir&g
42667 s&@localedir@&$localedir&g
42668 s&@mandir@&$mandir&g
42669 s&\\\${datarootdir}&$datarootdir&g' ;;
42673 # Neutralize VPATH when `$srcdir' = `.'.
42674 # Shell code in configure.ac might set extrasub.
42675 # FIXME: do we really want to maintain this feature?
42676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42677 ac_sed_extra="$ac_vpsub
42680 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42682 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42683 s
|@configure_input@
|$ac_sed_conf_input|;t t
42684 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42685 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42686 s
&@srcdir@
&$ac_srcdir&;t t
42687 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42688 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42689 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42690 s
&@builddir@
&$ac_builddir&;t t
42691 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42692 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42693 s
&@INSTALL@
&$ac_INSTALL&;t t
42694 $ac_datarootdir_hack
42696 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42697 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42699 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42700 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42701 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42702 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42704 which seems to be undefined. Please make sure it is defined" >&5
42705 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42706 which seems to be undefined. Please make sure it is defined" >&2;}
42708 rm -f "$ac_tmp/stdin"
42710 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42711 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42713 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42719 if test x"$ac_file" != x-; then
42721 $as_echo "/* $configure_input */" \
42722 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42723 } >"$ac_tmp/config.h" \
42724 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42725 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42726 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42727 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42730 mv "$ac_tmp/config.h" "$ac_file" \
42731 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42734 $as_echo "/* $configure_input */" \
42735 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42736 || as_fn_error $? "could not create -" "$LINENO" 5
42740 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42741 $as_echo "$as_me: executing $ac_file commands" >&6;}
42746 case $ac_file$ac_mode in
42748 mkdir -p $outdir &&
42749 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42751 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42752 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42753 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42754 "wx-config":C
) rm -f wx
-config
42755 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42764 ac_clean_files
=$ac_clean_files_save
42766 test $ac_write_fail = 0 ||
42767 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42770 # configure is writing to config.log, and then calls config.status.
42771 # config.status does its own redirection, appending to config.log.
42772 # Unfortunately, on DOS this fails, as config.log is still kept open
42773 # by configure, so config.status won't be able to write to it; its
42774 # output is simply discarded. So we exec the FD to /dev/null,
42775 # effectively closing config.log, so it can be properly (re)opened and
42776 # appended to by config.status. When coming back to configure, we
42777 # need to make the FD available again.
42778 if test "$no_create" != yes; then
42780 ac_config_status_args
=
42781 test "$silent" = yes &&
42782 ac_config_status_args
="$ac_config_status_args --quiet"
42784 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42786 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42787 # would make configure fail if this is the last instruction.
42788 $ac_cs_success || as_fn_exit
1
42792 # CONFIG_SUBDIRS section.
42794 if test "$no_recursion" != yes; then
42796 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42797 # so they do not pile up.
42798 ac_sub_configure_args
=
42800 eval "set x $ac_configure_args"
42804 if test -n "$ac_prev"; then
42809 -cache-file | --cache-file | --cache-fil | --cache-fi \
42810 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42811 ac_prev
=cache_file
;;
42812 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42813 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42816 --config-cache | -C)
42818 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42820 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42822 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42824 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42826 --disable-option-checking)
42830 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42832 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
42836 # Always prepend --prefix to ensure using the same prefix
42837 # in subdir configurations.
42838 ac_arg
="--prefix=$prefix"
42840 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42842 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
42845 if test "$silent" = yes; then
42846 ac_sub_configure_args
="--silent $ac_sub_configure_args"
42849 # Always prepend --disable-option-checking to silence warnings, since
42850 # different subdirs can have different --enable and --with options.
42851 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
42854 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42856 # Do not complain, so a configure script can configure whichever
42857 # parts of a large source tree are present.
42858 test -d "$srcdir/$ac_dir" || continue
42860 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42861 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42862 $as_echo "$ac_msg" >&6
42863 as_dir
="$ac_dir"; as_fn_mkdir_p
42867 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42869 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42870 # A ".." for each directory in $ac_dir_suffix.
42871 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42872 case $ac_top_builddir_sub in
42873 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42874 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42877 ac_abs_top_builddir
=$ac_pwd
42878 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42879 # for backward compatibility:
42880 ac_top_builddir
=$ac_top_build_prefix
42883 .
) # We are building in place.
42885 ac_top_srcdir
=$ac_top_builddir_sub
42886 ac_abs_top_srcdir
=$ac_pwd ;;
42887 [\\/]* | ?
:[\\/]* ) # Absolute name.
42888 ac_srcdir
=$srcdir$ac_dir_suffix;
42889 ac_top_srcdir
=$srcdir
42890 ac_abs_top_srcdir
=$srcdir ;;
42891 *) # Relative name.
42892 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42893 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42894 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42896 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42901 # Check for guested configure; otherwise get Cygnus style configure.
42902 if test -f "$ac_srcdir/configure.gnu"; then
42903 ac_sub_configure
=$ac_srcdir/configure.gnu
42904 elif test -f "$ac_srcdir/configure"; then
42905 ac_sub_configure
=$ac_srcdir/configure
42906 elif test -f "$ac_srcdir/configure.in"; then
42907 # This should be Cygnus configure.
42908 ac_sub_configure
=$ac_aux_dir/configure
42910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42911 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42915 # The recursion is here.
42916 if test -n "$ac_sub_configure"; then
42917 # Make the cache file name correct relative to the subdirectory.
42918 case $cache_file in
42919 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42920 *) # Relative name.
42921 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
42924 { $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
42925 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42926 # The eval makes quoting arguments work.
42927 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42928 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42929 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42935 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
42936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42937 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42942 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42944 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42945 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42946 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42947 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42948 if test "$wxUSE_UNICODE" = "yes"; then
42949 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42950 echo " (using UTF-8)"
42952 echo " (using wchar_t)"
42958 echo " What level of wxWidgets compatibility should be enabled?"
42959 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42960 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42962 echo " Which libraries should wxWidgets use?"
42963 echo " STL ${wxUSE_STL}"
42964 echo " jpeg ${wxUSE_LIBJPEG-none}"
42965 echo " png ${wxUSE_LIBPNG-none}"
42966 echo " regex ${wxUSE_REGEX}"
42967 echo " tiff ${wxUSE_LIBTIFF-none}"
42968 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42969 echo " xpm ${wxUSE_LIBXPM-none}"
42971 echo " zlib ${wxUSE_ZLIB}"
42972 echo " expat ${wxUSE_EXPAT}"
42973 echo " libmspack ${wxUSE_LIBMSPACK}"
42974 echo " sdl ${wxUSE_LIBSDL}"