2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for wxWidgets 2.9.5.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
141 _as_can_reexec
=no
; export _as_can_reexec
;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
150 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec
=; unset _as_can_reexec
;}
163 if test "x$CONFIG_SHELL" = x
; then
164 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required
="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev
/null
; then :
208 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
213 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
216 test -z "$as_dir" && as_dir
=.
220 for as_base
in sh bash ksh sh5
; do
221 # Try only shells that exist, to save several forks.
222 as_shell
=$as_dir/$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
225 CONFIG_SHELL
=$as_shell as_have_required
=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
236 CONFIG_SHELL
=$SHELL as_have_required
=yes
241 if test "x$CONFIG_SHELL" != x
; then :
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
249 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
251 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
263 if test x
$as_have_required = xno
; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x
${ZSH_VERSION+set} = xset
; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: wx-dev@lists.wxwidgets.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Create "$as_dir" as a directory, including parents if necessary.
323 -*) as_dir
=.
/$as_dir;;
325 test -d "$as_dir" || eval $as_mkdir_p || {
329 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 as_dirs
="'$as_qdir' $as_dirs"
333 as_dir
=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 test -d "$as_dir" && break
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p
()
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
378 eval 'as_fn_append ()
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
402 as_val
=`expr "$@" || test $? -eq 1`
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
414 as_status
=$1; test $as_status -eq 0 && as_status
=1
416 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit
$as_status
423 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
430 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
442 as_me
=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
461 # Avoid depending upon Character Ranges.
462 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits
='0123456789'
466 as_cr_alnum
=$as_cr_Letters$as_cr_digits
469 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
470 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 chmod +x
"$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec
=no
; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
500 # Exit status is that of the last command.
504 ECHO_C
= ECHO_N
= ECHO_T
=
505 case `echo -n x` in #(((((
507 case `echo 'xy\c'` in
508 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
517 rm -f conf$$ conf$$.exe conf$$.
file
518 if test -d conf$$.dir
; then
519 rm -f conf$$.dir
/conf$$.
file
522 mkdir conf$$.dir
2>/dev
/null
524 if (echo >conf$$.
file) 2>/dev
/null
; then
525 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
533 elif ln conf$$.
file conf$$
2>/dev
/null
; then
541 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
542 rmdir conf$$.dir
2>/dev
/null
544 if mkdir -p .
2>/dev
/null
; then
545 as_mkdir_p
='mkdir -p "$as_dir"'
547 test -d .
/-p && rmdir .
/-p
552 as_executable_p
=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 test -n "$DJDIR" || exec 7<&0 </dev
/null
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
572 ac_default_prefix
=/usr
/local
574 ac_config_libobj_dir
=.
581 # Identity of this package.
582 PACKAGE_NAME
='wxWidgets'
583 PACKAGE_TARNAME
='wxwidgets'
584 PACKAGE_VERSION
='2.9.5'
585 PACKAGE_STRING
='wxWidgets 2.9.5'
586 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
589 ac_unique_file
="wx-config.in"
590 # Factoring default headers for most tests.
591 ac_includes_default
="\
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
603 # ifdef HAVE_STDLIB_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
626 enable_option_checking
=no
627 ac_subst_vars
='LTLIBOBJS
635 WX_RESOURCES_MACOSX_DATA
636 WX_RESOURCES_MACOSX_ASCII
668 WX_LIBRARY_BASENAME_GUI
669 WX_LIBRARY_BASENAME_NOGUI
672 COND_wxUSE_ZLIB_builtin
673 COND_wxUSE_REGEX_builtin
674 COND_wxUSE_LIBTIFF_builtin
675 COND_wxUSE_LIBPNG_builtin
676 COND_wxUSE_LIBJPEG_builtin
677 COND_wxUSE_EXPAT_builtin
678 COND_WXUSE_ZLIB_BUILTIN
679 COND_WXUSE_REGEX_BUILTIN
680 COND_WXUSE_LIBTIFF_BUILTIN
681 COND_WXUSE_LIBPNG_BUILTIN
682 COND_WXUSE_LIBJPEG_BUILTIN
683 COND_WXUSE_EXPAT_BUILTIN
686 COND_WITH_PLUGIN_SDL_1
687 COND_WINDOWS_IMPLIB_1
692 COND_USE_SOVERSOLARIS_1
693 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
695 COND_USE_SOVERLINUX_1
696 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
697 COND_USE_SOTWOSYMLINKS_1
703 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
704 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
705 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
706 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
707 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
708 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
709 COND_USE_GUI_1_WXUNIV_1
710 COND_USE_GUI_1_WXUNIV_0
711 COND_USE_GUI_1_USE_OPENGL_1
714 COND_USE_EXCEPTIONS_1
715 COND_USE_EXCEPTIONS_0
718 COND_TOOLKIT_X11_USE_GUI_1
720 COND_TOOLKIT_WINCE_WXUNIV_0
721 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
722 COND_TOOLKIT_WINCE_USE_GUI_1
724 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_PM_USE_GUI_1
727 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
729 COND_TOOLKIT_OSX_IPHONE
730 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
731 COND_TOOLKIT_OSX_COCOA
732 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
733 COND_TOOLKIT_OSX_CARBON
734 COND_TOOLKIT_MSW_WXUNIV_0
735 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_MSW_USE_GUI_1
738 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
739 COND_TOOLKIT_MOTIF_USE_GUI_1
742 COND_TOOLKIT_GTK_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
755 COND_TOOLKIT_DFB_USE_GUI_1
757 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
758 COND_TOOLKIT_COCOA_USE_GUI_1
761 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
763 COND_SHARED_0_wxUSE_ZLIB_builtin
764 COND_SHARED_0_wxUSE_REGEX_builtin
765 COND_SHARED_0_wxUSE_EXPAT_builtin
766 COND_SHARED_0_USE_STC_1
767 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
768 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
769 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
770 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
771 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
772 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
773 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
775 COND_PLATFORM_WIN32_1_SHARED_0
776 COND_PLATFORM_WIN32_1
777 COND_PLATFORM_WIN32_0
778 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
779 COND_PLATFORM_UNIX_1_USE_GUI_1
780 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
781 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
782 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
783 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
787 COND_PLATFORM_MSDOS_1
788 COND_PLATFORM_MSDOS_0
791 COND_PLATFORM_MACOS_1
792 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
793 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
794 COND_PLATFORM_MACOSX_1_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
798 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
800 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
803 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
805 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
806 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
807 COND_PLATFORM_MACOSX_1
808 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
809 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
810 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
811 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
812 COND_MONOLITHIC_1_SHARED_1
813 COND_MONOLITHIC_1_SHARED_0
815 COND_MONOLITHIC_0_USE_XRC_1
816 COND_MONOLITHIC_0_USE_WEBVIEW_1
817 COND_MONOLITHIC_0_USE_STC_1
818 COND_MONOLITHIC_0_USE_RICHTEXT_1
819 COND_MONOLITHIC_0_USE_RIBBON_1
820 COND_MONOLITHIC_0_USE_QA_1
821 COND_MONOLITHIC_0_USE_PROPGRID_1
822 COND_MONOLITHIC_0_USE_MEDIA_1
823 COND_MONOLITHIC_0_USE_HTML_1
824 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
825 COND_MONOLITHIC_0_USE_GUI_1
826 COND_MONOLITHIC_0_USE_AUI_1
827 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
828 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
829 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
830 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
831 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
841 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
842 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
843 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
850 COND_MONOLITHIC_0_SHARED_0
860 COND_BUILD_release_UNICODE_1
861 COND_BUILD_release_UNICODE_0
862 COND_BUILD_release_DEBUG_INFO_default
864 COND_BUILD_debug_UNICODE_1
865 COND_BUILD_debug_UNICODE_0
866 COND_BUILD_debug_DEBUG_INFO_default
867 COND_BUILD_debug_DEBUG_FLAG_default
869 COND_BUILD_RELEASE_UNICODE_1
870 COND_BUILD_RELEASE_UNICODE_0
871 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
873 COND_BUILD_DEBUG_UNICODE_1
874 COND_BUILD_DEBUG_UNICODE_0
875 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
876 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
880 ICC_PCH_CREATE_SWITCH
990 LIBGNOMEPRINTUI_CFLAGS
1081 program_transform_name
1094 enable_option_checking
1100 enable_official_build
1141 with_macosx_version_min
1150 enable_std_containers
1151 enable_std_iostreams
1153 enable_std_string_conv_in_wxstring
1158 enable_extended_rtti
1163 enable_no_exceptions
1166 enable_vararg_macros
1167 enable_universal_binary
1172 enable_objc_uniquifying
1201 enable_dynamicloader
1217 enable_printfposparam
1232 enable_protocol_http
1234 enable_protocol_file
1285 enable_commandlinkbutton
1312 enable_rearrangectrl
1361 enable_accessibility
1364 enable_webviewwebkit
1384 with_gtk_exec_prefix
1386 with_libiconv_prefix
1388 with_sdl_exec_prefix
1390 enable_dependency_tracking
1391 enable_precomp_headers
1393 with_cppunit_exec_prefix
1395 ac_precious_vars
='build_alias
1432 LIBGNOMEPRINTUI_CFLAGS
1433 LIBGNOMEPRINTUI_LIBS
1446 ac_subdirs_all
='src/tiff
1449 # Initialize some variables set by options.
1451 ac_init_version
=false
1452 ac_unrecognized_opts
=
1453 ac_unrecognized_sep
=
1454 # The variables have the same names as the options, with
1455 # dashes changed to underlines.
1456 cache_file
=/dev
/null
1463 program_transform_name
=s
,x
,x
,
1471 # Installation directory options.
1472 # These are left unexpanded so users can "make install exec_prefix=/foo"
1473 # and all the variables that are supposed to be based on exec_prefix
1474 # by default will actually change.
1475 # Use braces instead of parens because sh, perl, etc. also accept them.
1476 # (The list follows the same order as the GNU Coding Standards.)
1477 bindir
='${exec_prefix}/bin'
1478 sbindir
='${exec_prefix}/sbin'
1479 libexecdir
='${exec_prefix}/libexec'
1480 datarootdir
='${prefix}/share'
1481 datadir
='${datarootdir}'
1482 sysconfdir
='${prefix}/etc'
1483 sharedstatedir
='${prefix}/com'
1484 localstatedir
='${prefix}/var'
1485 includedir
='${prefix}/include'
1486 oldincludedir
='/usr/include'
1487 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1488 infodir
='${datarootdir}/info'
1493 libdir
='${exec_prefix}/lib'
1494 localedir
='${datarootdir}/locale'
1495 mandir
='${datarootdir}/man'
1501 # If the previous option needs an argument, assign it.
1502 if test -n "$ac_prev"; then
1503 eval $ac_prev=\
$ac_option
1509 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1514 # Accept the important Cygnus configure options, so we can diagnose typos.
1516 case $ac_dashdash$ac_option in
1520 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1522 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1523 bindir
=$ac_optarg ;;
1525 -build | --build | --buil | --bui | --bu)
1526 ac_prev
=build_alias
;;
1527 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1528 build_alias
=$ac_optarg ;;
1530 -cache-file | --cache-file | --cache-fil | --cache-fi \
1531 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1532 ac_prev
=cache_file
;;
1533 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1534 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1535 cache_file
=$ac_optarg ;;
1537 --config-cache | -C)
1538 cache_file
=config.cache
;;
1540 -datadir | --datadir | --datadi | --datad)
1542 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1543 datadir
=$ac_optarg ;;
1545 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1546 | --dataroo | --dataro | --datar)
1547 ac_prev
=datarootdir
;;
1548 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1549 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1550 datarootdir
=$ac_optarg ;;
1552 -disable-* | --disable-*)
1553 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1554 # Reject names that are not valid shell variable names.
1555 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1556 as_fn_error $?
"invalid feature name: $ac_useropt"
1557 ac_useropt_orig
=$ac_useropt
1558 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1559 case $ac_user_opts in
1561 "enable_
$ac_useropt"
1563 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1564 ac_unrecognized_sep
=', ';;
1566 eval enable_
$ac_useropt=no
;;
1568 -docdir | --docdir | --docdi | --doc | --do)
1570 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1571 docdir
=$ac_optarg ;;
1573 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1575 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1576 dvidir
=$ac_optarg ;;
1578 -enable-* | --enable-*)
1579 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1580 # Reject names that are not valid shell variable names.
1581 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1582 as_fn_error $?
"invalid feature name: $ac_useropt"
1583 ac_useropt_orig
=$ac_useropt
1584 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1585 case $ac_user_opts in
1587 "enable_
$ac_useropt"
1589 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1590 ac_unrecognized_sep
=', ';;
1592 eval enable_
$ac_useropt=\
$ac_optarg ;;
1594 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1595 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1596 | --exec | --exe | --ex)
1597 ac_prev
=exec_prefix
;;
1598 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1599 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1600 | --exec=* | --exe=* | --ex=*)
1601 exec_prefix
=$ac_optarg ;;
1603 -gas | --gas | --ga | --g)
1604 # Obsolete; use --with-gas.
1607 -help | --help | --hel | --he | -h)
1608 ac_init_help
=long
;;
1609 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1610 ac_init_help
=recursive
;;
1611 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1612 ac_init_help
=short
;;
1614 -host | --host | --hos | --ho)
1615 ac_prev
=host_alias
;;
1616 -host=* | --host=* | --hos=* | --ho=*)
1617 host_alias
=$ac_optarg ;;
1619 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1621 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1623 htmldir
=$ac_optarg ;;
1625 -includedir | --includedir | --includedi | --included | --include \
1626 | --includ | --inclu | --incl | --inc)
1627 ac_prev
=includedir
;;
1628 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1629 | --includ=* | --inclu=* | --incl=* | --inc=*)
1630 includedir
=$ac_optarg ;;
1632 -infodir | --infodir | --infodi | --infod | --info | --inf)
1634 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1635 infodir
=$ac_optarg ;;
1637 -libdir | --libdir | --libdi | --libd)
1639 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1640 libdir
=$ac_optarg ;;
1642 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1643 | --libexe | --libex | --libe)
1644 ac_prev
=libexecdir
;;
1645 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1646 | --libexe=* | --libex=* | --libe=*)
1647 libexecdir
=$ac_optarg ;;
1649 -localedir | --localedir | --localedi | --localed | --locale)
1650 ac_prev
=localedir
;;
1651 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1652 localedir
=$ac_optarg ;;
1654 -localstatedir | --localstatedir | --localstatedi | --localstated \
1655 | --localstate | --localstat | --localsta | --localst | --locals)
1656 ac_prev
=localstatedir
;;
1657 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1658 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1659 localstatedir
=$ac_optarg ;;
1661 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1663 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1664 mandir
=$ac_optarg ;;
1666 -nfp | --nfp | --nf)
1667 # Obsolete; use --without-fp.
1670 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1671 | --no-cr | --no-c | -n)
1674 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1675 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1678 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1679 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1680 | --oldin | --oldi | --old | --ol | --o)
1681 ac_prev
=oldincludedir
;;
1682 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1683 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1684 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1685 oldincludedir
=$ac_optarg ;;
1687 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1689 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1690 prefix
=$ac_optarg ;;
1692 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1693 | --program-pre | --program-pr | --program-p)
1694 ac_prev
=program_prefix
;;
1695 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1696 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1697 program_prefix
=$ac_optarg ;;
1699 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1700 | --program-suf | --program-su | --program-s)
1701 ac_prev
=program_suffix
;;
1702 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1703 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1704 program_suffix
=$ac_optarg ;;
1706 -program-transform-name | --program-transform-name \
1707 | --program-transform-nam | --program-transform-na \
1708 | --program-transform-n | --program-transform- \
1709 | --program-transform | --program-transfor \
1710 | --program-transfo | --program-transf \
1711 | --program-trans | --program-tran \
1712 | --progr-tra | --program-tr | --program-t)
1713 ac_prev
=program_transform_name
;;
1714 -program-transform-name=* | --program-transform-name=* \
1715 | --program-transform-nam=* | --program-transform-na=* \
1716 | --program-transform-n=* | --program-transform-=* \
1717 | --program-transform=* | --program-transfor=* \
1718 | --program-transfo=* | --program-transf=* \
1719 | --program-trans=* | --program-tran=* \
1720 | --progr-tra=* | --program-tr=* | --program-t=*)
1721 program_transform_name
=$ac_optarg ;;
1723 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1725 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1726 pdfdir
=$ac_optarg ;;
1728 -psdir | --psdir | --psdi | --psd | --ps)
1730 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1733 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1734 | -silent | --silent | --silen | --sile | --sil)
1737 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1739 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1741 sbindir
=$ac_optarg ;;
1743 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1744 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1745 | --sharedst | --shareds | --shared | --share | --shar \
1747 ac_prev
=sharedstatedir
;;
1748 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1749 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1750 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1752 sharedstatedir
=$ac_optarg ;;
1754 -site | --site | --sit)
1756 -site=* | --site=* | --sit=*)
1759 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1761 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1762 srcdir
=$ac_optarg ;;
1764 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1765 | --syscon | --sysco | --sysc | --sys | --sy)
1766 ac_prev
=sysconfdir
;;
1767 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1768 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1769 sysconfdir
=$ac_optarg ;;
1771 -target | --target | --targe | --targ | --tar | --ta | --t)
1772 ac_prev
=target_alias
;;
1773 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1774 target_alias
=$ac_optarg ;;
1776 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1779 -version | --version | --versio | --versi | --vers | -V)
1780 ac_init_version
=: ;;
1783 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1784 # Reject names that are not valid shell variable names.
1785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1786 as_fn_error $?
"invalid package name: $ac_useropt"
1787 ac_useropt_orig
=$ac_useropt
1788 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1789 case $ac_user_opts in
1793 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1794 ac_unrecognized_sep
=', ';;
1796 eval with_
$ac_useropt=\
$ac_optarg ;;
1798 -without-* | --without-*)
1799 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1800 # Reject names that are not valid shell variable names.
1801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1802 as_fn_error $?
"invalid package name: $ac_useropt"
1803 ac_useropt_orig
=$ac_useropt
1804 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1805 case $ac_user_opts in
1809 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1810 ac_unrecognized_sep
=', ';;
1812 eval with_
$ac_useropt=no
;;
1815 # Obsolete; use --with-x.
1818 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1819 | --x-incl | --x-inc | --x-in | --x-i)
1820 ac_prev
=x_includes
;;
1821 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1822 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1823 x_includes
=$ac_optarg ;;
1825 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1826 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1827 ac_prev
=x_libraries
;;
1828 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1829 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1830 x_libraries
=$ac_optarg ;;
1832 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1833 Try \`$0 --help' for more information"
1837 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1838 # Reject names that are not valid shell variable names.
1839 case $ac_envvar in #(
1840 '' | [0-9]* | *[!_$as_cr_alnum]* )
1841 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1843 eval $ac_envvar=\
$ac_optarg
1844 export $ac_envvar ;;
1847 # FIXME: should be removed in autoconf 3.0.
1848 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1849 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1850 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1851 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1857 if test -n "$ac_prev"; then
1858 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1859 as_fn_error $?
"missing argument to $ac_option"
1862 if test -n "$ac_unrecognized_opts"; then
1863 case $enable_option_checking in
1865 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1866 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1870 # Check all directory arguments for consistency.
1871 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1872 datadir sysconfdir sharedstatedir localstatedir includedir \
1873 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1874 libdir localedir mandir
1876 eval ac_val
=\$
$ac_var
1877 # Remove trailing slashes.
1880 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1881 eval $ac_var=\
$ac_val;;
1883 # Be sure to have absolute directory names.
1885 [\\/$
]* | ?
:[\\/]* ) continue;;
1886 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1888 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1891 # There might be people who depend on the old broken behavior: `$host'
1892 # used to hold the argument of --host etc.
1893 # FIXME: To remove some day.
1896 target
=$target_alias
1898 # FIXME: To remove some day.
1899 if test "x$host_alias" != x
; then
1900 if test "x$build_alias" = x
; then
1901 cross_compiling
=maybe
1902 elif test "x$build_alias" != "x$host_alias"; then
1908 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1910 test "$silent" = yes && exec 6>/dev
/null
1913 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1914 ac_ls_di
=`ls -di .` &&
1915 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1916 as_fn_error $?
"working directory cannot be determined"
1917 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1918 as_fn_error $?
"pwd does not report name of working directory"
1921 # Find the source files, if location was not specified.
1922 if test -z "$srcdir"; then
1923 ac_srcdir_defaulted
=yes
1924 # Try the directory containing this script, then the parent directory.
1925 ac_confdir
=`$as_dirname -- "$as_myself" ||
1926 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1927 X"$as_myself" : 'X\(//\)[^/]' \| \
1928 X"$as_myself" : 'X\(//\)$' \| \
1929 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1930 $as_echo X"$as_myself" |
1931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1949 if test ! -r "$srcdir/$ac_unique_file"; then
1953 ac_srcdir_defaulted
=no
1955 if test ! -r "$srcdir/$ac_unique_file"; then
1956 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1957 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1959 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1961 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1963 # When building in place, set srcdir=.
1964 if test "$ac_abs_confdir" = "$ac_pwd"; then
1967 # Remove unnecessary trailing slashes from srcdir.
1968 # Double slashes in file names in object file debugging info
1969 # mess up M-x gdb in Emacs.
1971 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1973 for ac_var
in $ac_precious_vars; do
1974 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1975 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1976 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1977 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1981 # Report the --help message.
1983 if test "$ac_init_help" = "long"; then
1984 # Omit some internal or obsolete options to make the list less imposing.
1985 # This message is too long to be a string in the A/UX 3.1 sh.
1987 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1989 Usage: $0 [OPTION]... [VAR=VALUE]...
1991 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1992 VAR=VALUE. See below for descriptions of some of the useful variables.
1994 Defaults for the options are specified in brackets.
1997 -h, --help display this help and exit
1998 --help=short display options specific to this package
1999 --help=recursive display the short help of all the included packages
2000 -V, --version display version information and exit
2001 -q, --quiet, --silent do not print \`checking ...' messages
2002 --cache-file=FILE cache test results in FILE [disabled]
2003 -C, --config-cache alias for \`--cache-file=config.cache'
2004 -n, --no-create do not create output files
2005 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2007 Installation directories:
2008 --prefix=PREFIX install architecture-independent files in PREFIX
2009 [$ac_default_prefix]
2010 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2013 By default, \`make install' will install all the files in
2014 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2015 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2016 for instance \`--prefix=\$HOME'.
2018 For better control, use the options below.
2020 Fine tuning of the installation directories:
2021 --bindir=DIR user executables [EPREFIX/bin]
2022 --sbindir=DIR system admin executables [EPREFIX/sbin]
2023 --libexecdir=DIR program executables [EPREFIX/libexec]
2024 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2025 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2026 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2027 --libdir=DIR object code libraries [EPREFIX/lib]
2028 --includedir=DIR C header files [PREFIX/include]
2029 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2030 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2031 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2032 --infodir=DIR info documentation [DATAROOTDIR/info]
2033 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2034 --mandir=DIR man documentation [DATAROOTDIR/man]
2035 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2036 --htmldir=DIR html documentation [DOCDIR]
2037 --dvidir=DIR dvi documentation [DOCDIR]
2038 --pdfdir=DIR pdf documentation [DOCDIR]
2039 --psdir=DIR ps documentation [DOCDIR]
2045 --x-includes=DIR X include files are
in DIR
2046 --x-libraries=DIR X library files are
in DIR
2049 --build=BUILD configure
for building on BUILD
[guessed
]
2050 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2054 if test -n "$ac_init_help"; then
2055 case $ac_init_help in
2056 short
| recursive
) echo "Configuration of wxWidgets 2.9.5:";;
2061 --disable-option-checking ignore unrecognized
--enable/--with options
2062 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2063 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2064 --disable-gui don
't build GUI parts of the library
2065 --enable-monolithic build wxWidgets as single library
2066 --enable-plugins build parts of wxWidgets as loadable components
2067 --enable-official_build official build of wxWidgets (win32 DLL only)
2068 --enable-vendor=VENDOR vendor name (win32 DLL only)
2069 --disable-all-features disable all optional features to build minimal library
2070 --enable-universal use wxWidgets GUI controls instead of native ones
2071 --enable-nanox use NanoX
2072 --enable-gpe use GNOME PDA Environment features if possible
2073 --enable-debug build library for debugging
2074 --disable-debug_flag disable all debugging support
2075 --enable-debug_info generate debug information
2076 --enable-debug_gdb create code with extra GDB debugging information
2077 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2078 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2079 --disable-shared create static library instead of shared
2080 --enable-stl use standard C++ classes for everything
2081 --enable-std_containers use standard C++ container classes
2082 --enable-std_iostreams use standard C++ stream classes
2083 --enable-std_string use standard C++ string classes
2084 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2085 --disable-unicode compile without Unicode support
2086 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2087 --enable-utf8 use UTF-8 representation for strings (Unix only)
2088 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2089 --enable-extended_rtti use extended RTTI (XTI)
2090 --enable-omf use OMF object format
2091 --disable-optimise compile without optimisations
2092 --enable-profile create code with profiling information
2093 --enable-no_rtti create code without RTTI information
2094 --enable-no_exceptions create code without C++ exceptions handling
2095 --enable-permissive compile code disregarding strict ANSI
2096 --enable-no_deps create code without dependency information
2097 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2098 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2099 --enable-macosx_arch=ARCH build
for just the specified architecture
2100 --enable-compat26 enable wxWidgets
2.6 compatibility
2101 --disable-compat28 disable wxWidgets
2.8 compatibility
2102 --disable-rpath disable use of rpath
for uninstalled builds
2103 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2104 --disable-visibility disable use of ELF symbols visibility even
if supported
2105 --disable-tls disable use of compiler TLS support
2106 --enable-intl use internationalization system
2107 --enable-xlocale use x
-locale support
(requires wxLocale
)
2108 --enable-config use wxConfig
(and derived
) classes
2109 --enable-protocols use wxProtocol and derived classes
2110 --enable-ftp use wxFTP
(requires wxProtocol
2111 --enable-http use wxHTTP
(requires wxProtocol
2112 --enable-fileproto use wxFileProto class
(requires wxProtocol
2113 --enable-sockets use socket
/network classes
2114 --enable-ipv6 enable IPv6 support
in wxSocket
2115 --enable-ole use OLE classes
(Win32 only
)
2116 --enable-dataobj use data object classes
2117 --enable-ipc use interprocess communication
(wxSocket etc.
)
2118 --enable-baseevtloop use event loop
in console programs too
2119 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2120 --enable-selectloop use wxSelectDispatcher class
2121 --enable-any use wxAny class
2122 --enable-apple_ieee use the Apple IEEE codec
2123 --enable-arcstream use wxArchive streams
2124 --enable-base64 use base64 encoding
/decoding functions
2125 --enable-backtrace use wxStackWalker class
for getting backtraces
2126 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2127 --enable-cmdline use wxCmdLineParser class
2128 --enable-datetime use wxDateTime class
2129 --enable-debugreport use wxDebugReport class
2130 --enable-dialupman use dialup network classes
2131 --enable-dynlib use wxLibrary class
for DLL loading
2132 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2133 --enable-exceptions build exception
-safe library
2134 --enable-ffile use wxFFile class
2135 --enable-file use wxFile class
2136 --enable-filehistory use wxFileHistory class
2137 --enable-filesystem use virtual
file systems classes
2138 --enable-fontenum use wxFontEnumerator class
2139 --enable-fontmap use font encodings conversion classes
2140 --enable-fs_archive use virtual archive filesystems
2141 --enable-fs_inet use virtual HTTP
/FTP filesystems
2142 --enable-fs_zip now replaced by fs_archive
2143 --enable-fswatcher use wxFileSystemWatcher class
2144 --enable-geometry use geometry class
2145 --enable-log use logging system
2146 --enable-longlong use wxLongLong class
2147 --enable-mimetype use wxMimeTypesManager
2148 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2149 --enable-snglinst use wxSingleInstanceChecker class
2150 --enable-sound use wxSound class
2151 --enable-stdpaths use wxStandardPaths class
2152 --enable-stopwatch use wxStopWatch class
2153 --enable-streams use wxStream etc classes
2154 --enable-sysoptions use wxSystemOptions
2155 --enable-tarstream use wxTar streams
2156 --enable-textbuf use wxTextBuffer class
2157 --enable-textfile use wxTextFile class
2158 --enable-timer use wxTimer class
2159 --enable-variant use wxVariant class
2160 --enable-zipstream use wxZip streams
2161 --enable-url use wxURL class
2162 --enable-protocol use wxProtocol class
2163 --enable-protocol-http HTTP support
in wxProtocol
2164 --enable-protocol-ftp FTP support
in wxProtocol
2165 --enable-protocol-file FILE support
in wxProtocol
2166 --enable-threads use threads
2167 --enable-iniconf use wxIniConfig
(Win32 only
)
2168 --enable-regkey use wxRegKey class
(Win32 only
)
2169 --enable-docview use document view architecture
2170 --enable-help use
help subsystem
2171 --enable-mshtmlhelp use MS HTML Help
(win32
)
2172 --enable-html use wxHTML sub
-library
2173 --enable-htmlhelp use wxHTML
-based help
2174 --enable-xrc use XRC resources sub
-library
2175 --enable-aui use AUI docking library
2176 --enable-propgrid use wxPropertyGrid library
2177 --enable-ribbon use wxRibbon library
2178 --enable-stc use wxStyledTextCtrl library
2179 --enable-constraints use layout
-constraints system
2180 --enable-loggui use standard GUI logger
2181 --enable-logwin use wxLogWindow
2182 --enable-logdialog use wxLogDialog
2183 --enable-mdi use multiple document interface architecture
2184 --enable-mdidoc use docview architecture with MDI
2185 --enable-mediactrl use wxMediaCtrl class
2186 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2187 --enable-richtext use wxRichTextCtrl
2188 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2189 --enable-printarch use printing architecture
2190 --enable-svg use wxSVGFileDC device context
2191 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2192 --enable-webview use wxWebView library
2193 --enable-graphics_ctx use graphics context
2D drawing API
2194 --enable-clipboard use wxClipboard class
2195 --enable-dnd use Drag
'n'Drop classes
2196 --disable-controls disable compilation of all standard controls
2197 --enable-markup support wxControl
::SetLabelMarkup
2198 --enable-accel use accelerators
2199 --enable-animatectrl use wxAnimationCtrl class
2200 --enable-bannerwindow use wxBannerWindow class
2201 --enable-artstd use standard XPM icons
in wxArtProvider
2202 --enable-arttango use Tango icons
in wxArtProvider
2203 --enable-bmpbutton use wxBitmapButton class
2204 --enable-bmpcombobox use wxBitmapComboBox class
2205 --enable-button use wxButton class
2206 --enable-calendar use wxCalendarCtrl class
2207 --enable-caret use wxCaret class
2208 --enable-checkbox use wxCheckBox class
2209 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2210 --enable-choice use wxChoice class
2211 --enable-choicebook use wxChoicebook class
2212 --enable-collpane use wxCollapsiblePane class
2213 --enable-colourpicker use wxColourPickerCtrl class
2214 --enable-combobox use wxComboBox class
2215 --enable-comboctrl use wxComboCtrl class
2216 --enable-commandlinkbutton use wxCommmandLinkButton class
2217 --enable-dataviewctrl use wxDataViewCtrl class
2218 --enable-datepick use wxDatePickerCtrl class
2219 --enable-detect_sm use code to detect X11 session manager
2220 --enable-dirpicker use wxDirPickerCtrl class
2221 --enable-display use wxDisplay class
2222 --enable-editablebox use wxEditableListBox class
2223 --enable-filectrl use wxFileCtrl class
2224 --enable-filepicker use wxFilePickerCtrl class
2225 --enable-fontpicker use wxFontPickerCtrl class
2226 --enable-gauge use wxGauge class
2227 --enable-grid use wxGrid class
2228 --enable-headerctrl use wxHeaderCtrl class
2229 --enable-hyperlink use wxHyperlinkCtrl class
2230 --enable-imaglist use wxImageList class
2231 --enable-infobar use wxInfoBar class
2232 --enable-listbook use wxListbook class
2233 --enable-listbox use wxListBox class
2234 --enable-listctrl use wxListCtrl class
2235 --enable-notebook use wxNotebook class
2236 --enable-notifmsg use wxNotificationMessage class
2237 --enable-odcombobox use wxOwnerDrawnComboBox class
2238 --enable-popupwin use wxPopUpWindow class
2239 --enable-radiobox use wxRadioBox class
2240 --enable-radiobtn use wxRadioButton class
2241 --enable-richmsgdlg use wxRichMessageDialog class
2242 --enable-richtooltip use wxRichToolTip class
2243 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2244 --enable-sash use wxSashWindow class
2245 --enable-scrollbar use wxScrollBar class and scrollable windows
2246 --enable-searchctrl use wxSearchCtrl class
2247 --enable-slider use wxSlider class
2248 --enable-spinbtn use wxSpinButton class
2249 --enable-spinctrl use wxSpinCtrl class
2250 --enable-splitter use wxSplitterWindow class
2251 --enable-statbmp use wxStaticBitmap class
2252 --enable-statbox use wxStaticBox class
2253 --enable-statline use wxStaticLine class
2254 --enable-stattext use wxStaticText class
2255 --enable-statusbar use wxStatusBar class
2256 --enable-taskbaricon use wxTaskBarIcon class
2257 --enable-tbarnative use native wxToolBar class
2258 --enable-textctrl use wxTextCtrl class
2259 --enable-timepick use wxTimePickerCtrl class
2260 --enable-tipwindow use wxTipWindow class
2261 --enable-togglebtn use wxToggleButton class
2262 --enable-toolbar use wxToolBar class
2263 --enable-toolbook use wxToolbook class
2264 --enable-treebook use wxTreebook class
2265 --enable-treectrl use wxTreeCtrl class
2266 --enable-treelist use wxTreeListCtrl class
2267 --enable-commondlg use all common dialogs
2268 --enable-aboutdlg use wxAboutBox
2269 --enable-choicedlg use wxChoiceDialog
2270 --enable-coldlg use wxColourDialog
2271 --enable-filedlg use wxFileDialog
2272 --enable-finddlg use wxFindReplaceDialog
2273 --enable-fontdlg use wxFontDialog
2274 --enable-dirdlg use wxDirDialog
2275 --enable-msgdlg use wxMessageDialog
2276 --enable-numberdlg use wxNumberEntryDialog
2277 --enable-splash use wxSplashScreen
2278 --enable-textdlg use wxTextDialog
2279 --enable-tipdlg use startup tips
2280 --enable-progressdlg use wxProgressDialog
2281 --enable-wizarddlg use wxWizard
2282 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2283 --enable-miniframe use wxMiniFrame class
2284 --enable-tooltips use wxToolTip class
2285 --enable-splines use spline drawing code
2286 --enable-mousewheel use mousewheel
2287 --enable-validators use wxValidator and derived classes
2288 --enable-busyinfo use wxBusyInfo
2289 --enable-hotkey use wxWindow
::RegisterHotKey
()
2290 --enable-joystick use wxJoystick
2291 --enable-metafiles use wxMetaFile
2292 --enable-dragimage use wxDragImage
2293 --enable-accessibility enable accessibility support
2294 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2295 --enable-dctransform use wxDC
::SetTransformMatrix and related
2296 --enable-webview-webkit use wxWebView WebKit backend
2297 --enable-palette use wxPalette class
2298 --enable-image use wxImage class
2299 --enable-gif use gif images
(GIF
file format
)
2300 --enable-pcx use pcx images
(PCX
file format
)
2301 --enable-tga use tga images
(TGA
file format
)
2302 --enable-iff use iff images
(IFF
file format
)
2303 --enable-pnm use pnm images
(PNM
file format
)
2304 --enable-xpm use xpm images
(XPM
file format
)
2305 --enable-ico_cur use Windows ICO and CUR formats
2306 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2307 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2308 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2309 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2310 --enable-wxdib use wxDIB class
(Win32 only
)
2311 --enable-webview-ie use wxWebView IE backend
(Win32 only
)
2312 --enable-autoidman use automatic ids management
2313 --disable-largefile omit support
for large files
2314 --disable-gtktest do not try to compile and run a
test GTK
+ program
2315 --disable-gtktest Do not try to compile and run a
test GTK program
2316 --disable-sdltest Do not try to compile and run a
test SDL program
2317 --enable-omf use OMF object format
(OS
/2)
2318 --disable-dependency-tracking
2319 don
't use dependency tracking even if the compiler
2321 --disable-precomp-headers
2322 don't use precompiled headers even
if compiler can
2325 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2326 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2327 --without-subdirs don
't generate makefiles for samples/demos/...
2328 --with-flavour=NAME specify a name to identify this build
2329 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2330 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2331 --with-motif use Motif/Lesstif
2332 --with-osx_carbon use Mac OS X (Carbon)
2333 --with-osx_cocoa use Mac OS X (Cocoa)
2334 --with-osx_iphone use iPhone OS X port
2335 --with-osx use Mac OS X (default port, currently Carbon)
2336 --with-carbon same as --with-osx_carbon
2337 --with-cocoa same as --with-osx_cocoa
2338 --with-iphone same as --with-osx_iphone
2339 --with-mac same as --with-osx
2340 --with-old_cocoa use old, deprecated, Cocoa port
2341 --with-wine use Wine
2342 --with-msw use MS-Windows
2343 --with-pm use OS/2 Presentation Manager
2344 --with-directfb use DirectFB
2345 --with-microwin use MicroWindows
2347 --with-libpng use libpng (PNG image format)
2348 --with-libjpeg use libjpeg (JPEG file format)
2349 --with-libtiff use libtiff (TIFF file format)
2350 --with-libxpm use libxpm (XPM file format)
2351 --with-libiconv use libiconv (character conversion)
2352 --with-libmspack use libmspack (CHM help files loading)
2353 --without-gtkprint don't use GTK printing support
2354 --without-gnomeprint don
't use GNOME printing libraries
2355 --with-gnomevfs use GNOME VFS for associating MIME types
2356 --with-hildon use Hildon framework for Nokia 770/800/810
2357 --with-opengl use OpenGL (or Mesa)
2358 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2359 --with-sdl use SDL for audio on Unix
2360 --with-regex enable support for wxRegEx class
2361 --with-zlib use zlib for LZW compression
2362 --with-expat enable XML support using expat parser
2363 --with-macosx-sdk=PATH use an OS X SDK at PATH
2364 --with-macosx-version-min=VER build binaries which require at least this OS X version
2365 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2366 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2367 --with-x use the X Window System
2368 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2369 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2370 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2371 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2372 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2374 Some influential environment variables:
2375 CC C compiler command
2376 CFLAGS C compiler flags
2377 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2378 nonstandard directory <lib dir>
2379 LIBS libraries to pass to the linker, e.g. -l<library>
2380 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2381 you have headers in a nonstandard directory <include dir>
2383 CXX C++ compiler command
2384 CXXFLAGS C++ compiler flags
2385 CXXCPP C++ preprocessor
2386 PKG_CONFIG path to pkg-config utility
2388 C compiler flags for DIRECTFB, overriding pkg-config
2390 linker flags for DIRECTFB, overriding pkg-config
2391 XMKMF Path to xmkmf, Makefile generator for X Window System
2393 C compiler flags for PANGOX, overriding pkg-config
2394 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2396 C compiler flags for PANGOFT2, overriding pkg-config
2398 linker flags for PANGOFT2, overriding pkg-config
2400 C compiler flags for PANGOXFT, overriding pkg-config
2402 linker flags for PANGOXFT, overriding pkg-config
2404 C compiler flags for Xinerama, overriding pkg-config
2406 linker flags for Xinerama, overriding pkg-config
2408 C compiler flags for Xxf86vm, overriding pkg-config
2410 linker flags for Xxf86vm, overriding pkg-config
2411 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2412 SM_LIBS linker flags for SM, overriding pkg-config
2413 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2414 GL_LIBS linker flags for GL, overriding pkg-config
2415 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2416 GLU_LIBS linker flags for GLU, overriding pkg-config
2418 C compiler flags for MesaGL, overriding pkg-config
2419 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2421 C compiler flags for GTKPRINT, overriding pkg-config
2423 linker flags for GTKPRINT, overriding pkg-config
2424 LIBGNOMEPRINTUI_CFLAGS
2425 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2426 LIBGNOMEPRINTUI_LIBS
2427 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2429 C compiler flags for GNOMEVFS, overriding pkg-config
2431 linker flags for GNOMEVFS, overriding pkg-config
2433 C compiler flags for HILDON, overriding pkg-config
2434 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2436 C compiler flags for HILDON2, overriding pkg-config
2438 linker flags for HILDON2, overriding pkg-config
2440 C compiler flags for WEBKIT, overriding pkg-config
2441 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2443 C compiler flags for CAIRO, overriding pkg-config
2444 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2445 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2446 GST_LIBS linker flags for GST, overriding pkg-config
2448 Use these variables to override the choices made by `configure' or to
help
2449 it to
find libraries and programs with nonstandard names
/locations.
2451 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2456 if test "$ac_init_help" = "recursive"; then
2457 # If there are subdirs, report their specific --help.
2458 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2459 test -d "$ac_dir" ||
2460 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2465 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2467 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2468 # A ".." for each directory in $ac_dir_suffix.
2469 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2470 case $ac_top_builddir_sub in
2471 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2472 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2475 ac_abs_top_builddir
=$ac_pwd
2476 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2477 # for backward compatibility:
2478 ac_top_builddir
=$ac_top_build_prefix
2481 .
) # We are building in place.
2483 ac_top_srcdir
=$ac_top_builddir_sub
2484 ac_abs_top_srcdir
=$ac_pwd ;;
2485 [\\/]* | ?
:[\\/]* ) # Absolute name.
2486 ac_srcdir
=$srcdir$ac_dir_suffix;
2487 ac_top_srcdir
=$srcdir
2488 ac_abs_top_srcdir
=$srcdir ;;
2490 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2491 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2492 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2494 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2496 cd "$ac_dir" || { ac_status
=$?
; continue; }
2497 # Check for guested configure.
2498 if test -f "$ac_srcdir/configure.gnu"; then
2500 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2501 elif test -f "$ac_srcdir/configure"; then
2503 $SHELL "$ac_srcdir/configure" --help=recursive
2505 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2507 cd "$ac_pwd" || { ac_status
=$?
; break; }
2511 test -n "$ac_init_help" && exit $ac_status
2512 if $ac_init_version; then
2514 wxWidgets configure
2.9.5
2515 generated by GNU Autoconf
2.69
2517 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2518 This configure
script is free software
; the Free Software Foundation
2519 gives unlimited permission to copy
, distribute and modify it.
2524 ## ------------------------ ##
2525 ## Autoconf initialization. ##
2526 ## ------------------------ ##
2528 # ac_fn_c_try_compile LINENO
2529 # --------------------------
2530 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2531 ac_fn_c_try_compile
()
2533 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2534 rm -f conftest.
$ac_objext
2535 if { { ac_try
="$ac_compile"
2537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2541 $as_echo "$ac_try_echo"; } >&5
2542 (eval "$ac_compile") 2>conftest.err
2544 if test -s conftest.err; then
2545 grep -v '^ *+' conftest.err >conftest.er1
2546 cat conftest.er1 >&5
2547 mv -f conftest.er1 conftest.err
2549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2550 test $ac_status = 0; } && {
2551 test -z "$ac_c_werror_flag" ||
2552 test ! -s conftest.err
2553 } && test -s conftest.$ac_objext; then :
2556 $as_echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.$ac_ext >&5
2561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2562 as_fn_set_status $ac_retval
2564 } # ac_fn_c_try_compile
2566 # ac_fn_c_try_cpp LINENO
2567 # ----------------------
2568 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2572 if { { ac_try="$ac_cpp conftest.$ac_ext"
2574 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2575 *) ac_try_echo
=$ac_try;;
2577 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2578 $as_echo "$ac_try_echo"; } >&5
2579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2581 if test -s conftest.err
; then
2582 grep -v '^ *+' conftest.err
>conftest.er1
2583 cat conftest.er1
>&5
2584 mv -f conftest.er1 conftest.err
2586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587 test $ac_status = 0; } > conftest.i
&& {
2588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2589 test ! -s conftest.err
2593 $as_echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.
$ac_ext >&5
2598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2599 as_fn_set_status
$ac_retval
2603 # ac_fn_cxx_try_compile LINENO
2604 # ----------------------------
2605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2606 ac_fn_cxx_try_compile
()
2608 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2609 rm -f conftest.
$ac_objext
2610 if { { ac_try
="$ac_compile"
2612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2613 *) ac_try_echo=$ac_try;;
2615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2616 $as_echo "$ac_try_echo"; } >&5
2617 (eval "$ac_compile") 2>conftest.err
2619 if test -s conftest.err; then
2620 grep -v '^ *+' conftest.err >conftest.er1
2621 cat conftest.er1 >&5
2622 mv -f conftest.er1 conftest.err
2624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2625 test $ac_status = 0; } && {
2626 test -z "$ac_cxx_werror_flag" ||
2627 test ! -s conftest.err
2628 } && test -s conftest.$ac_objext; then :
2631 $as_echo "$as_me: failed program was:" >&5
2632 sed 's/^/| /' conftest.$ac_ext >&5
2636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2637 as_fn_set_status $ac_retval
2639 } # ac_fn_cxx_try_compile
2641 # ac_fn_c_try_link LINENO
2642 # -----------------------
2643 # Try to link conftest.$ac_ext, and return whether this succeeded.
2646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2647 rm -f conftest.$ac_objext conftest$ac_exeext
2648 if { { ac_try="$ac_link"
2650 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2651 *) ac_try_echo
=$ac_try;;
2653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2654 $as_echo "$ac_try_echo"; } >&5
2655 (eval "$ac_link") 2>conftest.err
2657 if test -s conftest.err
; then
2658 grep -v '^ *+' conftest.err
>conftest.er1
2659 cat conftest.er1
>&5
2660 mv -f conftest.er1 conftest.err
2662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2663 test $ac_status = 0; } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest
$ac_exeext && {
2667 test "$cross_compiling" = yes ||
2668 test -x conftest
$ac_exeext
2672 $as_echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.
$ac_ext >&5
2677 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2678 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2679 # interfere with the next link command; also delete a directory that is
2680 # left behind by Apple's compiler. We do this before executing the actions.
2681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2683 as_fn_set_status
$ac_retval
2685 } # ac_fn_c_try_link
2687 # ac_fn_cxx_try_link LINENO
2688 # -------------------------
2689 # Try to link conftest.$ac_ext, and return whether this succeeded.
2690 ac_fn_cxx_try_link
()
2692 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2693 rm -f conftest.
$ac_objext conftest
$ac_exeext
2694 if { { ac_try
="$ac_link"
2696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2700 $as_echo "$ac_try_echo"; } >&5
2701 (eval "$ac_link") 2>conftest.err
2703 if test -s conftest.err; then
2704 grep -v '^ *+' conftest.err >conftest.er1
2705 cat conftest.er1 >&5
2706 mv -f conftest.er1 conftest.err
2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; } && {
2710 test -z "$ac_cxx_werror_flag" ||
2711 test ! -s conftest.err
2712 } && test -s conftest$ac_exeext && {
2713 test "$cross_compiling" = yes ||
2714 test -x conftest$ac_exeext
2718 $as_echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.$ac_ext >&5
2723 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2724 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2725 # interfere with the next link command; also delete a directory that is
2726 # left behind by Apple's compiler. We do this before executing the actions.
2727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2729 as_fn_set_status $ac_retval
2731 } # ac_fn_cxx_try_link
2733 # ac_fn_c_try_run LINENO
2734 # ----------------------
2735 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2736 # that executables *can* be run.
2739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2740 if { { ac_try="$ac_link"
2742 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2743 *) ac_try_echo
=$ac_try;;
2745 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2746 $as_echo "$ac_try_echo"; } >&5
2747 (eval "$ac_link") 2>&5
2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2751 { { case "(($ac_try" in
2752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2756 $as_echo "$ac_try_echo"; } >&5
2757 (eval "$ac_try") 2>&5
2759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2760 test $ac_status = 0; }; }; then :
2763 $as_echo "$as_me: program exited with status $ac_status" >&5
2764 $as_echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.$ac_ext >&5
2767 ac_retval=$ac_status
2769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2771 as_fn_set_status $ac_retval
2775 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2776 # -------------------------------------------------------
2777 # Tests whether HEADER exists and can be compiled using the include files in
2778 # INCLUDES, setting the cache variable VAR accordingly.
2779 ac_fn_c_check_header_compile ()
2781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2783 $as_echo_n "checking for $2... " >&6; }
2784 if eval \${$3+:} false; then :
2785 $as_echo_n "(cached) " >&6
2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2792 if ac_fn_c_try_compile "$LINENO"; then :
2797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2801 $as_echo "$ac_res" >&6; }
2802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 } # ac_fn_c_check_header_compile
2806 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2807 # --------------------------------------------
2808 # Tries to find the compile-time value of EXPR in a program that includes
2809 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2811 ac_fn_c_compute_int ()
2813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2814 if test "$cross_compiling" = yes; then
2815 # Depending upon the size, compute the lo and hi bounds.
2816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2817 /* end confdefs.h. */
2822 static int test_array [1 - 2 * !(($2) >= 0)];
2824 return test_array [0];
2830 if ac_fn_c_try_compile "$LINENO"; then :
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h. */
2839 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2841 return test_array [0];
2847 if ac_fn_c_try_compile "$LINENO"; then :
2848 ac_hi=$ac_mid; break
2850 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2851 if test $ac_lo -le $ac_mid; then
2855 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2866 static int test_array [1 - 2 * !(($2) < 0)];
2868 return test_array [0];
2874 if ac_fn_c_try_compile "$LINENO"; then :
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2883 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2885 return test_array [0];
2891 if ac_fn_c_try_compile "$LINENO"; then :
2892 ac_lo=$ac_mid; break
2894 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2895 if test $ac_mid -le $ac_hi; then
2899 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 # Binary search between lo and hi bounds.
2910 while test "x$ac_lo" != "x$ac_hi"; do
2911 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2913 /* end confdefs.h. */
2918 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2920 return test_array [0];
2926 if ac_fn_c_try_compile "$LINENO"; then :
2929 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2941 static long int longval () { return $2; }
2942 static unsigned long int ulongval () { return $2; }
2949 FILE *f = fopen ("conftest.val", "w");
2954 long int i = longval ();
2957 fprintf (f, "%ld", i);
2961 unsigned long int i = ulongval ();
2964 fprintf (f, "%lu", i);
2966 /* Do not output a trailing newline, as this causes \r\n confusion
2967 on some platforms. */
2968 return ferror (f) || fclose (f) != 0;
2974 if ac_fn_c_try_run "$LINENO"; then :
2975 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2980 conftest.$ac_objext conftest.beam conftest.$ac_ext
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 as_fn_set_status $ac_retval
2987 } # ac_fn_c_compute_int
2989 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2990 # ---------------------------------------------------------
2991 # Tests whether HEADER exists and can be compiled using the include files in
2992 # INCLUDES, setting the cache variable VAR accordingly.
2993 ac_fn_cxx_check_header_compile ()
2995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2997 $as_echo_n "checking for $2... " >&6; }
2998 if eval \${$3+:} false; then :
2999 $as_echo_n "(cached) " >&6
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3006 if ac_fn_cxx_try_compile "$LINENO"; then :
3011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3015 $as_echo "$ac_res" >&6; }
3016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3018 } # ac_fn_cxx_check_header_compile
3020 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3021 # ---------------------------------------------
3022 # Tests whether TYPE exists after having included INCLUDES, setting cache
3023 # variable VAR accordingly.
3024 ac_fn_cxx_check_type ()
3026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3028 $as_echo_n "checking for $2... " >&6; }
3029 if eval \${$3+:} false; then :
3030 $as_echo_n "(cached) " >&6
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3045 if ac_fn_cxx_try_compile "$LINENO"; then :
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3058 if ac_fn_cxx_try_compile "$LINENO"; then :
3063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3069 $as_echo "$ac_res" >&6; }
3070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3072 } # ac_fn_cxx_check_type
3074 # ac_fn_cxx_try_cpp LINENO
3075 # ------------------------
3076 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3077 ac_fn_cxx_try_cpp ()
3079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3080 if { { ac_try="$ac_cpp conftest.$ac_ext"
3082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3083 *) ac_try_echo
=$ac_try;;
3085 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3086 $as_echo "$ac_try_echo"; } >&5
3087 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3089 if test -s conftest.err
; then
3090 grep -v '^ *+' conftest.err
>conftest.er1
3091 cat conftest.er1
>&5
3092 mv -f conftest.er1 conftest.err
3094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3095 test $ac_status = 0; } > conftest.i
&& {
3096 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3097 test ! -s conftest.err
3101 $as_echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.
$ac_ext >&5
3106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3107 as_fn_set_status
$ac_retval
3109 } # ac_fn_cxx_try_cpp
3111 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3112 # ---------------------------------------------------------
3113 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3114 # the include files in INCLUDES and setting the cache variable VAR
3116 ac_fn_cxx_check_header_mongrel
()
3118 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3119 if eval \
${$3+:} false
; then :
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3121 $as_echo_n "checking for $2... " >&6; }
3122 if eval \
${$3+:} false
; then :
3123 $as_echo_n "(cached) " >&6
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3127 $as_echo "$ac_res" >&6; }
3129 # Is the header compilable?
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3131 $as_echo_n "checking $2 usability... " >&6; }
3132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3137 if ac_fn_cxx_try_compile
"$LINENO"; then :
3138 ac_header_compiler
=yes
3140 ac_header_compiler
=no
3142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3144 $as_echo "$ac_header_compiler" >&6; }
3146 # Is the header present?
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3148 $as_echo_n "checking $2 presence... " >&6; }
3149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3153 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3154 ac_header_preproc
=yes
3156 ac_header_preproc
=no
3158 rm -f conftest.err conftest.i conftest.
$ac_ext
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3160 $as_echo "$ac_header_preproc" >&6; }
3162 # So? What about this header?
3163 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3166 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3172 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3174 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3176 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3178 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3180 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3181 ( $as_echo "## ----------------------------------------- ##
3182 ## Report this to wx-dev@lists.wxwidgets.org ##
3183 ## ----------------------------------------- ##"
3184 ) | sed "s/^/$as_me: WARNING: /" >&2
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3188 $as_echo_n "checking for $2... " >&6; }
3189 if eval \
${$3+:} false
; then :
3190 $as_echo_n "(cached) " >&6
3192 eval "$3=\$ac_header_compiler"
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3196 $as_echo "$ac_res" >&6; }
3198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3200 } # ac_fn_cxx_check_header_mongrel
3202 # ac_fn_c_check_func LINENO FUNC VAR
3203 # ----------------------------------
3204 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3205 ac_fn_c_check_func
()
3207 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3209 $as_echo_n "checking for $2... " >&6; }
3210 if eval \
${$3+:} false
; then :
3211 $as_echo_n "(cached) " >&6
3213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3214 /* end confdefs.h. */
3215 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3217 #define $2 innocuous_$2
3219 /* System header to define __stub macros and hopefully few prototypes,
3220 which can conflict with char $2 (); below.
3221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3222 <limits.h> exists even on freestanding compilers. */
3225 # include <limits.h>
3227 # include <assert.h>
3232 /* Override any GCC internal prototype to avoid an error.
3233 Use char because int might match the return type of a GCC
3234 builtin and then its argument prototype would still apply. */
3239 /* The GNU C library defines this for functions which it implements
3240 to always fail with ENOSYS. Some functions are actually named
3241 something starting with __ and the normal name is an alias. */
3242 #if defined __stub_$2 || defined __stub___$2
3254 if ac_fn_c_try_link
"$LINENO"; then :
3259 rm -f core conftest.err conftest.
$ac_objext \
3260 conftest
$ac_exeext conftest.
$ac_ext
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3264 $as_echo "$ac_res" >&6; }
3265 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3267 } # ac_fn_c_check_func
3269 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3270 # -------------------------------------------
3271 # Tests whether TYPE exists after having included INCLUDES, setting cache
3272 # variable VAR accordingly.
3273 ac_fn_c_check_type
()
3275 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3277 $as_echo_n "checking for $2... " >&6; }
3278 if eval \
${$3+:} false
; then :
3279 $as_echo_n "(cached) " >&6
3282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3294 if ac_fn_c_try_compile
"$LINENO"; then :
3295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3307 if ac_fn_c_try_compile
"$LINENO"; then :
3312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3318 $as_echo "$ac_res" >&6; }
3319 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3321 } # ac_fn_c_check_type
3323 # ac_fn_cxx_try_run LINENO
3324 # ------------------------
3325 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3326 # that executables *can* be run.
3327 ac_fn_cxx_try_run
()
3329 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3330 if { { ac_try
="$ac_link"
3332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_link") 2>&5
3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3341 { { case "(($ac_try" in
3342 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3343 *) ac_try_echo
=$ac_try;;
3345 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346 $as_echo "$ac_try_echo"; } >&5
3347 (eval "$ac_try") 2>&5
3349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3350 test $ac_status = 0; }; }; then :
3353 $as_echo "$as_me: program exited with status $ac_status" >&5
3354 $as_echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.
$ac_ext >&5
3357 ac_retval
=$ac_status
3359 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3360 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3361 as_fn_set_status
$ac_retval
3363 } # ac_fn_cxx_try_run
3364 cat >config.log
<<_ACEOF
3365 This file contains any messages produced by compilers while
3366 running configure, to aid debugging if configure makes a mistake.
3368 It was created by wxWidgets $as_me 2.9.5, which was
3369 generated by GNU Autoconf 2.69. Invocation command line was
3381 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3382 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3383 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3384 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3385 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3387 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3388 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3390 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3391 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3392 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3393 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3394 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3395 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3396 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3404 test -z "$as_dir" && as_dir
=.
3405 $as_echo "PATH: $as_dir"
3421 # Keep a trace of the command line.
3422 # Strip out --no-create and --no-recursion so they do not pile up.
3423 # Strip out --silent because we don't want to record it for future runs.
3424 # Also quote any args containing shell meta-characters.
3425 # Make two passes to allow for proper duplicate-argument suppression.
3429 ac_must_keep_next
=false
3435 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3436 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3437 | -silent | --silent | --silen | --sile | --sil)
3440 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3443 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3445 as_fn_append ac_configure_args1
" '$ac_arg'"
3446 if test $ac_must_keep_next = true
; then
3447 ac_must_keep_next
=false
# Got value, back to normal.
3450 *=* | --config-cache | -C | -disable-* | --disable-* \
3451 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3452 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3453 | -with-* | --with-* | -without-* | --without-* | --x)
3454 case "$ac_configure_args0 " in
3455 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3458 -* ) ac_must_keep_next
=true
;;
3461 as_fn_append ac_configure_args
" '$ac_arg'"
3466 { ac_configure_args0
=; unset ac_configure_args0
;}
3467 { ac_configure_args1
=; unset ac_configure_args1
;}
3469 # When interrupted or exit'd, cleanup temporary files, and complete
3470 # config.log. We remove comments because anyway the quotes in there
3471 # would cause problems or look ugly.
3472 # WARNING: Use '\'' to represent an apostrophe within the trap.
3473 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3474 trap 'exit_status=$?
3475 # Save into config.log some information that might help in debugging.
3479 $as_echo "## ---------------- ##
3480 ## Cache variables. ##
3481 ## ---------------- ##"
3483 # The following way of writing the cache mishandles newlines in values,
3485 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3486 eval ac_val=\$$ac_var
3490 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3491 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3494 _ | IFS | as_nl) ;; #(
3495 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3496 *) { eval $ac_var=; unset $ac_var;} ;;
3501 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3502 *${as_nl}ac_space=\ *)
3504 "s/'\''/'\''\\\\'\'''\''/g;
3505 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3508 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3515 $as_echo "## ----------------- ##
3516 ## Output variables. ##
3517 ## ----------------- ##"
3519 for ac_var in $ac_subst_vars
3521 eval ac_val=\$$ac_var
3523 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3525 $as_echo "$ac_var='\''$ac_val'\''"
3529 if test -n "$ac_subst_files"; then
3530 $as_echo "## ------------------- ##
3531 ## File substitutions. ##
3532 ## ------------------- ##"
3534 for ac_var
in $ac_subst_files
3536 eval ac_val
=\$
$ac_var
3538 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3540 $as_echo "$ac_var='\''$ac_val'\''"
3545 if test -s confdefs.h; then
3546 $as_echo "## ----------- ##
3553 test "$ac_signal" != 0 &&
3554 $as_echo "$as_me: caught signal $ac_signal"
3555 $as_echo "$as_me: exit $exit_status"
3557 rm -f core *.core core.conftest.* &&
3558 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3561 for ac_signal
in 1 2 13 15; do
3562 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3566 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3567 rm -f -r conftest
* confdefs.h
3569 $as_echo "/* confdefs.h */" > confdefs.h
3571 # Predefined preprocessor variables.
3573 cat >>confdefs.h
<<_ACEOF
3574 #define PACKAGE_NAME "$PACKAGE_NAME"
3577 cat >>confdefs.h
<<_ACEOF
3578 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3581 cat >>confdefs.h
<<_ACEOF
3582 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3585 cat >>confdefs.h
<<_ACEOF
3586 #define PACKAGE_STRING "$PACKAGE_STRING"
3589 cat >>confdefs.h
<<_ACEOF
3590 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3593 cat >>confdefs.h
<<_ACEOF
3594 #define PACKAGE_URL "$PACKAGE_URL"
3598 # Let the site file select an alternate cache file if it wants to.
3599 # Prefer an explicitly selected file to automatically selected ones.
3602 if test -n "$CONFIG_SITE"; then
3603 # We do not want a PATH search for config.site.
3604 case $CONFIG_SITE in #((
3605 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3606 */*) ac_site_file1
=$CONFIG_SITE;;
3607 *) ac_site_file1
=.
/$CONFIG_SITE;;
3609 elif test "x$prefix" != xNONE
; then
3610 ac_site_file1
=$prefix/share
/config.site
3611 ac_site_file2
=$prefix/etc
/config.site
3613 ac_site_file1
=$ac_default_prefix/share
/config.site
3614 ac_site_file2
=$ac_default_prefix/etc
/config.site
3616 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3618 test "x$ac_site_file" = xNONE
&& continue
3619 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3621 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3622 sed 's/^/| /' "$ac_site_file" >&5
3624 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3626 as_fn_error $?
"failed to load site script $ac_site_file
3627 See \`config.log' for more details" "$LINENO" 5; }
3631 if test -r "$cache_file"; then
3632 # Some versions of bash will fail to source /dev/null (special files
3633 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3634 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3636 $as_echo "$as_me: loading cache $cache_file" >&6;}
3638 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3639 *) .
"./$cache_file";;
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3644 $as_echo "$as_me: creating cache $cache_file" >&6;}
3648 # Check that the precious variables saved in the cache have kept the same
3650 ac_cache_corrupted
=false
3651 for ac_var
in $ac_precious_vars; do
3652 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3653 eval ac_new_set
=\
$ac_env_${ac_var}_set
3654 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3655 eval ac_new_val
=\
$ac_env_${ac_var}_value
3656 case $ac_old_set,$ac_new_set in
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3659 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3660 ac_cache_corrupted
=: ;;
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3663 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3664 ac_cache_corrupted
=: ;;
3667 if test "x$ac_old_val" != "x$ac_new_val"; then
3668 # differences in whitespace do not lead to failure.
3669 ac_old_val_w
=`echo x $ac_old_val`
3670 ac_new_val_w
=`echo x $ac_new_val`
3671 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3673 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3674 ac_cache_corrupted
=:
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3677 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3678 eval $ac_var=\
$ac_old_val
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3681 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3683 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3686 # Pass precious variables to config.status.
3687 if test "$ac_new_set" = set; then
3689 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3690 *) ac_arg
=$ac_var=$ac_new_val ;;
3692 case " $ac_configure_args " in
3693 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3694 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3698 if $ac_cache_corrupted; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3702 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3703 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3705 ## -------------------- ##
3706 ## Main body of script. ##
3707 ## -------------------- ##
3710 ac_cpp
='$CPP $CPPFLAGS'
3711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3720 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3721 if test -f "$ac_dir/install-sh"; then
3723 ac_install_sh
="$ac_aux_dir/install-sh -c"
3725 elif test -f "$ac_dir/install.sh"; then
3727 ac_install_sh
="$ac_aux_dir/install.sh -c"
3729 elif test -f "$ac_dir/shtool"; then
3731 ac_install_sh
="$ac_aux_dir/shtool install -c"
3735 if test -z "$ac_aux_dir"; then
3736 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3739 # These three variables are undocumented and unsupported,
3740 # and are intended to be withdrawn in a future Autoconf release.
3741 # They can cause serious problems if a builder's source tree is in a directory
3742 # whose full name contains unusual characters.
3743 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3744 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3745 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3748 # Make sure we can run config.sub.
3749 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3750 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3753 $as_echo_n "checking build system type... " >&6; }
3754 if ${ac_cv_build+:} false
; then :
3755 $as_echo_n "(cached) " >&6
3757 ac_build_alias
=$build_alias
3758 test "x$ac_build_alias" = x
&&
3759 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3760 test "x$ac_build_alias" = x
&&
3761 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3762 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3763 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3767 $as_echo "$ac_cv_build" >&6; }
3768 case $ac_cv_build in
3770 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3773 ac_save_IFS
=$IFS; IFS
='-'
3779 # Remember, the first character of IFS is used to create $*,
3780 # except with old shells:
3783 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3787 $as_echo_n "checking host system type... " >&6; }
3788 if ${ac_cv_host+:} false
; then :
3789 $as_echo_n "(cached) " >&6
3791 if test "x$host_alias" = x
; then
3792 ac_cv_host
=$ac_cv_build
3794 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3795 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3800 $as_echo "$ac_cv_host" >&6; }
3803 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3806 ac_save_IFS
=$IFS; IFS
='-'
3812 # Remember, the first character of IFS is used to create $*,
3813 # except with old shells:
3816 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3820 if test "$cross_compiling" != "no"; then
3821 HOST_PREFIX
="${host_alias}-"
3822 HOST_SUFFIX
="-$host_alias"
3829 wx_major_version_number
=2
3830 wx_minor_version_number
=9
3832 wx_subrelease_number
=0
3834 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3835 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3836 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3838 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3841 wx_top_builddir
="`pwd`"
3854 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3860 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3866 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3868 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3870 DEFAULT_wxUSE_OLD_COCOA
=0
3872 DEFAULT_wxUSE_OSX_CARBON
=0
3873 DEFAULT_wxUSE_OSX_COCOA
=0
3874 DEFAULT_wxUSE_OSX_IPHONE
=0
3875 DEFAULT_wxUSE_MICROWIN
=0
3876 DEFAULT_wxUSE_MOTIF
=0
3882 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3883 DEFAULT_DEFAULT_wxUSE_GTK
=0
3884 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3885 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3886 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3887 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3888 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3889 DEFAULT_DEFAULT_wxUSE_MSW
=0
3890 DEFAULT_DEFAULT_wxUSE_PM
=0
3891 DEFAULT_DEFAULT_wxUSE_X11
=0
3892 DEFAULT_DEFAULT_wxUSE_DFB
=0
3896 DYLIB_RPATH_INSTALL
=
3897 DYLIB_RPATH_POSTLINK
=
3899 DEFAULT_STD_FLAG
=yes
3904 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3905 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3906 $as_echo "#define __HPUX__ 1" >>confdefs.h
3909 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3913 $as_echo "#define __LINUX__ 1" >>confdefs.h
3916 if test "x$TMP" = "xalpha"; then
3918 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3921 DEFAULT_DEFAULT_wxUSE_GTK
=1
3923 *-*-gnu* | *-*-k*bsd
*-gnu )
3926 if test "x$TMP" = "xalpha"; then
3928 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3931 DEFAULT_DEFAULT_wxUSE_GTK
=1
3933 *-*-irix5* | *-*-irix6* )
3936 $as_echo "#define __SGI__ 1" >>confdefs.h
3938 $as_echo "#define __SVR4__ 1" >>confdefs.h
3940 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3944 $as_echo "#define __QNX__ 1" >>confdefs.h
3946 DEFAULT_DEFAULT_wxUSE_X11
=1
3952 $as_echo "#define __SUN__ 1" >>confdefs.h
3954 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3956 $as_echo "#define __SVR4__ 1" >>confdefs.h
3958 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3959 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3965 $as_echo "#define __SUN__ 1" >>confdefs.h
3967 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3969 $as_echo "#define __BSD__ 1" >>confdefs.h
3971 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3976 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3978 $as_echo "#define __BSD__ 1" >>confdefs.h
3980 DEFAULT_DEFAULT_wxUSE_GTK
=1
3982 *-*-openbsd*|*-*-mirbsd*)
3985 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3987 $as_echo "#define __BSD__ 1" >>confdefs.h
3989 DEFAULT_DEFAULT_wxUSE_GTK
=1
3994 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3996 $as_echo "#define __BSD__ 1" >>confdefs.h
3998 DEFAULT_DEFAULT_wxUSE_GTK
=1
3999 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4001 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4006 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4008 $as_echo "#define __OSF__ 1" >>confdefs.h
4010 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4011 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4016 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4018 $as_echo "#define __SVR4__ 1" >>confdefs.h
4020 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4025 $as_echo "#define __SYSV__ 1" >>confdefs.h
4027 $as_echo "#define __SVR4__ 1" >>confdefs.h
4029 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4035 $as_echo "#define __AIX__ 1" >>confdefs.h
4037 $as_echo "#define __SYSV__ 1" >>confdefs.h
4039 $as_echo "#define __SVR4__ 1" >>confdefs.h
4041 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4048 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4052 *-*-cygwin* | *-*-mingw32* )
4054 DEFAULT_DEFAULT_wxUSE_MSW
=1
4060 $as_echo "#define __DOS__ 1" >>confdefs.h
4065 *-pc-os2_emx | *-pc-os2-emx )
4066 $as_echo "#define __EMX__ 1" >>confdefs.h
4069 $as_echo "#define __OS2__ 1" >>confdefs.h
4072 DEFAULT_DEFAULT_wxUSE_PM
=1
4074 LDFLAGS
="$LDFLAGS -Zcrtdll"
4075 ac_executable_extensions
=".exe"
4076 export ac_executable_extensions
4080 for ac_dir
in $PATH; do
4082 if test -z "$ac_TEMP_PATH"; then
4083 ac_TEMP_PATH
="$ac_dir"
4085 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4088 export PATH
="$ac_TEMP_PATH"
4096 $as_echo "#define __BSD__ 1" >>confdefs.h
4098 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4100 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4106 $as_echo "#define __BSD__ 1" >>confdefs.h
4108 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4110 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4112 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
4117 $as_echo "#define __BEOS__ 1" >>confdefs.h
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4123 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4125 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4127 DEFAULT_DEFAULT_wxUSE_X11
=1
4128 DEFAULT_wxUSE_SHARED
=no
4133 DEFAULT_wxUSE_ALL_FEATURES
=yes
4135 DEFAULT_wxUSE_STD_CONTAINERS
=no
4136 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4137 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4139 DEFAULT_wxUSE_DMALLOC
=no
4140 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4141 DEFAULT_wxUSE_LIBHILDON
=no
4142 DEFAULT_wxUSE_LIBHILDON2
=no
4143 DEFAULT_wxUSE_LIBMSPACK
=no
4144 DEFAULT_wxUSE_LIBSDL
=no
4146 DEFAULT_wxUSE_ACCESSIBILITY
=no
4147 DEFAULT_wxUSE_IPV6
=no
4148 DEFAULT_wxUSE_GSTREAMER8
=no
4149 DEFAULT_wxUSE_UNICODE_UTF8
=no
4150 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4152 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4153 DEFAULT_wxUSE_OPENGL
=auto
4154 DEFAULT_wxUSE_MEDIACTRL
=auto
4155 DEFAULT_wxUSE_COMPILER_TLS
=auto
4156 DEFAULT_wxUSE_HOTKEY
=auto
4157 DEFAULT_wxUSE_METAFILE
=auto
4159 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4160 DEFAULT_wxUSE_MAC_ARCH
=no
4162 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4164 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4170 enablestring
=disable
4172 if test -z "$defaultval"; then
4173 if test x
"$enablestring" = xdisable
; then
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4181 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4182 # Check whether --enable-gui was given.
4183 if test "${enable_gui+set}" = set; then :
4184 enableval
=$enable_gui;
4185 if test "$enableval" = yes; then
4186 wx_cv_use_gui
='wxUSE_GUI=yes'
4188 wx_cv_use_gui
='wxUSE_GUI=no'
4193 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4198 eval "$wx_cv_use_gui"
4200 if test x"$enablestring" = xdisable; then
4201 if test $wxUSE_GUI = no; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4211 $as_echo "$result" >&6; }
4216 if test -z "$defaultval"; then
4217 if test x"$enablestring" = xdisable; then
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4225 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4226 # Check whether --enable-monolithic was given.
4227 if test "${enable_monolithic+set}" = set; then :
4228 enableval=$enable_monolithic;
4229 if test "$enableval" = yes; then
4230 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4232 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4237 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4242 eval "$wx_cv_use_monolithic"
4244 if test x"$enablestring" = xdisable; then
4245 if test $wxUSE_MONOLITHIC = no; then
4251 result=$wxUSE_MONOLITHIC
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4255 $as_echo "$result" >&6; }
4260 if test -z "$defaultval"; then
4261 if test x"$enablestring" = xdisable; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4269 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4270 # Check whether --enable-plugins was given.
4271 if test "${enable_plugins+set}" = set; then :
4272 enableval=$enable_plugins;
4273 if test "$enableval" = yes; then
4274 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4276 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4281 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4286 eval "$wx_cv_use_plugins"
4288 if test x
"$enablestring" = xdisable
; then
4289 if test $wxUSE_PLUGINS = no
; then
4295 result
=$wxUSE_PLUGINS
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4299 $as_echo "$result" >&6; }
4303 defaultval
=$wxUSE_ALL_FEATURES
4304 if test -z "$defaultval"; then
4305 if test x
"$withstring" = xwithout
; then
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4312 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4314 # Check whether --with-subdirs was given.
4315 if test "${with_subdirs+set}" = set; then :
4316 withval
=$with_subdirs;
4317 if test "$withval" = yes; then
4318 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4320 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4325 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4330 eval "$wx_cv_use_subdirs"
4332 if test x"$withstring" = xwithout; then
4333 if test $wxWITH_SUBDIRS = yes; then
4339 result=$wxWITH_SUBDIRS
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4343 $as_echo "$result" >&6; }
4346 # Check whether --with-flavour was given.
4347 if test "${with_flavour+set}" = set; then :
4348 withval=$with_flavour; WX_FLAVOUR="$withval"
4354 if test -z "$defaultval"; then
4355 if test x"$enablestring" = xdisable; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4363 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4364 # Check whether --enable-official_build was given.
4365 if test "${enable_official_build+set}" = set; then :
4366 enableval=$enable_official_build;
4367 if test "$enableval" = yes; then
4368 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4370 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4375 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4380 eval "$wx_cv_use_official_build"
4382 if test x"$enablestring" = xdisable; then
4383 if test $wxUSE_OFFICIAL_BUILD = no; then
4389 result=$wxUSE_OFFICIAL_BUILD
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4393 $as_echo "$result" >&6; }
4395 # Check whether --enable-vendor was given.
4396 if test "${enable_vendor+set}" = set; then :
4397 enableval=$enable_vendor; VENDOR="$enableval"
4400 if test "x
$VENDOR" = "x
"; then
4405 enablestring=disable
4407 if test -z "$defaultval"; then
4408 if test x"$enablestring" = xdisable; then
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4416 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4417 # Check whether --enable-all-features was given.
4418 if test "${enable_all_features+set}" = set; then :
4419 enableval=$enable_all_features;
4420 if test "$enableval" = yes; then
4421 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4423 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4428 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4433 eval "$wx_cv_use_all_features"
4435 if test x
"$enablestring" = xdisable
; then
4436 if test $wxUSE_ALL_FEATURES = no
; then
4442 result
=$wxUSE_ALL_FEATURES
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4446 $as_echo "$result" >&6; }
4449 if test "$wxUSE_ALL_FEATURES" = "no"; then
4450 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4451 DEFAULT_wxUSE_MEDIACTRL
=no
4455 if test "$wxUSE_GUI" = "yes"; then
4460 if test -z "$defaultval"; then
4461 if test x
"$enablestring" = xdisable
; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4469 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4470 # Check whether --enable-universal was given.
4471 if test "${enable_universal+set}" = set; then :
4472 enableval
=$enable_universal;
4473 if test "$enableval" = yes; then
4474 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4476 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4481 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4486 eval "$wx_cv_use_universal"
4488 if test x"$enablestring" = xdisable; then
4489 if test $wxUSE_UNIVERSAL = no; then
4495 result=$wxUSE_UNIVERSAL
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4499 $as_echo "$result" >&6; }
4501 if test "$wxUSE_UNIVERSAL" = "yes"; then
4503 # Check whether --with-themes was given.
4504 if test "${with_themes+set}" = set; then :
4505 withval=$with_themes; wxUNIV_THEMES="$withval"
4511 # Check whether --with-gtk was given.
4512 if test "${with_gtk+set}" = set; then :
4513 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4517 # Check whether --with-motif was given.
4518 if test "${with_motif+set}" = set; then :
4519 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4523 # Check whether --with-osx_carbon was given.
4524 if test "${with_osx_carbon+set}" = set; then :
4525 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4529 # Check whether --with-osx_cocoa was given.
4530 if test "${with_osx_cocoa+set}" = set; then :
4531 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4535 # Check whether --with-osx_iphone was given.
4536 if test "${with_osx_iphone+set}" = set; then :
4537 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4541 # Check whether --with-osx was given.
4542 if test "${with_osx+set}" = set; then :
4543 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4547 # Check whether --with-carbon was given.
4548 if test "${with_carbon+set}" = set; then :
4549 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4553 # Check whether --with-cocoa was given.
4554 if test "${with_cocoa+set}" = set; then :
4555 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4559 # Check whether --with-iphone was given.
4560 if test "${with_iphone+set}" = set; then :
4561 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4565 # Check whether --with-mac was given.
4566 if test "${with_mac+set}" = set; then :
4567 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4571 # Check whether --with-old_cocoa was given.
4572 if test "${with_old_cocoa+set}" = set; then :
4573 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4577 # Check whether --with-wine was given.
4578 if test "${with_wine+set}" = set; then :
4579 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4583 # Check whether --with-msw was given.
4584 if test "${with_msw+set}" = set; then :
4585 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4589 # Check whether --with-pm was given.
4590 if test "${with_pm+set}" = set; then :
4591 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4595 # Check whether --with-directfb was given.
4596 if test "${with_directfb+set}" = set; then :
4597 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4601 # Check whether --with-microwin was given.
4602 if test "${with_microwin+set}" = set; then :
4603 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4607 # Check whether --with-x11 was given.
4608 if test "${with_x11+set}" = set; then :
4609 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4615 if test -z "$defaultval"; then
4616 if test x"$enablestring" = xdisable; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4624 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4625 # Check whether --enable-nanox was given.
4626 if test "${enable_nanox+set}" = set; then :
4627 enableval=$enable_nanox;
4628 if test "$enableval" = yes; then
4629 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4631 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4636 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4641 eval "$wx_cv_use_nanox"
4643 if test x"$enablestring" = xdisable; then
4644 if test $wxUSE_NANOX = no; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4654 $as_echo "$result" >&6; }
4659 if test -z "$defaultval"; then
4660 if test x"$enablestring" = xdisable; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4668 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4669 # Check whether --enable-gpe was given.
4670 if test "${enable_gpe+set}" = set; then :
4671 enableval=$enable_gpe;
4672 if test "$enableval" = yes; then
4673 wx_cv_use_gpe='wxUSE_GPE=yes'
4675 wx_cv_use_gpe='wxUSE_GPE=no'
4680 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4685 eval "$wx_cv_use_gpe"
4687 if test x
"$enablestring" = xdisable
; then
4688 if test $wxUSE_GPE = no
; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4698 $as_echo "$result" >&6; }
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4703 $as_echo_n "checking for toolkit... " >&6; }
4707 # In Wine, we need to default to MSW, not GTK or MOTIF
4708 if test "$wxUSE_WINE" = "yes"; then
4709 DEFAULT_DEFAULT_wxUSE_GTK
=0
4710 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4711 DEFAULT_DEFAULT_wxUSE_MSW
=1
4718 if test "$wxUSE_GUI" = "yes"; then
4720 if test "$USE_BEOS" = 1; then
4721 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4724 if test "$TOOLKIT_GIVEN" = 1; then
4725 for toolkit
in $ALL_TOOLKITS; do
4727 eval "value=\$${var}"
4728 if test "x$value" = "xno"; then
4730 elif test "x$value" != "x"; then
4734 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4735 eval "wx${toolkit}_VERSION=$value"
4739 for toolkit
in $ALL_TOOLKITS; do
4740 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4741 eval "wxUSE_$toolkit=\$${var}"
4745 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4746 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4747 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4750 *-pc-os2_emx | *-pc-os2-emx )
4751 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4754 case "$NUM_TOOLKITS" in
4758 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4761 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4764 for toolkit
in $ALL_TOOLKITS; do
4766 eval "value=\$${var}"
4767 if test "$value" = 1; then
4768 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4770 $as_echo "$toolkit_echo" >&6; }
4774 if test "x$host_alias" != "x"; then
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4776 $as_echo "base ($host_alias hosted) only" >&6; }
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4779 $as_echo "base only" >&6; }
4784 if test "$wxUSE_OSX_CARBON" = 1 \
4785 -o "$wxUSE_OSX_COCOA" = 1 \
4786 -o "$wxUSE_OSX_IPHONE" = 1; then
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4793 $as_echo_n "checking for --with-libpng... " >&6; }
4795 # Check whether --with-libpng was given.
4796 if test "${with_libpng+set}" = set; then :
4797 withval
=$with_libpng;
4798 if test "$withval" = yes; then
4799 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4800 elif test "$withval" = no
; then
4801 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4802 elif test "$withval" = sys
; then
4803 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4804 elif test "$withval" = builtin; then
4805 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4807 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4812 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4817 eval "$wx_cv_use_libpng"
4819 if test "$wxUSE_LIBPNG" = yes; then
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4821 $as_echo "yes" >&6; }
4822 elif test "$wxUSE_LIBPNG" = no; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4825 elif test "$wxUSE_LIBPNG" = sys; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4827 $as_echo "system version" >&6; }
4828 elif test "$wxUSE_LIBPNG" = builtin; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4830 $as_echo "builtin version" >&6; }
4832 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4837 $as_echo_n "checking for --with-libjpeg... " >&6; }
4839 # Check whether --with-libjpeg was given.
4840 if test "${with_libjpeg+set}" = set; then :
4841 withval=$with_libjpeg;
4842 if test "$withval" = yes; then
4843 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4844 elif test "$withval" = no; then
4845 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4846 elif test "$withval" = sys; then
4847 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4848 elif test "$withval" = builtin; then
4849 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4851 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4856 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4861 eval "$wx_cv_use_libjpeg"
4863 if test "$wxUSE_LIBJPEG" = yes; then
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4865 $as_echo "yes" >&6; }
4866 elif test "$wxUSE_LIBJPEG" = no; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4868 $as_echo "no
" >&6; }
4869 elif test "$wxUSE_LIBJPEG" = sys; then
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4871 $as_echo "system version
" >&6; }
4872 elif test "$wxUSE_LIBJPEG" = builtin; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4874 $as_echo "builtin version
" >&6; }
4876 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4881 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4883 # Check whether --with-libtiff was given.
4884 if test "${with_libtiff+set}" = set; then :
4885 withval=$with_libtiff;
4886 if test "$withval" = yes; then
4887 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4888 elif test "$withval" = no; then
4889 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4890 elif test "$withval" = sys; then
4891 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4892 elif test "$withval" = builtin; then
4893 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4895 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4900 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4905 eval "$wx_cv_use_libtiff"
4907 if test "$wxUSE_LIBTIFF" = yes; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4909 $as_echo "yes" >&6; }
4910 elif test "$wxUSE_LIBTIFF" = no
; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4913 elif test "$wxUSE_LIBTIFF" = sys
; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4915 $as_echo "system version" >&6; }
4916 elif test "$wxUSE_LIBTIFF" = builtin; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4918 $as_echo "builtin version" >&6; }
4920 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4925 $as_echo_n "checking for --with-libxpm... " >&6; }
4927 # Check whether --with-libxpm was given.
4928 if test "${with_libxpm+set}" = set; then :
4929 withval
=$with_libxpm;
4930 if test "$withval" = yes; then
4931 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
4932 elif test "$withval" = no
; then
4933 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
4934 elif test "$withval" = sys
; then
4935 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
4936 elif test "$withval" = builtin; then
4937 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
4939 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4944 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4949 eval "$wx_cv_use_libxpm"
4951 if test "$wxUSE_LIBXPM" = yes; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4953 $as_echo "yes" >&6; }
4954 elif test "$wxUSE_LIBXPM" = no; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4957 elif test "$wxUSE_LIBXPM" = sys; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4959 $as_echo "system version" >&6; }
4960 elif test "$wxUSE_LIBXPM" = builtin; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4962 $as_echo "builtin version" >&6; }
4964 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4969 defaultval=$wxUSE_ALL_FEATURES
4970 if test -z "$defaultval"; then
4971 if test x"$withstring" = xwithout; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4978 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4980 # Check whether --with-libiconv was given.
4981 if test "${with_libiconv+set}" = set; then :
4982 withval=$with_libiconv;
4983 if test "$withval" = yes; then
4984 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
4986 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
4991 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4996 eval "$wx_cv_use_libiconv"
4998 if test x"$withstring" = xwithout; then
4999 if test $wxUSE_LIBICONV = yes; then
5005 result=$wxUSE_LIBICONV
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5009 $as_echo "$result" >&6; }
5013 defaultval=$wxUSE_ALL_FEATURES
5014 if test -z "$defaultval"; then
5015 if test x"$withstring" = xwithout; then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libmspack" >&5
5022 $as_echo_n "checking
for --${withstring:-with}-libmspack...
" >&6; }
5024 # Check whether --with-libmspack was given.
5025 if test "${with_libmspack+set}" = set; then :
5026 withval=$with_libmspack;
5027 if test "$withval" = yes; then
5028 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5030 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5035 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5040 eval "$wx_cv_use_libmspack"
5042 if test x
"$withstring" = xwithout
; then
5043 if test $wxUSE_LIBMSPACK = yes; then
5049 result
=$wxUSE_LIBMSPACK
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5053 $as_echo "$result" >&6; }
5057 defaultval
=$wxUSE_ALL_FEATURES
5058 if test -z "$defaultval"; then
5059 if test x
"$withstring" = xwithout
; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5066 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5068 # Check whether --with-gtkprint was given.
5069 if test "${with_gtkprint+set}" = set; then :
5070 withval
=$with_gtkprint;
5071 if test "$withval" = yes; then
5072 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
5074 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
5079 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5084 eval "$wx_cv_use_gtkprint"
5086 if test x"$withstring" = xwithout; then
5087 if test $wxUSE_GTKPRINT = yes; then
5093 result=$wxUSE_GTKPRINT
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5097 $as_echo "$result" >&6; }
5101 defaultval=$wxUSE_ALL_FEATURES
5102 if test -z "$defaultval"; then
5103 if test x"$withstring" = xwithout; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5110 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5112 # Check whether --with-gnomeprint was given.
5113 if test "${with_gnomeprint+set}" = set; then :
5114 withval=$with_gnomeprint;
5115 if test "$withval" = yes; then
5116 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
5118 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
5123 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5128 eval "$wx_cv_use_gnomeprint"
5130 if test x"$withstring" = xwithout; then
5131 if test $wxUSE_LIBGNOMEPRINT = yes; then
5137 result=$wxUSE_LIBGNOMEPRINT
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5141 $as_echo "$result" >&6; }
5145 defaultval=$wxUSE_ALL_FEATURES
5146 if test -z "$defaultval"; then
5147 if test x"$withstring" = xwithout; then
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gnomevfs" >&5
5154 $as_echo_n "checking
for --${withstring:-with}-gnomevfs...
" >&6; }
5156 # Check whether --with-gnomevfs was given.
5157 if test "${with_gnomevfs+set}" = set; then :
5158 withval=$with_gnomevfs;
5159 if test "$withval" = yes; then
5160 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5162 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5167 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5172 eval "$wx_cv_use_gnomevfs"
5174 if test x
"$withstring" = xwithout
; then
5175 if test $wxUSE_LIBGNOMEVFS = yes; then
5181 result
=$wxUSE_LIBGNOMEVFS
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5185 $as_echo "$result" >&6; }
5189 defaultval
=$wxUSE_ALL_FEATURES
5190 if test -z "$defaultval"; then
5191 if test x
"$withstring" = xwithout
; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5198 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5200 # Check whether --with-hildon was given.
5201 if test "${with_hildon+set}" = set; then :
5202 withval
=$with_hildon;
5203 if test "$withval" = yes; then
5204 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
5206 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
5211 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5216 eval "$wx_cv_use_hildon"
5218 if test x"$withstring" = xwithout; then
5219 if test $wxUSE_LIBHILDON = yes; then
5225 result=$wxUSE_LIBHILDON
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5229 $as_echo "$result" >&6; }
5233 defaultval=$wxUSE_ALL_FEATURES
5234 if test -z "$defaultval"; then
5235 if test x"$withstring" = xwithout; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5242 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5244 # Check whether --with-opengl was given.
5245 if test "${with_opengl+set}" = set; then :
5246 withval=$with_opengl;
5247 if test "$withval" = yes; then
5248 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
5250 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
5255 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5260 eval "$wx_cv_use_opengl"
5262 if test x"$withstring" = xwithout; then
5263 if test $wxUSE_OPENGL = yes; then
5269 result=$wxUSE_OPENGL
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5273 $as_echo "$result" >&6; }
5280 defaultval=$wxUSE_ALL_FEATURES
5281 if test -z "$defaultval"; then
5282 if test x"$withstring" = xwithout; then
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-dmalloc" >&5
5289 $as_echo_n "checking
for --${withstring:-with}-dmalloc...
" >&6; }
5291 # Check whether --with-dmalloc was given.
5292 if test "${with_dmalloc+set}" = set; then :
5293 withval=$with_dmalloc;
5294 if test "$withval" = yes; then
5295 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5297 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5302 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5307 eval "$wx_cv_use_dmalloc"
5309 if test x
"$withstring" = xwithout
; then
5310 if test $wxUSE_DMALLOC = yes; then
5316 result
=$wxUSE_DMALLOC
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5320 $as_echo "$result" >&6; }
5324 defaultval
=$wxUSE_ALL_FEATURES
5325 if test -z "$defaultval"; then
5326 if test x
"$withstring" = xwithout
; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5333 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5335 # Check whether --with-sdl was given.
5336 if test "${with_sdl+set}" = set; then :
5338 if test "$withval" = yes; then
5339 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
5341 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
5346 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5351 eval "$wx_cv_use_sdl"
5353 if test x"$withstring" = xwithout; then
5354 if test $wxUSE_LIBSDL = yes; then
5360 result=$wxUSE_LIBSDL
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5364 $as_echo "$result" >&6; }
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5368 $as_echo_n "checking for --with-regex... " >&6; }
5370 # Check whether --with-regex was given.
5371 if test "${with_regex+set}" = set; then :
5372 withval=$with_regex;
5373 if test "$withval" = yes; then
5374 wx_cv_use_regex='wxUSE_REGEX
=yes'
5375 elif test "$withval" = no; then
5376 wx_cv_use_regex='wxUSE_REGEX
=no
'
5377 elif test "$withval" = sys; then
5378 wx_cv_use_regex='wxUSE_REGEX
=sys
'
5379 elif test "$withval" = builtin; then
5380 wx_cv_use_regex='wxUSE_REGEX
=builtin'
5382 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5387 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5392 eval "$wx_cv_use_regex"
5394 if test "$wxUSE_REGEX" = yes; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5396 $as_echo "yes" >&6; }
5397 elif test "$wxUSE_REGEX" = no; then
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5399 $as_echo "no
" >&6; }
5400 elif test "$wxUSE_REGEX" = sys; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5402 $as_echo "system version
" >&6; }
5403 elif test "$wxUSE_REGEX" = builtin; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5405 $as_echo "builtin version
" >&6; }
5407 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-zlib" >&5
5412 $as_echo_n "checking
for --with-zlib...
" >&6; }
5414 # Check whether --with-zlib was given.
5415 if test "${with_zlib+set}" = set; then :
5417 if test "$withval" = yes; then
5418 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5419 elif test "$withval" = no; then
5420 wx_cv_use_zlib='wxUSE_ZLIB=no'
5421 elif test "$withval" = sys; then
5422 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5423 elif test "$withval" = builtin; then
5424 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5426 as_fn_error $? "Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5431 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5436 eval "$wx_cv_use_zlib"
5438 if test "$wxUSE_ZLIB" = yes; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5440 $as_echo "yes" >&6; }
5441 elif test "$wxUSE_ZLIB" = no
; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5444 elif test "$wxUSE_ZLIB" = sys
; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5446 $as_echo "system version" >&6; }
5447 elif test "$wxUSE_ZLIB" = builtin; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5449 $as_echo "builtin version" >&6; }
5451 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5456 $as_echo_n "checking for --with-expat... " >&6; }
5458 # Check whether --with-expat was given.
5459 if test "${with_expat+set}" = set; then :
5460 withval
=$with_expat;
5461 if test "$withval" = yes; then
5462 wx_cv_use_expat
='wxUSE_EXPAT=yes'
5463 elif test "$withval" = no
; then
5464 wx_cv_use_expat
='wxUSE_EXPAT=no'
5465 elif test "$withval" = sys
; then
5466 wx_cv_use_expat
='wxUSE_EXPAT=sys'
5467 elif test "$withval" = builtin; then
5468 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
5470 as_fn_error $?
"Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5475 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5480 eval "$wx_cv_use_expat"
5482 if test "$wxUSE_EXPAT" = yes; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5484 $as_echo "yes" >&6; }
5485 elif test "$wxUSE_EXPAT" = no; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5488 elif test "$wxUSE_EXPAT" = sys; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5490 $as_echo "system version" >&6; }
5491 elif test "$wxUSE_EXPAT" = builtin; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5493 $as_echo "builtin version" >&6; }
5495 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5500 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5502 # Check whether --with-macosx-sdk was given.
5503 if test "${with_macosx_sdk+set}" = set; then :
5504 withval=$with_macosx_sdk;
5505 wxUSE_MACOSX_SDK=$withval
5506 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5511 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5514 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5516 # Check whether --with-macosx-version-min was given.
5517 if test "${with_macosx_version_min+set}" = set; then :
5518 withval=$with_macosx_version_min;
5519 wxUSE_MACOSX_VERSION_MIN=$withval
5520 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5525 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5529 $as_echo_n "checking for --enable-debug... " >&6; }
5530 # Check whether --enable-debug was given.
5531 if test "${enable_debug+set}" = set; then :
5532 enableval=$enable_debug;
5533 if test "$enableval" = yes; then
5535 elif test "$enableval" = no; then
5537 elif test "$enableval" = max; then
5539 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5541 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5550 $as_echo "${enable_debug-default}" >&6; }
5552 case "$wxUSE_DEBUG" in
5554 DEFAULT_wxUSE_DEBUG_FLAG=yes
5555 DEFAULT_wxUSE_DEBUG_INFO=yes
5557 DEFAULT_wxUSE_OPTIMISE=no
5561 DEFAULT_wxUSE_DEBUG_FLAG=no
5562 DEFAULT_wxUSE_DEBUG_INFO=no
5566 DEFAULT_wxUSE_DEBUG_FLAG=yes
5567 DEFAULT_wxUSE_DEBUG_INFO=no
5572 enablestring=disable
5574 if test -z "$defaultval"; then
5575 if test x"$enablestring" = xdisable; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5583 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5584 # Check whether --enable-debug_flag was given.
5585 if test "${enable_debug_flag+set}" = set; then :
5586 enableval=$enable_debug_flag;
5587 if test "$enableval" = yes; then
5588 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
5590 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
5595 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5600 eval "$wx_cv_use_debug_flag"
5602 if test x"$enablestring" = xdisable; then
5603 if test $wxUSE_DEBUG_FLAG = no; then
5609 result=$wxUSE_DEBUG_FLAG
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5613 $as_echo "$result" >&6; }
5618 if test -z "$defaultval"; then
5619 if test x"$enablestring" = xdisable; then
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_info" >&5
5627 $as_echo_n "checking
for --${enablestring:-enable}-debug_info...
" >&6; }
5628 # Check whether --enable-debug_info was given.
5629 if test "${enable_debug_info+set}" = set; then :
5630 enableval=$enable_debug_info;
5631 if test "$enableval" = yes; then
5632 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5634 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5639 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5644 eval "$wx_cv_use_debug_info"
5646 if test x
"$enablestring" = xdisable
; then
5647 if test $wxUSE_DEBUG_INFO = no
; then
5653 result
=$wxUSE_DEBUG_INFO
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5657 $as_echo "$result" >&6; }
5664 if test -z "$defaultval"; then
5665 if test x
"$enablestring" = xdisable
; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5673 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5674 # Check whether --enable-debug_gdb was given.
5675 if test "${enable_debug_gdb+set}" = set; then :
5676 enableval
=$enable_debug_gdb;
5677 if test "$enableval" = yes; then
5678 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
5680 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
5685 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5690 eval "$wx_cv_use_debug_gdb"
5692 if test x"$enablestring" = xdisable; then
5693 if test $wxUSE_DEBUG_GDB = no; then
5699 result=$wxUSE_DEBUG_GDB
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5703 $as_echo "$result" >&6; }
5708 if test -z "$defaultval"; then
5709 if test x"$enablestring" = xdisable; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5717 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5718 # Check whether --enable-debug_cntxt was given.
5719 if test "${enable_debug_cntxt+set}" = set; then :
5720 enableval=$enable_debug_cntxt;
5721 if test "$enableval" = yes; then
5722 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
5724 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
5729 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5734 eval "$wx_cv_use_debug_cntxt"
5736 if test x"$enablestring" = xdisable; then
5737 if test $wxUSE_DEBUG_CONTEXT = no; then
5743 result=$wxUSE_DEBUG_CONTEXT
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5747 $as_echo "$result" >&6; }
5752 if test -z "$defaultval"; then
5753 if test x"$enablestring" = xdisable; then
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mem_tracing" >&5
5761 $as_echo_n "checking
for --${enablestring:-enable}-mem_tracing...
" >&6; }
5762 # Check whether --enable-mem_tracing was given.
5763 if test "${enable_mem_tracing+set}" = set; then :
5764 enableval=$enable_mem_tracing;
5765 if test "$enableval" = yes; then
5766 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5768 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5773 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5778 eval "$wx_cv_use_mem_tracing"
5780 if test x
"$enablestring" = xdisable
; then
5781 if test $wxUSE_MEM_TRACING = no
; then
5787 result
=$wxUSE_MEM_TRACING
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5791 $as_echo "$result" >&6; }
5796 enablestring
=disable
5798 if test -z "$defaultval"; then
5799 if test x
"$enablestring" = xdisable
; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5807 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5808 # Check whether --enable-shared was given.
5809 if test "${enable_shared+set}" = set; then :
5810 enableval
=$enable_shared;
5811 if test "$enableval" = yes; then
5812 wx_cv_use_shared
='wxUSE_SHARED=yes'
5814 wx_cv_use_shared
='wxUSE_SHARED=no'
5819 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5824 eval "$wx_cv_use_shared"
5826 if test x"$enablestring" = xdisable; then
5827 if test $wxUSE_SHARED = no; then
5833 result=$wxUSE_SHARED
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5837 $as_echo "$result" >&6; }
5842 if test -z "$defaultval"; then
5843 if test x"$enablestring" = xdisable; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5851 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5852 # Check whether --enable-stl was given.
5853 if test "${enable_stl+set}" = set; then :
5854 enableval=$enable_stl;
5855 if test "$enableval" = yes; then
5856 wx_cv_use_stl='wxUSE_STL
=yes'
5858 wx_cv_use_stl='wxUSE_STL
=no
'
5863 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
5868 eval "$wx_cv_use_stl"
5870 if test x"$enablestring" = xdisable; then
5871 if test $wxUSE_STL = no; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5881 $as_echo "$result" >&6; }
5883 if test "$wxUSE_STL" = "yes"; then
5884 DEFAULT_wxUSE_STD_CONTAINERS=yes
5885 DEFAULT_wxUSE_STD_IOSTREAM=yes
5886 DEFAULT_wxUSE_STD_STRING=yes
5891 if test -z "$defaultval"; then
5892 if test x"$enablestring" = xdisable; then
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_containers" >&5
5900 $as_echo_n "checking
for --${enablestring:-enable}-std_containers...
" >&6; }
5901 # Check whether --enable-std_containers was given.
5902 if test "${enable_std_containers+set}" = set; then :
5903 enableval=$enable_std_containers;
5904 if test "$enableval" = yes; then
5905 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5907 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5912 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5917 eval "$wx_cv_use_std_containers"
5919 if test x
"$enablestring" = xdisable
; then
5920 if test $wxUSE_STD_CONTAINERS = no
; then
5926 result
=$wxUSE_STD_CONTAINERS
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5930 $as_echo "$result" >&6; }
5935 if test -z "$defaultval"; then
5936 if test x
"$enablestring" = xdisable
; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5944 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5945 # Check whether --enable-std_iostreams was given.
5946 if test "${enable_std_iostreams+set}" = set; then :
5947 enableval
=$enable_std_iostreams;
5948 if test "$enableval" = yes; then
5949 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
5951 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
5956 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5961 eval "$wx_cv_use_std_iostreams"
5963 if test x"$enablestring" = xdisable; then
5964 if test $wxUSE_STD_IOSTREAM = no; then
5970 result=$wxUSE_STD_IOSTREAM
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5974 $as_echo "$result" >&6; }
5979 if test -z "$defaultval"; then
5980 if test x"$enablestring" = xdisable; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5988 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5989 # Check whether --enable-std_string was given.
5990 if test "${enable_std_string+set}" = set; then :
5991 enableval=$enable_std_string;
5992 if test "$enableval" = yes; then
5993 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
5995 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
6000 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6005 eval "$wx_cv_use_std_string"
6007 if test x"$enablestring" = xdisable; then
6008 if test $wxUSE_STD_STRING = no; then
6014 result=$wxUSE_STD_STRING
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6018 $as_echo "$result" >&6; }
6023 if test -z "$defaultval"; then
6024 if test x"$enablestring" = xdisable; then
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6032 $as_echo_n "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
" >&6; }
6033 # Check whether --enable-std_string_conv_in_wxstring was given.
6034 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6035 enableval=$enable_std_string_conv_in_wxstring;
6036 if test "$enableval" = yes; then
6037 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6039 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6044 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6049 eval "$wx_cv_use_std_string_conv_in_wxstring"
6051 if test x
"$enablestring" = xdisable
; then
6052 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
6058 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6062 $as_echo "$result" >&6; }
6065 enablestring
=disable
6067 if test -z "$defaultval"; then
6068 if test x
"$enablestring" = xdisable
; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6076 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6077 # Check whether --enable-unicode was given.
6078 if test "${enable_unicode+set}" = set; then :
6079 enableval
=$enable_unicode;
6080 if test "$enableval" = yes; then
6081 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
6083 wx_cv_use_unicode
='wxUSE_UNICODE=no'
6088 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6093 eval "$wx_cv_use_unicode"
6095 if test x"$enablestring" = xdisable; then
6096 if test $wxUSE_UNICODE = no; then
6102 result=$wxUSE_UNICODE
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6106 $as_echo "$result" >&6; }
6111 if test -z "$defaultval"; then
6112 if test x"$enablestring" = xdisable; then
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6120 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6121 # Check whether --enable-mslu was given.
6122 if test "${enable_mslu+set}" = set; then :
6123 enableval=$enable_mslu;
6124 if test "$enableval" = yes; then
6125 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
6127 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
6132 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6137 eval "$wx_cv_use_mslu"
6139 if test x"$enablestring" = xdisable; then
6140 if test $wxUSE_UNICODE_MSLU = no; then
6146 result=$wxUSE_UNICODE_MSLU
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6150 $as_echo "$result" >&6; }
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8" >&5
6155 $as_echo_n "checking
for --${enablestring:-enable}-utf8...
" >&6; }
6156 # Check whether --enable-utf8 was given.
6157 if test "${enable_utf8+set}" = set; then :
6158 enableval=$enable_utf8;
6159 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
6163 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6168 eval "$wx_cv_use_utf8"
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_UNICODE_UTF8" >&5
6171 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6176 if test -z "$defaultval"; then
6177 if test x"$enablestring" = xdisable; then
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-utf8only" >&5
6185 $as_echo_n "checking
for --${enablestring:-enable}-utf8only...
" >&6; }
6186 # Check whether --enable-utf8only was given.
6187 if test "${enable_utf8only+set}" = set; then :
6188 enableval=$enable_utf8only;
6189 if test "$enableval" = yes; then
6190 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6192 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6197 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6202 eval "$wx_cv_use_utf8only"
6204 if test x
"$enablestring" = xdisable
; then
6205 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
6211 result
=$wxUSE_UNICODE_UTF8_LOCALE
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6215 $as_echo "$result" >&6; }
6220 if test -z "$defaultval"; then
6221 if test x
"$enablestring" = xdisable
; then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6229 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6230 # Check whether --enable-extended_rtti was given.
6231 if test "${enable_extended_rtti+set}" = set; then :
6232 enableval
=$enable_extended_rtti;
6233 if test "$enableval" = yes; then
6234 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
6236 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
6241 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6246 eval "$wx_cv_use_extended_rtti"
6248 if test x"$enablestring" = xdisable; then
6249 if test $wxUSE_EXTENDED_RTTI = no; then
6255 result=$wxUSE_EXTENDED_RTTI
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6259 $as_echo "$result" >&6; }
6261 if test "$USE_OS2" = 1; then
6262 DEFAULT_wxUSE_OMF=no
6266 if test -z "$defaultval"; then
6267 if test x"$enablestring" = xdisable; then
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6275 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6276 # Check whether --enable-omf was given.
6277 if test "${enable_omf+set}" = set; then :
6278 enableval=$enable_omf;
6279 if test "$enableval" = yes; then
6280 wx_cv_use_omf='wxUSE_OMF
=yes'
6282 wx_cv_use_omf='wxUSE_OMF
=no
'
6287 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6292 eval "$wx_cv_use_omf"
6294 if test x"$enablestring" = xdisable; then
6295 if test $wxUSE_OMF = no; then
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6305 $as_echo "$result" >&6; }
6310 enablestring=disable
6312 if test -z "$defaultval"; then
6313 if test x"$enablestring" = xdisable; then
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-optimise" >&5
6321 $as_echo_n "checking
for --${enablestring:-enable}-optimise...
" >&6; }
6322 # Check whether --enable-optimise was given.
6323 if test "${enable_optimise+set}" = set; then :
6324 enableval=$enable_optimise;
6325 if test "$enableval" = yes; then
6326 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6328 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6333 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6338 eval "$wx_cv_use_optimise"
6340 if test x
"$enablestring" = xdisable
; then
6341 if test $wxUSE_OPTIMISE = no
; then
6347 result
=$wxUSE_OPTIMISE
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6351 $as_echo "$result" >&6; }
6357 if test -z "$defaultval"; then
6358 if test x
"$enablestring" = xdisable
; then
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6366 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6367 # Check whether --enable-profile was given.
6368 if test "${enable_profile+set}" = set; then :
6369 enableval
=$enable_profile;
6370 if test "$enableval" = yes; then
6371 wx_cv_use_profile
='wxUSE_PROFILE=yes'
6373 wx_cv_use_profile
='wxUSE_PROFILE=no'
6378 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6383 eval "$wx_cv_use_profile"
6385 if test x"$enablestring" = xdisable; then
6386 if test $wxUSE_PROFILE = no; then
6392 result=$wxUSE_PROFILE
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6396 $as_echo "$result" >&6; }
6401 if test -z "$defaultval"; then
6402 if test x"$enablestring" = xdisable; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6410 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6411 # Check whether --enable-no_rtti was given.
6412 if test "${enable_no_rtti+set}" = set; then :
6413 enableval=$enable_no_rtti;
6414 if test "$enableval" = yes; then
6415 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
6417 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
6422 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6427 eval "$wx_cv_use_no_rtti"
6429 if test x"$enablestring" = xdisable; then
6430 if test $wxUSE_NO_RTTI = no; then
6436 result=$wxUSE_NO_RTTI
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6440 $as_echo "$result" >&6; }
6445 if test -z "$defaultval"; then
6446 if test x"$enablestring" = xdisable; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_exceptions" >&5
6454 $as_echo_n "checking
for --${enablestring:-enable}-no_exceptions...
" >&6; }
6455 # Check whether --enable-no_exceptions was given.
6456 if test "${enable_no_exceptions+set}" = set; then :
6457 enableval=$enable_no_exceptions;
6458 if test "$enableval" = yes; then
6459 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6461 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6466 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6471 eval "$wx_cv_use_no_exceptions"
6473 if test x
"$enablestring" = xdisable
; then
6474 if test $wxUSE_NO_EXCEPTIONS = no
; then
6480 result
=$wxUSE_NO_EXCEPTIONS
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6484 $as_echo "$result" >&6; }
6489 if test -z "$defaultval"; then
6490 if test x
"$enablestring" = xdisable
; then
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6498 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6499 # Check whether --enable-permissive was given.
6500 if test "${enable_permissive+set}" = set; then :
6501 enableval
=$enable_permissive;
6502 if test "$enableval" = yes; then
6503 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
6505 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
6510 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6515 eval "$wx_cv_use_permissive"
6517 if test x"$enablestring" = xdisable; then
6518 if test $wxUSE_PERMISSIVE = no; then
6524 result=$wxUSE_PERMISSIVE
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6528 $as_echo "$result" >&6; }
6533 if test -z "$defaultval"; then
6534 if test x"$enablestring" = xdisable; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6542 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6543 # Check whether --enable-no_deps was given.
6544 if test "${enable_no_deps+set}" = set; then :
6545 enableval=$enable_no_deps;
6546 if test "$enableval" = yes; then
6547 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
6549 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
6554 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6559 eval "$wx_cv_use_no_deps"
6561 if test x"$enablestring" = xdisable; then
6562 if test $wxUSE_NO_DEPS = no; then
6568 result=$wxUSE_NO_DEPS
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6572 $as_echo "$result" >&6; }
6575 enablestring=disable
6577 if test -z "$defaultval"; then
6578 if test x"$enablestring" = xdisable; then
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-vararg_macros" >&5
6586 $as_echo_n "checking
for --${enablestring:-enable}-vararg_macros...
" >&6; }
6587 # Check whether --enable-vararg_macros was given.
6588 if test "${enable_vararg_macros+set}" = set; then :
6589 enableval=$enable_vararg_macros;
6590 if test "$enableval" = yes; then
6591 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6593 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6598 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6603 eval "$wx_cv_use_vararg_macros"
6605 if test x
"$enablestring" = xdisable
; then
6606 if test $wxUSE_VARARG_MACROS = no
; then
6612 result
=$wxUSE_VARARG_MACROS
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6616 $as_echo "$result" >&6; }
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6622 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6623 # Check whether --enable-universal_binary was given.
6624 if test "${enable_universal_binary+set}" = set; then :
6625 enableval
=$enable_universal_binary;
6626 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
6630 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6635 eval "$wx_cv_use_universal_binary"
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6638 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6643 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6644 # Check whether --enable-macosx_arch was given.
6645 if test "${enable_macosx_arch+set}" = set; then :
6646 enableval
=$enable_macosx_arch;
6647 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
6651 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6656 eval "$wx_cv_use_macosx_arch"
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6659 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6665 if test -z "$defaultval"; then
6666 if test x
"$enablestring" = xdisable
; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6674 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6675 # Check whether --enable-compat26 was given.
6676 if test "${enable_compat26+set}" = set; then :
6677 enableval
=$enable_compat26;
6678 if test "$enableval" = yes; then
6679 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
6681 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
6686 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6691 eval "$wx_cv_use_compat26"
6693 if test x"$enablestring" = xdisable; then
6694 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6700 result=$WXWIN_COMPATIBILITY_2_6
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6704 $as_echo "$result" >&6; }
6707 enablestring=disable
6709 if test -z "$defaultval"; then
6710 if test x"$enablestring" = xdisable; then
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6718 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6719 # Check whether --enable-compat28 was given.
6720 if test "${enable_compat28+set}" = set; then :
6721 enableval=$enable_compat28;
6722 if test "$enableval" = yes; then
6723 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
6725 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
6730 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6735 eval "$wx_cv_use_compat28"
6737 if test x"$enablestring" = xdisable; then
6738 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6744 result=$WXWIN_COMPATIBILITY_2_8
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6748 $as_echo "$result" >&6; }
6752 enablestring=disable
6754 if test -z "$defaultval"; then
6755 if test x"$enablestring" = xdisable; then
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rpath" >&5
6763 $as_echo_n "checking
for --${enablestring:-enable}-rpath...
" >&6; }
6764 # Check whether --enable-rpath was given.
6765 if test "${enable_rpath+set}" = set; then :
6766 enableval=$enable_rpath;
6767 if test "$enableval" = yes; then
6768 wx_cv_use_rpath='wxUSE_RPATH=yes'
6770 wx_cv_use_rpath='wxUSE_RPATH=no'
6775 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6780 eval "$wx_cv_use_rpath"
6782 if test x
"$enablestring" = xdisable
; then
6783 if test $wxUSE_RPATH = no
; then
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6793 $as_echo "$result" >&6; }
6799 if test -z "$defaultval"; then
6800 if test x
"$enablestring" = xdisable
; then
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6808 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6809 # Check whether --enable-objc_uniquifying was given.
6810 if test "${enable_objc_uniquifying+set}" = set; then :
6811 enableval
=$enable_objc_uniquifying;
6812 if test "$enableval" = yes; then
6813 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
6815 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
6820 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6825 eval "$wx_cv_use_objc_uniquifying"
6827 if test x"$enablestring" = xdisable; then
6828 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6834 result=$wxUSE_OBJC_UNIQUIFYING
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6838 $as_echo "$result" >&6; }
6842 enablestring=disable
6844 if test -z "$defaultval"; then
6845 if test x"$enablestring" = xdisable; then
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6853 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6854 # Check whether --enable-visibility was given.
6855 if test "${enable_visibility+set}" = set; then :
6856 enableval=$enable_visibility;
6857 if test "$enableval" = yes; then
6858 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
6860 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
6865 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6870 eval "$wx_cv_use_visibility"
6872 if test x"$enablestring" = xdisable; then
6873 if test $wxUSE_VISIBILITY = no; then
6879 result=$wxUSE_VISIBILITY
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6883 $as_echo "$result" >&6; }
6886 enablestring=disable
6888 if test -z "$defaultval"; then
6889 if test x"$enablestring" = xdisable; then
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tls" >&5
6897 $as_echo_n "checking
for --${enablestring:-enable}-tls...
" >&6; }
6898 # Check whether --enable-tls was given.
6899 if test "${enable_tls+set}" = set; then :
6900 enableval=$enable_tls;
6901 if test "$enableval" = yes; then
6902 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6904 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6909 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6914 eval "$wx_cv_use_tls"
6916 if test x
"$enablestring" = xdisable
; then
6917 if test $wxUSE_COMPILER_TLS = no
; then
6923 result
=$wxUSE_COMPILER_TLS
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6927 $as_echo "$result" >&6; }
6933 defaultval
=$wxUSE_ALL_FEATURES
6934 if test -z "$defaultval"; then
6935 if test x
"$enablestring" = xdisable
; then
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6943 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6944 # Check whether --enable-intl was given.
6945 if test "${enable_intl+set}" = set; then :
6946 enableval
=$enable_intl;
6947 if test "$enableval" = yes; then
6948 wx_cv_use_intl
='wxUSE_INTL=yes'
6950 wx_cv_use_intl
='wxUSE_INTL=no'
6955 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6960 eval "$wx_cv_use_intl"
6962 if test x"$enablestring" = xdisable; then
6963 if test $wxUSE_INTL = no; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6973 $as_echo "$result" >&6; }
6977 defaultval=$wxUSE_ALL_FEATURES
6978 if test -z "$defaultval"; then
6979 if test x"$enablestring" = xdisable; then
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6987 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6988 # Check whether --enable-xlocale was given.
6989 if test "${enable_xlocale+set}" = set; then :
6990 enableval=$enable_xlocale;
6991 if test "$enableval" = yes; then
6992 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
6994 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
6999 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7004 eval "$wx_cv_use_xlocale"
7006 if test x"$enablestring" = xdisable; then
7007 if test $wxUSE_XLOCALE = no; then
7013 result=$wxUSE_XLOCALE
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7017 $as_echo "$result" >&6; }
7021 defaultval=$wxUSE_ALL_FEATURES
7022 if test -z "$defaultval"; then
7023 if test x"$enablestring" = xdisable; then
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-config" >&5
7031 $as_echo_n "checking
for --${enablestring:-enable}-config...
" >&6; }
7032 # Check whether --enable-config was given.
7033 if test "${enable_config+set}" = set; then :
7034 enableval=$enable_config;
7035 if test "$enableval" = yes; then
7036 wx_cv_use_config='wxUSE_CONFIG=yes'
7038 wx_cv_use_config='wxUSE_CONFIG=no'
7043 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7048 eval "$wx_cv_use_config"
7050 if test x
"$enablestring" = xdisable
; then
7051 if test $wxUSE_CONFIG = no
; then
7057 result
=$wxUSE_CONFIG
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7061 $as_echo "$result" >&6; }
7066 defaultval
=$wxUSE_ALL_FEATURES
7067 if test -z "$defaultval"; then
7068 if test x
"$enablestring" = xdisable
; then
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7076 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7077 # Check whether --enable-protocols was given.
7078 if test "${enable_protocols+set}" = set; then :
7079 enableval
=$enable_protocols;
7080 if test "$enableval" = yes; then
7081 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
7083 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
7088 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7093 eval "$wx_cv_use_protocols"
7095 if test x"$enablestring" = xdisable; then
7096 if test $wxUSE_PROTOCOL = no; then
7102 result=$wxUSE_PROTOCOL
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7106 $as_echo "$result" >&6; }
7110 defaultval=$wxUSE_ALL_FEATURES
7111 if test -z "$defaultval"; then
7112 if test x"$enablestring" = xdisable; then
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7120 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7121 # Check whether --enable-ftp was given.
7122 if test "${enable_ftp+set}" = set; then :
7123 enableval=$enable_ftp;
7124 if test "$enableval" = yes; then
7125 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
7127 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
7132 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7137 eval "$wx_cv_use_ftp"
7139 if test x"$enablestring" = xdisable; then
7140 if test $wxUSE_PROTOCOL_FTP = no; then
7146 result=$wxUSE_PROTOCOL_FTP
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7150 $as_echo "$result" >&6; }
7154 defaultval=$wxUSE_ALL_FEATURES
7155 if test -z "$defaultval"; then
7156 if test x"$enablestring" = xdisable; then
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-http" >&5
7164 $as_echo_n "checking
for --${enablestring:-enable}-http...
" >&6; }
7165 # Check whether --enable-http was given.
7166 if test "${enable_http+set}" = set; then :
7167 enableval=$enable_http;
7168 if test "$enableval" = yes; then
7169 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7171 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7176 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7181 eval "$wx_cv_use_http"
7183 if test x
"$enablestring" = xdisable
; then
7184 if test $wxUSE_PROTOCOL_HTTP = no
; then
7190 result
=$wxUSE_PROTOCOL_HTTP
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7194 $as_echo "$result" >&6; }
7198 defaultval
=$wxUSE_ALL_FEATURES
7199 if test -z "$defaultval"; then
7200 if test x
"$enablestring" = xdisable
; then
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7208 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7209 # Check whether --enable-fileproto was given.
7210 if test "${enable_fileproto+set}" = set; then :
7211 enableval
=$enable_fileproto;
7212 if test "$enableval" = yes; then
7213 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
7215 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
7220 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7225 eval "$wx_cv_use_fileproto"
7227 if test x"$enablestring" = xdisable; then
7228 if test $wxUSE_PROTOCOL_FILE = no; then
7234 result=$wxUSE_PROTOCOL_FILE
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7238 $as_echo "$result" >&6; }
7242 defaultval=$wxUSE_ALL_FEATURES
7243 if test -z "$defaultval"; then
7244 if test x"$enablestring" = xdisable; then
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7252 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7253 # Check whether --enable-sockets was given.
7254 if test "${enable_sockets+set}" = set; then :
7255 enableval=$enable_sockets;
7256 if test "$enableval" = yes; then
7257 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
7259 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
7264 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7269 eval "$wx_cv_use_sockets"
7271 if test x"$enablestring" = xdisable; then
7272 if test $wxUSE_SOCKETS = no; then
7278 result=$wxUSE_SOCKETS
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7282 $as_echo "$result" >&6; }
7286 defaultval=$wxUSE_ALL_FEATURES
7287 if test -z "$defaultval"; then
7288 if test x"$enablestring" = xdisable; then
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipv6" >&5
7296 $as_echo_n "checking
for --${enablestring:-enable}-ipv6...
" >&6; }
7297 # Check whether --enable-ipv6 was given.
7298 if test "${enable_ipv6+set}" = set; then :
7299 enableval=$enable_ipv6;
7300 if test "$enableval" = yes; then
7301 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7303 wx_cv_use_ipv6='wxUSE_IPV6=no'
7308 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7313 eval "$wx_cv_use_ipv6"
7315 if test x
"$enablestring" = xdisable
; then
7316 if test $wxUSE_IPV6 = no
; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7326 $as_echo "$result" >&6; }
7330 defaultval
=$wxUSE_ALL_FEATURES
7331 if test -z "$defaultval"; then
7332 if test x
"$enablestring" = xdisable
; then
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7340 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7341 # Check whether --enable-ole was given.
7342 if test "${enable_ole+set}" = set; then :
7343 enableval
=$enable_ole;
7344 if test "$enableval" = yes; then
7345 wx_cv_use_ole
='wxUSE_OLE=yes'
7347 wx_cv_use_ole
='wxUSE_OLE=no'
7352 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7357 eval "$wx_cv_use_ole"
7359 if test x"$enablestring" = xdisable; then
7360 if test $wxUSE_OLE = no; then
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7370 $as_echo "$result" >&6; }
7374 defaultval=$wxUSE_ALL_FEATURES
7375 if test -z "$defaultval"; then
7376 if test x"$enablestring" = xdisable; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7384 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7385 # Check whether --enable-dataobj was given.
7386 if test "${enable_dataobj+set}" = set; then :
7387 enableval=$enable_dataobj;
7388 if test "$enableval" = yes; then
7389 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
7391 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
7396 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7401 eval "$wx_cv_use_dataobj"
7403 if test x"$enablestring" = xdisable; then
7404 if test $wxUSE_DATAOBJ = no; then
7410 result=$wxUSE_DATAOBJ
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7414 $as_echo "$result" >&6; }
7419 defaultval=$wxUSE_ALL_FEATURES
7420 if test -z "$defaultval"; then
7421 if test x"$enablestring" = xdisable; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ipc" >&5
7429 $as_echo_n "checking
for --${enablestring:-enable}-ipc...
" >&6; }
7430 # Check whether --enable-ipc was given.
7431 if test "${enable_ipc+set}" = set; then :
7432 enableval=$enable_ipc;
7433 if test "$enableval" = yes; then
7434 wx_cv_use_ipc='wxUSE_IPC=yes'
7436 wx_cv_use_ipc='wxUSE_IPC=no'
7441 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7446 eval "$wx_cv_use_ipc"
7448 if test x
"$enablestring" = xdisable
; then
7449 if test $wxUSE_IPC = no
; then
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7459 $as_echo "$result" >&6; }
7464 defaultval
=$wxUSE_ALL_FEATURES
7465 if test -z "$defaultval"; then
7466 if test x
"$enablestring" = xdisable
; then
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7474 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7475 # Check whether --enable-baseevtloop was given.
7476 if test "${enable_baseevtloop+set}" = set; then :
7477 enableval
=$enable_baseevtloop;
7478 if test "$enableval" = yes; then
7479 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
7481 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
7486 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7491 eval "$wx_cv_use_baseevtloop"
7493 if test x"$enablestring" = xdisable; then
7494 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7500 result=$wxUSE_CONSOLE_EVENTLOOP
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7504 $as_echo "$result" >&6; }
7508 defaultval=$wxUSE_ALL_FEATURES
7509 if test -z "$defaultval"; then
7510 if test x"$enablestring" = xdisable; then
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7518 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7519 # Check whether --enable-epollloop was given.
7520 if test "${enable_epollloop+set}" = set; then :
7521 enableval=$enable_epollloop;
7522 if test "$enableval" = yes; then
7523 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
7525 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
7530 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7535 eval "$wx_cv_use_epollloop"
7537 if test x"$enablestring" = xdisable; then
7538 if test $wxUSE_EPOLL_DISPATCHER = no; then
7544 result=$wxUSE_EPOLL_DISPATCHER
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7548 $as_echo "$result" >&6; }
7552 defaultval=$wxUSE_ALL_FEATURES
7553 if test -z "$defaultval"; then
7554 if test x"$enablestring" = xdisable; then
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-selectloop" >&5
7562 $as_echo_n "checking
for --${enablestring:-enable}-selectloop...
" >&6; }
7563 # Check whether --enable-selectloop was given.
7564 if test "${enable_selectloop+set}" = set; then :
7565 enableval=$enable_selectloop;
7566 if test "$enableval" = yes; then
7567 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7569 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7574 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7579 eval "$wx_cv_use_selectloop"
7581 if test x
"$enablestring" = xdisable
; then
7582 if test $wxUSE_SELECT_DISPATCHER = no
; then
7588 result
=$wxUSE_SELECT_DISPATCHER
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7592 $as_echo "$result" >&6; }
7597 defaultval
=$wxUSE_ALL_FEATURES
7598 if test -z "$defaultval"; then
7599 if test x
"$enablestring" = xdisable
; then
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7607 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7608 # Check whether --enable-any was given.
7609 if test "${enable_any+set}" = set; then :
7610 enableval
=$enable_any;
7611 if test "$enableval" = yes; then
7612 wx_cv_use_any
='wxUSE_ANY=yes'
7614 wx_cv_use_any
='wxUSE_ANY=no'
7619 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7624 eval "$wx_cv_use_any"
7626 if test x"$enablestring" = xdisable; then
7627 if test $wxUSE_ANY = no; then
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7637 $as_echo "$result" >&6; }
7641 defaultval=$wxUSE_ALL_FEATURES
7642 if test -z "$defaultval"; then
7643 if test x"$enablestring" = xdisable; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7651 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7652 # Check whether --enable-apple_ieee was given.
7653 if test "${enable_apple_ieee+set}" = set; then :
7654 enableval=$enable_apple_ieee;
7655 if test "$enableval" = yes; then
7656 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
7658 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
7663 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7668 eval "$wx_cv_use_apple_ieee"
7670 if test x"$enablestring" = xdisable; then
7671 if test $wxUSE_APPLE_IEEE = no; then
7677 result=$wxUSE_APPLE_IEEE
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7681 $as_echo "$result" >&6; }
7685 defaultval=$wxUSE_ALL_FEATURES
7686 if test -z "$defaultval"; then
7687 if test x"$enablestring" = xdisable; then
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-arcstream" >&5
7695 $as_echo_n "checking
for --${enablestring:-enable}-arcstream...
" >&6; }
7696 # Check whether --enable-arcstream was given.
7697 if test "${enable_arcstream+set}" = set; then :
7698 enableval=$enable_arcstream;
7699 if test "$enableval" = yes; then
7700 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7702 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7707 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7712 eval "$wx_cv_use_arcstream"
7714 if test x
"$enablestring" = xdisable
; then
7715 if test $wxUSE_ARCHIVE_STREAMS = no
; then
7721 result
=$wxUSE_ARCHIVE_STREAMS
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7725 $as_echo "$result" >&6; }
7729 defaultval
=$wxUSE_ALL_FEATURES
7730 if test -z "$defaultval"; then
7731 if test x
"$enablestring" = xdisable
; then
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7739 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7740 # Check whether --enable-base64 was given.
7741 if test "${enable_base64+set}" = set; then :
7742 enableval
=$enable_base64;
7743 if test "$enableval" = yes; then
7744 wx_cv_use_base64
='wxUSE_BASE64=yes'
7746 wx_cv_use_base64
='wxUSE_BASE64=no'
7751 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7756 eval "$wx_cv_use_base64"
7758 if test x"$enablestring" = xdisable; then
7759 if test $wxUSE_BASE64 = no; then
7765 result=$wxUSE_BASE64
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7769 $as_echo "$result" >&6; }
7773 defaultval=$wxUSE_ALL_FEATURES
7774 if test -z "$defaultval"; then
7775 if test x"$enablestring" = xdisable; then
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7783 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7784 # Check whether --enable-backtrace was given.
7785 if test "${enable_backtrace+set}" = set; then :
7786 enableval=$enable_backtrace;
7787 if test "$enableval" = yes; then
7788 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
7790 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
7795 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7800 eval "$wx_cv_use_backtrace"
7802 if test x"$enablestring" = xdisable; then
7803 if test $wxUSE_STACKWALKER = no; then
7809 result=$wxUSE_STACKWALKER
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7813 $as_echo "$result" >&6; }
7817 defaultval=$wxUSE_ALL_FEATURES
7818 if test -z "$defaultval"; then
7819 if test x"$enablestring" = xdisable; then
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-catch_segvs" >&5
7827 $as_echo_n "checking
for --${enablestring:-enable}-catch_segvs...
" >&6; }
7828 # Check whether --enable-catch_segvs was given.
7829 if test "${enable_catch_segvs+set}" = set; then :
7830 enableval=$enable_catch_segvs;
7831 if test "$enableval" = yes; then
7832 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7834 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7839 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7844 eval "$wx_cv_use_catch_segvs"
7846 if test x
"$enablestring" = xdisable
; then
7847 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
7853 result
=$wxUSE_ON_FATAL_EXCEPTION
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7857 $as_echo "$result" >&6; }
7861 defaultval
=$wxUSE_ALL_FEATURES
7862 if test -z "$defaultval"; then
7863 if test x
"$enablestring" = xdisable
; then
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7871 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7872 # Check whether --enable-cmdline was given.
7873 if test "${enable_cmdline+set}" = set; then :
7874 enableval
=$enable_cmdline;
7875 if test "$enableval" = yes; then
7876 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
7878 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
7883 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7888 eval "$wx_cv_use_cmdline"
7890 if test x"$enablestring" = xdisable; then
7891 if test $wxUSE_CMDLINE_PARSER = no; then
7897 result=$wxUSE_CMDLINE_PARSER
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7901 $as_echo "$result" >&6; }
7905 defaultval=$wxUSE_ALL_FEATURES
7906 if test -z "$defaultval"; then
7907 if test x"$enablestring" = xdisable; then
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7915 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7916 # Check whether --enable-datetime was given.
7917 if test "${enable_datetime+set}" = set; then :
7918 enableval=$enable_datetime;
7919 if test "$enableval" = yes; then
7920 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
7922 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
7927 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7932 eval "$wx_cv_use_datetime"
7934 if test x"$enablestring" = xdisable; then
7935 if test $wxUSE_DATETIME = no; then
7941 result=$wxUSE_DATETIME
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7945 $as_echo "$result" >&6; }
7949 defaultval=$wxUSE_ALL_FEATURES
7950 if test -z "$defaultval"; then
7951 if test x"$enablestring" = xdisable; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debugreport" >&5
7959 $as_echo_n "checking
for --${enablestring:-enable}-debugreport...
" >&6; }
7960 # Check whether --enable-debugreport was given.
7961 if test "${enable_debugreport+set}" = set; then :
7962 enableval=$enable_debugreport;
7963 if test "$enableval" = yes; then
7964 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7966 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7971 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7976 eval "$wx_cv_use_debugreport"
7978 if test x
"$enablestring" = xdisable
; then
7979 if test $wxUSE_DEBUGREPORT = no
; then
7985 result
=$wxUSE_DEBUGREPORT
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7989 $as_echo "$result" >&6; }
7993 defaultval
=$wxUSE_ALL_FEATURES
7994 if test -z "$defaultval"; then
7995 if test x
"$enablestring" = xdisable
; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8003 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8004 # Check whether --enable-dialupman was given.
8005 if test "${enable_dialupman+set}" = set; then :
8006 enableval
=$enable_dialupman;
8007 if test "$enableval" = yes; then
8008 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
8010 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
8015 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8020 eval "$wx_cv_use_dialupman"
8022 if test x"$enablestring" = xdisable; then
8023 if test $wxUSE_DIALUP_MANAGER = no; then
8029 result=$wxUSE_DIALUP_MANAGER
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8033 $as_echo "$result" >&6; }
8037 defaultval=$wxUSE_ALL_FEATURES
8038 if test -z "$defaultval"; then
8039 if test x"$enablestring" = xdisable; then
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8047 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8048 # Check whether --enable-dynlib was given.
8049 if test "${enable_dynlib+set}" = set; then :
8050 enableval=$enable_dynlib;
8051 if test "$enableval" = yes; then
8052 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
8054 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
8059 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8064 eval "$wx_cv_use_dynlib"
8066 if test x"$enablestring" = xdisable; then
8067 if test $wxUSE_DYNLIB_CLASS = no; then
8073 result=$wxUSE_DYNLIB_CLASS
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8077 $as_echo "$result" >&6; }
8081 defaultval=$wxUSE_ALL_FEATURES
8082 if test -z "$defaultval"; then
8083 if test x"$enablestring" = xdisable; then
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynamicloader" >&5
8091 $as_echo_n "checking
for --${enablestring:-enable}-dynamicloader...
" >&6; }
8092 # Check whether --enable-dynamicloader was given.
8093 if test "${enable_dynamicloader+set}" = set; then :
8094 enableval=$enable_dynamicloader;
8095 if test "$enableval" = yes; then
8096 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8098 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8103 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8108 eval "$wx_cv_use_dynamicloader"
8110 if test x
"$enablestring" = xdisable
; then
8111 if test $wxUSE_DYNAMIC_LOADER = no
; then
8117 result
=$wxUSE_DYNAMIC_LOADER
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8121 $as_echo "$result" >&6; }
8125 defaultval
=$wxUSE_ALL_FEATURES
8126 if test -z "$defaultval"; then
8127 if test x
"$enablestring" = xdisable
; then
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8135 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8136 # Check whether --enable-exceptions was given.
8137 if test "${enable_exceptions+set}" = set; then :
8138 enableval
=$enable_exceptions;
8139 if test "$enableval" = yes; then
8140 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
8142 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
8147 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8152 eval "$wx_cv_use_exceptions"
8154 if test x"$enablestring" = xdisable; then
8155 if test $wxUSE_EXCEPTIONS = no; then
8161 result=$wxUSE_EXCEPTIONS
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8165 $as_echo "$result" >&6; }
8169 defaultval=$wxUSE_ALL_FEATURES
8170 if test -z "$defaultval"; then
8171 if test x"$enablestring" = xdisable; then
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8179 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8180 # Check whether --enable-ffile was given.
8181 if test "${enable_ffile+set}" = set; then :
8182 enableval=$enable_ffile;
8183 if test "$enableval" = yes; then
8184 wx_cv_use_ffile='wxUSE_FFILE
=yes'
8186 wx_cv_use_ffile='wxUSE_FFILE
=no
'
8191 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8196 eval "$wx_cv_use_ffile"
8198 if test x"$enablestring" = xdisable; then
8199 if test $wxUSE_FFILE = no; then
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8209 $as_echo "$result" >&6; }
8213 defaultval=$wxUSE_ALL_FEATURES
8214 if test -z "$defaultval"; then
8215 if test x"$enablestring" = xdisable; then
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-file" >&5
8223 $as_echo_n "checking
for --${enablestring:-enable}-file...
" >&6; }
8224 # Check whether --enable-file was given.
8225 if test "${enable_file+set}" = set; then :
8226 enableval=$enable_file;
8227 if test "$enableval" = yes; then
8228 wx_cv_use_file='wxUSE_FILE=yes'
8230 wx_cv_use_file='wxUSE_FILE=no'
8235 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8240 eval "$wx_cv_use_file"
8242 if test x
"$enablestring" = xdisable
; then
8243 if test $wxUSE_FILE = no
; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8253 $as_echo "$result" >&6; }
8257 defaultval
=$wxUSE_ALL_FEATURES
8258 if test -z "$defaultval"; then
8259 if test x
"$enablestring" = xdisable
; then
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8267 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8268 # Check whether --enable-filehistory was given.
8269 if test "${enable_filehistory+set}" = set; then :
8270 enableval
=$enable_filehistory;
8271 if test "$enableval" = yes; then
8272 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
8274 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
8279 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8284 eval "$wx_cv_use_filehistory"
8286 if test x"$enablestring" = xdisable; then
8287 if test $wxUSE_FILE_HISTORY = no; then
8293 result=$wxUSE_FILE_HISTORY
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8297 $as_echo "$result" >&6; }
8301 defaultval=$wxUSE_ALL_FEATURES
8302 if test -z "$defaultval"; then
8303 if test x"$enablestring" = xdisable; then
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8311 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8312 # Check whether --enable-filesystem was given.
8313 if test "${enable_filesystem+set}" = set; then :
8314 enableval=$enable_filesystem;
8315 if test "$enableval" = yes; then
8316 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
8318 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
8323 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8328 eval "$wx_cv_use_filesystem"
8330 if test x"$enablestring" = xdisable; then
8331 if test $wxUSE_FILESYSTEM = no; then
8337 result=$wxUSE_FILESYSTEM
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8341 $as_echo "$result" >&6; }
8345 defaultval=$wxUSE_ALL_FEATURES
8346 if test -z "$defaultval"; then
8347 if test x"$enablestring" = xdisable; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontenum" >&5
8355 $as_echo_n "checking
for --${enablestring:-enable}-fontenum...
" >&6; }
8356 # Check whether --enable-fontenum was given.
8357 if test "${enable_fontenum+set}" = set; then :
8358 enableval=$enable_fontenum;
8359 if test "$enableval" = yes; then
8360 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8362 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8367 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8372 eval "$wx_cv_use_fontenum"
8374 if test x
"$enablestring" = xdisable
; then
8375 if test $wxUSE_FONTENUM = no
; then
8381 result
=$wxUSE_FONTENUM
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8385 $as_echo "$result" >&6; }
8389 defaultval
=$wxUSE_ALL_FEATURES
8390 if test -z "$defaultval"; then
8391 if test x
"$enablestring" = xdisable
; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8399 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8400 # Check whether --enable-fontmap was given.
8401 if test "${enable_fontmap+set}" = set; then :
8402 enableval
=$enable_fontmap;
8403 if test "$enableval" = yes; then
8404 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
8406 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
8411 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8416 eval "$wx_cv_use_fontmap"
8418 if test x"$enablestring" = xdisable; then
8419 if test $wxUSE_FONTMAP = no; then
8425 result=$wxUSE_FONTMAP
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8429 $as_echo "$result" >&6; }
8433 defaultval=$wxUSE_ALL_FEATURES
8434 if test -z "$defaultval"; then
8435 if test x"$enablestring" = xdisable; then
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8443 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8444 # Check whether --enable-fs_archive was given.
8445 if test "${enable_fs_archive+set}" = set; then :
8446 enableval=$enable_fs_archive;
8447 if test "$enableval" = yes; then
8448 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
8450 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
8455 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8460 eval "$wx_cv_use_fs_archive"
8462 if test x"$enablestring" = xdisable; then
8463 if test $wxUSE_FS_ARCHIVE = no; then
8469 result=$wxUSE_FS_ARCHIVE
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8473 $as_echo "$result" >&6; }
8477 defaultval=$wxUSE_ALL_FEATURES
8478 if test -z "$defaultval"; then
8479 if test x"$enablestring" = xdisable; then
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_inet" >&5
8487 $as_echo_n "checking
for --${enablestring:-enable}-fs_inet...
" >&6; }
8488 # Check whether --enable-fs_inet was given.
8489 if test "${enable_fs_inet+set}" = set; then :
8490 enableval=$enable_fs_inet;
8491 if test "$enableval" = yes; then
8492 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8494 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8499 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8504 eval "$wx_cv_use_fs_inet"
8506 if test x
"$enablestring" = xdisable
; then
8507 if test $wxUSE_FS_INET = no
; then
8513 result
=$wxUSE_FS_INET
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8517 $as_echo "$result" >&6; }
8521 defaultval
=$wxUSE_ALL_FEATURES
8522 if test -z "$defaultval"; then
8523 if test x
"$enablestring" = xdisable
; then
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8531 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8532 # Check whether --enable-fs_zip was given.
8533 if test "${enable_fs_zip+set}" = set; then :
8534 enableval
=$enable_fs_zip;
8535 if test "$enableval" = yes; then
8536 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
8538 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
8543 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8548 eval "$wx_cv_use_fs_zip"
8550 if test x"$enablestring" = xdisable; then
8551 if test $wxUSE_FS_ZIP = no; then
8557 result=$wxUSE_FS_ZIP
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8561 $as_echo "$result" >&6; }
8565 defaultval=$wxUSE_ALL_FEATURES
8566 if test -z "$defaultval"; then
8567 if test x"$enablestring" = xdisable; then
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8575 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8576 # Check whether --enable-fswatcher was given.
8577 if test "${enable_fswatcher+set}" = set; then :
8578 enableval=$enable_fswatcher;
8579 if test "$enableval" = yes; then
8580 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
8582 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
8587 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8592 eval "$wx_cv_use_fswatcher"
8594 if test x"$enablestring" = xdisable; then
8595 if test $wxUSE_FSWATCHER = no; then
8601 result=$wxUSE_FSWATCHER
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8605 $as_echo "$result" >&6; }
8609 defaultval=$wxUSE_ALL_FEATURES
8610 if test -z "$defaultval"; then
8611 if test x"$enablestring" = xdisable; then
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-geometry" >&5
8619 $as_echo_n "checking
for --${enablestring:-enable}-geometry...
" >&6; }
8620 # Check whether --enable-geometry was given.
8621 if test "${enable_geometry+set}" = set; then :
8622 enableval=$enable_geometry;
8623 if test "$enableval" = yes; then
8624 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8626 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8631 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8636 eval "$wx_cv_use_geometry"
8638 if test x
"$enablestring" = xdisable
; then
8639 if test $wxUSE_GEOMETRY = no
; then
8645 result
=$wxUSE_GEOMETRY
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8649 $as_echo "$result" >&6; }
8653 defaultval
=$wxUSE_ALL_FEATURES
8654 if test -z "$defaultval"; then
8655 if test x
"$enablestring" = xdisable
; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8663 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8664 # Check whether --enable-log was given.
8665 if test "${enable_log+set}" = set; then :
8666 enableval
=$enable_log;
8667 if test "$enableval" = yes; then
8668 wx_cv_use_log
='wxUSE_LOG=yes'
8670 wx_cv_use_log
='wxUSE_LOG=no'
8675 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8680 eval "$wx_cv_use_log"
8682 if test x"$enablestring" = xdisable; then
8683 if test $wxUSE_LOG = no; then
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8693 $as_echo "$result" >&6; }
8697 defaultval=$wxUSE_ALL_FEATURES
8698 if test -z "$defaultval"; then
8699 if test x"$enablestring" = xdisable; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8707 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8708 # Check whether --enable-longlong was given.
8709 if test "${enable_longlong+set}" = set; then :
8710 enableval=$enable_longlong;
8711 if test "$enableval" = yes; then
8712 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
8714 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
8719 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8724 eval "$wx_cv_use_longlong"
8726 if test x"$enablestring" = xdisable; then
8727 if test $wxUSE_LONGLONG = no; then
8733 result=$wxUSE_LONGLONG
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8737 $as_echo "$result" >&6; }
8741 defaultval=$wxUSE_ALL_FEATURES
8742 if test -z "$defaultval"; then
8743 if test x"$enablestring" = xdisable; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mimetype" >&5
8751 $as_echo_n "checking
for --${enablestring:-enable}-mimetype...
" >&6; }
8752 # Check whether --enable-mimetype was given.
8753 if test "${enable_mimetype+set}" = set; then :
8754 enableval=$enable_mimetype;
8755 if test "$enableval" = yes; then
8756 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8758 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8763 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8768 eval "$wx_cv_use_mimetype"
8770 if test x
"$enablestring" = xdisable
; then
8771 if test $wxUSE_MIMETYPE = no
; then
8777 result
=$wxUSE_MIMETYPE
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8781 $as_echo "$result" >&6; }
8785 defaultval
=$wxUSE_ALL_FEATURES
8786 if test -z "$defaultval"; then
8787 if test x
"$enablestring" = xdisable
; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8795 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8796 # Check whether --enable-printfposparam was given.
8797 if test "${enable_printfposparam+set}" = set; then :
8798 enableval
=$enable_printfposparam;
8799 if test "$enableval" = yes; then
8800 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
8802 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
8807 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8812 eval "$wx_cv_use_printfposparam"
8814 if test x"$enablestring" = xdisable; then
8815 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8821 result=$wxUSE_PRINTF_POS_PARAMS
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8825 $as_echo "$result" >&6; }
8829 defaultval=$wxUSE_ALL_FEATURES
8830 if test -z "$defaultval"; then
8831 if test x"$enablestring" = xdisable; then
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8839 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8840 # Check whether --enable-snglinst was given.
8841 if test "${enable_snglinst+set}" = set; then :
8842 enableval=$enable_snglinst;
8843 if test "$enableval" = yes; then
8844 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
8846 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
8851 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8856 eval "$wx_cv_use_snglinst"
8858 if test x"$enablestring" = xdisable; then
8859 if test $wxUSE_SNGLINST_CHECKER = no; then
8865 result=$wxUSE_SNGLINST_CHECKER
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8869 $as_echo "$result" >&6; }
8873 defaultval=$wxUSE_ALL_FEATURES
8874 if test -z "$defaultval"; then
8875 if test x"$enablestring" = xdisable; then
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sound" >&5
8883 $as_echo_n "checking
for --${enablestring:-enable}-sound...
" >&6; }
8884 # Check whether --enable-sound was given.
8885 if test "${enable_sound+set}" = set; then :
8886 enableval=$enable_sound;
8887 if test "$enableval" = yes; then
8888 wx_cv_use_sound='wxUSE_SOUND=yes'
8890 wx_cv_use_sound='wxUSE_SOUND=no'
8895 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8900 eval "$wx_cv_use_sound"
8902 if test x
"$enablestring" = xdisable
; then
8903 if test $wxUSE_SOUND = no
; then
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8913 $as_echo "$result" >&6; }
8917 defaultval
=$wxUSE_ALL_FEATURES
8918 if test -z "$defaultval"; then
8919 if test x
"$enablestring" = xdisable
; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8927 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8928 # Check whether --enable-stdpaths was given.
8929 if test "${enable_stdpaths+set}" = set; then :
8930 enableval
=$enable_stdpaths;
8931 if test "$enableval" = yes; then
8932 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
8934 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
8939 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8944 eval "$wx_cv_use_stdpaths"
8946 if test x"$enablestring" = xdisable; then
8947 if test $wxUSE_STDPATHS = no; then
8953 result=$wxUSE_STDPATHS
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8957 $as_echo "$result" >&6; }
8961 defaultval=$wxUSE_ALL_FEATURES
8962 if test -z "$defaultval"; then
8963 if test x"$enablestring" = xdisable; then
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8971 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8972 # Check whether --enable-stopwatch was given.
8973 if test "${enable_stopwatch+set}" = set; then :
8974 enableval=$enable_stopwatch;
8975 if test "$enableval" = yes; then
8976 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
8978 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
8983 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8988 eval "$wx_cv_use_stopwatch"
8990 if test x"$enablestring" = xdisable; then
8991 if test $wxUSE_STOPWATCH = no; then
8997 result=$wxUSE_STOPWATCH
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9001 $as_echo "$result" >&6; }
9005 defaultval=$wxUSE_ALL_FEATURES
9006 if test -z "$defaultval"; then
9007 if test x"$enablestring" = xdisable; then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-streams" >&5
9015 $as_echo_n "checking
for --${enablestring:-enable}-streams...
" >&6; }
9016 # Check whether --enable-streams was given.
9017 if test "${enable_streams+set}" = set; then :
9018 enableval=$enable_streams;
9019 if test "$enableval" = yes; then
9020 wx_cv_use_streams='wxUSE_STREAMS=yes'
9022 wx_cv_use_streams='wxUSE_STREAMS=no'
9027 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9032 eval "$wx_cv_use_streams"
9034 if test x
"$enablestring" = xdisable
; then
9035 if test $wxUSE_STREAMS = no
; then
9041 result
=$wxUSE_STREAMS
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9045 $as_echo "$result" >&6; }
9049 defaultval
=$wxUSE_ALL_FEATURES
9050 if test -z "$defaultval"; then
9051 if test x
"$enablestring" = xdisable
; then
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9059 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9060 # Check whether --enable-sysoptions was given.
9061 if test "${enable_sysoptions+set}" = set; then :
9062 enableval
=$enable_sysoptions;
9063 if test "$enableval" = yes; then
9064 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
9066 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
9071 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9076 eval "$wx_cv_use_sysoptions"
9078 if test x"$enablestring" = xdisable; then
9079 if test $wxUSE_SYSTEM_OPTIONS = no; then
9085 result=$wxUSE_SYSTEM_OPTIONS
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9089 $as_echo "$result" >&6; }
9093 defaultval=$wxUSE_ALL_FEATURES
9094 if test -z "$defaultval"; then
9095 if test x"$enablestring" = xdisable; then
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9103 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9104 # Check whether --enable-tarstream was given.
9105 if test "${enable_tarstream+set}" = set; then :
9106 enableval=$enable_tarstream;
9107 if test "$enableval" = yes; then
9108 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
9110 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
9115 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9120 eval "$wx_cv_use_tarstream"
9122 if test x"$enablestring" = xdisable; then
9123 if test $wxUSE_TARSTREAM = no; then
9129 result=$wxUSE_TARSTREAM
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9133 $as_echo "$result" >&6; }
9137 defaultval=$wxUSE_ALL_FEATURES
9138 if test -z "$defaultval"; then
9139 if test x"$enablestring" = xdisable; then
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textbuf" >&5
9147 $as_echo_n "checking
for --${enablestring:-enable}-textbuf...
" >&6; }
9148 # Check whether --enable-textbuf was given.
9149 if test "${enable_textbuf+set}" = set; then :
9150 enableval=$enable_textbuf;
9151 if test "$enableval" = yes; then
9152 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9154 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9159 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9164 eval "$wx_cv_use_textbuf"
9166 if test x
"$enablestring" = xdisable
; then
9167 if test $wxUSE_TEXTBUFFER = no
; then
9173 result
=$wxUSE_TEXTBUFFER
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9177 $as_echo "$result" >&6; }
9181 defaultval
=$wxUSE_ALL_FEATURES
9182 if test -z "$defaultval"; then
9183 if test x
"$enablestring" = xdisable
; then
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9191 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9192 # Check whether --enable-textfile was given.
9193 if test "${enable_textfile+set}" = set; then :
9194 enableval
=$enable_textfile;
9195 if test "$enableval" = yes; then
9196 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
9198 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
9203 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9208 eval "$wx_cv_use_textfile"
9210 if test x"$enablestring" = xdisable; then
9211 if test $wxUSE_TEXTFILE = no; then
9217 result=$wxUSE_TEXTFILE
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9221 $as_echo "$result" >&6; }
9225 defaultval=$wxUSE_ALL_FEATURES
9226 if test -z "$defaultval"; then
9227 if test x"$enablestring" = xdisable; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9235 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9236 # Check whether --enable-timer was given.
9237 if test "${enable_timer+set}" = set; then :
9238 enableval=$enable_timer;
9239 if test "$enableval" = yes; then
9240 wx_cv_use_timer='wxUSE_TIMER
=yes'
9242 wx_cv_use_timer='wxUSE_TIMER
=no
'
9247 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9252 eval "$wx_cv_use_timer"
9254 if test x"$enablestring" = xdisable; then
9255 if test $wxUSE_TIMER = no; then
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9265 $as_echo "$result" >&6; }
9269 defaultval=$wxUSE_ALL_FEATURES
9270 if test -z "$defaultval"; then
9271 if test x"$enablestring" = xdisable; then
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-variant" >&5
9279 $as_echo_n "checking
for --${enablestring:-enable}-variant...
" >&6; }
9280 # Check whether --enable-variant was given.
9281 if test "${enable_variant+set}" = set; then :
9282 enableval=$enable_variant;
9283 if test "$enableval" = yes; then
9284 wx_cv_use_variant='wxUSE_VARIANT=yes'
9286 wx_cv_use_variant='wxUSE_VARIANT=no'
9291 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9296 eval "$wx_cv_use_variant"
9298 if test x
"$enablestring" = xdisable
; then
9299 if test $wxUSE_VARIANT = no
; then
9305 result
=$wxUSE_VARIANT
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9309 $as_echo "$result" >&6; }
9313 defaultval
=$wxUSE_ALL_FEATURES
9314 if test -z "$defaultval"; then
9315 if test x
"$enablestring" = xdisable
; then
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9323 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9324 # Check whether --enable-zipstream was given.
9325 if test "${enable_zipstream+set}" = set; then :
9326 enableval
=$enable_zipstream;
9327 if test "$enableval" = yes; then
9328 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
9330 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
9335 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9340 eval "$wx_cv_use_zipstream"
9342 if test x"$enablestring" = xdisable; then
9343 if test $wxUSE_ZIPSTREAM = no; then
9349 result=$wxUSE_ZIPSTREAM
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9353 $as_echo "$result" >&6; }
9358 defaultval=$wxUSE_ALL_FEATURES
9359 if test -z "$defaultval"; then
9360 if test x"$enablestring" = xdisable; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9368 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9369 # Check whether --enable-url was given.
9370 if test "${enable_url+set}" = set; then :
9371 enableval=$enable_url;
9372 if test "$enableval" = yes; then
9373 wx_cv_use_url='wxUSE_URL
=yes'
9375 wx_cv_use_url='wxUSE_URL
=no
'
9380 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
9385 eval "$wx_cv_use_url"
9387 if test x"$enablestring" = xdisable; then
9388 if test $wxUSE_URL = no; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9398 $as_echo "$result" >&6; }
9402 defaultval=$wxUSE_ALL_FEATURES
9403 if test -z "$defaultval"; then
9404 if test x"$enablestring" = xdisable; then
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol" >&5
9412 $as_echo_n "checking
for --${enablestring:-enable}-protocol...
" >&6; }
9413 # Check whether --enable-protocol was given.
9414 if test "${enable_protocol+set}" = set; then :
9415 enableval=$enable_protocol;
9416 if test "$enableval" = yes; then
9417 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9419 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9424 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9429 eval "$wx_cv_use_protocol"
9431 if test x
"$enablestring" = xdisable
; then
9432 if test $wxUSE_PROTOCOL = no
; then
9438 result
=$wxUSE_PROTOCOL
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9442 $as_echo "$result" >&6; }
9446 defaultval
=$wxUSE_ALL_FEATURES
9447 if test -z "$defaultval"; then
9448 if test x
"$enablestring" = xdisable
; then
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9456 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9457 # Check whether --enable-protocol_http was given.
9458 if test "${enable_protocol_http+set}" = set; then :
9459 enableval
=$enable_protocol_http;
9460 if test "$enableval" = yes; then
9461 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
9463 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
9468 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9473 eval "$wx_cv_use_protocol_http"
9475 if test x"$enablestring" = xdisable; then
9476 if test $wxUSE_PROTOCOL_HTTP = no; then
9482 result=$wxUSE_PROTOCOL_HTTP
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9486 $as_echo "$result" >&6; }
9490 defaultval=$wxUSE_ALL_FEATURES
9491 if test -z "$defaultval"; then
9492 if test x"$enablestring" = xdisable; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9500 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9501 # Check whether --enable-protocol_ftp was given.
9502 if test "${enable_protocol_ftp+set}" = set; then :
9503 enableval=$enable_protocol_ftp;
9504 if test "$enableval" = yes; then
9505 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
9507 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
9512 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9517 eval "$wx_cv_use_protocol_ftp"
9519 if test x"$enablestring" = xdisable; then
9520 if test $wxUSE_PROTOCOL_FTP = no; then
9526 result=$wxUSE_PROTOCOL_FTP
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9530 $as_echo "$result" >&6; }
9534 defaultval=$wxUSE_ALL_FEATURES
9535 if test -z "$defaultval"; then
9536 if test x"$enablestring" = xdisable; then
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_file" >&5
9544 $as_echo_n "checking
for --${enablestring:-enable}-protocol_file...
" >&6; }
9545 # Check whether --enable-protocol_file was given.
9546 if test "${enable_protocol_file+set}" = set; then :
9547 enableval=$enable_protocol_file;
9548 if test "$enableval" = yes; then
9549 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9551 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9556 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9561 eval "$wx_cv_use_protocol_file"
9563 if test x
"$enablestring" = xdisable
; then
9564 if test $wxUSE_PROTOCOL_FILE = no
; then
9570 result
=$wxUSE_PROTOCOL_FILE
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9574 $as_echo "$result" >&6; }
9579 defaultval
=$wxUSE_ALL_FEATURES
9580 if test -z "$defaultval"; then
9581 if test x
"$enablestring" = xdisable
; then
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9589 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9590 # Check whether --enable-threads was given.
9591 if test "${enable_threads+set}" = set; then :
9592 enableval
=$enable_threads;
9593 if test "$enableval" = yes; then
9594 wx_cv_use_threads
='wxUSE_THREADS=yes'
9596 wx_cv_use_threads
='wxUSE_THREADS=no'
9601 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9606 eval "$wx_cv_use_threads"
9608 if test x"$enablestring" = xdisable; then
9609 if test $wxUSE_THREADS = no; then
9615 result=$wxUSE_THREADS
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9619 $as_echo "$result" >&6; }
9625 if test -z "$defaultval"; then
9626 if test x"$enablestring" = xdisable; then
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9634 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9635 # Check whether --enable-iniconf was given.
9636 if test "${enable_iniconf+set}" = set; then :
9637 enableval=$enable_iniconf;
9638 if test "$enableval" = yes; then
9639 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
9641 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
9646 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9651 eval "$wx_cv_use_iniconf"
9653 if test x"$enablestring" = xdisable; then
9654 if test $wxUSE_INICONF = no; then
9660 result=$wxUSE_INICONF
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9664 $as_echo "$result" >&6; }
9668 defaultval=$wxUSE_ALL_FEATURES
9669 if test -z "$defaultval"; then
9670 if test x"$enablestring" = xdisable; then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-regkey" >&5
9678 $as_echo_n "checking
for --${enablestring:-enable}-regkey...
" >&6; }
9679 # Check whether --enable-regkey was given.
9680 if test "${enable_regkey+set}" = set; then :
9681 enableval=$enable_regkey;
9682 if test "$enableval" = yes; then
9683 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9685 wx_cv_use_regkey='wxUSE_REGKEY=no'
9690 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9695 eval "$wx_cv_use_regkey"
9697 if test x
"$enablestring" = xdisable
; then
9698 if test $wxUSE_REGKEY = no
; then
9704 result
=$wxUSE_REGKEY
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9708 $as_echo "$result" >&6; }
9711 if test "$wxUSE_GUI" = "yes"; then
9716 defaultval
=$wxUSE_ALL_FEATURES
9717 if test -z "$defaultval"; then
9718 if test x
"$enablestring" = xdisable
; then
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9726 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9727 # Check whether --enable-docview was given.
9728 if test "${enable_docview+set}" = set; then :
9729 enableval
=$enable_docview;
9730 if test "$enableval" = yes; then
9731 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9733 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9738 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9743 eval "$wx_cv_use_docview"
9745 if test x"$enablestring" = xdisable; then
9746 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9752 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9756 $as_echo "$result" >&6; }
9760 defaultval=$wxUSE_ALL_FEATURES
9761 if test -z "$defaultval"; then
9762 if test x"$enablestring" = xdisable; then
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9770 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9771 # Check whether --enable-help was given.
9772 if test "${enable_help+set}" = set; then :
9773 enableval=$enable_help;
9774 if test "$enableval" = yes; then
9775 wx_cv_use_help='wxUSE_HELP
=yes'
9777 wx_cv_use_help='wxUSE_HELP
=no
'
9782 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9787 eval "$wx_cv_use_help"
9789 if test x"$enablestring" = xdisable; then
9790 if test $wxUSE_HELP = no; then
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9800 $as_echo "$result" >&6; }
9804 defaultval=$wxUSE_ALL_FEATURES
9805 if test -z "$defaultval"; then
9806 if test x"$enablestring" = xdisable; then
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
9814 $as_echo_n "checking
for --${enablestring:-enable}-mshtmlhelp...
" >&6; }
9815 # Check whether --enable-mshtmlhelp was given.
9816 if test "${enable_mshtmlhelp+set}" = set; then :
9817 enableval=$enable_mshtmlhelp;
9818 if test "$enableval" = yes; then
9819 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9821 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9826 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9831 eval "$wx_cv_use_mshtmlhelp"
9833 if test x
"$enablestring" = xdisable
; then
9834 if test $wxUSE_MS_HTML_HELP = no
; then
9840 result
=$wxUSE_MS_HTML_HELP
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9844 $as_echo "$result" >&6; }
9848 defaultval
=$wxUSE_ALL_FEATURES
9849 if test -z "$defaultval"; then
9850 if test x
"$enablestring" = xdisable
; then
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9858 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9859 # Check whether --enable-html was given.
9860 if test "${enable_html+set}" = set; then :
9861 enableval
=$enable_html;
9862 if test "$enableval" = yes; then
9863 wx_cv_use_html
='wxUSE_HTML=yes'
9865 wx_cv_use_html
='wxUSE_HTML=no'
9870 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9875 eval "$wx_cv_use_html"
9877 if test x"$enablestring" = xdisable; then
9878 if test $wxUSE_HTML = no; then
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9888 $as_echo "$result" >&6; }
9892 defaultval=$wxUSE_ALL_FEATURES
9893 if test -z "$defaultval"; then
9894 if test x"$enablestring" = xdisable; then
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9902 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9903 # Check whether --enable-htmlhelp was given.
9904 if test "${enable_htmlhelp+set}" = set; then :
9905 enableval=$enable_htmlhelp;
9906 if test "$enableval" = yes; then
9907 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
9909 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
9914 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9919 eval "$wx_cv_use_htmlhelp"
9921 if test x"$enablestring" = xdisable; then
9922 if test $wxUSE_WXHTML_HELP = no; then
9928 result=$wxUSE_WXHTML_HELP
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9932 $as_echo "$result" >&6; }
9936 defaultval=$wxUSE_ALL_FEATURES
9937 if test -z "$defaultval"; then
9938 if test x"$enablestring" = xdisable; then
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xrc" >&5
9946 $as_echo_n "checking
for --${enablestring:-enable}-xrc...
" >&6; }
9947 # Check whether --enable-xrc was given.
9948 if test "${enable_xrc+set}" = set; then :
9949 enableval=$enable_xrc;
9950 if test "$enableval" = yes; then
9951 wx_cv_use_xrc='wxUSE_XRC=yes'
9953 wx_cv_use_xrc='wxUSE_XRC=no'
9958 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9963 eval "$wx_cv_use_xrc"
9965 if test x
"$enablestring" = xdisable
; then
9966 if test $wxUSE_XRC = no
; then
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9976 $as_echo "$result" >&6; }
9980 defaultval
=$wxUSE_ALL_FEATURES
9981 if test -z "$defaultval"; then
9982 if test x
"$enablestring" = xdisable
; then
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9990 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9991 # Check whether --enable-aui was given.
9992 if test "${enable_aui+set}" = set; then :
9993 enableval
=$enable_aui;
9994 if test "$enableval" = yes; then
9995 wx_cv_use_aui
='wxUSE_AUI=yes'
9997 wx_cv_use_aui
='wxUSE_AUI=no'
10002 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10007 eval "$wx_cv_use_aui"
10009 if test x"$enablestring" = xdisable; then
10010 if test $wxUSE_AUI = no; then
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10020 $as_echo "$result" >&6; }
10024 defaultval=$wxUSE_ALL_FEATURES
10025 if test -z "$defaultval"; then
10026 if test x"$enablestring" = xdisable; then
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10034 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10035 # Check whether --enable-propgrid was given.
10036 if test "${enable_propgrid+set}" = set; then :
10037 enableval=$enable_propgrid;
10038 if test "$enableval" = yes; then
10039 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
10041 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
10046 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10051 eval "$wx_cv_use_propgrid"
10053 if test x"$enablestring" = xdisable; then
10054 if test $wxUSE_PROPGRID = no; then
10060 result=$wxUSE_PROPGRID
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10064 $as_echo "$result" >&6; }
10068 defaultval=$wxUSE_ALL_FEATURES
10069 if test -z "$defaultval"; then
10070 if test x"$enablestring" = xdisable; then
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ribbon" >&5
10078 $as_echo_n "checking
for --${enablestring:-enable}-ribbon...
" >&6; }
10079 # Check whether --enable-ribbon was given.
10080 if test "${enable_ribbon+set}" = set; then :
10081 enableval=$enable_ribbon;
10082 if test "$enableval" = yes; then
10083 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10085 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10090 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10095 eval "$wx_cv_use_ribbon"
10097 if test x
"$enablestring" = xdisable
; then
10098 if test $wxUSE_RIBBON = no
; then
10104 result
=$wxUSE_RIBBON
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10108 $as_echo "$result" >&6; }
10112 defaultval
=$wxUSE_ALL_FEATURES
10113 if test -z "$defaultval"; then
10114 if test x
"$enablestring" = xdisable
; then
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10122 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10123 # Check whether --enable-stc was given.
10124 if test "${enable_stc+set}" = set; then :
10125 enableval
=$enable_stc;
10126 if test "$enableval" = yes; then
10127 wx_cv_use_stc
='wxUSE_STC=yes'
10129 wx_cv_use_stc
='wxUSE_STC=no'
10134 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10139 eval "$wx_cv_use_stc"
10141 if test x"$enablestring" = xdisable; then
10142 if test $wxUSE_STC = no; then
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10152 $as_echo "$result" >&6; }
10156 defaultval=$wxUSE_ALL_FEATURES
10157 if test -z "$defaultval"; then
10158 if test x"$enablestring" = xdisable; then
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10166 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10167 # Check whether --enable-constraints was given.
10168 if test "${enable_constraints+set}" = set; then :
10169 enableval=$enable_constraints;
10170 if test "$enableval" = yes; then
10171 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
10173 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
10178 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10183 eval "$wx_cv_use_constraints"
10185 if test x"$enablestring" = xdisable; then
10186 if test $wxUSE_CONSTRAINTS = no; then
10192 result=$wxUSE_CONSTRAINTS
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10196 $as_echo "$result" >&6; }
10200 defaultval=$wxUSE_ALL_FEATURES
10201 if test -z "$defaultval"; then
10202 if test x"$enablestring" = xdisable; then
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-loggui" >&5
10210 $as_echo_n "checking
for --${enablestring:-enable}-loggui...
" >&6; }
10211 # Check whether --enable-loggui was given.
10212 if test "${enable_loggui+set}" = set; then :
10213 enableval=$enable_loggui;
10214 if test "$enableval" = yes; then
10215 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10217 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10222 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10227 eval "$wx_cv_use_loggui"
10229 if test x
"$enablestring" = xdisable
; then
10230 if test $wxUSE_LOGGUI = no
; then
10236 result
=$wxUSE_LOGGUI
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10240 $as_echo "$result" >&6; }
10244 defaultval
=$wxUSE_ALL_FEATURES
10245 if test -z "$defaultval"; then
10246 if test x
"$enablestring" = xdisable
; then
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10254 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10255 # Check whether --enable-logwin was given.
10256 if test "${enable_logwin+set}" = set; then :
10257 enableval
=$enable_logwin;
10258 if test "$enableval" = yes; then
10259 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
10261 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
10266 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10271 eval "$wx_cv_use_logwin"
10273 if test x"$enablestring" = xdisable; then
10274 if test $wxUSE_LOGWINDOW = no; then
10280 result=$wxUSE_LOGWINDOW
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10284 $as_echo "$result" >&6; }
10288 defaultval=$wxUSE_ALL_FEATURES
10289 if test -z "$defaultval"; then
10290 if test x"$enablestring" = xdisable; then
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10298 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10299 # Check whether --enable-logdialog was given.
10300 if test "${enable_logdialog+set}" = set; then :
10301 enableval=$enable_logdialog;
10302 if test "$enableval" = yes; then
10303 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
10305 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
10310 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10315 eval "$wx_cv_use_logdialog"
10317 if test x"$enablestring" = xdisable; then
10318 if test $wxUSE_LOGDIALOG = no; then
10324 result=$wxUSE_LOGDIALOG
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10328 $as_echo "$result" >&6; }
10332 defaultval=$wxUSE_ALL_FEATURES
10333 if test -z "$defaultval"; then
10334 if test x"$enablestring" = xdisable; then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mdi" >&5
10342 $as_echo_n "checking
for --${enablestring:-enable}-mdi...
" >&6; }
10343 # Check whether --enable-mdi was given.
10344 if test "${enable_mdi+set}" = set; then :
10345 enableval=$enable_mdi;
10346 if test "$enableval" = yes; then
10347 wx_cv_use_mdi='wxUSE_MDI=yes'
10349 wx_cv_use_mdi='wxUSE_MDI=no'
10354 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10359 eval "$wx_cv_use_mdi"
10361 if test x
"$enablestring" = xdisable
; then
10362 if test $wxUSE_MDI = no
; then
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10372 $as_echo "$result" >&6; }
10376 defaultval
=$wxUSE_ALL_FEATURES
10377 if test -z "$defaultval"; then
10378 if test x
"$enablestring" = xdisable
; then
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10386 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10387 # Check whether --enable-mdidoc was given.
10388 if test "${enable_mdidoc+set}" = set; then :
10389 enableval
=$enable_mdidoc;
10390 if test "$enableval" = yes; then
10391 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
10393 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
10398 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10403 eval "$wx_cv_use_mdidoc"
10405 if test x"$enablestring" = xdisable; then
10406 if test $wxUSE_MDI_ARCHITECTURE = no; then
10412 result=$wxUSE_MDI_ARCHITECTURE
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10416 $as_echo "$result" >&6; }
10420 defaultval=$wxUSE_ALL_FEATURES
10421 if test -z "$defaultval"; then
10422 if test x"$enablestring" = xdisable; then
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10430 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10431 # Check whether --enable-mediactrl was given.
10432 if test "${enable_mediactrl+set}" = set; then :
10433 enableval=$enable_mediactrl;
10434 if test "$enableval" = yes; then
10435 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
10437 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
10442 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10447 eval "$wx_cv_use_mediactrl"
10449 if test x"$enablestring" = xdisable; then
10450 if test $wxUSE_MEDIACTRL = no; then
10456 result=$wxUSE_MEDIACTRL
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10460 $as_echo "$result" >&6; }
10464 defaultval=$wxUSE_ALL_FEATURES
10465 if test -z "$defaultval"; then
10466 if test x"$enablestring" = xdisable; then
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gstreamer8" >&5
10474 $as_echo_n "checking
for --${enablestring:-enable}-gstreamer8...
" >&6; }
10475 # Check whether --enable-gstreamer8 was given.
10476 if test "${enable_gstreamer8+set}" = set; then :
10477 enableval=$enable_gstreamer8;
10478 if test "$enableval" = yes; then
10479 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10481 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10486 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10491 eval "$wx_cv_use_gstreamer8"
10493 if test x
"$enablestring" = xdisable
; then
10494 if test $wxUSE_GSTREAMER8 = no
; then
10500 result
=$wxUSE_GSTREAMER8
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10504 $as_echo "$result" >&6; }
10508 defaultval
=$wxUSE_ALL_FEATURES
10509 if test -z "$defaultval"; then
10510 if test x
"$enablestring" = xdisable
; then
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10518 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10519 # Check whether --enable-richtext was given.
10520 if test "${enable_richtext+set}" = set; then :
10521 enableval
=$enable_richtext;
10522 if test "$enableval" = yes; then
10523 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
10525 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
10530 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10535 eval "$wx_cv_use_richtext"
10537 if test x"$enablestring" = xdisable; then
10538 if test $wxUSE_RICHTEXT = no; then
10544 result=$wxUSE_RICHTEXT
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10548 $as_echo "$result" >&6; }
10552 defaultval=$wxUSE_ALL_FEATURES
10553 if test -z "$defaultval"; then
10554 if test x"$enablestring" = xdisable; then
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10562 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10563 # Check whether --enable-postscript was given.
10564 if test "${enable_postscript+set}" = set; then :
10565 enableval=$enable_postscript;
10566 if test "$enableval" = yes; then
10567 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
10569 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
10574 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10579 eval "$wx_cv_use_postscript"
10581 if test x"$enablestring" = xdisable; then
10582 if test $wxUSE_POSTSCRIPT = no; then
10588 result=$wxUSE_POSTSCRIPT
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10592 $as_echo "$result" >&6; }
10596 defaultval=$wxUSE_ALL_FEATURES
10597 if test -z "$defaultval"; then
10598 if test x"$enablestring" = xdisable; then
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-printarch" >&5
10606 $as_echo_n "checking
for --${enablestring:-enable}-printarch...
" >&6; }
10607 # Check whether --enable-printarch was given.
10608 if test "${enable_printarch+set}" = set; then :
10609 enableval=$enable_printarch;
10610 if test "$enableval" = yes; then
10611 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10613 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10618 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10623 eval "$wx_cv_use_printarch"
10625 if test x
"$enablestring" = xdisable
; then
10626 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
10632 result
=$wxUSE_PRINTING_ARCHITECTURE
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10636 $as_echo "$result" >&6; }
10640 defaultval
=$wxUSE_ALL_FEATURES
10641 if test -z "$defaultval"; then
10642 if test x
"$enablestring" = xdisable
; then
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10650 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10651 # Check whether --enable-svg was given.
10652 if test "${enable_svg+set}" = set; then :
10653 enableval
=$enable_svg;
10654 if test "$enableval" = yes; then
10655 wx_cv_use_svg
='wxUSE_SVG=yes'
10657 wx_cv_use_svg
='wxUSE_SVG=no'
10662 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10667 eval "$wx_cv_use_svg"
10669 if test x"$enablestring" = xdisable; then
10670 if test $wxUSE_SVG = no; then
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10680 $as_echo "$result" >&6; }
10684 defaultval=$wxUSE_ALL_FEATURES
10685 if test -z "$defaultval"; then
10686 if test x"$enablestring" = xdisable; then
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10694 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10695 # Check whether --enable-webkit was given.
10696 if test "${enable_webkit+set}" = set; then :
10697 enableval=$enable_webkit;
10698 if test "$enableval" = yes; then
10699 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
10701 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
10706 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10711 eval "$wx_cv_use_webkit"
10713 if test x"$enablestring" = xdisable; then
10714 if test $wxUSE_WEBKIT = no; then
10720 result=$wxUSE_WEBKIT
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10724 $as_echo "$result" >&6; }
10728 defaultval=$wxUSE_ALL_FEATURES
10729 if test -z "$defaultval"; then
10730 if test x"$enablestring" = xdisable; then
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-webview" >&5
10738 $as_echo_n "checking
for --${enablestring:-enable}-webview...
" >&6; }
10739 # Check whether --enable-webview was given.
10740 if test "${enable_webview+set}" = set; then :
10741 enableval=$enable_webview;
10742 if test "$enableval" = yes; then
10743 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10745 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10750 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10755 eval "$wx_cv_use_webview"
10757 if test x
"$enablestring" = xdisable
; then
10758 if test $wxUSE_WEBVIEW = no
; then
10764 result
=$wxUSE_WEBVIEW
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10768 $as_echo "$result" >&6; }
10771 if test "$wxUSE_MAC" != 1; then
10774 defaultval
=$wxUSE_ALL_FEATURES
10775 if test -z "$defaultval"; then
10776 if test x
"$enablestring" = xdisable
; then
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10784 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10785 # Check whether --enable-graphics_ctx was given.
10786 if test "${enable_graphics_ctx+set}" = set; then :
10787 enableval
=$enable_graphics_ctx;
10788 if test "$enableval" = yes; then
10789 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
10791 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
10796 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10801 eval "$wx_cv_use_graphics_ctx"
10803 if test x"$enablestring" = xdisable; then
10804 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10810 result=$wxUSE_GRAPHICS_CONTEXT
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10814 $as_echo "$result" >&6; }
10821 defaultval=$wxUSE_ALL_FEATURES
10822 if test -z "$defaultval"; then
10823 if test x"$enablestring" = xdisable; then
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10831 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10832 # Check whether --enable-clipboard was given.
10833 if test "${enable_clipboard+set}" = set; then :
10834 enableval=$enable_clipboard;
10835 if test "$enableval" = yes; then
10836 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
10838 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
10843 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10848 eval "$wx_cv_use_clipboard"
10850 if test x"$enablestring" = xdisable; then
10851 if test $wxUSE_CLIPBOARD = no; then
10857 result=$wxUSE_CLIPBOARD
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10861 $as_echo "$result" >&6; }
10865 defaultval=$wxUSE_ALL_FEATURES
10866 if test -z "$defaultval"; then
10867 if test x"$enablestring" = xdisable; then
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dnd" >&5
10875 $as_echo_n "checking
for --${enablestring:-enable}-dnd...
" >&6; }
10876 # Check whether --enable-dnd was given.
10877 if test "${enable_dnd+set}" = set; then :
10878 enableval=$enable_dnd;
10879 if test "$enableval" = yes; then
10880 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10882 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10887 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10892 eval "$wx_cv_use_dnd"
10894 if test x
"$enablestring" = xdisable
; then
10895 if test $wxUSE_DRAG_AND_DROP = no
; then
10901 result
=$wxUSE_DRAG_AND_DROP
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10905 $as_echo "$result" >&6; }
10909 DEFAULT_wxUSE_CONTROLS
=none
10911 enablestring
=disable
10913 if test -z "$defaultval"; then
10914 if test x
"$enablestring" = xdisable
; then
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10922 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10923 # Check whether --enable-controls was given.
10924 if test "${enable_controls+set}" = set; then :
10925 enableval
=$enable_controls;
10926 if test "$enableval" = yes; then
10927 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
10929 wx_cv_use_controls
='wxUSE_CONTROLS=no'
10934 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10939 eval "$wx_cv_use_controls"
10941 if test x"$enablestring" = xdisable; then
10942 if test $wxUSE_CONTROLS = no; then
10948 result=$wxUSE_CONTROLS
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10952 $as_echo "$result" >&6; }
10955 if test "$wxUSE_CONTROLS" = "no"; then
10956 DEFAULT_wxUSE_ACCEL=no
10957 DEFAULT_wxUSE_ANIMATIONCTRL=no
10958 DEFAULT_wxUSE_BANNERWINDOW=no
10959 DEFAULT_wxUSE_BMPBUTTON=no
10960 DEFAULT_wxUSE_BUTTON=no
10961 DEFAULT_wxUSE_CALCTRL=no
10962 DEFAULT_wxUSE_CARET=no
10963 DEFAULT_wxUSE_CHECKBOX=no
10964 DEFAULT_wxUSE_CHECKLISTBOX=no
10965 DEFAULT_wxUSE_CHOICE=no
10966 DEFAULT_wxUSE_CHOICEBOOK=no
10967 DEFAULT_wxUSE_COLLPANE=no
10968 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10969 DEFAULT_wxUSE_COMBOBOX=no
10970 DEFAULT_wxUSE_COMBOBOX=no
10971 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10972 DEFAULT_wxUSE_DATAVIEWCTRL=no
10973 DEFAULT_wxUSE_DATEPICKCTRL=no
10974 DEFAULT_wxUSE_DETECT_SM=no
10975 DEFAULT_wxUSE_DIRPICKERCTRL=no
10976 DEFAULT_wxUSE_DISPLAY=no
10977 DEFAULT_wxUSE_FILECTRL=no
10978 DEFAULT_wxUSE_FILEPICKERCTRL=no
10979 DEFAULT_wxUSE_FONTPICKERCTRL=no
10980 DEFAULT_wxUSE_GAUGE=no
10981 DEFAULT_wxUSE_GRID=no
10982 DEFAULT_wxUSE_HEADERCTRL=no
10983 DEFAULT_wxUSE_HYPERLINKCTRL=no
10984 DEFAULT_wxUSE_IMAGLIST=no
10985 DEFAULT_wxUSE_LISTBOOK=no
10986 DEFAULT_wxUSE_LISTBOX=no
10987 DEFAULT_wxUSE_LISTCTRL=no
10988 DEFAULT_wxUSE_MARKUP=no
10989 DEFAULT_wxUSE_NOTEBOOK=no
10990 DEFAULT_wxUSE_POPUPWIN=no
10991 DEFAULT_wxUSE_RADIOBOX=no
10992 DEFAULT_wxUSE_RADIOBTN=no
10993 DEFAULT_wxUSE_RICHMSGDLG=no
10994 DEFAULT_wxUSE_RICHTOOLTIP=no
10995 DEFAULT_wxUSE_REARRANGECTRL=no
10996 DEFAULT_wxUSE_SASH=no
10997 DEFAULT_wxUSE_SCROLLBAR=no
10998 DEFAULT_wxUSE_SEARCHCTRL=no
10999 DEFAULT_wxUSE_SLIDER=no
11000 DEFAULT_wxUSE_SPINBTN=no
11001 DEFAULT_wxUSE_SPINCTRL=no
11002 DEFAULT_wxUSE_SPLITTER=no
11003 DEFAULT_wxUSE_STATBMP=no
11004 DEFAULT_wxUSE_STATBOX=no
11005 DEFAULT_wxUSE_STATLINE=no
11006 DEFAULT_wxUSE_STATUSBAR=no
11007 DEFAULT_wxUSE_TIMEPICKCTRL=no
11008 DEFAULT_wxUSE_TIPWINDOW=no
11009 DEFAULT_wxUSE_TOGGLEBTN=no
11010 DEFAULT_wxUSE_TOOLBAR=no
11011 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11012 DEFAULT_wxUSE_TOOLBOOK=no
11013 DEFAULT_wxUSE_TOOLTIPS=no
11014 DEFAULT_wxUSE_TREEBOOK=no
11015 DEFAULT_wxUSE_TREECTRL=no
11016 DEFAULT_wxUSE_TREELISTCTRL=no
11021 defaultval=$wxUSE_ALL_FEATURES
11022 if test -z "$defaultval"; then
11023 if test x"$enablestring" = xdisable; then
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11031 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11032 # Check whether --enable-markup was given.
11033 if test "${enable_markup+set}" = set; then :
11034 enableval=$enable_markup;
11035 if test "$enableval" = yes; then
11036 wx_cv_use_markup='wxUSE_MARKUP
=yes'
11038 wx_cv_use_markup='wxUSE_MARKUP
=no
'
11043 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11048 eval "$wx_cv_use_markup"
11050 if test x"$enablestring" = xdisable; then
11051 if test $wxUSE_MARKUP = no; then
11057 result=$wxUSE_MARKUP
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11061 $as_echo "$result" >&6; }
11066 defaultval=$wxUSE_ALL_FEATURES
11067 if test -z "$defaultval"; then
11068 if test x"$enablestring" = xdisable; then
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-accel" >&5
11076 $as_echo_n "checking
for --${enablestring:-enable}-accel...
" >&6; }
11077 # Check whether --enable-accel was given.
11078 if test "${enable_accel+set}" = set; then :
11079 enableval=$enable_accel;
11080 if test "$enableval" = yes; then
11081 wx_cv_use_accel='wxUSE_ACCEL=yes'
11083 wx_cv_use_accel='wxUSE_ACCEL=no'
11088 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11093 eval "$wx_cv_use_accel"
11095 if test x
"$enablestring" = xdisable
; then
11096 if test $wxUSE_ACCEL = no
; then
11102 result
=$wxUSE_ACCEL
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11106 $as_echo "$result" >&6; }
11110 defaultval
=$wxUSE_ALL_FEATURES
11111 if test -z "$defaultval"; then
11112 if test x
"$enablestring" = xdisable
; then
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11120 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11121 # Check whether --enable-animatectrl was given.
11122 if test "${enable_animatectrl+set}" = set; then :
11123 enableval
=$enable_animatectrl;
11124 if test "$enableval" = yes; then
11125 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
11127 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
11132 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11137 eval "$wx_cv_use_animatectrl"
11139 if test x"$enablestring" = xdisable; then
11140 if test $wxUSE_ANIMATIONCTRL = no; then
11146 result=$wxUSE_ANIMATIONCTRL
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11150 $as_echo "$result" >&6; }
11154 defaultval=$wxUSE_ALL_FEATURES
11155 if test -z "$defaultval"; then
11156 if test x"$enablestring" = xdisable; then
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11164 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11165 # Check whether --enable-bannerwindow was given.
11166 if test "${enable_bannerwindow+set}" = set; then :
11167 enableval=$enable_bannerwindow;
11168 if test "$enableval" = yes; then
11169 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
11171 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
11176 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11181 eval "$wx_cv_use_bannerwindow"
11183 if test x"$enablestring" = xdisable; then
11184 if test $wxUSE_BANNERWINDOW = no; then
11190 result=$wxUSE_BANNERWINDOW
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11194 $as_echo "$result" >&6; }
11198 defaultval=$wxUSE_ALL_FEATURES
11199 if test -z "$defaultval"; then
11200 if test x"$enablestring" = xdisable; then
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-artstd" >&5
11208 $as_echo_n "checking
for --${enablestring:-enable}-artstd...
" >&6; }
11209 # Check whether --enable-artstd was given.
11210 if test "${enable_artstd+set}" = set; then :
11211 enableval=$enable_artstd;
11212 if test "$enableval" = yes; then
11213 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11215 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11220 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11225 eval "$wx_cv_use_artstd"
11227 if test x
"$enablestring" = xdisable
; then
11228 if test $wxUSE_ARTPROVIDER_STD = no
; then
11234 result
=$wxUSE_ARTPROVIDER_STD
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11238 $as_echo "$result" >&6; }
11242 defaultval
=$wxUSE_ALL_FEATURES
11243 if test -z "$defaultval"; then
11244 if test x
"$enablestring" = xdisable
; then
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11252 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11253 # Check whether --enable-arttango was given.
11254 if test "${enable_arttango+set}" = set; then :
11255 enableval
=$enable_arttango;
11256 if test "$enableval" = yes; then
11257 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
11259 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
11264 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11269 eval "$wx_cv_use_arttango"
11271 if test x"$enablestring" = xdisable; then
11272 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11278 result=$wxUSE_ARTPROVIDER_TANGO
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11282 $as_echo "$result" >&6; }
11286 defaultval=$wxUSE_ALL_FEATURES
11287 if test -z "$defaultval"; then
11288 if test x"$enablestring" = xdisable; then
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11296 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11297 # Check whether --enable-bmpbutton was given.
11298 if test "${enable_bmpbutton+set}" = set; then :
11299 enableval=$enable_bmpbutton;
11300 if test "$enableval" = yes; then
11301 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
11303 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
11308 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11313 eval "$wx_cv_use_bmpbutton"
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_BMPBUTTON = no; then
11322 result=$wxUSE_BMPBUTTON
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11326 $as_echo "$result" >&6; }
11330 defaultval=$wxUSE_ALL_FEATURES
11331 if test -z "$defaultval"; then
11332 if test x"$enablestring" = xdisable; then
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-bmpcombobox" >&5
11340 $as_echo_n "checking
for --${enablestring:-enable}-bmpcombobox...
" >&6; }
11341 # Check whether --enable-bmpcombobox was given.
11342 if test "${enable_bmpcombobox+set}" = set; then :
11343 enableval=$enable_bmpcombobox;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11347 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11352 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11357 eval "$wx_cv_use_bmpcombobox"
11359 if test x
"$enablestring" = xdisable
; then
11360 if test $wxUSE_BITMAPCOMBOBOX = no
; then
11366 result
=$wxUSE_BITMAPCOMBOBOX
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11370 $as_echo "$result" >&6; }
11374 defaultval
=$wxUSE_ALL_FEATURES
11375 if test -z "$defaultval"; then
11376 if test x
"$enablestring" = xdisable
; then
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11384 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11385 # Check whether --enable-button was given.
11386 if test "${enable_button+set}" = set; then :
11387 enableval
=$enable_button;
11388 if test "$enableval" = yes; then
11389 wx_cv_use_button
='wxUSE_BUTTON=yes'
11391 wx_cv_use_button
='wxUSE_BUTTON=no'
11396 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11401 eval "$wx_cv_use_button"
11403 if test x"$enablestring" = xdisable; then
11404 if test $wxUSE_BUTTON = no; then
11410 result=$wxUSE_BUTTON
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11414 $as_echo "$result" >&6; }
11418 defaultval=$wxUSE_ALL_FEATURES
11419 if test -z "$defaultval"; then
11420 if test x"$enablestring" = xdisable; then
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11428 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11429 # Check whether --enable-calendar was given.
11430 if test "${enable_calendar+set}" = set; then :
11431 enableval=$enable_calendar;
11432 if test "$enableval" = yes; then
11433 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
11435 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
11440 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11445 eval "$wx_cv_use_calendar"
11447 if test x"$enablestring" = xdisable; then
11448 if test $wxUSE_CALCTRL = no; then
11454 result=$wxUSE_CALCTRL
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11458 $as_echo "$result" >&6; }
11462 defaultval=$wxUSE_ALL_FEATURES
11463 if test -z "$defaultval"; then
11464 if test x"$enablestring" = xdisable; then
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-caret" >&5
11472 $as_echo_n "checking
for --${enablestring:-enable}-caret...
" >&6; }
11473 # Check whether --enable-caret was given.
11474 if test "${enable_caret+set}" = set; then :
11475 enableval=$enable_caret;
11476 if test "$enableval" = yes; then
11477 wx_cv_use_caret='wxUSE_CARET=yes'
11479 wx_cv_use_caret='wxUSE_CARET=no'
11484 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11489 eval "$wx_cv_use_caret"
11491 if test x
"$enablestring" = xdisable
; then
11492 if test $wxUSE_CARET = no
; then
11498 result
=$wxUSE_CARET
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11502 $as_echo "$result" >&6; }
11506 defaultval
=$wxUSE_ALL_FEATURES
11507 if test -z "$defaultval"; then
11508 if test x
"$enablestring" = xdisable
; then
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11516 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11517 # Check whether --enable-checkbox was given.
11518 if test "${enable_checkbox+set}" = set; then :
11519 enableval
=$enable_checkbox;
11520 if test "$enableval" = yes; then
11521 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
11523 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
11528 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11533 eval "$wx_cv_use_checkbox"
11535 if test x"$enablestring" = xdisable; then
11536 if test $wxUSE_CHECKBOX = no; then
11542 result=$wxUSE_CHECKBOX
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11546 $as_echo "$result" >&6; }
11550 defaultval=$wxUSE_ALL_FEATURES
11551 if test -z "$defaultval"; then
11552 if test x"$enablestring" = xdisable; then
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11560 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11561 # Check whether --enable-checklst was given.
11562 if test "${enable_checklst+set}" = set; then :
11563 enableval=$enable_checklst;
11564 if test "$enableval" = yes; then
11565 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
11567 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
11572 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11577 eval "$wx_cv_use_checklst"
11579 if test x"$enablestring" = xdisable; then
11580 if test $wxUSE_CHECKLST = no; then
11586 result=$wxUSE_CHECKLST
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11590 $as_echo "$result" >&6; }
11594 defaultval=$wxUSE_ALL_FEATURES
11595 if test -z "$defaultval"; then
11596 if test x"$enablestring" = xdisable; then
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-choice" >&5
11604 $as_echo_n "checking
for --${enablestring:-enable}-choice...
" >&6; }
11605 # Check whether --enable-choice was given.
11606 if test "${enable_choice+set}" = set; then :
11607 enableval=$enable_choice;
11608 if test "$enableval" = yes; then
11609 wx_cv_use_choice='wxUSE_CHOICE=yes'
11611 wx_cv_use_choice='wxUSE_CHOICE=no'
11616 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11621 eval "$wx_cv_use_choice"
11623 if test x
"$enablestring" = xdisable
; then
11624 if test $wxUSE_CHOICE = no
; then
11630 result
=$wxUSE_CHOICE
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11634 $as_echo "$result" >&6; }
11638 defaultval
=$wxUSE_ALL_FEATURES
11639 if test -z "$defaultval"; then
11640 if test x
"$enablestring" = xdisable
; then
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11648 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11649 # Check whether --enable-choicebook was given.
11650 if test "${enable_choicebook+set}" = set; then :
11651 enableval
=$enable_choicebook;
11652 if test "$enableval" = yes; then
11653 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
11655 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
11660 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11665 eval "$wx_cv_use_choicebook"
11667 if test x"$enablestring" = xdisable; then
11668 if test $wxUSE_CHOICEBOOK = no; then
11674 result=$wxUSE_CHOICEBOOK
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11678 $as_echo "$result" >&6; }
11682 defaultval=$wxUSE_ALL_FEATURES
11683 if test -z "$defaultval"; then
11684 if test x"$enablestring" = xdisable; then
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11692 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11693 # Check whether --enable-collpane was given.
11694 if test "${enable_collpane+set}" = set; then :
11695 enableval=$enable_collpane;
11696 if test "$enableval" = yes; then
11697 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
11699 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
11704 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11709 eval "$wx_cv_use_collpane"
11711 if test x"$enablestring" = xdisable; then
11712 if test $wxUSE_COLLPANE = no; then
11718 result=$wxUSE_COLLPANE
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11722 $as_echo "$result" >&6; }
11726 defaultval=$wxUSE_ALL_FEATURES
11727 if test -z "$defaultval"; then
11728 if test x"$enablestring" = xdisable; then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-colourpicker" >&5
11736 $as_echo_n "checking
for --${enablestring:-enable}-colourpicker...
" >&6; }
11737 # Check whether --enable-colourpicker was given.
11738 if test "${enable_colourpicker+set}" = set; then :
11739 enableval=$enable_colourpicker;
11740 if test "$enableval" = yes; then
11741 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11743 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11748 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11753 eval "$wx_cv_use_colourpicker"
11755 if test x
"$enablestring" = xdisable
; then
11756 if test $wxUSE_COLOURPICKERCTRL = no
; then
11762 result
=$wxUSE_COLOURPICKERCTRL
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11766 $as_echo "$result" >&6; }
11770 defaultval
=$wxUSE_ALL_FEATURES
11771 if test -z "$defaultval"; then
11772 if test x
"$enablestring" = xdisable
; then
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11780 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11781 # Check whether --enable-combobox was given.
11782 if test "${enable_combobox+set}" = set; then :
11783 enableval
=$enable_combobox;
11784 if test "$enableval" = yes; then
11785 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
11787 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
11792 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11797 eval "$wx_cv_use_combobox"
11799 if test x"$enablestring" = xdisable; then
11800 if test $wxUSE_COMBOBOX = no; then
11806 result=$wxUSE_COMBOBOX
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11810 $as_echo "$result" >&6; }
11814 defaultval=$wxUSE_ALL_FEATURES
11815 if test -z "$defaultval"; then
11816 if test x"$enablestring" = xdisable; then
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11824 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11825 # Check whether --enable-comboctrl was given.
11826 if test "${enable_comboctrl+set}" = set; then :
11827 enableval=$enable_comboctrl;
11828 if test "$enableval" = yes; then
11829 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
11831 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
11836 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11841 eval "$wx_cv_use_comboctrl"
11843 if test x"$enablestring" = xdisable; then
11844 if test $wxUSE_COMBOCTRL = no; then
11850 result=$wxUSE_COMBOCTRL
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11854 $as_echo "$result" >&6; }
11858 defaultval=$wxUSE_ALL_FEATURES
11859 if test -z "$defaultval"; then
11860 if test x"$enablestring" = xdisable; then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
11868 $as_echo_n "checking
for --${enablestring:-enable}-commandlinkbutton...
" >&6; }
11869 # Check whether --enable-commandlinkbutton was given.
11870 if test "${enable_commandlinkbutton+set}" = set; then :
11871 enableval=$enable_commandlinkbutton;
11872 if test "$enableval" = yes; then
11873 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11875 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11880 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11885 eval "$wx_cv_use_commandlinkbutton"
11887 if test x
"$enablestring" = xdisable
; then
11888 if test $wxUSE_COMMANDLINKBUTTON = no
; then
11894 result
=$wxUSE_COMMANDLINKBUTTON
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11898 $as_echo "$result" >&6; }
11902 defaultval
=$wxUSE_ALL_FEATURES
11903 if test -z "$defaultval"; then
11904 if test x
"$enablestring" = xdisable
; then
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11912 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11913 # Check whether --enable-dataviewctrl was given.
11914 if test "${enable_dataviewctrl+set}" = set; then :
11915 enableval
=$enable_dataviewctrl;
11916 if test "$enableval" = yes; then
11917 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
11919 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
11924 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11929 eval "$wx_cv_use_dataviewctrl"
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_DATAVIEWCTRL = no; then
11938 result=$wxUSE_DATAVIEWCTRL
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11942 $as_echo "$result" >&6; }
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11956 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11957 # Check whether --enable-datepick was given.
11958 if test "${enable_datepick+set}" = set; then :
11959 enableval=$enable_datepick;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
11963 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
11968 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11973 eval "$wx_cv_use_datepick"
11975 if test x"$enablestring" = xdisable; then
11976 if test $wxUSE_DATEPICKCTRL = no; then
11982 result=$wxUSE_DATEPICKCTRL
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11986 $as_echo "$result" >&6; }
11990 defaultval=$wxUSE_ALL_FEATURES
11991 if test -z "$defaultval"; then
11992 if test x"$enablestring" = xdisable; then
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-detect_sm" >&5
12000 $as_echo_n "checking
for --${enablestring:-enable}-detect_sm...
" >&6; }
12001 # Check whether --enable-detect_sm was given.
12002 if test "${enable_detect_sm+set}" = set; then :
12003 enableval=$enable_detect_sm;
12004 if test "$enableval" = yes; then
12005 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12007 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12012 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12017 eval "$wx_cv_use_detect_sm"
12019 if test x
"$enablestring" = xdisable
; then
12020 if test $wxUSE_DETECT_SM = no
; then
12026 result
=$wxUSE_DETECT_SM
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12030 $as_echo "$result" >&6; }
12034 defaultval
=$wxUSE_ALL_FEATURES
12035 if test -z "$defaultval"; then
12036 if test x
"$enablestring" = xdisable
; then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12044 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12045 # Check whether --enable-dirpicker was given.
12046 if test "${enable_dirpicker+set}" = set; then :
12047 enableval
=$enable_dirpicker;
12048 if test "$enableval" = yes; then
12049 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
12051 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
12056 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12061 eval "$wx_cv_use_dirpicker"
12063 if test x"$enablestring" = xdisable; then
12064 if test $wxUSE_DIRPICKERCTRL = no; then
12070 result=$wxUSE_DIRPICKERCTRL
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12074 $as_echo "$result" >&6; }
12078 defaultval=$wxUSE_ALL_FEATURES
12079 if test -z "$defaultval"; then
12080 if test x"$enablestring" = xdisable; then
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12088 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12089 # Check whether --enable-display was given.
12090 if test "${enable_display+set}" = set; then :
12091 enableval=$enable_display;
12092 if test "$enableval" = yes; then
12093 wx_cv_use_display='wxUSE_DISPLAY
=yes'
12095 wx_cv_use_display='wxUSE_DISPLAY
=no
'
12100 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12105 eval "$wx_cv_use_display"
12107 if test x"$enablestring" = xdisable; then
12108 if test $wxUSE_DISPLAY = no; then
12114 result=$wxUSE_DISPLAY
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12118 $as_echo "$result" >&6; }
12122 defaultval=$wxUSE_ALL_FEATURES
12123 if test -z "$defaultval"; then
12124 if test x"$enablestring" = xdisable; then
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-editablebox" >&5
12132 $as_echo_n "checking
for --${enablestring:-enable}-editablebox...
" >&6; }
12133 # Check whether --enable-editablebox was given.
12134 if test "${enable_editablebox+set}" = set; then :
12135 enableval=$enable_editablebox;
12136 if test "$enableval" = yes; then
12137 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12139 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12144 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12149 eval "$wx_cv_use_editablebox"
12151 if test x
"$enablestring" = xdisable
; then
12152 if test $wxUSE_EDITABLELISTBOX = no
; then
12158 result
=$wxUSE_EDITABLELISTBOX
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12162 $as_echo "$result" >&6; }
12166 defaultval
=$wxUSE_ALL_FEATURES
12167 if test -z "$defaultval"; then
12168 if test x
"$enablestring" = xdisable
; then
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12176 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12177 # Check whether --enable-filectrl was given.
12178 if test "${enable_filectrl+set}" = set; then :
12179 enableval
=$enable_filectrl;
12180 if test "$enableval" = yes; then
12181 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
12183 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
12188 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12193 eval "$wx_cv_use_filectrl"
12195 if test x"$enablestring" = xdisable; then
12196 if test $wxUSE_FILECTRL = no; then
12202 result=$wxUSE_FILECTRL
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12206 $as_echo "$result" >&6; }
12210 defaultval=$wxUSE_ALL_FEATURES
12211 if test -z "$defaultval"; then
12212 if test x"$enablestring" = xdisable; then
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12220 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12221 # Check whether --enable-filepicker was given.
12222 if test "${enable_filepicker+set}" = set; then :
12223 enableval=$enable_filepicker;
12224 if test "$enableval" = yes; then
12225 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
12227 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
12232 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12237 eval "$wx_cv_use_filepicker"
12239 if test x"$enablestring" = xdisable; then
12240 if test $wxUSE_FILEPICKERCTRL = no; then
12246 result=$wxUSE_FILEPICKERCTRL
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12250 $as_echo "$result" >&6; }
12254 defaultval=$wxUSE_ALL_FEATURES
12255 if test -z "$defaultval"; then
12256 if test x"$enablestring" = xdisable; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontpicker" >&5
12264 $as_echo_n "checking
for --${enablestring:-enable}-fontpicker...
" >&6; }
12265 # Check whether --enable-fontpicker was given.
12266 if test "${enable_fontpicker+set}" = set; then :
12267 enableval=$enable_fontpicker;
12268 if test "$enableval" = yes; then
12269 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12271 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12276 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12281 eval "$wx_cv_use_fontpicker"
12283 if test x
"$enablestring" = xdisable
; then
12284 if test $wxUSE_FONTPICKERCTRL = no
; then
12290 result
=$wxUSE_FONTPICKERCTRL
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12294 $as_echo "$result" >&6; }
12298 defaultval
=$wxUSE_ALL_FEATURES
12299 if test -z "$defaultval"; then
12300 if test x
"$enablestring" = xdisable
; then
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12308 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12309 # Check whether --enable-gauge was given.
12310 if test "${enable_gauge+set}" = set; then :
12311 enableval
=$enable_gauge;
12312 if test "$enableval" = yes; then
12313 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
12315 wx_cv_use_gauge
='wxUSE_GAUGE=no'
12320 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12325 eval "$wx_cv_use_gauge"
12327 if test x"$enablestring" = xdisable; then
12328 if test $wxUSE_GAUGE = no; then
12334 result=$wxUSE_GAUGE
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12338 $as_echo "$result" >&6; }
12342 defaultval=$wxUSE_ALL_FEATURES
12343 if test -z "$defaultval"; then
12344 if test x"$enablestring" = xdisable; then
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12352 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12353 # Check whether --enable-grid was given.
12354 if test "${enable_grid+set}" = set; then :
12355 enableval=$enable_grid;
12356 if test "$enableval" = yes; then
12357 wx_cv_use_grid='wxUSE_GRID
=yes'
12359 wx_cv_use_grid='wxUSE_GRID
=no
'
12364 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12369 eval "$wx_cv_use_grid"
12371 if test x"$enablestring" = xdisable; then
12372 if test $wxUSE_GRID = no; then
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12382 $as_echo "$result" >&6; }
12386 defaultval=$wxUSE_ALL_FEATURES
12387 if test -z "$defaultval"; then
12388 if test x"$enablestring" = xdisable; then
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-headerctrl" >&5
12396 $as_echo_n "checking
for --${enablestring:-enable}-headerctrl...
" >&6; }
12397 # Check whether --enable-headerctrl was given.
12398 if test "${enable_headerctrl+set}" = set; then :
12399 enableval=$enable_headerctrl;
12400 if test "$enableval" = yes; then
12401 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12403 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12408 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12413 eval "$wx_cv_use_headerctrl"
12415 if test x
"$enablestring" = xdisable
; then
12416 if test $wxUSE_HEADERCTRL = no
; then
12422 result
=$wxUSE_HEADERCTRL
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12426 $as_echo "$result" >&6; }
12430 defaultval
=$wxUSE_ALL_FEATURES
12431 if test -z "$defaultval"; then
12432 if test x
"$enablestring" = xdisable
; then
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12440 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12441 # Check whether --enable-hyperlink was given.
12442 if test "${enable_hyperlink+set}" = set; then :
12443 enableval
=$enable_hyperlink;
12444 if test "$enableval" = yes; then
12445 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
12447 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
12452 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12457 eval "$wx_cv_use_hyperlink"
12459 if test x"$enablestring" = xdisable; then
12460 if test $wxUSE_HYPERLINKCTRL = no; then
12466 result=$wxUSE_HYPERLINKCTRL
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12470 $as_echo "$result" >&6; }
12474 defaultval=$wxUSE_ALL_FEATURES
12475 if test -z "$defaultval"; then
12476 if test x"$enablestring" = xdisable; then
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12484 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12485 # Check whether --enable-imaglist was given.
12486 if test "${enable_imaglist+set}" = set; then :
12487 enableval=$enable_imaglist;
12488 if test "$enableval" = yes; then
12489 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
12491 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
12496 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12501 eval "$wx_cv_use_imaglist"
12503 if test x"$enablestring" = xdisable; then
12504 if test $wxUSE_IMAGLIST = no; then
12510 result=$wxUSE_IMAGLIST
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12514 $as_echo "$result" >&6; }
12518 defaultval=$wxUSE_ALL_FEATURES
12519 if test -z "$defaultval"; then
12520 if test x"$enablestring" = xdisable; then
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-infobar" >&5
12528 $as_echo_n "checking
for --${enablestring:-enable}-infobar...
" >&6; }
12529 # Check whether --enable-infobar was given.
12530 if test "${enable_infobar+set}" = set; then :
12531 enableval=$enable_infobar;
12532 if test "$enableval" = yes; then
12533 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12535 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12540 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12545 eval "$wx_cv_use_infobar"
12547 if test x
"$enablestring" = xdisable
; then
12548 if test $wxUSE_INFOBAR = no
; then
12554 result
=$wxUSE_INFOBAR
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12558 $as_echo "$result" >&6; }
12562 defaultval
=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x
"$enablestring" = xdisable
; then
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12572 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12573 # Check whether --enable-listbook was given.
12574 if test "${enable_listbook+set}" = set; then :
12575 enableval
=$enable_listbook;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
12579 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
12584 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12589 eval "$wx_cv_use_listbook"
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_LISTBOOK = no; then
12598 result=$wxUSE_LISTBOOK
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12602 $as_echo "$result" >&6; }
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12616 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12617 # Check whether --enable-listbox was given.
12618 if test "${enable_listbox+set}" = set; then :
12619 enableval=$enable_listbox;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
12623 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
12628 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12633 eval "$wx_cv_use_listbox"
12635 if test x"$enablestring" = xdisable; then
12636 if test $wxUSE_LISTBOX = no; then
12642 result=$wxUSE_LISTBOX
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12646 $as_echo "$result" >&6; }
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listctrl" >&5
12660 $as_echo_n "checking
for --${enablestring:-enable}-listctrl...
" >&6; }
12661 # Check whether --enable-listctrl was given.
12662 if test "${enable_listctrl+set}" = set; then :
12663 enableval=$enable_listctrl;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12667 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12672 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12677 eval "$wx_cv_use_listctrl"
12679 if test x
"$enablestring" = xdisable
; then
12680 if test $wxUSE_LISTCTRL = no
; then
12686 result
=$wxUSE_LISTCTRL
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12690 $as_echo "$result" >&6; }
12694 defaultval
=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x
"$enablestring" = xdisable
; then
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12704 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12705 # Check whether --enable-notebook was given.
12706 if test "${enable_notebook+set}" = set; then :
12707 enableval
=$enable_notebook;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
12711 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
12716 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12721 eval "$wx_cv_use_notebook"
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_NOTEBOOK = no; then
12730 result=$wxUSE_NOTEBOOK
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12734 $as_echo "$result" >&6; }
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12748 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12749 # Check whether --enable-notifmsg was given.
12750 if test "${enable_notifmsg+set}" = set; then :
12751 enableval=$enable_notifmsg;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
12755 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
12760 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12765 eval "$wx_cv_use_notifmsg"
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12774 result=$wxUSE_NOTIFICATION_MESSAGE
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12778 $as_echo "$result" >&6; }
12782 defaultval=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x"$enablestring" = xdisable; then
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-odcombobox" >&5
12792 $as_echo_n "checking
for --${enablestring:-enable}-odcombobox...
" >&6; }
12793 # Check whether --enable-odcombobox was given.
12794 if test "${enable_odcombobox+set}" = set; then :
12795 enableval=$enable_odcombobox;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12799 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12804 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12809 eval "$wx_cv_use_odcombobox"
12811 if test x
"$enablestring" = xdisable
; then
12812 if test $wxUSE_ODCOMBOBOX = no
; then
12818 result
=$wxUSE_ODCOMBOBOX
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12822 $as_echo "$result" >&6; }
12826 defaultval
=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x
"$enablestring" = xdisable
; then
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12836 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12837 # Check whether --enable-popupwin was given.
12838 if test "${enable_popupwin+set}" = set; then :
12839 enableval
=$enable_popupwin;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
12843 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
12848 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12853 eval "$wx_cv_use_popupwin"
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_POPUPWIN = no; then
12862 result=$wxUSE_POPUPWIN
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12866 $as_echo "$result" >&6; }
12870 defaultval=$wxUSE_ALL_FEATURES
12871 if test -z "$defaultval"; then
12872 if test x"$enablestring" = xdisable; then
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12880 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12881 # Check whether --enable-radiobox was given.
12882 if test "${enable_radiobox+set}" = set; then :
12883 enableval=$enable_radiobox;
12884 if test "$enableval" = yes; then
12885 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
12887 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
12892 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12897 eval "$wx_cv_use_radiobox"
12899 if test x"$enablestring" = xdisable; then
12900 if test $wxUSE_RADIOBOX = no; then
12906 result=$wxUSE_RADIOBOX
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12910 $as_echo "$result" >&6; }
12914 defaultval=$wxUSE_ALL_FEATURES
12915 if test -z "$defaultval"; then
12916 if test x"$enablestring" = xdisable; then
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-radiobtn" >&5
12924 $as_echo_n "checking
for --${enablestring:-enable}-radiobtn...
" >&6; }
12925 # Check whether --enable-radiobtn was given.
12926 if test "${enable_radiobtn+set}" = set; then :
12927 enableval=$enable_radiobtn;
12928 if test "$enableval" = yes; then
12929 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12931 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12936 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12941 eval "$wx_cv_use_radiobtn"
12943 if test x
"$enablestring" = xdisable
; then
12944 if test $wxUSE_RADIOBTN = no
; then
12950 result
=$wxUSE_RADIOBTN
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12954 $as_echo "$result" >&6; }
12958 defaultval
=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x
"$enablestring" = xdisable
; then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12968 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12969 # Check whether --enable-richmsgdlg was given.
12970 if test "${enable_richmsgdlg+set}" = set; then :
12971 enableval
=$enable_richmsgdlg;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
12975 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
12980 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12985 eval "$wx_cv_use_richmsgdlg"
12987 if test x"$enablestring" = xdisable; then
12988 if test $wxUSE_RICHMSGDLG = no; then
12994 result=$wxUSE_RICHMSGDLG
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12998 $as_echo "$result" >&6; }
13002 defaultval=$wxUSE_ALL_FEATURES
13003 if test -z "$defaultval"; then
13004 if test x"$enablestring" = xdisable; then
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13012 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13013 # Check whether --enable-richtooltip was given.
13014 if test "${enable_richtooltip+set}" = set; then :
13015 enableval=$enable_richtooltip;
13016 if test "$enableval" = yes; then
13017 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=yes'
13019 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=no
'
13024 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13029 eval "$wx_cv_use_richtooltip"
13031 if test x"$enablestring" = xdisable; then
13032 if test $wxUSE_RICHTOOLTIP = no; then
13038 result=$wxUSE_RICHTOOLTIP
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13042 $as_echo "$result" >&6; }
13046 defaultval=$wxUSE_ALL_FEATURES
13047 if test -z "$defaultval"; then
13048 if test x"$enablestring" = xdisable; then
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-rearrangectrl" >&5
13056 $as_echo_n "checking
for --${enablestring:-enable}-rearrangectrl...
" >&6; }
13057 # Check whether --enable-rearrangectrl was given.
13058 if test "${enable_rearrangectrl+set}" = set; then :
13059 enableval=$enable_rearrangectrl;
13060 if test "$enableval" = yes; then
13061 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13063 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13068 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13073 eval "$wx_cv_use_rearrangectrl"
13075 if test x
"$enablestring" = xdisable
; then
13076 if test $wxUSE_REARRANGECTRL = no
; then
13082 result
=$wxUSE_REARRANGECTRL
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13086 $as_echo "$result" >&6; }
13090 defaultval
=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x
"$enablestring" = xdisable
; then
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13100 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13101 # Check whether --enable-sash was given.
13102 if test "${enable_sash+set}" = set; then :
13103 enableval
=$enable_sash;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_sash
='wxUSE_SASH=yes'
13107 wx_cv_use_sash
='wxUSE_SASH=no'
13112 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13117 eval "$wx_cv_use_sash"
13119 if test x"$enablestring" = xdisable; then
13120 if test $wxUSE_SASH = no; then
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13130 $as_echo "$result" >&6; }
13134 defaultval=$wxUSE_ALL_FEATURES
13135 if test -z "$defaultval"; then
13136 if test x"$enablestring" = xdisable; then
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13144 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13145 # Check whether --enable-scrollbar was given.
13146 if test "${enable_scrollbar+set}" = set; then :
13147 enableval=$enable_scrollbar;
13148 if test "$enableval" = yes; then
13149 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
13151 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
13156 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13161 eval "$wx_cv_use_scrollbar"
13163 if test x"$enablestring" = xdisable; then
13164 if test $wxUSE_SCROLLBAR = no; then
13170 result=$wxUSE_SCROLLBAR
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13174 $as_echo "$result" >&6; }
13178 defaultval=$wxUSE_ALL_FEATURES
13179 if test -z "$defaultval"; then
13180 if test x"$enablestring" = xdisable; then
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-searchctrl" >&5
13188 $as_echo_n "checking
for --${enablestring:-enable}-searchctrl...
" >&6; }
13189 # Check whether --enable-searchctrl was given.
13190 if test "${enable_searchctrl+set}" = set; then :
13191 enableval=$enable_searchctrl;
13192 if test "$enableval" = yes; then
13193 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13195 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13200 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13205 eval "$wx_cv_use_searchctrl"
13207 if test x
"$enablestring" = xdisable
; then
13208 if test $wxUSE_SEARCHCTRL = no
; then
13214 result
=$wxUSE_SEARCHCTRL
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13218 $as_echo "$result" >&6; }
13222 defaultval
=$wxUSE_ALL_FEATURES
13223 if test -z "$defaultval"; then
13224 if test x
"$enablestring" = xdisable
; then
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13232 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13233 # Check whether --enable-slider was given.
13234 if test "${enable_slider+set}" = set; then :
13235 enableval
=$enable_slider;
13236 if test "$enableval" = yes; then
13237 wx_cv_use_slider
='wxUSE_SLIDER=yes'
13239 wx_cv_use_slider
='wxUSE_SLIDER=no'
13244 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13249 eval "$wx_cv_use_slider"
13251 if test x"$enablestring" = xdisable; then
13252 if test $wxUSE_SLIDER = no; then
13258 result=$wxUSE_SLIDER
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13262 $as_echo "$result" >&6; }
13266 defaultval=$wxUSE_ALL_FEATURES
13267 if test -z "$defaultval"; then
13268 if test x"$enablestring" = xdisable; then
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13276 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13277 # Check whether --enable-spinbtn was given.
13278 if test "${enable_spinbtn+set}" = set; then :
13279 enableval=$enable_spinbtn;
13280 if test "$enableval" = yes; then
13281 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
13283 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
13288 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13293 eval "$wx_cv_use_spinbtn"
13295 if test x"$enablestring" = xdisable; then
13296 if test $wxUSE_SPINBTN = no; then
13302 result=$wxUSE_SPINBTN
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13306 $as_echo "$result" >&6; }
13310 defaultval=$wxUSE_ALL_FEATURES
13311 if test -z "$defaultval"; then
13312 if test x"$enablestring" = xdisable; then
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-spinctrl" >&5
13320 $as_echo_n "checking
for --${enablestring:-enable}-spinctrl...
" >&6; }
13321 # Check whether --enable-spinctrl was given.
13322 if test "${enable_spinctrl+set}" = set; then :
13323 enableval=$enable_spinctrl;
13324 if test "$enableval" = yes; then
13325 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13327 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13332 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13337 eval "$wx_cv_use_spinctrl"
13339 if test x
"$enablestring" = xdisable
; then
13340 if test $wxUSE_SPINCTRL = no
; then
13346 result
=$wxUSE_SPINCTRL
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13350 $as_echo "$result" >&6; }
13354 defaultval
=$wxUSE_ALL_FEATURES
13355 if test -z "$defaultval"; then
13356 if test x
"$enablestring" = xdisable
; then
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13364 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13365 # Check whether --enable-splitter was given.
13366 if test "${enable_splitter+set}" = set; then :
13367 enableval
=$enable_splitter;
13368 if test "$enableval" = yes; then
13369 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
13371 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
13376 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13381 eval "$wx_cv_use_splitter"
13383 if test x"$enablestring" = xdisable; then
13384 if test $wxUSE_SPLITTER = no; then
13390 result=$wxUSE_SPLITTER
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13394 $as_echo "$result" >&6; }
13398 defaultval=$wxUSE_ALL_FEATURES
13399 if test -z "$defaultval"; then
13400 if test x"$enablestring" = xdisable; then
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13408 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13409 # Check whether --enable-statbmp was given.
13410 if test "${enable_statbmp+set}" = set; then :
13411 enableval=$enable_statbmp;
13412 if test "$enableval" = yes; then
13413 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
13415 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
13420 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13425 eval "$wx_cv_use_statbmp"
13427 if test x"$enablestring" = xdisable; then
13428 if test $wxUSE_STATBMP = no; then
13434 result=$wxUSE_STATBMP
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13438 $as_echo "$result" >&6; }
13442 defaultval=$wxUSE_ALL_FEATURES
13443 if test -z "$defaultval"; then
13444 if test x"$enablestring" = xdisable; then
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statbox" >&5
13452 $as_echo_n "checking
for --${enablestring:-enable}-statbox...
" >&6; }
13453 # Check whether --enable-statbox was given.
13454 if test "${enable_statbox+set}" = set; then :
13455 enableval=$enable_statbox;
13456 if test "$enableval" = yes; then
13457 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13459 wx_cv_use_statbox='wxUSE_STATBOX=no'
13464 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13469 eval "$wx_cv_use_statbox"
13471 if test x
"$enablestring" = xdisable
; then
13472 if test $wxUSE_STATBOX = no
; then
13478 result
=$wxUSE_STATBOX
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13482 $as_echo "$result" >&6; }
13486 defaultval
=$wxUSE_ALL_FEATURES
13487 if test -z "$defaultval"; then
13488 if test x
"$enablestring" = xdisable
; then
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13496 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13497 # Check whether --enable-statline was given.
13498 if test "${enable_statline+set}" = set; then :
13499 enableval
=$enable_statline;
13500 if test "$enableval" = yes; then
13501 wx_cv_use_statline
='wxUSE_STATLINE=yes'
13503 wx_cv_use_statline
='wxUSE_STATLINE=no'
13508 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13513 eval "$wx_cv_use_statline"
13515 if test x"$enablestring" = xdisable; then
13516 if test $wxUSE_STATLINE = no; then
13522 result=$wxUSE_STATLINE
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13526 $as_echo "$result" >&6; }
13530 defaultval=$wxUSE_ALL_FEATURES
13531 if test -z "$defaultval"; then
13532 if test x"$enablestring" = xdisable; then
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13540 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13541 # Check whether --enable-stattext was given.
13542 if test "${enable_stattext+set}" = set; then :
13543 enableval=$enable_stattext;
13544 if test "$enableval" = yes; then
13545 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
13547 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
13552 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13557 eval "$wx_cv_use_stattext"
13559 if test x"$enablestring" = xdisable; then
13560 if test $wxUSE_STATTEXT = no; then
13566 result=$wxUSE_STATTEXT
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13570 $as_echo "$result" >&6; }
13574 defaultval=$wxUSE_ALL_FEATURES
13575 if test -z "$defaultval"; then
13576 if test x"$enablestring" = xdisable; then
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statusbar" >&5
13584 $as_echo_n "checking
for --${enablestring:-enable}-statusbar...
" >&6; }
13585 # Check whether --enable-statusbar was given.
13586 if test "${enable_statusbar+set}" = set; then :
13587 enableval=$enable_statusbar;
13588 if test "$enableval" = yes; then
13589 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13591 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13596 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13601 eval "$wx_cv_use_statusbar"
13603 if test x
"$enablestring" = xdisable
; then
13604 if test $wxUSE_STATUSBAR = no
; then
13610 result
=$wxUSE_STATUSBAR
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13614 $as_echo "$result" >&6; }
13618 defaultval
=$wxUSE_ALL_FEATURES
13619 if test -z "$defaultval"; then
13620 if test x
"$enablestring" = xdisable
; then
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13628 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13629 # Check whether --enable-taskbaricon was given.
13630 if test "${enable_taskbaricon+set}" = set; then :
13631 enableval
=$enable_taskbaricon;
13632 if test "$enableval" = yes; then
13633 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
13635 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
13640 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13645 eval "$wx_cv_use_taskbaricon"
13647 if test x"$enablestring" = xdisable; then
13648 if test $wxUSE_TASKBARICON = no; then
13654 result=$wxUSE_TASKBARICON
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13658 $as_echo "$result" >&6; }
13662 defaultval=$wxUSE_ALL_FEATURES
13663 if test -z "$defaultval"; then
13664 if test x"$enablestring" = xdisable; then
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13672 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13673 # Check whether --enable-tbarnative was given.
13674 if test "${enable_tbarnative+set}" = set; then :
13675 enableval=$enable_tbarnative;
13676 if test "$enableval" = yes; then
13677 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
13679 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
13684 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13689 eval "$wx_cv_use_tbarnative"
13691 if test x"$enablestring" = xdisable; then
13692 if test $wxUSE_TOOLBAR_NATIVE = no; then
13698 result=$wxUSE_TOOLBAR_NATIVE
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13702 $as_echo "$result" >&6; }
13706 defaultval=$wxUSE_ALL_FEATURES
13707 if test -z "$defaultval"; then
13708 if test x"$enablestring" = xdisable; then
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textctrl" >&5
13716 $as_echo_n "checking
for --${enablestring:-enable}-textctrl...
" >&6; }
13717 # Check whether --enable-textctrl was given.
13718 if test "${enable_textctrl+set}" = set; then :
13719 enableval=$enable_textctrl;
13720 if test "$enableval" = yes; then
13721 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13723 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13728 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13733 eval "$wx_cv_use_textctrl"
13735 if test x
"$enablestring" = xdisable
; then
13736 if test $wxUSE_TEXTCTRL = no
; then
13742 result
=$wxUSE_TEXTCTRL
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13746 $as_echo "$result" >&6; }
13750 defaultval
=$wxUSE_ALL_FEATURES
13751 if test -z "$defaultval"; then
13752 if test x
"$enablestring" = xdisable
; then
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13760 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13761 # Check whether --enable-datepick was given.
13762 if test "${enable_datepick+set}" = set; then :
13763 enableval
=$enable_datepick;
13764 if test "$enableval" = yes; then
13765 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=yes'
13767 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=no'
13772 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13777 eval "$wx_cv_use_datepick"
13779 if test x"$enablestring" = xdisable; then
13780 if test $wxUSE_TIMEPICKCTRL = no; then
13786 result=$wxUSE_TIMEPICKCTRL
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13790 $as_echo "$result" >&6; }
13794 defaultval=$wxUSE_ALL_FEATURES
13795 if test -z "$defaultval"; then
13796 if test x"$enablestring" = xdisable; then
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13804 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13805 # Check whether --enable-tipwindow was given.
13806 if test "${enable_tipwindow+set}" = set; then :
13807 enableval=$enable_tipwindow;
13808 if test "$enableval" = yes; then
13809 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
13811 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
13816 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13821 eval "$wx_cv_use_tipwindow"
13823 if test x"$enablestring" = xdisable; then
13824 if test $wxUSE_TIPWINDOW = no; then
13830 result=$wxUSE_TIPWINDOW
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13834 $as_echo "$result" >&6; }
13838 defaultval=$wxUSE_ALL_FEATURES
13839 if test -z "$defaultval"; then
13840 if test x"$enablestring" = xdisable; then
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-togglebtn" >&5
13848 $as_echo_n "checking
for --${enablestring:-enable}-togglebtn...
" >&6; }
13849 # Check whether --enable-togglebtn was given.
13850 if test "${enable_togglebtn+set}" = set; then :
13851 enableval=$enable_togglebtn;
13852 if test "$enableval" = yes; then
13853 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13855 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13860 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13865 eval "$wx_cv_use_togglebtn"
13867 if test x
"$enablestring" = xdisable
; then
13868 if test $wxUSE_TOGGLEBTN = no
; then
13874 result
=$wxUSE_TOGGLEBTN
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13878 $as_echo "$result" >&6; }
13882 defaultval
=$wxUSE_ALL_FEATURES
13883 if test -z "$defaultval"; then
13884 if test x
"$enablestring" = xdisable
; then
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13892 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13893 # Check whether --enable-toolbar was given.
13894 if test "${enable_toolbar+set}" = set; then :
13895 enableval
=$enable_toolbar;
13896 if test "$enableval" = yes; then
13897 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
13899 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
13904 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13909 eval "$wx_cv_use_toolbar"
13911 if test x"$enablestring" = xdisable; then
13912 if test $wxUSE_TOOLBAR = no; then
13918 result=$wxUSE_TOOLBAR
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13922 $as_echo "$result" >&6; }
13926 defaultval=$wxUSE_ALL_FEATURES
13927 if test -z "$defaultval"; then
13928 if test x"$enablestring" = xdisable; then
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13936 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13937 # Check whether --enable-toolbook was given.
13938 if test "${enable_toolbook+set}" = set; then :
13939 enableval=$enable_toolbook;
13940 if test "$enableval" = yes; then
13941 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
13943 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
13948 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13953 eval "$wx_cv_use_toolbook"
13955 if test x"$enablestring" = xdisable; then
13956 if test $wxUSE_TOOLBOOK = no; then
13962 result=$wxUSE_TOOLBOOK
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13966 $as_echo "$result" >&6; }
13970 defaultval=$wxUSE_ALL_FEATURES
13971 if test -z "$defaultval"; then
13972 if test x"$enablestring" = xdisable; then
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treebook" >&5
13980 $as_echo_n "checking
for --${enablestring:-enable}-treebook...
" >&6; }
13981 # Check whether --enable-treebook was given.
13982 if test "${enable_treebook+set}" = set; then :
13983 enableval=$enable_treebook;
13984 if test "$enableval" = yes; then
13985 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13987 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13992 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13997 eval "$wx_cv_use_treebook"
13999 if test x
"$enablestring" = xdisable
; then
14000 if test $wxUSE_TREEBOOK = no
; then
14006 result
=$wxUSE_TREEBOOK
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14010 $as_echo "$result" >&6; }
14014 defaultval
=$wxUSE_ALL_FEATURES
14015 if test -z "$defaultval"; then
14016 if test x
"$enablestring" = xdisable
; then
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14024 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14025 # Check whether --enable-treectrl was given.
14026 if test "${enable_treectrl+set}" = set; then :
14027 enableval
=$enable_treectrl;
14028 if test "$enableval" = yes; then
14029 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
14031 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
14036 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14041 eval "$wx_cv_use_treectrl"
14043 if test x"$enablestring" = xdisable; then
14044 if test $wxUSE_TREECTRL = no; then
14050 result=$wxUSE_TREECTRL
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14054 $as_echo "$result" >&6; }
14058 defaultval=$wxUSE_ALL_FEATURES
14059 if test -z "$defaultval"; then
14060 if test x"$enablestring" = xdisable; then
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14068 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14069 # Check whether --enable-treelist was given.
14070 if test "${enable_treelist+set}" = set; then :
14071 enableval=$enable_treelist;
14072 if test "$enableval" = yes; then
14073 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=yes'
14075 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=no
'
14080 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14085 eval "$wx_cv_use_treelist"
14087 if test x"$enablestring" = xdisable; then
14088 if test $wxUSE_TREELISTCTRL = no; then
14094 result=$wxUSE_TREELISTCTRL
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14098 $as_echo "$result" >&6; }
14104 defaultval=$wxUSE_ALL_FEATURES
14105 if test -z "$defaultval"; then
14106 if test x"$enablestring" = xdisable; then
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-commondlg" >&5
14114 $as_echo_n "checking
for --${enablestring:-enable}-commondlg...
" >&6; }
14115 # Check whether --enable-commondlg was given.
14116 if test "${enable_commondlg+set}" = set; then :
14117 enableval=$enable_commondlg;
14118 if test "$enableval" = yes; then
14119 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14121 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14126 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14131 eval "$wx_cv_use_commondlg"
14133 if test x
"$enablestring" = xdisable
; then
14134 if test $wxUSE_COMMONDLGS = no
; then
14140 result
=$wxUSE_COMMONDLGS
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14144 $as_echo "$result" >&6; }
14148 defaultval
=$wxUSE_ALL_FEATURES
14149 if test -z "$defaultval"; then
14150 if test x
"$enablestring" = xdisable
; then
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14158 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14159 # Check whether --enable-aboutdlg was given.
14160 if test "${enable_aboutdlg+set}" = set; then :
14161 enableval
=$enable_aboutdlg;
14162 if test "$enableval" = yes; then
14163 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
14165 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
14170 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14175 eval "$wx_cv_use_aboutdlg"
14177 if test x"$enablestring" = xdisable; then
14178 if test $wxUSE_ABOUTDLG = no; then
14184 result=$wxUSE_ABOUTDLG
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14188 $as_echo "$result" >&6; }
14192 defaultval=$wxUSE_ALL_FEATURES
14193 if test -z "$defaultval"; then
14194 if test x"$enablestring" = xdisable; then
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14202 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14203 # Check whether --enable-choicedlg was given.
14204 if test "${enable_choicedlg+set}" = set; then :
14205 enableval=$enable_choicedlg;
14206 if test "$enableval" = yes; then
14207 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
14209 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
14214 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14219 eval "$wx_cv_use_choicedlg"
14221 if test x"$enablestring" = xdisable; then
14222 if test $wxUSE_CHOICEDLG = no; then
14228 result=$wxUSE_CHOICEDLG
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14232 $as_echo "$result" >&6; }
14236 defaultval=$wxUSE_ALL_FEATURES
14237 if test -z "$defaultval"; then
14238 if test x"$enablestring" = xdisable; then
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-coldlg" >&5
14246 $as_echo_n "checking
for --${enablestring:-enable}-coldlg...
" >&6; }
14247 # Check whether --enable-coldlg was given.
14248 if test "${enable_coldlg+set}" = set; then :
14249 enableval=$enable_coldlg;
14250 if test "$enableval" = yes; then
14251 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14253 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14258 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14263 eval "$wx_cv_use_coldlg"
14265 if test x
"$enablestring" = xdisable
; then
14266 if test $wxUSE_COLOURDLG = no
; then
14272 result
=$wxUSE_COLOURDLG
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14276 $as_echo "$result" >&6; }
14280 defaultval
=$wxUSE_ALL_FEATURES
14281 if test -z "$defaultval"; then
14282 if test x
"$enablestring" = xdisable
; then
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14290 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14291 # Check whether --enable-filedlg was given.
14292 if test "${enable_filedlg+set}" = set; then :
14293 enableval
=$enable_filedlg;
14294 if test "$enableval" = yes; then
14295 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
14297 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
14302 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14307 eval "$wx_cv_use_filedlg"
14309 if test x"$enablestring" = xdisable; then
14310 if test $wxUSE_FILEDLG = no; then
14316 result=$wxUSE_FILEDLG
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14320 $as_echo "$result" >&6; }
14324 defaultval=$wxUSE_ALL_FEATURES
14325 if test -z "$defaultval"; then
14326 if test x"$enablestring" = xdisable; then
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14334 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14335 # Check whether --enable-finddlg was given.
14336 if test "${enable_finddlg+set}" = set; then :
14337 enableval=$enable_finddlg;
14338 if test "$enableval" = yes; then
14339 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
14341 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
14346 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14351 eval "$wx_cv_use_finddlg"
14353 if test x"$enablestring" = xdisable; then
14354 if test $wxUSE_FINDREPLDLG = no; then
14360 result=$wxUSE_FINDREPLDLG
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14364 $as_echo "$result" >&6; }
14368 defaultval=$wxUSE_ALL_FEATURES
14369 if test -z "$defaultval"; then
14370 if test x"$enablestring" = xdisable; then
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fontdlg" >&5
14378 $as_echo_n "checking
for --${enablestring:-enable}-fontdlg...
" >&6; }
14379 # Check whether --enable-fontdlg was given.
14380 if test "${enable_fontdlg+set}" = set; then :
14381 enableval=$enable_fontdlg;
14382 if test "$enableval" = yes; then
14383 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14385 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14390 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14395 eval "$wx_cv_use_fontdlg"
14397 if test x
"$enablestring" = xdisable
; then
14398 if test $wxUSE_FONTDLG = no
; then
14404 result
=$wxUSE_FONTDLG
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14408 $as_echo "$result" >&6; }
14412 defaultval
=$wxUSE_ALL_FEATURES
14413 if test -z "$defaultval"; then
14414 if test x
"$enablestring" = xdisable
; then
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14422 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14423 # Check whether --enable-dirdlg was given.
14424 if test "${enable_dirdlg+set}" = set; then :
14425 enableval
=$enable_dirdlg;
14426 if test "$enableval" = yes; then
14427 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
14429 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
14434 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14439 eval "$wx_cv_use_dirdlg"
14441 if test x"$enablestring" = xdisable; then
14442 if test $wxUSE_DIRDLG = no; then
14448 result=$wxUSE_DIRDLG
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14452 $as_echo "$result" >&6; }
14456 defaultval=$wxUSE_ALL_FEATURES
14457 if test -z "$defaultval"; then
14458 if test x"$enablestring" = xdisable; then
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14466 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14467 # Check whether --enable-msgdlg was given.
14468 if test "${enable_msgdlg+set}" = set; then :
14469 enableval=$enable_msgdlg;
14470 if test "$enableval" = yes; then
14471 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
14473 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
14478 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14483 eval "$wx_cv_use_msgdlg"
14485 if test x"$enablestring" = xdisable; then
14486 if test $wxUSE_MSGDLG = no; then
14492 result=$wxUSE_MSGDLG
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14496 $as_echo "$result" >&6; }
14500 defaultval=$wxUSE_ALL_FEATURES
14501 if test -z "$defaultval"; then
14502 if test x"$enablestring" = xdisable; then
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-numberdlg" >&5
14510 $as_echo_n "checking
for --${enablestring:-enable}-numberdlg...
" >&6; }
14511 # Check whether --enable-numberdlg was given.
14512 if test "${enable_numberdlg+set}" = set; then :
14513 enableval=$enable_numberdlg;
14514 if test "$enableval" = yes; then
14515 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14517 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14522 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14527 eval "$wx_cv_use_numberdlg"
14529 if test x
"$enablestring" = xdisable
; then
14530 if test $wxUSE_NUMBERDLG = no
; then
14536 result
=$wxUSE_NUMBERDLG
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14540 $as_echo "$result" >&6; }
14544 defaultval
=$wxUSE_ALL_FEATURES
14545 if test -z "$defaultval"; then
14546 if test x
"$enablestring" = xdisable
; then
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14554 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14555 # Check whether --enable-splash was given.
14556 if test "${enable_splash+set}" = set; then :
14557 enableval
=$enable_splash;
14558 if test "$enableval" = yes; then
14559 wx_cv_use_splash
='wxUSE_SPLASH=yes'
14561 wx_cv_use_splash
='wxUSE_SPLASH=no'
14566 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14571 eval "$wx_cv_use_splash"
14573 if test x"$enablestring" = xdisable; then
14574 if test $wxUSE_SPLASH = no; then
14580 result=$wxUSE_SPLASH
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14584 $as_echo "$result" >&6; }
14588 defaultval=$wxUSE_ALL_FEATURES
14589 if test -z "$defaultval"; then
14590 if test x"$enablestring" = xdisable; then
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14598 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14599 # Check whether --enable-textdlg was given.
14600 if test "${enable_textdlg+set}" = set; then :
14601 enableval=$enable_textdlg;
14602 if test "$enableval" = yes; then
14603 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
14605 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
14610 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14615 eval "$wx_cv_use_textdlg"
14617 if test x"$enablestring" = xdisable; then
14618 if test $wxUSE_TEXTDLG = no; then
14624 result=$wxUSE_TEXTDLG
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14628 $as_echo "$result" >&6; }
14632 defaultval=$wxUSE_ALL_FEATURES
14633 if test -z "$defaultval"; then
14634 if test x"$enablestring" = xdisable; then
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tipdlg" >&5
14642 $as_echo_n "checking
for --${enablestring:-enable}-tipdlg...
" >&6; }
14643 # Check whether --enable-tipdlg was given.
14644 if test "${enable_tipdlg+set}" = set; then :
14645 enableval=$enable_tipdlg;
14646 if test "$enableval" = yes; then
14647 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14649 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14654 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14659 eval "$wx_cv_use_tipdlg"
14661 if test x
"$enablestring" = xdisable
; then
14662 if test $wxUSE_STARTUP_TIPS = no
; then
14668 result
=$wxUSE_STARTUP_TIPS
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14672 $as_echo "$result" >&6; }
14676 defaultval
=$wxUSE_ALL_FEATURES
14677 if test -z "$defaultval"; then
14678 if test x
"$enablestring" = xdisable
; then
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14686 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14687 # Check whether --enable-progressdlg was given.
14688 if test "${enable_progressdlg+set}" = set; then :
14689 enableval
=$enable_progressdlg;
14690 if test "$enableval" = yes; then
14691 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
14693 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
14698 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14703 eval "$wx_cv_use_progressdlg"
14705 if test x"$enablestring" = xdisable; then
14706 if test $wxUSE_PROGRESSDLG = no; then
14712 result=$wxUSE_PROGRESSDLG
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14716 $as_echo "$result" >&6; }
14720 defaultval=$wxUSE_ALL_FEATURES
14721 if test -z "$defaultval"; then
14722 if test x"$enablestring" = xdisable; then
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14730 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14731 # Check whether --enable-wizarddlg was given.
14732 if test "${enable_wizarddlg+set}" = set; then :
14733 enableval=$enable_wizarddlg;
14734 if test "$enableval" = yes; then
14735 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
14737 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
14742 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14747 eval "$wx_cv_use_wizarddlg"
14749 if test x"$enablestring" = xdisable; then
14750 if test $wxUSE_WIZARDDLG = no; then
14756 result=$wxUSE_WIZARDDLG
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14760 $as_echo "$result" >&6; }
14766 defaultval=$wxUSE_ALL_FEATURES
14767 if test -z "$defaultval"; then
14768 if test x"$enablestring" = xdisable; then
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-menus" >&5
14776 $as_echo_n "checking
for --${enablestring:-enable}-menus...
" >&6; }
14777 # Check whether --enable-menus was given.
14778 if test "${enable_menus+set}" = set; then :
14779 enableval=$enable_menus;
14780 if test "$enableval" = yes; then
14781 wx_cv_use_menus='wxUSE_MENUS=yes'
14783 wx_cv_use_menus='wxUSE_MENUS=no'
14788 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14793 eval "$wx_cv_use_menus"
14795 if test x
"$enablestring" = xdisable
; then
14796 if test $wxUSE_MENUS = no
; then
14802 result
=$wxUSE_MENUS
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14806 $as_echo "$result" >&6; }
14810 defaultval
=$wxUSE_ALL_FEATURES
14811 if test -z "$defaultval"; then
14812 if test x
"$enablestring" = xdisable
; then
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14820 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14821 # Check whether --enable-miniframe was given.
14822 if test "${enable_miniframe+set}" = set; then :
14823 enableval
=$enable_miniframe;
14824 if test "$enableval" = yes; then
14825 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
14827 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
14832 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14837 eval "$wx_cv_use_miniframe"
14839 if test x"$enablestring" = xdisable; then
14840 if test $wxUSE_MINIFRAME = no; then
14846 result=$wxUSE_MINIFRAME
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14850 $as_echo "$result" >&6; }
14854 defaultval=$wxUSE_ALL_FEATURES
14855 if test -z "$defaultval"; then
14856 if test x"$enablestring" = xdisable; then
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14864 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14865 # Check whether --enable-tooltips was given.
14866 if test "${enable_tooltips+set}" = set; then :
14867 enableval=$enable_tooltips;
14868 if test "$enableval" = yes; then
14869 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
14871 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
14876 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14881 eval "$wx_cv_use_tooltips"
14883 if test x"$enablestring" = xdisable; then
14884 if test $wxUSE_TOOLTIPS = no; then
14890 result=$wxUSE_TOOLTIPS
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14894 $as_echo "$result" >&6; }
14898 defaultval=$wxUSE_ALL_FEATURES
14899 if test -z "$defaultval"; then
14900 if test x"$enablestring" = xdisable; then
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splines" >&5
14908 $as_echo_n "checking
for --${enablestring:-enable}-splines...
" >&6; }
14909 # Check whether --enable-splines was given.
14910 if test "${enable_splines+set}" = set; then :
14911 enableval=$enable_splines;
14912 if test "$enableval" = yes; then
14913 wx_cv_use_splines='wxUSE_SPLINES=yes'
14915 wx_cv_use_splines='wxUSE_SPLINES=no'
14920 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14925 eval "$wx_cv_use_splines"
14927 if test x
"$enablestring" = xdisable
; then
14928 if test $wxUSE_SPLINES = no
; then
14934 result
=$wxUSE_SPLINES
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14938 $as_echo "$result" >&6; }
14942 defaultval
=$wxUSE_ALL_FEATURES
14943 if test -z "$defaultval"; then
14944 if test x
"$enablestring" = xdisable
; then
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14952 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14953 # Check whether --enable-mousewheel was given.
14954 if test "${enable_mousewheel+set}" = set; then :
14955 enableval
=$enable_mousewheel;
14956 if test "$enableval" = yes; then
14957 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
14959 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
14964 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14969 eval "$wx_cv_use_mousewheel"
14971 if test x"$enablestring" = xdisable; then
14972 if test $wxUSE_MOUSEWHEEL = no; then
14978 result=$wxUSE_MOUSEWHEEL
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14982 $as_echo "$result" >&6; }
14986 defaultval=$wxUSE_ALL_FEATURES
14987 if test -z "$defaultval"; then
14988 if test x"$enablestring" = xdisable; then
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14996 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14997 # Check whether --enable-validators was given.
14998 if test "${enable_validators+set}" = set; then :
14999 enableval=$enable_validators;
15000 if test "$enableval" = yes; then
15001 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
15003 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
15008 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15013 eval "$wx_cv_use_validators"
15015 if test x"$enablestring" = xdisable; then
15016 if test $wxUSE_VALIDATORS = no; then
15022 result=$wxUSE_VALIDATORS
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15026 $as_echo "$result" >&6; }
15030 defaultval=$wxUSE_ALL_FEATURES
15031 if test -z "$defaultval"; then
15032 if test x"$enablestring" = xdisable; then
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-busyinfo" >&5
15040 $as_echo_n "checking
for --${enablestring:-enable}-busyinfo...
" >&6; }
15041 # Check whether --enable-busyinfo was given.
15042 if test "${enable_busyinfo+set}" = set; then :
15043 enableval=$enable_busyinfo;
15044 if test "$enableval" = yes; then
15045 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15047 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15052 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15057 eval "$wx_cv_use_busyinfo"
15059 if test x
"$enablestring" = xdisable
; then
15060 if test $wxUSE_BUSYINFO = no
; then
15066 result
=$wxUSE_BUSYINFO
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15070 $as_echo "$result" >&6; }
15074 defaultval
=$wxUSE_ALL_FEATURES
15075 if test -z "$defaultval"; then
15076 if test x
"$enablestring" = xdisable
; then
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15084 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15085 # Check whether --enable-hotkey was given.
15086 if test "${enable_hotkey+set}" = set; then :
15087 enableval
=$enable_hotkey;
15088 if test "$enableval" = yes; then
15089 wx_cv_use_hotkey
='wxUSE_HOTKEY=yes'
15091 wx_cv_use_hotkey
='wxUSE_HOTKEY=no'
15096 wx_cv_use_hotkey
='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15101 eval "$wx_cv_use_hotkey"
15103 if test x"$enablestring" = xdisable; then
15104 if test $wxUSE_HOTKEY = no; then
15110 result=$wxUSE_HOTKEY
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15114 $as_echo "$result" >&6; }
15118 defaultval=$wxUSE_ALL_FEATURES
15119 if test -z "$defaultval"; then
15120 if test x"$enablestring" = xdisable; then
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15128 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15129 # Check whether --enable-joystick was given.
15130 if test "${enable_joystick+set}" = set; then :
15131 enableval=$enable_joystick;
15132 if test "$enableval" = yes; then
15133 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
15135 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
15140 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15145 eval "$wx_cv_use_joystick"
15147 if test x"$enablestring" = xdisable; then
15148 if test $wxUSE_JOYSTICK = no; then
15154 result=$wxUSE_JOYSTICK
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15158 $as_echo "$result" >&6; }
15162 defaultval=$wxUSE_ALL_FEATURES
15163 if test -z "$defaultval"; then
15164 if test x"$enablestring" = xdisable; then
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-metafile" >&5
15172 $as_echo_n "checking
for --${enablestring:-enable}-metafile...
" >&6; }
15173 # Check whether --enable-metafile was given.
15174 if test "${enable_metafile+set}" = set; then :
15175 enableval=$enable_metafile;
15176 if test "$enableval" = yes; then
15177 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15179 wx_cv_use_metafile='wxUSE_METAFILE=no'
15184 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15189 eval "$wx_cv_use_metafile"
15191 if test x
"$enablestring" = xdisable
; then
15192 if test $wxUSE_METAFILE = no
; then
15198 result
=$wxUSE_METAFILE
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15202 $as_echo "$result" >&6; }
15206 defaultval
=$wxUSE_ALL_FEATURES
15207 if test -z "$defaultval"; then
15208 if test x
"$enablestring" = xdisable
; then
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15216 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15217 # Check whether --enable-dragimage was given.
15218 if test "${enable_dragimage+set}" = set; then :
15219 enableval
=$enable_dragimage;
15220 if test "$enableval" = yes; then
15221 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
15223 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
15228 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15233 eval "$wx_cv_use_dragimage"
15235 if test x"$enablestring" = xdisable; then
15236 if test $wxUSE_DRAGIMAGE = no; then
15242 result=$wxUSE_DRAGIMAGE
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15246 $as_echo "$result" >&6; }
15250 defaultval=$wxUSE_ALL_FEATURES
15251 if test -z "$defaultval"; then
15252 if test x"$enablestring" = xdisable; then
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15260 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15261 # Check whether --enable-accessibility was given.
15262 if test "${enable_accessibility+set}" = set; then :
15263 enableval=$enable_accessibility;
15264 if test "$enableval" = yes; then
15265 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
15267 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
15272 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15277 eval "$wx_cv_use_accessibility"
15279 if test x"$enablestring" = xdisable; then
15280 if test $wxUSE_ACCESSIBILITY = no; then
15286 result=$wxUSE_ACCESSIBILITY
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15290 $as_echo "$result" >&6; }
15294 defaultval=$wxUSE_ALL_FEATURES
15295 if test -z "$defaultval"; then
15296 if test x"$enablestring" = xdisable; then
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-uiactionsim" >&5
15304 $as_echo_n "checking
for --${enablestring:-enable}-uiactionsim...
" >&6; }
15305 # Check whether --enable-uiactionsim was given.
15306 if test "${enable_uiactionsim+set}" = set; then :
15307 enableval=$enable_uiactionsim;
15308 if test "$enableval" = yes; then
15309 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15311 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15316 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15321 eval "$wx_cv_use_uiactionsim"
15323 if test x
"$enablestring" = xdisable
; then
15324 if test $wxUSE_UIACTIONSIMULATOR = no
; then
15330 result
=$wxUSE_UIACTIONSIMULATOR
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15334 $as_echo "$result" >&6; }
15338 defaultval
=$wxUSE_ALL_FEATURES
15339 if test -z "$defaultval"; then
15340 if test x
"$enablestring" = xdisable
; then
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15348 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15349 # Check whether --enable-dctransform was given.
15350 if test "${enable_dctransform+set}" = set; then :
15351 enableval
=$enable_dctransform;
15352 if test "$enableval" = yes; then
15353 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=yes'
15355 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=no'
15360 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15365 eval "$wx_cv_use_dctransform"
15367 if test x"$enablestring" = xdisable; then
15368 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15374 result=$wxUSE_DC_TRANSFORM_MATRIX
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15378 $as_echo "$result" >&6; }
15382 defaultval=$wxUSE_ALL_FEATURES
15383 if test -z "$defaultval"; then
15384 if test x"$enablestring" = xdisable; then
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15392 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15393 # Check whether --enable-webviewwebkit was given.
15394 if test "${enable_webviewwebkit+set}" = set; then :
15395 enableval=$enable_webviewwebkit;
15396 if test "$enableval" = yes; then
15397 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=yes'
15399 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=no
'
15404 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15409 eval "$wx_cv_use_webviewwebkit"
15411 if test x"$enablestring" = xdisable; then
15412 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15418 result=$wxUSE_WEBVIEW_WEBKIT
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15422 $as_echo "$result" >&6; }
15428 defaultval=$wxUSE_ALL_FEATURES
15429 if test -z "$defaultval"; then
15430 if test x"$enablestring" = xdisable; then
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-palette" >&5
15438 $as_echo_n "checking
for --${enablestring:-enable}-palette...
" >&6; }
15439 # Check whether --enable-palette was given.
15440 if test "${enable_palette+set}" = set; then :
15441 enableval=$enable_palette;
15442 if test "$enableval" = yes; then
15443 wx_cv_use_palette='wxUSE_PALETTE=yes'
15445 wx_cv_use_palette='wxUSE_PALETTE=no'
15450 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15455 eval "$wx_cv_use_palette"
15457 if test x
"$enablestring" = xdisable
; then
15458 if test $wxUSE_PALETTE = no
; then
15464 result
=$wxUSE_PALETTE
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15468 $as_echo "$result" >&6; }
15472 defaultval
=$wxUSE_ALL_FEATURES
15473 if test -z "$defaultval"; then
15474 if test x
"$enablestring" = xdisable
; then
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15482 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15483 # Check whether --enable-image was given.
15484 if test "${enable_image+set}" = set; then :
15485 enableval
=$enable_image;
15486 if test "$enableval" = yes; then
15487 wx_cv_use_image
='wxUSE_IMAGE=yes'
15489 wx_cv_use_image
='wxUSE_IMAGE=no'
15494 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15499 eval "$wx_cv_use_image"
15501 if test x"$enablestring" = xdisable; then
15502 if test $wxUSE_IMAGE = no; then
15508 result=$wxUSE_IMAGE
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15512 $as_echo "$result" >&6; }
15516 defaultval=$wxUSE_ALL_FEATURES
15517 if test -z "$defaultval"; then
15518 if test x"$enablestring" = xdisable; then
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15526 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15527 # Check whether --enable-gif was given.
15528 if test "${enable_gif+set}" = set; then :
15529 enableval=$enable_gif;
15530 if test "$enableval" = yes; then
15531 wx_cv_use_gif='wxUSE_GIF
=yes'
15533 wx_cv_use_gif='wxUSE_GIF
=no
'
15538 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15543 eval "$wx_cv_use_gif"
15545 if test x"$enablestring" = xdisable; then
15546 if test $wxUSE_GIF = no; then
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15556 $as_echo "$result" >&6; }
15560 defaultval=$wxUSE_ALL_FEATURES
15561 if test -z "$defaultval"; then
15562 if test x"$enablestring" = xdisable; then
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-pcx" >&5
15570 $as_echo_n "checking
for --${enablestring:-enable}-pcx...
" >&6; }
15571 # Check whether --enable-pcx was given.
15572 if test "${enable_pcx+set}" = set; then :
15573 enableval=$enable_pcx;
15574 if test "$enableval" = yes; then
15575 wx_cv_use_pcx='wxUSE_PCX=yes'
15577 wx_cv_use_pcx='wxUSE_PCX=no'
15582 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15587 eval "$wx_cv_use_pcx"
15589 if test x
"$enablestring" = xdisable
; then
15590 if test $wxUSE_PCX = no
; then
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15600 $as_echo "$result" >&6; }
15604 defaultval
=$wxUSE_ALL_FEATURES
15605 if test -z "$defaultval"; then
15606 if test x
"$enablestring" = xdisable
; then
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15614 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15615 # Check whether --enable-tga was given.
15616 if test "${enable_tga+set}" = set; then :
15617 enableval
=$enable_tga;
15618 if test "$enableval" = yes; then
15619 wx_cv_use_tga
='wxUSE_TGA=yes'
15621 wx_cv_use_tga
='wxUSE_TGA=no'
15626 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15631 eval "$wx_cv_use_tga"
15633 if test x"$enablestring" = xdisable; then
15634 if test $wxUSE_TGA = no; then
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15644 $as_echo "$result" >&6; }
15648 defaultval=$wxUSE_ALL_FEATURES
15649 if test -z "$defaultval"; then
15650 if test x"$enablestring" = xdisable; then
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15658 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15659 # Check whether --enable-iff was given.
15660 if test "${enable_iff+set}" = set; then :
15661 enableval=$enable_iff;
15662 if test "$enableval" = yes; then
15663 wx_cv_use_iff='wxUSE_IFF
=yes'
15665 wx_cv_use_iff='wxUSE_IFF
=no
'
15670 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15675 eval "$wx_cv_use_iff"
15677 if test x"$enablestring" = xdisable; then
15678 if test $wxUSE_IFF = no; then
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15688 $as_echo "$result" >&6; }
15692 defaultval=$wxUSE_ALL_FEATURES
15693 if test -z "$defaultval"; then
15694 if test x"$enablestring" = xdisable; then
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-pnm" >&5
15702 $as_echo_n "checking
for --${enablestring:-enable}-pnm...
" >&6; }
15703 # Check whether --enable-pnm was given.
15704 if test "${enable_pnm+set}" = set; then :
15705 enableval=$enable_pnm;
15706 if test "$enableval" = yes; then
15707 wx_cv_use_pnm='wxUSE_PNM=yes'
15709 wx_cv_use_pnm='wxUSE_PNM=no'
15714 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15719 eval "$wx_cv_use_pnm"
15721 if test x
"$enablestring" = xdisable
; then
15722 if test $wxUSE_PNM = no
; then
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15732 $as_echo "$result" >&6; }
15736 defaultval
=$wxUSE_ALL_FEATURES
15737 if test -z "$defaultval"; then
15738 if test x
"$enablestring" = xdisable
; then
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15746 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15747 # Check whether --enable-xpm was given.
15748 if test "${enable_xpm+set}" = set; then :
15749 enableval
=$enable_xpm;
15750 if test "$enableval" = yes; then
15751 wx_cv_use_xpm
='wxUSE_XPM=yes'
15753 wx_cv_use_xpm
='wxUSE_XPM=no'
15758 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15763 eval "$wx_cv_use_xpm"
15765 if test x"$enablestring" = xdisable; then
15766 if test $wxUSE_XPM = no; then
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15776 $as_echo "$result" >&6; }
15780 defaultval=$wxUSE_ALL_FEATURES
15781 if test -z "$defaultval"; then
15782 if test x"$enablestring" = xdisable; then
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15790 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15791 # Check whether --enable-ico_cur was given.
15792 if test "${enable_ico_cur+set}" = set; then :
15793 enableval=$enable_ico_cur;
15794 if test "$enableval" = yes; then
15795 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
15797 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
15802 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15807 eval "$wx_cv_use_ico_cur"
15809 if test x"$enablestring" = xdisable; then
15810 if test $wxUSE_ICO_CUR = no; then
15816 result=$wxUSE_ICO_CUR
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15820 $as_echo "$result" >&6; }
15826 defaultval=$wxUSE_ALL_FEATURES
15827 if test -z "$defaultval"; then
15828 if test x"$enablestring" = xdisable; then
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dccache" >&5
15836 $as_echo_n "checking
for --${enablestring:-enable}-dccache...
" >&6; }
15837 # Check whether --enable-dccache was given.
15838 if test "${enable_dccache+set}" = set; then :
15839 enableval=$enable_dccache;
15840 if test "$enableval" = yes; then
15841 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15843 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15848 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15853 eval "$wx_cv_use_dccache"
15855 if test x
"$enablestring" = xdisable
; then
15856 if test $wxUSE_DC_CACHEING = no
; then
15862 result
=$wxUSE_DC_CACHEING
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15866 $as_echo "$result" >&6; }
15870 defaultval
=$wxUSE_ALL_FEATURES
15871 if test -z "$defaultval"; then
15872 if test x
"$enablestring" = xdisable
; then
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15880 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15881 # Check whether --enable-ps-in-msw was given.
15882 if test "${enable_ps_in_msw+set}" = set; then :
15883 enableval
=$enable_ps_in_msw;
15884 if test "$enableval" = yes; then
15885 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15887 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15892 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15897 eval "$wx_cv_use_ps_in_msw"
15899 if test x"$enablestring" = xdisable; then
15900 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15906 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15910 $as_echo "$result" >&6; }
15914 defaultval=$wxUSE_ALL_FEATURES
15915 if test -z "$defaultval"; then
15916 if test x"$enablestring" = xdisable; then
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15924 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15925 # Check whether --enable-ownerdrawn was given.
15926 if test "${enable_ownerdrawn+set}" = set; then :
15927 enableval=$enable_ownerdrawn;
15928 if test "$enableval" = yes; then
15929 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
15931 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
15936 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15941 eval "$wx_cv_use_ownerdrawn"
15943 if test x"$enablestring" = xdisable; then
15944 if test $wxUSE_OWNER_DRAWN = no; then
15950 result=$wxUSE_OWNER_DRAWN
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15954 $as_echo "$result" >&6; }
15958 defaultval=$wxUSE_ALL_FEATURES
15959 if test -z "$defaultval"; then
15960 if test x"$enablestring" = xdisable; then
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-uxtheme" >&5
15968 $as_echo_n "checking
for --${enablestring:-enable}-uxtheme...
" >&6; }
15969 # Check whether --enable-uxtheme was given.
15970 if test "${enable_uxtheme+set}" = set; then :
15971 enableval=$enable_uxtheme;
15972 if test "$enableval" = yes; then
15973 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15975 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15980 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15985 eval "$wx_cv_use_uxtheme"
15987 if test x
"$enablestring" = xdisable
; then
15988 if test $wxUSE_UXTHEME = no
; then
15994 result
=$wxUSE_UXTHEME
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15998 $as_echo "$result" >&6; }
16002 defaultval
=$wxUSE_ALL_FEATURES
16003 if test -z "$defaultval"; then
16004 if test x
"$enablestring" = xdisable
; then
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16012 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16013 # Check whether --enable-wxdib was given.
16014 if test "${enable_wxdib+set}" = set; then :
16015 enableval
=$enable_wxdib;
16016 if test "$enableval" = yes; then
16017 wx_cv_use_wxdib
='wxUSE_DIB=yes'
16019 wx_cv_use_wxdib
='wxUSE_DIB=no'
16024 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16029 eval "$wx_cv_use_wxdib"
16031 if test x"$enablestring" = xdisable; then
16032 if test $wxUSE_DIB = no; then
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16042 $as_echo "$result" >&6; }
16046 defaultval=$wxUSE_ALL_FEATURES
16047 if test -z "$defaultval"; then
16048 if test x"$enablestring" = xdisable; then
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16056 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16057 # Check whether --enable-webviewie was given.
16058 if test "${enable_webviewie+set}" = set; then :
16059 enableval=$enable_webviewie;
16060 if test "$enableval" = yes; then
16061 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=yes'
16063 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=no
'
16068 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16073 eval "$wx_cv_use_webviewie"
16075 if test x"$enablestring" = xdisable; then
16076 if test $wxUSE_WEBVIEW_IE = no; then
16082 result=$wxUSE_WEBVIEW_IE
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16086 $as_echo "$result" >&6; }
16089 if test "$wxUSE_MSW" != 1; then
16090 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16095 defaultval=$wxUSE_ALL_FEATURES
16096 if test -z "$defaultval"; then
16097 if test x"$enablestring" = xdisable; then
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-autoidman" >&5
16105 $as_echo_n "checking
for --${enablestring:-enable}-autoidman...
" >&6; }
16106 # Check whether --enable-autoidman was given.
16107 if test "${enable_autoidman+set}" = set; then :
16108 enableval=$enable_autoidman;
16109 if test "$enableval" = yes; then
16110 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16112 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16117 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16122 eval "$wx_cv_use_autoidman"
16124 if test x
"$enablestring" = xdisable
; then
16125 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
16131 result
=$wxUSE_AUTOID_MANAGEMENT
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16135 $as_echo "$result" >&6; }
16141 cat >confcache
<<\_ACEOF
16142 # This file is a shell script that caches the results of configure
16143 # tests run on this system so they can be shared between configure
16144 # scripts and configure runs, see configure's option --config-cache.
16145 # It is not useful on other systems. If it contains results you don't
16146 # want to keep, you may remove or edit it.
16148 # config.status only pays attention to the cache file if you give it
16149 # the --recheck option to rerun configure.
16151 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16152 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16153 # following values.
16157 # The following way of writing the cache mishandles newlines in values,
16158 # but we know of no workaround that is simple, portable, and efficient.
16159 # So, we kill variables containing newlines.
16160 # Ultrix sh set writes to stderr and can't be redirected directly,
16161 # and sets the high bit in the cache file unless we assign to the vars.
16163 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16164 eval ac_val
=\$
$ac_var
16168 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16169 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16172 _
| IFS
| as_nl
) ;; #(
16173 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
16174 *) { eval $ac_var=; unset $ac_var;} ;;
16180 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16181 *${as_nl}ac_space
=\
*)
16182 # `set' does not quote correctly, so add quotes: double-quote
16183 # substitution turns \\\\ into \\, and sed turns \\ into \.
16186 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16189 # `set' quotes correctly as required by POSIX, so do not add quotes.
16190 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16199 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16201 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16203 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16204 if test -w "$cache_file"; then
16205 if test "x$cache_file" != "x/dev/null"; then
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16207 $as_echo "$as_me: updating cache $cache_file" >&6;}
16208 if test ! -f "$cache_file" || test -h "$cache_file"; then
16209 cat confcache
>"$cache_file"
16211 case $cache_file in #(
16213 mv -f confcache
"$cache_file"$$
&&
16214 mv -f "$cache_file"$$
"$cache_file" ;; #(
16216 mv -f confcache
"$cache_file" ;;
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16222 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16229 ac_cpp
='$CPP $CPPFLAGS'
16230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16233 if test -n "$ac_tool_prefix"; then
16234 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16235 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16237 $as_echo_n "checking for $ac_word... " >&6; }
16238 if ${ac_cv_prog_CC+:} false
; then :
16239 $as_echo_n "(cached) " >&6
16241 if test -n "$CC"; then
16242 ac_cv_prog_CC
="$CC" # Let the user override the test.
16244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16245 for as_dir
in $PATH
16248 test -z "$as_dir" && as_dir
=.
16249 for ac_exec_ext
in '' $ac_executable_extensions; do
16250 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16251 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
16252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16262 if test -n "$CC"; then
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16264 $as_echo "$CC" >&6; }
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16267 $as_echo "no" >&6; }
16272 if test -z "$ac_cv_prog_CC"; then
16274 # Extract the first word of "gcc", so it can be a program name with args.
16275 set dummy gcc
; ac_word
=$2
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16277 $as_echo_n "checking for $ac_word... " >&6; }
16278 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16279 $as_echo_n "(cached) " >&6
16281 if test -n "$ac_ct_CC"; then
16282 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16285 for as_dir
in $PATH
16288 test -z "$as_dir" && as_dir
=.
16289 for ac_exec_ext
in '' $ac_executable_extensions; do
16290 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16291 ac_cv_prog_ac_ct_CC
="gcc"
16292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16301 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16302 if test -n "$ac_ct_CC"; then
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16304 $as_echo "$ac_ct_CC" >&6; }
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16307 $as_echo "no" >&6; }
16310 if test "x$ac_ct_CC" = x
; then
16313 case $cross_compiling:$ac_tool_warned in
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16317 ac_tool_warned
=yes ;;
16322 CC
="$ac_cv_prog_CC"
16325 if test -z "$CC"; then
16326 if test -n "$ac_tool_prefix"; then
16327 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16328 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16330 $as_echo_n "checking for $ac_word... " >&6; }
16331 if ${ac_cv_prog_CC+:} false
; then :
16332 $as_echo_n "(cached) " >&6
16334 if test -n "$CC"; then
16335 ac_cv_prog_CC
="$CC" # Let the user override the test.
16337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16338 for as_dir
in $PATH
16341 test -z "$as_dir" && as_dir
=.
16342 for ac_exec_ext
in '' $ac_executable_extensions; do
16343 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16344 ac_cv_prog_CC
="${ac_tool_prefix}cc"
16345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16355 if test -n "$CC"; then
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16357 $as_echo "$CC" >&6; }
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16360 $as_echo "no" >&6; }
16366 if test -z "$CC"; then
16367 # Extract the first word of "cc", so it can be a program name with args.
16368 set dummy cc
; ac_word
=$2
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16370 $as_echo_n "checking for $ac_word... " >&6; }
16371 if ${ac_cv_prog_CC+:} false
; then :
16372 $as_echo_n "(cached) " >&6
16374 if test -n "$CC"; then
16375 ac_cv_prog_CC
="$CC" # Let the user override the test.
16377 ac_prog_rejected
=no
16378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16379 for as_dir
in $PATH
16382 test -z "$as_dir" && as_dir
=.
16383 for ac_exec_ext
in '' $ac_executable_extensions; do
16384 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16385 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16386 ac_prog_rejected
=yes
16390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16397 if test $ac_prog_rejected = yes; then
16398 # We found a bogon in the path, so make sure we never use it.
16399 set dummy
$ac_cv_prog_CC
16401 if test $# != 0; then
16402 # We chose a different compiler from the bogus one.
16403 # However, it has the same basename, so the bogon will be chosen
16404 # first if we set CC to just the basename; use the full file name.
16406 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
16412 if test -n "$CC"; then
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16414 $as_echo "$CC" >&6; }
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16417 $as_echo "no" >&6; }
16422 if test -z "$CC"; then
16423 if test -n "$ac_tool_prefix"; then
16424 for ac_prog
in cl.exe
16426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16427 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16429 $as_echo_n "checking for $ac_word... " >&6; }
16430 if ${ac_cv_prog_CC+:} false
; then :
16431 $as_echo_n "(cached) " >&6
16433 if test -n "$CC"; then
16434 ac_cv_prog_CC
="$CC" # Let the user override the test.
16436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16437 for as_dir
in $PATH
16440 test -z "$as_dir" && as_dir
=.
16441 for ac_exec_ext
in '' $ac_executable_extensions; do
16442 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16443 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
16444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16454 if test -n "$CC"; then
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16456 $as_echo "$CC" >&6; }
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16459 $as_echo "no" >&6; }
16463 test -n "$CC" && break
16466 if test -z "$CC"; then
16468 for ac_prog
in cl.exe
16470 # Extract the first word of "$ac_prog", so it can be a program name with args.
16471 set dummy
$ac_prog; ac_word
=$2
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16473 $as_echo_n "checking for $ac_word... " >&6; }
16474 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
16475 $as_echo_n "(cached) " >&6
16477 if test -n "$ac_ct_CC"; then
16478 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
16480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16481 for as_dir
in $PATH
16484 test -z "$as_dir" && as_dir
=.
16485 for ac_exec_ext
in '' $ac_executable_extensions; do
16486 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16487 ac_cv_prog_ac_ct_CC
="$ac_prog"
16488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16497 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
16498 if test -n "$ac_ct_CC"; then
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16500 $as_echo "$ac_ct_CC" >&6; }
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16503 $as_echo "no" >&6; }
16507 test -n "$ac_ct_CC" && break
16510 if test "x$ac_ct_CC" = x
; then
16513 case $cross_compiling:$ac_tool_warned in
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16517 ac_tool_warned
=yes ;;
16526 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16528 as_fn_error $?
"no acceptable C compiler found in \$PATH
16529 See \`config.log' for more details" "$LINENO" 5; }
16531 # Provide some information about the compiler.
16532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16535 for ac_option
in --version -v -V -qversion; do
16536 { { ac_try
="$ac_compiler $ac_option >&5"
16537 case "(($ac_try" in
16538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16539 *) ac_try_echo=$ac_try;;
16541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16542 $as_echo "$ac_try_echo"; } >&5
16543 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16545 if test -s conftest.err; then
16547 ... rest of stderr output deleted ...
16548 10q' conftest.err >conftest.er1
16549 cat conftest.er1 >&5
16551 rm -f conftest.er1 conftest.err
16552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16553 test $ac_status = 0; }
16556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16557 /* end confdefs.h. */
16567 ac_clean_files_save=$ac_clean_files
16568 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16569 # Try to create an executable without -o first, disregard a.out.
16570 # It will help us diagnose broken compilers, and finding out an intuition
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16573 $as_echo_n "checking whether the C compiler works... " >&6; }
16574 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16576 # The possible output files:
16577 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16580 for ac_file in $ac_files
16583 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16584 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16589 if { { ac_try="$ac_link_default"
16590 case "(($ac_try" in
16591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16592 *) ac_try_echo
=$ac_try;;
16594 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16595 $as_echo "$ac_try_echo"; } >&5
16596 (eval "$ac_link_default") 2>&5
16598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16599 test $ac_status = 0; }; then :
16600 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16601 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16602 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16603 # so that the user can short-circuit this test for compilers unknown to
16605 for ac_file
in $ac_files ''
16607 test -f "$ac_file" || continue
16609 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
16612 # We found the default executable, but exeext='' is most
16616 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
16618 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16620 # We set ac_cv_exeext here because the later test for it is not
16621 # safe: cross compilers may not add the suffix if given an `-o'
16622 # argument, so we may need to know it at that point already.
16623 # Even if this section looks crufty: it has the advantage of
16624 # actually working.
16630 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
16635 if test -z "$ac_file"; then :
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16637 $as_echo "no" >&6; }
16638 $as_echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.
$ac_ext >&5
16641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16643 as_fn_error
77 "C compiler cannot create executables
16644 See \`config.log' for more details" "$LINENO" 5; }
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16647 $as_echo "yes" >&6; }
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16650 $as_echo_n "checking for C compiler default output file name... " >&6; }
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16652 $as_echo "$ac_file" >&6; }
16653 ac_exeext
=$ac_cv_exeext
16655 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
16656 ac_clean_files
=$ac_clean_files_save
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16658 $as_echo_n "checking for suffix of executables... " >&6; }
16659 if { { ac_try
="$ac_link"
16660 case "(($ac_try" in
16661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16662 *) ac_try_echo=$ac_try;;
16664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16665 $as_echo "$ac_try_echo"; } >&5
16666 (eval "$ac_link") 2>&5
16668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16669 test $ac_status = 0; }; then :
16670 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
16671 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
16672 # work properly (i.e., refer to `conftest.exe'), while it won't with
16674 for ac_file
in conftest.exe conftest conftest.
*; do
16675 test -f "$ac_file" || continue
16677 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
16678 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
16684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16686 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
16687 See \`config.log' for more details" "$LINENO" 5; }
16689 rm -f conftest conftest
$ac_cv_exeext
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16691 $as_echo "$ac_cv_exeext" >&6; }
16693 rm -f conftest.
$ac_ext
16694 EXEEXT
=$ac_cv_exeext
16696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16702 FILE *f = fopen ("conftest.out", "w");
16703 return ferror (f) || fclose (f) != 0;
16709 ac_clean_files
="$ac_clean_files conftest.out"
16710 # Check that the compiler produces executables we can run. If not, either
16711 # the compiler is broken, or we cross compile.
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16713 $as_echo_n "checking whether we are cross compiling... " >&6; }
16714 if test "$cross_compiling" != yes; then
16715 { { ac_try
="$ac_link"
16716 case "(($ac_try" in
16717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16718 *) ac_try_echo=$ac_try;;
16720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16721 $as_echo "$ac_try_echo"; } >&5
16722 (eval "$ac_link") 2>&5
16724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16725 test $ac_status = 0; }
16726 if { ac_try='./conftest$ac_cv_exeext'
16727 { { case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16729 *) ac_try_echo
=$ac_try;;
16731 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16732 $as_echo "$ac_try_echo"; } >&5
16733 (eval "$ac_try") 2>&5
16735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16736 test $ac_status = 0; }; }; then
16739 if test "$cross_compiling" = maybe
; then
16740 cross_compiling
=yes
16742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16744 as_fn_error $?
"cannot run C compiled programs.
16745 If you meant to cross compile, use \`--host'.
16746 See \`config.log' for more details" "$LINENO" 5; }
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16751 $as_echo "$cross_compiling" >&6; }
16753 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
16754 ac_clean_files
=$ac_clean_files_save
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16756 $as_echo_n "checking for suffix of object files... " >&6; }
16757 if ${ac_cv_objext+:} false
; then :
16758 $as_echo_n "(cached) " >&6
16760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16771 rm -f conftest.o conftest.obj
16772 if { { ac_try
="$ac_compile"
16773 case "(($ac_try" in
16774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16775 *) ac_try_echo=$ac_try;;
16777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16778 $as_echo "$ac_try_echo"; } >&5
16779 (eval "$ac_compile") 2>&5
16781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16782 test $ac_status = 0; }; then :
16783 for ac_file in conftest.o conftest.obj conftest.*; do
16784 test -f "$ac_file" || continue;
16786 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16787 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16792 $as_echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.$ac_ext >&5
16795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16797 as_fn_error $? "cannot compute suffix of object files
: cannot compile
16798 See \
`config.log' for more details" "$LINENO" 5; }
16800 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16803 $as_echo "$ac_cv_objext" >&6; }
16804 OBJEXT=$ac_cv_objext
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16807 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16808 if ${ac_cv_c_compiler_gnu+:} false; then :
16809 $as_echo_n "(cached) " >&6
16811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16812 /* end confdefs.h. */
16825 if ac_fn_c_try_compile "$LINENO"; then :
16826 ac_compiler_gnu=yes
16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16835 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16836 if test $ac_compiler_gnu = yes; then
16841 ac_test_CFLAGS=${CFLAGS+set}
16842 ac_save_CFLAGS=$CFLAGS
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16844 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16845 if ${ac_cv_prog_cc_g+:} false; then :
16846 $as_echo_n "(cached) " >&6
16848 ac_save_c_werror_flag=$ac_c_werror_flag
16849 ac_c_werror_flag=yes
16852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h. */
16863 if ac_fn_c_try_compile "$LINENO"; then :
16864 ac_cv_prog_cc_g=yes
16867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h. */
16878 if ac_fn_c_try_compile "$LINENO"; then :
16881 ac_c_werror_flag=$ac_save_c_werror_flag
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16894 if ac_fn_c_try_compile "$LINENO"; then :
16895 ac_cv_prog_cc_g=yes
16897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16902 ac_c_werror_flag=$ac_save_c_werror_flag
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16905 $as_echo "$ac_cv_prog_cc_g" >&6; }
16906 if test "$ac_test_CFLAGS" = set; then
16907 CFLAGS=$ac_save_CFLAGS
16908 elif test $ac_cv_prog_cc_g = yes; then
16909 if test "$GCC" = yes; then
16915 if test "$GCC" = yes; then
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16922 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16923 if ${ac_cv_prog_cc_c89+:} false; then :
16924 $as_echo_n "(cached) " >&6
16926 ac_cv_prog_cc_c89=no
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16930 #include <stdarg.h>
16933 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16934 struct buf { int x; };
16935 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16936 static char *e (p, i)
16942 static char *f (char * (*g) (char **, int), char **p, ...)
16947 s = g (p, va_arg (v,int));
16952 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16953 function prototypes and stuff, but not '\xHH' hex character constants.
16954 These don't provoke an error unfortunately, instead are silently treated
16955 as 'x'. The following induces an error, until -std is added to get
16956 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16957 array size at least. It's necessary to write '\x00'==0 to get something
16958 that's true only with -std. */
16959 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16961 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16962 inside strings and character constants. */
16964 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16966 int test (int i, double x);
16967 struct s1 {int (*f) (int a);};
16968 struct s2 {int (*f) (double a);};
16969 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16975 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16980 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16981 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16983 CC="$ac_save_CC $ac_arg"
16984 if ac_fn_c_try_compile "$LINENO"; then :
16985 ac_cv_prog_cc_c89=$ac_arg
16987 rm -f core conftest.err conftest.$ac_objext
16988 test "x$ac_cv_prog_cc_c89" != "xno" && break
16990 rm -f conftest.$ac_ext
16995 case "x$ac_cv_prog_cc_c89" in
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16998 $as_echo "none needed" >&6; } ;;
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17001 $as_echo "unsupported" >&6; } ;;
17003 CC="$CC $ac_cv_prog_cc_c89"
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17005 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17007 if test "x$ac_cv_prog_cc_c89" != xno; then :
17012 ac_cpp='$CPP $CPPFLAGS'
17013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17025 ac_cpp='$CPP $CPPFLAGS'
17026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17031 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17032 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17033 $as_echo_n "(cached) " >&6
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17042 #ifndef __INTEL_COMPILER
17050 if ac_fn_c_try_compile "$LINENO"; then :
17051 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17053 bakefile_cv_c_compiler___INTEL_COMPILER=no
17056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17061 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17062 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17068 ac_cpp='$CPP $CPPFLAGS'
17069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17076 if test "$INTELCC" = "yes"; then
17080 ac_cpp='$CPP $CPPFLAGS'
17081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17086 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17087 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17088 $as_echo_n "(cached) " >&6
17090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17091 /* end confdefs.h. */
17097 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17105 if ac_fn_c_try_compile "$LINENO"; then :
17106 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17108 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17116 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17117 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17123 ac_cpp='$CPP $CPPFLAGS'
17124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17133 ac_cpp='$CPP $CPPFLAGS'
17134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17139 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17140 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17141 $as_echo_n "(cached) " >&6
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17150 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17158 if ac_fn_c_try_compile "$LINENO"; then :
17159 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17161 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17169 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17170 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17176 ac_cpp='$CPP $CPPFLAGS'
17177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17185 if test "x$GCC" != "xyes"; then
17186 if test "xCC" = "xC"; then
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17188 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17189 if ${bakefile_cv_c_exto+:} false; then :
17190 $as_echo_n "(cached) " >&6
17192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17193 /* end confdefs.h. */
17203 rm -f conftest.$ac_objext conftest.$ac_ext.o
17204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17205 (eval $ac_compile) 2>&5
17207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17208 test $ac_status = 0; }; then :
17209 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
17211 conftest.$ac_ext.o)
17212 bakefile_cv_c_exto="-ext o"
17219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17221 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
17222 See \
`config.log' for more details" "$LINENO" 5; }
17225 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17229 $as_echo "$bakefile_cv_c_exto" >&6; }
17230 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17231 if test "c" = "c"; then
17232 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17234 if test "c" = "cxx"; then
17235 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17239 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17240 unset ac_cv_prog_cc_g
17241 ac_test_CFLAGS=${CFLAGS+set}
17242 ac_save_CFLAGS=$CFLAGS
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17244 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17245 if ${ac_cv_prog_cc_g+:} false; then :
17246 $as_echo_n "(cached) " >&6
17248 ac_save_c_werror_flag=$ac_c_werror_flag
17249 ac_c_werror_flag=yes
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17263 if ac_fn_c_try_compile "$LINENO"; then :
17264 ac_cv_prog_cc_g=yes
17267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17278 if ac_fn_c_try_compile "$LINENO"; then :
17281 ac_c_werror_flag=$ac_save_c_werror_flag
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17294 if ac_fn_c_try_compile "$LINENO"; then :
17295 ac_cv_prog_cc_g=yes
17297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17302 ac_c_werror_flag=$ac_save_c_werror_flag
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17305 $as_echo "$ac_cv_prog_cc_g" >&6; }
17306 if test "$ac_test_CFLAGS" = set; then
17307 CFLAGS=$ac_save_CFLAGS
17308 elif test $ac_cv_prog_cc_g = yes; then
17309 if test "$GCC" = yes; then
17315 if test "$GCC" = yes; then
17329 ac_cpp='$CPP $CPPFLAGS'
17330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17335 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17336 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17337 $as_echo_n "(cached) " >&6
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17354 if ac_fn_c_try_compile "$LINENO"; then :
17355 bakefile_cv_c_compiler___xlC__=yes
17357 bakefile_cv_c_compiler___xlC__=no
17360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17365 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17366 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17372 ac_cpp='$CPP $CPPFLAGS'
17373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17385 ac_cpp='$CPP $CPPFLAGS'
17386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17391 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17392 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17393 $as_echo_n "(cached) " >&6
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17410 if ac_fn_c_try_compile "$LINENO"; then :
17411 bakefile_cv_c_compiler___MWERKS__=yes
17413 bakefile_cv_c_compiler___MWERKS__=no
17416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17421 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17422 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17428 ac_cpp='$CPP $CPPFLAGS'
17429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17435 if test "$MWCC" != "yes"; then
17439 ac_cpp='$CPP $CPPFLAGS'
17440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17445 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17446 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17447 $as_echo_n "(cached) " >&6
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17464 if ac_fn_c_try_compile "$LINENO"; then :
17465 bakefile_cv_c_compiler___xlC__=yes
17467 bakefile_cv_c_compiler___xlC__=no
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17475 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17476 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17482 ac_cpp='$CPP $CPPFLAGS'
17483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17496 ac_cpp='$CPP $CPPFLAGS'
17497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17502 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17503 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17504 $as_echo_n "(cached) " >&6
17506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17513 #ifndef _SGI_COMPILER_VERSION
17521 if ac_fn_c_try_compile "$LINENO"; then :
17522 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17524 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17532 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17533 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17539 ac_cpp='$CPP $CPPFLAGS'
17540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17549 if test "$INTELCC" != "yes"; then
17553 ac_cpp='$CPP $CPPFLAGS'
17554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17559 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17560 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17561 $as_echo_n "(cached) " >&6
17563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h. */
17578 if ac_fn_c_try_compile "$LINENO"; then :
17579 bakefile_cv_c_compiler___SUNPRO_C=yes
17581 bakefile_cv_c_compiler___SUNPRO_C=no
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17589 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17590 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17596 ac_cpp='$CPP $CPPFLAGS'
17597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17610 ac_cpp='$CPP $CPPFLAGS'
17611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17616 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17617 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17618 $as_echo_n "(cached) " >&6
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17635 if ac_fn_c_try_compile "$LINENO"; then :
17636 bakefile_cv_c_compiler___HP_cc=yes
17638 bakefile_cv_c_compiler___HP_cc=no
17641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17646 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17647 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17653 ac_cpp='$CPP $CPPFLAGS'
17654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17666 ac_cpp='$CPP $CPPFLAGS'
17667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17672 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17673 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17674 $as_echo_n "(cached) " >&6
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17691 if ac_fn_c_try_compile "$LINENO"; then :
17692 bakefile_cv_c_compiler___DECC=yes
17694 bakefile_cv_c_compiler___DECC=no
17697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17702 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17703 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17709 ac_cpp='$CPP $CPPFLAGS'
17710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17722 ac_cpp='$CPP $CPPFLAGS'
17723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17728 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17729 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17730 $as_echo_n "(cached) " >&6
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17747 if ac_fn_c_try_compile "$LINENO"; then :
17748 bakefile_cv_c_compiler___SUNPRO_C=yes
17750 bakefile_cv_c_compiler___SUNPRO_C=no
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17758 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17759 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17765 ac_cpp='$CPP $CPPFLAGS'
17766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17779 ac_cpp='$CPP $CPPFLAGS'
17780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17784 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17785 # On Suns, sometimes $CPP names a directory.
17786 if test -n "$CPP" && test -d "$CPP"; then
17789 if test -z "$CPP"; then
17790 if ${ac_cv_prog_CPP+:} false; then :
17791 $as_echo_n "(cached) " >&6
17793 # Double quotes because CPP needs to be expanded
17794 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17796 ac_preproc_ok=false
17797 for ac_c_preproc_warn_flag in '' yes
17799 # Use a header file that comes with gcc, so configuring glibc
17800 # with a fresh cross-compiler works.
17801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17802 # <limits.h> exists even on freestanding compilers.
17803 # On the NeXT, cc -E runs the code through the compiler's parser,
17804 # not just through cpp. "Syntax error" is here to catch this case.
17805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17806 /* end confdefs.h. */
17808 # include <limits.h>
17810 # include <assert.h>
17814 if ac_fn_c_try_cpp "$LINENO"; then :
17817 # Broken: fails on valid input.
17820 rm -f conftest.err conftest.i conftest.$ac_ext
17822 # OK, works on sane cases. Now check whether nonexistent headers
17823 # can be detected and how.
17824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17825 /* end confdefs.h. */
17826 #include <ac_nonexistent.h>
17828 if ac_fn_c_try_cpp "$LINENO"; then :
17829 # Broken: success on invalid input.
17832 # Passes both tests.
17836 rm -f conftest.err conftest.i conftest.$ac_ext
17839 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17840 rm -f conftest.i conftest.err conftest.
$ac_ext
17841 if $ac_preproc_ok; then :
17846 ac_cv_prog_CPP
=$CPP
17849 CPP
=$ac_cv_prog_CPP
17851 ac_cv_prog_CPP
=$CPP
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17854 $as_echo "$CPP" >&6; }
17855 ac_preproc_ok
=false
17856 for ac_c_preproc_warn_flag
in '' yes
17858 # Use a header file that comes with gcc, so configuring glibc
17859 # with a fresh cross-compiler works.
17860 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17861 # <limits.h> exists even on freestanding compilers.
17862 # On the NeXT, cc -E runs the code through the compiler's parser,
17863 # not just through cpp. "Syntax error" is here to catch this case.
17864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17865 /* end confdefs.h. */
17867 # include <limits.h>
17869 # include <assert.h>
17873 if ac_fn_c_try_cpp
"$LINENO"; then :
17876 # Broken: fails on valid input.
17879 rm -f conftest.err conftest.i conftest.
$ac_ext
17881 # OK, works on sane cases. Now check whether nonexistent headers
17882 # can be detected and how.
17883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17885 #include <ac_nonexistent.h>
17887 if ac_fn_c_try_cpp
"$LINENO"; then :
17888 # Broken: success on invalid input.
17891 # Passes both tests.
17895 rm -f conftest.err conftest.i conftest.
$ac_ext
17898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17899 rm -f conftest.i conftest.err conftest.
$ac_ext
17900 if $ac_preproc_ok; then :
17903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17905 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
17906 See \`config.log' for more details" "$LINENO" 5; }
17910 ac_cpp
='$CPP $CPPFLAGS'
17911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17917 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17918 if ${ac_cv_path_GREP+:} false
; then :
17919 $as_echo_n "(cached) " >&6
17921 if test -z "$GREP"; then
17922 ac_path_GREP_found
=false
17923 # Loop through the user's path and test for each of PROGNAME-LIST
17924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17925 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17928 test -z "$as_dir" && as_dir
=.
17929 for ac_prog
in grep ggrep
; do
17930 for ac_exec_ext
in '' $ac_executable_extensions; do
17931 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17932 as_fn_executable_p
"$ac_path_GREP" || continue
17933 # Check for GNU ac_path_GREP and select it if it is found.
17934 # Check for GNU $ac_path_GREP
17935 case `"$ac_path_GREP" --version 2>&1` in
17937 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17940 $as_echo_n 0123456789 >"conftest.in"
17943 cat "conftest.in" "conftest.in" >"conftest.tmp"
17944 mv "conftest.tmp" "conftest.in"
17945 cp "conftest.in" "conftest.nl"
17946 $as_echo 'GREP' >> "conftest.nl"
17947 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17948 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17949 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
17950 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17951 # Best one so far, save it but keep looking for a better one
17952 ac_cv_path_GREP
="$ac_path_GREP"
17953 ac_path_GREP_max
=$ac_count
17955 # 10*(2^10) chars as input seems more than enough
17956 test $ac_count -gt 10 && break
17958 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17961 $ac_path_GREP_found && break 3
17966 if test -z "$ac_cv_path_GREP"; then
17967 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17970 ac_cv_path_GREP
=$GREP
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17975 $as_echo "$ac_cv_path_GREP" >&6; }
17976 GREP
="$ac_cv_path_GREP"
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17980 $as_echo_n "checking for egrep... " >&6; }
17981 if ${ac_cv_path_EGREP+:} false
; then :
17982 $as_echo_n "(cached) " >&6
17984 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17985 then ac_cv_path_EGREP
="$GREP -E"
17987 if test -z "$EGREP"; then
17988 ac_path_EGREP_found
=false
17989 # Loop through the user's path and test for each of PROGNAME-LIST
17990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17991 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17994 test -z "$as_dir" && as_dir
=.
17995 for ac_prog
in egrep; do
17996 for ac_exec_ext
in '' $ac_executable_extensions; do
17997 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17998 as_fn_executable_p
"$ac_path_EGREP" || continue
17999 # Check for GNU ac_path_EGREP and select it if it is found.
18000 # Check for GNU $ac_path_EGREP
18001 case `"$ac_path_EGREP" --version 2>&1` in
18003 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18006 $as_echo_n 0123456789 >"conftest.in"
18009 cat "conftest.in" "conftest.in" >"conftest.tmp"
18010 mv "conftest.tmp" "conftest.in"
18011 cp "conftest.in" "conftest.nl"
18012 $as_echo 'EGREP' >> "conftest.nl"
18013 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18014 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18015 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18016 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18017 # Best one so far, save it but keep looking for a better one
18018 ac_cv_path_EGREP
="$ac_path_EGREP"
18019 ac_path_EGREP_max
=$ac_count
18021 # 10*(2^10) chars as input seems more than enough
18022 test $ac_count -gt 10 && break
18024 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18027 $ac_path_EGREP_found && break 3
18032 if test -z "$ac_cv_path_EGREP"; then
18033 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18036 ac_cv_path_EGREP
=$EGREP
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18042 $as_echo "$ac_cv_path_EGREP" >&6; }
18043 EGREP
="$ac_cv_path_EGREP"
18046 if test $ac_cv_c_compiler_gnu = yes; then
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18048 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18049 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18050 $as_echo_n "(cached) " >&6
18052 ac_pattern
="Autoconf.*'x'"
18053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18054 /* end confdefs.h. */
18058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18059 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18060 ac_cv_prog_gcc_traditional
=yes
18062 ac_cv_prog_gcc_traditional
=no
18067 if test $ac_cv_prog_gcc_traditional = no
; then
18068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18070 #include <termio.h>
18073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18074 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18075 ac_cv_prog_gcc_traditional
=yes
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18082 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18083 if test $ac_cv_prog_gcc_traditional = yes; then
18084 CC
="$CC -traditional"
18089 CXXFLAGS
=${CXXFLAGS:=}
18091 ac_cpp
='$CXXCPP $CPPFLAGS'
18092 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18095 if test -z "$CXX"; then
18096 if test -n "$CCC"; then
18099 if test -n "$ac_tool_prefix"; then
18100 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18103 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18105 $as_echo_n "checking for $ac_word... " >&6; }
18106 if ${ac_cv_prog_CXX+:} false
; then :
18107 $as_echo_n "(cached) " >&6
18109 if test -n "$CXX"; then
18110 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18113 for as_dir
in $PATH
18116 test -z "$as_dir" && as_dir
=.
18117 for ac_exec_ext
in '' $ac_executable_extensions; do
18118 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18119 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18129 CXX
=$ac_cv_prog_CXX
18130 if test -n "$CXX"; then
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18132 $as_echo "$CXX" >&6; }
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18135 $as_echo "no" >&6; }
18139 test -n "$CXX" && break
18142 if test -z "$CXX"; then
18144 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18146 # Extract the first word of "$ac_prog", so it can be a program name with args.
18147 set dummy
$ac_prog; ac_word
=$2
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18149 $as_echo_n "checking for $ac_word... " >&6; }
18150 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18151 $as_echo_n "(cached) " >&6
18153 if test -n "$ac_ct_CXX"; then
18154 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18157 for as_dir
in $PATH
18160 test -z "$as_dir" && as_dir
=.
18161 for ac_exec_ext
in '' $ac_executable_extensions; do
18162 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18163 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18173 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18174 if test -n "$ac_ct_CXX"; then
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18176 $as_echo "$ac_ct_CXX" >&6; }
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18179 $as_echo "no" >&6; }
18183 test -n "$ac_ct_CXX" && break
18186 if test "x$ac_ct_CXX" = x
; then
18189 case $cross_compiling:$ac_tool_warned in
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18193 ac_tool_warned
=yes ;;
18201 # Provide some information about the compiler.
18202 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18205 for ac_option
in --version -v -V -qversion; do
18206 { { ac_try
="$ac_compiler $ac_option >&5"
18207 case "(($ac_try" in
18208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18209 *) ac_try_echo=$ac_try;;
18211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18212 $as_echo "$ac_try_echo"; } >&5
18213 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18215 if test -s conftest.err; then
18217 ... rest of stderr output deleted ...
18218 10q' conftest.err >conftest.er1
18219 cat conftest.er1 >&5
18221 rm -f conftest.er1 conftest.err
18222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18223 test $ac_status = 0; }
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18227 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18228 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18229 $as_echo_n "(cached) " >&6
18231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18232 /* end confdefs.h. */
18245 if ac_fn_cxx_try_compile "$LINENO"; then :
18246 ac_compiler_gnu=yes
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18255 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18256 if test $ac_compiler_gnu = yes; then
18261 ac_test_CXXFLAGS=${CXXFLAGS+set}
18262 ac_save_CXXFLAGS=$CXXFLAGS
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18264 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18265 if ${ac_cv_prog_cxx_g+:} false; then :
18266 $as_echo_n "(cached) " >&6
18268 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18269 ac_cxx_werror_flag=yes
18270 ac_cv_prog_cxx_g=no
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18283 if ac_fn_cxx_try_compile "$LINENO"; then :
18284 ac_cv_prog_cxx_g=yes
18287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18288 /* end confdefs.h. */
18298 if ac_fn_cxx_try_compile "$LINENO"; then :
18301 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18304 /* end confdefs.h. */
18314 if ac_fn_cxx_try_compile "$LINENO"; then :
18315 ac_cv_prog_cxx_g=yes
18317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18322 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18325 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18326 if test "$ac_test_CXXFLAGS" = set; then
18327 CXXFLAGS=$ac_save_CXXFLAGS
18328 elif test $ac_cv_prog_cxx_g = yes; then
18329 if test "$GXX" = yes; then
18335 if test "$GXX" = yes; then
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18355 ac_cpp='$CXXCPP $CPPFLAGS'
18356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18361 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18362 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18363 $as_echo_n "(cached) " >&6
18365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18366 /* end confdefs.h. */
18372 #ifndef __INTEL_COMPILER
18380 if ac_fn_cxx_try_compile "$LINENO"; then :
18381 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18383 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18391 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18392 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18398 ac_cpp='$CPP $CPPFLAGS'
18399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18406 if test "$INTELCXX" = "yes"; then
18410 ac_cpp='$CXXCPP $CPPFLAGS'
18411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18416 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18417 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18418 $as_echo_n "(cached) " >&6
18420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18421 /* end confdefs.h. */
18427 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18435 if ac_fn_cxx_try_compile "$LINENO"; then :
18436 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18438 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18446 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18447 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18453 ac_cpp='$CPP $CPPFLAGS'
18454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18463 ac_cpp='$CXXCPP $CPPFLAGS'
18464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18469 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18470 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18471 $as_echo_n "(cached) " >&6
18473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18474 /* end confdefs.h. */
18480 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18488 if ac_fn_cxx_try_compile "$LINENO"; then :
18489 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18491 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18499 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18500 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18506 ac_cpp='$CPP $CPPFLAGS'
18507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18515 if test "x$GCXX" != "xyes"; then
18516 if test "xCXX" = "xC"; then
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18518 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18519 if ${bakefile_cv_c_exto+:} false; then :
18520 $as_echo_n "(cached) " >&6
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18533 rm -f conftest.$ac_objext conftest.$ac_ext.o
18534 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18535 (eval $ac_compile) 2>&5
18537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18538 test $ac_status = 0; }; then :
18539 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18541 conftest.$ac_ext.o)
18542 bakefile_cv_c_exto="-ext o"
18549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18551 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18552 See \
`config.log' for more details" "$LINENO" 5; }
18555 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18559 $as_echo "$bakefile_cv_c_exto" >&6; }
18560 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18561 if test "c" = "c"; then
18562 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18564 if test "c" = "cxx"; then
18565 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18569 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18570 unset ac_cv_prog_cc_g
18571 ac_test_CFLAGS=${CFLAGS+set}
18572 ac_save_CFLAGS=$CFLAGS
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18574 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18575 if ${ac_cv_prog_cc_g+:} false; then :
18576 $as_echo_n "(cached) " >&6
18578 ac_save_c_werror_flag=$ac_c_werror_flag
18579 ac_c_werror_flag=yes
18582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18583 /* end confdefs.h. */
18593 if ac_fn_c_try_compile "$LINENO"; then :
18594 ac_cv_prog_cc_g=yes
18597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18598 /* end confdefs.h. */
18608 if ac_fn_c_try_compile "$LINENO"; then :
18611 ac_c_werror_flag=$ac_save_c_werror_flag
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18624 if ac_fn_c_try_compile "$LINENO"; then :
18625 ac_cv_prog_cc_g=yes
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18632 ac_c_werror_flag=$ac_save_c_werror_flag
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18635 $as_echo "$ac_cv_prog_cc_g" >&6; }
18636 if test "$ac_test_CFLAGS" = set; then
18637 CFLAGS=$ac_save_CFLAGS
18638 elif test $ac_cv_prog_cc_g = yes; then
18639 if test "$GCC" = yes; then
18645 if test "$GCC" = yes; then
18659 ac_cpp='$CXXCPP $CPPFLAGS'
18660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18665 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18666 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18667 $as_echo_n "(cached) " >&6
18669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18684 if ac_fn_cxx_try_compile "$LINENO"; then :
18685 bakefile_cv_cxx_compiler___xlC__=yes
18687 bakefile_cv_cxx_compiler___xlC__=no
18690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18695 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18696 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18702 ac_cpp='$CPP $CPPFLAGS'
18703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18715 ac_cpp='$CXXCPP $CPPFLAGS'
18716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18721 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18722 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18723 $as_echo_n "(cached) " >&6
18725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18726 /* end confdefs.h. */
18740 if ac_fn_cxx_try_compile "$LINENO"; then :
18741 bakefile_cv_cxx_compiler___MWERKS__=yes
18743 bakefile_cv_cxx_compiler___MWERKS__=no
18746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18751 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18752 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18758 ac_cpp='$CPP $CPPFLAGS'
18759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18765 if test "$MWCXX" != "yes"; then
18769 ac_cpp='$CXXCPP $CPPFLAGS'
18770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18775 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18776 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18777 $as_echo_n "(cached) " >&6
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18794 if ac_fn_cxx_try_compile "$LINENO"; then :
18795 bakefile_cv_cxx_compiler___xlC__=yes
18797 bakefile_cv_cxx_compiler___xlC__=no
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18805 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18806 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18812 ac_cpp='$CPP $CPPFLAGS'
18813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18826 ac_cpp='$CXXCPP $CPPFLAGS'
18827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18832 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18833 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18834 $as_echo_n "(cached) " >&6
18836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18843 #ifndef _SGI_COMPILER_VERSION
18851 if ac_fn_cxx_try_compile "$LINENO"; then :
18852 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18854 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18862 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18863 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18869 ac_cpp='$CPP $CPPFLAGS'
18870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18879 if test "$INTELCXX" != "yes"; then
18883 ac_cpp='$CXXCPP $CPPFLAGS'
18884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18889 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18890 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18891 $as_echo_n "(cached) " >&6
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18900 #ifndef __SUNPRO_CC
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18911 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18919 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18920 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18926 ac_cpp='$CPP $CPPFLAGS'
18927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18940 ac_cpp='$CXXCPP $CPPFLAGS'
18941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18946 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18947 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
18948 $as_echo_n "(cached) " >&6
18950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18965 if ac_fn_cxx_try_compile "$LINENO"; then :
18966 bakefile_cv_cxx_compiler___HP_aCC=yes
18968 bakefile_cv_cxx_compiler___HP_aCC=no
18971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18976 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18977 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18983 ac_cpp='$CPP $CPPFLAGS'
18984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18996 ac_cpp='$CXXCPP $CPPFLAGS'
18997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19002 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19003 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19004 $as_echo_n "(cached) " >&6
19006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19007 /* end confdefs.h. */
19021 if ac_fn_cxx_try_compile "$LINENO"; then :
19022 bakefile_cv_cxx_compiler___DECCXX=yes
19024 bakefile_cv_cxx_compiler___DECCXX=no
19027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19032 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19033 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19039 ac_cpp='$CPP $CPPFLAGS'
19040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19052 ac_cpp='$CXXCPP $CPPFLAGS'
19053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19058 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19059 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19060 $as_echo_n "(cached) " >&6
19062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19063 /* end confdefs.h. */
19069 #ifndef __SUNPRO_CC
19077 if ac_fn_cxx_try_compile "$LINENO"; then :
19078 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19080 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19088 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19089 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19095 ac_cpp='$CPP $CPPFLAGS'
19096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19108 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19109 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19112 if test "x$SUNCXX" != xyes; then
19113 if test -n "$ac_tool_prefix"; then
19114 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19115 set dummy ${ac_tool_prefix}ar; ac_word=$2
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19117 $as_echo_n "checking for $ac_word... " >&6; }
19118 if ${ac_cv_prog_AR+:} false; then :
19119 $as_echo_n "(cached) " >&6
19121 if test -n "$AR"; then
19122 ac_cv_prog_AR="$AR" # Let the user override the test.
19124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19125 for as_dir in $PATH
19128 test -z "$as_dir" && as_dir=.
19129 for ac_exec_ext in '' $ac_executable_extensions; do
19130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19131 ac_cv_prog_AR="${ac_tool_prefix}ar"
19132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19142 if test -n "$AR"; then
19143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19144 $as_echo "$AR" >&6; }
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19147 $as_echo "no" >&6; }
19152 if test -z "$ac_cv_prog_AR"; then
19154 # Extract the first word of "ar", so it can be a program name with args.
19155 set dummy ar; ac_word=$2
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19157 $as_echo_n "checking for $ac_word... " >&6; }
19158 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19159 $as_echo_n "(cached) " >&6
19161 if test -n "$ac_ct_AR"; then
19162 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19165 for as_dir in $PATH
19168 test -z "$as_dir" && as_dir=.
19169 for ac_exec_ext in '' $ac_executable_extensions; do
19170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19171 ac_cv_prog_ac_ct_AR="ar"
19172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19181 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19182 if test -n "$ac_ct_AR"; then
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19184 $as_echo "$ac_ct_AR" >&6; }
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19187 $as_echo "no" >&6; }
19190 if test "x$ac_ct_AR" = x; then
19193 case $cross_compiling:$ac_tool_warned in
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19197 ac_tool_warned=yes ;;
19202 AR="$ac_cv_prog_AR"
19205 if test "x$AR" = "x" ; then
19206 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19211 if test "$wxUSE_MAC" = 1; then
19213 retest_macosx_linking=no
19217 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19218 if test "x$wxUSE_MAC_ARCH" != xno; then
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19220 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19223 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19224 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19225 else OSX_ARCH_OPTS="ppc,i386"
19226 if test "$wxUSE_OSX_COCOA" = 1; then
19227 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19232 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19234 $as_echo "$OSX_ARCH_OPTS" >&6; }
19236 retest_macosx_linking=yes
19238 if test "x$wxUSE_MAC_ARCH" != xno; then
19239 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19243 if test "x$OSX_ARCH_OPTS" != "x"; then
19244 if echo $OSX_ARCH_OPTS | grep -q ","; then
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19246 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19247 disable_macosx_deps=yes
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19250 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19254 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19256 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19257 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19258 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19259 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19260 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19263 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19265 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19266 # TODO: Search for most recent SDK and use it.
19267 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19271 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19273 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19274 if ! test -d "$wxUSE_MACOSX_SDK"; then
19275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19277 as_fn_error $? "not found
19278 See \
`config.log' for more details" "$LINENO" 5; }
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19281 $as_echo "exists" >&6; }
19283 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19284 retest_macosx_linking=yes
19287 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19288 wxUSE_MACOSX_VERSION_MIN=
19289 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19290 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19292 $as_echo_n "checking SDK deployment version... " >&6; }
19294 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/'`
19296 # If that failed, try again with the new key
19297 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19299 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/'`
19303 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19304 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19306 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19309 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19310 wxUSE_MACOSX_VERSION_MIN=
19313 wxUSE_MACOSX_VERSION_MIN=
19315 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19316 wxUSE_MACOSX_VERSION_MIN=10.5
19319 if test "x$MACOSX_SDK_OPTS" != "x"; then
19320 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19321 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19322 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19323 retest_macosx_linking=yes
19326 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19327 if test "$wxUSE_OSX_IPHONE" = 1; then
19328 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19330 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19332 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19333 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19334 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19335 retest_macosx_linking=yes
19338 if test "x$retest_macosx_linking" = "xyes"; then
19340 ac_cpp='$CPP $CPPFLAGS'
19341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19346 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19348 /* end confdefs.h. */
19358 if ac_fn_c_try_link "$LINENO"; then :
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19360 $as_echo "yes" >&6; }
19362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19364 as_fn_error $? "no. Try a different SDK
19365 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19367 rm -f core conftest.err conftest.$ac_objext \
19368 conftest$ac_exeext conftest.$ac_ext
19370 ac_cpp='$CPP $CPPFLAGS'
19371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19377 ac_cpp='$CXXCPP $CPPFLAGS'
19378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19383 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19395 if ac_fn_cxx_try_link "$LINENO"; then :
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19397 $as_echo "yes" >&6; }
19399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19401 as_fn_error $? "no. Try a different SDK
19402 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19404 rm -f core conftest.err conftest.$ac_objext \
19405 conftest$ac_exeext conftest.$ac_ext
19407 ac_cpp='$CPP $CPPFLAGS'
19408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19418 INSTALL_PROGRAM="cp -fp"
19419 INSTALL_DATA="cp -fp"
19426 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19427 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19430 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19431 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19434 if test "x$USE_AIX" = "x1"; then
19435 if test "x$XLCXX" = "xyes"; then
19436 CXXFLAGS="-qunique $CXXFLAGS"
19439 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19443 powerpc-*-darwin* )
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19445 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19452 #ifndef __POWERPC__
19453 choke me for lack of PowerPC
19460 if ac_fn_c_try_compile "$LINENO"; then :
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19462 $as_echo "yes" >&6; }
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19465 $as_echo "no" >&6; }
19466 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19477 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h. */
19480 #include <CoreFoundation/CFBase.h>
19490 if ac_fn_c_try_compile "$LINENO"; then :
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19492 $as_echo "yes" >&6; }
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19495 $as_echo "no" >&6; }
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19497 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19499 /* end confdefs.h. */
19500 #define __CF_USE_FRAMEWORK_INCLUDES__
19501 #include <CoreFoundation/CFBase.h>
19511 if ac_fn_c_try_compile "$LINENO"; then :
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19513 $as_echo "yes" >&6; }
19514 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19518 as_fn_error $? "no. CoreFoundation not available.
19519 See \
`config.log' for more details" "$LINENO" 5; }
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19531 doesnt_want_win32=0
19534 if test "$wxUSE_MSW" = 1 ; then
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19538 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19539 if ${wx_cv_nocygwin+:} false; then :
19540 $as_echo_n "(cached) " >&6
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19558 if ac_fn_c_try_compile "$LINENO"; then :
19564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19569 $as_echo "$wx_cv_nocygwin" >&6; }
19571 if test "$wx_cv_nocygwin" = "yes"; then
19574 doesnt_want_win32=1
19577 if test "$wants_win32" = 1 ; then
19578 BAKEFILE_FORCE_PLATFORM=win32
19586 if test "$wxUSE_WINE" = "yes"; then
19588 LDFLAGS_GUI="-mwindows"
19591 if test "$wants_win32" = 1 ; then
19594 $as_echo "#define __WIN32__ 1" >>confdefs.h
19596 $as_echo "#define __WIN95__ 1" >>confdefs.h
19598 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19600 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19602 $as_echo "#define STRICT 1" >>confdefs.h
19605 if test "$doesnt_want_win32" = 1 ; then
19610 if test "$USE_UNIX" = 1 ; then
19612 $as_echo "#define __UNIX__ 1" >>confdefs.h
19617 *-pc-os2_emx | *-pc-os2-emx )
19618 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19620 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19621 if ${ac_cv_lib_cExt_drand48+:} false; then :
19622 $as_echo_n "(cached) " >&6
19624 ac_check_lib_save_LIBS=$LIBS
19625 LIBS="-lcExt $LIBS"
19626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19627 /* end confdefs.h. */
19629 /* Override any GCC internal prototype to avoid an error.
19630 Use char because int might match the return type of a GCC
19631 builtin and then its argument prototype would still apply. */
19644 if ac_fn_c_try_link "$LINENO"; then :
19645 ac_cv_lib_cExt_drand48=yes
19647 ac_cv_lib_cExt_drand48=no
19649 rm -f core conftest.err conftest.$ac_objext \
19650 conftest$ac_exeext conftest.$ac_ext
19651 LIBS=$ac_check_lib_save_LIBS
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19654 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19655 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19656 LIBS="$LIBS -lcExt"
19660 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19663 $as_echo_n "checking for gcc/libc version... " >&6; }
19664 if ${wx_cv_gccversion+:} false; then :
19665 $as_echo_n "(cached) " >&6
19668 if test "$cross_compiling" = yes; then :
19669 wx_cv_gccversion="EMX2"
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19679 FILE *f=fopen("conftestval", "w");
19684 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19686 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19696 if ac_fn_c_try_run "$LINENO"; then :
19697 wx_cv_gccversion=`cat conftestval
`
19699 wx_cv_gccversion="EMX2"
19701 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19702 conftest.$ac_objext conftest.beam conftest.$ac_ext
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19708 $as_echo "$wx_cv_gccversion" >&6; }
19709 if test "$wx_cv_gccversion" = "EMX2"; then
19710 LIBS="$LIBS -lstdcpp"
19711 LDFLAGS="$LDFLAGS -Zsysv-signals"
19713 if test "$wx_cv_gccversion" = "EMX3"; then
19714 LIBS="$LIBS -lstdcxx -lgcc"
19715 LDFLAGS="$LDFLAGS -Zsysv-signals"
19717 LIBS="$LIBS -lstdc++"
19720 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19722 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19730 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19731 if ${ac_cv_string_strcasecmp+:} false; then :
19732 $as_echo_n "(cached) " >&6
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19738 #include <string.h>
19744 strcasecmp("foo", "bar");
19750 if ac_fn_c_try_link "$LINENO"; then :
19751 ac_cv_string_strcasecmp=yes
19753 ac_cv_string_strcasecmp=no
19756 rm -f core conftest.err conftest.$ac_objext \
19757 conftest$ac_exeext conftest.$ac_ext
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19761 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19763 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19764 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19768 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19769 if ${ac_cv_strings_strcasecmp+:} false; then :
19770 $as_echo_n "(cached) " >&6
19773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19774 /* end confdefs.h. */
19776 #include <strings.h>
19782 strcasecmp("foo", "bar");
19788 if ac_fn_c_try_link "$LINENO"; then :
19789 ac_cv_strings_strcasecmp=yes
19791 ac_cv_strings_strcasecmp=no
19794 rm -f core conftest.err conftest.$ac_objext \
19795 conftest$ac_exeext conftest.$ac_ext
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19799 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19801 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19802 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19805 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19814 $as_echo_n "checking for ANSI C header files... " >&6; }
19815 if ${ac_cv_header_stdc+:} false; then :
19816 $as_echo_n "(cached) " >&6
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19820 #include <stdlib.h>
19821 #include <stdarg.h>
19822 #include <string.h>
19833 if ac_fn_c_try_compile "$LINENO"; then :
19834 ac_cv_header_stdc=yes
19836 ac_cv_header_stdc=no
19838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19840 if test $ac_cv_header_stdc = yes; then
19841 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19844 #include <string.h>
19847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19848 $EGREP "memchr" >/dev/null 2>&1; then :
19851 ac_cv_header_stdc=no
19857 if test $ac_cv_header_stdc = yes; then
19858 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19860 /* end confdefs.h. */
19861 #include <stdlib.h>
19864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19865 $EGREP "free" >/dev/null 2>&1; then :
19868 ac_cv_header_stdc=no
19874 if test $ac_cv_header_stdc = yes; then
19875 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19876 if test "$cross_compiling" = yes; then :
19879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19880 /* end confdefs.h. */
19882 #include <stdlib.h>
19883 #if ((' ' & 0x0FF) == 0x020)
19884 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19885 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19887 # define ISLOWER(c) \
19888 (('a' <= (c) && (c) <= 'i') \
19889 || ('j' <= (c) && (c) <= 'r') \
19890 || ('s' <= (c) && (c) <= 'z'))
19891 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19894 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19899 for (i = 0; i < 256; i++)
19900 if (XOR (islower (i), ISLOWER (i))
19901 || toupper (i) != TOUPPER (i))
19906 if ac_fn_c_try_run "$LINENO"; then :
19909 ac_cv_header_stdc=no
19911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19912 conftest.$ac_objext conftest.beam conftest.$ac_ext
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19918 $as_echo "$ac_cv_header_stdc" >&6; }
19919 if test $ac_cv_header_stdc = yes; then
19921 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19925 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19926 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19927 inttypes.h stdint.h unistd.h
19929 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19930 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19932 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19933 cat >>confdefs.h <<_ACEOF
19934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19942 for ac_header in langinfo.h wchar.h
19944 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19945 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19947 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19948 cat >>confdefs.h <<_ACEOF
19949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19957 if test "$ac_cv_header_wchar_h" != "yes"; then
19958 for ac_header in wcstr.h
19960 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
19962 if test "x$ac_cv_header_wcstr_h" = xyes; then :
19963 cat >>confdefs.h <<_ACEOF
19964 #define HAVE_WCSTR_H 1
19974 *-pc-os2_emx | *-pc-os2-emx )
19975 if test $ac_cv_header_langinfo_h = "yes" \
19976 -a \( "$wx_cv_gccversion" = "EMX2" \
19977 -o "$wx_cv_gccversion" = "EMX3" \
19978 -o "$wx_cv_gccversion" = "Innotek5" \); then
19979 LIBS="$LIBS -lintl"
19984 if test "$USE_UNIX" = 1 ; then
19985 for ac_header in sys/select.h
19987 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
19989 if test "x$ac_cv_header_sys_select_h" = xyes; then :
19990 cat >>confdefs.h <<_ACEOF
19991 #define HAVE_SYS_SELECT_H 1
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20002 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20003 if ${ac_cv_c_const+:} false; then :
20004 $as_echo_n "(cached) " >&6
20006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20013 #ifndef __cplusplus
20014 /* Ultrix mips cc rejects this sort of thing. */
20015 typedef int charset[2];
20016 const charset cs = { 0, 0 };
20017 /* SunOS 4.1.1 cc rejects this. */
20018 char const *const *pcpcc;
20020 /* NEC SVR4.0.2 mips cc rejects this. */
20021 struct point {int x, y;};
20022 static struct point const zero = {0,0};
20023 /* AIX XL C 1.02.0.0 rejects this.
20024 It does not let you subtract one const X* pointer from another in
20025 an arm of an if-expression whose if-part is not a constant
20027 const char *g = "string";
20028 pcpcc = &g + (g ? g-g : 0);
20029 /* HPUX 7.0 cc rejects these. */
20031 ppc = (char**) pcpcc;
20032 pcpcc = (char const *const *) ppc;
20033 { /* SCO 3.2v4 cc rejects this sort of thing. */
20036 char const *s = 0 ? (char *) 0 : (char const *) 0;
20041 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20042 int x[] = {25, 17};
20043 const int *foo = &x[0];
20046 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20047 typedef const int *iptr;
20051 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20052 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20053 struct s { int j; const int *ap[3]; } bx;
20054 struct s *b = &bx; b->j = 5;
20056 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20057 const int foo = 10;
20058 if (!foo) return 0;
20060 return !cs[0] && !zero.x;
20067 if ac_fn_c_try_compile "$LINENO"; then :
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20075 $as_echo "$ac_cv_c_const" >&6; }
20076 if test $ac_cv_c_const = no; then
20078 $as_echo "#define const /**/" >>confdefs.h
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20083 $as_echo_n "checking for inline... " >&6; }
20084 if ${ac_cv_c_inline+:} false; then :
20085 $as_echo_n "(cached) " >&6
20088 for ac_kw in inline __inline__ __inline; do
20089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 /* end confdefs.h. */
20091 #ifndef __cplusplus
20093 static $ac_kw foo_t static_foo () {return 0; }
20094 $ac_kw foo_t foo () {return 0; }
20098 if ac_fn_c_try_compile "$LINENO"; then :
20099 ac_cv_c_inline=$ac_kw
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20102 test "$ac_cv_c_inline" != no && break
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20107 $as_echo "$ac_cv_c_inline" >&6; }
20109 case $ac_cv_c_inline in
20112 case $ac_cv_c_inline in
20114 *) ac_val=$ac_cv_c_inline;;
20116 cat >>confdefs.h <<_ACEOF
20117 #ifndef __cplusplus
20118 #define inline $ac_val
20125 # The cast to long int works around a bug in the HP C Compiler
20126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20127 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20128 # This bug is HP SR number 8606223364.
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20130 $as_echo_n "checking size of short... " >&6; }
20131 if ${ac_cv_sizeof_short+:} false; then :
20132 $as_echo_n "(cached) " >&6
20134 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20137 if test "$ac_cv_type_short" = yes; then
20138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20139 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20140 as_fn_error 77 "cannot compute sizeof (short)
20141 See \`config.log
' for more details" "$LINENO" 5; }
20143 ac_cv_sizeof_short=0
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20149 $as_echo "$ac_cv_sizeof_short" >&6; }
20153 cat >>confdefs.h <<_ACEOF
20154 #define SIZEOF_SHORT $ac_cv_sizeof_short
20158 # The cast to long int works around a bug in the HP C Compiler
20159 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20160 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20161 # This bug is HP SR number 8606223364.
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20163 $as_echo_n "checking size of void *... " >&6; }
20164 if ${ac_cv_sizeof_void_p+:} false
; then :
20165 $as_echo_n "(cached) " >&6
20167 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20170 if test "$ac_cv_type_void_p" = yes; then
20171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20173 as_fn_error
77 "cannot compute sizeof (void *)
20174 See \`config.log' for more details" "$LINENO" 5; }
20176 ac_cv_sizeof_void_p
=0
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20182 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20186 cat >>confdefs.h
<<_ACEOF
20187 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20191 # The cast to long int works around a bug in the HP C Compiler
20192 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20193 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20194 # This bug is HP SR number 8606223364.
20195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20196 $as_echo_n "checking size of int... " >&6; }
20197 if ${ac_cv_sizeof_int+:} false
; then :
20198 $as_echo_n "(cached) " >&6
20200 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20203 if test "$ac_cv_type_int" = yes; then
20204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20206 as_fn_error
77 "cannot compute sizeof (int)
20207 See \`config.log' for more details" "$LINENO" 5; }
20214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20215 $as_echo "$ac_cv_sizeof_int" >&6; }
20219 cat >>confdefs.h
<<_ACEOF
20220 #define SIZEOF_INT $ac_cv_sizeof_int
20224 # The cast to long int works around a bug in the HP C Compiler
20225 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20226 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20227 # This bug is HP SR number 8606223364.
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20229 $as_echo_n "checking size of long... " >&6; }
20230 if ${ac_cv_sizeof_long+:} false
; then :
20231 $as_echo_n "(cached) " >&6
20233 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20236 if test "$ac_cv_type_long" = yes; then
20237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20239 as_fn_error
77 "cannot compute sizeof (long)
20240 See \`config.log' for more details" "$LINENO" 5; }
20242 ac_cv_sizeof_long
=0
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20248 $as_echo "$ac_cv_sizeof_long" >&6; }
20252 cat >>confdefs.h
<<_ACEOF
20253 #define SIZEOF_LONG $ac_cv_sizeof_long
20257 # The cast to long int works around a bug in the HP C Compiler
20258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20260 # This bug is HP SR number 8606223364.
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20262 $as_echo_n "checking size of size_t... " >&6; }
20263 if ${ac_cv_sizeof_size_t+:} false
; then :
20264 $as_echo_n "(cached) " >&6
20266 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20269 if test "$ac_cv_type_size_t" = yes; then
20270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20272 as_fn_error
77 "cannot compute sizeof (size_t)
20273 See \`config.log' for more details" "$LINENO" 5; }
20275 ac_cv_sizeof_size_t
=0
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20281 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20285 cat >>confdefs.h
<<_ACEOF
20286 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20293 # The cast to long int works around a bug in the HP C Compiler
20294 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20295 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20296 # This bug is HP SR number 8606223364.
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20298 $as_echo_n "checking size of long long... " >&6; }
20299 if ${ac_cv_sizeof_long_long+:} false
; then :
20300 $as_echo_n "(cached) " >&6
20302 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20305 if test "$ac_cv_type_long_long" = yes; then
20306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20308 as_fn_error
77 "cannot compute sizeof (long long)
20309 See \`config.log' for more details" "$LINENO" 5; }
20311 ac_cv_sizeof_long_long
=0
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20317 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20321 cat >>confdefs.h
<<_ACEOF
20322 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20328 # The cast to long int works around a bug in the HP C Compiler
20329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20331 # This bug is HP SR number 8606223364.
20332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20333 $as_echo_n "checking size of long long... " >&6; }
20334 if ${ac_cv_sizeof_long_long+:} false
; then :
20335 $as_echo_n "(cached) " >&6
20337 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20340 if test "$ac_cv_type_long_long" = yes; then
20341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20343 as_fn_error
77 "cannot compute sizeof (long long)
20344 See \`config.log' for more details" "$LINENO" 5; }
20346 ac_cv_sizeof_long_long
=0
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20352 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20356 cat >>confdefs.h
<<_ACEOF
20357 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20361 if test "$ac_cv_sizeof_long_long" != 0; then
20362 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20366 # The cast to long int works around a bug in the HP C Compiler
20367 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20368 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20369 # This bug is HP SR number 8606223364.
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20371 $as_echo_n "checking size of long long... " >&6; }
20372 if ${ac_cv_sizeof_long_long+:} false
; then :
20373 $as_echo_n "(cached) " >&6
20375 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20378 if test "$ac_cv_type_long_long" = yes; then
20379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20381 as_fn_error
77 "cannot compute sizeof (long long)
20382 See \`config.log' for more details" "$LINENO" 5; }
20384 ac_cv_sizeof_long_long
=0
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20390 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20394 cat >>confdefs.h
<<_ACEOF
20395 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20401 # The cast to long int works around a bug in the HP C Compiler
20402 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20403 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20404 # This bug is HP SR number 8606223364.
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20406 $as_echo_n "checking size of wchar_t... " >&6; }
20407 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20408 $as_echo_n "(cached) " >&6
20410 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20411 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20412 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20413 # error \"fake wchar_t\"
20415 #ifdef HAVE_WCHAR_H
20417 # include <stddef.h>
20419 # include <wchar.h>
20421 #ifdef HAVE_STDLIB_H
20422 # include <stdlib.h>
20430 if test "$ac_cv_type_wchar_t" = yes; then
20431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20433 as_fn_error
77 "cannot compute sizeof (wchar_t)
20434 See \`config.log' for more details" "$LINENO" 5; }
20436 ac_cv_sizeof_wchar_t
=0
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20442 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20446 cat >>confdefs.h
<<_ACEOF
20447 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20451 if test "$ac_cv_sizeof_wchar_t" = 0; then
20452 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20454 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20458 $as_echo_n "checking for va_copy... " >&6; }
20459 if ${wx_cv_func_va_copy+:} false
; then :
20460 $as_echo_n "(cached) " >&6
20464 ac_cpp
='$CXXCPP $CPPFLAGS'
20465 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20466 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20467 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20470 /* end confdefs.h. */
20473 #include <stdarg.h>
20474 void foo(char *f, ...)
20489 if ac_fn_cxx_try_link
"$LINENO"; then :
20490 wx_cv_func_va_copy
=yes
20492 wx_cv_func_va_copy
=no
20495 rm -f core conftest.err conftest.
$ac_objext \
20496 conftest
$ac_exeext conftest.
$ac_ext
20498 ac_cpp
='$CPP $CPPFLAGS'
20499 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20500 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20501 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20507 $as_echo "$wx_cv_func_va_copy" >&6; }
20509 if test $wx_cv_func_va_copy = "yes"; then
20510 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20514 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20515 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20516 $as_echo_n "(cached) " >&6
20519 if test "$cross_compiling" = yes; then :
20520 wx_cv_type_va_list_lvalue
=yes
20523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20524 /* end confdefs.h. */
20527 #include <stdarg.h>
20528 int foo(char *f, ...)
20533 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20541 return foo("hi", 17);
20545 if ac_fn_c_try_run
"$LINENO"; then :
20546 wx_cv_type_va_list_lvalue
=yes
20548 wx_cv_type_va_list_lvalue
=no
20550 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20551 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20558 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20560 if test $wx_cv_type_va_list_lvalue != "yes"; then
20561 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20566 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20569 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20570 if ${wx_cv_have_variadic_macros+:} false
; then :
20571 $as_echo_n "(cached) " >&6
20575 ac_cpp
='$CXXCPP $CPPFLAGS'
20576 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20577 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20578 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20581 /* end confdefs.h. */
20585 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20591 test("%s %d %p", "test", 1, 0);
20598 if ac_fn_cxx_try_compile
"$LINENO"; then :
20599 wx_cv_have_variadic_macros
=yes
20601 wx_cv_have_variadic_macros
=no
20604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20606 ac_cpp
='$CPP $CPPFLAGS'
20607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20615 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20617 if test $wx_cv_have_variadic_macros = "yes"; then
20618 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20624 LARGEFILE_CPPFLAGS
=
20625 # Check whether --enable-largefile was given.
20626 if test "${enable_largefile+set}" = set; then :
20627 enableval
=$enable_largefile;
20630 if test "$enable_largefile" != no
; then
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20634 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20635 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20636 $as_echo_n "(cached) " >&6
20639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20640 /* end confdefs.h. */
20641 #define _FILE_OFFSET_BITS 64
20642 #include <sys/types.h>
20647 unsigned int field: sizeof(off_t) == 8;
20654 if ac_fn_c_try_compile
"$LINENO"; then :
20655 ac_cv_sys_file_offset_bits
=64
20657 ac_cv_sys_file_offset_bits
=no
20659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20664 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20666 if test "$ac_cv_sys_file_offset_bits" != no
; then
20668 cat >>confdefs.h
<<_ACEOF
20669 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20674 if test "x$wx_largefile" != "xyes"; then
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20677 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20678 if ${ac_cv_sys_large_files+:} false
; then :
20679 $as_echo_n "(cached) " >&6
20682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20683 /* end confdefs.h. */
20684 #define _LARGE_FILES 1
20685 #include <sys/types.h>
20690 unsigned int field: sizeof(off_t) == 8;
20697 if ac_fn_c_try_compile
"$LINENO"; then :
20698 ac_cv_sys_large_files
=1
20700 ac_cv_sys_large_files
=no
20702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20707 $as_echo "$ac_cv_sys_large_files" >&6; }
20709 if test "$ac_cv_sys_large_files" != no
; then
20711 cat >>confdefs.h
<<_ACEOF
20712 #define _LARGE_FILES $ac_cv_sys_large_files
20719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20720 $as_echo_n "checking if large file support is available... " >&6; }
20721 if test "x$wx_largefile" = "xyes"; then
20722 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20726 $as_echo "$wx_largefile" >&6; }
20729 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20730 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20731 elif test "$ac_cv_sys_large_files" = 1; then
20732 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20735 if test -n "$LARGEFILE_CPPFLAGS"; then
20736 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20738 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20740 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20741 if ${wx_cv_STDC_EXT_required+:} false
; then :
20742 $as_echo_n "(cached) " >&6
20746 ac_cpp
='$CXXCPP $CPPFLAGS'
20747 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20748 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20749 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h. */
20758 #ifndef __STDC_EXT__
20766 if ac_fn_cxx_try_compile
"$LINENO"; then :
20767 wx_cv_STDC_EXT_required
=no
20769 wx_cv_STDC_EXT_required
=yes
20772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20774 ac_cpp
='$CPP $CPPFLAGS'
20775 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20776 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20777 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20783 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20784 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20785 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20791 ac_cpp
='$CXXCPP $CPPFLAGS'
20792 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20793 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20794 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20796 old_CPPFLAGS
="$CPPFLAGS"
20797 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20799 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20800 if ${ac_cv_sys_largefile_source+:} false
; then :
20801 $as_echo_n "(cached) " >&6
20804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h. */
20806 #include <sys/types.h> /* for off_t */
20811 int (*fp) (FILE *, off_t, int) = fseeko;
20812 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20817 if ac_fn_cxx_try_link
"$LINENO"; then :
20818 ac_cv_sys_largefile_source
=no
; break
20820 rm -f core conftest.err conftest.
$ac_objext \
20821 conftest
$ac_exeext conftest.
$ac_ext
20822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20823 /* end confdefs.h. */
20824 #define _LARGEFILE_SOURCE 1
20825 #include <sys/types.h> /* for off_t */
20830 int (*fp) (FILE *, off_t, int) = fseeko;
20831 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20836 if ac_fn_cxx_try_link
"$LINENO"; then :
20837 ac_cv_sys_largefile_source
=1; break
20839 rm -f core conftest.err conftest.
$ac_objext \
20840 conftest
$ac_exeext conftest.
$ac_ext
20841 ac_cv_sys_largefile_source
=unknown
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20846 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20847 case $ac_cv_sys_largefile_source in #(
20850 cat >>confdefs.h
<<_ACEOF
20851 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20857 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20858 # in glibc 2.1.3, but that breaks too many other things.
20859 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20860 if test $ac_cv_sys_largefile_source != unknown
; then
20862 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20866 CPPFLAGS
="$old_CPPFLAGS"
20868 ac_cpp
='$CPP $CPPFLAGS'
20869 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20870 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20871 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20873 if test "$ac_cv_sys_largefile_source" != no
; then
20874 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20878 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20879 if ${ac_cv_c_bigendian+:} false
; then :
20880 $as_echo_n "(cached) " >&6
20882 ac_cv_c_bigendian
=unknown
20883 # See if sys/param.h defines the BYTE_ORDER macro.
20884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20885 /* end confdefs.h. */
20886 #include <sys/types.h>
20887 #include <sys/param.h>
20892 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20893 bogus endian macros
20899 if ac_fn_c_try_compile
"$LINENO"; then :
20900 # It does; now see whether it defined to BIG_ENDIAN or not.
20901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20902 /* end confdefs.h. */
20903 #include <sys/types.h>
20904 #include <sys/param.h>
20909 #if BYTE_ORDER != BIG_ENDIAN
20916 if ac_fn_c_try_compile
"$LINENO"; then :
20917 ac_cv_c_bigendian
=yes
20919 ac_cv_c_bigendian
=no
20921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20924 if test $ac_cv_c_bigendian = unknown
; then
20925 if test "$cross_compiling" = yes; then :
20926 ac_cv_c_bigendian
=unknown
20928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20929 /* end confdefs.h. */
20931 /* Are we little or big endian? From Harbison&Steele. */
20935 char c[sizeof (long)];
20938 exit (u.c[sizeof (long) - 1] == 1);
20941 if ac_fn_c_try_run
"$LINENO"; then :
20942 ac_cv_c_bigendian
=no
20944 ac_cv_c_bigendian
=yes
20946 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20947 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
20953 $as_echo "$ac_cv_c_bigendian" >&6; }
20954 if test $ac_cv_c_bigendian = unknown
; then
20955 { $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
20956 $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;}
20958 if test $ac_cv_c_bigendian = yes; then
20959 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
20967 ac_cpp
='$CXXCPP $CPPFLAGS'
20968 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20969 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20970 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20973 for ac_header
in iostream
20975 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
20977 if test "x$ac_cv_header_iostream" = xyes
; then :
20978 cat >>confdefs.h
<<_ACEOF
20979 #define HAVE_IOSTREAM 1
20987 if test "$ac_cv_header_iostream" = "yes" ; then
20990 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
20995 ac_cpp
='$CPP $CPPFLAGS'
20996 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20997 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20998 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21004 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21005 if ${wx_cv_explicit+:} false
; then :
21006 $as_echo_n "(cached) " >&6
21011 ac_cpp
='$CXXCPP $CPPFLAGS'
21012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21018 /* end confdefs.h. */
21020 class Foo { public: explicit Foo(int) {} };
21032 if ac_fn_cxx_try_compile
"$LINENO"; then :
21034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21035 /* end confdefs.h. */
21037 class Foo { public: explicit Foo(int) {} };
21038 static void TakeFoo(const Foo& foo) { }
21051 if ac_fn_cxx_try_compile
"$LINENO"; then :
21057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21066 ac_cpp
='$CPP $CPPFLAGS'
21067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21074 $as_echo "$wx_cv_explicit" >&6; }
21076 if test "$wx_cv_explicit" = "yes"; then
21077 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21082 if test "x$SUNCXX" = xyes
; then
21083 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21086 if test "x$SUNCC" = xyes
; then
21087 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21090 if test "x$SGICC" = "xyes"; then
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21092 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21093 if ${wx_cv_prog_sgicc744+:} false
; then :
21094 $as_echo_n "(cached) " >&6
21097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21098 /* end confdefs.h. */
21104 #if _SGI_COMPILER_VERSION >= 744
21105 chock me: mipsPro is 7.4.4 or later
21112 if ac_fn_c_try_compile
"$LINENO"; then :
21113 wx_cv_prog_sgicc744
=no
21115 wx_cv_prog_sgicc744
=yes
21118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21123 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21125 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21126 CFLAGS
="-woff 3970 $CFLAGS"
21129 if test "x$SGICXX" = "xyes"; then
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21131 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21132 if ${wx_cv_prog_sgicxx744+:} false
; then :
21133 $as_echo_n "(cached) " >&6
21137 ac_cpp
='$CXXCPP $CPPFLAGS'
21138 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21143 /* end confdefs.h. */
21149 #if _SGI_COMPILER_VERSION >= 744
21150 chock me: mipsPro is 7.4.4 or later
21157 if ac_fn_cxx_try_compile
"$LINENO"; then :
21158 wx_cv_prog_sgicxx744
=no
21160 wx_cv_prog_sgicxx744
=yes
21163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21165 ac_cpp
='$CPP $CPPFLAGS'
21166 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21167 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21168 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21174 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21176 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21177 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21181 if test "x$HPCC" = "xyes"; then
21182 CFLAGS
="+W 2011,2450 $CFLAGS"
21184 if test "x$HPCXX" = "xyes"; then
21185 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21188 if test "x$COMPAQCXX" = "xyes"; then
21189 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21193 ac_cpp
='$CXXCPP $CPPFLAGS'
21194 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21195 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21196 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21199 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21200 if test "$wxUSE_UNICODE" = "yes"; then
21201 std_string
="std::wstring"
21202 char_type
="wchar_t"
21204 std_string
="std::string"
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21209 $as_echo_n "checking for $std_string in <string>... " >&6; }
21210 if ${wx_cv_class_stdstring+:} false
; then :
21211 $as_echo_n "(cached) " >&6
21214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21215 /* end confdefs.h. */
21225 if ac_fn_cxx_try_compile
"$LINENO"; then :
21226 wx_cv_class_stdstring
=yes
21228 wx_cv_class_stdstring
=no
21231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21236 $as_echo "$wx_cv_class_stdstring" >&6; }
21238 if test "$wx_cv_class_stdstring" = yes; then
21239 if test "$wxUSE_UNICODE" = "yes"; then
21240 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21245 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21246 if ${wx_cv_class_stdbasicstring+:} false
; then :
21247 $as_echo_n "(cached) " >&6
21250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21251 /* end confdefs.h. */
21253 #ifdef HAVE_WCHAR_H
21255 # include <stddef.h>
21257 # include <wchar.h>
21259 #ifdef HAVE_STDLIB_H
21260 # include <stdlib.h>
21268 std::basic_string<$char_type> foo;
21269 const $char_type* dummy = foo.c_str();
21274 if ac_fn_cxx_try_compile
"$LINENO"; then :
21275 wx_cv_class_stdbasicstring
=yes
21277 wx_cv_class_stdbasicstring
=no
21280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21285 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21287 if test "$wx_cv_class_stdbasicstring" != yes; then
21288 if test "$wxUSE_STL" = "yes"; then
21289 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21290 elif test "$wxUSE_STD_STRING" = "yes"; then
21291 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21294 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21295 wxUSE_STD_STRING
=no
21301 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21302 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21304 if test "x$ac_cv_type_std__istream" = xyes
; then :
21306 cat >>confdefs.h
<<_ACEOF
21307 #define HAVE_STD__ISTREAM 1
21312 wxUSE_STD_IOSTREAM
=no
21314 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21316 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21318 cat >>confdefs.h
<<_ACEOF
21319 #define HAVE_STD__OSTREAM 1
21324 wxUSE_STD_IOSTREAM
=no
21328 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21329 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21330 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21333 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21338 if test "$wxUSE_STL" = "yes"; then
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21340 $as_echo_n "checking for basic STL functionality... " >&6; }
21341 if ${wx_cv_lib_stl+:} false
; then :
21342 $as_echo_n "(cached) " >&6
21344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21345 /* end confdefs.h. */
21347 #include <functional>
21348 #include <algorithm>
21354 std::vector<int> moo;
21355 std::list<int> foo;
21356 std::vector<int>::iterator it =
21357 std::find_if(moo.begin(), moo.end(),
21358 std::bind2nd(std::less<int>(), 3));
21363 if ac_fn_cxx_try_compile
"$LINENO"; then :
21369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21373 $as_echo "$wx_cv_lib_stl" >&6; }
21375 if test "$wx_cv_lib_stl" != yes; then
21376 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21380 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21381 if ${wx_cv_func_stdstring_compare+:} false
; then :
21382 $as_echo_n "(cached) " >&6
21384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21385 /* end confdefs.h. */
21390 std::string foo, bar;
21392 foo.compare(1, 1, bar);
21393 foo.compare(1, 1, bar, 1, 1);
21395 foo.compare(1, 1, "");
21396 foo.compare(1, 1, "", 2);
21401 if ac_fn_cxx_try_compile
"$LINENO"; then :
21402 wx_cv_func_stdstring_compare
=yes
21404 wx_cv_func_stdstring_compare
=no
21407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21411 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21413 if test "$wx_cv_func_stdstring_compare" = yes; then
21414 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21418 if test "$wx_cv_class_gnuhashmapset" = yes; then
21419 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21421 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21425 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21428 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21430 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21431 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21432 $as_echo_n "(cached) " >&6
21434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21436 #include <unordered_map>
21437 #include <unordered_set>
21441 std::unordered_map<double*, char*> test1;
21442 std::unordered_set<char*> test2;
21447 if ac_fn_cxx_try_compile
"$LINENO"; then :
21448 wx_cv_class_stdunorderedmapset
=yes
21450 wx_cv_class_stdunorderedmapset
=no
21452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21457 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21462 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21463 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21465 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21468 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21471 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21473 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21474 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21475 $as_echo_n "(cached) " >&6
21477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21478 /* end confdefs.h. */
21479 #include <tr1/unordered_map>
21480 #include <tr1/unordered_set>
21484 std::tr1::unordered_map<double*, char*> test1;
21485 std::tr1::unordered_set<char*> test2;
21486 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21487 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21493 if ac_fn_cxx_try_compile
"$LINENO"; then :
21494 wx_cv_class_tr1unorderedmapset
=yes
21496 wx_cv_class_tr1unorderedmapset
=no
21498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21503 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21508 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21509 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21511 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21514 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21517 if test "x$ac_cv_header_hash_map" = xyes
; then :
21518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21519 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21520 if ${wx_cv_class_stdhashmapset+:} false
; then :
21521 $as_echo_n "(cached) " >&6
21523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21524 /* end confdefs.h. */
21525 #include <hash_map>
21526 #include <hash_set>
21530 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21531 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21536 if ac_fn_cxx_try_compile
"$LINENO"; then :
21537 wx_cv_class_stdhashmapset
=yes
21539 wx_cv_class_stdhashmapset
=no
21541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21546 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21551 if test "$wx_cv_class_stdhashmapset" = yes; then
21552 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21554 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21558 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21561 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21563 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21564 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21565 $as_echo_n "(cached) " >&6
21567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h. */
21569 #include <ext/hash_map>
21570 #include <ext/hash_set>
21574 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21575 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21580 if ac_fn_cxx_try_compile
"$LINENO"; then :
21581 wx_cv_class_gnuhashmapset
=yes
21583 wx_cv_class_gnuhashmapset
=no
21585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21590 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21600 ac_cpp
='$CXXCPP $CPPFLAGS'
21601 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21602 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21603 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21605 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21606 if test -z "$CXXCPP"; then
21607 if ${ac_cv_prog_CXXCPP+:} false
; then :
21608 $as_echo_n "(cached) " >&6
21610 # Double quotes because CXXCPP needs to be expanded
21611 for CXXCPP
in "$CXX -E" "/lib/cpp"
21613 ac_preproc_ok
=false
21614 for ac_cxx_preproc_warn_flag
in '' yes
21616 # Use a header file that comes with gcc, so configuring glibc
21617 # with a fresh cross-compiler works.
21618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21619 # <limits.h> exists even on freestanding compilers.
21620 # On the NeXT, cc -E runs the code through the compiler's parser,
21621 # not just through cpp. "Syntax error" is here to catch this case.
21622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21623 /* end confdefs.h. */
21625 # include <limits.h>
21627 # include <assert.h>
21631 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21634 # Broken: fails on valid input.
21637 rm -f conftest.err conftest.i conftest.
$ac_ext
21639 # OK, works on sane cases. Now check whether nonexistent headers
21640 # can be detected and how.
21641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21642 /* end confdefs.h. */
21643 #include <ac_nonexistent.h>
21645 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21646 # Broken: success on invalid input.
21649 # Passes both tests.
21653 rm -f conftest.err conftest.i conftest.
$ac_ext
21656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21657 rm -f conftest.i conftest.err conftest.
$ac_ext
21658 if $ac_preproc_ok; then :
21663 ac_cv_prog_CXXCPP
=$CXXCPP
21666 CXXCPP
=$ac_cv_prog_CXXCPP
21668 ac_cv_prog_CXXCPP
=$CXXCPP
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21671 $as_echo "$CXXCPP" >&6; }
21672 ac_preproc_ok
=false
21673 for ac_cxx_preproc_warn_flag
in '' yes
21675 # Use a header file that comes with gcc, so configuring glibc
21676 # with a fresh cross-compiler works.
21677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21678 # <limits.h> exists even on freestanding compilers.
21679 # On the NeXT, cc -E runs the code through the compiler's parser,
21680 # not just through cpp. "Syntax error" is here to catch this case.
21681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h. */
21684 # include <limits.h>
21686 # include <assert.h>
21690 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21693 # Broken: fails on valid input.
21696 rm -f conftest.err conftest.i conftest.
$ac_ext
21698 # OK, works on sane cases. Now check whether nonexistent headers
21699 # can be detected and how.
21700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21701 /* end confdefs.h. */
21702 #include <ac_nonexistent.h>
21704 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21705 # Broken: success on invalid input.
21708 # Passes both tests.
21712 rm -f conftest.err conftest.i conftest.
$ac_ext
21715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21716 rm -f conftest.i conftest.err conftest.
$ac_ext
21717 if $ac_preproc_ok; then :
21720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21722 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21723 See \`config.log' for more details" "$LINENO" 5; }
21727 ac_cpp
='$CXXCPP $CPPFLAGS'
21728 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21729 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21730 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21733 for ac_header
in type_traits tr
1/type_traits
21735 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21736 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21737 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21738 cat >>confdefs.h
<<_ACEOF
21739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21749 if test -n "$GCC"; then
21750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21751 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21752 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21753 $as_echo_n "(cached) " >&6
21756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21763 unsigned int value=0;
21764 /* wxAtomicInc doesn't use return value here */
21765 __sync_fetch_and_add(&value, 2);
21766 __sync_sub_and_fetch(&value, 1);
21767 /* but wxAtomicDec does, so mimic that: */
21768 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21774 if ac_fn_cxx_try_link
"$LINENO"; then :
21775 wx_cv_cc_gcc_atomic_builtins
=yes
21777 wx_cv_cc_gcc_atomic_builtins
=no
21779 rm -f core conftest.err conftest.
$ac_objext \
21780 conftest
$ac_exeext conftest.
$ac_ext
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21785 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21786 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21787 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21794 ac_cpp
='$CPP $CPPFLAGS'
21795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21802 /usr/local/include \
21803 /usr/local/X11/include \
21804 /usr/local/include/X11 \
21805 /usr/local/X11R7/include \
21806 /usr/local/X11R6/include \
21807 /usr/local/include/X11R7 \
21808 /usr/local/include/X11R6 \
21810 /usr/Motif-2.1/include \
21811 /usr/Motif-1.2/include \
21812 /usr/include/Motif1.2 \
21815 /usr/openwin/include \
21819 /usr/X11R7/include \
21820 /usr/X11R6/include \
21821 /usr/X11R6.4/include \
21823 /usr/include/X11R7 \
21824 /usr/include/X11R6 \
21829 /usr/XFree86/include/X11 \
21832 /usr/local/X1R5/include \
21833 /usr/local/include/X11R5 \
21834 /usr/X11R5/include \
21835 /usr/include/X11R5 \
21837 /usr/local/X11R4/include \
21838 /usr/local/include/X11R4 \
21839 /usr/X11R4/include \
21840 /usr/include/X11R4 \
21842 /usr/openwin/share/include"
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21845 $as_echo_n "checking for libraries directories... " >&6; }
21849 if ${wx_cv_std_libpath+:} false
; then :
21850 $as_echo_n "(cached) " >&6
21853 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
21854 for e
in a so sl dylib dll.a
; do
21856 if test -f $libc; then
21859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21860 /* end confdefs.h. */
21862 int main() { return 0; }
21865 if ac_fn_c_try_link
"$LINENO"; then :
21866 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
21868 rm -f core conftest.err conftest.
$ac_objext \
21869 conftest
$ac_exeext conftest.
$ac_ext
21871 if test "x$wx_cv_std_libpath" != "x"; then
21884 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21885 wx_cv_std_libpath
="lib/64"
21890 if test "$ac_cv_sizeof_void_p" = 8; then
21891 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21892 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
21893 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21894 wx_cv_std_libpath
="lib64"
21899 if test -d '/usr/lib/i386-linux-gnu'; then
21900 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
21905 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21906 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
21911 if test -z "$wx_cv_std_libpath"; then
21912 wx_cv_std_libpath
="lib"
21915 if test -z "$wx_cv_std_libfullpath"; then
21916 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21921 $as_echo "$wx_cv_std_libfullpath" >&6; }
21923 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21925 if test "$build" != "$host" -a "$GCC" = yes; then
21926 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
21927 cross_root
=`dirname $cross_root`
21928 cross_root
=`dirname $cross_root`
21930 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21931 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21932 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
21934 if test -z "$PKG_CONFIG_PATH"; then
21935 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21936 export PKG_CONFIG_PATH
21939 if test -z "$x_includes" -o "$x_includes" = NONE
; then
21942 for ac_dir
in $SEARCH_INCLUDE /usr
/include
21944 if test -f "$ac_dir/X11/Intrinsic.h"; then
21945 ac_find_includes
=$ac_dir
21950 x_includes
=$ac_find_includes
21952 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
21955 for ac_dir
in $SEARCH_LIB
21957 for ac_extension
in a so sl dylib dll.a
; do
21958 if test -f "$ac_dir/libXt.$ac_extension"; then
21959 ac_find_libraries
=$ac_dir
21965 x_libraries
=$ac_find_libraries
21971 cat >confcache
<<\_ACEOF
21972 # This file is a shell script that caches the results of configure
21973 # tests run on this system so they can be shared between configure
21974 # scripts and configure runs, see configure's option --config-cache.
21975 # It is not useful on other systems. If it contains results you don't
21976 # want to keep, you may remove or edit it.
21978 # config.status only pays attention to the cache file if you give it
21979 # the --recheck option to rerun configure.
21981 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21982 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21983 # following values.
21987 # The following way of writing the cache mishandles newlines in values,
21988 # but we know of no workaround that is simple, portable, and efficient.
21989 # So, we kill variables containing newlines.
21990 # Ultrix sh set writes to stderr and can't be redirected directly,
21991 # and sets the high bit in the cache file unless we assign to the vars.
21993 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21994 eval ac_val
=\$
$ac_var
21998 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21999 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22002 _
| IFS
| as_nl
) ;; #(
22003 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22004 *) { eval $ac_var=; unset $ac_var;} ;;
22010 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22011 *${as_nl}ac_space
=\
*)
22012 # `set' does not quote correctly, so add quotes: double-quote
22013 # substitution turns \\\\ into \\, and sed turns \\ into \.
22016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22019 # `set' quotes correctly as required by POSIX, so do not add quotes.
22020 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22029 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22031 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22033 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22034 if test -w "$cache_file"; then
22035 if test "x$cache_file" != "x/dev/null"; then
22036 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22037 $as_echo "$as_me: updating cache $cache_file" >&6;}
22038 if test ! -f "$cache_file" || test -h "$cache_file"; then
22039 cat confcache
>"$cache_file"
22041 case $cache_file in #(
22043 mv -f confcache
"$cache_file"$$
&&
22044 mv -f "$cache_file"$$
"$cache_file" ;; #(
22046 mv -f confcache
"$cache_file" ;;
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22052 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22061 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22062 if test "x$ac_cv_func_cos" = xyes
; then :
22063 cat >>confdefs.h
<<_ACEOF
22070 for ac_func
in floor
22072 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22073 if test "x$ac_cv_func_floor" = xyes
; then :
22074 cat >>confdefs.h
<<_ACEOF
22075 #define HAVE_FLOOR 1
22081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22082 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22083 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22085 $as_echo "yes" >&6; }
22087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22088 $as_echo "no" >&6; }
22090 # use different functions to avoid configure caching
22095 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22096 if test "x$ac_cv_func_sin" = xyes
; then :
22097 cat >>confdefs.h
<<_ACEOF
22104 for ac_func
in ceil
22106 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22107 if test "x$ac_cv_func_ceil" = xyes
; then :
22108 cat >>confdefs.h
<<_ACEOF
22109 #define HAVE_CEIL 1
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22116 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22117 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22119 $as_echo "yes" >&6; }
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22122 $as_echo "no" >&6; }
22123 # not sure we should warn the user, crash, etc.
22128 ac_cpp
='$CXXCPP $CPPFLAGS'
22129 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22130 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22131 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22133 if test "wxUSE_UNICODE" = "yes"; then
22135 for wx_func
in wcstoull
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22138 $as_echo_n "checking for $wx_func... " >&6; }
22139 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22140 $as_echo_n "(cached) " >&6
22143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22144 /* end confdefs.h. */
22148 $ac_includes_default
22164 if ac_fn_cxx_try_link
"$LINENO"; then :
22165 eval wx_cv_func_
$wx_func=yes
22167 eval wx_cv_func_
$wx_func=no
22169 rm -f core conftest.err conftest.
$ac_objext \
22170 conftest
$ac_exeext conftest.
$ac_ext
22173 eval ac_res
=\
$wx_cv_func_$wx_func
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22175 $as_echo "$ac_res" >&6; }
22177 if eval test \
$wx_cv_func_$wx_func = yes
22179 cat >>confdefs.h
<<_ACEOF
22180 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22192 for wx_func
in strtoull
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22195 $as_echo_n "checking for $wx_func... " >&6; }
22196 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22197 $as_echo_n "(cached) " >&6
22200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22201 /* end confdefs.h. */
22205 $ac_includes_default
22221 if ac_fn_cxx_try_link
"$LINENO"; then :
22222 eval wx_cv_func_
$wx_func=yes
22224 eval wx_cv_func_
$wx_func=no
22226 rm -f core conftest.err conftest.
$ac_objext \
22227 conftest
$ac_exeext conftest.
$ac_ext
22230 eval ac_res
=\
$wx_cv_func_$wx_func
22231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22232 $as_echo "$ac_res" >&6; }
22234 if eval test \
$wx_cv_func_$wx_func = yes
22236 cat >>confdefs.h
<<_ACEOF
22237 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22249 ac_cpp
='$CPP $CPPFLAGS'
22250 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22251 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22252 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22257 if test "$wxUSE_REGEX" != "no"; then
22258 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22261 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22263 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22264 wxUSE_REGEX
=builtin
22267 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22268 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22270 if test "x$ac_cv_header_regex_h" = xyes
; then :
22271 for ac_func
in regcomp re_search
22273 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22274 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22275 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22276 cat >>confdefs.h
<<_ACEOF
22277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22287 if test "x$ac_cv_func_regcomp" != "xyes"; then
22288 if test "$wxUSE_REGEX" = "sys" ; then
22289 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22292 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22293 wxUSE_REGEX
=builtin
22297 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22305 if test "$wxUSE_ZLIB" != "no" ; then
22306 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22309 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22310 if test "$USE_DARWIN" = 1; then
22311 system_zlib_h_ok
="yes"
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22314 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22315 if ${ac_cv_header_zlib_h+:} false
; then :
22316 $as_echo_n "(cached) " >&6
22318 if test "$cross_compiling" = yes; then :
22319 unset ac_cv_header_zlib_h
22322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22323 /* end confdefs.h. */
22330 FILE *f=fopen("conftestval", "w");
22333 ZLIB_VERSION[0] == '1' &&
22334 (ZLIB_VERSION[2] > '1' ||
22335 (ZLIB_VERSION[2] == '1' &&
22336 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22341 if ac_fn_c_try_run
"$LINENO"; then :
22342 ac_cv_header_zlib_h
=`cat conftestval`
22344 ac_cv_header_zlib_h
=no
22346 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22347 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22353 $as_echo "$ac_cv_header_zlib_h" >&6; }
22354 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22356 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22362 system_zlib_h_ok
=$ac_cv_header_zlib_h
22365 if test "$system_zlib_h_ok" = "yes"; then
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22367 $as_echo_n "checking for deflate in -lz... " >&6; }
22368 if ${ac_cv_lib_z_deflate+:} false
; then :
22369 $as_echo_n "(cached) " >&6
22371 ac_check_lib_save_LIBS
=$LIBS
22373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22374 /* end confdefs.h. */
22376 /* Override any GCC internal prototype to avoid an error.
22377 Use char because int might match the return type of a GCC
22378 builtin and then its argument prototype would still apply. */
22391 if ac_fn_c_try_link
"$LINENO"; then :
22392 ac_cv_lib_z_deflate
=yes
22394 ac_cv_lib_z_deflate
=no
22396 rm -f core conftest.err conftest.
$ac_objext \
22397 conftest
$ac_exeext conftest.
$ac_ext
22398 LIBS
=$ac_check_lib_save_LIBS
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22401 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22402 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22408 if test "x$ZLIB_LINK" = "x" ; then
22409 if test "$wxUSE_ZLIB" = "sys" ; then
22410 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22413 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22424 if test "$wxUSE_LIBPNG" != "no" ; then
22425 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22428 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22430 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22431 wxUSE_LIBPNG
=builtin
22434 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22436 $as_echo_n "checking for png.h > 0.90... " >&6; }
22437 if ${ac_cv_header_png_h+:} false
; then :
22438 $as_echo_n "(cached) " >&6
22440 if test "$cross_compiling" = yes; then :
22441 unset ac_cv_header_png_h
22444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22445 /* end confdefs.h. */
22452 FILE *f=fopen("conftestval", "w");
22455 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22460 if ac_fn_c_try_run
"$LINENO"; then :
22461 ac_cv_header_png_h
=`cat conftestval`
22463 ac_cv_header_png_h
=no
22465 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22466 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22472 $as_echo "$ac_cv_header_png_h" >&6; }
22473 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22475 if test "x$ac_cv_header_png_h" = xyes
; then :
22481 if test "$ac_cv_header_png_h" = "yes"; then
22482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22483 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22484 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22485 $as_echo_n "(cached) " >&6
22487 ac_check_lib_save_LIBS
=$LIBS
22488 LIBS
="-lpng -lz -lm $LIBS"
22489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22490 /* end confdefs.h. */
22492 /* Override any GCC internal prototype to avoid an error.
22493 Use char because int might match the return type of a GCC
22494 builtin and then its argument prototype would still apply. */
22498 char png_sig_cmp ();
22502 return png_sig_cmp ();
22507 if ac_fn_c_try_link
"$LINENO"; then :
22508 ac_cv_lib_png_png_sig_cmp
=yes
22510 ac_cv_lib_png_png_sig_cmp
=no
22512 rm -f core conftest.err conftest.
$ac_objext \
22513 conftest
$ac_exeext conftest.
$ac_ext
22514 LIBS
=$ac_check_lib_save_LIBS
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22517 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22518 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22519 PNG_LINK
=" -lpng -lz"
22524 if test "x$PNG_LINK" = "x" ; then
22525 if test "$wxUSE_LIBPNG" = "sys" ; then
22526 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22529 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22530 wxUSE_LIBPNG
=builtin
22540 if test "$wxUSE_LIBJPEG" != "no" ; then
22541 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22544 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22546 $as_echo_n "checking for jpeglib.h... " >&6; }
22547 if ${ac_cv_header_jpeglib_h+:} false
; then :
22548 $as_echo_n "(cached) " >&6
22550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22551 /* end confdefs.h. */
22553 #undef HAVE_STDLIB_H
22555 #include <jpeglib.h>
22566 if ac_fn_c_try_compile
"$LINENO"; then :
22567 ac_cv_header_jpeglib_h
=yes
22569 ac_cv_header_jpeglib_h
=no
22572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22577 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22579 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22581 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22582 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22583 $as_echo_n "(cached) " >&6
22585 ac_check_lib_save_LIBS
=$LIBS
22586 LIBS
="-ljpeg $LIBS"
22587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22588 /* end confdefs.h. */
22590 /* Override any GCC internal prototype to avoid an error.
22591 Use char because int might match the return type of a GCC
22592 builtin and then its argument prototype would still apply. */
22596 char jpeg_read_header ();
22600 return jpeg_read_header ();
22605 if ac_fn_c_try_link
"$LINENO"; then :
22606 ac_cv_lib_jpeg_jpeg_read_header
=yes
22608 ac_cv_lib_jpeg_jpeg_read_header
=no
22610 rm -f core conftest.err conftest.
$ac_objext \
22611 conftest
$ac_exeext conftest.
$ac_ext
22612 LIBS
=$ac_check_lib_save_LIBS
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22615 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22616 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22617 JPEG_LINK
=" -ljpeg"
22622 if test "x$JPEG_LINK" = "x" ; then
22623 if test "$wxUSE_LIBJPEG" = "sys" ; then
22624 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22627 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22628 wxUSE_LIBJPEG
=builtin
22633 if test "$wxUSE_MSW" = 1; then
22634 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22636 if test "x$ac_cv_type_boolean" = xyes
; then :
22638 cat >>confdefs.h
<<_ACEOF
22639 #define HAVE_BOOLEAN 1
22643 # The cast to long int works around a bug in the HP C Compiler
22644 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22645 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22646 # This bug is HP SR number 8606223364.
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22648 $as_echo_n "checking size of boolean... " >&6; }
22649 if ${ac_cv_sizeof_boolean+:} false
; then :
22650 $as_echo_n "(cached) " >&6
22652 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22653 #undef HAVE_BOOLEAN
22655 #include <jpeglib.h>
22660 if test "$ac_cv_type_boolean" = yes; then
22661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22663 as_fn_error
77 "cannot compute sizeof (boolean)
22664 See \`config.log' for more details" "$LINENO" 5; }
22666 ac_cv_sizeof_boolean
=0
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22672 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22676 cat >>confdefs.h
<<_ACEOF
22677 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22681 cat >>confdefs.h
<<_ACEOF
22682 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22695 TIFF_PREREQ_LINKS
=-lm
22696 if test "$wxUSE_LIBTIFF" != "no" ; then
22697 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22700 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22701 if test "$wxUSE_LIBJPEG" = "sys"; then
22702 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22704 if test "$wxUSE_ZLIB" = "sys"; then
22705 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22707 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22710 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22713 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22714 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22715 $as_echo_n "(cached) " >&6
22717 ac_check_lib_save_LIBS
=$LIBS
22718 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22720 /* end confdefs.h. */
22722 /* Override any GCC internal prototype to avoid an error.
22723 Use char because int might match the return type of a GCC
22724 builtin and then its argument prototype would still apply. */
22732 return TIFFError ();
22737 if ac_fn_c_try_link
"$LINENO"; then :
22738 ac_cv_lib_tiff_TIFFError
=yes
22740 ac_cv_lib_tiff_TIFFError
=no
22742 rm -f core conftest.err conftest.
$ac_objext \
22743 conftest
$ac_exeext conftest.
$ac_ext
22744 LIBS
=$ac_check_lib_save_LIBS
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22747 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22748 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22749 TIFF_LINK
=" -ltiff"
22757 if test "x$TIFF_LINK" = "x" ; then
22758 if test "$wxUSE_LIBTIFF" = "sys" ; then
22759 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22762 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22763 wxUSE_LIBTIFF
=builtin
22769 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22770 if test "$wxUSE_LIBJPEG" = "no"; then
22771 ac_configure_args
="$ac_configure_args --disable-jpeg"
22775 subdirs
="$subdirs src/tiff"
22781 if test "$wxUSE_EXPAT" != "no"; then
22783 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22785 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22788 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22789 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
22791 if test "x$ac_cv_header_expat_h" = xyes
; then :
22796 if test "x$found_expat_h" = "x1"; then
22797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22798 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22799 if ${wx_cv_expat_is_not_broken+:} false
; then :
22800 $as_echo_n "(cached) " >&6
22804 ac_cpp
='$CXXCPP $CPPFLAGS'
22805 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22806 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22807 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22810 /* end confdefs.h. */
22820 if ac_fn_cxx_try_compile
"$LINENO"; then :
22821 wx_cv_expat_is_not_broken
=yes
22823 wx_cv_expat_is_not_broken
=no
22826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22828 ac_cpp
='$CPP $CPPFLAGS'
22829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22837 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22838 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22840 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22841 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
22842 $as_echo_n "(cached) " >&6
22844 ac_check_lib_save_LIBS
=$LIBS
22845 LIBS
="-lexpat $LIBS"
22846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22847 /* end confdefs.h. */
22849 /* Override any GCC internal prototype to avoid an error.
22850 Use char because int might match the return type of a GCC
22851 builtin and then its argument prototype would still apply. */
22855 char XML_ParserCreate ();
22859 return XML_ParserCreate ();
22864 if ac_fn_c_try_link
"$LINENO"; then :
22865 ac_cv_lib_expat_XML_ParserCreate
=yes
22867 ac_cv_lib_expat_XML_ParserCreate
=no
22869 rm -f core conftest.err conftest.
$ac_objext \
22870 conftest
$ac_exeext conftest.
$ac_ext
22871 LIBS
=$ac_check_lib_save_LIBS
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22874 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22875 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
22876 EXPAT_LINK
=" -lexpat"
22881 if test "x$EXPAT_LINK" = "x" ; then
22882 if test "$wxUSE_EXPAT" = "sys" ; then
22883 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22886 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22887 wxUSE_EXPAT
=builtin
22893 if test "$wxUSE_EXPAT" = "builtin" ; then
22894 subdirs
="$subdirs src/expat"
22901 if test "$wxUSE_LIBMSPACK" != "no"; then
22902 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22904 if test "x$ac_cv_header_mspack_h" = xyes
; then :
22909 if test "x$found_mspack_h" = "x1"; then
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22911 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22912 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
22913 $as_echo_n "(cached) " >&6
22915 ac_check_lib_save_LIBS
=$LIBS
22916 LIBS
="-lmspack $LIBS"
22917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22918 /* end confdefs.h. */
22920 /* Override any GCC internal prototype to avoid an error.
22921 Use char because int might match the return type of a GCC
22922 builtin and then its argument prototype would still apply. */
22926 char mspack_create_chm_decompressor ();
22930 return mspack_create_chm_decompressor ();
22935 if ac_fn_c_try_link
"$LINENO"; then :
22936 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
22938 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
22940 rm -f core conftest.err conftest.
$ac_objext \
22941 conftest
$ac_exeext conftest.
$ac_ext
22942 LIBS
=$ac_check_lib_save_LIBS
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22945 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22946 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
22947 MSPACK_LINK
=" -lmspack"
22951 if test "x$MSPACK_LINK" = "x" ; then
22956 if test "$wxUSE_LIBMSPACK" != "no"; then
22957 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
22970 if test "$USE_WIN32" = 1 ; then
22971 for ac_header
in w32api.h
22973 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
22975 if test "x$ac_cv_header_w32api_h" = xyes
; then :
22976 cat >>confdefs.h
<<_ACEOF
22977 #define HAVE_W32API_H 1
22984 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
22986 if test "x$ac_cv_header_windows_h" = xyes
; then :
22990 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
22996 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
22998 x86_64
-*-mingw32* )
22999 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
23002 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23003 LIBS
="$LIBS -loleacc"
23008 LIBS
="$LIBS -lkernel32 -luser32"
23011 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23012 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
23014 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23016 WIN32INSTALL
=win32install
23019 if test "$wxUSE_GUI" = "yes"; then
23030 if test "$wxUSE_OLD_COCOA" = 1 ; then
23031 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23033 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23034 wxUSE_PRINTING_ARCHITECTURE
=no
23036 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23038 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23039 wxUSE_DRAG_AND_DROP
=no
23041 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23043 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23048 if test "$wxUSE_MSW" = 1 ; then
23054 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23058 if test "$wxUSE_GTK" = 1; then
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23060 $as_echo_n "checking for GTK+ version... " >&6; }
23062 gtk_version_cached
=1
23063 if ${wx_cv_lib_gtk+:} false
; then :
23064 $as_echo_n "(cached) " >&6
23067 gtk_version_cached
=0
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23072 if test "$wxUSE_THREADS" = "yes"; then
23073 GTK_MODULES
=gthread
23076 if test -z "$wxGTK_VERSION"; then
23081 if test "x$wxGTK_VERSION" != "x1"
23085 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23090 if test "$wxGTK_VERSION" != 3; then
23091 # Check whether --enable-gtktest was given.
23092 if test "${enable_gtktest+set}" = set; then :
23093 enableval
=$enable_gtktest;
23099 pkg_config_args
=gtk
+-2.0
23100 for module
in .
$GTK_MODULES
23104 pkg_config_args
="$pkg_config_args gthread-2.0"
23111 # Extract the first word of "pkg-config", so it can be a program name with args.
23112 set dummy pkg
-config; ac_word
=$2
23113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23114 $as_echo_n "checking for $ac_word... " >&6; }
23115 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23116 $as_echo_n "(cached) " >&6
23118 case $PKG_CONFIG in
23120 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23124 for as_dir
in $PATH
23127 test -z "$as_dir" && as_dir
=.
23128 for ac_exec_ext
in '' $ac_executable_extensions; do
23129 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23130 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23138 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23142 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23143 if test -n "$PKG_CONFIG"; then
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23145 $as_echo "$PKG_CONFIG" >&6; }
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23148 $as_echo "no" >&6; }
23153 if test x
$PKG_CONFIG != xno
; then
23154 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23157 echo "*** pkg-config too old; version 0.7 or better required."
23165 min_gtk_version
=2.6.0
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23167 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23169 if test x
$PKG_CONFIG != xno
; then
23170 ## don't try to run the test against uninstalled libtool libs
23171 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23172 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23176 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23183 if test x
"$no_gtk" = x
; then
23184 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23185 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23186 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23187 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23188 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23189 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23190 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23191 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23192 if test "x$enable_gtktest" = "xyes" ; then
23193 ac_save_CFLAGS
="$CFLAGS"
23194 ac_save_LIBS
="$LIBS"
23195 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23196 LIBS
="$GTK_LIBS $LIBS"
23198 if test "$cross_compiling" = yes; then :
23199 echo $ac_n "cross compiling; assumed OK... $ac_c"
23201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23202 /* end confdefs.h. */
23204 #include <gtk/gtk.h>
23206 #include <stdlib.h>
23211 int major, minor, micro;
23214 system ("touch conf.gtktest");
23216 /* HP/UX 9 (%@#!) writes to sscanf strings */
23217 tmp_version = g_strdup("$min_gtk_version");
23218 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23219 printf("%s, bad version string\n", "$min_gtk_version");
23223 if ((gtk_major_version != $gtk_config_major_version) ||
23224 (gtk_minor_version != $gtk_config_minor_version) ||
23225 (gtk_micro_version != $gtk_config_micro_version))
23227 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23228 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23229 gtk_major_version, gtk_minor_version, gtk_micro_version);
23230 printf ("*** was found! If pkg-config was correct, then it is best\n");
23231 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23232 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23233 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23234 printf("*** required on your system.\n");
23235 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23236 printf("*** to point to the correct configuration files\n");
23238 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23239 (gtk_minor_version != GTK_MINOR_VERSION) ||
23240 (gtk_micro_version != GTK_MICRO_VERSION))
23242 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23243 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23244 printf("*** library (version %d.%d.%d)\n",
23245 gtk_major_version, gtk_minor_version, gtk_micro_version);
23249 if ((gtk_major_version > major) ||
23250 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23251 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23257 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23258 gtk_major_version, gtk_minor_version, gtk_micro_version);
23259 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23260 major, minor, micro);
23261 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23263 printf("*** If you have already installed a sufficiently new version, this error\n");
23264 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23265 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23266 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23267 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23268 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23269 printf("*** so that the correct libraries are found at run-time))\n");
23276 if ac_fn_c_try_run
"$LINENO"; then :
23281 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23282 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23285 CFLAGS
="$ac_save_CFLAGS"
23286 LIBS
="$ac_save_LIBS"
23289 if test "x$no_gtk" = x
; then
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23291 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23295 $as_echo "no" >&6; }
23296 if test "$PKG_CONFIG" = "no" ; then
23297 echo "*** A new enough version of pkg-config was not found."
23298 echo "*** See http://pkgconfig.sourceforge.net"
23300 if test -f conf.gtktest
; then
23303 echo "*** Could not run GTK+ test program, checking why..."
23304 ac_save_CFLAGS
="$CFLAGS"
23305 ac_save_LIBS
="$LIBS"
23306 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23307 LIBS
="$LIBS $GTK_LIBS"
23308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23309 /* end confdefs.h. */
23311 #include <gtk/gtk.h>
23317 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23322 if ac_fn_c_try_link
"$LINENO"; then :
23323 echo "*** The test program compiled, but did not run. This usually means"
23324 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23325 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23326 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23327 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23328 echo "*** is required on your system"
23330 echo "*** If you have an old version installed, it is best to remove it, although"
23331 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23333 echo "*** The test program failed to compile or link. See the file config.log for the"
23334 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23336 rm -f core conftest.err conftest.
$ac_objext \
23337 conftest
$ac_exeext conftest.
$ac_ext
23338 CFLAGS
="$ac_save_CFLAGS"
23339 LIBS
="$ac_save_LIBS"
23351 if test -z "$wx_cv_lib_gtk"; then
23352 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23353 # Check whether --enable-gtktest was given.
23354 if test "${enable_gtktest+set}" = set; then :
23355 enableval
=$enable_gtktest;
23361 pkg_config_args
=gtk
+-3.0
23362 for module
in .
$GTK_MODULES
23366 pkg_config_args
="$pkg_config_args gthread-2.0"
23373 # Extract the first word of "pkg-config", so it can be a program name with args.
23374 set dummy pkg
-config; ac_word
=$2
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23376 $as_echo_n "checking for $ac_word... " >&6; }
23377 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23378 $as_echo_n "(cached) " >&6
23380 case $PKG_CONFIG in
23382 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23386 for as_dir
in $PATH
23389 test -z "$as_dir" && as_dir
=.
23390 for ac_exec_ext
in '' $ac_executable_extensions; do
23391 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23392 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23400 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23404 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23405 if test -n "$PKG_CONFIG"; then
23406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23407 $as_echo "$PKG_CONFIG" >&6; }
23409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23410 $as_echo "no" >&6; }
23415 if test x
$PKG_CONFIG != xno
; then
23416 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23419 echo "*** pkg-config too old; version 0.7 or better required."
23427 min_gtk_version
=3.0.0
23428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23429 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23431 if test x
$PKG_CONFIG != xno
; then
23432 ## don't try to run the test against uninstalled libtool libs
23433 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23434 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23438 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23445 if test x
"$no_gtk" = x
; then
23446 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23447 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23448 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23450 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23452 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23453 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23454 if test "x$enable_gtktest" = "xyes" ; then
23455 ac_save_CFLAGS
="$CFLAGS"
23456 ac_save_LIBS
="$LIBS"
23457 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23458 LIBS
="$GTK_LIBS $LIBS"
23460 if test "$cross_compiling" = yes; then :
23461 echo $ac_n "cross compiling; assumed OK... $ac_c"
23463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23464 /* end confdefs.h. */
23466 #include <gtk/gtk.h>
23468 #include <stdlib.h>
23473 int major, minor, micro;
23476 fclose (fopen ("conf.gtktest", "w"));
23478 /* HP/UX 9 (%@#!) writes to sscanf strings */
23479 tmp_version = g_strdup("$min_gtk_version");
23480 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23481 printf("%s, bad version string\n", "$min_gtk_version");
23485 if ((gtk_major_version != $gtk_config_major_version) ||
23486 (gtk_minor_version != $gtk_config_minor_version) ||
23487 (gtk_micro_version != $gtk_config_micro_version))
23489 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23490 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23491 gtk_major_version, gtk_minor_version, gtk_micro_version);
23492 printf ("*** was found! If pkg-config was correct, then it is best\n");
23493 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23494 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23495 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23496 printf("*** required on your system.\n");
23497 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23498 printf("*** to point to the correct configuration files\n");
23500 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23501 (gtk_minor_version != GTK_MINOR_VERSION) ||
23502 (gtk_micro_version != GTK_MICRO_VERSION))
23504 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23505 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23506 printf("*** library (version %d.%d.%d)\n",
23507 gtk_major_version, gtk_minor_version, gtk_micro_version);
23511 if ((gtk_major_version > major) ||
23512 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23513 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23519 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23520 gtk_major_version, gtk_minor_version, gtk_micro_version);
23521 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23522 major, minor, micro);
23523 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23525 printf("*** If you have already installed a sufficiently new version, this error\n");
23526 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23527 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23528 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23529 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23530 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23531 printf("*** so that the correct libraries are found at run-time))\n");
23538 if ac_fn_c_try_run
"$LINENO"; then :
23543 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23544 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23547 CFLAGS
="$ac_save_CFLAGS"
23548 LIBS
="$ac_save_LIBS"
23551 if test "x$no_gtk" = x
; then
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23553 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23557 $as_echo "no" >&6; }
23558 if test "$PKG_CONFIG" = "no" ; then
23559 echo "*** A new enough version of pkg-config was not found."
23560 echo "*** See http://pkgconfig.sourceforge.net"
23562 if test -f conf.gtktest
; then
23565 echo "*** Could not run GTK+ test program, checking why..."
23566 ac_save_CFLAGS
="$CFLAGS"
23567 ac_save_LIBS
="$LIBS"
23568 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23569 LIBS
="$LIBS $GTK_LIBS"
23570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23571 /* end confdefs.h. */
23573 #include <gtk/gtk.h>
23579 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23584 if ac_fn_c_try_link
"$LINENO"; then :
23585 echo "*** The test program compiled, but did not run. This usually means"
23586 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23587 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23588 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23589 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23590 echo "*** is required on your system"
23592 echo "*** If you have an old version installed, it is best to remove it, although"
23593 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23595 echo "*** The test program failed to compile or link. See the file config.log for the"
23596 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23598 rm -f core conftest.err conftest.
$ac_objext \
23599 conftest
$ac_exeext conftest.
$ac_ext
23600 CFLAGS
="$ac_save_CFLAGS"
23601 LIBS
="$ac_save_LIBS"
23616 if test -z "$wx_cv_lib_gtk"; then
23617 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23619 # Check whether --with-gtk-prefix was given.
23620 if test "${with_gtk_prefix+set}" = set; then :
23621 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23623 gtk_config_prefix
=""
23627 # Check whether --with-gtk-exec-prefix was given.
23628 if test "${with_gtk_exec_prefix+set}" = set; then :
23629 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23631 gtk_config_exec_prefix
=""
23634 # Check whether --enable-gtktest was given.
23635 if test "${enable_gtktest+set}" = set; then :
23636 enableval
=$enable_gtktest;
23642 for module
in .
$GTK_MODULES
23646 gtk_config_args
="$gtk_config_args gthread"
23651 if test x
$gtk_config_exec_prefix != x
; then
23652 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23653 if test x
${GTK_CONFIG+set} != xset
; then
23654 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23657 if test x
$gtk_config_prefix != x
; then
23658 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23659 if test x
${GTK_CONFIG+set} != xset
; then
23660 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23664 # Extract the first word of "gtk-config", so it can be a program name with args.
23665 set dummy gtk
-config; ac_word
=$2
23666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23667 $as_echo_n "checking for $ac_word... " >&6; }
23668 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23669 $as_echo_n "(cached) " >&6
23671 case $GTK_CONFIG in
23673 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23677 for as_dir
in $PATH
23680 test -z "$as_dir" && as_dir
=.
23681 for ac_exec_ext
in '' $ac_executable_extensions; do
23682 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23683 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23691 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23695 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23696 if test -n "$GTK_CONFIG"; then
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23698 $as_echo "$GTK_CONFIG" >&6; }
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23701 $as_echo "no" >&6; }
23705 min_gtk_version
=1.2.7
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23707 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23709 if test "$GTK_CONFIG" = "no" ; then
23712 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23713 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23714 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23716 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23718 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23720 if test "x$enable_gtktest" = "xyes" ; then
23721 ac_save_CFLAGS
="$CFLAGS"
23722 ac_save_LIBS
="$LIBS"
23723 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23724 LIBS
="$GTK_LIBS $LIBS"
23726 if test "$cross_compiling" = yes; then :
23727 echo $ac_n "cross compiling; assumed OK... $ac_c"
23729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23730 /* end confdefs.h. */
23732 #include <gtk/gtk.h>
23734 #include <stdlib.h>
23739 int major, minor, micro;
23742 system ("touch conf.gtktest");
23744 /* HP/UX 9 (%@#!) writes to sscanf strings */
23745 tmp_version = g_strdup("$min_gtk_version");
23746 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23747 printf("%s, bad version string\n", "$min_gtk_version");
23751 if ((gtk_major_version != $gtk_config_major_version) ||
23752 (gtk_minor_version != $gtk_config_minor_version) ||
23753 (gtk_micro_version != $gtk_config_micro_version))
23755 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23756 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23757 gtk_major_version, gtk_minor_version, gtk_micro_version);
23758 printf ("*** was found! If gtk-config was correct, then it is best\n");
23759 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23760 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23761 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23762 printf("*** required on your system.\n");
23763 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23764 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23765 printf("*** before re-running configure\n");
23767 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23768 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23769 (gtk_minor_version != GTK_MINOR_VERSION) ||
23770 (gtk_micro_version != GTK_MICRO_VERSION))
23772 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23773 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23774 printf("*** library (version %d.%d.%d)\n",
23775 gtk_major_version, gtk_minor_version, gtk_micro_version);
23777 #endif /* defined (GTK_MAJOR_VERSION) ... */
23780 if ((gtk_major_version > major) ||
23781 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23782 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23788 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23789 gtk_major_version, gtk_minor_version, gtk_micro_version);
23790 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23791 major, minor, micro);
23792 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23794 printf("*** If you have already installed a sufficiently new version, this error\n");
23795 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23796 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23797 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23798 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23799 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23800 printf("*** so that the correct libraries are found at run-time))\n");
23807 if ac_fn_c_try_run
"$LINENO"; then :
23812 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23813 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23816 CFLAGS
="$ac_save_CFLAGS"
23817 LIBS
="$ac_save_LIBS"
23820 if test "x$no_gtk" = x
; then
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23822 $as_echo "yes" >&6; }
23823 wx_cv_lib_gtk
=1.2.7
23825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23826 $as_echo "no" >&6; }
23827 if test "$GTK_CONFIG" = "no" ; then
23828 echo "*** The gtk-config script installed by GTK could not be found"
23829 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23830 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23831 echo "*** full path to gtk-config."
23833 if test -f conf.gtktest
; then
23836 echo "*** Could not run GTK test program, checking why..."
23837 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23838 LIBS
="$LIBS $GTK_LIBS"
23839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23840 /* end confdefs.h. */
23842 #include <gtk/gtk.h>
23848 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23853 if ac_fn_c_try_link
"$LINENO"; then :
23854 echo "*** The test program compiled, but did not run. This usually means"
23855 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23856 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23857 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23858 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23859 echo "*** is required on your system"
23861 echo "*** If you have an old version installed, it is best to remove it, although"
23862 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23864 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23865 echo "*** came with the system with the command"
23867 echo "*** rpm --erase --nodeps gtk gtk-devel"
23869 echo "*** The test program failed to compile or link. See the file config.log for the"
23870 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23871 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23872 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23874 rm -f core conftest.err conftest.
$ac_objext \
23875 conftest
$ac_exeext conftest.
$ac_ext
23876 CFLAGS
="$ac_save_CFLAGS"
23877 LIBS
="$ac_save_LIBS"
23889 if test -z "$wx_cv_lib_gtk"; then
23891 # Check whether --with-gtk-prefix was given.
23892 if test "${with_gtk_prefix+set}" = set; then :
23893 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23895 gtk_config_prefix
=""
23899 # Check whether --with-gtk-exec-prefix was given.
23900 if test "${with_gtk_exec_prefix+set}" = set; then :
23901 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23903 gtk_config_exec_prefix
=""
23906 # Check whether --enable-gtktest was given.
23907 if test "${enable_gtktest+set}" = set; then :
23908 enableval
=$enable_gtktest;
23914 for module
in .
$GTK_MODULES
23918 gtk_config_args
="$gtk_config_args gthread"
23923 if test x
$gtk_config_exec_prefix != x
; then
23924 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23925 if test x
${GTK_CONFIG+set} != xset
; then
23926 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23929 if test x
$gtk_config_prefix != x
; then
23930 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23931 if test x
${GTK_CONFIG+set} != xset
; then
23932 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23936 # Extract the first word of "gtk-config", so it can be a program name with args.
23937 set dummy gtk
-config; ac_word
=$2
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23939 $as_echo_n "checking for $ac_word... " >&6; }
23940 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23941 $as_echo_n "(cached) " >&6
23943 case $GTK_CONFIG in
23945 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23949 for as_dir
in $PATH
23952 test -z "$as_dir" && as_dir
=.
23953 for ac_exec_ext
in '' $ac_executable_extensions; do
23954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23955 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23963 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23967 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23968 if test -n "$GTK_CONFIG"; then
23969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23970 $as_echo "$GTK_CONFIG" >&6; }
23972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23973 $as_echo "no" >&6; }
23977 min_gtk_version
=1.2.3
23978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23979 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23981 if test "$GTK_CONFIG" = "no" ; then
23984 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23985 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23986 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23988 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23990 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23992 if test "x$enable_gtktest" = "xyes" ; then
23993 ac_save_CFLAGS
="$CFLAGS"
23994 ac_save_LIBS
="$LIBS"
23995 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23996 LIBS
="$GTK_LIBS $LIBS"
23998 if test "$cross_compiling" = yes; then :
23999 echo $ac_n "cross compiling; assumed OK... $ac_c"
24001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24002 /* end confdefs.h. */
24004 #include <gtk/gtk.h>
24006 #include <stdlib.h>
24011 int major, minor, micro;
24014 system ("touch conf.gtktest");
24016 /* HP/UX 9 (%@#!) writes to sscanf strings */
24017 tmp_version = g_strdup("$min_gtk_version");
24018 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24019 printf("%s, bad version string\n", "$min_gtk_version");
24023 if ((gtk_major_version != $gtk_config_major_version) ||
24024 (gtk_minor_version != $gtk_config_minor_version) ||
24025 (gtk_micro_version != $gtk_config_micro_version))
24027 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24028 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24029 gtk_major_version, gtk_minor_version, gtk_micro_version);
24030 printf ("*** was found! If gtk-config was correct, then it is best\n");
24031 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24032 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24033 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24034 printf("*** required on your system.\n");
24035 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24036 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24037 printf("*** before re-running configure\n");
24039 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24040 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24041 (gtk_minor_version != GTK_MINOR_VERSION) ||
24042 (gtk_micro_version != GTK_MICRO_VERSION))
24044 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24045 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24046 printf("*** library (version %d.%d.%d)\n",
24047 gtk_major_version, gtk_minor_version, gtk_micro_version);
24049 #endif /* defined (GTK_MAJOR_VERSION) ... */
24052 if ((gtk_major_version > major) ||
24053 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24054 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24060 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24061 gtk_major_version, gtk_minor_version, gtk_micro_version);
24062 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24063 major, minor, micro);
24064 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24066 printf("*** If you have already installed a sufficiently new version, this error\n");
24067 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24068 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24069 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24070 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24071 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24072 printf("*** so that the correct libraries are found at run-time))\n");
24079 if ac_fn_c_try_run
"$LINENO"; then :
24084 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24085 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24088 CFLAGS
="$ac_save_CFLAGS"
24089 LIBS
="$ac_save_LIBS"
24092 if test "x$no_gtk" = x
; then
24093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24094 $as_echo "yes" >&6; }
24095 wx_cv_lib_gtk
=1.2.3
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24098 $as_echo "no" >&6; }
24099 if test "$GTK_CONFIG" = "no" ; then
24100 echo "*** The gtk-config script installed by GTK could not be found"
24101 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24102 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24103 echo "*** full path to gtk-config."
24105 if test -f conf.gtktest
; then
24108 echo "*** Could not run GTK test program, checking why..."
24109 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24110 LIBS
="$LIBS $GTK_LIBS"
24111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24112 /* end confdefs.h. */
24114 #include <gtk/gtk.h>
24120 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24125 if ac_fn_c_try_link
"$LINENO"; then :
24126 echo "*** The test program compiled, but did not run. This usually means"
24127 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24128 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24129 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24130 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24131 echo "*** is required on your system"
24133 echo "*** If you have an old version installed, it is best to remove it, although"
24134 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24136 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24137 echo "*** came with the system with the command"
24139 echo "*** rpm --erase --nodeps gtk gtk-devel"
24141 echo "*** The test program failed to compile or link. See the file config.log for the"
24142 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24143 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24144 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24146 rm -f core conftest.err conftest.
$ac_objext \
24147 conftest
$ac_exeext conftest.
$ac_ext
24148 CFLAGS
="$ac_save_CFLAGS"
24149 LIBS
="$ac_save_LIBS"
24164 if test -z "$wx_cv_lib_gtk"; then
24167 GTK_LIBS
="$GTK_LIBS -lX11"
24169 wx_cv_cflags_gtk
=$GTK_CFLAGS
24170 wx_cv_libs_gtk
=$GTK_LIBS
24177 if test "$gtk_version_cached" = 1; then
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24179 $as_echo "$wx_cv_lib_gtk" >&6; }
24182 case "$wx_cv_lib_gtk" in
24193 *) as_fn_error $?
"
24194 The development files for GTK+ were not found. For GTK+ 2, please
24195 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24196 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24197 and that the version is 1.2.3 or above. Also check that the
24198 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24199 --libs' are in the LD_LIBRARY_PATH or equivalent.
24204 if test "$WXGTK3" = 1; then
24205 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24207 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24209 elif test "$WXGTK2" = 1; then
24210 save_CFLAGS
="$CFLAGS"
24212 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24213 LIBS
="$LIBS $wx_cv_libs_gtk"
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24216 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24218 /* end confdefs.h. */
24220 #include <gtk/gtk.h>
24226 #if !GTK_CHECK_VERSION(2,18,0)
24234 if ac_fn_c_try_compile
"$LINENO"; then :
24236 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24238 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24241 $as_echo "yes" >&6; }
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24247 $as_echo "no" >&6; }
24251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24253 if test "$ac_wxgtk218" = 0; then
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24255 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24257 /* end confdefs.h. */
24259 #include <gtk/gtk.h>
24265 #if !GTK_CHECK_VERSION(2,10,0)
24273 if ac_fn_c_try_compile
"$LINENO"; then :
24275 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24278 $as_echo "yes" >&6; }
24283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24284 $as_echo "no" >&6; }
24288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24291 CFLAGS
="$save_CFLAGS"
24294 if test "$wxUSE_UNICODE" = "yes"; then
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24296 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24301 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24302 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24303 $as_echo_n "(cached) " >&6
24305 ac_check_lib_save_LIBS
=$LIBS
24307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24308 /* end confdefs.h. */
24310 /* Override any GCC internal prototype to avoid an error.
24311 Use char because int might match the return type of a GCC
24312 builtin and then its argument prototype would still apply. */
24316 char gdk_im_open ();
24320 return gdk_im_open ();
24325 if ac_fn_c_try_link
"$LINENO"; then :
24326 ac_cv_lib_gdk_gdk_im_open
=yes
24328 ac_cv_lib_gdk_gdk_im_open
=no
24330 rm -f core conftest.err conftest.
$ac_objext \
24331 conftest
$ac_exeext conftest.
$ac_ext
24332 LIBS
=$ac_check_lib_save_LIBS
24334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24335 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24336 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24337 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24342 if test "$USE_DARWIN" != 1; then
24343 for ac_func
in poll
24345 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24346 if test "x$ac_cv_func_poll" = xyes
; then :
24347 cat >>confdefs.h
<<_ACEOF
24348 #define HAVE_POLL 1
24357 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24358 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24359 AFMINSTALL
=afminstall
24363 if test "$wxUSE_GPE" = "yes"; then
24364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24365 $as_echo_n "checking for gpewidget library... " >&6; }
24368 for ac_dir
in $SEARCH_LIB
24370 for ac_extension
in a so sl dylib dll.a
; do
24371 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24372 ac_find_libraries
=$ac_dir
24378 if test "$ac_find_libraries" != "" ; then
24380 if test "$ac_find_libraries" = "default location"; then
24383 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24385 if test $result = 0; then
24388 ac_path_to_link
=" -L$ac_find_libraries"
24392 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24395 $as_echo "found in $ac_find_libraries" >&6; }
24397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24398 $as_echo "not found" >&6; }
24404 if test "$wxUSE_DFB" = 1; then
24407 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24408 if test -n "$ac_tool_prefix"; then
24409 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24410 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24412 $as_echo_n "checking for $ac_word... " >&6; }
24413 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24414 $as_echo_n "(cached) " >&6
24416 case $PKG_CONFIG in
24418 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24422 for as_dir
in $PATH
24425 test -z "$as_dir" && as_dir
=.
24426 for ac_exec_ext
in '' $ac_executable_extensions; do
24427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24428 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24439 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24440 if test -n "$PKG_CONFIG"; then
24441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24442 $as_echo "$PKG_CONFIG" >&6; }
24444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24445 $as_echo "no" >&6; }
24450 if test -z "$ac_cv_path_PKG_CONFIG"; then
24451 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24452 # Extract the first word of "pkg-config", so it can be a program name with args.
24453 set dummy pkg
-config; ac_word
=$2
24454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24455 $as_echo_n "checking for $ac_word... " >&6; }
24456 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24457 $as_echo_n "(cached) " >&6
24459 case $ac_pt_PKG_CONFIG in
24461 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24465 for as_dir
in $PATH
24468 test -z "$as_dir" && as_dir
=.
24469 for ac_exec_ext
in '' $ac_executable_extensions; do
24470 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24471 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24482 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24483 if test -n "$ac_pt_PKG_CONFIG"; then
24484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24485 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24488 $as_echo "no" >&6; }
24491 if test "x$ac_pt_PKG_CONFIG" = x
; then
24494 case $cross_compiling:$ac_tool_warned in
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24498 ac_tool_warned
=yes ;;
24500 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24503 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24507 if test -n "$PKG_CONFIG"; then
24508 _pkg_min_version
=0.9.0
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24510 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24511 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24513 $as_echo "yes" >&6; }
24515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24516 $as_echo "no" >&6; }
24524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24525 $as_echo_n "checking for DIRECTFB... " >&6; }
24527 if test -n "$PKG_CONFIG"; then
24528 if test -n "$DIRECTFB_CFLAGS"; then
24529 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24531 if test -n "$PKG_CONFIG" && \
24532 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24533 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24536 test $ac_status = 0; }; then
24537 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24545 if test -n "$PKG_CONFIG"; then
24546 if test -n "$DIRECTFB_LIBS"; then
24547 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24549 if test -n "$PKG_CONFIG" && \
24550 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24551 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24554 test $ac_status = 0; }; then
24555 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24566 if test $pkg_failed = yes; then
24568 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24569 _pkg_short_errors_supported
=yes
24571 _pkg_short_errors_supported
=no
24573 if test $_pkg_short_errors_supported = yes; then
24574 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24576 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24578 # Put the nasty error message in config.log where it belongs
24579 echo "$DIRECTFB_PKG_ERRORS" >&5
24582 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24585 elif test $pkg_failed = untried
; then
24587 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24591 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24592 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24594 $as_echo "yes" >&6; }
24596 wxUSE_UNIVERSAL
="yes"
24597 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24598 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24605 if test "$wxUSE_MICROWIN" = 1; then
24606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24607 $as_echo_n "checking for MicroWindows... " >&6; }
24608 if test "x$MICROWINDOWS" = x
; then
24609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24610 $as_echo "not found" >&6; }
24611 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24614 $as_echo "$MICROWINDOWS" >&6; }
24617 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24619 $as_echo "MicroWindows' libraries found." >&6; }
24621 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24624 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24625 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24627 wxUSE_UNIVERSAL
="yes"
24629 AFMINSTALL
=afminstall
24631 GUIDIST
=MICROWIN_DIST
24633 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24636 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24638 $as_echo_n "checking for X... " >&6; }
24641 # Check whether --with-x was given.
24642 if test "${with_x+set}" = set; then :
24646 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24647 if test "x$with_x" = xno
; then
24648 # The user explicitly disabled X.
24651 case $x_includes,$x_libraries in #(
24652 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24653 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24654 $as_echo_n "(cached) " >&6
24656 # One or both of the vars are not set, and there is no cached value.
24657 ac_x_includes
=no ac_x_libraries
=no
24658 rm -f -r conftest.dir
24659 if mkdir conftest.dir
; then
24661 cat >Imakefile
<<'_ACEOF'
24663 @echo incroot='${INCROOT}'
24665 @echo usrlibdir='${USRLIBDIR}'
24667 @echo libdir='${LIBDIR}'
24669 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24670 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24671 for ac_var
in incroot usrlibdir libdir
; do
24672 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24674 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24675 for ac_extension
in a so sl dylib la dll
; do
24676 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24677 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24678 ac_im_usrlibdir
=$ac_im_libdir; break
24681 # Screen out bogus values from the imake configuration. They are
24682 # bogus both because they are the default anyway, and because
24683 # using them would break gcc on systems where it needs fixed includes.
24684 case $ac_im_incroot in
24685 /usr
/include
) ac_x_includes
= ;;
24686 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24688 case $ac_im_usrlibdir in
24689 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24690 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24694 rm -f -r conftest.dir
24697 # Standard set of common directories for X headers.
24698 # Check X11 before X11Rn because it is often a symlink to the current release.
24712 /usr/local/X11/include
24713 /usr/local/X11R7/include
24714 /usr/local/X11R6/include
24715 /usr/local/X11R5/include
24716 /usr/local/X11R4/include
24718 /usr/local/include/X11
24719 /usr/local/include/X11R7
24720 /usr/local/include/X11R6
24721 /usr/local/include/X11R5
24722 /usr/local/include/X11R4
24726 /usr/XFree86/include/X11
24730 /usr/unsupported/include
24731 /usr/athena/include
24732 /usr/local/x11r5/include
24733 /usr/lpp/Xamples/include
24735 /usr/openwin/include
24736 /usr/openwin/share/include'
24738 if test "$ac_x_includes" = no
; then
24739 # Guess where to find include files, by looking for Xlib.h.
24740 # First, try using that file with no special directory specified.
24741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24742 /* end confdefs.h. */
24743 #include <X11/Xlib.h>
24745 if ac_fn_c_try_cpp
"$LINENO"; then :
24746 # We can compile using X headers with no special include directory.
24749 for ac_dir
in $ac_x_header_dirs; do
24750 if test -r "$ac_dir/X11/Xlib.h"; then
24751 ac_x_includes
=$ac_dir
24756 rm -f conftest.err conftest.i conftest.
$ac_ext
24757 fi # $ac_x_includes = no
24759 if test "$ac_x_libraries" = no
; then
24760 # Check for the libraries.
24761 # See if we find them without any special options.
24762 # Don't add to $LIBS permanently.
24765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24766 /* end confdefs.h. */
24767 #include <X11/Xlib.h>
24776 if ac_fn_c_try_link
"$LINENO"; then :
24778 # We can link X programs with no special library path.
24782 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24784 # Don't even attempt the hair of trying to link an X program!
24785 for ac_extension
in a so sl dylib la dll
; do
24786 if test -r "$ac_dir/libX11.$ac_extension"; then
24787 ac_x_libraries
=$ac_dir
24793 rm -f core conftest.err conftest.
$ac_objext \
24794 conftest
$ac_exeext conftest.
$ac_ext
24795 fi # $ac_x_libraries = no
24797 case $ac_x_includes,$ac_x_libraries in #(
24798 no
,* | *,no
| *\'*)
24799 # Didn't find X, or a directory has "'" in its name.
24800 ac_cv_have_x
="have_x=no";; #(
24802 # Record where we found X for the cache.
24803 ac_cv_have_x
="have_x=yes\
24804 ac_x_includes='$ac_x_includes'\
24805 ac_x_libraries='$ac_x_libraries'"
24811 eval "$ac_cv_have_x"
24814 if test "$have_x" != yes; then
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24816 $as_echo "$have_x" >&6; }
24819 # If each of the values was on the command line, it overrides each guess.
24820 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
24821 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
24822 # Update the cache value to reflect the command line values.
24823 ac_cv_have_x
="have_x=yes\
24824 ac_x_includes='$x_includes'\
24825 ac_x_libraries='$x_libraries'"
24826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24827 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24830 if test "$no_x" = yes; then
24831 # Not all programs may use this symbol, but it does not hurt to define it.
24833 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24835 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
24837 if test -n "$x_includes"; then
24838 X_CFLAGS
="$X_CFLAGS -I$x_includes"
24841 # It would also be nice to do this for all -L options, not just this one.
24842 if test -n "$x_libraries"; then
24843 X_LIBS
="$X_LIBS -L$x_libraries"
24844 # For Solaris; some versions of Sun CC require a space after -R and
24845 # others require no space. Words are not sufficient . . . .
24846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24847 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24848 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
24849 ac_xsave_c_werror_flag
=$ac_c_werror_flag
24850 ac_c_werror_flag
=yes
24851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24852 /* end confdefs.h. */
24862 if ac_fn_c_try_link
"$LINENO"; then :
24863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24864 $as_echo "no" >&6; }
24865 X_LIBS
="$X_LIBS -R$x_libraries"
24867 LIBS
="$ac_xsave_LIBS -R $x_libraries"
24868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24869 /* end confdefs.h. */
24879 if ac_fn_c_try_link
"$LINENO"; then :
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24881 $as_echo "yes" >&6; }
24882 X_LIBS
="$X_LIBS -R $x_libraries"
24884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24885 $as_echo "neither works" >&6; }
24887 rm -f core conftest.err conftest.
$ac_objext \
24888 conftest
$ac_exeext conftest.
$ac_ext
24890 rm -f core conftest.err conftest.
$ac_objext \
24891 conftest
$ac_exeext conftest.
$ac_ext
24892 ac_c_werror_flag
=$ac_xsave_c_werror_flag
24893 LIBS
=$ac_xsave_LIBS
24896 # Check for system-dependent libraries X programs must link with.
24897 # Do this before checking for the system-independent R6 libraries
24898 # (-lICE), since we may need -lsocket or whatever for X linking.
24900 if test "$ISC" = yes; then
24901 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
24903 # Martyn Johnson says this is needed for Ultrix, if the X
24904 # libraries were built with DECnet support. And Karl Berry says
24905 # the Alpha needs dnet_stub (dnet does not exist).
24906 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
24907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24908 /* end confdefs.h. */
24910 /* Override any GCC internal prototype to avoid an error.
24911 Use char because int might match the return type of a GCC
24912 builtin and then its argument prototype would still apply. */
24916 char XOpenDisplay ();
24920 return XOpenDisplay ();
24925 if ac_fn_c_try_link
"$LINENO"; then :
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24929 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24930 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
24931 $as_echo_n "(cached) " >&6
24933 ac_check_lib_save_LIBS
=$LIBS
24934 LIBS
="-ldnet $LIBS"
24935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24936 /* end confdefs.h. */
24938 /* Override any GCC internal prototype to avoid an error.
24939 Use char because int might match the return type of a GCC
24940 builtin and then its argument prototype would still apply. */
24948 return dnet_ntoa ();
24953 if ac_fn_c_try_link
"$LINENO"; then :
24954 ac_cv_lib_dnet_dnet_ntoa
=yes
24956 ac_cv_lib_dnet_dnet_ntoa
=no
24958 rm -f core conftest.err conftest.
$ac_objext \
24959 conftest
$ac_exeext conftest.
$ac_ext
24960 LIBS
=$ac_check_lib_save_LIBS
24962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24963 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24964 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
24965 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
24968 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
24969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24970 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24971 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
24972 $as_echo_n "(cached) " >&6
24974 ac_check_lib_save_LIBS
=$LIBS
24975 LIBS
="-ldnet_stub $LIBS"
24976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24977 /* end confdefs.h. */
24979 /* Override any GCC internal prototype to avoid an error.
24980 Use char because int might match the return type of a GCC
24981 builtin and then its argument prototype would still apply. */
24989 return dnet_ntoa ();
24994 if ac_fn_c_try_link
"$LINENO"; then :
24995 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
24997 ac_cv_lib_dnet_stub_dnet_ntoa
=no
24999 rm -f core conftest.err conftest.
$ac_objext \
25000 conftest
$ac_exeext conftest.
$ac_ext
25001 LIBS
=$ac_check_lib_save_LIBS
25003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25004 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25005 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
25006 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25011 rm -f core conftest.err conftest.
$ac_objext \
25012 conftest
$ac_exeext conftest.
$ac_ext
25013 LIBS
="$ac_xsave_LIBS"
25015 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25016 # to get the SysV transport functions.
25017 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25019 # The nsl library prevents programs from opening the X display
25020 # on Irix 5.2, according to T.E. Dickey.
25021 # The functions gethostbyname, getservbyname, and inet_addr are
25022 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25023 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25024 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25028 if test $ac_cv_func_gethostbyname = no
; then
25029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25030 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25031 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25032 $as_echo_n "(cached) " >&6
25034 ac_check_lib_save_LIBS
=$LIBS
25036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25037 /* end confdefs.h. */
25039 /* Override any GCC internal prototype to avoid an error.
25040 Use char because int might match the return type of a GCC
25041 builtin and then its argument prototype would still apply. */
25045 char gethostbyname ();
25049 return gethostbyname ();
25054 if ac_fn_c_try_link
"$LINENO"; then :
25055 ac_cv_lib_nsl_gethostbyname
=yes
25057 ac_cv_lib_nsl_gethostbyname
=no
25059 rm -f core conftest.err conftest.
$ac_objext \
25060 conftest
$ac_exeext conftest.
$ac_ext
25061 LIBS
=$ac_check_lib_save_LIBS
25063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25064 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25065 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25066 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25069 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25071 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25072 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25073 $as_echo_n "(cached) " >&6
25075 ac_check_lib_save_LIBS
=$LIBS
25077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25078 /* end confdefs.h. */
25080 /* Override any GCC internal prototype to avoid an error.
25081 Use char because int might match the return type of a GCC
25082 builtin and then its argument prototype would still apply. */
25086 char gethostbyname ();
25090 return gethostbyname ();
25095 if ac_fn_c_try_link
"$LINENO"; then :
25096 ac_cv_lib_bsd_gethostbyname
=yes
25098 ac_cv_lib_bsd_gethostbyname
=no
25100 rm -f core conftest.err conftest.
$ac_objext \
25101 conftest
$ac_exeext conftest.
$ac_ext
25102 LIBS
=$ac_check_lib_save_LIBS
25104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25105 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25106 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25107 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25113 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25114 # socket/setsockopt and other routines are undefined under SCO ODT
25115 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25116 # on later versions), says Simon Leinen: it contains gethostby*
25117 # variants that don't use the name server (or something). -lsocket
25118 # must be given before -lnsl if both are needed. We assume that
25119 # if connect needs -lnsl, so does gethostbyname.
25120 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25121 if test "x$ac_cv_func_connect" = xyes
; then :
25125 if test $ac_cv_func_connect = no
; then
25126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25127 $as_echo_n "checking for connect in -lsocket... " >&6; }
25128 if ${ac_cv_lib_socket_connect+:} false
; then :
25129 $as_echo_n "(cached) " >&6
25131 ac_check_lib_save_LIBS
=$LIBS
25132 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25134 /* end confdefs.h. */
25136 /* Override any GCC internal prototype to avoid an error.
25137 Use char because int might match the return type of a GCC
25138 builtin and then its argument prototype would still apply. */
25151 if ac_fn_c_try_link
"$LINENO"; then :
25152 ac_cv_lib_socket_connect
=yes
25154 ac_cv_lib_socket_connect
=no
25156 rm -f core conftest.err conftest.
$ac_objext \
25157 conftest
$ac_exeext conftest.
$ac_ext
25158 LIBS
=$ac_check_lib_save_LIBS
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25161 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25162 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25163 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25168 # Guillermo Gomez says -lposix is necessary on A/UX.
25169 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25170 if test "x$ac_cv_func_remove" = xyes
; then :
25174 if test $ac_cv_func_remove = no
; then
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25176 $as_echo_n "checking for remove in -lposix... " >&6; }
25177 if ${ac_cv_lib_posix_remove+:} false
; then :
25178 $as_echo_n "(cached) " >&6
25180 ac_check_lib_save_LIBS
=$LIBS
25181 LIBS
="-lposix $LIBS"
25182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25183 /* end confdefs.h. */
25185 /* Override any GCC internal prototype to avoid an error.
25186 Use char because int might match the return type of a GCC
25187 builtin and then its argument prototype would still apply. */
25200 if ac_fn_c_try_link
"$LINENO"; then :
25201 ac_cv_lib_posix_remove
=yes
25203 ac_cv_lib_posix_remove
=no
25205 rm -f core conftest.err conftest.
$ac_objext \
25206 conftest
$ac_exeext conftest.
$ac_ext
25207 LIBS
=$ac_check_lib_save_LIBS
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25210 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25211 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25212 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25217 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25218 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25219 if test "x$ac_cv_func_shmat" = xyes
; then :
25223 if test $ac_cv_func_shmat = no
; then
25224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25225 $as_echo_n "checking for shmat in -lipc... " >&6; }
25226 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25227 $as_echo_n "(cached) " >&6
25229 ac_check_lib_save_LIBS
=$LIBS
25231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25232 /* end confdefs.h. */
25234 /* Override any GCC internal prototype to avoid an error.
25235 Use char because int might match the return type of a GCC
25236 builtin and then its argument prototype would still apply. */
25249 if ac_fn_c_try_link
"$LINENO"; then :
25250 ac_cv_lib_ipc_shmat
=yes
25252 ac_cv_lib_ipc_shmat
=no
25254 rm -f core conftest.err conftest.
$ac_objext \
25255 conftest
$ac_exeext conftest.
$ac_ext
25256 LIBS
=$ac_check_lib_save_LIBS
25258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25259 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25260 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25261 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25267 # Check for libraries that X11R6 Xt/Xaw programs need.
25268 ac_save_LDFLAGS
=$LDFLAGS
25269 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25270 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25271 # check for ICE first), but we must link in the order -lSM -lICE or
25272 # we get undefined symbols. So assume we have SM if we have ICE.
25273 # These have to be linked with before -lX11, unlike the other
25274 # libraries we check for below, so use a different variable.
25275 # John Interrante, Karl Berry
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25277 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25278 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25279 $as_echo_n "(cached) " >&6
25281 ac_check_lib_save_LIBS
=$LIBS
25282 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25284 /* end confdefs.h. */
25286 /* Override any GCC internal prototype to avoid an error.
25287 Use char because int might match the return type of a GCC
25288 builtin and then its argument prototype would still apply. */
25292 char IceConnectionNumber ();
25296 return IceConnectionNumber ();
25301 if ac_fn_c_try_link
"$LINENO"; then :
25302 ac_cv_lib_ICE_IceConnectionNumber
=yes
25304 ac_cv_lib_ICE_IceConnectionNumber
=no
25306 rm -f core conftest.err conftest.
$ac_objext \
25307 conftest
$ac_exeext conftest.
$ac_ext
25308 LIBS
=$ac_check_lib_save_LIBS
25310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25311 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25312 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25313 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25316 LDFLAGS
=$ac_save_LDFLAGS
25321 if test "$no_x" = "yes"; then
25322 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25325 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25326 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25327 AFMINSTALL
=afminstall
25328 COMPILED_X_PROGRAM
=0
25332 if test "$wxUSE_X11" = 1; then
25333 if test "$wxUSE_NANOX" = "yes"; then
25334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25335 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25336 if test "x$MICROWIN" = x
; then
25337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25338 $as_echo "not found" >&6; }
25339 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25342 $as_echo "$MICROWIN" >&6; }
25343 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25348 if test "$wxUSE_UNICODE" = "yes"; then
25351 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25352 if test -n "$ac_tool_prefix"; then
25353 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25354 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25356 $as_echo_n "checking for $ac_word... " >&6; }
25357 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25358 $as_echo_n "(cached) " >&6
25360 case $PKG_CONFIG in
25362 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25366 for as_dir
in $PATH
25369 test -z "$as_dir" && as_dir
=.
25370 for ac_exec_ext
in '' $ac_executable_extensions; do
25371 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25372 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25383 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25384 if test -n "$PKG_CONFIG"; then
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25386 $as_echo "$PKG_CONFIG" >&6; }
25388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25389 $as_echo "no" >&6; }
25394 if test -z "$ac_cv_path_PKG_CONFIG"; then
25395 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25396 # Extract the first word of "pkg-config", so it can be a program name with args.
25397 set dummy pkg
-config; ac_word
=$2
25398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25399 $as_echo_n "checking for $ac_word... " >&6; }
25400 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25401 $as_echo_n "(cached) " >&6
25403 case $ac_pt_PKG_CONFIG in
25405 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25409 for as_dir
in $PATH
25412 test -z "$as_dir" && as_dir
=.
25413 for ac_exec_ext
in '' $ac_executable_extensions; do
25414 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25415 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25426 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25427 if test -n "$ac_pt_PKG_CONFIG"; then
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25429 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25432 $as_echo "no" >&6; }
25435 if test "x$ac_pt_PKG_CONFIG" = x
; then
25438 case $cross_compiling:$ac_tool_warned in
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25442 ac_tool_warned
=yes ;;
25444 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25447 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25451 if test -n "$PKG_CONFIG"; then
25452 _pkg_min_version
=0.9.0
25453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25454 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25455 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25457 $as_echo "yes" >&6; }
25459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25460 $as_echo "no" >&6; }
25468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25469 $as_echo_n "checking for PANGOX... " >&6; }
25471 if test -n "$PKG_CONFIG"; then
25472 if test -n "$PANGOX_CFLAGS"; then
25473 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25475 if test -n "$PKG_CONFIG" && \
25476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25477 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25480 test $ac_status = 0; }; then
25481 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25489 if test -n "$PKG_CONFIG"; then
25490 if test -n "$PANGOX_LIBS"; then
25491 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25493 if test -n "$PKG_CONFIG" && \
25494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25495 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25498 test $ac_status = 0; }; then
25499 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25510 if test $pkg_failed = yes; then
25512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25513 _pkg_short_errors_supported
=yes
25515 _pkg_short_errors_supported
=no
25517 if test $_pkg_short_errors_supported = yes; then
25518 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25520 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25522 # Put the nasty error message in config.log where it belongs
25523 echo "$PANGOX_PKG_ERRORS" >&5
25526 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25529 elif test $pkg_failed = untried
; then
25531 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25535 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25536 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25538 $as_echo "yes" >&6; }
25540 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25541 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25542 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25548 $as_echo_n "checking for PANGOFT2... " >&6; }
25550 if test -n "$PKG_CONFIG"; then
25551 if test -n "$PANGOFT2_CFLAGS"; then
25552 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25554 if test -n "$PKG_CONFIG" && \
25555 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25556 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25559 test $ac_status = 0; }; then
25560 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25568 if test -n "$PKG_CONFIG"; then
25569 if test -n "$PANGOFT2_LIBS"; then
25570 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25572 if test -n "$PKG_CONFIG" && \
25573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25574 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25577 test $ac_status = 0; }; then
25578 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25589 if test $pkg_failed = yes; then
25591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25592 _pkg_short_errors_supported
=yes
25594 _pkg_short_errors_supported
=no
25596 if test $_pkg_short_errors_supported = yes; then
25597 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25599 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25601 # Put the nasty error message in config.log where it belongs
25602 echo "$PANGOFT2_PKG_ERRORS" >&5
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25606 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25607 wxUSE_PRINTING_ARCHITECTURE
="no"
25610 elif test $pkg_failed = untried
; then
25612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25613 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25614 wxUSE_PRINTING_ARCHITECTURE
="no"
25618 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25619 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25621 $as_echo "yes" >&6; }
25623 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25624 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25625 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25631 $as_echo_n "checking for PANGOXFT... " >&6; }
25633 if test -n "$PKG_CONFIG"; then
25634 if test -n "$PANGOXFT_CFLAGS"; then
25635 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25637 if test -n "$PKG_CONFIG" && \
25638 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25639 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25642 test $ac_status = 0; }; then
25643 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25651 if test -n "$PKG_CONFIG"; then
25652 if test -n "$PANGOXFT_LIBS"; then
25653 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25655 if test -n "$PKG_CONFIG" && \
25656 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25657 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25660 test $ac_status = 0; }; then
25661 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25672 if test $pkg_failed = yes; then
25674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25675 _pkg_short_errors_supported
=yes
25677 _pkg_short_errors_supported
=no
25679 if test $_pkg_short_errors_supported = yes; then
25680 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25682 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25684 # Put the nasty error message in config.log where it belongs
25685 echo "$PANGOXFT_PKG_ERRORS" >&5
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25689 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25692 elif test $pkg_failed = untried
; then
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25695 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25699 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25700 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25702 $as_echo "yes" >&6; }
25704 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25706 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25707 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25708 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25712 LIBS
="$LIBS $PANGOX_LIBS"
25713 for ac_func
in pango_font_family_is_monospace
25715 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25716 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
25717 cat >>confdefs.h
<<_ACEOF
25718 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25727 wxUSE_UNIVERSAL
="yes"
25729 if test "$wxUSE_NANOX" = "yes"; then
25730 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25731 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"
25732 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25734 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25741 if test "$wxUSE_MOTIF" = 1; then
25742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25743 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25746 for ac_dir
in $SEARCH_INCLUDE /usr
/include
25748 if test -f "$ac_dir/Xm/Xm.h"; then
25749 ac_find_includes
=$ac_dir
25754 if test "$ac_find_includes" != "" ; then
25755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25756 $as_echo "found in $ac_find_includes" >&6; }
25758 if test "x$ac_find_includes" = "x/usr/include"; then
25759 ac_path_to_include
=""
25761 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25763 if test $result = 0; then
25764 ac_path_to_include
=""
25766 ac_path_to_include
=" -I$ac_find_includes"
25770 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25772 save_CFLAGS
=$CFLAGS
25773 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25776 /* end confdefs.h. */
25785 version = xmUseVersion;
25791 if ac_fn_c_try_compile
"$LINENO"; then :
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25794 $as_echo "found in default search path" >&6; }
25795 COMPILED_X_PROGRAM
=1
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25800 $as_echo "no" >&6; }
25801 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25807 CFLAGS
=$save_CFLAGS
25811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25812 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25815 for ac_dir
in $SEARCH_LIB
25817 for ac_extension
in a so sl dylib dll.a
; do
25818 if test -f "$ac_dir/libXm.$ac_extension"; then
25819 ac_find_libraries
=$ac_dir
25826 if test "x$ac_find_libraries" != "x" ; then
25827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25828 $as_echo "found in $ac_find_libraries" >&6; }
25831 if test "$ac_find_libraries" = "default location"; then
25834 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
25836 if test $result = 0; then
25839 ac_path_to_link
=" -L$ac_find_libraries"
25843 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
25845 save_CFLAGS
=$CFLAGS
25846 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25848 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25851 /* end confdefs.h. */
25860 version = xmUseVersion;
25866 if ac_fn_c_try_link
"$LINENO"; then :
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25869 $as_echo "found in default search path" >&6; }
25870 COMPILED_X_PROGRAM
=1
25874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25875 $as_echo "no" >&6; }
25876 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25880 rm -f core conftest.err conftest.
$ac_objext \
25881 conftest
$ac_exeext conftest.
$ac_ext
25883 CFLAGS
=$save_CFLAGS
25887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25888 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25892 for libp
in "" " -lXp"; do
25893 if test "$libs_found" = 0; then
25894 for libsm_ice
in "" " -lSM -lICE"; do
25895 if test "$libs_found" = 0; then
25897 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25898 save_CFLAGS
=$CFLAGS
25899 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25902 /* end confdefs.h. */
25905 #include <Xm/List.h>
25911 XmString string = NULL;
25914 XmListAddItem(w, string, position);
25920 if ac_fn_c_try_link
"$LINENO"; then :
25923 libsm_ice_link
="$libsm_ice"
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25925 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25929 rm -f core conftest.err conftest.
$ac_objext \
25930 conftest
$ac_exeext conftest.
$ac_ext
25933 CFLAGS
=$save_CFLAGS
25939 if test "$libs_found" = 0; then
25940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25941 $as_echo "can't find the right libraries" >&6; }
25942 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
25945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25946 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25947 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
25948 $as_echo_n "(cached) " >&6
25950 ac_check_lib_save_LIBS
=$LIBS
25952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25953 /* end confdefs.h. */
25955 /* Override any GCC internal prototype to avoid an error.
25956 Use char because int might match the return type of a GCC
25957 builtin and then its argument prototype would still apply. */
25961 char SgCreateList ();
25965 return SgCreateList ();
25970 if ac_fn_c_try_link
"$LINENO"; then :
25971 ac_cv_lib_Sgm_SgCreateList
=yes
25973 ac_cv_lib_Sgm_SgCreateList
=no
25975 rm -f core conftest.err conftest.
$ac_objext \
25976 conftest
$ac_exeext conftest.
$ac_ext
25977 LIBS
=$ac_check_lib_save_LIBS
25979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
25980 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
25981 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
25982 libsgm_link
=" -lSgm"
25986 save_CFLAGS
=$CFLAGS
25987 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
25990 $as_echo_n "checking for Motif 2... " >&6; }
25991 if ${wx_cv_lib_motif2+:} false
; then :
25992 $as_echo_n "(cached) " >&6
25994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25995 /* end confdefs.h. */
26003 #if XmVersion < 2000
26011 if ac_fn_c_try_compile
"$LINENO"; then :
26012 wx_cv_lib_motif2
="yes"
26014 wx_cv_lib_motif2
="no"
26016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26019 $as_echo "$wx_cv_lib_motif2" >&6; }
26020 if test "$wx_cv_lib_motif2" = "yes"; then
26021 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26024 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26029 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26030 if ${wx_cv_lib_lesstif+:} false
; then :
26031 $as_echo_n "(cached) " >&6
26033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26034 /* end confdefs.h. */
26042 #if !defined(LesstifVersion) || LesstifVersion <= 0
26050 if ac_fn_c_try_compile
"$LINENO"; then :
26051 wx_cv_lib_lesstif
="yes"
26053 wx_cv_lib_lesstif
="no"
26055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26059 $as_echo "$wx_cv_lib_lesstif" >&6; }
26060 if test "$wx_cv_lib_lesstif" = "yes"; then
26061 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26064 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26068 CFLAGS
=$save_CFLAGS
26070 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26075 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26076 if test "$wxUSE_LIBXPM" = "sys"; then
26077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26078 $as_echo_n "checking for Xpm library... " >&6; }
26081 for ac_dir
in $SEARCH_LIB
26083 for ac_extension
in a so sl dylib dll.a
; do
26084 if test -f "$ac_dir/libXpm.$ac_extension"; then
26085 ac_find_libraries
=$ac_dir
26091 if test "$ac_find_libraries" != "" ; then
26093 if test "$ac_find_libraries" = "default location"; then
26096 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26098 if test $result = 0; then
26101 ac_path_to_link
=" -L$ac_find_libraries"
26105 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26107 $as_echo "found in $ac_find_libraries" >&6; }
26109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26110 $as_echo_n "checking for X11/xpm.h... " >&6; }
26111 if ${wx_cv_x11_xpm_h+:} false
; then :
26112 $as_echo_n "(cached) " >&6
26115 save_CFLAGS
=$CFLAGS
26116 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26119 /* end confdefs.h. */
26121 #include <X11/xpm.h>
26128 version = XpmLibraryVersion();
26134 if ac_fn_c_try_compile
"$LINENO"; then :
26135 wx_cv_x11_xpm_h
=yes
26140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26142 CFLAGS
=$save_CFLAGS
26146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26147 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26149 if test $wx_cv_x11_xpm_h = "yes"; then
26150 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26151 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26155 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26162 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26163 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26164 $as_echo_n "(cached) " >&6
26166 ac_check_lib_save_LIBS
=$LIBS
26167 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26169 /* end confdefs.h. */
26171 /* Override any GCC internal prototype to avoid an error.
26172 Use char because int might match the return type of a GCC
26173 builtin and then its argument prototype would still apply. */
26177 char XShapeQueryExtension ();
26181 return XShapeQueryExtension ();
26186 if ac_fn_c_try_link
"$LINENO"; then :
26187 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26189 ac_cv_lib_Xext_XShapeQueryExtension
=no
26191 rm -f core conftest.err conftest.
$ac_objext \
26192 conftest
$ac_exeext conftest.
$ac_ext
26193 LIBS
=$ac_check_lib_save_LIBS
26195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26196 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26197 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26199 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26205 if test "$wxHAVE_XEXT_LIB" = 1; then
26206 save_CFLAGS
="$CFLAGS"
26207 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26210 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26212 /* end confdefs.h. */
26214 #include <X11/Xlib.h>
26215 #include <X11/extensions/shape.h>
26221 int dummy1, dummy2;
26222 XShapeQueryExtension((Display*)NULL,
26223 (int*)NULL, (int*)NULL);
26229 if ac_fn_c_try_compile
"$LINENO"; then :
26231 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26234 $as_echo "found" >&6; }
26238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26239 $as_echo "not found" >&6; }
26242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26243 CFLAGS
="$save_CFLAGS"
26248 if test "$wxUSE_OSX_CARBON" = 1; then
26249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26250 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26251 if test "$GCC" = yes; then
26252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26253 $as_echo "gcc" >&6; }
26254 CPPFLAGS_PASCAL
="-fpascal-strings"
26255 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26257 $as_echo "xlc" >&6; }
26258 CPPFLAGS_PASCAL
="-qmacpstr"
26260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26261 $as_echo "none" >&6; }
26264 if test "x$wxUSE_UNIX" = "xyes"; then
26265 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26267 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26271 GUIDIST
=OSX_CARBON_DIST
26272 WXBASEPORT
="_carbon"
26274 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26277 if test "$wxUSE_OSX_COCOA" = 1; then
26279 GUIDIST
=OSX_COCOA_DIST
26281 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26284 if test "$wxUSE_OSX_IPHONE" = 1; then
26288 if test "$wxUSE_OLD_COCOA" = 1; then
26293 if test "$wxUSE_PM" = 1; then
26296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26297 $as_echo_n "checking for type SPBCDATA... " >&6; }
26298 if ${wx_cv_spbcdata+:} false
; then :
26299 $as_echo_n "(cached) " >&6
26302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26303 /* end confdefs.h. */
26318 if ac_fn_c_try_compile
"$LINENO"; then :
26324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26329 $as_echo "$wx_cv_spbcdata" >&6; }
26331 if test $wx_cv_spbcdata = "yes"; then
26332 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26337 if test "$TOOLKIT" = "PM" ; then
26340 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26343 if test "$wxUSE_UNIVERSAL" = "yes"; then
26344 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26348 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26349 DISTDIR
="wx\$(TOOLKIT)"
26355 if test "$USE_WIN32" = 1 ; then
26359 GUIDIST
="BASE_DIST"
26365 if test "$wxUSE_GUI" = "yes"; then
26366 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26367 for ac_header
in X
11/Xlib.h
26369 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26371 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26372 cat >>confdefs.h
<<_ACEOF
26373 #define HAVE_X11_XLIB_H 1
26380 for ac_header
in X
11/XKBlib.h
26382 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26383 #if HAVE_X11_XLIB_H
26384 #include <X11/Xlib.h>
26388 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26389 cat >>confdefs.h
<<_ACEOF
26390 #define HAVE_X11_XKBLIB_H 1
26403 if test "$wxUSE_DISPLAY" = "yes"; then
26404 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26408 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26411 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26412 if test -n "$ac_tool_prefix"; then
26413 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26414 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26416 $as_echo_n "checking for $ac_word... " >&6; }
26417 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26418 $as_echo_n "(cached) " >&6
26420 case $PKG_CONFIG in
26422 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26426 for as_dir
in $PATH
26429 test -z "$as_dir" && as_dir
=.
26430 for ac_exec_ext
in '' $ac_executable_extensions; do
26431 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26432 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26443 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26444 if test -n "$PKG_CONFIG"; then
26445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26446 $as_echo "$PKG_CONFIG" >&6; }
26448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26449 $as_echo "no" >&6; }
26454 if test -z "$ac_cv_path_PKG_CONFIG"; then
26455 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26456 # Extract the first word of "pkg-config", so it can be a program name with args.
26457 set dummy pkg
-config; ac_word
=$2
26458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26459 $as_echo_n "checking for $ac_word... " >&6; }
26460 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26461 $as_echo_n "(cached) " >&6
26463 case $ac_pt_PKG_CONFIG in
26465 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26469 for as_dir
in $PATH
26472 test -z "$as_dir" && as_dir
=.
26473 for ac_exec_ext
in '' $ac_executable_extensions; do
26474 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26475 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26486 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26487 if test -n "$ac_pt_PKG_CONFIG"; then
26488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26489 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26492 $as_echo "no" >&6; }
26495 if test "x$ac_pt_PKG_CONFIG" = x
; then
26498 case $cross_compiling:$ac_tool_warned in
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26502 ac_tool_warned
=yes ;;
26504 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26507 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26511 if test -n "$PKG_CONFIG"; then
26512 _pkg_min_version
=0.9.0
26513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26514 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26515 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26517 $as_echo "yes" >&6; }
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26520 $as_echo "no" >&6; }
26527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26528 $as_echo_n "checking for Xinerama... " >&6; }
26530 if test -n "$PKG_CONFIG"; then
26531 if test -n "$Xinerama_CFLAGS"; then
26532 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26534 if test -n "$PKG_CONFIG" && \
26535 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26536 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26539 test $ac_status = 0; }; then
26540 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26548 if test -n "$PKG_CONFIG"; then
26549 if test -n "$Xinerama_LIBS"; then
26550 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26552 if test -n "$PKG_CONFIG" && \
26553 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26554 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26557 test $ac_status = 0; }; then
26558 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26569 if test $pkg_failed = yes; then
26571 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26572 _pkg_short_errors_supported
=yes
26574 _pkg_short_errors_supported
=no
26576 if test $_pkg_short_errors_supported = yes; then
26577 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26579 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26581 # Put the nasty error message in config.log where it belongs
26582 echo "$Xinerama_PKG_ERRORS" >&5
26585 if test "x$ac_find_libraries" = "x"; then
26586 if test "xXineramaQueryScreens" != "x"; then
26587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26588 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26589 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26590 $as_echo_n "(cached) " >&6
26592 ac_check_lib_save_LIBS
=$LIBS
26593 LIBS
="-lXinerama $LIBS"
26594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26595 /* end confdefs.h. */
26597 /* Override any GCC internal prototype to avoid an error.
26598 Use char because int might match the return type of a GCC
26599 builtin and then its argument prototype would still apply. */
26603 char XineramaQueryScreens ();
26607 return XineramaQueryScreens ();
26612 if ac_fn_c_try_link
"$LINENO"; then :
26613 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26615 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26617 rm -f core conftest.err conftest.
$ac_objext \
26618 conftest
$ac_exeext conftest.
$ac_ext
26619 LIBS
=$ac_check_lib_save_LIBS
26621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26622 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26623 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26624 ac_find_libraries
="std"
26630 if test "x$ac_find_libraries" = "x"; then
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26632 $as_echo_n "checking elsewhere... " >&6; }
26635 for ac_dir
in $SEARCH_LIB
26637 for ac_extension
in a so sl dylib dll.a
; do
26638 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26639 ac_find_libraries
=$ac_dir
26645 if test "x$ac_find_libraries" != "x"; then
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26647 $as_echo "yes" >&6; }
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26650 $as_echo "no" >&6; }
26654 elif test $pkg_failed = untried
; then
26656 if test "x$ac_find_libraries" = "x"; then
26657 if test "xXineramaQueryScreens" != "x"; then
26658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26659 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26660 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26661 $as_echo_n "(cached) " >&6
26663 ac_check_lib_save_LIBS
=$LIBS
26664 LIBS
="-lXinerama $LIBS"
26665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26666 /* end confdefs.h. */
26668 /* Override any GCC internal prototype to avoid an error.
26669 Use char because int might match the return type of a GCC
26670 builtin and then its argument prototype would still apply. */
26674 char XineramaQueryScreens ();
26678 return XineramaQueryScreens ();
26683 if ac_fn_c_try_link
"$LINENO"; then :
26684 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26686 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26688 rm -f core conftest.err conftest.
$ac_objext \
26689 conftest
$ac_exeext conftest.
$ac_ext
26690 LIBS
=$ac_check_lib_save_LIBS
26692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26693 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26694 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26695 ac_find_libraries
="std"
26701 if test "x$ac_find_libraries" = "x"; then
26702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26703 $as_echo_n "checking elsewhere... " >&6; }
26706 for ac_dir
in $SEARCH_LIB
26708 for ac_extension
in a so sl dylib dll.a
; do
26709 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26710 ac_find_libraries
=$ac_dir
26716 if test "x$ac_find_libraries" != "x"; then
26717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26718 $as_echo "yes" >&6; }
26720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26721 $as_echo "no" >&6; }
26726 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
26727 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26729 $as_echo "yes" >&6; }
26731 ac_find_libraries
="std"
26733 eval ac_find_cflags
=\
$Xinerama_CFLAGS
26734 eval fl_libs
=\
$Xinerama_LIBS
26736 for fl_path
in $fl_libs
26738 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26739 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
26745 if test "$ac_find_libraries" != "" ; then
26746 if test "$ac_find_libraries" != "std" ; then
26748 if test "$ac_find_libraries" = "default location"; then
26751 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26753 if test $result = 0; then
26756 ac_path_to_link
=" -L$ac_find_libraries"
26760 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26761 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26765 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26768 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26771 elif test "$wxUSE_MSW" = 1; then
26772 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26774 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
26782 if test "$wxUSE_DISPLAY" = "yes"; then
26783 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26787 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26790 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26791 if test -n "$ac_tool_prefix"; then
26792 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26793 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26795 $as_echo_n "checking for $ac_word... " >&6; }
26796 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26797 $as_echo_n "(cached) " >&6
26799 case $PKG_CONFIG in
26801 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26805 for as_dir
in $PATH
26808 test -z "$as_dir" && as_dir
=.
26809 for ac_exec_ext
in '' $ac_executable_extensions; do
26810 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26811 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26822 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26823 if test -n "$PKG_CONFIG"; then
26824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26825 $as_echo "$PKG_CONFIG" >&6; }
26827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26828 $as_echo "no" >&6; }
26833 if test -z "$ac_cv_path_PKG_CONFIG"; then
26834 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26835 # Extract the first word of "pkg-config", so it can be a program name with args.
26836 set dummy pkg
-config; ac_word
=$2
26837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26838 $as_echo_n "checking for $ac_word... " >&6; }
26839 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26840 $as_echo_n "(cached) " >&6
26842 case $ac_pt_PKG_CONFIG in
26844 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26848 for as_dir
in $PATH
26851 test -z "$as_dir" && as_dir
=.
26852 for ac_exec_ext
in '' $ac_executable_extensions; do
26853 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26854 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26865 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26866 if test -n "$ac_pt_PKG_CONFIG"; then
26867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26868 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26871 $as_echo "no" >&6; }
26874 if test "x$ac_pt_PKG_CONFIG" = x
; then
26877 case $cross_compiling:$ac_tool_warned in
26879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26881 ac_tool_warned
=yes ;;
26883 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26886 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26890 if test -n "$PKG_CONFIG"; then
26891 _pkg_min_version
=0.9.0
26892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26893 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26894 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26896 $as_echo "yes" >&6; }
26898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26899 $as_echo "no" >&6; }
26906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26907 $as_echo_n "checking for Xxf86vm... " >&6; }
26909 if test -n "$PKG_CONFIG"; then
26910 if test -n "$Xxf86vm_CFLAGS"; then
26911 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
26913 if test -n "$PKG_CONFIG" && \
26914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26915 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26918 test $ac_status = 0; }; then
26919 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26927 if test -n "$PKG_CONFIG"; then
26928 if test -n "$Xxf86vm_LIBS"; then
26929 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
26931 if test -n "$PKG_CONFIG" && \
26932 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26933 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26936 test $ac_status = 0; }; then
26937 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26948 if test $pkg_failed = yes; then
26950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26951 _pkg_short_errors_supported
=yes
26953 _pkg_short_errors_supported
=no
26955 if test $_pkg_short_errors_supported = yes; then
26956 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26958 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26960 # Put the nasty error message in config.log where it belongs
26961 echo "$Xxf86vm_PKG_ERRORS" >&5
26964 if test "x$ac_find_libraries" = "x"; then
26965 if test "xXF86VidModeQueryExtension" != "x"; then
26966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26967 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26968 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
26969 $as_echo_n "(cached) " >&6
26971 ac_check_lib_save_LIBS
=$LIBS
26972 LIBS
="-lXxf86vm $LIBS"
26973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26974 /* end confdefs.h. */
26976 /* Override any GCC internal prototype to avoid an error.
26977 Use char because int might match the return type of a GCC
26978 builtin and then its argument prototype would still apply. */
26982 char XF86VidModeQueryExtension ();
26986 return XF86VidModeQueryExtension ();
26991 if ac_fn_c_try_link
"$LINENO"; then :
26992 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
26994 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
26996 rm -f core conftest.err conftest.
$ac_objext \
26997 conftest
$ac_exeext conftest.
$ac_ext
26998 LIBS
=$ac_check_lib_save_LIBS
27000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27001 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27002 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27003 ac_find_libraries
="std"
27009 if test "x$ac_find_libraries" = "x"; then
27010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27011 $as_echo_n "checking elsewhere... " >&6; }
27014 for ac_dir
in $SEARCH_LIB
27016 for ac_extension
in a so sl dylib dll.a
; do
27017 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27018 ac_find_libraries
=$ac_dir
27024 if test "x$ac_find_libraries" != "x"; then
27025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27026 $as_echo "yes" >&6; }
27028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27029 $as_echo "no" >&6; }
27033 elif test $pkg_failed = untried
; then
27035 if test "x$ac_find_libraries" = "x"; then
27036 if test "xXF86VidModeQueryExtension" != "x"; then
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27038 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27039 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27040 $as_echo_n "(cached) " >&6
27042 ac_check_lib_save_LIBS
=$LIBS
27043 LIBS
="-lXxf86vm $LIBS"
27044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27045 /* end confdefs.h. */
27047 /* Override any GCC internal prototype to avoid an error.
27048 Use char because int might match the return type of a GCC
27049 builtin and then its argument prototype would still apply. */
27053 char XF86VidModeQueryExtension ();
27057 return XF86VidModeQueryExtension ();
27062 if ac_fn_c_try_link
"$LINENO"; then :
27063 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27065 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27067 rm -f core conftest.err conftest.
$ac_objext \
27068 conftest
$ac_exeext conftest.
$ac_ext
27069 LIBS
=$ac_check_lib_save_LIBS
27071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27072 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27073 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27074 ac_find_libraries
="std"
27080 if test "x$ac_find_libraries" = "x"; then
27081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27082 $as_echo_n "checking elsewhere... " >&6; }
27085 for ac_dir
in $SEARCH_LIB
27087 for ac_extension
in a so sl dylib dll.a
; do
27088 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27089 ac_find_libraries
=$ac_dir
27095 if test "x$ac_find_libraries" != "x"; then
27096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27097 $as_echo "yes" >&6; }
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27100 $as_echo "no" >&6; }
27105 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27106 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27108 $as_echo "yes" >&6; }
27110 ac_find_libraries
="std"
27112 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27113 eval fl_libs
=\
$Xxf86vm_LIBS
27115 for fl_path
in $fl_libs
27117 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27118 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27124 if test "$ac_find_libraries" != "" ; then
27125 for ac_header
in X
11/extensions
/xf86vmode.h
27127 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27128 #if HAVE_X11_XLIB_H
27129 #include <X11/Xlib.h>
27133 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27134 cat >>confdefs.h
<<_ACEOF
27135 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27138 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27148 if test "$wxUSE_DETECT_SM" = "yes"; then
27149 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27153 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27156 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27157 if test -n "$ac_tool_prefix"; then
27158 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27159 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27161 $as_echo_n "checking for $ac_word... " >&6; }
27162 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27163 $as_echo_n "(cached) " >&6
27165 case $PKG_CONFIG in
27167 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27171 for as_dir
in $PATH
27174 test -z "$as_dir" && as_dir
=.
27175 for ac_exec_ext
in '' $ac_executable_extensions; do
27176 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27177 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27188 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27189 if test -n "$PKG_CONFIG"; then
27190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27191 $as_echo "$PKG_CONFIG" >&6; }
27193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27194 $as_echo "no" >&6; }
27199 if test -z "$ac_cv_path_PKG_CONFIG"; then
27200 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27201 # Extract the first word of "pkg-config", so it can be a program name with args.
27202 set dummy pkg
-config; ac_word
=$2
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27204 $as_echo_n "checking for $ac_word... " >&6; }
27205 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27206 $as_echo_n "(cached) " >&6
27208 case $ac_pt_PKG_CONFIG in
27210 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27214 for as_dir
in $PATH
27217 test -z "$as_dir" && as_dir
=.
27218 for ac_exec_ext
in '' $ac_executable_extensions; do
27219 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27220 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27231 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27232 if test -n "$ac_pt_PKG_CONFIG"; then
27233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27234 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27237 $as_echo "no" >&6; }
27240 if test "x$ac_pt_PKG_CONFIG" = x
; then
27243 case $cross_compiling:$ac_tool_warned in
27245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27247 ac_tool_warned
=yes ;;
27249 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27252 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27256 if test -n "$PKG_CONFIG"; then
27257 _pkg_min_version
=0.9.0
27258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27259 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27260 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27262 $as_echo "yes" >&6; }
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27265 $as_echo "no" >&6; }
27272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27273 $as_echo_n "checking for SM... " >&6; }
27275 if test -n "$PKG_CONFIG"; then
27276 if test -n "$SM_CFLAGS"; then
27277 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27279 if test -n "$PKG_CONFIG" && \
27280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27281 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27284 test $ac_status = 0; }; then
27285 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27293 if test -n "$PKG_CONFIG"; then
27294 if test -n "$SM_LIBS"; then
27295 pkg_cv_SM_LIBS
="$SM_LIBS"
27297 if test -n "$PKG_CONFIG" && \
27298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27299 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27302 test $ac_status = 0; }; then
27303 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27314 if test $pkg_failed = yes; then
27316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27317 _pkg_short_errors_supported
=yes
27319 _pkg_short_errors_supported
=no
27321 if test $_pkg_short_errors_supported = yes; then
27322 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27324 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27326 # Put the nasty error message in config.log where it belongs
27327 echo "$SM_PKG_ERRORS" >&5
27330 if test "x$ac_find_libraries" = "x"; then
27331 if test "xSmcOpenConnection" != "x"; then
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27333 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27334 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27335 $as_echo_n "(cached) " >&6
27337 ac_check_lib_save_LIBS
=$LIBS
27339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27340 /* end confdefs.h. */
27342 /* Override any GCC internal prototype to avoid an error.
27343 Use char because int might match the return type of a GCC
27344 builtin and then its argument prototype would still apply. */
27348 char SmcOpenConnection ();
27352 return SmcOpenConnection ();
27357 if ac_fn_c_try_link
"$LINENO"; then :
27358 ac_cv_lib_SM_SmcOpenConnection
=yes
27360 ac_cv_lib_SM_SmcOpenConnection
=no
27362 rm -f core conftest.err conftest.
$ac_objext \
27363 conftest
$ac_exeext conftest.
$ac_ext
27364 LIBS
=$ac_check_lib_save_LIBS
27366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27367 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27368 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27369 ac_find_libraries
="std"
27375 if test "x$ac_find_libraries" = "x"; then
27376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27377 $as_echo_n "checking elsewhere... " >&6; }
27380 for ac_dir
in $SEARCH_LIB
27382 for ac_extension
in a so sl dylib dll.a
; do
27383 if test -f "$ac_dir/libSM.$ac_extension"; then
27384 ac_find_libraries
=$ac_dir
27390 if test "x$ac_find_libraries" != "x"; then
27391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27392 $as_echo "yes" >&6; }
27394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27395 $as_echo "no" >&6; }
27399 elif test $pkg_failed = untried
; then
27401 if test "x$ac_find_libraries" = "x"; then
27402 if test "xSmcOpenConnection" != "x"; then
27403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27404 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27405 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27406 $as_echo_n "(cached) " >&6
27408 ac_check_lib_save_LIBS
=$LIBS
27410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27411 /* end confdefs.h. */
27413 /* Override any GCC internal prototype to avoid an error.
27414 Use char because int might match the return type of a GCC
27415 builtin and then its argument prototype would still apply. */
27419 char SmcOpenConnection ();
27423 return SmcOpenConnection ();
27428 if ac_fn_c_try_link
"$LINENO"; then :
27429 ac_cv_lib_SM_SmcOpenConnection
=yes
27431 ac_cv_lib_SM_SmcOpenConnection
=no
27433 rm -f core conftest.err conftest.
$ac_objext \
27434 conftest
$ac_exeext conftest.
$ac_ext
27435 LIBS
=$ac_check_lib_save_LIBS
27437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27438 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27439 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27440 ac_find_libraries
="std"
27446 if test "x$ac_find_libraries" = "x"; then
27447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27448 $as_echo_n "checking elsewhere... " >&6; }
27451 for ac_dir
in $SEARCH_LIB
27453 for ac_extension
in a so sl dylib dll.a
; do
27454 if test -f "$ac_dir/libSM.$ac_extension"; then
27455 ac_find_libraries
=$ac_dir
27461 if test "x$ac_find_libraries" != "x"; then
27462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27463 $as_echo "yes" >&6; }
27465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27466 $as_echo "no" >&6; }
27471 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27472 SM_LIBS
=$pkg_cv_SM_LIBS
27473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27474 $as_echo "yes" >&6; }
27476 ac_find_libraries
="std"
27478 eval ac_find_cflags
=\
$SM_CFLAGS
27479 eval fl_libs
=\
$SM_LIBS
27481 for fl_path
in $fl_libs
27483 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27484 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27490 if test "$ac_find_libraries" != "" ; then
27491 if test "$ac_find_libraries" != "std" ; then
27493 if test "$ac_find_libraries" = "default location"; then
27496 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27498 if test $result = 0; then
27501 ac_path_to_link
=" -L$ac_find_libraries"
27505 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27506 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27509 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27512 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27513 wxUSE_DETECT_SM
="no"
27516 wxUSE_DETECT_SM
="no"
27523 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27526 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27527 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27528 elif test "$wxUSE_MSW" = 1; then
27529 OPENGL_LIBS
="-lopengl32 -lglu32"
27530 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27533 $as_echo_n "checking for OpenGL headers... " >&6; }
27536 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27538 if test -f "$ac_dir/GL/gl.h"; then
27539 ac_find_includes
=$ac_dir
27544 if test "$ac_find_includes" != "" ; then
27545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27546 $as_echo "found in $ac_find_includes" >&6; }
27548 if test "x$ac_find_includes" = "x/usr/include"; then
27549 ac_path_to_include
=""
27551 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27553 if test $result = 0; then
27554 ac_path_to_include
=""
27556 ac_path_to_include
=" -I$ac_find_includes"
27560 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27563 $as_echo "not found" >&6; }
27566 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27568 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27570 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27572 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27579 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27582 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27583 if test -n "$ac_tool_prefix"; then
27584 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27585 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27587 $as_echo_n "checking for $ac_word... " >&6; }
27588 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27589 $as_echo_n "(cached) " >&6
27591 case $PKG_CONFIG in
27593 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27597 for as_dir
in $PATH
27600 test -z "$as_dir" && as_dir
=.
27601 for ac_exec_ext
in '' $ac_executable_extensions; do
27602 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27603 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27614 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27615 if test -n "$PKG_CONFIG"; then
27616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27617 $as_echo "$PKG_CONFIG" >&6; }
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27620 $as_echo "no" >&6; }
27625 if test -z "$ac_cv_path_PKG_CONFIG"; then
27626 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27627 # Extract the first word of "pkg-config", so it can be a program name with args.
27628 set dummy pkg
-config; ac_word
=$2
27629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27630 $as_echo_n "checking for $ac_word... " >&6; }
27631 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27632 $as_echo_n "(cached) " >&6
27634 case $ac_pt_PKG_CONFIG in
27636 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27640 for as_dir
in $PATH
27643 test -z "$as_dir" && as_dir
=.
27644 for ac_exec_ext
in '' $ac_executable_extensions; do
27645 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27646 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27657 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27658 if test -n "$ac_pt_PKG_CONFIG"; then
27659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27660 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27663 $as_echo "no" >&6; }
27666 if test "x$ac_pt_PKG_CONFIG" = x
; then
27669 case $cross_compiling:$ac_tool_warned in
27671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27673 ac_tool_warned
=yes ;;
27675 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27678 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27682 if test -n "$PKG_CONFIG"; then
27683 _pkg_min_version
=0.9.0
27684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27685 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27686 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27688 $as_echo "yes" >&6; }
27690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27691 $as_echo "no" >&6; }
27698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27699 $as_echo_n "checking for GL... " >&6; }
27701 if test -n "$PKG_CONFIG"; then
27702 if test -n "$GL_CFLAGS"; then
27703 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27705 if test -n "$PKG_CONFIG" && \
27706 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27707 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27710 test $ac_status = 0; }; then
27711 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27719 if test -n "$PKG_CONFIG"; then
27720 if test -n "$GL_LIBS"; then
27721 pkg_cv_GL_LIBS
="$GL_LIBS"
27723 if test -n "$PKG_CONFIG" && \
27724 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27725 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27728 test $ac_status = 0; }; then
27729 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27740 if test $pkg_failed = yes; then
27742 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27743 _pkg_short_errors_supported
=yes
27745 _pkg_short_errors_supported
=no
27747 if test $_pkg_short_errors_supported = yes; then
27748 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27750 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27752 # Put the nasty error message in config.log where it belongs
27753 echo "$GL_PKG_ERRORS" >&5
27756 if test "x$ac_find_libraries" = "x"; then
27757 if test "xglBegin" != "x"; then
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27759 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27760 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27761 $as_echo_n "(cached) " >&6
27763 ac_check_lib_save_LIBS
=$LIBS
27765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27766 /* end confdefs.h. */
27768 /* Override any GCC internal prototype to avoid an error.
27769 Use char because int might match the return type of a GCC
27770 builtin and then its argument prototype would still apply. */
27783 if ac_fn_c_try_link
"$LINENO"; then :
27784 ac_cv_lib_GL_glBegin
=yes
27786 ac_cv_lib_GL_glBegin
=no
27788 rm -f core conftest.err conftest.
$ac_objext \
27789 conftest
$ac_exeext conftest.
$ac_ext
27790 LIBS
=$ac_check_lib_save_LIBS
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27793 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27794 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27795 ac_find_libraries
="std"
27801 if test "x$ac_find_libraries" = "x"; then
27802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27803 $as_echo_n "checking elsewhere... " >&6; }
27806 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27808 for ac_extension
in a so sl dylib dll.a
; do
27809 if test -f "$ac_dir/libGL.$ac_extension"; then
27810 ac_find_libraries
=$ac_dir
27816 if test "x$ac_find_libraries" != "x"; then
27817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27818 $as_echo "yes" >&6; }
27820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27821 $as_echo "no" >&6; }
27825 elif test $pkg_failed = untried
; then
27827 if test "x$ac_find_libraries" = "x"; then
27828 if test "xglBegin" != "x"; then
27829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27830 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27831 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27832 $as_echo_n "(cached) " >&6
27834 ac_check_lib_save_LIBS
=$LIBS
27836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27837 /* end confdefs.h. */
27839 /* Override any GCC internal prototype to avoid an error.
27840 Use char because int might match the return type of a GCC
27841 builtin and then its argument prototype would still apply. */
27854 if ac_fn_c_try_link
"$LINENO"; then :
27855 ac_cv_lib_GL_glBegin
=yes
27857 ac_cv_lib_GL_glBegin
=no
27859 rm -f core conftest.err conftest.
$ac_objext \
27860 conftest
$ac_exeext conftest.
$ac_ext
27861 LIBS
=$ac_check_lib_save_LIBS
27863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27864 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27865 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27866 ac_find_libraries
="std"
27872 if test "x$ac_find_libraries" = "x"; then
27873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27874 $as_echo_n "checking elsewhere... " >&6; }
27877 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27879 for ac_extension
in a so sl dylib dll.a
; do
27880 if test -f "$ac_dir/libGL.$ac_extension"; then
27881 ac_find_libraries
=$ac_dir
27887 if test "x$ac_find_libraries" != "x"; then
27888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27889 $as_echo "yes" >&6; }
27891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27892 $as_echo "no" >&6; }
27897 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
27898 GL_LIBS
=$pkg_cv_GL_LIBS
27899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27900 $as_echo "yes" >&6; }
27902 ac_find_libraries
="std"
27904 eval ac_find_cflags
=\
$GL_CFLAGS
27905 eval fl_libs
=\
$GL_LIBS
27907 for fl_path
in $fl_libs
27909 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27910 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27916 if test "$ac_find_libraries" != "" ; then
27917 if test "$ac_find_libraries" != "std" ; then
27919 if test "$ac_find_libraries" = "default location"; then
27922 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27924 if test $result = 0; then
27927 ac_path_to_link
=" -L$ac_find_libraries"
27931 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27932 LDFLAGS_GL
="$ac_path_to_link"
27939 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
27942 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27943 if test -n "$ac_tool_prefix"; then
27944 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27945 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27947 $as_echo_n "checking for $ac_word... " >&6; }
27948 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27949 $as_echo_n "(cached) " >&6
27951 case $PKG_CONFIG in
27953 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27957 for as_dir
in $PATH
27960 test -z "$as_dir" && as_dir
=.
27961 for ac_exec_ext
in '' $ac_executable_extensions; do
27962 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27963 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27974 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27975 if test -n "$PKG_CONFIG"; then
27976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27977 $as_echo "$PKG_CONFIG" >&6; }
27979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27980 $as_echo "no" >&6; }
27985 if test -z "$ac_cv_path_PKG_CONFIG"; then
27986 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27987 # Extract the first word of "pkg-config", so it can be a program name with args.
27988 set dummy pkg
-config; ac_word
=$2
27989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27990 $as_echo_n "checking for $ac_word... " >&6; }
27991 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27992 $as_echo_n "(cached) " >&6
27994 case $ac_pt_PKG_CONFIG in
27996 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28000 for as_dir
in $PATH
28003 test -z "$as_dir" && as_dir
=.
28004 for ac_exec_ext
in '' $ac_executable_extensions; do
28005 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28006 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28017 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28018 if test -n "$ac_pt_PKG_CONFIG"; then
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28020 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28023 $as_echo "no" >&6; }
28026 if test "x$ac_pt_PKG_CONFIG" = x
; then
28029 case $cross_compiling:$ac_tool_warned in
28031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28033 ac_tool_warned
=yes ;;
28035 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28038 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28042 if test -n "$PKG_CONFIG"; then
28043 _pkg_min_version
=0.9.0
28044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28045 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28046 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28048 $as_echo "yes" >&6; }
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28051 $as_echo "no" >&6; }
28058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28059 $as_echo_n "checking for GLU... " >&6; }
28061 if test -n "$PKG_CONFIG"; then
28062 if test -n "$GLU_CFLAGS"; then
28063 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28065 if test -n "$PKG_CONFIG" && \
28066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28067 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28070 test $ac_status = 0; }; then
28071 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28079 if test -n "$PKG_CONFIG"; then
28080 if test -n "$GLU_LIBS"; then
28081 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28083 if test -n "$PKG_CONFIG" && \
28084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28085 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28088 test $ac_status = 0; }; then
28089 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28100 if test $pkg_failed = yes; then
28102 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28103 _pkg_short_errors_supported
=yes
28105 _pkg_short_errors_supported
=no
28107 if test $_pkg_short_errors_supported = yes; then
28108 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28110 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28112 # Put the nasty error message in config.log where it belongs
28113 echo "$GLU_PKG_ERRORS" >&5
28116 if test "x$ac_find_libraries" = "x"; then
28117 if test "xgluBeginCurve" != "x"; then
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28119 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28120 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28121 $as_echo_n "(cached) " >&6
28123 ac_check_lib_save_LIBS
=$LIBS
28125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28126 /* end confdefs.h. */
28128 /* Override any GCC internal prototype to avoid an error.
28129 Use char because int might match the return type of a GCC
28130 builtin and then its argument prototype would still apply. */
28134 char gluBeginCurve ();
28138 return gluBeginCurve ();
28143 if ac_fn_c_try_link
"$LINENO"; then :
28144 ac_cv_lib_GLU_gluBeginCurve
=yes
28146 ac_cv_lib_GLU_gluBeginCurve
=no
28148 rm -f core conftest.err conftest.
$ac_objext \
28149 conftest
$ac_exeext conftest.
$ac_ext
28150 LIBS
=$ac_check_lib_save_LIBS
28152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28153 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28154 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28155 ac_find_libraries
="std"
28161 if test "x$ac_find_libraries" = "x"; then
28162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28163 $as_echo_n "checking elsewhere... " >&6; }
28166 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28168 for ac_extension
in a so sl dylib dll.a
; do
28169 if test -f "$ac_dir/libGLU.$ac_extension"; then
28170 ac_find_libraries
=$ac_dir
28176 if test "x$ac_find_libraries" != "x"; then
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28178 $as_echo "yes" >&6; }
28180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28181 $as_echo "no" >&6; }
28185 elif test $pkg_failed = untried
; then
28187 if test "x$ac_find_libraries" = "x"; then
28188 if test "xgluBeginCurve" != "x"; then
28189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28190 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28191 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28192 $as_echo_n "(cached) " >&6
28194 ac_check_lib_save_LIBS
=$LIBS
28196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28197 /* end confdefs.h. */
28199 /* Override any GCC internal prototype to avoid an error.
28200 Use char because int might match the return type of a GCC
28201 builtin and then its argument prototype would still apply. */
28205 char gluBeginCurve ();
28209 return gluBeginCurve ();
28214 if ac_fn_c_try_link
"$LINENO"; then :
28215 ac_cv_lib_GLU_gluBeginCurve
=yes
28217 ac_cv_lib_GLU_gluBeginCurve
=no
28219 rm -f core conftest.err conftest.
$ac_objext \
28220 conftest
$ac_exeext conftest.
$ac_ext
28221 LIBS
=$ac_check_lib_save_LIBS
28223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28224 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28225 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28226 ac_find_libraries
="std"
28232 if test "x$ac_find_libraries" = "x"; then
28233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28234 $as_echo_n "checking elsewhere... " >&6; }
28237 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28239 for ac_extension
in a so sl dylib dll.a
; do
28240 if test -f "$ac_dir/libGLU.$ac_extension"; then
28241 ac_find_libraries
=$ac_dir
28247 if test "x$ac_find_libraries" != "x"; then
28248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28249 $as_echo "yes" >&6; }
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28252 $as_echo "no" >&6; }
28257 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28258 GLU_LIBS
=$pkg_cv_GLU_LIBS
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28260 $as_echo "yes" >&6; }
28262 ac_find_libraries
="std"
28264 eval ac_find_cflags
=\
$GLU_CFLAGS
28265 eval fl_libs
=\
$GLU_LIBS
28267 for fl_path
in $fl_libs
28269 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28270 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28276 if test "$ac_find_libraries" != "" ; then
28277 if test "$ac_find_libraries" != "std" ; then
28279 if test "$ac_find_libraries" = "default location"; then
28282 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28284 if test $result = 0; then
28287 ac_path_to_link
=" -L$ac_find_libraries"
28291 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28292 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28293 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28298 OPENGL_LIBS
="-lGL -lGLU"
28302 if test "$found_gl" != 1; then
28306 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28309 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28310 if test -n "$ac_tool_prefix"; then
28311 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28312 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28314 $as_echo_n "checking for $ac_word... " >&6; }
28315 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28316 $as_echo_n "(cached) " >&6
28318 case $PKG_CONFIG in
28320 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28324 for as_dir
in $PATH
28327 test -z "$as_dir" && as_dir
=.
28328 for ac_exec_ext
in '' $ac_executable_extensions; do
28329 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28330 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28341 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28342 if test -n "$PKG_CONFIG"; then
28343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28344 $as_echo "$PKG_CONFIG" >&6; }
28346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28347 $as_echo "no" >&6; }
28352 if test -z "$ac_cv_path_PKG_CONFIG"; then
28353 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28354 # Extract the first word of "pkg-config", so it can be a program name with args.
28355 set dummy pkg
-config; ac_word
=$2
28356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28357 $as_echo_n "checking for $ac_word... " >&6; }
28358 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28359 $as_echo_n "(cached) " >&6
28361 case $ac_pt_PKG_CONFIG in
28363 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28367 for as_dir
in $PATH
28370 test -z "$as_dir" && as_dir
=.
28371 for ac_exec_ext
in '' $ac_executable_extensions; do
28372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28373 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28384 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28385 if test -n "$ac_pt_PKG_CONFIG"; then
28386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28387 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28390 $as_echo "no" >&6; }
28393 if test "x$ac_pt_PKG_CONFIG" = x
; then
28396 case $cross_compiling:$ac_tool_warned in
28398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28400 ac_tool_warned
=yes ;;
28402 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28405 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28409 if test -n "$PKG_CONFIG"; then
28410 _pkg_min_version
=0.9.0
28411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28412 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28413 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28415 $as_echo "yes" >&6; }
28417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28418 $as_echo "no" >&6; }
28425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28426 $as_echo_n "checking for MesaGL... " >&6; }
28428 if test -n "$PKG_CONFIG"; then
28429 if test -n "$MesaGL_CFLAGS"; then
28430 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28432 if test -n "$PKG_CONFIG" && \
28433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28434 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28437 test $ac_status = 0; }; then
28438 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28446 if test -n "$PKG_CONFIG"; then
28447 if test -n "$MesaGL_LIBS"; then
28448 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28450 if test -n "$PKG_CONFIG" && \
28451 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28452 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28455 test $ac_status = 0; }; then
28456 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28467 if test $pkg_failed = yes; then
28469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28470 _pkg_short_errors_supported
=yes
28472 _pkg_short_errors_supported
=no
28474 if test $_pkg_short_errors_supported = yes; then
28475 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28477 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28479 # Put the nasty error message in config.log where it belongs
28480 echo "$MesaGL_PKG_ERRORS" >&5
28483 if test "x$ac_find_libraries" = "x"; then
28484 if test "xglEnable" != "x"; then
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28486 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28487 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28488 $as_echo_n "(cached) " >&6
28490 ac_check_lib_save_LIBS
=$LIBS
28491 LIBS
="-lMesaGL $LIBS"
28492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28493 /* end confdefs.h. */
28495 /* Override any GCC internal prototype to avoid an error.
28496 Use char because int might match the return type of a GCC
28497 builtin and then its argument prototype would still apply. */
28505 return glEnable ();
28510 if ac_fn_c_try_link
"$LINENO"; then :
28511 ac_cv_lib_MesaGL_glEnable
=yes
28513 ac_cv_lib_MesaGL_glEnable
=no
28515 rm -f core conftest.err conftest.
$ac_objext \
28516 conftest
$ac_exeext conftest.
$ac_ext
28517 LIBS
=$ac_check_lib_save_LIBS
28519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28520 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28521 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28522 ac_find_libraries
="std"
28528 if test "x$ac_find_libraries" = "x"; then
28529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28530 $as_echo_n "checking elsewhere... " >&6; }
28533 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28535 for ac_extension
in a so sl dylib dll.a
; do
28536 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28537 ac_find_libraries
=$ac_dir
28543 if test "x$ac_find_libraries" != "x"; then
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28545 $as_echo "yes" >&6; }
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28548 $as_echo "no" >&6; }
28552 elif test $pkg_failed = untried
; then
28554 if test "x$ac_find_libraries" = "x"; then
28555 if test "xglEnable" != "x"; then
28556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28557 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28558 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28559 $as_echo_n "(cached) " >&6
28561 ac_check_lib_save_LIBS
=$LIBS
28562 LIBS
="-lMesaGL $LIBS"
28563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28564 /* end confdefs.h. */
28566 /* Override any GCC internal prototype to avoid an error.
28567 Use char because int might match the return type of a GCC
28568 builtin and then its argument prototype would still apply. */
28576 return glEnable ();
28581 if ac_fn_c_try_link
"$LINENO"; then :
28582 ac_cv_lib_MesaGL_glEnable
=yes
28584 ac_cv_lib_MesaGL_glEnable
=no
28586 rm -f core conftest.err conftest.
$ac_objext \
28587 conftest
$ac_exeext conftest.
$ac_ext
28588 LIBS
=$ac_check_lib_save_LIBS
28590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28591 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28592 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28593 ac_find_libraries
="std"
28599 if test "x$ac_find_libraries" = "x"; then
28600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28601 $as_echo_n "checking elsewhere... " >&6; }
28604 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28606 for ac_extension
in a so sl dylib dll.a
; do
28607 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28608 ac_find_libraries
=$ac_dir
28614 if test "x$ac_find_libraries" != "x"; then
28615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28616 $as_echo "yes" >&6; }
28618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28619 $as_echo "no" >&6; }
28624 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28625 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28627 $as_echo "yes" >&6; }
28629 ac_find_libraries
="std"
28631 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28632 eval fl_libs
=\
$MesaGL_LIBS
28634 for fl_path
in $fl_libs
28636 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28637 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28643 if test "$ac_find_libraries" != "" ; then
28644 if test "$ac_find_libraries" != "std" ; then
28646 if test "$ac_find_libraries" = "default location"; then
28649 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28651 if test $result = 0; then
28654 ac_path_to_link
=" -L$ac_find_libraries"
28658 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28659 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28662 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28674 if test "x$OPENGL_LIBS" = "x"; then
28675 if test "$wxUSE_OPENGL" = "yes"; then
28676 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28679 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28686 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28690 if test "$wxUSE_OPENGL" = "auto"; then
28694 if test "$wxUSE_OPENGL" = "yes"; then
28696 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28698 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28705 if test -n "$TOOLKIT" ; then
28706 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28711 if test "$wxUSE_SHARED" = "yes"; then
28715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28716 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28721 if test "$wxUSE_SHARED" = "yes"; then
28725 *-*-cygwin* | *-*-mingw* )
28726 wx_cv_version_script
=no
28730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28731 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28732 if ${wx_cv_version_script+:} false
; then :
28733 $as_echo_n "(cached) " >&6
28736 echo "VER_1 { *; };" >conftest.sym
28737 echo "int main() { return 0; }" >conftest.cpp
28740 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28741 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28742 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28743 (eval $ac_try) 2>&5
28745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28746 test $ac_status = 0; }; } ; then
28747 if test -s conftest.stderr
; then
28748 wx_cv_version_script
=no
28750 wx_cv_version_script
=yes
28753 wx_cv_version_script
=no
28756 if test $wx_cv_version_script = yes
28758 echo "struct B { virtual ~B() { } }; \
28759 struct D : public B { }; \
28760 void F() { D d; }" > conftest.cpp
28763 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28764 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28765 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28766 (eval $ac_try) 2>&5
28768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28769 test $ac_status = 0; }; } &&
28771 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28772 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28773 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28774 (eval $ac_try) 2>&5
28776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28777 test $ac_status = 0; }; }
28780 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28781 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28782 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28783 (eval $ac_try) 2>&5
28785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28786 test $ac_status = 0; }; }
28788 wx_cv_version_script
=yes
28790 wx_cv_version_script
=no
28795 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28796 rm -f conftest1.output conftest2.output conftest3.output
28799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28800 $as_echo "$wx_cv_version_script" >&6; }
28802 if test $wx_cv_version_script = yes ; then
28803 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28809 if test "$wxUSE_VISIBILITY" != "no"; then
28812 if test -n "$GCC"; then
28813 CFLAGS_VISIBILITY
="-fvisibility=hidden"
28814 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
28815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28816 $as_echo_n "checking for symbols visibility support... " >&6; }
28817 if ${wx_cv_cc_visibility+:} false
; then :
28818 $as_echo_n "(cached) " >&6
28821 wx_save_CXXFLAGS
="$CXXFLAGS"
28822 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28824 ac_cpp
='$CXXCPP $CPPFLAGS'
28825 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28826 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28827 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28830 /* end confdefs.h. */
28832 /* we need gcc >= 4.0, older versions with visibility support
28833 didn't have class visibility: */
28834 #if defined(__GNUC__) && __GNUC__ < 4
28835 error this gcc is too old;
28838 /* visibility only makes sense for ELF shared libs: */
28839 #if !defined(__ELF__) && !defined(__APPLE__)
28840 error this platform has no visibility;
28843 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28844 #if defined(__clang__)
28845 clang compiler is still broken w.r.t. visibility;
28848 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28849 extern __attribute__((__visibility__("default"))) int exportedvar;
28850 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28851 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28852 class __attribute__((__visibility__("default"))) Foo {
28864 if ac_fn_cxx_try_compile
"$LINENO"; then :
28865 wx_cv_cc_visibility
=yes
28867 wx_cv_cc_visibility
=no
28869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28871 ac_cpp
='$CPP $CPPFLAGS'
28872 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28873 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28874 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28876 CXXFLAGS
="$wx_save_CXXFLAGS"
28879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28880 $as_echo "$wx_cv_cc_visibility" >&6; }
28881 if test $wx_cv_cc_visibility = yes; then
28882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28883 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28884 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
28885 $as_echo_n "(cached) " >&6
28888 wx_save_CXXFLAGS
="$CXXFLAGS"
28889 wx_save_LDFLAGS
="$LDFLAGS"
28890 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28891 LDFLAGS
="$LDFLAGS -shared -fPIC"
28893 ac_cpp
='$CXXCPP $CPPFLAGS'
28894 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28895 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28896 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28899 /* end confdefs.h. */
28907 std::string s("hello");
28914 if ac_fn_cxx_try_link
"$LINENO"; then :
28915 wx_cv_cc_broken_libstdcxx_visibility
=no
28917 wx_cv_cc_broken_libstdcxx_visibility
=yes
28919 rm -f core conftest.err conftest.
$ac_objext \
28920 conftest
$ac_exeext conftest.
$ac_ext
28922 ac_cpp
='$CPP $CPPFLAGS'
28923 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28924 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28925 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28927 CXXFLAGS
="$wx_save_CXXFLAGS"
28928 LDFLAGS
="$wx_save_LDFLAGS"
28931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28932 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28934 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28936 $as_echo_n "checking whether we can work around it... " >&6; }
28937 if ${wx_cv_cc_visibility_workaround+:} false
; then :
28938 $as_echo_n "(cached) " >&6
28942 ac_cpp
='$CXXCPP $CPPFLAGS'
28943 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28944 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28945 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28948 /* end confdefs.h. */
28950 #pragma GCC visibility push(default)
28952 #pragma GCC visibility pop
28958 std::string s("hello");
28965 if ac_fn_cxx_try_link
"$LINENO"; then :
28966 wx_cv_cc_visibility_workaround
=no
28968 wx_cv_cc_visibility_workaround
=yes
28970 rm -f core conftest.err conftest.
$ac_objext \
28971 conftest
$ac_exeext conftest.
$ac_ext
28973 ac_cpp
='$CPP $CPPFLAGS'
28974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
28982 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
28984 if test $wx_cv_cc_visibility_workaround = no
; then
28985 wx_cv_cc_visibility
=no
28990 if test $wx_cv_cc_visibility = yes; then
28991 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
28993 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28994 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
28998 CFLAGS_VISIBILITY
=""
28999 CXXFLAGS_VISIBILITY
=""
29007 if test "x$SUNCXX" = xyes
; then
29008 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
29009 WXCONFIG_RPATH
="-R\$libdir"
29012 *-*-linux* | *-*-gnu* )
29013 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29014 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29019 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29021 saveLdflags
="$LDFLAGS"
29022 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29024 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29026 /* end confdefs.h. */
29036 if ac_fn_c_try_link
"$LINENO"; then :
29038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29039 $as_echo "yes" >&6; }
29040 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29041 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29046 $as_echo "no" >&6; }
29047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29048 $as_echo_n "checking if the linker accepts -R... " >&6; }
29049 LDFLAGS
="$saveLdflags -Wl,-R,/"
29050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29051 /* end confdefs.h. */
29061 if ac_fn_c_try_link
"$LINENO"; then :
29063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29064 $as_echo "yes" >&6; }
29065 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29066 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29071 $as_echo "no" >&6; }
29074 rm -f core conftest.err conftest.
$ac_objext \
29075 conftest
$ac_exeext conftest.
$ac_ext
29078 rm -f core conftest.err conftest.
$ac_objext \
29079 conftest
$ac_exeext conftest.
$ac_ext
29080 LDFLAGS
="$saveLdflags"
29084 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29085 if test "$install_name_tool" -a -x "$install_name_tool"; then
29086 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29087 cat <<EOF >change-install-names
29089 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29090 for i in \${libnames} ; do
29091 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29092 for dep in \${libnames} ; do
29093 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29097 chmod +x change
-install-names
29098 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29101 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29104 *-*-cygwin* | *-*-mingw32* )
29108 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29109 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29115 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29117 if test $wxUSE_RPATH = "no"; then
29118 SAMPLES_RPATH_FLAG
=''
29119 DYLIB_PATH_POSTLINK
=''
29127 config_linkage_component
="-static"
29134 lib_unicode_suffix
=
29136 if test "$wxUSE_UNICODE" = "yes"; then
29137 lib_unicode_suffix
=u
29138 WX_CHARTYPE
="unicode"
29142 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29143 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29146 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29150 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29152 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29154 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29157 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29158 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29160 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29162 if test "${TOOLKIT_DIR}" = "os2"; then
29163 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29165 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29170 if test "$wxUSE_OLD_COCOA" = 1; then
29173 ac_cpp
='$CPP $CPPFLAGS'
29174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29181 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29183 /* end confdefs.h. */
29184 #include <AppKit/NSEvent.h>
29185 #include <CoreFoundation/CoreFoundation.h>
29195 if ac_fn_c_try_compile
"$LINENO"; then :
29196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29197 $as_echo "no" >&6; }
29199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29200 $as_echo "yes" >&6; }
29201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29202 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29204 /* end confdefs.h. */
29205 #define __Point__ 1
29206 #include <AppKit/NSEvent.h>
29207 #include <CoreFoundation/CoreFoundation.h>
29217 if ac_fn_c_try_compile
"$LINENO"; then :
29218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29219 $as_echo "yes" >&6; }
29220 $as_echo "#define __Point__ 1" >>confdefs.h
29224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29227 See \`config.log' for more details" "$LINENO" 5; }
29230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29233 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29235 ac_cpp
='$CPP $CPPFLAGS'
29236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29243 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29244 if test "x$ac_cv_type_mode_t" = xyes
; then :
29248 cat >>confdefs.h
<<_ACEOF
29254 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29255 if test "x$ac_cv_type_off_t" = xyes
; then :
29259 cat >>confdefs.h
<<_ACEOF
29260 #define off_t long int
29265 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29266 if test "x$ac_cv_type_pid_t" = xyes
; then :
29270 cat >>confdefs.h
<<_ACEOF
29276 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29277 if test "x$ac_cv_type_size_t" = xyes
; then :
29281 cat >>confdefs.h
<<_ACEOF
29282 #define size_t unsigned int
29288 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29289 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29291 cat >>confdefs.h
<<_ACEOF
29292 #define HAVE_SSIZE_T 1
29300 ac_cpp
='$CXXCPP $CPPFLAGS'
29301 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29302 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29303 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29305 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29306 if ${wx_cv_size_t_is_uint+:} false
; then :
29307 $as_echo_n "(cached) " >&6
29310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29311 /* end confdefs.h. */
29312 #include <stddef.h>
29319 struct Foo { void foo(size_t); void foo(unsigned int); };
29327 if ac_fn_cxx_try_compile
"$LINENO"; then :
29328 wx_cv_size_t_is_uint
=no
29330 wx_cv_size_t_is_uint
=yes
29333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29338 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29340 if test "$wx_cv_size_t_is_uint" = "yes"; then
29341 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29345 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29346 if ${wx_cv_size_t_is_ulong+:} false
; then :
29347 $as_echo_n "(cached) " >&6
29349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29350 /* end confdefs.h. */
29351 #include <stddef.h>
29358 struct Foo { void foo(size_t); void foo(unsigned long); };
29366 if ac_fn_cxx_try_compile
"$LINENO"; then :
29367 wx_cv_size_t_is_ulong
=no
29369 wx_cv_size_t_is_ulong
=yes
29372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29376 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29378 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29379 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29385 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29386 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29387 $as_echo_n "(cached) " >&6
29389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29390 /* end confdefs.h. */
29398 struct Foo { void foo(wchar_t);
29399 void foo(unsigned short);
29400 void foo(unsigned int);
29401 void foo(unsigned long); };
29409 if ac_fn_cxx_try_compile
"$LINENO"; then :
29410 wx_cv_wchar_t_is_separate_type
=yes
29412 wx_cv_wchar_t_is_separate_type
=no
29415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29419 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29421 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29422 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29425 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29430 ac_cpp
='$CPP $CPPFLAGS'
29431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29437 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29438 if ${wx_cv_struct_pw_gecos+:} false
; then :
29439 $as_echo_n "(cached) " >&6
29442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29443 /* end confdefs.h. */
29457 if ac_fn_c_try_compile
"$LINENO"; then :
29459 wx_cv_struct_pw_gecos
=yes
29463 wx_cv_struct_pw_gecos
=no
29467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29472 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29474 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29475 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29482 for ac_func
in wcslen
29484 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29485 if test "x$ac_cv_func_wcslen" = xyes
; then :
29486 cat >>confdefs.h
<<_ACEOF
29487 #define HAVE_WCSLEN 1
29494 if test "$WCSLEN_FOUND" = 0; then
29495 if test "$TOOLKIT" = "MSW"; then
29496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29497 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29498 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29499 $as_echo_n "(cached) " >&6
29501 ac_check_lib_save_LIBS
=$LIBS
29502 LIBS
="-lmsvcrt $LIBS"
29503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29504 /* end confdefs.h. */
29506 /* Override any GCC internal prototype to avoid an error.
29507 Use char because int might match the return type of a GCC
29508 builtin and then its argument prototype would still apply. */
29521 if ac_fn_c_try_link
"$LINENO"; then :
29522 ac_cv_lib_msvcrt_wcslen
=yes
29524 ac_cv_lib_msvcrt_wcslen
=no
29526 rm -f core conftest.err conftest.
$ac_objext \
29527 conftest
$ac_exeext conftest.
$ac_ext
29528 LIBS
=$ac_check_lib_save_LIBS
29530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29531 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29532 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29538 $as_echo_n "checking for wcslen in -lw... " >&6; }
29539 if ${ac_cv_lib_w_wcslen+:} false
; then :
29540 $as_echo_n "(cached) " >&6
29542 ac_check_lib_save_LIBS
=$LIBS
29544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29545 /* end confdefs.h. */
29547 /* Override any GCC internal prototype to avoid an error.
29548 Use char because int might match the return type of a GCC
29549 builtin and then its argument prototype would still apply. */
29562 if ac_fn_c_try_link
"$LINENO"; then :
29563 ac_cv_lib_w_wcslen
=yes
29565 ac_cv_lib_w_wcslen
=no
29567 rm -f core conftest.err conftest.
$ac_objext \
29568 conftest
$ac_exeext conftest.
$ac_ext
29569 LIBS
=$ac_check_lib_save_LIBS
29571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29572 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29573 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29583 if test "$WCSLEN_FOUND" = 1; then
29584 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29588 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29590 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29591 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29592 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29593 cat >>confdefs.h
<<_ACEOF
29594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29601 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29602 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29605 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29607 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29609 cat >>confdefs.h
<<_ACEOF
29610 #define HAVE_MBSTATE_T 1
29613 for ac_func
in wcsrtombs
29615 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29616 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29617 cat >>confdefs.h
<<_ACEOF
29618 #define HAVE_WCSRTOMBS 1
29627 for ac_func
in snprintf vsnprintf vsscanf
29629 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29630 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29631 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29632 cat >>confdefs.h
<<_ACEOF
29633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29641 ac_cpp
='$CXXCPP $CPPFLAGS'
29642 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29643 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29644 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29646 if test "$ac_cv_func_vsnprintf" = "yes"; then
29647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29648 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29649 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29650 $as_echo_n "(cached) " >&6
29653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29654 /* end confdefs.h. */
29657 #include <stdarg.h>
29665 vsnprintf(buf, 10u, "%s", ap);
29671 if ac_fn_cxx_try_compile
"$LINENO"; then :
29672 wx_cv_func_vsnprintf_decl
=yes
29674 wx_cv_func_vsnprintf_decl
=no
29677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29682 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29684 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29685 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29689 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29690 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
29691 $as_echo_n "(cached) " >&6
29694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29695 /* end confdefs.h. */
29698 #include <stdarg.h>
29700 #if __MSL__ >= 0x6000
29702 using namespace std;
29712 const char *fmt = "%s";
29713 vsnprintf(buf, 10u, fmt, ap);
29719 if ac_fn_cxx_try_compile
"$LINENO"; then :
29720 wx_cv_func_broken_vsnprintf_decl
=no
29722 wx_cv_func_broken_vsnprintf_decl
=yes
29725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29730 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29732 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29733 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29739 if test "$ac_cv_func_snprintf" = "yes"; then
29740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29741 $as_echo_n "checking for snprintf declaration... " >&6; }
29742 if ${wx_cv_func_snprintf_decl+:} false
; then :
29743 $as_echo_n "(cached) " >&6
29746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29747 /* end confdefs.h. */
29750 #include <stdarg.h>
29752 #if __MSL__ >= 0x6000
29754 using namespace std;
29763 snprintf(buf, 10u, "%s", "wx");
29769 if ac_fn_cxx_try_compile
"$LINENO"; then :
29770 wx_cv_func_snprintf_decl
=yes
29772 wx_cv_func_snprintf_decl
=no
29775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29780 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29782 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29783 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29787 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29790 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29791 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
29792 $as_echo_n "(cached) " >&6
29795 if test "$cross_compiling" = yes; then :
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29798 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29799 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29800 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29801 wx_cv_func_snprintf_pos_params
=no
29805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29806 /* end confdefs.h. */
29813 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29814 if (strcmp ("2 3 1", buffer) == 0)
29820 if ac_fn_cxx_try_run
"$LINENO"; then :
29821 wx_cv_func_snprintf_pos_params
=no
29823 wx_cv_func_snprintf_pos_params
=yes
29825 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
29826 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
29832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29833 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29835 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29836 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29842 if test "$ac_cv_func_vsscanf" = "yes"; then
29843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29844 $as_echo_n "checking for vsscanf declaration... " >&6; }
29845 if ${wx_cv_func_vsscanf_decl+:} false
; then :
29846 $as_echo_n "(cached) " >&6
29849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29850 /* end confdefs.h. */
29853 #include <stdarg.h>
29855 #if __MSL__ >= 0x6000
29857 using namespace std;
29867 vsscanf(buf, "%s", args);
29873 if ac_fn_cxx_try_compile
"$LINENO"; then :
29874 wx_cv_func_vsscanf_decl
=yes
29876 wx_cv_func_vsscanf_decl
=no
29879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29884 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29886 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29887 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29892 ac_cpp
='$CPP $CPPFLAGS'
29893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29898 if test "$wxUSE_UNICODE" = yes; then
29900 wchar_headers
="#include <stdio.h>
29901 #include <wchar.h>"
29904 for ac_header
in widec.h
29906 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29908 if test "x$ac_cv_header_widec_h" = xyes
; then :
29909 cat >>confdefs.h
<<_ACEOF
29910 #define HAVE_WIDEC_H 1
29917 if test "$ac_cv_header_widec_h" = "yes"; then
29918 wchar_headers
="$wchar_headers
29919 #include <widec.h>"
29924 for wx_func
in putws fputws wprintf vswprintf vswscanf
29926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29927 $as_echo_n "checking for $wx_func... " >&6; }
29928 if eval \
${wx_cv_func_$wx_func+:} false
; then :
29929 $as_echo_n "(cached) " >&6
29932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29933 /* end confdefs.h. */
29937 $ac_includes_default
29953 if ac_fn_c_try_link
"$LINENO"; then :
29954 eval wx_cv_func_
$wx_func=yes
29956 eval wx_cv_func_
$wx_func=no
29958 rm -f core conftest.err conftest.
$ac_objext \
29959 conftest
$ac_exeext conftest.
$ac_ext
29962 eval ac_res
=\
$wx_cv_func_$wx_func
29963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29964 $as_echo "$ac_res" >&6; }
29966 if eval test \
$wx_cv_func_$wx_func = yes
29968 cat >>confdefs.h
<<_ACEOF
29969 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
29981 $as_echo_n "checking for _vsnwprintf... " >&6; }
29982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29983 /* end confdefs.h. */
29993 if ac_fn_c_try_compile
"$LINENO"; then :
29994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29995 $as_echo "yes" >&6; }
29996 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
29999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30000 $as_echo "no" >&6; }
30002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30005 if test "$wxUSE_FILE" = "yes"; then
30007 for wx_func
in fsync
30009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30010 $as_echo_n "checking for $wx_func... " >&6; }
30011 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30012 $as_echo_n "(cached) " >&6
30015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30016 /* end confdefs.h. */
30020 $ac_includes_default
30036 if ac_fn_c_try_link
"$LINENO"; then :
30037 eval wx_cv_func_
$wx_func=yes
30039 eval wx_cv_func_
$wx_func=no
30041 rm -f core conftest.err conftest.
$ac_objext \
30042 conftest
$ac_exeext conftest.
$ac_ext
30045 eval ac_res
=\
$wx_cv_func_$wx_func
30046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30047 $as_echo "$ac_res" >&6; }
30049 if eval test \
$wx_cv_func_$wx_func = yes
30051 cat >>confdefs.h
<<_ACEOF
30052 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30065 ac_cpp
='$CXXCPP $CPPFLAGS'
30066 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30067 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30068 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30071 for wx_func
in round
30073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30074 $as_echo_n "checking for $wx_func... " >&6; }
30075 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30076 $as_echo_n "(cached) " >&6
30079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30080 /* end confdefs.h. */
30084 $ac_includes_default
30100 if ac_fn_cxx_try_link
"$LINENO"; then :
30101 eval wx_cv_func_
$wx_func=yes
30103 eval wx_cv_func_
$wx_func=no
30105 rm -f core conftest.err conftest.
$ac_objext \
30106 conftest
$ac_exeext conftest.
$ac_ext
30109 eval ac_res
=\
$wx_cv_func_$wx_func
30110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30111 $as_echo "$ac_res" >&6; }
30113 if eval test \
$wx_cv_func_$wx_func = yes
30115 cat >>confdefs.h
<<_ACEOF
30116 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30127 ac_cpp
='$CPP $CPPFLAGS'
30128 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30133 if test "$TOOLKIT" != "MSW"; then
30135 if test "$wxUSE_LIBICONV" != "no" ; then
30139 # Check whether --with-libiconv-prefix was given.
30140 if test "${with_libiconv_prefix+set}" = set; then :
30141 withval
=$with_libiconv_prefix;
30142 for dir
in `echo "$withval" | tr : ' '`; do
30143 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30144 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30151 $as_echo_n "checking for iconv... " >&6; }
30152 if ${am_cv_func_iconv+:} false
; then :
30153 $as_echo_n "(cached) " >&6
30156 am_cv_func_iconv
="no, consider installing GNU libiconv"
30158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h. */
30160 #include <stdlib.h>
30165 iconv_t cd = iconv_open("","");
30166 iconv(cd,NULL,NULL,NULL,NULL);
30172 if ac_fn_c_try_link
"$LINENO"; then :
30173 am_cv_func_iconv
=yes
30175 rm -f core conftest.err conftest.
$ac_objext \
30176 conftest
$ac_exeext conftest.
$ac_ext
30177 if test "$am_cv_func_iconv" != yes; then
30178 am_save_LIBS
="$LIBS"
30179 LIBS
="$LIBS -liconv"
30180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30181 /* end confdefs.h. */
30182 #include <stdlib.h>
30187 iconv_t cd = iconv_open("","");
30188 iconv(cd,NULL,NULL,NULL,NULL);
30194 if ac_fn_c_try_link
"$LINENO"; then :
30195 am_cv_lib_iconv
=yes
30196 am_cv_func_iconv
=yes
30198 rm -f core conftest.err conftest.
$ac_objext \
30199 conftest
$ac_exeext conftest.
$ac_ext
30200 LIBS
="$am_save_LIBS"
30204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30205 $as_echo "$am_cv_func_iconv" >&6; }
30206 if test "$am_cv_func_iconv" = yes; then
30208 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30211 $as_echo_n "checking if iconv needs const... " >&6; }
30212 if ${wx_cv_func_iconv_const+:} false
; then :
30213 $as_echo_n "(cached) " >&6
30215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30216 /* end confdefs.h. */
30218 #include <stdlib.h>
30224 #if defined(__STDC__) || defined(__cplusplus)
30225 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30238 if ac_fn_c_try_compile
"$LINENO"; then :
30239 wx_cv_func_iconv_const
="no"
30241 wx_cv_func_iconv_const
="yes"
30244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30248 $as_echo "$wx_cv_func_iconv_const" >&6; }
30251 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30252 iconv_const
="const"
30256 cat >>confdefs.h
<<_ACEOF
30257 #define ICONV_CONST $iconv_const
30262 if test "$am_cv_lib_iconv" = yes; then
30267 LIBS
="$LIBICONV $LIBS"
30270 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30271 for ac_func
in sigaction
30273 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30274 if test "x$ac_cv_func_sigaction" = xyes
; then :
30275 cat >>confdefs.h
<<_ACEOF
30276 #define HAVE_SIGACTION 1
30283 if test "$ac_cv_func_sigaction" = "no"; then
30284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30285 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30286 wxUSE_ON_FATAL_EXCEPTION
=no
30289 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30291 $as_echo_n "checking for sa_handler type... " >&6; }
30292 if ${wx_cv_type_sa_handler+:} false
; then :
30293 $as_echo_n "(cached) " >&6
30297 ac_cpp
='$CXXCPP $CPPFLAGS'
30298 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30303 /* end confdefs.h. */
30304 #include <signal.h>
30309 extern void testSigHandler(int);
30311 struct sigaction sa;
30312 sa.sa_handler = testSigHandler;
30318 if ac_fn_cxx_try_compile
"$LINENO"; then :
30320 wx_cv_type_sa_handler
=int
30324 wx_cv_type_sa_handler
=void
30327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30329 ac_cpp
='$CPP $CPPFLAGS'
30330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30337 $as_echo "$wx_cv_type_sa_handler" >&6; }
30339 cat >>confdefs.h
<<_ACEOF
30340 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30346 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30348 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30349 if ${wx_cv_func_backtrace+:} false
; then :
30350 $as_echo_n "(cached) " >&6
30354 ac_cpp
='$CXXCPP $CPPFLAGS'
30355 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30356 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30357 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30360 /* end confdefs.h. */
30361 #include <execinfo.h>
30369 backtrace(trace, 1);
30370 messages = backtrace_symbols(trace, 1);
30376 if ac_fn_cxx_try_compile
"$LINENO"; then :
30377 wx_cv_func_backtrace
=yes
30379 wx_cv_func_backtrace
=no
30382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30384 ac_cpp
='$CPP $CPPFLAGS'
30385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30393 $as_echo "$wx_cv_func_backtrace" >&6; }
30396 if test "$wx_cv_func_backtrace" = "no"; then
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30398 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30399 wxUSE_STACKWALKER
=no
30401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30402 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30403 if ${wx_cv_func_cxa_demangle+:} false
; then :
30404 $as_echo_n "(cached) " >&6
30408 ac_cpp
='$CXXCPP $CPPFLAGS'
30409 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30410 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30411 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30414 /* end confdefs.h. */
30415 #include <cxxabi.h>
30421 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30427 if ac_fn_cxx_try_link
"$LINENO"; then :
30428 wx_cv_func_cxa_demangle
=yes
30430 wx_cv_func_cxa_demangle
=no
30433 rm -f core conftest.err conftest.
$ac_objext \
30434 conftest
$ac_exeext conftest.
$ac_ext
30436 ac_cpp
='$CPP $CPPFLAGS'
30437 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30438 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30439 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30445 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30447 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30448 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30454 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30456 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30457 wxUSE_STACKWALKER
=no
30461 for ac_func
in mkstemp mktemp
30463 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30464 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30465 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30466 cat >>confdefs.h
<<_ACEOF
30467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30475 $as_echo_n "checking for statfs... " >&6; }
30476 if ${wx_cv_func_statfs+:} false
; then :
30477 $as_echo_n "(cached) " >&6
30479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30480 /* end confdefs.h. */
30482 #if defined(__BSD__)
30483 #include <sys/param.h>
30484 #include <sys/mount.h>
30486 #include <sys/vfs.h>
30504 if ac_fn_c_try_compile
"$LINENO"; then :
30505 wx_cv_func_statfs
=yes
30507 wx_cv_func_statfs
=no
30510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30514 $as_echo "$wx_cv_func_statfs" >&6; }
30516 if test "$wx_cv_func_statfs" = "yes"; then
30517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30518 $as_echo_n "checking for statfs declaration... " >&6; }
30519 if ${wx_cv_func_statfs_decl+:} false
; then :
30520 $as_echo_n "(cached) " >&6
30523 ac_cpp
='$CXXCPP $CPPFLAGS'
30524 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30525 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30526 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30529 /* end confdefs.h. */
30531 #if defined(__BSD__)
30532 #include <sys/param.h>
30533 #include <sys/mount.h>
30535 #include <sys/vfs.h>
30549 if ac_fn_cxx_try_compile
"$LINENO"; then :
30550 wx_cv_func_statfs_decl
=yes
30552 wx_cv_func_statfs_decl
=no
30555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30557 ac_cpp
='$CPP $CPPFLAGS'
30558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30565 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30567 if test "$wx_cv_func_statfs_decl" = "yes"; then
30568 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30572 wx_cv_type_statvfs_t
="struct statfs"
30573 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30577 $as_echo_n "checking for statvfs... " >&6; }
30578 if ${wx_cv_func_statvfs+:} false
; then :
30579 $as_echo_n "(cached) " >&6
30581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30582 /* end confdefs.h. */
30584 #include <stddef.h>
30585 #include <sys/statvfs.h>
30591 statvfs("/", NULL);
30597 if ac_fn_c_try_compile
"$LINENO"; then :
30598 wx_cv_func_statvfs
=yes
30600 wx_cv_func_statvfs
=no
30603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30607 $as_echo "$wx_cv_func_statvfs" >&6; }
30609 if test "$wx_cv_func_statvfs" = "yes"; then
30610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30611 $as_echo_n "checking for statvfs argument type... " >&6; }
30612 if ${wx_cv_type_statvfs_t+:} false
; then :
30613 $as_echo_n "(cached) " >&6
30616 ac_cpp
='$CXXCPP $CPPFLAGS'
30617 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30618 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30619 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30622 /* end confdefs.h. */
30624 #include <sys/statvfs.h>
30641 if ac_fn_cxx_try_compile
"$LINENO"; then :
30642 wx_cv_type_statvfs_t
=statvfs_t
30645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30646 /* end confdefs.h. */
30648 #include <sys/statvfs.h>
30665 if ac_fn_cxx_try_compile
"$LINENO"; then :
30666 wx_cv_type_statvfs_t
="struct statvfs"
30668 wx_cv_type_statvfs_t
="unknown"
30671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30677 ac_cpp
='$CPP $CPPFLAGS'
30678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30685 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30687 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30688 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30692 wx_cv_type_statvfs_t
="unknown"
30696 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30697 cat >>confdefs.h
<<_ACEOF
30698 #define WX_STATFS_T $wx_cv_type_statvfs_t
30702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30703 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30706 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30707 for ac_func
in fcntl flock
30709 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30710 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30711 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30712 cat >>confdefs.h
<<_ACEOF
30713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30720 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30722 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30723 wxUSE_SNGLINST_CHECKER
=no
30727 for ac_func
in setenv putenv
30729 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30730 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30731 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30732 cat >>confdefs.h
<<_ACEOF
30733 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30739 if test "$ac_cv_func_setenv" = "yes"; then
30740 for ac_func
in unsetenv
30742 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30743 if test "x$ac_cv_func_unsetenv" = xyes
; then :
30744 cat >>confdefs.h
<<_ACEOF
30745 #define HAVE_UNSETENV 1
30753 HAVE_SOME_SLEEP_FUNC
=0
30754 if test "$USE_BEOS" = 1; then
30755 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30757 HAVE_SOME_SLEEP_FUNC
=1
30760 if test "$USE_DARWIN" = 1; then
30761 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30763 HAVE_SOME_SLEEP_FUNC
=1
30766 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30768 for ac_func
in nanosleep
30770 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30771 if test "x$ac_cv_func_nanosleep" = xyes
; then :
30772 cat >>confdefs.h
<<_ACEOF
30773 #define HAVE_NANOSLEEP 1
30775 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30780 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30781 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
30782 $as_echo_n "(cached) " >&6
30784 ac_check_lib_save_LIBS
=$LIBS
30785 LIBS
="-lposix4 $LIBS"
30786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30787 /* end confdefs.h. */
30789 /* Override any GCC internal prototype to avoid an error.
30790 Use char because int might match the return type of a GCC
30791 builtin and then its argument prototype would still apply. */
30799 return nanosleep ();
30804 if ac_fn_c_try_link
"$LINENO"; then :
30805 ac_cv_lib_posix4_nanosleep
=yes
30807 ac_cv_lib_posix4_nanosleep
=no
30809 rm -f core conftest.err conftest.
$ac_objext \
30810 conftest
$ac_exeext conftest.
$ac_ext
30811 LIBS
=$ac_check_lib_save_LIBS
30813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30814 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30815 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
30817 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30819 POSIX4_LINK
=" -lposix4"
30824 for wx_func
in usleep
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30827 $as_echo_n "checking for $wx_func... " >&6; }
30828 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30829 $as_echo_n "(cached) " >&6
30832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30833 /* end confdefs.h. */
30837 $ac_includes_default
30853 if ac_fn_c_try_link
"$LINENO"; then :
30854 eval wx_cv_func_
$wx_func=yes
30856 eval wx_cv_func_
$wx_func=no
30858 rm -f core conftest.err conftest.
$ac_objext \
30859 conftest
$ac_exeext conftest.
$ac_ext
30862 eval ac_res
=\
$wx_cv_func_$wx_func
30863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30864 $as_echo "$ac_res" >&6; }
30866 if eval test \
$wx_cv_func_$wx_func = yes
30868 cat >>confdefs.h
<<_ACEOF
30869 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30876 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30893 for wx_func
in uname
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30896 $as_echo_n "checking for $wx_func... " >&6; }
30897 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30898 $as_echo_n "(cached) " >&6
30901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30902 /* end confdefs.h. */
30905 #include <sys/utsname.h>
30906 $ac_includes_default
30922 if ac_fn_c_try_link
"$LINENO"; then :
30923 eval wx_cv_func_
$wx_func=yes
30925 eval wx_cv_func_
$wx_func=no
30927 rm -f core conftest.err conftest.
$ac_objext \
30928 conftest
$ac_exeext conftest.
$ac_ext
30931 eval ac_res
=\
$wx_cv_func_$wx_func
30932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30933 $as_echo "$ac_res" >&6; }
30935 if eval test \
$wx_cv_func_$wx_func = yes
30937 cat >>confdefs.h
<<_ACEOF
30938 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30948 if test "$wx_cv_func_uname" != yes; then
30950 for wx_func
in gethostname
30952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30953 $as_echo_n "checking for $wx_func... " >&6; }
30954 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30955 $as_echo_n "(cached) " >&6
30958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30959 /* end confdefs.h. */
30963 $ac_includes_default
30979 if ac_fn_c_try_link
"$LINENO"; then :
30980 eval wx_cv_func_
$wx_func=yes
30982 eval wx_cv_func_
$wx_func=no
30984 rm -f core conftest.err conftest.
$ac_objext \
30985 conftest
$ac_exeext conftest.
$ac_ext
30988 eval ac_res
=\
$wx_cv_func_$wx_func
30989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30990 $as_echo "$ac_res" >&6; }
30992 if eval test \
$wx_cv_func_$wx_func = yes
30994 cat >>confdefs.h
<<_ACEOF
30995 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31008 for wx_func
in strtok_r
31010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31011 $as_echo_n "checking for $wx_func... " >&6; }
31012 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31013 $as_echo_n "(cached) " >&6
31016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31017 /* end confdefs.h. */
31021 $ac_includes_default
31037 if ac_fn_c_try_link
"$LINENO"; then :
31038 eval wx_cv_func_
$wx_func=yes
31040 eval wx_cv_func_
$wx_func=no
31042 rm -f core conftest.err conftest.
$ac_objext \
31043 conftest
$ac_exeext conftest.
$ac_ext
31046 eval ac_res
=\
$wx_cv_func_$wx_func
31047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31048 $as_echo "$ac_res" >&6; }
31050 if eval test \
$wx_cv_func_$wx_func = yes
31052 cat >>confdefs.h
<<_ACEOF
31053 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31065 for ac_func
in inet_addr
31067 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31068 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31069 cat >>confdefs.h
<<_ACEOF
31070 #define HAVE_INET_ADDR 1
31072 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31077 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31078 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31079 $as_echo_n "(cached) " >&6
31081 ac_check_lib_save_LIBS
=$LIBS
31083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31084 /* end confdefs.h. */
31086 /* Override any GCC internal prototype to avoid an error.
31087 Use char because int might match the return type of a GCC
31088 builtin and then its argument prototype would still apply. */
31096 return inet_addr ();
31101 if ac_fn_c_try_link
"$LINENO"; then :
31102 ac_cv_lib_nsl_inet_addr
=yes
31104 ac_cv_lib_nsl_inet_addr
=no
31106 rm -f core conftest.err conftest.
$ac_objext \
31107 conftest
$ac_exeext conftest.
$ac_ext
31108 LIBS
=$ac_check_lib_save_LIBS
31110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31111 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31112 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31117 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31118 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31119 $as_echo_n "(cached) " >&6
31121 ac_check_lib_save_LIBS
=$LIBS
31122 LIBS
="-lresolv $LIBS"
31123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31124 /* end confdefs.h. */
31126 /* Override any GCC internal prototype to avoid an error.
31127 Use char because int might match the return type of a GCC
31128 builtin and then its argument prototype would still apply. */
31136 return inet_addr ();
31141 if ac_fn_c_try_link
"$LINENO"; then :
31142 ac_cv_lib_resolv_inet_addr
=yes
31144 ac_cv_lib_resolv_inet_addr
=no
31146 rm -f core conftest.err conftest.
$ac_objext \
31147 conftest
$ac_exeext conftest.
$ac_ext
31148 LIBS
=$ac_check_lib_save_LIBS
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31151 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31152 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31157 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31158 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31159 $as_echo_n "(cached) " >&6
31161 ac_check_lib_save_LIBS
=$LIBS
31162 LIBS
="-lsocket $LIBS"
31163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31164 /* end confdefs.h. */
31166 /* Override any GCC internal prototype to avoid an error.
31167 Use char because int might match the return type of a GCC
31168 builtin and then its argument prototype would still apply. */
31176 return inet_addr ();
31181 if ac_fn_c_try_link
"$LINENO"; then :
31182 ac_cv_lib_socket_inet_addr
=yes
31184 ac_cv_lib_socket_inet_addr
=no
31186 rm -f core conftest.err conftest.
$ac_objext \
31187 conftest
$ac_exeext conftest.
$ac_ext
31188 LIBS
=$ac_check_lib_save_LIBS
31190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31191 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31192 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31211 for ac_func
in inet_aton
31213 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31214 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31215 cat >>confdefs.h
<<_ACEOF
31216 #define HAVE_INET_ATON 1
31218 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31222 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31224 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31225 if eval \
${$as_ac_Lib+:} false
; then :
31226 $as_echo_n "(cached) " >&6
31228 ac_check_lib_save_LIBS
=$LIBS
31229 LIBS
="-l$INET_LINK $LIBS"
31230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31231 /* end confdefs.h. */
31233 /* Override any GCC internal prototype to avoid an error.
31234 Use char because int might match the return type of a GCC
31235 builtin and then its argument prototype would still apply. */
31243 return inet_aton ();
31248 if ac_fn_c_try_link
"$LINENO"; then :
31249 eval "$as_ac_Lib=yes"
31251 eval "$as_ac_Lib=no"
31253 rm -f core conftest.err conftest.
$ac_objext \
31254 conftest
$ac_exeext conftest.
$ac_ext
31255 LIBS
=$ac_check_lib_save_LIBS
31257 eval ac_res
=\$
$as_ac_Lib
31258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31259 $as_echo "$ac_res" >&6; }
31260 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31261 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31270 if test "x$INET_LINK" != "x"; then
31271 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31273 INET_LINK
=" -l$INET_LINK"
31277 for wx_func
in fdopen
31279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31280 $as_echo_n "checking for $wx_func... " >&6; }
31281 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31282 $as_echo_n "(cached) " >&6
31285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31286 /* end confdefs.h. */
31290 $ac_includes_default
31306 if ac_fn_c_try_link
"$LINENO"; then :
31307 eval wx_cv_func_
$wx_func=yes
31309 eval wx_cv_func_
$wx_func=no
31311 rm -f core conftest.err conftest.
$ac_objext \
31312 conftest
$ac_exeext conftest.
$ac_ext
31315 eval ac_res
=\
$wx_cv_func_$wx_func
31316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31317 $as_echo "$ac_res" >&6; }
31319 if eval test \
$wx_cv_func_$wx_func = yes
31321 cat >>confdefs.h
<<_ACEOF
31322 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31333 if test "$wxUSE_TARSTREAM" = "yes"; then
31335 for wx_func
in sysconf
31337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31338 $as_echo_n "checking for $wx_func... " >&6; }
31339 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31340 $as_echo_n "(cached) " >&6
31343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31344 /* end confdefs.h. */
31348 $ac_includes_default
31364 if ac_fn_c_try_link
"$LINENO"; then :
31365 eval wx_cv_func_
$wx_func=yes
31367 eval wx_cv_func_
$wx_func=no
31369 rm -f core conftest.err conftest.
$ac_objext \
31370 conftest
$ac_exeext conftest.
$ac_ext
31373 eval ac_res
=\
$wx_cv_func_$wx_func
31374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31375 $as_echo "$ac_res" >&6; }
31377 if eval test \
$wx_cv_func_$wx_func = yes
31379 cat >>confdefs.h
<<_ACEOF
31380 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31392 for wx_func
in getpwuid_r
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31395 $as_echo_n "checking for $wx_func... " >&6; }
31396 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31397 $as_echo_n "(cached) " >&6
31400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31401 /* end confdefs.h. */
31408 $ac_includes_default
31418 struct passwd pw, *ppw;
31420 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31428 if ac_fn_c_try_link
"$LINENO"; then :
31429 eval wx_cv_func_
$wx_func=yes
31431 eval wx_cv_func_
$wx_func=no
31433 rm -f core conftest.err conftest.
$ac_objext \
31434 conftest
$ac_exeext conftest.
$ac_ext
31437 eval ac_res
=\
$wx_cv_func_$wx_func
31438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31439 $as_echo "$ac_res" >&6; }
31441 if eval test \
$wx_cv_func_$wx_func = yes
31443 cat >>confdefs.h
<<_ACEOF
31444 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31456 for wx_func
in getgrgid_r
31458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31459 $as_echo_n "checking for $wx_func... " >&6; }
31460 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31461 $as_echo_n "(cached) " >&6
31464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31465 /* end confdefs.h. */
31472 $ac_includes_default
31482 struct group grp, *pgrp;
31484 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31492 if ac_fn_c_try_link
"$LINENO"; then :
31493 eval wx_cv_func_
$wx_func=yes
31495 eval wx_cv_func_
$wx_func=no
31497 rm -f core conftest.err conftest.
$ac_objext \
31498 conftest
$ac_exeext conftest.
$ac_ext
31501 eval ac_res
=\
$wx_cv_func_$wx_func
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31503 $as_echo "$ac_res" >&6; }
31505 if eval test \
$wx_cv_func_$wx_func = yes
31507 cat >>confdefs.h
<<_ACEOF
31508 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31524 cat >confcache
<<\_ACEOF
31525 # This file is a shell script that caches the results of configure
31526 # tests run on this system so they can be shared between configure
31527 # scripts and configure runs, see configure's option --config-cache.
31528 # It is not useful on other systems. If it contains results you don't
31529 # want to keep, you may remove or edit it.
31531 # config.status only pays attention to the cache file if you give it
31532 # the --recheck option to rerun configure.
31534 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31535 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31536 # following values.
31540 # The following way of writing the cache mishandles newlines in values,
31541 # but we know of no workaround that is simple, portable, and efficient.
31542 # So, we kill variables containing newlines.
31543 # Ultrix sh set writes to stderr and can't be redirected directly,
31544 # and sets the high bit in the cache file unless we assign to the vars.
31546 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31547 eval ac_val
=\$
$ac_var
31551 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31552 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31555 _
| IFS
| as_nl
) ;; #(
31556 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31557 *) { eval $ac_var=; unset $ac_var;} ;;
31563 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31564 *${as_nl}ac_space
=\
*)
31565 # `set' does not quote correctly, so add quotes: double-quote
31566 # substitution turns \\\\ into \\, and sed turns \\ into \.
31569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31572 # `set' quotes correctly as required by POSIX, so do not add quotes.
31573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31582 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31584 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31586 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31587 if test -w "$cache_file"; then
31588 if test "x$cache_file" != "x/dev/null"; then
31589 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31590 $as_echo "$as_me: updating cache $cache_file" >&6;}
31591 if test ! -f "$cache_file" || test -h "$cache_file"; then
31592 cat confcache
>"$cache_file"
31594 case $cache_file in #(
31596 mv -f confcache
"$cache_file"$$
&&
31597 mv -f "$cache_file"$$
"$cache_file" ;; #(
31599 mv -f confcache
"$cache_file" ;;
31604 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31605 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31611 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31617 if test "$wxUSE_THREADS" = "yes" ; then
31618 if test "$USE_BEOS" = 1; then
31619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31620 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31625 if test "$wxUSE_THREADS" = "yes" ; then
31628 THREAD_OPTS
="-pthread"
31629 if test "x$SUNCXX" = xyes
; then
31630 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31634 *-*-solaris2* | *-*-sunos4* )
31635 if test "x$GCC" = "xyes"; then
31636 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31640 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31642 *-*-darwin* | *-*-cygwin* )
31646 THREAD_OPTS
="pthreads"
31649 if test "x$GCC" = "xyes"; then
31650 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
31658 if test "x$GCC" = "xyes"; then
31668 if test "x$GCC" != "xyes"; then
31669 THREAD_OPTS
="-Ethread"
31676 THREAD_OPTS
="none pthread"
31680 THREAD_OPTS
="$THREAD_OPTS pthread none"
31685 for flag
in $THREAD_OPTS; do
31688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31689 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31694 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31695 THREADS_CFLAGS
="$flag"
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31700 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31701 THREADS_LINK
="-l$flag"
31706 save_CFLAGS
="$CFLAGS"
31707 LIBS
="$THREADS_LINK $LIBS"
31708 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31711 /* end confdefs.h. */
31712 #include <pthread.h>
31716 pthread_create(0,0,0,0);
31721 if ac_fn_c_try_link
"$LINENO"; then :
31724 rm -f core conftest.err conftest.
$ac_objext \
31725 conftest
$ac_exeext conftest.
$ac_ext
31728 CFLAGS
="$save_CFLAGS"
31730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31731 $as_echo "$THREADS_OK" >&6; }
31732 if test "x$THREADS_OK" = "xyes"; then
31740 if test "x$THREADS_OK" != "xyes"; then
31742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31743 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31745 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31746 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31747 LIBS
="$THREADS_LINK $LIBS"
31749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31750 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31754 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
31755 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31756 flag
="-D_THREAD_SAFE"
31759 flag
="-D_THREAD_SAFE"
31762 flag
="-D_REENTRANT"
31763 if test "x$GCC" != "xyes"; then
31764 flag
="$flag -D_RWSTD_MULTI_THREAD"
31767 *solaris
* | alpha
*-osf*)
31768 flag
="-D_REENTRANT"
31771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31772 $as_echo "${flag}" >&6; }
31773 if test "x$flag" != xno
; then
31774 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
31777 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31781 if test "$wxUSE_THREADS" = "yes" ; then
31782 for ac_func
in pthread_setconcurrency
31784 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31785 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
31786 cat >>confdefs.h
<<_ACEOF
31787 #define HAVE_PTHREAD_SETCONCURRENCY 1
31789 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31793 for ac_func
in thr_setconcurrency
31795 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31796 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
31797 cat >>confdefs.h
<<_ACEOF
31798 #define HAVE_THR_SETCONCURRENCY 1
31800 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31804 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31814 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31815 if ${wx_cv_func_pthread_cleanup+:} false
; then :
31816 $as_echo_n "(cached) " >&6
31820 ac_cpp
='$CXXCPP $CPPFLAGS'
31821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31826 /* end confdefs.h. */
31827 #include <pthread.h>
31828 void ThreadCleanupFunc(void *p);
31835 pthread_cleanup_push(ThreadCleanupFunc, p);
31836 pthread_cleanup_pop(0);
31842 if ac_fn_cxx_try_compile
"$LINENO"; then :
31844 wx_cv_func_pthread_cleanup
=yes
31848 wx_cv_func_pthread_cleanup
=no
31852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31854 ac_cpp
='$CPP $CPPFLAGS'
31855 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31856 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31857 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31862 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31863 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31864 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31868 for ac_header
in sched.h
31870 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31872 if test "x$ac_cv_header_sched_h" = xyes
; then :
31873 cat >>confdefs.h
<<_ACEOF
31874 #define HAVE_SCHED_H 1
31881 if test "$ac_cv_header_sched_h" = "yes"; then
31882 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31883 if test "x$ac_cv_func_sched_yield" = xyes
; then :
31884 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31889 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31890 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
31891 $as_echo_n "(cached) " >&6
31893 ac_check_lib_save_LIBS
=$LIBS
31894 LIBS
="-lposix4 $LIBS"
31895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31896 /* end confdefs.h. */
31898 /* Override any GCC internal prototype to avoid an error.
31899 Use char because int might match the return type of a GCC
31900 builtin and then its argument prototype would still apply. */
31904 char sched_yield ();
31908 return sched_yield ();
31913 if ac_fn_c_try_link
"$LINENO"; then :
31914 ac_cv_lib_posix4_sched_yield
=yes
31916 ac_cv_lib_posix4_sched_yield
=no
31918 rm -f core conftest.err conftest.
$ac_objext \
31919 conftest
$ac_exeext conftest.
$ac_ext
31920 LIBS
=$ac_check_lib_save_LIBS
31922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31923 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31924 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
31925 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31926 POSIX4_LINK
=" -lposix4"
31928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31929 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31940 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31941 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
31942 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31943 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
31944 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31945 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
31948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31949 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
31950 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
31951 $as_echo_n "(cached) " >&6
31953 ac_check_lib_save_LIBS
=$LIBS
31954 LIBS
="-lposix4 $LIBS"
31955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31956 /* end confdefs.h. */
31958 /* Override any GCC internal prototype to avoid an error.
31959 Use char because int might match the return type of a GCC
31960 builtin and then its argument prototype would still apply. */
31964 char sched_get_priority_max ();
31968 return sched_get_priority_max ();
31973 if ac_fn_c_try_link
"$LINENO"; then :
31974 ac_cv_lib_posix4_sched_get_priority_max
=yes
31976 ac_cv_lib_posix4_sched_get_priority_max
=no
31978 rm -f core conftest.err conftest.
$ac_objext \
31979 conftest
$ac_exeext conftest.
$ac_ext
31980 LIBS
=$ac_check_lib_save_LIBS
31982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31983 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
31984 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
31987 POSIX4_LINK
=" -lposix4"
32001 if test "$HAVE_PRIOR_FUNCS" = 1; then
32002 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32006 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32009 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32010 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
32011 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32015 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32019 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32020 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
32021 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32025 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32029 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32030 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32031 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32038 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32039 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32040 $as_echo_n "(cached) " >&6
32043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32044 /* end confdefs.h. */
32045 #include <pthread.h>
32050 pthread_mutexattr_t attr;
32051 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32057 if ac_fn_c_try_compile
"$LINENO"; then :
32058 wx_cv_type_pthread_mutexattr_t
=yes
32060 wx_cv_type_pthread_mutexattr_t
=no
32063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32067 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32069 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32070 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32074 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32075 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32076 $as_echo_n "(cached) " >&6
32079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32080 /* end confdefs.h. */
32081 #include <pthread.h>
32086 pthread_mutexattr_t attr;
32087 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32093 if ac_fn_c_try_compile
"$LINENO"; then :
32094 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32096 wx_cv_func_pthread_mutexattr_settype_decl
=no
32099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32103 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32104 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32105 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32110 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32111 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32112 $as_echo_n "(cached) " >&6
32115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32116 /* end confdefs.h. */
32117 #include <pthread.h>
32122 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32128 if ac_fn_c_try_compile
"$LINENO"; then :
32130 wx_cv_type_pthread_rec_mutex_init
=yes
32134 wx_cv_type_pthread_rec_mutex_init
=no
32138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32142 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32143 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32144 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32148 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32152 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32153 if test "$USE_NETBSD" = 1; then
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32155 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32156 wxUSE_COMPILER_TLS
=no
32158 wxUSE_COMPILER_TLS
=yes
32162 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32164 $as_echo_n "checking for __thread keyword... " >&6; }
32165 if ${wx_cv_cc___thread+:} false
; then :
32166 $as_echo_n "(cached) " >&6
32169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32170 /* end confdefs.h. */
32171 #include <pthread.h>
32176 static __thread int n = 0;
32177 static __thread int *p = 0;
32183 if ac_fn_c_try_compile
"$LINENO"; then :
32184 wx_cv_cc___thread
=yes
32186 wx_cv_cc___thread
=no
32189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32194 $as_echo "$wx_cv_cc___thread" >&6; }
32196 if test "$wx_cv_cc___thread" = "yes"; then
32202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32203 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32205 if test "x$GCC" = "xyes" ; then :
32207 if test -z "" ; then :
32209 ax_gcc_option_test
="int main()
32216 ax_gcc_option_test
=""
32220 # Dump the test program to file
32221 cat <<EOF > conftest.c
32222 $ax_gcc_option_test
32225 # Dump back the file to the log, useful for debugging purposes
32226 { ac_try
='cat conftest.c 1>&5'
32227 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32228 (eval $ac_try) 2>&5
32230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32231 test $ac_status = 0; }; }
32233 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32234 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32235 (eval $ac_try) 2>&5
32237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32238 test $ac_status = 0; }; } ; then :
32240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32241 $as_echo "yes" >&6; }
32243 ax_gcc_version_option
=yes
32248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32249 $as_echo "no" >&6; }
32251 ax_gcc_version_option
=no
32258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32259 $as_echo "no gcc available" >&6; }
32263 if test "x$GXX" = "xyes"; then :
32265 if test "x$ax_gxx_version_option" != "no"; then :
32267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32268 $as_echo_n "checking gxx version... " >&6; }
32269 if ${ax_cv_gxx_version+:} false
; then :
32270 $as_echo_n "(cached) " >&6
32273 ax_cv_gxx_version
="`$CXX -dumpversion`"
32274 if test "x$ax_cv_gxx_version" = "x"; then :
32276 ax_cv_gxx_version
=""
32281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32282 $as_echo "$ax_cv_gxx_version" >&6; }
32283 GXX_VERSION
=$ax_cv_gxx_version
32290 if test -n "$ax_cv_gxx_version"; then
32291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32292 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32293 case "$ax_cv_gxx_version" in
32295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32296 $as_echo "no, it's broken" >&6; }
32297 wx_cv_cc___thread
=no
32300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32301 $as_echo "yes, it works" >&6; }
32307 if test "$wx_cv_cc___thread" = "yes"; then
32308 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32315 if test "$wxUSE_THREADS" = "yes" ; then
32317 x86_64
-*-mingw32* )
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32321 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32322 if ${wx_cv_cflags_mthread+:} false
; then :
32323 $as_echo_n "(cached) " >&6
32326 CFLAGS_OLD
="$CFLAGS"
32327 CFLAGS
="-mthreads $CFLAGS"
32328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32329 /* end confdefs.h. */
32339 if ac_fn_c_try_compile
"$LINENO"; then :
32340 wx_cv_cflags_mthread
=yes
32342 wx_cv_cflags_mthread
=no
32345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32350 $as_echo "$wx_cv_cflags_mthread" >&6; }
32352 if test "$wx_cv_cflags_mthread" = "yes"; then
32353 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32354 LDFLAGS
="$LDFLAGS -mthreads"
32356 CFLAGS
="$CFLAGS_OLD"
32360 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32361 LDFLAGS
="$LDFLAGS -Zmt"
32367 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32368 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32369 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32373 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32374 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32375 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32383 ac_cpp
='$CPP $CPPFLAGS'
32384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32389 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32391 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32392 $as_echo_n "(cached) " >&6
32396 ################################################################
32398 ac_cv_func_which_gethostbyname_r
=unknown
32401 # ONE ARGUMENT (sanity check)
32404 # This should fail, as there is no variant of gethostbyname_r() that takes
32405 # a single argument. If it actually compiles, then we can assume that
32406 # netdb.h is not declaring the function, and the compiler is thereby
32407 # assuming an implicit prototype. In which case, we're out of luck.
32409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32410 /* end confdefs.h. */
32416 char *name = "www.gnu.org";
32417 (void)gethostbyname_r(name) /* ; */
32424 if ac_fn_c_try_compile
"$LINENO"; then :
32425 ac_cv_func_which_gethostbyname_r
=no
32428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32435 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32438 /* end confdefs.h. */
32444 char *name = "www.gnu.org";
32445 struct hostent ret, *retp;
32449 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32456 if ac_fn_c_try_compile
"$LINENO"; then :
32457 ac_cv_func_which_gethostbyname_r
=six
32460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32469 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32472 /* end confdefs.h. */
32478 char *name = "www.gnu.org";
32479 struct hostent ret;
32483 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32490 if ac_fn_c_try_compile
"$LINENO"; then :
32491 ac_cv_func_which_gethostbyname_r
=five
32494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32500 # (e.g. AIX, HP-UX, Tru64)
32503 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32506 /* end confdefs.h. */
32512 char *name = "www.gnu.org";
32513 struct hostent ret;
32514 struct hostent_data data;
32515 (void)gethostbyname_r(name, &ret, &data) /* ; */
32522 if ac_fn_c_try_compile
"$LINENO"; then :
32523 ac_cv_func_which_gethostbyname_r
=three
32526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32530 ################################################################
32535 case "$ac_cv_func_which_gethostbyname_r" in
32537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32538 $as_echo "three" >&6; }
32539 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32545 $as_echo "five" >&6; }
32546 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32552 $as_echo "six" >&6; }
32553 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32559 $as_echo "cannot find function declaration in netdb.h" >&6; }
32563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32564 $as_echo "can't tell" >&6; }
32568 as_fn_error $?
"internal error" "$LINENO" 5
32573 ac_cpp
='$CPP $CPPFLAGS'
32574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32580 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32581 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32582 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32583 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
32584 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32591 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32592 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
32593 $as_echo_n "(cached) " >&6
32597 ac_cpp
='$CXXCPP $CPPFLAGS'
32598 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32599 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32600 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32604 /* end confdefs.h. */
32612 struct servent *se, *res;
32615 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32621 if ac_fn_cxx_try_compile
"$LINENO"; then :
32622 ac_cv_func_which_getservbyname_r
=six
32625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32626 /* end confdefs.h. */
32634 struct servent *se;
32637 (void) getservbyname_r(name, proto, se, buffer, buflen)
32643 if ac_fn_cxx_try_compile
"$LINENO"; then :
32644 ac_cv_func_which_getservbyname_r
=five
32647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32648 /* end confdefs.h. */
32656 struct servent *se;
32657 struct servent_data data;
32658 (void) getservbyname_r(name, proto, se, &data);
32664 if ac_fn_cxx_try_compile
"$LINENO"; then :
32665 ac_cv_func_which_getservbyname_r
=four
32667 ac_cv_func_which_getservbyname_r
=no
32670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32680 ac_cpp
='$CPP $CPPFLAGS'
32681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32689 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32691 if test $ac_cv_func_which_getservbyname_r = six
; then
32692 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32694 elif test $ac_cv_func_which_getservbyname_r = five
; then
32695 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32697 elif test $ac_cv_func_which_getservbyname_r = four
; then
32698 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32703 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32704 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32705 for ac_func
in getservbyname
32707 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32708 if test "x$ac_cv_func_getservbyname" = xyes
; then :
32709 cat >>confdefs.h
<<_ACEOF
32710 #define HAVE_GETSERVBYNAME 1
32712 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32719 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32722 if test "$wxUSE_THREADS" = "yes"; then
32723 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
32728 if test "$wx_cv_func_strtok_r" = "yes"; then
32729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32730 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32731 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32732 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32734 $as_echo "yes" >&6; }
32736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32737 $as_echo "no" >&6; }
32742 if test "$WXGTK3" = 1 ; then
32743 cat >>confdefs.h
<<_ACEOF
32744 #define __WXGTK3__ 1
32749 if test "$WXGTK2" = 1 ; then
32750 cat >>confdefs.h
<<_ACEOF
32751 #define __WXGTK20__ $WXGTK2
32756 if test "$WXGTK127" = 1 ; then
32757 cat >>confdefs.h
<<_ACEOF
32758 #define __WXGTK127__ $WXGTK127
32763 if test "$WXGPE" = 1 ; then
32764 cat >>confdefs.h
<<_ACEOF
32765 #define __WXGPE__ $WXGPE
32771 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32773 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32774 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32778 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32779 wxUSE_DEBUG_INFO
=yes
32780 if test "$GCC" = yes; then
32781 DEBUG_CFLAGS
="-ggdb"
32785 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32786 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32788 if test "$wxUSE_GTK" = 1 ; then
32789 if test "$WXGTK2" = 1 ; then
32790 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32792 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32797 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32798 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32800 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32802 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
32807 if test "$wxUSE_DMALLOC" = "yes" ; then
32808 DMALLOC_LIBS
="-ldmallocthcxx"
32812 if test "$wxUSE_PROFILE" = "yes" ; then
32813 PROFILE_FLAGS
=" -pg"
32816 if test "$GCC" = "yes" ; then
32817 if test "$wxUSE_NO_RTTI" = "yes" ; then
32818 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32820 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32821 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
32823 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32824 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
32829 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
32832 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
32838 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32840 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32842 if test "$wxUSE_OPTIMISE" = "no" ; then
32843 if test "$GCC" = yes ; then
32844 OPTIMISE_CFLAGS
="-O0"
32847 if test "$GCC" = yes ; then
32849 *-pc-os2_emx | *-pc-os2-emx )
32850 OPTIMISE_CFLAGS
="-O2"
32853 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
32857 OPTIMISE_CFLAGS
="-O"
32863 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32864 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32867 WXWIN_COMPATIBILITY_2_8
="yes"
32870 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32871 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32876 if test "$wxUSE_GUI" = "yes"; then
32877 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32883 if test "$wxUSE_UNIX" = "yes"; then
32884 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32889 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32893 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32894 if test "$USE_DOS" = 1; then
32897 for ac_func
in dlopen
32899 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
32900 if test "x$ac_cv_func_dlopen" = xyes
; then :
32901 cat >>confdefs.h
<<_ACEOF
32902 #define HAVE_DLOPEN 1
32905 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32912 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32913 if ${ac_cv_lib_dl_dlopen+:} false
; then :
32914 $as_echo_n "(cached) " >&6
32916 ac_check_lib_save_LIBS
=$LIBS
32918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32919 /* end confdefs.h. */
32921 /* Override any GCC internal prototype to avoid an error.
32922 Use char because int might match the return type of a GCC
32923 builtin and then its argument prototype would still apply. */
32936 if ac_fn_c_try_link
"$LINENO"; then :
32937 ac_cv_lib_dl_dlopen
=yes
32939 ac_cv_lib_dl_dlopen
=no
32941 rm -f core conftest.err conftest.
$ac_objext \
32942 conftest
$ac_exeext conftest.
$ac_ext
32943 LIBS
=$ac_check_lib_save_LIBS
32945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32946 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32947 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
32949 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32952 DL_LINK
=" -ldl$DL_LINK"
32956 for ac_func
in shl_load
32958 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
32959 if test "x$ac_cv_func_shl_load" = xyes
; then :
32960 cat >>confdefs.h
<<_ACEOF
32961 #define HAVE_SHL_LOAD 1
32964 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
32970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
32971 $as_echo_n "checking for dld in -lshl_load... " >&6; }
32972 if ${ac_cv_lib_shl_load_dld+:} false
; then :
32973 $as_echo_n "(cached) " >&6
32975 ac_check_lib_save_LIBS
=$LIBS
32976 LIBS
="-lshl_load $LIBS"
32977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32978 /* end confdefs.h. */
32980 /* Override any GCC internal prototype to avoid an error.
32981 Use char because int might match the return type of a GCC
32982 builtin and then its argument prototype would still apply. */
32995 if ac_fn_c_try_link
"$LINENO"; then :
32996 ac_cv_lib_shl_load_dld
=yes
32998 ac_cv_lib_shl_load_dld
=no
33000 rm -f core conftest.err conftest.
$ac_objext \
33001 conftest
$ac_exeext conftest.
$ac_ext
33002 LIBS
=$ac_check_lib_save_LIBS
33004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33005 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33006 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
33009 DL_LINK
=" -ldld$DL_LINK"
33025 if test "$HAVE_DL_FUNCS" = 1; then
33026 for ac_func
in dlerror
33028 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33029 if test "x$ac_cv_func_dlerror" = xyes
; then :
33030 cat >>confdefs.h
<<_ACEOF
33031 #define HAVE_DLERROR 1
33033 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33038 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33039 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33040 $as_echo_n "(cached) " >&6
33042 ac_check_lib_save_LIBS
=$LIBS
33044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33045 /* end confdefs.h. */
33047 /* Override any GCC internal prototype to avoid an error.
33048 Use char because int might match the return type of a GCC
33049 builtin and then its argument prototype would still apply. */
33062 if ac_fn_c_try_link
"$LINENO"; then :
33063 ac_cv_lib_dl_dlerror
=yes
33065 ac_cv_lib_dl_dlerror
=no
33067 rm -f core conftest.err conftest.
$ac_objext \
33068 conftest
$ac_exeext conftest.
$ac_ext
33069 LIBS
=$ac_check_lib_save_LIBS
33071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33072 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33073 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33074 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33086 if test "$USE_DARWIN" = 1; then
33090 if test "$HAVE_DL_FUNCS" = 0; then
33091 if test "$HAVE_SHL_FUNCS" = 0; then
33092 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33094 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33095 wxUSE_DYNAMIC_LOADER
=no
33096 wxUSE_DYNLIB_CLASS
=no
33098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33099 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33106 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33107 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33110 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33111 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33117 if test "$wxUSE_PLUGINS" = "yes" ; then
33118 if test "$wxUSE_SHARED" = "no" ; then
33119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33120 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33123 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33125 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33128 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33130 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33133 if test "$wxUSE_PLUGINS" = "yes" ; then
33134 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33140 if test "$wxUSE_FSWATCHER" = "yes"; then
33141 if test "$wxUSE_MSW" != "1"; then
33142 if test "$wxUSE_UNIX" = "yes"; then
33143 for ac_header
in sys
/inotify.h
33145 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33147 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33148 cat >>confdefs.h
<<_ACEOF
33149 #define HAVE_SYS_INOTIFY_H 1
33156 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33157 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33160 for ac_header
in sys
/event.h
33162 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33164 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33165 cat >>confdefs.h
<<_ACEOF
33166 #define HAVE_SYS_EVENT_H 1
33173 if test "$ac_cv_header_sys_event_h" = "yes"; then
33174 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33184 if test "$wxUSE_THREADS" != "yes"; then
33185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33186 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33191 if test "$wxUSE_FSWATCHER" = "yes"; then
33192 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33197 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33202 if test "$wxUSE_STL" = "yes"; then
33203 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33207 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33208 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33212 if test "$wxUSE_ANY" = "yes"; then
33213 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33217 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33218 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33222 if test "$wxUSE_TIMER" = "yes"; then
33223 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33227 if test "$USE_UNIX" = 1 ; then
33228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33229 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33230 if ${ac_cv_header_sys_soundcard+:} false
; then :
33231 $as_echo_n "(cached) " >&6
33234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33235 /* end confdefs.h. */
33237 #include <sys/ioctl.h>
33238 #include <sys/soundcard.h>
33244 ioctl(0, SNDCTL_DSP_SPEED, 0);
33250 if ac_fn_c_try_link
"$LINENO"; then :
33251 ac_cv_header_sys_soundcard
=yes
33255 LIBS
="$saveLibs -lossaudio"
33256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33257 /* end confdefs.h. */
33259 #include <sys/ioctl.h>
33260 #include <sys/soundcard.h>
33266 ioctl(0, SNDCTL_DSP_SPEED, 0);
33272 if ac_fn_c_try_link
"$LINENO"; then :
33273 ac_cv_header_sys_soundcard
=yes
33277 ac_cv_header_sys_soundcard
=no
33281 rm -f core conftest.err conftest.
$ac_objext \
33282 conftest
$ac_exeext conftest.
$ac_ext
33286 rm -f core conftest.err conftest.
$ac_objext \
33287 conftest
$ac_exeext conftest.
$ac_ext
33290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33291 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33293 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33294 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33300 if test "$wxUSE_SOUND" = "yes"; then
33301 if test "$USE_UNIX" = 1 ; then
33302 if test "$wxUSE_LIBSDL" != "no"; then
33304 # Check whether --with-sdl-prefix was given.
33305 if test "${with_sdl_prefix+set}" = set; then :
33306 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33312 # Check whether --with-sdl-exec-prefix was given.
33313 if test "${with_sdl_exec_prefix+set}" = set; then :
33314 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33319 # Check whether --enable-sdltest was given.
33320 if test "${enable_sdltest+set}" = set; then :
33321 enableval
=$enable_sdltest;
33327 if test x
$sdl_exec_prefix != x
; then
33328 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33329 if test x
${SDL_CONFIG+set} != xset
; then
33330 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33333 if test x
$sdl_prefix != x
; then
33334 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33335 if test x
${SDL_CONFIG+set} != xset
; then
33336 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33340 if test "x$prefix" != xNONE
; then
33341 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33343 # Extract the first word of "sdl-config", so it can be a program name with args.
33344 set dummy sdl
-config; ac_word
=$2
33345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33346 $as_echo_n "checking for $ac_word... " >&6; }
33347 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33348 $as_echo_n "(cached) " >&6
33350 case $SDL_CONFIG in
33352 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33356 for as_dir
in $PATH
33359 test -z "$as_dir" && as_dir
=.
33360 for ac_exec_ext
in '' $ac_executable_extensions; do
33361 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33362 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33370 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33374 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33375 if test -n "$SDL_CONFIG"; then
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33377 $as_echo "$SDL_CONFIG" >&6; }
33379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33380 $as_echo "no" >&6; }
33384 min_sdl_version
=1.2.0
33385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33386 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33388 if test "$SDL_CONFIG" = "no" ; then
33391 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33392 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33394 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33396 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33398 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33399 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33400 if test "x$enable_sdltest" = "xyes" ; then
33401 ac_save_CFLAGS
="$CFLAGS"
33402 ac_save_CXXFLAGS
="$CXXFLAGS"
33403 ac_save_LIBS
="$LIBS"
33404 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33405 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33406 LIBS
="$LIBS $SDL_LIBS"
33408 if test "$cross_compiling" = yes; then :
33409 echo $ac_n "cross compiling; assumed OK... $ac_c"
33411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33412 /* end confdefs.h. */
33415 #include <stdlib.h>
33416 #include <string.h>
33420 my_strdup (char *str)
33426 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33427 strcpy (new_str, str);
33435 int main (int argc, char *argv[])
33437 int major, minor, micro;
33440 /* This hangs on some systems (?)
33441 system ("touch conf.sdltest");
33443 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33445 /* HP/UX 9 (%@#!) writes to sscanf strings */
33446 tmp_version = my_strdup("$min_sdl_version");
33447 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33448 printf("%s, bad version string\n", "$min_sdl_version");
33452 if (($sdl_major_version > major) ||
33453 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33454 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33460 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33461 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33462 printf("*** best to upgrade to the required version.\n");
33463 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33464 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33465 printf("*** config.cache before re-running configure\n");
33472 if ac_fn_c_try_run
"$LINENO"; then :
33477 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33478 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33481 CFLAGS
="$ac_save_CFLAGS"
33482 CXXFLAGS
="$ac_save_CXXFLAGS"
33483 LIBS
="$ac_save_LIBS"
33486 if test "x$no_sdl" = x
; then
33487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33488 $as_echo "yes" >&6; }
33490 EXTRALIBS_SDL
="$SDL_LIBS"
33491 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33492 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33493 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33498 $as_echo "no" >&6; }
33499 if test "$SDL_CONFIG" = "no" ; then
33500 echo "*** The sdl-config script installed by SDL could not be found"
33501 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33502 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33503 echo "*** full path to sdl-config."
33505 if test -f conf.sdltest
; then
33508 echo "*** Could not run SDL test program, checking why..."
33509 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33510 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33511 LIBS
="$LIBS $SDL_LIBS"
33512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33513 /* end confdefs.h. */
33518 int main(int argc, char *argv[])
33521 #define main K_and_R_C_main
33531 if ac_fn_c_try_link
"$LINENO"; then :
33532 echo "*** The test program compiled, but did not run. This usually means"
33533 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33534 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33535 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33536 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33537 echo "*** is required on your system"
33539 echo "*** If you have an old version installed, it is best to remove it, although"
33540 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33542 echo "*** The test program failed to compile or link. See the file config.log for the"
33543 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33544 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33545 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33547 rm -f core conftest.err conftest.
$ac_objext \
33548 conftest
$ac_exeext conftest.
$ac_ext
33549 CFLAGS
="$ac_save_CFLAGS"
33550 CXXFLAGS
="$ac_save_CXXFLAGS"
33551 LIBS
="$ac_save_LIBS"
33562 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33569 if test "$wxUSE_SOUND" = "yes"; then
33570 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33575 if test "$WXGTK2" = 1; then
33578 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33579 if test -n "$ac_tool_prefix"; then
33580 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33581 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33583 $as_echo_n "checking for $ac_word... " >&6; }
33584 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
33585 $as_echo_n "(cached) " >&6
33587 case $PKG_CONFIG in
33589 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33593 for as_dir
in $PATH
33596 test -z "$as_dir" && as_dir
=.
33597 for ac_exec_ext
in '' $ac_executable_extensions; do
33598 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33599 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33610 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33611 if test -n "$PKG_CONFIG"; then
33612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33613 $as_echo "$PKG_CONFIG" >&6; }
33615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33616 $as_echo "no" >&6; }
33621 if test -z "$ac_cv_path_PKG_CONFIG"; then
33622 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33623 # Extract the first word of "pkg-config", so it can be a program name with args.
33624 set dummy pkg
-config; ac_word
=$2
33625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33626 $as_echo_n "checking for $ac_word... " >&6; }
33627 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
33628 $as_echo_n "(cached) " >&6
33630 case $ac_pt_PKG_CONFIG in
33632 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33636 for as_dir
in $PATH
33639 test -z "$as_dir" && as_dir
=.
33640 for ac_exec_ext
in '' $ac_executable_extensions; do
33641 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33642 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33653 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33654 if test -n "$ac_pt_PKG_CONFIG"; then
33655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33656 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33659 $as_echo "no" >&6; }
33662 if test "x$ac_pt_PKG_CONFIG" = x
; then
33665 case $cross_compiling:$ac_tool_warned in
33667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33669 ac_tool_warned
=yes ;;
33671 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33674 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33678 if test -n "$PKG_CONFIG"; then
33679 _pkg_min_version
=0.9.0
33680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33681 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33682 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33684 $as_echo "yes" >&6; }
33686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33687 $as_echo "no" >&6; }
33693 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33695 if test "$wxUSE_GTKPRINT" = "yes" ; then
33696 if test "$WXGTK3" = 1; then
33697 gtk_unix_print
="gtk+-unix-print-3.0"
33699 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
33703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33704 $as_echo_n "checking for GTKPRINT... " >&6; }
33706 if test -n "$PKG_CONFIG"; then
33707 if test -n "$GTKPRINT_CFLAGS"; then
33708 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
33710 if test -n "$PKG_CONFIG" && \
33711 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33712 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33715 test $ac_status = 0; }; then
33716 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33724 if test -n "$PKG_CONFIG"; then
33725 if test -n "$GTKPRINT_LIBS"; then
33726 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
33728 if test -n "$PKG_CONFIG" && \
33729 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33730 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33733 test $ac_status = 0; }; then
33734 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33745 if test $pkg_failed = yes; then
33747 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33748 _pkg_short_errors_supported
=yes
33750 _pkg_short_errors_supported
=no
33752 if test $_pkg_short_errors_supported = yes; then
33753 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33755 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33757 # Put the nasty error message in config.log where it belongs
33758 echo "$GTKPRINT_PKG_ERRORS" >&5
33761 { $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
33762 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33763 wxUSE_GTKPRINT
="no"
33766 elif test $pkg_failed = untried
; then
33768 { $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
33769 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33770 wxUSE_GTKPRINT
="no"
33774 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
33775 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
33776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33777 $as_echo "yes" >&6; }
33779 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
33780 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
33781 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33787 if test "$WXGTK3" = 1; then
33788 wxUSE_LIBGNOMEPRINT
=no
33791 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33796 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33798 if test -n "$PKG_CONFIG"; then
33799 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33800 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
33802 if test -n "$PKG_CONFIG" && \
33803 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33804 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33807 test $ac_status = 0; }; then
33808 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33816 if test -n "$PKG_CONFIG"; then
33817 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33818 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
33820 if test -n "$PKG_CONFIG" && \
33821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33822 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33825 test $ac_status = 0; }; then
33826 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33837 if test $pkg_failed = yes; then
33839 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33840 _pkg_short_errors_supported
=yes
33842 _pkg_short_errors_supported
=no
33844 if test $_pkg_short_errors_supported = yes; then
33845 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33847 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33849 # Put the nasty error message in config.log where it belongs
33850 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33853 if test "$wxUSE_GTKPRINT" = yes; then
33854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33855 $as_echo "no" >&6; }
33857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33858 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33860 wxUSE_LIBGNOMEPRINT
="no"
33863 elif test $pkg_failed = untried
; then
33865 if test "$wxUSE_GTKPRINT" = yes; then
33866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33867 $as_echo "no" >&6; }
33869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33870 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33872 wxUSE_LIBGNOMEPRINT
="no"
33876 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33877 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33879 $as_echo "yes" >&6; }
33881 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33882 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33883 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33890 if test "$wxUSE_MIMETYPE" = "yes" ; then
33891 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33896 $as_echo_n "checking for GNOMEVFS... " >&6; }
33898 if test -n "$PKG_CONFIG"; then
33899 if test -n "$GNOMEVFS_CFLAGS"; then
33900 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
33902 if test -n "$PKG_CONFIG" && \
33903 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33904 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33907 test $ac_status = 0; }; then
33908 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33916 if test -n "$PKG_CONFIG"; then
33917 if test -n "$GNOMEVFS_LIBS"; then
33918 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
33920 if test -n "$PKG_CONFIG" && \
33921 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33922 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33925 test $ac_status = 0; }; then
33926 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33937 if test $pkg_failed = yes; then
33939 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33940 _pkg_short_errors_supported
=yes
33942 _pkg_short_errors_supported
=no
33944 if test $_pkg_short_errors_supported = yes; then
33945 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33947 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33949 # Put the nasty error message in config.log where it belongs
33950 echo "$GNOMEVFS_PKG_ERRORS" >&5
33953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33954 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33955 wxUSE_LIBGNOMEVFS
="no"
33958 elif test $pkg_failed = untried
; then
33960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33961 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33962 wxUSE_LIBGNOMEVFS
="no"
33966 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
33967 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
33968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33969 $as_echo "yes" >&6; }
33971 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
33972 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
33973 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
33980 if test "$wxUSE_LIBHILDON" = "yes" ; then
33983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
33984 $as_echo_n "checking for HILDON... " >&6; }
33986 if test -n "$PKG_CONFIG"; then
33987 if test -n "$HILDON_CFLAGS"; then
33988 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
33990 if test -n "$PKG_CONFIG" && \
33991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33992 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33995 test $ac_status = 0; }; then
33996 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34004 if test -n "$PKG_CONFIG"; then
34005 if test -n "$HILDON_LIBS"; then
34006 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
34008 if test -n "$PKG_CONFIG" && \
34009 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34010 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34013 test $ac_status = 0; }; then
34014 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34025 if test $pkg_failed = yes; then
34027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34028 _pkg_short_errors_supported
=yes
34030 _pkg_short_errors_supported
=no
34032 if test $_pkg_short_errors_supported = yes; then
34033 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34035 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34037 # Put the nasty error message in config.log where it belongs
34038 echo "$HILDON_PKG_ERRORS" >&5
34041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34042 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34043 wxUSE_LIBHILDON
="no"
34047 elif test $pkg_failed = untried
; then
34049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34050 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34051 wxUSE_LIBHILDON
="no"
34056 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34057 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34059 $as_echo "yes" >&6; }
34061 EXTRALIBS_HILDON
="$HILDON_LIBS"
34062 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34063 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34064 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34070 if test "$ac_hildon_lgpl" = 0 ; then
34073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34074 $as_echo_n "checking for HILDON2... " >&6; }
34076 if test -n "$PKG_CONFIG"; then
34077 if test -n "$HILDON2_CFLAGS"; then
34078 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34080 if test -n "$PKG_CONFIG" && \
34081 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34082 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34085 test $ac_status = 0; }; then
34086 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34094 if test -n "$PKG_CONFIG"; then
34095 if test -n "$HILDON2_LIBS"; then
34096 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34098 if test -n "$PKG_CONFIG" && \
34099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34100 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34103 test $ac_status = 0; }; then
34104 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34115 if test $pkg_failed = yes; then
34117 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34118 _pkg_short_errors_supported
=yes
34120 _pkg_short_errors_supported
=no
34122 if test $_pkg_short_errors_supported = yes; then
34123 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34125 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34127 # Put the nasty error message in config.log where it belongs
34128 echo "$HILDON2_PKG_ERRORS" >&5
34131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34132 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34133 wxUSE_LIBHILDON2
="no"
34136 elif test $pkg_failed = untried
; then
34138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34139 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34140 wxUSE_LIBHILDON2
="no"
34144 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34145 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34147 $as_echo "yes" >&6; }
34149 EXTRALIBS_HILDON
="$HILDON2_LIBS"
34150 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34151 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34152 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34160 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34161 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34165 if test "$wxUSE_STOPWATCH" = "yes"; then
34166 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34170 if test "$wxUSE_DATETIME" = "yes"; then
34171 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34175 if test "$wxUSE_FILE" = "yes"; then
34176 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34180 if test "$wxUSE_FFILE" = "yes"; then
34181 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34185 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34186 if test "$wxUSE_STREAMS" != yes; then
34187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34188 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34189 wxUSE_ARCHIVE_STREAMS
=no
34191 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34196 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34197 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34199 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34200 elif test "$wxUSE_ZLIB" = "no"; then
34201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34202 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34204 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34209 if test "$wxUSE_TARSTREAM" = "yes"; then
34210 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34212 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34214 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34219 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34220 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34224 if test "$wxUSE_FILESYSTEM" = "yes"; then
34225 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34227 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34228 wxUSE_FILESYSTEM
=no
34230 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34235 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34236 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34238 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34240 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34245 if test "$wxUSE_FS_ZIP" = "yes"; then
34246 if test "$wxUSE_FS_ARCHIVE" != yes; then
34247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34248 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34250 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34255 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34256 if test "$USE_UNIX" != 1; then
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34258 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34259 wxUSE_ON_FATAL_EXCEPTION
=no
34261 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34266 if test "$wxUSE_STACKWALKER" = "yes"; then
34267 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34271 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34272 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34274 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34275 wxUSE_DEBUGREPORT
=no
34277 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34279 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34280 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34285 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34286 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34290 if test "$wxUSE_BUSYINFO" = "yes"; then
34291 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34295 if test "$wxUSE_HOTKEY" = "yes"; then
34296 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34298 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34301 elif test "$wxUSE_HOTKEY" = "auto"; then
34302 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34306 if test "$wxUSE_HOTKEY" = "yes"; then
34307 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34311 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34312 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34316 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34317 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34321 if test "$wxUSE_STD_STRING" = "yes"; then
34322 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34326 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34327 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34331 if test "$wxUSE_STDPATHS" = "yes"; then
34332 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34336 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34337 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34341 if test "$wxUSE_TEXTFILE" = "yes"; then
34342 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34344 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34346 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34351 if test "$wxUSE_CONFIG" = "yes" ; then
34352 if test "$wxUSE_TEXTFILE" != "yes"; then
34353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34354 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34356 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34358 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34364 if test "$wxUSE_INTL" = "yes" ; then
34365 if test "$wxUSE_FILE" != "yes"; then
34366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34367 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34369 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34372 GUIDIST
="$GUIDIST INTL_DIST"
34376 if test "$wxUSE_XLOCALE" = "yes" ; then
34377 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34379 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34380 #include <locale.h>
34382 if test "x$ac_cv_type_locale_t" = xyes
; then :
34384 cat >>confdefs.h
<<_ACEOF
34385 #define HAVE_LOCALE_T 1
34393 if test "$wxUSE_LOG" = "yes"; then
34394 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34397 if test "$wxUSE_LOGGUI" = "yes"; then
34398 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34402 if test "$wxUSE_LOGWINDOW" = "yes"; then
34403 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34407 if test "$wxUSE_LOGDIALOG" = "yes"; then
34408 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
34415 if test "$wxUSE_LONGLONG" = "yes"; then
34416 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34420 if test "$wxUSE_GEOMETRY" = "yes"; then
34421 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34425 if test "$wxUSE_BASE64" = "yes"; then
34426 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34430 if test "$wxUSE_STREAMS" = "yes" ; then
34431 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34435 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34436 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34440 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34441 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34446 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34447 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34450 if test "$wxUSE_UNIX" = "yes"; then
34451 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34452 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34456 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34457 for ac_header
in sys
/epoll.h
34459 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34461 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
34462 cat >>confdefs.h
<<_ACEOF
34463 #define HAVE_SYS_EPOLL_H 1
34470 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34471 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34475 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34482 for ac_func
in gettimeofday ftime
34484 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34485 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
34486 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
34487 cat >>confdefs.h
<<_ACEOF
34488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34495 if test "$ac_cv_func_gettimeofday" = "yes"; then
34496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34497 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34498 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
34499 $as_echo_n "(cached) " >&6
34502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34503 /* end confdefs.h. */
34505 #include <sys/time.h>
34506 #include <unistd.h>
34513 gettimeofday(&tv, NULL);
34519 if ac_fn_c_try_compile
"$LINENO"; then :
34520 wx_cv_func_gettimeofday_has_2_args
=yes
34522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34523 /* end confdefs.h. */
34525 #include <sys/time.h>
34526 #include <unistd.h>
34539 if ac_fn_c_try_compile
"$LINENO"; then :
34540 wx_cv_func_gettimeofday_has_2_args
=no
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34544 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34545 wx_cv_func_gettimeofday_has_2_args
=unknown
34549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34556 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34558 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34559 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34564 if test "$wxUSE_DATETIME" = "yes"; then
34565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34566 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34567 if ${wx_cv_var_timezone+:} false
; then :
34568 $as_echo_n "(cached) " >&6
34572 ac_cpp
='$CXXCPP $CPPFLAGS'
34573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34578 /* end confdefs.h. */
34593 if ac_fn_cxx_try_compile
"$LINENO"; then :
34595 wx_cv_var_timezone
=timezone
34599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34600 /* end confdefs.h. */
34615 if ac_fn_cxx_try_compile
"$LINENO"; then :
34617 wx_cv_var_timezone
=_timezone
34621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34622 /* end confdefs.h. */
34637 if ac_fn_cxx_try_compile
"$LINENO"; then :
34639 wx_cv_var_timezone
=__timezone
34643 if test "$USE_DOS" = 0 ; then
34644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34645 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34660 ac_cpp
='$CPP $CPPFLAGS'
34661 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34662 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34663 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34669 $as_echo "$wx_cv_var_timezone" >&6; }
34671 if test "x$wx_cv_var_timezone" != x
; then
34672 cat >>confdefs.h
<<_ACEOF
34673 #define WX_TIMEZONE $wx_cv_var_timezone
34678 for ac_func
in localtime
34680 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
34681 if test "x$ac_cv_func_localtime" = xyes
; then :
34682 cat >>confdefs.h
<<_ACEOF
34683 #define HAVE_LOCALTIME 1
34690 if test "$ac_cv_func_localtime" = "yes"; then
34691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34692 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34693 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
34694 $as_echo_n "(cached) " >&6
34697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34698 /* end confdefs.h. */
34713 if ac_fn_c_try_compile
"$LINENO"; then :
34715 wx_cv_struct_tm_has_gmtoff
=yes
34718 wx_cv_struct_tm_has_gmtoff
=no
34721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34725 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34728 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34729 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
34737 if test "$wxUSE_SOCKETS" = "yes"; then
34738 if test "$TOOLKIT" != "MSW"; then
34739 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
34740 if test "x$ac_cv_func_socket" = xyes
; then :
34744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34745 $as_echo_n "checking for socket in -lsocket... " >&6; }
34746 if ${ac_cv_lib_socket_socket+:} false
; then :
34747 $as_echo_n "(cached) " >&6
34749 ac_check_lib_save_LIBS
=$LIBS
34750 LIBS
="-lsocket $LIBS"
34751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34752 /* end confdefs.h. */
34754 /* Override any GCC internal prototype to avoid an error.
34755 Use char because int might match the return type of a GCC
34756 builtin and then its argument prototype would still apply. */
34769 if ac_fn_c_try_link
"$LINENO"; then :
34770 ac_cv_lib_socket_socket
=yes
34772 ac_cv_lib_socket_socket
=no
34774 rm -f core conftest.err conftest.
$ac_objext \
34775 conftest
$ac_exeext conftest.
$ac_ext
34776 LIBS
=$ac_check_lib_save_LIBS
34778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34779 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34780 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
34781 if test "$INET_LINK" != " -lsocket"; then
34782 INET_LINK
="$INET_LINK -lsocket"
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34787 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34800 if test "$wxUSE_SOCKETS" = "yes" ; then
34801 if test "$TOOLKIT" != "MSW"; then
34802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34803 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34804 if ${wx_cv_type_getsockname3+:} false
; then :
34805 $as_echo_n "(cached) " >&6
34809 ac_cpp
='$CXXCPP $CPPFLAGS'
34810 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34811 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34812 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34815 /* end confdefs.h. */
34817 #include <sys/types.h>
34818 #include <sys/socket.h>
34825 getsockname(0, 0, &len);
34831 if ac_fn_cxx_try_compile
"$LINENO"; then :
34832 wx_cv_type_getsockname3
=socklen_t
34835 CFLAGS_OLD
="$CFLAGS"
34836 if test "$GCC" = yes ; then
34837 CFLAGS
="-Werror $CFLAGS"
34840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34841 /* end confdefs.h. */
34843 #include <sys/types.h>
34844 #include <sys/socket.h>
34851 getsockname(0, 0, &len);
34857 if ac_fn_cxx_try_compile
"$LINENO"; then :
34858 wx_cv_type_getsockname3
=size_t
34860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34861 /* end confdefs.h. */
34863 #include <sys/types.h>
34864 #include <sys/socket.h>
34871 getsockname(0, 0, &len);
34877 if ac_fn_cxx_try_compile
"$LINENO"; then :
34878 wx_cv_type_getsockname3
=int
34880 wx_cv_type_getsockname3
=unknown
34883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34888 CFLAGS
="$CFLAGS_OLD"
34892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34894 ac_cpp
='$CPP $CPPFLAGS'
34895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34902 $as_echo "$wx_cv_type_getsockname3" >&6; }
34904 if test "$wx_cv_type_getsockname3" = "unknown"; then
34906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34907 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34909 cat >>confdefs.h
<<_ACEOF
34910 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34915 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34916 if ${wx_cv_type_getsockopt5+:} false
; then :
34917 $as_echo_n "(cached) " >&6
34921 ac_cpp
='$CXXCPP $CPPFLAGS'
34922 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34923 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34924 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34927 /* end confdefs.h. */
34929 #include <sys/types.h>
34930 #include <sys/socket.h>
34937 getsockopt(0, 0, 0, 0, &len);
34943 if ac_fn_cxx_try_compile
"$LINENO"; then :
34944 wx_cv_type_getsockopt5
=socklen_t
34947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34948 /* end confdefs.h. */
34950 #include <sys/types.h>
34951 #include <sys/socket.h>
34958 getsockopt(0, 0, 0, 0, &len);
34964 if ac_fn_cxx_try_compile
"$LINENO"; then :
34965 wx_cv_type_getsockopt5
=size_t
34967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34968 /* end confdefs.h. */
34970 #include <sys/types.h>
34971 #include <sys/socket.h>
34978 getsockopt(0, 0, 0, 0, &len);
34984 if ac_fn_cxx_try_compile
"$LINENO"; then :
34985 wx_cv_type_getsockopt5
=int
34987 wx_cv_type_getsockopt5
=unknown
34990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34999 ac_cpp
='$CPP $CPPFLAGS'
35000 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35001 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35002 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35007 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35009 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35012 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35014 cat >>confdefs.h
<<_ACEOF
35015 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35022 if test "$wxUSE_SOCKETS" = "yes" ; then
35023 if test "$wxUSE_IPV6" = "yes"; then
35024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35025 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35026 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35027 $as_echo_n "(cached) " >&6
35030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35031 /* end confdefs.h. */
35033 #include <sys/types.h>
35034 #include <sys/socket.h>
35035 #include <netinet/in.h>
35041 struct sockaddr_in6 sa6;
35047 if ac_fn_c_try_compile
"$LINENO"; then :
35048 wx_cv_type_sockaddr_in6
=yes
35050 wx_cv_type_sockaddr_in6
=no
35053 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35058 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35060 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35061 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35065 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35069 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35074 if test "$wxUSE_PROTOCOL" = "yes"; then
35075 if test "$wxUSE_SOCKETS" != "yes"; then
35076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35077 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35082 if test "$wxUSE_PROTOCOL" = "yes"; then
35083 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35086 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35087 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35090 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35091 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35094 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35095 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35099 if test "$wxUSE_FS_INET" = "yes"; then
35100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35101 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35106 if test "$wxUSE_URL" = "yes"; then
35107 if test "$wxUSE_PROTOCOL" != "yes"; then
35108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35109 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35112 if test "$wxUSE_URL" = "yes"; then
35113 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35118 if test "$wxUSE_VARIANT" = "yes"; then
35119 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35123 if test "$wxUSE_FS_INET" = "yes"; then
35124 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35129 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35132 if test "$TOOLKIT" = "MSW"; then
35135 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35136 if test "$USE_DARWIN" = 1; then
35137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35138 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35140 ac_cpp
='$CXXCPP $CPPFLAGS'
35141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35146 /* end confdefs.h. */
35147 #include <IOKit/hid/IOHIDLib.h>
35151 IOHIDQueueInterface *qi = NULL;
35152 IOHIDCallbackFunction cb = NULL;
35153 qi->setEventCallout(NULL, cb, NULL, NULL);
35158 if ac_fn_cxx_try_compile
"$LINENO"; then :
35162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35164 ac_cpp
='$CPP $CPPFLAGS'
35165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35170 $as_echo "$wxUSE_JOYSTICK" >&6; }
35174 for ac_header
in linux
/joystick.h
35176 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35178 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35179 cat >>confdefs.h
<<_ACEOF
35180 #define HAVE_LINUX_JOYSTICK_H 1
35189 if test "$wxUSE_JOYSTICK" = "yes"; then
35190 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35195 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35201 if test "$wxUSE_FONTENUM" = "yes" ; then
35202 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35206 if test "$wxUSE_FONTMAP" = "yes" ; then
35207 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35211 if test "$wxUSE_UNICODE" = "yes" ; then
35212 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35215 if test "$USE_WIN32" != 1; then
35216 wxUSE_UNICODE_MSLU
=no
35219 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35221 $as_echo_n "checking for main in -lunicows... " >&6; }
35222 if ${ac_cv_lib_unicows_main+:} false
; then :
35223 $as_echo_n "(cached) " >&6
35225 ac_check_lib_save_LIBS
=$LIBS
35226 LIBS
="-lunicows $LIBS"
35227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35228 /* end confdefs.h. */
35239 if ac_fn_c_try_link
"$LINENO"; then :
35240 ac_cv_lib_unicows_main
=yes
35242 ac_cv_lib_unicows_main
=no
35244 rm -f core conftest.err conftest.
$ac_objext \
35245 conftest
$ac_exeext conftest.
$ac_ext
35246 LIBS
=$ac_check_lib_save_LIBS
35248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35249 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35250 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35252 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35258 Applications will only run on Windows NT/2000/XP!" >&5
35259 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35260 Applications will only run on Windows NT/2000/XP!" >&2;}
35261 wxUSE_UNICODE_MSLU
=no
35268 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35269 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35272 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35273 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35279 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35280 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35285 if test "$wxUSE_MDI" = "yes"; then
35286 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35289 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35290 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35292 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35296 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35297 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35299 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35302 if test "$wxUSE_HELP" = "yes"; then
35303 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35307 if test "$wxUSE_MSW" = 1; then
35308 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35309 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35314 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35315 if test "$wxUSE_HTML" = "yes"; then
35316 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35320 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35321 wxUSE_WXHTML_HELP
=no
35326 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35327 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35332 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35333 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35337 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35340 if test "$wxUSE_SVG" = "yes"; then
35341 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35346 if test "$wxUSE_METAFILE" = "yes"; then
35347 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35349 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35352 elif test "$wxUSE_METAFILE" = "auto"; then
35353 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35358 if test "$wxUSE_METAFILE" = "yes"; then
35359 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35361 if test "$wxUSE_MSW" = 1; then
35362 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35368 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35369 -o "$wxUSE_CLIPBOARD" = "yes" \
35370 -o "$wxUSE_OLE" = "yes" \
35371 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35372 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35374 if test "x$ac_cv_header_ole2_h" = xyes
; then :
35380 if test "$ac_cv_header_ole2_h" = "yes" ; then
35381 if test "$GCC" = yes ; then
35382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35383 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35385 /* end confdefs.h. */
35386 #include <windows.h>
35396 if ac_fn_c_try_compile
"$LINENO"; then :
35397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35398 $as_echo "no" >&6; }
35400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35401 $as_echo "yes" >&6; }
35402 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35405 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35406 if test "$wxUSE_OLE" = "yes" ; then
35407 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35409 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35411 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
35417 if test "$wxUSE_DATAOBJ" = "yes" ; then
35418 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35423 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35426 wxUSE_DRAG_AND_DROP
=no
35432 if test "$wxUSE_IPC" = "yes"; then
35433 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35435 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35439 if test "$wxUSE_IPC" = "yes"; then
35440 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
35446 if test "$wxUSE_DATAOBJ" = "yes"; then
35447 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35451 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35453 wxUSE_DRAG_AND_DROP
=no
35456 if test "$wxUSE_CLIPBOARD" = "yes"; then
35457 if test "$wxUSE_DFB" = 1; then
35458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35459 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35463 if test "$wxUSE_CLIPBOARD" = "yes"; then
35464 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35469 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35470 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35472 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35473 wxUSE_DRAG_AND_DROP
=no
35476 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35477 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35483 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
35487 if test "$wxUSE_CLIPBOARD" = "yes"; then
35488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
35491 if test "$wxUSE_SPLINES" = "yes" ; then
35492 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35496 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35497 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35501 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35502 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
35507 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35508 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35514 if test "$wxUSE_CONTROLS" = "yes"; then
35518 if test "$wxUSE_MARKUP" = "yes"; then
35519 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35523 if test "$wxUSE_ACCEL" = "yes"; then
35524 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35529 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35530 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
35536 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35537 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35541 if test "$wxUSE_BUTTON" = "yes"; then
35542 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35547 if test "$wxUSE_BMPBUTTON" = "yes"; then
35548 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35553 if test "$wxUSE_CALCTRL" = "yes"; then
35554 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
35560 if test "$wxUSE_CARET" = "yes"; then
35561 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
35567 if test "$wxUSE_COLLPANE" = "yes"; then
35568 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
35574 if test "$wxUSE_COMBOBOX" = "yes"; then
35575 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35580 if test "$wxUSE_COMBOCTRL" = "yes"; then
35581 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35586 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35587 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35592 if test "$wxUSE_CHOICE" = "yes"; then
35593 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35598 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35599 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35604 if test "$wxUSE_CHECKBOX" = "yes"; then
35605 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35610 if test "$wxUSE_CHECKLST" = "yes"; then
35611 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35616 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35617 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35622 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35623 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35628 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35629 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35634 if test "$wxUSE_FILECTRL" = "yes"; then
35635 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35640 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35641 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35646 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35647 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35652 if test "$wxUSE_DISPLAY" = "yes"; then
35653 if test "$wxUSE_DFB" = 1; then
35654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35655 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35658 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
35664 if test "$wxUSE_DETECT_SM" = "yes"; then
35665 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35669 if test "$wxUSE_GAUGE" = "yes"; then
35670 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35675 if test "$wxUSE_GRID" = "yes"; then
35676 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
35682 if test "$wxUSE_HEADERCTRL" = "yes"; then
35683 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35688 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35689 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35694 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35695 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35700 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35701 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
35707 if test "$wxUSE_IMAGLIST" = "yes"; then
35708 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35712 if test "$wxUSE_INFOBAR" = "yes"; then
35713 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35717 if test "$wxUSE_LISTBOOK" = "yes"; then
35718 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35723 if test "$wxUSE_LISTBOX" = "yes"; then
35724 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35729 if test "$wxUSE_LISTCTRL" = "yes"; then
35730 if test "$wxUSE_IMAGLIST" = "yes"; then
35731 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
35736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35737 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35741 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35742 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35747 if test "$wxUSE_NOTEBOOK" = "yes"; then
35748 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
35754 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35755 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35759 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35760 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
35766 if test "$wxUSE_RADIOBOX" = "yes"; then
35767 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35772 if test "$wxUSE_RADIOBTN" = "yes"; then
35773 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35778 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35779 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35783 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35784 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35788 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35789 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35793 if test "$wxUSE_SASH" = "yes"; then
35794 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
35799 if test "$wxUSE_SCROLLBAR" = "yes"; then
35800 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35803 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
35806 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35807 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35812 if test "$wxUSE_SLIDER" = "yes"; then
35813 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35818 if test "$wxUSE_SPINBTN" = "yes"; then
35819 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35824 if test "$wxUSE_SPINCTRL" = "yes"; then
35825 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35830 if test "$wxUSE_SPLITTER" = "yes"; then
35831 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
35836 if test "$wxUSE_STATBMP" = "yes"; then
35837 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35842 if test "$wxUSE_STATBOX" = "yes"; then
35843 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35848 if test "$wxUSE_STATTEXT" = "yes"; then
35849 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35854 if test "$wxUSE_STATLINE" = "yes"; then
35855 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35860 if test "$wxUSE_STATUSBAR" = "yes"; then
35861 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35863 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35867 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
35870 if test "$wxUSE_TEXTCTRL" = "yes"; then
35871 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
35876 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35878 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35882 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35883 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35888 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35889 if test "$wxUSE_OLD_COCOA" = 1 ; then
35890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35891 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35895 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35896 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35902 if test "$wxUSE_TOOLBAR" = "yes"; then
35903 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35907 if test "$wxUSE_UNIVERSAL" = "yes"; then
35908 wxUSE_TOOLBAR_NATIVE
="no"
35910 wxUSE_TOOLBAR_NATIVE
="yes"
35911 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
35918 if test "$wxUSE_TOOLTIPS" = "yes"; then
35919 if test "$wxUSE_MOTIF" = 1; then
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35921 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35923 if test "$wxUSE_UNIVERSAL" = "yes"; then
35924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35925 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35927 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35933 if test "$wxUSE_TREEBOOK" = "yes"; then
35934 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35939 if test "$wxUSE_TOOLBOOK" = "yes"; then
35940 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
35945 if test "$wxUSE_TREECTRL" = "yes"; then
35946 if test "$wxUSE_IMAGLIST" = "yes"; then
35947 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
35950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
35952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35953 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35957 if test "$wxUSE_TREELISTCTRL" = "yes"; then
35958 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
35961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
35964 if test "$wxUSE_POPUPWIN" = "yes"; then
35965 if test "$wxUSE_OLD_COCOA" = 1 ; then
35966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35967 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35969 if test "$wxUSE_PM" = 1; then
35970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35971 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35973 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
35975 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
35982 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
35983 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
35985 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
35987 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
35989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
35993 if test "$wxUSE_TIPWINDOW" = "yes"; then
35994 if test "$wxUSE_PM" = 1; then
35995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35996 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35998 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36003 if test "$USES_CONTROLS" = 1; then
36004 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36009 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36010 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36015 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36016 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36020 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36021 if test "$wxUSE_GTK" != 1; then
36022 if test "$wxUSE_LIBPNG" != no
-a \
36023 "$wxUSE_IMAGE" = yes -a \
36024 "$wxUSE_STREAMS" = yes; then
36025 wxUSE_ARTPROVIDER_TANGO
="yes"
36030 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36031 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36035 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36036 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36041 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36042 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36044 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36046 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36053 if test "$wxUSE_HTML" = "yes"; then
36054 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36059 if test "$wxUSE_WEBKIT" = "yes"; then
36060 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36061 old_CPPFLAGS
="$CPPFLAGS"
36062 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36063 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36064 #include <Carbon/Carbon.h>
36065 #include <WebKit/WebKit.h>
36068 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36070 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36072 WEBKIT_LINK
="-framework WebKit"
36076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36077 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36083 CPPFLAGS
="$old_CPPFLAGS"
36084 elif test "$wxUSE_OLD_COCOA" = 1; then
36085 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36090 if test "$wxUSE_WEBKIT" = "yes"; then
36091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36096 if test "$wxUSE_XRC" = "yes"; then
36097 if test "$wxUSE_XML" != "yes"; then
36098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36099 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36102 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36110 if test "$wxUSE_AUI" = "yes"; then
36111 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36118 if test "$wxUSE_PROPGRID" = "yes"; then
36119 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36126 if test "$wxUSE_RIBBON" = "yes"; then
36127 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36134 if test "$wxUSE_STC" = "yes"; then
36135 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36140 # Extract the first word of "python", so it can be a program name with args.
36141 set dummy python
; ac_word
=$2
36142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36143 $as_echo_n "checking for $ac_word... " >&6; }
36144 if ${ac_cv_path_PYTHON+:} false
; then :
36145 $as_echo_n "(cached) " >&6
36149 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36153 for as_dir
in $PATH
36156 test -z "$as_dir" && as_dir
=.
36157 for ac_exec_ext
in '' $ac_executable_extensions; do
36158 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
36159 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36170 PYTHON
=$ac_cv_path_PYTHON
36171 if test -n "$PYTHON"; then
36172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36173 $as_echo "$PYTHON" >&6; }
36175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36176 $as_echo "no" >&6; }
36180 if test "x$PYTHON" = "x"; then
36186 if test "$wxUSE_MENUS" = "yes"; then
36187 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36192 if test "$wxUSE_MIMETYPE" = "yes"; then
36193 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36197 if test "$wxUSE_MINIFRAME" = "yes"; then
36198 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36202 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36203 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36207 if test "$wxUSE_TASKBARICON" = "yes"; then
36208 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36210 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36216 if test "$wxUSE_VALIDATORS" = "yes"; then
36217 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36219 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36222 if test "$wxUSE_PALETTE" = "yes" ; then
36223 if test "$wxUSE_DFB" = 1; then
36224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36225 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36228 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36233 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36234 LIBS
=" -lunicows $LIBS"
36238 if test "$wxUSE_RICHTEXT" = "yes"; then
36239 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36242 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36245 if test "$wxUSE_WEBVIEW" = "yes"; then
36246 USE_WEBVIEW_WEBKIT
=0
36247 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36248 if test "$wxUSE_GTK" = 1; then
36249 webkitgtk
=webkit
-1.0
36250 if test "$WXGTK3" = 1; then
36251 webkitgtk
=webkitgtk
-3.0
36255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36256 $as_echo_n "checking for WEBKIT... " >&6; }
36258 if test -n "$PKG_CONFIG"; then
36259 if test -n "$WEBKIT_CFLAGS"; then
36260 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36262 if test -n "$PKG_CONFIG" && \
36263 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36264 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36267 test $ac_status = 0; }; then
36268 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36276 if test -n "$PKG_CONFIG"; then
36277 if test -n "$WEBKIT_LIBS"; then
36278 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36280 if test -n "$PKG_CONFIG" && \
36281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36282 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36285 test $ac_status = 0; }; then
36286 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36297 if test $pkg_failed = yes; then
36299 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36300 _pkg_short_errors_supported
=yes
36302 _pkg_short_errors_supported
=no
36304 if test $_pkg_short_errors_supported = yes; then
36305 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36307 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36309 # Put the nasty error message in config.log where it belongs
36310 echo "$WEBKIT_PKG_ERRORS" >&5
36313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36314 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36316 elif test $pkg_failed = untried
; then
36318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36319 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36322 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36323 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36325 $as_echo "yes" >&6; }
36327 USE_WEBVIEW_WEBKIT
=1
36328 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36329 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36332 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36333 old_CPPFLAGS
="$CPPFLAGS"
36334 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36335 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36336 #include <Carbon/Carbon.h>
36337 #include <WebKit/WebKit.h>
36340 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36342 USE_WEBVIEW_WEBKIT
=1
36343 WEBKIT_LINK
="-framework WebKit"
36347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36348 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36353 CPPFLAGS
="$old_CPPFLAGS"
36358 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36359 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36360 wxUSE_WEBVIEW
="yes"
36361 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36365 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36367 elif test "$wxUSE_MSW" = 1; then
36368 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36369 wxUSE_WEBVIEW
="yes"
36370 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36376 if test "$wxUSE_WEBVIEW" = "yes"; then
36378 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36380 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
36386 if test "$wxUSE_IMAGE" = "yes" ; then
36387 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36390 if test "$wxUSE_GIF" = "yes" ; then
36391 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36395 if test "$wxUSE_PCX" = "yes" ; then
36396 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36400 if test "$wxUSE_TGA" = "yes" ; then
36401 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36405 if test "$wxUSE_IFF" = "yes" ; then
36406 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36410 if test "$wxUSE_PNM" = "yes" ; then
36411 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36415 if test "$wxUSE_XPM" = "yes" ; then
36416 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36420 if test "$wxUSE_ICO_CUR" = "yes" ; then
36421 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36427 if test "$wxUSE_ABOUTDLG" = "yes"; then
36428 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36432 if test "$wxUSE_CHOICEDLG" = "yes"; then
36433 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36437 if test "$wxUSE_COLOURDLG" = "yes"; then
36438 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36442 if test "$wxUSE_FILEDLG" = "yes"; then
36443 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36447 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36448 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36452 if test "$wxUSE_FONTDLG" = "yes"; then
36453 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36457 if test "$wxUSE_DIRDLG" = "yes"; then
36458 if test "$wxUSE_TREECTRL" != "yes"; then
36459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36460 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36462 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36467 if test "$wxUSE_MSGDLG" = "yes"; then
36468 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36472 if test "$wxUSE_NUMBERDLG" = "yes"; then
36473 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36477 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36478 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36482 if test "$wxUSE_SPLASH" = "yes"; then
36483 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
36488 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36489 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36493 if test "$wxUSE_TEXTDLG" = "yes"; then
36494 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36498 if test "$wxUSE_WIZARDDLG" = "yes"; then
36499 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
36505 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36506 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36507 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36513 if test "$wxUSE_MSW" = 1 ; then
36515 if test "$wxUSE_DC_CACHEING" = "yes"; then
36516 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36520 if test "$wxUSE_DIB" = "yes"; then
36521 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36525 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36526 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36530 if test "$wxUSE_UXTHEME" = "yes"; then
36531 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36537 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36538 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36542 if test "$USE_WIN32" = 1 ; then
36543 if test "$wxUSE_INICONF" = "yes"; then
36544 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36548 if test "$wxUSE_REGKEY" = "yes"; then
36549 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36555 if test "$wxUSE_MAC" = 1; then
36556 wxUSE_GRAPHICS_CONTEXT
="yes"
36559 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36561 if test "$wxUSE_MSW" = 1; then
36562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36563 $as_echo_n "checking if GDI+ is available... " >&6; }
36564 if ${wx_cv_lib_gdiplus+:} false
; then :
36565 $as_echo_n "(cached) " >&6
36569 ac_cpp
='$CXXCPP $CPPFLAGS'
36570 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36571 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36572 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36575 /* end confdefs.h. */
36576 #include <windows.h>
36577 #include <gdiplus.h>
36582 using namespace Gdiplus;
36588 if ac_fn_cxx_try_compile
"$LINENO"; then :
36589 wx_cv_lib_gdiplus
=yes
36591 wx_cv_lib_gdiplus
=no
36594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36596 ac_cpp
='$CPP $CPPFLAGS'
36597 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36598 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36599 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36605 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36606 if test "$wx_cv_lib_gdiplus" = "yes"; then
36609 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36613 $as_echo_n "checking for CAIRO... " >&6; }
36615 if test -n "$PKG_CONFIG"; then
36616 if test -n "$CAIRO_CFLAGS"; then
36617 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
36619 if test -n "$PKG_CONFIG" && \
36620 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36621 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36624 test $ac_status = 0; }; then
36625 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36633 if test -n "$PKG_CONFIG"; then
36634 if test -n "$CAIRO_LIBS"; then
36635 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
36637 if test -n "$PKG_CONFIG" && \
36638 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36639 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36642 test $ac_status = 0; }; then
36643 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36654 if test $pkg_failed = yes; then
36656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36657 _pkg_short_errors_supported
=yes
36659 _pkg_short_errors_supported
=no
36661 if test $_pkg_short_errors_supported = yes; then
36662 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36664 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36666 # Put the nasty error message in config.log where it belongs
36667 echo "$CAIRO_PKG_ERRORS" >&5
36669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36670 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36672 elif test $pkg_failed = untried
; then
36673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36674 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36677 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
36678 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
36679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36680 $as_echo "yes" >&6; }
36683 if test "$wx_has_graphics" = 1; then
36685 LIBS
="$LIBS $CAIRO_LIBS"
36686 for ac_func
in cairo_push_group
36688 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36689 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
36690 cat >>confdefs.h
<<_ACEOF
36691 #define HAVE_CAIRO_PUSH_GROUP 1
36698 if test "$ac_cv_func_cairo_push_group" = "no"; then
36700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36701 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36703 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36706 if test "$wxUSE_GTK" != 1; then
36707 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
36708 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
36716 if test "$wx_has_graphics" = 1; then
36717 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36721 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36728 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36731 if test "$wxUSE_GTK" = 1; then
36732 wxUSE_GSTREAMER
="no"
36734 GST_VERSION_MAJOR
=0
36735 GST_VERSION_MINOR
=10
36736 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
36738 if test "$wxUSE_GSTREAMER8" = "no"; then
36741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36742 $as_echo_n "checking for GST... " >&6; }
36744 if test -n "$PKG_CONFIG"; then
36745 if test -n "$GST_CFLAGS"; then
36746 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
36748 if test -n "$PKG_CONFIG" && \
36749 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36750 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36753 test $ac_status = 0; }; then
36754 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36762 if test -n "$PKG_CONFIG"; then
36763 if test -n "$GST_LIBS"; then
36764 pkg_cv_GST_LIBS
="$GST_LIBS"
36766 if test -n "$PKG_CONFIG" && \
36767 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36768 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36771 test $ac_status = 0; }; then
36772 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36783 if test $pkg_failed = yes; then
36785 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36786 _pkg_short_errors_supported
=yes
36788 _pkg_short_errors_supported
=no
36790 if test $_pkg_short_errors_supported = yes; then
36791 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36793 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36795 # Put the nasty error message in config.log where it belongs
36796 echo "$GST_PKG_ERRORS" >&5
36799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36800 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36801 GST_VERSION_MINOR
=8
36804 elif test $pkg_failed = untried
; then
36806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36807 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36808 GST_VERSION_MINOR
=8
36812 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
36813 GST_LIBS
=$pkg_cv_GST_LIBS
36814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36815 $as_echo "yes" >&6; }
36817 wxUSE_GSTREAMER
="yes"
36818 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36822 GST_VERSION_MINOR
=8
36825 if test $GST_VERSION_MINOR = "8"; then
36826 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
36829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36830 $as_echo_n "checking for GST... " >&6; }
36832 if test -n "$PKG_CONFIG"; then
36833 if test -n "$GST_CFLAGS"; then
36834 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
36836 if test -n "$PKG_CONFIG" && \
36837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36838 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36841 test $ac_status = 0; }; then
36842 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36850 if test -n "$PKG_CONFIG"; then
36851 if test -n "$GST_LIBS"; then
36852 pkg_cv_GST_LIBS
="$GST_LIBS"
36854 if test -n "$PKG_CONFIG" && \
36855 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36856 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36859 test $ac_status = 0; }; then
36860 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36871 if test $pkg_failed = yes; then
36873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36874 _pkg_short_errors_supported
=yes
36876 _pkg_short_errors_supported
=no
36878 if test $_pkg_short_errors_supported = yes; then
36879 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36881 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36883 # Put the nasty error message in config.log where it belongs
36884 echo "$GST_PKG_ERRORS" >&5
36887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36888 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36890 elif test $pkg_failed = untried
; then
36892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36893 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36896 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
36897 GST_LIBS
=$pkg_cv_GST_LIBS
36898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36899 $as_echo "yes" >&6; }
36900 wxUSE_GSTREAMER
="yes"
36905 if test "$wxUSE_GSTREAMER" = "yes"; then
36906 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
36907 EXTRALIBS_MEDIA
="$GST_LIBS"
36909 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36916 if test $USE_MEDIA = 1; then
36917 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
36918 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36921 if test "$wxUSE_MEDIACTRL" = "yes"; then
36922 as_fn_error $?
"GStreamer not available" "$LINENO" 5
36924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36925 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36931 if test "$cross_compiling" != "no"; then
36934 OSINFO
=`uname -s -r -m`
36935 OSINFO
="\"$OSINFO\""
36938 cat >>confdefs.h
<<_ACEOF
36939 #define WXWIN_OS_DESCRIPTION $OSINFO
36944 if test "x$prefix" != "xNONE"; then
36947 wxPREFIX
=$ac_default_prefix
36950 cat >>confdefs.h
<<_ACEOF
36951 #define wxINSTALL_PREFIX "$wxPREFIX"
36957 STD_BASE_LIBS
="base"
36959 BUILT_WX_LIBS
="base"
36960 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
36962 if test "$wxUSE_SOCKETS" = "yes" ; then
36963 STD_BASE_LIBS
="net $STD_BASE_LIBS"
36964 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
36966 if test "$wxUSE_XML" = "yes" ; then
36967 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
36968 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
36971 if test "$wxUSE_GUI" = "yes"; then
36972 STD_GUI_LIBS
="adv core"
36973 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
36975 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
36976 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
36977 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
36979 if test "$wxUSE_HTML" = "yes" ; then
36980 STD_GUI_LIBS
="html $STD_GUI_LIBS"
36981 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
36983 if test "$wxUSE_MEDIACTRL" = "yes" ; then
36984 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
36986 if test "$wxUSE_OPENGL" = "yes" ; then
36987 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
36989 if test "$wxUSE_AUI" = "yes" ; then
36990 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
36992 if test "$wxUSE_PROPGRID" = "yes" ; then
36993 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
36995 if test "$wxUSE_RIBBON" = "yes" ; then
36996 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
36998 if test "$wxUSE_RICHTEXT" = "yes" ; then
36999 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
37001 if test "$wxUSE_STC" = "yes" ; then
37002 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
37004 if test "$wxUSE_WEBVIEW" = "yes" ; then
37005 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
37006 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
37008 if test "$wxUSE_XRC" = "yes" ; then
37009 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
37010 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
37021 if test "$wxUSE_MAC" = 1 ; then
37022 if test "$USE_DARWIN" = 1; then
37023 if test "$wxUSE_OSX_IPHONE" = 1; then
37024 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37026 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37029 if test "$cross_compiling" != "no"; then
37030 wx_cv_target_x86_64
=no
37032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37033 $as_echo_n "checking if we target only x86_64... " >&6; }
37034 if ${wx_cv_target_x86_64+:} false
; then :
37035 $as_echo_n "(cached) " >&6
37037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37038 /* end confdefs.h. */
37039 int main() { return 0; }
37041 if ac_fn_c_try_link
"$LINENO"; then :
37042 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37043 wx_cv_target_x86_64
=no
37045 wx_cv_target_x86_64
=yes
37049 rm -f core conftest.err conftest.
$ac_objext \
37050 conftest
$ac_exeext conftest.
$ac_ext
37053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37054 $as_echo "$wx_cv_target_x86_64" >&6; }
37057 if test "$wx_cv_target_x86_64" != "yes"; then
37058 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37063 if test "$wxUSE_OLD_COCOA" = 1 ; then
37064 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37065 if test "$wxUSE_MEDIACTRL" = "yes"; then
37066 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37069 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37070 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37073 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37074 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37076 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37078 if test "$wxUSE_GUI" = "yes"; then
37081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37082 erase event exec font image minimal render \
37083 shaped svg taborder vscroll widgets wrapsizer"
37085 if test "$wxUSE_MONOLITHIC" != "yes"; then
37086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37088 if test "$TOOLKIT" = "MSW"; then
37089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37090 if test "$wxUSE_UNIVERSAL" != "yes"; then
37091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37094 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37098 SAMPLES_SUBDIRS
="console"
37099 if test "$wxUSE_SOCKETS" = "yes" ; then
37100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37102 if test "$wxUSE_IPC" = "yes" ; then
37103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37108 if test "x$INTELCC" = "xyes" ; then
37109 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37110 elif test "$GCC" = yes ; then
37111 CWARNINGS
="-Wall -Wundef"
37114 if test "x$INTELCXX" = "xyes" ; then
37115 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37116 elif test "$GXX" = yes ; then
37117 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37119 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37120 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37121 $as_echo_n "(cached) " >&6
37123 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37126 ac_cpp
='$CXXCPP $CPPFLAGS'
37127 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37128 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37129 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37131 ac_save_CXXFLAGS
="$CXXFLAGS"
37132 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37133 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37135 /* end confdefs.h. */
37145 if ac_fn_cxx_try_compile
"$LINENO"; then :
37146 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37150 CXXFLAGS
="$ac_save_CXXFLAGS"
37152 ac_cpp
='$CPP $CPPFLAGS'
37153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37160 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37161 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37165 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37166 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37167 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37170 test $ac_status = 0; }
37171 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37172 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37175 test $ac_status = 0; }
37176 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37182 if test "$wxUSE_MAC" = 1 ; then
37183 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37188 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37189 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37192 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37193 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37194 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37197 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37198 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37199 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37200 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37201 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37203 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37206 if test "x$MWCC" = "xyes"; then
37208 CC
="$CC -cwd source -I-"
37209 CXX
="$CXX -cwd source -I-"
37214 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37215 EXTRALIBS_XML
="$EXPAT_LINK"
37216 EXTRALIBS_HTML
="$MSPACK_LINK"
37217 EXTRALIBS_MEDIA
="$GST_LIBS"
37218 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37219 if test "$wxUSE_GUI" = "yes"; then
37220 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
37222 if test "$wxUSE_OPENGL" = "yes"; then
37223 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37226 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37228 WXCONFIG_LIBS
="$LIBS"
37230 if test "$wxUSE_REGEX" = "builtin" ; then
37231 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37233 if test "$wxUSE_EXPAT" = "builtin" ; then
37234 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37236 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37237 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37239 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37240 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37242 if test "$wxUSE_LIBPNG" = "builtin" ; then
37243 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37245 if test "$wxUSE_ZLIB" = "builtin" ; then
37246 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37249 for i
in $wxconfig_3rdparty ; do
37250 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37254 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37257 case "$wxUNIV_THEMES" in
37259 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37264 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37265 cat >>confdefs.h
<<_ACEOF
37266 #define wxUSE_THEME_$t 1
37282 if test $wxUSE_MONOLITHIC = "yes" ; then
37288 if test $wxUSE_PLUGINS = "yes" ; then
37294 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37300 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37332 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37345 TOOLKIT_DESC
="GTK+"
37346 if test "$WXGTK2" = 1; then
37347 if test "$WXGTK3" = 1; then
37348 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
37350 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
37352 if test "$wxUSE_GTKPRINT" = "yes" ; then
37353 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
37355 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37356 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
37358 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37359 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
37361 if test "$wxUSE_LIBHILDON" = "yes"; then
37362 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37364 if test "$wxUSE_LIBHILDON2" = "yes"; then
37365 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37368 if test "$TOOLKIT_EXTRA" != ""; then
37369 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37375 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
37379 TOOLKIT_DESC
="base only"
37383 if test "$wxUSE_WINE" = "yes"; then
37384 BAKEFILE_FORCE_PLATFORM
=win32
37387 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37390 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37391 if ${wx_cv_gcc_pch_bug+:} false
; then :
37392 $as_echo_n "(cached) " >&6
37395 echo '#include <stdio.h>
37396 const wchar_t test_var[] = L"awidetest";' > conftest.h
37398 echo '#include "conftest.h"
37401 printf("%ls", test_var);
37405 wx_cv_gcc_pch_bug
="pch not supported"
37407 if $CXX conftest.h
>/dev
/null
2>&1
37411 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
37413 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
37414 grep awidetest
>/dev
/null
37416 wx_cv_gcc_pch_bug
=no
37418 wx_cv_gcc_pch_bug
=yes
37423 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
37426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37427 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37429 if test "$wx_cv_gcc_pch_bug" = yes; then
37434 # Find a good install program. We prefer a C program (faster),
37435 # so one script is as good as another. But avoid the broken or
37436 # incompatible versions:
37437 # SysV /etc/install, /usr/sbin/install
37438 # SunOS /usr/etc/install
37439 # IRIX /sbin/install
37441 # AmigaOS /C/install, which installs bootblocks on floppy discs
37442 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37443 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37444 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37445 # OS/2's system install, which has a completely different semantic
37446 # ./install, which can be erroneously created by make from ./install.sh.
37447 # Reject install programs that cannot install multiple files.
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37449 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37450 if test -z "$INSTALL"; then
37451 if ${ac_cv_path_install+:} false
; then :
37452 $as_echo_n "(cached) " >&6
37454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37455 for as_dir
in $PATH
37458 test -z "$as_dir" && as_dir
=.
37459 # Account for people who put trailing slashes in PATH elements.
37460 case $as_dir/ in #((
37461 .
/ | .
// | /[cC
]/* | \
37462 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
37463 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
37466 # OSF1 and SCO ODT 3.0 have their own names for install.
37467 # Don't use installbsd from OSF since it installs stuff as root
37469 for ac_prog
in ginstall scoinst
install; do
37470 for ac_exec_ext
in '' $ac_executable_extensions; do
37471 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
37472 if test $ac_prog = install &&
37473 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37474 # AIX install. It has an incompatible calling convention.
37476 elif test $ac_prog = install &&
37477 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
37478 # program-specific install script used by HP pwplus--don't use.
37481 rm -rf conftest.one conftest.two conftest.dir
37482 echo one
> conftest.one
37483 echo two
> conftest.two
37485 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
37486 test -s conftest.one
&& test -s conftest.two
&&
37487 test -s conftest.dir
/conftest.one
&&
37488 test -s conftest.dir
/conftest.two
37490 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
37503 rm -rf conftest.one conftest.two conftest.dir
37506 if test "${ac_cv_path_install+set}" = set; then
37507 INSTALL
=$ac_cv_path_install
37509 # As a last resort, use the slow shell script. Don't cache a
37510 # value for INSTALL within a source directory, because that will
37511 # break other packages using the cache if that directory is
37512 # removed, or if the value is a relative name.
37513 INSTALL
=$ac_install_sh
37516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37517 $as_echo "$INSTALL" >&6; }
37519 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37520 # It thinks the first close brace ends the variable substitution.
37521 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
37523 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
37525 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
37533 if test "x$BAKEFILE_HOST" = "x"; then
37534 if test "x${host}" = "x" ; then
37535 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37538 BAKEFILE_HOST
="${host}"
37541 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37543 if test -n "$ac_tool_prefix"; then
37544 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37545 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
37546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37547 $as_echo_n "checking for $ac_word... " >&6; }
37548 if ${ac_cv_prog_RANLIB+:} false
; then :
37549 $as_echo_n "(cached) " >&6
37551 if test -n "$RANLIB"; then
37552 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
37554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37555 for as_dir
in $PATH
37558 test -z "$as_dir" && as_dir
=.
37559 for ac_exec_ext
in '' $ac_executable_extensions; do
37560 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37561 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
37562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37571 RANLIB
=$ac_cv_prog_RANLIB
37572 if test -n "$RANLIB"; then
37573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37574 $as_echo "$RANLIB" >&6; }
37576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37577 $as_echo "no" >&6; }
37582 if test -z "$ac_cv_prog_RANLIB"; then
37583 ac_ct_RANLIB
=$RANLIB
37584 # Extract the first word of "ranlib", so it can be a program name with args.
37585 set dummy ranlib
; ac_word
=$2
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37587 $as_echo_n "checking for $ac_word... " >&6; }
37588 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
37589 $as_echo_n "(cached) " >&6
37591 if test -n "$ac_ct_RANLIB"; then
37592 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
37594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37595 for as_dir
in $PATH
37598 test -z "$as_dir" && as_dir
=.
37599 for ac_exec_ext
in '' $ac_executable_extensions; do
37600 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37601 ac_cv_prog_ac_ct_RANLIB
="ranlib"
37602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37611 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
37612 if test -n "$ac_ct_RANLIB"; then
37613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37614 $as_echo "$ac_ct_RANLIB" >&6; }
37616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37617 $as_echo "no" >&6; }
37620 if test "x$ac_ct_RANLIB" = x
; then
37623 case $cross_compiling:$ac_tool_warned in
37625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37627 ac_tool_warned
=yes ;;
37629 RANLIB
=$ac_ct_RANLIB
37632 RANLIB
="$ac_cv_prog_RANLIB"
37636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37637 $as_echo_n "checking whether ln -s works... " >&6; }
37639 if test "$LN_S" = "ln -s"; then
37640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37641 $as_echo "yes" >&6; }
37643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37644 $as_echo "no, using $LN_S" >&6; }
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37649 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37651 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37652 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
37653 $as_echo_n "(cached) " >&6
37655 cat >conftest.
make <<\_ACEOF
37658 @
echo '@@@%%%=$(MAKE)=@@@%%%'
37660 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37661 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37662 *@@@
%%%=?
*=@@@
%%%*)
37663 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
37665 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
37667 rm -f conftest.
make
37669 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
37670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37671 $as_echo "yes" >&6; }
37674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37675 $as_echo "no" >&6; }
37676 SET_MAKE
="MAKE=${MAKE-make}"
37681 if test "x$SUNCXX" = "xyes"; then
37683 AROPTIONS
="-xar -o"
37685 elif test "x$SGICC" = "xyes"; then
37690 if test -n "$ac_tool_prefix"; then
37691 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37692 set dummy
${ac_tool_prefix}ar; ac_word
=$2
37693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37694 $as_echo_n "checking for $ac_word... " >&6; }
37695 if ${ac_cv_prog_AR+:} false
; then :
37696 $as_echo_n "(cached) " >&6
37698 if test -n "$AR"; then
37699 ac_cv_prog_AR
="$AR" # Let the user override the test.
37701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37702 for as_dir
in $PATH
37705 test -z "$as_dir" && as_dir
=.
37706 for ac_exec_ext
in '' $ac_executable_extensions; do
37707 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37708 ac_cv_prog_AR
="${ac_tool_prefix}ar"
37709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37719 if test -n "$AR"; then
37720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37721 $as_echo "$AR" >&6; }
37723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37724 $as_echo "no" >&6; }
37729 if test -z "$ac_cv_prog_AR"; then
37731 # Extract the first word of "ar", so it can be a program name with args.
37732 set dummy
ar; ac_word
=$2
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37734 $as_echo_n "checking for $ac_word... " >&6; }
37735 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
37736 $as_echo_n "(cached) " >&6
37738 if test -n "$ac_ct_AR"; then
37739 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
37741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37742 for as_dir
in $PATH
37745 test -z "$as_dir" && as_dir
=.
37746 for ac_exec_ext
in '' $ac_executable_extensions; do
37747 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37748 ac_cv_prog_ac_ct_AR
="ar"
37749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37758 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
37759 if test -n "$ac_ct_AR"; then
37760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37761 $as_echo "$ac_ct_AR" >&6; }
37763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37764 $as_echo "no" >&6; }
37767 if test "x$ac_ct_AR" = x
; then
37770 case $cross_compiling:$ac_tool_warned in
37772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37774 ac_tool_warned
=yes ;;
37779 AR
="$ac_cv_prog_AR"
37786 if test -n "$ac_tool_prefix"; then
37787 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37788 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
37789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37790 $as_echo_n "checking for $ac_word... " >&6; }
37791 if ${ac_cv_prog_STRIP+:} false
; then :
37792 $as_echo_n "(cached) " >&6
37794 if test -n "$STRIP"; then
37795 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
37797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37798 for as_dir
in $PATH
37801 test -z "$as_dir" && as_dir
=.
37802 for ac_exec_ext
in '' $ac_executable_extensions; do
37803 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37804 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
37805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37814 STRIP
=$ac_cv_prog_STRIP
37815 if test -n "$STRIP"; then
37816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37817 $as_echo "$STRIP" >&6; }
37819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37820 $as_echo "no" >&6; }
37825 if test -z "$ac_cv_prog_STRIP"; then
37827 # Extract the first word of "strip", so it can be a program name with args.
37828 set dummy strip
; ac_word
=$2
37829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37830 $as_echo_n "checking for $ac_word... " >&6; }
37831 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
37832 $as_echo_n "(cached) " >&6
37834 if test -n "$ac_ct_STRIP"; then
37835 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
37837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37838 for as_dir
in $PATH
37841 test -z "$as_dir" && as_dir
=.
37842 for ac_exec_ext
in '' $ac_executable_extensions; do
37843 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37844 ac_cv_prog_ac_ct_STRIP
="strip"
37845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37854 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
37855 if test -n "$ac_ct_STRIP"; then
37856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37857 $as_echo "$ac_ct_STRIP" >&6; }
37859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37860 $as_echo "no" >&6; }
37863 if test "x$ac_ct_STRIP" = x
; then
37866 case $cross_compiling:$ac_tool_warned in
37868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37870 ac_tool_warned
=yes ;;
37875 STRIP
="$ac_cv_prog_STRIP"
37878 if test -n "$ac_tool_prefix"; then
37879 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37880 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
37881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37882 $as_echo_n "checking for $ac_word... " >&6; }
37883 if ${ac_cv_prog_NM+:} false
; then :
37884 $as_echo_n "(cached) " >&6
37886 if test -n "$NM"; then
37887 ac_cv_prog_NM
="$NM" # Let the user override the test.
37889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37890 for as_dir
in $PATH
37893 test -z "$as_dir" && as_dir
=.
37894 for ac_exec_ext
in '' $ac_executable_extensions; do
37895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37896 ac_cv_prog_NM
="${ac_tool_prefix}nm"
37897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37907 if test -n "$NM"; then
37908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37909 $as_echo "$NM" >&6; }
37911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37912 $as_echo "no" >&6; }
37917 if test -z "$ac_cv_prog_NM"; then
37919 # Extract the first word of "nm", so it can be a program name with args.
37920 set dummy nm
; ac_word
=$2
37921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37922 $as_echo_n "checking for $ac_word... " >&6; }
37923 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
37924 $as_echo_n "(cached) " >&6
37926 if test -n "$ac_ct_NM"; then
37927 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
37929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
37930 for as_dir
in $PATH
37933 test -z "$as_dir" && as_dir
=.
37934 for ac_exec_ext
in '' $ac_executable_extensions; do
37935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
37936 ac_cv_prog_ac_ct_NM
="nm"
37937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37946 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
37947 if test -n "$ac_ct_NM"; then
37948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
37949 $as_echo "$ac_ct_NM" >&6; }
37951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37952 $as_echo "no" >&6; }
37955 if test "x$ac_ct_NM" = x
; then
37958 case $cross_compiling:$ac_tool_warned in
37960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37962 ac_tool_warned
=yes ;;
37967 NM
="$ac_cv_prog_NM"
37971 INSTALL_DIR
="mkdir -p"
37975 case ${BAKEFILE_HOST} in
37976 *-*-cygwin* | *-*-mingw32* )
37977 LDFLAGS_GUI
="-mwindows"
37983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
37984 $as_echo_n "checking if make is GNU make... " >&6; }
37985 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
37986 $as_echo_n "(cached) " >&6
37989 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
37990 egrep -s GNU
> /dev
/null
); then
37991 bakefile_cv_prog_makeisgnu
="yes"
37993 bakefile_cv_prog_makeisgnu
="no"
37997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
37998 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38000 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38017 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38018 case "${BAKEFILE_HOST}" in
38025 *-pc-os2_emx | *-pc-os2-emx )
38035 powerpc
-apple-macos* )
38044 case "$BAKEFILE_FORCE_PLATFORM" in
38065 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38080 # Check whether --enable-omf was given.
38081 if test "${enable_omf+set}" = set; then :
38082 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38086 case "${BAKEFILE_HOST}" in
38088 if test "x$GCC" = "xyes"; then
38089 CFLAGS
="$CFLAGS -fno-common"
38090 CXXFLAGS
="$CXXFLAGS -fno-common"
38092 if test "x$XLCC" = "xyes"; then
38093 CFLAGS
="$CFLAGS -qnocommon"
38094 CXXFLAGS
="$CXXFLAGS -qnocommon"
38098 *-pc-os2_emx | *-pc-os2-emx )
38099 if test "x$bk_os2_use_omf" = "xyes" ; then
38102 LDFLAGS
="-Zomf $LDFLAGS"
38103 CFLAGS
="-Zomf $CFLAGS"
38104 CXXFLAGS
="-Zomf $CXXFLAGS"
38112 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38118 SO_SUFFIX_MODULE
="so"
38123 DLLPREFIX_MODULE
=""
38127 case "${BAKEFILE_HOST}" in
38132 SO_SUFFIX_MODULE
="sl"
38136 SO_SUFFIX_MODULE
="a"
38140 SO_SUFFIX_MODULE
="dll"
38141 DLLIMP_SUFFIX
="dll.a"
38148 SO_SUFFIX_MODULE
="dll"
38149 DLLIMP_SUFFIX
="dll.a"
38159 *-pc-os2_emx | *-pc-os2-emx )
38161 SO_SUFFIX_MODULE
="dll"
38162 DLLIMP_SUFFIX
=$OS2_LIBEXT
38166 LIBEXT
=".$OS2_LIBEXT"
38171 SO_SUFFIX_MODULE
="bundle"
38175 if test "x$DLLIMP_SUFFIX" = "x" ; then
38176 DLLIMP_SUFFIX
="$SO_SUFFIX"
38191 if test "x$GCC" = "xyes"; then
38195 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38196 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38199 case "${BAKEFILE_HOST}" in
38201 if test "x$GCC" != "xyes"; then
38202 LDFLAGS
="$LDFLAGS -L/usr/lib"
38204 SHARED_LD_CC
="${CC} -b -o"
38205 SHARED_LD_CXX
="${CXX} -b -o"
38211 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38213 elif test "x$SUNCXX" = "xyes"; then
38214 SHARED_LD_CC
="${CC} -G -o"
38215 SHARED_LD_CXX
="${CXX} -G -o"
38221 if test "x$SUNCXX" = xyes
; then
38222 SHARED_LD_CC
="${CC} -G -o"
38223 SHARED_LD_CXX
="${CXX} -G -o"
38231 cat <<EOF >shared-ld-sh
38233 #-----------------------------------------------------------------------------
38234 #-- Name: distrib/mac/shared-ld-sh
38235 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38236 #-- Author: Gilles Depeyrot
38237 #-- Copyright: (c) 2002 Gilles Depeyrot
38238 #-- Licence: any use permitted
38239 #-----------------------------------------------------------------------------
38244 linking_flag="-dynamiclib"
38245 ldargs="-r -keep_private_externs -nostdlib"
38247 if test "x${D}CXX" = "x"; then
38251 while test ${D}# -gt 0; do
38258 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38259 # collect these options and values
38260 args="${D}{args} ${D}1 ${D}2"
38265 # collect these options and values
38266 ldargs="${D}{ldargs} ${D}1 ${D}2"
38271 # collect these load args
38272 ldargs="${D}{ldargs} ${D}1"
38275 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38276 # collect these options
38277 args="${D}{args} ${D}1"
38280 -dynamiclib|-bundle)
38281 linking_flag="${D}1"
38285 echo "shared-ld: unhandled option '${D}1'"
38289 *.o | *.a | *.dylib)
38290 # collect object files
38291 objects="${D}{objects} ${D}1"
38295 echo "shared-ld: unhandled argument '${D}1'"
38306 # Link one module containing all the others
38308 if test ${D}{verbose} = 1; then
38309 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38311 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38315 # Link the shared library from the single module created, but only if the
38316 # previous command didn't fail:
38318 if test ${D}{status} = 0; then
38319 if test ${D}{verbose} = 1; then
38320 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38322 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38327 # Remove intermediate module
38329 rm -f master.${D}${D}.o
38334 chmod +x shared
-ld-sh
38336 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38337 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38341 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38342 if ${bakefile_cv_gcc31+:} false
; then :
38343 $as_echo_n "(cached) " >&6
38346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38347 /* end confdefs.h. */
38353 #if (__GNUC__ < 3) || \
38354 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38362 if ac_fn_c_try_compile
"$LINENO"; then :
38364 bakefile_cv_gcc31
=yes
38368 bakefile_cv_gcc31
=no
38372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38376 $as_echo "$bakefile_cv_gcc31" >&6; }
38377 if test "$bakefile_cv_gcc31" = "no"; then
38378 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38379 SHARED_LD_CXX
="$SHARED_LD_CC"
38381 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38382 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38385 if test "x$GCC" == "xyes"; then
38386 PIC_FLAG
="-dynamic -fPIC"
38388 if test "x$XLCC" = "xyes"; then
38389 PIC_FLAG
="-dynamic -DPIC"
38394 if test "x$GCC" = "xyes"; then
38397 case "${BAKEFILE_HOST}" in
38399 LD_EXPFULL
="-Wl,-bexpfull"
38403 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
38404 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
38406 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38407 set dummy makeC
++SharedLib
; ac_word
=$2
38408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38409 $as_echo_n "checking for $ac_word... " >&6; }
38410 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
38411 $as_echo_n "(cached) " >&6
38413 if test -n "$AIX_CXX_LD"; then
38414 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38417 for as_dir
in $PATH
38420 test -z "$as_dir" && as_dir
=.
38421 for ac_exec_ext
in '' $ac_executable_extensions; do
38422 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38423 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38431 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38434 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38435 if test -n "$AIX_CXX_LD"; then
38436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38437 $as_echo "$AIX_CXX_LD" >&6; }
38439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38440 $as_echo "no" >&6; }
38444 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
38445 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
38450 SHARED_LD_CC
="${LD} -nostart -o"
38451 SHARED_LD_CXX
="${LD} -nostart -o"
38455 if test "x$GCC" != "xyes"; then
38460 *-*-cygwin* | *-*-mingw32* )
38462 SHARED_LD_CC
="\$(CC) -shared -o"
38463 SHARED_LD_CXX
="\$(CXX) -shared -o"
38467 *-pc-os2_emx | *-pc-os2-emx )
38468 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38469 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38473 cat <<EOF >dllar.sh
38476 # dllar - a tool to build both a .dll and an .a file
38477 # from a set of object (.o) files for EMX/OS2.
38479 # Written by Andrew Zabolotny, bit@freya.etu.ru
38480 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38482 # This script will accept a set of files on the command line.
38483 # All the public symbols from the .o files will be exported into
38484 # a .DEF file, then linker will be run (through gcc) against them to
38485 # build a shared library consisting of all given .o files. All libraries
38486 # (.a) will be first decompressed into component .o files then act as
38487 # described above. You can optionally give a description (-d "description")
38488 # which will be put into .DLL. To see the list of accepted options (as well
38489 # as command-line format) simply run this program without options. The .DLL
38490 # is built to be imported by name (there is no guarantee that new versions
38491 # of the library you build will have same ordinals for same symbols).
38493 # dllar is free software; you can redistribute it and/or modify
38494 # it under the terms of the GNU General Public License as published by
38495 # the Free Software Foundation; either version 2, or (at your option)
38496 # any later version.
38498 # dllar is distributed in the hope that it will be useful,
38499 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38500 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38501 # GNU General Public License for more details.
38503 # You should have received a copy of the GNU General Public License
38504 # along with dllar; see the file COPYING. If not, write to the Free
38505 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38508 # To successfuly run this program you will need:
38509 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38510 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38512 # (used to build the .dll)
38514 # (used to create .def file from .o files)
38516 # (used to create .a file from .def file)
38517 # - GNU text utilites (cat, sort, uniq)
38518 # used to process emxexp output
38519 # - GNU file utilities (mv, rm)
38521 # - lxlite (optional, see flag below)
38522 # (used for general .dll cleanup)
38529 # basnam, variant of basename, which does _not_ remove the path, _iff_
38530 # second argument (suffix to remove) is given
38534 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38537 echo ${D}1 | sed 's/'${D}2'${D}//'
38540 echo "error in basnam ${D}*"
38546 # Cleanup temporary files and output
38549 for i in ${D}inputFiles ; do
38552 rm -rf \`basnam ${D}i !\`
38559 # Kill result in case of failure as there is just to many stupid make/nmake
38560 # things out there which doesn't do this.
38561 if [ ${D}# -eq 0 ]; then
38562 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38566 # Print usage and exit script with rc=1.
38568 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38569 echo ' [-name-mangler-script script.sh]'
38570 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38571 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38572 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38573 echo ' [*.o] [*.a]'
38574 echo '*> "output_file" should have no extension.'
38575 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38576 echo ' The import library name is derived from this and is set to "name".a,'
38577 echo ' unless overridden by -import'
38578 echo '*> "importlib_name" should have no extension.'
38579 echo ' If it has the .o, or .a extension, it is automatically removed.'
38580 echo ' This name is used as the import library name and may be longer and'
38581 echo ' more descriptive than the DLL name which has to follow the old '
38582 echo ' 8.3 convention of FAT.'
38583 echo '*> "script.sh may be given to override the output_file name by a'
38584 echo ' different name. It is mainly useful if the regular make process'
38585 echo ' of some package does not take into account OS/2 restriction of'
38586 echo ' DLL name lengths. It takes the importlib name as input and is'
38587 echo ' supposed to procude a shorter name as output. The script should'
38588 echo ' expect to get importlib_name without extension and should produce'
38589 echo ' a (max.) 8 letter name without extension.'
38590 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38591 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38592 echo ' These flags will be put at the start of GCC command line.'
38593 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38594 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38595 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38596 echo ' If the last character of a symbol is "*", all symbols beginning'
38597 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38598 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38599 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38600 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38601 echo ' C runtime DLLs.'
38602 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38603 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38604 echo ' unchanged to GCC at the end of command line.'
38605 echo '*> If you create a DLL from a library and you do not specify -o,'
38606 echo ' the basename for DLL and import library will be set to library name,'
38607 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38608 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38609 echo ' library will be renamed into gcc_s.a.'
38612 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38613 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38618 # Execute a command.
38619 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38620 # @Uses Whatever CleanUp() uses.
38626 if [ ${D}rcCmd -ne 0 ]; then
38627 echo "command failed, exit code="${D}rcCmd
38642 CFLAGS="-s -Zcrtdll"
38644 EXPORT_BY_ORDINALS=0
38649 case ${D}curDirS in
38653 curDirS=${D}{curDirS}"/"
38656 # Parse commandline
38659 while [ ${D}1 ]; do
38662 EXPORT_BY_ORDINALS=1;
38672 -name-mangler-script)
38693 exclude_symbols=${D}{exclude_symbols}${D}1" "
38697 library_flags=${D}{library_flags}${D}1" "
38716 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38719 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38720 if [ ${D}omfLinking -eq 1 ]; then
38721 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38723 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38728 if [ ${D}libsToLink -ne 0 ]; then
38729 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38731 for file in ${D}1 ; do
38732 if [ -f ${D}file ]; then
38733 inputFiles="${D}{inputFiles} ${D}file"
38737 if [ ${D}found -eq 0 ]; then
38738 echo "ERROR: No file(s) found: "${D}1
38745 done # iterate cmdline words
38748 if [ -z "${D}inputFiles" ]; then
38749 echo "dllar: no input files"
38753 # Now extract all .o files from .a files
38755 for file in ${D}inputFiles ; do
38766 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38771 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38773 if [ ${D}? -ne 0 ]; then
38774 echo "Failed to create subdirectory ./${D}dirname"
38778 # Append '!' to indicate archive
38779 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38780 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38783 for subfile in ${D}dirname/*.o* ; do
38784 if [ -f ${D}subfile ]; then
38786 if [ -s ${D}subfile ]; then
38787 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38788 newInputFiles="${D}newInputFiles ${D}subfile"
38792 if [ ${D}found -eq 0 ]; then
38793 echo "WARNING: there are no files in archive \\'${D}file\\'"
38797 newInputFiles="${D}{newInputFiles} ${D}file"
38801 inputFiles="${D}newInputFiles"
38803 # Output filename(s).
38805 if [ -z ${D}outFile ]; then
38807 set outFile ${D}inputFiles; outFile=${D}2
38810 # If it is an archive, remove the '!' and the '_%' suffixes
38811 case ${D}outFile in
38813 outFile=\`basnam ${D}outFile _%!\`
38818 case ${D}outFile in
38820 outFile=\`basnam ${D}outFile .dll\`
38823 outFile=\`basnam ${D}outFile .DLL\`
38826 outFile=\`basnam ${D}outFile .o\`
38829 outFile=\`basnam ${D}outFile .obj\`
38832 outFile=\`basnam ${D}outFile .a\`
38835 outFile=\`basnam ${D}outFile .lib\`
38840 case ${D}outimpFile in
38842 outimpFile=\`basnam ${D}outimpFile .a\`
38845 outimpFile=\`basnam ${D}outimpFile .lib\`
38850 if [ -z ${D}outimpFile ]; then
38851 outimpFile=${D}outFile
38853 defFile="${D}{outFile}.def"
38854 arcFile="${D}{outimpFile}.a"
38855 arcFile2="${D}{outimpFile}.lib"
38857 #create ${D}dllFile as something matching 8.3 restrictions,
38858 if [ -z ${D}renameScript ] ; then
38859 dllFile="${D}outFile"
38861 dllFile=\`${D}renameScript ${D}outimpFile\`
38864 if [ ${D}do_backup -ne 0 ] ; then
38865 if [ -f ${D}arcFile ] ; then
38866 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38868 if [ -f ${D}arcFile2 ] ; then
38869 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38873 # Extract public symbols from all the object files.
38874 tmpdefFile=${D}{defFile}_%
38875 rm -f ${D}tmpdefFile
38876 for file in ${D}inputFiles ; do
38881 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38886 # Create the def file.
38888 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38889 dllFile="${D}{dllFile}.dll"
38890 if [ ! -z ${D}description ]; then
38891 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
38893 echo "EXPORTS" >> ${D}defFile
38895 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38896 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38898 # Checks if the export is ok or not.
38899 for word in ${D}exclude_symbols; do
38900 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38901 mv ${D}{tmpdefFile}% ${D}tmpdefFile
38905 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38906 sed "=" < ${D}tmpdefFile | \\
38910 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38912 ' > ${D}{tmpdefFile}%
38913 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38915 rm -f ${D}{tmpdefFile}%
38917 cat ${D}tmpdefFile >> ${D}defFile
38918 rm -f ${D}tmpdefFile
38920 # Do linking, create implib, and apply lxlite.
38922 for file in ${D}inputFiles ; do
38927 gccCmdl="${D}gccCmdl ${D}file"
38931 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38932 touch "${D}{outFile}.dll"
38934 doCommand "emximp -o ${D}arcFile ${D}defFile"
38935 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38937 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38940 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
38942 doCommand "emxomf -s -l ${D}arcFile"
38952 powerpc
-apple-macos* | \
38953 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
38963 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
38966 if test "x$PIC_FLAG" != "x" ; then
38967 PIC_FLAG
="$PIC_FLAG -DPIC"
38970 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38971 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
38973 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38974 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
38989 USE_SOTWOSYMLINKS
=0
38993 case "${BAKEFILE_HOST}" in
38994 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38995 *-*-k*bsd
*-gnu | *-*-mirbsd* )
38996 if test "x$SUNCXX" = "xyes"; then
38999 SONAME_FLAG
="-Wl,-soname,"
39003 USE_SOTWOSYMLINKS
=1
39015 USE_SOTWOSYMLINKS
=1
39033 # Check whether --enable-dependency-tracking was given.
39034 if test "${enable_dependency_tracking+set}" = set; then :
39035 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39040 $as_echo_n "checking for dependency tracking method... " >&6; }
39043 if test "x$bk_use_trackdeps" = "xno" ; then
39045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39046 $as_echo "disabled" >&6; }
39050 if test "x$GCC" = "xyes"; then
39053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39054 $as_echo "gcc" >&6; }
39055 elif test "x$MWCC" = "xyes"; then
39058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39059 $as_echo "mwcc" >&6; }
39060 elif test "x$SUNCC" = "xyes"; then
39063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39064 $as_echo "Sun cc" >&6; }
39065 elif test "x$SGICC" = "xyes"; then
39068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39069 $as_echo "SGI cc" >&6; }
39070 elif test "x$HPCC" = "xyes"; then
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39074 $as_echo "HP cc" >&6; }
39075 elif test "x$COMPAQCC" = "xyes"; then
39078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39079 $as_echo "Compaq cc" >&6; }
39082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39083 $as_echo "none" >&6; }
39086 if test $DEPS_TRACKING = 1 ; then
39092 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39093 # script. It is used to track C/C++ files dependencies in portable way.
39095 # Permission is given to use this file in any way.
39097 DEPSMODE=${DEPSMODE}
39098 DEPSFLAG="${DEPSFLAG}"
39101 if test ${D}DEPSMODE = gcc ; then
39102 ${D}* ${D}{DEPSFLAG}
39105 # determine location of created files:
39106 while test ${D}# -gt 0; do
39120 objfilebase=\`basename ${D}objfile\`
39121 builddir=\`dirname ${D}objfile\`
39122 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39123 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39124 depsdir=${D}builddir/${D}DEPSDIRBASE
39125 mkdir -p ${D}depsdir
39127 # if the compiler failed, we're done:
39128 if test ${D}{status} != 0 ; then
39133 # move created file to the location we want it in:
39134 if test -f ${D}depfile ; then
39135 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39138 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39139 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39140 if test ! -f ${D}depfile ; then
39141 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39142 depfile="${D}objfile.d"
39144 if test -f ${D}depfile ; then
39145 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39151 elif test ${D}DEPSMODE = mwcc ; then
39152 ${D}* || exit ${D}?
39153 # Run mwcc again with -MM and redirect into the dep file we want
39154 # NOTE: We can't use shift here because we need ${D}* to be valid
39156 for arg in ${D}* ; do
39157 if test "${D}prevarg" = "-o"; then
39171 objfilebase=\`basename ${D}objfile\`
39172 builddir=\`dirname ${D}objfile\`
39173 depsdir=${D}builddir/${D}DEPSDIRBASE
39174 mkdir -p ${D}depsdir
39176 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39179 elif test ${D}DEPSMODE = unixcc; then
39180 ${D}* || exit ${D}?
39181 # Run compiler again with deps flag and redirect into the dep file.
39182 # It doesn't work if the '-o FILE' option is used, but without it the
39183 # dependency file will contain the wrong name for the object. So it is
39184 # removed from the command line, and the dep file is fixed with sed.
39186 while test ${D}# -gt 0; do
39193 eval arg${D}#=\\${D}1
39194 cmd="${D}cmd \\${D}arg${D}#"
39200 objfilebase=\`basename ${D}objfile\`
39201 builddir=\`dirname ${D}objfile\`
39202 depsdir=${D}builddir/${D}DEPSDIRBASE
39203 mkdir -p ${D}depsdir
39205 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39215 BK_DEPS
="`pwd`/bk-deps"
39223 case ${BAKEFILE_HOST} in
39224 *-*-cygwin* | *-*-mingw32* )
39225 if test -n "$ac_tool_prefix"; then
39226 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39227 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39229 $as_echo_n "checking for $ac_word... " >&6; }
39230 if ${ac_cv_prog_WINDRES+:} false
; then :
39231 $as_echo_n "(cached) " >&6
39233 if test -n "$WINDRES"; then
39234 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39237 for as_dir
in $PATH
39240 test -z "$as_dir" && as_dir
=.
39241 for ac_exec_ext
in '' $ac_executable_extensions; do
39242 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39243 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39253 WINDRES
=$ac_cv_prog_WINDRES
39254 if test -n "$WINDRES"; then
39255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39256 $as_echo "$WINDRES" >&6; }
39258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39259 $as_echo "no" >&6; }
39264 if test -z "$ac_cv_prog_WINDRES"; then
39265 ac_ct_WINDRES
=$WINDRES
39266 # Extract the first word of "windres", so it can be a program name with args.
39267 set dummy windres
; ac_word
=$2
39268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39269 $as_echo_n "checking for $ac_word... " >&6; }
39270 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39271 $as_echo_n "(cached) " >&6
39273 if test -n "$ac_ct_WINDRES"; then
39274 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39277 for as_dir
in $PATH
39280 test -z "$as_dir" && as_dir
=.
39281 for ac_exec_ext
in '' $ac_executable_extensions; do
39282 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39283 ac_cv_prog_ac_ct_WINDRES
="windres"
39284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39293 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39294 if test -n "$ac_ct_WINDRES"; then
39295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39296 $as_echo "$ac_ct_WINDRES" >&6; }
39298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39299 $as_echo "no" >&6; }
39302 if test "x$ac_ct_WINDRES" = x
; then
39305 case $cross_compiling:$ac_tool_warned in
39307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39309 ac_tool_warned
=yes ;;
39311 WINDRES
=$ac_ct_WINDRES
39314 WINDRES
="$ac_cv_prog_WINDRES"
39319 *-*-darwin* | powerpc
-apple-macos* )
39320 # Extract the first word of "Rez", so it can be a program name with args.
39321 set dummy Rez
; ac_word
=$2
39322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39323 $as_echo_n "checking for $ac_word... " >&6; }
39324 if ${ac_cv_prog_REZ+:} false
; then :
39325 $as_echo_n "(cached) " >&6
39327 if test -n "$REZ"; then
39328 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39331 for as_dir
in $PATH
39334 test -z "$as_dir" && as_dir
=.
39335 for ac_exec_ext
in '' $ac_executable_extensions; do
39336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39337 ac_cv_prog_REZ
="Rez"
39338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39345 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
39348 REZ
=$ac_cv_prog_REZ
39349 if test -n "$REZ"; then
39350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39351 $as_echo "$REZ" >&6; }
39353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39354 $as_echo "no" >&6; }
39358 # Extract the first word of "SetFile", so it can be a program name with args.
39359 set dummy SetFile
; ac_word
=$2
39360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39361 $as_echo_n "checking for $ac_word... " >&6; }
39362 if ${ac_cv_prog_SETFILE+:} false
; then :
39363 $as_echo_n "(cached) " >&6
39365 if test -n "$SETFILE"; then
39366 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39369 for as_dir
in $PATH
39372 test -z "$as_dir" && as_dir
=.
39373 for ac_exec_ext
in '' $ac_executable_extensions; do
39374 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39375 ac_cv_prog_SETFILE
="SetFile"
39376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39383 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39386 SETFILE
=$ac_cv_prog_SETFILE
39387 if test -n "$SETFILE"; then
39388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39389 $as_echo "$SETFILE" >&6; }
39391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39392 $as_echo "no" >&6; }
39407 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
39410 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
39414 # Check whether --enable-precomp-headers was given.
39415 if test "${enable_precomp_headers+set}" = set; then :
39416 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
39425 case ${BAKEFILE_HOST} in
39431 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39432 if test "x$GCC" = "xyes"; then
39433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39434 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39436 /* end confdefs.h. */
39442 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39443 There is no PCH support
39446 There is no PCH support
39448 #if (__GNUC__ == 3) && \
39449 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39450 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39451 ( defined(__INTEL_COMPILER) )
39452 There is no PCH support
39459 if ac_fn_c_try_compile
"$LINENO"; then :
39461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39462 $as_echo "yes" >&6; }
39467 if test "$INTELCXX8" = "yes"; then
39468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39469 $as_echo "yes" >&6; }
39471 if test "$INTELCXX10" = "yes"; then
39472 ICC_PCH_CREATE_SWITCH
="-pch-create"
39473 ICC_PCH_USE_SWITCH
="-pch-use"
39475 ICC_PCH_CREATE_SWITCH
="-create-pch"
39476 ICC_PCH_USE_SWITCH
="-use-pch"
39479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39480 $as_echo "no" >&6; }
39484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39485 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39489 cat <<EOF >bk-make-pch
39492 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39493 # script. It is used to generated precompiled headers.
39495 # Permission is given to use this file in any way.
39502 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39507 while test ${D}{#} -gt 0; do
39511 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39512 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39513 headerfile="${D}{incdir}/${D}{header}"
39516 -use-pch|-use_pch|-pch-use )
39521 if test ${D}add_to_cmdline = 1 ; then
39522 compiler="${D}{compiler} ${D}{1}"
39527 if test "x${D}{headerfile}" = "x" ; then
39528 echo "error: can't find header ${D}{header} in include paths" >&2
39530 if test -f ${D}{outfile} ; then
39531 rm -f ${D}{outfile}
39533 mkdir -p \`dirname ${D}{outfile}\`
39535 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39536 mkdir -p ${D}{builddir}/.deps
39537 if test "x${GCC_PCH}" = "x1" ; then
39538 # can do this because gcc is >= 3.4:
39539 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39540 elif test "x${ICC_PCH}" = "x1" ; then
39541 filename=pch_gen-${D}${D}
39542 file=${D}{filename}.c
39543 dfile=${D}{filename}.d
39544 cat > ${D}file <<EOT
39545 #include "${D}header"
39547 # using -MF icc complains about differing command lines in creation/use
39548 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39549 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39550 rm -f ${D}file ${D}dfile ${D}{filename}.o
39556 chmod +x bk
-make-pch
39557 BK_MAKE_PCH
="`pwd`/bk-make-pch"
39568 COND_BUILD_DEBUG
="#"
39569 if test "x$BUILD" = "xdebug" ; then
39570 COND_BUILD_DEBUG
=""
39573 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
39574 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39575 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
39578 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
39579 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39580 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
39583 COND_BUILD_DEBUG_UNICODE_0
="#"
39584 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39585 COND_BUILD_DEBUG_UNICODE_0
=""
39588 COND_BUILD_DEBUG_UNICODE_1
="#"
39589 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39590 COND_BUILD_DEBUG_UNICODE_1
=""
39593 COND_BUILD_RELEASE
="#"
39594 if test "x$BUILD" = "xrelease" ; then
39595 COND_BUILD_RELEASE
=""
39598 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
39599 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39600 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
39603 COND_BUILD_RELEASE_UNICODE_0
="#"
39604 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39605 COND_BUILD_RELEASE_UNICODE_0
=""
39608 COND_BUILD_RELEASE_UNICODE_1
="#"
39609 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39610 COND_BUILD_RELEASE_UNICODE_1
=""
39613 COND_BUILD_debug
="#"
39614 if test "x$BUILD" = "xdebug" ; then
39615 COND_BUILD_debug
=""
39618 COND_BUILD_debug_DEBUG_FLAG_default
="#"
39619 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39620 COND_BUILD_debug_DEBUG_FLAG_default
=""
39623 COND_BUILD_debug_DEBUG_INFO_default
="#"
39624 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39625 COND_BUILD_debug_DEBUG_INFO_default
=""
39628 COND_BUILD_debug_UNICODE_0
="#"
39629 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39630 COND_BUILD_debug_UNICODE_0
=""
39633 COND_BUILD_debug_UNICODE_1
="#"
39634 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39635 COND_BUILD_debug_UNICODE_1
=""
39638 COND_BUILD_release
="#"
39639 if test "x$BUILD" = "xrelease" ; then
39640 COND_BUILD_release
=""
39643 COND_BUILD_release_DEBUG_INFO_default
="#"
39644 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39645 COND_BUILD_release_DEBUG_INFO_default
=""
39648 COND_BUILD_release_UNICODE_0
="#"
39649 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39650 COND_BUILD_release_UNICODE_0
=""
39653 COND_BUILD_release_UNICODE_1
="#"
39654 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39655 COND_BUILD_release_UNICODE_1
=""
39658 COND_DEBUG_FLAG_0
="#"
39659 if test "x$DEBUG_FLAG" = "x0" ; then
39660 COND_DEBUG_FLAG_0
=""
39663 COND_DEBUG_FLAG_1
="#"
39664 if test "x$DEBUG_FLAG" = "x1" ; then
39665 COND_DEBUG_FLAG_1
=""
39668 COND_DEBUG_INFO_0
="#"
39669 if test "x$DEBUG_INFO" = "x0" ; then
39670 COND_DEBUG_INFO_0
=""
39673 COND_DEBUG_INFO_1
="#"
39674 if test "x$DEBUG_INFO" = "x1" ; then
39675 COND_DEBUG_INFO_1
=""
39678 COND_DEPS_TRACKING_0
="#"
39679 if test "x$DEPS_TRACKING" = "x0" ; then
39680 COND_DEPS_TRACKING_0
=""
39683 COND_DEPS_TRACKING_1
="#"
39684 if test "x$DEPS_TRACKING" = "x1" ; then
39685 COND_DEPS_TRACKING_1
=""
39689 if test "x$GCC_PCH" = "x1" ; then
39694 if test "x$ICC_PCH" = "x1" ; then
39698 COND_MONOLITHIC_0
="#"
39699 if test "x$MONOLITHIC" = "x0" ; then
39700 COND_MONOLITHIC_0
=""
39703 COND_MONOLITHIC_0_SHARED_0
="#"
39704 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39705 COND_MONOLITHIC_0_SHARED_0
=""
39708 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
39709 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39710 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
39713 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
39714 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39715 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
39718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
39719 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39720 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
39723 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
39724 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39725 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
39728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
39729 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39730 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
39733 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
39734 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39735 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
39738 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
39739 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39740 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
39743 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
39744 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39745 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
39748 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
39749 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39750 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
39753 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
39754 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39755 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
39758 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
39759 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39760 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
39763 COND_MONOLITHIC_0_SHARED_1
="#"
39764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39765 COND_MONOLITHIC_0_SHARED_1
=""
39768 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
39769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39770 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
39773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
39774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39775 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
39778 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
39779 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39780 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
39783 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
39784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39785 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
39788 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
39789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39790 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
39793 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
39794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39795 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
39798 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
39799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39800 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
39803 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
39804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39805 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
39808 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
39809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39810 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
39813 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
39814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39815 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
39818 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
39819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39820 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
39823 COND_MONOLITHIC_0_USE_AUI_1
="#"
39824 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39825 COND_MONOLITHIC_0_USE_AUI_1
=""
39828 COND_MONOLITHIC_0_USE_GUI_1
="#"
39829 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39830 COND_MONOLITHIC_0_USE_GUI_1
=""
39833 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
39834 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39835 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
39838 COND_MONOLITHIC_0_USE_HTML_1
="#"
39839 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39840 COND_MONOLITHIC_0_USE_HTML_1
=""
39843 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
39844 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39845 COND_MONOLITHIC_0_USE_MEDIA_1
=""
39848 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
39849 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39850 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
39853 COND_MONOLITHIC_0_USE_QA_1
="#"
39854 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39855 COND_MONOLITHIC_0_USE_QA_1
=""
39858 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
39859 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39860 COND_MONOLITHIC_0_USE_RIBBON_1
=""
39863 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
39864 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39865 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
39868 COND_MONOLITHIC_0_USE_STC_1
="#"
39869 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39870 COND_MONOLITHIC_0_USE_STC_1
=""
39873 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
39874 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39875 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
39878 COND_MONOLITHIC_0_USE_XRC_1
="#"
39879 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39880 COND_MONOLITHIC_0_USE_XRC_1
=""
39883 COND_MONOLITHIC_1
="#"
39884 if test "x$MONOLITHIC" = "x1" ; then
39885 COND_MONOLITHIC_1
=""
39888 COND_MONOLITHIC_1_SHARED_0
="#"
39889 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39890 COND_MONOLITHIC_1_SHARED_0
=""
39893 COND_MONOLITHIC_1_SHARED_1
="#"
39894 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39895 COND_MONOLITHIC_1_SHARED_1
=""
39898 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
39899 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39900 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
39903 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
39904 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39905 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
39908 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
39909 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39910 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
39913 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
39914 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39915 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
39918 COND_PLATFORM_MACOSX_1
="#"
39919 if test "x$PLATFORM_MACOSX" = "x1" ; then
39920 COND_PLATFORM_MACOSX_1
=""
39923 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
39924 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39925 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
39928 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
39929 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39930 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
39933 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
39934 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39935 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
39938 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
39939 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39940 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
39943 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
39944 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
39945 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
39948 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
39949 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
39950 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
39953 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
39954 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39955 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
39958 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
39959 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39960 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
39963 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
39964 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
39965 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
39968 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
39969 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39970 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
39973 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
39974 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
39975 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
39978 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
39979 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39980 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
39983 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
39984 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39985 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
39988 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
39989 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39990 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
39993 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
39994 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39995 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
39998 COND_PLATFORM_MACOS_1
="#"
39999 if test "x$PLATFORM_MACOS" = "x1" ; then
40000 COND_PLATFORM_MACOS_1
=""
40003 COND_PLATFORM_MAC_0
="#"
40004 if test "x$PLATFORM_MAC" = "x0" ; then
40005 COND_PLATFORM_MAC_0
=""
40008 COND_PLATFORM_MAC_1
="#"
40009 if test "x$PLATFORM_MAC" = "x1" ; then
40010 COND_PLATFORM_MAC_1
=""
40013 COND_PLATFORM_MSDOS_0
="#"
40014 if test "x$PLATFORM_MSDOS" = "x0" ; then
40015 COND_PLATFORM_MSDOS_0
=""
40018 COND_PLATFORM_MSDOS_1
="#"
40019 if test "x$PLATFORM_MSDOS" = "x1" ; then
40020 COND_PLATFORM_MSDOS_1
=""
40023 COND_PLATFORM_OS2_1
="#"
40024 if test "x$PLATFORM_OS2" = "x1" ; then
40025 COND_PLATFORM_OS2_1
=""
40028 COND_PLATFORM_UNIX_0
="#"
40029 if test "x$PLATFORM_UNIX" = "x0" ; then
40030 COND_PLATFORM_UNIX_0
=""
40033 COND_PLATFORM_UNIX_1
="#"
40034 if test "x$PLATFORM_UNIX" = "x1" ; then
40035 COND_PLATFORM_UNIX_1
=""
40038 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40039 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40040 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40043 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40044 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40045 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40048 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40049 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40050 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40053 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40054 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40055 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40058 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40059 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40060 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40063 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40064 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40065 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40068 COND_PLATFORM_WIN32_0
="#"
40069 if test "x$PLATFORM_WIN32" = "x0" ; then
40070 COND_PLATFORM_WIN32_0
=""
40073 COND_PLATFORM_WIN32_1
="#"
40074 if test "x$PLATFORM_WIN32" = "x1" ; then
40075 COND_PLATFORM_WIN32_1
=""
40078 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40079 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40080 COND_PLATFORM_WIN32_1_SHARED_0
=""
40084 if test "x$SHARED" = "x0" ; then
40088 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40089 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40090 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40093 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40094 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40095 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40098 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40099 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40100 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40103 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40104 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40105 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40108 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40109 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40110 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40113 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40114 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40115 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40118 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40119 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40120 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40123 COND_SHARED_0_USE_STC_1
="#"
40124 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40125 COND_SHARED_0_USE_STC_1
=""
40128 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40129 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40130 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40133 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40134 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40135 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40138 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40139 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40140 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40144 if test "x$SHARED" = "x1" ; then
40148 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40149 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40150 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40154 if test "x$TOOLKIT" = "x" ; then
40158 COND_TOOLKIT_COCOA
="#"
40159 if test "x$TOOLKIT" = "xCOCOA" ; then
40160 COND_TOOLKIT_COCOA
=""
40163 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40164 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40165 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40168 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40169 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40170 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40173 COND_TOOLKIT_DFB
="#"
40174 if test "x$TOOLKIT" = "xDFB" ; then
40175 COND_TOOLKIT_DFB
=""
40178 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40179 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40180 COND_TOOLKIT_DFB_USE_GUI_1
=""
40183 COND_TOOLKIT_GTK
="#"
40184 if test "x$TOOLKIT" = "xGTK" ; then
40185 COND_TOOLKIT_GTK
=""
40188 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40189 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40190 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40193 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40194 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40195 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40198 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40199 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40200 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40204 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40209 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40218 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40229 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40230 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40233 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40234 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40235 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40238 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40239 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40240 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40243 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40244 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40245 COND_TOOLKIT_GTK_USE_GUI_1
=""
40248 COND_TOOLKIT_MAC
="#"
40249 if test "x$TOOLKIT" = "xMAC" ; then
40250 COND_TOOLKIT_MAC
=""
40253 COND_TOOLKIT_MOTIF
="#"
40254 if test "x$TOOLKIT" = "xMOTIF" ; then
40255 COND_TOOLKIT_MOTIF
=""
40258 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40259 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40260 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40263 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40264 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40265 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40268 COND_TOOLKIT_MSW
="#"
40269 if test "x$TOOLKIT" = "xMSW" ; then
40270 COND_TOOLKIT_MSW
=""
40273 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40274 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40275 COND_TOOLKIT_MSW_USE_GUI_1
=""
40278 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40279 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40280 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40283 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40284 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40285 COND_TOOLKIT_MSW_WXUNIV_0
=""
40288 COND_TOOLKIT_OSX_CARBON
="#"
40289 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40290 COND_TOOLKIT_OSX_CARBON
=""
40293 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40294 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40295 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40298 COND_TOOLKIT_OSX_COCOA
="#"
40299 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40300 COND_TOOLKIT_OSX_COCOA
=""
40303 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40304 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40305 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40308 COND_TOOLKIT_OSX_IPHONE
="#"
40309 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40310 COND_TOOLKIT_OSX_IPHONE
=""
40313 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40314 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40315 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40318 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40319 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40320 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40323 COND_TOOLKIT_PM
="#"
40324 if test "x$TOOLKIT" = "xPM" ; then
40328 COND_TOOLKIT_PM_USE_GUI_1
="#"
40329 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40330 COND_TOOLKIT_PM_USE_GUI_1
=""
40333 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40334 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40335 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40338 COND_TOOLKIT_WINCE
="#"
40339 if test "x$TOOLKIT" = "xWINCE" ; then
40340 COND_TOOLKIT_WINCE
=""
40343 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40344 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40345 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40348 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40349 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40350 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40353 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40354 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40355 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40358 COND_TOOLKIT_X11
="#"
40359 if test "x$TOOLKIT" = "xX11" ; then
40360 COND_TOOLKIT_X11
=""
40363 COND_TOOLKIT_X11_USE_GUI_1
="#"
40364 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40365 COND_TOOLKIT_X11_USE_GUI_1
=""
40369 if test "x$UNICODE" = "x1" ; then
40373 COND_USE_CAIRO_1
="#"
40374 if test "x$USE_CAIRO" = "x1" ; then
40375 COND_USE_CAIRO_1
=""
40378 COND_USE_EXCEPTIONS_0
="#"
40379 if test "x$USE_EXCEPTIONS" = "x0" ; then
40380 COND_USE_EXCEPTIONS_0
=""
40383 COND_USE_EXCEPTIONS_1
="#"
40384 if test "x$USE_EXCEPTIONS" = "x1" ; then
40385 COND_USE_EXCEPTIONS_1
=""
40389 if test "x$USE_GUI" = "x0" ; then
40394 if test "x$USE_GUI" = "x1" ; then
40398 COND_USE_GUI_1_USE_OPENGL_1
="#"
40399 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40400 COND_USE_GUI_1_USE_OPENGL_1
=""
40403 COND_USE_GUI_1_WXUNIV_0
="#"
40404 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40405 COND_USE_GUI_1_WXUNIV_0
=""
40408 COND_USE_GUI_1_WXUNIV_1
="#"
40409 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40410 COND_USE_GUI_1_WXUNIV_1
=""
40413 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
40414 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40415 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
40418 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
40419 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40420 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
40423 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
40424 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40425 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
40428 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40429 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40430 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40433 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40434 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40435 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40438 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40439 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40440 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40443 COND_USE_OPENGL_1
="#"
40444 if test "x$USE_OPENGL" = "x1" ; then
40445 COND_USE_OPENGL_1
=""
40449 if test "x$USE_PCH" = "x1" ; then
40453 COND_USE_PLUGINS_0
="#"
40454 if test "x$USE_PLUGINS" = "x0" ; then
40455 COND_USE_PLUGINS_0
=""
40458 COND_USE_RTTI_0
="#"
40459 if test "x$USE_RTTI" = "x0" ; then
40463 COND_USE_RTTI_1
="#"
40464 if test "x$USE_RTTI" = "x1" ; then
40468 COND_USE_SOTWOSYMLINKS_1
="#"
40469 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40470 COND_USE_SOTWOSYMLINKS_1
=""
40473 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
40474 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40475 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
40478 COND_USE_SOVERLINUX_1
="#"
40479 if test "x$USE_SOVERLINUX" = "x1" ; then
40480 COND_USE_SOVERLINUX_1
=""
40483 COND_USE_SOVERSION_0
="#"
40484 if test "x$USE_SOVERSION" = "x0" ; then
40485 COND_USE_SOVERSION_0
=""
40488 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
40489 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40490 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
40493 COND_USE_SOVERSOLARIS_1
="#"
40494 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40495 COND_USE_SOVERSOLARIS_1
=""
40499 if test "x$USE_STC" = "x1" ; then
40503 COND_USE_THREADS_0
="#"
40504 if test "x$USE_THREADS" = "x0" ; then
40505 COND_USE_THREADS_0
=""
40508 COND_USE_THREADS_1
="#"
40509 if test "x$USE_THREADS" = "x1" ; then
40510 COND_USE_THREADS_1
=""
40514 if test "x$USE_XRC" = "x1" ; then
40518 COND_WINDOWS_IMPLIB_1
="#"
40519 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40520 COND_WINDOWS_IMPLIB_1
=""
40523 COND_WITH_PLUGIN_SDL_1
="#"
40524 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40525 COND_WITH_PLUGIN_SDL_1
=""
40529 if test "x$WXUNIV" = "x0" ; then
40534 if test "x$WXUNIV" = "x1" ; then
40538 COND_WXUSE_EXPAT_BUILTIN
="#"
40539 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40540 COND_WXUSE_EXPAT_BUILTIN
=""
40543 COND_WXUSE_LIBJPEG_BUILTIN
="#"
40544 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40545 COND_WXUSE_LIBJPEG_BUILTIN
=""
40548 COND_WXUSE_LIBPNG_BUILTIN
="#"
40549 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40550 COND_WXUSE_LIBPNG_BUILTIN
=""
40553 COND_WXUSE_LIBTIFF_BUILTIN
="#"
40554 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40555 COND_WXUSE_LIBTIFF_BUILTIN
=""
40558 COND_WXUSE_REGEX_BUILTIN
="#"
40559 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40560 COND_WXUSE_REGEX_BUILTIN
=""
40563 COND_WXUSE_ZLIB_BUILTIN
="#"
40564 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40565 COND_WXUSE_ZLIB_BUILTIN
=""
40568 COND_wxUSE_EXPAT_builtin
="#"
40569 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40570 COND_wxUSE_EXPAT_builtin
=""
40573 COND_wxUSE_LIBJPEG_builtin
="#"
40574 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40575 COND_wxUSE_LIBJPEG_builtin
=""
40578 COND_wxUSE_LIBPNG_builtin
="#"
40579 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40580 COND_wxUSE_LIBPNG_builtin
=""
40583 COND_wxUSE_LIBTIFF_builtin
="#"
40584 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40585 COND_wxUSE_LIBTIFF_builtin
=""
40588 COND_wxUSE_REGEX_builtin
="#"
40589 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40590 COND_wxUSE_REGEX_builtin
=""
40593 COND_wxUSE_ZLIB_builtin
="#"
40594 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40595 COND_wxUSE_ZLIB_builtin
=""
40600 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40601 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
40604 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40605 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
40612 ?
:* ) # Drive letter, considered as absolute.
40615 INSTALL
=`pwd`/${INSTALL} ;;
40618 if test "$wxUSE_GUI" = "yes"; then
40620 if test "$wxUSE_MSW" = 1 ; then
40621 if test "x$WINDRES" = "x"; then
40622 as_fn_error $?
"Required windres program not found" "$LINENO" 5
40628 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40629 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40630 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40632 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40634 # Extract the first word of "DeRez", so it can be a program name with args.
40635 set dummy DeRez
; ac_word
=$2
40636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40637 $as_echo_n "checking for $ac_word... " >&6; }
40638 if ${ac_cv_prog_DEREZ+:} false
; then :
40639 $as_echo_n "(cached) " >&6
40641 if test -n "$DEREZ"; then
40642 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
40644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40645 for as_dir
in $PATH
40648 test -z "$as_dir" && as_dir
=.
40649 for ac_exec_ext
in '' $ac_executable_extensions; do
40650 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40651 ac_cv_prog_DEREZ
="DeRez"
40652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40659 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
40662 DEREZ
=$ac_cv_prog_DEREZ
40663 if test -n "$DEREZ"; then
40664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40665 $as_echo "$DEREZ" >&6; }
40667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40668 $as_echo "no" >&6; }
40673 MACSETFILE
="\$(SETFILE)"
40675 if test "$wxUSE_OSX_CARBON" = 1; then
40676 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40678 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
40680 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40681 RESCOMP
="cat /dev/null \| $REZ"
40682 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40688 if test "$wxUSE_PM" = 1; then
40690 WXCONFIG_RESFLAGS
="-ep"
40692 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
40694 POSTLINK_COMMAND
="@true"
40701 if test $GCC_PCH = 1
40703 if test "$wx_cv_gcc_pch_bug" = yes; then
40704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40705 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40707 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40709 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40712 # Our WX_PRECOMP flag does not make sense for any language except C++ because
40713 # the headers that benefit from precompilation are mostly C++ headers.
40714 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
40715 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40716 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40720 if test "$wxUSE_MAC" = 1 ; then
40721 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40722 if test "x$disable_macosx_deps" = "xyes"; then
40723 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
40730 if test "$wxUSE_SHARED" = "yes"; then
40732 *-pc-os2_emx | *-pc-os2-emx )
40733 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40734 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40735 cp -p ${srcdir}/src
/os
2/dllnames.sh .
40736 cp -p ${srcdir}/src
/os
2/dllar.sh .
40740 if test "$wxUSE_OMF" = "yes"; then
40742 *-pc-os2_emx | *-pc-os2-emx )
40743 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
40744 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
40745 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
40750 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40755 if test "$GCC" = yes; then
40756 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
40757 LIBS
=`echo $LIBS | sed 's/-mt//g'`
40758 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40763 if test "x$SUNCXX" = xyes
; then
40764 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
40765 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
40766 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40771 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
40772 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40773 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
40774 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40776 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40838 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40840 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40841 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
40842 $as_echo_n "(cached) " >&6
40844 cat >conftest.
make <<\_ACEOF
40847 @
echo '@@@%%%=$(MAKE)=@@@%%%'
40849 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40850 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40851 *@@@
%%%=?
*=@@@
%%%*)
40852 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
40854 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
40856 rm -f conftest.
make
40858 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
40859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40860 $as_echo "yes" >&6; }
40863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40864 $as_echo "no" >&6; }
40865 SET_MAKE
="MAKE=${MAKE-make}"
40870 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40873 if test "$USE_WIN32" = 1; then
40874 ac_config_commands
="$ac_config_commands rcdefs.h"
40878 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40881 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40884 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
40887 if test "$wx_cv_version_script" = "yes"; then
40888 ac_config_files
="$ac_config_files version-script"
40891 ac_config_files
="$ac_config_files Makefile"
40894 ac_config_commands
="$ac_config_commands wx-config"
40898 if test "$wxWITH_SUBDIRS" != "no"; then
40899 if test "$wxUSE_GUI" = "yes"; then
40900 SUBDIRS
="samples demos utils"
40902 SUBDIRS
="samples utils"
40907 # Check whether --with-cppunit-prefix was given.
40908 if test "${with_cppunit_prefix+set}" = set; then :
40909 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
40911 cppunit_config_prefix
=""
40915 # Check whether --with-cppunit-exec-prefix was given.
40916 if test "${with_cppunit_exec_prefix+set}" = set; then :
40917 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
40919 cppunit_config_exec_prefix
=""
40923 if test x
$cppunit_config_exec_prefix != x
; then
40924 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40925 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40926 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
40929 if test x
$cppunit_config_prefix != x
; then
40930 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
40931 if test x
${CPPUNIT_CONFIG+set} != xset
; then
40932 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
40936 # Extract the first word of "cppunit-config", so it can be a program name with args.
40937 set dummy cppunit
-config; ac_word
=$2
40938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40939 $as_echo_n "checking for $ac_word... " >&6; }
40940 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
40941 $as_echo_n "(cached) " >&6
40943 case $CPPUNIT_CONFIG in
40945 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
40949 for as_dir
in $PATH
40952 test -z "$as_dir" && as_dir
=.
40953 for ac_exec_ext
in '' $ac_executable_extensions; do
40954 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
40955 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
40956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40963 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
40967 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
40968 if test -n "$CPPUNIT_CONFIG"; then
40969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
40970 $as_echo "$CPPUNIT_CONFIG" >&6; }
40972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40973 $as_echo "no" >&6; }
40977 cppunit_version_min
=1.8.0
40979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
40980 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
40982 if test "$CPPUNIT_CONFIG" = "no" ; then
40983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40984 $as_echo "no" >&6; }
40987 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
40988 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
40989 cppunit_version
=`$CPPUNIT_CONFIG --version`
40991 cppunit_major_version
=`echo $cppunit_version | \
40992 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40993 cppunit_minor_version
=`echo $cppunit_version | \
40994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40995 cppunit_micro_version
=`echo $cppunit_version | \
40996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40998 cppunit_major_min
=`echo $cppunit_version_min | \
40999 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41000 cppunit_minor_min
=`echo $cppunit_version_min | \
41001 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41002 cppunit_micro_min
=`echo $cppunit_version_min | \
41003 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41005 cppunit_version_proper
=`expr \
41006 $cppunit_major_version \> $cppunit_major_min \| \
41007 $cppunit_major_version \= $cppunit_major_min \& \
41008 $cppunit_minor_version \> $cppunit_minor_min \| \
41009 $cppunit_major_version \= $cppunit_major_min \& \
41010 $cppunit_minor_version \= $cppunit_minor_min \& \
41011 $cppunit_micro_version \>= $cppunit_micro_min `
41013 if test "$cppunit_version_proper" = "1" ; then
41014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41015 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41018 $as_echo "no" >&6; }
41023 if test "x$no_cppunit" = x
; then
41024 SUBDIRS
="$SUBDIRS tests"
41035 for subdir
in $SUBDIRS; do
41036 if test -d ${srcdir}/${subdir} ; then
41037 if test "$wxUSE_GUI" = "yes"; then
41038 if test ${subdir} = "samples"; then
41039 makefiles
="samples/Makefile.in $makefiles"
41040 for sample
in $SAMPLES_SUBDIRS; do
41041 if test -d $srcdir/samples
/$sample; then
41042 makefiles
="samples/$sample/Makefile.in $makefiles"
41046 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41047 eval "disabled=\$$disabled_var"
41048 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41049 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41052 if test ${subdir} = "samples"; then
41053 makefiles
="samples/Makefile.in $makefiles"
41054 for sample
in `echo $SAMPLES_SUBDIRS`; do
41055 if test -d $srcdir/samples
/$sample; then
41056 makefiles
="samples/$sample/Makefile.in $makefiles"
41059 elif test ${subdir} = "utils"; then
41061 for util
in ifacecheck
; do
41062 if test -d $srcdir/utils
/$util ; then
41063 makefiles
="utils/$util/src/Makefile.in \
41068 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41072 for mkin
in $makefiles ; do
41073 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41074 ac_config_files
="$ac_config_files $mk"
41080 cat >confcache
<<\_ACEOF
41081 # This file is a shell script that caches the results of configure
41082 # tests run on this system so they can be shared between configure
41083 # scripts and configure runs, see configure's option --config-cache.
41084 # It is not useful on other systems. If it contains results you don't
41085 # want to keep, you may remove or edit it.
41087 # config.status only pays attention to the cache file if you give it
41088 # the --recheck option to rerun configure.
41090 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41091 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41092 # following values.
41096 # The following way of writing the cache mishandles newlines in values,
41097 # but we know of no workaround that is simple, portable, and efficient.
41098 # So, we kill variables containing newlines.
41099 # Ultrix sh set writes to stderr and can't be redirected directly,
41100 # and sets the high bit in the cache file unless we assign to the vars.
41102 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41103 eval ac_val
=\$
$ac_var
41107 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41108 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41111 _
| IFS
| as_nl
) ;; #(
41112 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41113 *) { eval $ac_var=; unset $ac_var;} ;;
41119 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41120 *${as_nl}ac_space
=\
*)
41121 # `set' does not quote correctly, so add quotes: double-quote
41122 # substitution turns \\\\ into \\, and sed turns \\ into \.
41125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41128 # `set' quotes correctly as required by POSIX, so do not add quotes.
41129 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41138 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41140 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41142 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41143 if test -w "$cache_file"; then
41144 if test "x$cache_file" != "x/dev/null"; then
41145 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41146 $as_echo "$as_me: updating cache $cache_file" >&6;}
41147 if test ! -f "$cache_file" || test -h "$cache_file"; then
41148 cat confcache
>"$cache_file"
41150 case $cache_file in #(
41152 mv -f confcache
"$cache_file"$$
&&
41153 mv -f "$cache_file"$$
"$cache_file" ;; #(
41155 mv -f confcache
"$cache_file" ;;
41160 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41161 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41166 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41167 # Let make expand exec_prefix.
41168 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41170 DEFS
=-DHAVE_CONFIG_H
41175 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41176 # 1. Remove the extension, and $U if already installed.
41177 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41178 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41179 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41180 # will be set to the directory where LIBOBJS objects are built.
41181 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41182 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41184 LIBOBJS
=$ac_libobjs
41186 LTLIBOBJS
=$ac_ltlibobjs
41190 : "${CONFIG_STATUS=./config.status}"
41192 ac_clean_files_save
=$ac_clean_files
41193 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41194 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41195 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41197 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41199 # Generated by $as_me.
41200 # Run this file to recreate the current configuration.
41201 # Compiler output produced by configure, useful for debugging
41202 # configure, is in config.log if it exists.
41205 ac_cs_recheck=false
41208 SHELL=\${CONFIG_SHELL-$SHELL}
41211 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41212 ## -------------------- ##
41213 ## M4sh Initialization. ##
41214 ## -------------------- ##
41216 # Be more Bourne compatible
41217 DUALCASE
=1; export DUALCASE
# for MKS sh
41218 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41221 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41222 # is contrary to our usage. Disable this feature.
41223 alias -g '${1+"$@"}'='"$@"'
41224 setopt NO_GLOB_SUBST
41226 case `(set -o) 2>/dev/null` in #(
41238 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41239 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41240 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41241 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41242 # Prefer a ksh shell builtin over an external printf program on Solaris,
41243 # but without wasting forks for bash or zsh.
41244 if test -z "$BASH_VERSION$ZSH_VERSION" \
41245 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41246 as_echo='print
-r --'
41247 as_echo_n='print
-rn --'
41248 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41249 as_echo='printf %s
\n'
41250 as_echo_n='printf %s
'
41252 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41253 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41254 as_echo_n='/usr
/ucb
/echo -n'
41256 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41257 as_echo_n_body='eval
41261 expr "X$arg" : "X\\(.*\\)$as_nl";
41262 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41264 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41266 export as_echo_n_body
41267 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41269 export as_echo_body
41270 as_echo='sh
-c $as_echo_body as_echo
'
41273 # The user is always right.
41274 if test "${PATH_SEPARATOR+set}" != set; then
41276 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41277 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41284 # We need space, tab and new line, in precisely that order. Quoting is
41285 # there to prevent editors from complaining about space-tab.
41286 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41287 # splitting by setting IFS to empty value.)
41290 # Find who we are. Look in the path if we contain no directory separator.
41293 *[\\/]* ) as_myself=$0 ;;
41294 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41295 for as_dir in $PATH
41298 test -z "$as_dir" && as_dir=.
41299 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41305 # We did not find ourselves, most probably we were run as `sh COMMAND'
41306 # in which case we are not to be found in the path.
41307 if test "x$as_myself" = x
; then
41310 if test ! -f "$as_myself"; then
41311 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41315 # Unset variables that we do not need and which cause bugs (e.g. in
41316 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41317 # suppresses any "Segmentation fault" message there. '((' could
41318 # trigger a bug in pdksh 5.2.14.
41319 for as_var
in BASH_ENV ENV MAIL MAILPATH
41320 do eval test x\
${$as_var+set} = xset \
41321 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41334 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41337 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41338 # ----------------------------------------
41339 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41340 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41341 # script with STATUS, using 1 if that was 0.
41344 as_status
=$1; test $as_status -eq 0 && as_status
=1
41346 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41347 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41349 $as_echo "$as_me: error: $2" >&2
41350 as_fn_exit
$as_status
41354 # as_fn_set_status STATUS
41355 # -----------------------
41356 # Set $? to STATUS, without forking.
41357 as_fn_set_status
()
41360 } # as_fn_set_status
41362 # as_fn_exit STATUS
41363 # -----------------
41364 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41368 as_fn_set_status
$1
41374 # Portably unset VAR.
41377 { eval $1=; unset $1;}
41379 as_unset
=as_fn_unset
41380 # as_fn_append VAR VALUE
41381 # ----------------------
41382 # Append the text in VALUE to the end of the definition contained in VAR. Take
41383 # advantage of any shell optimizations that allow amortized linear growth over
41384 # repeated appends, instead of the typical quadratic growth present in naive
41386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41387 eval 'as_fn_append ()
41398 # as_fn_arith ARG...
41399 # ------------------
41400 # Perform arithmetic evaluation on the ARGs, and store the result in the
41401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41402 # must be portable across $(()) and expr.
41403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41404 eval 'as_fn_arith ()
41411 as_val
=`expr "$@" || test $? -eq 1`
41416 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41417 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41423 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41424 as_basename
=basename
41429 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
41435 as_me
=`$as_basename -- "$0" ||
41436 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41437 X"$0" : 'X\(//\)$' \| \
41438 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41440 sed '/^.*\/\([^/][^/]*\)\/*$/{
41454 # Avoid depending upon Character Ranges.
41455 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41456 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41457 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41458 as_cr_digits
='0123456789'
41459 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41461 ECHO_C
= ECHO_N
= ECHO_T
=
41462 case `echo -n x` in #(((((
41464 case `echo 'xy\c'` in
41465 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
41467 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
41474 rm -f conf$$ conf$$.exe conf$$.
file
41475 if test -d conf$$.dir
; then
41476 rm -f conf$$.dir
/conf$$.
file
41479 mkdir conf$$.dir
2>/dev
/null
41481 if (echo >conf$$.
file) 2>/dev
/null
; then
41482 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41484 # ... but there are two gotchas:
41485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41487 # In both cases, we have to default to `cp -pR'.
41488 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
41490 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41498 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
41499 rmdir conf$$.dir
2>/dev
/null
41504 # Create "$as_dir" as a directory, including parents if necessary.
41509 -*) as_dir
=.
/$as_dir;;
41511 test -d "$as_dir" || eval $as_mkdir_p || {
41515 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41516 *) as_qdir
=$as_dir;;
41518 as_dirs
="'$as_qdir' $as_dirs"
41519 as_dir
=`$as_dirname -- "$as_dir" ||
41520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41521 X"$as_dir" : 'X\(//\)[^/]' \| \
41522 X"$as_dir" : 'X\(//\)$' \| \
41523 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41524 $as_echo X"$as_dir" |
41525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41529 /^X\(\/\/\)[^/].*/{
41542 test -d "$as_dir" && break
41544 test -z "$as_dirs" || eval "mkdir $as_dirs"
41545 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
41549 if mkdir -p .
2>/dev
/null
; then
41550 as_mkdir_p
='mkdir -p "$as_dir"'
41552 test -d .
/-p && rmdir .
/-p
41557 # as_fn_executable_p FILE
41558 # -----------------------
41559 # Test if FILE is an executable regular file.
41560 as_fn_executable_p
()
41562 test -f "$1" && test -x "$1"
41563 } # as_fn_executable_p
41564 as_test_x
='test -x'
41565 as_executable_p
=as_fn_executable_p
41567 # Sed expression to map a string onto a valid CPP name.
41568 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41570 # Sed expression to map a string onto a valid variable name.
41571 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41575 ## ----------------------------------- ##
41576 ## Main body of $CONFIG_STATUS script. ##
41577 ## ----------------------------------- ##
41579 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
41581 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41582 # Save the log message, to keep $0 and so on meaningful, and to
41583 # report actual input values of CONFIG_FILES etc. instead of their
41584 # values after options handling.
41586 This file was extended by wxWidgets $as_me 2.9.5, which was
41587 generated by GNU Autoconf 2.69. Invocation command line was
41589 CONFIG_FILES = $CONFIG_FILES
41590 CONFIG_HEADERS = $CONFIG_HEADERS
41591 CONFIG_LINKS = $CONFIG_LINKS
41592 CONFIG_COMMANDS = $CONFIG_COMMANDS
41595 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41600 case $ac_config_files in *"
41601 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
41604 case $ac_config_headers in *"
41605 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
41609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41610 # Files that config.status was made for.
41611 config_files="$ac_config_files"
41612 config_headers="$ac_config_headers"
41613 config_commands="$ac_config_commands"
41617 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41619 \`$as_me' instantiates files and other configuration actions
41620 from templates according to the current configuration. Unless the files
41621 and actions are specified as TAGs, all are instantiated by default.
41623 Usage: $0 [OPTION]... [TAG]...
41625 -h, --help print this help, then exit
41626 -V, --version print version number and configuration settings, then exit
41627 --config print configuration, then exit
41628 -q, --quiet, --silent
41629 do not print progress messages
41630 -d, --debug don't remove temporary files
41631 --recheck update $as_me by reconfiguring in the same conditions
41632 --file=FILE[:TEMPLATE]
41633 instantiate the configuration file FILE
41634 --header=FILE[:TEMPLATE]
41635 instantiate the configuration header FILE
41637 Configuration files:
41640 Configuration headers:
41643 Configuration commands:
41646 Report bugs to <wx-dev@lists.wxwidgets.org>."
41649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41650 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41652 wxWidgets config.status 2.9.5
41653 configured by $0, generated by GNU Autoconf 2.69,
41654 with options \\"\$ac_cs_config\\"
41656 Copyright (C) 2012 Free Software Foundation, Inc.
41657 This config.status script is free software; the Free Software Foundation
41658 gives unlimited permission to copy, distribute and modify it."
41663 test -n "\$AWK" || AWK=awk
41666 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41667 # The default lists apply if the user does not specify any file.
41673 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41674 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
41678 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
41690 # Handling of the options.
41691 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41693 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41694 $as_echo "$ac_cs_version"; exit ;;
41695 --config | --confi | --conf | --con | --co | --c )
41696 $as_echo "$ac_cs_config"; exit ;;
41697 --debug | --debu | --deb | --de | --d | -d )
41699 --file | --fil | --fi | --f )
41702 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41703 '') as_fn_error $?
"missing file argument" ;;
41705 as_fn_append CONFIG_FILES
" '$ac_optarg'"
41706 ac_need_defaults
=false
;;
41707 --header | --heade | --head | --hea )
41710 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41712 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
41713 ac_need_defaults
=false
;;
41715 # Conflict between --help and --header
41716 as_fn_error $?
"ambiguous option: \`$1'
41717 Try \`$0 --help' for more information.";;
41718 --help | --hel | -h )
41719 $as_echo "$ac_cs_usage"; exit ;;
41720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41721 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41724 # This is an error.
41725 -*) as_fn_error $?
"unrecognized option: \`$1'
41726 Try \`$0 --help' for more information." ;;
41728 *) as_fn_append ac_config_targets
" $1"
41729 ac_need_defaults
=false
;;
41735 ac_configure_extra_args
=
41737 if $ac_cs_silent; then
41739 ac_configure_extra_args
="$ac_configure_extra_args --silent"
41743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41744 if \$ac_cs_recheck; then
41745 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41747 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41748 CONFIG_SHELL='$SHELL'
41749 export CONFIG_SHELL
41754 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41758 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41759 ## Running $as_me. ##
41765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41771 infile="$srcdir/include/wx/msw/genrcdefs.h"
41772 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41775 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41776 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41777 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41783 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
41785 # Handling of arguments.
41786 for ac_config_target
in $ac_config_targets
41788 case $ac_config_target in
41789 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41790 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
41791 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41792 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41793 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41794 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
41795 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
41796 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
41797 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
41799 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
41804 # If the user did not use the arguments to specify the items to instantiate,
41805 # then the envvar interface is used. Set only those that are not.
41806 # We use the long form for the default assignment because of an extremely
41807 # bizarre bug on SunOS 4.1.3.
41808 if $ac_need_defaults; then
41809 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
41810 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
41811 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
41814 # Have a temporary directory for convenience. Make it in the build tree
41815 # simply because there is no reason against having it here, and in addition,
41816 # creating and moving files from /tmp can sometimes cause problems.
41817 # Hook for its removal unless debugging.
41818 # Note that there is a small window in which the directory will not be cleaned:
41819 # after its creation but before its name has been assigned to `$tmp'.
41823 trap 'exit_status=$?
41824 : "${ac_tmp:=$tmp}"
41825 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
41827 trap 'as_fn_exit 1' 1 2 13 15
41829 # Create a (secure) tmp directory for tmp files.
41832 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41836 tmp
=.
/conf$$
-$RANDOM
41837 (umask 077 && mkdir "$tmp")
41838 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
41841 # Set up the scripts for CONFIG_FILES section.
41842 # No need to generate them if there are no CONFIG_FILES.
41843 # This happens for instance with `./config.status config.h'.
41844 if test -n "$CONFIG_FILES"; then
41847 ac_cr
=`echo X | tr X '\015'`
41848 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41849 # But we know of no other shell where ac_cr would be empty at this
41850 # point, so we can use a bashism as a fallback.
41851 if test "x$ac_cr" = x
; then
41852 eval ac_cr
=\$
\'\\r
\'
41854 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41855 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41858 ac_cs_awk_cr
=$ac_cr
41861 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
41866 echo "cat >conf$$subs.awk <<_ACEOF" &&
41867 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41869 } >conf$$subs.sh ||
41870 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41871 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41873 for ac_last_try in false false false false false :; do
41874 . ./conf$$subs.sh ||
41875 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41877 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
41878 if test $ac_delim_n = $ac_delim_num; then
41880 elif $ac_last_try; then
41881 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
41883 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
41886 rm -f conf$$subs.sh
41888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41889 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
41893 s/^/S["/; s
/!.
*/"]=/
41903 s/\(.\{148\}\)..*/\1/
41905 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
41910 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
41917 s/\(.\{148\}\)..*/\1/
41919 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
41923 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
41928 ' <conf$$subs.awk | sed '
41933 ' >>$CONFIG_STATUS || ac_write_fail=1
41934 rm -f conf$$subs.awk
41935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41937 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
41938 for (key in S) S_is_set[key] = 1
41944 nfields = split(line, field, "@
")
41946 len = length(field[1])
41947 for (i = 2; i < nfields; i++) {
41949 keylen = length(key)
41950 if (S_is_set[key]) {
41952 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41953 len += length(value) + length(field[++i])
41964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41965 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41966 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
41969 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
41970 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
41973 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
41974 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
41975 # trailing colons and then remove the whole line if VPATH becomes empty
41976 # (actually we leave an empty line to preserve line numbers).
41977 if test "x
$srcdir" = x.; then
41978 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
41996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41997 fi # test -n "$CONFIG_FILES"
41999 # Set up the scripts for CONFIG_HEADERS section.
42000 # No need to generate them if there are no CONFIG_HEADERS.
42001 # This happens for instance with `./config.status Makefile'.
42002 if test -n "$CONFIG_HEADERS"; then
42003 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
42007 # Transform confdefs.h into an awk script `defines.awk', embedded as
42008 # here-document in config.status, that substitutes the proper values into
42009 # config.h.in to produce config.h.
42011 # Create a delimiter string that does not exist in confdefs.h, to ease
42012 # handling of long lines.
42014 for ac_last_try in false false :; do
42015 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
42016 if test -z "$ac_tt"; then
42018 elif $ac_last_try; then
42019 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
42021 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42025 # For the awk script, D is an array of macro values keyed by name,
42026 # likewise P contains macro parameters if any. Preserve backslash
42027 # newline sequences.
42029 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42031 s/.\{148\}/&'"$ac_delim"'/g
42034 s/^[ ]*#[ ]*define[ ][ ]*/ /
42041 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42043 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42047 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42048 D["\
1"]=" \
3\\\\\\n
"\\/p
42050 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42055 s/.\{148\}/&'"$ac_delim"'/g
42060 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42063 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42065 ' <confdefs.h | sed '
42066 s/'"$ac_delim"'/"\\\
42067 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42070 for (key in D) D_is_set[key] = 1
42073 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42075 split(line, arg, " ")
42076 if (arg[1] == "#") {
42080 defundef
= substr
(arg
[1], 2)
42083 split(mac1
, mac2
, "(") #)
42085 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42086 if (D_is_set
[macro
]) {
42087 # Preserve the white space surrounding the "#".
42088 print prefix
"define", macro P
[macro
] D
[macro
]
42091 # Replace #undef with comments. This is necessary, for example,
42092 # in the case of _POSIX_SOURCE, which is predefined and required
42093 # on some systems where configure will not decide to define it.
42094 if (defundef
== "undef") {
42095 print
"/*", prefix defundef
, macro
, "*/"
42103 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42104 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42105 fi # test -n "$CONFIG_HEADERS"
42108 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42113 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42115 case $ac_mode$ac_tag in
42117 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42118 :[FH
]-) ac_tag
=-:-;;
42119 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42136 -) ac_f
="$ac_tmp/stdin";;
42137 *) # Look for the file first in the build tree, then in the source tree
42138 # (if the path is not absolute). The absolute path cannot be DOS-style,
42139 # because $ac_f cannot contain `:'.
42143 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42145 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42147 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42148 as_fn_append ac_file_inputs
" '$ac_f'"
42151 # Let's still pretend it is `configure' which instantiates (i.e., don't
42152 # use $as_me), people would be surprised to read:
42153 # /* config.h. Generated by config.status. */
42154 configure_input
='Generated from '`
42155 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42157 if test x
"$ac_file" != x
-; then
42158 configure_input
="$ac_file. $configure_input"
42159 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42160 $as_echo "$as_me: creating $ac_file" >&6;}
42162 # Neutralize special characters interpreted by sed in replacement strings.
42163 case $configure_input in #(
42164 *\
&* | *\
|* | *\\* )
42165 ac_sed_conf_input
=`$as_echo "$configure_input" |
42166 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42167 *) ac_sed_conf_input
=$configure_input;;
42171 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42172 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42177 ac_dir
=`$as_dirname -- "$ac_file" ||
42178 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42179 X"$ac_file" : 'X\(//\)[^/]' \| \
42180 X"$ac_file" : 'X\(//\)$' \| \
42181 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42182 $as_echo X"$ac_file" |
42183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42187 /^X\(\/\/\)[^/].*/{
42200 as_dir
="$ac_dir"; as_fn_mkdir_p
42204 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42206 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42207 # A ".." for each directory in $ac_dir_suffix.
42208 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42209 case $ac_top_builddir_sub in
42210 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42211 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42214 ac_abs_top_builddir
=$ac_pwd
42215 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42216 # for backward compatibility:
42217 ac_top_builddir
=$ac_top_build_prefix
42220 .
) # We are building in place.
42222 ac_top_srcdir
=$ac_top_builddir_sub
42223 ac_abs_top_srcdir
=$ac_pwd ;;
42224 [\\/]* | ?
:[\\/]* ) # Absolute name.
42225 ac_srcdir
=$srcdir$ac_dir_suffix;
42226 ac_top_srcdir
=$srcdir
42227 ac_abs_top_srcdir
=$srcdir ;;
42228 *) # Relative name.
42229 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42230 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42231 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42233 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42243 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42244 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42248 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42249 # If the template does not know about datarootdir, expand it.
42250 # FIXME: This hack should be removed a few years after 2.60.
42251 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42262 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42263 *datarootdir
*) ac_datarootdir_seen
=yes;;
42264 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42266 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42269 ac_datarootdir_hack='
42270 s&@datadir@&$datadir&g
42271 s&@docdir@&$docdir&g
42272 s&@infodir@&$infodir&g
42273 s&@localedir@&$localedir&g
42274 s&@mandir@&$mandir&g
42275 s&\\\${datarootdir}&$datarootdir&g' ;;
42279 # Neutralize VPATH when `$srcdir' = `.'.
42280 # Shell code in configure.ac might set extrasub.
42281 # FIXME: do we really want to maintain this feature?
42282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42283 ac_sed_extra="$ac_vpsub
42286 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42288 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42289 s
|@configure_input@
|$ac_sed_conf_input|;t t
42290 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42291 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42292 s
&@srcdir@
&$ac_srcdir&;t t
42293 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42294 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42295 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42296 s
&@builddir@
&$ac_builddir&;t t
42297 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42298 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42299 s
&@INSTALL@
&$ac_INSTALL&;t t
42300 $ac_datarootdir_hack
42302 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42303 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42305 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42306 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42307 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42308 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42310 which seems to be undefined. Please make sure it is defined" >&5
42311 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42312 which seems to be undefined. Please make sure it is defined" >&2;}
42314 rm -f "$ac_tmp/stdin"
42316 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42317 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42319 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42325 if test x"$ac_file" != x-; then
42327 $as_echo "/* $configure_input */" \
42328 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42329 } >"$ac_tmp/config.h" \
42330 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42331 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42332 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42333 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42336 mv "$ac_tmp/config.h" "$ac_file" \
42337 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42340 $as_echo "/* $configure_input */" \
42341 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42342 || as_fn_error $? "could not create -" "$LINENO" 5
42346 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42347 $as_echo "$as_me: executing $ac_file commands" >&6;}
42352 case $ac_file$ac_mode in
42354 mkdir -p $outdir &&
42355 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42357 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42358 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42359 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42360 "wx-config":C
) rm -f wx
-config
42361 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42370 ac_clean_files
=$ac_clean_files_save
42372 test $ac_write_fail = 0 ||
42373 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42376 # configure is writing to config.log, and then calls config.status.
42377 # config.status does its own redirection, appending to config.log.
42378 # Unfortunately, on DOS this fails, as config.log is still kept open
42379 # by configure, so config.status won't be able to write to it; its
42380 # output is simply discarded. So we exec the FD to /dev/null,
42381 # effectively closing config.log, so it can be properly (re)opened and
42382 # appended to by config.status. When coming back to configure, we
42383 # need to make the FD available again.
42384 if test "$no_create" != yes; then
42386 ac_config_status_args
=
42387 test "$silent" = yes &&
42388 ac_config_status_args
="$ac_config_status_args --quiet"
42390 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42392 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42393 # would make configure fail if this is the last instruction.
42394 $ac_cs_success || as_fn_exit
1
42398 # CONFIG_SUBDIRS section.
42400 if test "$no_recursion" != yes; then
42402 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42403 # so they do not pile up.
42404 ac_sub_configure_args
=
42406 eval "set x $ac_configure_args"
42410 if test -n "$ac_prev"; then
42415 -cache-file | --cache-file | --cache-fil | --cache-fi \
42416 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42417 ac_prev
=cache_file
;;
42418 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42419 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42422 --config-cache | -C)
42424 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42426 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42428 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42430 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42432 --disable-option-checking)
42436 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42438 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
42442 # Always prepend --prefix to ensure using the same prefix
42443 # in subdir configurations.
42444 ac_arg
="--prefix=$prefix"
42446 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42448 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
42451 if test "$silent" = yes; then
42452 ac_sub_configure_args
="--silent $ac_sub_configure_args"
42455 # Always prepend --disable-option-checking to silence warnings, since
42456 # different subdirs can have different --enable and --with options.
42457 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
42460 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42462 # Do not complain, so a configure script can configure whichever
42463 # parts of a large source tree are present.
42464 test -d "$srcdir/$ac_dir" || continue
42466 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42467 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42468 $as_echo "$ac_msg" >&6
42469 as_dir
="$ac_dir"; as_fn_mkdir_p
42473 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42475 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42476 # A ".." for each directory in $ac_dir_suffix.
42477 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42478 case $ac_top_builddir_sub in
42479 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42480 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42483 ac_abs_top_builddir
=$ac_pwd
42484 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42485 # for backward compatibility:
42486 ac_top_builddir
=$ac_top_build_prefix
42489 .
) # We are building in place.
42491 ac_top_srcdir
=$ac_top_builddir_sub
42492 ac_abs_top_srcdir
=$ac_pwd ;;
42493 [\\/]* | ?
:[\\/]* ) # Absolute name.
42494 ac_srcdir
=$srcdir$ac_dir_suffix;
42495 ac_top_srcdir
=$srcdir
42496 ac_abs_top_srcdir
=$srcdir ;;
42497 *) # Relative name.
42498 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42499 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42500 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42502 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42507 # Check for guested configure; otherwise get Cygnus style configure.
42508 if test -f "$ac_srcdir/configure.gnu"; then
42509 ac_sub_configure
=$ac_srcdir/configure.gnu
42510 elif test -f "$ac_srcdir/configure"; then
42511 ac_sub_configure
=$ac_srcdir/configure
42512 elif test -f "$ac_srcdir/configure.in"; then
42513 # This should be Cygnus configure.
42514 ac_sub_configure
=$ac_aux_dir/configure
42516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42517 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42521 # The recursion is here.
42522 if test -n "$ac_sub_configure"; then
42523 # Make the cache file name correct relative to the subdirectory.
42524 case $cache_file in
42525 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42526 *) # Relative name.
42527 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
42530 { $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
42531 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42532 # The eval makes quoting arguments work.
42533 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42534 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42535 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42541 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
42542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42543 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42548 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42550 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42551 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42552 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42553 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42554 if test "$wxUSE_UNICODE" = "yes"; then
42555 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42556 echo " (using UTF-8)"
42558 echo " (using wchar_t)"
42564 echo " What level of wxWidgets compatibility should be enabled?"
42565 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42566 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42568 echo " Which libraries should wxWidgets use?"
42569 echo " STL ${wxUSE_STL}"
42570 echo " jpeg ${wxUSE_LIBJPEG-none}"
42571 echo " png ${wxUSE_LIBPNG-none}"
42572 echo " regex ${wxUSE_REGEX}"
42573 echo " tiff ${wxUSE_LIBTIFF-none}"
42574 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42575 echo " xpm ${wxUSE_LIBXPM-none}"
42577 echo " zlib ${wxUSE_ZLIB}"
42578 echo " expat ${wxUSE_EXPAT}"
42579 echo " libmspack ${wxUSE_LIBMSPACK}"
42580 echo " sdl ${wxUSE_LIBSDL}"