2 # From configure.in Id: configure.in 59914 2009-03-29 17:15:43Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 if (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 ||
84 # Support unset when possible.
85 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93 # We need space, tab and new line, in precisely that order. Quoting is
94 # there to prevent editors from complaining about space-tab.
95 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
96 # splitting by setting IFS to empty value.)
99 # Find who we are. Look in the path if we contain no directory separator.
101 *[\\/]* ) as_myself=$0 ;;
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 test -z "$as_dir" && as_dir=.
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
113 # We did not find ourselves, most probably we were run as `sh COMMAND'
114 # in which case we are not to be found in the path.
115 if test "x$as_myself" = x
; then
118 if test ! -f "$as_myself"; then
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 { (exit 1); exit 1; }
123 # Work around bugs in pre-3.0 UWIN ksh.
124 for as_var
in ENV MAIL MAILPATH
125 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
137 # Required to use basename.
138 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
139 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
145 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
152 # Name of the executable.
153 as_me
=`$as_basename -- "$0" ||
154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155 X"$0" : 'X\(//\)$' \| \
156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 sed '/^.*\/\([^/][^/]*\)\/*$/{
176 if test "x$CONFIG_SHELL" = x
; then
177 if (eval ":") 2>/dev
/null
; then
183 if test $as_have_required = yes && (eval ":
193 as_func_ret_success () {
196 as_func_ret_failure () {
201 if as_func_success; then
205 echo as_func_success failed.
208 if as_func_failure; then
210 echo as_func_failure succeeded.
213 if as_func_ret_success; then
217 echo as_func_ret_success failed.
220 if as_func_ret_failure; then
222 echo as_func_ret_failure succeeded.
225 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
229 echo positional parameters were not saved.
232 test \$exitcode = 0) || { (exit 1); exit 1; }
237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239 ") 2> /dev
/null
; then
243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
244 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
247 test -z "$as_dir" && as_dir
=.
250 for as_base
in sh bash ksh sh5
; do
251 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
258 for as_shell
in $as_candidate_shells $SHELL; do
259 # Try only shells that exist, to save several forks.
260 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
261 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix
*) set -o posix
;;
280 CONFIG_SHELL
=$as_shell
282 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
283 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287 # is contrary to our usage. Disable this feature.
288 alias -g '${1+"$@"}'='"$@"'
291 case `(set -o) 2>/dev/null` in
292 *posix
*) set -o posix
;;
308 as_func_ret_success
() {
311 as_func_ret_failure
() {
316 if as_func_success
; then
320 echo as_func_success failed.
323 if as_func_failure
; then
325 echo as_func_failure succeeded.
328 if as_func_ret_success
; then
332 echo as_func_ret_success failed.
335 if as_func_ret_failure
; then
337 echo as_func_ret_failure succeeded.
340 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
344 echo positional parameters were not saved.
347 test $exitcode = 0) || { (exit 1); exit 1; }
352 test "x$as_lineno_1" != "x$as_lineno_2" &&
353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
364 if test "x$CONFIG_SHELL" != x
; then
365 for as_var
in BASH_ENV ENV
366 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
373 if test $as_have_required = no
; then
374 echo This
script requires a shell
more modern than all the
375 echo shells that I found on your system. Please
install a
376 echo modern shell
, or manually run the
script under such a
377 echo shell
if you
do have one.
378 { (exit 1); exit 1; }
388 (eval "as_func_return () {
397 as_func_ret_success () {
400 as_func_ret_failure () {
405 if as_func_success; then
409 echo as_func_success failed.
412 if as_func_failure; then
414 echo as_func_failure succeeded.
417 if as_func_ret_success; then
421 echo as_func_ret_success failed.
424 if as_func_ret_failure; then
426 echo as_func_ret_failure succeeded.
429 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
433 echo positional parameters were not saved.
436 test \$exitcode = 0") || {
437 echo No shell found that supports shell functions.
438 echo Please tell bug
-autoconf@gnu.org about your system
,
439 echo including any error possibly output before this message.
440 echo This can
help us improve future autoconf versions.
441 echo Configuration will now proceed without shell functions.
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a
453 # line-number line after each line using $LINENO; the second 'sed'
454 # does the real work. The second script uses 'N' to pair each
455 # line-number line with the line containing $LINENO, and appends
456 # trailing '-' during substitution so that $LINENO is not a special
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
476 chmod +x
"$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478 { (exit 1); exit 1; }; }
480 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the
482 # original and so on. Autoconf is especially sensitive to this).
484 # Exit status is that of the last command.
489 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
495 ECHO_C
= ECHO_N
= ECHO_T
=
499 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -p'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir -p .
2>/dev
/null
; then
542 test -d .
/-p && rmdir .
/-p
546 if test -x / >/dev
/null
2>&1; then
549 if ls -dL / >/dev
/null
2>&1; then
556 if test -d "$1"; then
562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
563 ???[sx]*):;;*)false;;esac;fi
567 as_executable_p
=$as_test_x
569 # Sed expression to map a string onto a valid CPP name.
570 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
572 # Sed expression to map a string onto a valid variable name.
573 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 exec 7<&0 </dev
/null
6>&1
580 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
581 # so uname gets run too.
582 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
587 ac_default_prefix
=/usr
/local
589 ac_config_libobj_dir
=.
595 SHELL
=${CONFIG_SHELL-/bin/sh}
597 # Identity of this package.
598 PACKAGE_NAME
='wxWidgets'
599 PACKAGE_TARNAME
='wxwidgets'
600 PACKAGE_VERSION
='2.9.0'
601 PACKAGE_STRING
='wxWidgets 2.9.0'
602 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
604 ac_unique_file
="wx-config.in"
605 # Factoring default headers for most tests.
606 ac_includes_default
="\
608 #ifdef HAVE_SYS_TYPES_H
609 # include <sys/types.h>
611 #ifdef HAVE_SYS_STAT_H
612 # include <sys/stat.h>
618 # ifdef HAVE_STDLIB_H
623 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
628 #ifdef HAVE_STRINGS_H
629 # include <strings.h>
631 #ifdef HAVE_INTTYPES_H
632 # include <inttypes.h>
641 enable_option_checking
=no
642 ac_subst_vars
='LTLIBOBJS
650 WX_RESOURCES_MACOSX_DATA
651 WX_RESOURCES_MACOSX_ASCII
683 WX_LIBRARY_BASENAME_GUI
684 WX_LIBRARY_BASENAME_NOGUI
687 COND_wxUSE_ZLIB_builtin
688 COND_wxUSE_REGEX_builtin
689 COND_wxUSE_LIBTIFF_builtin
690 COND_wxUSE_LIBPNG_builtin
691 COND_wxUSE_LIBJPEG_builtin
692 COND_wxUSE_EXPAT_builtin
693 COND_WXUSE_ZLIB_BUILTIN
694 COND_WXUSE_REGEX_BUILTIN
695 COND_WXUSE_LIBTIFF_BUILTIN
696 COND_WXUSE_LIBPNG_BUILTIN
697 COND_WXUSE_LIBJPEG_BUILTIN
698 COND_WXUSE_EXPAT_BUILTIN
701 COND_WITH_PLUGIN_SDL_1
702 COND_WINDOWS_IMPLIB_1
707 COND_USE_SOVERSOLARIS_1
709 COND_USE_SOVERLINUX_1
710 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
711 COND_USE_SOSYMLINKS_1
717 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
718 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
719 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
720 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
721 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
722 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
723 COND_USE_GUI_1_WXUNIV_1
724 COND_USE_GUI_1_WXUNIV_0
725 COND_USE_GUI_1_USE_OPENGL_1
728 COND_USE_EXCEPTIONS_1
729 COND_USE_EXCEPTIONS_0
731 COND_TOOLKIT_X11_USE_GUI_1
733 COND_TOOLKIT_WINCE_WXUNIV_0
734 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
735 COND_TOOLKIT_WINCE_USE_GUI_1
737 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
738 COND_TOOLKIT_PM_USE_GUI_1
740 COND_TOOLKIT_OSX_IPHONE
741 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
742 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
743 COND_TOOLKIT_OSX_COCOA
744 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
745 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
746 COND_TOOLKIT_OSX_CARBON
747 COND_TOOLKIT_MSW_WXUNIV_0
748 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
749 COND_TOOLKIT_MSW_USE_GUI_1
751 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
752 COND_TOOLKIT_MOTIF_USE_GUI_1
754 COND_TOOLKIT_MGL_USE_GUI_1
757 COND_TOOLKIT_GTK_USE_GUI_1
758 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
759 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
760 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
761 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
762 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
763 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
765 COND_TOOLKIT_DFB_USE_GUI_1
767 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
768 COND_TOOLKIT_COCOA_USE_GUI_1
771 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
773 COND_SHARED_0_wxUSE_ZLIB_builtin
774 COND_SHARED_0_wxUSE_REGEX_builtin
775 COND_SHARED_0_wxUSE_EXPAT_builtin
776 COND_SHARED_0_USE_STC_1
777 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
778 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
779 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
780 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
781 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
782 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
783 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
785 COND_PLATFORM_WIN32_1
786 COND_PLATFORM_WIN32_0
787 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
788 COND_PLATFORM_UNIX_1_USE_GUI_1
789 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
790 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
794 COND_PLATFORM_MSDOS_1
795 COND_PLATFORM_MSDOS_0
798 COND_PLATFORM_MACOS_1
799 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
800 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
801 COND_PLATFORM_MACOSX_1_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
803 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
805 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
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_STC_1
817 COND_MONOLITHIC_0_USE_RICHTEXT_1
818 COND_MONOLITHIC_0_USE_QA_1
819 COND_MONOLITHIC_0_USE_PROPGRID_1
820 COND_MONOLITHIC_0_USE_MEDIA_1
821 COND_MONOLITHIC_0_USE_HTML_1
822 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
823 COND_MONOLITHIC_0_USE_GUI_1
824 COND_MONOLITHIC_0_USE_AUI_1
825 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
826 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
827 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
828 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
833 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
838 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0
853 COND_BUILD_release_UNICODE_1
854 COND_BUILD_release_UNICODE_0
855 COND_BUILD_release_DEBUG_INFO_default
857 COND_BUILD_debug_UNICODE_1
858 COND_BUILD_debug_UNICODE_0
859 COND_BUILD_debug_DEBUG_INFO_default
860 COND_BUILD_debug_DEBUG_FLAG_default
862 COND_BUILD_RELEASE_UNICODE_1
863 COND_BUILD_RELEASE_UNICODE_0
864 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
866 COND_BUILD_DEBUG_UNICODE_1
867 COND_BUILD_DEBUG_UNICODE_0
868 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
869 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
873 ICC_PCH_CREATE_SWITCH
978 LIBGNOMEPRINTUI_CFLAGS
1056 program_transform_name
1068 enable_option_checking
1074 enable_official_build
1112 with_macosx_version_min
1116 enable_std_iostreams
1122 enable_extended_rtti
1132 enable_no_exceptions
1135 enable_vararg_macros
1136 enable_universal_binary
1140 enable_objc_uniquifying
1167 enable_dynamicloader
1181 enable_printfposparam
1187 enable_system_options
1196 enable_protocol_http
1198 enable_protocol_file
1267 enable_rearrangectrl
1313 enable_accessibility
1332 with_gtk_exec_prefix
1334 with_libiconv_prefix
1336 with_sdl_exec_prefix
1338 enable_dependency_tracking
1339 enable_precomp_headers
1341 with_cppunit_exec_prefix
1343 ac_precious_vars
='build_alias
1367 LIBGNOMEPRINTUI_CFLAGS
1368 LIBGNOMEPRINTUI_LIBS
1377 ac_subdirs_all
='src/tiff
1380 # Initialize some variables set by options.
1382 ac_init_version
=false
1383 ac_unrecognized_opts
=
1384 ac_unrecognized_sep
=
1385 # The variables have the same names as the options, with
1386 # dashes changed to underlines.
1387 cache_file
=/dev
/null
1394 program_transform_name
=s
,x
,x
,
1402 # Installation directory options.
1403 # These are left unexpanded so users can "make install exec_prefix=/foo"
1404 # and all the variables that are supposed to be based on exec_prefix
1405 # by default will actually change.
1406 # Use braces instead of parens because sh, perl, etc. also accept them.
1407 # (The list follows the same order as the GNU Coding Standards.)
1408 bindir
='${exec_prefix}/bin'
1409 sbindir
='${exec_prefix}/sbin'
1410 libexecdir
='${exec_prefix}/libexec'
1411 datarootdir
='${prefix}/share'
1412 datadir
='${datarootdir}'
1413 sysconfdir
='${prefix}/etc'
1414 sharedstatedir
='${prefix}/com'
1415 localstatedir
='${prefix}/var'
1416 includedir
='${prefix}/include'
1417 oldincludedir
='/usr/include'
1418 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1419 infodir
='${datarootdir}/info'
1424 libdir
='${exec_prefix}/lib'
1425 localedir
='${datarootdir}/locale'
1426 mandir
='${datarootdir}/man'
1432 # If the previous option needs an argument, assign it.
1433 if test -n "$ac_prev"; then
1434 eval $ac_prev=\
$ac_option
1440 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1444 # Accept the important Cygnus configure options, so we can diagnose typos.
1446 case $ac_dashdash$ac_option in
1450 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1452 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1453 bindir
=$ac_optarg ;;
1455 -build | --build | --buil | --bui | --bu)
1456 ac_prev
=build_alias
;;
1457 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1458 build_alias
=$ac_optarg ;;
1460 -cache-file | --cache-file | --cache-fil | --cache-fi \
1461 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1462 ac_prev
=cache_file
;;
1463 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1464 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1465 cache_file
=$ac_optarg ;;
1467 --config-cache | -C)
1468 cache_file
=config.cache
;;
1470 -datadir | --datadir | --datadi | --datad)
1472 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1473 datadir
=$ac_optarg ;;
1475 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1476 | --dataroo | --dataro | --datar)
1477 ac_prev
=datarootdir
;;
1478 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1479 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1480 datarootdir
=$ac_optarg ;;
1482 -disable-* | --disable-*)
1483 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1484 # Reject names that are not valid shell variable names.
1485 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1486 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1487 { (exit 1); exit 1; }; }
1488 ac_useropt_orig
=$ac_useropt
1489 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1490 case $ac_user_opts in
1492 "enable_
$ac_useropt"
1494 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1495 ac_unrecognized_sep
=', ';;
1497 eval enable_
$ac_useropt=no
;;
1499 -docdir | --docdir | --docdi | --doc | --do)
1501 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1502 docdir
=$ac_optarg ;;
1504 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1506 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1507 dvidir
=$ac_optarg ;;
1509 -enable-* | --enable-*)
1510 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1511 # Reject names that are not valid shell variable names.
1512 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1513 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1514 { (exit 1); exit 1; }; }
1515 ac_useropt_orig
=$ac_useropt
1516 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1517 case $ac_user_opts in
1519 "enable_
$ac_useropt"
1521 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1522 ac_unrecognized_sep
=', ';;
1524 eval enable_
$ac_useropt=\
$ac_optarg ;;
1526 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1527 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1528 | --exec | --exe | --ex)
1529 ac_prev
=exec_prefix
;;
1530 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1531 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1532 | --exec=* | --exe=* | --ex=*)
1533 exec_prefix
=$ac_optarg ;;
1535 -gas | --gas | --ga | --g)
1536 # Obsolete; use --with-gas.
1539 -help | --help | --hel | --he | -h)
1540 ac_init_help
=long
;;
1541 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1542 ac_init_help
=recursive
;;
1543 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1544 ac_init_help
=short
;;
1546 -host | --host | --hos | --ho)
1547 ac_prev
=host_alias
;;
1548 -host=* | --host=* | --hos=* | --ho=*)
1549 host_alias
=$ac_optarg ;;
1551 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1553 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1555 htmldir
=$ac_optarg ;;
1557 -includedir | --includedir | --includedi | --included | --include \
1558 | --includ | --inclu | --incl | --inc)
1559 ac_prev
=includedir
;;
1560 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1561 | --includ=* | --inclu=* | --incl=* | --inc=*)
1562 includedir
=$ac_optarg ;;
1564 -infodir | --infodir | --infodi | --infod | --info | --inf)
1566 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1567 infodir
=$ac_optarg ;;
1569 -libdir | --libdir | --libdi | --libd)
1571 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1572 libdir
=$ac_optarg ;;
1574 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1575 | --libexe | --libex | --libe)
1576 ac_prev
=libexecdir
;;
1577 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1578 | --libexe=* | --libex=* | --libe=*)
1579 libexecdir
=$ac_optarg ;;
1581 -localedir | --localedir | --localedi | --localed | --locale)
1582 ac_prev
=localedir
;;
1583 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1584 localedir
=$ac_optarg ;;
1586 -localstatedir | --localstatedir | --localstatedi | --localstated \
1587 | --localstate | --localstat | --localsta | --localst | --locals)
1588 ac_prev
=localstatedir
;;
1589 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1590 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1591 localstatedir
=$ac_optarg ;;
1593 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1595 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1596 mandir
=$ac_optarg ;;
1598 -nfp | --nfp | --nf)
1599 # Obsolete; use --without-fp.
1602 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1603 | --no-cr | --no-c | -n)
1606 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1607 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1610 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1611 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1612 | --oldin | --oldi | --old | --ol | --o)
1613 ac_prev
=oldincludedir
;;
1614 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1615 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1616 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1617 oldincludedir
=$ac_optarg ;;
1619 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1621 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1622 prefix
=$ac_optarg ;;
1624 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1625 | --program-pre | --program-pr | --program-p)
1626 ac_prev
=program_prefix
;;
1627 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1628 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1629 program_prefix
=$ac_optarg ;;
1631 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1632 | --program-suf | --program-su | --program-s)
1633 ac_prev
=program_suffix
;;
1634 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1635 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1636 program_suffix
=$ac_optarg ;;
1638 -program-transform-name | --program-transform-name \
1639 | --program-transform-nam | --program-transform-na \
1640 | --program-transform-n | --program-transform- \
1641 | --program-transform | --program-transfor \
1642 | --program-transfo | --program-transf \
1643 | --program-trans | --program-tran \
1644 | --progr-tra | --program-tr | --program-t)
1645 ac_prev
=program_transform_name
;;
1646 -program-transform-name=* | --program-transform-name=* \
1647 | --program-transform-nam=* | --program-transform-na=* \
1648 | --program-transform-n=* | --program-transform-=* \
1649 | --program-transform=* | --program-transfor=* \
1650 | --program-transfo=* | --program-transf=* \
1651 | --program-trans=* | --program-tran=* \
1652 | --progr-tra=* | --program-tr=* | --program-t=*)
1653 program_transform_name
=$ac_optarg ;;
1655 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1657 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1658 pdfdir
=$ac_optarg ;;
1660 -psdir | --psdir | --psdi | --psd | --ps)
1662 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1665 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1666 | -silent | --silent | --silen | --sile | --sil)
1669 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1671 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1673 sbindir
=$ac_optarg ;;
1675 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1676 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1677 | --sharedst | --shareds | --shared | --share | --shar \
1679 ac_prev
=sharedstatedir
;;
1680 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1681 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1682 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1684 sharedstatedir
=$ac_optarg ;;
1686 -site | --site | --sit)
1688 -site=* | --site=* | --sit=*)
1691 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1693 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1694 srcdir
=$ac_optarg ;;
1696 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1697 | --syscon | --sysco | --sysc | --sys | --sy)
1698 ac_prev
=sysconfdir
;;
1699 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1700 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1701 sysconfdir
=$ac_optarg ;;
1703 -target | --target | --targe | --targ | --tar | --ta | --t)
1704 ac_prev
=target_alias
;;
1705 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1706 target_alias
=$ac_optarg ;;
1708 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1711 -version | --version | --versio | --versi | --vers | -V)
1712 ac_init_version
=: ;;
1715 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1716 # Reject names that are not valid shell variable names.
1717 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1718 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1719 { (exit 1); exit 1; }; }
1720 ac_useropt_orig
=$ac_useropt
1721 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1722 case $ac_user_opts in
1726 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1727 ac_unrecognized_sep
=', ';;
1729 eval with_
$ac_useropt=\
$ac_optarg ;;
1731 -without-* | --without-*)
1732 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1733 # Reject names that are not valid shell variable names.
1734 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1735 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1736 { (exit 1); exit 1; }; }
1737 ac_useropt_orig
=$ac_useropt
1738 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1739 case $ac_user_opts in
1743 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1744 ac_unrecognized_sep
=', ';;
1746 eval with_
$ac_useropt=no
;;
1749 # Obsolete; use --with-x.
1752 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1753 | --x-incl | --x-inc | --x-in | --x-i)
1754 ac_prev
=x_includes
;;
1755 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1756 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1757 x_includes
=$ac_optarg ;;
1759 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1760 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1761 ac_prev
=x_libraries
;;
1762 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1763 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1764 x_libraries
=$ac_optarg ;;
1766 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1767 Try \`$0 --help' for more information." >&2
1768 { (exit 1); exit 1; }; }
1772 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1773 # Reject names that are not valid shell variable names.
1774 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1775 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1776 { (exit 1); exit 1; }; }
1777 eval $ac_envvar=\
$ac_optarg
1778 export $ac_envvar ;;
1781 # FIXME: should be removed in autoconf 3.0.
1782 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1783 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1784 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1785 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1791 if test -n "$ac_prev"; then
1792 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1793 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1794 { (exit 1); exit 1; }; }
1797 if test -n "$ac_unrecognized_opts"; then
1798 case $enable_option_checking in
1800 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1801 { (exit 1); exit 1; }; } ;;
1802 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1806 # Check all directory arguments for consistency.
1807 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1808 datadir sysconfdir sharedstatedir localstatedir includedir \
1809 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1810 libdir localedir mandir
1812 eval ac_val
=\$
$ac_var
1813 # Remove trailing slashes.
1816 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1817 eval $ac_var=\
$ac_val;;
1819 # Be sure to have absolute directory names.
1821 [\\/$
]* | ?
:[\\/]* ) continue;;
1822 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1824 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1825 { (exit 1); exit 1; }; }
1828 # There might be people who depend on the old broken behavior: `$host'
1829 # used to hold the argument of --host etc.
1830 # FIXME: To remove some day.
1833 target
=$target_alias
1835 # FIXME: To remove some day.
1836 if test "x$host_alias" != x
; then
1837 if test "x$build_alias" = x
; then
1838 cross_compiling
=maybe
1839 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1840 If a cross compiler is detected then cross compile mode will be used." >&2
1841 elif test "x$build_alias" != "x$host_alias"; then
1847 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1849 test "$silent" = yes && exec 6>/dev
/null
1852 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1853 ac_ls_di
=`ls -di .` &&
1854 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1855 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1856 { (exit 1); exit 1; }; }
1857 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1858 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1859 { (exit 1); exit 1; }; }
1862 # Find the source files, if location was not specified.
1863 if test -z "$srcdir"; then
1864 ac_srcdir_defaulted
=yes
1865 # Try the directory containing this script, then the parent directory.
1866 ac_confdir
=`$as_dirname -- "$as_myself" ||
1867 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1868 X"$as_myself" : 'X\(//\)[^/]' \| \
1869 X"$as_myself" : 'X\(//\)$' \| \
1870 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1871 $as_echo X"$as_myself" |
1872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1890 if test ! -r "$srcdir/$ac_unique_file"; then
1894 ac_srcdir_defaulted
=no
1896 if test ! -r "$srcdir/$ac_unique_file"; then
1897 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1898 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1899 { (exit 1); exit 1; }; }
1901 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1903 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1904 { (exit 1); exit 1; }; }
1906 # When building in place, set srcdir=.
1907 if test "$ac_abs_confdir" = "$ac_pwd"; then
1910 # Remove unnecessary trailing slashes from srcdir.
1911 # Double slashes in file names in object file debugging info
1912 # mess up M-x gdb in Emacs.
1914 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1916 for ac_var
in $ac_precious_vars; do
1917 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1918 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1919 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1920 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1924 # Report the --help message.
1926 if test "$ac_init_help" = "long"; then
1927 # Omit some internal or obsolete options to make the list less imposing.
1928 # This message is too long to be a string in the A/UX 3.1 sh.
1930 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1932 Usage: $0 [OPTION]... [VAR=VALUE]...
1934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1935 VAR=VALUE. See below for descriptions of some of the useful variables.
1937 Defaults for the options are specified in brackets.
1940 -h, --help display this help and exit
1941 --help=short display options specific to this package
1942 --help=recursive display the short help of all the included packages
1943 -V, --version display version information and exit
1944 -q, --quiet, --silent do not print \`checking...' messages
1945 --cache-file=FILE cache test results in FILE [disabled]
1946 -C, --config-cache alias for \`--cache-file=config.cache'
1947 -n, --no-create do not create output files
1948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1950 Installation directories:
1951 --prefix=PREFIX install architecture-independent files in PREFIX
1952 [$ac_default_prefix]
1953 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1956 By default, \`make install' will install all the files in
1957 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1958 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1959 for instance \`--prefix=\$HOME'.
1961 For better control, use the options below.
1963 Fine tuning of the installation directories:
1964 --bindir=DIR user executables [EPREFIX/bin]
1965 --sbindir=DIR system admin executables [EPREFIX/sbin]
1966 --libexecdir=DIR program executables [EPREFIX/libexec]
1967 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1968 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1969 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1970 --libdir=DIR object code libraries [EPREFIX/lib]
1971 --includedir=DIR C header files [PREFIX/include]
1972 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1973 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1974 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1975 --infodir=DIR info documentation [DATAROOTDIR/info]
1976 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1977 --mandir=DIR man documentation [DATAROOTDIR/man]
1978 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1979 --htmldir=DIR html documentation [DOCDIR]
1980 --dvidir=DIR dvi documentation [DOCDIR]
1981 --pdfdir=DIR pdf documentation [DOCDIR]
1982 --psdir=DIR ps documentation [DOCDIR]
1988 --x-includes=DIR X include files are
in DIR
1989 --x-libraries=DIR X library files are
in DIR
1992 --build=BUILD configure
for building on BUILD
[guessed
]
1993 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1997 if test -n "$ac_init_help"; then
1998 case $ac_init_help in
1999 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
2004 --disable-option-checking ignore unrecognized
--enable/--with options
2005 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2006 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2007 --disable-gui don
't build GUI parts of the library
2008 --enable-monolithic build wxWidgets as single library
2009 --enable-plugins build parts of wxWidgets as loadable components
2010 --enable-official_build official build of wxWidgets (win32 DLL only)
2011 --enable-vendor=VENDOR vendor name (win32 DLL only)
2012 --disable-all-features disable all optional features to build minimal library
2013 --enable-universal use wxWidgets GUI controls instead of native ones
2014 --enable-nanox use NanoX
2015 --disable-gtk2 use GTK+ 1.2 instead of 2.0
2016 --enable-gpe use GNOME PDA Environment features if possible
2017 --disable-shared create static library instead of shared
2018 --enable-debug same as debug_flag and debug_info
2019 --enable-stl use STL for containers
2020 --enable-std_iostreams use standard C++ stream classes
2021 --enable-std_string use standard C++ string classes
2022 --disable-unicode compile without Unicode support
2023 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2024 --enable-utf8 use UTF-8 representation for strings (Unix only)
2025 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2026 --enable-extended_rtti use extended RTTI (XTI)
2027 --enable-omf use OMF object format
2028 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
2029 --enable-debug_info create code with debugging information
2030 --disable-optimise compile without optimisations
2031 --enable-debug_gdb create code with extra GDB debugging information
2032 --enable-debug_cntxt use wxDebugContext
2033 --enable-mem_tracing create code with memory tracing
2034 --enable-profile create code with profiling information
2035 --enable-no_rtti create code without RTTI information
2036 --enable-no_exceptions create code without C++ exceptions handling
2037 --enable-permissive compile code disregarding strict ANSI
2038 --enable-no_deps create code without dependency information
2039 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2040 --enable-universal_binary create Mac PowerPC and Intel Universal binary
2041 --enable-compat26 enable wxWidgets
2.6 compatibility
2042 --disable-compat28 disable wxWidgets
2.8 compatibility
2043 --disable-rpath disable use of rpath
for uninstalled builds
2044 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2045 --disable-visibility disable use of ELF symbols visibility even
if supported
2046 --enable-intl use internationalization system
2047 --enable-xlocale use x
-locale support
(requires wxLocale
)
2048 --enable-config use wxConfig
(and derived
) classes
2049 --enable-protocols use wxProtocol and derived classes
2050 --enable-ftp use wxFTP
(requires wxProtocol
2051 --enable-http use wxHTTP
(requires wxProtocol
2052 --enable-fileproto use wxFileProto class
(requires wxProtocol
2053 --enable-sockets use socket
/network classes
2054 --enable-ipv6 enable IPv6 support
in wxSocket
2055 --enable-ole use OLE classes
(Win32 only
)
2056 --enable-dataobj use data object classes
2057 --enable-ipc use interprocess communication
(wxSocket etc.
)
2058 --enable-baseevtloop use event loop
in console programs too
2059 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2060 --enable-selectloop use wxSelectDispatcher class
2061 --enable-apple_ieee use the Apple IEEE codec
2062 --enable-arcstream use wxArchive streams
2063 --enable-base64 use base64 encoding
/decoding functions
2064 --enable-backtrace use wxStackWalker class
for getting backtraces
2065 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2066 --enable-cmdline use wxCmdLineParser class
2067 --enable-datetime use wxDateTime class
2068 --enable-debugreport use wxDebugReport class
2069 --enable-dialupman use dialup network classes
2070 --enable-dynlib use wxLibrary class
for DLL loading
2071 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2072 --enable-exceptions build exception
-safe library
2073 --enable-ffile use wxFFile class
2074 --enable-file use wxFile class
2075 --enable-filesystem use virtual
file systems classes
2076 --enable-fontenum use wxFontEnumerator class
2077 --enable-fontmap use font encodings conversion classes
2078 --enable-fs_archive use virtual archive filesystems
2079 --enable-fs_inet use virtual HTTP
/FTP filesystems
2080 --enable-fs_zip now replaced by fs_archive
2081 --enable-geometry use geometry class
2082 --enable-log use logging system
2083 --enable-longlong use wxLongLong class
2084 --enable-mimetype use wxMimeTypesManager
2085 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2086 --enable-snglinst use wxSingleInstanceChecker class
2087 --enable-sound use wxSound class
2088 --enable-stdpaths use wxStandardPaths class
2089 --enable-stopwatch use wxStopWatch class
2090 --enable-streams use wxStream etc classes
2091 --enable-sysoptions use wxSystemOptions
2092 --enable-tarstream use wxTar streams
2093 --enable-textbuf use wxTextBuffer class
2094 --enable-textfile use wxTextFile class
2095 --enable-timer use wxTimer class
2096 --enable-variant use wxVariant class
2097 --enable-zipstream use wxZip streams
2098 --enable-url use wxURL class
2099 --enable-protocol use wxProtocol class
2100 --enable-protocol-http HTTP support
in wxProtocol
2101 --enable-protocol-ftp FTP support
in wxProtocol
2102 --enable-protocol-file FILE support
in wxProtocol
2103 --enable-threads use threads
2104 --enable-iniconf use wxIniConfig
(Win32 only
)
2105 --enable-regkey use wxRegKey class
(Win32 only
)
2106 --enable-docview use document view architecture
2107 --enable-help use
help subsystem
2108 --enable-mshtmlhelp use MS HTML Help
(win32
)
2109 --enable-html use wxHTML sub
-library
2110 --enable-htmlhelp use wxHTML
-based help
2111 --enable-xrc use XRC resources sub
-library
2112 --enable-aui use AUI docking library
2113 --enable-propgrid use wxPropertyGrid library
2114 --enable-stc use wxStyledTextCtrl library
2115 --enable-constraints use layout
-constraints system
2116 --enable-loggui use standard GUI logger
2117 --enable-logwin use wxLogWindow
2118 --enable-logdialog use wxLogDialog
2119 --enable-mdi use multiple document interface architecture
2120 --enable-mdidoc use docview architecture with MDI
2121 --enable-mediactrl use wxMediaCtrl class
2122 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2123 --enable-webkit use wxWebKitCtrl
(Mac
)
2124 --enable-richtext use wxRichTextCtrl
2125 --enable-graphics_ctx use graphics context
2D drawing API
2126 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2127 --enable-printarch use printing architecture
2128 --enable-svg use wxSVGFileDC device context
2129 --enable-clipboard use wxClipboard class
2130 --enable-dnd use Drag
'n'Drop classes
2131 --enable-metafile use win32 metafiles
2132 --disable-controls disable compilation of all standard controls
2133 --enable-accel use accelerators
2134 --enable-animatectrl use wxAnimationCtrl class
2135 --enable-bmpbutton use wxBitmapButton class
2136 --enable-bmpcombobox use wxBitmapComboBox class
2137 --enable-button use wxButton class
2138 --enable-calendar use wxCalendarCtrl class
2139 --enable-caret use wxCaret class
2140 --enable-checkbox use wxCheckBox class
2141 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2142 --enable-choice use wxChoice class
2143 --enable-choicebook use wxChoicebook class
2144 --enable-collpane use wxCollapsiblePane class
2145 --enable-colourpicker use wxColourPickerCtrl class
2146 --enable-combobox use wxComboBox class
2147 --enable-comboctrl use wxComboCtrl class
2148 --enable-dataviewctrl use wxDataViewCtrl class
2149 --enable-datepick use wxDatePickerCtrl class
2150 --enable-detect_sm use code to detect X11 session manager
2151 --enable-dirpicker use wxDirPickerCtrl class
2152 --enable-display use wxDisplay class
2153 --enable-editablebox use wxEditableListBox class
2154 --enable-filectrl use wxFileCtrl class
2155 --enable-filepicker use wxFilePickerCtrl class
2156 --enable-fontpicker use wxFontPickerCtrl class
2157 --enable-gauge use wxGauge class
2158 --enable-grid use wxGrid class
2159 --enable-headerctrl use wxHeaderCtrl class
2160 --enable-hyperlink use wxHyperlinkCtrl class
2161 --enable-imaglist use wxImageList class
2162 --enable-listbook use wxListbook class
2163 --enable-listbox use wxListBox class
2164 --enable-listctrl use wxListCtrl class
2165 --enable-notebook use wxNotebook class
2166 --enable-notifmsg use wxNotificationMessage class
2167 --enable-odcombobox use wxOwnerDrawnComboBox class
2168 --enable-popupwin use wxPopUpWindow class
2169 --enable-radiobox use wxRadioBox class
2170 --enable-radiobtn use wxRadioButton class
2171 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2172 --enable-sash use wxSashWindow class
2173 --enable-scrollbar use wxScrollBar class and scrollable windows
2174 --enable-searchctrl use wxSearchCtrl class
2175 --enable-slider use wxSlider class
2176 --enable-spinbtn use wxSpinButton class
2177 --enable-spinctrl use wxSpinCtrl class
2178 --enable-splitter use wxSplitterWindow class
2179 --enable-statbmp use wxStaticBitmap class
2180 --enable-statbox use wxStaticBox class
2181 --enable-statline use wxStaticLine class
2182 --enable-stattext use wxStaticText class
2183 --enable-statusbar use wxStatusBar class
2184 --enable-taskbaricon use wxTaskBarIcon class
2185 --enable-tbarnative use native wxToolBar class
2186 --enable-textctrl use wxTextCtrl class
2187 --enable-tipwindow use wxTipWindow class
2188 --enable-togglebtn use wxToggleButton class
2189 --enable-toolbar use wxToolBar class
2190 --enable-toolbook use wxToolbook class
2191 --enable-treebook use wxTreebook class
2192 --enable-treectrl use wxTreeCtrl class
2193 --enable-commondlg use all common dialogs
2194 --enable-aboutdlg use wxAboutBox
2195 --enable-choicedlg use wxChoiceDialog
2196 --enable-coldlg use wxColourDialog
2197 --enable-filedlg use wxFileDialog
2198 --enable-finddlg use wxFindReplaceDialog
2199 --enable-fontdlg use wxFontDialog
2200 --enable-dirdlg use wxDirDialog
2201 --enable-msgdlg use wxMessageDialog
2202 --enable-numberdlg use wxNumberEntryDialog
2203 --enable-splash use wxSplashScreen
2204 --enable-textdlg use wxTextDialog
2205 --enable-tipdlg use startup tips
2206 --enable-progressdlg use wxProgressDialog
2207 --enable-wizarddlg use wxWizard
2208 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2209 --enable-miniframe use wxMiniFrame class
2210 --enable-tooltips use wxToolTip class
2211 --enable-splines use spline drawing code
2212 --enable-mousewheel use mousewheel
2213 --enable-validators use wxValidator and derived classes
2214 --enable-busyinfo use wxBusyInfo
2215 --enable-joystick use wxJoystick
2216 --enable-metafiles use wxMetaFile
(Win32 only
)
2217 --enable-dragimage use wxDragImage
2218 --enable-accessibility enable accessibility support
2219 --enable-palette use wxPalette class
2220 --enable-image use wxImage class
2221 --enable-gif use gif images
(GIF
file format
)
2222 --enable-pcx use pcx images
(PCX
file format
)
2223 --enable-tga use tga images
(TGA
file format
)
2224 --enable-iff use iff images
(IFF
file format
)
2225 --enable-pnm use pnm images
(PNM
file format
)
2226 --enable-xpm use xpm images
(XPM
file format
)
2227 --enable-ico_cur use Windows ICO and CUR formats
2228 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2229 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2230 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2231 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2232 --enable-wxdib use wxDIB class
(Win32 only
)
2233 --enable-autoidman use automatic ids management
2234 --disable-largefile omit support
for large files
2235 --disable-gtktest do not try to compile and run a
test GTK
+ program
2236 --disable-gtktest Do not try to compile and run a
test GTK program
2237 --disable-sdltest Do not try to compile and run a
test SDL program
2238 --enable-omf use OMF object format
(OS
/2)
2239 --disable-dependency-tracking
2240 don
't use dependency tracking even if the compiler
2242 --disable-precomp-headers
2243 don't use precompiled headers even
if compiler can
2246 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2247 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2248 --without-subdirs don
't generate makefiles for samples/demos/...
2249 --with-flavour=NAME specify a name to identify this build
2250 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2251 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
2252 --with-motif use Motif/Lesstif
2253 --with-osx_carbon use Mac OS X (Carbon)
2254 --with-osx_cocoa use Mac OS X (Cocoa)
2255 --with-mac use Mac OS X (Default)
2256 --with-cocoa use Cocoa
2257 --with-wine use Wine
2258 --with-msw use MS-Windows
2259 --with-pm use OS/2 Presentation Manager
2260 --with-mgl use SciTech MGL
2261 --with-directfb use DirectFB
2262 --with-microwin use MicroWindows
2264 --with-libpng use libpng (PNG image format)
2265 --with-libjpeg use libjpeg (JPEG file format)
2266 --with-libtiff use libtiff (TIFF file format)
2267 --with-libxpm use libxpm (XPM file format)
2268 --with-libiconv use libiconv (character conversion)
2269 --with-libmspack use libmspack (CHM help files loading)
2270 --without-gtkprint don't use GTK printing support
2271 --without-gnomeprint don
't use GNOME printing libraries
2272 --with-gnomevfs use GNOME VFS for associating MIME types
2273 --with-hildon use Hildon framework for Nokia 770
2274 --with-opengl use OpenGL (or Mesa)
2275 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2276 --with-sdl use SDL for audio on Unix
2277 --with-regex enable support for wxRegEx class
2278 --with-zlib use zlib for LZW compression
2279 --with-expat enable XML support using expat parser
2280 --with-macosx-sdk=PATH use an OS X SDK at PATH
2281 --with-macosx-version-min=VER build binaries which require at least this OS X version
2282 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2283 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2284 --with-x use the X Window System
2285 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2286 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2287 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2288 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2289 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2291 Some influential environment variables:
2292 CC C compiler command
2293 CFLAGS C compiler flags
2294 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2295 nonstandard directory <lib dir>
2296 LIBS libraries to pass to the linker, e.g. -l<library>
2297 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2298 you have headers in a nonstandard directory <include dir>
2300 CXX C++ compiler command
2301 CXXFLAGS C++ compiler flags
2302 PKG_CONFIG path to pkg-config utility
2304 C compiler flags for DIRECTFB, overriding pkg-config
2306 linker flags for DIRECTFB, overriding pkg-config
2307 XMKMF Path to xmkmf, Makefile generator for X Window System
2309 C compiler flags for PANGOX, overriding pkg-config
2310 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2312 C compiler flags for PANGOFT2, overriding pkg-config
2314 linker flags for PANGOFT2, overriding pkg-config
2316 C compiler flags for PANGOXFT, overriding pkg-config
2318 linker flags for PANGOXFT, overriding pkg-config
2320 C compiler flags for GTKPRINT, overriding pkg-config
2322 linker flags for GTKPRINT, overriding pkg-config
2323 LIBGNOMEPRINTUI_CFLAGS
2324 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2325 LIBGNOMEPRINTUI_LIBS
2326 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2328 C compiler flags for GNOMEVFS, overriding pkg-config
2330 linker flags for GNOMEVFS, overriding pkg-config
2332 C compiler flags for HILDON, overriding pkg-config
2333 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2335 C compiler flags for CAIRO, overriding pkg-config
2336 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2337 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2338 GST_LIBS linker flags for GST, overriding pkg-config
2340 Use these variables to override the choices made by `configure' or to
help
2341 it to
find libraries and programs with nonstandard names
/locations.
2343 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2348 if test "$ac_init_help" = "recursive"; then
2349 # If there are subdirs, report their specific --help.
2350 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2351 test -d "$ac_dir" ||
2352 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2357 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2359 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2360 # A ".." for each directory in $ac_dir_suffix.
2361 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2362 case $ac_top_builddir_sub in
2363 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2364 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2367 ac_abs_top_builddir
=$ac_pwd
2368 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2369 # for backward compatibility:
2370 ac_top_builddir
=$ac_top_build_prefix
2373 .
) # We are building in place.
2375 ac_top_srcdir
=$ac_top_builddir_sub
2376 ac_abs_top_srcdir
=$ac_pwd ;;
2377 [\\/]* | ?
:[\\/]* ) # Absolute name.
2378 ac_srcdir
=$srcdir$ac_dir_suffix;
2379 ac_top_srcdir
=$srcdir
2380 ac_abs_top_srcdir
=$srcdir ;;
2382 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2383 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2384 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2386 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2388 cd "$ac_dir" || { ac_status
=$?
; continue; }
2389 # Check for guested configure.
2390 if test -f "$ac_srcdir/configure.gnu"; then
2392 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2393 elif test -f "$ac_srcdir/configure"; then
2395 $SHELL "$ac_srcdir/configure" --help=recursive
2397 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2399 cd "$ac_pwd" || { ac_status
=$?
; break; }
2403 test -n "$ac_init_help" && exit $ac_status
2404 if $ac_init_version; then
2406 wxWidgets configure
2.9.0
2407 generated by GNU Autoconf
2.63
2409 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2410 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
2411 This configure
script is free software
; the Free Software Foundation
2412 gives unlimited permission to copy
, distribute and modify it.
2416 cat >config.log
<<_ACEOF
2417 This file contains any messages produced by compilers while
2418 running configure, to aid debugging if configure makes a mistake.
2420 It was created by wxWidgets $as_me 2.9.0, which was
2421 generated by GNU Autoconf 2.63. Invocation command line was
2433 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2434 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2435 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2436 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2437 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2439 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2440 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2442 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2443 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2444 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2445 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2446 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2447 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2448 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir
=.
2457 $as_echo "PATH: $as_dir"
2473 # Keep a trace of the command line.
2474 # Strip out --no-create and --no-recursion so they do not pile up.
2475 # Strip out --silent because we don't want to record it for future runs.
2476 # Also quote any args containing shell meta-characters.
2477 # Make two passes to allow for proper duplicate-argument suppression.
2481 ac_must_keep_next
=false
2487 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2488 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2489 | -silent | --silent | --silen | --sile | --sil)
2492 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2495 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2497 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2498 if test $ac_must_keep_next = true
; then
2499 ac_must_keep_next
=false
# Got value, back to normal.
2502 *=* | --config-cache | -C | -disable-* | --disable-* \
2503 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2504 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2505 | -with-* | --with-* | -without-* | --without-* | --x)
2506 case "$ac_configure_args0 " in
2507 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2510 -* ) ac_must_keep_next
=true
;;
2513 ac_configure_args
="$ac_configure_args '$ac_arg'"
2518 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2519 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2521 # When interrupted or exit'd, cleanup temporary files, and complete
2522 # config.log. We remove comments because anyway the quotes in there
2523 # would cause problems or look ugly.
2524 # WARNING: Use '\'' to represent an apostrophe within the trap.
2525 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2526 trap 'exit_status=$?
2527 # Save into config.log some information that might help in debugging.
2532 ## ---------------- ##
2533 ## Cache variables. ##
2534 ## ---------------- ##
2537 # The following way of writing the cache mishandles newlines in values,
2539 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2540 eval ac_val=\$$ac_var
2544 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2545 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2548 _ | IFS | as_nl) ;; #(
2549 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2550 *) $as_unset $ac_var ;;
2555 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2556 *${as_nl}ac_space=\ *)
2558 "s/'\''/'\''\\\\'\'''\''/g;
2559 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2562 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2570 ## ----------------- ##
2571 ## Output variables. ##
2572 ## ----------------- ##
2575 for ac_var in $ac_subst_vars
2577 eval ac_val=\$$ac_var
2579 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2581 $as_echo "$ac_var='\''$ac_val'\''"
2585 if test -n "$ac_subst_files"; then
2587 ## ------------------- ##
2588 ## File substitutions. ##
2589 ## ------------------- ##
2592 for ac_var
in $ac_subst_files
2594 eval ac_val
=\$
$ac_var
2596 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2598 $as_echo "$ac_var='\''$ac_val'\''"
2603 if test -s confdefs.h; then
2613 test "$ac_signal" != 0 &&
2614 $as_echo "$as_me: caught signal $ac_signal"
2615 $as_echo "$as_me: exit $exit_status"
2617 rm -f core *.core core.conftest.* &&
2618 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2621 for ac_signal
in 1 2 13 15; do
2622 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2626 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2627 rm -f -r conftest
* confdefs.h
2629 # Predefined preprocessor variables.
2631 cat >>confdefs.h
<<_ACEOF
2632 #define PACKAGE_NAME "$PACKAGE_NAME"
2636 cat >>confdefs.h
<<_ACEOF
2637 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2641 cat >>confdefs.h
<<_ACEOF
2642 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2646 cat >>confdefs.h
<<_ACEOF
2647 #define PACKAGE_STRING "$PACKAGE_STRING"
2651 cat >>confdefs.h
<<_ACEOF
2652 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2656 # Let the site file select an alternate cache file if it wants to.
2657 # Prefer an explicitly selected file to automatically selected ones.
2660 if test -n "$CONFIG_SITE"; then
2661 ac_site_file1
=$CONFIG_SITE
2662 elif test "x$prefix" != xNONE
; then
2663 ac_site_file1
=$prefix/share
/config.site
2664 ac_site_file2
=$prefix/etc
/config.site
2666 ac_site_file1
=$ac_default_prefix/share
/config.site
2667 ac_site_file2
=$ac_default_prefix/etc
/config.site
2669 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2671 test "x$ac_site_file" = xNONE
&& continue
2672 if test -r "$ac_site_file"; then
2673 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2674 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2675 sed 's/^/| /' "$ac_site_file" >&5
2680 if test -r "$cache_file"; then
2681 # Some versions of bash will fail to source /dev/null (special
2682 # files actually), so we avoid doing that.
2683 if test -f "$cache_file"; then
2684 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2685 $as_echo "$as_me: loading cache $cache_file" >&6;}
2687 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2688 *) .
"./$cache_file";;
2692 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2693 $as_echo "$as_me: creating cache $cache_file" >&6;}
2697 # Check that the precious variables saved in the cache have kept the same
2699 ac_cache_corrupted
=false
2700 for ac_var
in $ac_precious_vars; do
2701 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2702 eval ac_new_set
=\
$ac_env_${ac_var}_set
2703 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2704 eval ac_new_val
=\
$ac_env_${ac_var}_value
2705 case $ac_old_set,$ac_new_set in
2707 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2708 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2709 ac_cache_corrupted
=: ;;
2711 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2712 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2713 ac_cache_corrupted
=: ;;
2716 if test "x$ac_old_val" != "x$ac_new_val"; then
2717 # differences in whitespace do not lead to failure.
2718 ac_old_val_w
=`echo x $ac_old_val`
2719 ac_new_val_w
=`echo x $ac_new_val`
2720 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2721 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2722 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2723 ac_cache_corrupted
=:
2725 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2726 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2727 eval $ac_var=\
$ac_old_val
2729 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2730 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2731 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2732 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2735 # Pass precious variables to config.status.
2736 if test "$ac_new_set" = set; then
2738 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2739 *) ac_arg
=$ac_var=$ac_new_val ;;
2741 case " $ac_configure_args " in
2742 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2743 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2747 if $ac_cache_corrupted; then
2748 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2750 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2751 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2752 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2753 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2754 { (exit 1); exit 1; }; }
2782 ac_cpp
='$CPP $CPPFLAGS'
2783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2792 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2793 if test -f "$ac_dir/install-sh"; then
2795 ac_install_sh
="$ac_aux_dir/install-sh -c"
2797 elif test -f "$ac_dir/install.sh"; then
2799 ac_install_sh
="$ac_aux_dir/install.sh -c"
2801 elif test -f "$ac_dir/shtool"; then
2803 ac_install_sh
="$ac_aux_dir/shtool install -c"
2807 if test -z "$ac_aux_dir"; then
2808 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2809 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2810 { (exit 1); exit 1; }; }
2813 # These three variables are undocumented and unsupported,
2814 # and are intended to be withdrawn in a future Autoconf release.
2815 # They can cause serious problems if a builder's source tree is in a directory
2816 # whose full name contains unusual characters.
2817 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2818 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2819 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2822 # Make sure we can run config.sub.
2823 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2824 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2825 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2826 { (exit 1); exit 1; }; }
2828 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2829 $as_echo_n "checking build system type... " >&6; }
2830 if test "${ac_cv_build+set}" = set; then
2831 $as_echo_n "(cached) " >&6
2833 ac_build_alias
=$build_alias
2834 test "x$ac_build_alias" = x
&&
2835 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2836 test "x$ac_build_alias" = x
&&
2837 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2838 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2839 { (exit 1); exit 1; }; }
2840 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2841 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2842 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2843 { (exit 1); exit 1; }; }
2846 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2847 $as_echo "$ac_cv_build" >&6; }
2848 case $ac_cv_build in
2850 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2851 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2852 { (exit 1); exit 1; }; };;
2855 ac_save_IFS
=$IFS; IFS
='-'
2861 # Remember, the first character of IFS is used to create $*,
2862 # except with old shells:
2865 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2868 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2869 $as_echo_n "checking host system type... " >&6; }
2870 if test "${ac_cv_host+set}" = set; then
2871 $as_echo_n "(cached) " >&6
2873 if test "x$host_alias" = x
; then
2874 ac_cv_host
=$ac_cv_build
2876 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2877 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2878 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2879 { (exit 1); exit 1; }; }
2883 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2884 $as_echo "$ac_cv_host" >&6; }
2887 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2888 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2889 { (exit 1); exit 1; }; };;
2892 ac_save_IFS
=$IFS; IFS
='-'
2898 # Remember, the first character of IFS is used to create $*,
2899 # except with old shells:
2902 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2906 if test "$cross_compiling" != "no"; then
2907 HOST_PREFIX
="${host_alias}-"
2908 HOST_SUFFIX
="-$host_alias"
2915 wx_major_version_number
=2
2916 wx_minor_version_number
=9
2918 wx_subrelease_number
=0
2920 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2921 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2922 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2924 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2927 wx_top_builddir
="`pwd`"
2940 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2946 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2952 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2954 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2956 DEFAULT_wxUSE_COCOA
=0
2958 DEFAULT_wxUSE_OSX_CARBON
=0
2959 DEFAULT_wxUSE_OSX_COCOA
=0
2961 DEFAULT_wxUSE_MICROWIN
=0
2962 DEFAULT_wxUSE_MOTIF
=0
2968 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2969 DEFAULT_DEFAULT_wxUSE_GTK
=0
2970 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2971 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2972 DEFAULT_DEFAULT_wxUSE_MGL
=0
2973 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2974 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2975 DEFAULT_DEFAULT_wxUSE_MSW
=0
2976 DEFAULT_DEFAULT_wxUSE_PM
=0
2977 DEFAULT_DEFAULT_wxUSE_X11
=0
2978 DEFAULT_DEFAULT_wxUSE_DFB
=0
2982 DYLIB_RPATH_INSTALL
=
2983 DYLIB_RPATH_POSTLINK
=
2985 DEFAULT_STD_FLAG
=yes
2990 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2991 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2992 cat >>confdefs.h
<<\_ACEOF
2997 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3001 cat >>confdefs.h
<<\_ACEOF
3006 if test "x$TMP" = "xalpha"; then
3008 cat >>confdefs.h
<<\_ACEOF
3013 DEFAULT_DEFAULT_wxUSE_GTK
=1
3015 *-*-gnu* | *-*-k*bsd
*-gnu )
3018 if test "x$TMP" = "xalpha"; then
3020 cat >>confdefs.h
<<\_ACEOF
3025 DEFAULT_DEFAULT_wxUSE_GTK
=1
3027 *-*-irix5* | *-*-irix6* )
3030 cat >>confdefs.h
<<\_ACEOF
3034 cat >>confdefs.h
<<\_ACEOF
3038 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3044 cat >>confdefs.h
<<\_ACEOF
3048 cat >>confdefs.h
<<\_ACEOF
3049 #define __SOLARIS__ 1
3052 cat >>confdefs.h
<<\_ACEOF
3056 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3057 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3063 cat >>confdefs.h
<<\_ACEOF
3067 cat >>confdefs.h
<<\_ACEOF
3071 cat >>confdefs.h
<<\_ACEOF
3075 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3080 cat >>confdefs.h
<<\_ACEOF
3081 #define __FREEBSD__ 1
3084 cat >>confdefs.h
<<\_ACEOF
3088 DEFAULT_DEFAULT_wxUSE_GTK
=1
3090 *-*-openbsd*|*-*-mirbsd*)
3093 cat >>confdefs.h
<<\_ACEOF
3094 #define __OPENBSD__ 1
3097 cat >>confdefs.h
<<\_ACEOF
3101 DEFAULT_DEFAULT_wxUSE_GTK
=1
3106 cat >>confdefs.h
<<\_ACEOF
3107 #define __NETBSD__ 1
3110 cat >>confdefs.h
<<\_ACEOF
3114 DEFAULT_DEFAULT_wxUSE_GTK
=1
3115 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3117 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3122 cat >>confdefs.h
<<\_ACEOF
3126 cat >>confdefs.h
<<\_ACEOF
3130 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3131 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3136 cat >>confdefs.h
<<\_ACEOF
3140 cat >>confdefs.h
<<\_ACEOF
3144 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3149 cat >>confdefs.h
<<\_ACEOF
3153 cat >>confdefs.h
<<\_ACEOF
3157 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3163 cat >>confdefs.h
<<\_ACEOF
3167 cat >>confdefs.h
<<\_ACEOF
3171 cat >>confdefs.h
<<\_ACEOF
3175 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3182 cat >>confdefs.h
<<\_ACEOF
3183 #define __UNIXWARE__ 1
3188 *-*-cygwin* | *-*-mingw32* )
3190 DEFAULT_DEFAULT_wxUSE_MSW
=1
3196 cat >>confdefs.h
<<\_ACEOF
3201 DEFAULT_DEFAULT_wxUSE_MGL
=1
3204 *-pc-os2_emx | *-pc-os2-emx )
3205 cat >>confdefs.h
<<\_ACEOF
3210 cat >>confdefs.h
<<\_ACEOF
3215 DEFAULT_DEFAULT_wxUSE_PM
=1
3217 LDFLAGS
="$LDFLAGS -Zcrtdll"
3218 ac_executable_extensions
=".exe"
3219 export ac_executable_extensions
3223 for ac_dir
in $PATH; do
3225 if test -z "$ac_TEMP_PATH"; then
3226 ac_TEMP_PATH
="$ac_dir"
3228 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
3231 export PATH
="$ac_TEMP_PATH"
3239 cat >>confdefs.h
<<\_ACEOF
3243 cat >>confdefs.h
<<\_ACEOF
3244 #define __DARWIN__ 1
3247 cat >>confdefs.h
<<\_ACEOF
3248 #define TARGET_CARBON 1
3251 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
3254 powerpc
-apple-macos* )
3256 ac_cv_c_bigendian
=yes
3257 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
3263 cat >>confdefs.h
<<\_ACEOF
3270 { $as_echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
3271 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
3272 { $as_echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
3273 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
3275 DEFAULT_DEFAULT_wxUSE_X11
=1
3276 DEFAULT_wxUSE_SHARED
=no
3281 DEFAULT_wxUSE_ALL_FEATURES
=yes
3283 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
3284 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
3286 DEFAULT_wxUSE_DMALLOC
=no
3287 DEFAULT_wxUSE_LIBGNOMEVFS
=no
3288 DEFAULT_wxUSE_LIBHILDON
=no
3289 DEFAULT_wxUSE_LIBMSPACK
=no
3290 DEFAULT_wxUSE_LIBSDL
=no
3292 DEFAULT_wxUSE_ACCESSIBILITY
=no
3293 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
3294 DEFAULT_wxUSE_IPV6
=no
3295 DEFAULT_wxUSE_GSTREAMER8
=no
3297 DEFAULT_wxUSE_UNICODE_UTF8
=auto
3298 DEFAULT_wxUSE_OPENGL
=auto
3299 DEFAULT_wxUSE_MEDIACTRL
=auto
3301 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
3303 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
3305 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3307 DEFAULT_wxUSE_GTK2
=yes
3309 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3315 enablestring
=disable
3317 if test -z "$defaultval"; then
3318 if test x
"$enablestring" = xdisable
; then
3325 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3326 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
3327 # Check whether --enable-gui was given.
3328 if test "${enable_gui+set}" = set; then
3329 enableval
=$enable_gui;
3330 if test "$enableval" = yes; then
3331 wx_cv_use_gui
='wxUSE_GUI=yes'
3333 wx_cv_use_gui
='wxUSE_GUI=no'
3338 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3343 eval "$wx_cv_use_gui"
3345 if test x"$enablestring" = xdisable; then
3346 if test $wxUSE_GUI = yes; then
3355 { $as_echo "$as_me:$LINENO: result: $result" >&5
3356 $as_echo "$result" >&6; }
3361 if test -z "$defaultval"; then
3362 if test x"$enablestring" = xdisable; then
3369 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3370 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
3371 # Check whether --enable-monolithic was given.
3372 if test "${enable_monolithic+set}" = set; then
3373 enableval=$enable_monolithic;
3374 if test "$enableval" = yes; then
3375 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3377 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3382 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3387 eval "$wx_cv_use_monolithic"
3389 if test x"$enablestring" = xdisable; then
3390 if test $wxUSE_MONOLITHIC = yes; then
3396 result=$wxUSE_MONOLITHIC
3399 { $as_echo "$as_me:$LINENO: result
: $result" >&5
3400 $as_echo "$result" >&6; }
3405 if test -z "$defaultval"; then
3406 if test x"$enablestring" = xdisable; then
3413 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3414 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
3415 # Check whether --enable-plugins was given.
3416 if test "${enable_plugins+set}" = set; then
3417 enableval=$enable_plugins;
3418 if test "$enableval" = yes; then
3419 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3421 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3426 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3431 eval "$wx_cv_use_plugins"
3433 if test x
"$enablestring" = xdisable
; then
3434 if test $wxUSE_PLUGINS = yes; then
3440 result
=$wxUSE_PLUGINS
3443 { $as_echo "$as_me:$LINENO: result: $result" >&5
3444 $as_echo "$result" >&6; }
3448 defaultval
=$wxUSE_ALL_FEATURES
3449 if test -z "$defaultval"; then
3450 if test x
"$withstring" = xwithout
; then
3456 { $as_echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3457 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
3459 # Check whether --with-subdirs was given.
3460 if test "${with_subdirs+set}" = set; then
3461 withval
=$with_subdirs;
3462 if test "$withval" = yes; then
3463 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3465 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3470 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3475 eval "$wx_cv_use_subdirs"
3477 if test x"$withstring" = xwithout; then
3478 if test $wxWITH_SUBDIRS = yes; then
3484 result=$wxWITH_SUBDIRS
3487 { $as_echo "$as_me:$LINENO: result: $result" >&5
3488 $as_echo "$result" >&6; }
3491 # Check whether --with-flavour was given.
3492 if test "${with_flavour+set}" = set; then
3493 withval=$with_flavour; WX_FLAVOUR="$withval"
3499 if test -z "$defaultval"; then
3500 if test x"$enablestring" = xdisable; then
3507 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3508 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
3509 # Check whether --enable-official_build was given.
3510 if test "${enable_official_build+set}" = set; then
3511 enableval=$enable_official_build;
3512 if test "$enableval" = yes; then
3513 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3515 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3520 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3525 eval "$wx_cv_use_official_build"
3527 if test x"$enablestring" = xdisable; then
3528 if test $wxUSE_OFFICIAL_BUILD = yes; then
3534 result=$wxUSE_OFFICIAL_BUILD
3537 { $as_echo "$as_me:$LINENO: result
: $result" >&5
3538 $as_echo "$result" >&6; }
3540 # Check whether --enable-vendor was given.
3541 if test "${enable_vendor+set}" = set; then
3542 enableval=$enable_vendor; VENDOR="$enableval"
3545 if test "x
$VENDOR" = "x
"; then
3550 enablestring=disable
3552 if test -z "$defaultval"; then
3553 if test x"$enablestring" = xdisable; then
3560 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3561 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
3562 # Check whether --enable-all-features was given.
3563 if test "${enable_all_features+set}" = set; then
3564 enableval=$enable_all_features;
3565 if test "$enableval" = yes; then
3566 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3568 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3573 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3578 eval "$wx_cv_use_all_features"
3580 if test x
"$enablestring" = xdisable
; then
3581 if test $wxUSE_ALL_FEATURES = yes; then
3587 result
=$wxUSE_ALL_FEATURES
3590 { $as_echo "$as_me:$LINENO: result: $result" >&5
3591 $as_echo "$result" >&6; }
3594 if test "$wxUSE_ALL_FEATURES" = "no"; then
3595 DEFAULT_wxUSE_MEDIACTRL
=no
3599 if test "$wxUSE_GUI" = "yes"; then
3604 if test -z "$defaultval"; then
3605 if test x
"$enablestring" = xdisable
; then
3612 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3613 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
3614 # Check whether --enable-universal was given.
3615 if test "${enable_universal+set}" = set; then
3616 enableval
=$enable_universal;
3617 if test "$enableval" = yes; then
3618 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3620 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3625 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3630 eval "$wx_cv_use_universal"
3632 if test x"$enablestring" = xdisable; then
3633 if test $wxUSE_UNIVERSAL = yes; then
3639 result=$wxUSE_UNIVERSAL
3642 { $as_echo "$as_me:$LINENO: result: $result" >&5
3643 $as_echo "$result" >&6; }
3645 if test "$wxUSE_UNIVERSAL" = "yes"; then
3647 # Check whether --with-themes was given.
3648 if test "${with_themes+set}" = set; then
3649 withval=$with_themes; wxUNIV_THEMES="$withval"
3655 # Check whether --with-gtk was given.
3656 if test "${with_gtk+set}" = set; then
3657 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3661 # Check whether --with-motif was given.
3662 if test "${with_motif+set}" = set; then
3663 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3667 # Check whether --with-osx_carbon was given.
3668 if test "${with_osx_carbon+set}" = set; then
3669 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3673 # Check whether --with-osx_cocoa was given.
3674 if test "${with_osx_cocoa+set}" = set; then
3675 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3679 # Check whether --with-mac was given.
3680 if test "${with_mac+set}" = set; then
3681 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3685 # Check whether --with-cocoa was given.
3686 if test "${with_cocoa+set}" = set; then
3687 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3691 # Check whether --with-wine was given.
3692 if test "${with_wine+set}" = set; then
3693 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3697 # Check whether --with-msw was given.
3698 if test "${with_msw+set}" = set; then
3699 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3703 # Check whether --with-pm was given.
3704 if test "${with_pm+set}" = set; then
3705 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3709 # Check whether --with-mgl was given.
3710 if test "${with_mgl+set}" = set; then
3711 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3715 # Check whether --with-directfb was given.
3716 if test "${with_directfb+set}" = set; then
3717 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3721 # Check whether --with-microwin was given.
3722 if test "${with_microwin+set}" = set; then
3723 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3727 # Check whether --with-x11 was given.
3728 if test "${with_x11+set}" = set; then
3729 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3735 if test -z "$defaultval"; then
3736 if test x"$enablestring" = xdisable; then
3743 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3744 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
3745 # Check whether --enable-nanox was given.
3746 if test "${enable_nanox+set}" = set; then
3747 enableval=$enable_nanox;
3748 if test "$enableval" = yes; then
3749 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3751 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3756 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3761 eval "$wx_cv_use_nanox"
3763 if test x"$enablestring" = xdisable; then
3764 if test $wxUSE_NANOX = yes; then
3773 { $as_echo "$as_me:$LINENO: result
: $result" >&5
3774 $as_echo "$result" >&6; }
3777 # Check whether --enable-gtk2 was given.
3778 if test "${enable_gtk2+set}" = set; then
3779 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3785 if test -z "$defaultval"; then
3786 if test x"$enablestring" = xdisable; then
3793 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3794 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
3795 # Check whether --enable-gpe was given.
3796 if test "${enable_gpe+set}" = set; then
3797 enableval=$enable_gpe;
3798 if test "$enableval" = yes; then
3799 wx_cv_use_gpe='wxUSE_GPE=yes'
3801 wx_cv_use_gpe='wxUSE_GPE=no'
3806 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3811 eval "$wx_cv_use_gpe"
3813 if test x
"$enablestring" = xdisable
; then
3814 if test $wxUSE_GPE = yes; then
3823 { $as_echo "$as_me:$LINENO: result: $result" >&5
3824 $as_echo "$result" >&6; }
3828 { $as_echo "$as_me:$LINENO: checking for toolkit" >&5
3829 $as_echo_n "checking for toolkit... " >&6; }
3833 # In Wine, we need to default to MSW, not GTK or MOTIF
3834 if test "$wxUSE_WINE" = "yes"; then
3835 DEFAULT_DEFAULT_wxUSE_GTK
=0
3836 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3837 DEFAULT_DEFAULT_wxUSE_MSW
=1
3844 if test "$wxUSE_GUI" = "yes"; then
3846 if test "$USE_BEOS" = 1; then
3847 { { $as_echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3848 $as_echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3849 { (exit 1); exit 1; }; }
3852 if test "$TOOLKIT_GIVEN" = 1; then
3853 for toolkit
in $ALL_TOOLKITS; do
3855 eval "value=\$${var}"
3856 if test "x$value" = "xno"; then
3858 elif test "x$value" != "x"; then
3862 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3863 eval "wx${toolkit}_VERSION=$value"
3867 for toolkit
in $ALL_TOOLKITS; do
3868 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3869 eval "wxUSE_$toolkit=\$${var}"
3873 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3874 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3875 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3878 *-pc-os2_emx | *-pc-os2-emx )
3879 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3882 case "$NUM_TOOLKITS" in
3886 { { $as_echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3887 $as_echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3888 { (exit 1); exit 1; }; }
3891 { { $as_echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3892 $as_echo "$as_me: error: Please specify at most one toolkit" >&2;}
3893 { (exit 1); exit 1; }; }
3896 # to be removed when --disable-gtk2 isn't needed
3897 if test "x$wxUSE_GTK2" = "xyes"; then
3899 elif test "x$wxUSE_GTK2" = "xno"; then
3903 for toolkit
in $ALL_TOOLKITS; do
3905 eval "value=\$${var}"
3906 if test "$value" = 1; then
3907 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3908 { $as_echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3909 $as_echo "$toolkit_echo" >&6; }
3913 if test "x$host_alias" != "x"; then
3914 { $as_echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3915 $as_echo "base ($host_alias hosted) only" >&6; }
3917 { $as_echo "$as_me:$LINENO: result: base only" >&5
3918 $as_echo "base only" >&6; }
3923 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3929 { $as_echo "$as_me:$LINENO: checking for --with-libpng" >&5
3930 $as_echo_n "checking for --with-libpng... " >&6; }
3932 # Check whether --with-libpng was given.
3933 if test "${with_libpng+set}" = set; then
3934 withval
=$with_libpng;
3935 if test "$withval" = yes; then
3936 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3937 elif test "$withval" = no
; then
3938 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3939 elif test "$withval" = sys
; then
3940 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3941 elif test "$withval" = builtin; then
3942 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3944 { { $as_echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3945 $as_echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3946 { (exit 1); exit 1; }; }
3951 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3956 eval "$wx_cv_use_libpng"
3958 if test "$wxUSE_LIBPNG" = yes; then
3959 { $as_echo "$as_me:$LINENO: result: yes" >&5
3960 $as_echo "yes" >&6; }
3961 elif test "$wxUSE_LIBPNG" = no; then
3962 { $as_echo "$as_me:$LINENO: result: no" >&5
3963 $as_echo "no" >&6; }
3964 elif test "$wxUSE_LIBPNG" = sys; then
3965 { $as_echo "$as_me:$LINENO: result: system version" >&5
3966 $as_echo "system version" >&6; }
3967 elif test "$wxUSE_LIBPNG" = builtin; then
3968 { $as_echo "$as_me:$LINENO: result: builtin version" >&5
3969 $as_echo "builtin version" >&6; }
3971 { { $as_echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3972 $as_echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3973 { (exit 1); exit 1; }; }
3977 { $as_echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3978 $as_echo_n "checking for --with-libjpeg... " >&6; }
3980 # Check whether --with-libjpeg was given.
3981 if test "${with_libjpeg+set}" = set; then
3982 withval=$with_libjpeg;
3983 if test "$withval" = yes; then
3984 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3985 elif test "$withval" = no; then
3986 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3987 elif test "$withval" = sys; then
3988 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3989 elif test "$withval" = builtin; then
3990 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3992 { { $as_echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3993 $as_echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3994 { (exit 1); exit 1; }; }
3999 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4004 eval "$wx_cv_use_libjpeg"
4006 if test "$wxUSE_LIBJPEG" = yes; then
4007 { $as_echo "$as_me:$LINENO: result
: yes" >&5
4008 $as_echo "yes" >&6; }
4009 elif test "$wxUSE_LIBJPEG" = no; then
4010 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4011 $as_echo "no
" >&6; }
4012 elif test "$wxUSE_LIBJPEG" = sys; then
4013 { $as_echo "$as_me:$LINENO: result
: system version
" >&5
4014 $as_echo "system version
" >&6; }
4015 elif test "$wxUSE_LIBJPEG" = builtin; then
4016 { $as_echo "$as_me:$LINENO: result
: builtin version
" >&5
4017 $as_echo "builtin version
" >&6; }
4019 { { $as_echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
4020 $as_echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
4021 { (exit 1); exit 1; }; }
4025 { $as_echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
4026 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4028 # Check whether --with-libtiff was given.
4029 if test "${with_libtiff+set}" = set; then
4030 withval=$with_libtiff;
4031 if test "$withval" = yes; then
4032 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4033 elif test "$withval" = no; then
4034 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4035 elif test "$withval" = sys; then
4036 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4037 elif test "$withval" = builtin; then
4038 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4040 { { $as_echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
4041 $as_echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
4042 { (exit 1); exit 1; }; }
4047 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4052 eval "$wx_cv_use_libtiff"
4054 if test "$wxUSE_LIBTIFF" = yes; then
4055 { $as_echo "$as_me:$LINENO: result: yes" >&5
4056 $as_echo "yes" >&6; }
4057 elif test "$wxUSE_LIBTIFF" = no
; then
4058 { $as_echo "$as_me:$LINENO: result: no" >&5
4059 $as_echo "no" >&6; }
4060 elif test "$wxUSE_LIBTIFF" = sys
; then
4061 { $as_echo "$as_me:$LINENO: result: system version" >&5
4062 $as_echo "system version" >&6; }
4063 elif test "$wxUSE_LIBTIFF" = builtin; then
4064 { $as_echo "$as_me:$LINENO: result: builtin version" >&5
4065 $as_echo "builtin version" >&6; }
4067 { { $as_echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
4068 $as_echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
4069 { (exit 1); exit 1; }; }
4073 { $as_echo "$as_me:$LINENO: checking for --with-libxpm" >&5
4074 $as_echo_n "checking for --with-libxpm... " >&6; }
4076 # Check whether --with-libxpm was given.
4077 if test "${with_libxpm+set}" = set; then
4078 withval
=$with_libxpm;
4079 if test "$withval" = yes; then
4080 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
4081 elif test "$withval" = no
; then
4082 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
4083 elif test "$withval" = sys
; then
4084 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
4085 elif test "$withval" = builtin; then
4086 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
4088 { { $as_echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
4089 $as_echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
4090 { (exit 1); exit 1; }; }
4095 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4100 eval "$wx_cv_use_libxpm"
4102 if test "$wxUSE_LIBXPM" = yes; then
4103 { $as_echo "$as_me:$LINENO: result: yes" >&5
4104 $as_echo "yes" >&6; }
4105 elif test "$wxUSE_LIBXPM" = no; then
4106 { $as_echo "$as_me:$LINENO: result: no" >&5
4107 $as_echo "no" >&6; }
4108 elif test "$wxUSE_LIBXPM" = sys; then
4109 { $as_echo "$as_me:$LINENO: result: system version" >&5
4110 $as_echo "system version" >&6; }
4111 elif test "$wxUSE_LIBXPM" = builtin; then
4112 { $as_echo "$as_me:$LINENO: result: builtin version" >&5
4113 $as_echo "builtin version" >&6; }
4115 { { $as_echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
4116 $as_echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
4117 { (exit 1); exit 1; }; }
4122 defaultval=$wxUSE_ALL_FEATURES
4123 if test -z "$defaultval"; then
4124 if test x"$withstring" = xwithout; then
4130 { $as_echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
4131 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4133 # Check whether --with-libiconv was given.
4134 if test "${with_libiconv+set}" = set; then
4135 withval=$with_libiconv;
4136 if test "$withval" = yes; then
4137 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
4139 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
4144 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4149 eval "$wx_cv_use_libiconv"
4151 if test x"$withstring" = xwithout; then
4152 if test $wxUSE_LIBICONV = yes; then
4158 result=$wxUSE_LIBICONV
4161 { $as_echo "$as_me:$LINENO: result
: $result" >&5
4162 $as_echo "$result" >&6; }
4166 defaultval=$wxUSE_ALL_FEATURES
4167 if test -z "$defaultval"; then
4168 if test x"$withstring" = xwithout; then
4174 { $as_echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
4175 $as_echo_n "checking
for --${withstring:-with}-libmspack...
" >&6; }
4177 # Check whether --with-libmspack was given.
4178 if test "${with_libmspack+set}" = set; then
4179 withval=$with_libmspack;
4180 if test "$withval" = yes; then
4181 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
4183 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
4188 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
4193 eval "$wx_cv_use_libmspack"
4195 if test x
"$withstring" = xwithout
; then
4196 if test $wxUSE_LIBMSPACK = yes; then
4202 result
=$wxUSE_LIBMSPACK
4205 { $as_echo "$as_me:$LINENO: result: $result" >&5
4206 $as_echo "$result" >&6; }
4210 defaultval
=$wxUSE_ALL_FEATURES
4211 if test -z "$defaultval"; then
4212 if test x
"$withstring" = xwithout
; then
4218 { $as_echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
4219 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
4221 # Check whether --with-gtkprint was given.
4222 if test "${with_gtkprint+set}" = set; then
4223 withval
=$with_gtkprint;
4224 if test "$withval" = yes; then
4225 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
4227 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
4232 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
4237 eval "$wx_cv_use_gtkprint"
4239 if test x"$withstring" = xwithout; then
4240 if test $wxUSE_GTKPRINT = yes; then
4246 result=$wxUSE_GTKPRINT
4249 { $as_echo "$as_me:$LINENO: result: $result" >&5
4250 $as_echo "$result" >&6; }
4254 defaultval=$wxUSE_ALL_FEATURES
4255 if test -z "$defaultval"; then
4256 if test x"$withstring" = xwithout; then
4262 { $as_echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4263 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
4265 # Check whether --with-gnomeprint was given.
4266 if test "${with_gnomeprint+set}" = set; then
4267 withval=$with_gnomeprint;
4268 if test "$withval" = yes; then
4269 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
4271 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4276 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4281 eval "$wx_cv_use_gnomeprint"
4283 if test x"$withstring" = xwithout; then
4284 if test $wxUSE_LIBGNOMEPRINT = yes; then
4290 result=$wxUSE_LIBGNOMEPRINT
4293 { $as_echo "$as_me:$LINENO: result
: $result" >&5
4294 $as_echo "$result" >&6; }
4298 defaultval=$wxUSE_ALL_FEATURES
4299 if test -z "$defaultval"; then
4300 if test x"$withstring" = xwithout; then
4306 { $as_echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4307 $as_echo_n "checking
for --${withstring:-with}-gnomevfs...
" >&6; }
4309 # Check whether --with-gnomevfs was given.
4310 if test "${with_gnomevfs+set}" = set; then
4311 withval=$with_gnomevfs;
4312 if test "$withval" = yes; then
4313 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4315 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4320 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4325 eval "$wx_cv_use_gnomevfs"
4327 if test x
"$withstring" = xwithout
; then
4328 if test $wxUSE_LIBGNOMEVFS = yes; then
4334 result
=$wxUSE_LIBGNOMEVFS
4337 { $as_echo "$as_me:$LINENO: result: $result" >&5
4338 $as_echo "$result" >&6; }
4342 defaultval
=$wxUSE_ALL_FEATURES
4343 if test -z "$defaultval"; then
4344 if test x
"$withstring" = xwithout
; then
4350 { $as_echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4351 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
4353 # Check whether --with-hildon was given.
4354 if test "${with_hildon+set}" = set; then
4355 withval
=$with_hildon;
4356 if test "$withval" = yes; then
4357 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4359 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4364 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4369 eval "$wx_cv_use_hildon"
4371 if test x"$withstring" = xwithout; then
4372 if test $wxUSE_LIBHILDON = yes; then
4378 result=$wxUSE_LIBHILDON
4381 { $as_echo "$as_me:$LINENO: result: $result" >&5
4382 $as_echo "$result" >&6; }
4386 defaultval=$wxUSE_ALL_FEATURES
4387 if test -z "$defaultval"; then
4388 if test x"$withstring" = xwithout; then
4394 { $as_echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4395 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
4397 # Check whether --with-opengl was given.
4398 if test "${with_opengl+set}" = set; then
4399 withval=$with_opengl;
4400 if test "$withval" = yes; then
4401 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4403 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4408 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4413 eval "$wx_cv_use_opengl"
4415 if test x"$withstring" = xwithout; then
4416 if test $wxUSE_OPENGL = yes; then
4422 result=$wxUSE_OPENGL
4425 { $as_echo "$as_me:$LINENO: result
: $result" >&5
4426 $as_echo "$result" >&6; }
4433 defaultval=$wxUSE_ALL_FEATURES
4434 if test -z "$defaultval"; then
4435 if test x"$withstring" = xwithout; then
4441 { $as_echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4442 $as_echo_n "checking
for --${withstring:-with}-dmalloc...
" >&6; }
4444 # Check whether --with-dmalloc was given.
4445 if test "${with_dmalloc+set}" = set; then
4446 withval=$with_dmalloc;
4447 if test "$withval" = yes; then
4448 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4450 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4455 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4460 eval "$wx_cv_use_dmalloc"
4462 if test x
"$withstring" = xwithout
; then
4463 if test $wxUSE_DMALLOC = yes; then
4469 result
=$wxUSE_DMALLOC
4472 { $as_echo "$as_me:$LINENO: result: $result" >&5
4473 $as_echo "$result" >&6; }
4477 defaultval
=$wxUSE_ALL_FEATURES
4478 if test -z "$defaultval"; then
4479 if test x
"$withstring" = xwithout
; then
4485 { $as_echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4486 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
4488 # Check whether --with-sdl was given.
4489 if test "${with_sdl+set}" = set; then
4491 if test "$withval" = yes; then
4492 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4494 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4499 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4504 eval "$wx_cv_use_sdl"
4506 if test x"$withstring" = xwithout; then
4507 if test $wxUSE_LIBSDL = yes; then
4513 result=$wxUSE_LIBSDL
4516 { $as_echo "$as_me:$LINENO: result: $result" >&5
4517 $as_echo "$result" >&6; }
4520 { $as_echo "$as_me:$LINENO: checking for --with-regex" >&5
4521 $as_echo_n "checking for --with-regex... " >&6; }
4523 # Check whether --with-regex was given.
4524 if test "${with_regex+set}" = set; then
4525 withval=$with_regex;
4526 if test "$withval" = yes; then
4527 wx_cv_use_regex='wxUSE_REGEX
=yes'
4528 elif test "$withval" = no; then
4529 wx_cv_use_regex='wxUSE_REGEX
=no
'
4530 elif test "$withval" = sys; then
4531 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4532 elif test "$withval" = builtin; then
4533 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4535 { { $as_echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4536 $as_echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4537 { (exit 1); exit 1; }; }
4542 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4547 eval "$wx_cv_use_regex"
4549 if test "$wxUSE_REGEX" = yes; then
4550 { $as_echo "$as_me:$LINENO: result
: yes" >&5
4551 $as_echo "yes" >&6; }
4552 elif test "$wxUSE_REGEX" = no; then
4553 { $as_echo "$as_me:$LINENO: result
: no
" >&5
4554 $as_echo "no
" >&6; }
4555 elif test "$wxUSE_REGEX" = sys; then
4556 { $as_echo "$as_me:$LINENO: result
: system version
" >&5
4557 $as_echo "system version
" >&6; }
4558 elif test "$wxUSE_REGEX" = builtin; then
4559 { $as_echo "$as_me:$LINENO: result
: builtin version
" >&5
4560 $as_echo "builtin version
" >&6; }
4562 { { $as_echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4563 $as_echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4564 { (exit 1); exit 1; }; }
4568 { $as_echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4569 $as_echo_n "checking
for --with-zlib...
" >&6; }
4571 # Check whether --with-zlib was given.
4572 if test "${with_zlib+set}" = set; then
4574 if test "$withval" = yes; then
4575 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4576 elif test "$withval" = no; then
4577 wx_cv_use_zlib='wxUSE_ZLIB=no'
4578 elif test "$withval" = sys; then
4579 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4580 elif test "$withval" = builtin; then
4581 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4583 { { $as_echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4584 $as_echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4585 { (exit 1); exit 1; }; }
4590 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4595 eval "$wx_cv_use_zlib"
4597 if test "$wxUSE_ZLIB" = yes; then
4598 { $as_echo "$as_me:$LINENO: result: yes" >&5
4599 $as_echo "yes" >&6; }
4600 elif test "$wxUSE_ZLIB" = no
; then
4601 { $as_echo "$as_me:$LINENO: result: no" >&5
4602 $as_echo "no" >&6; }
4603 elif test "$wxUSE_ZLIB" = sys
; then
4604 { $as_echo "$as_me:$LINENO: result: system version" >&5
4605 $as_echo "system version" >&6; }
4606 elif test "$wxUSE_ZLIB" = builtin; then
4607 { $as_echo "$as_me:$LINENO: result: builtin version" >&5
4608 $as_echo "builtin version" >&6; }
4610 { { $as_echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4611 $as_echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4612 { (exit 1); exit 1; }; }
4616 { $as_echo "$as_me:$LINENO: checking for --with-expat" >&5
4617 $as_echo_n "checking for --with-expat... " >&6; }
4619 # Check whether --with-expat was given.
4620 if test "${with_expat+set}" = set; then
4621 withval
=$with_expat;
4622 if test "$withval" = yes; then
4623 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4624 elif test "$withval" = no
; then
4625 wx_cv_use_expat
='wxUSE_EXPAT=no'
4626 elif test "$withval" = sys
; then
4627 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4628 elif test "$withval" = builtin; then
4629 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4631 { { $as_echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4632 $as_echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4633 { (exit 1); exit 1; }; }
4638 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4643 eval "$wx_cv_use_expat"
4645 if test "$wxUSE_EXPAT" = yes; then
4646 { $as_echo "$as_me:$LINENO: result: yes" >&5
4647 $as_echo "yes" >&6; }
4648 elif test "$wxUSE_EXPAT" = no; then
4649 { $as_echo "$as_me:$LINENO: result: no" >&5
4650 $as_echo "no" >&6; }
4651 elif test "$wxUSE_EXPAT" = sys; then
4652 { $as_echo "$as_me:$LINENO: result: system version" >&5
4653 $as_echo "system version" >&6; }
4654 elif test "$wxUSE_EXPAT" = builtin; then
4655 { $as_echo "$as_me:$LINENO: result: builtin version" >&5
4656 $as_echo "builtin version" >&6; }
4658 { { $as_echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4659 $as_echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4660 { (exit 1); exit 1; }; }
4664 { $as_echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4665 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
4667 # Check whether --with-macosx-sdk was given.
4668 if test "${with_macosx_sdk+set}" = set; then
4669 withval=$with_macosx_sdk;
4670 wxUSE_MACOSX_SDK=$withval
4671 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4675 { $as_echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4676 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
4678 { $as_echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4679 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
4681 # Check whether --with-macosx-version-min was given.
4682 if test "${with_macosx_version_min+set}" = set; then
4683 withval=$with_macosx_version_min;
4684 wxUSE_MACOSX_VERSION_MIN=$withval
4685 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4689 { $as_echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4690 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
4694 enablestring=disable
4696 if test -z "$defaultval"; then
4697 if test x"$enablestring" = xdisable; then
4704 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4705 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
4706 # Check whether --enable-shared was given.
4707 if test "${enable_shared+set}" = set; then
4708 enableval=$enable_shared;
4709 if test "$enableval" = yes; then
4710 wx_cv_use_shared='wxUSE_SHARED
=yes'
4712 wx_cv_use_shared='wxUSE_SHARED
=no
'
4717 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4722 eval "$wx_cv_use_shared"
4724 if test x"$enablestring" = xdisable; then
4725 if test $wxUSE_SHARED = yes; then
4731 result=$wxUSE_SHARED
4734 { $as_echo "$as_me:$LINENO: result
: $result" >&5
4735 $as_echo "$result" >&6; }
4740 if test -z "$defaultval"; then
4741 if test x"$enablestring" = xdisable; then
4748 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4749 $as_echo_n "checking
for --${enablestring:-enable}-debug...
" >&6; }
4750 # Check whether --enable-debug was given.
4751 if test "${enable_debug+set}" = set; then
4752 enableval=$enable_debug;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_debug='wxUSE_DEBUG=yes'
4756 wx_cv_use_debug='wxUSE_DEBUG=no'
4761 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4766 eval "$wx_cv_use_debug"
4768 if test x
"$enablestring" = xdisable
; then
4769 if test $wxUSE_DEBUG = yes; then
4778 { $as_echo "$as_me:$LINENO: result: $result" >&5
4779 $as_echo "$result" >&6; }
4784 if test -z "$defaultval"; then
4785 if test x
"$enablestring" = xdisable
; then
4792 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4793 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
4794 # Check whether --enable-stl was given.
4795 if test "${enable_stl+set}" = set; then
4796 enableval
=$enable_stl;
4797 if test "$enableval" = yes; then
4798 wx_cv_use_stl
='wxUSE_STL=yes'
4800 wx_cv_use_stl
='wxUSE_STL=no'
4805 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4810 eval "$wx_cv_use_stl"
4812 if test x"$enablestring" = xdisable; then
4813 if test $wxUSE_STL = yes; then
4822 { $as_echo "$as_me:$LINENO: result: $result" >&5
4823 $as_echo "$result" >&6; }
4828 if test -z "$defaultval"; then
4829 if test x"$enablestring" = xdisable; then
4836 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4837 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
4838 # Check whether --enable-std_iostreams was given.
4839 if test "${enable_std_iostreams+set}" = set; then
4840 enableval=$enable_std_iostreams;
4841 if test "$enableval" = yes; then
4842 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4844 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4849 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4854 eval "$wx_cv_use_std_iostreams"
4856 if test x"$enablestring" = xdisable; then
4857 if test $wxUSE_STD_IOSTREAM = yes; then
4863 result=$wxUSE_STD_IOSTREAM
4866 { $as_echo "$as_me:$LINENO: result
: $result" >&5
4867 $as_echo "$result" >&6; }
4872 if test -z "$defaultval"; then
4873 if test x"$enablestring" = xdisable; then
4880 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4881 $as_echo_n "checking
for --${enablestring:-enable}-std_string...
" >&6; }
4882 # Check whether --enable-std_string was given.
4883 if test "${enable_std_string+set}" = set; then
4884 enableval=$enable_std_string;
4885 if test "$enableval" = yes; then
4886 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4888 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4893 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4898 eval "$wx_cv_use_std_string"
4900 if test x
"$enablestring" = xdisable
; then
4901 if test $wxUSE_STD_STRING = yes; then
4907 result
=$wxUSE_STD_STRING
4910 { $as_echo "$as_me:$LINENO: result: $result" >&5
4911 $as_echo "$result" >&6; }
4914 enablestring
=disable
4916 if test -z "$defaultval"; then
4917 if test x
"$enablestring" = xdisable
; then
4924 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4925 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
4926 # Check whether --enable-unicode was given.
4927 if test "${enable_unicode+set}" = set; then
4928 enableval
=$enable_unicode;
4929 if test "$enableval" = yes; then
4930 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4932 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4937 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4942 eval "$wx_cv_use_unicode"
4944 if test x"$enablestring" = xdisable; then
4945 if test $wxUSE_UNICODE = yes; then
4951 result=$wxUSE_UNICODE
4954 { $as_echo "$as_me:$LINENO: result: $result" >&5
4955 $as_echo "$result" >&6; }
4960 if test -z "$defaultval"; then
4961 if test x"$enablestring" = xdisable; then
4968 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4969 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
4970 # Check whether --enable-mslu was given.
4971 if test "${enable_mslu+set}" = set; then
4972 enableval=$enable_mslu;
4973 if test "$enableval" = yes; then
4974 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4976 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4981 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4986 eval "$wx_cv_use_mslu"
4988 if test x"$enablestring" = xdisable; then
4989 if test $wxUSE_UNICODE_MSLU = yes; then
4995 result=$wxUSE_UNICODE_MSLU
4998 { $as_echo "$as_me:$LINENO: result
: $result" >&5
4999 $as_echo "$result" >&6; }
5003 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5004 $as_echo_n "checking
for --${enablestring:-enable}-utf8...
" >&6; }
5005 # Check whether --enable-utf8 was given.
5006 if test "${enable_utf8+set}" = set; then
5007 enableval=$enable_utf8;
5008 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5012 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5017 eval "$wx_cv_use_utf8"
5019 { $as_echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5020 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
5025 if test -z "$defaultval"; then
5026 if test x"$enablestring" = xdisable; then
5033 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5034 $as_echo_n "checking
for --${enablestring:-enable}-utf8only...
" >&6; }
5035 # Check whether --enable-utf8only was given.
5036 if test "${enable_utf8only+set}" = set; then
5037 enableval=$enable_utf8only;
5038 if test "$enableval" = yes; then
5039 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5041 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5046 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5051 eval "$wx_cv_use_utf8only"
5053 if test x
"$enablestring" = xdisable
; then
5054 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
5060 result
=$wxUSE_UNICODE_UTF8_LOCALE
5063 { $as_echo "$as_me:$LINENO: result: $result" >&5
5064 $as_echo "$result" >&6; }
5069 if test -z "$defaultval"; then
5070 if test x
"$enablestring" = xdisable
; then
5077 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5078 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
5079 # Check whether --enable-extended_rtti was given.
5080 if test "${enable_extended_rtti+set}" = set; then
5081 enableval
=$enable_extended_rtti;
5082 if test "$enableval" = yes; then
5083 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5085 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5090 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5095 eval "$wx_cv_use_extended_rtti"
5097 if test x"$enablestring" = xdisable; then
5098 if test $wxUSE_EXTENDED_RTTI = yes; then
5104 result=$wxUSE_EXTENDED_RTTI
5107 { $as_echo "$as_me:$LINENO: result: $result" >&5
5108 $as_echo "$result" >&6; }
5110 if test "$USE_OS2" = 1; then
5111 DEFAULT_wxUSE_OMF=no
5115 if test -z "$defaultval"; then
5116 if test x"$enablestring" = xdisable; then
5123 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5124 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
5125 # Check whether --enable-omf was given.
5126 if test "${enable_omf+set}" = set; then
5127 enableval=$enable_omf;
5128 if test "$enableval" = yes; then
5129 wx_cv_use_omf='wxUSE_OMF
=yes'
5131 wx_cv_use_omf='wxUSE_OMF
=no
'
5136 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5141 eval "$wx_cv_use_omf"
5143 if test x"$enablestring" = xdisable; then
5144 if test $wxUSE_OMF = yes; then
5153 { $as_echo "$as_me:$LINENO: result
: $result" >&5
5154 $as_echo "$result" >&6; }
5158 if test "$wxUSE_DEBUG" = "yes"; then
5159 DEFAULT_wxUSE_DEBUG_FLAG=yes
5160 DEFAULT_wxUSE_DEBUG_INFO=yes
5162 elif test "$wxUSE_DEBUG" = "no
"; then
5163 DEFAULT_wxUSE_DEBUG_FLAG=no
5164 DEFAULT_wxUSE_DEBUG_INFO=no
5171 if test -z "$defaultval"; then
5172 if test x"$enablestring" = xdisable; then
5179 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
5180 $as_echo_n "checking
for --${enablestring:-enable}-debug_flag...
" >&6; }
5181 # Check whether --enable-debug_flag was given.
5182 if test "${enable_debug_flag+set}" = set; then
5183 enableval=$enable_debug_flag;
5184 if test "$enableval" = yes; then
5185 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5187 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5192 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5197 eval "$wx_cv_use_debug_flag"
5199 if test x
"$enablestring" = xdisable
; then
5200 if test $wxUSE_DEBUG_FLAG = yes; then
5206 result
=$wxUSE_DEBUG_FLAG
5209 { $as_echo "$as_me:$LINENO: result: $result" >&5
5210 $as_echo "$result" >&6; }
5215 if test -z "$defaultval"; then
5216 if test x
"$enablestring" = xdisable
; then
5223 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5224 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5225 # Check whether --enable-debug_info was given.
5226 if test "${enable_debug_info+set}" = set; then
5227 enableval
=$enable_debug_info;
5228 if test "$enableval" = yes; then
5229 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5231 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5236 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5241 eval "$wx_cv_use_debug_info"
5243 if test x"$enablestring" = xdisable; then
5244 if test $wxUSE_DEBUG_INFO = yes; then
5250 result=$wxUSE_DEBUG_INFO
5253 { $as_echo "$as_me:$LINENO: result: $result" >&5
5254 $as_echo "$result" >&6; }
5257 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
5262 if test "$wxUSE_DEBUG" = "yes"; then
5263 DEFAULT_wxUSE_OPTIMISE=no
5267 enablestring=disable
5269 if test -z "$defaultval"; then
5270 if test x"$enablestring" = xdisable; then
5277 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5278 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
5279 # Check whether --enable-optimise was given.
5280 if test "${enable_optimise+set}" = set; then
5281 enableval=$enable_optimise;
5282 if test "$enableval" = yes; then
5283 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
5285 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
5290 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5295 eval "$wx_cv_use_optimise"
5297 if test x"$enablestring" = xdisable; then
5298 if test $wxUSE_OPTIMISE = yes; then
5304 result=$wxUSE_OPTIMISE
5307 { $as_echo "$as_me:$LINENO: result
: $result" >&5
5308 $as_echo "$result" >&6; }
5314 if test -z "$defaultval"; then
5315 if test x"$enablestring" = xdisable; then
5322 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
5323 $as_echo_n "checking
for --${enablestring:-enable}-debug_gdb...
" >&6; }
5324 # Check whether --enable-debug_gdb was given.
5325 if test "${enable_debug_gdb+set}" = set; then
5326 enableval=$enable_debug_gdb;
5327 if test "$enableval" = yes; then
5328 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5330 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5335 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5340 eval "$wx_cv_use_debug_gdb"
5342 if test x
"$enablestring" = xdisable
; then
5343 if test $wxUSE_DEBUG_GDB = yes; then
5349 result
=$wxUSE_DEBUG_GDB
5352 { $as_echo "$as_me:$LINENO: result: $result" >&5
5353 $as_echo "$result" >&6; }
5358 if test -z "$defaultval"; then
5359 if test x
"$enablestring" = xdisable
; then
5366 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5367 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5368 # Check whether --enable-debug_cntxt was given.
5369 if test "${enable_debug_cntxt+set}" = set; then
5370 enableval
=$enable_debug_cntxt;
5371 if test "$enableval" = yes; then
5372 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5374 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5379 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5384 eval "$wx_cv_use_debug_cntxt"
5386 if test x"$enablestring" = xdisable; then
5387 if test $wxUSE_DEBUG_CONTEXT = yes; then
5393 result=$wxUSE_DEBUG_CONTEXT
5396 { $as_echo "$as_me:$LINENO: result: $result" >&5
5397 $as_echo "$result" >&6; }
5402 if test -z "$defaultval"; then
5403 if test x"$enablestring" = xdisable; then
5410 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5411 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5412 # Check whether --enable-mem_tracing was given.
5413 if test "${enable_mem_tracing+set}" = set; then
5414 enableval=$enable_mem_tracing;
5415 if test "$enableval" = yes; then
5416 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5418 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5423 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5428 eval "$wx_cv_use_mem_tracing"
5430 if test x"$enablestring" = xdisable; then
5431 if test $wxUSE_MEM_TRACING = yes; then
5437 result=$wxUSE_MEM_TRACING
5440 { $as_echo "$as_me:$LINENO: result
: $result" >&5
5441 $as_echo "$result" >&6; }
5446 if test -z "$defaultval"; then
5447 if test x"$enablestring" = xdisable; then
5454 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5455 $as_echo_n "checking
for --${enablestring:-enable}-profile...
" >&6; }
5456 # Check whether --enable-profile was given.
5457 if test "${enable_profile+set}" = set; then
5458 enableval=$enable_profile;
5459 if test "$enableval" = yes; then
5460 wx_cv_use_profile='wxUSE_PROFILE=yes'
5462 wx_cv_use_profile='wxUSE_PROFILE=no'
5467 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5472 eval "$wx_cv_use_profile"
5474 if test x
"$enablestring" = xdisable
; then
5475 if test $wxUSE_PROFILE = yes; then
5481 result
=$wxUSE_PROFILE
5484 { $as_echo "$as_me:$LINENO: result: $result" >&5
5485 $as_echo "$result" >&6; }
5490 if test -z "$defaultval"; then
5491 if test x
"$enablestring" = xdisable
; then
5498 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5499 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
5500 # Check whether --enable-no_rtti was given.
5501 if test "${enable_no_rtti+set}" = set; then
5502 enableval
=$enable_no_rtti;
5503 if test "$enableval" = yes; then
5504 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5506 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5511 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5516 eval "$wx_cv_use_no_rtti"
5518 if test x"$enablestring" = xdisable; then
5519 if test $wxUSE_NO_RTTI = yes; then
5525 result=$wxUSE_NO_RTTI
5528 { $as_echo "$as_me:$LINENO: result: $result" >&5
5529 $as_echo "$result" >&6; }
5534 if test -z "$defaultval"; then
5535 if test x"$enablestring" = xdisable; then
5542 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5543 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
5544 # Check whether --enable-no_exceptions was given.
5545 if test "${enable_no_exceptions+set}" = set; then
5546 enableval=$enable_no_exceptions;
5547 if test "$enableval" = yes; then
5548 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5550 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5555 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5560 eval "$wx_cv_use_no_exceptions"
5562 if test x"$enablestring" = xdisable; then
5563 if test $wxUSE_NO_EXCEPTIONS = yes; then
5569 result=$wxUSE_NO_EXCEPTIONS
5572 { $as_echo "$as_me:$LINENO: result
: $result" >&5
5573 $as_echo "$result" >&6; }
5578 if test -z "$defaultval"; then
5579 if test x"$enablestring" = xdisable; then
5586 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5587 $as_echo_n "checking
for --${enablestring:-enable}-permissive...
" >&6; }
5588 # Check whether --enable-permissive was given.
5589 if test "${enable_permissive+set}" = set; then
5590 enableval=$enable_permissive;
5591 if test "$enableval" = yes; then
5592 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5594 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5599 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5604 eval "$wx_cv_use_permissive"
5606 if test x
"$enablestring" = xdisable
; then
5607 if test $wxUSE_PERMISSIVE = yes; then
5613 result
=$wxUSE_PERMISSIVE
5616 { $as_echo "$as_me:$LINENO: result: $result" >&5
5617 $as_echo "$result" >&6; }
5622 if test -z "$defaultval"; then
5623 if test x
"$enablestring" = xdisable
; then
5630 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5631 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
5632 # Check whether --enable-no_deps was given.
5633 if test "${enable_no_deps+set}" = set; then
5634 enableval
=$enable_no_deps;
5635 if test "$enableval" = yes; then
5636 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5638 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5643 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5648 eval "$wx_cv_use_no_deps"
5650 if test x"$enablestring" = xdisable; then
5651 if test $wxUSE_NO_DEPS = yes; then
5657 result=$wxUSE_NO_DEPS
5660 { $as_echo "$as_me:$LINENO: result: $result" >&5
5661 $as_echo "$result" >&6; }
5664 enablestring=disable
5666 if test -z "$defaultval"; then
5667 if test x"$enablestring" = xdisable; then
5674 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5675 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
5676 # Check whether --enable-vararg_macros was given.
5677 if test "${enable_vararg_macros+set}" = set; then
5678 enableval=$enable_vararg_macros;
5679 if test "$enableval" = yes; then
5680 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5682 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5687 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5692 eval "$wx_cv_use_vararg_macros"
5694 if test x"$enablestring" = xdisable; then
5695 if test $wxUSE_VARARG_MACROS = yes; then
5701 result=$wxUSE_VARARG_MACROS
5704 { $as_echo "$as_me:$LINENO: result
: $result" >&5
5705 $as_echo "$result" >&6; }
5709 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5710 $as_echo_n "checking
for --${enablestring:-enable}-universal_binary...
" >&6; }
5711 # Check whether --enable-universal_binary was given.
5712 if test "${enable_universal_binary+set}" = set; then
5713 enableval=$enable_universal_binary;
5714 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5718 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5723 eval "$wx_cv_use_universal_binary"
5725 { $as_echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5726 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
5732 if test -z "$defaultval"; then
5733 if test x"$enablestring" = xdisable; then
5740 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5741 $as_echo_n "checking
for --${enablestring:-enable}-compat26...
" >&6; }
5742 # Check whether --enable-compat26 was given.
5743 if test "${enable_compat26+set}" = set; then
5744 enableval=$enable_compat26;
5745 if test "$enableval" = yes; then
5746 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5748 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5753 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5758 eval "$wx_cv_use_compat26"
5760 if test x
"$enablestring" = xdisable
; then
5761 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5767 result
=$WXWIN_COMPATIBILITY_2_6
5770 { $as_echo "$as_me:$LINENO: result: $result" >&5
5771 $as_echo "$result" >&6; }
5774 enablestring
=disable
5776 if test -z "$defaultval"; then
5777 if test x
"$enablestring" = xdisable
; then
5784 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5785 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
5786 # Check whether --enable-compat28 was given.
5787 if test "${enable_compat28+set}" = set; then
5788 enableval
=$enable_compat28;
5789 if test "$enableval" = yes; then
5790 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5792 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5797 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5802 eval "$wx_cv_use_compat28"
5804 if test x"$enablestring" = xdisable; then
5805 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5811 result=$WXWIN_COMPATIBILITY_2_8
5814 { $as_echo "$as_me:$LINENO: result: $result" >&5
5815 $as_echo "$result" >&6; }
5818 cat >>confdefs.h <<\_ACEOF
5819 #define wxEVENTS_COMPATIBILITY_2_8 0
5824 enablestring=disable
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5834 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5835 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
5836 # Check whether --enable-rpath was given.
5837 if test "${enable_rpath+set}" = set; then
5838 enableval=$enable_rpath;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5842 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5847 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5852 eval "$wx_cv_use_rpath"
5854 if test x"$enablestring" = xdisable; then
5855 if test $wxUSE_RPATH = yes; then
5864 { $as_echo "$as_me:$LINENO: result
: $result" >&5
5865 $as_echo "$result" >&6; }
5871 if test -z "$defaultval"; then
5872 if test x"$enablestring" = xdisable; then
5879 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5880 $as_echo_n "checking
for --${enablestring:-enable}-objc_uniquifying...
" >&6; }
5881 # Check whether --enable-objc_uniquifying was given.
5882 if test "${enable_objc_uniquifying+set}" = set; then
5883 enableval=$enable_objc_uniquifying;
5884 if test "$enableval" = yes; then
5885 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5887 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5892 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5897 eval "$wx_cv_use_objc_uniquifying"
5899 if test x
"$enablestring" = xdisable
; then
5900 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5906 result
=$wxUSE_OBJC_UNIQUIFYING
5909 { $as_echo "$as_me:$LINENO: result: $result" >&5
5910 $as_echo "$result" >&6; }
5914 enablestring
=disable
5916 if test -z "$defaultval"; then
5917 if test x
"$enablestring" = xdisable
; then
5924 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5925 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
5926 # Check whether --enable-visibility was given.
5927 if test "${enable_visibility+set}" = set; then
5928 enableval
=$enable_visibility;
5929 if test "$enableval" = yes; then
5930 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5932 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5937 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5942 eval "$wx_cv_use_visibility"
5944 if test x"$enablestring" = xdisable; then
5945 if test $wxUSE_VISIBILITY = yes; then
5951 result=$wxUSE_VISIBILITY
5954 { $as_echo "$as_me:$LINENO: result: $result" >&5
5955 $as_echo "$result" >&6; }
5961 defaultval=$wxUSE_ALL_FEATURES
5962 if test -z "$defaultval"; then
5963 if test x"$enablestring" = xdisable; then
5970 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5971 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
5972 # Check whether --enable-intl was given.
5973 if test "${enable_intl+set}" = set; then
5974 enableval=$enable_intl;
5975 if test "$enableval" = yes; then
5976 wx_cv_use_intl='wxUSE_INTL
=yes'
5978 wx_cv_use_intl='wxUSE_INTL
=no
'
5983 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5988 eval "$wx_cv_use_intl"
5990 if test x"$enablestring" = xdisable; then
5991 if test $wxUSE_INTL = yes; then
6000 { $as_echo "$as_me:$LINENO: result
: $result" >&5
6001 $as_echo "$result" >&6; }
6005 defaultval=$wxUSE_ALL_FEATURES
6006 if test -z "$defaultval"; then
6007 if test x"$enablestring" = xdisable; then
6014 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
6015 $as_echo_n "checking
for --${enablestring:-enable}-xlocale...
" >&6; }
6016 # Check whether --enable-xlocale was given.
6017 if test "${enable_xlocale+set}" = set; then
6018 enableval=$enable_xlocale;
6019 if test "$enableval" = yes; then
6020 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
6022 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
6027 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
6032 eval "$wx_cv_use_xlocale"
6034 if test x
"$enablestring" = xdisable
; then
6035 if test $wxUSE_XLOCALE = yes; then
6041 result
=$wxUSE_XLOCALE
6044 { $as_echo "$as_me:$LINENO: result: $result" >&5
6045 $as_echo "$result" >&6; }
6049 defaultval
=$wxUSE_ALL_FEATURES
6050 if test -z "$defaultval"; then
6051 if test x
"$enablestring" = xdisable
; then
6058 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6059 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
6060 # Check whether --enable-config was given.
6061 if test "${enable_config+set}" = set; then
6062 enableval
=$enable_config;
6063 if test "$enableval" = yes; then
6064 wx_cv_use_config
='wxUSE_CONFIG=yes'
6066 wx_cv_use_config
='wxUSE_CONFIG=no'
6071 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6076 eval "$wx_cv_use_config"
6078 if test x"$enablestring" = xdisable; then
6079 if test $wxUSE_CONFIG = yes; then
6085 result=$wxUSE_CONFIG
6088 { $as_echo "$as_me:$LINENO: result: $result" >&5
6089 $as_echo "$result" >&6; }
6094 defaultval=$wxUSE_ALL_FEATURES
6095 if test -z "$defaultval"; then
6096 if test x"$enablestring" = xdisable; then
6103 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6104 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
6105 # Check whether --enable-protocols was given.
6106 if test "${enable_protocols+set}" = set; then
6107 enableval=$enable_protocols;
6108 if test "$enableval" = yes; then
6109 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
6111 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
6116 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6121 eval "$wx_cv_use_protocols"
6123 if test x"$enablestring" = xdisable; then
6124 if test $wxUSE_PROTOCOL = yes; then
6130 result=$wxUSE_PROTOCOL
6133 { $as_echo "$as_me:$LINENO: result
: $result" >&5
6134 $as_echo "$result" >&6; }
6138 defaultval=$wxUSE_ALL_FEATURES
6139 if test -z "$defaultval"; then
6140 if test x"$enablestring" = xdisable; then
6147 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
6148 $as_echo_n "checking
for --${enablestring:-enable}-ftp...
" >&6; }
6149 # Check whether --enable-ftp was given.
6150 if test "${enable_ftp+set}" = set; then
6151 enableval=$enable_ftp;
6152 if test "$enableval" = yes; then
6153 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6155 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6160 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6165 eval "$wx_cv_use_ftp"
6167 if test x
"$enablestring" = xdisable
; then
6168 if test $wxUSE_PROTOCOL_FTP = yes; then
6174 result
=$wxUSE_PROTOCOL_FTP
6177 { $as_echo "$as_me:$LINENO: result: $result" >&5
6178 $as_echo "$result" >&6; }
6182 defaultval
=$wxUSE_ALL_FEATURES
6183 if test -z "$defaultval"; then
6184 if test x
"$enablestring" = xdisable
; then
6191 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6192 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
6193 # Check whether --enable-http was given.
6194 if test "${enable_http+set}" = set; then
6195 enableval
=$enable_http;
6196 if test "$enableval" = yes; then
6197 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
6199 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
6204 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6209 eval "$wx_cv_use_http"
6211 if test x"$enablestring" = xdisable; then
6212 if test $wxUSE_PROTOCOL_HTTP = yes; then
6218 result=$wxUSE_PROTOCOL_HTTP
6221 { $as_echo "$as_me:$LINENO: result: $result" >&5
6222 $as_echo "$result" >&6; }
6226 defaultval=$wxUSE_ALL_FEATURES
6227 if test -z "$defaultval"; then
6228 if test x"$enablestring" = xdisable; then
6235 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6236 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
6237 # Check whether --enable-fileproto was given.
6238 if test "${enable_fileproto+set}" = set; then
6239 enableval=$enable_fileproto;
6240 if test "$enableval" = yes; then
6241 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
6243 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
6248 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6253 eval "$wx_cv_use_fileproto"
6255 if test x"$enablestring" = xdisable; then
6256 if test $wxUSE_PROTOCOL_FILE = yes; then
6262 result=$wxUSE_PROTOCOL_FILE
6265 { $as_echo "$as_me:$LINENO: result
: $result" >&5
6266 $as_echo "$result" >&6; }
6270 defaultval=$wxUSE_ALL_FEATURES
6271 if test -z "$defaultval"; then
6272 if test x"$enablestring" = xdisable; then
6279 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
6280 $as_echo_n "checking
for --${enablestring:-enable}-sockets...
" >&6; }
6281 # Check whether --enable-sockets was given.
6282 if test "${enable_sockets+set}" = set; then
6283 enableval=$enable_sockets;
6284 if test "$enableval" = yes; then
6285 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6287 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6292 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6297 eval "$wx_cv_use_sockets"
6299 if test x
"$enablestring" = xdisable
; then
6300 if test $wxUSE_SOCKETS = yes; then
6306 result
=$wxUSE_SOCKETS
6309 { $as_echo "$as_me:$LINENO: result: $result" >&5
6310 $as_echo "$result" >&6; }
6314 defaultval
=$wxUSE_ALL_FEATURES
6315 if test -z "$defaultval"; then
6316 if test x
"$enablestring" = xdisable
; then
6323 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6324 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
6325 # Check whether --enable-ipv6 was given.
6326 if test "${enable_ipv6+set}" = set; then
6327 enableval
=$enable_ipv6;
6328 if test "$enableval" = yes; then
6329 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
6331 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6336 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6341 eval "$wx_cv_use_ipv6"
6343 if test x"$enablestring" = xdisable; then
6344 if test $wxUSE_IPV6 = yes; then
6353 { $as_echo "$as_me:$LINENO: result: $result" >&5
6354 $as_echo "$result" >&6; }
6358 defaultval=$wxUSE_ALL_FEATURES
6359 if test -z "$defaultval"; then
6360 if test x"$enablestring" = xdisable; then
6367 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6368 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
6369 # Check whether --enable-ole was given.
6370 if test "${enable_ole+set}" = set; then
6371 enableval=$enable_ole;
6372 if test "$enableval" = yes; then
6373 wx_cv_use_ole='wxUSE_OLE
=yes'
6375 wx_cv_use_ole='wxUSE_OLE
=no
'
6380 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6385 eval "$wx_cv_use_ole"
6387 if test x"$enablestring" = xdisable; then
6388 if test $wxUSE_OLE = yes; then
6397 { $as_echo "$as_me:$LINENO: result
: $result" >&5
6398 $as_echo "$result" >&6; }
6402 defaultval=$wxUSE_ALL_FEATURES
6403 if test -z "$defaultval"; then
6404 if test x"$enablestring" = xdisable; then
6411 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6412 $as_echo_n "checking
for --${enablestring:-enable}-dataobj...
" >&6; }
6413 # Check whether --enable-dataobj was given.
6414 if test "${enable_dataobj+set}" = set; then
6415 enableval=$enable_dataobj;
6416 if test "$enableval" = yes; then
6417 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6419 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6424 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6429 eval "$wx_cv_use_dataobj"
6431 if test x
"$enablestring" = xdisable
; then
6432 if test $wxUSE_DATAOBJ = yes; then
6438 result
=$wxUSE_DATAOBJ
6441 { $as_echo "$as_me:$LINENO: result: $result" >&5
6442 $as_echo "$result" >&6; }
6447 defaultval
=$wxUSE_ALL_FEATURES
6448 if test -z "$defaultval"; then
6449 if test x
"$enablestring" = xdisable
; then
6456 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6457 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
6458 # Check whether --enable-ipc was given.
6459 if test "${enable_ipc+set}" = set; then
6460 enableval
=$enable_ipc;
6461 if test "$enableval" = yes; then
6462 wx_cv_use_ipc
='wxUSE_IPC=yes'
6464 wx_cv_use_ipc
='wxUSE_IPC=no'
6469 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6474 eval "$wx_cv_use_ipc"
6476 if test x"$enablestring" = xdisable; then
6477 if test $wxUSE_IPC = yes; then
6486 { $as_echo "$as_me:$LINENO: result: $result" >&5
6487 $as_echo "$result" >&6; }
6492 defaultval=$wxUSE_ALL_FEATURES
6493 if test -z "$defaultval"; then
6494 if test x"$enablestring" = xdisable; then
6501 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6502 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
6503 # Check whether --enable-baseevtloop was given.
6504 if test "${enable_baseevtloop+set}" = set; then
6505 enableval=$enable_baseevtloop;
6506 if test "$enableval" = yes; then
6507 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6509 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6514 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6519 eval "$wx_cv_use_baseevtloop"
6521 if test x"$enablestring" = xdisable; then
6522 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6528 result=$wxUSE_CONSOLE_EVENTLOOP
6531 { $as_echo "$as_me:$LINENO: result
: $result" >&5
6532 $as_echo "$result" >&6; }
6536 defaultval=$wxUSE_ALL_FEATURES
6537 if test -z "$defaultval"; then
6538 if test x"$enablestring" = xdisable; then
6545 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6546 $as_echo_n "checking
for --${enablestring:-enable}-epollloop...
" >&6; }
6547 # Check whether --enable-epollloop was given.
6548 if test "${enable_epollloop+set}" = set; then
6549 enableval=$enable_epollloop;
6550 if test "$enableval" = yes; then
6551 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6553 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6558 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6563 eval "$wx_cv_use_epollloop"
6565 if test x
"$enablestring" = xdisable
; then
6566 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6572 result
=$wxUSE_EPOLL_DISPATCHER
6575 { $as_echo "$as_me:$LINENO: result: $result" >&5
6576 $as_echo "$result" >&6; }
6580 defaultval
=$wxUSE_ALL_FEATURES
6581 if test -z "$defaultval"; then
6582 if test x
"$enablestring" = xdisable
; then
6589 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6590 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
6591 # Check whether --enable-selectloop was given.
6592 if test "${enable_selectloop+set}" = set; then
6593 enableval
=$enable_selectloop;
6594 if test "$enableval" = yes; then
6595 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6597 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6602 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6607 eval "$wx_cv_use_selectloop"
6609 if test x"$enablestring" = xdisable; then
6610 if test $wxUSE_SELECT_DISPATCHER = yes; then
6616 result=$wxUSE_SELECT_DISPATCHER
6619 { $as_echo "$as_me:$LINENO: result: $result" >&5
6620 $as_echo "$result" >&6; }
6625 defaultval=$wxUSE_ALL_FEATURES
6626 if test -z "$defaultval"; then
6627 if test x"$enablestring" = xdisable; then
6634 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6635 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
6636 # Check whether --enable-apple_ieee was given.
6637 if test "${enable_apple_ieee+set}" = set; then
6638 enableval=$enable_apple_ieee;
6639 if test "$enableval" = yes; then
6640 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6642 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6647 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6652 eval "$wx_cv_use_apple_ieee"
6654 if test x"$enablestring" = xdisable; then
6655 if test $wxUSE_APPLE_IEEE = yes; then
6661 result=$wxUSE_APPLE_IEEE
6664 { $as_echo "$as_me:$LINENO: result
: $result" >&5
6665 $as_echo "$result" >&6; }
6669 defaultval=$wxUSE_ALL_FEATURES
6670 if test -z "$defaultval"; then
6671 if test x"$enablestring" = xdisable; then
6678 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6679 $as_echo_n "checking
for --${enablestring:-enable}-arcstream...
" >&6; }
6680 # Check whether --enable-arcstream was given.
6681 if test "${enable_arcstream+set}" = set; then
6682 enableval=$enable_arcstream;
6683 if test "$enableval" = yes; then
6684 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6686 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6691 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6696 eval "$wx_cv_use_arcstream"
6698 if test x
"$enablestring" = xdisable
; then
6699 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6705 result
=$wxUSE_ARCHIVE_STREAMS
6708 { $as_echo "$as_me:$LINENO: result: $result" >&5
6709 $as_echo "$result" >&6; }
6713 defaultval
=$wxUSE_ALL_FEATURES
6714 if test -z "$defaultval"; then
6715 if test x
"$enablestring" = xdisable
; then
6722 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6723 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
6724 # Check whether --enable-base64 was given.
6725 if test "${enable_base64+set}" = set; then
6726 enableval
=$enable_base64;
6727 if test "$enableval" = yes; then
6728 wx_cv_use_base64
='wxUSE_BASE64=yes'
6730 wx_cv_use_base64
='wxUSE_BASE64=no'
6735 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6740 eval "$wx_cv_use_base64"
6742 if test x"$enablestring" = xdisable; then
6743 if test $wxUSE_BASE64 = yes; then
6749 result=$wxUSE_BASE64
6752 { $as_echo "$as_me:$LINENO: result: $result" >&5
6753 $as_echo "$result" >&6; }
6757 defaultval=$wxUSE_ALL_FEATURES
6758 if test -z "$defaultval"; then
6759 if test x"$enablestring" = xdisable; then
6766 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6767 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
6768 # Check whether --enable-backtrace was given.
6769 if test "${enable_backtrace+set}" = set; then
6770 enableval=$enable_backtrace;
6771 if test "$enableval" = yes; then
6772 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6774 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6779 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6784 eval "$wx_cv_use_backtrace"
6786 if test x"$enablestring" = xdisable; then
6787 if test $wxUSE_STACKWALKER = yes; then
6793 result=$wxUSE_STACKWALKER
6796 { $as_echo "$as_me:$LINENO: result
: $result" >&5
6797 $as_echo "$result" >&6; }
6801 defaultval=$wxUSE_ALL_FEATURES
6802 if test -z "$defaultval"; then
6803 if test x"$enablestring" = xdisable; then
6810 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6811 $as_echo_n "checking
for --${enablestring:-enable}-catch_segvs...
" >&6; }
6812 # Check whether --enable-catch_segvs was given.
6813 if test "${enable_catch_segvs+set}" = set; then
6814 enableval=$enable_catch_segvs;
6815 if test "$enableval" = yes; then
6816 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6818 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6823 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6828 eval "$wx_cv_use_catch_segvs"
6830 if test x
"$enablestring" = xdisable
; then
6831 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6837 result
=$wxUSE_ON_FATAL_EXCEPTION
6840 { $as_echo "$as_me:$LINENO: result: $result" >&5
6841 $as_echo "$result" >&6; }
6845 defaultval
=$wxUSE_ALL_FEATURES
6846 if test -z "$defaultval"; then
6847 if test x
"$enablestring" = xdisable
; then
6854 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6855 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
6856 # Check whether --enable-cmdline was given.
6857 if test "${enable_cmdline+set}" = set; then
6858 enableval
=$enable_cmdline;
6859 if test "$enableval" = yes; then
6860 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6862 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6867 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6872 eval "$wx_cv_use_cmdline"
6874 if test x"$enablestring" = xdisable; then
6875 if test $wxUSE_CMDLINE_PARSER = yes; then
6881 result=$wxUSE_CMDLINE_PARSER
6884 { $as_echo "$as_me:$LINENO: result: $result" >&5
6885 $as_echo "$result" >&6; }
6889 defaultval=$wxUSE_ALL_FEATURES
6890 if test -z "$defaultval"; then
6891 if test x"$enablestring" = xdisable; then
6898 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6899 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
6900 # Check whether --enable-datetime was given.
6901 if test "${enable_datetime+set}" = set; then
6902 enableval=$enable_datetime;
6903 if test "$enableval" = yes; then
6904 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6906 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6911 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6916 eval "$wx_cv_use_datetime"
6918 if test x"$enablestring" = xdisable; then
6919 if test $wxUSE_DATETIME = yes; then
6925 result=$wxUSE_DATETIME
6928 { $as_echo "$as_me:$LINENO: result
: $result" >&5
6929 $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:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6943 $as_echo_n "checking
for --${enablestring:-enable}-debugreport...
" >&6; }
6944 # Check whether --enable-debugreport was given.
6945 if test "${enable_debugreport+set}" = set; then
6946 enableval=$enable_debugreport;
6947 if test "$enableval" = yes; then
6948 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6950 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6955 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6960 eval "$wx_cv_use_debugreport"
6962 if test x
"$enablestring" = xdisable
; then
6963 if test $wxUSE_DEBUGREPORT = yes; then
6969 result
=$wxUSE_DEBUGREPORT
6972 { $as_echo "$as_me:$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:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6987 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
6988 # Check whether --enable-dialupman was given.
6989 if test "${enable_dialupman+set}" = set; then
6990 enableval
=$enable_dialupman;
6991 if test "$enableval" = yes; then
6992 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6994 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6999 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7004 eval "$wx_cv_use_dialupman"
7006 if test x"$enablestring" = xdisable; then
7007 if test $wxUSE_DIALUP_MANAGER = yes; then
7013 result=$wxUSE_DIALUP_MANAGER
7016 { $as_echo "$as_me:$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:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7031 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
7032 # Check whether --enable-dynlib was given.
7033 if test "${enable_dynlib+set}" = set; then
7034 enableval=$enable_dynlib;
7035 if test "$enableval" = yes; then
7036 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
7038 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
7043 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7048 eval "$wx_cv_use_dynlib"
7050 if test x"$enablestring" = xdisable; then
7051 if test $wxUSE_DYNLIB_CLASS = yes; then
7057 result=$wxUSE_DYNLIB_CLASS
7060 { $as_echo "$as_me:$LINENO: result
: $result" >&5
7061 $as_echo "$result" >&6; }
7065 defaultval=$wxUSE_ALL_FEATURES
7066 if test -z "$defaultval"; then
7067 if test x"$enablestring" = xdisable; then
7074 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7075 $as_echo_n "checking
for --${enablestring:-enable}-dynamicloader...
" >&6; }
7076 # Check whether --enable-dynamicloader was given.
7077 if test "${enable_dynamicloader+set}" = set; then
7078 enableval=$enable_dynamicloader;
7079 if test "$enableval" = yes; then
7080 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7082 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7087 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7092 eval "$wx_cv_use_dynamicloader"
7094 if test x
"$enablestring" = xdisable
; then
7095 if test $wxUSE_DYNAMIC_LOADER = yes; then
7101 result
=$wxUSE_DYNAMIC_LOADER
7104 { $as_echo "$as_me:$LINENO: result: $result" >&5
7105 $as_echo "$result" >&6; }
7109 defaultval
=$wxUSE_ALL_FEATURES
7110 if test -z "$defaultval"; then
7111 if test x
"$enablestring" = xdisable
; then
7118 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7119 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
7120 # Check whether --enable-exceptions was given.
7121 if test "${enable_exceptions+set}" = set; then
7122 enableval
=$enable_exceptions;
7123 if test "$enableval" = yes; then
7124 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7126 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7131 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7136 eval "$wx_cv_use_exceptions"
7138 if test x"$enablestring" = xdisable; then
7139 if test $wxUSE_EXCEPTIONS = yes; then
7145 result=$wxUSE_EXCEPTIONS
7148 { $as_echo "$as_me:$LINENO: result: $result" >&5
7149 $as_echo "$result" >&6; }
7153 defaultval=$wxUSE_ALL_FEATURES
7154 if test -z "$defaultval"; then
7155 if test x"$enablestring" = xdisable; then
7162 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7163 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
7164 # Check whether --enable-ffile was given.
7165 if test "${enable_ffile+set}" = set; then
7166 enableval=$enable_ffile;
7167 if test "$enableval" = yes; then
7168 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7170 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7175 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7180 eval "$wx_cv_use_ffile"
7182 if test x"$enablestring" = xdisable; then
7183 if test $wxUSE_FFILE = yes; then
7192 { $as_echo "$as_me:$LINENO: result
: $result" >&5
7193 $as_echo "$result" >&6; }
7197 defaultval=$wxUSE_ALL_FEATURES
7198 if test -z "$defaultval"; then
7199 if test x"$enablestring" = xdisable; then
7206 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7207 $as_echo_n "checking
for --${enablestring:-enable}-file...
" >&6; }
7208 # Check whether --enable-file was given.
7209 if test "${enable_file+set}" = set; then
7210 enableval=$enable_file;
7211 if test "$enableval" = yes; then
7212 wx_cv_use_file='wxUSE_FILE=yes'
7214 wx_cv_use_file='wxUSE_FILE=no'
7219 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7224 eval "$wx_cv_use_file"
7226 if test x
"$enablestring" = xdisable
; then
7227 if test $wxUSE_FILE = yes; then
7236 { $as_echo "$as_me:$LINENO: result: $result" >&5
7237 $as_echo "$result" >&6; }
7241 defaultval
=$wxUSE_ALL_FEATURES
7242 if test -z "$defaultval"; then
7243 if test x
"$enablestring" = xdisable
; then
7250 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7251 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
7252 # Check whether --enable-filesystem was given.
7253 if test "${enable_filesystem+set}" = set; then
7254 enableval
=$enable_filesystem;
7255 if test "$enableval" = yes; then
7256 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
7258 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
7263 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7268 eval "$wx_cv_use_filesystem"
7270 if test x"$enablestring" = xdisable; then
7271 if test $wxUSE_FILESYSTEM = yes; then
7277 result=$wxUSE_FILESYSTEM
7280 { $as_echo "$as_me:$LINENO: result: $result" >&5
7281 $as_echo "$result" >&6; }
7285 defaultval=$wxUSE_ALL_FEATURES
7286 if test -z "$defaultval"; then
7287 if test x"$enablestring" = xdisable; then
7294 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7295 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
7296 # Check whether --enable-fontenum was given.
7297 if test "${enable_fontenum+set}" = set; then
7298 enableval=$enable_fontenum;
7299 if test "$enableval" = yes; then
7300 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
7302 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
7307 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7312 eval "$wx_cv_use_fontenum"
7314 if test x"$enablestring" = xdisable; then
7315 if test $wxUSE_FONTENUM = yes; then
7321 result=$wxUSE_FONTENUM
7324 { $as_echo "$as_me:$LINENO: result
: $result" >&5
7325 $as_echo "$result" >&6; }
7329 defaultval=$wxUSE_ALL_FEATURES
7330 if test -z "$defaultval"; then
7331 if test x"$enablestring" = xdisable; then
7338 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7339 $as_echo_n "checking
for --${enablestring:-enable}-fontmap...
" >&6; }
7340 # Check whether --enable-fontmap was given.
7341 if test "${enable_fontmap+set}" = set; then
7342 enableval=$enable_fontmap;
7343 if test "$enableval" = yes; then
7344 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7346 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7351 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7356 eval "$wx_cv_use_fontmap"
7358 if test x
"$enablestring" = xdisable
; then
7359 if test $wxUSE_FONTMAP = yes; then
7365 result
=$wxUSE_FONTMAP
7368 { $as_echo "$as_me:$LINENO: result: $result" >&5
7369 $as_echo "$result" >&6; }
7373 defaultval
=$wxUSE_ALL_FEATURES
7374 if test -z "$defaultval"; then
7375 if test x
"$enablestring" = xdisable
; then
7382 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7383 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
7384 # Check whether --enable-fs_archive was given.
7385 if test "${enable_fs_archive+set}" = set; then
7386 enableval
=$enable_fs_archive;
7387 if test "$enableval" = yes; then
7388 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7390 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7395 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7400 eval "$wx_cv_use_fs_archive"
7402 if test x"$enablestring" = xdisable; then
7403 if test $wxUSE_FS_ARCHIVE = yes; then
7409 result=$wxUSE_FS_ARCHIVE
7412 { $as_echo "$as_me:$LINENO: result: $result" >&5
7413 $as_echo "$result" >&6; }
7417 defaultval=$wxUSE_ALL_FEATURES
7418 if test -z "$defaultval"; then
7419 if test x"$enablestring" = xdisable; then
7426 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7427 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
7428 # Check whether --enable-fs_inet was given.
7429 if test "${enable_fs_inet+set}" = set; then
7430 enableval=$enable_fs_inet;
7431 if test "$enableval" = yes; then
7432 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7434 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7439 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7444 eval "$wx_cv_use_fs_inet"
7446 if test x"$enablestring" = xdisable; then
7447 if test $wxUSE_FS_INET = yes; then
7453 result=$wxUSE_FS_INET
7456 { $as_echo "$as_me:$LINENO: result
: $result" >&5
7457 $as_echo "$result" >&6; }
7461 defaultval=$wxUSE_ALL_FEATURES
7462 if test -z "$defaultval"; then
7463 if test x"$enablestring" = xdisable; then
7470 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7471 $as_echo_n "checking
for --${enablestring:-enable}-fs_zip...
" >&6; }
7472 # Check whether --enable-fs_zip was given.
7473 if test "${enable_fs_zip+set}" = set; then
7474 enableval=$enable_fs_zip;
7475 if test "$enableval" = yes; then
7476 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7478 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7483 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7488 eval "$wx_cv_use_fs_zip"
7490 if test x
"$enablestring" = xdisable
; then
7491 if test $wxUSE_FS_ZIP = yes; then
7497 result
=$wxUSE_FS_ZIP
7500 { $as_echo "$as_me:$LINENO: result: $result" >&5
7501 $as_echo "$result" >&6; }
7505 defaultval
=$wxUSE_ALL_FEATURES
7506 if test -z "$defaultval"; then
7507 if test x
"$enablestring" = xdisable
; then
7514 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7515 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
7516 # Check whether --enable-geometry was given.
7517 if test "${enable_geometry+set}" = set; then
7518 enableval
=$enable_geometry;
7519 if test "$enableval" = yes; then
7520 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7522 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7527 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7532 eval "$wx_cv_use_geometry"
7534 if test x"$enablestring" = xdisable; then
7535 if test $wxUSE_GEOMETRY = yes; then
7541 result=$wxUSE_GEOMETRY
7544 { $as_echo "$as_me:$LINENO: result: $result" >&5
7545 $as_echo "$result" >&6; }
7549 defaultval=$wxUSE_ALL_FEATURES
7550 if test -z "$defaultval"; then
7551 if test x"$enablestring" = xdisable; then
7558 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7559 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
7560 # Check whether --enable-log was given.
7561 if test "${enable_log+set}" = set; then
7562 enableval=$enable_log;
7563 if test "$enableval" = yes; then
7564 wx_cv_use_log='wxUSE_LOG
=yes'
7566 wx_cv_use_log='wxUSE_LOG
=no
'
7571 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7576 eval "$wx_cv_use_log"
7578 if test x"$enablestring" = xdisable; then
7579 if test $wxUSE_LOG = yes; then
7588 { $as_echo "$as_me:$LINENO: result
: $result" >&5
7589 $as_echo "$result" >&6; }
7593 defaultval=$wxUSE_ALL_FEATURES
7594 if test -z "$defaultval"; then
7595 if test x"$enablestring" = xdisable; then
7602 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7603 $as_echo_n "checking
for --${enablestring:-enable}-longlong...
" >&6; }
7604 # Check whether --enable-longlong was given.
7605 if test "${enable_longlong+set}" = set; then
7606 enableval=$enable_longlong;
7607 if test "$enableval" = yes; then
7608 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7610 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7615 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7620 eval "$wx_cv_use_longlong"
7622 if test x
"$enablestring" = xdisable
; then
7623 if test $wxUSE_LONGLONG = yes; then
7629 result
=$wxUSE_LONGLONG
7632 { $as_echo "$as_me:$LINENO: result: $result" >&5
7633 $as_echo "$result" >&6; }
7637 defaultval
=$wxUSE_ALL_FEATURES
7638 if test -z "$defaultval"; then
7639 if test x
"$enablestring" = xdisable
; then
7646 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7647 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
7648 # Check whether --enable-mimetype was given.
7649 if test "${enable_mimetype+set}" = set; then
7650 enableval
=$enable_mimetype;
7651 if test "$enableval" = yes; then
7652 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7654 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7659 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7664 eval "$wx_cv_use_mimetype"
7666 if test x"$enablestring" = xdisable; then
7667 if test $wxUSE_MIMETYPE = yes; then
7673 result=$wxUSE_MIMETYPE
7676 { $as_echo "$as_me:$LINENO: result: $result" >&5
7677 $as_echo "$result" >&6; }
7681 defaultval=$wxUSE_ALL_FEATURES
7682 if test -z "$defaultval"; then
7683 if test x"$enablestring" = xdisable; then
7690 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7691 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
7692 # Check whether --enable-printfposparam was given.
7693 if test "${enable_printfposparam+set}" = set; then
7694 enableval=$enable_printfposparam;
7695 if test "$enableval" = yes; then
7696 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7698 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7703 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7708 eval "$wx_cv_use_printfposparam"
7710 if test x"$enablestring" = xdisable; then
7711 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7717 result=$wxUSE_PRINTF_POS_PARAMS
7720 { $as_echo "$as_me:$LINENO: result
: $result" >&5
7721 $as_echo "$result" >&6; }
7725 defaultval=$wxUSE_ALL_FEATURES
7726 if test -z "$defaultval"; then
7727 if test x"$enablestring" = xdisable; then
7734 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7735 $as_echo_n "checking
for --${enablestring:-enable}-snglinst...
" >&6; }
7736 # Check whether --enable-snglinst was given.
7737 if test "${enable_snglinst+set}" = set; then
7738 enableval=$enable_snglinst;
7739 if test "$enableval" = yes; then
7740 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7742 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7747 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7752 eval "$wx_cv_use_snglinst"
7754 if test x
"$enablestring" = xdisable
; then
7755 if test $wxUSE_SNGLINST_CHECKER = yes; then
7761 result
=$wxUSE_SNGLINST_CHECKER
7764 { $as_echo "$as_me:$LINENO: result: $result" >&5
7765 $as_echo "$result" >&6; }
7769 defaultval
=$wxUSE_ALL_FEATURES
7770 if test -z "$defaultval"; then
7771 if test x
"$enablestring" = xdisable
; then
7778 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7779 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
7780 # Check whether --enable-sound was given.
7781 if test "${enable_sound+set}" = set; then
7782 enableval
=$enable_sound;
7783 if test "$enableval" = yes; then
7784 wx_cv_use_sound
='wxUSE_SOUND=yes'
7786 wx_cv_use_sound
='wxUSE_SOUND=no'
7791 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7796 eval "$wx_cv_use_sound"
7798 if test x"$enablestring" = xdisable; then
7799 if test $wxUSE_SOUND = yes; then
7808 { $as_echo "$as_me:$LINENO: result: $result" >&5
7809 $as_echo "$result" >&6; }
7813 defaultval=$wxUSE_ALL_FEATURES
7814 if test -z "$defaultval"; then
7815 if test x"$enablestring" = xdisable; then
7822 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7823 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
7824 # Check whether --enable-stdpaths was given.
7825 if test "${enable_stdpaths+set}" = set; then
7826 enableval=$enable_stdpaths;
7827 if test "$enableval" = yes; then
7828 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7830 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7835 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7840 eval "$wx_cv_use_stdpaths"
7842 if test x"$enablestring" = xdisable; then
7843 if test $wxUSE_STDPATHS = yes; then
7849 result=$wxUSE_STDPATHS
7852 { $as_echo "$as_me:$LINENO: result
: $result" >&5
7853 $as_echo "$result" >&6; }
7857 defaultval=$wxUSE_ALL_FEATURES
7858 if test -z "$defaultval"; then
7859 if test x"$enablestring" = xdisable; then
7866 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7867 $as_echo_n "checking
for --${enablestring:-enable}-stopwatch...
" >&6; }
7868 # Check whether --enable-stopwatch was given.
7869 if test "${enable_stopwatch+set}" = set; then
7870 enableval=$enable_stopwatch;
7871 if test "$enableval" = yes; then
7872 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7874 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7879 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7884 eval "$wx_cv_use_stopwatch"
7886 if test x
"$enablestring" = xdisable
; then
7887 if test $wxUSE_STOPWATCH = yes; then
7893 result
=$wxUSE_STOPWATCH
7896 { $as_echo "$as_me:$LINENO: result: $result" >&5
7897 $as_echo "$result" >&6; }
7901 defaultval
=$wxUSE_ALL_FEATURES
7902 if test -z "$defaultval"; then
7903 if test x
"$enablestring" = xdisable
; then
7910 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7911 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
7912 # Check whether --enable-streams was given.
7913 if test "${enable_streams+set}" = set; then
7914 enableval
=$enable_streams;
7915 if test "$enableval" = yes; then
7916 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7918 wx_cv_use_streams
='wxUSE_STREAMS=no'
7923 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7928 eval "$wx_cv_use_streams"
7930 if test x"$enablestring" = xdisable; then
7931 if test $wxUSE_STREAMS = yes; then
7937 result=$wxUSE_STREAMS
7940 { $as_echo "$as_me:$LINENO: result: $result" >&5
7941 $as_echo "$result" >&6; }
7945 defaultval=$wxUSE_ALL_FEATURES
7946 if test -z "$defaultval"; then
7947 if test x"$enablestring" = xdisable; then
7954 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7955 $as_echo_n "checking for --${enablestring:-enable}-system_options... " >&6; }
7956 # Check whether --enable-system_options was given.
7957 if test "${enable_system_options+set}" = set; then
7958 enableval=$enable_system_options;
7959 if test "$enableval" = yes; then
7960 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7962 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7967 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7972 eval "$wx_cv_use_system_options"
7974 if test x"$enablestring" = xdisable; then
7975 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7981 result=$wxUSE_SYSTEM_OPTIONS
7984 { $as_echo "$as_me:$LINENO: result
: $result" >&5
7985 $as_echo "$result" >&6; }
7989 defaultval=$wxUSE_ALL_FEATURES
7990 if test -z "$defaultval"; then
7991 if test x"$enablestring" = xdisable; then
7998 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7999 $as_echo_n "checking
for --${enablestring:-enable}-tarstream...
" >&6; }
8000 # Check whether --enable-tarstream was given.
8001 if test "${enable_tarstream+set}" = set; then
8002 enableval=$enable_tarstream;
8003 if test "$enableval" = yes; then
8004 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8006 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8011 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8016 eval "$wx_cv_use_tarstream"
8018 if test x
"$enablestring" = xdisable
; then
8019 if test $wxUSE_TARSTREAM = yes; then
8025 result
=$wxUSE_TARSTREAM
8028 { $as_echo "$as_me:$LINENO: result: $result" >&5
8029 $as_echo "$result" >&6; }
8033 defaultval
=$wxUSE_ALL_FEATURES
8034 if test -z "$defaultval"; then
8035 if test x
"$enablestring" = xdisable
; then
8042 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8043 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
8044 # Check whether --enable-textbuf was given.
8045 if test "${enable_textbuf+set}" = set; then
8046 enableval
=$enable_textbuf;
8047 if test "$enableval" = yes; then
8048 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
8050 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
8055 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8060 eval "$wx_cv_use_textbuf"
8062 if test x"$enablestring" = xdisable; then
8063 if test $wxUSE_TEXTBUFFER = yes; then
8069 result=$wxUSE_TEXTBUFFER
8072 { $as_echo "$as_me:$LINENO: result: $result" >&5
8073 $as_echo "$result" >&6; }
8077 defaultval=$wxUSE_ALL_FEATURES
8078 if test -z "$defaultval"; then
8079 if test x"$enablestring" = xdisable; then
8086 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8087 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
8088 # Check whether --enable-textfile was given.
8089 if test "${enable_textfile+set}" = set; then
8090 enableval=$enable_textfile;
8091 if test "$enableval" = yes; then
8092 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
8094 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
8099 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8104 eval "$wx_cv_use_textfile"
8106 if test x"$enablestring" = xdisable; then
8107 if test $wxUSE_TEXTFILE = yes; then
8113 result=$wxUSE_TEXTFILE
8116 { $as_echo "$as_me:$LINENO: result
: $result" >&5
8117 $as_echo "$result" >&6; }
8121 defaultval=$wxUSE_ALL_FEATURES
8122 if test -z "$defaultval"; then
8123 if test x"$enablestring" = xdisable; then
8130 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
8131 $as_echo_n "checking
for --${enablestring:-enable}-timer...
" >&6; }
8132 # Check whether --enable-timer was given.
8133 if test "${enable_timer+set}" = set; then
8134 enableval=$enable_timer;
8135 if test "$enableval" = yes; then
8136 wx_cv_use_timer='wxUSE_TIMER=yes'
8138 wx_cv_use_timer='wxUSE_TIMER=no'
8143 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8148 eval "$wx_cv_use_timer"
8150 if test x
"$enablestring" = xdisable
; then
8151 if test $wxUSE_TIMER = yes; then
8160 { $as_echo "$as_me:$LINENO: result: $result" >&5
8161 $as_echo "$result" >&6; }
8165 defaultval
=$wxUSE_ALL_FEATURES
8166 if test -z "$defaultval"; then
8167 if test x
"$enablestring" = xdisable
; then
8174 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8175 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
8176 # Check whether --enable-variant was given.
8177 if test "${enable_variant+set}" = set; then
8178 enableval
=$enable_variant;
8179 if test "$enableval" = yes; then
8180 wx_cv_use_variant
='wxUSE_VARIANT=yes'
8182 wx_cv_use_variant
='wxUSE_VARIANT=no'
8187 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8192 eval "$wx_cv_use_variant"
8194 if test x"$enablestring" = xdisable; then
8195 if test $wxUSE_VARIANT = yes; then
8201 result=$wxUSE_VARIANT
8204 { $as_echo "$as_me:$LINENO: result: $result" >&5
8205 $as_echo "$result" >&6; }
8209 defaultval=$wxUSE_ALL_FEATURES
8210 if test -z "$defaultval"; then
8211 if test x"$enablestring" = xdisable; then
8218 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8219 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
8220 # Check whether --enable-zipstream was given.
8221 if test "${enable_zipstream+set}" = set; then
8222 enableval=$enable_zipstream;
8223 if test "$enableval" = yes; then
8224 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
8226 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
8231 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8236 eval "$wx_cv_use_zipstream"
8238 if test x"$enablestring" = xdisable; then
8239 if test $wxUSE_ZIPSTREAM = yes; then
8245 result=$wxUSE_ZIPSTREAM
8248 { $as_echo "$as_me:$LINENO: result
: $result" >&5
8249 $as_echo "$result" >&6; }
8254 defaultval=$wxUSE_ALL_FEATURES
8255 if test -z "$defaultval"; then
8256 if test x"$enablestring" = xdisable; then
8263 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
8264 $as_echo_n "checking
for --${enablestring:-enable}-url...
" >&6; }
8265 # Check whether --enable-url was given.
8266 if test "${enable_url+set}" = set; then
8267 enableval=$enable_url;
8268 if test "$enableval" = yes; then
8269 wx_cv_use_url='wxUSE_URL=yes'
8271 wx_cv_use_url='wxUSE_URL=no'
8276 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8281 eval "$wx_cv_use_url"
8283 if test x
"$enablestring" = xdisable
; then
8284 if test $wxUSE_URL = yes; then
8293 { $as_echo "$as_me:$LINENO: result: $result" >&5
8294 $as_echo "$result" >&6; }
8298 defaultval
=$wxUSE_ALL_FEATURES
8299 if test -z "$defaultval"; then
8300 if test x
"$enablestring" = xdisable
; then
8307 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8308 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
8309 # Check whether --enable-protocol was given.
8310 if test "${enable_protocol+set}" = set; then
8311 enableval
=$enable_protocol;
8312 if test "$enableval" = yes; then
8313 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
8315 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
8320 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8325 eval "$wx_cv_use_protocol"
8327 if test x"$enablestring" = xdisable; then
8328 if test $wxUSE_PROTOCOL = yes; then
8334 result=$wxUSE_PROTOCOL
8337 { $as_echo "$as_me:$LINENO: result: $result" >&5
8338 $as_echo "$result" >&6; }
8342 defaultval=$wxUSE_ALL_FEATURES
8343 if test -z "$defaultval"; then
8344 if test x"$enablestring" = xdisable; then
8351 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8352 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
8353 # Check whether --enable-protocol_http was given.
8354 if test "${enable_protocol_http+set}" = set; then
8355 enableval=$enable_protocol_http;
8356 if test "$enableval" = yes; then
8357 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8359 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8364 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8369 eval "$wx_cv_use_protocol_http"
8371 if test x"$enablestring" = xdisable; then
8372 if test $wxUSE_PROTOCOL_HTTP = yes; then
8378 result=$wxUSE_PROTOCOL_HTTP
8381 { $as_echo "$as_me:$LINENO: result
: $result" >&5
8382 $as_echo "$result" >&6; }
8386 defaultval=$wxUSE_ALL_FEATURES
8387 if test -z "$defaultval"; then
8388 if test x"$enablestring" = xdisable; then
8395 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8396 $as_echo_n "checking
for --${enablestring:-enable}-protocol_ftp...
" >&6; }
8397 # Check whether --enable-protocol_ftp was given.
8398 if test "${enable_protocol_ftp+set}" = set; then
8399 enableval=$enable_protocol_ftp;
8400 if test "$enableval" = yes; then
8401 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8403 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8408 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8413 eval "$wx_cv_use_protocol_ftp"
8415 if test x
"$enablestring" = xdisable
; then
8416 if test $wxUSE_PROTOCOL_FTP = yes; then
8422 result
=$wxUSE_PROTOCOL_FTP
8425 { $as_echo "$as_me:$LINENO: result: $result" >&5
8426 $as_echo "$result" >&6; }
8430 defaultval
=$wxUSE_ALL_FEATURES
8431 if test -z "$defaultval"; then
8432 if test x
"$enablestring" = xdisable
; then
8439 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8440 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
8441 # Check whether --enable-protocol_file was given.
8442 if test "${enable_protocol_file+set}" = set; then
8443 enableval
=$enable_protocol_file;
8444 if test "$enableval" = yes; then
8445 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8447 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8452 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8457 eval "$wx_cv_use_protocol_file"
8459 if test x"$enablestring" = xdisable; then
8460 if test $wxUSE_PROTOCOL_FILE = yes; then
8466 result=$wxUSE_PROTOCOL_FILE
8469 { $as_echo "$as_me:$LINENO: result: $result" >&5
8470 $as_echo "$result" >&6; }
8475 defaultval=$wxUSE_ALL_FEATURES
8476 if test -z "$defaultval"; then
8477 if test x"$enablestring" = xdisable; then
8484 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8485 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
8486 # Check whether --enable-threads was given.
8487 if test "${enable_threads+set}" = set; then
8488 enableval=$enable_threads;
8489 if test "$enableval" = yes; then
8490 wx_cv_use_threads='wxUSE_THREADS
=yes'
8492 wx_cv_use_threads='wxUSE_THREADS
=no
'
8497 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8502 eval "$wx_cv_use_threads"
8504 if test x"$enablestring" = xdisable; then
8505 if test $wxUSE_THREADS = yes; then
8511 result=$wxUSE_THREADS
8514 { $as_echo "$as_me:$LINENO: result
: $result" >&5
8515 $as_echo "$result" >&6; }
8521 if test -z "$defaultval"; then
8522 if test x"$enablestring" = xdisable; then
8529 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8530 $as_echo_n "checking
for --${enablestring:-enable}-iniconf...
" >&6; }
8531 # Check whether --enable-iniconf was given.
8532 if test "${enable_iniconf+set}" = set; then
8533 enableval=$enable_iniconf;
8534 if test "$enableval" = yes; then
8535 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8537 wx_cv_use_iniconf='wxUSE_INICONF=no'
8542 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8547 eval "$wx_cv_use_iniconf"
8549 if test x
"$enablestring" = xdisable
; then
8550 if test $wxUSE_INICONF = yes; then
8556 result
=$wxUSE_INICONF
8559 { $as_echo "$as_me:$LINENO: result: $result" >&5
8560 $as_echo "$result" >&6; }
8564 defaultval
=$wxUSE_ALL_FEATURES
8565 if test -z "$defaultval"; then
8566 if test x
"$enablestring" = xdisable
; then
8573 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8574 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
8575 # Check whether --enable-regkey was given.
8576 if test "${enable_regkey+set}" = set; then
8577 enableval
=$enable_regkey;
8578 if test "$enableval" = yes; then
8579 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8581 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8586 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8591 eval "$wx_cv_use_regkey"
8593 if test x"$enablestring" = xdisable; then
8594 if test $wxUSE_REGKEY = yes; then
8600 result=$wxUSE_REGKEY
8603 { $as_echo "$as_me:$LINENO: result: $result" >&5
8604 $as_echo "$result" >&6; }
8607 if test "$wxUSE_GUI" = "yes"; then
8612 defaultval=$wxUSE_ALL_FEATURES
8613 if test -z "$defaultval"; then
8614 if test x"$enablestring" = xdisable; then
8621 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8622 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
8623 # Check whether --enable-docview was given.
8624 if test "${enable_docview+set}" = set; then
8625 enableval=$enable_docview;
8626 if test "$enableval" = yes; then
8627 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8629 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8634 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8639 eval "$wx_cv_use_docview"
8641 if test x"$enablestring" = xdisable; then
8642 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8648 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8651 { $as_echo "$as_me:$LINENO: result
: $result" >&5
8652 $as_echo "$result" >&6; }
8656 defaultval=$wxUSE_ALL_FEATURES
8657 if test -z "$defaultval"; then
8658 if test x"$enablestring" = xdisable; then
8665 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8666 $as_echo_n "checking
for --${enablestring:-enable}-help...
" >&6; }
8667 # Check whether --enable-help was given.
8668 if test "${enable_help+set}" = set; then
8669 enableval=$enable_help;
8670 if test "$enableval" = yes; then
8671 wx_cv_use_help='wxUSE_HELP=yes'
8673 wx_cv_use_help='wxUSE_HELP=no'
8678 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8683 eval "$wx_cv_use_help"
8685 if test x
"$enablestring" = xdisable
; then
8686 if test $wxUSE_HELP = yes; then
8695 { $as_echo "$as_me:$LINENO: result: $result" >&5
8696 $as_echo "$result" >&6; }
8700 defaultval
=$wxUSE_ALL_FEATURES
8701 if test -z "$defaultval"; then
8702 if test x
"$enablestring" = xdisable
; then
8709 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8710 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
8711 # Check whether --enable-mshtmlhelp was given.
8712 if test "${enable_mshtmlhelp+set}" = set; then
8713 enableval
=$enable_mshtmlhelp;
8714 if test "$enableval" = yes; then
8715 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8717 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8722 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8727 eval "$wx_cv_use_mshtmlhelp"
8729 if test x"$enablestring" = xdisable; then
8730 if test $wxUSE_MS_HTML_HELP = yes; then
8736 result=$wxUSE_MS_HTML_HELP
8739 { $as_echo "$as_me:$LINENO: result: $result" >&5
8740 $as_echo "$result" >&6; }
8744 defaultval=$wxUSE_ALL_FEATURES
8745 if test -z "$defaultval"; then
8746 if test x"$enablestring" = xdisable; then
8753 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8754 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
8755 # Check whether --enable-html was given.
8756 if test "${enable_html+set}" = set; then
8757 enableval=$enable_html;
8758 if test "$enableval" = yes; then
8759 wx_cv_use_html='wxUSE_HTML
=yes'
8761 wx_cv_use_html='wxUSE_HTML
=no
'
8766 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8771 eval "$wx_cv_use_html"
8773 if test x"$enablestring" = xdisable; then
8774 if test $wxUSE_HTML = yes; then
8783 { $as_echo "$as_me:$LINENO: result
: $result" >&5
8784 $as_echo "$result" >&6; }
8788 defaultval=$wxUSE_ALL_FEATURES
8789 if test -z "$defaultval"; then
8790 if test x"$enablestring" = xdisable; then
8797 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8798 $as_echo_n "checking
for --${enablestring:-enable}-htmlhelp...
" >&6; }
8799 # Check whether --enable-htmlhelp was given.
8800 if test "${enable_htmlhelp+set}" = set; then
8801 enableval=$enable_htmlhelp;
8802 if test "$enableval" = yes; then
8803 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8805 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8810 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8815 eval "$wx_cv_use_htmlhelp"
8817 if test x
"$enablestring" = xdisable
; then
8818 if test $wxUSE_WXHTML_HELP = yes; then
8824 result
=$wxUSE_WXHTML_HELP
8827 { $as_echo "$as_me:$LINENO: result: $result" >&5
8828 $as_echo "$result" >&6; }
8832 defaultval
=$wxUSE_ALL_FEATURES
8833 if test -z "$defaultval"; then
8834 if test x
"$enablestring" = xdisable
; then
8841 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8842 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
8843 # Check whether --enable-xrc was given.
8844 if test "${enable_xrc+set}" = set; then
8845 enableval
=$enable_xrc;
8846 if test "$enableval" = yes; then
8847 wx_cv_use_xrc
='wxUSE_XRC=yes'
8849 wx_cv_use_xrc
='wxUSE_XRC=no'
8854 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8859 eval "$wx_cv_use_xrc"
8861 if test x"$enablestring" = xdisable; then
8862 if test $wxUSE_XRC = yes; then
8871 { $as_echo "$as_me:$LINENO: result: $result" >&5
8872 $as_echo "$result" >&6; }
8876 defaultval=$wxUSE_ALL_FEATURES
8877 if test -z "$defaultval"; then
8878 if test x"$enablestring" = xdisable; then
8885 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8886 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
8887 # Check whether --enable-aui was given.
8888 if test "${enable_aui+set}" = set; then
8889 enableval=$enable_aui;
8890 if test "$enableval" = yes; then
8891 wx_cv_use_aui='wxUSE_AUI
=yes'
8893 wx_cv_use_aui='wxUSE_AUI
=no
'
8898 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8903 eval "$wx_cv_use_aui"
8905 if test x"$enablestring" = xdisable; then
8906 if test $wxUSE_AUI = yes; then
8915 { $as_echo "$as_me:$LINENO: result
: $result" >&5
8916 $as_echo "$result" >&6; }
8920 defaultval=$wxUSE_ALL_FEATURES
8921 if test -z "$defaultval"; then
8922 if test x"$enablestring" = xdisable; then
8929 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8930 $as_echo_n "checking
for --${enablestring:-enable}-propgrid...
" >&6; }
8931 # Check whether --enable-propgrid was given.
8932 if test "${enable_propgrid+set}" = set; then
8933 enableval=$enable_propgrid;
8934 if test "$enableval" = yes; then
8935 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8937 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8942 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8947 eval "$wx_cv_use_propgrid"
8949 if test x
"$enablestring" = xdisable
; then
8950 if test $wxUSE_PROPGRID = yes; then
8956 result
=$wxUSE_PROPGRID
8959 { $as_echo "$as_me:$LINENO: result: $result" >&5
8960 $as_echo "$result" >&6; }
8964 defaultval
=$wxUSE_ALL_FEATURES
8965 if test -z "$defaultval"; then
8966 if test x
"$enablestring" = xdisable
; then
8973 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8974 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
8975 # Check whether --enable-stc was given.
8976 if test "${enable_stc+set}" = set; then
8977 enableval
=$enable_stc;
8978 if test "$enableval" = yes; then
8979 wx_cv_use_stc
='wxUSE_STC=yes'
8981 wx_cv_use_stc
='wxUSE_STC=no'
8986 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8991 eval "$wx_cv_use_stc"
8993 if test x"$enablestring" = xdisable; then
8994 if test $wxUSE_STC = yes; then
9003 { $as_echo "$as_me:$LINENO: result: $result" >&5
9004 $as_echo "$result" >&6; }
9008 defaultval=$wxUSE_ALL_FEATURES
9009 if test -z "$defaultval"; then
9010 if test x"$enablestring" = xdisable; then
9017 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9018 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
9019 # Check whether --enable-constraints was given.
9020 if test "${enable_constraints+set}" = set; then
9021 enableval=$enable_constraints;
9022 if test "$enableval" = yes; then
9023 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
9025 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
9030 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9035 eval "$wx_cv_use_constraints"
9037 if test x"$enablestring" = xdisable; then
9038 if test $wxUSE_CONSTRAINTS = yes; then
9044 result=$wxUSE_CONSTRAINTS
9047 { $as_echo "$as_me:$LINENO: result
: $result" >&5
9048 $as_echo "$result" >&6; }
9052 defaultval=$wxUSE_ALL_FEATURES
9053 if test -z "$defaultval"; then
9054 if test x"$enablestring" = xdisable; then
9061 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
9062 $as_echo_n "checking
for --${enablestring:-enable}-loggui...
" >&6; }
9063 # Check whether --enable-loggui was given.
9064 if test "${enable_loggui+set}" = set; then
9065 enableval=$enable_loggui;
9066 if test "$enableval" = yes; then
9067 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9069 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9074 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9079 eval "$wx_cv_use_loggui"
9081 if test x
"$enablestring" = xdisable
; then
9082 if test $wxUSE_LOGGUI = yes; then
9088 result
=$wxUSE_LOGGUI
9091 { $as_echo "$as_me:$LINENO: result: $result" >&5
9092 $as_echo "$result" >&6; }
9096 defaultval
=$wxUSE_ALL_FEATURES
9097 if test -z "$defaultval"; then
9098 if test x
"$enablestring" = xdisable
; then
9105 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9106 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
9107 # Check whether --enable-logwin was given.
9108 if test "${enable_logwin+set}" = set; then
9109 enableval
=$enable_logwin;
9110 if test "$enableval" = yes; then
9111 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
9113 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
9118 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9123 eval "$wx_cv_use_logwin"
9125 if test x"$enablestring" = xdisable; then
9126 if test $wxUSE_LOGWINDOW = yes; then
9132 result=$wxUSE_LOGWINDOW
9135 { $as_echo "$as_me:$LINENO: result: $result" >&5
9136 $as_echo "$result" >&6; }
9140 defaultval=$wxUSE_ALL_FEATURES
9141 if test -z "$defaultval"; then
9142 if test x"$enablestring" = xdisable; then
9149 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9150 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
9151 # Check whether --enable-logdialog was given.
9152 if test "${enable_logdialog+set}" = set; then
9153 enableval=$enable_logdialog;
9154 if test "$enableval" = yes; then
9155 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9157 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9162 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9167 eval "$wx_cv_use_logdialog"
9169 if test x"$enablestring" = xdisable; then
9170 if test $wxUSE_LOGDIALOG = yes; then
9176 result=$wxUSE_LOGDIALOG
9179 { $as_echo "$as_me:$LINENO: result
: $result" >&5
9180 $as_echo "$result" >&6; }
9184 defaultval=$wxUSE_ALL_FEATURES
9185 if test -z "$defaultval"; then
9186 if test x"$enablestring" = xdisable; then
9193 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9194 $as_echo_n "checking
for --${enablestring:-enable}-mdi...
" >&6; }
9195 # Check whether --enable-mdi was given.
9196 if test "${enable_mdi+set}" = set; then
9197 enableval=$enable_mdi;
9198 if test "$enableval" = yes; then
9199 wx_cv_use_mdi='wxUSE_MDI=yes'
9201 wx_cv_use_mdi='wxUSE_MDI=no'
9206 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9211 eval "$wx_cv_use_mdi"
9213 if test x
"$enablestring" = xdisable
; then
9214 if test $wxUSE_MDI = yes; then
9223 { $as_echo "$as_me:$LINENO: result: $result" >&5
9224 $as_echo "$result" >&6; }
9228 defaultval
=$wxUSE_ALL_FEATURES
9229 if test -z "$defaultval"; then
9230 if test x
"$enablestring" = xdisable
; then
9237 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9238 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
9239 # Check whether --enable-mdidoc was given.
9240 if test "${enable_mdidoc+set}" = set; then
9241 enableval
=$enable_mdidoc;
9242 if test "$enableval" = yes; then
9243 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9245 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9250 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9255 eval "$wx_cv_use_mdidoc"
9257 if test x"$enablestring" = xdisable; then
9258 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9264 result=$wxUSE_MDI_ARCHITECTURE
9267 { $as_echo "$as_me:$LINENO: result: $result" >&5
9268 $as_echo "$result" >&6; }
9272 defaultval=$wxUSE_ALL_FEATURES
9273 if test -z "$defaultval"; then
9274 if test x"$enablestring" = xdisable; then
9281 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9282 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
9283 # Check whether --enable-mediactrl was given.
9284 if test "${enable_mediactrl+set}" = set; then
9285 enableval=$enable_mediactrl;
9286 if test "$enableval" = yes; then
9287 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9289 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9294 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9299 eval "$wx_cv_use_mediactrl"
9301 if test x"$enablestring" = xdisable; then
9302 if test $wxUSE_MEDIACTRL = yes; then
9308 result=$wxUSE_MEDIACTRL
9311 { $as_echo "$as_me:$LINENO: result
: $result" >&5
9312 $as_echo "$result" >&6; }
9316 defaultval=$wxUSE_ALL_FEATURES
9317 if test -z "$defaultval"; then
9318 if test x"$enablestring" = xdisable; then
9325 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9326 $as_echo_n "checking
for --${enablestring:-enable}-gstreamer8...
" >&6; }
9327 # Check whether --enable-gstreamer8 was given.
9328 if test "${enable_gstreamer8+set}" = set; then
9329 enableval=$enable_gstreamer8;
9330 if test "$enableval" = yes; then
9331 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9333 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9338 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9343 eval "$wx_cv_use_gstreamer8"
9345 if test x
"$enablestring" = xdisable
; then
9346 if test $wxUSE_GSTREAMER8 = yes; then
9352 result
=$wxUSE_GSTREAMER8
9355 { $as_echo "$as_me:$LINENO: result: $result" >&5
9356 $as_echo "$result" >&6; }
9360 defaultval
=$wxUSE_ALL_FEATURES
9361 if test -z "$defaultval"; then
9362 if test x
"$enablestring" = xdisable
; then
9369 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9370 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
9371 # Check whether --enable-webkit was given.
9372 if test "${enable_webkit+set}" = set; then
9373 enableval
=$enable_webkit;
9374 if test "$enableval" = yes; then
9375 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9377 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9382 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9387 eval "$wx_cv_use_webkit"
9389 if test x"$enablestring" = xdisable; then
9390 if test $wxUSE_WEBKIT = yes; then
9396 result=$wxUSE_WEBKIT
9399 { $as_echo "$as_me:$LINENO: result: $result" >&5
9400 $as_echo "$result" >&6; }
9404 defaultval=$wxUSE_ALL_FEATURES
9405 if test -z "$defaultval"; then
9406 if test x"$enablestring" = xdisable; then
9413 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9414 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
9415 # Check whether --enable-richtext was given.
9416 if test "${enable_richtext+set}" = set; then
9417 enableval=$enable_richtext;
9418 if test "$enableval" = yes; then
9419 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9421 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9426 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9431 eval "$wx_cv_use_richtext"
9433 if test x"$enablestring" = xdisable; then
9434 if test $wxUSE_RICHTEXT = yes; then
9440 result=$wxUSE_RICHTEXT
9443 { $as_echo "$as_me:$LINENO: result
: $result" >&5
9444 $as_echo "$result" >&6; }
9448 defaultval=$wxUSE_ALL_FEATURES
9449 if test -z "$defaultval"; then
9450 if test x"$enablestring" = xdisable; then
9457 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9458 $as_echo_n "checking
for --${enablestring:-enable}-graphics_ctx...
" >&6; }
9459 # Check whether --enable-graphics_ctx was given.
9460 if test "${enable_graphics_ctx+set}" = set; then
9461 enableval=$enable_graphics_ctx;
9462 if test "$enableval" = yes; then
9463 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9465 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9470 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9475 eval "$wx_cv_use_graphics_ctx"
9477 if test x
"$enablestring" = xdisable
; then
9478 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9484 result
=$wxUSE_GRAPHICS_CONTEXT
9487 { $as_echo "$as_me:$LINENO: result: $result" >&5
9488 $as_echo "$result" >&6; }
9492 defaultval
=$wxUSE_ALL_FEATURES
9493 if test -z "$defaultval"; then
9494 if test x
"$enablestring" = xdisable
; then
9501 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9502 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
9503 # Check whether --enable-postscript was given.
9504 if test "${enable_postscript+set}" = set; then
9505 enableval
=$enable_postscript;
9506 if test "$enableval" = yes; then
9507 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9509 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9514 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9519 eval "$wx_cv_use_postscript"
9521 if test x"$enablestring" = xdisable; then
9522 if test $wxUSE_POSTSCRIPT = yes; then
9528 result=$wxUSE_POSTSCRIPT
9531 { $as_echo "$as_me:$LINENO: result: $result" >&5
9532 $as_echo "$result" >&6; }
9536 defaultval=$wxUSE_ALL_FEATURES
9537 if test -z "$defaultval"; then
9538 if test x"$enablestring" = xdisable; then
9545 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9546 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
9547 # Check whether --enable-printarch was given.
9548 if test "${enable_printarch+set}" = set; then
9549 enableval=$enable_printarch;
9550 if test "$enableval" = yes; then
9551 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9553 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9558 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9563 eval "$wx_cv_use_printarch"
9565 if test x"$enablestring" = xdisable; then
9566 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9572 result=$wxUSE_PRINTING_ARCHITECTURE
9575 { $as_echo "$as_me:$LINENO: result
: $result" >&5
9576 $as_echo "$result" >&6; }
9580 defaultval=$wxUSE_ALL_FEATURES
9581 if test -z "$defaultval"; then
9582 if test x"$enablestring" = xdisable; then
9589 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9590 $as_echo_n "checking
for --${enablestring:-enable}-svg...
" >&6; }
9591 # Check whether --enable-svg was given.
9592 if test "${enable_svg+set}" = set; then
9593 enableval=$enable_svg;
9594 if test "$enableval" = yes; then
9595 wx_cv_use_svg='wxUSE_SVG=yes'
9597 wx_cv_use_svg='wxUSE_SVG=no'
9602 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9607 eval "$wx_cv_use_svg"
9609 if test x
"$enablestring" = xdisable
; then
9610 if test $wxUSE_SVG = yes; then
9619 { $as_echo "$as_me:$LINENO: result: $result" >&5
9620 $as_echo "$result" >&6; }
9626 defaultval
=$wxUSE_ALL_FEATURES
9627 if test -z "$defaultval"; then
9628 if test x
"$enablestring" = xdisable
; then
9635 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9636 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
9637 # Check whether --enable-clipboard was given.
9638 if test "${enable_clipboard+set}" = set; then
9639 enableval
=$enable_clipboard;
9640 if test "$enableval" = yes; then
9641 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9643 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9648 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9653 eval "$wx_cv_use_clipboard"
9655 if test x"$enablestring" = xdisable; then
9656 if test $wxUSE_CLIPBOARD = yes; then
9662 result=$wxUSE_CLIPBOARD
9665 { $as_echo "$as_me:$LINENO: result: $result" >&5
9666 $as_echo "$result" >&6; }
9670 defaultval=$wxUSE_ALL_FEATURES
9671 if test -z "$defaultval"; then
9672 if test x"$enablestring" = xdisable; then
9679 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9680 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
9681 # Check whether --enable-dnd was given.
9682 if test "${enable_dnd+set}" = set; then
9683 enableval=$enable_dnd;
9684 if test "$enableval" = yes; then
9685 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9687 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9692 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9697 eval "$wx_cv_use_dnd"
9699 if test x"$enablestring" = xdisable; then
9700 if test $wxUSE_DRAG_AND_DROP = yes; then
9706 result=$wxUSE_DRAG_AND_DROP
9709 { $as_echo "$as_me:$LINENO: result
: $result" >&5
9710 $as_echo "$result" >&6; }
9714 defaultval=$wxUSE_ALL_FEATURES
9715 if test -z "$defaultval"; then
9716 if test x"$enablestring" = xdisable; then
9723 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9724 $as_echo_n "checking
for --${enablestring:-enable}-metafile...
" >&6; }
9725 # Check whether --enable-metafile was given.
9726 if test "${enable_metafile+set}" = set; then
9727 enableval=$enable_metafile;
9728 if test "$enableval" = yes; then
9729 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9731 wx_cv_use_metafile='wxUSE_METAFILE=no'
9736 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9741 eval "$wx_cv_use_metafile"
9743 if test x
"$enablestring" = xdisable
; then
9744 if test $wxUSE_METAFILE = yes; then
9750 result
=$wxUSE_METAFILE
9753 { $as_echo "$as_me:$LINENO: result: $result" >&5
9754 $as_echo "$result" >&6; }
9758 DEFAULT_wxUSE_CONTROLS
=none
9760 enablestring
=disable
9762 if test -z "$defaultval"; then
9763 if test x
"$enablestring" = xdisable
; then
9770 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9771 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
9772 # Check whether --enable-controls was given.
9773 if test "${enable_controls+set}" = set; then
9774 enableval
=$enable_controls;
9775 if test "$enableval" = yes; then
9776 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9778 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9783 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9788 eval "$wx_cv_use_controls"
9790 if test x"$enablestring" = xdisable; then
9791 if test $wxUSE_CONTROLS = yes; then
9797 result=$wxUSE_CONTROLS
9800 { $as_echo "$as_me:$LINENO: result: $result" >&5
9801 $as_echo "$result" >&6; }
9804 if test "$wxUSE_CONTROLS" = "no"; then
9805 DEFAULT_wxUSE_ACCEL=no
9806 DEFAULT_wxUSE_ANIMATIONCTRL=no
9807 DEFAULT_wxUSE_BMPBUTTON=no
9808 DEFAULT_wxUSE_BUTTON=no
9809 DEFAULT_wxUSE_CALCTRL=no
9810 DEFAULT_wxUSE_CARET=no
9811 DEFAULT_wxUSE_CHECKBOX=no
9812 DEFAULT_wxUSE_CHECKLISTBOX=no
9813 DEFAULT_wxUSE_CHOICE=no
9814 DEFAULT_wxUSE_CHOICEBOOK=no
9815 DEFAULT_wxUSE_COLLPANE=no
9816 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9817 DEFAULT_wxUSE_COMBOBOX=no
9818 DEFAULT_wxUSE_COMBOBOX=no
9819 DEFAULT_wxUSE_DATAVIEWCTRL=no
9820 DEFAULT_wxUSE_DATEPICKCTRL=no
9821 DEFAULT_wxUSE_DETECT_SM=no
9822 DEFAULT_wxUSE_DIRPICKERCTRL=no
9823 DEFAULT_wxUSE_DISPLAY=no
9824 DEFAULT_wxUSE_FILECTRL=no
9825 DEFAULT_wxUSE_FILEPICKERCTRL=no
9826 DEFAULT_wxUSE_FONTPICKERCTRL=no
9827 DEFAULT_wxUSE_GAUGE=no
9828 DEFAULT_wxUSE_GRID=no
9829 DEFAULT_wxUSE_HEADERCTRL=no
9830 DEFAULT_wxUSE_HYPERLINKCTRL=no
9831 DEFAULT_wxUSE_IMAGLIST=no
9832 DEFAULT_wxUSE_LISTBOOK=no
9833 DEFAULT_wxUSE_LISTBOX=no
9834 DEFAULT_wxUSE_LISTCTRL=no
9835 DEFAULT_wxUSE_NOTEBOOK=no
9836 DEFAULT_wxUSE_POPUPWIN=no
9837 DEFAULT_wxUSE_RADIOBOX=no
9838 DEFAULT_wxUSE_RADIOBTN=no
9839 DEFAULT_wxUSE_REARRANGECTRL=no
9840 DEFAULT_wxUSE_SASH=no
9841 DEFAULT_wxUSE_SCROLLBAR=no
9842 DEFAULT_wxUSE_SEARCHCTRL=no
9843 DEFAULT_wxUSE_SLIDER=no
9844 DEFAULT_wxUSE_SPINBTN=no
9845 DEFAULT_wxUSE_SPINCTRL=no
9846 DEFAULT_wxUSE_SPLITTER=no
9847 DEFAULT_wxUSE_STATBMP=no
9848 DEFAULT_wxUSE_STATBOX=no
9849 DEFAULT_wxUSE_STATLINE=no
9850 DEFAULT_wxUSE_STATUSBAR=no
9851 DEFAULT_wxUSE_TIPWINDOW=no
9852 DEFAULT_wxUSE_TOGGLEBTN=no
9853 DEFAULT_wxUSE_TOOLBAR=no
9854 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9855 DEFAULT_wxUSE_TOOLBOOK=no
9856 DEFAULT_wxUSE_TOOLTIPS=no
9857 DEFAULT_wxUSE_TREEBOOK=no
9858 DEFAULT_wxUSE_TREECTRL=no
9863 defaultval=$wxUSE_ALL_FEATURES
9864 if test -z "$defaultval"; then
9865 if test x"$enablestring" = xdisable; then
9872 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9873 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
9874 # Check whether --enable-accel was given.
9875 if test "${enable_accel+set}" = set; then
9876 enableval=$enable_accel;
9877 if test "$enableval" = yes; then
9878 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9880 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9885 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9890 eval "$wx_cv_use_accel"
9892 if test x"$enablestring" = xdisable; then
9893 if test $wxUSE_ACCEL = yes; then
9902 { $as_echo "$as_me:$LINENO: result
: $result" >&5
9903 $as_echo "$result" >&6; }
9907 defaultval=$wxUSE_ALL_FEATURES
9908 if test -z "$defaultval"; then
9909 if test x"$enablestring" = xdisable; then
9916 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9917 $as_echo_n "checking
for --${enablestring:-enable}-animatectrl...
" >&6; }
9918 # Check whether --enable-animatectrl was given.
9919 if test "${enable_animatectrl+set}" = set; then
9920 enableval=$enable_animatectrl;
9921 if test "$enableval" = yes; then
9922 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9924 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9929 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9934 eval "$wx_cv_use_animatectrl"
9936 if test x
"$enablestring" = xdisable
; then
9937 if test $wxUSE_ANIMATIONCTRL = yes; then
9943 result
=$wxUSE_ANIMATIONCTRL
9946 { $as_echo "$as_me:$LINENO: result: $result" >&5
9947 $as_echo "$result" >&6; }
9951 defaultval
=$wxUSE_ALL_FEATURES
9952 if test -z "$defaultval"; then
9953 if test x
"$enablestring" = xdisable
; then
9960 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9961 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
9962 # Check whether --enable-bmpbutton was given.
9963 if test "${enable_bmpbutton+set}" = set; then
9964 enableval
=$enable_bmpbutton;
9965 if test "$enableval" = yes; then
9966 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9968 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9973 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9978 eval "$wx_cv_use_bmpbutton"
9980 if test x"$enablestring" = xdisable; then
9981 if test $wxUSE_BMPBUTTON = yes; then
9987 result=$wxUSE_BMPBUTTON
9990 { $as_echo "$as_me:$LINENO: result: $result" >&5
9991 $as_echo "$result" >&6; }
9995 defaultval=$wxUSE_ALL_FEATURES
9996 if test -z "$defaultval"; then
9997 if test x"$enablestring" = xdisable; then
10004 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10005 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
10006 # Check whether --enable-bmpcombobox was given.
10007 if test "${enable_bmpcombobox+set}" = set; then
10008 enableval=$enable_bmpcombobox;
10009 if test "$enableval" = yes; then
10010 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
10012 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
10017 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10022 eval "$wx_cv_use_bmpcombobox"
10024 if test x"$enablestring" = xdisable; then
10025 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10031 result=$wxUSE_BITMAPCOMBOBOX
10034 { $as_echo "$as_me:$LINENO: result
: $result" >&5
10035 $as_echo "$result" >&6; }
10039 defaultval=$wxUSE_ALL_FEATURES
10040 if test -z "$defaultval"; then
10041 if test x"$enablestring" = xdisable; then
10048 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
10049 $as_echo_n "checking
for --${enablestring:-enable}-button...
" >&6; }
10050 # Check whether --enable-button was given.
10051 if test "${enable_button+set}" = set; then
10052 enableval=$enable_button;
10053 if test "$enableval" = yes; then
10054 wx_cv_use_button='wxUSE_BUTTON=yes'
10056 wx_cv_use_button='wxUSE_BUTTON=no'
10061 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10066 eval "$wx_cv_use_button"
10068 if test x
"$enablestring" = xdisable
; then
10069 if test $wxUSE_BUTTON = yes; then
10075 result
=$wxUSE_BUTTON
10078 { $as_echo "$as_me:$LINENO: result: $result" >&5
10079 $as_echo "$result" >&6; }
10083 defaultval
=$wxUSE_ALL_FEATURES
10084 if test -z "$defaultval"; then
10085 if test x
"$enablestring" = xdisable
; then
10092 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10093 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
10094 # Check whether --enable-calendar was given.
10095 if test "${enable_calendar+set}" = set; then
10096 enableval
=$enable_calendar;
10097 if test "$enableval" = yes; then
10098 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
10100 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
10105 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10110 eval "$wx_cv_use_calendar"
10112 if test x"$enablestring" = xdisable; then
10113 if test $wxUSE_CALCTRL = yes; then
10119 result=$wxUSE_CALCTRL
10122 { $as_echo "$as_me:$LINENO: result: $result" >&5
10123 $as_echo "$result" >&6; }
10127 defaultval=$wxUSE_ALL_FEATURES
10128 if test -z "$defaultval"; then
10129 if test x"$enablestring" = xdisable; then
10136 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10137 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
10138 # Check whether --enable-caret was given.
10139 if test "${enable_caret+set}" = set; then
10140 enableval=$enable_caret;
10141 if test "$enableval" = yes; then
10142 wx_cv_use_caret='wxUSE_CARET
=yes'
10144 wx_cv_use_caret='wxUSE_CARET
=no
'
10149 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10154 eval "$wx_cv_use_caret"
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_CARET = yes; then
10163 result=$wxUSE_CARET
10166 { $as_echo "$as_me:$LINENO: result
: $result" >&5
10167 $as_echo "$result" >&6; }
10171 defaultval=$wxUSE_ALL_FEATURES
10172 if test -z "$defaultval"; then
10173 if test x"$enablestring" = xdisable; then
10180 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
10181 $as_echo_n "checking
for --${enablestring:-enable}-checkbox...
" >&6; }
10182 # Check whether --enable-checkbox was given.
10183 if test "${enable_checkbox+set}" = set; then
10184 enableval=$enable_checkbox;
10185 if test "$enableval" = yes; then
10186 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10188 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10193 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10198 eval "$wx_cv_use_checkbox"
10200 if test x
"$enablestring" = xdisable
; then
10201 if test $wxUSE_CHECKBOX = yes; then
10207 result
=$wxUSE_CHECKBOX
10210 { $as_echo "$as_me:$LINENO: result: $result" >&5
10211 $as_echo "$result" >&6; }
10215 defaultval
=$wxUSE_ALL_FEATURES
10216 if test -z "$defaultval"; then
10217 if test x
"$enablestring" = xdisable
; then
10224 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10225 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
10226 # Check whether --enable-checklst was given.
10227 if test "${enable_checklst+set}" = set; then
10228 enableval
=$enable_checklst;
10229 if test "$enableval" = yes; then
10230 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
10232 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
10237 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10242 eval "$wx_cv_use_checklst"
10244 if test x"$enablestring" = xdisable; then
10245 if test $wxUSE_CHECKLST = yes; then
10251 result=$wxUSE_CHECKLST
10254 { $as_echo "$as_me:$LINENO: result: $result" >&5
10255 $as_echo "$result" >&6; }
10259 defaultval=$wxUSE_ALL_FEATURES
10260 if test -z "$defaultval"; then
10261 if test x"$enablestring" = xdisable; then
10268 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10269 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
10270 # Check whether --enable-choice was given.
10271 if test "${enable_choice+set}" = set; then
10272 enableval=$enable_choice;
10273 if test "$enableval" = yes; then
10274 wx_cv_use_choice='wxUSE_CHOICE
=yes'
10276 wx_cv_use_choice='wxUSE_CHOICE
=no
'
10281 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10286 eval "$wx_cv_use_choice"
10288 if test x"$enablestring" = xdisable; then
10289 if test $wxUSE_CHOICE = yes; then
10295 result=$wxUSE_CHOICE
10298 { $as_echo "$as_me:$LINENO: result
: $result" >&5
10299 $as_echo "$result" >&6; }
10303 defaultval=$wxUSE_ALL_FEATURES
10304 if test -z "$defaultval"; then
10305 if test x"$enablestring" = xdisable; then
10312 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10313 $as_echo_n "checking
for --${enablestring:-enable}-choicebook...
" >&6; }
10314 # Check whether --enable-choicebook was given.
10315 if test "${enable_choicebook+set}" = set; then
10316 enableval=$enable_choicebook;
10317 if test "$enableval" = yes; then
10318 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10320 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10325 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10330 eval "$wx_cv_use_choicebook"
10332 if test x
"$enablestring" = xdisable
; then
10333 if test $wxUSE_CHOICEBOOK = yes; then
10339 result
=$wxUSE_CHOICEBOOK
10342 { $as_echo "$as_me:$LINENO: result: $result" >&5
10343 $as_echo "$result" >&6; }
10347 defaultval
=$wxUSE_ALL_FEATURES
10348 if test -z "$defaultval"; then
10349 if test x
"$enablestring" = xdisable
; then
10356 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10357 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
10358 # Check whether --enable-collpane was given.
10359 if test "${enable_collpane+set}" = set; then
10360 enableval
=$enable_collpane;
10361 if test "$enableval" = yes; then
10362 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10364 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10369 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10374 eval "$wx_cv_use_collpane"
10376 if test x"$enablestring" = xdisable; then
10377 if test $wxUSE_COLLPANE = yes; then
10383 result=$wxUSE_COLLPANE
10386 { $as_echo "$as_me:$LINENO: result: $result" >&5
10387 $as_echo "$result" >&6; }
10391 defaultval=$wxUSE_ALL_FEATURES
10392 if test -z "$defaultval"; then
10393 if test x"$enablestring" = xdisable; then
10400 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10401 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
10402 # Check whether --enable-colourpicker was given.
10403 if test "${enable_colourpicker+set}" = set; then
10404 enableval=$enable_colourpicker;
10405 if test "$enableval" = yes; then
10406 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10408 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10413 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10418 eval "$wx_cv_use_colourpicker"
10420 if test x"$enablestring" = xdisable; then
10421 if test $wxUSE_COLOURPICKERCTRL = yes; then
10427 result=$wxUSE_COLOURPICKERCTRL
10430 { $as_echo "$as_me:$LINENO: result
: $result" >&5
10431 $as_echo "$result" >&6; }
10435 defaultval=$wxUSE_ALL_FEATURES
10436 if test -z "$defaultval"; then
10437 if test x"$enablestring" = xdisable; then
10444 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10445 $as_echo_n "checking
for --${enablestring:-enable}-combobox...
" >&6; }
10446 # Check whether --enable-combobox was given.
10447 if test "${enable_combobox+set}" = set; then
10448 enableval=$enable_combobox;
10449 if test "$enableval" = yes; then
10450 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10452 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10457 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10462 eval "$wx_cv_use_combobox"
10464 if test x
"$enablestring" = xdisable
; then
10465 if test $wxUSE_COMBOBOX = yes; then
10471 result
=$wxUSE_COMBOBOX
10474 { $as_echo "$as_me:$LINENO: result: $result" >&5
10475 $as_echo "$result" >&6; }
10479 defaultval
=$wxUSE_ALL_FEATURES
10480 if test -z "$defaultval"; then
10481 if test x
"$enablestring" = xdisable
; then
10488 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10489 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
10490 # Check whether --enable-comboctrl was given.
10491 if test "${enable_comboctrl+set}" = set; then
10492 enableval
=$enable_comboctrl;
10493 if test "$enableval" = yes; then
10494 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10496 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10501 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10506 eval "$wx_cv_use_comboctrl"
10508 if test x"$enablestring" = xdisable; then
10509 if test $wxUSE_COMBOCTRL = yes; then
10515 result=$wxUSE_COMBOCTRL
10518 { $as_echo "$as_me:$LINENO: result: $result" >&5
10519 $as_echo "$result" >&6; }
10523 defaultval=$wxUSE_ALL_FEATURES
10524 if test -z "$defaultval"; then
10525 if test x"$enablestring" = xdisable; then
10532 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10533 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
10534 # Check whether --enable-dataviewctrl was given.
10535 if test "${enable_dataviewctrl+set}" = set; then
10536 enableval=$enable_dataviewctrl;
10537 if test "$enableval" = yes; then
10538 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10540 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10545 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10550 eval "$wx_cv_use_dataviewctrl"
10552 if test x"$enablestring" = xdisable; then
10553 if test $wxUSE_DATAVIEWCTRL = yes; then
10559 result=$wxUSE_DATAVIEWCTRL
10562 { $as_echo "$as_me:$LINENO: result
: $result" >&5
10563 $as_echo "$result" >&6; }
10567 defaultval=$wxUSE_ALL_FEATURES
10568 if test -z "$defaultval"; then
10569 if test x"$enablestring" = xdisable; then
10576 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10577 $as_echo_n "checking
for --${enablestring:-enable}-datepick...
" >&6; }
10578 # Check whether --enable-datepick was given.
10579 if test "${enable_datepick+set}" = set; then
10580 enableval=$enable_datepick;
10581 if test "$enableval" = yes; then
10582 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10584 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10589 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10594 eval "$wx_cv_use_datepick"
10596 if test x
"$enablestring" = xdisable
; then
10597 if test $wxUSE_DATEPICKCTRL = yes; then
10603 result
=$wxUSE_DATEPICKCTRL
10606 { $as_echo "$as_me:$LINENO: result: $result" >&5
10607 $as_echo "$result" >&6; }
10611 defaultval
=$wxUSE_ALL_FEATURES
10612 if test -z "$defaultval"; then
10613 if test x
"$enablestring" = xdisable
; then
10620 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10621 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
10622 # Check whether --enable-detect_sm was given.
10623 if test "${enable_detect_sm+set}" = set; then
10624 enableval
=$enable_detect_sm;
10625 if test "$enableval" = yes; then
10626 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10628 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10633 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10638 eval "$wx_cv_use_detect_sm"
10640 if test x"$enablestring" = xdisable; then
10641 if test $wxUSE_DETECT_SM = yes; then
10647 result=$wxUSE_DETECT_SM
10650 { $as_echo "$as_me:$LINENO: result: $result" >&5
10651 $as_echo "$result" >&6; }
10655 defaultval=$wxUSE_ALL_FEATURES
10656 if test -z "$defaultval"; then
10657 if test x"$enablestring" = xdisable; then
10664 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10665 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
10666 # Check whether --enable-dirpicker was given.
10667 if test "${enable_dirpicker+set}" = set; then
10668 enableval=$enable_dirpicker;
10669 if test "$enableval" = yes; then
10670 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10672 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10677 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10682 eval "$wx_cv_use_dirpicker"
10684 if test x"$enablestring" = xdisable; then
10685 if test $wxUSE_DIRPICKERCTRL = yes; then
10691 result=$wxUSE_DIRPICKERCTRL
10694 { $as_echo "$as_me:$LINENO: result
: $result" >&5
10695 $as_echo "$result" >&6; }
10699 defaultval=$wxUSE_ALL_FEATURES
10700 if test -z "$defaultval"; then
10701 if test x"$enablestring" = xdisable; then
10708 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10709 $as_echo_n "checking
for --${enablestring:-enable}-display...
" >&6; }
10710 # Check whether --enable-display was given.
10711 if test "${enable_display+set}" = set; then
10712 enableval=$enable_display;
10713 if test "$enableval" = yes; then
10714 wx_cv_use_display='wxUSE_DISPLAY=yes'
10716 wx_cv_use_display='wxUSE_DISPLAY=no'
10721 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10726 eval "$wx_cv_use_display"
10728 if test x
"$enablestring" = xdisable
; then
10729 if test $wxUSE_DISPLAY = yes; then
10735 result
=$wxUSE_DISPLAY
10738 { $as_echo "$as_me:$LINENO: result: $result" >&5
10739 $as_echo "$result" >&6; }
10743 defaultval
=$wxUSE_ALL_FEATURES
10744 if test -z "$defaultval"; then
10745 if test x
"$enablestring" = xdisable
; then
10752 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10753 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
10754 # Check whether --enable-editablebox was given.
10755 if test "${enable_editablebox+set}" = set; then
10756 enableval
=$enable_editablebox;
10757 if test "$enableval" = yes; then
10758 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10760 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10765 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10770 eval "$wx_cv_use_editablebox"
10772 if test x"$enablestring" = xdisable; then
10773 if test $wxUSE_EDITABLELISTBOX = yes; then
10779 result=$wxUSE_EDITABLELISTBOX
10782 { $as_echo "$as_me:$LINENO: result: $result" >&5
10783 $as_echo "$result" >&6; }
10787 defaultval=$wxUSE_ALL_FEATURES
10788 if test -z "$defaultval"; then
10789 if test x"$enablestring" = xdisable; then
10796 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10797 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
10798 # Check whether --enable-filectrl was given.
10799 if test "${enable_filectrl+set}" = set; then
10800 enableval=$enable_filectrl;
10801 if test "$enableval" = yes; then
10802 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10804 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10809 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10814 eval "$wx_cv_use_filectrl"
10816 if test x"$enablestring" = xdisable; then
10817 if test $wxUSE_FILECTRL = yes; then
10823 result=$wxUSE_FILECTRL
10826 { $as_echo "$as_me:$LINENO: result
: $result" >&5
10827 $as_echo "$result" >&6; }
10831 defaultval=$wxUSE_ALL_FEATURES
10832 if test -z "$defaultval"; then
10833 if test x"$enablestring" = xdisable; then
10840 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10841 $as_echo_n "checking
for --${enablestring:-enable}-filepicker...
" >&6; }
10842 # Check whether --enable-filepicker was given.
10843 if test "${enable_filepicker+set}" = set; then
10844 enableval=$enable_filepicker;
10845 if test "$enableval" = yes; then
10846 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10848 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10853 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10858 eval "$wx_cv_use_filepicker"
10860 if test x
"$enablestring" = xdisable
; then
10861 if test $wxUSE_FILEPICKERCTRL = yes; then
10867 result
=$wxUSE_FILEPICKERCTRL
10870 { $as_echo "$as_me:$LINENO: result: $result" >&5
10871 $as_echo "$result" >&6; }
10875 defaultval
=$wxUSE_ALL_FEATURES
10876 if test -z "$defaultval"; then
10877 if test x
"$enablestring" = xdisable
; then
10884 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10885 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
10886 # Check whether --enable-fontpicker was given.
10887 if test "${enable_fontpicker+set}" = set; then
10888 enableval
=$enable_fontpicker;
10889 if test "$enableval" = yes; then
10890 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10892 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10897 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10902 eval "$wx_cv_use_fontpicker"
10904 if test x"$enablestring" = xdisable; then
10905 if test $wxUSE_FONTPICKERCTRL = yes; then
10911 result=$wxUSE_FONTPICKERCTRL
10914 { $as_echo "$as_me:$LINENO: result: $result" >&5
10915 $as_echo "$result" >&6; }
10919 defaultval=$wxUSE_ALL_FEATURES
10920 if test -z "$defaultval"; then
10921 if test x"$enablestring" = xdisable; then
10928 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10929 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
10930 # Check whether --enable-gauge was given.
10931 if test "${enable_gauge+set}" = set; then
10932 enableval=$enable_gauge;
10933 if test "$enableval" = yes; then
10934 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10936 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10941 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10946 eval "$wx_cv_use_gauge"
10948 if test x"$enablestring" = xdisable; then
10949 if test $wxUSE_GAUGE = yes; then
10955 result=$wxUSE_GAUGE
10958 { $as_echo "$as_me:$LINENO: result
: $result" >&5
10959 $as_echo "$result" >&6; }
10963 defaultval=$wxUSE_ALL_FEATURES
10964 if test -z "$defaultval"; then
10965 if test x"$enablestring" = xdisable; then
10972 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10973 $as_echo_n "checking
for --${enablestring:-enable}-grid...
" >&6; }
10974 # Check whether --enable-grid was given.
10975 if test "${enable_grid+set}" = set; then
10976 enableval=$enable_grid;
10977 if test "$enableval" = yes; then
10978 wx_cv_use_grid='wxUSE_GRID=yes'
10980 wx_cv_use_grid='wxUSE_GRID=no'
10985 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10990 eval "$wx_cv_use_grid"
10992 if test x
"$enablestring" = xdisable
; then
10993 if test $wxUSE_GRID = yes; then
11002 { $as_echo "$as_me:$LINENO: result: $result" >&5
11003 $as_echo "$result" >&6; }
11007 defaultval
=$wxUSE_ALL_FEATURES
11008 if test -z "$defaultval"; then
11009 if test x
"$enablestring" = xdisable
; then
11016 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11017 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
11018 # Check whether --enable-headerctrl was given.
11019 if test "${enable_headerctrl+set}" = set; then
11020 enableval
=$enable_headerctrl;
11021 if test "$enableval" = yes; then
11022 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
11024 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
11029 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11034 eval "$wx_cv_use_headerctrl"
11036 if test x"$enablestring" = xdisable; then
11037 if test $wxUSE_HEADERCTRL = yes; then
11043 result=$wxUSE_HEADERCTRL
11046 { $as_echo "$as_me:$LINENO: result: $result" >&5
11047 $as_echo "$result" >&6; }
11051 defaultval=$wxUSE_ALL_FEATURES
11052 if test -z "$defaultval"; then
11053 if test x"$enablestring" = xdisable; then
11060 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11061 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
11062 # Check whether --enable-hyperlink was given.
11063 if test "${enable_hyperlink+set}" = set; then
11064 enableval=$enable_hyperlink;
11065 if test "$enableval" = yes; then
11066 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
11068 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
11073 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11078 eval "$wx_cv_use_hyperlink"
11080 if test x"$enablestring" = xdisable; then
11081 if test $wxUSE_HYPERLINKCTRL = yes; then
11087 result=$wxUSE_HYPERLINKCTRL
11090 { $as_echo "$as_me:$LINENO: result
: $result" >&5
11091 $as_echo "$result" >&6; }
11095 defaultval=$wxUSE_ALL_FEATURES
11096 if test -z "$defaultval"; then
11097 if test x"$enablestring" = xdisable; then
11104 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
11105 $as_echo_n "checking
for --${enablestring:-enable}-imaglist...
" >&6; }
11106 # Check whether --enable-imaglist was given.
11107 if test "${enable_imaglist+set}" = set; then
11108 enableval=$enable_imaglist;
11109 if test "$enableval" = yes; then
11110 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11112 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11117 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11122 eval "$wx_cv_use_imaglist"
11124 if test x
"$enablestring" = xdisable
; then
11125 if test $wxUSE_IMAGLIST = yes; then
11131 result
=$wxUSE_IMAGLIST
11134 { $as_echo "$as_me:$LINENO: result: $result" >&5
11135 $as_echo "$result" >&6; }
11139 defaultval
=$wxUSE_ALL_FEATURES
11140 if test -z "$defaultval"; then
11141 if test x
"$enablestring" = xdisable
; then
11148 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11149 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
11150 # Check whether --enable-listbook was given.
11151 if test "${enable_listbook+set}" = set; then
11152 enableval
=$enable_listbook;
11153 if test "$enableval" = yes; then
11154 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11156 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11161 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11166 eval "$wx_cv_use_listbook"
11168 if test x"$enablestring" = xdisable; then
11169 if test $wxUSE_LISTBOOK = yes; then
11175 result=$wxUSE_LISTBOOK
11178 { $as_echo "$as_me:$LINENO: result: $result" >&5
11179 $as_echo "$result" >&6; }
11183 defaultval=$wxUSE_ALL_FEATURES
11184 if test -z "$defaultval"; then
11185 if test x"$enablestring" = xdisable; then
11192 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11193 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
11194 # Check whether --enable-listbox was given.
11195 if test "${enable_listbox+set}" = set; then
11196 enableval=$enable_listbox;
11197 if test "$enableval" = yes; then
11198 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11200 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11205 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11210 eval "$wx_cv_use_listbox"
11212 if test x"$enablestring" = xdisable; then
11213 if test $wxUSE_LISTBOX = yes; then
11219 result=$wxUSE_LISTBOX
11222 { $as_echo "$as_me:$LINENO: result
: $result" >&5
11223 $as_echo "$result" >&6; }
11227 defaultval=$wxUSE_ALL_FEATURES
11228 if test -z "$defaultval"; then
11229 if test x"$enablestring" = xdisable; then
11236 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11237 $as_echo_n "checking
for --${enablestring:-enable}-listctrl...
" >&6; }
11238 # Check whether --enable-listctrl was given.
11239 if test "${enable_listctrl+set}" = set; then
11240 enableval=$enable_listctrl;
11241 if test "$enableval" = yes; then
11242 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11244 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11249 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11254 eval "$wx_cv_use_listctrl"
11256 if test x
"$enablestring" = xdisable
; then
11257 if test $wxUSE_LISTCTRL = yes; then
11263 result
=$wxUSE_LISTCTRL
11266 { $as_echo "$as_me:$LINENO: result: $result" >&5
11267 $as_echo "$result" >&6; }
11271 defaultval
=$wxUSE_ALL_FEATURES
11272 if test -z "$defaultval"; then
11273 if test x
"$enablestring" = xdisable
; then
11280 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11281 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
11282 # Check whether --enable-notebook was given.
11283 if test "${enable_notebook+set}" = set; then
11284 enableval
=$enable_notebook;
11285 if test "$enableval" = yes; then
11286 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11288 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11293 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11298 eval "$wx_cv_use_notebook"
11300 if test x"$enablestring" = xdisable; then
11301 if test $wxUSE_NOTEBOOK = yes; then
11307 result=$wxUSE_NOTEBOOK
11310 { $as_echo "$as_me:$LINENO: result: $result" >&5
11311 $as_echo "$result" >&6; }
11315 defaultval=$wxUSE_ALL_FEATURES
11316 if test -z "$defaultval"; then
11317 if test x"$enablestring" = xdisable; then
11324 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11325 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
11326 # Check whether --enable-notifmsg was given.
11327 if test "${enable_notifmsg+set}" = set; then
11328 enableval=$enable_notifmsg;
11329 if test "$enableval" = yes; then
11330 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11332 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11337 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11342 eval "$wx_cv_use_notifmsg"
11344 if test x"$enablestring" = xdisable; then
11345 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11351 result=$wxUSE_NOTIFICATION_MESSAGE
11354 { $as_echo "$as_me:$LINENO: result
: $result" >&5
11355 $as_echo "$result" >&6; }
11359 defaultval=$wxUSE_ALL_FEATURES
11360 if test -z "$defaultval"; then
11361 if test x"$enablestring" = xdisable; then
11368 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11369 $as_echo_n "checking
for --${enablestring:-enable}-odcombobox...
" >&6; }
11370 # Check whether --enable-odcombobox was given.
11371 if test "${enable_odcombobox+set}" = set; then
11372 enableval=$enable_odcombobox;
11373 if test "$enableval" = yes; then
11374 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11376 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11381 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11386 eval "$wx_cv_use_odcombobox"
11388 if test x
"$enablestring" = xdisable
; then
11389 if test $wxUSE_ODCOMBOBOX = yes; then
11395 result
=$wxUSE_ODCOMBOBOX
11398 { $as_echo "$as_me:$LINENO: result: $result" >&5
11399 $as_echo "$result" >&6; }
11403 defaultval
=$wxUSE_ALL_FEATURES
11404 if test -z "$defaultval"; then
11405 if test x
"$enablestring" = xdisable
; then
11412 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11413 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
11414 # Check whether --enable-popupwin was given.
11415 if test "${enable_popupwin+set}" = set; then
11416 enableval
=$enable_popupwin;
11417 if test "$enableval" = yes; then
11418 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11420 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11425 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11430 eval "$wx_cv_use_popupwin"
11432 if test x"$enablestring" = xdisable; then
11433 if test $wxUSE_POPUPWIN = yes; then
11439 result=$wxUSE_POPUPWIN
11442 { $as_echo "$as_me:$LINENO: result: $result" >&5
11443 $as_echo "$result" >&6; }
11447 defaultval=$wxUSE_ALL_FEATURES
11448 if test -z "$defaultval"; then
11449 if test x"$enablestring" = xdisable; then
11456 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11457 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
11458 # Check whether --enable-radiobox was given.
11459 if test "${enable_radiobox+set}" = set; then
11460 enableval=$enable_radiobox;
11461 if test "$enableval" = yes; then
11462 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11464 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11469 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11474 eval "$wx_cv_use_radiobox"
11476 if test x"$enablestring" = xdisable; then
11477 if test $wxUSE_RADIOBOX = yes; then
11483 result=$wxUSE_RADIOBOX
11486 { $as_echo "$as_me:$LINENO: result
: $result" >&5
11487 $as_echo "$result" >&6; }
11491 defaultval=$wxUSE_ALL_FEATURES
11492 if test -z "$defaultval"; then
11493 if test x"$enablestring" = xdisable; then
11500 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11501 $as_echo_n "checking
for --${enablestring:-enable}-radiobtn...
" >&6; }
11502 # Check whether --enable-radiobtn was given.
11503 if test "${enable_radiobtn+set}" = set; then
11504 enableval=$enable_radiobtn;
11505 if test "$enableval" = yes; then
11506 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11508 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11513 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11518 eval "$wx_cv_use_radiobtn"
11520 if test x
"$enablestring" = xdisable
; then
11521 if test $wxUSE_RADIOBTN = yes; then
11527 result
=$wxUSE_RADIOBTN
11530 { $as_echo "$as_me:$LINENO: result: $result" >&5
11531 $as_echo "$result" >&6; }
11535 defaultval
=$wxUSE_ALL_FEATURES
11536 if test -z "$defaultval"; then
11537 if test x
"$enablestring" = xdisable
; then
11544 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11545 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
11546 # Check whether --enable-rearrangectrl was given.
11547 if test "${enable_rearrangectrl+set}" = set; then
11548 enableval
=$enable_rearrangectrl;
11549 if test "$enableval" = yes; then
11550 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
11552 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
11557 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11562 eval "$wx_cv_use_rearrangectrl"
11564 if test x"$enablestring" = xdisable; then
11565 if test $wxUSE_REARRANGECTRL = yes; then
11571 result=$wxUSE_REARRANGECTRL
11574 { $as_echo "$as_me:$LINENO: result: $result" >&5
11575 $as_echo "$result" >&6; }
11579 defaultval=$wxUSE_ALL_FEATURES
11580 if test -z "$defaultval"; then
11581 if test x"$enablestring" = xdisable; then
11588 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11589 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
11590 # Check whether --enable-sash was given.
11591 if test "${enable_sash+set}" = set; then
11592 enableval=$enable_sash;
11593 if test "$enableval" = yes; then
11594 wx_cv_use_sash='wxUSE_SASH
=yes'
11596 wx_cv_use_sash='wxUSE_SASH
=no
'
11601 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11606 eval "$wx_cv_use_sash"
11608 if test x"$enablestring" = xdisable; then
11609 if test $wxUSE_SASH = yes; then
11618 { $as_echo "$as_me:$LINENO: result
: $result" >&5
11619 $as_echo "$result" >&6; }
11623 defaultval=$wxUSE_ALL_FEATURES
11624 if test -z "$defaultval"; then
11625 if test x"$enablestring" = xdisable; then
11632 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11633 $as_echo_n "checking
for --${enablestring:-enable}-scrollbar...
" >&6; }
11634 # Check whether --enable-scrollbar was given.
11635 if test "${enable_scrollbar+set}" = set; then
11636 enableval=$enable_scrollbar;
11637 if test "$enableval" = yes; then
11638 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11640 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11645 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11650 eval "$wx_cv_use_scrollbar"
11652 if test x
"$enablestring" = xdisable
; then
11653 if test $wxUSE_SCROLLBAR = yes; then
11659 result
=$wxUSE_SCROLLBAR
11662 { $as_echo "$as_me:$LINENO: result: $result" >&5
11663 $as_echo "$result" >&6; }
11667 defaultval
=$wxUSE_ALL_FEATURES
11668 if test -z "$defaultval"; then
11669 if test x
"$enablestring" = xdisable
; then
11676 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11677 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
11678 # Check whether --enable-searchctrl was given.
11679 if test "${enable_searchctrl+set}" = set; then
11680 enableval
=$enable_searchctrl;
11681 if test "$enableval" = yes; then
11682 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11684 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11689 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11694 eval "$wx_cv_use_searchctrl"
11696 if test x"$enablestring" = xdisable; then
11697 if test $wxUSE_SEARCHCTRL = yes; then
11703 result=$wxUSE_SEARCHCTRL
11706 { $as_echo "$as_me:$LINENO: result: $result" >&5
11707 $as_echo "$result" >&6; }
11711 defaultval=$wxUSE_ALL_FEATURES
11712 if test -z "$defaultval"; then
11713 if test x"$enablestring" = xdisable; then
11720 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11721 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
11722 # Check whether --enable-slider was given.
11723 if test "${enable_slider+set}" = set; then
11724 enableval=$enable_slider;
11725 if test "$enableval" = yes; then
11726 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11728 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11733 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11738 eval "$wx_cv_use_slider"
11740 if test x"$enablestring" = xdisable; then
11741 if test $wxUSE_SLIDER = yes; then
11747 result=$wxUSE_SLIDER
11750 { $as_echo "$as_me:$LINENO: result
: $result" >&5
11751 $as_echo "$result" >&6; }
11755 defaultval=$wxUSE_ALL_FEATURES
11756 if test -z "$defaultval"; then
11757 if test x"$enablestring" = xdisable; then
11764 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11765 $as_echo_n "checking
for --${enablestring:-enable}-spinbtn...
" >&6; }
11766 # Check whether --enable-spinbtn was given.
11767 if test "${enable_spinbtn+set}" = set; then
11768 enableval=$enable_spinbtn;
11769 if test "$enableval" = yes; then
11770 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11772 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11777 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11782 eval "$wx_cv_use_spinbtn"
11784 if test x
"$enablestring" = xdisable
; then
11785 if test $wxUSE_SPINBTN = yes; then
11791 result
=$wxUSE_SPINBTN
11794 { $as_echo "$as_me:$LINENO: result: $result" >&5
11795 $as_echo "$result" >&6; }
11799 defaultval
=$wxUSE_ALL_FEATURES
11800 if test -z "$defaultval"; then
11801 if test x
"$enablestring" = xdisable
; then
11808 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11809 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
11810 # Check whether --enable-spinctrl was given.
11811 if test "${enable_spinctrl+set}" = set; then
11812 enableval
=$enable_spinctrl;
11813 if test "$enableval" = yes; then
11814 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11816 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11821 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11826 eval "$wx_cv_use_spinctrl"
11828 if test x"$enablestring" = xdisable; then
11829 if test $wxUSE_SPINCTRL = yes; then
11835 result=$wxUSE_SPINCTRL
11838 { $as_echo "$as_me:$LINENO: result: $result" >&5
11839 $as_echo "$result" >&6; }
11843 defaultval=$wxUSE_ALL_FEATURES
11844 if test -z "$defaultval"; then
11845 if test x"$enablestring" = xdisable; then
11852 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11853 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
11854 # Check whether --enable-splitter was given.
11855 if test "${enable_splitter+set}" = set; then
11856 enableval=$enable_splitter;
11857 if test "$enableval" = yes; then
11858 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11860 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11865 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11870 eval "$wx_cv_use_splitter"
11872 if test x"$enablestring" = xdisable; then
11873 if test $wxUSE_SPLITTER = yes; then
11879 result=$wxUSE_SPLITTER
11882 { $as_echo "$as_me:$LINENO: result
: $result" >&5
11883 $as_echo "$result" >&6; }
11887 defaultval=$wxUSE_ALL_FEATURES
11888 if test -z "$defaultval"; then
11889 if test x"$enablestring" = xdisable; then
11896 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11897 $as_echo_n "checking
for --${enablestring:-enable}-statbmp...
" >&6; }
11898 # Check whether --enable-statbmp was given.
11899 if test "${enable_statbmp+set}" = set; then
11900 enableval=$enable_statbmp;
11901 if test "$enableval" = yes; then
11902 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11904 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11909 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11914 eval "$wx_cv_use_statbmp"
11916 if test x
"$enablestring" = xdisable
; then
11917 if test $wxUSE_STATBMP = yes; then
11923 result
=$wxUSE_STATBMP
11926 { $as_echo "$as_me:$LINENO: result: $result" >&5
11927 $as_echo "$result" >&6; }
11931 defaultval
=$wxUSE_ALL_FEATURES
11932 if test -z "$defaultval"; then
11933 if test x
"$enablestring" = xdisable
; then
11940 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11941 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
11942 # Check whether --enable-statbox was given.
11943 if test "${enable_statbox+set}" = set; then
11944 enableval
=$enable_statbox;
11945 if test "$enableval" = yes; then
11946 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11948 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11953 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11958 eval "$wx_cv_use_statbox"
11960 if test x"$enablestring" = xdisable; then
11961 if test $wxUSE_STATBOX = yes; then
11967 result=$wxUSE_STATBOX
11970 { $as_echo "$as_me:$LINENO: result: $result" >&5
11971 $as_echo "$result" >&6; }
11975 defaultval=$wxUSE_ALL_FEATURES
11976 if test -z "$defaultval"; then
11977 if test x"$enablestring" = xdisable; then
11984 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11985 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
11986 # Check whether --enable-statline was given.
11987 if test "${enable_statline+set}" = set; then
11988 enableval=$enable_statline;
11989 if test "$enableval" = yes; then
11990 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11992 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11997 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12002 eval "$wx_cv_use_statline"
12004 if test x"$enablestring" = xdisable; then
12005 if test $wxUSE_STATLINE = yes; then
12011 result=$wxUSE_STATLINE
12014 { $as_echo "$as_me:$LINENO: result
: $result" >&5
12015 $as_echo "$result" >&6; }
12019 defaultval=$wxUSE_ALL_FEATURES
12020 if test -z "$defaultval"; then
12021 if test x"$enablestring" = xdisable; then
12028 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
12029 $as_echo_n "checking
for --${enablestring:-enable}-stattext...
" >&6; }
12030 # Check whether --enable-stattext was given.
12031 if test "${enable_stattext+set}" = set; then
12032 enableval=$enable_stattext;
12033 if test "$enableval" = yes; then
12034 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12036 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12041 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12046 eval "$wx_cv_use_stattext"
12048 if test x
"$enablestring" = xdisable
; then
12049 if test $wxUSE_STATTEXT = yes; then
12055 result
=$wxUSE_STATTEXT
12058 { $as_echo "$as_me:$LINENO: result: $result" >&5
12059 $as_echo "$result" >&6; }
12063 defaultval
=$wxUSE_ALL_FEATURES
12064 if test -z "$defaultval"; then
12065 if test x
"$enablestring" = xdisable
; then
12072 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12073 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
12074 # Check whether --enable-statusbar was given.
12075 if test "${enable_statusbar+set}" = set; then
12076 enableval
=$enable_statusbar;
12077 if test "$enableval" = yes; then
12078 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
12080 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
12085 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12090 eval "$wx_cv_use_statusbar"
12092 if test x"$enablestring" = xdisable; then
12093 if test $wxUSE_STATUSBAR = yes; then
12099 result=$wxUSE_STATUSBAR
12102 { $as_echo "$as_me:$LINENO: result: $result" >&5
12103 $as_echo "$result" >&6; }
12107 defaultval=$wxUSE_ALL_FEATURES
12108 if test -z "$defaultval"; then
12109 if test x"$enablestring" = xdisable; then
12116 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12117 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
12118 # Check whether --enable-taskbaricon was given.
12119 if test "${enable_taskbaricon+set}" = set; then
12120 enableval=$enable_taskbaricon;
12121 if test "$enableval" = yes; then
12122 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
12124 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
12129 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12134 eval "$wx_cv_use_taskbaricon"
12136 if test x"$enablestring" = xdisable; then
12137 if test $wxUSE_TASKBARICON = yes; then
12143 result=$wxUSE_TASKBARICON
12146 { $as_echo "$as_me:$LINENO: result
: $result" >&5
12147 $as_echo "$result" >&6; }
12151 defaultval=$wxUSE_ALL_FEATURES
12152 if test -z "$defaultval"; then
12153 if test x"$enablestring" = xdisable; then
12160 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
12161 $as_echo_n "checking
for --${enablestring:-enable}-tbarnative...
" >&6; }
12162 # Check whether --enable-tbarnative was given.
12163 if test "${enable_tbarnative+set}" = set; then
12164 enableval=$enable_tbarnative;
12165 if test "$enableval" = yes; then
12166 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12168 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12173 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12178 eval "$wx_cv_use_tbarnative"
12180 if test x
"$enablestring" = xdisable
; then
12181 if test $wxUSE_TOOLBAR_NATIVE = yes; then
12187 result
=$wxUSE_TOOLBAR_NATIVE
12190 { $as_echo "$as_me:$LINENO: result: $result" >&5
12191 $as_echo "$result" >&6; }
12195 defaultval
=$wxUSE_ALL_FEATURES
12196 if test -z "$defaultval"; then
12197 if test x
"$enablestring" = xdisable
; then
12204 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12205 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
12206 # Check whether --enable-textctrl was given.
12207 if test "${enable_textctrl+set}" = set; then
12208 enableval
=$enable_textctrl;
12209 if test "$enableval" = yes; then
12210 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
12212 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
12217 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12222 eval "$wx_cv_use_textctrl"
12224 if test x"$enablestring" = xdisable; then
12225 if test $wxUSE_TEXTCTRL = yes; then
12231 result=$wxUSE_TEXTCTRL
12234 { $as_echo "$as_me:$LINENO: result: $result" >&5
12235 $as_echo "$result" >&6; }
12239 defaultval=$wxUSE_ALL_FEATURES
12240 if test -z "$defaultval"; then
12241 if test x"$enablestring" = xdisable; then
12248 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12249 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
12250 # Check whether --enable-tipwindow was given.
12251 if test "${enable_tipwindow+set}" = set; then
12252 enableval=$enable_tipwindow;
12253 if test "$enableval" = yes; then
12254 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12256 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12261 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12266 eval "$wx_cv_use_tipwindow"
12268 if test x"$enablestring" = xdisable; then
12269 if test $wxUSE_TIPWINDOW = yes; then
12275 result=$wxUSE_TIPWINDOW
12278 { $as_echo "$as_me:$LINENO: result
: $result" >&5
12279 $as_echo "$result" >&6; }
12283 defaultval=$wxUSE_ALL_FEATURES
12284 if test -z "$defaultval"; then
12285 if test x"$enablestring" = xdisable; then
12292 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
12293 $as_echo_n "checking
for --${enablestring:-enable}-togglebtn...
" >&6; }
12294 # Check whether --enable-togglebtn was given.
12295 if test "${enable_togglebtn+set}" = set; then
12296 enableval=$enable_togglebtn;
12297 if test "$enableval" = yes; then
12298 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12300 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12305 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12310 eval "$wx_cv_use_togglebtn"
12312 if test x
"$enablestring" = xdisable
; then
12313 if test $wxUSE_TOGGLEBTN = yes; then
12319 result
=$wxUSE_TOGGLEBTN
12322 { $as_echo "$as_me:$LINENO: result: $result" >&5
12323 $as_echo "$result" >&6; }
12327 defaultval
=$wxUSE_ALL_FEATURES
12328 if test -z "$defaultval"; then
12329 if test x
"$enablestring" = xdisable
; then
12336 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12337 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
12338 # Check whether --enable-toolbar was given.
12339 if test "${enable_toolbar+set}" = set; then
12340 enableval
=$enable_toolbar;
12341 if test "$enableval" = yes; then
12342 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
12344 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
12349 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12354 eval "$wx_cv_use_toolbar"
12356 if test x"$enablestring" = xdisable; then
12357 if test $wxUSE_TOOLBAR = yes; then
12363 result=$wxUSE_TOOLBAR
12366 { $as_echo "$as_me:$LINENO: result: $result" >&5
12367 $as_echo "$result" >&6; }
12371 defaultval=$wxUSE_ALL_FEATURES
12372 if test -z "$defaultval"; then
12373 if test x"$enablestring" = xdisable; then
12380 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12381 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
12382 # Check whether --enable-toolbook was given.
12383 if test "${enable_toolbook+set}" = set; then
12384 enableval=$enable_toolbook;
12385 if test "$enableval" = yes; then
12386 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12388 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12393 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12398 eval "$wx_cv_use_toolbook"
12400 if test x"$enablestring" = xdisable; then
12401 if test $wxUSE_TOOLBOOK = yes; then
12407 result=$wxUSE_TOOLBOOK
12410 { $as_echo "$as_me:$LINENO: result
: $result" >&5
12411 $as_echo "$result" >&6; }
12415 defaultval=$wxUSE_ALL_FEATURES
12416 if test -z "$defaultval"; then
12417 if test x"$enablestring" = xdisable; then
12424 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12425 $as_echo_n "checking
for --${enablestring:-enable}-treebook...
" >&6; }
12426 # Check whether --enable-treebook was given.
12427 if test "${enable_treebook+set}" = set; then
12428 enableval=$enable_treebook;
12429 if test "$enableval" = yes; then
12430 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12432 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12437 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12442 eval "$wx_cv_use_treebook"
12444 if test x
"$enablestring" = xdisable
; then
12445 if test $wxUSE_TREEBOOK = yes; then
12451 result
=$wxUSE_TREEBOOK
12454 { $as_echo "$as_me:$LINENO: result: $result" >&5
12455 $as_echo "$result" >&6; }
12459 defaultval
=$wxUSE_ALL_FEATURES
12460 if test -z "$defaultval"; then
12461 if test x
"$enablestring" = xdisable
; then
12468 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12469 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
12470 # Check whether --enable-treectrl was given.
12471 if test "${enable_treectrl+set}" = set; then
12472 enableval
=$enable_treectrl;
12473 if test "$enableval" = yes; then
12474 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12476 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12481 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12486 eval "$wx_cv_use_treectrl"
12488 if test x"$enablestring" = xdisable; then
12489 if test $wxUSE_TREECTRL = yes; then
12495 result=$wxUSE_TREECTRL
12498 { $as_echo "$as_me:$LINENO: result: $result" >&5
12499 $as_echo "$result" >&6; }
12505 defaultval=$wxUSE_ALL_FEATURES
12506 if test -z "$defaultval"; then
12507 if test x"$enablestring" = xdisable; then
12514 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12515 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
12516 # Check whether --enable-commondlg was given.
12517 if test "${enable_commondlg+set}" = set; then
12518 enableval=$enable_commondlg;
12519 if test "$enableval" = yes; then
12520 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12522 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12527 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12532 eval "$wx_cv_use_commondlg"
12534 if test x"$enablestring" = xdisable; then
12535 if test $wxUSE_COMMONDLGS = yes; then
12541 result=$wxUSE_COMMONDLGS
12544 { $as_echo "$as_me:$LINENO: result
: $result" >&5
12545 $as_echo "$result" >&6; }
12549 defaultval=$wxUSE_ALL_FEATURES
12550 if test -z "$defaultval"; then
12551 if test x"$enablestring" = xdisable; then
12558 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12559 $as_echo_n "checking
for --${enablestring:-enable}-aboutdlg...
" >&6; }
12560 # Check whether --enable-aboutdlg was given.
12561 if test "${enable_aboutdlg+set}" = set; then
12562 enableval=$enable_aboutdlg;
12563 if test "$enableval" = yes; then
12564 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12566 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12571 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12576 eval "$wx_cv_use_aboutdlg"
12578 if test x
"$enablestring" = xdisable
; then
12579 if test $wxUSE_ABOUTDLG = yes; then
12585 result
=$wxUSE_ABOUTDLG
12588 { $as_echo "$as_me:$LINENO: result: $result" >&5
12589 $as_echo "$result" >&6; }
12593 defaultval
=$wxUSE_ALL_FEATURES
12594 if test -z "$defaultval"; then
12595 if test x
"$enablestring" = xdisable
; then
12602 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12603 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
12604 # Check whether --enable-choicedlg was given.
12605 if test "${enable_choicedlg+set}" = set; then
12606 enableval
=$enable_choicedlg;
12607 if test "$enableval" = yes; then
12608 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12610 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12615 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12620 eval "$wx_cv_use_choicedlg"
12622 if test x"$enablestring" = xdisable; then
12623 if test $wxUSE_CHOICEDLG = yes; then
12629 result=$wxUSE_CHOICEDLG
12632 { $as_echo "$as_me:$LINENO: result: $result" >&5
12633 $as_echo "$result" >&6; }
12637 defaultval=$wxUSE_ALL_FEATURES
12638 if test -z "$defaultval"; then
12639 if test x"$enablestring" = xdisable; then
12646 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12647 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
12648 # Check whether --enable-coldlg was given.
12649 if test "${enable_coldlg+set}" = set; then
12650 enableval=$enable_coldlg;
12651 if test "$enableval" = yes; then
12652 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12654 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12659 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12664 eval "$wx_cv_use_coldlg"
12666 if test x"$enablestring" = xdisable; then
12667 if test $wxUSE_COLOURDLG = yes; then
12673 result=$wxUSE_COLOURDLG
12676 { $as_echo "$as_me:$LINENO: result
: $result" >&5
12677 $as_echo "$result" >&6; }
12681 defaultval=$wxUSE_ALL_FEATURES
12682 if test -z "$defaultval"; then
12683 if test x"$enablestring" = xdisable; then
12690 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
12691 $as_echo_n "checking
for --${enablestring:-enable}-filedlg...
" >&6; }
12692 # Check whether --enable-filedlg was given.
12693 if test "${enable_filedlg+set}" = set; then
12694 enableval=$enable_filedlg;
12695 if test "$enableval" = yes; then
12696 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12698 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12703 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12708 eval "$wx_cv_use_filedlg"
12710 if test x
"$enablestring" = xdisable
; then
12711 if test $wxUSE_FILEDLG = yes; then
12717 result
=$wxUSE_FILEDLG
12720 { $as_echo "$as_me:$LINENO: result: $result" >&5
12721 $as_echo "$result" >&6; }
12725 defaultval
=$wxUSE_ALL_FEATURES
12726 if test -z "$defaultval"; then
12727 if test x
"$enablestring" = xdisable
; then
12734 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12735 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
12736 # Check whether --enable-finddlg was given.
12737 if test "${enable_finddlg+set}" = set; then
12738 enableval
=$enable_finddlg;
12739 if test "$enableval" = yes; then
12740 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
12742 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
12747 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12752 eval "$wx_cv_use_finddlg"
12754 if test x"$enablestring" = xdisable; then
12755 if test $wxUSE_FINDREPLDLG = yes; then
12761 result=$wxUSE_FINDREPLDLG
12764 { $as_echo "$as_me:$LINENO: result: $result" >&5
12765 $as_echo "$result" >&6; }
12769 defaultval=$wxUSE_ALL_FEATURES
12770 if test -z "$defaultval"; then
12771 if test x"$enablestring" = xdisable; then
12778 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12779 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
12780 # Check whether --enable-fontdlg was given.
12781 if test "${enable_fontdlg+set}" = set; then
12782 enableval=$enable_fontdlg;
12783 if test "$enableval" = yes; then
12784 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
12786 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
12791 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12796 eval "$wx_cv_use_fontdlg"
12798 if test x"$enablestring" = xdisable; then
12799 if test $wxUSE_FONTDLG = yes; then
12805 result=$wxUSE_FONTDLG
12808 { $as_echo "$as_me:$LINENO: result
: $result" >&5
12809 $as_echo "$result" >&6; }
12813 defaultval=$wxUSE_ALL_FEATURES
12814 if test -z "$defaultval"; then
12815 if test x"$enablestring" = xdisable; then
12822 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
12823 $as_echo_n "checking
for --${enablestring:-enable}-dirdlg...
" >&6; }
12824 # Check whether --enable-dirdlg was given.
12825 if test "${enable_dirdlg+set}" = set; then
12826 enableval=$enable_dirdlg;
12827 if test "$enableval" = yes; then
12828 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12830 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12835 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12840 eval "$wx_cv_use_dirdlg"
12842 if test x
"$enablestring" = xdisable
; then
12843 if test $wxUSE_DIRDLG = yes; then
12849 result
=$wxUSE_DIRDLG
12852 { $as_echo "$as_me:$LINENO: result: $result" >&5
12853 $as_echo "$result" >&6; }
12857 defaultval
=$wxUSE_ALL_FEATURES
12858 if test -z "$defaultval"; then
12859 if test x
"$enablestring" = xdisable
; then
12866 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12867 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
12868 # Check whether --enable-msgdlg was given.
12869 if test "${enable_msgdlg+set}" = set; then
12870 enableval
=$enable_msgdlg;
12871 if test "$enableval" = yes; then
12872 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
12874 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
12879 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12884 eval "$wx_cv_use_msgdlg"
12886 if test x"$enablestring" = xdisable; then
12887 if test $wxUSE_MSGDLG = yes; then
12893 result=$wxUSE_MSGDLG
12896 { $as_echo "$as_me:$LINENO: result: $result" >&5
12897 $as_echo "$result" >&6; }
12901 defaultval=$wxUSE_ALL_FEATURES
12902 if test -z "$defaultval"; then
12903 if test x"$enablestring" = xdisable; then
12910 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12911 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
12912 # Check whether --enable-numberdlg was given.
12913 if test "${enable_numberdlg+set}" = set; then
12914 enableval=$enable_numberdlg;
12915 if test "$enableval" = yes; then
12916 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
12918 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
12923 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12928 eval "$wx_cv_use_numberdlg"
12930 if test x"$enablestring" = xdisable; then
12931 if test $wxUSE_NUMBERDLG = yes; then
12937 result=$wxUSE_NUMBERDLG
12940 { $as_echo "$as_me:$LINENO: result
: $result" >&5
12941 $as_echo "$result" >&6; }
12945 defaultval=$wxUSE_ALL_FEATURES
12946 if test -z "$defaultval"; then
12947 if test x"$enablestring" = xdisable; then
12954 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
12955 $as_echo_n "checking
for --${enablestring:-enable}-splash...
" >&6; }
12956 # Check whether --enable-splash was given.
12957 if test "${enable_splash+set}" = set; then
12958 enableval=$enable_splash;
12959 if test "$enableval" = yes; then
12960 wx_cv_use_splash='wxUSE_SPLASH=yes'
12962 wx_cv_use_splash='wxUSE_SPLASH=no'
12967 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12972 eval "$wx_cv_use_splash"
12974 if test x
"$enablestring" = xdisable
; then
12975 if test $wxUSE_SPLASH = yes; then
12981 result
=$wxUSE_SPLASH
12984 { $as_echo "$as_me:$LINENO: result: $result" >&5
12985 $as_echo "$result" >&6; }
12989 defaultval
=$wxUSE_ALL_FEATURES
12990 if test -z "$defaultval"; then
12991 if test x
"$enablestring" = xdisable
; then
12998 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12999 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
13000 # Check whether --enable-textdlg was given.
13001 if test "${enable_textdlg+set}" = set; then
13002 enableval
=$enable_textdlg;
13003 if test "$enableval" = yes; then
13004 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
13006 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
13011 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13016 eval "$wx_cv_use_textdlg"
13018 if test x"$enablestring" = xdisable; then
13019 if test $wxUSE_TEXTDLG = yes; then
13025 result=$wxUSE_TEXTDLG
13028 { $as_echo "$as_me:$LINENO: result: $result" >&5
13029 $as_echo "$result" >&6; }
13033 defaultval=$wxUSE_ALL_FEATURES
13034 if test -z "$defaultval"; then
13035 if test x"$enablestring" = xdisable; then
13042 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13043 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
13044 # Check whether --enable-tipdlg was given.
13045 if test "${enable_tipdlg+set}" = set; then
13046 enableval=$enable_tipdlg;
13047 if test "$enableval" = yes; then
13048 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
13050 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
13055 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13060 eval "$wx_cv_use_tipdlg"
13062 if test x"$enablestring" = xdisable; then
13063 if test $wxUSE_STARTUP_TIPS = yes; then
13069 result=$wxUSE_STARTUP_TIPS
13072 { $as_echo "$as_me:$LINENO: result
: $result" >&5
13073 $as_echo "$result" >&6; }
13077 defaultval=$wxUSE_ALL_FEATURES
13078 if test -z "$defaultval"; then
13079 if test x"$enablestring" = xdisable; then
13086 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
13087 $as_echo_n "checking
for --${enablestring:-enable}-progressdlg...
" >&6; }
13088 # Check whether --enable-progressdlg was given.
13089 if test "${enable_progressdlg+set}" = set; then
13090 enableval=$enable_progressdlg;
13091 if test "$enableval" = yes; then
13092 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13094 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13099 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13104 eval "$wx_cv_use_progressdlg"
13106 if test x
"$enablestring" = xdisable
; then
13107 if test $wxUSE_PROGRESSDLG = yes; then
13113 result
=$wxUSE_PROGRESSDLG
13116 { $as_echo "$as_me:$LINENO: result: $result" >&5
13117 $as_echo "$result" >&6; }
13121 defaultval
=$wxUSE_ALL_FEATURES
13122 if test -z "$defaultval"; then
13123 if test x
"$enablestring" = xdisable
; then
13130 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13131 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
13132 # Check whether --enable-wizarddlg was given.
13133 if test "${enable_wizarddlg+set}" = set; then
13134 enableval
=$enable_wizarddlg;
13135 if test "$enableval" = yes; then
13136 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
13138 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
13143 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13148 eval "$wx_cv_use_wizarddlg"
13150 if test x"$enablestring" = xdisable; then
13151 if test $wxUSE_WIZARDDLG = yes; then
13157 result=$wxUSE_WIZARDDLG
13160 { $as_echo "$as_me:$LINENO: result: $result" >&5
13161 $as_echo "$result" >&6; }
13167 defaultval=$wxUSE_ALL_FEATURES
13168 if test -z "$defaultval"; then
13169 if test x"$enablestring" = xdisable; then
13176 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13177 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
13178 # Check whether --enable-menus was given.
13179 if test "${enable_menus+set}" = set; then
13180 enableval=$enable_menus;
13181 if test "$enableval" = yes; then
13182 wx_cv_use_menus='wxUSE_MENUS
=yes'
13184 wx_cv_use_menus='wxUSE_MENUS
=no
'
13189 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13194 eval "$wx_cv_use_menus"
13196 if test x"$enablestring" = xdisable; then
13197 if test $wxUSE_MENUS = yes; then
13203 result=$wxUSE_MENUS
13206 { $as_echo "$as_me:$LINENO: result
: $result" >&5
13207 $as_echo "$result" >&6; }
13211 defaultval=$wxUSE_ALL_FEATURES
13212 if test -z "$defaultval"; then
13213 if test x"$enablestring" = xdisable; then
13220 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
13221 $as_echo_n "checking
for --${enablestring:-enable}-miniframe...
" >&6; }
13222 # Check whether --enable-miniframe was given.
13223 if test "${enable_miniframe+set}" = set; then
13224 enableval=$enable_miniframe;
13225 if test "$enableval" = yes; then
13226 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13228 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13233 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13238 eval "$wx_cv_use_miniframe"
13240 if test x
"$enablestring" = xdisable
; then
13241 if test $wxUSE_MINIFRAME = yes; then
13247 result
=$wxUSE_MINIFRAME
13250 { $as_echo "$as_me:$LINENO: result: $result" >&5
13251 $as_echo "$result" >&6; }
13255 defaultval
=$wxUSE_ALL_FEATURES
13256 if test -z "$defaultval"; then
13257 if test x
"$enablestring" = xdisable
; then
13264 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13265 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
13266 # Check whether --enable-tooltips was given.
13267 if test "${enable_tooltips+set}" = set; then
13268 enableval
=$enable_tooltips;
13269 if test "$enableval" = yes; then
13270 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
13272 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
13277 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13282 eval "$wx_cv_use_tooltips"
13284 if test x"$enablestring" = xdisable; then
13285 if test $wxUSE_TOOLTIPS = yes; then
13291 result=$wxUSE_TOOLTIPS
13294 { $as_echo "$as_me:$LINENO: result: $result" >&5
13295 $as_echo "$result" >&6; }
13299 defaultval=$wxUSE_ALL_FEATURES
13300 if test -z "$defaultval"; then
13301 if test x"$enablestring" = xdisable; then
13308 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13309 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
13310 # Check whether --enable-splines was given.
13311 if test "${enable_splines+set}" = set; then
13312 enableval=$enable_splines;
13313 if test "$enableval" = yes; then
13314 wx_cv_use_splines='wxUSE_SPLINES
=yes'
13316 wx_cv_use_splines='wxUSE_SPLINES
=no
'
13321 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13326 eval "$wx_cv_use_splines"
13328 if test x"$enablestring" = xdisable; then
13329 if test $wxUSE_SPLINES = yes; then
13335 result=$wxUSE_SPLINES
13338 { $as_echo "$as_me:$LINENO: result
: $result" >&5
13339 $as_echo "$result" >&6; }
13343 defaultval=$wxUSE_ALL_FEATURES
13344 if test -z "$defaultval"; then
13345 if test x"$enablestring" = xdisable; then
13352 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
13353 $as_echo_n "checking
for --${enablestring:-enable}-mousewheel...
" >&6; }
13354 # Check whether --enable-mousewheel was given.
13355 if test "${enable_mousewheel+set}" = set; then
13356 enableval=$enable_mousewheel;
13357 if test "$enableval" = yes; then
13358 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13360 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13365 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13370 eval "$wx_cv_use_mousewheel"
13372 if test x
"$enablestring" = xdisable
; then
13373 if test $wxUSE_MOUSEWHEEL = yes; then
13379 result
=$wxUSE_MOUSEWHEEL
13382 { $as_echo "$as_me:$LINENO: result: $result" >&5
13383 $as_echo "$result" >&6; }
13387 defaultval
=$wxUSE_ALL_FEATURES
13388 if test -z "$defaultval"; then
13389 if test x
"$enablestring" = xdisable
; then
13396 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13397 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
13398 # Check whether --enable-validators was given.
13399 if test "${enable_validators+set}" = set; then
13400 enableval
=$enable_validators;
13401 if test "$enableval" = yes; then
13402 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
13404 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
13409 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13414 eval "$wx_cv_use_validators"
13416 if test x"$enablestring" = xdisable; then
13417 if test $wxUSE_VALIDATORS = yes; then
13423 result=$wxUSE_VALIDATORS
13426 { $as_echo "$as_me:$LINENO: result: $result" >&5
13427 $as_echo "$result" >&6; }
13431 defaultval=$wxUSE_ALL_FEATURES
13432 if test -z "$defaultval"; then
13433 if test x"$enablestring" = xdisable; then
13440 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13441 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
13442 # Check whether --enable-busyinfo was given.
13443 if test "${enable_busyinfo+set}" = set; then
13444 enableval=$enable_busyinfo;
13445 if test "$enableval" = yes; then
13446 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
13448 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
13453 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13458 eval "$wx_cv_use_busyinfo"
13460 if test x"$enablestring" = xdisable; then
13461 if test $wxUSE_BUSYINFO = yes; then
13467 result=$wxUSE_BUSYINFO
13470 { $as_echo "$as_me:$LINENO: result
: $result" >&5
13471 $as_echo "$result" >&6; }
13475 defaultval=$wxUSE_ALL_FEATURES
13476 if test -z "$defaultval"; then
13477 if test x"$enablestring" = xdisable; then
13484 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13485 $as_echo_n "checking
for --${enablestring:-enable}-joystick...
" >&6; }
13486 # Check whether --enable-joystick was given.
13487 if test "${enable_joystick+set}" = set; then
13488 enableval=$enable_joystick;
13489 if test "$enableval" = yes; then
13490 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13492 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13497 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13502 eval "$wx_cv_use_joystick"
13504 if test x
"$enablestring" = xdisable
; then
13505 if test $wxUSE_JOYSTICK = yes; then
13511 result
=$wxUSE_JOYSTICK
13514 { $as_echo "$as_me:$LINENO: result: $result" >&5
13515 $as_echo "$result" >&6; }
13519 defaultval
=$wxUSE_ALL_FEATURES
13520 if test -z "$defaultval"; then
13521 if test x
"$enablestring" = xdisable
; then
13528 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13529 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
13530 # Check whether --enable-metafile was given.
13531 if test "${enable_metafile+set}" = set; then
13532 enableval
=$enable_metafile;
13533 if test "$enableval" = yes; then
13534 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13536 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13541 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13546 eval "$wx_cv_use_metafile"
13548 if test x"$enablestring" = xdisable; then
13549 if test $wxUSE_METAFILE = yes; then
13555 result=$wxUSE_METAFILE
13558 { $as_echo "$as_me:$LINENO: result: $result" >&5
13559 $as_echo "$result" >&6; }
13563 defaultval=$wxUSE_ALL_FEATURES
13564 if test -z "$defaultval"; then
13565 if test x"$enablestring" = xdisable; then
13572 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13573 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
13574 # Check whether --enable-dragimage was given.
13575 if test "${enable_dragimage+set}" = set; then
13576 enableval=$enable_dragimage;
13577 if test "$enableval" = yes; then
13578 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13580 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13585 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13590 eval "$wx_cv_use_dragimage"
13592 if test x"$enablestring" = xdisable; then
13593 if test $wxUSE_DRAGIMAGE = yes; then
13599 result=$wxUSE_DRAGIMAGE
13602 { $as_echo "$as_me:$LINENO: result
: $result" >&5
13603 $as_echo "$result" >&6; }
13607 defaultval=$wxUSE_ALL_FEATURES
13608 if test -z "$defaultval"; then
13609 if test x"$enablestring" = xdisable; then
13616 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13617 $as_echo_n "checking
for --${enablestring:-enable}-accessibility...
" >&6; }
13618 # Check whether --enable-accessibility was given.
13619 if test "${enable_accessibility+set}" = set; then
13620 enableval=$enable_accessibility;
13621 if test "$enableval" = yes; then
13622 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13624 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13629 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13634 eval "$wx_cv_use_accessibility"
13636 if test x
"$enablestring" = xdisable
; then
13637 if test $wxUSE_ACCESSIBILITY = yes; then
13643 result
=$wxUSE_ACCESSIBILITY
13646 { $as_echo "$as_me:$LINENO: result: $result" >&5
13647 $as_echo "$result" >&6; }
13653 defaultval
=$wxUSE_ALL_FEATURES
13654 if test -z "$defaultval"; then
13655 if test x
"$enablestring" = xdisable
; then
13662 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13663 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
13664 # Check whether --enable-palette was given.
13665 if test "${enable_palette+set}" = set; then
13666 enableval
=$enable_palette;
13667 if test "$enableval" = yes; then
13668 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13670 wx_cv_use_palette
='wxUSE_PALETTE=no'
13675 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13680 eval "$wx_cv_use_palette"
13682 if test x"$enablestring" = xdisable; then
13683 if test $wxUSE_PALETTE = yes; then
13689 result=$wxUSE_PALETTE
13692 { $as_echo "$as_me:$LINENO: result: $result" >&5
13693 $as_echo "$result" >&6; }
13697 defaultval=$wxUSE_ALL_FEATURES
13698 if test -z "$defaultval"; then
13699 if test x"$enablestring" = xdisable; then
13706 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13707 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
13708 # Check whether --enable-image was given.
13709 if test "${enable_image+set}" = set; then
13710 enableval=$enable_image;
13711 if test "$enableval" = yes; then
13712 wx_cv_use_image='wxUSE_IMAGE
=yes'
13714 wx_cv_use_image='wxUSE_IMAGE
=no
'
13719 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13724 eval "$wx_cv_use_image"
13726 if test x"$enablestring" = xdisable; then
13727 if test $wxUSE_IMAGE = yes; then
13733 result=$wxUSE_IMAGE
13736 { $as_echo "$as_me:$LINENO: result
: $result" >&5
13737 $as_echo "$result" >&6; }
13741 defaultval=$wxUSE_ALL_FEATURES
13742 if test -z "$defaultval"; then
13743 if test x"$enablestring" = xdisable; then
13750 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13751 $as_echo_n "checking
for --${enablestring:-enable}-gif...
" >&6; }
13752 # Check whether --enable-gif was given.
13753 if test "${enable_gif+set}" = set; then
13754 enableval=$enable_gif;
13755 if test "$enableval" = yes; then
13756 wx_cv_use_gif='wxUSE_GIF=yes'
13758 wx_cv_use_gif='wxUSE_GIF=no'
13763 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13768 eval "$wx_cv_use_gif"
13770 if test x
"$enablestring" = xdisable
; then
13771 if test $wxUSE_GIF = yes; then
13780 { $as_echo "$as_me:$LINENO: result: $result" >&5
13781 $as_echo "$result" >&6; }
13785 defaultval
=$wxUSE_ALL_FEATURES
13786 if test -z "$defaultval"; then
13787 if test x
"$enablestring" = xdisable
; then
13794 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13795 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
13796 # Check whether --enable-pcx was given.
13797 if test "${enable_pcx+set}" = set; then
13798 enableval
=$enable_pcx;
13799 if test "$enableval" = yes; then
13800 wx_cv_use_pcx
='wxUSE_PCX=yes'
13802 wx_cv_use_pcx
='wxUSE_PCX=no'
13807 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13812 eval "$wx_cv_use_pcx"
13814 if test x"$enablestring" = xdisable; then
13815 if test $wxUSE_PCX = yes; then
13824 { $as_echo "$as_me:$LINENO: result: $result" >&5
13825 $as_echo "$result" >&6; }
13829 defaultval=$wxUSE_ALL_FEATURES
13830 if test -z "$defaultval"; then
13831 if test x"$enablestring" = xdisable; then
13838 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13839 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
13840 # Check whether --enable-tga was given.
13841 if test "${enable_tga+set}" = set; then
13842 enableval=$enable_tga;
13843 if test "$enableval" = yes; then
13844 wx_cv_use_tga='wxUSE_TGA
=yes'
13846 wx_cv_use_tga='wxUSE_TGA
=no
'
13851 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13856 eval "$wx_cv_use_tga"
13858 if test x"$enablestring" = xdisable; then
13859 if test $wxUSE_TGA = yes; then
13868 { $as_echo "$as_me:$LINENO: result
: $result" >&5
13869 $as_echo "$result" >&6; }
13873 defaultval=$wxUSE_ALL_FEATURES
13874 if test -z "$defaultval"; then
13875 if test x"$enablestring" = xdisable; then
13882 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13883 $as_echo_n "checking
for --${enablestring:-enable}-iff...
" >&6; }
13884 # Check whether --enable-iff was given.
13885 if test "${enable_iff+set}" = set; then
13886 enableval=$enable_iff;
13887 if test "$enableval" = yes; then
13888 wx_cv_use_iff='wxUSE_IFF=yes'
13890 wx_cv_use_iff='wxUSE_IFF=no'
13895 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13900 eval "$wx_cv_use_iff"
13902 if test x
"$enablestring" = xdisable
; then
13903 if test $wxUSE_IFF = yes; then
13912 { $as_echo "$as_me:$LINENO: result: $result" >&5
13913 $as_echo "$result" >&6; }
13917 defaultval
=$wxUSE_ALL_FEATURES
13918 if test -z "$defaultval"; then
13919 if test x
"$enablestring" = xdisable
; then
13926 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13927 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
13928 # Check whether --enable-pnm was given.
13929 if test "${enable_pnm+set}" = set; then
13930 enableval
=$enable_pnm;
13931 if test "$enableval" = yes; then
13932 wx_cv_use_pnm
='wxUSE_PNM=yes'
13934 wx_cv_use_pnm
='wxUSE_PNM=no'
13939 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13944 eval "$wx_cv_use_pnm"
13946 if test x"$enablestring" = xdisable; then
13947 if test $wxUSE_PNM = yes; then
13956 { $as_echo "$as_me:$LINENO: result: $result" >&5
13957 $as_echo "$result" >&6; }
13961 defaultval=$wxUSE_ALL_FEATURES
13962 if test -z "$defaultval"; then
13963 if test x"$enablestring" = xdisable; then
13970 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13971 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
13972 # Check whether --enable-xpm was given.
13973 if test "${enable_xpm+set}" = set; then
13974 enableval=$enable_xpm;
13975 if test "$enableval" = yes; then
13976 wx_cv_use_xpm='wxUSE_XPM
=yes'
13978 wx_cv_use_xpm='wxUSE_XPM
=no
'
13983 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13988 eval "$wx_cv_use_xpm"
13990 if test x"$enablestring" = xdisable; then
13991 if test $wxUSE_XPM = yes; then
14000 { $as_echo "$as_me:$LINENO: result
: $result" >&5
14001 $as_echo "$result" >&6; }
14005 defaultval=$wxUSE_ALL_FEATURES
14006 if test -z "$defaultval"; then
14007 if test x"$enablestring" = xdisable; then
14014 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
14015 $as_echo_n "checking
for --${enablestring:-enable}-ico_cur...
" >&6; }
14016 # Check whether --enable-ico_cur was given.
14017 if test "${enable_ico_cur+set}" = set; then
14018 enableval=$enable_ico_cur;
14019 if test "$enableval" = yes; then
14020 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14022 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14027 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14032 eval "$wx_cv_use_ico_cur"
14034 if test x
"$enablestring" = xdisable
; then
14035 if test $wxUSE_ICO_CUR = yes; then
14041 result
=$wxUSE_ICO_CUR
14044 { $as_echo "$as_me:$LINENO: result: $result" >&5
14045 $as_echo "$result" >&6; }
14051 defaultval
=$wxUSE_ALL_FEATURES
14052 if test -z "$defaultval"; then
14053 if test x
"$enablestring" = xdisable
; then
14060 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14061 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
14062 # Check whether --enable-dccache was given.
14063 if test "${enable_dccache+set}" = set; then
14064 enableval
=$enable_dccache;
14065 if test "$enableval" = yes; then
14066 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
14068 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
14073 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14078 eval "$wx_cv_use_dccache"
14080 if test x"$enablestring" = xdisable; then
14081 if test $wxUSE_DC_CACHEING = yes; then
14087 result=$wxUSE_DC_CACHEING
14090 { $as_echo "$as_me:$LINENO: result: $result" >&5
14091 $as_echo "$result" >&6; }
14095 defaultval=$wxUSE_ALL_FEATURES
14096 if test -z "$defaultval"; then
14097 if test x"$enablestring" = xdisable; then
14104 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14105 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
14106 # Check whether --enable-ps-in-msw was given.
14107 if test "${enable_ps_in_msw+set}" = set; then
14108 enableval=$enable_ps_in_msw;
14109 if test "$enableval" = yes; then
14110 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
14112 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
14117 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14122 eval "$wx_cv_use_ps_in_msw"
14124 if test x"$enablestring" = xdisable; then
14125 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
14131 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14134 { $as_echo "$as_me:$LINENO: result
: $result" >&5
14135 $as_echo "$result" >&6; }
14139 defaultval=$wxUSE_ALL_FEATURES
14140 if test -z "$defaultval"; then
14141 if test x"$enablestring" = xdisable; then
14148 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
14149 $as_echo_n "checking
for --${enablestring:-enable}-ownerdrawn...
" >&6; }
14150 # Check whether --enable-ownerdrawn was given.
14151 if test "${enable_ownerdrawn+set}" = set; then
14152 enableval=$enable_ownerdrawn;
14153 if test "$enableval" = yes; then
14154 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14156 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14161 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14166 eval "$wx_cv_use_ownerdrawn"
14168 if test x
"$enablestring" = xdisable
; then
14169 if test $wxUSE_OWNER_DRAWN = yes; then
14175 result
=$wxUSE_OWNER_DRAWN
14178 { $as_echo "$as_me:$LINENO: result: $result" >&5
14179 $as_echo "$result" >&6; }
14183 defaultval
=$wxUSE_ALL_FEATURES
14184 if test -z "$defaultval"; then
14185 if test x
"$enablestring" = xdisable
; then
14192 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14193 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
14194 # Check whether --enable-uxtheme was given.
14195 if test "${enable_uxtheme+set}" = set; then
14196 enableval
=$enable_uxtheme;
14197 if test "$enableval" = yes; then
14198 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
14200 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
14205 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14210 eval "$wx_cv_use_uxtheme"
14212 if test x"$enablestring" = xdisable; then
14213 if test $wxUSE_UXTHEME = yes; then
14219 result=$wxUSE_UXTHEME
14222 { $as_echo "$as_me:$LINENO: result: $result" >&5
14223 $as_echo "$result" >&6; }
14227 defaultval=$wxUSE_ALL_FEATURES
14228 if test -z "$defaultval"; then
14229 if test x"$enablestring" = xdisable; then
14236 { $as_echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14237 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
14238 # Check whether --enable-wxdib was given.
14239 if test "${enable_wxdib+set}" = set; then
14240 enableval=$enable_wxdib;
14241 if test "$enableval" = yes; then
14242 wx_cv_use_wxdib='wxUSE_DIB
=yes'
14244 wx_cv_use_wxdib='wxUSE_DIB
=no
'
14249 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14254 eval "$wx_cv_use_wxdib"
14256 if test x"$enablestring" = xdisable; then
14257 if test $wxUSE_DIB = yes; then
14266 { $as_echo "$as_me:$LINENO: result
: $result" >&5
14267 $as_echo "$result" >&6; }
14270 if test "$wxUSE_MSW" != 1; then
14271 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14276 defaultval=$wxUSE_ALL_FEATURES
14277 if test -z "$defaultval"; then
14278 if test x"$enablestring" = xdisable; then
14285 { $as_echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
14286 $as_echo_n "checking
for --${enablestring:-enable}-autoidman...
" >&6; }
14287 # Check whether --enable-autoidman was given.
14288 if test "${enable_autoidman+set}" = set; then
14289 enableval=$enable_autoidman;
14290 if test "$enableval" = yes; then
14291 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14293 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14298 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14303 eval "$wx_cv_use_autoidman"
14305 if test x
"$enablestring" = xdisable
; then
14306 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
14312 result
=$wxUSE_AUTOID_MANAGEMENT
14315 { $as_echo "$as_me:$LINENO: result: $result" >&5
14316 $as_echo "$result" >&6; }
14322 cat >confcache
<<\_ACEOF
14323 # This file is a shell script that caches the results of configure
14324 # tests run on this system so they can be shared between configure
14325 # scripts and configure runs, see configure's option --config-cache.
14326 # It is not useful on other systems. If it contains results you don't
14327 # want to keep, you may remove or edit it.
14329 # config.status only pays attention to the cache file if you give it
14330 # the --recheck option to rerun configure.
14332 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14333 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14334 # following values.
14338 # The following way of writing the cache mishandles newlines in values,
14339 # but we know of no workaround that is simple, portable, and efficient.
14340 # So, we kill variables containing newlines.
14341 # Ultrix sh set writes to stderr and can't be redirected directly,
14342 # and sets the high bit in the cache file unless we assign to the vars.
14344 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14345 eval ac_val
=\$
$ac_var
14349 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
14350 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14353 _
| IFS
| as_nl
) ;; #(
14354 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
14355 *) $as_unset $ac_var ;;
14361 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14362 *${as_nl}ac_space
=\
*)
14363 # `set' does not quote correctly, so add quotes (double-quote
14364 # substitution turns \\\\ into \\, and sed turns \\ into \).
14367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14370 # `set' quotes correctly as required by POSIX, so do not add quotes.
14371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14384 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14385 if test -w "$cache_file"; then
14386 test "x$cache_file" != "x/dev/null" &&
14387 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
14388 $as_echo "$as_me: updating cache $cache_file" >&6;}
14389 cat confcache
>$cache_file
14391 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14392 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14402 ac_cpp
='$CPP $CPPFLAGS'
14403 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14404 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14405 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14406 if test -n "$ac_tool_prefix"; then
14407 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14408 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14409 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14410 $as_echo_n "checking for $ac_word... " >&6; }
14411 if test "${ac_cv_prog_CC+set}" = set; then
14412 $as_echo_n "(cached) " >&6
14414 if test -n "$CC"; then
14415 ac_cv_prog_CC
="$CC" # Let the user override the test.
14417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14418 for as_dir
in $PATH
14421 test -z "$as_dir" && as_dir
=.
14422 for ac_exec_ext
in '' $ac_executable_extensions; do
14423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14424 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14425 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14435 if test -n "$CC"; then
14436 { $as_echo "$as_me:$LINENO: result: $CC" >&5
14437 $as_echo "$CC" >&6; }
14439 { $as_echo "$as_me:$LINENO: result: no" >&5
14440 $as_echo "no" >&6; }
14445 if test -z "$ac_cv_prog_CC"; then
14447 # Extract the first word of "gcc", so it can be a program name with args.
14448 set dummy gcc
; ac_word
=$2
14449 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14450 $as_echo_n "checking for $ac_word... " >&6; }
14451 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14452 $as_echo_n "(cached) " >&6
14454 if test -n "$ac_ct_CC"; then
14455 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14458 for as_dir
in $PATH
14461 test -z "$as_dir" && as_dir
=.
14462 for ac_exec_ext
in '' $ac_executable_extensions; do
14463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14464 ac_cv_prog_ac_ct_CC
="gcc"
14465 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14474 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14475 if test -n "$ac_ct_CC"; then
14476 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14477 $as_echo "$ac_ct_CC" >&6; }
14479 { $as_echo "$as_me:$LINENO: result: no" >&5
14480 $as_echo "no" >&6; }
14483 if test "x$ac_ct_CC" = x
; then
14486 case $cross_compiling:$ac_tool_warned in
14488 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
14489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14490 ac_tool_warned
=yes ;;
14495 CC
="$ac_cv_prog_CC"
14498 if test -z "$CC"; then
14499 if test -n "$ac_tool_prefix"; then
14500 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14501 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14502 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14503 $as_echo_n "checking for $ac_word... " >&6; }
14504 if test "${ac_cv_prog_CC+set}" = set; then
14505 $as_echo_n "(cached) " >&6
14507 if test -n "$CC"; then
14508 ac_cv_prog_CC
="$CC" # Let the user override the test.
14510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14511 for as_dir
in $PATH
14514 test -z "$as_dir" && as_dir
=.
14515 for ac_exec_ext
in '' $ac_executable_extensions; do
14516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14517 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14518 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14528 if test -n "$CC"; then
14529 { $as_echo "$as_me:$LINENO: result: $CC" >&5
14530 $as_echo "$CC" >&6; }
14532 { $as_echo "$as_me:$LINENO: result: no" >&5
14533 $as_echo "no" >&6; }
14539 if test -z "$CC"; then
14540 # Extract the first word of "cc", so it can be a program name with args.
14541 set dummy cc
; ac_word
=$2
14542 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14543 $as_echo_n "checking for $ac_word... " >&6; }
14544 if test "${ac_cv_prog_CC+set}" = set; then
14545 $as_echo_n "(cached) " >&6
14547 if test -n "$CC"; then
14548 ac_cv_prog_CC
="$CC" # Let the user override the test.
14550 ac_prog_rejected
=no
14551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14552 for as_dir
in $PATH
14555 test -z "$as_dir" && as_dir
=.
14556 for ac_exec_ext
in '' $ac_executable_extensions; do
14557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14558 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14559 ac_prog_rejected
=yes
14563 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14570 if test $ac_prog_rejected = yes; then
14571 # We found a bogon in the path, so make sure we never use it.
14572 set dummy
$ac_cv_prog_CC
14574 if test $# != 0; then
14575 # We chose a different compiler from the bogus one.
14576 # However, it has the same basename, so the bogon will be chosen
14577 # first if we set CC to just the basename; use the full file name.
14579 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14585 if test -n "$CC"; then
14586 { $as_echo "$as_me:$LINENO: result: $CC" >&5
14587 $as_echo "$CC" >&6; }
14589 { $as_echo "$as_me:$LINENO: result: no" >&5
14590 $as_echo "no" >&6; }
14595 if test -z "$CC"; then
14596 if test -n "$ac_tool_prefix"; then
14597 for ac_prog
in cl.exe
14599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14600 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14601 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14602 $as_echo_n "checking for $ac_word... " >&6; }
14603 if test "${ac_cv_prog_CC+set}" = set; then
14604 $as_echo_n "(cached) " >&6
14606 if test -n "$CC"; then
14607 ac_cv_prog_CC
="$CC" # Let the user override the test.
14609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14610 for as_dir
in $PATH
14613 test -z "$as_dir" && as_dir
=.
14614 for ac_exec_ext
in '' $ac_executable_extensions; do
14615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14616 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14617 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14627 if test -n "$CC"; then
14628 { $as_echo "$as_me:$LINENO: result: $CC" >&5
14629 $as_echo "$CC" >&6; }
14631 { $as_echo "$as_me:$LINENO: result: no" >&5
14632 $as_echo "no" >&6; }
14636 test -n "$CC" && break
14639 if test -z "$CC"; then
14641 for ac_prog
in cl.exe
14643 # Extract the first word of "$ac_prog", so it can be a program name with args.
14644 set dummy
$ac_prog; ac_word
=$2
14645 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14646 $as_echo_n "checking for $ac_word... " >&6; }
14647 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14648 $as_echo_n "(cached) " >&6
14650 if test -n "$ac_ct_CC"; then
14651 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14654 for as_dir
in $PATH
14657 test -z "$as_dir" && as_dir
=.
14658 for ac_exec_ext
in '' $ac_executable_extensions; do
14659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14660 ac_cv_prog_ac_ct_CC
="$ac_prog"
14661 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14670 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14671 if test -n "$ac_ct_CC"; then
14672 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14673 $as_echo "$ac_ct_CC" >&6; }
14675 { $as_echo "$as_me:$LINENO: result: no" >&5
14676 $as_echo "no" >&6; }
14680 test -n "$ac_ct_CC" && break
14683 if test "x$ac_ct_CC" = x
; then
14686 case $cross_compiling:$ac_tool_warned in
14688 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
14689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14690 ac_tool_warned
=yes ;;
14699 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14701 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14702 See \`config.log' for more details." >&5
14703 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
14704 See \`config.log' for more details." >&2;}
14705 { (exit 1); exit 1; }; }; }
14707 # Provide some information about the compiler.
14708 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
14711 { (ac_try
="$ac_compiler --version >&5"
14712 case "(($ac_try" in
14713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14714 *) ac_try_echo=$ac_try;;
14716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14717 $as_echo "$ac_try_echo") >&5
14718 (eval "$ac_compiler --version >&5") 2>&5
14720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); }
14722 { (ac_try="$ac_compiler -v >&5"
14723 case "(($ac_try" in
14724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14725 *) ac_try_echo
=$ac_try;;
14727 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14728 $as_echo "$ac_try_echo") >&5
14729 (eval "$ac_compiler -v >&5") 2>&5
14731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 (exit $ac_status); }
14733 { (ac_try
="$ac_compiler -V >&5"
14734 case "(($ac_try" in
14735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14736 *) ac_try_echo=$ac_try;;
14738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14739 $as_echo "$ac_try_echo") >&5
14740 (eval "$ac_compiler -V >&5") 2>&5
14742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); }
14745 cat >conftest.$ac_ext <<_ACEOF
14748 cat confdefs.h >>conftest.$ac_ext
14749 cat >>conftest.$ac_ext <<_ACEOF
14750 /* end confdefs.h. */
14760 ac_clean_files_save=$ac_clean_files
14761 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
14762 # Try to create an executable without -o first, disregard a.out.
14763 # It will help us diagnose broken compilers, and finding out an intuition
14765 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14766 $as_echo_n "checking for C compiler default output file name... " >&6; }
14767 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14769 # The possible output files:
14770 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
14773 for ac_file in $ac_files
14776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
14777 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14782 if { (ac_try="$ac_link_default"
14783 case "(($ac_try" in
14784 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14785 *) ac_try_echo
=$ac_try;;
14787 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14788 $as_echo "$ac_try_echo") >&5
14789 (eval "$ac_link_default") 2>&5
14791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); }; then
14793 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14794 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14795 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14796 # so that the user can short-circuit this test for compilers unknown to
14798 for ac_file
in $ac_files ''
14800 test -f "$ac_file" || continue
14802 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
14805 # We found the default executable, but exeext='' is most
14809 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14811 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14813 # We set ac_cv_exeext here because the later test for it is not
14814 # safe: cross compilers may not add the suffix if given an `-o'
14815 # argument, so we may need to know it at that point already.
14816 # Even if this section looks crufty: it has the advantage of
14817 # actually working.
14823 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14829 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
14830 $as_echo "$ac_file" >&6; }
14831 if test -z "$ac_file"; then
14832 $as_echo "$as_me: failed program was:" >&5
14833 sed 's/^/| /' conftest.
$ac_ext >&5
14835 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14837 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
14838 See \`config.log' for more details." >&5
14839 $as_echo "$as_me: error: C compiler cannot create executables
14840 See \`config.log' for more details." >&2;}
14841 { (exit 77); exit 77; }; }; }
14844 ac_exeext
=$ac_cv_exeext
14846 # Check that the compiler produces executables we can run. If not, either
14847 # the compiler is broken, or we cross compile.
14848 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14849 $as_echo_n "checking whether the C compiler works... " >&6; }
14850 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14851 # If not cross compiling, check that we can run a simple program.
14852 if test "$cross_compiling" != yes; then
14853 if { ac_try
='./$ac_file'
14854 { (case "(($ac_try" in
14855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14856 *) ac_try_echo=$ac_try;;
14858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14859 $as_echo "$ac_try_echo") >&5
14860 (eval "$ac_try") 2>&5
14862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14863 (exit $ac_status); }; }; then
14866 if test "$cross_compiling" = maybe; then
14867 cross_compiling=yes
14869 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14871 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
14872 If you meant to cross compile
, use \
`--host'.
14873 See \`config.log
' for more details." >&5
14874 $as_echo "$as_me: error: cannot run C compiled programs.
14875 If you meant to cross compile, use \`--host'.
14876 See \
`config.log' for more details." >&2;}
14877 { (exit 1); exit 1; }; }; }
14881 { $as_echo "$as_me:$LINENO: result: yes" >&5
14882 $as_echo "yes" >&6; }
14884 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
14885 ac_clean_files=$ac_clean_files_save
14886 # Check that the compiler produces executables we can run. If not, either
14887 # the compiler is broken, or we cross compile.
14888 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14889 $as_echo_n "checking whether we are cross compiling... " >&6; }
14890 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
14891 $as_echo "$cross_compiling" >&6; }
14893 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
14894 $as_echo_n "checking for suffix of executables... " >&6; }
14895 if { (ac_try="$ac_link"
14896 case "(($ac_try" in
14897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14898 *) ac_try_echo
=$ac_try;;
14900 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14901 $as_echo "$ac_try_echo") >&5
14902 (eval "$ac_link") 2>&5
14904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; then
14906 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14907 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14908 # work properly (i.e., refer to `conftest.exe'), while it won't with
14910 for ac_file
in conftest.exe conftest conftest.
*; do
14911 test -f "$ac_file" || continue
14913 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
14914 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14920 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14921 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14922 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14923 See \`config.log' for more details." >&5
14924 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14925 See \`config.log' for more details." >&2;}
14926 { (exit 1); exit 1; }; }; }
14929 rm -f conftest
$ac_cv_exeext
14930 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14931 $as_echo "$ac_cv_exeext" >&6; }
14933 rm -f conftest.
$ac_ext
14934 EXEEXT
=$ac_cv_exeext
14936 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
14937 $as_echo_n "checking for suffix of object files... " >&6; }
14938 if test "${ac_cv_objext+set}" = set; then
14939 $as_echo_n "(cached) " >&6
14941 cat >conftest.
$ac_ext <<_ACEOF
14944 cat confdefs.h
>>conftest.
$ac_ext
14945 cat >>conftest.
$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14956 rm -f conftest.o conftest.obj
14957 if { (ac_try
="$ac_compile"
14958 case "(($ac_try" in
14959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14960 *) ac_try_echo=$ac_try;;
14962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14963 $as_echo "$ac_try_echo") >&5
14964 (eval "$ac_compile") 2>&5
14966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967 (exit $ac_status); }; then
14968 for ac_file in conftest.o conftest.obj conftest.*; do
14969 test -f "$ac_file" || continue;
14971 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
14972 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14977 $as_echo "$as_me: failed program was:" >&5
14978 sed 's/^/| /' conftest.$ac_ext >&5
14980 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
14981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14982 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
14983 See \
`config.log' for more details." >&5
14984 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
14985 See \`config.log
' for more details." >&2;}
14986 { (exit 1); exit 1; }; }; }
14989 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14991 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14992 $as_echo "$ac_cv_objext" >&6; }
14993 OBJEXT=$ac_cv_objext
14995 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14996 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
14997 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14998 $as_echo_n "(cached) " >&6
15000 cat >conftest.$ac_ext <<_ACEOF
15003 cat confdefs.h >>conftest.$ac_ext
15004 cat >>conftest.$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15018 rm -f conftest.$ac_objext
15019 if { (ac_try="$ac_compile"
15020 case "(($ac_try" in
15021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15022 *) ac_try_echo=$ac_try;;
15024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15025 $as_echo "$ac_try_echo") >&5
15026 (eval "$ac_compile") 2>conftest.er1
15028 grep -v '^
*+' conftest.er1 >conftest.err
15030 cat conftest.err >&5
15031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest.$ac_objext; then
15036 ac_compiler_gnu=yes
15038 $as_echo "$as_me: failed program was:" >&5
15039 sed 's
/^
/| /' conftest.$ac_ext >&5
15044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15045 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15048 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15049 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
15050 if test $ac_compiler_gnu = yes; then
15055 ac_test_CFLAGS=${CFLAGS+set}
15056 ac_save_CFLAGS=$CFLAGS
15057 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15058 $as_echo_n "checking whether $CC accepts -g... " >&6; }
15059 if test "${ac_cv_prog_cc_g+set}" = set; then
15060 $as_echo_n "(cached) " >&6
15062 ac_save_c_werror_flag=$ac_c_werror_flag
15063 ac_c_werror_flag=yes
15066 cat >conftest.$ac_ext <<_ACEOF
15069 cat confdefs.h >>conftest.$ac_ext
15070 cat >>conftest.$ac_ext <<_ACEOF
15071 /* end confdefs.h. */
15081 rm -f conftest.$ac_objext
15082 if { (ac_try="$ac_compile"
15083 case "(($ac_try" in
15084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15085 *) ac_try_echo=$ac_try;;
15087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15088 $as_echo "$ac_try_echo") >&5
15089 (eval "$ac_compile") 2>conftest.er1
15091 grep -v '^
*+' conftest.er1 >conftest.err
15093 cat conftest.err >&5
15094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); } && {
15096 test -z "$ac_c_werror_flag" ||
15097 test ! -s conftest.err
15098 } && test -s conftest.$ac_objext; then
15099 ac_cv_prog_cc_g=yes
15101 $as_echo "$as_me: failed program was:" >&5
15102 sed 's
/^
/| /' conftest.$ac_ext >&5
15105 cat >conftest.$ac_ext <<_ACEOF
15108 cat confdefs.h >>conftest.$ac_ext
15109 cat >>conftest.$ac_ext <<_ACEOF
15110 /* end confdefs.h. */
15120 rm -f conftest.$ac_objext
15121 if { (ac_try="$ac_compile"
15122 case "(($ac_try" in
15123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15124 *) ac_try_echo=$ac_try;;
15126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15127 $as_echo "$ac_try_echo") >&5
15128 (eval "$ac_compile") 2>conftest.er1
15130 grep -v '^
*+' conftest.er1 >conftest.err
15132 cat conftest.err >&5
15133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); } && {
15135 test -z "$ac_c_werror_flag" ||
15136 test ! -s conftest.err
15137 } && test -s conftest.$ac_objext; then
15140 $as_echo "$as_me: failed program was:" >&5
15141 sed 's
/^
/| /' conftest.$ac_ext >&5
15143 ac_c_werror_flag=$ac_save_c_werror_flag
15145 cat >conftest.$ac_ext <<_ACEOF
15148 cat confdefs.h >>conftest.$ac_ext
15149 cat >>conftest.$ac_ext <<_ACEOF
15150 /* end confdefs.h. */
15160 rm -f conftest.$ac_objext
15161 if { (ac_try="$ac_compile"
15162 case "(($ac_try" in
15163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15164 *) ac_try_echo=$ac_try;;
15166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15167 $as_echo "$ac_try_echo") >&5
15168 (eval "$ac_compile") 2>conftest.er1
15170 grep -v '^
*+' conftest.er1 >conftest.err
15172 cat conftest.err >&5
15173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } && {
15175 test -z "$ac_c_werror_flag" ||
15176 test ! -s conftest.err
15177 } && test -s conftest.$ac_objext; then
15178 ac_cv_prog_cc_g=yes
15180 $as_echo "$as_me: failed program was:" >&5
15181 sed 's
/^
/| /' conftest.$ac_ext >&5
15186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15193 ac_c_werror_flag=$ac_save_c_werror_flag
15195 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15196 $as_echo "$ac_cv_prog_cc_g" >&6; }
15197 if test "$ac_test_CFLAGS" = set; then
15198 CFLAGS=$ac_save_CFLAGS
15199 elif test $ac_cv_prog_cc_g = yes; then
15200 if test "$GCC" = yes; then
15206 if test "$GCC" = yes; then
15212 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15213 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
15214 if test "${ac_cv_prog_cc_c89+set}" = set; then
15215 $as_echo_n "(cached) " >&6
15217 ac_cv_prog_cc_c89=no
15219 cat >conftest.$ac_ext <<_ACEOF
15222 cat confdefs.h >>conftest.$ac_ext
15223 cat >>conftest.$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15225 #include <stdarg.h>
15227 #include <sys/types.h>
15228 #include <sys/stat.h>
15229 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
15230 struct buf
{ int x
; };
15231 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
15232 static char
*e
(p
, i
)
15238 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
15243 s
= g
(p
, va_arg
(v
,int
));
15248 /* OSF
4.0 Compaq cc is some
sort of almost
-ANSI by default. It has
15249 function prototypes and stuff
, but not
'\xHH' hex character constants.
15250 These don
't provoke an error unfortunately, instead are silently treated
15251 as 'x
'. The following induces an error, until -std is added to get
15252 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
15253 array size at least. It's necessary to
write '\x00'==0 to get something
15254 that
's true only with -std. */
15255 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15257 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15258 inside strings and character constants. */
15260 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
15262 int test (int i, double x);
15263 struct s1 {int (*f) (int a);};
15264 struct s2 {int (*f) (double a);};
15265 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15271 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15276 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15277 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15279 CC="$ac_save_CC $ac_arg"
15280 rm -f conftest.$ac_objext
15281 if { (ac_try="$ac_compile"
15282 case "(($ac_try" in
15283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15284 *) ac_try_echo=$ac_try;;
15286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15287 $as_echo "$ac_try_echo") >&5
15288 (eval "$ac_compile") 2>conftest.er1
15290 grep -v '^
*+' conftest.er1 >conftest.err
15292 cat conftest.err >&5
15293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); } && {
15295 test -z "$ac_c_werror_flag" ||
15296 test ! -s conftest.err
15297 } && test -s conftest.$ac_objext; then
15298 ac_cv_prog_cc_c89=$ac_arg
15300 $as_echo "$as_me: failed program was:" >&5
15301 sed 's
/^
/| /' conftest.$ac_ext >&5
15306 rm -f core conftest.err conftest.$ac_objext
15307 test "x$ac_cv_prog_cc_c89" != "xno" && break
15309 rm -f conftest.$ac_ext
15314 case "x$ac_cv_prog_cc_c89" in
15316 { $as_echo "$as_me:$LINENO: result: none needed" >&5
15317 $as_echo "none needed" >&6; } ;;
15319 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
15320 $as_echo "unsupported" >&6; } ;;
15322 CC="$CC $ac_cv_prog_cc_c89"
15323 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15324 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
15329 ac_cpp='$CPP $CPPFLAGS'
15330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15331 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15338 ac_cpp='$CPP $CPPFLAGS'
15339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15340 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15343 { $as_echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15344 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
15345 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15346 $as_echo_n "(cached) " >&6
15348 cat >conftest.$ac_ext <<_ACEOF
15351 cat confdefs.h >>conftest.$ac_ext
15352 cat >>conftest.$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15359 #ifndef __INTEL_COMPILER
15367 rm -f conftest.$ac_objext
15368 if { (ac_try="$ac_compile"
15369 case "(($ac_try" in
15370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15371 *) ac_try_echo=$ac_try;;
15373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15374 $as_echo "$ac_try_echo") >&5
15375 (eval "$ac_compile") 2>conftest.er1
15377 grep -v '^
*+' conftest.er1 >conftest.err
15379 cat conftest.err >&5
15380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381 (exit $ac_status); } && {
15382 test -z "$ac_c_werror_flag" ||
15383 test ! -s conftest.err
15384 } && test -s conftest.$ac_objext; then
15385 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15387 $as_echo "$as_me: failed program was:" >&5
15388 sed 's
/^
/| /' conftest.$ac_ext >&5
15390 bakefile_cv_c_compiler___INTEL_COMPILER=no
15394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15398 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15399 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15400 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15406 ac_cpp='$CPP $CPPFLAGS'
15407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15408 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15414 if test "$INTELCC" = "yes"; then
15418 ac_cpp='$CPP $CPPFLAGS'
15419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15420 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15423 { $as_echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15424 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
15425 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15426 $as_echo_n "(cached) " >&6
15428 cat >conftest.$ac_ext <<_ACEOF
15431 cat confdefs.h >>conftest.$ac_ext
15432 cat >>conftest.$ac_ext <<_ACEOF
15433 /* end confdefs.h. */
15439 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15447 rm -f conftest.$ac_objext
15448 if { (ac_try="$ac_compile"
15449 case "(($ac_try" in
15450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15451 *) ac_try_echo=$ac_try;;
15453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15454 $as_echo "$ac_try_echo") >&5
15455 (eval "$ac_compile") 2>conftest.er1
15457 grep -v '^
*+' conftest.er1 >conftest.err
15459 cat conftest.err >&5
15460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } && {
15462 test -z "$ac_c_werror_flag" ||
15463 test ! -s conftest.err
15464 } && test -s conftest.$ac_objext; then
15465 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15467 $as_echo "$as_me: failed program was:" >&5
15468 sed 's
/^
/| /' conftest.$ac_ext >&5
15470 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15478 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15479 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15480 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15486 ac_cpp='$CPP $CPPFLAGS'
15487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15488 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15496 ac_cpp='$CPP $CPPFLAGS'
15497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15498 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15501 { $as_echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15502 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
15503 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15504 $as_echo_n "(cached) " >&6
15506 cat >conftest.$ac_ext <<_ACEOF
15509 cat confdefs.h >>conftest.$ac_ext
15510 cat >>conftest.$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15517 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15525 rm -f conftest.$ac_objext
15526 if { (ac_try="$ac_compile"
15527 case "(($ac_try" in
15528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15529 *) ac_try_echo=$ac_try;;
15531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15532 $as_echo "$ac_try_echo") >&5
15533 (eval "$ac_compile") 2>conftest.er1
15535 grep -v '^
*+' conftest.er1 >conftest.err
15537 cat conftest.err >&5
15538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); } && {
15540 test -z "$ac_c_werror_flag" ||
15541 test ! -s conftest.err
15542 } && test -s conftest.$ac_objext; then
15543 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15545 $as_echo "$as_me: failed program was:" >&5
15546 sed 's
/^
/| /' conftest.$ac_ext >&5
15548 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15556 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15557 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15558 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15564 ac_cpp='$CPP $CPPFLAGS'
15565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15566 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15573 if test "x$GCC" != "xyes"; then
15574 if test "xCC" = "xC"; then
15575 { $as_echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15576 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
15577 if test "${bakefile_cv_c_exto+set}" = set; then
15578 $as_echo_n "(cached) " >&6
15580 cat >conftest.$ac_ext <<_ACEOF
15583 cat confdefs.h >>conftest.$ac_ext
15584 cat >>conftest.$ac_ext <<_ACEOF
15585 /* end confdefs.h. */
15595 rm -f conftest.$ac_objext conftest.$ac_ext.o
15596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15597 (eval $ac_compile) 2>&5
15599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); }; then
15601 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15603 conftest.$ac_ext.o)
15604 bakefile_cv_c_exto="-ext o"
15611 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15612 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
15613 { { $as_echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15614 See \`config.log
' for more details." >&5
15615 $as_echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15616 See \`config.log' for more details.
" >&2;}
15617 { (exit 1); exit 1; }; }; }
15621 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15624 { $as_echo "$as_me:$LINENO: result
: $bakefile_cv_c_exto" >&5
15625 $as_echo "$bakefile_cv_c_exto" >&6; }
15626 if test "x
$bakefile_cv_c_exto" '!=' "x
"; then
15627 if test "c
" = "c
"; then
15628 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15630 if test "c
" = "cxx
"; then
15631 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15635 if test "x
$bakefile_cv_c_exto" '!=' "x
"; then
15636 unset ac_cv_prog_cc_g
15637 ac_test_CFLAGS=${CFLAGS+set}
15638 ac_save_CFLAGS=$CFLAGS
15639 { $as_echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15640 $as_echo_n "checking whether
$CC accepts
-g...
" >&6; }
15641 if test "${ac_cv_prog_cc_g+set}" = set; then
15642 $as_echo_n "(cached
) " >&6
15644 ac_save_c_werror_flag=$ac_c_werror_flag
15645 ac_c_werror_flag=yes
15648 cat >conftest.$ac_ext <<_ACEOF
15651 cat confdefs.h >>conftest.$ac_ext
15652 cat >>conftest.$ac_ext <<_ACEOF
15653 /* end confdefs.h. */
15663 rm -f conftest.$ac_objext
15664 if { (ac_try="$ac_compile"
15665 case "(($ac_try" in
15666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15667 *) ac_try_echo=$ac_try;;
15669 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15670 $as_echo "$ac_try_echo") >&5
15671 (eval "$ac_compile") 2>conftest.er1
15673 grep -v '^ *+' conftest.er1 >conftest.err
15675 cat conftest.err >&5
15676 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15677 (exit $ac_status); } && {
15678 test -z "$ac_c_werror_flag" ||
15679 test ! -s conftest.err
15680 } && test -s conftest.$ac_objext; then
15681 ac_cv_prog_cc_g=yes
15683 $as_echo "$as_me: failed program was
:" >&5
15684 sed 's/^/| /' conftest.$ac_ext >&5
15687 cat >conftest.$ac_ext <<_ACEOF
15690 cat confdefs.h >>conftest.$ac_ext
15691 cat >>conftest.$ac_ext <<_ACEOF
15692 /* end confdefs.h. */
15702 rm -f conftest.$ac_objext
15703 if { (ac_try="$ac_compile"
15704 case "(($ac_try" in
15705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15706 *) ac_try_echo=$ac_try;;
15708 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15709 $as_echo "$ac_try_echo") >&5
15710 (eval "$ac_compile") 2>conftest.er1
15712 grep -v '^ *+' conftest.er1 >conftest.err
15714 cat conftest.err >&5
15715 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15716 (exit $ac_status); } && {
15717 test -z "$ac_c_werror_flag" ||
15718 test ! -s conftest.err
15719 } && test -s conftest.$ac_objext; then
15722 $as_echo "$as_me: failed program was
:" >&5
15723 sed 's/^/| /' conftest.$ac_ext >&5
15725 ac_c_werror_flag=$ac_save_c_werror_flag
15727 cat >conftest.$ac_ext <<_ACEOF
15730 cat confdefs.h >>conftest.$ac_ext
15731 cat >>conftest.$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15742 rm -f conftest.$ac_objext
15743 if { (ac_try="$ac_compile"
15744 case "(($ac_try" in
15745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15746 *) ac_try_echo=$ac_try;;
15748 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15749 $as_echo "$ac_try_echo") >&5
15750 (eval "$ac_compile") 2>conftest.er1
15752 grep -v '^ *+' conftest.er1 >conftest.err
15754 cat conftest.err >&5
15755 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15756 (exit $ac_status); } && {
15757 test -z "$ac_c_werror_flag" ||
15758 test ! -s conftest.err
15759 } && test -s conftest.$ac_objext; then
15760 ac_cv_prog_cc_g=yes
15762 $as_echo "$as_me: failed program was
:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15775 ac_c_werror_flag=$ac_save_c_werror_flag
15777 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15778 $as_echo "$ac_cv_prog_cc_g" >&6; }
15779 if test "$ac_test_CFLAGS" = set; then
15780 CFLAGS=$ac_save_CFLAGS
15781 elif test $ac_cv_prog_cc_g = yes; then
15782 if test "$GCC" = yes; then
15788 if test "$GCC" = yes; then
15802 ac_cpp='$CPP $CPPFLAGS'
15803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15807 { $as_echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler
" >&5
15808 $as_echo_n "checking whether we are using the IBM xlC C compiler...
" >&6; }
15809 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15810 $as_echo_n "(cached
) " >&6
15812 cat >conftest.$ac_ext <<_ACEOF
15815 cat confdefs.h >>conftest.$ac_ext
15816 cat >>conftest.$ac_ext <<_ACEOF
15817 /* end confdefs.h. */
15831 rm -f conftest.$ac_objext
15832 if { (ac_try="$ac_compile"
15833 case "(($ac_try" in
15834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15835 *) ac_try_echo=$ac_try;;
15837 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15838 $as_echo "$ac_try_echo") >&5
15839 (eval "$ac_compile") 2>conftest.er1
15841 grep -v '^ *+' conftest.er1 >conftest.err
15843 cat conftest.err >&5
15844 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15845 (exit $ac_status); } && {
15846 test -z "$ac_c_werror_flag" ||
15847 test ! -s conftest.err
15848 } && test -s conftest.$ac_objext; then
15849 bakefile_cv_c_compiler___xlC__=yes
15851 $as_echo "$as_me: failed program was
:" >&5
15852 sed 's/^/| /' conftest.$ac_ext >&5
15854 bakefile_cv_c_compiler___xlC__=no
15858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15862 { $as_echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___xlC__" >&5
15863 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
15864 if test "x
$bakefile_cv_c_compiler___xlC__" = "xyes
"; then
15870 ac_cpp='$CPP $CPPFLAGS'
15871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15883 ac_cpp='$CPP $CPPFLAGS'
15884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15888 { $as_echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler
" >&5
15889 $as_echo_n "checking whether we are using the Metrowerks C compiler...
" >&6; }
15890 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15891 $as_echo_n "(cached
) " >&6
15893 cat >conftest.$ac_ext <<_ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15912 rm -f conftest.$ac_objext
15913 if { (ac_try="$ac_compile"
15914 case "(($ac_try" in
15915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15916 *) ac_try_echo=$ac_try;;
15918 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15919 $as_echo "$ac_try_echo") >&5
15920 (eval "$ac_compile") 2>conftest.er1
15922 grep -v '^ *+' conftest.er1 >conftest.err
15924 cat conftest.err >&5
15925 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15926 (exit $ac_status); } && {
15927 test -z "$ac_c_werror_flag" ||
15928 test ! -s conftest.err
15929 } && test -s conftest.$ac_objext; then
15930 bakefile_cv_c_compiler___MWERKS__=yes
15932 $as_echo "$as_me: failed program was
:" >&5
15933 sed 's/^/| /' conftest.$ac_ext >&5
15935 bakefile_cv_c_compiler___MWERKS__=no
15939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15943 { $as_echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___MWERKS__" >&5
15944 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
15945 if test "x
$bakefile_cv_c_compiler___MWERKS__" = "xyes
"; then
15951 ac_cpp='$CPP $CPPFLAGS'
15952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15958 if test "$MWCC" != "yes"; then
15962 ac_cpp='$CPP $CPPFLAGS'
15963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15967 { $as_echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler
" >&5
15968 $as_echo_n "checking whether we are using the IBM xlC C compiler...
" >&6; }
15969 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15970 $as_echo_n "(cached
) " >&6
15972 cat >conftest.$ac_ext <<_ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15991 rm -f conftest.$ac_objext
15992 if { (ac_try="$ac_compile"
15993 case "(($ac_try" in
15994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15995 *) ac_try_echo=$ac_try;;
15997 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
15998 $as_echo "$ac_try_echo") >&5
15999 (eval "$ac_compile") 2>conftest.er1
16001 grep -v '^ *+' conftest.er1 >conftest.err
16003 cat conftest.err >&5
16004 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16005 (exit $ac_status); } && {
16006 test -z "$ac_c_werror_flag" ||
16007 test ! -s conftest.err
16008 } && test -s conftest.$ac_objext; then
16009 bakefile_cv_c_compiler___xlC__=yes
16011 $as_echo "$as_me: failed program was
:" >&5
16012 sed 's/^/| /' conftest.$ac_ext >&5
16014 bakefile_cv_c_compiler___xlC__=no
16018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16022 { $as_echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___xlC__" >&5
16023 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
16024 if test "x
$bakefile_cv_c_compiler___xlC__" = "xyes
"; then
16030 ac_cpp='$CPP $CPPFLAGS'
16031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16044 ac_cpp='$CPP $CPPFLAGS'
16045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16049 { $as_echo "$as_me:$LINENO: checking whether we are using the SGI C compiler
" >&5
16050 $as_echo_n "checking whether we are using the SGI C compiler...
" >&6; }
16051 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16052 $as_echo_n "(cached
) " >&6
16054 cat >conftest.$ac_ext <<_ACEOF
16057 cat confdefs.h >>conftest.$ac_ext
16058 cat >>conftest.$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16065 #ifndef _SGI_COMPILER_VERSION
16073 rm -f conftest.$ac_objext
16074 if { (ac_try="$ac_compile"
16075 case "(($ac_try" in
16076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16077 *) ac_try_echo=$ac_try;;
16079 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16080 $as_echo "$ac_try_echo") >&5
16081 (eval "$ac_compile") 2>conftest.er1
16083 grep -v '^ *+' conftest.er1 >conftest.err
16085 cat conftest.err >&5
16086 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16087 (exit $ac_status); } && {
16088 test -z "$ac_c_werror_flag" ||
16089 test ! -s conftest.err
16090 } && test -s conftest.$ac_objext; then
16091 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16093 $as_echo "$as_me: failed program was
:" >&5
16094 sed 's/^/| /' conftest.$ac_ext >&5
16096 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16104 { $as_echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16105 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16106 if test "x
$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes
"; then
16112 ac_cpp='$CPP $CPPFLAGS'
16113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16122 if test "$INTELCC" != "yes"; then
16126 ac_cpp='$CPP $CPPFLAGS'
16127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16131 { $as_echo "$as_me:$LINENO: checking whether we are using the Sun C compiler
" >&5
16132 $as_echo_n "checking whether we are using the Sun C compiler...
" >&6; }
16133 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16134 $as_echo_n "(cached
) " >&6
16136 cat >conftest.$ac_ext <<_ACEOF
16139 cat confdefs.h >>conftest.$ac_ext
16140 cat >>conftest.$ac_ext <<_ACEOF
16141 /* end confdefs.h. */
16155 rm -f conftest.$ac_objext
16156 if { (ac_try="$ac_compile"
16157 case "(($ac_try" in
16158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16159 *) ac_try_echo=$ac_try;;
16161 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16162 $as_echo "$ac_try_echo") >&5
16163 (eval "$ac_compile") 2>conftest.er1
16165 grep -v '^ *+' conftest.er1 >conftest.err
16167 cat conftest.err >&5
16168 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16169 (exit $ac_status); } && {
16170 test -z "$ac_c_werror_flag" ||
16171 test ! -s conftest.err
16172 } && test -s conftest.$ac_objext; then
16173 bakefile_cv_c_compiler___SUNPRO_C=yes
16175 $as_echo "$as_me: failed program was
:" >&5
16176 sed 's/^/| /' conftest.$ac_ext >&5
16178 bakefile_cv_c_compiler___SUNPRO_C=no
16182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16186 { $as_echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16187 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16188 if test "x
$bakefile_cv_c_compiler___SUNPRO_C" = "xyes
"; then
16194 ac_cpp='$CPP $CPPFLAGS'
16195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16208 ac_cpp='$CPP $CPPFLAGS'
16209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16213 { $as_echo "$as_me:$LINENO: checking whether we are using the HP C compiler
" >&5
16214 $as_echo_n "checking whether we are using the HP C compiler...
" >&6; }
16215 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16216 $as_echo_n "(cached
) " >&6
16218 cat >conftest.$ac_ext <<_ACEOF
16221 cat confdefs.h >>conftest.$ac_ext
16222 cat >>conftest.$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16237 rm -f conftest.$ac_objext
16238 if { (ac_try="$ac_compile"
16239 case "(($ac_try" in
16240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16241 *) ac_try_echo=$ac_try;;
16243 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16244 $as_echo "$ac_try_echo") >&5
16245 (eval "$ac_compile") 2>conftest.er1
16247 grep -v '^ *+' conftest.er1 >conftest.err
16249 cat conftest.err >&5
16250 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16251 (exit $ac_status); } && {
16252 test -z "$ac_c_werror_flag" ||
16253 test ! -s conftest.err
16254 } && test -s conftest.$ac_objext; then
16255 bakefile_cv_c_compiler___HP_cc=yes
16257 $as_echo "$as_me: failed program was
:" >&5
16258 sed 's/^/| /' conftest.$ac_ext >&5
16260 bakefile_cv_c_compiler___HP_cc=no
16264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16268 { $as_echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___HP_cc" >&5
16269 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
16270 if test "x
$bakefile_cv_c_compiler___HP_cc" = "xyes
"; then
16276 ac_cpp='$CPP $CPPFLAGS'
16277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16289 ac_cpp='$CPP $CPPFLAGS'
16290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16294 { $as_echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler
" >&5
16295 $as_echo_n "checking whether we are using the Compaq C compiler...
" >&6; }
16296 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16297 $as_echo_n "(cached
) " >&6
16299 cat >conftest.$ac_ext <<_ACEOF
16302 cat confdefs.h >>conftest.$ac_ext
16303 cat >>conftest.$ac_ext <<_ACEOF
16304 /* end confdefs.h. */
16318 rm -f conftest.$ac_objext
16319 if { (ac_try="$ac_compile"
16320 case "(($ac_try" in
16321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16322 *) ac_try_echo=$ac_try;;
16324 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16325 $as_echo "$ac_try_echo") >&5
16326 (eval "$ac_compile") 2>conftest.er1
16328 grep -v '^ *+' conftest.er1 >conftest.err
16330 cat conftest.err >&5
16331 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16332 (exit $ac_status); } && {
16333 test -z "$ac_c_werror_flag" ||
16334 test ! -s conftest.err
16335 } && test -s conftest.$ac_objext; then
16336 bakefile_cv_c_compiler___DECC=yes
16338 $as_echo "$as_me: failed program was
:" >&5
16339 sed 's/^/| /' conftest.$ac_ext >&5
16341 bakefile_cv_c_compiler___DECC=no
16345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16349 { $as_echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___DECC" >&5
16350 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
16351 if test "x
$bakefile_cv_c_compiler___DECC" = "xyes
"; then
16357 ac_cpp='$CPP $CPPFLAGS'
16358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16370 ac_cpp='$CPP $CPPFLAGS'
16371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16375 { $as_echo "$as_me:$LINENO: checking whether we are using the Sun C compiler
" >&5
16376 $as_echo_n "checking whether we are using the Sun C compiler...
" >&6; }
16377 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16378 $as_echo_n "(cached
) " >&6
16380 cat >conftest.$ac_ext <<_ACEOF
16383 cat confdefs.h >>conftest.$ac_ext
16384 cat >>conftest.$ac_ext <<_ACEOF
16385 /* end confdefs.h. */
16399 rm -f conftest.$ac_objext
16400 if { (ac_try="$ac_compile"
16401 case "(($ac_try" in
16402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16403 *) ac_try_echo=$ac_try;;
16405 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16406 $as_echo "$ac_try_echo") >&5
16407 (eval "$ac_compile") 2>conftest.er1
16409 grep -v '^ *+' conftest.er1 >conftest.err
16411 cat conftest.err >&5
16412 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16413 (exit $ac_status); } && {
16414 test -z "$ac_c_werror_flag" ||
16415 test ! -s conftest.err
16416 } && test -s conftest.$ac_objext; then
16417 bakefile_cv_c_compiler___SUNPRO_C=yes
16419 $as_echo "$as_me: failed program was
:" >&5
16420 sed 's/^/| /' conftest.$ac_ext >&5
16422 bakefile_cv_c_compiler___SUNPRO_C=no
16426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16430 { $as_echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16431 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16432 if test "x
$bakefile_cv_c_compiler___SUNPRO_C" = "xyes
"; then
16438 ac_cpp='$CPP $CPPFLAGS'
16439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16452 ac_cpp='$CPP $CPPFLAGS'
16453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16456 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
16457 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
16458 # On Suns, sometimes $CPP names a directory.
16459 if test -n "$CPP" && test -d "$CPP"; then
16462 if test -z "$CPP"; then
16463 if test "${ac_cv_prog_CPP+set}" = set; then
16464 $as_echo_n "(cached
) " >&6
16466 # Double quotes because CPP needs to be expanded
16467 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
16469 ac_preproc_ok=false
16470 for ac_c_preproc_warn_flag in '' yes
16472 # Use a header file that comes with gcc, so configuring glibc
16473 # with a fresh cross-compiler works.
16474 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16475 # <limits.h> exists even on freestanding compilers.
16476 # On the NeXT, cc -E runs the code through the compiler's parser,
16477 # not just through cpp. "Syntax error
" is here to catch this case.
16478 cat >conftest.$ac_ext <<_ACEOF
16481 cat confdefs.h >>conftest.$ac_ext
16482 cat >>conftest.$ac_ext <<_ACEOF
16483 /* end confdefs.h. */
16485 # include <limits.h>
16487 # include <assert.h>
16491 if { (ac_try="$ac_cpp conftest.
$ac_ext"
16492 case "(($ac_try" in
16493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16494 *) ac_try_echo=$ac_try;;
16496 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16497 $as_echo "$ac_try_echo") >&5
16498 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
16500 grep -v '^ *+' conftest.er1 >conftest.err
16502 cat conftest.err >&5
16503 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16504 (exit $ac_status); } >/dev/null && {
16505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16506 test ! -s conftest.err
16510 $as_echo "$as_me: failed program was
:" >&5
16511 sed 's/^/| /' conftest.$ac_ext >&5
16513 # Broken: fails on valid input.
16517 rm -f conftest.err conftest.$ac_ext
16519 # OK, works on sane cases. Now check whether nonexistent headers
16520 # can be detected and how.
16521 cat >conftest.$ac_ext <<_ACEOF
16524 cat confdefs.h >>conftest.$ac_ext
16525 cat >>conftest.$ac_ext <<_ACEOF
16526 /* end confdefs.h. */
16527 #include <ac_nonexistent.h>
16529 if { (ac_try="$ac_cpp conftest.
$ac_ext"
16530 case "(($ac_try" in
16531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16532 *) ac_try_echo=$ac_try;;
16534 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16535 $as_echo "$ac_try_echo") >&5
16536 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
16538 grep -v '^ *+' conftest.er1 >conftest.err
16540 cat conftest.err >&5
16541 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16542 (exit $ac_status); } >/dev/null && {
16543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16544 test ! -s conftest.err
16546 # Broken: success on invalid input.
16549 $as_echo "$as_me: failed program was
:" >&5
16550 sed 's/^/| /' conftest.$ac_ext >&5
16552 # Passes both tests.
16557 rm -f conftest.err conftest.$ac_ext
16560 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16561 rm -f conftest.err conftest.$ac_ext
16562 if $ac_preproc_ok; then
16567 ac_cv_prog_CPP=$CPP
16570 CPP=$ac_cv_prog_CPP
16572 ac_cv_prog_CPP=$CPP
16574 { $as_echo "$as_me:$LINENO: result
: $CPP" >&5
16575 $as_echo "$CPP" >&6; }
16576 ac_preproc_ok=false
16577 for ac_c_preproc_warn_flag in '' yes
16579 # Use a header file that comes with gcc, so configuring glibc
16580 # with a fresh cross-compiler works.
16581 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16582 # <limits.h> exists even on freestanding compilers.
16583 # On the NeXT, cc -E runs the code through the compiler's parser,
16584 # not just through cpp. "Syntax error
" is here to catch this case.
16585 cat >conftest.$ac_ext <<_ACEOF
16588 cat confdefs.h >>conftest.$ac_ext
16589 cat >>conftest.$ac_ext <<_ACEOF
16590 /* end confdefs.h. */
16592 # include <limits.h>
16594 # include <assert.h>
16598 if { (ac_try="$ac_cpp conftest.
$ac_ext"
16599 case "(($ac_try" in
16600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16601 *) ac_try_echo=$ac_try;;
16603 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16604 $as_echo "$ac_try_echo") >&5
16605 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
16607 grep -v '^ *+' conftest.er1 >conftest.err
16609 cat conftest.err >&5
16610 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16611 (exit $ac_status); } >/dev/null && {
16612 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16613 test ! -s conftest.err
16617 $as_echo "$as_me: failed program was
:" >&5
16618 sed 's/^/| /' conftest.$ac_ext >&5
16620 # Broken: fails on valid input.
16624 rm -f conftest.err conftest.$ac_ext
16626 # OK, works on sane cases. Now check whether nonexistent headers
16627 # can be detected and how.
16628 cat >conftest.$ac_ext <<_ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 #include <ac_nonexistent.h>
16636 if { (ac_try="$ac_cpp conftest.
$ac_ext"
16637 case "(($ac_try" in
16638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16639 *) ac_try_echo=$ac_try;;
16641 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
16642 $as_echo "$ac_try_echo") >&5
16643 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
16645 grep -v '^ *+' conftest.er1 >conftest.err
16647 cat conftest.err >&5
16648 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16649 (exit $ac_status); } >/dev/null && {
16650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16651 test ! -s conftest.err
16653 # Broken: success on invalid input.
16656 $as_echo "$as_me: failed program was
:" >&5
16657 sed 's/^/| /' conftest.$ac_ext >&5
16659 # Passes both tests.
16664 rm -f conftest.err conftest.$ac_ext
16667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16668 rm -f conftest.err conftest.$ac_ext
16669 if $ac_preproc_ok; then
16672 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
16673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16674 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16675 See \`config.log' for more details.
" >&5
16676 $as_echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
16677 See \
`config.log' for more details." >&2;}
16678 { (exit 1); exit 1; }; }; }
16682 ac_cpp='$CPP $CPPFLAGS'
16683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16688 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16689 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
16690 if test "${ac_cv_path_GREP+set}" = set; then
16691 $as_echo_n "(cached) " >&6
16693 if test -z "$GREP"; then
16694 ac_path_GREP_found=false
16695 # Loop through the user's path and test for each of PROGNAME-LIST
16696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16697 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16700 test -z "$as_dir" && as_dir=.
16701 for ac_prog in grep ggrep; do
16702 for ac_exec_ext in '' $ac_executable_extensions; do
16703 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16704 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16705 # Check for GNU ac_path_GREP and select it if it is found.
16706 # Check for GNU $ac_path_GREP
16707 case `"$ac_path_GREP" --version 2>&1` in
16709 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16712 $as_echo_n 0123456789 >"conftest.in"
16715 cat "conftest.in" "conftest.in" >"conftest.tmp"
16716 mv "conftest.tmp" "conftest.in"
16717 cp "conftest.in" "conftest.nl"
16718 $as_echo 'GREP' >> "conftest.nl"
16719 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16720 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16721 ac_count=`expr $ac_count + 1`
16722 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16723 # Best one so far, save it but keep looking for a better one
16724 ac_cv_path_GREP="$ac_path_GREP"
16725 ac_path_GREP_max=$ac_count
16727 # 10*(2^10) chars as input seems more than enough
16728 test $ac_count -gt 10 && break
16730 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16733 $ac_path_GREP_found && break 3
16738 if test -z "$ac_cv_path_GREP"; then
16739 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16740 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16741 { (exit 1); exit 1; }; }
16744 ac_cv_path_GREP=$GREP
16748 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16749 $as_echo "$ac_cv_path_GREP" >&6; }
16750 GREP="$ac_cv_path_GREP"
16753 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
16754 $as_echo_n "checking for egrep... " >&6; }
16755 if test "${ac_cv_path_EGREP+set}" = set; then
16756 $as_echo_n "(cached) " >&6
16758 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16759 then ac_cv_path_EGREP="$GREP -E"
16761 if test -z "$EGREP"; then
16762 ac_path_EGREP_found=false
16763 # Loop through the user's path and test for each of PROGNAME-LIST
16764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16765 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16768 test -z "$as_dir" && as_dir=.
16769 for ac_prog in egrep; do
16770 for ac_exec_ext in '' $ac_executable_extensions; do
16771 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16772 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16773 # Check for GNU ac_path_EGREP and select it if it is found.
16774 # Check for GNU $ac_path_EGREP
16775 case `"$ac_path_EGREP" --version 2>&1` in
16777 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16780 $as_echo_n 0123456789 >"conftest.in"
16783 cat "conftest.in" "conftest.in" >"conftest.tmp"
16784 mv "conftest.tmp" "conftest.in"
16785 cp "conftest.in" "conftest.nl"
16786 $as_echo 'EGREP' >> "conftest.nl"
16787 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16788 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16789 ac_count=`expr $ac_count + 1`
16790 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16791 # Best one so far, save it but keep looking for a better one
16792 ac_cv_path_EGREP="$ac_path_EGREP"
16793 ac_path_EGREP_max=$ac_count
16795 # 10*(2^10) chars as input seems more than enough
16796 test $ac_count -gt 10 && break
16798 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16801 $ac_path_EGREP_found && break 3
16806 if test -z "$ac_cv_path_EGREP"; then
16807 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16808 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16809 { (exit 1); exit 1; }; }
16812 ac_cv_path_EGREP=$EGREP
16817 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16818 $as_echo "$ac_cv_path_EGREP" >&6; }
16819 EGREP="$ac_cv_path_EGREP"
16822 if test $ac_cv_c_compiler_gnu = yes; then
16823 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16824 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
16825 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16826 $as_echo_n "(cached) " >&6
16828 ac_pattern="Autoconf.*'x'"
16829 cat >conftest.$ac_ext <<_ACEOF
16832 cat confdefs.h >>conftest.$ac_ext
16833 cat >>conftest.$ac_ext <<_ACEOF
16834 /* end confdefs.h. */
16838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16839 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16840 ac_cv_prog_gcc_traditional=yes
16842 ac_cv_prog_gcc_traditional=no
16847 if test $ac_cv_prog_gcc_traditional = no; then
16848 cat >conftest.$ac_ext <<_ACEOF
16851 cat confdefs.h >>conftest.$ac_ext
16852 cat >>conftest.$ac_ext <<_ACEOF
16853 /* end confdefs.h. */
16854 #include <termio.h>
16857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16858 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16859 ac_cv_prog_gcc_traditional=yes
16865 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16866 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
16867 if test $ac_cv_prog_gcc_traditional = yes; then
16868 CC="$CC -traditional"
16873 CXXFLAGS=${CXXFLAGS:=}
16878 ac_cpp='$CXXCPP $CPPFLAGS'
16879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16882 if test -z "$CXX"; then
16883 if test -n "$CCC"; then
16886 if test -n "$ac_tool_prefix"; then
16887 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16889 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16890 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16891 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16892 $as_echo_n "checking for $ac_word... " >&6; }
16893 if test "${ac_cv_prog_CXX+set}" = set; then
16894 $as_echo_n "(cached) " >&6
16896 if test -n "$CXX"; then
16897 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16900 for as_dir in $PATH
16903 test -z "$as_dir" && as_dir=.
16904 for ac_exec_ext in '' $ac_executable_extensions; do
16905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16906 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16907 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16916 CXX=$ac_cv_prog_CXX
16917 if test -n "$CXX"; then
16918 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
16919 $as_echo "$CXX" >&6; }
16921 { $as_echo "$as_me:$LINENO: result: no" >&5
16922 $as_echo "no" >&6; }
16926 test -n "$CXX" && break
16929 if test -z "$CXX"; then
16931 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16933 # Extract the first word of "$ac_prog", so it can be a program name with args.
16934 set dummy $ac_prog; ac_word=$2
16935 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16936 $as_echo_n "checking for $ac_word... " >&6; }
16937 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16938 $as_echo_n "(cached) " >&6
16940 if test -n "$ac_ct_CXX"; then
16941 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16944 for as_dir in $PATH
16947 test -z "$as_dir" && as_dir=.
16948 for ac_exec_ext in '' $ac_executable_extensions; do
16949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16950 ac_cv_prog_ac_ct_CXX="$ac_prog"
16951 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16960 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16961 if test -n "$ac_ct_CXX"; then
16962 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16963 $as_echo "$ac_ct_CXX" >&6; }
16965 { $as_echo "$as_me:$LINENO: result: no" >&5
16966 $as_echo "no" >&6; }
16970 test -n "$ac_ct_CXX" && break
16973 if test "x$ac_ct_CXX" = x; then
16976 case $cross_compiling:$ac_tool_warned in
16978 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
16979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16980 ac_tool_warned=yes ;;
16988 # Provide some information about the compiler.
16989 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16992 { (ac_try="$ac_compiler --version >&5"
16993 case "(($ac_try" in
16994 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16995 *) ac_try_echo
=$ac_try;;
16997 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16998 $as_echo "$ac_try_echo") >&5
16999 (eval "$ac_compiler --version >&5") 2>&5
17001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }
17003 { (ac_try
="$ac_compiler -v >&5"
17004 case "(($ac_try" in
17005 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17006 *) ac_try_echo=$ac_try;;
17008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17009 $as_echo "$ac_try_echo") >&5
17010 (eval "$ac_compiler -v >&5") 2>&5
17012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }
17014 { (ac_try="$ac_compiler -V >&5"
17015 case "(($ac_try" in
17016 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17017 *) ac_try_echo
=$ac_try;;
17019 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17020 $as_echo "$ac_try_echo") >&5
17021 (eval "$ac_compiler -V >&5") 2>&5
17023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }
17026 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17027 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
17028 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17029 $as_echo_n "(cached) " >&6
17031 cat >conftest.
$ac_ext <<_ACEOF
17034 cat confdefs.h
>>conftest.
$ac_ext
17035 cat >>conftest.
$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17049 rm -f conftest.
$ac_objext
17050 if { (ac_try
="$ac_compile"
17051 case "(($ac_try" in
17052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17053 *) ac_try_echo=$ac_try;;
17055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17056 $as_echo "$ac_try_echo") >&5
17057 (eval "$ac_compile") 2>conftest.er1
17059 grep -v '^ *+' conftest.er1 >conftest.err
17061 cat conftest.err >&5
17062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17063 (exit $ac_status); } && {
17064 test -z "$ac_cxx_werror_flag" ||
17065 test ! -s conftest.err
17066 } && test -s conftest.$ac_objext; then
17067 ac_compiler_gnu=yes
17069 $as_echo "$as_me: failed program was:" >&5
17070 sed 's/^/| /' conftest.$ac_ext >&5
17075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17076 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17079 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17080 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
17081 if test $ac_compiler_gnu = yes; then
17086 ac_test_CXXFLAGS=${CXXFLAGS+set}
17087 ac_save_CXXFLAGS=$CXXFLAGS
17088 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17089 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
17090 if test "${ac_cv_prog_cxx_g+set}" = set; then
17091 $as_echo_n "(cached) " >&6
17093 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17094 ac_cxx_werror_flag=yes
17095 ac_cv_prog_cxx_g=no
17097 cat >conftest.$ac_ext <<_ACEOF
17100 cat confdefs.h >>conftest.$ac_ext
17101 cat >>conftest.$ac_ext <<_ACEOF
17102 /* end confdefs.h. */
17112 rm -f conftest.$ac_objext
17113 if { (ac_try="$ac_compile"
17114 case "(($ac_try" in
17115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17116 *) ac_try_echo
=$ac_try;;
17118 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17119 $as_echo "$ac_try_echo") >&5
17120 (eval "$ac_compile") 2>conftest.er1
17122 grep -v '^ *+' conftest.er1
>conftest.err
17124 cat conftest.err
>&5
17125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } && {
17127 test -z "$ac_cxx_werror_flag" ||
17128 test ! -s conftest.err
17129 } && test -s conftest.
$ac_objext; then
17130 ac_cv_prog_cxx_g
=yes
17132 $as_echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.
$ac_ext >&5
17136 cat >conftest.
$ac_ext <<_ACEOF
17139 cat confdefs.h
>>conftest.
$ac_ext
17140 cat >>conftest.
$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17151 rm -f conftest.
$ac_objext
17152 if { (ac_try
="$ac_compile"
17153 case "(($ac_try" in
17154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17155 *) ac_try_echo=$ac_try;;
17157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17158 $as_echo "$ac_try_echo") >&5
17159 (eval "$ac_compile") 2>conftest.er1
17161 grep -v '^ *+' conftest.er1 >conftest.err
17163 cat conftest.err >&5
17164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_cxx_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest.$ac_objext; then
17171 $as_echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17174 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17176 cat >conftest.$ac_ext <<_ACEOF
17179 cat confdefs.h >>conftest.$ac_ext
17180 cat >>conftest.$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17191 rm -f conftest.$ac_objext
17192 if { (ac_try="$ac_compile"
17193 case "(($ac_try" in
17194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17195 *) ac_try_echo
=$ac_try;;
17197 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17198 $as_echo "$ac_try_echo") >&5
17199 (eval "$ac_compile") 2>conftest.er1
17201 grep -v '^ *+' conftest.er1
>conftest.err
17203 cat conftest.err
>&5
17204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); } && {
17206 test -z "$ac_cxx_werror_flag" ||
17207 test ! -s conftest.err
17208 } && test -s conftest.
$ac_objext; then
17209 ac_cv_prog_cxx_g
=yes
17211 $as_echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.
$ac_ext >&5
17217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17224 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17226 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17227 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17228 if test "$ac_test_CXXFLAGS" = set; then
17229 CXXFLAGS
=$ac_save_CXXFLAGS
17230 elif test $ac_cv_prog_cxx_g = yes; then
17231 if test "$GXX" = yes; then
17237 if test "$GXX" = yes; then
17244 ac_cpp
='$CPP $CPPFLAGS'
17245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17253 ac_cpp
='$CXXCPP $CPPFLAGS'
17254 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17255 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17256 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17258 { $as_echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17259 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
17260 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17261 $as_echo_n "(cached) " >&6
17263 cat >conftest.
$ac_ext <<_ACEOF
17266 cat confdefs.h
>>conftest.
$ac_ext
17267 cat >>conftest.
$ac_ext <<_ACEOF
17268 /* end confdefs.h. */
17274 #ifndef __INTEL_COMPILER
17282 rm -f conftest.
$ac_objext
17283 if { (ac_try
="$ac_compile"
17284 case "(($ac_try" in
17285 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17286 *) ac_try_echo=$ac_try;;
17288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17289 $as_echo "$ac_try_echo") >&5
17290 (eval "$ac_compile") 2>conftest.er1
17292 grep -v '^ *+' conftest.er1 >conftest.err
17294 cat conftest.err >&5
17295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && {
17297 test -z "$ac_cxx_werror_flag" ||
17298 test ! -s conftest.err
17299 } && test -s conftest.$ac_objext; then
17300 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17302 $as_echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17305 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17313 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17314 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17315 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17321 ac_cpp='$CPP $CPPFLAGS'
17322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17329 if test "$INTELCXX" = "yes"; then
17333 ac_cpp='$CXXCPP $CPPFLAGS'
17334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17338 { $as_echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17339 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
17340 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17341 $as_echo_n "(cached) " >&6
17343 cat >conftest.$ac_ext <<_ACEOF
17346 cat confdefs.h >>conftest.$ac_ext
17347 cat >>conftest.$ac_ext <<_ACEOF
17348 /* end confdefs.h. */
17354 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17362 rm -f conftest.$ac_objext
17363 if { (ac_try="$ac_compile"
17364 case "(($ac_try" in
17365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17366 *) ac_try_echo
=$ac_try;;
17368 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17369 $as_echo "$ac_try_echo") >&5
17370 (eval "$ac_compile") 2>conftest.er1
17372 grep -v '^ *+' conftest.er1
>conftest.err
17374 cat conftest.err
>&5
17375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } && {
17377 test -z "$ac_cxx_werror_flag" ||
17378 test ! -s conftest.err
17379 } && test -s conftest.
$ac_objext; then
17380 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800
=yes
17382 $as_echo "$as_me: failed program was:" >&5
17383 sed 's/^/| /' conftest.
$ac_ext >&5
17385 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800
=no
17389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17393 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17394 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17395 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17401 ac_cpp
='$CPP $CPPFLAGS'
17402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17411 ac_cpp
='$CXXCPP $CPPFLAGS'
17412 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17413 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17414 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17416 { $as_echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17417 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
17418 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17419 $as_echo_n "(cached) " >&6
17421 cat >conftest.
$ac_ext <<_ACEOF
17424 cat confdefs.h
>>conftest.
$ac_ext
17425 cat >>conftest.
$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17432 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17440 rm -f conftest.
$ac_objext
17441 if { (ac_try
="$ac_compile"
17442 case "(($ac_try" in
17443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17444 *) ac_try_echo=$ac_try;;
17446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17447 $as_echo "$ac_try_echo") >&5
17448 (eval "$ac_compile") 2>conftest.er1
17450 grep -v '^ *+' conftest.er1 >conftest.err
17452 cat conftest.err >&5
17453 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); } && {
17455 test -z "$ac_cxx_werror_flag" ||
17456 test ! -s conftest.err
17457 } && test -s conftest.$ac_objext; then
17458 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17460 $as_echo "$as_me: failed program was:" >&5
17461 sed 's/^/| /' conftest.$ac_ext >&5
17463 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17471 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17472 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17473 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17479 ac_cpp='$CPP $CPPFLAGS'
17480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17488 if test "x$GCXX" != "xyes"; then
17489 if test "xCXX" = "xC"; then
17490 { $as_echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17491 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17492 if test "${bakefile_cv_c_exto+set}" = set; then
17493 $as_echo_n "(cached) " >&6
17495 cat >conftest.$ac_ext <<_ACEOF
17498 cat confdefs.h >>conftest.$ac_ext
17499 cat >>conftest.$ac_ext <<_ACEOF
17500 /* end confdefs.h. */
17510 rm -f conftest.$ac_objext conftest.$ac_ext.o
17511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17512 (eval $ac_compile) 2>&5
17514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); }; then
17516 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
17518 conftest.$ac_ext.o)
17519 bakefile_cv_c_exto="-ext o"
17526 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17528 { { $as_echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
17529 See \
`config.log' for more details." >&5
17530 $as_echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17531 See \`config.log
' for more details." >&2;}
17532 { (exit 1); exit 1; }; }; }
17536 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17539 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17540 $as_echo "$bakefile_cv_c_exto" >&6; }
17541 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17542 if test "c" = "c"; then
17543 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17545 if test "c" = "cxx"; then
17546 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17550 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17551 unset ac_cv_prog_cc_g
17552 ac_test_CFLAGS=${CFLAGS+set}
17553 ac_save_CFLAGS=$CFLAGS
17554 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17555 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17556 if test "${ac_cv_prog_cc_g+set}" = set; then
17557 $as_echo_n "(cached) " >&6
17559 ac_save_c_werror_flag=$ac_c_werror_flag
17560 ac_c_werror_flag=yes
17563 cat >conftest.$ac_ext <<_ACEOF
17566 cat confdefs.h >>conftest.$ac_ext
17567 cat >>conftest.$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17578 rm -f conftest.$ac_objext
17579 if { (ac_try="$ac_compile"
17580 case "(($ac_try" in
17581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17582 *) ac_try_echo=$ac_try;;
17584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17585 $as_echo "$ac_try_echo") >&5
17586 (eval "$ac_compile") 2>conftest.er1
17588 grep -v '^
*+' conftest.er1 >conftest.err
17590 cat conftest.err >&5
17591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); } && {
17593 test -z "$ac_c_werror_flag" ||
17594 test ! -s conftest.err
17595 } && test -s conftest.$ac_objext; then
17596 ac_cv_prog_cc_g=yes
17598 $as_echo "$as_me: failed program was:" >&5
17599 sed 's
/^
/| /' conftest.$ac_ext >&5
17602 cat >conftest.$ac_ext <<_ACEOF
17605 cat confdefs.h >>conftest.$ac_ext
17606 cat >>conftest.$ac_ext <<_ACEOF
17607 /* end confdefs.h. */
17617 rm -f conftest.$ac_objext
17618 if { (ac_try="$ac_compile"
17619 case "(($ac_try" in
17620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17621 *) ac_try_echo=$ac_try;;
17623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17624 $as_echo "$ac_try_echo") >&5
17625 (eval "$ac_compile") 2>conftest.er1
17627 grep -v '^
*+' conftest.er1 >conftest.err
17629 cat conftest.err >&5
17630 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); } && {
17632 test -z "$ac_c_werror_flag" ||
17633 test ! -s conftest.err
17634 } && test -s conftest.$ac_objext; then
17637 $as_echo "$as_me: failed program was:" >&5
17638 sed 's
/^
/| /' conftest.$ac_ext >&5
17640 ac_c_werror_flag=$ac_save_c_werror_flag
17642 cat >conftest.$ac_ext <<_ACEOF
17645 cat confdefs.h >>conftest.$ac_ext
17646 cat >>conftest.$ac_ext <<_ACEOF
17647 /* end confdefs.h. */
17657 rm -f conftest.$ac_objext
17658 if { (ac_try="$ac_compile"
17659 case "(($ac_try" in
17660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17661 *) ac_try_echo=$ac_try;;
17663 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17664 $as_echo "$ac_try_echo") >&5
17665 (eval "$ac_compile") 2>conftest.er1
17667 grep -v '^
*+' conftest.er1 >conftest.err
17669 cat conftest.err >&5
17670 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); } && {
17672 test -z "$ac_c_werror_flag" ||
17673 test ! -s conftest.err
17674 } && test -s conftest.$ac_objext; then
17675 ac_cv_prog_cc_g=yes
17677 $as_echo "$as_me: failed program was:" >&5
17678 sed 's
/^
/| /' conftest.$ac_ext >&5
17683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17690 ac_c_werror_flag=$ac_save_c_werror_flag
17692 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17693 $as_echo "$ac_cv_prog_cc_g" >&6; }
17694 if test "$ac_test_CFLAGS" = set; then
17695 CFLAGS=$ac_save_CFLAGS
17696 elif test $ac_cv_prog_cc_g = yes; then
17697 if test "$GCC" = yes; then
17703 if test "$GCC" = yes; then
17717 ac_cpp='$CXXCPP $CPPFLAGS'
17718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17719 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17722 { $as_echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17723 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
17724 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17725 $as_echo_n "(cached) " >&6
17727 cat >conftest.$ac_ext <<_ACEOF
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17746 rm -f conftest.$ac_objext
17747 if { (ac_try="$ac_compile"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17753 $as_echo "$ac_try_echo") >&5
17754 (eval "$ac_compile") 2>conftest.er1
17756 grep -v '^
*+' conftest.er1 >conftest.err
17758 cat conftest.err >&5
17759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } && {
17761 test -z "$ac_cxx_werror_flag" ||
17762 test ! -s conftest.err
17763 } && test -s conftest.$ac_objext; then
17764 bakefile_cv_cxx_compiler___xlC__=yes
17766 $as_echo "$as_me: failed program was:" >&5
17767 sed 's
/^
/| /' conftest.$ac_ext >&5
17769 bakefile_cv_cxx_compiler___xlC__=no
17773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17777 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17778 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
17779 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17785 ac_cpp='$CPP $CPPFLAGS'
17786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17787 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17798 ac_cpp='$CXXCPP $CPPFLAGS'
17799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17800 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17803 { $as_echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17804 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
17805 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17806 $as_echo_n "(cached) " >&6
17808 cat >conftest.$ac_ext <<_ACEOF
17811 cat confdefs.h >>conftest.$ac_ext
17812 cat >>conftest.$ac_ext <<_ACEOF
17813 /* end confdefs.h. */
17827 rm -f conftest.$ac_objext
17828 if { (ac_try="$ac_compile"
17829 case "(($ac_try" in
17830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17831 *) ac_try_echo=$ac_try;;
17833 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17834 $as_echo "$ac_try_echo") >&5
17835 (eval "$ac_compile") 2>conftest.er1
17837 grep -v '^
*+' conftest.er1 >conftest.err
17839 cat conftest.err >&5
17840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } && {
17842 test -z "$ac_cxx_werror_flag" ||
17843 test ! -s conftest.err
17844 } && test -s conftest.$ac_objext; then
17845 bakefile_cv_cxx_compiler___MWERKS__=yes
17847 $as_echo "$as_me: failed program was:" >&5
17848 sed 's
/^
/| /' conftest.$ac_ext >&5
17850 bakefile_cv_cxx_compiler___MWERKS__=no
17854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17859 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17860 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17866 ac_cpp='$CPP $CPPFLAGS'
17867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17868 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17873 if test "$MWCXX" != "yes"; then
17877 ac_cpp='$CXXCPP $CPPFLAGS'
17878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17879 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17882 { $as_echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17883 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
17884 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17885 $as_echo_n "(cached) " >&6
17887 cat >conftest.$ac_ext <<_ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17906 rm -f conftest.$ac_objext
17907 if { (ac_try="$ac_compile"
17908 case "(($ac_try" in
17909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17910 *) ac_try_echo=$ac_try;;
17912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17913 $as_echo "$ac_try_echo") >&5
17914 (eval "$ac_compile") 2>conftest.er1
17916 grep -v '^
*+' conftest.er1 >conftest.err
17918 cat conftest.err >&5
17919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); } && {
17921 test -z "$ac_cxx_werror_flag" ||
17922 test ! -s conftest.err
17923 } && test -s conftest.$ac_objext; then
17924 bakefile_cv_cxx_compiler___xlC__=yes
17926 $as_echo "$as_me: failed program was:" >&5
17927 sed 's
/^
/| /' conftest.$ac_ext >&5
17929 bakefile_cv_cxx_compiler___xlC__=no
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17937 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17938 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
17939 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17945 ac_cpp='$CPP $CPPFLAGS'
17946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17947 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17959 ac_cpp='$CXXCPP $CPPFLAGS'
17960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17961 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17964 { $as_echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17965 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
17966 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17967 $as_echo_n "(cached) " >&6
17969 cat >conftest.$ac_ext <<_ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17980 #ifndef _SGI_COMPILER_VERSION
17988 rm -f conftest.$ac_objext
17989 if { (ac_try="$ac_compile"
17990 case "(($ac_try" in
17991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17992 *) ac_try_echo=$ac_try;;
17994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17995 $as_echo "$ac_try_echo") >&5
17996 (eval "$ac_compile") 2>conftest.er1
17998 grep -v '^
*+' conftest.er1 >conftest.err
18000 cat conftest.err >&5
18001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } && {
18003 test -z "$ac_cxx_werror_flag" ||
18004 test ! -s conftest.err
18005 } && test -s conftest.$ac_objext; then
18006 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18008 $as_echo "$as_me: failed program was:" >&5
18009 sed 's
/^
/| /' conftest.$ac_ext >&5
18011 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18020 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18021 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18027 ac_cpp='$CPP $CPPFLAGS'
18028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18029 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18037 if test "$INTELCXX" != "yes"; then
18041 ac_cpp='$CXXCPP $CPPFLAGS'
18042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18043 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18046 { $as_echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18047 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18048 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18049 $as_echo_n "(cached) " >&6
18051 cat >conftest.$ac_ext <<_ACEOF
18054 cat confdefs.h >>conftest.$ac_ext
18055 cat >>conftest.$ac_ext <<_ACEOF
18056 /* end confdefs.h. */
18062 #ifndef __SUNPRO_CC
18070 rm -f conftest.$ac_objext
18071 if { (ac_try="$ac_compile"
18072 case "(($ac_try" in
18073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18074 *) ac_try_echo=$ac_try;;
18076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18077 $as_echo "$ac_try_echo") >&5
18078 (eval "$ac_compile") 2>conftest.er1
18080 grep -v '^
*+' conftest.er1 >conftest.err
18082 cat conftest.err >&5
18083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); } && {
18085 test -z "$ac_cxx_werror_flag" ||
18086 test ! -s conftest.err
18087 } && test -s conftest.$ac_objext; then
18088 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18090 $as_echo "$as_me: failed program was:" >&5
18091 sed 's
/^
/| /' conftest.$ac_ext >&5
18093 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18101 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18102 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18103 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18109 ac_cpp='$CPP $CPPFLAGS'
18110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18111 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18123 ac_cpp='$CXXCPP $CPPFLAGS'
18124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18125 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18128 { $as_echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18129 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18130 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18131 $as_echo_n "(cached) " >&6
18133 cat >conftest.$ac_ext <<_ACEOF
18136 cat confdefs.h >>conftest.$ac_ext
18137 cat >>conftest.$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18152 rm -f conftest.$ac_objext
18153 if { (ac_try="$ac_compile"
18154 case "(($ac_try" in
18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18156 *) ac_try_echo=$ac_try;;
18158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18159 $as_echo "$ac_try_echo") >&5
18160 (eval "$ac_compile") 2>conftest.er1
18162 grep -v '^
*+' conftest.er1 >conftest.err
18164 cat conftest.err >&5
18165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); } && {
18167 test -z "$ac_cxx_werror_flag" ||
18168 test ! -s conftest.err
18169 } && test -s conftest.$ac_objext; then
18170 bakefile_cv_cxx_compiler___HP_aCC=yes
18172 $as_echo "$as_me: failed program was:" >&5
18173 sed 's
/^
/| /' conftest.$ac_ext >&5
18175 bakefile_cv_cxx_compiler___HP_aCC=no
18179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18183 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18184 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18185 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18191 ac_cpp='$CPP $CPPFLAGS'
18192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18193 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18204 ac_cpp='$CXXCPP $CPPFLAGS'
18205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18206 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18209 { $as_echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18210 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18211 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18212 $as_echo_n "(cached) " >&6
18214 cat >conftest.$ac_ext <<_ACEOF
18217 cat confdefs.h >>conftest.$ac_ext
18218 cat >>conftest.$ac_ext <<_ACEOF
18219 /* end confdefs.h. */
18233 rm -f conftest.$ac_objext
18234 if { (ac_try="$ac_compile"
18235 case "(($ac_try" in
18236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18237 *) ac_try_echo=$ac_try;;
18239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18240 $as_echo "$ac_try_echo") >&5
18241 (eval "$ac_compile") 2>conftest.er1
18243 grep -v '^
*+' conftest.er1 >conftest.err
18245 cat conftest.err >&5
18246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); } && {
18248 test -z "$ac_cxx_werror_flag" ||
18249 test ! -s conftest.err
18250 } && test -s conftest.$ac_objext; then
18251 bakefile_cv_cxx_compiler___DECCXX=yes
18253 $as_echo "$as_me: failed program was:" >&5
18254 sed 's
/^
/| /' conftest.$ac_ext >&5
18256 bakefile_cv_cxx_compiler___DECCXX=no
18260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18264 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18265 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18266 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18272 ac_cpp='$CPP $CPPFLAGS'
18273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18274 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18285 ac_cpp='$CXXCPP $CPPFLAGS'
18286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18287 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18290 { $as_echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18291 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18292 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18293 $as_echo_n "(cached) " >&6
18295 cat >conftest.$ac_ext <<_ACEOF
18298 cat confdefs.h >>conftest.$ac_ext
18299 cat >>conftest.$ac_ext <<_ACEOF
18300 /* end confdefs.h. */
18306 #ifndef __SUNPRO_CC
18314 rm -f conftest.$ac_objext
18315 if { (ac_try="$ac_compile"
18316 case "(($ac_try" in
18317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18318 *) ac_try_echo=$ac_try;;
18320 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18321 $as_echo "$ac_try_echo") >&5
18322 (eval "$ac_compile") 2>conftest.er1
18324 grep -v '^
*+' conftest.er1 >conftest.err
18326 cat conftest.err >&5
18327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); } && {
18329 test -z "$ac_cxx_werror_flag" ||
18330 test ! -s conftest.err
18331 } && test -s conftest.$ac_objext; then
18332 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18334 $as_echo "$as_me: failed program was:" >&5
18335 sed 's
/^
/| /' conftest.$ac_ext >&5
18337 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18345 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18346 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18347 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18353 ac_cpp='$CPP $CPPFLAGS'
18354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18355 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18366 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18367 { { $as_echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18368 $as_echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18369 { (exit 1); exit 1; }; }
18372 if test "x$SUNCXX" != xyes; then
18373 if test -n "$ac_tool_prefix"; then
18374 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18375 set dummy ${ac_tool_prefix}ar; ac_word=$2
18376 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18377 $as_echo_n "checking for $ac_word... " >&6; }
18378 if test "${ac_cv_prog_AR+set}" = set; then
18379 $as_echo_n "(cached) " >&6
18381 if test -n "$AR"; then
18382 ac_cv_prog_AR="$AR" # Let the user override the test.
18384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18385 for as_dir in $PATH
18388 test -z "$as_dir" && as_dir=.
18389 for ac_exec_ext in '' $ac_executable_extensions; do
18390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18391 ac_cv_prog_AR="${ac_tool_prefix}ar"
18392 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18402 if test -n "$AR"; then
18403 { $as_echo "$as_me:$LINENO: result: $AR" >&5
18404 $as_echo "$AR" >&6; }
18406 { $as_echo "$as_me:$LINENO: result: no" >&5
18407 $as_echo "no" >&6; }
18412 if test -z "$ac_cv_prog_AR"; then
18414 # Extract the first word of "ar", so it can be a program name with args.
18415 set dummy ar; ac_word=$2
18416 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18417 $as_echo_n "checking for $ac_word... " >&6; }
18418 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18419 $as_echo_n "(cached) " >&6
18421 if test -n "$ac_ct_AR"; then
18422 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18425 for as_dir in $PATH
18428 test -z "$as_dir" && as_dir=.
18429 for ac_exec_ext in '' $ac_executable_extensions; do
18430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18431 ac_cv_prog_ac_ct_AR="ar"
18432 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18441 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18442 if test -n "$ac_ct_AR"; then
18443 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18444 $as_echo "$ac_ct_AR" >&6; }
18446 { $as_echo "$as_me:$LINENO: result: no" >&5
18447 $as_echo "no" >&6; }
18450 if test "x$ac_ct_AR" = x; then
18453 case $cross_compiling:$ac_tool_warned in
18455 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
18456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18457 ac_tool_warned=yes ;;
18462 AR="$ac_cv_prog_AR"
18465 if test "x$AR" = "x" ; then
18466 { { $as_echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18467 $as_echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18468 { (exit 1); exit 1; }; }
18472 retest_macosx_linking=no
18474 #if test "$wxUSE_MAC" = 1; then
18475 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18476 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18477 # Implicitly turn on the new --with-macosx-sdk using the default
18478 # SDK which provides the behavior this option has always had.
18479 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18480 { $as_echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18481 $as_echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18482 { $as_echo "$as_me:$LINENO: WARNING: If you don't want this
, specify
--without-macosx-sdk" >&5
18483 $as_echo "$as_me: WARNING
: If you don
't want this, specify --without-macosx-sdk" >&2;}
18484 wxUSE_MACOSX_SDK=yes
18487 # Complain to user if he specified an argument to --enable-universal_binary
18488 # and also 1) specified --with-macosx-sdk using the default (yes) or
18489 # 2) specified --with-macosx-sdk using a path or 3) specified
18490 # --without-macosx-sdk (no).
18491 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18492 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18493 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
18494 { { $as_echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18495 See \`config.log
' for more details." >&5
18496 $as_echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18497 See \`config.log' for more details.
" >&2;}
18498 { (exit 1); exit 1; }; }; }
18500 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18501 # special-case the empty string because the below test simply
18502 # converts "no
" to the empty string anyway.
18503 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18504 { $as_echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18505 $as_echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18508 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18509 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18510 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18511 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18512 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18513 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18514 retest_macosx_linking=yes
18516 { $as_echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18517 $as_echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18522 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18524 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18525 # TODO: Search for most recent SDK and use it.
18526 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18530 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18531 { $as_echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18532 $as_echo_n "checking
for SDK directory
$wxUSE_MACOSX_SDK...
" >&6; }
18533 if ! test -d "$wxUSE_MACOSX_SDK"; then
18534 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
18535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18536 { { $as_echo "$as_me:$LINENO: error: not found
18537 See \`config.log' for more details.
" >&5
18538 $as_echo "$as_me: error
: not found
18539 See \
`config.log' for more details." >&2;}
18540 { (exit 1); exit 1; }; }; }
18542 { $as_echo "$as_me:$LINENO: result: exists" >&5
18543 $as_echo "exists" >&6; }
18545 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18546 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18547 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18548 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18549 retest_macosx_linking=yes
18552 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18553 wxUSE_MACOSX_VERSION_MIN=
18554 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18555 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18556 { $as_echo "$as_me:$LINENO: checking SDK deployment version" >&5
18557 $as_echo_n "checking SDK deployment version... " >&6; }
18559 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/'`
18561 # If that failed, try again with the new key
18562 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18564 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/'`
18568 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18569 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18570 { $as_echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18571 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
18573 { $as_echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18574 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18575 wxUSE_MACOSX_VERSION_MIN=
18578 wxUSE_MACOSX_VERSION_MIN=
18580 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18581 if test "$wxUSE_MAC" = 1; then
18582 # otherwise configure stops on leopard for universal_binary
18583 wxUSE_MACOSX_VERSION_MIN=10.4
18587 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18588 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18589 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18590 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18591 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18592 retest_macosx_linking=yes
18595 if test "x$retest_macosx_linking" = "xyes"; then
18597 ac_cpp='$CPP $CPPFLAGS'
18598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18602 { $as_echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18603 $as_echo_n "checking if C compiler works with SDK/version options... " >&6; }
18604 cat >conftest.$ac_ext <<_ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18619 rm -f conftest.$ac_objext conftest$ac_exeext
18620 if { (ac_try="$ac_link"
18621 case "(($ac_try" in
18622 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18623 *) ac_try_echo
=$ac_try;;
18625 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
18626 $as_echo "$ac_try_echo") >&5
18627 (eval "$ac_link") 2>conftest.er1
18629 grep -v '^ *+' conftest.er1
>conftest.err
18631 cat conftest.err
>&5
18632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633 (exit $ac_status); } && {
18634 test -z "$ac_c_werror_flag" ||
18635 test ! -s conftest.err
18636 } && test -s conftest
$ac_exeext && {
18637 test "$cross_compiling" = yes ||
18638 $as_test_x conftest
$ac_exeext
18640 { $as_echo "$as_me:$LINENO: result: yes" >&5
18641 $as_echo "yes" >&6; }
18643 $as_echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.
$ac_ext >&5
18646 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18648 { { $as_echo "$as_me:$LINENO: error: no. Try a different SDK
18649 See \`config.log' for more details." >&5
18650 $as_echo "$as_me: error: no. Try a different SDK
18651 See \`config.log' for more details." >&2;}
18652 { (exit 1); exit 1; }; }; }; exit 1
18655 rm -rf conftest.dSYM
18656 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18657 conftest
$ac_exeext conftest.
$ac_ext
18659 ac_cpp
='$CPP $CPPFLAGS'
18660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18666 ac_cpp
='$CXXCPP $CPPFLAGS'
18667 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18668 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18669 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18671 { $as_echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18672 $as_echo_n "checking if C++ compiler works with SDK/version options... " >&6; }
18673 cat >conftest.
$ac_ext <<_ACEOF
18676 cat confdefs.h
>>conftest.
$ac_ext
18677 cat >>conftest.
$ac_ext <<_ACEOF
18678 /* end confdefs.h. */
18688 rm -f conftest.
$ac_objext conftest
$ac_exeext
18689 if { (ac_try
="$ac_link"
18690 case "(($ac_try" in
18691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18692 *) ac_try_echo=$ac_try;;
18694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18695 $as_echo "$ac_try_echo") >&5
18696 (eval "$ac_link") 2>conftest.er1
18698 grep -v '^ *+' conftest.er1 >conftest.err
18700 cat conftest.err >&5
18701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } && {
18703 test -z "$ac_cxx_werror_flag" ||
18704 test ! -s conftest.err
18705 } && test -s conftest$ac_exeext && {
18706 test "$cross_compiling" = yes ||
18707 $as_test_x conftest$ac_exeext
18709 { $as_echo "$as_me:$LINENO: result: yes" >&5
18710 $as_echo "yes" >&6; }
18712 $as_echo "$as_me: failed program was:" >&5
18713 sed 's/^/| /' conftest.$ac_ext >&5
18715 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18717 { { $as_echo "$as_me:$LINENO: error
: no. Try a different SDK
18718 See \
`config.log' for more details." >&5
18719 $as_echo "$as_me: error: no. Try a different SDK
18720 See \`config.log
' for more details." >&2;}
18721 { (exit 1); exit 1; }; }; }; exit 1
18724 rm -rf conftest.dSYM
18725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18726 conftest$ac_exeext conftest.$ac_ext
18728 ac_cpp='$CPP $CPPFLAGS'
18729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18730 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18739 INSTALL_PROGRAM="cp -fp"
18740 INSTALL_DATA="cp -fp"
18747 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18748 CXXFLAGS="-qunique $CXXFLAGS"
18752 powerpc-*-darwin* )
18753 { $as_echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18754 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
18755 cat >conftest.$ac_ext <<_ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18765 #ifndef __POWERPC__
18766 choke me for lack of PowerPC
18773 rm -f conftest.$ac_objext
18774 if { (ac_try="$ac_compile"
18775 case "(($ac_try" in
18776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18777 *) ac_try_echo=$ac_try;;
18779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18780 $as_echo "$ac_try_echo") >&5
18781 (eval "$ac_compile") 2>conftest.er1
18783 grep -v '^
*+' conftest.er1 >conftest.err
18785 cat conftest.err >&5
18786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } && {
18788 test -z "$ac_c_werror_flag" ||
18789 test ! -s conftest.err
18790 } && test -s conftest.$ac_objext; then
18791 { $as_echo "$as_me:$LINENO: result: yes" >&5
18792 $as_echo "yes" >&6; }
18794 $as_echo "$as_me: failed program was:" >&5
18795 sed 's
/^
/| /' conftest.$ac_ext >&5
18797 { $as_echo "$as_me:$LINENO: result: no" >&5
18798 $as_echo "no" >&6; }
18799 cat >>confdefs.h <<\_ACEOF
18800 #define __POWERPC__ 1
18806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18812 { $as_echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18813 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
18814 cat >conftest.$ac_ext <<_ACEOF
18817 cat confdefs.h >>conftest.$ac_ext
18818 cat >>conftest.$ac_ext <<_ACEOF
18819 /* end confdefs.h. */
18820 #include <CoreFoundation/CFBase.h>
18830 rm -f conftest.$ac_objext
18831 if { (ac_try="$ac_compile"
18832 case "(($ac_try" in
18833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18834 *) ac_try_echo=$ac_try;;
18836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18837 $as_echo "$ac_try_echo") >&5
18838 (eval "$ac_compile") 2>conftest.er1
18840 grep -v '^
*+' conftest.er1 >conftest.err
18842 cat conftest.err >&5
18843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); } && {
18845 test -z "$ac_c_werror_flag" ||
18846 test ! -s conftest.err
18847 } && test -s conftest.$ac_objext; then
18848 { $as_echo "$as_me:$LINENO: result: yes" >&5
18849 $as_echo "yes" >&6; }
18851 $as_echo "$as_me: failed program was:" >&5
18852 sed 's
/^
/| /' conftest.$ac_ext >&5
18854 { $as_echo "$as_me:$LINENO: result: no" >&5
18855 $as_echo "no" >&6; }
18856 { $as_echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18857 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
18858 cat >conftest.$ac_ext <<_ACEOF
18861 cat confdefs.h >>conftest.$ac_ext
18862 cat >>conftest.$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18864 #define __CF_USE_FRAMEWORK_INCLUDES__
18865 #include <CoreFoundation/CFBase.h>
18875 rm -f conftest.$ac_objext
18876 if { (ac_try="$ac_compile"
18877 case "(($ac_try" in
18878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18879 *) ac_try_echo=$ac_try;;
18881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18882 $as_echo "$ac_try_echo") >&5
18883 (eval "$ac_compile") 2>conftest.er1
18885 grep -v '^
*+' conftest.er1 >conftest.err
18887 cat conftest.err >&5
18888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); } && {
18890 test -z "$ac_c_werror_flag" ||
18891 test ! -s conftest.err
18892 } && test -s conftest.$ac_objext; then
18893 { $as_echo "$as_me:$LINENO: result: yes" >&5
18894 $as_echo "yes" >&6; }
18895 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18897 $as_echo "$as_me: failed program was:" >&5
18898 sed 's
/^
/| /' conftest.$ac_ext >&5
18900 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18901 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
18902 { { $as_echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18903 See \`config.log
' for more details." >&5
18904 $as_echo "$as_me: error: no. CoreFoundation not available.
18905 See \`config.log' for more details.
" >&2;}
18906 { (exit 1); exit 1; }; }; }
18910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18920 doesnt_want_win32=0
18923 if test "$wxUSE_MSW" = 1 ; then
18926 { $as_echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18927 $as_echo_n "checking
if -mno-cygwin is
in effect...
" >&6; }
18928 if test "${wx_cv_nocygwin+set}" = set; then
18929 $as_echo_n "(cached
) " >&6
18932 cat >conftest.$ac_ext <<_ACEOF
18935 cat confdefs.h >>conftest.$ac_ext
18936 cat >>conftest.$ac_ext <<_ACEOF
18937 /* end confdefs.h. */
18951 rm -f conftest.$ac_objext
18952 if { (ac_try="$ac_compile"
18953 case "(($ac_try" in
18954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18955 *) ac_try_echo=$ac_try;;
18957 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
18958 $as_echo "$ac_try_echo") >&5
18959 (eval "$ac_compile") 2>conftest.er1
18961 grep -v '^ *+' conftest.er1 >conftest.err
18963 cat conftest.err >&5
18964 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18965 (exit $ac_status); } && {
18966 test -z "$ac_c_werror_flag" ||
18967 test ! -s conftest.err
18968 } && test -s conftest.$ac_objext; then
18971 $as_echo "$as_me: failed program was
:" >&5
18972 sed 's/^/| /' conftest.$ac_ext >&5
18978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18982 { $as_echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18983 $as_echo "$wx_cv_nocygwin" >&6; }
18985 if test "$wx_cv_nocygwin" = "yes"; then
18988 doesnt_want_win32=1
18991 if test "$wants_win32" = 1 ; then
18992 BAKEFILE_FORCE_PLATFORM=win32
19000 if test "$wxUSE_WINE" = "yes"; then
19002 LDFLAGS_GUI="-mwindows"
19005 if test "$wants_win32" = 1 ; then
19008 cat >>confdefs.h <<\_ACEOF
19009 #define __WIN32__ 1
19012 cat >>confdefs.h <<\_ACEOF
19013 #define __WIN95__ 1
19016 cat >>confdefs.h <<\_ACEOF
19017 #define __WINDOWS__ 1
19020 cat >>confdefs.h <<\_ACEOF
19021 #define __GNUWIN32__ 1
19024 cat >>confdefs.h <<\_ACEOF
19029 if test "$doesnt_want_win32" = 1 ; then
19034 if test "$USE_UNIX" = 1 ; then
19036 cat >>confdefs.h <<\_ACEOF
19043 *-pc-os2_emx | *-pc-os2-emx )
19044 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19045 { $as_echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19046 $as_echo_n "checking
for drand48
in -lcExt...
" >&6; }
19047 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19048 $as_echo_n "(cached
) " >&6
19050 ac_check_lib_save_LIBS=$LIBS
19051 LIBS="-lcExt $LIBS"
19052 cat >conftest.$ac_ext <<_ACEOF
19055 cat confdefs.h >>conftest.$ac_ext
19056 cat >>conftest.$ac_ext <<_ACEOF
19057 /* end confdefs.h. */
19059 /* Override any GCC internal prototype to avoid an error.
19060 Use char because int might match the return type of a GCC
19061 builtin and then its argument prototype would still apply. */
19074 rm -f conftest.$ac_objext conftest$ac_exeext
19075 if { (ac_try="$ac_link"
19076 case "(($ac_try" in
19077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19078 *) ac_try_echo=$ac_try;;
19080 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19081 $as_echo "$ac_try_echo") >&5
19082 (eval "$ac_link") 2>conftest.er1
19084 grep -v '^ *+' conftest.er1 >conftest.err
19086 cat conftest.err >&5
19087 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19088 (exit $ac_status); } && {
19089 test -z "$ac_c_werror_flag" ||
19090 test ! -s conftest.err
19091 } && test -s conftest$ac_exeext && {
19092 test "$cross_compiling" = yes ||
19093 $as_test_x conftest$ac_exeext
19095 ac_cv_lib_cExt_drand48=yes
19097 $as_echo "$as_me: failed program was
:" >&5
19098 sed 's/^/| /' conftest.$ac_ext >&5
19100 ac_cv_lib_cExt_drand48=no
19103 rm -rf conftest.dSYM
19104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19105 conftest$ac_exeext conftest.$ac_ext
19106 LIBS=$ac_check_lib_save_LIBS
19108 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19109 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19110 if test "x
$ac_cv_lib_cExt_drand48" = x""yes; then
19111 LIBS="$LIBS -lcExt"
19115 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19117 { $as_echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19118 $as_echo_n "checking
for gcc
/libc version...
" >&6; }
19119 if test "${wx_cv_gccversion+set}" = set; then
19120 $as_echo_n "(cached
) " >&6
19123 if test "$cross_compiling" = yes; then
19124 wx_cv_gccversion="EMX2
"
19127 cat >conftest.$ac_ext <<_ACEOF
19130 cat confdefs.h >>conftest.$ac_ext
19131 cat >>conftest.$ac_ext <<_ACEOF
19132 /* end confdefs.h. */
19138 FILE *f=fopen("conftestval
", "w
");
19143 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19145 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19155 rm -f conftest$ac_exeext
19156 if { (ac_try="$ac_link"
19157 case "(($ac_try" in
19158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19159 *) ac_try_echo=$ac_try;;
19161 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19162 $as_echo "$ac_try_echo") >&5
19163 (eval "$ac_link") 2>&5
19165 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19167 { (case "(($ac_try" in
19168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19169 *) ac_try_echo=$ac_try;;
19171 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19172 $as_echo "$ac_try_echo") >&5
19173 (eval "$ac_try") 2>&5
19175 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19176 (exit $ac_status); }; }; then
19177 wx_cv_gccversion=`cat conftestval`
19179 $as_echo "$as_me: program exited with status
$ac_status" >&5
19180 $as_echo "$as_me: failed program was
:" >&5
19181 sed 's/^/| /' conftest.$ac_ext >&5
19183 ( exit $ac_status )
19184 wx_cv_gccversion="EMX2
"
19186 rm -rf conftest.dSYM
19187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19193 { $as_echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19194 $as_echo "$wx_cv_gccversion" >&6; }
19195 if test "$wx_cv_gccversion" = "EMX2
"; then
19196 LIBS="$LIBS -lstdcpp"
19197 LDFLAGS="$LDFLAGS -Zsysv-signals"
19199 if test "$wx_cv_gccversion" = "EMX3
"; then
19200 LIBS="$LIBS -lstdcxx -lgcc"
19201 LDFLAGS="$LDFLAGS -Zsysv-signals"
19203 LIBS="$LIBS -lstdc++"
19206 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19207 { $as_echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19208 $as_echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19215 { $as_echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19216 $as_echo_n "checking
for strcasecmp
() in string.h...
" >&6; }
19217 if test "${ac_cv_string_strcasecmp+set}" = set; then
19218 $as_echo_n "(cached
) " >&6
19221 cat >conftest.$ac_ext <<_ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19228 #include <string.h>
19234 strcasecmp("foo
", "bar
");
19240 rm -f conftest.$ac_objext conftest$ac_exeext
19241 if { (ac_try="$ac_link"
19242 case "(($ac_try" in
19243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19244 *) ac_try_echo=$ac_try;;
19246 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19247 $as_echo "$ac_try_echo") >&5
19248 (eval "$ac_link") 2>conftest.er1
19250 grep -v '^ *+' conftest.er1 >conftest.err
19252 cat conftest.err >&5
19253 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19254 (exit $ac_status); } && {
19255 test -z "$ac_c_werror_flag" ||
19256 test ! -s conftest.err
19257 } && test -s conftest$ac_exeext && {
19258 test "$cross_compiling" = yes ||
19259 $as_test_x conftest$ac_exeext
19261 ac_cv_string_strcasecmp=yes
19263 $as_echo "$as_me: failed program was
:" >&5
19264 sed 's/^/| /' conftest.$ac_ext >&5
19266 ac_cv_string_strcasecmp=no
19270 rm -rf conftest.dSYM
19271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19272 conftest$ac_exeext conftest.$ac_ext
19275 { $as_echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19276 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19278 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19279 cat >>confdefs.h <<\_ACEOF
19280 #define HAVE_STRCASECMP_IN_STRING_H 1
19284 { $as_echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19285 $as_echo_n "checking
for strcasecmp
() in strings.h...
" >&6; }
19286 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19287 $as_echo_n "(cached
) " >&6
19290 cat >conftest.$ac_ext <<_ACEOF
19293 cat confdefs.h >>conftest.$ac_ext
19294 cat >>conftest.$ac_ext <<_ACEOF
19295 /* end confdefs.h. */
19297 #include <strings.h>
19303 strcasecmp("foo
", "bar
");
19309 rm -f conftest.$ac_objext conftest$ac_exeext
19310 if { (ac_try="$ac_link"
19311 case "(($ac_try" in
19312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19313 *) ac_try_echo=$ac_try;;
19315 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19316 $as_echo "$ac_try_echo") >&5
19317 (eval "$ac_link") 2>conftest.er1
19319 grep -v '^ *+' conftest.er1 >conftest.err
19321 cat conftest.err >&5
19322 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19323 (exit $ac_status); } && {
19324 test -z "$ac_c_werror_flag" ||
19325 test ! -s conftest.err
19326 } && test -s conftest$ac_exeext && {
19327 test "$cross_compiling" = yes ||
19328 $as_test_x conftest$ac_exeext
19330 ac_cv_strings_strcasecmp=yes
19332 $as_echo "$as_me: failed program was
:" >&5
19333 sed 's/^/| /' conftest.$ac_ext >&5
19335 ac_cv_strings_strcasecmp=no
19339 rm -rf conftest.dSYM
19340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19341 conftest$ac_exeext conftest.$ac_ext
19344 { $as_echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19345 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19347 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19348 cat >>confdefs.h <<\_ACEOF
19349 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19353 { { $as_echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19354 $as_echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19355 { (exit 1); exit 1; }; }
19363 { $as_echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19364 $as_echo_n "checking
for ANSI C header files...
" >&6; }
19365 if test "${ac_cv_header_stdc+set}" = set; then
19366 $as_echo_n "(cached
) " >&6
19368 cat >conftest.$ac_ext <<_ACEOF
19371 cat confdefs.h >>conftest.$ac_ext
19372 cat >>conftest.$ac_ext <<_ACEOF
19373 /* end confdefs.h. */
19374 #include <stdlib.h>
19375 #include <stdarg.h>
19376 #include <string.h>
19387 rm -f conftest.$ac_objext
19388 if { (ac_try="$ac_compile"
19389 case "(($ac_try" in
19390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19391 *) ac_try_echo=$ac_try;;
19393 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19394 $as_echo "$ac_try_echo") >&5
19395 (eval "$ac_compile") 2>conftest.er1
19397 grep -v '^ *+' conftest.er1 >conftest.err
19399 cat conftest.err >&5
19400 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19401 (exit $ac_status); } && {
19402 test -z "$ac_c_werror_flag" ||
19403 test ! -s conftest.err
19404 } && test -s conftest.$ac_objext; then
19405 ac_cv_header_stdc=yes
19407 $as_echo "$as_me: failed program was
:" >&5
19408 sed 's/^/| /' conftest.$ac_ext >&5
19410 ac_cv_header_stdc=no
19413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19415 if test $ac_cv_header_stdc = yes; then
19416 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19417 cat >conftest.$ac_ext <<_ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 #include <string.h>
19426 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19427 $EGREP "memchr
" >/dev/null 2>&1; then
19430 ac_cv_header_stdc=no
19436 if test $ac_cv_header_stdc = yes; then
19437 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19438 cat >conftest.$ac_ext <<_ACEOF
19441 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19444 #include <stdlib.h>
19447 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19448 $EGREP "free
" >/dev/null 2>&1; then
19451 ac_cv_header_stdc=no
19457 if test $ac_cv_header_stdc = yes; then
19458 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19459 if test "$cross_compiling" = yes; then
19462 cat >conftest.$ac_ext <<_ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19469 #include <stdlib.h>
19470 #if ((' ' & 0x0FF) == 0x020)
19471 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19472 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19474 # define ISLOWER(c) \
19475 (('a' <= (c) && (c) <= 'i') \
19476 || ('j' <= (c) && (c) <= 'r') \
19477 || ('s' <= (c) && (c) <= 'z'))
19478 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19481 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19486 for (i = 0; i < 256; i++)
19487 if (XOR (islower (i), ISLOWER (i))
19488 || toupper (i) != TOUPPER (i))
19493 rm -f conftest$ac_exeext
19494 if { (ac_try="$ac_link"
19495 case "(($ac_try" in
19496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19497 *) ac_try_echo=$ac_try;;
19499 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19500 $as_echo "$ac_try_echo") >&5
19501 (eval "$ac_link") 2>&5
19503 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19505 { (case "(($ac_try" in
19506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19507 *) ac_try_echo=$ac_try;;
19509 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19510 $as_echo "$ac_try_echo") >&5
19511 (eval "$ac_try") 2>&5
19513 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19514 (exit $ac_status); }; }; then
19517 $as_echo "$as_me: program exited with status
$ac_status" >&5
19518 $as_echo "$as_me: failed program was
:" >&5
19519 sed 's/^/| /' conftest.$ac_ext >&5
19521 ( exit $ac_status )
19522 ac_cv_header_stdc=no
19524 rm -rf conftest.dSYM
19525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19531 { $as_echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19532 $as_echo "$ac_cv_header_stdc" >&6; }
19533 if test $ac_cv_header_stdc = yes; then
19535 cat >>confdefs.h <<\_ACEOF
19536 #define STDC_HEADERS 1
19541 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19551 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19552 inttypes.h stdint.h unistd.h
19554 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19555 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
19556 $as_echo_n "checking
for $ac_header...
" >&6; }
19557 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19558 $as_echo_n "(cached
) " >&6
19560 cat >conftest.$ac_ext <<_ACEOF
19563 cat confdefs.h >>conftest.$ac_ext
19564 cat >>conftest.$ac_ext <<_ACEOF
19565 /* end confdefs.h. */
19566 $ac_includes_default
19568 #include <$ac_header>
19570 rm -f conftest.$ac_objext
19571 if { (ac_try="$ac_compile"
19572 case "(($ac_try" in
19573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19574 *) ac_try_echo=$ac_try;;
19576 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19577 $as_echo "$ac_try_echo") >&5
19578 (eval "$ac_compile") 2>conftest.er1
19580 grep -v '^ *+' conftest.er1 >conftest.err
19582 cat conftest.err >&5
19583 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19584 (exit $ac_status); } && {
19585 test -z "$ac_c_werror_flag" ||
19586 test ! -s conftest.err
19587 } && test -s conftest.$ac_objext; then
19588 eval "$as_ac_Header=yes"
19590 $as_echo "$as_me: failed program was
:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19593 eval "$as_ac_Header=no
"
19596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19598 ac_res=`eval 'as_val=${'$as_ac_Header'}
19599 $as_echo "$as_val"'`
19600 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
19601 $as_echo "$ac_res" >&6; }
19602 as_val=`eval 'as_val=${'$as_ac_Header'}
19603 $as_echo "$as_val"'`
19604 if test "x
$as_val" = x""yes; then
19605 cat >>confdefs.h <<_ACEOF
19606 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19616 for ac_header in langinfo.h wchar.h
19618 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19619 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
19620 $as_echo_n "checking
for $ac_header...
" >&6; }
19621 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19622 $as_echo_n "(cached
) " >&6
19624 cat >conftest.$ac_ext <<_ACEOF
19627 cat confdefs.h >>conftest.$ac_ext
19628 cat >>conftest.$ac_ext <<_ACEOF
19629 /* end confdefs.h. */
19630 $ac_includes_default
19632 #include <$ac_header>
19634 rm -f conftest.$ac_objext
19635 if { (ac_try="$ac_compile"
19636 case "(($ac_try" in
19637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19638 *) ac_try_echo=$ac_try;;
19640 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19641 $as_echo "$ac_try_echo") >&5
19642 (eval "$ac_compile") 2>conftest.er1
19644 grep -v '^ *+' conftest.er1 >conftest.err
19646 cat conftest.err >&5
19647 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19648 (exit $ac_status); } && {
19649 test -z "$ac_c_werror_flag" ||
19650 test ! -s conftest.err
19651 } && test -s conftest.$ac_objext; then
19652 eval "$as_ac_Header=yes"
19654 $as_echo "$as_me: failed program was
:" >&5
19655 sed 's/^/| /' conftest.$ac_ext >&5
19657 eval "$as_ac_Header=no
"
19660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19662 ac_res=`eval 'as_val=${'$as_ac_Header'}
19663 $as_echo "$as_val"'`
19664 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
19665 $as_echo "$ac_res" >&6; }
19666 as_val=`eval 'as_val=${'$as_ac_Header'}
19667 $as_echo "$as_val"'`
19668 if test "x
$as_val" = x""yes; then
19669 cat >>confdefs.h <<_ACEOF
19670 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19678 if test "$ac_cv_header_wchar_h" != "yes"; then
19680 for ac_header in wcstr.h
19682 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19683 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
19684 $as_echo_n "checking
for $ac_header...
" >&6; }
19685 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19686 $as_echo_n "(cached
) " >&6
19688 cat >conftest.$ac_ext <<_ACEOF
19691 cat confdefs.h >>conftest.$ac_ext
19692 cat >>conftest.$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 $ac_includes_default
19696 #include <$ac_header>
19698 rm -f conftest.$ac_objext
19699 if { (ac_try="$ac_compile"
19700 case "(($ac_try" in
19701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19702 *) ac_try_echo=$ac_try;;
19704 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19705 $as_echo "$ac_try_echo") >&5
19706 (eval "$ac_compile") 2>conftest.er1
19708 grep -v '^ *+' conftest.er1 >conftest.err
19710 cat conftest.err >&5
19711 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19712 (exit $ac_status); } && {
19713 test -z "$ac_c_werror_flag" ||
19714 test ! -s conftest.err
19715 } && test -s conftest.$ac_objext; then
19716 eval "$as_ac_Header=yes"
19718 $as_echo "$as_me: failed program was
:" >&5
19719 sed 's/^/| /' conftest.$ac_ext >&5
19721 eval "$as_ac_Header=no
"
19724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19726 ac_res=`eval 'as_val=${'$as_ac_Header'}
19727 $as_echo "$as_val"'`
19728 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
19729 $as_echo "$ac_res" >&6; }
19730 as_val=`eval 'as_val=${'$as_ac_Header'}
19731 $as_echo "$as_val"'`
19732 if test "x
$as_val" = x""yes; then
19733 cat >>confdefs.h <<_ACEOF
19734 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19744 *-pc-os2_emx | *-pc-os2-emx )
19745 if test $ac_cv_header_langinfo_h = "yes" \
19746 -a \( "$wx_cv_gccversion" = "EMX2
" \
19747 -o "$wx_cv_gccversion" = "EMX3
" \
19748 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19749 LIBS="$LIBS -lintl"
19754 if test "$USE_UNIX" = 1 ; then
19756 for ac_header in sys/select.h
19758 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19759 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
19760 $as_echo_n "checking
for $ac_header...
" >&6; }
19761 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19762 $as_echo_n "(cached
) " >&6
19764 cat >conftest.$ac_ext <<_ACEOF
19767 cat confdefs.h >>conftest.$ac_ext
19768 cat >>conftest.$ac_ext <<_ACEOF
19769 /* end confdefs.h. */
19770 $ac_includes_default
19772 #include <$ac_header>
19774 rm -f conftest.$ac_objext
19775 if { (ac_try="$ac_compile"
19776 case "(($ac_try" in
19777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19778 *) ac_try_echo=$ac_try;;
19780 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19781 $as_echo "$ac_try_echo") >&5
19782 (eval "$ac_compile") 2>conftest.er1
19784 grep -v '^ *+' conftest.er1 >conftest.err
19786 cat conftest.err >&5
19787 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19788 (exit $ac_status); } && {
19789 test -z "$ac_c_werror_flag" ||
19790 test ! -s conftest.err
19791 } && test -s conftest.$ac_objext; then
19792 eval "$as_ac_Header=yes"
19794 $as_echo "$as_me: failed program was
:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19797 eval "$as_ac_Header=no
"
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19802 ac_res=`eval 'as_val=${'$as_ac_Header'}
19803 $as_echo "$as_val"'`
19804 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
19805 $as_echo "$ac_res" >&6; }
19806 as_val=`eval 'as_val=${'$as_ac_Header'}
19807 $as_echo "$as_val"'`
19808 if test "x
$as_val" = x""yes; then
19809 cat >>confdefs.h <<_ACEOF
19810 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19820 { $as_echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19821 $as_echo_n "checking
for an ANSI C
-conforming const...
" >&6; }
19822 if test "${ac_cv_c_const+set}" = set; then
19823 $as_echo_n "(cached
) " >&6
19825 cat >conftest.$ac_ext <<_ACEOF
19828 cat confdefs.h >>conftest.$ac_ext
19829 cat >>conftest.$ac_ext <<_ACEOF
19830 /* end confdefs.h. */
19835 /* FIXME: Include the comments suggested by Paul. */
19836 #ifndef __cplusplus
19837 /* Ultrix mips cc rejects this. */
19838 typedef int charset[2];
19840 /* SunOS 4.1.1 cc rejects this. */
19841 char const *const *pcpcc;
19843 /* NEC SVR4.0.2 mips cc rejects this. */
19844 struct point {int x, y;};
19845 static struct point const zero = {0,0};
19846 /* AIX XL C 1.02.0.0 rejects this.
19847 It does not let you subtract one const X* pointer from another in
19848 an arm of an if-expression whose if-part is not a constant
19850 const char *g = "string
";
19851 pcpcc = &g + (g ? g-g : 0);
19852 /* HPUX 7.0 cc rejects these. */
19854 ppc = (char**) pcpcc;
19855 pcpcc = (char const *const *) ppc;
19856 { /* SCO 3.2v4 cc rejects this. */
19858 char const *s = 0 ? (char *) 0 : (char const *) 0;
19863 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19864 int x[] = {25, 17};
19865 const int *foo = &x[0];
19868 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19869 typedef const int *iptr;
19873 { /* AIX XL C 1.02.0.0 rejects this saying
19874 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19875 struct s { int j; const int *ap[3]; };
19876 struct s *b; b->j = 5;
19878 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19879 const int foo = 10;
19880 if (!foo) return 0;
19882 return !cs[0] && !zero.x;
19889 rm -f conftest.$ac_objext
19890 if { (ac_try="$ac_compile"
19891 case "(($ac_try" in
19892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19893 *) ac_try_echo=$ac_try;;
19895 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19896 $as_echo "$ac_try_echo") >&5
19897 (eval "$ac_compile") 2>conftest.er1
19899 grep -v '^ *+' conftest.er1 >conftest.err
19901 cat conftest.err >&5
19902 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19903 (exit $ac_status); } && {
19904 test -z "$ac_c_werror_flag" ||
19905 test ! -s conftest.err
19906 } && test -s conftest.$ac_objext; then
19909 $as_echo "$as_me: failed program was
:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19917 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19918 $as_echo "$ac_cv_c_const" >&6; }
19919 if test $ac_cv_c_const = no; then
19921 cat >>confdefs.h <<\_ACEOF
19927 { $as_echo "$as_me:$LINENO: checking
for inline
" >&5
19928 $as_echo_n "checking
for inline...
" >&6; }
19929 if test "${ac_cv_c_inline+set}" = set; then
19930 $as_echo_n "(cached
) " >&6
19933 for ac_kw in inline __inline__ __inline; do
19934 cat >conftest.$ac_ext <<_ACEOF
19937 cat confdefs.h >>conftest.$ac_ext
19938 cat >>conftest.$ac_ext <<_ACEOF
19939 /* end confdefs.h. */
19940 #ifndef __cplusplus
19942 static $ac_kw foo_t static_foo () {return 0; }
19943 $ac_kw foo_t foo () {return 0; }
19947 rm -f conftest.$ac_objext
19948 if { (ac_try="$ac_compile"
19949 case "(($ac_try" in
19950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19951 *) ac_try_echo=$ac_try;;
19953 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
19954 $as_echo "$ac_try_echo") >&5
19955 (eval "$ac_compile") 2>conftest.er1
19957 grep -v '^ *+' conftest.er1 >conftest.err
19959 cat conftest.err >&5
19960 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19961 (exit $ac_status); } && {
19962 test -z "$ac_c_werror_flag" ||
19963 test ! -s conftest.err
19964 } && test -s conftest.$ac_objext; then
19965 ac_cv_c_inline=$ac_kw
19967 $as_echo "$as_me: failed program was
:" >&5
19968 sed 's/^/| /' conftest.$ac_ext >&5
19973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19974 test "$ac_cv_c_inline" != no && break
19978 { $as_echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19979 $as_echo "$ac_cv_c_inline" >&6; }
19982 case $ac_cv_c_inline in
19985 case $ac_cv_c_inline in
19987 *) ac_val=$ac_cv_c_inline;;
19989 cat >>confdefs.h <<_ACEOF
19990 #ifndef __cplusplus
19991 #define inline $ac_val
19998 # The cast to long int works around a bug in the HP C Compiler
19999 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20000 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20001 # This bug is HP SR number 8606223364.
20002 { $as_echo "$as_me:$LINENO: checking size of short
" >&5
20003 $as_echo_n "checking size of short...
" >&6; }
20004 if test "${ac_cv_sizeof_short+set}" = set; then
20005 $as_echo_n "(cached
) " >&6
20007 if test "$cross_compiling" = yes; then
20008 # Depending upon the size, compute the lo and hi bounds.
20009 cat >conftest.$ac_ext <<_ACEOF
20012 cat confdefs.h >>conftest.$ac_ext
20013 cat >>conftest.$ac_ext <<_ACEOF
20014 /* end confdefs.h. */
20015 $ac_includes_default
20019 static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
20026 rm -f conftest.$ac_objext
20027 if { (ac_try="$ac_compile"
20028 case "(($ac_try" in
20029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20030 *) ac_try_echo=$ac_try;;
20032 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20033 $as_echo "$ac_try_echo") >&5
20034 (eval "$ac_compile") 2>conftest.er1
20036 grep -v '^ *+' conftest.er1 >conftest.err
20038 cat conftest.err >&5
20039 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20040 (exit $ac_status); } && {
20041 test -z "$ac_c_werror_flag" ||
20042 test ! -s conftest.err
20043 } && test -s conftest.$ac_objext; then
20046 cat >conftest.$ac_ext <<_ACEOF
20049 cat confdefs.h >>conftest.$ac_ext
20050 cat >>conftest.$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 $ac_includes_default
20056 static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
20063 rm -f conftest.$ac_objext
20064 if { (ac_try="$ac_compile"
20065 case "(($ac_try" in
20066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20067 *) ac_try_echo=$ac_try;;
20069 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20070 $as_echo "$ac_try_echo") >&5
20071 (eval "$ac_compile") 2>conftest.er1
20073 grep -v '^ *+' conftest.er1 >conftest.err
20075 cat conftest.err >&5
20076 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20077 (exit $ac_status); } && {
20078 test -z "$ac_c_werror_flag" ||
20079 test ! -s conftest.err
20080 } && test -s conftest.$ac_objext; then
20081 ac_hi=$ac_mid; break
20083 $as_echo "$as_me: failed program was
:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20086 ac_lo=`expr $ac_mid + 1`
20087 if test $ac_lo -le $ac_mid; then
20091 ac_mid=`expr 2 '*' $ac_mid + 1`
20094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20097 $as_echo "$as_me: failed program was
:" >&5
20098 sed 's/^/| /' conftest.$ac_ext >&5
20100 cat >conftest.$ac_ext <<_ACEOF
20103 cat confdefs.h >>conftest.$ac_ext
20104 cat >>conftest.$ac_ext <<_ACEOF
20105 /* end confdefs.h. */
20106 $ac_includes_default
20110 static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
20117 rm -f conftest.$ac_objext
20118 if { (ac_try="$ac_compile"
20119 case "(($ac_try" in
20120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20121 *) ac_try_echo=$ac_try;;
20123 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20124 $as_echo "$ac_try_echo") >&5
20125 (eval "$ac_compile") 2>conftest.er1
20127 grep -v '^ *+' conftest.er1 >conftest.err
20129 cat conftest.err >&5
20130 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20131 (exit $ac_status); } && {
20132 test -z "$ac_c_werror_flag" ||
20133 test ! -s conftest.err
20134 } && test -s conftest.$ac_objext; then
20137 cat >conftest.$ac_ext <<_ACEOF
20140 cat confdefs.h >>conftest.$ac_ext
20141 cat >>conftest.$ac_ext <<_ACEOF
20142 /* end confdefs.h. */
20143 $ac_includes_default
20147 static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
20154 rm -f conftest.$ac_objext
20155 if { (ac_try="$ac_compile"
20156 case "(($ac_try" in
20157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20160 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20161 $as_echo "$ac_try_echo") >&5
20162 (eval "$ac_compile") 2>conftest.er1
20164 grep -v '^ *+' conftest.er1 >conftest.err
20166 cat conftest.err >&5
20167 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20168 (exit $ac_status); } && {
20169 test -z "$ac_c_werror_flag" ||
20170 test ! -s conftest.err
20171 } && test -s conftest.$ac_objext; then
20172 ac_lo=$ac_mid; break
20174 $as_echo "$as_me: failed program was
:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20177 ac_hi=`expr '(' $ac_mid ')' - 1`
20178 if test $ac_mid -le $ac_hi; then
20182 ac_mid=`expr 2 '*' $ac_mid`
20185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20188 $as_echo "$as_me: failed program was
:" >&5
20189 sed 's/^/| /' conftest.$ac_ext >&5
20194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20198 # Binary search between lo and hi bounds.
20199 while test "x
$ac_lo" != "x
$ac_hi"; do
20200 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20201 cat >conftest.$ac_ext <<_ACEOF
20204 cat confdefs.h >>conftest.$ac_ext
20205 cat >>conftest.$ac_ext <<_ACEOF
20206 /* end confdefs.h. */
20207 $ac_includes_default
20211 static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
20218 rm -f conftest.$ac_objext
20219 if { (ac_try="$ac_compile"
20220 case "(($ac_try" in
20221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20222 *) ac_try_echo=$ac_try;;
20224 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20225 $as_echo "$ac_try_echo") >&5
20226 (eval "$ac_compile") 2>conftest.er1
20228 grep -v '^ *+' conftest.er1 >conftest.err
20230 cat conftest.err >&5
20231 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20232 (exit $ac_status); } && {
20233 test -z "$ac_c_werror_flag" ||
20234 test ! -s conftest.err
20235 } && test -s conftest.$ac_objext; then
20238 $as_echo "$as_me: failed program was
:" >&5
20239 sed 's/^/| /' conftest.$ac_ext >&5
20241 ac_lo=`expr '(' $ac_mid ')' + 1`
20244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247 ?*) ac_cv_sizeof_short=$ac_lo;;
20248 '') if test "$ac_cv_type_short" = yes; then
20249 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
20250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20251 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20252 See \`config.log' for more details.
" >&5
20253 $as_echo "$as_me: error
: cannot compute sizeof
(short
)
20254 See \
`config.log' for more details." >&2;}
20255 { (exit 77); exit 77; }; }; }
20257 ac_cv_sizeof_short=0
20261 cat >conftest.$ac_ext <<_ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 $ac_includes_default
20268 static long int longval () { return (long int) (sizeof (short)); }
20269 static unsigned long int ulongval () { return (long int) (sizeof (short)); }
20271 #include <stdlib.h>
20276 FILE *f = fopen ("conftest.val", "w");
20279 if (((long int) (sizeof (short))) < 0)
20281 long int i = longval ();
20282 if (i != ((long int) (sizeof (short))))
20284 fprintf (f, "%ld", i);
20288 unsigned long int i = ulongval ();
20289 if (i != ((long int) (sizeof (short))))
20291 fprintf (f, "%lu", i);
20293 /* Do not output a trailing newline, as this causes \r\n confusion
20294 on some platforms. */
20295 return ferror (f) || fclose (f) != 0;
20301 rm -f conftest$ac_exeext
20302 if { (ac_try="$ac_link"
20303 case "(($ac_try" in
20304 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20305 *) ac_try_echo
=$ac_try;;
20307 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20308 $as_echo "$ac_try_echo") >&5
20309 (eval "$ac_link") 2>&5
20311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20313 { (case "(($ac_try" in
20314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20315 *) ac_try_echo=$ac_try;;
20317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20318 $as_echo "$ac_try_echo") >&5
20319 (eval "$ac_try") 2>&5
20321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; }; then
20323 ac_cv_sizeof_short=`cat conftest.val
`
20325 $as_echo "$as_me: program exited with status $ac_status" >&5
20326 $as_echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20329 ( exit $ac_status )
20330 if test "$ac_cv_type_short" = yes; then
20331 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20333 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20334 See \
`config.log' for more details." >&5
20335 $as_echo "$as_me: error: cannot compute sizeof (short)
20336 See \`config.log
' for more details." >&2;}
20337 { (exit 77); exit 77; }; }; }
20339 ac_cv_sizeof_short=0
20342 rm -rf conftest.dSYM
20343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20347 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20348 $as_echo "$ac_cv_sizeof_short" >&6; }
20352 cat >>confdefs.h <<_ACEOF
20353 #define SIZEOF_SHORT $ac_cv_sizeof_short
20357 # The cast to long int works around a bug in the HP C Compiler
20358 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20359 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20360 # This bug is HP SR number 8606223364.
20361 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
20362 $as_echo_n "checking size of void *... " >&6; }
20363 if test "${ac_cv_sizeof_void_p+set}" = set; then
20364 $as_echo_n "(cached) " >&6
20366 if test "$cross_compiling" = yes; then
20367 # Depending upon the size, compute the lo and hi bounds.
20368 cat >conftest.
$ac_ext <<_ACEOF
20371 cat confdefs.h
>>conftest.
$ac_ext
20372 cat >>conftest.
$ac_ext <<_ACEOF
20373 /* end confdefs.h. */
20374 $ac_includes_default
20378 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
20385 rm -f conftest.
$ac_objext
20386 if { (ac_try
="$ac_compile"
20387 case "(($ac_try" in
20388 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20389 *) ac_try_echo=$ac_try;;
20391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20392 $as_echo "$ac_try_echo") >&5
20393 (eval "$ac_compile") 2>conftest.er1
20395 grep -v '^ *+' conftest.er1 >conftest.err
20397 cat conftest.err >&5
20398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); } && {
20400 test -z "$ac_c_werror_flag" ||
20401 test ! -s conftest.err
20402 } && test -s conftest.$ac_objext; then
20405 cat >conftest.$ac_ext <<_ACEOF
20408 cat confdefs.h >>conftest.$ac_ext
20409 cat >>conftest.$ac_ext <<_ACEOF
20410 /* end confdefs.h. */
20411 $ac_includes_default
20415 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
20422 rm -f conftest.$ac_objext
20423 if { (ac_try="$ac_compile"
20424 case "(($ac_try" in
20425 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20426 *) ac_try_echo
=$ac_try;;
20428 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20429 $as_echo "$ac_try_echo") >&5
20430 (eval "$ac_compile") 2>conftest.er1
20432 grep -v '^ *+' conftest.er1
>conftest.err
20434 cat conftest.err
>&5
20435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } && {
20437 test -z "$ac_c_werror_flag" ||
20438 test ! -s conftest.err
20439 } && test -s conftest.
$ac_objext; then
20440 ac_hi
=$ac_mid; break
20442 $as_echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.
$ac_ext >&5
20445 ac_lo
=`expr $ac_mid + 1`
20446 if test $ac_lo -le $ac_mid; then
20450 ac_mid
=`expr 2 '*' $ac_mid + 1`
20453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20456 $as_echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.
$ac_ext >&5
20459 cat >conftest.
$ac_ext <<_ACEOF
20462 cat confdefs.h
>>conftest.
$ac_ext
20463 cat >>conftest.
$ac_ext <<_ACEOF
20464 /* end confdefs.h. */
20465 $ac_includes_default
20469 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
20476 rm -f conftest.
$ac_objext
20477 if { (ac_try
="$ac_compile"
20478 case "(($ac_try" in
20479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20480 *) ac_try_echo=$ac_try;;
20482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20483 $as_echo "$ac_try_echo") >&5
20484 (eval "$ac_compile") 2>conftest.er1
20486 grep -v '^ *+' conftest.er1 >conftest.err
20488 cat conftest.err >&5
20489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); } && {
20491 test -z "$ac_c_werror_flag" ||
20492 test ! -s conftest.err
20493 } && test -s conftest.$ac_objext; then
20496 cat >conftest.$ac_ext <<_ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 $ac_includes_default
20506 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
20513 rm -f conftest.$ac_objext
20514 if { (ac_try="$ac_compile"
20515 case "(($ac_try" in
20516 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20517 *) ac_try_echo
=$ac_try;;
20519 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20520 $as_echo "$ac_try_echo") >&5
20521 (eval "$ac_compile") 2>conftest.er1
20523 grep -v '^ *+' conftest.er1
>conftest.err
20525 cat conftest.err
>&5
20526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); } && {
20528 test -z "$ac_c_werror_flag" ||
20529 test ! -s conftest.err
20530 } && test -s conftest.
$ac_objext; then
20531 ac_lo
=$ac_mid; break
20533 $as_echo "$as_me: failed program was:" >&5
20534 sed 's/^/| /' conftest.
$ac_ext >&5
20536 ac_hi
=`expr '(' $ac_mid ')' - 1`
20537 if test $ac_mid -le $ac_hi; then
20541 ac_mid
=`expr 2 '*' $ac_mid`
20544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20547 $as_echo "$as_me: failed program was:" >&5
20548 sed 's/^/| /' conftest.
$ac_ext >&5
20553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20557 # Binary search between lo and hi bounds.
20558 while test "x$ac_lo" != "x$ac_hi"; do
20559 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20560 cat >conftest.
$ac_ext <<_ACEOF
20563 cat confdefs.h
>>conftest.
$ac_ext
20564 cat >>conftest.
$ac_ext <<_ACEOF
20565 /* end confdefs.h. */
20566 $ac_includes_default
20570 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
20577 rm -f conftest.
$ac_objext
20578 if { (ac_try
="$ac_compile"
20579 case "(($ac_try" in
20580 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20581 *) ac_try_echo=$ac_try;;
20583 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20584 $as_echo "$ac_try_echo") >&5
20585 (eval "$ac_compile") 2>conftest.er1
20587 grep -v '^ *+' conftest.er1 >conftest.err
20589 cat conftest.err >&5
20590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } && {
20592 test -z "$ac_c_werror_flag" ||
20593 test ! -s conftest.err
20594 } && test -s conftest.$ac_objext; then
20597 $as_echo "$as_me: failed program was:" >&5
20598 sed 's/^/| /' conftest.$ac_ext >&5
20600 ac_lo=`expr '(' $ac_mid ')' + 1`
20603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20606 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20607 '') if test "$ac_cv_type_void_p" = yes; then
20608 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20610 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20611 See \
`config.log' for more details." >&5
20612 $as_echo "$as_me: error: cannot compute sizeof (void *)
20613 See \`config.log
' for more details." >&2;}
20614 { (exit 77); exit 77; }; }; }
20616 ac_cv_sizeof_void_p=0
20620 cat >conftest.$ac_ext <<_ACEOF
20623 cat confdefs.h >>conftest.$ac_ext
20624 cat >>conftest.$ac_ext <<_ACEOF
20625 /* end confdefs.h. */
20626 $ac_includes_default
20627 static long int longval () { return (long int) (sizeof (void *)); }
20628 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
20630 #include <stdlib.h>
20635 FILE *f = fopen ("conftest.val", "w");
20638 if (((long int) (sizeof (void *))) < 0)
20640 long int i = longval ();
20641 if (i != ((long int) (sizeof (void *))))
20643 fprintf (f, "%ld", i);
20647 unsigned long int i = ulongval ();
20648 if (i != ((long int) (sizeof (void *))))
20650 fprintf (f, "%lu", i);
20652 /* Do not output a trailing newline, as this causes \r\n confusion
20653 on some platforms. */
20654 return ferror (f) || fclose (f) != 0;
20660 rm -f conftest$ac_exeext
20661 if { (ac_try="$ac_link"
20662 case "(($ac_try" in
20663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20664 *) ac_try_echo=$ac_try;;
20666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20667 $as_echo "$ac_try_echo") >&5
20668 (eval "$ac_link") 2>&5
20670 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20672 { (case "(($ac_try" in
20673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20674 *) ac_try_echo=$ac_try;;
20676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20677 $as_echo "$ac_try_echo") >&5
20678 (eval "$ac_try") 2>&5
20680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); }; }; then
20682 ac_cv_sizeof_void_p=`cat conftest.val`
20684 $as_echo "$as_me: program exited with status $ac_status" >&5
20685 $as_echo "$as_me: failed program was:" >&5
20686 sed 's
/^
/| /' conftest.$ac_ext >&5
20688 ( exit $ac_status )
20689 if test "$ac_cv_type_void_p" = yes; then
20690 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20691 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20692 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20693 See \`config.log
' for more details." >&5
20694 $as_echo "$as_me: error: cannot compute sizeof (void *)
20695 See \`config.log' for more details.
" >&2;}
20696 { (exit 77); exit 77; }; }; }
20698 ac_cv_sizeof_void_p=0
20701 rm -rf conftest.dSYM
20702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20706 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_void_p" >&5
20707 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20711 cat >>confdefs.h <<_ACEOF
20712 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20716 # The cast to long int works around a bug in the HP C Compiler
20717 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20718 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20719 # This bug is HP SR number 8606223364.
20720 { $as_echo "$as_me:$LINENO: checking size of int
" >&5
20721 $as_echo_n "checking size of int...
" >&6; }
20722 if test "${ac_cv_sizeof_int+set}" = set; then
20723 $as_echo_n "(cached
) " >&6
20725 if test "$cross_compiling" = yes; then
20726 # Depending upon the size, compute the lo and hi bounds.
20727 cat >conftest.$ac_ext <<_ACEOF
20730 cat confdefs.h >>conftest.$ac_ext
20731 cat >>conftest.$ac_ext <<_ACEOF
20732 /* end confdefs.h. */
20733 $ac_includes_default
20737 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
20744 rm -f conftest.$ac_objext
20745 if { (ac_try="$ac_compile"
20746 case "(($ac_try" in
20747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20748 *) ac_try_echo=$ac_try;;
20750 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20751 $as_echo "$ac_try_echo") >&5
20752 (eval "$ac_compile") 2>conftest.er1
20754 grep -v '^ *+' conftest.er1 >conftest.err
20756 cat conftest.err >&5
20757 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20758 (exit $ac_status); } && {
20759 test -z "$ac_c_werror_flag" ||
20760 test ! -s conftest.err
20761 } && test -s conftest.$ac_objext; then
20764 cat >conftest.$ac_ext <<_ACEOF
20767 cat confdefs.h >>conftest.$ac_ext
20768 cat >>conftest.$ac_ext <<_ACEOF
20769 /* end confdefs.h. */
20770 $ac_includes_default
20774 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
20781 rm -f conftest.$ac_objext
20782 if { (ac_try="$ac_compile"
20783 case "(($ac_try" in
20784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20785 *) ac_try_echo=$ac_try;;
20787 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20788 $as_echo "$ac_try_echo") >&5
20789 (eval "$ac_compile") 2>conftest.er1
20791 grep -v '^ *+' conftest.er1 >conftest.err
20793 cat conftest.err >&5
20794 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20795 (exit $ac_status); } && {
20796 test -z "$ac_c_werror_flag" ||
20797 test ! -s conftest.err
20798 } && test -s conftest.$ac_objext; then
20799 ac_hi=$ac_mid; break
20801 $as_echo "$as_me: failed program was
:" >&5
20802 sed 's/^/| /' conftest.$ac_ext >&5
20804 ac_lo=`expr $ac_mid + 1`
20805 if test $ac_lo -le $ac_mid; then
20809 ac_mid=`expr 2 '*' $ac_mid + 1`
20812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20815 $as_echo "$as_me: failed program was
:" >&5
20816 sed 's/^/| /' conftest.$ac_ext >&5
20818 cat >conftest.$ac_ext <<_ACEOF
20821 cat confdefs.h >>conftest.$ac_ext
20822 cat >>conftest.$ac_ext <<_ACEOF
20823 /* end confdefs.h. */
20824 $ac_includes_default
20828 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
20835 rm -f conftest.$ac_objext
20836 if { (ac_try="$ac_compile"
20837 case "(($ac_try" in
20838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20839 *) ac_try_echo=$ac_try;;
20841 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20842 $as_echo "$ac_try_echo") >&5
20843 (eval "$ac_compile") 2>conftest.er1
20845 grep -v '^ *+' conftest.er1 >conftest.err
20847 cat conftest.err >&5
20848 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20849 (exit $ac_status); } && {
20850 test -z "$ac_c_werror_flag" ||
20851 test ! -s conftest.err
20852 } && test -s conftest.$ac_objext; then
20855 cat >conftest.$ac_ext <<_ACEOF
20858 cat confdefs.h >>conftest.$ac_ext
20859 cat >>conftest.$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20861 $ac_includes_default
20865 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
20872 rm -f conftest.$ac_objext
20873 if { (ac_try="$ac_compile"
20874 case "(($ac_try" in
20875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20876 *) ac_try_echo=$ac_try;;
20878 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20879 $as_echo "$ac_try_echo") >&5
20880 (eval "$ac_compile") 2>conftest.er1
20882 grep -v '^ *+' conftest.er1 >conftest.err
20884 cat conftest.err >&5
20885 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20886 (exit $ac_status); } && {
20887 test -z "$ac_c_werror_flag" ||
20888 test ! -s conftest.err
20889 } && test -s conftest.$ac_objext; then
20890 ac_lo=$ac_mid; break
20892 $as_echo "$as_me: failed program was
:" >&5
20893 sed 's/^/| /' conftest.$ac_ext >&5
20895 ac_hi=`expr '(' $ac_mid ')' - 1`
20896 if test $ac_mid -le $ac_hi; then
20900 ac_mid=`expr 2 '*' $ac_mid`
20903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20906 $as_echo "$as_me: failed program was
:" >&5
20907 sed 's/^/| /' conftest.$ac_ext >&5
20912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20916 # Binary search between lo and hi bounds.
20917 while test "x
$ac_lo" != "x
$ac_hi"; do
20918 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20919 cat >conftest.$ac_ext <<_ACEOF
20922 cat confdefs.h >>conftest.$ac_ext
20923 cat >>conftest.$ac_ext <<_ACEOF
20924 /* end confdefs.h. */
20925 $ac_includes_default
20929 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
20936 rm -f conftest.$ac_objext
20937 if { (ac_try="$ac_compile"
20938 case "(($ac_try" in
20939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20940 *) ac_try_echo=$ac_try;;
20942 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
20943 $as_echo "$ac_try_echo") >&5
20944 (eval "$ac_compile") 2>conftest.er1
20946 grep -v '^ *+' conftest.er1 >conftest.err
20948 cat conftest.err >&5
20949 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20950 (exit $ac_status); } && {
20951 test -z "$ac_c_werror_flag" ||
20952 test ! -s conftest.err
20953 } && test -s conftest.$ac_objext; then
20956 $as_echo "$as_me: failed program was
:" >&5
20957 sed 's/^/| /' conftest.$ac_ext >&5
20959 ac_lo=`expr '(' $ac_mid ')' + 1`
20962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20965 ?*) ac_cv_sizeof_int=$ac_lo;;
20966 '') if test "$ac_cv_type_int" = yes; then
20967 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
20968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20969 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20970 See \`config.log' for more details.
" >&5
20971 $as_echo "$as_me: error
: cannot compute sizeof
(int
)
20972 See \
`config.log' for more details." >&2;}
20973 { (exit 77); exit 77; }; }; }
20979 cat >conftest.$ac_ext <<_ACEOF
20982 cat confdefs.h >>conftest.$ac_ext
20983 cat >>conftest.$ac_ext <<_ACEOF
20984 /* end confdefs.h. */
20985 $ac_includes_default
20986 static long int longval () { return (long int) (sizeof (int)); }
20987 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
20989 #include <stdlib.h>
20994 FILE *f = fopen ("conftest.val", "w");
20997 if (((long int) (sizeof (int))) < 0)
20999 long int i = longval ();
21000 if (i != ((long int) (sizeof (int))))
21002 fprintf (f, "%ld", i);
21006 unsigned long int i = ulongval ();
21007 if (i != ((long int) (sizeof (int))))
21009 fprintf (f, "%lu", i);
21011 /* Do not output a trailing newline, as this causes \r\n confusion
21012 on some platforms. */
21013 return ferror (f) || fclose (f) != 0;
21019 rm -f conftest$ac_exeext
21020 if { (ac_try="$ac_link"
21021 case "(($ac_try" in
21022 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21023 *) ac_try_echo
=$ac_try;;
21025 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21026 $as_echo "$ac_try_echo") >&5
21027 (eval "$ac_link") 2>&5
21029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21031 { (case "(($ac_try" in
21032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21033 *) ac_try_echo=$ac_try;;
21035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21036 $as_echo "$ac_try_echo") >&5
21037 (eval "$ac_try") 2>&5
21039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); }; }; then
21041 ac_cv_sizeof_int=`cat conftest.val
`
21043 $as_echo "$as_me: program exited with status $ac_status" >&5
21044 $as_echo "$as_me: failed program was:" >&5
21045 sed 's/^/| /' conftest.$ac_ext >&5
21047 ( exit $ac_status )
21048 if test "$ac_cv_type_int" = yes; then
21049 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21051 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21052 See \
`config.log' for more details." >&5
21053 $as_echo "$as_me: error: cannot compute sizeof (int)
21054 See \`config.log
' for more details." >&2;}
21055 { (exit 77); exit 77; }; }; }
21060 rm -rf conftest.dSYM
21061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21065 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21066 $as_echo "$ac_cv_sizeof_int" >&6; }
21070 cat >>confdefs.h <<_ACEOF
21071 #define SIZEOF_INT $ac_cv_sizeof_int
21075 # The cast to long int works around a bug in the HP C Compiler
21076 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21077 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21078 # This bug is HP SR number 8606223364.
21079 { $as_echo "$as_me:$LINENO: checking size of long" >&5
21080 $as_echo_n "checking size of long... " >&6; }
21081 if test "${ac_cv_sizeof_long+set}" = set; then
21082 $as_echo_n "(cached) " >&6
21084 if test "$cross_compiling" = yes; then
21085 # Depending upon the size, compute the lo and hi bounds.
21086 cat >conftest.
$ac_ext <<_ACEOF
21089 cat confdefs.h
>>conftest.
$ac_ext
21090 cat >>conftest.
$ac_ext <<_ACEOF
21091 /* end confdefs.h. */
21092 $ac_includes_default
21096 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
21103 rm -f conftest.
$ac_objext
21104 if { (ac_try
="$ac_compile"
21105 case "(($ac_try" in
21106 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21107 *) ac_try_echo=$ac_try;;
21109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21110 $as_echo "$ac_try_echo") >&5
21111 (eval "$ac_compile") 2>conftest.er1
21113 grep -v '^ *+' conftest.er1 >conftest.err
21115 cat conftest.err >&5
21116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); } && {
21118 test -z "$ac_c_werror_flag" ||
21119 test ! -s conftest.err
21120 } && test -s conftest.$ac_objext; then
21123 cat >conftest.$ac_ext <<_ACEOF
21126 cat confdefs.h >>conftest.$ac_ext
21127 cat >>conftest.$ac_ext <<_ACEOF
21128 /* end confdefs.h. */
21129 $ac_includes_default
21133 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
21140 rm -f conftest.$ac_objext
21141 if { (ac_try="$ac_compile"
21142 case "(($ac_try" in
21143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21144 *) ac_try_echo
=$ac_try;;
21146 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21147 $as_echo "$ac_try_echo") >&5
21148 (eval "$ac_compile") 2>conftest.er1
21150 grep -v '^ *+' conftest.er1
>conftest.err
21152 cat conftest.err
>&5
21153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); } && {
21155 test -z "$ac_c_werror_flag" ||
21156 test ! -s conftest.err
21157 } && test -s conftest.
$ac_objext; then
21158 ac_hi
=$ac_mid; break
21160 $as_echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.
$ac_ext >&5
21163 ac_lo
=`expr $ac_mid + 1`
21164 if test $ac_lo -le $ac_mid; then
21168 ac_mid
=`expr 2 '*' $ac_mid + 1`
21171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21174 $as_echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.
$ac_ext >&5
21177 cat >conftest.
$ac_ext <<_ACEOF
21180 cat confdefs.h
>>conftest.
$ac_ext
21181 cat >>conftest.
$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21183 $ac_includes_default
21187 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
21194 rm -f conftest.
$ac_objext
21195 if { (ac_try
="$ac_compile"
21196 case "(($ac_try" in
21197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21198 *) ac_try_echo=$ac_try;;
21200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21201 $as_echo "$ac_try_echo") >&5
21202 (eval "$ac_compile") 2>conftest.er1
21204 grep -v '^ *+' conftest.er1 >conftest.err
21206 cat conftest.err >&5
21207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); } && {
21209 test -z "$ac_c_werror_flag" ||
21210 test ! -s conftest.err
21211 } && test -s conftest.$ac_objext; then
21214 cat >conftest.$ac_ext <<_ACEOF
21217 cat confdefs.h >>conftest.$ac_ext
21218 cat >>conftest.$ac_ext <<_ACEOF
21219 /* end confdefs.h. */
21220 $ac_includes_default
21224 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
21231 rm -f conftest.$ac_objext
21232 if { (ac_try="$ac_compile"
21233 case "(($ac_try" in
21234 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21235 *) ac_try_echo
=$ac_try;;
21237 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21238 $as_echo "$ac_try_echo") >&5
21239 (eval "$ac_compile") 2>conftest.er1
21241 grep -v '^ *+' conftest.er1
>conftest.err
21243 cat conftest.err
>&5
21244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); } && {
21246 test -z "$ac_c_werror_flag" ||
21247 test ! -s conftest.err
21248 } && test -s conftest.
$ac_objext; then
21249 ac_lo
=$ac_mid; break
21251 $as_echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.
$ac_ext >&5
21254 ac_hi
=`expr '(' $ac_mid ')' - 1`
21255 if test $ac_mid -le $ac_hi; then
21259 ac_mid
=`expr 2 '*' $ac_mid`
21262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21265 $as_echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.
$ac_ext >&5
21271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21275 # Binary search between lo and hi bounds.
21276 while test "x$ac_lo" != "x$ac_hi"; do
21277 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21278 cat >conftest.
$ac_ext <<_ACEOF
21281 cat confdefs.h
>>conftest.
$ac_ext
21282 cat >>conftest.
$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21284 $ac_includes_default
21288 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
21295 rm -f conftest.
$ac_objext
21296 if { (ac_try
="$ac_compile"
21297 case "(($ac_try" in
21298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21299 *) ac_try_echo=$ac_try;;
21301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21302 $as_echo "$ac_try_echo") >&5
21303 (eval "$ac_compile") 2>conftest.er1
21305 grep -v '^ *+' conftest.er1 >conftest.err
21307 cat conftest.err >&5
21308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); } && {
21310 test -z "$ac_c_werror_flag" ||
21311 test ! -s conftest.err
21312 } && test -s conftest.$ac_objext; then
21315 $as_echo "$as_me: failed program was:" >&5
21316 sed 's/^/| /' conftest.$ac_ext >&5
21318 ac_lo=`expr '(' $ac_mid ')' + 1`
21321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21324 ?*) ac_cv_sizeof_long=$ac_lo;;
21325 '') if test "$ac_cv_type_long" = yes; then
21326 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21328 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21329 See \
`config.log' for more details." >&5
21330 $as_echo "$as_me: error: cannot compute sizeof (long)
21331 See \`config.log
' for more details." >&2;}
21332 { (exit 77); exit 77; }; }; }
21334 ac_cv_sizeof_long=0
21338 cat >conftest.$ac_ext <<_ACEOF
21341 cat confdefs.h >>conftest.$ac_ext
21342 cat >>conftest.$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 $ac_includes_default
21345 static long int longval () { return (long int) (sizeof (long)); }
21346 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
21348 #include <stdlib.h>
21353 FILE *f = fopen ("conftest.val", "w");
21356 if (((long int) (sizeof (long))) < 0)
21358 long int i = longval ();
21359 if (i != ((long int) (sizeof (long))))
21361 fprintf (f, "%ld", i);
21365 unsigned long int i = ulongval ();
21366 if (i != ((long int) (sizeof (long))))
21368 fprintf (f, "%lu", i);
21370 /* Do not output a trailing newline, as this causes \r\n confusion
21371 on some platforms. */
21372 return ferror (f) || fclose (f) != 0;
21378 rm -f conftest$ac_exeext
21379 if { (ac_try="$ac_link"
21380 case "(($ac_try" in
21381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21382 *) ac_try_echo=$ac_try;;
21384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21385 $as_echo "$ac_try_echo") >&5
21386 (eval "$ac_link") 2>&5
21388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
21390 { (case "(($ac_try" in
21391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21392 *) ac_try_echo=$ac_try;;
21394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21395 $as_echo "$ac_try_echo") >&5
21396 (eval "$ac_try") 2>&5
21398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); }; }; then
21400 ac_cv_sizeof_long=`cat conftest.val`
21402 $as_echo "$as_me: program exited with status $ac_status" >&5
21403 $as_echo "$as_me: failed program was:" >&5
21404 sed 's
/^
/| /' conftest.$ac_ext >&5
21406 ( exit $ac_status )
21407 if test "$ac_cv_type_long" = yes; then
21408 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21409 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
21410 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21411 See \`config.log
' for more details." >&5
21412 $as_echo "$as_me: error: cannot compute sizeof (long)
21413 See \`config.log' for more details.
" >&2;}
21414 { (exit 77); exit 77; }; }; }
21416 ac_cv_sizeof_long=0
21419 rm -rf conftest.dSYM
21420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21424 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long" >&5
21425 $as_echo "$ac_cv_sizeof_long" >&6; }
21429 cat >>confdefs.h <<_ACEOF
21430 #define SIZEOF_LONG $ac_cv_sizeof_long
21434 # The cast to long int works around a bug in the HP C Compiler
21435 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21436 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21437 # This bug is HP SR number 8606223364.
21438 { $as_echo "$as_me:$LINENO: checking size of size_t
" >&5
21439 $as_echo_n "checking size of size_t...
" >&6; }
21440 if test "${ac_cv_sizeof_size_t+set}" = set; then
21441 $as_echo_n "(cached
) " >&6
21443 if test "$cross_compiling" = yes; then
21444 # Depending upon the size, compute the lo and hi bounds.
21445 cat >conftest.$ac_ext <<_ACEOF
21448 cat confdefs.h >>conftest.$ac_ext
21449 cat >>conftest.$ac_ext <<_ACEOF
21450 /* end confdefs.h. */
21451 $ac_includes_default
21455 static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) >= 0)];
21462 rm -f conftest.$ac_objext
21463 if { (ac_try="$ac_compile"
21464 case "(($ac_try" in
21465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21466 *) ac_try_echo=$ac_try;;
21468 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21469 $as_echo "$ac_try_echo") >&5
21470 (eval "$ac_compile") 2>conftest.er1
21472 grep -v '^ *+' conftest.er1 >conftest.err
21474 cat conftest.err >&5
21475 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21476 (exit $ac_status); } && {
21477 test -z "$ac_c_werror_flag" ||
21478 test ! -s conftest.err
21479 } && test -s conftest.$ac_objext; then
21482 cat >conftest.$ac_ext <<_ACEOF
21485 cat confdefs.h >>conftest.$ac_ext
21486 cat >>conftest.$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 $ac_includes_default
21492 static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= $ac_mid)];
21499 rm -f conftest.$ac_objext
21500 if { (ac_try="$ac_compile"
21501 case "(($ac_try" in
21502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21503 *) ac_try_echo=$ac_try;;
21505 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21506 $as_echo "$ac_try_echo") >&5
21507 (eval "$ac_compile") 2>conftest.er1
21509 grep -v '^ *+' conftest.er1 >conftest.err
21511 cat conftest.err >&5
21512 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21513 (exit $ac_status); } && {
21514 test -z "$ac_c_werror_flag" ||
21515 test ! -s conftest.err
21516 } && test -s conftest.$ac_objext; then
21517 ac_hi=$ac_mid; break
21519 $as_echo "$as_me: failed program was
:" >&5
21520 sed 's/^/| /' conftest.$ac_ext >&5
21522 ac_lo=`expr $ac_mid + 1`
21523 if test $ac_lo -le $ac_mid; then
21527 ac_mid=`expr 2 '*' $ac_mid + 1`
21530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21533 $as_echo "$as_me: failed program was
:" >&5
21534 sed 's/^/| /' conftest.$ac_ext >&5
21536 cat >conftest.$ac_ext <<_ACEOF
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 $ac_includes_default
21546 static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) < 0)];
21553 rm -f conftest.$ac_objext
21554 if { (ac_try="$ac_compile"
21555 case "(($ac_try" in
21556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21557 *) ac_try_echo=$ac_try;;
21559 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21560 $as_echo "$ac_try_echo") >&5
21561 (eval "$ac_compile") 2>conftest.er1
21563 grep -v '^ *+' conftest.er1 >conftest.err
21565 cat conftest.err >&5
21566 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21567 (exit $ac_status); } && {
21568 test -z "$ac_c_werror_flag" ||
21569 test ! -s conftest.err
21570 } && test -s conftest.$ac_objext; then
21573 cat >conftest.$ac_ext <<_ACEOF
21576 cat confdefs.h >>conftest.$ac_ext
21577 cat >>conftest.$ac_ext <<_ACEOF
21578 /* end confdefs.h. */
21579 $ac_includes_default
21583 static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) >= $ac_mid)];
21590 rm -f conftest.$ac_objext
21591 if { (ac_try="$ac_compile"
21592 case "(($ac_try" in
21593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21594 *) ac_try_echo=$ac_try;;
21596 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21597 $as_echo "$ac_try_echo") >&5
21598 (eval "$ac_compile") 2>conftest.er1
21600 grep -v '^ *+' conftest.er1 >conftest.err
21602 cat conftest.err >&5
21603 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21604 (exit $ac_status); } && {
21605 test -z "$ac_c_werror_flag" ||
21606 test ! -s conftest.err
21607 } && test -s conftest.$ac_objext; then
21608 ac_lo=$ac_mid; break
21610 $as_echo "$as_me: failed program was
:" >&5
21611 sed 's/^/| /' conftest.$ac_ext >&5
21613 ac_hi=`expr '(' $ac_mid ')' - 1`
21614 if test $ac_mid -le $ac_hi; then
21618 ac_mid=`expr 2 '*' $ac_mid`
21621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21624 $as_echo "$as_me: failed program was
:" >&5
21625 sed 's/^/| /' conftest.$ac_ext >&5
21630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21634 # Binary search between lo and hi bounds.
21635 while test "x
$ac_lo" != "x
$ac_hi"; do
21636 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21637 cat >conftest.$ac_ext <<_ACEOF
21640 cat confdefs.h >>conftest.$ac_ext
21641 cat >>conftest.$ac_ext <<_ACEOF
21642 /* end confdefs.h. */
21643 $ac_includes_default
21647 static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= $ac_mid)];
21654 rm -f conftest.$ac_objext
21655 if { (ac_try="$ac_compile"
21656 case "(($ac_try" in
21657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21658 *) ac_try_echo=$ac_try;;
21660 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21661 $as_echo "$ac_try_echo") >&5
21662 (eval "$ac_compile") 2>conftest.er1
21664 grep -v '^ *+' conftest.er1 >conftest.err
21666 cat conftest.err >&5
21667 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21668 (exit $ac_status); } && {
21669 test -z "$ac_c_werror_flag" ||
21670 test ! -s conftest.err
21671 } && test -s conftest.$ac_objext; then
21674 $as_echo "$as_me: failed program was
:" >&5
21675 sed 's/^/| /' conftest.$ac_ext >&5
21677 ac_lo=`expr '(' $ac_mid ')' + 1`
21680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21683 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21684 '') if test "$ac_cv_type_size_t" = yes; then
21685 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
21686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21687 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21688 See \`config.log' for more details.
" >&5
21689 $as_echo "$as_me: error
: cannot compute sizeof
(size_t
)
21690 See \
`config.log' for more details." >&2;}
21691 { (exit 77); exit 77; }; }; }
21693 ac_cv_sizeof_size_t=0
21697 cat >conftest.$ac_ext <<_ACEOF
21700 cat confdefs.h >>conftest.$ac_ext
21701 cat >>conftest.$ac_ext <<_ACEOF
21702 /* end confdefs.h. */
21703 $ac_includes_default
21704 static long int longval () { return (long int) (sizeof (size_t)); }
21705 static unsigned long int ulongval () { return (long int) (sizeof (size_t)); }
21707 #include <stdlib.h>
21712 FILE *f = fopen ("conftest.val", "w");
21715 if (((long int) (sizeof (size_t))) < 0)
21717 long int i = longval ();
21718 if (i != ((long int) (sizeof (size_t))))
21720 fprintf (f, "%ld", i);
21724 unsigned long int i = ulongval ();
21725 if (i != ((long int) (sizeof (size_t))))
21727 fprintf (f, "%lu", i);
21729 /* Do not output a trailing newline, as this causes \r\n confusion
21730 on some platforms. */
21731 return ferror (f) || fclose (f) != 0;
21737 rm -f conftest$ac_exeext
21738 if { (ac_try="$ac_link"
21739 case "(($ac_try" in
21740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21741 *) ac_try_echo
=$ac_try;;
21743 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21744 $as_echo "$ac_try_echo") >&5
21745 (eval "$ac_link") 2>&5
21747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
21749 { (case "(($ac_try" in
21750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21751 *) ac_try_echo=$ac_try;;
21753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21754 $as_echo "$ac_try_echo") >&5
21755 (eval "$ac_try") 2>&5
21757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; }; then
21759 ac_cv_sizeof_size_t=`cat conftest.val
`
21761 $as_echo "$as_me: program exited with status $ac_status" >&5
21762 $as_echo "$as_me: failed program was:" >&5
21763 sed 's/^/| /' conftest.$ac_ext >&5
21765 ( exit $ac_status )
21766 if test "$ac_cv_type_size_t" = yes; then
21767 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21769 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21770 See \
`config.log' for more details." >&5
21771 $as_echo "$as_me: error: cannot compute sizeof (size_t)
21772 See \`config.log
' for more details." >&2;}
21773 { (exit 77); exit 77; }; }; }
21775 ac_cv_sizeof_size_t=0
21778 rm -rf conftest.dSYM
21779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21783 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21784 $as_echo "$ac_cv_sizeof_size_t" >&6; }
21788 cat >>confdefs.h <<_ACEOF
21789 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21796 # The cast to long int works around a bug in the HP C Compiler
21797 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21798 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21799 # This bug is HP SR number 8606223364.
21800 { $as_echo "$as_me:$LINENO: checking size of long long" >&5
21801 $as_echo_n "checking size of long long... " >&6; }
21802 if test "${ac_cv_sizeof_long_long+set}" = set; then
21803 $as_echo_n "(cached) " >&6
21805 if test "$cross_compiling" = yes; then
21806 # Depending upon the size, compute the lo and hi bounds.
21807 cat >conftest.
$ac_ext <<_ACEOF
21810 cat confdefs.h
>>conftest.
$ac_ext
21811 cat >>conftest.
$ac_ext <<_ACEOF
21812 /* end confdefs.h. */
21813 $ac_includes_default
21817 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
21824 rm -f conftest.
$ac_objext
21825 if { (ac_try
="$ac_compile"
21826 case "(($ac_try" in
21827 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21828 *) ac_try_echo=$ac_try;;
21830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21831 $as_echo "$ac_try_echo") >&5
21832 (eval "$ac_compile") 2>conftest.er1
21834 grep -v '^ *+' conftest.er1 >conftest.err
21836 cat conftest.err >&5
21837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } && {
21839 test -z "$ac_c_werror_flag" ||
21840 test ! -s conftest.err
21841 } && test -s conftest.$ac_objext; then
21844 cat >conftest.$ac_ext <<_ACEOF
21847 cat confdefs.h >>conftest.$ac_ext
21848 cat >>conftest.$ac_ext <<_ACEOF
21849 /* end confdefs.h. */
21850 $ac_includes_default
21854 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
21861 rm -f conftest.$ac_objext
21862 if { (ac_try="$ac_compile"
21863 case "(($ac_try" in
21864 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21865 *) ac_try_echo
=$ac_try;;
21867 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21868 $as_echo "$ac_try_echo") >&5
21869 (eval "$ac_compile") 2>conftest.er1
21871 grep -v '^ *+' conftest.er1
>conftest.err
21873 cat conftest.err
>&5
21874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); } && {
21876 test -z "$ac_c_werror_flag" ||
21877 test ! -s conftest.err
21878 } && test -s conftest.
$ac_objext; then
21879 ac_hi
=$ac_mid; break
21881 $as_echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.
$ac_ext >&5
21884 ac_lo
=`expr $ac_mid + 1`
21885 if test $ac_lo -le $ac_mid; then
21889 ac_mid
=`expr 2 '*' $ac_mid + 1`
21892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21895 $as_echo "$as_me: failed program was:" >&5
21896 sed 's/^/| /' conftest.
$ac_ext >&5
21898 cat >conftest.
$ac_ext <<_ACEOF
21901 cat confdefs.h
>>conftest.
$ac_ext
21902 cat >>conftest.
$ac_ext <<_ACEOF
21903 /* end confdefs.h. */
21904 $ac_includes_default
21908 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
21915 rm -f conftest.
$ac_objext
21916 if { (ac_try
="$ac_compile"
21917 case "(($ac_try" in
21918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21919 *) ac_try_echo=$ac_try;;
21921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21922 $as_echo "$ac_try_echo") >&5
21923 (eval "$ac_compile") 2>conftest.er1
21925 grep -v '^ *+' conftest.er1 >conftest.err
21927 cat conftest.err >&5
21928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); } && {
21930 test -z "$ac_c_werror_flag" ||
21931 test ! -s conftest.err
21932 } && test -s conftest.$ac_objext; then
21935 cat >conftest.$ac_ext <<_ACEOF
21938 cat confdefs.h >>conftest.$ac_ext
21939 cat >>conftest.$ac_ext <<_ACEOF
21940 /* end confdefs.h. */
21941 $ac_includes_default
21945 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
21952 rm -f conftest.$ac_objext
21953 if { (ac_try="$ac_compile"
21954 case "(($ac_try" in
21955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21956 *) ac_try_echo
=$ac_try;;
21958 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21959 $as_echo "$ac_try_echo") >&5
21960 (eval "$ac_compile") 2>conftest.er1
21962 grep -v '^ *+' conftest.er1
>conftest.err
21964 cat conftest.err
>&5
21965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); } && {
21967 test -z "$ac_c_werror_flag" ||
21968 test ! -s conftest.err
21969 } && test -s conftest.
$ac_objext; then
21970 ac_lo
=$ac_mid; break
21972 $as_echo "$as_me: failed program was:" >&5
21973 sed 's/^/| /' conftest.
$ac_ext >&5
21975 ac_hi
=`expr '(' $ac_mid ')' - 1`
21976 if test $ac_mid -le $ac_hi; then
21980 ac_mid
=`expr 2 '*' $ac_mid`
21983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21986 $as_echo "$as_me: failed program was:" >&5
21987 sed 's/^/| /' conftest.
$ac_ext >&5
21992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21996 # Binary search between lo and hi bounds.
21997 while test "x$ac_lo" != "x$ac_hi"; do
21998 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21999 cat >conftest.
$ac_ext <<_ACEOF
22002 cat confdefs.h
>>conftest.
$ac_ext
22003 cat >>conftest.
$ac_ext <<_ACEOF
22004 /* end confdefs.h. */
22005 $ac_includes_default
22009 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
22016 rm -f conftest.
$ac_objext
22017 if { (ac_try
="$ac_compile"
22018 case "(($ac_try" in
22019 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22020 *) ac_try_echo=$ac_try;;
22022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22023 $as_echo "$ac_try_echo") >&5
22024 (eval "$ac_compile") 2>conftest.er1
22026 grep -v '^ *+' conftest.er1 >conftest.err
22028 cat conftest.err >&5
22029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030 (exit $ac_status); } && {
22031 test -z "$ac_c_werror_flag" ||
22032 test ! -s conftest.err
22033 } && test -s conftest.$ac_objext; then
22036 $as_echo "$as_me: failed program was:" >&5
22037 sed 's/^/| /' conftest.$ac_ext >&5
22039 ac_lo=`expr '(' $ac_mid ')' + 1`
22042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22045 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22046 '') if test "$ac_cv_type_long_long" = yes; then
22047 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
22048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22049 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22050 See \
`config.log' for more details." >&5
22051 $as_echo "$as_me: error: cannot compute sizeof (long long)
22052 See \`config.log
' for more details." >&2;}
22053 { (exit 77); exit 77; }; }; }
22055 ac_cv_sizeof_long_long=0
22059 cat >conftest.$ac_ext <<_ACEOF
22062 cat confdefs.h >>conftest.$ac_ext
22063 cat >>conftest.$ac_ext <<_ACEOF
22064 /* end confdefs.h. */
22065 $ac_includes_default
22066 static long int longval () { return (long int) (sizeof (long long)); }
22067 static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
22069 #include <stdlib.h>
22074 FILE *f = fopen ("conftest.val", "w");
22077 if (((long int) (sizeof (long long))) < 0)
22079 long int i = longval ();
22080 if (i != ((long int) (sizeof (long long))))
22082 fprintf (f, "%ld", i);
22086 unsigned long int i = ulongval ();
22087 if (i != ((long int) (sizeof (long long))))
22089 fprintf (f, "%lu", i);
22091 /* Do not output a trailing newline, as this causes \r\n confusion
22092 on some platforms. */
22093 return ferror (f) || fclose (f) != 0;
22099 rm -f conftest$ac_exeext
22100 if { (ac_try="$ac_link"
22101 case "(($ac_try" in
22102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22103 *) ac_try_echo=$ac_try;;
22105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22106 $as_echo "$ac_try_echo") >&5
22107 (eval "$ac_link") 2>&5
22109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22111 { (case "(($ac_try" in
22112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22113 *) ac_try_echo=$ac_try;;
22115 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22116 $as_echo "$ac_try_echo") >&5
22117 (eval "$ac_try") 2>&5
22119 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; }; then
22121 ac_cv_sizeof_long_long=`cat conftest.val`
22123 $as_echo "$as_me: program exited with status $ac_status" >&5
22124 $as_echo "$as_me: failed program was:" >&5
22125 sed 's
/^
/| /' conftest.$ac_ext >&5
22127 ( exit $ac_status )
22128 if test "$ac_cv_type_long_long" = yes; then
22129 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
22130 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
22131 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22132 See \`config.log
' for more details." >&5
22133 $as_echo "$as_me: error: cannot compute sizeof (long long)
22134 See \`config.log' for more details.
" >&2;}
22135 { (exit 77); exit 77; }; }; }
22137 ac_cv_sizeof_long_long=0
22140 rm -rf conftest.dSYM
22141 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22145 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_long" >&5
22146 $as_echo "$ac_cv_sizeof_long_long" >&6; }
22150 cat >>confdefs.h <<_ACEOF
22151 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22157 # The cast to long int works around a bug in the HP C Compiler
22158 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22159 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22160 # This bug is HP SR number 8606223364.
22161 { $as_echo "$as_me:$LINENO: checking size of long long
" >&5
22162 $as_echo_n "checking size of long long...
" >&6; }
22163 if test "${ac_cv_sizeof_long_long+set}" = set; then
22164 $as_echo_n "(cached
) " >&6
22166 if test "$cross_compiling" = yes; then
22167 # Depending upon the size, compute the lo and hi bounds.
22168 cat >conftest.$ac_ext <<_ACEOF
22171 cat confdefs.h >>conftest.$ac_ext
22172 cat >>conftest.$ac_ext <<_ACEOF
22173 /* end confdefs.h. */
22174 $ac_includes_default
22178 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
22185 rm -f conftest.$ac_objext
22186 if { (ac_try="$ac_compile"
22187 case "(($ac_try" in
22188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22189 *) ac_try_echo=$ac_try;;
22191 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22192 $as_echo "$ac_try_echo") >&5
22193 (eval "$ac_compile") 2>conftest.er1
22195 grep -v '^ *+' conftest.er1 >conftest.err
22197 cat conftest.err >&5
22198 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22199 (exit $ac_status); } && {
22200 test -z "$ac_c_werror_flag" ||
22201 test ! -s conftest.err
22202 } && test -s conftest.$ac_objext; then
22205 cat >conftest.$ac_ext <<_ACEOF
22208 cat confdefs.h >>conftest.$ac_ext
22209 cat >>conftest.$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 $ac_includes_default
22215 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
22222 rm -f conftest.$ac_objext
22223 if { (ac_try="$ac_compile"
22224 case "(($ac_try" in
22225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22226 *) ac_try_echo=$ac_try;;
22228 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22229 $as_echo "$ac_try_echo") >&5
22230 (eval "$ac_compile") 2>conftest.er1
22232 grep -v '^ *+' conftest.er1 >conftest.err
22234 cat conftest.err >&5
22235 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22236 (exit $ac_status); } && {
22237 test -z "$ac_c_werror_flag" ||
22238 test ! -s conftest.err
22239 } && test -s conftest.$ac_objext; then
22240 ac_hi=$ac_mid; break
22242 $as_echo "$as_me: failed program was
:" >&5
22243 sed 's/^/| /' conftest.$ac_ext >&5
22245 ac_lo=`expr $ac_mid + 1`
22246 if test $ac_lo -le $ac_mid; then
22250 ac_mid=`expr 2 '*' $ac_mid + 1`
22253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22256 $as_echo "$as_me: failed program was
:" >&5
22257 sed 's/^/| /' conftest.$ac_ext >&5
22259 cat >conftest.$ac_ext <<_ACEOF
22262 cat confdefs.h >>conftest.$ac_ext
22263 cat >>conftest.$ac_ext <<_ACEOF
22264 /* end confdefs.h. */
22265 $ac_includes_default
22269 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
22276 rm -f conftest.$ac_objext
22277 if { (ac_try="$ac_compile"
22278 case "(($ac_try" in
22279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22280 *) ac_try_echo=$ac_try;;
22282 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22283 $as_echo "$ac_try_echo") >&5
22284 (eval "$ac_compile") 2>conftest.er1
22286 grep -v '^ *+' conftest.er1 >conftest.err
22288 cat conftest.err >&5
22289 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22290 (exit $ac_status); } && {
22291 test -z "$ac_c_werror_flag" ||
22292 test ! -s conftest.err
22293 } && test -s conftest.$ac_objext; then
22296 cat >conftest.$ac_ext <<_ACEOF
22299 cat confdefs.h >>conftest.$ac_ext
22300 cat >>conftest.$ac_ext <<_ACEOF
22301 /* end confdefs.h. */
22302 $ac_includes_default
22306 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
22313 rm -f conftest.$ac_objext
22314 if { (ac_try="$ac_compile"
22315 case "(($ac_try" in
22316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22317 *) ac_try_echo=$ac_try;;
22319 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22320 $as_echo "$ac_try_echo") >&5
22321 (eval "$ac_compile") 2>conftest.er1
22323 grep -v '^ *+' conftest.er1 >conftest.err
22325 cat conftest.err >&5
22326 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22327 (exit $ac_status); } && {
22328 test -z "$ac_c_werror_flag" ||
22329 test ! -s conftest.err
22330 } && test -s conftest.$ac_objext; then
22331 ac_lo=$ac_mid; break
22333 $as_echo "$as_me: failed program was
:" >&5
22334 sed 's/^/| /' conftest.$ac_ext >&5
22336 ac_hi=`expr '(' $ac_mid ')' - 1`
22337 if test $ac_mid -le $ac_hi; then
22341 ac_mid=`expr 2 '*' $ac_mid`
22344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22347 $as_echo "$as_me: failed program was
:" >&5
22348 sed 's/^/| /' conftest.$ac_ext >&5
22353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22357 # Binary search between lo and hi bounds.
22358 while test "x
$ac_lo" != "x
$ac_hi"; do
22359 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22360 cat >conftest.$ac_ext <<_ACEOF
22363 cat confdefs.h >>conftest.$ac_ext
22364 cat >>conftest.$ac_ext <<_ACEOF
22365 /* end confdefs.h. */
22366 $ac_includes_default
22370 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
22377 rm -f conftest.$ac_objext
22378 if { (ac_try="$ac_compile"
22379 case "(($ac_try" in
22380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22381 *) ac_try_echo=$ac_try;;
22383 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22384 $as_echo "$ac_try_echo") >&5
22385 (eval "$ac_compile") 2>conftest.er1
22387 grep -v '^ *+' conftest.er1 >conftest.err
22389 cat conftest.err >&5
22390 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22391 (exit $ac_status); } && {
22392 test -z "$ac_c_werror_flag" ||
22393 test ! -s conftest.err
22394 } && test -s conftest.$ac_objext; then
22397 $as_echo "$as_me: failed program was
:" >&5
22398 sed 's/^/| /' conftest.$ac_ext >&5
22400 ac_lo=`expr '(' $ac_mid ')' + 1`
22403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22406 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22407 '') if test "$ac_cv_type_long_long" = yes; then
22408 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
22409 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22410 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22411 See \`config.log' for more details.
" >&5
22412 $as_echo "$as_me: error
: cannot compute sizeof
(long long
)
22413 See \
`config.log' for more details." >&2;}
22414 { (exit 77); exit 77; }; }; }
22416 ac_cv_sizeof_long_long=0
22420 cat >conftest.$ac_ext <<_ACEOF
22423 cat confdefs.h >>conftest.$ac_ext
22424 cat >>conftest.$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22426 $ac_includes_default
22427 static long int longval () { return (long int) (sizeof (long long)); }
22428 static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
22430 #include <stdlib.h>
22435 FILE *f = fopen ("conftest.val", "w");
22438 if (((long int) (sizeof (long long))) < 0)
22440 long int i = longval ();
22441 if (i != ((long int) (sizeof (long long))))
22443 fprintf (f, "%ld", i);
22447 unsigned long int i = ulongval ();
22448 if (i != ((long int) (sizeof (long long))))
22450 fprintf (f, "%lu", i);
22452 /* Do not output a trailing newline, as this causes \r\n confusion
22453 on some platforms. */
22454 return ferror (f) || fclose (f) != 0;
22460 rm -f conftest$ac_exeext
22461 if { (ac_try="$ac_link"
22462 case "(($ac_try" in
22463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22464 *) ac_try_echo
=$ac_try;;
22466 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22467 $as_echo "$ac_try_echo") >&5
22468 (eval "$ac_link") 2>&5
22470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
22472 { (case "(($ac_try" in
22473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22474 *) ac_try_echo=$ac_try;;
22476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22477 $as_echo "$ac_try_echo") >&5
22478 (eval "$ac_try") 2>&5
22480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; }; then
22482 ac_cv_sizeof_long_long=`cat conftest.val
`
22484 $as_echo "$as_me: program exited with status $ac_status" >&5
22485 $as_echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.$ac_ext >&5
22488 ( exit $ac_status )
22489 if test "$ac_cv_type_long_long" = yes; then
22490 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
22491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22492 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22493 See \
`config.log' for more details." >&5
22494 $as_echo "$as_me: error: cannot compute sizeof (long long)
22495 See \`config.log
' for more details." >&2;}
22496 { (exit 77); exit 77; }; }; }
22498 ac_cv_sizeof_long_long=0
22501 rm -rf conftest.dSYM
22502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22506 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22507 $as_echo "$ac_cv_sizeof_long_long" >&6; }
22511 cat >>confdefs.h <<_ACEOF
22512 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22516 if test "$ac_cv_sizeof_long_long" != 0; then
22517 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22521 # The cast to long int works around a bug in the HP C Compiler
22522 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22523 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22524 # This bug is HP SR number 8606223364.
22525 { $as_echo "$as_me:$LINENO: checking size of long long" >&5
22526 $as_echo_n "checking size of long long... " >&6; }
22527 if test "${ac_cv_sizeof_long_long+set}" = set; then
22528 $as_echo_n "(cached) " >&6
22530 if test "$cross_compiling" = yes; then
22531 # Depending upon the size, compute the lo and hi bounds.
22532 cat >conftest.
$ac_ext <<_ACEOF
22535 cat confdefs.h
>>conftest.
$ac_ext
22536 cat >>conftest.
$ac_ext <<_ACEOF
22537 /* end confdefs.h. */
22538 $ac_includes_default
22542 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
22549 rm -f conftest.
$ac_objext
22550 if { (ac_try
="$ac_compile"
22551 case "(($ac_try" in
22552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22553 *) ac_try_echo=$ac_try;;
22555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22556 $as_echo "$ac_try_echo") >&5
22557 (eval "$ac_compile") 2>conftest.er1
22559 grep -v '^ *+' conftest.er1 >conftest.err
22561 cat conftest.err >&5
22562 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); } && {
22564 test -z "$ac_c_werror_flag" ||
22565 test ! -s conftest.err
22566 } && test -s conftest.$ac_objext; then
22569 cat >conftest.$ac_ext <<_ACEOF
22572 cat confdefs.h >>conftest.$ac_ext
22573 cat >>conftest.$ac_ext <<_ACEOF
22574 /* end confdefs.h. */
22575 $ac_includes_default
22579 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
22586 rm -f conftest.$ac_objext
22587 if { (ac_try="$ac_compile"
22588 case "(($ac_try" in
22589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22590 *) ac_try_echo
=$ac_try;;
22592 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22593 $as_echo "$ac_try_echo") >&5
22594 (eval "$ac_compile") 2>conftest.er1
22596 grep -v '^ *+' conftest.er1
>conftest.err
22598 cat conftest.err
>&5
22599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); } && {
22601 test -z "$ac_c_werror_flag" ||
22602 test ! -s conftest.err
22603 } && test -s conftest.
$ac_objext; then
22604 ac_hi
=$ac_mid; break
22606 $as_echo "$as_me: failed program was:" >&5
22607 sed 's/^/| /' conftest.
$ac_ext >&5
22609 ac_lo
=`expr $ac_mid + 1`
22610 if test $ac_lo -le $ac_mid; then
22614 ac_mid
=`expr 2 '*' $ac_mid + 1`
22617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22620 $as_echo "$as_me: failed program was:" >&5
22621 sed 's/^/| /' conftest.
$ac_ext >&5
22623 cat >conftest.
$ac_ext <<_ACEOF
22626 cat confdefs.h
>>conftest.
$ac_ext
22627 cat >>conftest.
$ac_ext <<_ACEOF
22628 /* end confdefs.h. */
22629 $ac_includes_default
22633 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
22640 rm -f conftest.
$ac_objext
22641 if { (ac_try
="$ac_compile"
22642 case "(($ac_try" in
22643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22644 *) ac_try_echo=$ac_try;;
22646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22647 $as_echo "$ac_try_echo") >&5
22648 (eval "$ac_compile") 2>conftest.er1
22650 grep -v '^ *+' conftest.er1 >conftest.err
22652 cat conftest.err >&5
22653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22654 (exit $ac_status); } && {
22655 test -z "$ac_c_werror_flag" ||
22656 test ! -s conftest.err
22657 } && test -s conftest.$ac_objext; then
22660 cat >conftest.$ac_ext <<_ACEOF
22663 cat confdefs.h >>conftest.$ac_ext
22664 cat >>conftest.$ac_ext <<_ACEOF
22665 /* end confdefs.h. */
22666 $ac_includes_default
22670 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
22677 rm -f conftest.$ac_objext
22678 if { (ac_try="$ac_compile"
22679 case "(($ac_try" in
22680 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22681 *) ac_try_echo
=$ac_try;;
22683 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22684 $as_echo "$ac_try_echo") >&5
22685 (eval "$ac_compile") 2>conftest.er1
22687 grep -v '^ *+' conftest.er1
>conftest.err
22689 cat conftest.err
>&5
22690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); } && {
22692 test -z "$ac_c_werror_flag" ||
22693 test ! -s conftest.err
22694 } && test -s conftest.
$ac_objext; then
22695 ac_lo
=$ac_mid; break
22697 $as_echo "$as_me: failed program was:" >&5
22698 sed 's/^/| /' conftest.
$ac_ext >&5
22700 ac_hi
=`expr '(' $ac_mid ')' - 1`
22701 if test $ac_mid -le $ac_hi; then
22705 ac_mid
=`expr 2 '*' $ac_mid`
22708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22711 $as_echo "$as_me: failed program was:" >&5
22712 sed 's/^/| /' conftest.
$ac_ext >&5
22717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22721 # Binary search between lo and hi bounds.
22722 while test "x$ac_lo" != "x$ac_hi"; do
22723 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22724 cat >conftest.
$ac_ext <<_ACEOF
22727 cat confdefs.h
>>conftest.
$ac_ext
22728 cat >>conftest.
$ac_ext <<_ACEOF
22729 /* end confdefs.h. */
22730 $ac_includes_default
22734 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
22741 rm -f conftest.
$ac_objext
22742 if { (ac_try
="$ac_compile"
22743 case "(($ac_try" in
22744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22745 *) ac_try_echo=$ac_try;;
22747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22748 $as_echo "$ac_try_echo") >&5
22749 (eval "$ac_compile") 2>conftest.er1
22751 grep -v '^ *+' conftest.er1 >conftest.err
22753 cat conftest.err >&5
22754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); } && {
22756 test -z "$ac_c_werror_flag" ||
22757 test ! -s conftest.err
22758 } && test -s conftest.$ac_objext; then
22761 $as_echo "$as_me: failed program was:" >&5
22762 sed 's/^/| /' conftest.$ac_ext >&5
22764 ac_lo=`expr '(' $ac_mid ')' + 1`
22767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22770 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22771 '') if test "$ac_cv_type_long_long" = yes; then
22772 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
22773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22774 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22775 See \
`config.log' for more details." >&5
22776 $as_echo "$as_me: error: cannot compute sizeof (long long)
22777 See \`config.log
' for more details." >&2;}
22778 { (exit 77); exit 77; }; }; }
22780 ac_cv_sizeof_long_long=0
22784 cat >conftest.$ac_ext <<_ACEOF
22787 cat confdefs.h >>conftest.$ac_ext
22788 cat >>conftest.$ac_ext <<_ACEOF
22789 /* end confdefs.h. */
22790 $ac_includes_default
22791 static long int longval () { return (long int) (sizeof (long long)); }
22792 static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
22794 #include <stdlib.h>
22799 FILE *f = fopen ("conftest.val", "w");
22802 if (((long int) (sizeof (long long))) < 0)
22804 long int i = longval ();
22805 if (i != ((long int) (sizeof (long long))))
22807 fprintf (f, "%ld", i);
22811 unsigned long int i = ulongval ();
22812 if (i != ((long int) (sizeof (long long))))
22814 fprintf (f, "%lu", i);
22816 /* Do not output a trailing newline, as this causes \r\n confusion
22817 on some platforms. */
22818 return ferror (f) || fclose (f) != 0;
22824 rm -f conftest$ac_exeext
22825 if { (ac_try="$ac_link"
22826 case "(($ac_try" in
22827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22828 *) ac_try_echo=$ac_try;;
22830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22831 $as_echo "$ac_try_echo") >&5
22832 (eval "$ac_link") 2>&5
22834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
22836 { (case "(($ac_try" in
22837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22838 *) ac_try_echo=$ac_try;;
22840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22841 $as_echo "$ac_try_echo") >&5
22842 (eval "$ac_try") 2>&5
22844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); }; }; then
22846 ac_cv_sizeof_long_long=`cat conftest.val`
22848 $as_echo "$as_me: program exited with status $ac_status" >&5
22849 $as_echo "$as_me: failed program was:" >&5
22850 sed 's
/^
/| /' conftest.$ac_ext >&5
22852 ( exit $ac_status )
22853 if test "$ac_cv_type_long_long" = yes; then
22854 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
22855 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
22856 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22857 See \`config.log
' for more details." >&5
22858 $as_echo "$as_me: error: cannot compute sizeof (long long)
22859 See \`config.log' for more details.
" >&2;}
22860 { (exit 77); exit 77; }; }; }
22862 ac_cv_sizeof_long_long=0
22865 rm -rf conftest.dSYM
22866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22870 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long_long" >&5
22871 $as_echo "$ac_cv_sizeof_long_long" >&6; }
22875 cat >>confdefs.h <<_ACEOF
22876 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22882 # The cast to long int works around a bug in the HP C Compiler
22883 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22884 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22885 # This bug is HP SR number 8606223364.
22886 { $as_echo "$as_me:$LINENO: checking size of wchar_t
" >&5
22887 $as_echo_n "checking size of wchar_t...
" >&6; }
22888 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22889 $as_echo_n "(cached
) " >&6
22891 if test "$cross_compiling" = yes; then
22892 # Depending upon the size, compute the lo and hi bounds.
22893 cat >conftest.$ac_ext <<_ACEOF
22896 cat confdefs.h >>conftest.$ac_ext
22897 cat >>conftest.$ac_ext <<_ACEOF
22898 /* end confdefs.h. */
22900 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22901 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22902 # error "fake wchar_t
"
22904 #ifdef HAVE_WCHAR_H
22906 # include <stddef.h>
22908 # include <wchar.h>
22910 #ifdef HAVE_STDLIB_H
22911 # include <stdlib.h>
22920 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) >= 0)];
22927 rm -f conftest.$ac_objext
22928 if { (ac_try="$ac_compile"
22929 case "(($ac_try" in
22930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22931 *) ac_try_echo=$ac_try;;
22933 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22934 $as_echo "$ac_try_echo") >&5
22935 (eval "$ac_compile") 2>conftest.er1
22937 grep -v '^ *+' conftest.er1 >conftest.err
22939 cat conftest.err >&5
22940 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22941 (exit $ac_status); } && {
22942 test -z "$ac_c_werror_flag" ||
22943 test ! -s conftest.err
22944 } && test -s conftest.$ac_objext; then
22947 cat >conftest.$ac_ext <<_ACEOF
22950 cat confdefs.h >>conftest.$ac_ext
22951 cat >>conftest.$ac_ext <<_ACEOF
22952 /* end confdefs.h. */
22954 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22955 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22956 # error "fake wchar_t
"
22958 #ifdef HAVE_WCHAR_H
22960 # include <stddef.h>
22962 # include <wchar.h>
22964 #ifdef HAVE_STDLIB_H
22965 # include <stdlib.h>
22974 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) <= $ac_mid)];
22981 rm -f conftest.$ac_objext
22982 if { (ac_try="$ac_compile"
22983 case "(($ac_try" in
22984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22985 *) ac_try_echo=$ac_try;;
22987 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22988 $as_echo "$ac_try_echo") >&5
22989 (eval "$ac_compile") 2>conftest.er1
22991 grep -v '^ *+' conftest.er1 >conftest.err
22993 cat conftest.err >&5
22994 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22995 (exit $ac_status); } && {
22996 test -z "$ac_c_werror_flag" ||
22997 test ! -s conftest.err
22998 } && test -s conftest.$ac_objext; then
22999 ac_hi=$ac_mid; break
23001 $as_echo "$as_me: failed program was
:" >&5
23002 sed 's/^/| /' conftest.$ac_ext >&5
23004 ac_lo=`expr $ac_mid + 1`
23005 if test $ac_lo -le $ac_mid; then
23009 ac_mid=`expr 2 '*' $ac_mid + 1`
23012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23015 $as_echo "$as_me: failed program was
:" >&5
23016 sed 's/^/| /' conftest.$ac_ext >&5
23018 cat >conftest.$ac_ext <<_ACEOF
23021 cat confdefs.h >>conftest.$ac_ext
23022 cat >>conftest.$ac_ext <<_ACEOF
23023 /* end confdefs.h. */
23025 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23026 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23027 # error "fake wchar_t
"
23029 #ifdef HAVE_WCHAR_H
23031 # include <stddef.h>
23033 # include <wchar.h>
23035 #ifdef HAVE_STDLIB_H
23036 # include <stdlib.h>
23045 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) < 0)];
23052 rm -f conftest.$ac_objext
23053 if { (ac_try="$ac_compile"
23054 case "(($ac_try" in
23055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23056 *) ac_try_echo=$ac_try;;
23058 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23059 $as_echo "$ac_try_echo") >&5
23060 (eval "$ac_compile") 2>conftest.er1
23062 grep -v '^ *+' conftest.er1 >conftest.err
23064 cat conftest.err >&5
23065 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23066 (exit $ac_status); } && {
23067 test -z "$ac_c_werror_flag" ||
23068 test ! -s conftest.err
23069 } && test -s conftest.$ac_objext; then
23072 cat >conftest.$ac_ext <<_ACEOF
23075 cat confdefs.h >>conftest.$ac_ext
23076 cat >>conftest.$ac_ext <<_ACEOF
23077 /* end confdefs.h. */
23079 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23080 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23081 # error "fake wchar_t
"
23083 #ifdef HAVE_WCHAR_H
23085 # include <stddef.h>
23087 # include <wchar.h>
23089 #ifdef HAVE_STDLIB_H
23090 # include <stdlib.h>
23099 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) >= $ac_mid)];
23106 rm -f conftest.$ac_objext
23107 if { (ac_try="$ac_compile"
23108 case "(($ac_try" in
23109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23110 *) ac_try_echo=$ac_try;;
23112 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23113 $as_echo "$ac_try_echo") >&5
23114 (eval "$ac_compile") 2>conftest.er1
23116 grep -v '^ *+' conftest.er1 >conftest.err
23118 cat conftest.err >&5
23119 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23120 (exit $ac_status); } && {
23121 test -z "$ac_c_werror_flag" ||
23122 test ! -s conftest.err
23123 } && test -s conftest.$ac_objext; then
23124 ac_lo=$ac_mid; break
23126 $as_echo "$as_me: failed program was
:" >&5
23127 sed 's/^/| /' conftest.$ac_ext >&5
23129 ac_hi=`expr '(' $ac_mid ')' - 1`
23130 if test $ac_mid -le $ac_hi; then
23134 ac_mid=`expr 2 '*' $ac_mid`
23137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23140 $as_echo "$as_me: failed program was
:" >&5
23141 sed 's/^/| /' conftest.$ac_ext >&5
23146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23150 # Binary search between lo and hi bounds.
23151 while test "x
$ac_lo" != "x
$ac_hi"; do
23152 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23153 cat >conftest.$ac_ext <<_ACEOF
23156 cat confdefs.h >>conftest.$ac_ext
23157 cat >>conftest.$ac_ext <<_ACEOF
23158 /* end confdefs.h. */
23160 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23161 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23162 # error "fake wchar_t
"
23164 #ifdef HAVE_WCHAR_H
23166 # include <stddef.h>
23168 # include <wchar.h>
23170 #ifdef HAVE_STDLIB_H
23171 # include <stdlib.h>
23180 static int test_array [1 - 2 * !(((long int) (sizeof (wchar_t))) <= $ac_mid)];
23187 rm -f conftest.$ac_objext
23188 if { (ac_try="$ac_compile"
23189 case "(($ac_try" in
23190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23191 *) ac_try_echo=$ac_try;;
23193 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23194 $as_echo "$ac_try_echo") >&5
23195 (eval "$ac_compile") 2>conftest.er1
23197 grep -v '^ *+' conftest.er1 >conftest.err
23199 cat conftest.err >&5
23200 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23201 (exit $ac_status); } && {
23202 test -z "$ac_c_werror_flag" ||
23203 test ! -s conftest.err
23204 } && test -s conftest.$ac_objext; then
23207 $as_echo "$as_me: failed program was
:" >&5
23208 sed 's/^/| /' conftest.$ac_ext >&5
23210 ac_lo=`expr '(' $ac_mid ')' + 1`
23213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23216 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23217 '') if test "$ac_cv_type_wchar_t" = yes; then
23218 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
23219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23220 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23221 See \`config.log' for more details.
" >&5
23222 $as_echo "$as_me: error
: cannot compute sizeof
(wchar_t
)
23223 See \
`config.log' for more details." >&2;}
23224 { (exit 77); exit 77; }; }; }
23226 ac_cv_sizeof_wchar_t=0
23230 cat >conftest.$ac_ext <<_ACEOF
23233 cat confdefs.h >>conftest.$ac_ext
23234 cat >>conftest.$ac_ext <<_ACEOF
23235 /* end confdefs.h. */
23237 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23238 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23239 # error "fake wchar_t"
23241 #ifdef HAVE_WCHAR_H
23243 # include <stddef.h>
23245 # include <wchar.h>
23247 #ifdef HAVE_STDLIB_H
23248 # include <stdlib.h>
23254 static long int longval () { return (long int) (sizeof (wchar_t)); }
23255 static unsigned long int ulongval () { return (long int) (sizeof (wchar_t)); }
23257 #include <stdlib.h>
23262 FILE *f = fopen ("conftest.val", "w");
23265 if (((long int) (sizeof (wchar_t))) < 0)
23267 long int i = longval ();
23268 if (i != ((long int) (sizeof (wchar_t))))
23270 fprintf (f, "%ld", i);
23274 unsigned long int i = ulongval ();
23275 if (i != ((long int) (sizeof (wchar_t))))
23277 fprintf (f, "%lu", i);
23279 /* Do not output a trailing newline, as this causes \r\n confusion
23280 on some platforms. */
23281 return ferror (f) || fclose (f) != 0;
23287 rm -f conftest$ac_exeext
23288 if { (ac_try="$ac_link"
23289 case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23291 *) ac_try_echo
=$ac_try;;
23293 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
23294 $as_echo "$ac_try_echo") >&5
23295 (eval "$ac_link") 2>&5
23297 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23299 { (case "(($ac_try" in
23300 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23301 *) ac_try_echo=$ac_try;;
23303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23304 $as_echo "$ac_try_echo") >&5
23305 (eval "$ac_try") 2>&5
23307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308 (exit $ac_status); }; }; then
23309 ac_cv_sizeof_wchar_t=`cat conftest.val
`
23311 $as_echo "$as_me: program exited with status $ac_status" >&5
23312 $as_echo "$as_me: failed program was:" >&5
23313 sed 's/^/| /' conftest.$ac_ext >&5
23315 ( exit $ac_status )
23316 if test "$ac_cv_type_wchar_t" = yes; then
23317 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
23318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23319 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23320 See \
`config.log' for more details." >&5
23321 $as_echo "$as_me: error: cannot compute sizeof (wchar_t)
23322 See \`config.log
' for more details." >&2;}
23323 { (exit 77); exit 77; }; }; }
23325 ac_cv_sizeof_wchar_t=0
23328 rm -rf conftest.dSYM
23329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23333 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23334 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
23338 cat >>confdefs.h <<_ACEOF
23339 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23343 if test "$ac_cv_sizeof_wchar_t" != 0; then
23349 { $as_echo "$as_me:$LINENO: checking for va_copy" >&5
23350 $as_echo_n "checking for va_copy... " >&6; }
23351 if test "${wx_cv_func_va_copy+set}" = set; then
23352 $as_echo_n "(cached) " >&6
23356 ac_cpp='$CXXCPP $CPPFLAGS'
23357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23358 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23361 cat >conftest.$ac_ext <<_ACEOF
23363 #include <stdarg.h>
23364 void foo(char *f, ...)
23378 rm -f conftest.$ac_objext conftest$ac_exeext
23379 if { (ac_try="$ac_link"
23380 case "(($ac_try" in
23381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23382 *) ac_try_echo=$ac_try;;
23384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23385 $as_echo "$ac_try_echo") >&5
23386 (eval "$ac_link") 2>conftest.er1
23388 grep -v '^
*+' conftest.er1 >conftest.err
23390 cat conftest.err >&5
23391 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); } && {
23393 test -z "$ac_cxx_werror_flag" ||
23394 test ! -s conftest.err
23395 } && test -s conftest$ac_exeext && {
23396 test "$cross_compiling" = yes ||
23397 $as_test_x conftest$ac_exeext
23399 wx_cv_func_va_copy=yes
23401 $as_echo "$as_me: failed program was:" >&5
23402 sed 's
/^
/| /' conftest.$ac_ext >&5
23404 wx_cv_func_va_copy=no
23408 rm -rf conftest.dSYM
23409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23410 conftest$ac_exeext conftest.$ac_ext
23412 ac_cpp='$CPP $CPPFLAGS'
23413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23414 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23420 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23421 $as_echo "$wx_cv_func_va_copy" >&6; }
23423 if test $wx_cv_func_va_copy = "yes"; then
23424 cat >>confdefs.h <<\_ACEOF
23425 #define HAVE_VA_COPY 1
23429 { $as_echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23430 $as_echo_n "checking if va_list can be copied by value... " >&6; }
23431 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23432 $as_echo_n "(cached) " >&6
23435 if test "$cross_compiling" = yes; then
23436 wx_cv_type_va_list_lvalue=yes
23439 cat >conftest.$ac_ext <<_ACEOF
23441 #include <stdarg.h>
23442 int foo(char *f, ...)
23447 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23455 return foo("hi", 17);
23458 rm -f conftest$ac_exeext
23459 if { (ac_try="$ac_link"
23460 case "(($ac_try" in
23461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23462 *) ac_try_echo=$ac_try;;
23464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23465 $as_echo "$ac_try_echo") >&5
23466 (eval "$ac_link") 2>&5
23468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23470 { (case "(($ac_try" in
23471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23472 *) ac_try_echo=$ac_try;;
23474 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23475 $as_echo "$ac_try_echo") >&5
23476 (eval "$ac_try") 2>&5
23478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; }; then
23480 wx_cv_type_va_list_lvalue=yes
23482 $as_echo "$as_me: program exited with status $ac_status" >&5
23483 $as_echo "$as_me: failed program was:" >&5
23484 sed 's
/^
/| /' conftest.$ac_ext >&5
23486 ( exit $ac_status )
23487 wx_cv_type_va_list_lvalue=no
23489 rm -rf conftest.dSYM
23490 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23497 { $as_echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23498 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
23500 if test $wx_cv_type_va_list_lvalue != "yes"; then
23501 cat >>confdefs.h <<\_ACEOF
23502 #define VA_LIST_IS_ARRAY 1
23508 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23510 { $as_echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23511 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
23512 if test "${wx_cv_have_variadic_macros+set}" = set; then
23513 $as_echo_n "(cached) " >&6
23517 ac_cpp='$CXXCPP $CPPFLAGS'
23518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23519 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23522 cat >conftest.$ac_ext <<_ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23530 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23536 test("%s %d %p", "test", 1, 0);
23543 rm -f conftest.$ac_objext
23544 if { (ac_try="$ac_compile"
23545 case "(($ac_try" in
23546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23547 *) ac_try_echo=$ac_try;;
23549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23550 $as_echo "$ac_try_echo") >&5
23551 (eval "$ac_compile") 2>conftest.er1
23553 grep -v '^
*+' conftest.er1 >conftest.err
23555 cat conftest.err >&5
23556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23557 (exit $ac_status); } && {
23558 test -z "$ac_cxx_werror_flag" ||
23559 test ! -s conftest.err
23560 } && test -s conftest.$ac_objext; then
23561 wx_cv_have_variadic_macros=yes
23563 $as_echo "$as_me: failed program was:" >&5
23564 sed 's
/^
/| /' conftest.$ac_ext >&5
23566 wx_cv_have_variadic_macros=no
23570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23572 ac_cpp='$CPP $CPPFLAGS'
23573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23574 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23580 { $as_echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23581 $as_echo "$wx_cv_have_variadic_macros" >&6; }
23583 if test $wx_cv_have_variadic_macros = "yes"; then
23584 cat >>confdefs.h <<\_ACEOF
23585 #define HAVE_VARIADIC_MACROS 1
23592 LARGEFILE_CPPFLAGS=
23593 # Check whether --enable-largefile was given.
23594 if test "${enable_largefile+set}" = set; then
23595 enableval=$enable_largefile;
23598 if test "$enable_largefile" != no; then
23601 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23602 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
23603 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23604 $as_echo_n "(cached) " >&6
23607 cat >conftest.$ac_ext <<_ACEOF
23610 cat confdefs.h >>conftest.$ac_ext
23611 cat >>conftest.$ac_ext <<_ACEOF
23612 /* end confdefs.h. */
23613 #define _FILE_OFFSET_BITS 64
23614 #include <sys/types.h>
23619 unsigned int field: sizeof(off_t) == 8;
23626 rm -f conftest.$ac_objext
23627 if { (ac_try="$ac_compile"
23628 case "(($ac_try" in
23629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23630 *) ac_try_echo=$ac_try;;
23632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23633 $as_echo "$ac_try_echo") >&5
23634 (eval "$ac_compile") 2>conftest.er1
23636 grep -v '^
*+' conftest.er1 >conftest.err
23638 cat conftest.err >&5
23639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); } && {
23641 test -z "$ac_c_werror_flag" ||
23642 test ! -s conftest.err
23643 } && test -s conftest.$ac_objext; then
23644 ac_cv_sys_file_offset_bits=64
23646 $as_echo "$as_me: failed program was:" >&5
23647 sed 's
/^
/| /' conftest.$ac_ext >&5
23649 ac_cv_sys_file_offset_bits=no
23652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23656 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23657 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
23659 if test "$ac_cv_sys_file_offset_bits" != no; then
23661 cat >>confdefs.h <<_ACEOF
23662 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23667 if test "x$wx_largefile" != "xyes"; then
23669 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23670 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
23671 if test "${ac_cv_sys_large_files+set}" = set; then
23672 $as_echo_n "(cached) " >&6
23675 cat >conftest.$ac_ext <<_ACEOF
23678 cat confdefs.h >>conftest.$ac_ext
23679 cat >>conftest.$ac_ext <<_ACEOF
23680 /* end confdefs.h. */
23681 #define _LARGE_FILES 1
23682 #include <sys/types.h>
23687 unsigned int field: sizeof(off_t) == 8;
23694 rm -f conftest.$ac_objext
23695 if { (ac_try="$ac_compile"
23696 case "(($ac_try" in
23697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23698 *) ac_try_echo=$ac_try;;
23700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23701 $as_echo "$ac_try_echo") >&5
23702 (eval "$ac_compile") 2>conftest.er1
23704 grep -v '^
*+' conftest.er1 >conftest.err
23706 cat conftest.err >&5
23707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); } && {
23709 test -z "$ac_c_werror_flag" ||
23710 test ! -s conftest.err
23711 } && test -s conftest.$ac_objext; then
23712 ac_cv_sys_large_files=1
23714 $as_echo "$as_me: failed program was:" >&5
23715 sed 's
/^
/| /' conftest.$ac_ext >&5
23717 ac_cv_sys_large_files=no
23720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23724 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23725 $as_echo "$ac_cv_sys_large_files" >&6; }
23727 if test "$ac_cv_sys_large_files" != no; then
23729 cat >>confdefs.h <<_ACEOF
23730 #define _LARGE_FILES $ac_cv_sys_large_files
23737 { $as_echo "$as_me:$LINENO: checking if large file support is available" >&5
23738 $as_echo_n "checking if large file support is available... " >&6; }
23739 if test "x$wx_largefile" = "xyes"; then
23740 cat >>confdefs.h <<\_ACEOF
23741 #define HAVE_LARGEFILE_SUPPORT 1
23745 { $as_echo "$as_me:$LINENO: result: $wx_largefile" >&5
23746 $as_echo "$wx_largefile" >&6; }
23749 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23750 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23751 elif test "$ac_cv_sys_large_files" = 1; then
23752 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23755 if test -n "$LARGEFILE_CPPFLAGS"; then
23756 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23758 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23759 { $as_echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23760 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
23761 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23762 $as_echo_n "(cached) " >&6
23766 ac_cpp='$CXXCPP $CPPFLAGS'
23767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23768 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23771 cat >conftest.$ac_ext <<_ACEOF
23774 cat confdefs.h >>conftest.$ac_ext
23775 cat >>conftest.$ac_ext <<_ACEOF
23776 /* end confdefs.h. */
23782 #ifndef __STDC_EXT__
23790 rm -f conftest.$ac_objext
23791 if { (ac_try="$ac_compile"
23792 case "(($ac_try" in
23793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794 *) ac_try_echo=$ac_try;;
23796 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23797 $as_echo "$ac_try_echo") >&5
23798 (eval "$ac_compile") 2>conftest.er1
23800 grep -v '^
*+' conftest.er1 >conftest.err
23802 cat conftest.err >&5
23803 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); } && {
23805 test -z "$ac_cxx_werror_flag" ||
23806 test ! -s conftest.err
23807 } && test -s conftest.$ac_objext; then
23808 wx_cv_STDC_EXT_required=no
23810 $as_echo "$as_me: failed program was:" >&5
23811 sed 's
/^
/| /' conftest.$ac_ext >&5
23813 wx_cv_STDC_EXT_required=yes
23817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23819 ac_cpp='$CPP $CPPFLAGS'
23820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23821 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23827 { $as_echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23828 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
23829 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23830 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23836 ac_cpp='$CXXCPP $CPPFLAGS'
23837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23838 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23841 old_CPPFLAGS="$CPPFLAGS"
23842 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23843 { $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23844 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
23845 if test "${ac_cv_sys_largefile_source+set}" = set; then
23846 $as_echo_n "(cached) " >&6
23849 cat >conftest.$ac_ext <<_ACEOF
23852 cat confdefs.h >>conftest.$ac_ext
23853 cat >>conftest.$ac_ext <<_ACEOF
23854 /* end confdefs.h. */
23855 #include <sys/types.h> /* for off_t */
23860 int (*fp) (FILE *, off_t, int) = fseeko;
23861 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23866 rm -f conftest.$ac_objext conftest$ac_exeext
23867 if { (ac_try="$ac_link"
23868 case "(($ac_try" in
23869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23870 *) ac_try_echo=$ac_try;;
23872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23873 $as_echo "$ac_try_echo") >&5
23874 (eval "$ac_link") 2>conftest.er1
23876 grep -v '^
*+' conftest.er1 >conftest.err
23878 cat conftest.err >&5
23879 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); } && {
23881 test -z "$ac_cxx_werror_flag" ||
23882 test ! -s conftest.err
23883 } && test -s conftest$ac_exeext && {
23884 test "$cross_compiling" = yes ||
23885 $as_test_x conftest$ac_exeext
23887 ac_cv_sys_largefile_source=no; break
23889 $as_echo "$as_me: failed program was:" >&5
23890 sed 's
/^
/| /' conftest.$ac_ext >&5
23895 rm -rf conftest.dSYM
23896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23897 conftest$ac_exeext conftest.$ac_ext
23898 cat >conftest.$ac_ext <<_ACEOF
23901 cat confdefs.h >>conftest.$ac_ext
23902 cat >>conftest.$ac_ext <<_ACEOF
23903 /* end confdefs.h. */
23904 #define _LARGEFILE_SOURCE 1
23905 #include <sys/types.h> /* for off_t */
23910 int (*fp) (FILE *, off_t, int) = fseeko;
23911 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23916 rm -f conftest.$ac_objext conftest$ac_exeext
23917 if { (ac_try="$ac_link"
23918 case "(($ac_try" in
23919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23920 *) ac_try_echo=$ac_try;;
23922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23923 $as_echo "$ac_try_echo") >&5
23924 (eval "$ac_link") 2>conftest.er1
23926 grep -v '^
*+' conftest.er1 >conftest.err
23928 cat conftest.err >&5
23929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); } && {
23931 test -z "$ac_cxx_werror_flag" ||
23932 test ! -s conftest.err
23933 } && test -s conftest$ac_exeext && {
23934 test "$cross_compiling" = yes ||
23935 $as_test_x conftest$ac_exeext
23937 ac_cv_sys_largefile_source=1; break
23939 $as_echo "$as_me: failed program was:" >&5
23940 sed 's
/^
/| /' conftest.$ac_ext >&5
23945 rm -rf conftest.dSYM
23946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23947 conftest$ac_exeext conftest.$ac_ext
23948 ac_cv_sys_largefile_source=unknown
23952 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23953 $as_echo "$ac_cv_sys_largefile_source" >&6; }
23954 case $ac_cv_sys_largefile_source in #(
23957 cat >>confdefs.h <<_ACEOF
23958 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23964 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23965 # in glibc 2.1.3, but that breaks too many other things.
23966 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23967 if test $ac_cv_sys_largefile_source != unknown; then
23969 cat >>confdefs.h <<\_ACEOF
23970 #define HAVE_FSEEKO 1
23975 CPPFLAGS="$old_CPPFLAGS"
23977 ac_cpp='$CPP $CPPFLAGS'
23978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23979 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23982 if test "$ac_cv_sys_largefile_source" != no; then
23983 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23986 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23987 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
23988 if test "${ac_cv_c_bigendian+set}" = set; then
23989 $as_echo_n "(cached) " >&6
23991 ac_cv_c_bigendian=unknown
23992 # See if sys/param.h defines the BYTE_ORDER macro.
23993 cat >conftest.$ac_ext <<_ACEOF
23996 cat confdefs.h >>conftest.$ac_ext
23997 cat >>conftest.$ac_ext <<_ACEOF
23998 /* end confdefs.h. */
23999 #include <sys/types.h>
24000 #include <sys/param.h>
24005 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24006 bogus endian macros
24012 rm -f conftest.$ac_objext
24013 if { (ac_try="$ac_compile"
24014 case "(($ac_try" in
24015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24016 *) ac_try_echo=$ac_try;;
24018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24019 $as_echo "$ac_try_echo") >&5
24020 (eval "$ac_compile") 2>conftest.er1
24022 grep -v '^
*+' conftest.er1 >conftest.err
24024 cat conftest.err >&5
24025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } && {
24027 test -z "$ac_c_werror_flag" ||
24028 test ! -s conftest.err
24029 } && test -s conftest.$ac_objext; then
24030 # It does; now see whether it defined to BIG_ENDIAN or not.
24031 cat >conftest.$ac_ext <<_ACEOF
24034 cat confdefs.h >>conftest.$ac_ext
24035 cat >>conftest.$ac_ext <<_ACEOF
24036 /* end confdefs.h. */
24037 #include <sys/types.h>
24038 #include <sys/param.h>
24043 #if BYTE_ORDER != BIG_ENDIAN
24050 rm -f conftest.$ac_objext
24051 if { (ac_try="$ac_compile"
24052 case "(($ac_try" in
24053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24054 *) ac_try_echo=$ac_try;;
24056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24057 $as_echo "$ac_try_echo") >&5
24058 (eval "$ac_compile") 2>conftest.er1
24060 grep -v '^
*+' conftest.er1 >conftest.err
24062 cat conftest.err >&5
24063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); } && {
24065 test -z "$ac_c_werror_flag" ||
24066 test ! -s conftest.err
24067 } && test -s conftest.$ac_objext; then
24068 ac_cv_c_bigendian=yes
24070 $as_echo "$as_me: failed program was:" >&5
24071 sed 's
/^
/| /' conftest.$ac_ext >&5
24073 ac_cv_c_bigendian=no
24076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24078 $as_echo "$as_me: failed program was:" >&5
24079 sed 's
/^
/| /' conftest.$ac_ext >&5
24084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24085 if test $ac_cv_c_bigendian = unknown; then
24086 if test "$cross_compiling" = yes; then
24087 ac_cv_c_bigendian=unknown
24089 cat >conftest.$ac_ext <<_ACEOF
24092 cat confdefs.h >>conftest.$ac_ext
24093 cat >>conftest.$ac_ext <<_ACEOF
24094 /* end confdefs.h. */
24096 /* Are we little or big endian? From Harbison&Steele. */
24100 char c[sizeof (long)];
24103 exit (u.c[sizeof (long) - 1] == 1);
24106 rm -f conftest$ac_exeext
24107 if { (ac_try="$ac_link"
24108 case "(($ac_try" in
24109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24110 *) ac_try_echo=$ac_try;;
24112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24113 $as_echo "$ac_try_echo") >&5
24114 (eval "$ac_link") 2>&5
24116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24118 { (case "(($ac_try" in
24119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24120 *) ac_try_echo=$ac_try;;
24122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24123 $as_echo "$ac_try_echo") >&5
24124 (eval "$ac_try") 2>&5
24126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127 (exit $ac_status); }; }; then
24128 ac_cv_c_bigendian=no
24130 $as_echo "$as_me: program exited with status $ac_status" >&5
24131 $as_echo "$as_me: failed program was:" >&5
24132 sed 's
/^
/| /' conftest.$ac_ext >&5
24134 ( exit $ac_status )
24135 ac_cv_c_bigendian=yes
24137 rm -rf conftest.dSYM
24138 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24144 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24145 $as_echo "$ac_cv_c_bigendian" >&6; }
24146 if test $ac_cv_c_bigendian = unknown; then
24147 { $as_echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24148 $as_echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24150 if test $ac_cv_c_bigendian = yes; then
24151 cat >>confdefs.h <<\_ACEOF
24152 #define WORDS_BIGENDIAN 1
24161 ac_cpp='$CXXCPP $CPPFLAGS'
24162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24163 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24168 for ac_header in iostream
24170 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24171 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
24172 $as_echo_n "checking for $ac_header... " >&6; }
24173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24174 $as_echo_n "(cached) " >&6
24176 cat >conftest.$ac_ext <<_ACEOF
24179 cat confdefs.h >>conftest.$ac_ext
24180 cat >>conftest.$ac_ext <<_ACEOF
24181 /* end confdefs.h. */
24184 #include <$ac_header>
24186 rm -f conftest.$ac_objext
24187 if { (ac_try="$ac_compile"
24188 case "(($ac_try" in
24189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24190 *) ac_try_echo=$ac_try;;
24192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24193 $as_echo "$ac_try_echo") >&5
24194 (eval "$ac_compile") 2>conftest.er1
24196 grep -v '^
*+' conftest.er1 >conftest.err
24198 cat conftest.err >&5
24199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); } && {
24201 test -z "$ac_cxx_werror_flag" ||
24202 test ! -s conftest.err
24203 } && test -s conftest.$ac_objext; then
24204 eval "$as_ac_Header=yes"
24206 $as_echo "$as_me: failed program was:" >&5
24207 sed 's
/^
/| /' conftest.$ac_ext >&5
24209 eval "$as_ac_Header=no"
24212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24214 ac_res=`eval 'as_val
=${'$as_ac_Header'}
24215 $as_echo "$as_val"'`
24216 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
24217 $as_echo "$ac_res" >&6; }
24218 as_val=`eval 'as_val
=${'$as_ac_Header'}
24219 $as_echo "$as_val"'`
24220 if test "x$as_val" = x""yes; then
24221 cat >>confdefs.h <<_ACEOF
24222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24230 if test "$ac_cv_header_iostream" = "yes" ; then
24233 cat >>confdefs.h <<\_ACEOF
24234 #define wxUSE_IOSTREAMH 1
24240 ac_cpp='$CPP $CPPFLAGS'
24241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24242 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24248 { $as_echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24249 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
24250 if test "${wx_cv_explicit+set}" = set; then
24251 $as_echo_n "(cached) " >&6
24256 ac_cpp='$CXXCPP $CPPFLAGS'
24257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24258 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24262 cat >conftest.$ac_ext <<_ACEOF
24265 cat confdefs.h >>conftest.$ac_ext
24266 cat >>conftest.$ac_ext <<_ACEOF
24267 /* end confdefs.h. */
24269 class Foo { public: explicit Foo(int) {} };
24281 rm -f conftest.$ac_objext
24282 if { (ac_try="$ac_compile"
24283 case "(($ac_try" in
24284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24285 *) ac_try_echo=$ac_try;;
24287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24288 $as_echo "$ac_try_echo") >&5
24289 (eval "$ac_compile") 2>conftest.er1
24291 grep -v '^
*+' conftest.er1 >conftest.err
24293 cat conftest.err >&5
24294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295 (exit $ac_status); } && {
24296 test -z "$ac_cxx_werror_flag" ||
24297 test ! -s conftest.err
24298 } && test -s conftest.$ac_objext; then
24300 cat >conftest.$ac_ext <<_ACEOF
24303 cat confdefs.h >>conftest.$ac_ext
24304 cat >>conftest.$ac_ext <<_ACEOF
24305 /* end confdefs.h. */
24307 class Foo { public: explicit Foo(int) {} };
24308 static void TakeFoo(const Foo& foo) { }
24321 rm -f conftest.$ac_objext
24322 if { (ac_try="$ac_compile"
24323 case "(($ac_try" in
24324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24325 *) ac_try_echo=$ac_try;;
24327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24328 $as_echo "$ac_try_echo") >&5
24329 (eval "$ac_compile") 2>conftest.er1
24331 grep -v '^
*+' conftest.er1 >conftest.err
24333 cat conftest.err >&5
24334 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); } && {
24336 test -z "$ac_cxx_werror_flag" ||
24337 test ! -s conftest.err
24338 } && test -s conftest.$ac_objext; then
24341 $as_echo "$as_me: failed program was:" >&5
24342 sed 's
/^
/| /' conftest.$ac_ext >&5
24348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24351 $as_echo "$as_me: failed program was:" >&5
24352 sed 's
/^
/| /' conftest.$ac_ext >&5
24358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24361 ac_cpp='$CPP $CPPFLAGS'
24362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24363 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24368 { $as_echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24369 $as_echo "$wx_cv_explicit" >&6; }
24371 if test "$wx_cv_explicit" = "yes"; then
24372 cat >>confdefs.h <<\_ACEOF
24373 #define HAVE_EXPLICIT 1
24379 if test "x$SUNCXX" = xyes; then
24380 CXXFLAGS="-features=tmplife $CXXFLAGS"
24383 if test "x$SUNCC" = xyes; then
24384 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24387 if test "x$SGICC" = "xyes"; then
24388 CFLAGS="-woff 3970 $CFLAGS"
24390 if test "x$SGICXX" = "xyes"; then
24391 CXXFLAGS="-woff 3970 $CXXFLAGS"
24394 if test "x$HPCC" = "xyes"; then
24395 CFLAGS="+W 2011,2450 $CFLAGS"
24397 if test "x$HPCXX" = "xyes"; then
24398 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24401 if test "x$COMPAQCXX" = "xyes"; then
24402 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24406 ac_cpp='$CXXCPP $CPPFLAGS'
24407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24408 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24412 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24413 if test "$wxUSE_UNICODE" = "yes"; then
24414 std_string="std::wstring"
24415 char_type="wchar_t"
24417 std_string="std::string"
24421 { $as_echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24422 $as_echo_n "checking for $std_string in <string>... " >&6; }
24423 if test "${wx_cv_class_stdstring+set}" = set; then
24424 $as_echo_n "(cached) " >&6
24427 cat >conftest.$ac_ext <<_ACEOF
24430 cat confdefs.h >>conftest.$ac_ext
24431 cat >>conftest.$ac_ext <<_ACEOF
24432 /* end confdefs.h. */
24442 rm -f conftest.$ac_objext
24443 if { (ac_try="$ac_compile"
24444 case "(($ac_try" in
24445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24446 *) ac_try_echo=$ac_try;;
24448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24449 $as_echo "$ac_try_echo") >&5
24450 (eval "$ac_compile") 2>conftest.er1
24452 grep -v '^
*+' conftest.er1 >conftest.err
24454 cat conftest.err >&5
24455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } && {
24457 test -z "$ac_cxx_werror_flag" ||
24458 test ! -s conftest.err
24459 } && test -s conftest.$ac_objext; then
24460 wx_cv_class_stdstring=yes
24462 $as_echo "$as_me: failed program was:" >&5
24463 sed 's
/^
/| /' conftest.$ac_ext >&5
24465 wx_cv_class_stdstring=no
24469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24473 { $as_echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24474 $as_echo "$wx_cv_class_stdstring" >&6; }
24476 if test "$wx_cv_class_stdstring" = yes; then
24477 if test "$wxUSE_UNICODE" = "yes"; then
24478 cat >>confdefs.h <<\_ACEOF
24479 #define HAVE_STD_WSTRING 1
24484 { $as_echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24485 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
24486 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24487 $as_echo_n "(cached) " >&6
24490 cat >conftest.$ac_ext <<_ACEOF
24493 cat confdefs.h >>conftest.$ac_ext
24494 cat >>conftest.$ac_ext <<_ACEOF
24495 /* end confdefs.h. */
24497 #ifdef HAVE_WCHAR_H
24499 # include <stddef.h>
24501 # include <wchar.h>
24503 #ifdef HAVE_STDLIB_H
24504 # include <stdlib.h>
24512 std::basic_string<$char_type> foo;
24513 const $char_type* dummy = foo.c_str();
24518 rm -f conftest.$ac_objext
24519 if { (ac_try="$ac_compile"
24520 case "(($ac_try" in
24521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24522 *) ac_try_echo=$ac_try;;
24524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24525 $as_echo "$ac_try_echo") >&5
24526 (eval "$ac_compile") 2>conftest.er1
24528 grep -v '^
*+' conftest.er1 >conftest.err
24530 cat conftest.err >&5
24531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532 (exit $ac_status); } && {
24533 test -z "$ac_cxx_werror_flag" ||
24534 test ! -s conftest.err
24535 } && test -s conftest.$ac_objext; then
24536 wx_cv_class_stdbasicstring=yes
24538 $as_echo "$as_me: failed program was:" >&5
24539 sed 's
/^
/| /' conftest.$ac_ext >&5
24541 wx_cv_class_stdbasicstring=no
24545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549 { $as_echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24550 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
24552 if test "$wx_cv_class_stdbasicstring" != yes; then
24553 if test "$wxUSE_STL" = "yes"; then
24554 { { $as_echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24555 $as_echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24556 { (exit 1); exit 1; }; }
24557 elif test "$wxUSE_STD_STRING" = "yes"; then
24558 { { $as_echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24559 $as_echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24560 { (exit 1); exit 1; }; }
24562 { $as_echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24563 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24564 wxUSE_STD_STRING=no
24570 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24571 { $as_echo "$as_me:$LINENO: checking for std::istream" >&5
24572 $as_echo_n "checking for std::istream... " >&6; }
24573 if test "${ac_cv_type_std__istream+set}" = set; then
24574 $as_echo_n "(cached) " >&6
24576 ac_cv_type_std__istream=no
24577 cat >conftest.$ac_ext <<_ACEOF
24580 cat confdefs.h >>conftest.$ac_ext
24581 cat >>conftest.$ac_ext <<_ACEOF
24582 /* end confdefs.h. */
24583 #include <iostream>
24588 if (sizeof (std::istream))
24594 rm -f conftest.$ac_objext
24595 if { (ac_try="$ac_compile"
24596 case "(($ac_try" in
24597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24598 *) ac_try_echo=$ac_try;;
24600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24601 $as_echo "$ac_try_echo") >&5
24602 (eval "$ac_compile") 2>conftest.er1
24604 grep -v '^
*+' conftest.er1 >conftest.err
24606 cat conftest.err >&5
24607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } && {
24609 test -z "$ac_cxx_werror_flag" ||
24610 test ! -s conftest.err
24611 } && test -s conftest.$ac_objext; then
24612 cat >conftest.$ac_ext <<_ACEOF
24615 cat confdefs.h >>conftest.$ac_ext
24616 cat >>conftest.$ac_ext <<_ACEOF
24617 /* end confdefs.h. */
24618 #include <iostream>
24623 if (sizeof ((std::istream)))
24629 rm -f conftest.$ac_objext
24630 if { (ac_try="$ac_compile"
24631 case "(($ac_try" in
24632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24633 *) ac_try_echo=$ac_try;;
24635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24636 $as_echo "$ac_try_echo") >&5
24637 (eval "$ac_compile") 2>conftest.er1
24639 grep -v '^
*+' conftest.er1 >conftest.err
24641 cat conftest.err >&5
24642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); } && {
24644 test -z "$ac_cxx_werror_flag" ||
24645 test ! -s conftest.err
24646 } && test -s conftest.$ac_objext; then
24649 $as_echo "$as_me: failed program was:" >&5
24650 sed 's
/^
/| /' conftest.$ac_ext >&5
24652 ac_cv_type_std__istream=yes
24655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24657 $as_echo "$as_me: failed program was:" >&5
24658 sed 's
/^
/| /' conftest.$ac_ext >&5
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24666 $as_echo "$ac_cv_type_std__istream" >&6; }
24667 if test "x$ac_cv_type_std__istream" = x""yes; then
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE_STD__ISTREAM 1
24675 wxUSE_STD_IOSTREAM=no
24677 { $as_echo "$as_me:$LINENO: checking for std::ostream" >&5
24678 $as_echo_n "checking for std::ostream... " >&6; }
24679 if test "${ac_cv_type_std__ostream+set}" = set; then
24680 $as_echo_n "(cached) " >&6
24682 ac_cv_type_std__ostream=no
24683 cat >conftest.$ac_ext <<_ACEOF
24686 cat confdefs.h >>conftest.$ac_ext
24687 cat >>conftest.$ac_ext <<_ACEOF
24688 /* end confdefs.h. */
24689 #include <iostream>
24694 if (sizeof (std::ostream))
24700 rm -f conftest.$ac_objext
24701 if { (ac_try="$ac_compile"
24702 case "(($ac_try" in
24703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24704 *) ac_try_echo=$ac_try;;
24706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24707 $as_echo "$ac_try_echo") >&5
24708 (eval "$ac_compile") 2>conftest.er1
24710 grep -v '^
*+' conftest.er1 >conftest.err
24712 cat conftest.err >&5
24713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24714 (exit $ac_status); } && {
24715 test -z "$ac_cxx_werror_flag" ||
24716 test ! -s conftest.err
24717 } && test -s conftest.$ac_objext; then
24718 cat >conftest.$ac_ext <<_ACEOF
24721 cat confdefs.h >>conftest.$ac_ext
24722 cat >>conftest.$ac_ext <<_ACEOF
24723 /* end confdefs.h. */
24724 #include <iostream>
24729 if (sizeof ((std::ostream)))
24735 rm -f conftest.$ac_objext
24736 if { (ac_try="$ac_compile"
24737 case "(($ac_try" in
24738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24739 *) ac_try_echo=$ac_try;;
24741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24742 $as_echo "$ac_try_echo") >&5
24743 (eval "$ac_compile") 2>conftest.er1
24745 grep -v '^
*+' conftest.er1 >conftest.err
24747 cat conftest.err >&5
24748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); } && {
24750 test -z "$ac_cxx_werror_flag" ||
24751 test ! -s conftest.err
24752 } && test -s conftest.$ac_objext; then
24755 $as_echo "$as_me: failed program was:" >&5
24756 sed 's
/^
/| /' conftest.$ac_ext >&5
24758 ac_cv_type_std__ostream=yes
24761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24763 $as_echo "$as_me: failed program was:" >&5
24764 sed 's
/^
/| /' conftest.$ac_ext >&5
24769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24771 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24772 $as_echo "$ac_cv_type_std__ostream" >&6; }
24773 if test "x$ac_cv_type_std__ostream" = x""yes; then
24775 cat >>confdefs.h <<_ACEOF
24776 #define HAVE_STD__OSTREAM 1
24781 wxUSE_STD_IOSTREAM=no
24785 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24786 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24787 { { $as_echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24788 $as_echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24789 { (exit 1); exit 1; }; }
24791 { $as_echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24792 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24797 if test "$wxUSE_STL" = "yes"; then
24798 { $as_echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24799 $as_echo_n "checking for basic STL functionality... " >&6; }
24800 if test "${wx_cv_lib_stl+set}" = set; then
24801 $as_echo_n "(cached) " >&6
24803 cat >conftest.$ac_ext <<_ACEOF
24806 cat confdefs.h >>conftest.$ac_ext
24807 cat >>conftest.$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24810 #include <functional>
24811 #include <algorithm>
24817 std::vector<int> moo;
24818 std::list<int> foo;
24819 std::vector<int>::iterator it =
24820 std::find_if(moo.begin(), moo.end(),
24821 std::bind2nd(std::less<int>(), 3));
24826 rm -f conftest.$ac_objext
24827 if { (ac_try="$ac_compile"
24828 case "(($ac_try" in
24829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24830 *) ac_try_echo=$ac_try;;
24832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24833 $as_echo "$ac_try_echo") >&5
24834 (eval "$ac_compile") 2>conftest.er1
24836 grep -v '^
*+' conftest.er1 >conftest.err
24838 cat conftest.err >&5
24839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); } && {
24841 test -z "$ac_cxx_werror_flag" ||
24842 test ! -s conftest.err
24843 } && test -s conftest.$ac_objext; then
24846 $as_echo "$as_me: failed program was:" >&5
24847 sed 's
/^
/| /' conftest.$ac_ext >&5
24853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24856 { $as_echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24857 $as_echo "$wx_cv_lib_stl" >&6; }
24859 if test "$wx_cv_lib_stl" != yes; then
24860 { { $as_echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24861 $as_echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24862 { (exit 1); exit 1; }; }
24865 { $as_echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24866 $as_echo_n "checking for compliant std::string::compare... " >&6; }
24867 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24868 $as_echo_n "(cached) " >&6
24870 cat >conftest.$ac_ext <<_ACEOF
24873 cat confdefs.h >>conftest.$ac_ext
24874 cat >>conftest.$ac_ext <<_ACEOF
24875 /* end confdefs.h. */
24880 std::string foo, bar;
24882 foo.compare(1, 1, bar);
24883 foo.compare(1, 1, bar, 1, 1);
24885 foo.compare(1, 1, "");
24886 foo.compare(1, 1, "", 2);
24891 rm -f conftest.$ac_objext
24892 if { (ac_try="$ac_compile"
24893 case "(($ac_try" in
24894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24895 *) ac_try_echo=$ac_try;;
24897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24898 $as_echo "$ac_try_echo") >&5
24899 (eval "$ac_compile") 2>conftest.er1
24901 grep -v '^
*+' conftest.er1 >conftest.err
24903 cat conftest.err >&5
24904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); } && {
24906 test -z "$ac_cxx_werror_flag" ||
24907 test ! -s conftest.err
24908 } && test -s conftest.$ac_objext; then
24909 wx_cv_func_stdstring_compare=yes
24911 $as_echo "$as_me: failed program was:" >&5
24912 sed 's
/^
/| /' conftest.$ac_ext >&5
24914 wx_cv_func_stdstring_compare=no
24918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24921 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24922 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
24924 if test "$wx_cv_func_stdstring_compare" = yes; then
24925 cat >>confdefs.h <<\_ACEOF
24926 #define HAVE_STD_STRING_COMPARE 1
24931 if test "$wx_cv_class_gnuhashmapset" = yes; then
24932 cat >>confdefs.h <<\_ACEOF
24933 #define HAVE_EXT_HASH_MAP 1
24936 cat >>confdefs.h <<\_ACEOF
24937 #define HAVE_GNU_CXX_HASH_MAP 1
24942 { $as_echo "$as_me:$LINENO: checking for unordered_map" >&5
24943 $as_echo_n "checking for unordered_map... " >&6; }
24944 if test "${ac_cv_header_unordered_map+set}" = set; then
24945 $as_echo_n "(cached) " >&6
24947 cat >conftest.$ac_ext <<_ACEOF
24950 cat confdefs.h >>conftest.$ac_ext
24951 cat >>conftest.$ac_ext <<_ACEOF
24952 /* end confdefs.h. */
24956 #include <unordered_map>
24958 rm -f conftest.$ac_objext
24959 if { (ac_try="$ac_compile"
24960 case "(($ac_try" in
24961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24962 *) ac_try_echo=$ac_try;;
24964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24965 $as_echo "$ac_try_echo") >&5
24966 (eval "$ac_compile") 2>conftest.er1
24968 grep -v '^
*+' conftest.er1 >conftest.err
24970 cat conftest.err >&5
24971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); } && {
24973 test -z "$ac_cxx_werror_flag" ||
24974 test ! -s conftest.err
24975 } && test -s conftest.$ac_objext; then
24976 ac_cv_header_unordered_map=yes
24978 $as_echo "$as_me: failed program was:" >&5
24979 sed 's
/^
/| /' conftest.$ac_ext >&5
24981 ac_cv_header_unordered_map=no
24984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24986 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24987 $as_echo "$ac_cv_header_unordered_map" >&6; }
24988 if test "x$ac_cv_header_unordered_map" = x""yes; then
24989 { $as_echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24990 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
24991 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24992 $as_echo_n "(cached) " >&6
24994 cat >conftest.$ac_ext <<_ACEOF
24997 cat confdefs.h >>conftest.$ac_ext
24998 cat >>conftest.$ac_ext <<_ACEOF
24999 /* end confdefs.h. */
25000 #include <unordered_map>
25001 #include <unordered_set>
25005 std::unordered_map<double*, char*> test1;
25006 std::unordered_set<char*> test2;
25011 rm -f conftest.$ac_objext
25012 if { (ac_try="$ac_compile"
25013 case "(($ac_try" in
25014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25015 *) ac_try_echo=$ac_try;;
25017 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25018 $as_echo "$ac_try_echo") >&5
25019 (eval "$ac_compile") 2>conftest.er1
25021 grep -v '^
*+' conftest.er1 >conftest.err
25023 cat conftest.err >&5
25024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25025 (exit $ac_status); } && {
25026 test -z "$ac_cxx_werror_flag" ||
25027 test ! -s conftest.err
25028 } && test -s conftest.$ac_objext; then
25029 wx_cv_class_stdunorderedmapset=yes
25031 $as_echo "$as_me: failed program was:" >&5
25032 sed 's
/^
/| /' conftest.$ac_ext >&5
25034 wx_cv_class_stdunorderedmapset=no
25037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25041 { $as_echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25042 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
25047 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25048 cat >>confdefs.h <<\_ACEOF
25049 #define HAVE_STD_UNORDERED_MAP 1
25052 cat >>confdefs.h <<\_ACEOF
25053 #define HAVE_STD_UNORDERED_SET 1
25057 { $as_echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25058 $as_echo_n "checking for tr1/unordered_map... " >&6; }
25059 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25060 $as_echo_n "(cached) " >&6
25062 cat >conftest.$ac_ext <<_ACEOF
25065 cat confdefs.h >>conftest.$ac_ext
25066 cat >>conftest.$ac_ext <<_ACEOF
25067 /* end confdefs.h. */
25071 #include <tr1/unordered_map>
25073 rm -f conftest.$ac_objext
25074 if { (ac_try="$ac_compile"
25075 case "(($ac_try" in
25076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25077 *) ac_try_echo=$ac_try;;
25079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25080 $as_echo "$ac_try_echo") >&5
25081 (eval "$ac_compile") 2>conftest.er1
25083 grep -v '^
*+' conftest.er1 >conftest.err
25085 cat conftest.err >&5
25086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); } && {
25088 test -z "$ac_cxx_werror_flag" ||
25089 test ! -s conftest.err
25090 } && test -s conftest.$ac_objext; then
25091 ac_cv_header_tr1_unordered_map=yes
25093 $as_echo "$as_me: failed program was:" >&5
25094 sed 's
/^
/| /' conftest.$ac_ext >&5
25096 ac_cv_header_tr1_unordered_map=no
25099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25101 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25102 $as_echo "$ac_cv_header_tr1_unordered_map" >&6; }
25103 if test "x$ac_cv_header_tr1_unordered_map" = x""yes; then
25104 { $as_echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25105 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
25106 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25107 $as_echo_n "(cached) " >&6
25109 cat >conftest.$ac_ext <<_ACEOF
25112 cat confdefs.h >>conftest.$ac_ext
25113 cat >>conftest.$ac_ext <<_ACEOF
25114 /* end confdefs.h. */
25115 #include <tr1/unordered_map>
25116 #include <tr1/unordered_set>
25120 std::tr1::unordered_map<double*, char*> test1;
25121 std::tr1::unordered_set<char*> test2;
25122 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25123 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25129 rm -f conftest.
$ac_objext
25130 if { (ac_try
="$ac_compile"
25131 case "(($ac_try" in
25132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25133 *) ac_try_echo=$ac_try;;
25135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25136 $as_echo "$ac_try_echo") >&5
25137 (eval "$ac_compile") 2>conftest.er1
25139 grep -v '^ *+' conftest.er1 >conftest.err
25141 cat conftest.err >&5
25142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25143 (exit $ac_status); } && {
25144 test -z "$ac_cxx_werror_flag" ||
25145 test ! -s conftest.err
25146 } && test -s conftest.$ac_objext; then
25147 wx_cv_class_tr1unorderedmapset=yes
25149 $as_echo "$as_me: failed program was:" >&5
25150 sed 's/^/| /' conftest.$ac_ext >&5
25152 wx_cv_class_tr1unorderedmapset=no
25155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25159 { $as_echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25160 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
25165 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25166 cat >>confdefs.h <<\_ACEOF
25167 #define HAVE_TR1_UNORDERED_MAP 1
25170 cat >>confdefs.h <<\_ACEOF
25171 #define HAVE_TR1_UNORDERED_SET 1
25175 { $as_echo "$as_me:$LINENO: checking for hash_map" >&5
25176 $as_echo_n "checking for hash_map... " >&6; }
25177 if test "${ac_cv_header_hash_map+set}" = set; then
25178 $as_echo_n "(cached) " >&6
25180 cat >conftest.$ac_ext <<_ACEOF
25183 cat confdefs.h >>conftest.$ac_ext
25184 cat >>conftest.$ac_ext <<_ACEOF
25185 /* end confdefs.h. */
25189 #include <hash_map>
25191 rm -f conftest.$ac_objext
25192 if { (ac_try="$ac_compile"
25193 case "(($ac_try" in
25194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25195 *) ac_try_echo
=$ac_try;;
25197 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
25198 $as_echo "$ac_try_echo") >&5
25199 (eval "$ac_compile") 2>conftest.er1
25201 grep -v '^ *+' conftest.er1
>conftest.err
25203 cat conftest.err
>&5
25204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); } && {
25206 test -z "$ac_cxx_werror_flag" ||
25207 test ! -s conftest.err
25208 } && test -s conftest.
$ac_objext; then
25209 ac_cv_header_hash_map
=yes
25211 $as_echo "$as_me: failed program was:" >&5
25212 sed 's/^/| /' conftest.
$ac_ext >&5
25214 ac_cv_header_hash_map
=no
25217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25219 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25220 $as_echo "$ac_cv_header_hash_map" >&6; }
25221 if test "x$ac_cv_header_hash_map" = x
""yes; then
25222 { $as_echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25223 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
25224 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25225 $as_echo_n "(cached) " >&6
25227 cat >conftest.
$ac_ext <<_ACEOF
25230 cat confdefs.h
>>conftest.
$ac_ext
25231 cat >>conftest.
$ac_ext <<_ACEOF
25232 /* end confdefs.h. */
25233 #include <hash_map>
25234 #include <hash_set>
25238 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25239 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25244 rm -f conftest.
$ac_objext
25245 if { (ac_try
="$ac_compile"
25246 case "(($ac_try" in
25247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25248 *) ac_try_echo=$ac_try;;
25250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25251 $as_echo "$ac_try_echo") >&5
25252 (eval "$ac_compile") 2>conftest.er1
25254 grep -v '^ *+' conftest.er1 >conftest.err
25256 cat conftest.err >&5
25257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); } && {
25259 test -z "$ac_cxx_werror_flag" ||
25260 test ! -s conftest.err
25261 } && test -s conftest.$ac_objext; then
25262 wx_cv_class_stdhashmapset=yes
25264 $as_echo "$as_me: failed program was:" >&5
25265 sed 's/^/| /' conftest.$ac_ext >&5
25267 wx_cv_class_stdhashmapset=no
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25274 { $as_echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25275 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
25280 if test "$wx_cv_class_stdhashmapset" = yes; then
25281 cat >>confdefs.h <<\_ACEOF
25282 #define HAVE_HASH_MAP 1
25285 cat >>confdefs.h <<\_ACEOF
25286 #define HAVE_STD_HASH_MAP 1
25291 { $as_echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25292 $as_echo_n "checking for ext/hash_map... " >&6; }
25293 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25294 $as_echo_n "(cached) " >&6
25296 cat >conftest.$ac_ext <<_ACEOF
25299 cat confdefs.h >>conftest.$ac_ext
25300 cat >>conftest.$ac_ext <<_ACEOF
25301 /* end confdefs.h. */
25305 #include <ext/hash_map>
25307 rm -f conftest.$ac_objext
25308 if { (ac_try="$ac_compile"
25309 case "(($ac_try" in
25310 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25311 *) ac_try_echo
=$ac_try;;
25313 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
25314 $as_echo "$ac_try_echo") >&5
25315 (eval "$ac_compile") 2>conftest.er1
25317 grep -v '^ *+' conftest.er1
>conftest.err
25319 cat conftest.err
>&5
25320 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321 (exit $ac_status); } && {
25322 test -z "$ac_cxx_werror_flag" ||
25323 test ! -s conftest.err
25324 } && test -s conftest.
$ac_objext; then
25325 ac_cv_header_ext_hash_map
=yes
25327 $as_echo "$as_me: failed program was:" >&5
25328 sed 's/^/| /' conftest.
$ac_ext >&5
25330 ac_cv_header_ext_hash_map
=no
25333 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25335 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25336 $as_echo "$ac_cv_header_ext_hash_map" >&6; }
25337 if test "x$ac_cv_header_ext_hash_map" = x
""yes; then
25338 { $as_echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25339 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
25340 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25341 $as_echo_n "(cached) " >&6
25343 cat >conftest.
$ac_ext <<_ACEOF
25346 cat confdefs.h
>>conftest.
$ac_ext
25347 cat >>conftest.
$ac_ext <<_ACEOF
25348 /* end confdefs.h. */
25349 #include <ext/hash_map>
25350 #include <ext/hash_set>
25354 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25355 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25360 rm -f conftest.
$ac_objext
25361 if { (ac_try
="$ac_compile"
25362 case "(($ac_try" in
25363 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25364 *) ac_try_echo=$ac_try;;
25366 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25367 $as_echo "$ac_try_echo") >&5
25368 (eval "$ac_compile") 2>conftest.er1
25370 grep -v '^ *+' conftest.er1 >conftest.err
25372 cat conftest.err >&5
25373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); } && {
25375 test -z "$ac_cxx_werror_flag" ||
25376 test ! -s conftest.err
25377 } && test -s conftest.$ac_objext; then
25378 wx_cv_class_gnuhashmapset=yes
25380 $as_echo "$as_me: failed program was:" >&5
25381 sed 's/^/| /' conftest.$ac_ext >&5
25383 wx_cv_class_gnuhashmapset=no
25386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25390 { $as_echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25391 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
25402 if test -n "$GCC"; then
25403 { $as_echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25404 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
25405 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25406 $as_echo_n "(cached) " >&6
25409 cat >conftest.$ac_ext <<_ACEOF
25412 cat confdefs.h >>conftest.$ac_ext
25413 cat >>conftest.$ac_ext <<_ACEOF
25414 /* end confdefs.h. */
25420 unsigned int value=0;
25421 /* wxAtomicInc doesn't use return value here */
25422 __sync_fetch_and_add(&value, 2);
25423 __sync_sub_and_fetch(&value, 1);
25424 /* but wxAtomicDec does, so mimic that: */
25425 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25431 rm -f conftest.$ac_objext conftest$ac_exeext
25432 if { (ac_try="$ac_link"
25433 case "(($ac_try" in
25434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25435 *) ac_try_echo
=$ac_try;;
25437 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
25438 $as_echo "$ac_try_echo") >&5
25439 (eval "$ac_link") 2>conftest.er1
25441 grep -v '^ *+' conftest.er1
>conftest.err
25443 cat conftest.err
>&5
25444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445 (exit $ac_status); } && {
25446 test -z "$ac_cxx_werror_flag" ||
25447 test ! -s conftest.err
25448 } && test -s conftest
$ac_exeext && {
25449 test "$cross_compiling" = yes ||
25450 $as_test_x conftest
$ac_exeext
25452 wx_cv_cc_gcc_atomic_builtins
=yes
25454 $as_echo "$as_me: failed program was:" >&5
25455 sed 's/^/| /' conftest.
$ac_ext >&5
25457 wx_cv_cc_gcc_atomic_builtins
=no
25460 rm -rf conftest.dSYM
25461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25462 conftest
$ac_exeext conftest.
$ac_ext
25466 { $as_echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25467 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
25468 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25469 cat >>confdefs.h
<<\_ACEOF
25470 #define HAVE_GCC_ATOMIC_BUILTINS 1
25478 ac_cpp
='$CPP $CPPFLAGS'
25479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25486 /usr/local/include \
25487 /usr/local/X11/include \
25488 /usr/local/include/X11 \
25489 /usr/local/X11R6/include \
25490 /usr/local/include/X11R6 \
25492 /usr/Motif-2.1/include \
25493 /usr/Motif-1.2/include \
25494 /usr/include/Motif1.2 \
25497 /usr/openwin/include \
25501 /usr/X11R6/include \
25502 /usr/X11R6.4/include \
25504 /usr/include/X11R6 \
25509 /usr/XFree86/include/X11 \
25512 /usr/local/X1R5/include \
25513 /usr/local/include/X11R5 \
25514 /usr/X11R5/include \
25515 /usr/include/X11R5 \
25517 /usr/local/X11R4/include \
25518 /usr/local/include/X11R4 \
25519 /usr/X11R4/include \
25520 /usr/include/X11R4 \
25522 /usr/openwin/share/include"
25524 { $as_echo "$as_me:$LINENO: checking for libraries directory" >&5
25525 $as_echo_n "checking for libraries directory... " >&6; }
25529 if test "${wx_cv_std_libpath+set}" = set; then
25530 $as_echo_n "(cached) " >&6
25533 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25534 for e
in a so sl dylib dll.a
; do
25536 if test -f $libc; then
25539 cat >conftest.
$ac_ext <<_ACEOF
25540 int main() { return 0; }
25542 rm -f conftest.
$ac_objext conftest
$ac_exeext
25543 if { (ac_try
="$ac_link"
25544 case "(($ac_try" in
25545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25546 *) ac_try_echo=$ac_try;;
25548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25549 $as_echo "$ac_try_echo") >&5
25550 (eval "$ac_link") 2>conftest.er1
25552 grep -v '^ *+' conftest.er1 >conftest.err
25554 cat conftest.err >&5
25555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25556 (exit $ac_status); } && {
25557 test -z "$ac_c_werror_flag" ||
25558 test ! -s conftest.err
25559 } && test -s conftest$ac_exeext && {
25560 test "$cross_compiling" = yes ||
25561 $as_test_x conftest$ac_exeext
25563 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25565 $as_echo "$as_me: failed program was:" >&5
25566 sed 's/^/| /' conftest.$ac_ext >&5
25571 rm -rf conftest.dSYM
25572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25573 conftest$ac_exeext conftest.$ac_ext
25575 if test "x$wx_cv_std_libpath" != "x"; then
25581 if test "x$wx_cv_std_libpath" = "x"; then
25582 wx_cv_std_libpath="lib"
25591 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25592 wx_cv_std_libpath="lib/64"
25594 wx_cv_std_libpath="lib"
25599 if test "$ac_cv_sizeof_void_p" = 8 -a \
25600 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25601 wx_cv_std_libpath="lib64"
25603 wx_cv_std_libpath="lib"
25608 wx_cv_std_libpath="lib";
25612 { $as_echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25613 $as_echo "$wx_cv_std_libpath" >&6; }
25615 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25617 if test "$build" != "$host" -a "$GCC" = yes; then
25618 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25619 cross_root=`dirname $cross_root`
25620 cross_root=`dirname $cross_root`
25622 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25623 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25624 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25626 if test -z "$PKG_CONFIG_PATH"; then
25627 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25628 export PKG_CONFIG_PATH
25631 if test -z "$x_includes" -o "$x_includes" = NONE; then
25634 for ac_dir in $SEARCH_INCLUDE /usr/include;
25636 if test -f "$ac_dir/X11/Intrinsic.h"; then
25637 ac_find_includes=$ac_dir
25642 x_includes=$ac_find_includes
25644 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25647 for ac_dir in $SEARCH_LIB;
25649 for ac_extension in a so sl dylib dll.a; do
25650 if test -f "$ac_dir/libXt.$ac_extension"; then
25651 ac_find_libraries=$ac_dir
25657 x_libraries=$ac_find_libraries
25663 cat >confcache <<\_ACEOF
25664 # This file is a shell script that caches the results of configure
25665 # tests run on this system so they can be shared between configure
25666 # scripts and configure runs, see configure's option --config-cache.
25667 # It is not useful on other systems. If it contains results you don't
25668 # want to keep, you may remove or edit it.
25670 # config.status only pays attention to the cache file if you give it
25671 # the --recheck option to rerun configure.
25673 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25674 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25675 # following values.
25679 # The following way of writing the cache mishandles newlines in values,
25680 # but we know of no workaround that is simple, portable, and efficient.
25681 # So, we kill variables containing newlines.
25682 # Ultrix sh set writes to stderr and can't be redirected directly,
25683 # and sets the high bit in the cache file unless we assign to the vars.
25685 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25686 eval ac_val
=\$
$ac_var
25690 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
25691 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25694 _
| IFS
| as_nl
) ;; #(
25695 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
25696 *) $as_unset $ac_var ;;
25702 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25703 *${as_nl}ac_space
=\
*)
25704 # `set' does not quote correctly, so add quotes (double-quote
25705 # substitution turns \\\\ into \\, and sed turns \\ into \).
25708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25711 # `set' quotes correctly as required by POSIX, so do not add quotes.
25712 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25721 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25723 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25725 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25726 if test -w "$cache_file"; then
25727 test "x$cache_file" != "x/dev/null" &&
25728 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
25729 $as_echo "$as_me: updating cache $cache_file" >&6;}
25730 cat confcache
>$cache_file
25732 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25733 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25738 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25739 { $as_echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25740 $as_echo_n "checking for glibc 2.1 or later... " >&6; }
25741 if test "${wx_cv_lib_glibc21+set}" = set; then
25742 $as_echo_n "(cached) " >&6
25745 cat >conftest.
$ac_ext <<_ACEOF
25748 cat confdefs.h
>>conftest.
$ac_ext
25749 cat >>conftest.
$ac_ext <<_ACEOF
25750 /* end confdefs.h. */
25751 #include <features.h>
25756 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25764 rm -f conftest.
$ac_objext
25765 if { (ac_try
="$ac_compile"
25766 case "(($ac_try" in
25767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25768 *) ac_try_echo=$ac_try;;
25770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25771 $as_echo "$ac_try_echo") >&5
25772 (eval "$ac_compile") 2>conftest.er1
25774 grep -v '^ *+' conftest.er1 >conftest.err
25776 cat conftest.err >&5
25777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25778 (exit $ac_status); } && {
25779 test -z "$ac_c_werror_flag" ||
25780 test ! -s conftest.err
25781 } && test -s conftest.$ac_objext; then
25783 wx_cv_lib_glibc21=yes
25786 $as_echo "$as_me: failed program was:" >&5
25787 sed 's/^/| /' conftest.$ac_ext >&5
25790 wx_cv_lib_glibc21=no
25795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25798 { $as_echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25799 $as_echo "$wx_cv_lib_glibc21" >&6; }
25800 if test "$wx_cv_lib_glibc21" = "yes"; then
25801 cat >>confdefs.h <<\_ACEOF
25802 #define wxHAVE_GLIBC2 1
25808 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25809 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25810 cat >>confdefs.h <<\_ACEOF
25811 #define _GNU_SOURCE 1
25822 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25823 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
25824 $as_echo_n "checking for $ac_func... " >&6; }
25825 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25826 $as_echo_n "(cached) " >&6
25828 cat >conftest.$ac_ext <<_ACEOF
25831 cat confdefs.h >>conftest.$ac_ext
25832 cat >>conftest.$ac_ext <<_ACEOF
25833 /* end confdefs.h. */
25834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25836 #define $ac_func innocuous_$ac_func
25838 /* System header to define __stub macros and hopefully few prototypes,
25839 which can conflict with char $ac_func (); below.
25840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25841 <limits.h> exists even on freestanding compilers. */
25844 # include <limits.h>
25846 # include <assert.h>
25851 /* Override any GCC internal prototype to avoid an error.
25852 Use char because int might match the return type of a GCC
25853 builtin and then its argument prototype would still apply. */
25858 /* The GNU C library defines this for functions which it implements
25859 to always fail with ENOSYS. Some functions are actually named
25860 something starting with __ and the normal name is an alias. */
25861 #if defined __stub_$ac_func || defined __stub___$ac_func
25868 return $ac_func ();
25873 rm -f conftest.$ac_objext conftest$ac_exeext
25874 if { (ac_try="$ac_link"
25875 case "(($ac_try" in
25876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25877 *) ac_try_echo
=$ac_try;;
25879 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
25880 $as_echo "$ac_try_echo") >&5
25881 (eval "$ac_link") 2>conftest.er1
25883 grep -v '^ *+' conftest.er1
>conftest.err
25885 cat conftest.err
>&5
25886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } && {
25888 test -z "$ac_c_werror_flag" ||
25889 test ! -s conftest.err
25890 } && test -s conftest
$ac_exeext && {
25891 test "$cross_compiling" = yes ||
25892 $as_test_x conftest
$ac_exeext
25894 eval "$as_ac_var=yes"
25896 $as_echo "$as_me: failed program was:" >&5
25897 sed 's/^/| /' conftest.
$ac_ext >&5
25899 eval "$as_ac_var=no"
25902 rm -rf conftest.dSYM
25903 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25904 conftest
$ac_exeext conftest.
$ac_ext
25906 ac_res
=`eval 'as_val=${'$as_ac_var'}
25907 $as_echo "$as_val"'`
25908 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
25909 $as_echo "$ac_res" >&6; }
25910 as_val
=`eval 'as_val=${'$as_ac_var'}
25911 $as_echo "$as_val"'`
25912 if test "x$as_val" = x
""yes; then
25913 cat >>confdefs.h
<<_ACEOF
25914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25921 for ac_func
in floor
25923 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25924 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
25925 $as_echo_n "checking for $ac_func... " >&6; }
25926 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25927 $as_echo_n "(cached) " >&6
25929 cat >conftest.
$ac_ext <<_ACEOF
25932 cat confdefs.h
>>conftest.
$ac_ext
25933 cat >>conftest.
$ac_ext <<_ACEOF
25934 /* end confdefs.h. */
25935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25937 #define $ac_func innocuous_$ac_func
25939 /* System header to define __stub macros and hopefully few prototypes,
25940 which can conflict with char $ac_func (); below.
25941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25942 <limits.h> exists even on freestanding compilers. */
25945 # include <limits.h>
25947 # include <assert.h>
25952 /* Override any GCC internal prototype to avoid an error.
25953 Use char because int might match the return type of a GCC
25954 builtin and then its argument prototype would still apply. */
25959 /* The GNU C library defines this for functions which it implements
25960 to always fail with ENOSYS. Some functions are actually named
25961 something starting with __ and the normal name is an alias. */
25962 #if defined __stub_$ac_func || defined __stub___$ac_func
25969 return $ac_func ();
25974 rm -f conftest.
$ac_objext conftest
$ac_exeext
25975 if { (ac_try
="$ac_link"
25976 case "(($ac_try" in
25977 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25978 *) ac_try_echo=$ac_try;;
25980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25981 $as_echo "$ac_try_echo") >&5
25982 (eval "$ac_link") 2>conftest.er1
25984 grep -v '^ *+' conftest.er1 >conftest.err
25986 cat conftest.err >&5
25987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); } && {
25989 test -z "$ac_c_werror_flag" ||
25990 test ! -s conftest.err
25991 } && test -s conftest$ac_exeext && {
25992 test "$cross_compiling" = yes ||
25993 $as_test_x conftest$ac_exeext
25995 eval "$as_ac_var=yes"
25997 $as_echo "$as_me: failed program was:" >&5
25998 sed 's/^/| /' conftest.$ac_ext >&5
26000 eval "$as_ac_var=no"
26003 rm -rf conftest.dSYM
26004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26005 conftest$ac_exeext conftest.$ac_ext
26007 ac_res=`eval 'as_val=${'$as_ac_var'}
26008 $as_echo "$as_val"'`
26009 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26010 $as_echo "$ac_res" >&6; }
26011 as_val=`eval 'as_val=${'$as_ac_var'}
26012 $as_echo "$as_val"'`
26013 if test "x$as_val" = x""yes; then
26014 cat >>confdefs.h <<_ACEOF
26015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26021 { $as_echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26022 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
26023 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26024 { $as_echo "$as_me:$LINENO: result: yes" >&5
26025 $as_echo "yes" >&6; }
26027 { $as_echo "$as_me:$LINENO: result: no" >&5
26028 $as_echo "no" >&6; }
26030 # use different functions to avoid configure caching
26036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26037 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
26038 $as_echo_n "checking for $ac_func... " >&6; }
26039 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26040 $as_echo_n "(cached) " >&6
26042 cat >conftest.$ac_ext <<_ACEOF
26045 cat confdefs.h >>conftest.$ac_ext
26046 cat >>conftest.$ac_ext <<_ACEOF
26047 /* end confdefs.h. */
26048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26050 #define $ac_func innocuous_$ac_func
26052 /* System header to define __stub macros and hopefully few prototypes,
26053 which can conflict with char $ac_func (); below.
26054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26055 <limits.h> exists even on freestanding compilers. */
26058 # include <limits.h>
26060 # include <assert.h>
26065 /* Override any GCC internal prototype to avoid an error.
26066 Use char because int might match the return type of a GCC
26067 builtin and then its argument prototype would still apply. */
26072 /* The GNU C library defines this for functions which it implements
26073 to always fail with ENOSYS. Some functions are actually named
26074 something starting with __ and the normal name is an alias. */
26075 #if defined __stub_$ac_func || defined __stub___$ac_func
26082 return $ac_func ();
26087 rm -f conftest.$ac_objext conftest$ac_exeext
26088 if { (ac_try="$ac_link"
26089 case "(($ac_try" in
26090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26091 *) ac_try_echo
=$ac_try;;
26093 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
26094 $as_echo "$ac_try_echo") >&5
26095 (eval "$ac_link") 2>conftest.er1
26097 grep -v '^ *+' conftest.er1
>conftest.err
26099 cat conftest.err
>&5
26100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); } && {
26102 test -z "$ac_c_werror_flag" ||
26103 test ! -s conftest.err
26104 } && test -s conftest
$ac_exeext && {
26105 test "$cross_compiling" = yes ||
26106 $as_test_x conftest
$ac_exeext
26108 eval "$as_ac_var=yes"
26110 $as_echo "$as_me: failed program was:" >&5
26111 sed 's/^/| /' conftest.
$ac_ext >&5
26113 eval "$as_ac_var=no"
26116 rm -rf conftest.dSYM
26117 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26118 conftest
$ac_exeext conftest.
$ac_ext
26120 ac_res
=`eval 'as_val=${'$as_ac_var'}
26121 $as_echo "$as_val"'`
26122 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26123 $as_echo "$ac_res" >&6; }
26124 as_val
=`eval 'as_val=${'$as_ac_var'}
26125 $as_echo "$as_val"'`
26126 if test "x$as_val" = x
""yes; then
26127 cat >>confdefs.h
<<_ACEOF
26128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26135 for ac_func
in ceil
26137 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26138 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
26139 $as_echo_n "checking for $ac_func... " >&6; }
26140 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26141 $as_echo_n "(cached) " >&6
26143 cat >conftest.
$ac_ext <<_ACEOF
26146 cat confdefs.h
>>conftest.
$ac_ext
26147 cat >>conftest.
$ac_ext <<_ACEOF
26148 /* end confdefs.h. */
26149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26151 #define $ac_func innocuous_$ac_func
26153 /* System header to define __stub macros and hopefully few prototypes,
26154 which can conflict with char $ac_func (); below.
26155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26156 <limits.h> exists even on freestanding compilers. */
26159 # include <limits.h>
26161 # include <assert.h>
26166 /* Override any GCC internal prototype to avoid an error.
26167 Use char because int might match the return type of a GCC
26168 builtin and then its argument prototype would still apply. */
26173 /* The GNU C library defines this for functions which it implements
26174 to always fail with ENOSYS. Some functions are actually named
26175 something starting with __ and the normal name is an alias. */
26176 #if defined __stub_$ac_func || defined __stub___$ac_func
26183 return $ac_func ();
26188 rm -f conftest.
$ac_objext conftest
$ac_exeext
26189 if { (ac_try
="$ac_link"
26190 case "(($ac_try" in
26191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26192 *) ac_try_echo=$ac_try;;
26194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26195 $as_echo "$ac_try_echo") >&5
26196 (eval "$ac_link") 2>conftest.er1
26198 grep -v '^ *+' conftest.er1 >conftest.err
26200 cat conftest.err >&5
26201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); } && {
26203 test -z "$ac_c_werror_flag" ||
26204 test ! -s conftest.err
26205 } && test -s conftest$ac_exeext && {
26206 test "$cross_compiling" = yes ||
26207 $as_test_x conftest$ac_exeext
26209 eval "$as_ac_var=yes"
26211 $as_echo "$as_me: failed program was:" >&5
26212 sed 's/^/| /' conftest.$ac_ext >&5
26214 eval "$as_ac_var=no"
26217 rm -rf conftest.dSYM
26218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26219 conftest$ac_exeext conftest.$ac_ext
26221 ac_res=`eval 'as_val=${'$as_ac_var'}
26222 $as_echo "$as_val"'`
26223 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26224 $as_echo "$ac_res" >&6; }
26225 as_val=`eval 'as_val=${'$as_ac_var'}
26226 $as_echo "$as_val"'`
26227 if test "x$as_val" = x""yes; then
26228 cat >>confdefs.h <<_ACEOF
26229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26235 { $as_echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26236 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
26237 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26238 { $as_echo "$as_me:$LINENO: result: yes" >&5
26239 $as_echo "yes" >&6; }
26241 { $as_echo "$as_me:$LINENO: result: no" >&5
26242 $as_echo "no" >&6; }
26243 # not sure we should warn the user, crash, etc.
26248 ac_cpp='$CXXCPP $CPPFLAGS'
26249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26253 if test "wxUSE_UNICODE" = "yes"; then
26255 for wx_func in wcstoull
26257 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
26258 $as_echo_n "checking for $wx_func... " >&6; }
26259 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26260 $as_echo_n "(cached) " >&6
26263 cat >conftest.$ac_ext <<_ACEOF
26267 cat confdefs.h >>conftest.$ac_ext
26268 cat >>conftest.$ac_ext <<_ACEOF
26269 /* end confdefs.h. */
26272 $ac_includes_default
26288 rm -f conftest.$ac_objext conftest$ac_exeext
26289 if { (ac_try="$ac_link"
26290 case "(($ac_try" in
26291 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26292 *) ac_try_echo
=$ac_try;;
26294 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
26295 $as_echo "$ac_try_echo") >&5
26296 (eval "$ac_link") 2>conftest.er1
26298 grep -v '^ *+' conftest.er1
>conftest.err
26300 cat conftest.err
>&5
26301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); } && {
26303 test -z "$ac_cxx_werror_flag" ||
26304 test ! -s conftest.err
26305 } && test -s conftest
$ac_exeext && {
26306 test "$cross_compiling" = yes ||
26307 $as_test_x conftest
$ac_exeext
26309 eval wx_cv_func_
$wx_func=yes
26311 $as_echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.
$ac_ext >&5
26314 eval wx_cv_func_
$wx_func=no
26317 rm -rf conftest.dSYM
26318 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26319 conftest
$ac_exeext conftest.
$ac_ext
26322 ac_res
=`eval 'as_val=${'wx_cv_func_$wx_func'}
26323 $as_echo "$as_val"'`
26324 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26325 $as_echo "$ac_res" >&6; }
26327 if eval test \
$wx_cv_func_$wx_func = yes
26329 cat >>confdefs.h
<<_ACEOF
26330 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
26342 for wx_func
in strtoull
26344 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
26345 $as_echo_n "checking for $wx_func... " >&6; }
26346 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26347 $as_echo_n "(cached) " >&6
26350 cat >conftest.
$ac_ext <<_ACEOF
26354 cat confdefs.h
>>conftest.
$ac_ext
26355 cat >>conftest.
$ac_ext <<_ACEOF
26356 /* end confdefs.h. */
26359 $ac_includes_default
26375 rm -f conftest.
$ac_objext conftest
$ac_exeext
26376 if { (ac_try
="$ac_link"
26377 case "(($ac_try" in
26378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26379 *) ac_try_echo=$ac_try;;
26381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26382 $as_echo "$ac_try_echo") >&5
26383 (eval "$ac_link") 2>conftest.er1
26385 grep -v '^ *+' conftest.er1 >conftest.err
26387 cat conftest.err >&5
26388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26389 (exit $ac_status); } && {
26390 test -z "$ac_cxx_werror_flag" ||
26391 test ! -s conftest.err
26392 } && test -s conftest$ac_exeext && {
26393 test "$cross_compiling" = yes ||
26394 $as_test_x conftest$ac_exeext
26396 eval wx_cv_func_$wx_func=yes
26398 $as_echo "$as_me: failed program was:" >&5
26399 sed 's/^/| /' conftest.$ac_ext >&5
26401 eval wx_cv_func_$wx_func=no
26404 rm -rf conftest.dSYM
26405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26406 conftest$ac_exeext conftest.$ac_ext
26409 ac_res=`eval 'as_val=${'wx_cv_func_$wx_func'}
26410 $as_echo "$as_val"'`
26411 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26412 $as_echo "$ac_res" >&6; }
26414 if eval test \$wx_cv_func_$wx_func = yes
26416 cat >>confdefs.h <<_ACEOF
26417 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
26429 ac_cpp='$CPP $CPPFLAGS'
26430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26437 if test "$wxUSE_REGEX" != "no"; then
26438 cat >>confdefs.h <<\_ACEOF
26439 #define wxUSE_REGEX 1
26443 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26444 { $as_echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26445 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26446 wxUSE_REGEX=builtin
26449 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26450 { $as_echo "$as_me:$LINENO: checking for regex.h" >&5
26451 $as_echo_n "checking for regex.h... " >&6; }
26452 if test "${ac_cv_header_regex_h+set}" = set; then
26453 $as_echo_n "(cached) " >&6
26455 cat >conftest.$ac_ext <<_ACEOF
26458 cat confdefs.h >>conftest.$ac_ext
26459 cat >>conftest.$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26465 rm -f conftest.$ac_objext
26466 if { (ac_try="$ac_compile"
26467 case "(($ac_try" in
26468 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26469 *) ac_try_echo
=$ac_try;;
26471 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
26472 $as_echo "$ac_try_echo") >&5
26473 (eval "$ac_compile") 2>conftest.er1
26475 grep -v '^ *+' conftest.er1
>conftest.err
26477 cat conftest.err
>&5
26478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); } && {
26480 test -z "$ac_c_werror_flag" ||
26481 test ! -s conftest.err
26482 } && test -s conftest.
$ac_objext; then
26483 ac_cv_header_regex_h
=yes
26485 $as_echo "$as_me: failed program was:" >&5
26486 sed 's/^/| /' conftest.
$ac_ext >&5
26488 ac_cv_header_regex_h
=no
26491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26493 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26494 $as_echo "$ac_cv_header_regex_h" >&6; }
26495 if test "x$ac_cv_header_regex_h" = x
""yes; then
26498 for ac_func
in regcomp re_search
26500 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26501 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
26502 $as_echo_n "checking for $ac_func... " >&6; }
26503 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26504 $as_echo_n "(cached) " >&6
26506 cat >conftest.
$ac_ext <<_ACEOF
26509 cat confdefs.h
>>conftest.
$ac_ext
26510 cat >>conftest.
$ac_ext <<_ACEOF
26511 /* end confdefs.h. */
26512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26514 #define $ac_func innocuous_$ac_func
26516 /* System header to define __stub macros and hopefully few prototypes,
26517 which can conflict with char $ac_func (); below.
26518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26519 <limits.h> exists even on freestanding compilers. */
26522 # include <limits.h>
26524 # include <assert.h>
26529 /* Override any GCC internal prototype to avoid an error.
26530 Use char because int might match the return type of a GCC
26531 builtin and then its argument prototype would still apply. */
26536 /* The GNU C library defines this for functions which it implements
26537 to always fail with ENOSYS. Some functions are actually named
26538 something starting with __ and the normal name is an alias. */
26539 #if defined __stub_$ac_func || defined __stub___$ac_func
26546 return $ac_func ();
26551 rm -f conftest.
$ac_objext conftest
$ac_exeext
26552 if { (ac_try
="$ac_link"
26553 case "(($ac_try" in
26554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26555 *) ac_try_echo=$ac_try;;
26557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26558 $as_echo "$ac_try_echo") >&5
26559 (eval "$ac_link") 2>conftest.er1
26561 grep -v '^ *+' conftest.er1 >conftest.err
26563 cat conftest.err >&5
26564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26565 (exit $ac_status); } && {
26566 test -z "$ac_c_werror_flag" ||
26567 test ! -s conftest.err
26568 } && test -s conftest$ac_exeext && {
26569 test "$cross_compiling" = yes ||
26570 $as_test_x conftest$ac_exeext
26572 eval "$as_ac_var=yes"
26574 $as_echo "$as_me: failed program was:" >&5
26575 sed 's/^/| /' conftest.$ac_ext >&5
26577 eval "$as_ac_var=no"
26580 rm -rf conftest.dSYM
26581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26582 conftest$ac_exeext conftest.$ac_ext
26584 ac_res=`eval 'as_val=${'$as_ac_var'}
26585 $as_echo "$as_val"'`
26586 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26587 $as_echo "$ac_res" >&6; }
26588 as_val=`eval 'as_val=${'$as_ac_var'}
26589 $as_echo "$as_val"'`
26590 if test "x$as_val" = x""yes; then
26591 cat >>confdefs.h <<_ACEOF
26592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26602 if test "x$ac_cv_func_regcomp" != "xyes"; then
26603 if test "$wxUSE_REGEX" = "sys" ; then
26604 { { $as_echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26605 $as_echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26606 { (exit 1); exit 1; }; }
26608 { $as_echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26609 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26610 wxUSE_REGEX=builtin
26614 cat >>confdefs.h <<\_ACEOF
26615 #define WX_NO_REGEX_ADVANCED 1
26624 if test "$wxUSE_ZLIB" != "no" ; then
26625 cat >>confdefs.h <<\_ACEOF
26626 #define wxUSE_ZLIB 1
26630 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26631 if test "$USE_DARWIN" = 1; then
26632 system_zlib_h_ok="yes"
26634 { $as_echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26635 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
26636 if test "${ac_cv_header_zlib_h+set}" = set; then
26637 $as_echo_n "(cached) " >&6
26639 if test "$cross_compiling" = yes; then
26640 unset ac_cv_header_zlib_h
26643 cat >conftest.$ac_ext <<_ACEOF
26646 cat confdefs.h >>conftest.$ac_ext
26647 cat >>conftest.$ac_ext <<_ACEOF
26648 /* end confdefs.h. */
26655 FILE *f=fopen("conftestval", "w");
26658 ZLIB_VERSION[0] == '1' &&
26659 (ZLIB_VERSION[2] > '1' ||
26660 (ZLIB_VERSION[2] == '1' &&
26661 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26666 rm -f conftest$ac_exeext
26667 if { (ac_try="$ac_link"
26668 case "(($ac_try" in
26669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26670 *) ac_try_echo
=$ac_try;;
26672 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
26673 $as_echo "$ac_try_echo") >&5
26674 (eval "$ac_link") 2>&5
26676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26678 { (case "(($ac_try" in
26679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26680 *) ac_try_echo=$ac_try;;
26682 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26683 $as_echo "$ac_try_echo") >&5
26684 (eval "$ac_try") 2>&5
26686 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); }; }; then
26688 ac_cv_header_zlib_h=`cat conftestval
`
26690 $as_echo "$as_me: program exited with status $ac_status" >&5
26691 $as_echo "$as_me: failed program was:" >&5
26692 sed 's/^/| /' conftest.$ac_ext >&5
26694 ( exit $ac_status )
26695 ac_cv_header_zlib_h=no
26697 rm -rf conftest.dSYM
26698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26704 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26705 $as_echo "$ac_cv_header_zlib_h" >&6; }
26706 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
26707 $as_echo_n "checking for zlib.h... " >&6; }
26708 if test "${ac_cv_header_zlib_h+set}" = set; then
26709 $as_echo_n "(cached) " >&6
26711 cat >conftest.$ac_ext <<_ACEOF
26714 cat confdefs.h >>conftest.$ac_ext
26715 cat >>conftest.$ac_ext <<_ACEOF
26716 /* end confdefs.h. */
26721 rm -f conftest.$ac_objext
26722 if { (ac_try="$ac_compile"
26723 case "(($ac_try" in
26724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26725 *) ac_try_echo
=$ac_try;;
26727 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
26728 $as_echo "$ac_try_echo") >&5
26729 (eval "$ac_compile") 2>conftest.er1
26731 grep -v '^ *+' conftest.er1
>conftest.err
26733 cat conftest.err
>&5
26734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } && {
26736 test -z "$ac_c_werror_flag" ||
26737 test ! -s conftest.err
26738 } && test -s conftest.
$ac_objext; then
26739 ac_cv_header_zlib_h
=yes
26741 $as_echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.
$ac_ext >&5
26744 ac_cv_header_zlib_h
=no
26747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26749 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26750 $as_echo "$ac_cv_header_zlib_h" >&6; }
26754 system_zlib_h_ok
=$ac_cv_header_zlib_h
26757 if test "$system_zlib_h_ok" = "yes"; then
26758 { $as_echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26759 $as_echo_n "checking for deflate in -lz... " >&6; }
26760 if test "${ac_cv_lib_z_deflate+set}" = set; then
26761 $as_echo_n "(cached) " >&6
26763 ac_check_lib_save_LIBS
=$LIBS
26765 cat >conftest.
$ac_ext <<_ACEOF
26768 cat confdefs.h
>>conftest.
$ac_ext
26769 cat >>conftest.
$ac_ext <<_ACEOF
26770 /* end confdefs.h. */
26772 /* Override any GCC internal prototype to avoid an error.
26773 Use char because int might match the return type of a GCC
26774 builtin and then its argument prototype would still apply. */
26787 rm -f conftest.
$ac_objext conftest
$ac_exeext
26788 if { (ac_try
="$ac_link"
26789 case "(($ac_try" in
26790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26791 *) ac_try_echo=$ac_try;;
26793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26794 $as_echo "$ac_try_echo") >&5
26795 (eval "$ac_link") 2>conftest.er1
26797 grep -v '^ *+' conftest.er1 >conftest.err
26799 cat conftest.err >&5
26800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } && {
26802 test -z "$ac_c_werror_flag" ||
26803 test ! -s conftest.err
26804 } && test -s conftest$ac_exeext && {
26805 test "$cross_compiling" = yes ||
26806 $as_test_x conftest$ac_exeext
26808 ac_cv_lib_z_deflate=yes
26810 $as_echo "$as_me: failed program was:" >&5
26811 sed 's/^/| /' conftest.$ac_ext >&5
26813 ac_cv_lib_z_deflate=no
26816 rm -rf conftest.dSYM
26817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26818 conftest$ac_exeext conftest.$ac_ext
26819 LIBS=$ac_check_lib_save_LIBS
26821 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26822 $as_echo "$ac_cv_lib_z_deflate" >&6; }
26823 if test "x$ac_cv_lib_z_deflate" = x""yes; then
26829 if test "x$ZLIB_LINK" = "x" ; then
26830 if test "$wxUSE_ZLIB" = "sys" ; then
26831 { { $as_echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26832 $as_echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26833 { (exit 1); exit 1; }; }
26835 { $as_echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26836 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26847 if test "$wxUSE_LIBPNG" != "no" ; then
26848 cat >>confdefs.h <<\_ACEOF
26849 #define wxUSE_LIBPNG 1
26853 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26854 { $as_echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26855 $as_echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26859 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26860 { $as_echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26861 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26862 wxUSE_LIBPNG=builtin
26865 if test "$wxUSE_MGL" != 1 ; then
26866 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26867 { $as_echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26868 $as_echo_n "checking for png.h > 0.90... " >&6; }
26869 if test "${ac_cv_header_png_h+set}" = set; then
26870 $as_echo_n "(cached) " >&6
26872 if test "$cross_compiling" = yes; then
26873 unset ac_cv_header_png_h
26876 cat >conftest.$ac_ext <<_ACEOF
26879 cat confdefs.h >>conftest.$ac_ext
26880 cat >>conftest.$ac_ext <<_ACEOF
26881 /* end confdefs.h. */
26888 FILE *f=fopen("conftestval", "w");
26891 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26896 rm -f conftest$ac_exeext
26897 if { (ac_try="$ac_link"
26898 case "(($ac_try" in
26899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26900 *) ac_try_echo
=$ac_try;;
26902 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
26903 $as_echo "$ac_try_echo") >&5
26904 (eval "$ac_link") 2>&5
26906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26908 { (case "(($ac_try" in
26909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26910 *) ac_try_echo=$ac_try;;
26912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26913 $as_echo "$ac_try_echo") >&5
26914 (eval "$ac_try") 2>&5
26916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); }; }; then
26918 ac_cv_header_png_h=`cat conftestval
`
26920 $as_echo "$as_me: program exited with status $ac_status" >&5
26921 $as_echo "$as_me: failed program was:" >&5
26922 sed 's/^/| /' conftest.$ac_ext >&5
26924 ( exit $ac_status )
26925 ac_cv_header_png_h=no
26927 rm -rf conftest.dSYM
26928 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26934 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26935 $as_echo "$ac_cv_header_png_h" >&6; }
26936 { $as_echo "$as_me:$LINENO: checking for png.h" >&5
26937 $as_echo_n "checking for png.h... " >&6; }
26938 if test "${ac_cv_header_png_h+set}" = set; then
26939 $as_echo_n "(cached) " >&6
26941 cat >conftest.$ac_ext <<_ACEOF
26944 cat confdefs.h >>conftest.$ac_ext
26945 cat >>conftest.$ac_ext <<_ACEOF
26946 /* end confdefs.h. */
26951 rm -f conftest.$ac_objext
26952 if { (ac_try="$ac_compile"
26953 case "(($ac_try" in
26954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26955 *) ac_try_echo
=$ac_try;;
26957 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
26958 $as_echo "$ac_try_echo") >&5
26959 (eval "$ac_compile") 2>conftest.er1
26961 grep -v '^ *+' conftest.er1
>conftest.err
26963 cat conftest.err
>&5
26964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); } && {
26966 test -z "$ac_c_werror_flag" ||
26967 test ! -s conftest.err
26968 } && test -s conftest.
$ac_objext; then
26969 ac_cv_header_png_h
=yes
26971 $as_echo "$as_me: failed program was:" >&5
26972 sed 's/^/| /' conftest.
$ac_ext >&5
26974 ac_cv_header_png_h
=no
26977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26979 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26980 $as_echo "$ac_cv_header_png_h" >&6; }
26984 if test "$ac_cv_header_png_h" = "yes"; then
26985 { $as_echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26986 $as_echo_n "checking for png_check_sig in -lpng... " >&6; }
26987 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26988 $as_echo_n "(cached) " >&6
26990 ac_check_lib_save_LIBS
=$LIBS
26991 LIBS
="-lpng -lz -lm $LIBS"
26992 cat >conftest.
$ac_ext <<_ACEOF
26995 cat confdefs.h
>>conftest.
$ac_ext
26996 cat >>conftest.
$ac_ext <<_ACEOF
26997 /* end confdefs.h. */
26999 /* Override any GCC internal prototype to avoid an error.
27000 Use char because int might match the return type of a GCC
27001 builtin and then its argument prototype would still apply. */
27005 char png_check_sig ();
27009 return png_check_sig ();
27014 rm -f conftest.
$ac_objext conftest
$ac_exeext
27015 if { (ac_try
="$ac_link"
27016 case "(($ac_try" in
27017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27018 *) ac_try_echo=$ac_try;;
27020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27021 $as_echo "$ac_try_echo") >&5
27022 (eval "$ac_link") 2>conftest.er1
27024 grep -v '^ *+' conftest.er1 >conftest.err
27026 cat conftest.err >&5
27027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); } && {
27029 test -z "$ac_c_werror_flag" ||
27030 test ! -s conftest.err
27031 } && test -s conftest$ac_exeext && {
27032 test "$cross_compiling" = yes ||
27033 $as_test_x conftest$ac_exeext
27035 ac_cv_lib_png_png_check_sig=yes
27037 $as_echo "$as_me: failed program was:" >&5
27038 sed 's/^/| /' conftest.$ac_ext >&5
27040 ac_cv_lib_png_png_check_sig=no
27043 rm -rf conftest.dSYM
27044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27045 conftest$ac_exeext conftest.$ac_ext
27046 LIBS=$ac_check_lib_save_LIBS
27048 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27049 $as_echo "$ac_cv_lib_png_png_check_sig" >&6; }
27050 if test "x$ac_cv_lib_png_png_check_sig" = x""yes; then
27051 PNG_LINK=" -lpng -lz"
27056 if test "x$PNG_LINK" = "x" ; then
27057 if test "$wxUSE_LIBPNG" = "sys" ; then
27058 { { $as_echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27059 $as_echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27060 { (exit 1); exit 1; }; }
27062 { $as_echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27063 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27064 wxUSE_LIBPNG=builtin
27075 if test "$wxUSE_LIBJPEG" != "no" ; then
27076 cat >>confdefs.h <<\_ACEOF
27077 #define wxUSE_LIBJPEG 1
27081 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27082 { $as_echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27083 $as_echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27087 if test "$wxUSE_MGL" != 1 ; then
27088 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27089 { $as_echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27090 $as_echo_n "checking for jpeglib.h... " >&6; }
27091 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27092 $as_echo_n "(cached) " >&6
27094 cat >conftest.$ac_ext <<_ACEOF
27097 cat confdefs.h >>conftest.$ac_ext
27098 cat >>conftest.$ac_ext <<_ACEOF
27099 /* end confdefs.h. */
27101 #undef HAVE_STDLIB_H
27103 #include <jpeglib.h>
27114 rm -f conftest.$ac_objext
27115 if { (ac_try="$ac_compile"
27116 case "(($ac_try" in
27117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27118 *) ac_try_echo
=$ac_try;;
27120 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
27121 $as_echo "$ac_try_echo") >&5
27122 (eval "$ac_compile") 2>conftest.er1
27124 grep -v '^ *+' conftest.er1
>conftest.err
27126 cat conftest.err
>&5
27127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128 (exit $ac_status); } && {
27129 test -z "$ac_c_werror_flag" ||
27130 test ! -s conftest.err
27131 } && test -s conftest.
$ac_objext; then
27132 ac_cv_header_jpeglib_h
=yes
27134 $as_echo "$as_me: failed program was:" >&5
27135 sed 's/^/| /' conftest.
$ac_ext >&5
27137 ac_cv_header_jpeglib_h
=no
27141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27145 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27146 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
27148 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27149 { $as_echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27150 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
27151 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27152 $as_echo_n "(cached) " >&6
27154 ac_check_lib_save_LIBS
=$LIBS
27155 LIBS
="-ljpeg $LIBS"
27156 cat >conftest.
$ac_ext <<_ACEOF
27159 cat confdefs.h
>>conftest.
$ac_ext
27160 cat >>conftest.
$ac_ext <<_ACEOF
27161 /* end confdefs.h. */
27163 /* Override any GCC internal prototype to avoid an error.
27164 Use char because int might match the return type of a GCC
27165 builtin and then its argument prototype would still apply. */
27169 char jpeg_read_header ();
27173 return jpeg_read_header ();
27178 rm -f conftest.
$ac_objext conftest
$ac_exeext
27179 if { (ac_try
="$ac_link"
27180 case "(($ac_try" in
27181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27182 *) ac_try_echo=$ac_try;;
27184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27185 $as_echo "$ac_try_echo") >&5
27186 (eval "$ac_link") 2>conftest.er1
27188 grep -v '^ *+' conftest.er1 >conftest.err
27190 cat conftest.err >&5
27191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); } && {
27193 test -z "$ac_c_werror_flag" ||
27194 test ! -s conftest.err
27195 } && test -s conftest$ac_exeext && {
27196 test "$cross_compiling" = yes ||
27197 $as_test_x conftest$ac_exeext
27199 ac_cv_lib_jpeg_jpeg_read_header=yes
27201 $as_echo "$as_me: failed program was:" >&5
27202 sed 's/^/| /' conftest.$ac_ext >&5
27204 ac_cv_lib_jpeg_jpeg_read_header=no
27207 rm -rf conftest.dSYM
27208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27209 conftest$ac_exeext conftest.$ac_ext
27210 LIBS=$ac_check_lib_save_LIBS
27212 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27213 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27214 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = x""yes; then
27215 JPEG_LINK=" -ljpeg"
27220 if test "x$JPEG_LINK" = "x" ; then
27221 if test "$wxUSE_LIBJPEG" = "sys" ; then
27222 { { $as_echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27223 $as_echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27224 { (exit 1); exit 1; }; }
27226 { $as_echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27227 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27228 wxUSE_LIBJPEG=builtin
27233 if test "$wxUSE_MSW" = 1; then
27234 { $as_echo "$as_me:$LINENO: checking for boolean" >&5
27235 $as_echo_n "checking for boolean... " >&6; }
27236 if test "${ac_cv_type_boolean+set}" = set; then
27237 $as_echo_n "(cached) " >&6
27239 ac_cv_type_boolean=no
27240 cat >conftest.$ac_ext <<_ACEOF
27243 cat confdefs.h >>conftest.$ac_ext
27244 cat >>conftest.$ac_ext <<_ACEOF
27245 /* end confdefs.h. */
27246 #include <windows.h>
27251 if (sizeof (boolean))
27257 rm -f conftest.$ac_objext
27258 if { (ac_try="$ac_compile"
27259 case "(($ac_try" in
27260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27261 *) ac_try_echo
=$ac_try;;
27263 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
27264 $as_echo "$ac_try_echo") >&5
27265 (eval "$ac_compile") 2>conftest.er1
27267 grep -v '^ *+' conftest.er1
>conftest.err
27269 cat conftest.err
>&5
27270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); } && {
27272 test -z "$ac_c_werror_flag" ||
27273 test ! -s conftest.err
27274 } && test -s conftest.
$ac_objext; then
27275 cat >conftest.
$ac_ext <<_ACEOF
27278 cat confdefs.h
>>conftest.
$ac_ext
27279 cat >>conftest.
$ac_ext <<_ACEOF
27280 /* end confdefs.h. */
27281 #include <windows.h>
27286 if (sizeof ((boolean)))
27292 rm -f conftest.
$ac_objext
27293 if { (ac_try
="$ac_compile"
27294 case "(($ac_try" in
27295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27296 *) ac_try_echo=$ac_try;;
27298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27299 $as_echo "$ac_try_echo") >&5
27300 (eval "$ac_compile") 2>conftest.er1
27302 grep -v '^ *+' conftest.er1 >conftest.err
27304 cat conftest.err >&5
27305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); } && {
27307 test -z "$ac_c_werror_flag" ||
27308 test ! -s conftest.err
27309 } && test -s conftest.$ac_objext; then
27312 $as_echo "$as_me: failed program was:" >&5
27313 sed 's/^/| /' conftest.$ac_ext >&5
27315 ac_cv_type_boolean=yes
27318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27320 $as_echo "$as_me: failed program was:" >&5
27321 sed 's/^/| /' conftest.$ac_ext >&5
27326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27328 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27329 $as_echo "$ac_cv_type_boolean" >&6; }
27330 if test "x$ac_cv_type_boolean" = x""yes; then
27332 cat >>confdefs.h <<_ACEOF
27333 #define HAVE_BOOLEAN 1
27337 # The cast to long int works around a bug in the HP C Compiler
27338 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27339 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27340 # This bug is HP SR number 8606223364.
27341 { $as_echo "$as_me:$LINENO: checking size of boolean" >&5
27342 $as_echo_n "checking size of boolean... " >&6; }
27343 if test "${ac_cv_sizeof_boolean+set}" = set; then
27344 $as_echo_n "(cached) " >&6
27346 if test "$cross_compiling" = yes; then
27347 # Depending upon the size, compute the lo and hi bounds.
27348 cat >conftest.$ac_ext <<_ACEOF
27351 cat confdefs.h >>conftest.$ac_ext
27352 cat >>conftest.$ac_ext <<_ACEOF
27353 /* end confdefs.h. */
27355 #undef HAVE_BOOLEAN
27357 #include <jpeglib.h>
27363 static int test_array [1 - 2 * !(((long int) (sizeof (boolean))) >= 0)];
27370 rm -f conftest.$ac_objext
27371 if { (ac_try="$ac_compile"
27372 case "(($ac_try" in
27373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27374 *) ac_try_echo=$ac_try;;
27376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27377 $as_echo "$ac_try_echo") >&5
27378 (eval "$ac_compile") 2>conftest.er1
27380 grep -v '^
*+' conftest.er1 >conftest.err
27382 cat conftest.err >&5
27383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); } && {
27385 test -z "$ac_c_werror_flag" ||
27386 test ! -s conftest.err
27387 } && test -s conftest.$ac_objext; then
27390 cat >conftest.$ac_ext <<_ACEOF
27393 cat confdefs.h >>conftest.$ac_ext
27394 cat >>conftest.$ac_ext <<_ACEOF
27395 /* end confdefs.h. */
27397 #undef HAVE_BOOLEAN
27399 #include <jpeglib.h>
27405 static int test_array [1 - 2 * !(((long int) (sizeof (boolean))) <= $ac_mid)];
27412 rm -f conftest.$ac_objext
27413 if { (ac_try="$ac_compile"
27414 case "(($ac_try" in
27415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27416 *) ac_try_echo=$ac_try;;
27418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27419 $as_echo "$ac_try_echo") >&5
27420 (eval "$ac_compile") 2>conftest.er1
27422 grep -v '^
*+' conftest.er1 >conftest.err
27424 cat conftest.err >&5
27425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426 (exit $ac_status); } && {
27427 test -z "$ac_c_werror_flag" ||
27428 test ! -s conftest.err
27429 } && test -s conftest.$ac_objext; then
27430 ac_hi=$ac_mid; break
27432 $as_echo "$as_me: failed program was:" >&5
27433 sed 's
/^
/| /' conftest.$ac_ext >&5
27435 ac_lo=`expr $ac_mid + 1`
27436 if test $ac_lo -le $ac_mid; then
27440 ac_mid=`expr 2 '*' $ac_mid + 1`
27443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27446 $as_echo "$as_me: failed program was:" >&5
27447 sed 's
/^
/| /' conftest.$ac_ext >&5
27449 cat >conftest.$ac_ext <<_ACEOF
27452 cat confdefs.h >>conftest.$ac_ext
27453 cat >>conftest.$ac_ext <<_ACEOF
27454 /* end confdefs.h. */
27456 #undef HAVE_BOOLEAN
27458 #include <jpeglib.h>
27464 static int test_array [1 - 2 * !(((long int) (sizeof (boolean))) < 0)];
27471 rm -f conftest.$ac_objext
27472 if { (ac_try="$ac_compile"
27473 case "(($ac_try" in
27474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27475 *) ac_try_echo=$ac_try;;
27477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27478 $as_echo "$ac_try_echo") >&5
27479 (eval "$ac_compile") 2>conftest.er1
27481 grep -v '^
*+' conftest.er1 >conftest.err
27483 cat conftest.err >&5
27484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); } && {
27486 test -z "$ac_c_werror_flag" ||
27487 test ! -s conftest.err
27488 } && test -s conftest.$ac_objext; then
27491 cat >conftest.$ac_ext <<_ACEOF
27494 cat confdefs.h >>conftest.$ac_ext
27495 cat >>conftest.$ac_ext <<_ACEOF
27496 /* end confdefs.h. */
27498 #undef HAVE_BOOLEAN
27500 #include <jpeglib.h>
27506 static int test_array [1 - 2 * !(((long int) (sizeof (boolean))) >= $ac_mid)];
27513 rm -f conftest.$ac_objext
27514 if { (ac_try="$ac_compile"
27515 case "(($ac_try" in
27516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27517 *) ac_try_echo=$ac_try;;
27519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27520 $as_echo "$ac_try_echo") >&5
27521 (eval "$ac_compile") 2>conftest.er1
27523 grep -v '^
*+' conftest.er1 >conftest.err
27525 cat conftest.err >&5
27526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); } && {
27528 test -z "$ac_c_werror_flag" ||
27529 test ! -s conftest.err
27530 } && test -s conftest.$ac_objext; then
27531 ac_lo=$ac_mid; break
27533 $as_echo "$as_me: failed program was:" >&5
27534 sed 's
/^
/| /' conftest.$ac_ext >&5
27536 ac_hi=`expr '(' $ac_mid ')' - 1`
27537 if test $ac_mid -le $ac_hi; then
27541 ac_mid=`expr 2 '*' $ac_mid`
27544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27547 $as_echo "$as_me: failed program was:" >&5
27548 sed 's
/^
/| /' conftest.$ac_ext >&5
27553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27557 # Binary search between lo and hi bounds.
27558 while test "x$ac_lo" != "x$ac_hi"; do
27559 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27560 cat >conftest.$ac_ext <<_ACEOF
27563 cat confdefs.h >>conftest.$ac_ext
27564 cat >>conftest.$ac_ext <<_ACEOF
27565 /* end confdefs.h. */
27567 #undef HAVE_BOOLEAN
27569 #include <jpeglib.h>
27575 static int test_array [1 - 2 * !(((long int) (sizeof (boolean))) <= $ac_mid)];
27582 rm -f conftest.$ac_objext
27583 if { (ac_try="$ac_compile"
27584 case "(($ac_try" in
27585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27586 *) ac_try_echo=$ac_try;;
27588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27589 $as_echo "$ac_try_echo") >&5
27590 (eval "$ac_compile") 2>conftest.er1
27592 grep -v '^
*+' conftest.er1 >conftest.err
27594 cat conftest.err >&5
27595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27596 (exit $ac_status); } && {
27597 test -z "$ac_c_werror_flag" ||
27598 test ! -s conftest.err
27599 } && test -s conftest.$ac_objext; then
27602 $as_echo "$as_me: failed program was:" >&5
27603 sed 's
/^
/| /' conftest.$ac_ext >&5
27605 ac_lo=`expr '(' $ac_mid ')' + 1`
27608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27611 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27612 '') if test "$ac_cv_type_boolean" = yes; then
27613 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27614 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
27615 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27616 See \`config.log
' for more details." >&5
27617 $as_echo "$as_me: error: cannot compute sizeof (boolean)
27618 See \`config.log' for more details.
" >&2;}
27619 { (exit 77); exit 77; }; }; }
27621 ac_cv_sizeof_boolean=0
27625 cat >conftest.$ac_ext <<_ACEOF
27628 cat confdefs.h >>conftest.$ac_ext
27629 cat >>conftest.$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27632 #undef HAVE_BOOLEAN
27634 #include <jpeglib.h>
27637 static long int longval () { return (long int) (sizeof (boolean)); }
27638 static unsigned long int ulongval () { return (long int) (sizeof (boolean)); }
27640 #include <stdlib.h>
27645 FILE *f = fopen ("conftest.val
", "w
");
27648 if (((long int) (sizeof (boolean))) < 0)
27650 long int i = longval ();
27651 if (i != ((long int) (sizeof (boolean))))
27653 fprintf (f, "%ld
", i);
27657 unsigned long int i = ulongval ();
27658 if (i != ((long int) (sizeof (boolean))))
27660 fprintf (f, "%lu
", i);
27662 /* Do not output a trailing newline, as this causes \r\n confusion
27663 on some platforms. */
27664 return ferror (f) || fclose (f) != 0;
27670 rm -f conftest$ac_exeext
27671 if { (ac_try="$ac_link"
27672 case "(($ac_try" in
27673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27674 *) ac_try_echo=$ac_try;;
27676 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
27677 $as_echo "$ac_try_echo") >&5
27678 (eval "$ac_link") 2>&5
27680 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27682 { (case "(($ac_try" in
27683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27684 *) ac_try_echo=$ac_try;;
27686 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
27687 $as_echo "$ac_try_echo") >&5
27688 (eval "$ac_try") 2>&5
27690 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27691 (exit $ac_status); }; }; then
27692 ac_cv_sizeof_boolean=`cat conftest.val`
27694 $as_echo "$as_me: program exited with status
$ac_status" >&5
27695 $as_echo "$as_me: failed program was
:" >&5
27696 sed 's/^/| /' conftest.$ac_ext >&5
27698 ( exit $ac_status )
27699 if test "$ac_cv_type_boolean" = yes; then
27700 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
27701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27702 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27703 See \`config.log' for more details.
" >&5
27704 $as_echo "$as_me: error
: cannot compute sizeof
(boolean
)
27705 See \
`config.log' for more details." >&2;}
27706 { (exit 77); exit 77; }; }; }
27708 ac_cv_sizeof_boolean=0
27711 rm -rf conftest.dSYM
27712 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27716 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27717 $as_echo "$ac_cv_sizeof_boolean" >&6; }
27721 cat >>confdefs.h <<_ACEOF
27722 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27726 cat >>confdefs.h <<_ACEOF
27727 #define wxHACK_BOOLEAN wxInt`expr 8 \
* $ac_cv_sizeof_boolean`
27741 TIFF_PREREQ_LINKS=-lm
27742 if test "$wxUSE_LIBTIFF" != "no" ; then
27743 cat >>confdefs.h <<\_ACEOF
27744 #define wxUSE_LIBTIFF 1
27748 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27749 if test "$wxUSE_LIBJPEG" = "sys"; then
27750 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27752 if test "$wxUSE_ZLIB" = "sys"; then
27753 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27755 { $as_echo "$as_me:$LINENO: checking for tiffio.h" >&5
27756 $as_echo_n "checking for tiffio.h... " >&6; }
27757 if test "${ac_cv_header_tiffio_h+set}" = set; then
27758 $as_echo_n "(cached) " >&6
27760 cat >conftest.$ac_ext <<_ACEOF
27763 cat confdefs.h >>conftest.$ac_ext
27764 cat >>conftest.$ac_ext <<_ACEOF
27765 /* end confdefs.h. */
27769 #include <tiffio.h>
27771 rm -f conftest.$ac_objext
27772 if { (ac_try="$ac_compile"
27773 case "(($ac_try" in
27774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27775 *) ac_try_echo
=$ac_try;;
27777 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
27778 $as_echo "$ac_try_echo") >&5
27779 (eval "$ac_compile") 2>conftest.er1
27781 grep -v '^ *+' conftest.er1
>conftest.err
27783 cat conftest.err
>&5
27784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); } && {
27786 test -z "$ac_c_werror_flag" ||
27787 test ! -s conftest.err
27788 } && test -s conftest.
$ac_objext; then
27789 ac_cv_header_tiffio_h
=yes
27791 $as_echo "$as_me: failed program was:" >&5
27792 sed 's/^/| /' conftest.
$ac_ext >&5
27794 ac_cv_header_tiffio_h
=no
27797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27799 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27800 $as_echo "$ac_cv_header_tiffio_h" >&6; }
27801 if test "x$ac_cv_header_tiffio_h" = x
""yes; then
27803 { $as_echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27804 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
27805 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27806 $as_echo_n "(cached) " >&6
27808 ac_check_lib_save_LIBS
=$LIBS
27809 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27810 cat >conftest.
$ac_ext <<_ACEOF
27813 cat confdefs.h
>>conftest.
$ac_ext
27814 cat >>conftest.
$ac_ext <<_ACEOF
27815 /* end confdefs.h. */
27817 /* Override any GCC internal prototype to avoid an error.
27818 Use char because int might match the return type of a GCC
27819 builtin and then its argument prototype would still apply. */
27827 return TIFFError ();
27832 rm -f conftest.
$ac_objext conftest
$ac_exeext
27833 if { (ac_try
="$ac_link"
27834 case "(($ac_try" in
27835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27836 *) ac_try_echo=$ac_try;;
27838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27839 $as_echo "$ac_try_echo") >&5
27840 (eval "$ac_link") 2>conftest.er1
27842 grep -v '^ *+' conftest.er1 >conftest.err
27844 cat conftest.err >&5
27845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846 (exit $ac_status); } && {
27847 test -z "$ac_c_werror_flag" ||
27848 test ! -s conftest.err
27849 } && test -s conftest$ac_exeext && {
27850 test "$cross_compiling" = yes ||
27851 $as_test_x conftest$ac_exeext
27853 ac_cv_lib_tiff_TIFFError=yes
27855 $as_echo "$as_me: failed program was:" >&5
27856 sed 's/^/| /' conftest.$ac_ext >&5
27858 ac_cv_lib_tiff_TIFFError=no
27861 rm -rf conftest.dSYM
27862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27863 conftest$ac_exeext conftest.$ac_ext
27864 LIBS=$ac_check_lib_save_LIBS
27866 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27867 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
27868 if test "x$ac_cv_lib_tiff_TIFFError" = x""yes; then
27869 TIFF_LINK=" -ltiff"
27877 if test "x$TIFF_LINK" = "x" ; then
27878 if test "$wxUSE_LIBTIFF" = "sys" ; then
27879 { { $as_echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27880 $as_echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27881 { (exit 1); exit 1; }; }
27883 { $as_echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27884 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27885 wxUSE_LIBTIFF=builtin
27891 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27892 if test "$wxUSE_LIBJPEG" = "no"; then
27893 ac_configure_args="$ac_configure_args --disable-jpeg"
27897 subdirs="$subdirs src/tiff"
27903 if test "$wxUSE_WCHAR_T" != "yes"; then
27904 if test "$wxUSE_EXPAT" != "no"; then
27905 { $as_echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27906 $as_echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27909 if test "$wxUSE_XML" != "no"; then
27910 { $as_echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27911 $as_echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27916 if test "$wxUSE_EXPAT" != "no"; then
27918 cat >>confdefs.h <<\_ACEOF
27919 #define wxUSE_EXPAT 1
27922 cat >>confdefs.h <<\_ACEOF
27923 #define wxUSE_XML 1
27927 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27928 { $as_echo "$as_me:$LINENO: checking for expat.h" >&5
27929 $as_echo_n "checking for expat.h... " >&6; }
27930 if test "${ac_cv_header_expat_h+set}" = set; then
27931 $as_echo_n "(cached) " >&6
27933 cat >conftest.$ac_ext <<_ACEOF
27936 cat confdefs.h >>conftest.$ac_ext
27937 cat >>conftest.$ac_ext <<_ACEOF
27938 /* end confdefs.h. */
27943 rm -f conftest.$ac_objext
27944 if { (ac_try="$ac_compile"
27945 case "(($ac_try" in
27946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27947 *) ac_try_echo
=$ac_try;;
27949 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
27950 $as_echo "$ac_try_echo") >&5
27951 (eval "$ac_compile") 2>conftest.er1
27953 grep -v '^ *+' conftest.er1
>conftest.err
27955 cat conftest.err
>&5
27956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } && {
27958 test -z "$ac_c_werror_flag" ||
27959 test ! -s conftest.err
27960 } && test -s conftest.
$ac_objext; then
27961 ac_cv_header_expat_h
=yes
27963 $as_echo "$as_me: failed program was:" >&5
27964 sed 's/^/| /' conftest.
$ac_ext >&5
27966 ac_cv_header_expat_h
=no
27969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27971 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27972 $as_echo "$ac_cv_header_expat_h" >&6; }
27973 if test "x$ac_cv_header_expat_h" = x
""yes; then
27978 if test "x$found_expat_h" = "x1"; then
27979 { $as_echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27980 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
27981 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27982 $as_echo_n "(cached) " >&6
27986 ac_cpp
='$CXXCPP $CPPFLAGS'
27987 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27988 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27989 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27991 cat >conftest.
$ac_ext <<_ACEOF
27994 cat confdefs.h
>>conftest.
$ac_ext
27995 cat >>conftest.
$ac_ext <<_ACEOF
27996 /* end confdefs.h. */
28006 rm -f conftest.
$ac_objext
28007 if { (ac_try
="$ac_compile"
28008 case "(($ac_try" in
28009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28010 *) ac_try_echo=$ac_try;;
28012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28013 $as_echo "$ac_try_echo") >&5
28014 (eval "$ac_compile") 2>conftest.er1
28016 grep -v '^ *+' conftest.er1 >conftest.err
28018 cat conftest.err >&5
28019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28020 (exit $ac_status); } && {
28021 test -z "$ac_cxx_werror_flag" ||
28022 test ! -s conftest.err
28023 } && test -s conftest.$ac_objext; then
28024 wx_cv_expat_is_not_broken=yes
28026 $as_echo "$as_me: failed program was:" >&5
28027 sed 's/^/| /' conftest.$ac_ext >&5
28029 wx_cv_expat_is_not_broken=no
28033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28035 ac_cpp='$CPP $CPPFLAGS'
28036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28043 { $as_echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28044 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
28045 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28046 { $as_echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28047 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
28048 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28049 $as_echo_n "(cached) " >&6
28051 ac_check_lib_save_LIBS=$LIBS
28052 LIBS="-lexpat $LIBS"
28053 cat >conftest.$ac_ext <<_ACEOF
28056 cat confdefs.h >>conftest.$ac_ext
28057 cat >>conftest.$ac_ext <<_ACEOF
28058 /* end confdefs.h. */
28060 /* Override any GCC internal prototype to avoid an error.
28061 Use char because int might match the return type of a GCC
28062 builtin and then its argument prototype would still apply. */
28066 char XML_ParserCreate ();
28070 return XML_ParserCreate ();
28075 rm -f conftest.$ac_objext conftest$ac_exeext
28076 if { (ac_try="$ac_link"
28077 case "(($ac_try" in
28078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28079 *) ac_try_echo
=$ac_try;;
28081 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28082 $as_echo "$ac_try_echo") >&5
28083 (eval "$ac_link") 2>conftest.er1
28085 grep -v '^ *+' conftest.er1
>conftest.err
28087 cat conftest.err
>&5
28088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); } && {
28090 test -z "$ac_c_werror_flag" ||
28091 test ! -s conftest.err
28092 } && test -s conftest
$ac_exeext && {
28093 test "$cross_compiling" = yes ||
28094 $as_test_x conftest
$ac_exeext
28096 ac_cv_lib_expat_XML_ParserCreate
=yes
28098 $as_echo "$as_me: failed program was:" >&5
28099 sed 's/^/| /' conftest.
$ac_ext >&5
28101 ac_cv_lib_expat_XML_ParserCreate
=no
28104 rm -rf conftest.dSYM
28105 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28106 conftest
$ac_exeext conftest.
$ac_ext
28107 LIBS
=$ac_check_lib_save_LIBS
28109 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28110 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28111 if test "x$ac_cv_lib_expat_XML_ParserCreate" = x
""yes; then
28112 EXPAT_LINK
=" -lexpat"
28117 if test "x$EXPAT_LINK" = "x" ; then
28118 if test "$wxUSE_EXPAT" = "sys" ; then
28119 { { $as_echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28120 $as_echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28121 { (exit 1); exit 1; }; }
28123 { $as_echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28124 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28125 wxUSE_EXPAT
=builtin
28131 if test "$wxUSE_EXPAT" = "builtin" ; then
28132 subdirs
="$subdirs src/expat"
28139 if test "$wxUSE_LIBMSPACK" != "no"; then
28140 { $as_echo "$as_me:$LINENO: checking for mspack.h" >&5
28141 $as_echo_n "checking for mspack.h... " >&6; }
28142 if test "${ac_cv_header_mspack_h+set}" = set; then
28143 $as_echo_n "(cached) " >&6
28145 cat >conftest.
$ac_ext <<_ACEOF
28148 cat confdefs.h
>>conftest.
$ac_ext
28149 cat >>conftest.
$ac_ext <<_ACEOF
28150 /* end confdefs.h. */
28153 #include <mspack.h>
28155 rm -f conftest.
$ac_objext
28156 if { (ac_try
="$ac_compile"
28157 case "(($ac_try" in
28158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28159 *) ac_try_echo=$ac_try;;
28161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28162 $as_echo "$ac_try_echo") >&5
28163 (eval "$ac_compile") 2>conftest.er1
28165 grep -v '^ *+' conftest.er1 >conftest.err
28167 cat conftest.err >&5
28168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); } && {
28170 test -z "$ac_c_werror_flag" ||
28171 test ! -s conftest.err
28172 } && test -s conftest.$ac_objext; then
28173 ac_cv_header_mspack_h=yes
28175 $as_echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.$ac_ext >&5
28178 ac_cv_header_mspack_h=no
28181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28183 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28184 $as_echo "$ac_cv_header_mspack_h" >&6; }
28185 if test "x$ac_cv_header_mspack_h" = x""yes; then
28190 if test "x$found_mspack_h" = "x1"; then
28191 { $as_echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28192 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
28193 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28194 $as_echo_n "(cached) " >&6
28196 ac_check_lib_save_LIBS=$LIBS
28197 LIBS="-lmspack $LIBS"
28198 cat >conftest.$ac_ext <<_ACEOF
28201 cat confdefs.h >>conftest.$ac_ext
28202 cat >>conftest.$ac_ext <<_ACEOF
28203 /* end confdefs.h. */
28205 /* Override any GCC internal prototype to avoid an error.
28206 Use char because int might match the return type of a GCC
28207 builtin and then its argument prototype would still apply. */
28211 char mspack_create_chm_decompressor ();
28215 return mspack_create_chm_decompressor ();
28220 rm -f conftest.$ac_objext conftest$ac_exeext
28221 if { (ac_try="$ac_link"
28222 case "(($ac_try" in
28223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28224 *) ac_try_echo
=$ac_try;;
28226 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28227 $as_echo "$ac_try_echo") >&5
28228 (eval "$ac_link") 2>conftest.er1
28230 grep -v '^ *+' conftest.er1
>conftest.err
28232 cat conftest.err
>&5
28233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28234 (exit $ac_status); } && {
28235 test -z "$ac_c_werror_flag" ||
28236 test ! -s conftest.err
28237 } && test -s conftest
$ac_exeext && {
28238 test "$cross_compiling" = yes ||
28239 $as_test_x conftest
$ac_exeext
28241 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
28243 $as_echo "$as_me: failed program was:" >&5
28244 sed 's/^/| /' conftest.
$ac_ext >&5
28246 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
28249 rm -rf conftest.dSYM
28250 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28251 conftest
$ac_exeext conftest.
$ac_ext
28252 LIBS
=$ac_check_lib_save_LIBS
28254 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28255 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28256 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = x
""yes; then
28257 MSPACK_LINK
=" -lmspack"
28261 if test "x$MSPACK_LINK" = "x" ; then
28266 if test "$wxUSE_LIBMSPACK" != "no"; then
28267 cat >>confdefs.h
<<\_ACEOF
28268 #define wxUSE_LIBMSPACK 1
28282 if test "$USE_WIN32" = 1 ; then
28284 for ac_header
in w32api.h
28286 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28287 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
28288 $as_echo_n "checking for $ac_header... " >&6; }
28289 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28290 $as_echo_n "(cached) " >&6
28292 cat >conftest.
$ac_ext <<_ACEOF
28295 cat confdefs.h
>>conftest.
$ac_ext
28296 cat >>conftest.
$ac_ext <<_ACEOF
28297 /* end confdefs.h. */
28300 #include <$ac_header>
28302 rm -f conftest.
$ac_objext
28303 if { (ac_try
="$ac_compile"
28304 case "(($ac_try" in
28305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28306 *) ac_try_echo=$ac_try;;
28308 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28309 $as_echo "$ac_try_echo") >&5
28310 (eval "$ac_compile") 2>conftest.er1
28312 grep -v '^ *+' conftest.er1 >conftest.err
28314 cat conftest.err >&5
28315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); } && {
28317 test -z "$ac_c_werror_flag" ||
28318 test ! -s conftest.err
28319 } && test -s conftest.$ac_objext; then
28320 eval "$as_ac_Header=yes"
28322 $as_echo "$as_me: failed program was:" >&5
28323 sed 's/^/| /' conftest.$ac_ext >&5
28325 eval "$as_ac_Header=no"
28328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28330 ac_res=`eval 'as_val=${'$as_ac_Header'}
28331 $as_echo "$as_val"'`
28332 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28333 $as_echo "$ac_res" >&6; }
28334 as_val=`eval 'as_val=${'$as_ac_Header'}
28335 $as_echo "$as_val"'`
28336 if test "x$as_val" = x""yes; then
28337 cat >>confdefs.h <<_ACEOF
28338 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28345 { $as_echo "$as_me:$LINENO: checking for windows.h" >&5
28346 $as_echo_n "checking for windows.h... " >&6; }
28347 if test "${ac_cv_header_windows_h+set}" = set; then
28348 $as_echo_n "(cached) " >&6
28350 cat >conftest.$ac_ext <<_ACEOF
28353 cat confdefs.h >>conftest.$ac_ext
28354 cat >>conftest.$ac_ext <<_ACEOF
28355 /* end confdefs.h. */
28358 #include <windows.h>
28360 rm -f conftest.$ac_objext
28361 if { (ac_try="$ac_compile"
28362 case "(($ac_try" in
28363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28364 *) ac_try_echo
=$ac_try;;
28366 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28367 $as_echo "$ac_try_echo") >&5
28368 (eval "$ac_compile") 2>conftest.er1
28370 grep -v '^ *+' conftest.er1
>conftest.err
28372 cat conftest.err
>&5
28373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374 (exit $ac_status); } && {
28375 test -z "$ac_c_werror_flag" ||
28376 test ! -s conftest.err
28377 } && test -s conftest.
$ac_objext; then
28378 ac_cv_header_windows_h
=yes
28380 $as_echo "$as_me: failed program was:" >&5
28381 sed 's/^/| /' conftest.
$ac_ext >&5
28383 ac_cv_header_windows_h
=no
28386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28388 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28389 $as_echo "$ac_cv_header_windows_h" >&6; }
28390 if test "x$ac_cv_header_windows_h" = x
""yes; then
28394 { { $as_echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28395 $as_echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28396 { (exit 1); exit 1; }; }
28403 x86_64
-*-mingw32* )
28404 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28407 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28410 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28411 LIBS
="$LIBS -loleacc"
28416 LIBS
="$LIBS -lkernel32 -luser32"
28419 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28420 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
28422 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28424 WIN32INSTALL
=win32install
28426 { $as_echo "$as_me:$LINENO: checking for pbt.h" >&5
28427 $as_echo_n "checking for pbt.h... " >&6; }
28428 if test "${ac_cv_header_pbt_h+set}" = set; then
28429 $as_echo_n "(cached) " >&6
28431 cat >conftest.
$ac_ext <<_ACEOF
28434 cat confdefs.h
>>conftest.
$ac_ext
28435 cat >>conftest.
$ac_ext <<_ACEOF
28436 /* end confdefs.h. */
28441 rm -f conftest.
$ac_objext
28442 if { (ac_try
="$ac_compile"
28443 case "(($ac_try" in
28444 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28445 *) ac_try_echo=$ac_try;;
28447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28448 $as_echo "$ac_try_echo") >&5
28449 (eval "$ac_compile") 2>conftest.er1
28451 grep -v '^ *+' conftest.er1 >conftest.err
28453 cat conftest.err >&5
28454 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28455 (exit $ac_status); } && {
28456 test -z "$ac_c_werror_flag" ||
28457 test ! -s conftest.err
28458 } && test -s conftest.$ac_objext; then
28459 ac_cv_header_pbt_h=yes
28461 $as_echo "$as_me: failed program was:" >&5
28462 sed 's/^/| /' conftest.$ac_ext >&5
28464 ac_cv_header_pbt_h=no
28467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28469 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28470 $as_echo "$ac_cv_header_pbt_h" >&6; }
28471 if test "x$ac_cv_header_pbt_h" = x""yes; then
28474 cat >>confdefs.h <<\_ACEOF
28475 #define NEED_PBT_H 1
28483 if test "$wxUSE_GUI" = "yes"; then
28493 if test "$wxUSE_COCOA" = 1 ; then
28494 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28495 { $as_echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28496 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28497 wxUSE_PRINTING_ARCHITECTURE=no
28499 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28500 { $as_echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28501 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28502 wxUSE_DRAG_AND_DROP=no
28504 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28505 { $as_echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28506 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28511 if test "$wxUSE_MSW" = 1 ; then
28517 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28521 if test "$wxUSE_GTK" = 1; then
28522 { $as_echo "$as_me:$LINENO: checking for GTK+ version" >&5
28523 $as_echo_n "checking for GTK+ version... " >&6; }
28525 gtk_version_cached=1
28526 if test "${wx_cv_lib_gtk+set}" = set; then
28527 $as_echo_n "(cached) " >&6
28530 gtk_version_cached=0
28531 { $as_echo "$as_me:$LINENO: result: " >&5
28535 if test "$wxUSE_THREADS" = "yes"; then
28536 GTK_MODULES=gthread
28540 if test "x$wxGTK_VERSION" != "x1"
28544 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28549 # Check whether --enable-gtktest was given.
28550 if test "${enable_gtktest+set}" = set; then
28551 enableval=$enable_gtktest;
28557 pkg_config_args=gtk+-2.0
28558 for module in . $GTK_MODULES
28562 pkg_config_args="$pkg_config_args gthread-2.0"
28569 # Extract the first word of "pkg-config", so it can be a program name with args.
28570 set dummy pkg-config; ac_word=$2
28571 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
28572 $as_echo_n "checking for $ac_word... " >&6; }
28573 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28574 $as_echo_n "(cached) " >&6
28576 case $PKG_CONFIG in
28578 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28582 for as_dir in $PATH
28585 test -z "$as_dir" && as_dir=.
28586 for ac_exec_ext in '' $ac_executable_extensions; do
28587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28588 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28589 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28596 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28600 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28601 if test -n "$PKG_CONFIG"; then
28602 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28603 $as_echo "$PKG_CONFIG" >&6; }
28605 { $as_echo "$as_me:$LINENO: result: no" >&5
28606 $as_echo "no" >&6; }
28611 if test x$PKG_CONFIG != xno ; then
28612 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28615 echo "*** pkg-config too old; version 0.7 or better required."
28623 min_gtk_version=2.4.0
28624 { $as_echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28625 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
28627 if test x$PKG_CONFIG != xno ; then
28628 ## don't try to run the test against uninstalled libtool libs
28629 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28630 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28634 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28641 if test x"$no_gtk" = x ; then
28642 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28643 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28644 gtk_config_major_version=`$PKG_CONFIG --modversion gtk
+-2.0
| \
28645 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28646 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk
+-2.0
| \
28647 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28648 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk
+-2.0
| \
28649 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28650 if test "x$enable_gtktest" = "xyes" ; then
28651 ac_save_CFLAGS="$CFLAGS"
28652 ac_save_LIBS="$LIBS"
28653 CFLAGS="$CFLAGS $GTK_CFLAGS"
28654 LIBS="$GTK_LIBS $LIBS"
28656 if test "$cross_compiling" = yes; then
28657 echo $ac_n "cross compiling; assumed OK... $ac_c"
28659 cat >conftest.$ac_ext <<_ACEOF
28662 cat confdefs.h >>conftest.$ac_ext
28663 cat >>conftest.$ac_ext <<_ACEOF
28664 /* end confdefs.h. */
28666 #include <gtk/gtk.h>
28668 #include <stdlib.h>
28673 int major, minor, micro;
28676 system ("touch conf.gtktest");
28678 /* HP/UX 9 (%@#!) writes to sscanf strings */
28679 tmp_version = g_strdup("$min_gtk_version");
28680 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28681 printf("%s, bad version string\n", "$min_gtk_version");
28685 if ((gtk_major_version != $gtk_config_major_version) ||
28686 (gtk_minor_version != $gtk_config_minor_version) ||
28687 (gtk_micro_version != $gtk_config_micro_version))
28689 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28690 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28691 gtk_major_version, gtk_minor_version, gtk_micro_version);
28692 printf ("*** was found! If pkg-config was correct, then it is best\n");
28693 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28694 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28695 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28696 printf("*** required on your system.\n");
28697 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28698 printf("*** to point to the correct configuration files\n");
28700 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28701 (gtk_minor_version != GTK_MINOR_VERSION) ||
28702 (gtk_micro_version != GTK_MICRO_VERSION))
28704 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28705 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28706 printf("*** library (version %d.%d.%d)\n",
28707 gtk_major_version, gtk_minor_version, gtk_micro_version);
28711 if ((gtk_major_version > major) ||
28712 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28713 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28719 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28720 gtk_major_version, gtk_minor_version, gtk_micro_version);
28721 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28722 major, minor, micro);
28723 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28725 printf("*** If you have already installed a sufficiently new version, this error\n");
28726 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28727 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28728 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28729 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28730 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28731 printf("*** so that the correct libraries are found at run-time))\n");
28738 rm -f conftest$ac_exeext
28739 if { (ac_try="$ac_link"
28740 case "(($ac_try" in
28741 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28742 *) ac_try_echo
=$ac_try;;
28744 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28745 $as_echo "$ac_try_echo") >&5
28746 (eval "$ac_link") 2>&5
28748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28749 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28750 { (case "(($ac_try" in
28751 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28752 *) ac_try_echo=$ac_try;;
28754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28755 $as_echo "$ac_try_echo") >&5
28756 (eval "$ac_try") 2>&5
28758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; }; then
28762 $as_echo "$as_me: program exited with status $ac_status" >&5
28763 $as_echo "$as_me: failed program was:" >&5
28764 sed 's/^/| /' conftest.$ac_ext >&5
28766 ( exit $ac_status )
28769 rm -rf conftest.dSYM
28770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28774 CFLAGS="$ac_save_CFLAGS"
28775 LIBS="$ac_save_LIBS"
28778 if test "x$no_gtk" = x ; then
28779 { $as_echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28780 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28783 { $as_echo "$as_me:$LINENO: result: no" >&5
28784 $as_echo "no" >&6; }
28785 if test "$PKG_CONFIG" = "no" ; then
28786 echo "*** A new enough version of pkg-config was not found."
28787 echo "*** See http://pkgconfig.sourceforge.net"
28789 if test -f conf.gtktest ; then
28792 echo "*** Could not run GTK+ test program, checking why..."
28793 ac_save_CFLAGS="$CFLAGS"
28794 ac_save_LIBS="$LIBS"
28795 CFLAGS="$CFLAGS $GTK_CFLAGS"
28796 LIBS="$LIBS $GTK_LIBS"
28797 cat >conftest.$ac_ext <<_ACEOF
28800 cat confdefs.h >>conftest.$ac_ext
28801 cat >>conftest.$ac_ext <<_ACEOF
28802 /* end confdefs.h. */
28804 #include <gtk/gtk.h>
28810 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28815 rm -f conftest.$ac_objext conftest$ac_exeext
28816 if { (ac_try="$ac_link"
28817 case "(($ac_try" in
28818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28819 *) ac_try_echo
=$ac_try;;
28821 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
28822 $as_echo "$ac_try_echo") >&5
28823 (eval "$ac_link") 2>conftest.er1
28825 grep -v '^ *+' conftest.er1
>conftest.err
28827 cat conftest.err
>&5
28828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } && {
28830 test -z "$ac_c_werror_flag" ||
28831 test ! -s conftest.err
28832 } && test -s conftest
$ac_exeext && {
28833 test "$cross_compiling" = yes ||
28834 $as_test_x conftest
$ac_exeext
28836 echo "*** The test program compiled, but did not run. This usually means"
28837 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28838 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28839 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28840 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28841 echo "*** is required on your system"
28843 echo "*** If you have an old version installed, it is best to remove it, although"
28844 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28846 $as_echo "$as_me: failed program was:" >&5
28847 sed 's/^/| /' conftest.
$ac_ext >&5
28849 echo "*** The test program failed to compile or link. See the file config.log for the"
28850 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28853 rm -rf conftest.dSYM
28854 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28855 conftest
$ac_exeext conftest.
$ac_ext
28856 CFLAGS
="$ac_save_CFLAGS"
28857 LIBS
="$ac_save_LIBS"
28871 if test "$wxUSE_SHARED" != "yes"; then
28872 GTK_LIBS
="$GTK_LIBS -lX11"
28877 if test -z "$wx_cv_lib_gtk"; then
28878 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28880 # Check whether --with-gtk-prefix was given.
28881 if test "${with_gtk_prefix+set}" = set; then
28882 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
28884 gtk_config_prefix
=""
28888 # Check whether --with-gtk-exec-prefix was given.
28889 if test "${with_gtk_exec_prefix+set}" = set; then
28890 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
28892 gtk_config_exec_prefix
=""
28895 # Check whether --enable-gtktest was given.
28896 if test "${enable_gtktest+set}" = set; then
28897 enableval
=$enable_gtktest;
28903 for module
in .
$GTK_MODULES
28907 gtk_config_args
="$gtk_config_args gthread"
28912 if test x
$gtk_config_exec_prefix != x
; then
28913 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28914 if test x
${GTK_CONFIG+set} != xset
; then
28915 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
28918 if test x
$gtk_config_prefix != x
; then
28919 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
28920 if test x
${GTK_CONFIG+set} != xset
; then
28921 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
28925 # Extract the first word of "gtk-config", so it can be a program name with args.
28926 set dummy gtk
-config; ac_word
=$2
28927 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
28928 $as_echo_n "checking for $ac_word... " >&6; }
28929 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28930 $as_echo_n "(cached) " >&6
28932 case $GTK_CONFIG in
28934 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
28937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28938 for as_dir
in $PATH
28941 test -z "$as_dir" && as_dir
=.
28942 for ac_exec_ext
in '' $ac_executable_extensions; do
28943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28944 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28945 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28952 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
28956 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
28957 if test -n "$GTK_CONFIG"; then
28958 { $as_echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28959 $as_echo "$GTK_CONFIG" >&6; }
28961 { $as_echo "$as_me:$LINENO: result: no" >&5
28962 $as_echo "no" >&6; }
28966 min_gtk_version
=1.2.7
28967 { $as_echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28968 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
28970 if test "$GTK_CONFIG" = "no" ; then
28973 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
28974 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
28975 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
28976 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28977 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
28978 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28979 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
28980 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28981 if test "x$enable_gtktest" = "xyes" ; then
28982 ac_save_CFLAGS
="$CFLAGS"
28983 ac_save_LIBS
="$LIBS"
28984 CFLAGS
="$CFLAGS $GTK_CFLAGS"
28985 LIBS
="$GTK_LIBS $LIBS"
28987 if test "$cross_compiling" = yes; then
28988 echo $ac_n "cross compiling; assumed OK... $ac_c"
28990 cat >conftest.
$ac_ext <<_ACEOF
28993 cat confdefs.h
>>conftest.
$ac_ext
28994 cat >>conftest.
$ac_ext <<_ACEOF
28995 /* end confdefs.h. */
28997 #include <gtk/gtk.h>
28999 #include <stdlib.h>
29004 int major, minor, micro;
29007 system ("touch conf.gtktest");
29009 /* HP/UX 9 (%@#!) writes to sscanf strings */
29010 tmp_version = g_strdup("$min_gtk_version");
29011 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29012 printf("%s, bad version string\n", "$min_gtk_version");
29016 if ((gtk_major_version != $gtk_config_major_version) ||
29017 (gtk_minor_version != $gtk_config_minor_version) ||
29018 (gtk_micro_version != $gtk_config_micro_version))
29020 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29021 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29022 gtk_major_version, gtk_minor_version, gtk_micro_version);
29023 printf ("*** was found! If gtk-config was correct, then it is best\n");
29024 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29025 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29026 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29027 printf("*** required on your system.\n");
29028 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29029 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29030 printf("*** before re-running configure\n");
29032 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29033 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29034 (gtk_minor_version != GTK_MINOR_VERSION) ||
29035 (gtk_micro_version != GTK_MICRO_VERSION))
29037 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29038 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29039 printf("*** library (version %d.%d.%d)\n",
29040 gtk_major_version, gtk_minor_version, gtk_micro_version);
29042 #endif /* defined (GTK_MAJOR_VERSION) ... */
29045 if ((gtk_major_version > major) ||
29046 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29047 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29053 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29054 gtk_major_version, gtk_minor_version, gtk_micro_version);
29055 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29056 major, minor, micro);
29057 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29059 printf("*** If you have already installed a sufficiently new version, this error\n");
29060 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29061 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29062 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29063 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29064 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29065 printf("*** so that the correct libraries are found at run-time))\n");
29072 rm -f conftest
$ac_exeext
29073 if { (ac_try
="$ac_link"
29074 case "(($ac_try" in
29075 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29076 *) ac_try_echo=$ac_try;;
29078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29079 $as_echo "$ac_try_echo") >&5
29080 (eval "$ac_link") 2>&5
29082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29084 { (case "(($ac_try" in
29085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29086 *) ac_try_echo
=$ac_try;;
29088 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
29089 $as_echo "$ac_try_echo") >&5
29090 (eval "$ac_try") 2>&5
29092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); }; }; then
29096 $as_echo "$as_me: program exited with status $ac_status" >&5
29097 $as_echo "$as_me: failed program was:" >&5
29098 sed 's/^/| /' conftest.
$ac_ext >&5
29100 ( exit $ac_status )
29103 rm -rf conftest.dSYM
29104 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29108 CFLAGS
="$ac_save_CFLAGS"
29109 LIBS
="$ac_save_LIBS"
29112 if test "x$no_gtk" = x
; then
29113 { $as_echo "$as_me:$LINENO: result: yes" >&5
29114 $as_echo "yes" >&6; }
29115 wx_cv_lib_gtk
=1.2.7
29117 { $as_echo "$as_me:$LINENO: result: no" >&5
29118 $as_echo "no" >&6; }
29119 if test "$GTK_CONFIG" = "no" ; then
29120 echo "*** The gtk-config script installed by GTK could not be found"
29121 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29122 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29123 echo "*** full path to gtk-config."
29125 if test -f conf.gtktest
; then
29128 echo "*** Could not run GTK test program, checking why..."
29129 CFLAGS
="$CFLAGS $GTK_CFLAGS"
29130 LIBS
="$LIBS $GTK_LIBS"
29131 cat >conftest.
$ac_ext <<_ACEOF
29134 cat confdefs.h
>>conftest.
$ac_ext
29135 cat >>conftest.
$ac_ext <<_ACEOF
29136 /* end confdefs.h. */
29138 #include <gtk/gtk.h>
29144 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29149 rm -f conftest.
$ac_objext conftest
$ac_exeext
29150 if { (ac_try
="$ac_link"
29151 case "(($ac_try" in
29152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29153 *) ac_try_echo=$ac_try;;
29155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29156 $as_echo "$ac_try_echo") >&5
29157 (eval "$ac_link") 2>conftest.er1
29159 grep -v '^ *+' conftest.er1 >conftest.err
29161 cat conftest.err >&5
29162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); } && {
29164 test -z "$ac_c_werror_flag" ||
29165 test ! -s conftest.err
29166 } && test -s conftest$ac_exeext && {
29167 test "$cross_compiling" = yes ||
29168 $as_test_x conftest$ac_exeext
29170 echo "*** The test program compiled, but did not run. This usually means"
29171 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29172 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29173 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29174 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29175 echo "*** is required on your system"
29177 echo "*** If you have an old version installed, it is best to remove it, although"
29178 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29180 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29181 echo "*** came with the system with the command"
29183 echo "*** rpm --erase --nodeps gtk gtk-devel"
29185 $as_echo "$as_me: failed program was:" >&5
29186 sed 's/^/| /' conftest.$ac_ext >&5
29188 echo "*** The test program failed to compile or link. See the file config.log for the"
29189 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29190 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29191 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29194 rm -rf conftest.dSYM
29195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29196 conftest$ac_exeext conftest.$ac_ext
29197 CFLAGS="$ac_save_CFLAGS"
29198 LIBS="$ac_save_LIBS"
29210 if test -z "$wx_cv_lib_gtk"; then
29212 # Check whether --with-gtk-prefix was given.
29213 if test "${with_gtk_prefix+set}" = set; then
29214 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29216 gtk_config_prefix=""
29220 # Check whether --with-gtk-exec-prefix was given.
29221 if test "${with_gtk_exec_prefix+set}" = set; then
29222 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29224 gtk_config_exec_prefix=""
29227 # Check whether --enable-gtktest was given.
29228 if test "${enable_gtktest+set}" = set; then
29229 enableval=$enable_gtktest;
29235 for module in . $GTK_MODULES
29239 gtk_config_args="$gtk_config_args gthread"
29244 if test x$gtk_config_exec_prefix != x ; then
29245 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29246 if test x${GTK_CONFIG+set} != xset ; then
29247 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29250 if test x$gtk_config_prefix != x ; then
29251 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29252 if test x${GTK_CONFIG+set} != xset ; then
29253 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29257 # Extract the first word of "gtk-config", so it can be a program name with args.
29258 set dummy gtk-config; ac_word=$2
29259 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
29260 $as_echo_n "checking for $ac_word... " >&6; }
29261 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29262 $as_echo_n "(cached) " >&6
29264 case $GTK_CONFIG in
29266 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29270 for as_dir in $PATH
29273 test -z "$as_dir" && as_dir=.
29274 for ac_exec_ext in '' $ac_executable_extensions; do
29275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29276 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29277 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29284 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29288 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29289 if test -n "$GTK_CONFIG"; then
29290 { $as_echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29291 $as_echo "$GTK_CONFIG" >&6; }
29293 { $as_echo "$as_me:$LINENO: result: no" >&5
29294 $as_echo "no" >&6; }
29298 min_gtk_version=1.2.3
29299 { $as_echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29300 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
29302 if test "$GTK_CONFIG" = "no" ; then
29305 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29306 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29307 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29308 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29309 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29310 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29311 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29312 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29313 if test "x$enable_gtktest" = "xyes" ; then
29314 ac_save_CFLAGS="$CFLAGS"
29315 ac_save_LIBS="$LIBS"
29316 CFLAGS="$CFLAGS $GTK_CFLAGS"
29317 LIBS="$GTK_LIBS $LIBS"
29319 if test "$cross_compiling" = yes; then
29320 echo $ac_n "cross compiling; assumed OK... $ac_c"
29322 cat >conftest.$ac_ext <<_ACEOF
29325 cat confdefs.h >>conftest.$ac_ext
29326 cat >>conftest.$ac_ext <<_ACEOF
29327 /* end confdefs.h. */
29329 #include <gtk/gtk.h>
29331 #include <stdlib.h>
29336 int major, minor, micro;
29339 system ("touch conf.gtktest");
29341 /* HP/UX 9 (%@#!) writes to sscanf strings */
29342 tmp_version = g_strdup("$min_gtk_version");
29343 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29344 printf("%s, bad version string\n", "$min_gtk_version");
29348 if ((gtk_major_version != $gtk_config_major_version) ||
29349 (gtk_minor_version != $gtk_config_minor_version) ||
29350 (gtk_micro_version != $gtk_config_micro_version))
29352 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29353 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29354 gtk_major_version, gtk_minor_version, gtk_micro_version);
29355 printf ("*** was found! If gtk-config was correct, then it is best\n");
29356 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29357 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29358 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29359 printf("*** required on your system.\n");
29360 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29361 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29362 printf("*** before re-running configure\n");
29364 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29365 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29366 (gtk_minor_version != GTK_MINOR_VERSION) ||
29367 (gtk_micro_version != GTK_MICRO_VERSION))
29369 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29370 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29371 printf("*** library (version %d.%d.%d)\n",
29372 gtk_major_version, gtk_minor_version, gtk_micro_version);
29374 #endif /* defined (GTK_MAJOR_VERSION) ... */
29377 if ((gtk_major_version > major) ||
29378 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29379 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29385 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29386 gtk_major_version, gtk_minor_version, gtk_micro_version);
29387 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29388 major, minor, micro);
29389 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29391 printf("*** If you have already installed a sufficiently new version, this error\n");
29392 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29393 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29394 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29395 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29396 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29397 printf("*** so that the correct libraries are found at run-time))\n");
29404 rm -f conftest$ac_exeext
29405 if { (ac_try="$ac_link"
29406 case "(($ac_try" in
29407 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29408 *) ac_try_echo
=$ac_try;;
29410 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
29411 $as_echo "$ac_try_echo") >&5
29412 (eval "$ac_link") 2>&5
29414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29416 { (case "(($ac_try" in
29417 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29418 *) ac_try_echo=$ac_try;;
29420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29421 $as_echo "$ac_try_echo") >&5
29422 (eval "$ac_try") 2>&5
29424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); }; }; then
29428 $as_echo "$as_me: program exited with status $ac_status" >&5
29429 $as_echo "$as_me: failed program was:" >&5
29430 sed 's/^/| /' conftest.$ac_ext >&5
29432 ( exit $ac_status )
29435 rm -rf conftest.dSYM
29436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29440 CFLAGS="$ac_save_CFLAGS"
29441 LIBS="$ac_save_LIBS"
29444 if test "x$no_gtk" = x ; then
29445 { $as_echo "$as_me:$LINENO: result: yes" >&5
29446 $as_echo "yes" >&6; }
29447 wx_cv_lib_gtk=1.2.3
29449 { $as_echo "$as_me:$LINENO: result: no" >&5
29450 $as_echo "no" >&6; }
29451 if test "$GTK_CONFIG" = "no" ; then
29452 echo "*** The gtk-config script installed by GTK could not be found"
29453 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29454 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29455 echo "*** full path to gtk-config."
29457 if test -f conf.gtktest ; then
29460 echo "*** Could not run GTK test program, checking why..."
29461 CFLAGS="$CFLAGS $GTK_CFLAGS"
29462 LIBS="$LIBS $GTK_LIBS"
29463 cat >conftest.$ac_ext <<_ACEOF
29466 cat confdefs.h >>conftest.$ac_ext
29467 cat >>conftest.$ac_ext <<_ACEOF
29468 /* end confdefs.h. */
29470 #include <gtk/gtk.h>
29476 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29481 rm -f conftest.$ac_objext conftest$ac_exeext
29482 if { (ac_try="$ac_link"
29483 case "(($ac_try" in
29484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29485 *) ac_try_echo
=$ac_try;;
29487 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
29488 $as_echo "$ac_try_echo") >&5
29489 (eval "$ac_link") 2>conftest.er1
29491 grep -v '^ *+' conftest.er1
>conftest.err
29493 cat conftest.err
>&5
29494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); } && {
29496 test -z "$ac_c_werror_flag" ||
29497 test ! -s conftest.err
29498 } && test -s conftest
$ac_exeext && {
29499 test "$cross_compiling" = yes ||
29500 $as_test_x conftest
$ac_exeext
29502 echo "*** The test program compiled, but did not run. This usually means"
29503 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29504 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29505 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29506 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29507 echo "*** is required on your system"
29509 echo "*** If you have an old version installed, it is best to remove it, although"
29510 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29512 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29513 echo "*** came with the system with the command"
29515 echo "*** rpm --erase --nodeps gtk gtk-devel"
29517 $as_echo "$as_me: failed program was:" >&5
29518 sed 's/^/| /' conftest.
$ac_ext >&5
29520 echo "*** The test program failed to compile or link. See the file config.log for the"
29521 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29522 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29523 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29526 rm -rf conftest.dSYM
29527 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29528 conftest
$ac_exeext conftest.
$ac_ext
29529 CFLAGS
="$ac_save_CFLAGS"
29530 LIBS
="$ac_save_LIBS"
29545 if test -z "$wx_cv_lib_gtk"; then
29548 wx_cv_cflags_gtk
=$GTK_CFLAGS
29549 wx_cv_libs_gtk
=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29556 if test "$gtk_version_cached" = 1; then
29557 { $as_echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29558 $as_echo "$wx_cv_lib_gtk" >&6; }
29561 case "$wx_cv_lib_gtk" in
29570 *) { { $as_echo "$as_me:$LINENO: error:
29571 The development files for GTK+ were not found. For GTK+ 2, please
29572 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29573 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29574 and that the version is 1.2.3 or above. Also check that the
29575 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29576 --libs' are in the LD_LIBRARY_PATH or equivalent.
29578 $as_echo "$as_me: error:
29579 The development files for GTK+ were not found. For GTK+ 2, please
29580 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29581 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29582 and that the version is 1.2.3 or above. Also check that the
29583 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29584 --libs' are in the LD_LIBRARY_PATH or equivalent.
29586 { (exit 1); exit 1; }; }
29590 if test "$WXGTK2" = 1; then
29591 save_CFLAGS
="$CFLAGS"
29593 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
29594 LIBS
="$LIBS $wx_cv_libs_gtk"
29596 { $as_echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29597 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
29598 cat >conftest.
$ac_ext <<_ACEOF
29601 cat confdefs.h
>>conftest.
$ac_ext
29602 cat >>conftest.
$ac_ext <<_ACEOF
29603 /* end confdefs.h. */
29605 #include <gtk/gtk.h>
29611 #if !GTK_CHECK_VERSION(2,10,0)
29619 rm -f conftest.
$ac_objext
29620 if { (ac_try
="$ac_compile"
29621 case "(($ac_try" in
29622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29623 *) ac_try_echo=$ac_try;;
29625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29626 $as_echo "$ac_try_echo") >&5
29627 (eval "$ac_compile") 2>conftest.er1
29629 grep -v '^ *+' conftest.er1 >conftest.err
29631 cat conftest.err >&5
29632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); } && {
29634 test -z "$ac_c_werror_flag" ||
29635 test ! -s conftest.err
29636 } && test -s conftest.$ac_objext; then
29638 cat >>confdefs.h <<\_ACEOF
29639 #define __WXGTK210__ 1
29642 cat >>confdefs.h <<\_ACEOF
29643 #define __WXGTK26__ 1
29646 { $as_echo "$as_me:$LINENO: result: yes" >&5
29647 $as_echo "yes" >&6; }
29651 $as_echo "$as_me: failed program was:" >&5
29652 sed 's/^/| /' conftest.$ac_ext >&5
29655 { $as_echo "$as_me:$LINENO: result: no" >&5
29656 $as_echo "no" >&6; }
29661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29663 if test "$ac_wxgtk210" = 0; then
29664 { $as_echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29665 $as_echo_n "checking if GTK+ is version >= 2.6... " >&6; }
29666 cat >conftest.$ac_ext <<_ACEOF
29669 cat confdefs.h >>conftest.$ac_ext
29670 cat >>conftest.$ac_ext <<_ACEOF
29671 /* end confdefs.h. */
29673 #include <gtk/gtk.h>
29679 #if !GTK_CHECK_VERSION(2,6,0)
29687 rm -f conftest.$ac_objext
29688 if { (ac_try="$ac_compile"
29689 case "(($ac_try" in
29690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29691 *) ac_try_echo
=$ac_try;;
29693 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
29694 $as_echo "$ac_try_echo") >&5
29695 (eval "$ac_compile") 2>conftest.er1
29697 grep -v '^ *+' conftest.er1
>conftest.err
29699 cat conftest.err
>&5
29700 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); } && {
29702 test -z "$ac_c_werror_flag" ||
29703 test ! -s conftest.err
29704 } && test -s conftest.
$ac_objext; then
29706 cat >>confdefs.h
<<\_ACEOF
29707 #define __WXGTK26__ 1
29710 { $as_echo "$as_me:$LINENO: result: yes" >&5
29711 $as_echo "yes" >&6; }
29715 $as_echo "$as_me: failed program was:" >&5
29716 sed 's/^/| /' conftest.
$ac_ext >&5
29719 { $as_echo "$as_me:$LINENO: result: no" >&5
29720 $as_echo "no" >&6; }
29725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29728 CFLAGS
="$save_CFLAGS"
29731 if test "$wxUSE_UNICODE" = "yes"; then
29732 { $as_echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29733 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29737 { $as_echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29738 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
29739 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29740 $as_echo_n "(cached) " >&6
29742 ac_check_lib_save_LIBS
=$LIBS
29744 cat >conftest.
$ac_ext <<_ACEOF
29747 cat confdefs.h
>>conftest.
$ac_ext
29748 cat >>conftest.
$ac_ext <<_ACEOF
29749 /* end confdefs.h. */
29751 /* Override any GCC internal prototype to avoid an error.
29752 Use char because int might match the return type of a GCC
29753 builtin and then its argument prototype would still apply. */
29757 char gdk_im_open ();
29761 return gdk_im_open ();
29766 rm -f conftest.
$ac_objext conftest
$ac_exeext
29767 if { (ac_try
="$ac_link"
29768 case "(($ac_try" in
29769 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29770 *) ac_try_echo=$ac_try;;
29772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29773 $as_echo "$ac_try_echo") >&5
29774 (eval "$ac_link") 2>conftest.er1
29776 grep -v '^ *+' conftest.er1 >conftest.err
29778 cat conftest.err >&5
29779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29780 (exit $ac_status); } && {
29781 test -z "$ac_c_werror_flag" ||
29782 test ! -s conftest.err
29783 } && test -s conftest$ac_exeext && {
29784 test "$cross_compiling" = yes ||
29785 $as_test_x conftest$ac_exeext
29787 ac_cv_lib_gdk_gdk_im_open=yes
29789 $as_echo "$as_me: failed program was:" >&5
29790 sed 's/^/| /' conftest.$ac_ext >&5
29792 ac_cv_lib_gdk_gdk_im_open=no
29795 rm -rf conftest.dSYM
29796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29797 conftest$ac_exeext conftest.$ac_ext
29798 LIBS=$ac_check_lib_save_LIBS
29800 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29801 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
29802 if test "x$ac_cv_lib_gdk_gdk_im_open" = x""yes; then
29803 cat >>confdefs.h <<\_ACEOF
29810 if test "$USE_DARWIN" != 1; then
29812 for ac_func in poll
29814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29815 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
29816 $as_echo_n "checking for $ac_func... " >&6; }
29817 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29818 $as_echo_n "(cached) " >&6
29820 cat >conftest.$ac_ext <<_ACEOF
29823 cat confdefs.h >>conftest.$ac_ext
29824 cat >>conftest.$ac_ext <<_ACEOF
29825 /* end confdefs.h. */
29826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29828 #define $ac_func innocuous_$ac_func
29830 /* System header to define __stub macros and hopefully few prototypes,
29831 which can conflict with char $ac_func (); below.
29832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29833 <limits.h> exists even on freestanding compilers. */
29836 # include <limits.h>
29838 # include <assert.h>
29843 /* Override any GCC internal prototype to avoid an error.
29844 Use char because int might match the return type of a GCC
29845 builtin and then its argument prototype would still apply. */
29850 /* The GNU C library defines this for functions which it implements
29851 to always fail with ENOSYS. Some functions are actually named
29852 something starting with __ and the normal name is an alias. */
29853 #if defined __stub_$ac_func || defined __stub___$ac_func
29860 return $ac_func ();
29865 rm -f conftest.$ac_objext conftest$ac_exeext
29866 if { (ac_try="$ac_link"
29867 case "(($ac_try" in
29868 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29869 *) ac_try_echo
=$ac_try;;
29871 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
29872 $as_echo "$ac_try_echo") >&5
29873 (eval "$ac_link") 2>conftest.er1
29875 grep -v '^ *+' conftest.er1
>conftest.err
29877 cat conftest.err
>&5
29878 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); } && {
29880 test -z "$ac_c_werror_flag" ||
29881 test ! -s conftest.err
29882 } && test -s conftest
$ac_exeext && {
29883 test "$cross_compiling" = yes ||
29884 $as_test_x conftest
$ac_exeext
29886 eval "$as_ac_var=yes"
29888 $as_echo "$as_me: failed program was:" >&5
29889 sed 's/^/| /' conftest.
$ac_ext >&5
29891 eval "$as_ac_var=no"
29894 rm -rf conftest.dSYM
29895 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29896 conftest
$ac_exeext conftest.
$ac_ext
29898 ac_res
=`eval 'as_val=${'$as_ac_var'}
29899 $as_echo "$as_val"'`
29900 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29901 $as_echo "$ac_res" >&6; }
29902 as_val
=`eval 'as_val=${'$as_ac_var'}
29903 $as_echo "$as_val"'`
29904 if test "x$as_val" = x
""yes; then
29905 cat >>confdefs.h
<<_ACEOF
29906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29915 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
29916 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29918 AFMINSTALL
=afminstall
29922 if test "$wxUSE_GPE" = "yes"; then
29923 { $as_echo "$as_me:$LINENO: checking for gpewidget library" >&5
29924 $as_echo_n "checking for gpewidget library... " >&6; }
29927 for ac_dir
in $SEARCH_LIB;
29929 for ac_extension
in a so sl dylib dll.a
; do
29930 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29931 ac_find_libraries
=$ac_dir
29937 if test "$ac_find_libraries" != "" ; then
29939 if test "$ac_find_libraries" = "default location"; then
29942 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
29944 if test $result = 0; then
29947 ac_path_to_link
=" -L$ac_find_libraries"
29951 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29953 { $as_echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29954 $as_echo "found in $ac_find_libraries" >&6; }
29956 { $as_echo "$as_me:$LINENO: result: not found" >&5
29957 $as_echo "not found" >&6; }
29963 if test "$wxUSE_MGL" = 1; then
29964 { $as_echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29965 $as_echo_n "checking for SciTech MGL library... " >&6; }
29966 if test "x$MGL_ROOT" = x
; then
29967 { $as_echo "$as_me:$LINENO: result: not found" >&5
29968 $as_echo "not found" >&6; }
29969 { { $as_echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29970 $as_echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29971 { (exit 1); exit 1; }; }
29973 { $as_echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29974 $as_echo "$MGL_ROOT" >&6; }
29977 { $as_echo "$as_me:$LINENO: checking for libmgl location" >&5
29978 $as_echo_n "checking for libmgl location... " >&6; }
29981 if test "x$wxUSE_SHARED" = xyes
; then
29982 mgl_os_candidates
="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29984 mgl_os_candidates
="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29988 mgl_os_candidates
="dos32/dj2"
29991 { { $as_echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29992 $as_echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29993 { (exit 1); exit 1; }; }
29999 for mgl_os_i
in $mgl_os_candidates ; do
30000 if test "x$mgl_os" = x
; then
30001 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30002 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
30003 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
30008 if test "x$mgl_lib_type" = x
; then
30009 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
30010 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
30011 mgl_lib_type
=release
30018 if test "x$mgl_os" = x
; then
30019 { $as_echo "$as_me:$LINENO: result: not found" >&5
30020 $as_echo "not found" >&6; }
30021 { { $as_echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30022 $as_echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30023 { (exit 1); exit 1; }; }
30025 { $as_echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30026 $as_echo "\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30028 wxUSE_UNIVERSAL
="yes"
30030 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
30031 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30033 AFMINSTALL
=afminstall
30038 if test "$wxUSE_DFB" = 1; then
30041 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30042 if test -n "$ac_tool_prefix"; then
30043 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30044 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
30045 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
30046 $as_echo_n "checking for $ac_word... " >&6; }
30047 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30048 $as_echo_n "(cached) " >&6
30050 case $PKG_CONFIG in
30052 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
30055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30056 for as_dir
in $PATH
30059 test -z "$as_dir" && as_dir
=.
30060 for ac_exec_ext
in '' $ac_executable_extensions; do
30061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30062 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30063 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30073 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
30074 if test -n "$PKG_CONFIG"; then
30075 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30076 $as_echo "$PKG_CONFIG" >&6; }
30078 { $as_echo "$as_me:$LINENO: result: no" >&5
30079 $as_echo "no" >&6; }
30084 if test -z "$ac_cv_path_PKG_CONFIG"; then
30085 ac_pt_PKG_CONFIG
=$PKG_CONFIG
30086 # Extract the first word of "pkg-config", so it can be a program name with args.
30087 set dummy pkg
-config; ac_word
=$2
30088 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
30089 $as_echo_n "checking for $ac_word... " >&6; }
30090 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30091 $as_echo_n "(cached) " >&6
30093 case $ac_pt_PKG_CONFIG in
30095 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30099 for as_dir
in $PATH
30102 test -z "$as_dir" && as_dir
=.
30103 for ac_exec_ext
in '' $ac_executable_extensions; do
30104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30105 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30106 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30116 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
30117 if test -n "$ac_pt_PKG_CONFIG"; then
30118 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30119 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
30121 { $as_echo "$as_me:$LINENO: result: no" >&5
30122 $as_echo "no" >&6; }
30125 if test "x$ac_pt_PKG_CONFIG" = x
; then
30128 case $cross_compiling:$ac_tool_warned in
30130 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
30131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
30132 ac_tool_warned
=yes ;;
30134 PKG_CONFIG
=$ac_pt_PKG_CONFIG
30137 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
30141 if test -n "$PKG_CONFIG"; then
30142 _pkg_min_version
=0.9.0
30143 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30144 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
30145 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30146 { $as_echo "$as_me:$LINENO: result: yes" >&5
30147 $as_echo "yes" >&6; }
30149 { $as_echo "$as_me:$LINENO: result: no" >&5
30150 $as_echo "no" >&6; }
30158 { $as_echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30159 $as_echo_n "checking for DIRECTFB... " >&6; }
30161 if test -n "$PKG_CONFIG"; then
30162 if test -n "$DIRECTFB_CFLAGS"; then
30163 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
30165 if test -n "$PKG_CONFIG" && \
30166 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30167 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); }; then
30171 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30179 if test -n "$PKG_CONFIG"; then
30180 if test -n "$DIRECTFB_LIBS"; then
30181 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
30183 if test -n "$PKG_CONFIG" && \
30184 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30185 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); }; then
30189 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30200 if test $pkg_failed = yes; then
30202 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30203 _pkg_short_errors_supported
=yes
30205 _pkg_short_errors_supported
=no
30207 if test $_pkg_short_errors_supported = yes; then
30208 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30210 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30212 # Put the nasty error message in config.log where it belongs
30213 echo "$DIRECTFB_PKG_ERRORS" >&5
30216 { { $as_echo "$as_me:$LINENO: error: DirectFB not found." >&5
30217 $as_echo "$as_me: error: DirectFB not found." >&2;}
30218 { (exit 1); exit 1; }; }
30221 elif test $pkg_failed = untried
; then
30223 { { $as_echo "$as_me:$LINENO: error: DirectFB not found." >&5
30224 $as_echo "$as_me: error: DirectFB not found." >&2;}
30225 { (exit 1); exit 1; }; }
30229 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
30230 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
30231 { $as_echo "$as_me:$LINENO: result: yes" >&5
30232 $as_echo "yes" >&6; }
30234 wxUSE_UNIVERSAL
="yes"
30235 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
30236 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
30243 if test "$wxUSE_MICROWIN" = 1; then
30244 { $as_echo "$as_me:$LINENO: checking for MicroWindows" >&5
30245 $as_echo_n "checking for MicroWindows... " >&6; }
30246 if test "x$MICROWINDOWS" = x
; then
30247 { $as_echo "$as_me:$LINENO: result: not found" >&5
30248 $as_echo "not found" >&6; }
30249 { { $as_echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30250 $as_echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30251 { (exit 1); exit 1; }; }
30253 { $as_echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30254 $as_echo "$MICROWINDOWS" >&6; }
30257 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
30258 { $as_echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30259 $as_echo "MicroWindows' libraries found." >&6; }
30261 { { $as_echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30262 $as_echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30263 { (exit 1); exit 1; }; }
30266 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
30267 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30269 wxUSE_UNIVERSAL
="yes"
30271 AFMINSTALL
=afminstall
30273 GUIDIST
=MICROWIN_DIST
30275 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30278 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30279 { $as_echo "$as_me:$LINENO: checking for X" >&5
30280 $as_echo_n "checking for X... " >&6; }
30283 # Check whether --with-x was given.
30284 if test "${with_x+set}" = set; then
30288 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30289 if test "x$with_x" = xno
; then
30290 # The user explicitly disabled X.
30293 case $x_includes,$x_libraries in #(
30294 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
30295 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
30296 { (exit 1); exit 1; }; };; #(
30297 *,NONE
| NONE
,*) if test "${ac_cv_have_x+set}" = set; then
30298 $as_echo_n "(cached) " >&6
30300 # One or both of the vars are not set, and there is no cached value.
30301 ac_x_includes
=no ac_x_libraries
=no
30302 rm -f -r conftest.dir
30303 if mkdir conftest.dir
; then
30305 cat >Imakefile
<<'_ACEOF'
30307 @echo incroot='${INCROOT}'
30309 @echo usrlibdir='${USRLIBDIR}'
30311 @echo libdir='${LIBDIR}'
30313 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
30314 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30315 for ac_var
in incroot usrlibdir libdir
; do
30316 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30318 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30319 for ac_extension
in a so sl dylib la dll
; do
30320 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30321 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30322 ac_im_usrlibdir
=$ac_im_libdir; break
30325 # Screen out bogus values from the imake configuration. They are
30326 # bogus both because they are the default anyway, and because
30327 # using them would break gcc on systems where it needs fixed includes.
30328 case $ac_im_incroot in
30329 /usr
/include
) ac_x_includes
= ;;
30330 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
30332 case $ac_im_usrlibdir in
30333 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
30334 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
30338 rm -f -r conftest.dir
30341 # Standard set of common directories for X headers.
30342 # Check X11 before X11Rn because it is often a symlink to the current release.
30354 /usr/local/X11/include
30355 /usr/local/X11R6/include
30356 /usr/local/X11R5/include
30357 /usr/local/X11R4/include
30359 /usr/local/include/X11
30360 /usr/local/include/X11R6
30361 /usr/local/include/X11R5
30362 /usr/local/include/X11R4
30366 /usr/XFree86/include/X11
30370 /usr/unsupported/include
30371 /usr/athena/include
30372 /usr/local/x11r5/include
30373 /usr/lpp/Xamples/include
30375 /usr/openwin/include
30376 /usr/openwin/share/include'
30378 if test "$ac_x_includes" = no
; then
30379 # Guess where to find include files, by looking for Xlib.h.
30380 # First, try using that file with no special directory specified.
30381 cat >conftest.
$ac_ext <<_ACEOF
30384 cat confdefs.h
>>conftest.
$ac_ext
30385 cat >>conftest.
$ac_ext <<_ACEOF
30386 /* end confdefs.h. */
30387 #include <X11/Xlib.h>
30389 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30390 case "(($ac_try" in
30391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30392 *) ac_try_echo=$ac_try;;
30394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30395 $as_echo "$ac_try_echo") >&5
30396 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30398 grep -v '^ *+' conftest.er1 >conftest.err
30400 cat conftest.err >&5
30401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402 (exit $ac_status); } >/dev/null && {
30403 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30404 test ! -s conftest.err
30406 # We can compile using X headers with no special include directory.
30409 $as_echo "$as_me: failed program was:" >&5
30410 sed 's/^/| /' conftest.$ac_ext >&5
30412 for ac_dir in $ac_x_header_dirs; do
30413 if test -r "$ac_dir/X11/Xlib.h"; then
30414 ac_x_includes=$ac_dir
30420 rm -f conftest.err conftest.$ac_ext
30421 fi # $ac_x_includes = no
30423 if test "$ac_x_libraries" = no; then
30424 # Check for the libraries.
30425 # See if we find them without any special options.
30426 # Don't add to $LIBS permanently.
30429 cat >conftest.$ac_ext <<_ACEOF
30432 cat confdefs.h >>conftest.$ac_ext
30433 cat >>conftest.$ac_ext <<_ACEOF
30434 /* end confdefs.h. */
30435 #include <X11/Xlib.h>
30444 rm -f conftest.$ac_objext conftest$ac_exeext
30445 if { (ac_try="$ac_link"
30446 case "(($ac_try" in
30447 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30448 *) ac_try_echo
=$ac_try;;
30450 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
30451 $as_echo "$ac_try_echo") >&5
30452 (eval "$ac_link") 2>conftest.er1
30454 grep -v '^ *+' conftest.er1
>conftest.err
30456 cat conftest.err
>&5
30457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458 (exit $ac_status); } && {
30459 test -z "$ac_c_werror_flag" ||
30460 test ! -s conftest.err
30461 } && test -s conftest
$ac_exeext && {
30462 test "$cross_compiling" = yes ||
30463 $as_test_x conftest
$ac_exeext
30466 # We can link X programs with no special library path.
30469 $as_echo "$as_me: failed program was:" >&5
30470 sed 's/^/| /' conftest.
$ac_ext >&5
30473 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30475 # Don't even attempt the hair of trying to link an X program!
30476 for ac_extension
in a so sl dylib la dll
; do
30477 if test -r "$ac_dir/libX11.$ac_extension"; then
30478 ac_x_libraries
=$ac_dir
30485 rm -rf conftest.dSYM
30486 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30487 conftest
$ac_exeext conftest.
$ac_ext
30488 fi # $ac_x_libraries = no
30490 case $ac_x_includes,$ac_x_libraries in #(
30491 no
,* | *,no
| *\'*)
30492 # Didn't find X, or a directory has "'" in its name.
30493 ac_cv_have_x
="have_x=no";; #(
30495 # Record where we found X for the cache.
30496 ac_cv_have_x
="have_x=yes\
30497 ac_x_includes='$ac_x_includes'\
30498 ac_x_libraries='$ac_x_libraries'"
30504 eval "$ac_cv_have_x"
30507 if test "$have_x" != yes; then
30508 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
30509 $as_echo "$have_x" >&6; }
30512 # If each of the values was on the command line, it overrides each guess.
30513 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
30514 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
30515 # Update the cache value to reflect the command line values.
30516 ac_cv_have_x
="have_x=yes\
30517 ac_x_includes='$x_includes'\
30518 ac_x_libraries='$x_libraries'"
30519 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30520 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
30523 if test "$no_x" = yes; then
30524 # Not all programs may use this symbol, but it does not hurt to define it.
30526 cat >>confdefs.h
<<\_ACEOF
30527 #define X_DISPLAY_MISSING 1
30530 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
30532 if test -n "$x_includes"; then
30533 X_CFLAGS
="$X_CFLAGS -I$x_includes"
30536 # It would also be nice to do this for all -L options, not just this one.
30537 if test -n "$x_libraries"; then
30538 X_LIBS
="$X_LIBS -L$x_libraries"
30539 # For Solaris; some versions of Sun CC require a space after -R and
30540 # others require no space. Words are not sufficient . . . .
30541 { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30542 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
30543 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
30544 ac_xsave_c_werror_flag
=$ac_c_werror_flag
30545 ac_c_werror_flag
=yes
30546 cat >conftest.
$ac_ext <<_ACEOF
30549 cat confdefs.h
>>conftest.
$ac_ext
30550 cat >>conftest.
$ac_ext <<_ACEOF
30551 /* end confdefs.h. */
30561 rm -f conftest.
$ac_objext conftest
$ac_exeext
30562 if { (ac_try
="$ac_link"
30563 case "(($ac_try" in
30564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30565 *) ac_try_echo=$ac_try;;
30567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30568 $as_echo "$ac_try_echo") >&5
30569 (eval "$ac_link") 2>conftest.er1
30571 grep -v '^ *+' conftest.er1 >conftest.err
30573 cat conftest.err >&5
30574 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 (exit $ac_status); } && {
30576 test -z "$ac_c_werror_flag" ||
30577 test ! -s conftest.err
30578 } && test -s conftest$ac_exeext && {
30579 test "$cross_compiling" = yes ||
30580 $as_test_x conftest$ac_exeext
30582 { $as_echo "$as_me:$LINENO: result: no" >&5
30583 $as_echo "no" >&6; }
30584 X_LIBS="$X_LIBS -R$x_libraries"
30586 $as_echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.$ac_ext >&5
30589 LIBS="$ac_xsave_LIBS -R $x_libraries"
30590 cat >conftest.$ac_ext <<_ACEOF
30593 cat confdefs.h >>conftest.$ac_ext
30594 cat >>conftest.$ac_ext <<_ACEOF
30595 /* end confdefs.h. */
30605 rm -f conftest.$ac_objext conftest$ac_exeext
30606 if { (ac_try="$ac_link"
30607 case "(($ac_try" in
30608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30609 *) ac_try_echo
=$ac_try;;
30611 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
30612 $as_echo "$ac_try_echo") >&5
30613 (eval "$ac_link") 2>conftest.er1
30615 grep -v '^ *+' conftest.er1
>conftest.err
30617 cat conftest.err
>&5
30618 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30619 (exit $ac_status); } && {
30620 test -z "$ac_c_werror_flag" ||
30621 test ! -s conftest.err
30622 } && test -s conftest
$ac_exeext && {
30623 test "$cross_compiling" = yes ||
30624 $as_test_x conftest
$ac_exeext
30626 { $as_echo "$as_me:$LINENO: result: yes" >&5
30627 $as_echo "yes" >&6; }
30628 X_LIBS
="$X_LIBS -R $x_libraries"
30630 $as_echo "$as_me: failed program was:" >&5
30631 sed 's/^/| /' conftest.
$ac_ext >&5
30633 { $as_echo "$as_me:$LINENO: result: neither works" >&5
30634 $as_echo "neither works" >&6; }
30637 rm -rf conftest.dSYM
30638 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30639 conftest
$ac_exeext conftest.
$ac_ext
30642 rm -rf conftest.dSYM
30643 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30644 conftest
$ac_exeext conftest.
$ac_ext
30645 ac_c_werror_flag
=$ac_xsave_c_werror_flag
30646 LIBS
=$ac_xsave_LIBS
30649 # Check for system-dependent libraries X programs must link with.
30650 # Do this before checking for the system-independent R6 libraries
30651 # (-lICE), since we may need -lsocket or whatever for X linking.
30653 if test "$ISC" = yes; then
30654 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
30656 # Martyn Johnson says this is needed for Ultrix, if the X
30657 # libraries were built with DECnet support. And Karl Berry says
30658 # the Alpha needs dnet_stub (dnet does not exist).
30659 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
30660 cat >conftest.
$ac_ext <<_ACEOF
30663 cat confdefs.h
>>conftest.
$ac_ext
30664 cat >>conftest.
$ac_ext <<_ACEOF
30665 /* end confdefs.h. */
30667 /* Override any GCC internal prototype to avoid an error.
30668 Use char because int might match the return type of a GCC
30669 builtin and then its argument prototype would still apply. */
30673 char XOpenDisplay ();
30677 return XOpenDisplay ();
30682 rm -f conftest.
$ac_objext conftest
$ac_exeext
30683 if { (ac_try
="$ac_link"
30684 case "(($ac_try" in
30685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30686 *) ac_try_echo=$ac_try;;
30688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30689 $as_echo "$ac_try_echo") >&5
30690 (eval "$ac_link") 2>conftest.er1
30692 grep -v '^ *+' conftest.er1 >conftest.err
30694 cat conftest.err >&5
30695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); } && {
30697 test -z "$ac_c_werror_flag" ||
30698 test ! -s conftest.err
30699 } && test -s conftest$ac_exeext && {
30700 test "$cross_compiling" = yes ||
30701 $as_test_x conftest$ac_exeext
30705 $as_echo "$as_me: failed program was:" >&5
30706 sed 's/^/| /' conftest.$ac_ext >&5
30708 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30709 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
30710 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30711 $as_echo_n "(cached) " >&6
30713 ac_check_lib_save_LIBS=$LIBS
30714 LIBS="-ldnet $LIBS"
30715 cat >conftest.$ac_ext <<_ACEOF
30718 cat confdefs.h >>conftest.$ac_ext
30719 cat >>conftest.$ac_ext <<_ACEOF
30720 /* end confdefs.h. */
30722 /* Override any GCC internal prototype to avoid an error.
30723 Use char because int might match the return type of a GCC
30724 builtin and then its argument prototype would still apply. */
30732 return dnet_ntoa ();
30737 rm -f conftest.$ac_objext conftest$ac_exeext
30738 if { (ac_try="$ac_link"
30739 case "(($ac_try" in
30740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30741 *) ac_try_echo
=$ac_try;;
30743 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
30744 $as_echo "$ac_try_echo") >&5
30745 (eval "$ac_link") 2>conftest.er1
30747 grep -v '^ *+' conftest.er1
>conftest.err
30749 cat conftest.err
>&5
30750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751 (exit $ac_status); } && {
30752 test -z "$ac_c_werror_flag" ||
30753 test ! -s conftest.err
30754 } && test -s conftest
$ac_exeext && {
30755 test "$cross_compiling" = yes ||
30756 $as_test_x conftest
$ac_exeext
30758 ac_cv_lib_dnet_dnet_ntoa
=yes
30760 $as_echo "$as_me: failed program was:" >&5
30761 sed 's/^/| /' conftest.
$ac_ext >&5
30763 ac_cv_lib_dnet_dnet_ntoa
=no
30766 rm -rf conftest.dSYM
30767 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30768 conftest
$ac_exeext conftest.
$ac_ext
30769 LIBS
=$ac_check_lib_save_LIBS
30771 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30772 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30773 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then
30774 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
30777 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
30778 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30779 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
30780 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30781 $as_echo_n "(cached) " >&6
30783 ac_check_lib_save_LIBS
=$LIBS
30784 LIBS
="-ldnet_stub $LIBS"
30785 cat >conftest.
$ac_ext <<_ACEOF
30788 cat confdefs.h
>>conftest.
$ac_ext
30789 cat >>conftest.
$ac_ext <<_ACEOF
30790 /* end confdefs.h. */
30792 /* Override any GCC internal prototype to avoid an error.
30793 Use char because int might match the return type of a GCC
30794 builtin and then its argument prototype would still apply. */
30802 return dnet_ntoa ();
30807 rm -f conftest.
$ac_objext conftest
$ac_exeext
30808 if { (ac_try
="$ac_link"
30809 case "(($ac_try" in
30810 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30811 *) ac_try_echo=$ac_try;;
30813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30814 $as_echo "$ac_try_echo") >&5
30815 (eval "$ac_link") 2>conftest.er1
30817 grep -v '^ *+' conftest.er1 >conftest.err
30819 cat conftest.err >&5
30820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821 (exit $ac_status); } && {
30822 test -z "$ac_c_werror_flag" ||
30823 test ! -s conftest.err
30824 } && test -s conftest$ac_exeext && {
30825 test "$cross_compiling" = yes ||
30826 $as_test_x conftest$ac_exeext
30828 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30830 $as_echo "$as_me: failed program was:" >&5
30831 sed 's/^/| /' conftest.$ac_ext >&5
30833 ac_cv_lib_dnet_stub_dnet_ntoa=no
30836 rm -rf conftest.dSYM
30837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30838 conftest$ac_exeext conftest.$ac_ext
30839 LIBS=$ac_check_lib_save_LIBS
30841 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30842 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30843 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
30844 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30850 rm -rf conftest.dSYM
30851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30852 conftest$ac_exeext conftest.$ac_ext
30853 LIBS="$ac_xsave_LIBS"
30855 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30856 # to get the SysV transport functions.
30857 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30859 # The nsl library prevents programs from opening the X display
30860 # on Irix 5.2, according to T.E. Dickey.
30861 # The functions gethostbyname, getservbyname, and inet_addr are
30862 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30863 { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
30864 $as_echo_n "checking for gethostbyname... " >&6; }
30865 if test "${ac_cv_func_gethostbyname+set}" = set; then
30866 $as_echo_n "(cached) " >&6
30868 cat >conftest.$ac_ext <<_ACEOF
30871 cat confdefs.h >>conftest.$ac_ext
30872 cat >>conftest.$ac_ext <<_ACEOF
30873 /* end confdefs.h. */
30874 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30876 #define gethostbyname innocuous_gethostbyname
30878 /* System header to define __stub macros and hopefully few prototypes,
30879 which can conflict with char gethostbyname (); below.
30880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30881 <limits.h> exists even on freestanding compilers. */
30884 # include <limits.h>
30886 # include <assert.h>
30889 #undef gethostbyname
30891 /* Override any GCC internal prototype to avoid an error.
30892 Use char because int might match the return type of a GCC
30893 builtin and then its argument prototype would still apply. */
30897 char gethostbyname ();
30898 /* The GNU C library defines this for functions which it implements
30899 to always fail with ENOSYS. Some functions are actually named
30900 something starting with __ and the normal name is an alias. */
30901 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30908 return gethostbyname ();
30913 rm -f conftest.$ac_objext conftest$ac_exeext
30914 if { (ac_try="$ac_link"
30915 case "(($ac_try" in
30916 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30917 *) ac_try_echo
=$ac_try;;
30919 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
30920 $as_echo "$ac_try_echo") >&5
30921 (eval "$ac_link") 2>conftest.er1
30923 grep -v '^ *+' conftest.er1
>conftest.err
30925 cat conftest.err
>&5
30926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } && {
30928 test -z "$ac_c_werror_flag" ||
30929 test ! -s conftest.err
30930 } && test -s conftest
$ac_exeext && {
30931 test "$cross_compiling" = yes ||
30932 $as_test_x conftest
$ac_exeext
30934 ac_cv_func_gethostbyname
=yes
30936 $as_echo "$as_me: failed program was:" >&5
30937 sed 's/^/| /' conftest.
$ac_ext >&5
30939 ac_cv_func_gethostbyname
=no
30942 rm -rf conftest.dSYM
30943 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30944 conftest
$ac_exeext conftest.
$ac_ext
30946 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30947 $as_echo "$ac_cv_func_gethostbyname" >&6; }
30949 if test $ac_cv_func_gethostbyname = no
; then
30950 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30951 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
30952 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30953 $as_echo_n "(cached) " >&6
30955 ac_check_lib_save_LIBS
=$LIBS
30957 cat >conftest.
$ac_ext <<_ACEOF
30960 cat confdefs.h
>>conftest.
$ac_ext
30961 cat >>conftest.
$ac_ext <<_ACEOF
30962 /* end confdefs.h. */
30964 /* Override any GCC internal prototype to avoid an error.
30965 Use char because int might match the return type of a GCC
30966 builtin and then its argument prototype would still apply. */
30970 char gethostbyname ();
30974 return gethostbyname ();
30979 rm -f conftest.
$ac_objext conftest
$ac_exeext
30980 if { (ac_try
="$ac_link"
30981 case "(($ac_try" in
30982 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30983 *) ac_try_echo=$ac_try;;
30985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30986 $as_echo "$ac_try_echo") >&5
30987 (eval "$ac_link") 2>conftest.er1
30989 grep -v '^ *+' conftest.er1 >conftest.err
30991 cat conftest.err >&5
30992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); } && {
30994 test -z "$ac_c_werror_flag" ||
30995 test ! -s conftest.err
30996 } && test -s conftest$ac_exeext && {
30997 test "$cross_compiling" = yes ||
30998 $as_test_x conftest$ac_exeext
31000 ac_cv_lib_nsl_gethostbyname=yes
31002 $as_echo "$as_me: failed program was:" >&5
31003 sed 's/^/| /' conftest.$ac_ext >&5
31005 ac_cv_lib_nsl_gethostbyname=no
31008 rm -rf conftest.dSYM
31009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31010 conftest$ac_exeext conftest.$ac_ext
31011 LIBS=$ac_check_lib_save_LIBS
31013 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31014 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
31015 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
31016 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31019 if test $ac_cv_lib_nsl_gethostbyname = no; then
31020 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31021 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
31022 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31023 $as_echo_n "(cached) " >&6
31025 ac_check_lib_save_LIBS=$LIBS
31027 cat >conftest.$ac_ext <<_ACEOF
31030 cat confdefs.h >>conftest.$ac_ext
31031 cat >>conftest.$ac_ext <<_ACEOF
31032 /* end confdefs.h. */
31034 /* Override any GCC internal prototype to avoid an error.
31035 Use char because int might match the return type of a GCC
31036 builtin and then its argument prototype would still apply. */
31040 char gethostbyname ();
31044 return gethostbyname ();
31049 rm -f conftest.$ac_objext conftest$ac_exeext
31050 if { (ac_try="$ac_link"
31051 case "(($ac_try" in
31052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31053 *) ac_try_echo
=$ac_try;;
31055 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
31056 $as_echo "$ac_try_echo") >&5
31057 (eval "$ac_link") 2>conftest.er1
31059 grep -v '^ *+' conftest.er1
>conftest.err
31061 cat conftest.err
>&5
31062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063 (exit $ac_status); } && {
31064 test -z "$ac_c_werror_flag" ||
31065 test ! -s conftest.err
31066 } && test -s conftest
$ac_exeext && {
31067 test "$cross_compiling" = yes ||
31068 $as_test_x conftest
$ac_exeext
31070 ac_cv_lib_bsd_gethostbyname
=yes
31072 $as_echo "$as_me: failed program was:" >&5
31073 sed 's/^/| /' conftest.
$ac_ext >&5
31075 ac_cv_lib_bsd_gethostbyname
=no
31078 rm -rf conftest.dSYM
31079 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31080 conftest
$ac_exeext conftest.
$ac_ext
31081 LIBS
=$ac_check_lib_save_LIBS
31083 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31084 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
31085 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then
31086 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
31092 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31093 # socket/setsockopt and other routines are undefined under SCO ODT
31094 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31095 # on later versions), says Simon Leinen: it contains gethostby*
31096 # variants that don't use the name server (or something). -lsocket
31097 # must be given before -lnsl if both are needed. We assume that
31098 # if connect needs -lnsl, so does gethostbyname.
31099 { $as_echo "$as_me:$LINENO: checking for connect" >&5
31100 $as_echo_n "checking for connect... " >&6; }
31101 if test "${ac_cv_func_connect+set}" = set; then
31102 $as_echo_n "(cached) " >&6
31104 cat >conftest.
$ac_ext <<_ACEOF
31107 cat confdefs.h
>>conftest.
$ac_ext
31108 cat >>conftest.
$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31110 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31112 #define connect innocuous_connect
31114 /* System header to define __stub macros and hopefully few prototypes,
31115 which can conflict with char connect (); below.
31116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31117 <limits.h> exists even on freestanding compilers. */
31120 # include <limits.h>
31122 # include <assert.h>
31127 /* Override any GCC internal prototype to avoid an error.
31128 Use char because int might match the return type of a GCC
31129 builtin and then its argument prototype would still apply. */
31134 /* The GNU C library defines this for functions which it implements
31135 to always fail with ENOSYS. Some functions are actually named
31136 something starting with __ and the normal name is an alias. */
31137 #if defined __stub_connect || defined __stub___connect
31149 rm -f conftest.
$ac_objext conftest
$ac_exeext
31150 if { (ac_try
="$ac_link"
31151 case "(($ac_try" in
31152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31153 *) ac_try_echo=$ac_try;;
31155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31156 $as_echo "$ac_try_echo") >&5
31157 (eval "$ac_link") 2>conftest.er1
31159 grep -v '^ *+' conftest.er1 >conftest.err
31161 cat conftest.err >&5
31162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31163 (exit $ac_status); } && {
31164 test -z "$ac_c_werror_flag" ||
31165 test ! -s conftest.err
31166 } && test -s conftest$ac_exeext && {
31167 test "$cross_compiling" = yes ||
31168 $as_test_x conftest$ac_exeext
31170 ac_cv_func_connect=yes
31172 $as_echo "$as_me: failed program was:" >&5
31173 sed 's/^/| /' conftest.$ac_ext >&5
31175 ac_cv_func_connect=no
31178 rm -rf conftest.dSYM
31179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31180 conftest$ac_exeext conftest.$ac_ext
31182 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31183 $as_echo "$ac_cv_func_connect" >&6; }
31185 if test $ac_cv_func_connect = no; then
31186 { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31187 $as_echo_n "checking for connect in -lsocket... " >&6; }
31188 if test "${ac_cv_lib_socket_connect+set}" = set; then
31189 $as_echo_n "(cached) " >&6
31191 ac_check_lib_save_LIBS=$LIBS
31192 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31193 cat >conftest.$ac_ext <<_ACEOF
31196 cat confdefs.h >>conftest.$ac_ext
31197 cat >>conftest.$ac_ext <<_ACEOF
31198 /* end confdefs.h. */
31200 /* Override any GCC internal prototype to avoid an error.
31201 Use char because int might match the return type of a GCC
31202 builtin and then its argument prototype would still apply. */
31215 rm -f conftest.$ac_objext conftest$ac_exeext
31216 if { (ac_try="$ac_link"
31217 case "(($ac_try" in
31218 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31219 *) ac_try_echo
=$ac_try;;
31221 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
31222 $as_echo "$ac_try_echo") >&5
31223 (eval "$ac_link") 2>conftest.er1
31225 grep -v '^ *+' conftest.er1
>conftest.err
31227 cat conftest.err
>&5
31228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); } && {
31230 test -z "$ac_c_werror_flag" ||
31231 test ! -s conftest.err
31232 } && test -s conftest
$ac_exeext && {
31233 test "$cross_compiling" = yes ||
31234 $as_test_x conftest
$ac_exeext
31236 ac_cv_lib_socket_connect
=yes
31238 $as_echo "$as_me: failed program was:" >&5
31239 sed 's/^/| /' conftest.
$ac_ext >&5
31241 ac_cv_lib_socket_connect
=no
31244 rm -rf conftest.dSYM
31245 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31246 conftest
$ac_exeext conftest.
$ac_ext
31247 LIBS
=$ac_check_lib_save_LIBS
31249 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31250 $as_echo "$ac_cv_lib_socket_connect" >&6; }
31251 if test "x$ac_cv_lib_socket_connect" = x
""yes; then
31252 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
31257 # Guillermo Gomez says -lposix is necessary on A/UX.
31258 { $as_echo "$as_me:$LINENO: checking for remove" >&5
31259 $as_echo_n "checking for remove... " >&6; }
31260 if test "${ac_cv_func_remove+set}" = set; then
31261 $as_echo_n "(cached) " >&6
31263 cat >conftest.
$ac_ext <<_ACEOF
31266 cat confdefs.h
>>conftest.
$ac_ext
31267 cat >>conftest.
$ac_ext <<_ACEOF
31268 /* end confdefs.h. */
31269 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31271 #define remove innocuous_remove
31273 /* System header to define __stub macros and hopefully few prototypes,
31274 which can conflict with char remove (); below.
31275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31276 <limits.h> exists even on freestanding compilers. */
31279 # include <limits.h>
31281 # include <assert.h>
31286 /* Override any GCC internal prototype to avoid an error.
31287 Use char because int might match the return type of a GCC
31288 builtin and then its argument prototype would still apply. */
31293 /* The GNU C library defines this for functions which it implements
31294 to always fail with ENOSYS. Some functions are actually named
31295 something starting with __ and the normal name is an alias. */
31296 #if defined __stub_remove || defined __stub___remove
31308 rm -f conftest.
$ac_objext conftest
$ac_exeext
31309 if { (ac_try
="$ac_link"
31310 case "(($ac_try" in
31311 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31312 *) ac_try_echo=$ac_try;;
31314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31315 $as_echo "$ac_try_echo") >&5
31316 (eval "$ac_link") 2>conftest.er1
31318 grep -v '^ *+' conftest.er1 >conftest.err
31320 cat conftest.err >&5
31321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); } && {
31323 test -z "$ac_c_werror_flag" ||
31324 test ! -s conftest.err
31325 } && test -s conftest$ac_exeext && {
31326 test "$cross_compiling" = yes ||
31327 $as_test_x conftest$ac_exeext
31329 ac_cv_func_remove=yes
31331 $as_echo "$as_me: failed program was:" >&5
31332 sed 's/^/| /' conftest.$ac_ext >&5
31334 ac_cv_func_remove=no
31337 rm -rf conftest.dSYM
31338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31339 conftest$ac_exeext conftest.$ac_ext
31341 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31342 $as_echo "$ac_cv_func_remove" >&6; }
31344 if test $ac_cv_func_remove = no; then
31345 { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31346 $as_echo_n "checking for remove in -lposix... " >&6; }
31347 if test "${ac_cv_lib_posix_remove+set}" = set; then
31348 $as_echo_n "(cached) " >&6
31350 ac_check_lib_save_LIBS=$LIBS
31351 LIBS="-lposix $LIBS"
31352 cat >conftest.$ac_ext <<_ACEOF
31355 cat confdefs.h >>conftest.$ac_ext
31356 cat >>conftest.$ac_ext <<_ACEOF
31357 /* end confdefs.h. */
31359 /* Override any GCC internal prototype to avoid an error.
31360 Use char because int might match the return type of a GCC
31361 builtin and then its argument prototype would still apply. */
31374 rm -f conftest.$ac_objext conftest$ac_exeext
31375 if { (ac_try="$ac_link"
31376 case "(($ac_try" in
31377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31378 *) ac_try_echo
=$ac_try;;
31380 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
31381 $as_echo "$ac_try_echo") >&5
31382 (eval "$ac_link") 2>conftest.er1
31384 grep -v '^ *+' conftest.er1
>conftest.err
31386 cat conftest.err
>&5
31387 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); } && {
31389 test -z "$ac_c_werror_flag" ||
31390 test ! -s conftest.err
31391 } && test -s conftest
$ac_exeext && {
31392 test "$cross_compiling" = yes ||
31393 $as_test_x conftest
$ac_exeext
31395 ac_cv_lib_posix_remove
=yes
31397 $as_echo "$as_me: failed program was:" >&5
31398 sed 's/^/| /' conftest.
$ac_ext >&5
31400 ac_cv_lib_posix_remove
=no
31403 rm -rf conftest.dSYM
31404 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31405 conftest
$ac_exeext conftest.
$ac_ext
31406 LIBS
=$ac_check_lib_save_LIBS
31408 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31409 $as_echo "$ac_cv_lib_posix_remove" >&6; }
31410 if test "x$ac_cv_lib_posix_remove" = x
""yes; then
31411 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
31416 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31417 { $as_echo "$as_me:$LINENO: checking for shmat" >&5
31418 $as_echo_n "checking for shmat... " >&6; }
31419 if test "${ac_cv_func_shmat+set}" = set; then
31420 $as_echo_n "(cached) " >&6
31422 cat >conftest.
$ac_ext <<_ACEOF
31425 cat confdefs.h
>>conftest.
$ac_ext
31426 cat >>conftest.
$ac_ext <<_ACEOF
31427 /* end confdefs.h. */
31428 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31430 #define shmat innocuous_shmat
31432 /* System header to define __stub macros and hopefully few prototypes,
31433 which can conflict with char shmat (); below.
31434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31435 <limits.h> exists even on freestanding compilers. */
31438 # include <limits.h>
31440 # include <assert.h>
31445 /* Override any GCC internal prototype to avoid an error.
31446 Use char because int might match the return type of a GCC
31447 builtin and then its argument prototype would still apply. */
31452 /* The GNU C library defines this for functions which it implements
31453 to always fail with ENOSYS. Some functions are actually named
31454 something starting with __ and the normal name is an alias. */
31455 #if defined __stub_shmat || defined __stub___shmat
31467 rm -f conftest.
$ac_objext conftest
$ac_exeext
31468 if { (ac_try
="$ac_link"
31469 case "(($ac_try" in
31470 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31471 *) ac_try_echo=$ac_try;;
31473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31474 $as_echo "$ac_try_echo") >&5
31475 (eval "$ac_link") 2>conftest.er1
31477 grep -v '^ *+' conftest.er1 >conftest.err
31479 cat conftest.err >&5
31480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); } && {
31482 test -z "$ac_c_werror_flag" ||
31483 test ! -s conftest.err
31484 } && test -s conftest$ac_exeext && {
31485 test "$cross_compiling" = yes ||
31486 $as_test_x conftest$ac_exeext
31488 ac_cv_func_shmat=yes
31490 $as_echo "$as_me: failed program was:" >&5
31491 sed 's/^/| /' conftest.$ac_ext >&5
31493 ac_cv_func_shmat=no
31496 rm -rf conftest.dSYM
31497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31498 conftest$ac_exeext conftest.$ac_ext
31500 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31501 $as_echo "$ac_cv_func_shmat" >&6; }
31503 if test $ac_cv_func_shmat = no; then
31504 { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31505 $as_echo_n "checking for shmat in -lipc... " >&6; }
31506 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31507 $as_echo_n "(cached) " >&6
31509 ac_check_lib_save_LIBS=$LIBS
31511 cat >conftest.$ac_ext <<_ACEOF
31514 cat confdefs.h >>conftest.$ac_ext
31515 cat >>conftest.$ac_ext <<_ACEOF
31516 /* end confdefs.h. */
31518 /* Override any GCC internal prototype to avoid an error.
31519 Use char because int might match the return type of a GCC
31520 builtin and then its argument prototype would still apply. */
31533 rm -f conftest.$ac_objext conftest$ac_exeext
31534 if { (ac_try="$ac_link"
31535 case "(($ac_try" in
31536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31537 *) ac_try_echo
=$ac_try;;
31539 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
31540 $as_echo "$ac_try_echo") >&5
31541 (eval "$ac_link") 2>conftest.er1
31543 grep -v '^ *+' conftest.er1
>conftest.err
31545 cat conftest.err
>&5
31546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); } && {
31548 test -z "$ac_c_werror_flag" ||
31549 test ! -s conftest.err
31550 } && test -s conftest
$ac_exeext && {
31551 test "$cross_compiling" = yes ||
31552 $as_test_x conftest
$ac_exeext
31554 ac_cv_lib_ipc_shmat
=yes
31556 $as_echo "$as_me: failed program was:" >&5
31557 sed 's/^/| /' conftest.
$ac_ext >&5
31559 ac_cv_lib_ipc_shmat
=no
31562 rm -rf conftest.dSYM
31563 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31564 conftest
$ac_exeext conftest.
$ac_ext
31565 LIBS
=$ac_check_lib_save_LIBS
31567 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31568 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
31569 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then
31570 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
31576 # Check for libraries that X11R6 Xt/Xaw programs need.
31577 ac_save_LDFLAGS
=$LDFLAGS
31578 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
31579 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31580 # check for ICE first), but we must link in the order -lSM -lICE or
31581 # we get undefined symbols. So assume we have SM if we have ICE.
31582 # These have to be linked with before -lX11, unlike the other
31583 # libraries we check for below, so use a different variable.
31584 # John Interrante, Karl Berry
31585 { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31586 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
31587 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31588 $as_echo_n "(cached) " >&6
31590 ac_check_lib_save_LIBS
=$LIBS
31591 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
31592 cat >conftest.
$ac_ext <<_ACEOF
31595 cat confdefs.h
>>conftest.
$ac_ext
31596 cat >>conftest.
$ac_ext <<_ACEOF
31597 /* end confdefs.h. */
31599 /* Override any GCC internal prototype to avoid an error.
31600 Use char because int might match the return type of a GCC
31601 builtin and then its argument prototype would still apply. */
31605 char IceConnectionNumber ();
31609 return IceConnectionNumber ();
31614 rm -f conftest.
$ac_objext conftest
$ac_exeext
31615 if { (ac_try
="$ac_link"
31616 case "(($ac_try" in
31617 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31618 *) ac_try_echo=$ac_try;;
31620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
31621 $as_echo "$ac_try_echo") >&5
31622 (eval "$ac_link") 2>conftest.er1
31624 grep -v '^ *+' conftest.er1 >conftest.err
31626 cat conftest.err >&5
31627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); } && {
31629 test -z "$ac_c_werror_flag" ||
31630 test ! -s conftest.err
31631 } && test -s conftest$ac_exeext && {
31632 test "$cross_compiling" = yes ||
31633 $as_test_x conftest$ac_exeext
31635 ac_cv_lib_ICE_IceConnectionNumber=yes
31637 $as_echo "$as_me: failed program was:" >&5
31638 sed 's/^/| /' conftest.$ac_ext >&5
31640 ac_cv_lib_ICE_IceConnectionNumber=no
31643 rm -rf conftest.dSYM
31644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31645 conftest$ac_exeext conftest.$ac_ext
31646 LIBS=$ac_check_lib_save_LIBS
31648 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31649 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31650 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
31651 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31654 LDFLAGS=$ac_save_LDFLAGS
31659 if test "$no_x" = "yes"; then
31660 { { $as_echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31661 $as_echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31662 { (exit 1); exit 1; }; }
31665 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31666 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31667 AFMINSTALL=afminstall
31668 COMPILED_X_PROGRAM=0
31672 if test "$wxUSE_X11" = 1; then
31673 if test "$wxUSE_NANOX" = "yes"; then
31674 { $as_echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31675 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
31676 if test "x$MICROWIN" = x ; then
31677 { $as_echo "$as_me:$LINENO: result: not found" >&5
31678 $as_echo "not found" >&6; }
31679 { { $as_echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31680 $as_echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31681 { (exit 1); exit 1; }; }
31683 { $as_echo "$as_me:$LINENO: result: $MICROWIN" >&5
31684 $as_echo "$MICROWIN" >&6; }
31685 cat >>confdefs.h <<\_ACEOF
31686 #define wxUSE_NANOX 1
31692 if test "$wxUSE_UNICODE" = "yes"; then
31695 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31696 if test -n "$ac_tool_prefix"; then
31697 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31698 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31699 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31700 $as_echo_n "checking for $ac_word... " >&6; }
31701 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31702 $as_echo_n "(cached) " >&6
31704 case $PKG_CONFIG in
31706 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31710 for as_dir in $PATH
31713 test -z "$as_dir" && as_dir=.
31714 for ac_exec_ext in '' $ac_executable_extensions; do
31715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31716 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31717 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31727 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31728 if test -n "$PKG_CONFIG"; then
31729 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31730 $as_echo "$PKG_CONFIG" >&6; }
31732 { $as_echo "$as_me:$LINENO: result: no" >&5
31733 $as_echo "no" >&6; }
31738 if test -z "$ac_cv_path_PKG_CONFIG"; then
31739 ac_pt_PKG_CONFIG=$PKG_CONFIG
31740 # Extract the first word of "pkg-config", so it can be a program name with args.
31741 set dummy pkg-config; ac_word=$2
31742 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
31743 $as_echo_n "checking for $ac_word... " >&6; }
31744 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31745 $as_echo_n "(cached) " >&6
31747 case $ac_pt_PKG_CONFIG in
31749 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31753 for as_dir in $PATH
31756 test -z "$as_dir" && as_dir=.
31757 for ac_exec_ext in '' $ac_executable_extensions; do
31758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31759 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31760 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31770 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31771 if test -n "$ac_pt_PKG_CONFIG"; then
31772 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31773 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
31775 { $as_echo "$as_me:$LINENO: result: no" >&5
31776 $as_echo "no" >&6; }
31779 if test "x$ac_pt_PKG_CONFIG" = x; then
31782 case $cross_compiling:$ac_tool_warned in
31784 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
31785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
31786 ac_tool_warned=yes ;;
31788 PKG_CONFIG=$ac_pt_PKG_CONFIG
31791 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31795 if test -n "$PKG_CONFIG"; then
31796 _pkg_min_version=0.9.0
31797 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31798 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
31799 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31800 { $as_echo "$as_me:$LINENO: result: yes" >&5
31801 $as_echo "yes" >&6; }
31803 { $as_echo "$as_me:$LINENO: result: no" >&5
31804 $as_echo "no" >&6; }
31812 { $as_echo "$as_me:$LINENO: checking for PANGOX" >&5
31813 $as_echo_n "checking for PANGOX... " >&6; }
31815 if test -n "$PKG_CONFIG"; then
31816 if test -n "$PANGOX_CFLAGS"; then
31817 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31819 if test -n "$PKG_CONFIG" && \
31820 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31821 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); }; then
31825 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev
/null
`
31833 if test -n "$PKG_CONFIG"; then
31834 if test -n "$PANGOX_LIBS"; then
31835 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31837 if test -n "$PKG_CONFIG" && \
31838 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31839 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31842 (exit $ac_status); }; then
31843 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev
/null
`
31854 if test $pkg_failed = yes; then
31856 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31857 _pkg_short_errors_supported=yes
31859 _pkg_short_errors_supported=no
31861 if test $_pkg_short_errors_supported = yes; then
31862 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31864 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31866 # Put the nasty error message in config.log where it belongs
31867 echo "$PANGOX_PKG_ERRORS" >&5
31870 { { $as_echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31871 $as_echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31872 { (exit 1); exit 1; }; }
31875 elif test $pkg_failed = untried; then
31877 { { $as_echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31878 $as_echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31879 { (exit 1); exit 1; }; }
31883 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31884 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31885 { $as_echo "$as_me:$LINENO: result: yes" >&5
31886 $as_echo "yes" >&6; }
31888 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31889 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31890 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31895 { $as_echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31896 $as_echo_n "checking for PANGOFT2... " >&6; }
31898 if test -n "$PKG_CONFIG"; then
31899 if test -n "$PANGOFT2_CFLAGS"; then
31900 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31902 if test -n "$PKG_CONFIG" && \
31903 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31904 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; then
31908 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev
/null
`
31916 if test -n "$PKG_CONFIG"; then
31917 if test -n "$PANGOFT2_LIBS"; then
31918 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31920 if test -n "$PKG_CONFIG" && \
31921 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31922 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31925 (exit $ac_status); }; then
31926 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev
/null
`
31937 if test $pkg_failed = yes; then
31939 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31940 _pkg_short_errors_supported=yes
31942 _pkg_short_errors_supported=no
31944 if test $_pkg_short_errors_supported = yes; then
31945 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31947 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31949 # Put the nasty error message in config.log where it belongs
31950 echo "$PANGOFT2_PKG_ERRORS" >&5
31953 { $as_echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31954 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31955 wxUSE_PRINTING_ARCHITECTURE="no"
31958 elif test $pkg_failed = untried; then
31960 { $as_echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31961 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31962 wxUSE_PRINTING_ARCHITECTURE="no"
31966 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31967 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31968 { $as_echo "$as_me:$LINENO: result: yes" >&5
31969 $as_echo "yes" >&6; }
31971 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31972 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31973 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31978 { $as_echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31979 $as_echo_n "checking for PANGOXFT... " >&6; }
31981 if test -n "$PKG_CONFIG"; then
31982 if test -n "$PANGOXFT_CFLAGS"; then
31983 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31985 if test -n "$PKG_CONFIG" && \
31986 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31987 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
31990 (exit $ac_status); }; then
31991 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev
/null
`
31999 if test -n "$PKG_CONFIG"; then
32000 if test -n "$PANGOXFT_LIBS"; then
32001 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32003 if test -n "$PKG_CONFIG" && \
32004 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32005 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008 (exit $ac_status); }; then
32009 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev
/null
`
32020 if test $pkg_failed = yes; then
32022 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32023 _pkg_short_errors_supported=yes
32025 _pkg_short_errors_supported=no
32027 if test $_pkg_short_errors_supported = yes; then
32028 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32030 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32032 # Put the nasty error message in config.log where it belongs
32033 echo "$PANGOXFT_PKG_ERRORS" >&5
32036 { $as_echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32037 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32040 elif test $pkg_failed = untried; then
32042 { $as_echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32043 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32047 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32048 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32049 { $as_echo "$as_me:$LINENO: result: yes" >&5
32050 $as_echo "yes" >&6; }
32052 cat >>confdefs.h <<\_ACEOF
32053 #define HAVE_PANGO_XFT 1
32056 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32057 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32058 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32062 LIBS="$LIBS $PANGOX_LIBS"
32064 for ac_func in pango_font_family_is_monospace
32066 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32067 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
32068 $as_echo_n "checking for $ac_func... " >&6; }
32069 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32070 $as_echo_n "(cached) " >&6
32072 cat >conftest.$ac_ext <<_ACEOF
32075 cat confdefs.h >>conftest.$ac_ext
32076 cat >>conftest.$ac_ext <<_ACEOF
32077 /* end confdefs.h. */
32078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32080 #define $ac_func innocuous_$ac_func
32082 /* System header to define __stub macros and hopefully few prototypes,
32083 which can conflict with char $ac_func (); below.
32084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32085 <limits.h> exists even on freestanding compilers. */
32088 # include <limits.h>
32090 # include <assert.h>
32095 /* Override any GCC internal prototype to avoid an error.
32096 Use char because int might match the return type of a GCC
32097 builtin and then its argument prototype would still apply. */
32102 /* The GNU C library defines this for functions which it implements
32103 to always fail with ENOSYS. Some functions are actually named
32104 something starting with __ and the normal name is an alias. */
32105 #if defined __stub_$ac_func || defined __stub___$ac_func
32112 return $ac_func ();
32117 rm -f conftest.$ac_objext conftest$ac_exeext
32118 if { (ac_try="$ac_link"
32119 case "(($ac_try" in
32120 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32121 *) ac_try_echo
=$ac_try;;
32123 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
32124 $as_echo "$ac_try_echo") >&5
32125 (eval "$ac_link") 2>conftest.er1
32127 grep -v '^ *+' conftest.er1
>conftest.err
32129 cat conftest.err
>&5
32130 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); } && {
32132 test -z "$ac_c_werror_flag" ||
32133 test ! -s conftest.err
32134 } && test -s conftest
$ac_exeext && {
32135 test "$cross_compiling" = yes ||
32136 $as_test_x conftest
$ac_exeext
32138 eval "$as_ac_var=yes"
32140 $as_echo "$as_me: failed program was:" >&5
32141 sed 's/^/| /' conftest.
$ac_ext >&5
32143 eval "$as_ac_var=no"
32146 rm -rf conftest.dSYM
32147 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32148 conftest
$ac_exeext conftest.
$ac_ext
32150 ac_res
=`eval 'as_val=${'$as_ac_var'}
32151 $as_echo "$as_val"'`
32152 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
32153 $as_echo "$ac_res" >&6; }
32154 as_val
=`eval 'as_val=${'$as_ac_var'}
32155 $as_echo "$as_val"'`
32156 if test "x$as_val" = x
""yes; then
32157 cat >>confdefs.h
<<_ACEOF
32158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32167 wxUSE_UNIVERSAL
="yes"
32169 if test "$wxUSE_NANOX" = "yes"; then
32170 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32171 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"
32172 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32174 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
32181 if test "$wxUSE_MOTIF" = 1; then
32182 { $as_echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32183 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
32186 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
32188 if test -f "$ac_dir/Xm/Xm.h"; then
32189 ac_find_includes
=$ac_dir
32194 if test "$ac_find_includes" != "" ; then
32195 { $as_echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32196 $as_echo "found in $ac_find_includes" >&6; }
32198 if test "x$ac_find_includes" = "x/usr/include"; then
32199 ac_path_to_include
=""
32201 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
32203 if test $result = 0; then
32204 ac_path_to_include
=""
32206 ac_path_to_include
=" -I$ac_find_includes"
32210 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
32212 save_CFLAGS
=$CFLAGS
32213 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32215 cat >conftest.
$ac_ext <<_ACEOF
32218 cat confdefs.h
>>conftest.
$ac_ext
32219 cat >>conftest.
$ac_ext <<_ACEOF
32220 /* end confdefs.h. */
32229 version = xmUseVersion;
32235 rm -f conftest.
$ac_objext
32236 if { (ac_try
="$ac_compile"
32237 case "(($ac_try" in
32238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32239 *) ac_try_echo=$ac_try;;
32241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32242 $as_echo "$ac_try_echo") >&5
32243 (eval "$ac_compile") 2>conftest.er1
32245 grep -v '^ *+' conftest.er1 >conftest.err
32247 cat conftest.err >&5
32248 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32249 (exit $ac_status); } && {
32250 test -z "$ac_c_werror_flag" ||
32251 test ! -s conftest.err
32252 } && test -s conftest.$ac_objext; then
32254 { $as_echo "$as_me:$LINENO: result: found in default search path" >&5
32255 $as_echo "found in default search path" >&6; }
32256 COMPILED_X_PROGRAM=1
32259 $as_echo "$as_me: failed program was:" >&5
32260 sed 's/^/| /' conftest.$ac_ext >&5
32263 { $as_echo "$as_me:$LINENO: result: no" >&5
32264 $as_echo "no" >&6; }
32265 { { $as_echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32266 $as_echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32267 { (exit 1); exit 1; }; }
32272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32274 CFLAGS=$save_CFLAGS
32278 { $as_echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32279 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
32282 for ac_dir in $SEARCH_LIB;
32284 for ac_extension in a so sl dylib dll.a; do
32285 if test -f "$ac_dir/libXm.$ac_extension"; then
32286 ac_find_libraries=$ac_dir
32293 if test "x$ac_find_libraries" != "x" ; then
32294 { $as_echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32295 $as_echo "found in $ac_find_libraries" >&6; }
32298 if test "$ac_find_libraries" = "default location"; then
32301 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32303 if test $result = 0; then
32306 ac_path_to_link=" -L$ac_find_libraries"
32310 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32312 save_CFLAGS=$CFLAGS
32313 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32315 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32317 cat >conftest.$ac_ext <<_ACEOF
32320 cat confdefs.h >>conftest.$ac_ext
32321 cat >>conftest.$ac_ext <<_ACEOF
32322 /* end confdefs.h. */
32331 version = xmUseVersion;
32337 rm -f conftest.$ac_objext conftest$ac_exeext
32338 if { (ac_try="$ac_link"
32339 case "(($ac_try" in
32340 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32341 *) ac_try_echo
=$ac_try;;
32343 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
32344 $as_echo "$ac_try_echo") >&5
32345 (eval "$ac_link") 2>conftest.er1
32347 grep -v '^ *+' conftest.er1
>conftest.err
32349 cat conftest.err
>&5
32350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); } && {
32352 test -z "$ac_c_werror_flag" ||
32353 test ! -s conftest.err
32354 } && test -s conftest
$ac_exeext && {
32355 test "$cross_compiling" = yes ||
32356 $as_test_x conftest
$ac_exeext
32359 { $as_echo "$as_me:$LINENO: result: found in default search path" >&5
32360 $as_echo "found in default search path" >&6; }
32361 COMPILED_X_PROGRAM
=1
32364 $as_echo "$as_me: failed program was:" >&5
32365 sed 's/^/| /' conftest.
$ac_ext >&5
32368 { $as_echo "$as_me:$LINENO: result: no" >&5
32369 $as_echo "no" >&6; }
32370 { { $as_echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32371 $as_echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32372 { (exit 1); exit 1; }; }
32377 rm -rf conftest.dSYM
32378 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32379 conftest
$ac_exeext conftest.
$ac_ext
32381 CFLAGS
=$save_CFLAGS
32385 { $as_echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32386 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
32390 for libp
in "" " -lXp"; do
32391 if test "$libs_found" = 0; then
32392 for libsm_ice
in "" " -lSM -lICE"; do
32393 if test "$libs_found" = 0; then
32395 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32396 save_CFLAGS
=$CFLAGS
32397 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32399 cat >conftest.
$ac_ext <<_ACEOF
32402 cat confdefs.h
>>conftest.
$ac_ext
32403 cat >>conftest.
$ac_ext <<_ACEOF
32404 /* end confdefs.h. */
32407 #include <Xm/List.h>
32413 XmString string = NULL;
32416 XmListAddItem(w, string, position);
32422 rm -f conftest.
$ac_objext conftest
$ac_exeext
32423 if { (ac_try
="$ac_link"
32424 case "(($ac_try" in
32425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32426 *) ac_try_echo=$ac_try;;
32428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32429 $as_echo "$ac_try_echo") >&5
32430 (eval "$ac_link") 2>conftest.er1
32432 grep -v '^ *+' conftest.er1 >conftest.err
32434 cat conftest.err >&5
32435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); } && {
32437 test -z "$ac_c_werror_flag" ||
32438 test ! -s conftest.err
32439 } && test -s conftest$ac_exeext && {
32440 test "$cross_compiling" = yes ||
32441 $as_test_x conftest$ac_exeext
32445 libsm_ice_link="$libsm_ice"
32446 { $as_echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32447 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
32451 $as_echo "$as_me: failed program was:" >&5
32452 sed 's/^/| /' conftest.$ac_ext >&5
32458 rm -rf conftest.dSYM
32459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32460 conftest$ac_exeext conftest.$ac_ext
32463 CFLAGS=$save_CFLAGS
32469 if test "$libs_found" = 0; then
32470 { $as_echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32471 $as_echo "can't find the right libraries" >&6; }
32472 { { $as_echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32473 $as_echo "$as_me: error: can't link a simple motif program" >&2;}
32474 { (exit 1); exit 1; }; }
32477 { $as_echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32478 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
32479 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32480 $as_echo_n "(cached) " >&6
32482 ac_check_lib_save_LIBS=$LIBS
32484 cat >conftest.$ac_ext <<_ACEOF
32487 cat confdefs.h >>conftest.$ac_ext
32488 cat >>conftest.$ac_ext <<_ACEOF
32489 /* end confdefs.h. */
32491 /* Override any GCC internal prototype to avoid an error.
32492 Use char because int might match the return type of a GCC
32493 builtin and then its argument prototype would still apply. */
32497 char SgCreateList ();
32501 return SgCreateList ();
32506 rm -f conftest.$ac_objext conftest$ac_exeext
32507 if { (ac_try="$ac_link"
32508 case "(($ac_try" in
32509 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32510 *) ac_try_echo
=$ac_try;;
32512 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
32513 $as_echo "$ac_try_echo") >&5
32514 (eval "$ac_link") 2>conftest.er1
32516 grep -v '^ *+' conftest.er1
>conftest.err
32518 cat conftest.err
>&5
32519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 (exit $ac_status); } && {
32521 test -z "$ac_c_werror_flag" ||
32522 test ! -s conftest.err
32523 } && test -s conftest
$ac_exeext && {
32524 test "$cross_compiling" = yes ||
32525 $as_test_x conftest
$ac_exeext
32527 ac_cv_lib_Sgm_SgCreateList
=yes
32529 $as_echo "$as_me: failed program was:" >&5
32530 sed 's/^/| /' conftest.
$ac_ext >&5
32532 ac_cv_lib_Sgm_SgCreateList
=no
32535 rm -rf conftest.dSYM
32536 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32537 conftest
$ac_exeext conftest.
$ac_ext
32538 LIBS
=$ac_check_lib_save_LIBS
32540 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32541 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
32542 if test "x$ac_cv_lib_Sgm_SgCreateList" = x
""yes; then
32543 libsgm_link
=" -lSgm"
32547 save_CFLAGS
=$CFLAGS
32548 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32550 { $as_echo "$as_me:$LINENO: checking for Motif 2" >&5
32551 $as_echo_n "checking for Motif 2... " >&6; }
32552 if test "${wx_cv_lib_motif2+set}" = set; then
32553 $as_echo_n "(cached) " >&6
32555 cat >conftest.
$ac_ext <<_ACEOF
32558 cat confdefs.h
>>conftest.
$ac_ext
32559 cat >>conftest.
$ac_ext <<_ACEOF
32560 /* end confdefs.h. */
32568 #if XmVersion < 2000
32576 rm -f conftest.
$ac_objext
32577 if { (ac_try
="$ac_compile"
32578 case "(($ac_try" in
32579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32580 *) ac_try_echo=$ac_try;;
32582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32583 $as_echo "$ac_try_echo") >&5
32584 (eval "$ac_compile") 2>conftest.er1
32586 grep -v '^ *+' conftest.er1 >conftest.err
32588 cat conftest.err >&5
32589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); } && {
32591 test -z "$ac_c_werror_flag" ||
32592 test ! -s conftest.err
32593 } && test -s conftest.$ac_objext; then
32594 wx_cv_lib_motif2="yes"
32596 $as_echo "$as_me: failed program was:" >&5
32597 sed 's/^/| /' conftest.$ac_ext >&5
32599 wx_cv_lib_motif2="no"
32602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32604 { $as_echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32605 $as_echo "$wx_cv_lib_motif2" >&6; }
32606 if test "$wx_cv_lib_motif2" = "yes"; then
32607 cat >>confdefs.h <<\_ACEOF
32608 #define __WXMOTIF20__ 1
32612 cat >>confdefs.h <<\_ACEOF
32613 #define __WXMOTIF20__ 0
32618 { $as_echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32619 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
32620 if test "${wx_cv_lib_lesstif+set}" = set; then
32621 $as_echo_n "(cached) " >&6
32623 cat >conftest.$ac_ext <<_ACEOF
32626 cat confdefs.h >>conftest.$ac_ext
32627 cat >>conftest.$ac_ext <<_ACEOF
32628 /* end confdefs.h. */
32636 #if !defined(LesstifVersion) || LesstifVersion <= 0
32644 rm -f conftest.$ac_objext
32645 if { (ac_try="$ac_compile"
32646 case "(($ac_try" in
32647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32648 *) ac_try_echo
=$ac_try;;
32650 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
32651 $as_echo "$ac_try_echo") >&5
32652 (eval "$ac_compile") 2>conftest.er1
32654 grep -v '^ *+' conftest.er1
>conftest.err
32656 cat conftest.err
>&5
32657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); } && {
32659 test -z "$ac_c_werror_flag" ||
32660 test ! -s conftest.err
32661 } && test -s conftest.
$ac_objext; then
32662 wx_cv_lib_lesstif
="yes"
32664 $as_echo "$as_me: failed program was:" >&5
32665 sed 's/^/| /' conftest.
$ac_ext >&5
32667 wx_cv_lib_lesstif
="no"
32670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32673 { $as_echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32674 $as_echo "$wx_cv_lib_lesstif" >&6; }
32675 if test "$wx_cv_lib_lesstif" = "yes"; then
32676 cat >>confdefs.h
<<\_ACEOF
32677 #define __WXLESSTIF__ 1
32681 cat >>confdefs.h
<<\_ACEOF
32682 #define __WXLESSTIF__ 0
32687 CFLAGS
=$save_CFLAGS
32689 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32694 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32695 if test "$wxUSE_LIBXPM" = "sys"; then
32696 { $as_echo "$as_me:$LINENO: checking for Xpm library" >&5
32697 $as_echo_n "checking for Xpm library... " >&6; }
32700 for ac_dir
in $SEARCH_LIB;
32702 for ac_extension
in a so sl dylib dll.a
; do
32703 if test -f "$ac_dir/libXpm.$ac_extension"; then
32704 ac_find_libraries
=$ac_dir
32710 if test "$ac_find_libraries" != "" ; then
32712 if test "$ac_find_libraries" = "default location"; then
32715 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32717 if test $result = 0; then
32720 ac_path_to_link
=" -L$ac_find_libraries"
32724 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32725 { $as_echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32726 $as_echo "found in $ac_find_libraries" >&6; }
32728 { $as_echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32729 $as_echo_n "checking for X11/xpm.h... " >&6; }
32730 if test "${wx_cv_x11_xpm_h+set}" = set; then
32731 $as_echo_n "(cached) " >&6
32734 save_CFLAGS
=$CFLAGS
32735 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32737 cat >conftest.
$ac_ext <<_ACEOF
32740 cat confdefs.h
>>conftest.
$ac_ext
32741 cat >>conftest.
$ac_ext <<_ACEOF
32742 /* end confdefs.h. */
32744 #include <X11/xpm.h>
32751 version = XpmLibraryVersion();
32757 rm -f conftest.
$ac_objext
32758 if { (ac_try
="$ac_compile"
32759 case "(($ac_try" in
32760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32761 *) ac_try_echo=$ac_try;;
32763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32764 $as_echo "$ac_try_echo") >&5
32765 (eval "$ac_compile") 2>conftest.er1
32767 grep -v '^ *+' conftest.er1 >conftest.err
32769 cat conftest.err >&5
32770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } && {
32772 test -z "$ac_c_werror_flag" ||
32773 test ! -s conftest.err
32774 } && test -s conftest.$ac_objext; then
32775 wx_cv_x11_xpm_h=yes
32777 $as_echo "$as_me: failed program was:" >&5
32778 sed 's/^/| /' conftest.$ac_ext >&5
32784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32786 CFLAGS=$save_CFLAGS
32790 { $as_echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32791 $as_echo "$wx_cv_x11_xpm_h" >&6; }
32793 if test $wx_cv_x11_xpm_h = "yes"; then
32794 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32795 cat >>confdefs.h <<\_ACEOF
32796 #define wxHAVE_LIB_XPM 1
32800 { $as_echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32801 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32807 { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32808 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
32809 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32810 $as_echo_n "(cached) " >&6
32812 ac_check_lib_save_LIBS=$LIBS
32813 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32814 cat >conftest.$ac_ext <<_ACEOF
32817 cat confdefs.h >>conftest.$ac_ext
32818 cat >>conftest.$ac_ext <<_ACEOF
32819 /* end confdefs.h. */
32821 /* Override any GCC internal prototype to avoid an error.
32822 Use char because int might match the return type of a GCC
32823 builtin and then its argument prototype would still apply. */
32827 char XShapeQueryExtension ();
32831 return XShapeQueryExtension ();
32836 rm -f conftest.$ac_objext conftest$ac_exeext
32837 if { (ac_try="$ac_link"
32838 case "(($ac_try" in
32839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32840 *) ac_try_echo
=$ac_try;;
32842 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
32843 $as_echo "$ac_try_echo") >&5
32844 (eval "$ac_link") 2>conftest.er1
32846 grep -v '^ *+' conftest.er1
>conftest.err
32848 cat conftest.err
>&5
32849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); } && {
32851 test -z "$ac_c_werror_flag" ||
32852 test ! -s conftest.err
32853 } && test -s conftest
$ac_exeext && {
32854 test "$cross_compiling" = yes ||
32855 $as_test_x conftest
$ac_exeext
32857 ac_cv_lib_Xext_XShapeQueryExtension
=yes
32859 $as_echo "$as_me: failed program was:" >&5
32860 sed 's/^/| /' conftest.
$ac_ext >&5
32862 ac_cv_lib_Xext_XShapeQueryExtension
=no
32865 rm -rf conftest.dSYM
32866 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32867 conftest
$ac_exeext conftest.
$ac_ext
32868 LIBS
=$ac_check_lib_save_LIBS
32870 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32871 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32872 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x
""yes; then
32874 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
32880 if test "$wxHAVE_XEXT_LIB" = 1; then
32881 save_CFLAGS
="$CFLAGS"
32882 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32884 { $as_echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32885 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
32886 cat >conftest.
$ac_ext <<_ACEOF
32889 cat confdefs.h
>>conftest.
$ac_ext
32890 cat >>conftest.
$ac_ext <<_ACEOF
32891 /* end confdefs.h. */
32893 #include <X11/Xlib.h>
32894 #include <X11/extensions/shape.h>
32900 int dummy1, dummy2;
32901 XShapeQueryExtension((Display*)NULL,
32902 (int*)NULL, (int*)NULL);
32908 rm -f conftest.
$ac_objext
32909 if { (ac_try
="$ac_compile"
32910 case "(($ac_try" in
32911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32912 *) ac_try_echo=$ac_try;;
32914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
32915 $as_echo "$ac_try_echo") >&5
32916 (eval "$ac_compile") 2>conftest.er1
32918 grep -v '^ *+' conftest.er1 >conftest.err
32920 cat conftest.err >&5
32921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
32922 (exit $ac_status); } && {
32923 test -z "$ac_c_werror_flag" ||
32924 test ! -s conftest.err
32925 } && test -s conftest.$ac_objext; then
32927 cat >>confdefs.h <<\_ACEOF
32928 #define HAVE_XSHAPE 1
32931 { $as_echo "$as_me:$LINENO: result: found" >&5
32932 $as_echo "found" >&6; }
32935 $as_echo "$as_me: failed program was:" >&5
32936 sed 's/^/| /' conftest.$ac_ext >&5
32939 { $as_echo "$as_me:$LINENO: result: not found" >&5
32940 $as_echo "not found" >&6; }
32944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32945 CFLAGS="$save_CFLAGS"
32950 if test "$wxUSE_OSX_CARBON" = 1; then
32951 { $as_echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32952 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
32953 if test "$GCC" = yes; then
32954 { $as_echo "$as_me:$LINENO: result: gcc" >&5
32955 $as_echo "gcc" >&6; }
32956 CPPFLAGS_PASCAL="-fpascal-strings"
32957 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32958 { $as_echo "$as_me:$LINENO: result: xlc" >&5
32959 $as_echo "xlc" >&6; }
32960 CPPFLAGS_PASCAL="-qmacpstr"
32962 { $as_echo "$as_me:$LINENO: result: none" >&5
32963 $as_echo "none" >&6; }
32966 if test "x$wxUSE_UNIX" = "xyes"; then
32967 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32969 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32973 GUIDIST=OSX_CARBON_DIST
32974 WXBASEPORT="_carbon"
32977 if test "$wxUSE_OSX_COCOA" = 1; then
32979 GUIDIST=OSX_COCOA_DIST
32982 if test "$wxUSE_COCOA" = 1; then
32987 if test "$wxUSE_PM" = 1; then
32990 { $as_echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32991 $as_echo_n "checking for type SPBCDATA... " >&6; }
32992 if test "${wx_cv_spbcdata+set}" = set; then
32993 $as_echo_n "(cached) " >&6
32996 cat >conftest.$ac_ext <<_ACEOF
32999 cat confdefs.h >>conftest.$ac_ext
33000 cat >>conftest.$ac_ext <<_ACEOF
33001 /* end confdefs.h. */
33016 rm -f conftest.$ac_objext
33017 if { (ac_try="$ac_compile"
33018 case "(($ac_try" in
33019 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33020 *) ac_try_echo
=$ac_try;;
33022 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
33023 $as_echo "$ac_try_echo") >&5
33024 (eval "$ac_compile") 2>conftest.er1
33026 grep -v '^ *+' conftest.er1
>conftest.err
33028 cat conftest.err
>&5
33029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); } && {
33031 test -z "$ac_c_werror_flag" ||
33032 test ! -s conftest.err
33033 } && test -s conftest.
$ac_objext; then
33036 $as_echo "$as_me: failed program was:" >&5
33037 sed 's/^/| /' conftest.
$ac_ext >&5
33043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33047 { $as_echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33048 $as_echo "$wx_cv_spbcdata" >&6; }
33050 if test $wx_cv_spbcdata = "yes"; then
33051 cat >>confdefs.h
<<\_ACEOF
33052 #define HAVE_SPBCDATA 1
33058 if test "$TOOLKIT" = "PM" ; then
33061 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33064 if test "$wxUSE_UNIVERSAL" = "yes"; then
33065 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33069 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33070 DISTDIR
="wx\$(TOOLKIT)"
33076 if test "$USE_WIN32" = 1 ; then
33080 GUIDIST
="BASE_DIST"
33086 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33087 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33088 wxUSE_UNICODE_UTF8
=yes
33089 elif test "$USE_OS2" = 1 ; then
33090 wxUSE_UNICODE_UTF8
=yes
33092 wxUSE_UNICODE_UTF8
=no
33097 if test "$wxUSE_GUI" = "yes"; then
33098 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33100 for ac_header
in X
11/Xlib.h
33102 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
33103 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
33104 $as_echo_n "checking for $ac_header... " >&6; }
33105 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33106 $as_echo_n "(cached) " >&6
33108 cat >conftest.
$ac_ext <<_ACEOF
33111 cat confdefs.h
>>conftest.
$ac_ext
33112 cat >>conftest.
$ac_ext <<_ACEOF
33113 /* end confdefs.h. */
33116 #include <$ac_header>
33118 rm -f conftest.
$ac_objext
33119 if { (ac_try
="$ac_compile"
33120 case "(($ac_try" in
33121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33122 *) ac_try_echo=$ac_try;;
33124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33125 $as_echo "$ac_try_echo") >&5
33126 (eval "$ac_compile") 2>conftest.er1
33128 grep -v '^ *+' conftest.er1 >conftest.err
33130 cat conftest.err >&5
33131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33132 (exit $ac_status); } && {
33133 test -z "$ac_c_werror_flag" ||
33134 test ! -s conftest.err
33135 } && test -s conftest.$ac_objext; then
33136 eval "$as_ac_Header=yes"
33138 $as_echo "$as_me: failed program was:" >&5
33139 sed 's/^/| /' conftest.$ac_ext >&5
33141 eval "$as_ac_Header=no"
33144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33146 ac_res=`eval 'as_val=${'$as_ac_Header'}
33147 $as_echo "$as_val"'`
33148 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
33149 $as_echo "$ac_res" >&6; }
33150 as_val=`eval 'as_val=${'$as_ac_Header'}
33151 $as_echo "$as_val"'`
33152 if test "x$as_val" = x""yes; then
33153 cat >>confdefs.h <<_ACEOF
33154 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
33162 for ac_header in X11/XKBlib.h
33164 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
33165 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
33166 $as_echo_n "checking for $ac_header... " >&6; }
33167 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33168 $as_echo_n "(cached) " >&6
33170 cat >conftest.$ac_ext <<_ACEOF
33173 cat confdefs.h >>conftest.$ac_ext
33174 cat >>conftest.$ac_ext <<_ACEOF
33175 /* end confdefs.h. */
33177 #if HAVE_X11_XLIB_H
33178 #include <X11/Xlib.h>
33182 #include <$ac_header>
33184 rm -f conftest.$ac_objext
33185 if { (ac_try="$ac_compile"
33186 case "(($ac_try" in
33187 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33188 *) ac_try_echo
=$ac_try;;
33190 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
33191 $as_echo "$ac_try_echo") >&5
33192 (eval "$ac_compile") 2>conftest.er1
33194 grep -v '^ *+' conftest.er1
>conftest.err
33196 cat conftest.err
>&5
33197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); } && {
33199 test -z "$ac_c_werror_flag" ||
33200 test ! -s conftest.err
33201 } && test -s conftest.
$ac_objext; then
33202 eval "$as_ac_Header=yes"
33204 $as_echo "$as_me: failed program was:" >&5
33205 sed 's/^/| /' conftest.
$ac_ext >&5
33207 eval "$as_ac_Header=no"
33210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33212 ac_res
=`eval 'as_val=${'$as_ac_Header'}
33213 $as_echo "$as_val"'`
33214 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
33215 $as_echo "$ac_res" >&6; }
33216 as_val
=`eval 'as_val=${'$as_ac_Header'}
33217 $as_echo "$as_val"'`
33218 if test "x$as_val" = x
""yes; then
33219 cat >>confdefs.h
<<_ACEOF
33220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
33232 if test "$wxUSE_DISPLAY" = "yes"; then
33233 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33234 { $as_echo "$as_me:$LINENO: checking for Xinerama" >&5
33235 $as_echo_n "checking for Xinerama... " >&6; }
33238 for ac_dir
in $SEARCH_LIB;
33240 for ac_extension
in a so sl dylib dll.a
; do
33241 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33242 ac_find_libraries
=$ac_dir
33248 if test "$ac_find_libraries" != "" ; then
33250 if test "$ac_find_libraries" = "default location"; then
33253 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33255 if test $result = 0; then
33258 ac_path_to_link
=" -L$ac_find_libraries"
33262 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33263 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33265 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
33266 { $as_echo "$as_me:$LINENO: result: yes" >&5
33267 $as_echo "yes" >&6; }
33269 { $as_echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33270 $as_echo_n "checking for Xxf86vm extension... " >&6; }
33273 for ac_dir
in $SEARCH_LIB;
33275 for ac_extension
in a so sl dylib dll.a
; do
33276 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33277 ac_find_libraries
=$ac_dir
33283 if test "$ac_find_libraries" != "" ; then
33284 { $as_echo "$as_me:$LINENO: result: yes" >&5
33285 $as_echo "yes" >&6; }
33287 for ac_header
in X
11/extensions
/xf86vmode.h
33289 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
33290 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
33291 $as_echo_n "checking for $ac_header... " >&6; }
33292 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33293 $as_echo_n "(cached) " >&6
33295 cat >conftest.
$ac_ext <<_ACEOF
33298 cat confdefs.h
>>conftest.
$ac_ext
33299 cat >>conftest.
$ac_ext <<_ACEOF
33300 /* end confdefs.h. */
33302 #if HAVE_X11_XLIB_H
33303 #include <X11/Xlib.h>
33307 #include <$ac_header>
33309 rm -f conftest.
$ac_objext
33310 if { (ac_try
="$ac_compile"
33311 case "(($ac_try" in
33312 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33313 *) ac_try_echo=$ac_try;;
33315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33316 $as_echo "$ac_try_echo") >&5
33317 (eval "$ac_compile") 2>conftest.er1
33319 grep -v '^ *+' conftest.er1 >conftest.err
33321 cat conftest.err >&5
33322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33323 (exit $ac_status); } && {
33324 test -z "$ac_c_werror_flag" ||
33325 test ! -s conftest.err
33326 } && test -s conftest.$ac_objext; then
33327 eval "$as_ac_Header=yes"
33329 $as_echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.$ac_ext >&5
33332 eval "$as_ac_Header=no"
33335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33337 ac_res=`eval 'as_val=${'$as_ac_Header'}
33338 $as_echo "$as_val"'`
33339 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
33340 $as_echo "$ac_res" >&6; }
33341 as_val=`eval 'as_val=${'$as_ac_Header'}
33342 $as_echo "$as_val"'`
33343 if test "x$as_val" = x""yes; then
33344 cat >>confdefs.h <<_ACEOF
33345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
33348 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33355 { $as_echo "$as_me:$LINENO: result: no" >&5
33356 $as_echo "no" >&6; }
33360 { $as_echo "$as_me:$LINENO: result: no" >&5
33361 $as_echo "no" >&6; }
33362 { $as_echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33363 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33366 elif test "$wxUSE_MSW" = 1; then
33367 { $as_echo "$as_me:$LINENO: checking for ddraw.h" >&5
33368 $as_echo_n "checking for ddraw.h... " >&6; }
33369 if test "${ac_cv_header_ddraw_h+set}" = set; then
33370 $as_echo_n "(cached) " >&6
33372 cat >conftest.$ac_ext <<_ACEOF
33375 cat confdefs.h >>conftest.$ac_ext
33376 cat >>conftest.$ac_ext <<_ACEOF
33377 /* end confdefs.h. */
33378 #include <windows.h>
33382 rm -f conftest.$ac_objext
33383 if { (ac_try="$ac_compile"
33384 case "(($ac_try" in
33385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33386 *) ac_try_echo
=$ac_try;;
33388 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
33389 $as_echo "$ac_try_echo") >&5
33390 (eval "$ac_compile") 2>conftest.er1
33392 grep -v '^ *+' conftest.er1
>conftest.err
33394 cat conftest.err
>&5
33395 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33396 (exit $ac_status); } && {
33397 test -z "$ac_c_werror_flag" ||
33398 test ! -s conftest.err
33399 } && test -s conftest.
$ac_objext; then
33400 ac_cv_header_ddraw_h
=yes
33402 $as_echo "$as_me: failed program was:" >&5
33403 sed 's/^/| /' conftest.
$ac_ext >&5
33405 ac_cv_header_ddraw_h
=no
33408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33410 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33411 $as_echo "$ac_cv_header_ddraw_h" >&6; }
33417 if test "$wxUSE_DETECT_SM" = "yes"; then
33418 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33419 { $as_echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33420 $as_echo_n "checking for -lSM - X11 session management... " >&6; }
33423 for ac_dir
in $SEARCH_LIB;
33425 for ac_extension
in a so sl dylib dll.a
; do
33426 if test -f "$ac_dir/libSM.$ac_extension"; then
33427 ac_find_libraries
=$ac_dir
33433 if test "$ac_find_libraries" != "" ; then
33435 if test "$ac_find_libraries" = "default location"; then
33438 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33440 if test $result = 0; then
33443 ac_path_to_link
=" -L$ac_find_libraries"
33447 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33448 LDFLAGS
="$LDFLAGS $ac_path_to_link"
33450 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
33451 { $as_echo "$as_me:$LINENO: result: yes" >&5
33452 $as_echo "yes" >&6; }
33454 { $as_echo "$as_me:$LINENO: result: no" >&5
33455 $as_echo "no" >&6; }
33456 { $as_echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33457 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33458 wxUSE_DETECT_SM
="no"
33461 wxUSE_DETECT_SM
="no"
33468 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33471 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33472 OPENGL_LIBS
="-framework OpenGL -framework AGL"
33473 elif test "$wxUSE_MSW" = 1; then
33474 OPENGL_LIBS
="-lopengl32 -lglu32"
33475 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33477 { $as_echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33478 $as_echo_n "checking for OpenGL headers... " >&6; }
33481 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
;
33483 if test -f "$ac_dir/GL/gl.h"; then
33484 ac_find_includes
=$ac_dir
33489 if test "$ac_find_includes" != "" ; then
33490 { $as_echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33491 $as_echo "found in $ac_find_includes" >&6; }
33493 if test "x$ac_find_includes" = "x/usr/include"; then
33494 ac_path_to_include
=""
33496 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
33498 if test $result = 0; then
33499 ac_path_to_include
=""
33501 ac_path_to_include
=" -I$ac_find_includes"
33505 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
33507 { $as_echo "$as_me:$LINENO: result: not found" >&5
33508 $as_echo "not found" >&6; }
33511 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33512 $as_echo_n "checking for GL/gl.h... " >&6; }
33513 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33514 $as_echo_n "(cached) " >&6
33516 cat >conftest.
$ac_ext <<_ACEOF
33519 cat confdefs.h
>>conftest.
$ac_ext
33520 cat >>conftest.
$ac_ext <<_ACEOF
33521 /* end confdefs.h. */
33526 rm -f conftest.
$ac_objext
33527 if { (ac_try
="$ac_compile"
33528 case "(($ac_try" in
33529 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33530 *) ac_try_echo=$ac_try;;
33532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33533 $as_echo "$ac_try_echo") >&5
33534 (eval "$ac_compile") 2>conftest.er1
33536 grep -v '^ *+' conftest.er1 >conftest.err
33538 cat conftest.err >&5
33539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); } && {
33541 test -z "$ac_c_werror_flag" ||
33542 test ! -s conftest.err
33543 } && test -s conftest.$ac_objext; then
33544 ac_cv_header_GL_gl_h=yes
33546 $as_echo "$as_me: failed program was:" >&5
33547 sed 's/^/| /' conftest.$ac_ext >&5
33549 ac_cv_header_GL_gl_h=no
33552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33554 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33555 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
33556 if test "x$ac_cv_header_GL_gl_h" = x""yes; then
33558 { $as_echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33559 $as_echo_n "checking for GL/glu.h... " >&6; }
33560 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33561 $as_echo_n "(cached) " >&6
33563 cat >conftest.$ac_ext <<_ACEOF
33566 cat confdefs.h >>conftest.$ac_ext
33567 cat >>conftest.$ac_ext <<_ACEOF
33568 /* end confdefs.h. */
33571 #include <GL/glu.h>
33573 rm -f conftest.$ac_objext
33574 if { (ac_try="$ac_compile"
33575 case "(($ac_try" in
33576 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33577 *) ac_try_echo
=$ac_try;;
33579 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
33580 $as_echo "$ac_try_echo") >&5
33581 (eval "$ac_compile") 2>conftest.er1
33583 grep -v '^ *+' conftest.er1
>conftest.err
33585 cat conftest.err
>&5
33586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); } && {
33588 test -z "$ac_c_werror_flag" ||
33589 test ! -s conftest.err
33590 } && test -s conftest.
$ac_objext; then
33591 ac_cv_header_GL_glu_h
=yes
33593 $as_echo "$as_me: failed program was:" >&5
33594 sed 's/^/| /' conftest.
$ac_ext >&5
33596 ac_cv_header_GL_glu_h
=no
33599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33601 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33602 $as_echo "$ac_cv_header_GL_glu_h" >&6; }
33603 if test "x$ac_cv_header_GL_glu_h" = x
""yes; then
33607 { $as_echo "$as_me:$LINENO: checking for -lGL" >&5
33608 $as_echo_n "checking for -lGL... " >&6; }
33611 for ac_dir
in $SEARCH_LIB /opt
/graphics
/OpenGL
/lib
;
33613 for ac_extension
in a so sl dylib dll.a
; do
33614 if test -f "$ac_dir/libGL.$ac_extension"; then
33615 ac_find_libraries
=$ac_dir
33621 if test "$ac_find_libraries" != "" ; then
33622 { $as_echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33623 $as_echo "found in $ac_find_libraries" >&6; }
33626 if test "$ac_find_libraries" = "default location"; then
33629 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33631 if test $result = 0; then
33634 ac_path_to_link
=" -L$ac_find_libraries"
33638 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33639 LDFLAGS_GL
="$ac_path_to_link"
33642 { $as_echo "$as_me:$LINENO: checking for -lGLU" >&5
33643 $as_echo_n "checking for -lGLU... " >&6; }
33646 for ac_dir
in $SEARCH_LIB;
33648 for ac_extension
in a so sl dylib dll.a
; do
33649 if test -f "$ac_dir/libGLU.$ac_extension"; then
33650 ac_find_libraries
=$ac_dir
33656 if test "$ac_find_libraries" != "" ; then
33658 if test "$ac_find_libraries" = "default location"; then
33661 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33663 if test $result = 0; then
33666 ac_path_to_link
=" -L$ac_find_libraries"
33670 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33671 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33672 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
33676 OPENGL_LIBS
="-lGL -lGLU"
33677 { $as_echo "$as_me:$LINENO: result: yes" >&5
33678 $as_echo "yes" >&6; }
33680 { $as_echo "$as_me:$LINENO: result: no" >&5
33681 $as_echo "no" >&6; }
33684 { $as_echo "$as_me:$LINENO: result: no" >&5
33685 $as_echo "no" >&6; }
33688 if test "$found_gl" != 1; then
33689 { $as_echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33690 $as_echo_n "checking for -lMesaGL... " >&6; }
33693 for ac_dir
in $SEARCH_LIB;
33695 for ac_extension
in a so sl dylib dll.a
; do
33696 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33697 ac_find_libraries
=$ac_dir
33703 if test "$ac_find_libraries" != "" ; then
33705 if test "$ac_find_libraries" = "default location"; then
33708 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
33710 if test $result = 0; then
33713 ac_path_to_link
=" -L$ac_find_libraries"
33717 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
33718 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
33719 { $as_echo "$as_me:$LINENO: result: yes" >&5
33720 $as_echo "yes" >&6; }
33722 { $as_echo "$as_me:$LINENO: result: no" >&5
33723 $as_echo "no" >&6; }
33735 if test "x$OPENGL_LIBS" = "x"; then
33736 if test "$wxUSE_OPENGL" = "yes"; then
33737 { { $as_echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33738 $as_echo "$as_me: error: OpenGL libraries not available" >&2;}
33739 { (exit 1); exit 1; }; }
33741 { $as_echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33742 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33750 { $as_echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33751 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33755 if test "$wxUSE_OPENGL" = "yes"; then
33757 cat >>confdefs.h
<<\_ACEOF
33758 #define wxUSE_OPENGL 1
33761 cat >>confdefs.h
<<\_ACEOF
33762 #define wxUSE_GLCANVAS 1
33765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33770 if test -n "$TOOLKIT" ; then
33771 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33776 if test "$wxUSE_SHARED" = "yes"; then
33780 { $as_echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33781 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33786 if test "$wxUSE_SHARED" = "yes"; then
33790 *-*-cygwin* | *-*-mingw* )
33791 wx_cv_version_script
=no
33795 { $as_echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33796 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
33797 if test "${wx_cv_version_script+set}" = set; then
33798 $as_echo_n "(cached) " >&6
33801 echo "VER_1 { *; };" >conftest.sym
33802 echo "int main() { return 0; }" >conftest.cpp
33805 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33806 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33808 (eval $ac_try) 2>&5
33810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 (exit $ac_status); }; } ; then
33812 if test -s conftest.stderr
; then
33813 wx_cv_version_script
=no
33815 wx_cv_version_script
=yes
33818 wx_cv_version_script
=no
33821 if test $wx_cv_version_script = yes
33823 echo "struct B { virtual ~B() { } }; \
33824 struct D : public B { }; \
33825 void F() { D d; }" > conftest.cpp
33828 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33829 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33831 (eval $ac_try) 2>&5
33833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); }; } &&
33836 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33837 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33839 (eval $ac_try) 2>&5
33841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); }; }
33845 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33846 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33848 (eval $ac_try) 2>&5
33850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33851 (exit $ac_status); }; }
33853 wx_cv_version_script
=yes
33855 wx_cv_version_script
=no
33860 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33861 rm -f conftest1.output conftest2.output conftest3.output
33864 { $as_echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33865 $as_echo "$wx_cv_version_script" >&6; }
33867 if test $wx_cv_version_script = yes ; then
33868 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33874 if test "$wxUSE_VISIBILITY" != "no"; then
33877 if test -n "$GCC"; then
33878 CFLAGS_VISIBILITY
="-fvisibility=hidden"
33879 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
33880 { $as_echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33881 $as_echo_n "checking for symbols visibility support... " >&6; }
33882 if test "${wx_cv_cc_visibility+set}" = set; then
33883 $as_echo_n "(cached) " >&6
33886 wx_save_CXXFLAGS
="$CXXFLAGS"
33887 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33889 ac_cpp
='$CXXCPP $CPPFLAGS'
33890 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33894 cat >conftest.
$ac_ext <<_ACEOF
33897 cat confdefs.h
>>conftest.
$ac_ext
33898 cat >>conftest.
$ac_ext <<_ACEOF
33899 /* end confdefs.h. */
33901 /* we need gcc >= 4.0, older versions with visibility support
33902 didn't have class visibility: */
33903 #if defined(__GNUC__) && __GNUC__ < 4
33904 error this gcc is too old;
33907 /* visibility only makes sense for ELF shared libs: */
33908 #if !defined(__ELF__) && !defined(__APPLE__)
33909 error this platform has no visibility;
33912 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33913 extern __attribute__((__visibility__("default"))) int exportedvar;
33914 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33915 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33916 class __attribute__((__visibility__("default"))) Foo {
33928 rm -f conftest.
$ac_objext
33929 if { (ac_try
="$ac_compile"
33930 case "(($ac_try" in
33931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33932 *) ac_try_echo=$ac_try;;
33934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
33935 $as_echo "$ac_try_echo") >&5
33936 (eval "$ac_compile") 2>conftest.er1
33938 grep -v '^ *+' conftest.er1 >conftest.err
33940 cat conftest.err >&5
33941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); } && {
33943 test -z "$ac_cxx_werror_flag" ||
33944 test ! -s conftest.err
33945 } && test -s conftest.$ac_objext; then
33946 wx_cv_cc_visibility=yes
33948 $as_echo "$as_me: failed program was:" >&5
33949 sed 's/^/| /' conftest.$ac_ext >&5
33951 wx_cv_cc_visibility=no
33954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33956 ac_cpp='$CPP $CPPFLAGS'
33957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33961 CXXFLAGS="$wx_save_CXXFLAGS"
33964 { $as_echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33965 $as_echo "$wx_cv_cc_visibility" >&6; }
33966 if test $wx_cv_cc_visibility = yes; then
33967 { $as_echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33968 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
33969 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33970 $as_echo_n "(cached) " >&6
33973 wx_save_CXXFLAGS="$CXXFLAGS"
33974 wx_save_LDFLAGS="$LDFLAGS"
33975 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33976 LDFLAGS="$LDFLAGS -shared -fPIC"
33978 ac_cpp='$CXXCPP $CPPFLAGS'
33979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33983 cat >conftest.$ac_ext <<_ACEOF
33986 cat confdefs.h >>conftest.$ac_ext
33987 cat >>conftest.$ac_ext <<_ACEOF
33988 /* end confdefs.h. */
33996 std::string s("hello");
34003 rm -f conftest.$ac_objext conftest$ac_exeext
34004 if { (ac_try="$ac_link"
34005 case "(($ac_try" in
34006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34007 *) ac_try_echo
=$ac_try;;
34009 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
34010 $as_echo "$ac_try_echo") >&5
34011 (eval "$ac_link") 2>conftest.er1
34013 grep -v '^ *+' conftest.er1
>conftest.err
34015 cat conftest.err
>&5
34016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34017 (exit $ac_status); } && {
34018 test -z "$ac_cxx_werror_flag" ||
34019 test ! -s conftest.err
34020 } && test -s conftest
$ac_exeext && {
34021 test "$cross_compiling" = yes ||
34022 $as_test_x conftest
$ac_exeext
34024 wx_cv_cc_broken_libstdcxx_visibility
=no
34026 $as_echo "$as_me: failed program was:" >&5
34027 sed 's/^/| /' conftest.
$ac_ext >&5
34029 wx_cv_cc_broken_libstdcxx_visibility
=yes
34032 rm -rf conftest.dSYM
34033 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34034 conftest
$ac_exeext conftest.
$ac_ext
34036 ac_cpp
='$CPP $CPPFLAGS'
34037 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34038 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34039 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34041 CXXFLAGS
="$wx_save_CXXFLAGS"
34042 LDFLAGS
="$wx_save_LDFLAGS"
34045 { $as_echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34046 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34048 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34049 { $as_echo "$as_me:$LINENO: checking whether we can work around it" >&5
34050 $as_echo_n "checking whether we can work around it... " >&6; }
34051 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34052 $as_echo_n "(cached) " >&6
34056 ac_cpp
='$CXXCPP $CPPFLAGS'
34057 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34058 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34059 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34061 cat >conftest.
$ac_ext <<_ACEOF
34064 cat confdefs.h
>>conftest.
$ac_ext
34065 cat >>conftest.
$ac_ext <<_ACEOF
34066 /* end confdefs.h. */
34068 #pragma GCC visibility push(default)
34070 #pragma GCC visibility pop
34076 std::string s("hello");
34083 rm -f conftest.
$ac_objext conftest
$ac_exeext
34084 if { (ac_try
="$ac_link"
34085 case "(($ac_try" in
34086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34087 *) ac_try_echo=$ac_try;;
34089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34090 $as_echo "$ac_try_echo") >&5
34091 (eval "$ac_link") 2>conftest.er1
34093 grep -v '^ *+' conftest.er1 >conftest.err
34095 cat conftest.err >&5
34096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097 (exit $ac_status); } && {
34098 test -z "$ac_cxx_werror_flag" ||
34099 test ! -s conftest.err
34100 } && test -s conftest$ac_exeext && {
34101 test "$cross_compiling" = yes ||
34102 $as_test_x conftest$ac_exeext
34104 wx_cv_cc_visibility_workaround=no
34106 $as_echo "$as_me: failed program was:" >&5
34107 sed 's/^/| /' conftest.$ac_ext >&5
34109 wx_cv_cc_visibility_workaround=yes
34112 rm -rf conftest.dSYM
34113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34114 conftest$ac_exeext conftest.$ac_ext
34116 ac_cpp='$CPP $CPPFLAGS'
34117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34124 { $as_echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34125 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
34127 if test $wx_cv_cc_visibility_workaround = no; then
34128 wx_cv_cc_visibility=no
34133 if test $wx_cv_cc_visibility = yes; then
34134 cat >>confdefs.h <<\_ACEOF
34135 #define HAVE_VISIBILITY 1
34138 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34139 cat >>confdefs.h <<\_ACEOF
34140 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34145 CFLAGS_VISIBILITY=""
34146 CXXFLAGS_VISIBILITY=""
34154 if test "x$SUNCXX" = xyes; then
34155 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34156 WXCONFIG_RPATH="-R\$libdir"
34159 *-*-linux* | *-*-gnu* )
34160 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34161 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34166 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34168 saveLdflags="$LDFLAGS"
34169 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34170 { $as_echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34171 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
34172 cat >conftest.$ac_ext <<_ACEOF
34175 cat confdefs.h >>conftest.$ac_ext
34176 cat >>conftest.$ac_ext <<_ACEOF
34177 /* end confdefs.h. */
34187 rm -f conftest.$ac_objext conftest$ac_exeext
34188 if { (ac_try="$ac_link"
34189 case "(($ac_try" in
34190 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34191 *) ac_try_echo
=$ac_try;;
34193 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
34194 $as_echo "$ac_try_echo") >&5
34195 (eval "$ac_link") 2>conftest.er1
34197 grep -v '^ *+' conftest.er1
>conftest.err
34199 cat conftest.err
>&5
34200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } && {
34202 test -z "$ac_c_werror_flag" ||
34203 test ! -s conftest.err
34204 } && test -s conftest
$ac_exeext && {
34205 test "$cross_compiling" = yes ||
34206 $as_test_x conftest
$ac_exeext
34209 { $as_echo "$as_me:$LINENO: result: yes" >&5
34210 $as_echo "yes" >&6; }
34211 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34212 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34215 $as_echo "$as_me: failed program was:" >&5
34216 sed 's/^/| /' conftest.
$ac_ext >&5
34219 { $as_echo "$as_me:$LINENO: result: no" >&5
34220 $as_echo "no" >&6; }
34221 { $as_echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34222 $as_echo_n "checking if the linker accepts -R... " >&6; }
34223 LDFLAGS
="$saveLdflags -Wl,-R,/"
34224 cat >conftest.
$ac_ext <<_ACEOF
34227 cat confdefs.h
>>conftest.
$ac_ext
34228 cat >>conftest.
$ac_ext <<_ACEOF
34229 /* end confdefs.h. */
34239 rm -f conftest.
$ac_objext conftest
$ac_exeext
34240 if { (ac_try
="$ac_link"
34241 case "(($ac_try" in
34242 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34243 *) ac_try_echo=$ac_try;;
34245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34246 $as_echo "$ac_try_echo") >&5
34247 (eval "$ac_link") 2>conftest.er1
34249 grep -v '^ *+' conftest.er1 >conftest.err
34251 cat conftest.err >&5
34252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34253 (exit $ac_status); } && {
34254 test -z "$ac_c_werror_flag" ||
34255 test ! -s conftest.err
34256 } && test -s conftest$ac_exeext && {
34257 test "$cross_compiling" = yes ||
34258 $as_test_x conftest$ac_exeext
34261 { $as_echo "$as_me:$LINENO: result: yes" >&5
34262 $as_echo "yes" >&6; }
34263 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34264 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34267 $as_echo "$as_me: failed program was:" >&5
34268 sed 's/^/| /' conftest.$ac_ext >&5
34271 { $as_echo "$as_me:$LINENO: result: no" >&5
34272 $as_echo "no" >&6; }
34276 rm -rf conftest.dSYM
34277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34278 conftest$ac_exeext conftest.$ac_ext
34282 rm -rf conftest.dSYM
34283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34284 conftest$ac_exeext conftest.$ac_ext
34285 LDFLAGS="$saveLdflags"
34289 install_name_tool=`which ${HOST_PREFIX}install_name_tool
`
34290 if test "$install_name_tool" -a -x "$install_name_tool"; then
34291 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34292 cat <<EOF >change-install-names
34294 libnames=\`cd \
${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
34295 for i in \${libnames} ; do
34296 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34297 for dep in \${libnames} ; do
34298 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34302 chmod +x change-install-names
34303 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34306 HEADER_PAD_OPTION="-headerpad_max_install_names"
34309 *-*-cygwin* | *-*-mingw32* )
34313 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34314 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34320 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34322 if test $wxUSE_RPATH = "no"; then
34323 SAMPLES_RPATH_FLAG=''
34324 DYLIB_PATH_POSTLINK=''
34332 config_linkage_component="-static"
34339 lib_unicode_suffix=
34341 if test "$wxUSE_UNICODE" = "yes"; then
34342 lib_unicode_suffix=u
34343 WX_CHARTYPE="unicode"
34348 WX_DEBUGTYPE="release"
34350 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34352 WX_DEBUGTYPE="debug"
34356 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34357 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34360 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34364 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34366 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34368 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34371 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34372 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34374 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34376 if test "${TOOLKIT_DIR}" = "os2"; then
34377 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34379 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34384 if test "$wxUSE_COCOA" = 1; then
34387 ac_cpp='$CPP $CPPFLAGS'
34388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34394 { $as_echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34395 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
34396 cat >conftest.$ac_ext <<_ACEOF
34399 cat confdefs.h >>conftest.$ac_ext
34400 cat >>conftest.$ac_ext <<_ACEOF
34401 /* end confdefs.h. */
34402 #include <AppKit/NSEvent.h>
34403 #include <CoreFoundation/CoreFoundation.h>
34413 rm -f conftest.$ac_objext
34414 if { (ac_try="$ac_compile"
34415 case "(($ac_try" in
34416 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34417 *) ac_try_echo
=$ac_try;;
34419 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
34420 $as_echo "$ac_try_echo") >&5
34421 (eval "$ac_compile") 2>conftest.er1
34423 grep -v '^ *+' conftest.er1
>conftest.err
34425 cat conftest.err
>&5
34426 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); } && {
34428 test -z "$ac_c_werror_flag" ||
34429 test ! -s conftest.err
34430 } && test -s conftest.
$ac_objext; then
34431 { $as_echo "$as_me:$LINENO: result: no" >&5
34432 $as_echo "no" >&6; }
34434 $as_echo "$as_me: failed program was:" >&5
34435 sed 's/^/| /' conftest.
$ac_ext >&5
34437 { $as_echo "$as_me:$LINENO: result: yes" >&5
34438 $as_echo "yes" >&6; }
34439 { $as_echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34440 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
34441 cat >conftest.
$ac_ext <<_ACEOF
34444 cat confdefs.h
>>conftest.
$ac_ext
34445 cat >>conftest.
$ac_ext <<_ACEOF
34446 /* end confdefs.h. */
34447 #define __Point__ 1
34448 #include <AppKit/NSEvent.h>
34449 #include <CoreFoundation/CoreFoundation.h>
34459 rm -f conftest.
$ac_objext
34460 if { (ac_try
="$ac_compile"
34461 case "(($ac_try" in
34462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34463 *) ac_try_echo=$ac_try;;
34465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34466 $as_echo "$ac_try_echo") >&5
34467 (eval "$ac_compile") 2>conftest.er1
34469 grep -v '^ *+' conftest.er1 >conftest.err
34471 cat conftest.err >&5
34472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34473 (exit $ac_status); } && {
34474 test -z "$ac_c_werror_flag" ||
34475 test ! -s conftest.err
34476 } && test -s conftest.$ac_objext; then
34477 { $as_echo "$as_me:$LINENO: result: yes" >&5
34478 $as_echo "yes" >&6; }
34479 cat >>confdefs.h <<\_ACEOF
34480 #define __Point__ 1
34485 $as_echo "$as_me: failed program was:" >&5
34486 sed 's/^/| /' conftest.$ac_ext >&5
34488 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
34489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
34490 { { $as_echo "$as_me:$LINENO: error
: no
34491 See \
`config.log' for more details." >&5
34492 $as_echo "$as_me: error: no
34493 See \`config.log
' for more details." >&2;}
34494 { (exit 1); exit 1; }; }; }
34498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34504 ac_cpp='$CPP $CPPFLAGS'
34505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
34506 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
34507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34512 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
34513 $as_echo_n "checking for mode_t... " >&6; }
34514 if test "${ac_cv_type_mode_t+set}" = set; then
34515 $as_echo_n "(cached) " >&6
34517 ac_cv_type_mode_t=no
34518 cat >conftest.$ac_ext <<_ACEOF
34521 cat confdefs.h >>conftest.$ac_ext
34522 cat >>conftest.$ac_ext <<_ACEOF
34523 /* end confdefs.h. */
34524 $ac_includes_default
34528 if (sizeof (mode_t))
34534 rm -f conftest.$ac_objext
34535 if { (ac_try="$ac_compile"
34536 case "(($ac_try" in
34537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34538 *) ac_try_echo=$ac_try;;
34540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34541 $as_echo "$ac_try_echo") >&5
34542 (eval "$ac_compile") 2>conftest.er1
34544 grep -v '^
*+' conftest.er1 >conftest.err
34546 cat conftest.err >&5
34547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); } && {
34549 test -z "$ac_c_werror_flag" ||
34550 test ! -s conftest.err
34551 } && test -s conftest.$ac_objext; then
34552 cat >conftest.$ac_ext <<_ACEOF
34555 cat confdefs.h >>conftest.$ac_ext
34556 cat >>conftest.$ac_ext <<_ACEOF
34557 /* end confdefs.h. */
34558 $ac_includes_default
34562 if (sizeof ((mode_t)))
34568 rm -f conftest.$ac_objext
34569 if { (ac_try="$ac_compile"
34570 case "(($ac_try" in
34571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34572 *) ac_try_echo=$ac_try;;
34574 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34575 $as_echo "$ac_try_echo") >&5
34576 (eval "$ac_compile") 2>conftest.er1
34578 grep -v '^
*+' conftest.er1 >conftest.err
34580 cat conftest.err >&5
34581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34582 (exit $ac_status); } && {
34583 test -z "$ac_c_werror_flag" ||
34584 test ! -s conftest.err
34585 } && test -s conftest.$ac_objext; then
34588 $as_echo "$as_me: failed program was:" >&5
34589 sed 's
/^
/| /' conftest.$ac_ext >&5
34591 ac_cv_type_mode_t=yes
34594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34596 $as_echo "$as_me: failed program was:" >&5
34597 sed 's
/^
/| /' conftest.$ac_ext >&5
34602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34604 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34605 $as_echo "$ac_cv_type_mode_t" >&6; }
34606 if test "x$ac_cv_type_mode_t" = x""yes; then
34610 cat >>confdefs.h <<_ACEOF
34616 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
34617 $as_echo_n "checking for off_t... " >&6; }
34618 if test "${ac_cv_type_off_t+set}" = set; then
34619 $as_echo_n "(cached) " >&6
34621 ac_cv_type_off_t=no
34622 cat >conftest.$ac_ext <<_ACEOF
34625 cat confdefs.h >>conftest.$ac_ext
34626 cat >>conftest.$ac_ext <<_ACEOF
34627 /* end confdefs.h. */
34628 $ac_includes_default
34632 if (sizeof (off_t))
34638 rm -f conftest.$ac_objext
34639 if { (ac_try="$ac_compile"
34640 case "(($ac_try" in
34641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34642 *) ac_try_echo=$ac_try;;
34644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34645 $as_echo "$ac_try_echo") >&5
34646 (eval "$ac_compile") 2>conftest.er1
34648 grep -v '^
*+' conftest.er1 >conftest.err
34650 cat conftest.err >&5
34651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34652 (exit $ac_status); } && {
34653 test -z "$ac_c_werror_flag" ||
34654 test ! -s conftest.err
34655 } && test -s conftest.$ac_objext; then
34656 cat >conftest.$ac_ext <<_ACEOF
34659 cat confdefs.h >>conftest.$ac_ext
34660 cat >>conftest.$ac_ext <<_ACEOF
34661 /* end confdefs.h. */
34662 $ac_includes_default
34666 if (sizeof ((off_t)))
34672 rm -f conftest.$ac_objext
34673 if { (ac_try="$ac_compile"
34674 case "(($ac_try" in
34675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34676 *) ac_try_echo=$ac_try;;
34678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34679 $as_echo "$ac_try_echo") >&5
34680 (eval "$ac_compile") 2>conftest.er1
34682 grep -v '^
*+' conftest.er1 >conftest.err
34684 cat conftest.err >&5
34685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686 (exit $ac_status); } && {
34687 test -z "$ac_c_werror_flag" ||
34688 test ! -s conftest.err
34689 } && test -s conftest.$ac_objext; then
34692 $as_echo "$as_me: failed program was:" >&5
34693 sed 's
/^
/| /' conftest.$ac_ext >&5
34695 ac_cv_type_off_t=yes
34698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34700 $as_echo "$as_me: failed program was:" >&5
34701 sed 's
/^
/| /' conftest.$ac_ext >&5
34706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34708 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34709 $as_echo "$ac_cv_type_off_t" >&6; }
34710 if test "x$ac_cv_type_off_t" = x""yes; then
34714 cat >>confdefs.h <<_ACEOF
34715 #define off_t long int
34720 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
34721 $as_echo_n "checking for pid_t... " >&6; }
34722 if test "${ac_cv_type_pid_t+set}" = set; then
34723 $as_echo_n "(cached) " >&6
34725 ac_cv_type_pid_t=no
34726 cat >conftest.$ac_ext <<_ACEOF
34729 cat confdefs.h >>conftest.$ac_ext
34730 cat >>conftest.$ac_ext <<_ACEOF
34731 /* end confdefs.h. */
34732 $ac_includes_default
34736 if (sizeof (pid_t))
34742 rm -f conftest.$ac_objext
34743 if { (ac_try="$ac_compile"
34744 case "(($ac_try" in
34745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34746 *) ac_try_echo=$ac_try;;
34748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34749 $as_echo "$ac_try_echo") >&5
34750 (eval "$ac_compile") 2>conftest.er1
34752 grep -v '^
*+' conftest.er1 >conftest.err
34754 cat conftest.err >&5
34755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); } && {
34757 test -z "$ac_c_werror_flag" ||
34758 test ! -s conftest.err
34759 } && test -s conftest.$ac_objext; then
34760 cat >conftest.$ac_ext <<_ACEOF
34763 cat confdefs.h >>conftest.$ac_ext
34764 cat >>conftest.$ac_ext <<_ACEOF
34765 /* end confdefs.h. */
34766 $ac_includes_default
34770 if (sizeof ((pid_t)))
34776 rm -f conftest.$ac_objext
34777 if { (ac_try="$ac_compile"
34778 case "(($ac_try" in
34779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34780 *) ac_try_echo=$ac_try;;
34782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34783 $as_echo "$ac_try_echo") >&5
34784 (eval "$ac_compile") 2>conftest.er1
34786 grep -v '^
*+' conftest.er1 >conftest.err
34788 cat conftest.err >&5
34789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); } && {
34791 test -z "$ac_c_werror_flag" ||
34792 test ! -s conftest.err
34793 } && test -s conftest.$ac_objext; then
34796 $as_echo "$as_me: failed program was:" >&5
34797 sed 's
/^
/| /' conftest.$ac_ext >&5
34799 ac_cv_type_pid_t=yes
34802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34804 $as_echo "$as_me: failed program was:" >&5
34805 sed 's
/^
/| /' conftest.$ac_ext >&5
34810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34812 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34813 $as_echo "$ac_cv_type_pid_t" >&6; }
34814 if test "x$ac_cv_type_pid_t" = x""yes; then
34818 cat >>confdefs.h <<_ACEOF
34824 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
34825 $as_echo_n "checking for size_t... " >&6; }
34826 if test "${ac_cv_type_size_t+set}" = set; then
34827 $as_echo_n "(cached) " >&6
34829 ac_cv_type_size_t=no
34830 cat >conftest.$ac_ext <<_ACEOF
34833 cat confdefs.h >>conftest.$ac_ext
34834 cat >>conftest.$ac_ext <<_ACEOF
34835 /* end confdefs.h. */
34836 $ac_includes_default
34840 if (sizeof (size_t))
34846 rm -f conftest.$ac_objext
34847 if { (ac_try="$ac_compile"
34848 case "(($ac_try" in
34849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34850 *) ac_try_echo=$ac_try;;
34852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34853 $as_echo "$ac_try_echo") >&5
34854 (eval "$ac_compile") 2>conftest.er1
34856 grep -v '^
*+' conftest.er1 >conftest.err
34858 cat conftest.err >&5
34859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860 (exit $ac_status); } && {
34861 test -z "$ac_c_werror_flag" ||
34862 test ! -s conftest.err
34863 } && test -s conftest.$ac_objext; then
34864 cat >conftest.$ac_ext <<_ACEOF
34867 cat confdefs.h >>conftest.$ac_ext
34868 cat >>conftest.$ac_ext <<_ACEOF
34869 /* end confdefs.h. */
34870 $ac_includes_default
34874 if (sizeof ((size_t)))
34880 rm -f conftest.$ac_objext
34881 if { (ac_try="$ac_compile"
34882 case "(($ac_try" in
34883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34884 *) ac_try_echo=$ac_try;;
34886 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34887 $as_echo "$ac_try_echo") >&5
34888 (eval "$ac_compile") 2>conftest.er1
34890 grep -v '^
*+' conftest.er1 >conftest.err
34892 cat conftest.err >&5
34893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); } && {
34895 test -z "$ac_c_werror_flag" ||
34896 test ! -s conftest.err
34897 } && test -s conftest.$ac_objext; then
34900 $as_echo "$as_me: failed program was:" >&5
34901 sed 's
/^
/| /' conftest.$ac_ext >&5
34903 ac_cv_type_size_t=yes
34906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34908 $as_echo "$as_me: failed program was:" >&5
34909 sed 's
/^
/| /' conftest.$ac_ext >&5
34914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34916 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34917 $as_echo "$ac_cv_type_size_t" >&6; }
34918 if test "x$ac_cv_type_size_t" = x""yes; then
34922 cat >>confdefs.h <<_ACEOF
34923 #define size_t unsigned int
34929 { $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
34930 $as_echo_n "checking for ssize_t... " >&6; }
34931 if test "${ac_cv_type_ssize_t+set}" = set; then
34932 $as_echo_n "(cached) " >&6
34934 ac_cv_type_ssize_t=no
34935 cat >conftest.$ac_ext <<_ACEOF
34938 cat confdefs.h >>conftest.$ac_ext
34939 cat >>conftest.$ac_ext <<_ACEOF
34940 /* end confdefs.h. */
34941 $ac_includes_default
34945 if (sizeof (ssize_t))
34951 rm -f conftest.$ac_objext
34952 if { (ac_try="$ac_compile"
34953 case "(($ac_try" in
34954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34955 *) ac_try_echo=$ac_try;;
34957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34958 $as_echo "$ac_try_echo") >&5
34959 (eval "$ac_compile") 2>conftest.er1
34961 grep -v '^
*+' conftest.er1 >conftest.err
34963 cat conftest.err >&5
34964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965 (exit $ac_status); } && {
34966 test -z "$ac_c_werror_flag" ||
34967 test ! -s conftest.err
34968 } && test -s conftest.$ac_objext; then
34969 cat >conftest.$ac_ext <<_ACEOF
34972 cat confdefs.h >>conftest.$ac_ext
34973 cat >>conftest.$ac_ext <<_ACEOF
34974 /* end confdefs.h. */
34975 $ac_includes_default
34979 if (sizeof ((ssize_t)))
34985 rm -f conftest.$ac_objext
34986 if { (ac_try="$ac_compile"
34987 case "(($ac_try" in
34988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34989 *) ac_try_echo=$ac_try;;
34991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
34992 $as_echo "$ac_try_echo") >&5
34993 (eval "$ac_compile") 2>conftest.er1
34995 grep -v '^
*+' conftest.er1 >conftest.err
34997 cat conftest.err >&5
34998 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
34999 (exit $ac_status); } && {
35000 test -z "$ac_c_werror_flag" ||
35001 test ! -s conftest.err
35002 } && test -s conftest.$ac_objext; then
35005 $as_echo "$as_me: failed program was:" >&5
35006 sed 's
/^
/| /' conftest.$ac_ext >&5
35008 ac_cv_type_ssize_t=yes
35011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35013 $as_echo "$as_me: failed program was:" >&5
35014 sed 's
/^
/| /' conftest.$ac_ext >&5
35019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35021 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35022 $as_echo "$ac_cv_type_ssize_t" >&6; }
35023 if test "x$ac_cv_type_ssize_t" = x""yes; then
35025 cat >>confdefs.h <<_ACEOF
35026 #define HAVE_SSIZE_T 1
35034 ac_cpp='$CXXCPP $CPPFLAGS'
35035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
35036 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35038 { $as_echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35039 $as_echo_n "checking if size_t is unsigned int... " >&6; }
35040 if test "${wx_cv_size_t_is_uint+set}" = set; then
35041 $as_echo_n "(cached) " >&6
35044 cat >conftest.$ac_ext <<_ACEOF
35047 cat confdefs.h >>conftest.$ac_ext
35048 cat >>conftest.$ac_ext <<_ACEOF
35049 /* end confdefs.h. */
35050 #include <stddef.h>
35057 struct Foo { void foo(size_t); void foo(unsigned int); };
35065 rm -f conftest.$ac_objext
35066 if { (ac_try="$ac_compile"
35067 case "(($ac_try" in
35068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35069 *) ac_try_echo=$ac_try;;
35071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35072 $as_echo "$ac_try_echo") >&5
35073 (eval "$ac_compile") 2>conftest.er1
35075 grep -v '^
*+' conftest.er1 >conftest.err
35077 cat conftest.err >&5
35078 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35079 (exit $ac_status); } && {
35080 test -z "$ac_cxx_werror_flag" ||
35081 test ! -s conftest.err
35082 } && test -s conftest.$ac_objext; then
35083 wx_cv_size_t_is_uint=no
35085 $as_echo "$as_me: failed program was:" >&5
35086 sed 's
/^
/| /' conftest.$ac_ext >&5
35088 wx_cv_size_t_is_uint=yes
35092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35096 { $as_echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35097 $as_echo "$wx_cv_size_t_is_uint" >&6; }
35099 if test "$wx_cv_size_t_is_uint" = "yes"; then
35100 cat >>confdefs.h <<\_ACEOF
35101 #define wxSIZE_T_IS_UINT 1
35105 { $as_echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35106 $as_echo_n "checking if size_t is unsigned long... " >&6; }
35107 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35108 $as_echo_n "(cached) " >&6
35110 cat >conftest.$ac_ext <<_ACEOF
35113 cat confdefs.h >>conftest.$ac_ext
35114 cat >>conftest.$ac_ext <<_ACEOF
35115 /* end confdefs.h. */
35116 #include <stddef.h>
35123 struct Foo { void foo(size_t); void foo(unsigned long); };
35131 rm -f conftest.$ac_objext
35132 if { (ac_try="$ac_compile"
35133 case "(($ac_try" in
35134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35135 *) ac_try_echo=$ac_try;;
35137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35138 $as_echo "$ac_try_echo") >&5
35139 (eval "$ac_compile") 2>conftest.er1
35141 grep -v '^
*+' conftest.er1 >conftest.err
35143 cat conftest.err >&5
35144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35145 (exit $ac_status); } && {
35146 test -z "$ac_cxx_werror_flag" ||
35147 test ! -s conftest.err
35148 } && test -s conftest.$ac_objext; then
35149 wx_cv_size_t_is_ulong=no
35151 $as_echo "$as_me: failed program was:" >&5
35152 sed 's
/^
/| /' conftest.$ac_ext >&5
35154 wx_cv_size_t_is_ulong=yes
35158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35161 { $as_echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35162 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
35164 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35165 cat >>confdefs.h <<\_ACEOF
35166 #define wxSIZE_T_IS_ULONG 1
35172 { $as_echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35173 $as_echo_n "checking if wchar_t is separate type... " >&6; }
35174 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35175 $as_echo_n "(cached) " >&6
35177 cat >conftest.$ac_ext <<_ACEOF
35180 cat confdefs.h >>conftest.$ac_ext
35181 cat >>conftest.$ac_ext <<_ACEOF
35182 /* end confdefs.h. */
35190 struct Foo { void foo(wchar_t);
35191 void foo(unsigned short);
35192 void foo(unsigned int);
35193 void foo(unsigned long); };
35201 rm -f conftest.$ac_objext
35202 if { (ac_try="$ac_compile"
35203 case "(($ac_try" in
35204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35205 *) ac_try_echo=$ac_try;;
35207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35208 $as_echo "$ac_try_echo") >&5
35209 (eval "$ac_compile") 2>conftest.er1
35211 grep -v '^
*+' conftest.er1 >conftest.err
35213 cat conftest.err >&5
35214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); } && {
35216 test -z "$ac_cxx_werror_flag" ||
35217 test ! -s conftest.err
35218 } && test -s conftest.$ac_objext; then
35219 wx_cv_wchar_t_is_separate_type=yes
35221 $as_echo "$as_me: failed program was:" >&5
35222 sed 's
/^
/| /' conftest.$ac_ext >&5
35224 wx_cv_wchar_t_is_separate_type=no
35228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35231 { $as_echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35232 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
35234 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35235 cat >>confdefs.h <<\_ACEOF
35236 #define wxWCHAR_T_IS_REAL_TYPE 1
35240 cat >>confdefs.h <<\_ACEOF
35241 #define wxWCHAR_T_IS_REAL_TYPE 0
35247 ac_cpp='$CPP $CPPFLAGS'
35248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
35249 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
35250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35253 { $as_echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35254 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
35255 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35256 $as_echo_n "(cached) " >&6
35259 cat >conftest.$ac_ext <<_ACEOF
35262 cat confdefs.h >>conftest.$ac_ext
35263 cat >>conftest.$ac_ext <<_ACEOF
35264 /* end confdefs.h. */
35278 rm -f conftest.$ac_objext
35279 if { (ac_try="$ac_compile"
35280 case "(($ac_try" in
35281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35282 *) ac_try_echo=$ac_try;;
35284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35285 $as_echo "$ac_try_echo") >&5
35286 (eval "$ac_compile") 2>conftest.er1
35288 grep -v '^
*+' conftest.er1 >conftest.err
35290 cat conftest.err >&5
35291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); } && {
35293 test -z "$ac_c_werror_flag" ||
35294 test ! -s conftest.err
35295 } && test -s conftest.$ac_objext; then
35297 wx_cv_struct_pw_gecos=yes
35300 $as_echo "$as_me: failed program was:" >&5
35301 sed 's
/^
/| /' conftest.$ac_ext >&5
35304 wx_cv_struct_pw_gecos=no
35309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35313 { $as_echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35314 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
35316 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35317 cat >>confdefs.h <<\_ACEOF
35318 #define HAVE_PW_GECOS 1
35324 if test "$wxUSE_WCHAR_T" = "yes"; then
35325 cat >>confdefs.h <<\_ACEOF
35326 #define wxUSE_WCHAR_T 1
35333 for ac_func in wcslen
35335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35336 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
35337 $as_echo_n "checking for $ac_func... " >&6; }
35338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35339 $as_echo_n "(cached) " >&6
35341 cat >conftest.$ac_ext <<_ACEOF
35344 cat confdefs.h >>conftest.$ac_ext
35345 cat >>conftest.$ac_ext <<_ACEOF
35346 /* end confdefs.h. */
35347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35349 #define $ac_func innocuous_$ac_func
35351 /* System header to define __stub macros and hopefully few prototypes,
35352 which can conflict with char $ac_func (); below.
35353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35354 <limits.h> exists even on freestanding compilers. */
35357 # include <limits.h>
35359 # include <assert.h>
35364 /* Override any GCC internal prototype to avoid an error.
35365 Use char because int might match the return type of a GCC
35366 builtin and then its argument prototype would still apply. */
35371 /* The GNU C library defines this for functions which it implements
35372 to always fail with ENOSYS. Some functions are actually named
35373 something starting with __ and the normal name is an alias. */
35374 #if defined __stub_$ac_func || defined __stub___$ac_func
35381 return $ac_func ();
35386 rm -f conftest.$ac_objext conftest$ac_exeext
35387 if { (ac_try="$ac_link"
35388 case "(($ac_try" in
35389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35390 *) ac_try_echo=$ac_try;;
35392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35393 $as_echo "$ac_try_echo") >&5
35394 (eval "$ac_link") 2>conftest.er1
35396 grep -v '^
*+' conftest.er1 >conftest.err
35398 cat conftest.err >&5
35399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); } && {
35401 test -z "$ac_c_werror_flag" ||
35402 test ! -s conftest.err
35403 } && test -s conftest$ac_exeext && {
35404 test "$cross_compiling" = yes ||
35405 $as_test_x conftest$ac_exeext
35407 eval "$as_ac_var=yes"
35409 $as_echo "$as_me: failed program was:" >&5
35410 sed 's
/^
/| /' conftest.$ac_ext >&5
35412 eval "$as_ac_var=no"
35415 rm -rf conftest.dSYM
35416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35417 conftest$ac_exeext conftest.$ac_ext
35419 ac_res=`eval 'as_val
=${'$as_ac_var'}
35420 $as_echo "$as_val"'`
35421 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
35422 $as_echo "$ac_res" >&6; }
35423 as_val=`eval 'as_val
=${'$as_ac_var'}
35424 $as_echo "$as_val"'`
35425 if test "x$as_val" = x""yes; then
35426 cat >>confdefs.h <<_ACEOF
35427 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35434 if test "$WCSLEN_FOUND" = 0; then
35435 if test "$TOOLKIT" = "MSW"; then
35436 { $as_echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35437 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
35438 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35439 $as_echo_n "(cached) " >&6
35441 ac_check_lib_save_LIBS=$LIBS
35442 LIBS="-lmsvcrt $LIBS"
35443 cat >conftest.$ac_ext <<_ACEOF
35446 cat confdefs.h >>conftest.$ac_ext
35447 cat >>conftest.$ac_ext <<_ACEOF
35448 /* end confdefs.h. */
35450 /* Override any GCC internal prototype to avoid an error.
35451 Use char because int might match the return type of a GCC
35452 builtin and then its argument prototype would still apply. */
35465 rm -f conftest.$ac_objext conftest$ac_exeext
35466 if { (ac_try="$ac_link"
35467 case "(($ac_try" in
35468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35469 *) ac_try_echo=$ac_try;;
35471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35472 $as_echo "$ac_try_echo") >&5
35473 (eval "$ac_link") 2>conftest.er1
35475 grep -v '^
*+' conftest.er1 >conftest.err
35477 cat conftest.err >&5
35478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); } && {
35480 test -z "$ac_c_werror_flag" ||
35481 test ! -s conftest.err
35482 } && test -s conftest$ac_exeext && {
35483 test "$cross_compiling" = yes ||
35484 $as_test_x conftest$ac_exeext
35486 ac_cv_lib_msvcrt_wcslen=yes
35488 $as_echo "$as_me: failed program was:" >&5
35489 sed 's
/^
/| /' conftest.$ac_ext >&5
35491 ac_cv_lib_msvcrt_wcslen=no
35494 rm -rf conftest.dSYM
35495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35496 conftest$ac_exeext conftest.$ac_ext
35497 LIBS=$ac_check_lib_save_LIBS
35499 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35500 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
35501 if test "x$ac_cv_lib_msvcrt_wcslen" = x""yes; then
35506 { $as_echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35507 $as_echo_n "checking for wcslen in -lw... " >&6; }
35508 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35509 $as_echo_n "(cached) " >&6
35511 ac_check_lib_save_LIBS=$LIBS
35513 cat >conftest.$ac_ext <<_ACEOF
35516 cat confdefs.h >>conftest.$ac_ext
35517 cat >>conftest.$ac_ext <<_ACEOF
35518 /* end confdefs.h. */
35520 /* Override any GCC internal prototype to avoid an error.
35521 Use char because int might match the return type of a GCC
35522 builtin and then its argument prototype would still apply. */
35535 rm -f conftest.$ac_objext conftest$ac_exeext
35536 if { (ac_try="$ac_link"
35537 case "(($ac_try" in
35538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35539 *) ac_try_echo=$ac_try;;
35541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35542 $as_echo "$ac_try_echo") >&5
35543 (eval "$ac_link") 2>conftest.er1
35545 grep -v '^
*+' conftest.er1 >conftest.err
35547 cat conftest.err >&5
35548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35549 (exit $ac_status); } && {
35550 test -z "$ac_c_werror_flag" ||
35551 test ! -s conftest.err
35552 } && test -s conftest$ac_exeext && {
35553 test "$cross_compiling" = yes ||
35554 $as_test_x conftest$ac_exeext
35556 ac_cv_lib_w_wcslen=yes
35558 $as_echo "$as_me: failed program was:" >&5
35559 sed 's
/^
/| /' conftest.$ac_ext >&5
35561 ac_cv_lib_w_wcslen=no
35564 rm -rf conftest.dSYM
35565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35566 conftest$ac_exeext conftest.$ac_ext
35567 LIBS=$ac_check_lib_save_LIBS
35569 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35570 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
35571 if test "x$ac_cv_lib_w_wcslen" = x""yes; then
35581 if test "$WCSLEN_FOUND" = 1; then
35582 cat >>confdefs.h <<\_ACEOF
35583 #define HAVE_WCSLEN 1
35593 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35595 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35596 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
35597 $as_echo_n "checking for $ac_func... " >&6; }
35598 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35599 $as_echo_n "(cached) " >&6
35601 cat >conftest.$ac_ext <<_ACEOF
35604 cat confdefs.h >>conftest.$ac_ext
35605 cat >>conftest.$ac_ext <<_ACEOF
35606 /* end confdefs.h. */
35607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35609 #define $ac_func innocuous_$ac_func
35611 /* System header to define __stub macros and hopefully few prototypes,
35612 which can conflict with char $ac_func (); below.
35613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35614 <limits.h> exists even on freestanding compilers. */
35617 # include <limits.h>
35619 # include <assert.h>
35624 /* Override any GCC internal prototype to avoid an error.
35625 Use char because int might match the return type of a GCC
35626 builtin and then its argument prototype would still apply. */
35631 /* The GNU C library defines this for functions which it implements
35632 to always fail with ENOSYS. Some functions are actually named
35633 something starting with __ and the normal name is an alias. */
35634 #if defined __stub_$ac_func || defined __stub___$ac_func
35641 return $ac_func ();
35646 rm -f conftest.$ac_objext conftest$ac_exeext
35647 if { (ac_try="$ac_link"
35648 case "(($ac_try" in
35649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35650 *) ac_try_echo=$ac_try;;
35652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35653 $as_echo "$ac_try_echo") >&5
35654 (eval "$ac_link") 2>conftest.er1
35656 grep -v '^
*+' conftest.er1 >conftest.err
35658 cat conftest.err >&5
35659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35660 (exit $ac_status); } && {
35661 test -z "$ac_c_werror_flag" ||
35662 test ! -s conftest.err
35663 } && test -s conftest$ac_exeext && {
35664 test "$cross_compiling" = yes ||
35665 $as_test_x conftest$ac_exeext
35667 eval "$as_ac_var=yes"
35669 $as_echo "$as_me: failed program was:" >&5
35670 sed 's
/^
/| /' conftest.$ac_ext >&5
35672 eval "$as_ac_var=no"
35675 rm -rf conftest.dSYM
35676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35677 conftest$ac_exeext conftest.$ac_ext
35679 ac_res=`eval 'as_val
=${'$as_ac_var'}
35680 $as_echo "$as_val"'`
35681 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
35682 $as_echo "$ac_res" >&6; }
35683 as_val=`eval 'as_val
=${'$as_ac_var'}
35684 $as_echo "$as_val"'`
35685 if test "x$as_val" = x""yes; then
35686 cat >>confdefs.h <<_ACEOF
35687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35694 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35695 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35698 { $as_echo "$as_me:$LINENO: checking for mbstate_t" >&5
35699 $as_echo_n "checking for mbstate_t... " >&6; }
35700 if test "${ac_cv_type_mbstate_t+set}" = set; then
35701 $as_echo_n "(cached) " >&6
35703 ac_cv_type_mbstate_t=no
35704 cat >conftest.$ac_ext <<_ACEOF
35707 cat confdefs.h >>conftest.$ac_ext
35708 cat >>conftest.$ac_ext <<_ACEOF
35709 /* end confdefs.h. */
35715 if (sizeof (mbstate_t))
35721 rm -f conftest.$ac_objext
35722 if { (ac_try="$ac_compile"
35723 case "(($ac_try" in
35724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35725 *) ac_try_echo=$ac_try;;
35727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35728 $as_echo "$ac_try_echo") >&5
35729 (eval "$ac_compile") 2>conftest.er1
35731 grep -v '^
*+' conftest.er1 >conftest.err
35733 cat conftest.err >&5
35734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35735 (exit $ac_status); } && {
35736 test -z "$ac_c_werror_flag" ||
35737 test ! -s conftest.err
35738 } && test -s conftest.$ac_objext; then
35739 cat >conftest.$ac_ext <<_ACEOF
35742 cat confdefs.h >>conftest.$ac_ext
35743 cat >>conftest.$ac_ext <<_ACEOF
35744 /* end confdefs.h. */
35750 if (sizeof ((mbstate_t)))
35756 rm -f conftest.$ac_objext
35757 if { (ac_try="$ac_compile"
35758 case "(($ac_try" in
35759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35760 *) ac_try_echo=$ac_try;;
35762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35763 $as_echo "$ac_try_echo") >&5
35764 (eval "$ac_compile") 2>conftest.er1
35766 grep -v '^
*+' conftest.er1 >conftest.err
35768 cat conftest.err >&5
35769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35770 (exit $ac_status); } && {
35771 test -z "$ac_c_werror_flag" ||
35772 test ! -s conftest.err
35773 } && test -s conftest.$ac_objext; then
35776 $as_echo "$as_me: failed program was:" >&5
35777 sed 's
/^
/| /' conftest.$ac_ext >&5
35779 ac_cv_type_mbstate_t=yes
35782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35784 $as_echo "$as_me: failed program was:" >&5
35785 sed 's
/^
/| /' conftest.$ac_ext >&5
35790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35792 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35793 $as_echo "$ac_cv_type_mbstate_t" >&6; }
35794 if test "x$ac_cv_type_mbstate_t" = x""yes; then
35796 cat >>confdefs.h <<_ACEOF
35797 #define HAVE_MBSTATE_T 1
35801 for ac_func in wcsrtombs
35803 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35804 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
35805 $as_echo_n "checking for $ac_func... " >&6; }
35806 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35807 $as_echo_n "(cached) " >&6
35809 cat >conftest.$ac_ext <<_ACEOF
35812 cat confdefs.h >>conftest.$ac_ext
35813 cat >>conftest.$ac_ext <<_ACEOF
35814 /* end confdefs.h. */
35815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35817 #define $ac_func innocuous_$ac_func
35819 /* System header to define __stub macros and hopefully few prototypes,
35820 which can conflict with char $ac_func (); below.
35821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35822 <limits.h> exists even on freestanding compilers. */
35825 # include <limits.h>
35827 # include <assert.h>
35832 /* Override any GCC internal prototype to avoid an error.
35833 Use char because int might match the return type of a GCC
35834 builtin and then its argument prototype would still apply. */
35839 /* The GNU C library defines this for functions which it implements
35840 to always fail with ENOSYS. Some functions are actually named
35841 something starting with __ and the normal name is an alias. */
35842 #if defined __stub_$ac_func || defined __stub___$ac_func
35849 return $ac_func ();
35854 rm -f conftest.$ac_objext conftest$ac_exeext
35855 if { (ac_try="$ac_link"
35856 case "(($ac_try" in
35857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35858 *) ac_try_echo=$ac_try;;
35860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35861 $as_echo "$ac_try_echo") >&5
35862 (eval "$ac_link") 2>conftest.er1
35864 grep -v '^
*+' conftest.er1 >conftest.err
35866 cat conftest.err >&5
35867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); } && {
35869 test -z "$ac_c_werror_flag" ||
35870 test ! -s conftest.err
35871 } && test -s conftest$ac_exeext && {
35872 test "$cross_compiling" = yes ||
35873 $as_test_x conftest$ac_exeext
35875 eval "$as_ac_var=yes"
35877 $as_echo "$as_me: failed program was:" >&5
35878 sed 's
/^
/| /' conftest.$ac_ext >&5
35880 eval "$as_ac_var=no"
35883 rm -rf conftest.dSYM
35884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35885 conftest$ac_exeext conftest.$ac_ext
35887 ac_res=`eval 'as_val
=${'$as_ac_var'}
35888 $as_echo "$as_val"'`
35889 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
35890 $as_echo "$ac_res" >&6; }
35891 as_val=`eval 'as_val
=${'$as_ac_var'}
35892 $as_echo "$as_val"'`
35893 if test "x$as_val" = x""yes; then
35894 cat >>confdefs.h <<_ACEOF
35895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35904 { $as_echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35905 $as_echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35911 for ac_func in snprintf vsnprintf vsscanf
35913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35914 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
35915 $as_echo_n "checking for $ac_func... " >&6; }
35916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35917 $as_echo_n "(cached) " >&6
35919 cat >conftest.$ac_ext <<_ACEOF
35922 cat confdefs.h >>conftest.$ac_ext
35923 cat >>conftest.$ac_ext <<_ACEOF
35924 /* end confdefs.h. */
35925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35927 #define $ac_func innocuous_$ac_func
35929 /* System header to define __stub macros and hopefully few prototypes,
35930 which can conflict with char $ac_func (); below.
35931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35932 <limits.h> exists even on freestanding compilers. */
35935 # include <limits.h>
35937 # include <assert.h>
35942 /* Override any GCC internal prototype to avoid an error.
35943 Use char because int might match the return type of a GCC
35944 builtin and then its argument prototype would still apply. */
35949 /* The GNU C library defines this for functions which it implements
35950 to always fail with ENOSYS. Some functions are actually named
35951 something starting with __ and the normal name is an alias. */
35952 #if defined __stub_$ac_func || defined __stub___$ac_func
35959 return $ac_func ();
35964 rm -f conftest.$ac_objext conftest$ac_exeext
35965 if { (ac_try="$ac_link"
35966 case "(($ac_try" in
35967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35968 *) ac_try_echo=$ac_try;;
35970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
35971 $as_echo "$ac_try_echo") >&5
35972 (eval "$ac_link") 2>conftest.er1
35974 grep -v '^
*+' conftest.er1 >conftest.err
35976 cat conftest.err >&5
35977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978 (exit $ac_status); } && {
35979 test -z "$ac_c_werror_flag" ||
35980 test ! -s conftest.err
35981 } && test -s conftest$ac_exeext && {
35982 test "$cross_compiling" = yes ||
35983 $as_test_x conftest$ac_exeext
35985 eval "$as_ac_var=yes"
35987 $as_echo "$as_me: failed program was:" >&5
35988 sed 's
/^
/| /' conftest.$ac_ext >&5
35990 eval "$as_ac_var=no"
35993 rm -rf conftest.dSYM
35994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35995 conftest$ac_exeext conftest.$ac_ext
35997 ac_res=`eval 'as_val
=${'$as_ac_var'}
35998 $as_echo "$as_val"'`
35999 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
36000 $as_echo "$ac_res" >&6; }
36001 as_val=`eval 'as_val
=${'$as_ac_var'}
36002 $as_echo "$as_val"'`
36003 if test "x$as_val" = x""yes; then
36004 cat >>confdefs.h <<_ACEOF
36005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36013 ac_cpp='$CXXCPP $CPPFLAGS'
36014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
36015 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
36016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36018 if test "$ac_cv_func_vsnprintf" = "yes"; then
36019 { $as_echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36020 $as_echo_n "checking for vsnprintf declaration... " >&6; }
36021 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36022 $as_echo_n "(cached) " >&6
36025 cat >conftest.$ac_ext <<_ACEOF
36028 cat confdefs.h >>conftest.$ac_ext
36029 cat >>conftest.$ac_ext <<_ACEOF
36030 /* end confdefs.h. */
36033 #include <stdarg.h>
36035 #if __MSL__ >= 0x6000
36037 using namespace std;
36047 vsnprintf(buf, 10u, "%s", ap);
36053 rm -f conftest.$ac_objext
36054 if { (ac_try="$ac_compile"
36055 case "(($ac_try" in
36056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36057 *) ac_try_echo=$ac_try;;
36059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36060 $as_echo "$ac_try_echo") >&5
36061 (eval "$ac_compile") 2>conftest.er1
36063 grep -v '^
*+' conftest.er1 >conftest.err
36065 cat conftest.err >&5
36066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); } && {
36068 test -z "$ac_cxx_werror_flag" ||
36069 test ! -s conftest.err
36070 } && test -s conftest.$ac_objext; then
36071 wx_cv_func_vsnprintf_decl=yes
36073 $as_echo "$as_me: failed program was:" >&5
36074 sed 's
/^
/| /' conftest.$ac_ext >&5
36076 wx_cv_func_vsnprintf_decl=no
36080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36084 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36085 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
36087 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36088 cat >>confdefs.h <<\_ACEOF
36089 #define HAVE_VSNPRINTF_DECL 1
36093 { $as_echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36094 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
36095 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36096 $as_echo_n "(cached) " >&6
36099 cat >conftest.$ac_ext <<_ACEOF
36102 cat confdefs.h >>conftest.$ac_ext
36103 cat >>conftest.$ac_ext <<_ACEOF
36104 /* end confdefs.h. */
36107 #include <stdarg.h>
36109 #if __MSL__ >= 0x6000
36111 using namespace std;
36121 const char *fmt = "%s";
36122 vsnprintf(buf, 10u, fmt, ap);
36128 rm -f conftest.$ac_objext
36129 if { (ac_try="$ac_compile"
36130 case "(($ac_try" in
36131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36132 *) ac_try_echo=$ac_try;;
36134 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36135 $as_echo "$ac_try_echo") >&5
36136 (eval "$ac_compile") 2>conftest.er1
36138 grep -v '^
*+' conftest.er1 >conftest.err
36140 cat conftest.err >&5
36141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142 (exit $ac_status); } && {
36143 test -z "$ac_cxx_werror_flag" ||
36144 test ! -s conftest.err
36145 } && test -s conftest.$ac_objext; then
36146 wx_cv_func_broken_vsnprintf_decl=no
36148 $as_echo "$as_me: failed program was:" >&5
36149 sed 's
/^
/| /' conftest.$ac_ext >&5
36151 wx_cv_func_broken_vsnprintf_decl=yes
36155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36159 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36160 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
36162 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36163 cat >>confdefs.h <<\_ACEOF
36164 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36171 if test "$ac_cv_func_snprintf" = "yes"; then
36172 { $as_echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36173 $as_echo_n "checking for snprintf declaration... " >&6; }
36174 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36175 $as_echo_n "(cached) " >&6
36178 cat >conftest.$ac_ext <<_ACEOF
36181 cat confdefs.h >>conftest.$ac_ext
36182 cat >>conftest.$ac_ext <<_ACEOF
36183 /* end confdefs.h. */
36186 #include <stdarg.h>
36188 #if __MSL__ >= 0x6000
36190 using namespace std;
36199 snprintf(buf, 10u, "%s", "wx");
36205 rm -f conftest.$ac_objext
36206 if { (ac_try="$ac_compile"
36207 case "(($ac_try" in
36208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36209 *) ac_try_echo=$ac_try;;
36211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36212 $as_echo "$ac_try_echo") >&5
36213 (eval "$ac_compile") 2>conftest.er1
36215 grep -v '^
*+' conftest.er1 >conftest.err
36217 cat conftest.err >&5
36218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36219 (exit $ac_status); } && {
36220 test -z "$ac_cxx_werror_flag" ||
36221 test ! -s conftest.err
36222 } && test -s conftest.$ac_objext; then
36223 wx_cv_func_snprintf_decl=yes
36225 $as_echo "$as_me: failed program was:" >&5
36226 sed 's
/^
/| /' conftest.$ac_ext >&5
36228 wx_cv_func_snprintf_decl=no
36232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36236 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36237 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
36239 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36240 cat >>confdefs.h <<\_ACEOF
36241 #define HAVE_SNPRINTF_DECL 1
36246 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36248 { $as_echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36249 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
36250 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36251 $as_echo_n "(cached) " >&6
36254 if test "$cross_compiling" = yes; then
36256 { $as_echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36257 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36258 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36259 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36260 wx_cv_func_snprintf_pos_params=no
36264 cat >conftest.$ac_ext <<_ACEOF
36267 cat confdefs.h >>conftest.$ac_ext
36268 cat >>conftest.$ac_ext <<_ACEOF
36269 /* end confdefs.h. */
36276 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36277 if (strcmp ("2 3 1", buffer) == 0)
36283 rm -f conftest$ac_exeext
36284 if { (ac_try="$ac_link"
36285 case "(($ac_try" in
36286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36287 *) ac_try_echo=$ac_try;;
36289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36290 $as_echo "$ac_try_echo") >&5
36291 (eval "$ac_link") 2>&5
36293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
36295 { (case "(($ac_try" in
36296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36297 *) ac_try_echo=$ac_try;;
36299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36300 $as_echo "$ac_try_echo") >&5
36301 (eval "$ac_try") 2>&5
36303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36304 (exit $ac_status); }; }; then
36305 wx_cv_func_snprintf_pos_params=no
36307 $as_echo "$as_me: program exited with status $ac_status" >&5
36308 $as_echo "$as_me: failed program was:" >&5
36309 sed 's
/^
/| /' conftest.$ac_ext >&5
36311 ( exit $ac_status )
36312 wx_cv_func_snprintf_pos_params=yes
36314 rm -rf conftest.dSYM
36315 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36322 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36323 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
36325 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36326 cat >>confdefs.h <<\_ACEOF
36327 #define HAVE_UNIX98_PRINTF 1
36334 if test "$ac_cv_func_vsscanf" = "yes"; then
36335 { $as_echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36336 $as_echo_n "checking for vsscanf declaration... " >&6; }
36337 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36338 $as_echo_n "(cached) " >&6
36341 cat >conftest.$ac_ext <<_ACEOF
36344 cat confdefs.h >>conftest.$ac_ext
36345 cat >>conftest.$ac_ext <<_ACEOF
36346 /* end confdefs.h. */
36349 #include <stdarg.h>
36351 #if __MSL__ >= 0x6000
36353 using namespace std;
36363 vsscanf(buf, "%s", args);
36369 rm -f conftest.$ac_objext
36370 if { (ac_try="$ac_compile"
36371 case "(($ac_try" in
36372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36373 *) ac_try_echo=$ac_try;;
36375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36376 $as_echo "$ac_try_echo") >&5
36377 (eval "$ac_compile") 2>conftest.er1
36379 grep -v '^
*+' conftest.er1 >conftest.err
36381 cat conftest.err >&5
36382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); } && {
36384 test -z "$ac_cxx_werror_flag" ||
36385 test ! -s conftest.err
36386 } && test -s conftest.$ac_objext; then
36387 wx_cv_func_vsscanf_decl=yes
36389 $as_echo "$as_me: failed program was:" >&5
36390 sed 's
/^
/| /' conftest.$ac_ext >&5
36392 wx_cv_func_vsscanf_decl=no
36396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36400 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36401 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
36403 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36404 cat >>confdefs.h <<\_ACEOF
36405 #define HAVE_VSSCANF_DECL 1
36411 ac_cpp='$CPP $CPPFLAGS'
36412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
36413 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36417 if test "$wxUSE_UNICODE" = yes; then
36419 wchar_headers="#include <stdio.h>
36420 #include <wchar.h>"
36424 for ac_header in widec.h
36426 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
36427 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
36428 $as_echo_n "checking for $ac_header... " >&6; }
36429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36430 $as_echo_n "(cached) " >&6
36432 cat >conftest.$ac_ext <<_ACEOF
36435 cat confdefs.h >>conftest.$ac_ext
36436 cat >>conftest.$ac_ext <<_ACEOF
36437 /* end confdefs.h. */
36438 $ac_includes_default
36440 #include <$ac_header>
36442 rm -f conftest.$ac_objext
36443 if { (ac_try="$ac_compile"
36444 case "(($ac_try" in
36445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36446 *) ac_try_echo=$ac_try;;
36448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36449 $as_echo "$ac_try_echo") >&5
36450 (eval "$ac_compile") 2>conftest.er1
36452 grep -v '^
*+' conftest.er1 >conftest.err
36454 cat conftest.err >&5
36455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456 (exit $ac_status); } && {
36457 test -z "$ac_c_werror_flag" ||
36458 test ! -s conftest.err
36459 } && test -s conftest.$ac_objext; then
36460 eval "$as_ac_Header=yes"
36462 $as_echo "$as_me: failed program was:" >&5
36463 sed 's
/^
/| /' conftest.$ac_ext >&5
36465 eval "$as_ac_Header=no"
36468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36470 ac_res=`eval 'as_val
=${'$as_ac_Header'}
36471 $as_echo "$as_val"'`
36472 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
36473 $as_echo "$ac_res" >&6; }
36474 as_val=`eval 'as_val
=${'$as_ac_Header'}
36475 $as_echo "$as_val"'`
36476 if test "x$as_val" = x""yes; then
36477 cat >>confdefs.h <<_ACEOF
36478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
36485 if test "$ac_cv_header_widec_h" = "yes"; then
36486 wchar_headers="$wchar_headers
36487 #include <widec.h>"
36492 for wx_func in putws fputws wprintf vswprintf vswscanf
36494 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
36495 $as_echo_n "checking for $wx_func... " >&6; }
36496 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36497 $as_echo_n "(cached) " >&6
36500 cat >conftest.$ac_ext <<_ACEOF
36504 cat confdefs.h >>conftest.$ac_ext
36505 cat >>conftest.$ac_ext <<_ACEOF
36506 /* end confdefs.h. */
36509 $ac_includes_default
36525 rm -f conftest.$ac_objext conftest$ac_exeext
36526 if { (ac_try="$ac_link"
36527 case "(($ac_try" in
36528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36529 *) ac_try_echo=$ac_try;;
36531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36532 $as_echo "$ac_try_echo") >&5
36533 (eval "$ac_link") 2>conftest.er1
36535 grep -v '^
*+' conftest.er1 >conftest.err
36537 cat conftest.err >&5
36538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } && {
36540 test -z "$ac_c_werror_flag" ||
36541 test ! -s conftest.err
36542 } && test -s conftest$ac_exeext && {
36543 test "$cross_compiling" = yes ||
36544 $as_test_x conftest$ac_exeext
36546 eval wx_cv_func_$wx_func=yes
36548 $as_echo "$as_me: failed program was:" >&5
36549 sed 's
/^
/| /' conftest.$ac_ext >&5
36551 eval wx_cv_func_$wx_func=no
36554 rm -rf conftest.dSYM
36555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36556 conftest$ac_exeext conftest.$ac_ext
36559 ac_res=`eval 'as_val
=${'wx_cv_func_$wx_func'}
36560 $as_echo "$as_val"'`
36561 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
36562 $as_echo "$ac_res" >&6; }
36564 if eval test \$wx_cv_func_$wx_func = yes
36566 cat >>confdefs.h <<_ACEOF
36567 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
36578 { $as_echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36579 $as_echo_n "checking for _vsnwprintf... " >&6; }
36580 cat >conftest.$ac_ext <<_ACEOF
36583 cat confdefs.h >>conftest.$ac_ext
36584 cat >>conftest.$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36595 rm -f conftest.$ac_objext
36596 if { (ac_try="$ac_compile"
36597 case "(($ac_try" in
36598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36599 *) ac_try_echo=$ac_try;;
36601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36602 $as_echo "$ac_try_echo") >&5
36603 (eval "$ac_compile") 2>conftest.er1
36605 grep -v '^
*+' conftest.er1 >conftest.err
36607 cat conftest.err >&5
36608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36609 (exit $ac_status); } && {
36610 test -z "$ac_c_werror_flag" ||
36611 test ! -s conftest.err
36612 } && test -s conftest.$ac_objext; then
36613 { $as_echo "$as_me:$LINENO: result: yes" >&5
36614 $as_echo "yes" >&6; }
36615 cat >>confdefs.h <<\_ACEOF
36616 #define HAVE__VSNWPRINTF 1
36620 $as_echo "$as_me: failed program was:" >&5
36621 sed 's
/^
/| /' conftest.$ac_ext >&5
36623 { $as_echo "$as_me:$LINENO: result: no" >&5
36624 $as_echo "no" >&6; }
36627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36630 if test "$wxUSE_FILE" = "yes"; then
36632 for wx_func in fsync
36634 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
36635 $as_echo_n "checking for $wx_func... " >&6; }
36636 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36637 $as_echo_n "(cached) " >&6
36640 cat >conftest.$ac_ext <<_ACEOF
36644 cat confdefs.h >>conftest.$ac_ext
36645 cat >>conftest.$ac_ext <<_ACEOF
36646 /* end confdefs.h. */
36649 $ac_includes_default
36665 rm -f conftest.$ac_objext conftest$ac_exeext
36666 if { (ac_try="$ac_link"
36667 case "(($ac_try" in
36668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36669 *) ac_try_echo=$ac_try;;
36671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36672 $as_echo "$ac_try_echo") >&5
36673 (eval "$ac_link") 2>conftest.er1
36675 grep -v '^
*+' conftest.er1 >conftest.err
36677 cat conftest.err >&5
36678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36679 (exit $ac_status); } && {
36680 test -z "$ac_c_werror_flag" ||
36681 test ! -s conftest.err
36682 } && test -s conftest$ac_exeext && {
36683 test "$cross_compiling" = yes ||
36684 $as_test_x conftest$ac_exeext
36686 eval wx_cv_func_$wx_func=yes
36688 $as_echo "$as_me: failed program was:" >&5
36689 sed 's
/^
/| /' conftest.$ac_ext >&5
36691 eval wx_cv_func_$wx_func=no
36694 rm -rf conftest.dSYM
36695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36696 conftest$ac_exeext conftest.$ac_ext
36699 ac_res=`eval 'as_val
=${'wx_cv_func_$wx_func'}
36700 $as_echo "$as_val"'`
36701 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
36702 $as_echo "$ac_res" >&6; }
36704 if eval test \$wx_cv_func_$wx_func = yes
36706 cat >>confdefs.h <<_ACEOF
36707 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
36720 ac_cpp='$CXXCPP $CPPFLAGS'
36721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
36722 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
36723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36726 for wx_func in round
36728 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
36729 $as_echo_n "checking for $wx_func... " >&6; }
36730 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36731 $as_echo_n "(cached) " >&6
36734 cat >conftest.$ac_ext <<_ACEOF
36738 cat confdefs.h >>conftest.$ac_ext
36739 cat >>conftest.$ac_ext <<_ACEOF
36740 /* end confdefs.h. */
36743 $ac_includes_default
36759 rm -f conftest.$ac_objext conftest$ac_exeext
36760 if { (ac_try="$ac_link"
36761 case "(($ac_try" in
36762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36763 *) ac_try_echo=$ac_try;;
36765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36766 $as_echo "$ac_try_echo") >&5
36767 (eval "$ac_link") 2>conftest.er1
36769 grep -v '^
*+' conftest.er1 >conftest.err
36771 cat conftest.err >&5
36772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); } && {
36774 test -z "$ac_cxx_werror_flag" ||
36775 test ! -s conftest.err
36776 } && test -s conftest$ac_exeext && {
36777 test "$cross_compiling" = yes ||
36778 $as_test_x conftest$ac_exeext
36780 eval wx_cv_func_$wx_func=yes
36782 $as_echo "$as_me: failed program was:" >&5
36783 sed 's
/^
/| /' conftest.$ac_ext >&5
36785 eval wx_cv_func_$wx_func=no
36788 rm -rf conftest.dSYM
36789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36790 conftest$ac_exeext conftest.$ac_ext
36793 ac_res=`eval 'as_val
=${'wx_cv_func_$wx_func'}
36794 $as_echo "$as_val"'`
36795 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
36796 $as_echo "$ac_res" >&6; }
36798 if eval test \$wx_cv_func_$wx_func = yes
36800 cat >>confdefs.h <<_ACEOF
36801 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
36812 ac_cpp='$CPP $CPPFLAGS'
36813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
36814 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
36815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36818 if test "$TOOLKIT" != "MSW"; then
36820 if test "$wxUSE_LIBICONV" != "no" ; then
36824 # Check whether --with-libiconv-prefix was given.
36825 if test "${with_libiconv_prefix+set}" = set; then
36826 withval=$with_libiconv_prefix;
36827 for dir in `echo "$withval" | tr : ' '`; do
36828 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36829 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36835 { $as_echo "$as_me:$LINENO: checking for iconv" >&5
36836 $as_echo_n "checking for iconv... " >&6; }
36837 if test "${am_cv_func_iconv+set}" = set; then
36838 $as_echo_n "(cached) " >&6
36841 am_cv_func_iconv="no, consider installing GNU libiconv"
36843 cat >conftest.$ac_ext <<_ACEOF
36846 cat confdefs.h >>conftest.$ac_ext
36847 cat >>conftest.$ac_ext <<_ACEOF
36848 /* end confdefs.h. */
36849 #include <stdlib.h>
36854 iconv_t cd = iconv_open("","");
36855 iconv(cd,NULL,NULL,NULL,NULL);
36861 rm -f conftest.$ac_objext conftest$ac_exeext
36862 if { (ac_try="$ac_link"
36863 case "(($ac_try" in
36864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36865 *) ac_try_echo=$ac_try;;
36867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36868 $as_echo "$ac_try_echo") >&5
36869 (eval "$ac_link") 2>conftest.er1
36871 grep -v '^
*+' conftest.er1 >conftest.err
36873 cat conftest.err >&5
36874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } && {
36876 test -z "$ac_c_werror_flag" ||
36877 test ! -s conftest.err
36878 } && test -s conftest$ac_exeext && {
36879 test "$cross_compiling" = yes ||
36880 $as_test_x conftest$ac_exeext
36882 am_cv_func_iconv=yes
36884 $as_echo "$as_me: failed program was:" >&5
36885 sed 's
/^
/| /' conftest.$ac_ext >&5
36890 rm -rf conftest.dSYM
36891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36892 conftest$ac_exeext conftest.$ac_ext
36893 if test "$am_cv_func_iconv" != yes; then
36894 am_save_LIBS="$LIBS"
36895 LIBS="$LIBS -liconv"
36896 cat >conftest.$ac_ext <<_ACEOF
36899 cat confdefs.h >>conftest.$ac_ext
36900 cat >>conftest.$ac_ext <<_ACEOF
36901 /* end confdefs.h. */
36902 #include <stdlib.h>
36907 iconv_t cd = iconv_open("","");
36908 iconv(cd,NULL,NULL,NULL,NULL);
36914 rm -f conftest.$ac_objext conftest$ac_exeext
36915 if { (ac_try="$ac_link"
36916 case "(($ac_try" in
36917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36918 *) ac_try_echo=$ac_try;;
36920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36921 $as_echo "$ac_try_echo") >&5
36922 (eval "$ac_link") 2>conftest.er1
36924 grep -v '^
*+' conftest.er1 >conftest.err
36926 cat conftest.err >&5
36927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
36928 (exit $ac_status); } && {
36929 test -z "$ac_c_werror_flag" ||
36930 test ! -s conftest.err
36931 } && test -s conftest$ac_exeext && {
36932 test "$cross_compiling" = yes ||
36933 $as_test_x conftest$ac_exeext
36935 am_cv_lib_iconv=yes
36936 am_cv_func_iconv=yes
36938 $as_echo "$as_me: failed program was:" >&5
36939 sed 's
/^
/| /' conftest.$ac_ext >&5
36944 rm -rf conftest.dSYM
36945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36946 conftest$ac_exeext conftest.$ac_ext
36947 LIBS="$am_save_LIBS"
36951 { $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36952 $as_echo "$am_cv_func_iconv" >&6; }
36953 if test "$am_cv_func_iconv" = yes; then
36955 cat >>confdefs.h <<\_ACEOF
36956 #define HAVE_ICONV 1
36959 { $as_echo "$as_me:$LINENO: checking if iconv needs const" >&5
36960 $as_echo_n "checking if iconv needs const... " >&6; }
36961 if test "${wx_cv_func_iconv_const+set}" = set; then
36962 $as_echo_n "(cached) " >&6
36964 cat >conftest.$ac_ext <<_ACEOF
36967 cat confdefs.h >>conftest.$ac_ext
36968 cat >>conftest.$ac_ext <<_ACEOF
36969 /* end confdefs.h. */
36971 #include <stdlib.h>
36977 #if defined(__STDC__) || defined(__cplusplus)
36978 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36991 rm -f conftest.$ac_objext
36992 if { (ac_try="$ac_compile"
36993 case "(($ac_try" in
36994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36995 *) ac_try_echo=$ac_try;;
36997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
36998 $as_echo "$ac_try_echo") >&5
36999 (eval "$ac_compile") 2>conftest.er1
37001 grep -v '^
*+' conftest.er1 >conftest.err
37003 cat conftest.err >&5
37004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37005 (exit $ac_status); } && {
37006 test -z "$ac_c_werror_flag" ||
37007 test ! -s conftest.err
37008 } && test -s conftest.$ac_objext; then
37009 wx_cv_func_iconv_const="no"
37011 $as_echo "$as_me: failed program was:" >&5
37012 sed 's
/^
/| /' conftest.$ac_ext >&5
37014 wx_cv_func_iconv_const="yes"
37018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37021 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37022 $as_echo "$wx_cv_func_iconv_const" >&6; }
37025 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37026 iconv_const="const"
37030 cat >>confdefs.h <<_ACEOF
37031 #define ICONV_CONST $iconv_const
37036 if test "$am_cv_lib_iconv" = yes; then
37041 LIBS="$LIBICONV $LIBS"
37044 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37046 for ac_func in sigaction
37048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37049 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
37050 $as_echo_n "checking for $ac_func... " >&6; }
37051 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37052 $as_echo_n "(cached) " >&6
37054 cat >conftest.$ac_ext <<_ACEOF
37057 cat confdefs.h >>conftest.$ac_ext
37058 cat >>conftest.$ac_ext <<_ACEOF
37059 /* end confdefs.h. */
37060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37062 #define $ac_func innocuous_$ac_func
37064 /* System header to define __stub macros and hopefully few prototypes,
37065 which can conflict with char $ac_func (); below.
37066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37067 <limits.h> exists even on freestanding compilers. */
37070 # include <limits.h>
37072 # include <assert.h>
37077 /* Override any GCC internal prototype to avoid an error.
37078 Use char because int might match the return type of a GCC
37079 builtin and then its argument prototype would still apply. */
37084 /* The GNU C library defines this for functions which it implements
37085 to always fail with ENOSYS. Some functions are actually named
37086 something starting with __ and the normal name is an alias. */
37087 #if defined __stub_$ac_func || defined __stub___$ac_func
37094 return $ac_func ();
37099 rm -f conftest.$ac_objext conftest$ac_exeext
37100 if { (ac_try="$ac_link"
37101 case "(($ac_try" in
37102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37103 *) ac_try_echo=$ac_try;;
37105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37106 $as_echo "$ac_try_echo") >&5
37107 (eval "$ac_link") 2>conftest.er1
37109 grep -v '^
*+' conftest.er1 >conftest.err
37111 cat conftest.err >&5
37112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37113 (exit $ac_status); } && {
37114 test -z "$ac_c_werror_flag" ||
37115 test ! -s conftest.err
37116 } && test -s conftest$ac_exeext && {
37117 test "$cross_compiling" = yes ||
37118 $as_test_x conftest$ac_exeext
37120 eval "$as_ac_var=yes"
37122 $as_echo "$as_me: failed program was:" >&5
37123 sed 's
/^
/| /' conftest.$ac_ext >&5
37125 eval "$as_ac_var=no"
37128 rm -rf conftest.dSYM
37129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37130 conftest$ac_exeext conftest.$ac_ext
37132 ac_res=`eval 'as_val
=${'$as_ac_var'}
37133 $as_echo "$as_val"'`
37134 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
37135 $as_echo "$ac_res" >&6; }
37136 as_val=`eval 'as_val
=${'$as_ac_var'}
37137 $as_echo "$as_val"'`
37138 if test "x$as_val" = x""yes; then
37139 cat >>confdefs.h <<_ACEOF
37140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37147 if test "$ac_cv_func_sigaction" = "no"; then
37148 { $as_echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37149 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37150 wxUSE_ON_FATAL_EXCEPTION=no
37153 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37154 { $as_echo "$as_me:$LINENO: checking for sa_handler type" >&5
37155 $as_echo_n "checking for sa_handler type... " >&6; }
37156 if test "${wx_cv_type_sa_handler+set}" = set; then
37157 $as_echo_n "(cached) " >&6
37161 ac_cpp='$CXXCPP $CPPFLAGS'
37162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
37163 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
37164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37166 cat >conftest.$ac_ext <<_ACEOF
37169 cat confdefs.h >>conftest.$ac_ext
37170 cat >>conftest.$ac_ext <<_ACEOF
37171 /* end confdefs.h. */
37172 #include <signal.h>
37177 extern void testSigHandler(int);
37179 struct sigaction sa;
37180 sa.sa_handler = testSigHandler;
37186 rm -f conftest.$ac_objext
37187 if { (ac_try="$ac_compile"
37188 case "(($ac_try" in
37189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37190 *) ac_try_echo=$ac_try;;
37192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37193 $as_echo "$ac_try_echo") >&5
37194 (eval "$ac_compile") 2>conftest.er1
37196 grep -v '^
*+' conftest.er1 >conftest.err
37198 cat conftest.err >&5
37199 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37200 (exit $ac_status); } && {
37201 test -z "$ac_cxx_werror_flag" ||
37202 test ! -s conftest.err
37203 } && test -s conftest.$ac_objext; then
37205 wx_cv_type_sa_handler=int
37208 $as_echo "$as_me: failed program was:" >&5
37209 sed 's
/^
/| /' conftest.$ac_ext >&5
37212 wx_cv_type_sa_handler=void
37216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37218 ac_cpp='$CPP $CPPFLAGS'
37219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
37220 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
37221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37225 { $as_echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37226 $as_echo "$wx_cv_type_sa_handler" >&6; }
37228 cat >>confdefs.h <<_ACEOF
37229 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37235 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37236 { $as_echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37237 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
37238 if test "${wx_cv_func_backtrace+set}" = set; then
37239 $as_echo_n "(cached) " >&6
37243 ac_cpp='$CXXCPP $CPPFLAGS'
37244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
37245 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
37246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37248 cat >conftest.$ac_ext <<_ACEOF
37251 cat confdefs.h >>conftest.$ac_ext
37252 cat >>conftest.$ac_ext <<_ACEOF
37253 /* end confdefs.h. */
37254 #include <execinfo.h>
37262 backtrace(trace, 1);
37263 messages = backtrace_symbols(trace, 1);
37269 rm -f conftest.$ac_objext
37270 if { (ac_try="$ac_compile"
37271 case "(($ac_try" in
37272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37273 *) ac_try_echo=$ac_try;;
37275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37276 $as_echo "$ac_try_echo") >&5
37277 (eval "$ac_compile") 2>conftest.er1
37279 grep -v '^
*+' conftest.er1 >conftest.err
37281 cat conftest.err >&5
37282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37283 (exit $ac_status); } && {
37284 test -z "$ac_cxx_werror_flag" ||
37285 test ! -s conftest.err
37286 } && test -s conftest.$ac_objext; then
37287 wx_cv_func_backtrace=yes
37289 $as_echo "$as_me: failed program was:" >&5
37290 sed 's
/^
/| /' conftest.$ac_ext >&5
37292 wx_cv_func_backtrace=no
37296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37298 ac_cpp='$CPP $CPPFLAGS'
37299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
37300 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
37301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37306 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37307 $as_echo "$wx_cv_func_backtrace" >&6; }
37310 if test "$wx_cv_func_backtrace" = "no"; then
37311 { $as_echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37312 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37313 wxUSE_STACKWALKER=no
37315 { $as_echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37316 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
37317 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37318 $as_echo_n "(cached) " >&6
37322 ac_cpp='$CXXCPP $CPPFLAGS'
37323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
37324 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37327 cat >conftest.$ac_ext <<_ACEOF
37330 cat confdefs.h >>conftest.$ac_ext
37331 cat >>conftest.$ac_ext <<_ACEOF
37332 /* end confdefs.h. */
37333 #include <cxxabi.h>
37339 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37345 rm -f conftest.$ac_objext conftest$ac_exeext
37346 if { (ac_try="$ac_link"
37347 case "(($ac_try" in
37348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37349 *) ac_try_echo=$ac_try;;
37351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37352 $as_echo "$ac_try_echo") >&5
37353 (eval "$ac_link") 2>conftest.er1
37355 grep -v '^
*+' conftest.er1 >conftest.err
37357 cat conftest.err >&5
37358 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359 (exit $ac_status); } && {
37360 test -z "$ac_cxx_werror_flag" ||
37361 test ! -s conftest.err
37362 } && test -s conftest$ac_exeext && {
37363 test "$cross_compiling" = yes ||
37364 $as_test_x conftest$ac_exeext
37366 wx_cv_func_cxa_demangle=yes
37368 $as_echo "$as_me: failed program was:" >&5
37369 sed 's
/^
/| /' conftest.$ac_ext >&5
37371 wx_cv_func_cxa_demangle=no
37375 rm -rf conftest.dSYM
37376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37377 conftest$ac_exeext conftest.$ac_ext
37379 ac_cpp='$CPP $CPPFLAGS'
37380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
37381 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
37382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37387 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37388 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
37390 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37391 cat >>confdefs.h <<\_ACEOF
37392 #define HAVE_CXA_DEMANGLE 1
37399 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37400 { $as_echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37401 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37402 wxUSE_STACKWALKER=no
37408 for ac_func in mkstemp mktemp
37410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37411 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
37412 $as_echo_n "checking for $ac_func... " >&6; }
37413 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37414 $as_echo_n "(cached) " >&6
37416 cat >conftest.$ac_ext <<_ACEOF
37419 cat confdefs.h >>conftest.$ac_ext
37420 cat >>conftest.$ac_ext <<_ACEOF
37421 /* end confdefs.h. */
37422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37424 #define $ac_func innocuous_$ac_func
37426 /* System header to define __stub macros and hopefully few prototypes,
37427 which can conflict with char $ac_func (); below.
37428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37429 <limits.h> exists even on freestanding compilers. */
37432 # include <limits.h>
37434 # include <assert.h>
37439 /* Override any GCC internal prototype to avoid an error.
37440 Use char because int might match the return type of a GCC
37441 builtin and then its argument prototype would still apply. */
37446 /* The GNU C library defines this for functions which it implements
37447 to always fail with ENOSYS. Some functions are actually named
37448 something starting with __ and the normal name is an alias. */
37449 #if defined __stub_$ac_func || defined __stub___$ac_func
37456 return $ac_func ();
37461 rm -f conftest.$ac_objext conftest$ac_exeext
37462 if { (ac_try="$ac_link"
37463 case "(($ac_try" in
37464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37465 *) ac_try_echo=$ac_try;;
37467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37468 $as_echo "$ac_try_echo") >&5
37469 (eval "$ac_link") 2>conftest.er1
37471 grep -v '^
*+' conftest.er1 >conftest.err
37473 cat conftest.err >&5
37474 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); } && {
37476 test -z "$ac_c_werror_flag" ||
37477 test ! -s conftest.err
37478 } && test -s conftest$ac_exeext && {
37479 test "$cross_compiling" = yes ||
37480 $as_test_x conftest$ac_exeext
37482 eval "$as_ac_var=yes"
37484 $as_echo "$as_me: failed program was:" >&5
37485 sed 's
/^
/| /' conftest.$ac_ext >&5
37487 eval "$as_ac_var=no"
37490 rm -rf conftest.dSYM
37491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37492 conftest$ac_exeext conftest.$ac_ext
37494 ac_res=`eval 'as_val
=${'$as_ac_var'}
37495 $as_echo "$as_val"'`
37496 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
37497 $as_echo "$ac_res" >&6; }
37498 as_val=`eval 'as_val
=${'$as_ac_var'}
37499 $as_echo "$as_val"'`
37500 if test "x$as_val" = x""yes; then
37501 cat >>confdefs.h <<_ACEOF
37502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37509 { $as_echo "$as_me:$LINENO: checking for statfs" >&5
37510 $as_echo_n "checking for statfs... " >&6; }
37511 if test "${wx_cv_func_statfs+set}" = set; then
37512 $as_echo_n "(cached) " >&6
37514 cat >conftest.$ac_ext <<_ACEOF
37517 cat confdefs.h >>conftest.$ac_ext
37518 cat >>conftest.$ac_ext <<_ACEOF
37519 /* end confdefs.h. */
37521 #if defined(__BSD__)
37522 #include <sys/param.h>
37523 #include <sys/mount.h>
37525 #include <sys/vfs.h>
37543 rm -f conftest.$ac_objext
37544 if { (ac_try="$ac_compile"
37545 case "(($ac_try" in
37546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37547 *) ac_try_echo=$ac_try;;
37549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37550 $as_echo "$ac_try_echo") >&5
37551 (eval "$ac_compile") 2>conftest.er1
37553 grep -v '^
*+' conftest.er1 >conftest.err
37555 cat conftest.err >&5
37556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37557 (exit $ac_status); } && {
37558 test -z "$ac_c_werror_flag" ||
37559 test ! -s conftest.err
37560 } && test -s conftest.$ac_objext; then
37561 wx_cv_func_statfs=yes
37563 $as_echo "$as_me: failed program was:" >&5
37564 sed 's
/^
/| /' conftest.$ac_ext >&5
37566 wx_cv_func_statfs=no
37570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37573 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37574 $as_echo "$wx_cv_func_statfs" >&6; }
37576 if test "$wx_cv_func_statfs" = "yes"; then
37577 { $as_echo "$as_me:$LINENO: checking for statfs declaration" >&5
37578 $as_echo_n "checking for statfs declaration... " >&6; }
37579 if test "${wx_cv_func_statfs_decl+set}" = set; then
37580 $as_echo_n "(cached) " >&6
37583 ac_cpp='$CXXCPP $CPPFLAGS'
37584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
37585 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
37586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37588 cat >conftest.$ac_ext <<_ACEOF
37591 cat confdefs.h >>conftest.$ac_ext
37592 cat >>conftest.$ac_ext <<_ACEOF
37593 /* end confdefs.h. */
37595 #if defined(__BSD__)
37596 #include <sys/param.h>
37597 #include <sys/mount.h>
37599 #include <sys/vfs.h>
37613 rm -f conftest.$ac_objext
37614 if { (ac_try="$ac_compile"
37615 case "(($ac_try" in
37616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37617 *) ac_try_echo=$ac_try;;
37619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37620 $as_echo "$ac_try_echo") >&5
37621 (eval "$ac_compile") 2>conftest.er1
37623 grep -v '^
*+' conftest.er1 >conftest.err
37625 cat conftest.err >&5
37626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); } && {
37628 test -z "$ac_cxx_werror_flag" ||
37629 test ! -s conftest.err
37630 } && test -s conftest.$ac_objext; then
37631 wx_cv_func_statfs_decl=yes
37633 $as_echo "$as_me: failed program was:" >&5
37634 sed 's
/^
/| /' conftest.$ac_ext >&5
37636 wx_cv_func_statfs_decl=no
37640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37642 ac_cpp='$CPP $CPPFLAGS'
37643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
37644 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
37645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37649 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37650 $as_echo "$wx_cv_func_statfs_decl" >&6; }
37652 if test "$wx_cv_func_statfs_decl" = "yes"; then
37653 cat >>confdefs.h <<\_ACEOF
37654 #define HAVE_STATFS_DECL 1
37659 wx_cv_type_statvfs_t="struct statfs"
37660 cat >>confdefs.h <<\_ACEOF
37661 #define HAVE_STATFS 1
37665 { $as_echo "$as_me:$LINENO: checking for statvfs" >&5
37666 $as_echo_n "checking for statvfs... " >&6; }
37667 if test "${wx_cv_func_statvfs+set}" = set; then
37668 $as_echo_n "(cached) " >&6
37670 cat >conftest.$ac_ext <<_ACEOF
37673 cat confdefs.h >>conftest.$ac_ext
37674 cat >>conftest.$ac_ext <<_ACEOF
37675 /* end confdefs.h. */
37677 #include <stddef.h>
37678 #include <sys/statvfs.h>
37684 statvfs("/", NULL);
37690 rm -f conftest.$ac_objext
37691 if { (ac_try="$ac_compile"
37692 case "(($ac_try" in
37693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37694 *) ac_try_echo=$ac_try;;
37696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37697 $as_echo "$ac_try_echo") >&5
37698 (eval "$ac_compile") 2>conftest.er1
37700 grep -v '^
*+' conftest.er1 >conftest.err
37702 cat conftest.err >&5
37703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37704 (exit $ac_status); } && {
37705 test -z "$ac_c_werror_flag" ||
37706 test ! -s conftest.err
37707 } && test -s conftest.$ac_objext; then
37708 wx_cv_func_statvfs=yes
37710 $as_echo "$as_me: failed program was:" >&5
37711 sed 's
/^
/| /' conftest.$ac_ext >&5
37713 wx_cv_func_statvfs=no
37717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37720 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37721 $as_echo "$wx_cv_func_statvfs" >&6; }
37723 if test "$wx_cv_func_statvfs" = "yes"; then
37724 { $as_echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37725 $as_echo_n "checking for statvfs argument type... " >&6; }
37726 if test "${wx_cv_type_statvfs_t+set}" = set; then
37727 $as_echo_n "(cached) " >&6
37730 ac_cpp='$CXXCPP $CPPFLAGS'
37731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
37732 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
37733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37735 cat >conftest.$ac_ext <<_ACEOF
37738 cat confdefs.h >>conftest.$ac_ext
37739 cat >>conftest.$ac_ext <<_ACEOF
37740 /* end confdefs.h. */
37742 #include <sys/statvfs.h>
37759 rm -f conftest.$ac_objext
37760 if { (ac_try="$ac_compile"
37761 case "(($ac_try" in
37762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37763 *) ac_try_echo=$ac_try;;
37765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37766 $as_echo "$ac_try_echo") >&5
37767 (eval "$ac_compile") 2>conftest.er1
37769 grep -v '^
*+' conftest.er1 >conftest.err
37771 cat conftest.err >&5
37772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); } && {
37774 test -z "$ac_cxx_werror_flag" ||
37775 test ! -s conftest.err
37776 } && test -s conftest.$ac_objext; then
37777 wx_cv_type_statvfs_t=statvfs_t
37779 $as_echo "$as_me: failed program was:" >&5
37780 sed 's
/^
/| /' conftest.$ac_ext >&5
37783 cat >conftest.$ac_ext <<_ACEOF
37786 cat confdefs.h >>conftest.$ac_ext
37787 cat >>conftest.$ac_ext <<_ACEOF
37788 /* end confdefs.h. */
37790 #include <sys/statvfs.h>
37807 rm -f conftest.$ac_objext
37808 if { (ac_try="$ac_compile"
37809 case "(($ac_try" in
37810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37811 *) ac_try_echo=$ac_try;;
37813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37814 $as_echo "$ac_try_echo") >&5
37815 (eval "$ac_compile") 2>conftest.er1
37817 grep -v '^
*+' conftest.er1 >conftest.err
37819 cat conftest.err >&5
37820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37821 (exit $ac_status); } && {
37822 test -z "$ac_cxx_werror_flag" ||
37823 test ! -s conftest.err
37824 } && test -s conftest.$ac_objext; then
37825 wx_cv_type_statvfs_t="struct statvfs"
37827 $as_echo "$as_me: failed program was:" >&5
37828 sed 's
/^
/| /' conftest.$ac_ext >&5
37830 wx_cv_type_statvfs_t="unknown"
37834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37841 ac_cpp='$CPP $CPPFLAGS'
37842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
37843 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
37844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37848 { $as_echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37849 $as_echo "$wx_cv_type_statvfs_t" >&6; }
37851 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37852 cat >>confdefs.h <<\_ACEOF
37853 #define HAVE_STATVFS 1
37858 wx_cv_type_statvfs_t="unknown"
37862 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37863 cat >>confdefs.h <<_ACEOF
37864 #define WX_STATFS_T $wx_cv_type_statvfs_t
37868 { $as_echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs
()" >&5
37869 $as_echo "$as_me: WARNING
: wxGetDiskSpace
() function won
't work without statfs()" >&2;}
37872 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37875 for ac_func in fcntl flock
37877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37878 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
37879 $as_echo_n "checking for $ac_func... " >&6; }
37880 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37881 $as_echo_n "(cached) " >&6
37883 cat >conftest.$ac_ext <<_ACEOF
37886 cat confdefs.h >>conftest.$ac_ext
37887 cat >>conftest.$ac_ext <<_ACEOF
37888 /* end confdefs.h. */
37889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37891 #define $ac_func innocuous_$ac_func
37893 /* System header to define __stub macros and hopefully few prototypes,
37894 which can conflict with char $ac_func (); below.
37895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37896 <limits.h> exists even on freestanding compilers. */
37899 # include <limits.h>
37901 # include <assert.h>
37906 /* Override any GCC internal prototype to avoid an error.
37907 Use char because int might match the return type of a GCC
37908 builtin and then its argument prototype would still apply. */
37913 /* The GNU C library defines this for functions which it implements
37914 to always fail with ENOSYS. Some functions are actually named
37915 something starting with __ and the normal name is an alias. */
37916 #if defined __stub_$ac_func || defined __stub___$ac_func
37923 return $ac_func ();
37928 rm -f conftest.$ac_objext conftest$ac_exeext
37929 if { (ac_try="$ac_link"
37930 case "(($ac_try" in
37931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37932 *) ac_try_echo=$ac_try;;
37934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
37935 $as_echo "$ac_try_echo") >&5
37936 (eval "$ac_link") 2>conftest.er1
37938 grep -v '^
*+' conftest.er1 >conftest.err
37940 cat conftest.err >&5
37941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
37942 (exit $ac_status); } && {
37943 test -z "$ac_c_werror_flag" ||
37944 test ! -s conftest.err
37945 } && test -s conftest$ac_exeext && {
37946 test "$cross_compiling" = yes ||
37947 $as_test_x conftest$ac_exeext
37949 eval "$as_ac_var=yes"
37951 $as_echo "$as_me: failed program was:" >&5
37952 sed 's
/^
/| /' conftest.$ac_ext >&5
37954 eval "$as_ac_var=no"
37957 rm -rf conftest.dSYM
37958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37959 conftest$ac_exeext conftest.$ac_ext
37961 ac_res=`eval 'as_val
=${'$as_ac_var'}
37962 $as_echo "$as_val"'`
37963 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
37964 $as_echo "$ac_res" >&6; }
37965 as_val=`eval 'as_val
=${'$as_ac_var'}
37966 $as_echo "$as_val"'`
37967 if test "x$as_val" = x""yes; then
37968 cat >>confdefs.h <<_ACEOF
37969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37976 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37977 { $as_echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37978 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37979 wxUSE_SNGLINST_CHECKER=no
37985 for ac_func in setenv putenv
37987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37988 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
37989 $as_echo_n "checking for $ac_func... " >&6; }
37990 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37991 $as_echo_n "(cached) " >&6
37993 cat >conftest.$ac_ext <<_ACEOF
37996 cat confdefs.h >>conftest.$ac_ext
37997 cat >>conftest.$ac_ext <<_ACEOF
37998 /* end confdefs.h. */
37999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38001 #define $ac_func innocuous_$ac_func
38003 /* System header to define __stub macros and hopefully few prototypes,
38004 which can conflict with char $ac_func (); below.
38005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38006 <limits.h> exists even on freestanding compilers. */
38009 # include <limits.h>
38011 # include <assert.h>
38016 /* Override any GCC internal prototype to avoid an error.
38017 Use char because int might match the return type of a GCC
38018 builtin and then its argument prototype would still apply. */
38023 /* The GNU C library defines this for functions which it implements
38024 to always fail with ENOSYS. Some functions are actually named
38025 something starting with __ and the normal name is an alias. */
38026 #if defined __stub_$ac_func || defined __stub___$ac_func
38033 return $ac_func ();
38038 rm -f conftest.$ac_objext conftest$ac_exeext
38039 if { (ac_try="$ac_link"
38040 case "(($ac_try" in
38041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38042 *) ac_try_echo=$ac_try;;
38044 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38045 $as_echo "$ac_try_echo") >&5
38046 (eval "$ac_link") 2>conftest.er1
38048 grep -v '^
*+' conftest.er1 >conftest.err
38050 cat conftest.err >&5
38051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); } && {
38053 test -z "$ac_c_werror_flag" ||
38054 test ! -s conftest.err
38055 } && test -s conftest$ac_exeext && {
38056 test "$cross_compiling" = yes ||
38057 $as_test_x conftest$ac_exeext
38059 eval "$as_ac_var=yes"
38061 $as_echo "$as_me: failed program was:" >&5
38062 sed 's
/^
/| /' conftest.$ac_ext >&5
38064 eval "$as_ac_var=no"
38067 rm -rf conftest.dSYM
38068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38069 conftest$ac_exeext conftest.$ac_ext
38071 ac_res=`eval 'as_val
=${'$as_ac_var'}
38072 $as_echo "$as_val"'`
38073 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
38074 $as_echo "$ac_res" >&6; }
38075 as_val=`eval 'as_val
=${'$as_ac_var'}
38076 $as_echo "$as_val"'`
38077 if test "x$as_val" = x""yes; then
38078 cat >>confdefs.h <<_ACEOF
38079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38085 if test "$ac_cv_func_setenv" = "yes"; then
38087 for ac_func in unsetenv
38089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38090 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
38091 $as_echo_n "checking for $ac_func... " >&6; }
38092 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38093 $as_echo_n "(cached) " >&6
38095 cat >conftest.$ac_ext <<_ACEOF
38098 cat confdefs.h >>conftest.$ac_ext
38099 cat >>conftest.$ac_ext <<_ACEOF
38100 /* end confdefs.h. */
38101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38103 #define $ac_func innocuous_$ac_func
38105 /* System header to define __stub macros and hopefully few prototypes,
38106 which can conflict with char $ac_func (); below.
38107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38108 <limits.h> exists even on freestanding compilers. */
38111 # include <limits.h>
38113 # include <assert.h>
38118 /* Override any GCC internal prototype to avoid an error.
38119 Use char because int might match the return type of a GCC
38120 builtin and then its argument prototype would still apply. */
38125 /* The GNU C library defines this for functions which it implements
38126 to always fail with ENOSYS. Some functions are actually named
38127 something starting with __ and the normal name is an alias. */
38128 #if defined __stub_$ac_func || defined __stub___$ac_func
38135 return $ac_func ();
38140 rm -f conftest.$ac_objext conftest$ac_exeext
38141 if { (ac_try="$ac_link"
38142 case "(($ac_try" in
38143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38144 *) ac_try_echo=$ac_try;;
38146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38147 $as_echo "$ac_try_echo") >&5
38148 (eval "$ac_link") 2>conftest.er1
38150 grep -v '^
*+' conftest.er1 >conftest.err
38152 cat conftest.err >&5
38153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38154 (exit $ac_status); } && {
38155 test -z "$ac_c_werror_flag" ||
38156 test ! -s conftest.err
38157 } && test -s conftest$ac_exeext && {
38158 test "$cross_compiling" = yes ||
38159 $as_test_x conftest$ac_exeext
38161 eval "$as_ac_var=yes"
38163 $as_echo "$as_me: failed program was:" >&5
38164 sed 's
/^
/| /' conftest.$ac_ext >&5
38166 eval "$as_ac_var=no"
38169 rm -rf conftest.dSYM
38170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38171 conftest$ac_exeext conftest.$ac_ext
38173 ac_res=`eval 'as_val
=${'$as_ac_var'}
38174 $as_echo "$as_val"'`
38175 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
38176 $as_echo "$ac_res" >&6; }
38177 as_val=`eval 'as_val
=${'$as_ac_var'}
38178 $as_echo "$as_val"'`
38179 if test "x$as_val" = x""yes; then
38180 cat >>confdefs.h <<_ACEOF
38181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38189 HAVE_SOME_SLEEP_FUNC=0
38190 if test "$USE_BEOS" = 1; then
38191 cat >>confdefs.h <<\_ACEOF
38192 #define HAVE_SLEEP 1
38195 HAVE_SOME_SLEEP_FUNC=1
38198 if test "$USE_DARWIN" = 1; then
38199 cat >>confdefs.h <<\_ACEOF
38200 #define HAVE_USLEEP 1
38203 HAVE_SOME_SLEEP_FUNC=1
38206 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38209 for ac_func in nanosleep
38211 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38212 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
38213 $as_echo_n "checking for $ac_func... " >&6; }
38214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38215 $as_echo_n "(cached) " >&6
38217 cat >conftest.$ac_ext <<_ACEOF
38220 cat confdefs.h >>conftest.$ac_ext
38221 cat >>conftest.$ac_ext <<_ACEOF
38222 /* end confdefs.h. */
38223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38225 #define $ac_func innocuous_$ac_func
38227 /* System header to define __stub macros and hopefully few prototypes,
38228 which can conflict with char $ac_func (); below.
38229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38230 <limits.h> exists even on freestanding compilers. */
38233 # include <limits.h>
38235 # include <assert.h>
38240 /* Override any GCC internal prototype to avoid an error.
38241 Use char because int might match the return type of a GCC
38242 builtin and then its argument prototype would still apply. */
38247 /* The GNU C library defines this for functions which it implements
38248 to always fail with ENOSYS. Some functions are actually named
38249 something starting with __ and the normal name is an alias. */
38250 #if defined __stub_$ac_func || defined __stub___$ac_func
38257 return $ac_func ();
38262 rm -f conftest.$ac_objext conftest$ac_exeext
38263 if { (ac_try="$ac_link"
38264 case "(($ac_try" in
38265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38266 *) ac_try_echo=$ac_try;;
38268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38269 $as_echo "$ac_try_echo") >&5
38270 (eval "$ac_link") 2>conftest.er1
38272 grep -v '^
*+' conftest.er1 >conftest.err
38274 cat conftest.err >&5
38275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276 (exit $ac_status); } && {
38277 test -z "$ac_c_werror_flag" ||
38278 test ! -s conftest.err
38279 } && test -s conftest$ac_exeext && {
38280 test "$cross_compiling" = yes ||
38281 $as_test_x conftest$ac_exeext
38283 eval "$as_ac_var=yes"
38285 $as_echo "$as_me: failed program was:" >&5
38286 sed 's
/^
/| /' conftest.$ac_ext >&5
38288 eval "$as_ac_var=no"
38291 rm -rf conftest.dSYM
38292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38293 conftest$ac_exeext conftest.$ac_ext
38295 ac_res=`eval 'as_val
=${'$as_ac_var'}
38296 $as_echo "$as_val"'`
38297 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
38298 $as_echo "$ac_res" >&6; }
38299 as_val=`eval 'as_val
=${'$as_ac_var'}
38300 $as_echo "$as_val"'`
38301 if test "x$as_val" = x""yes; then
38302 cat >>confdefs.h <<_ACEOF
38303 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38305 cat >>confdefs.h <<\_ACEOF
38306 #define HAVE_NANOSLEEP 1
38311 { $as_echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38312 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
38313 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38314 $as_echo_n "(cached) " >&6
38316 ac_check_lib_save_LIBS=$LIBS
38317 LIBS="-lposix4 $LIBS"
38318 cat >conftest.$ac_ext <<_ACEOF
38321 cat confdefs.h >>conftest.$ac_ext
38322 cat >>conftest.$ac_ext <<_ACEOF
38323 /* end confdefs.h. */
38325 /* Override any GCC internal prototype to avoid an error.
38326 Use char because int might match the return type of a GCC
38327 builtin and then its argument prototype would still apply. */
38335 return nanosleep ();
38340 rm -f conftest.$ac_objext conftest$ac_exeext
38341 if { (ac_try="$ac_link"
38342 case "(($ac_try" in
38343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38344 *) ac_try_echo=$ac_try;;
38346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38347 $as_echo "$ac_try_echo") >&5
38348 (eval "$ac_link") 2>conftest.er1
38350 grep -v '^
*+' conftest.er1 >conftest.err
38352 cat conftest.err >&5
38353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38354 (exit $ac_status); } && {
38355 test -z "$ac_c_werror_flag" ||
38356 test ! -s conftest.err
38357 } && test -s conftest$ac_exeext && {
38358 test "$cross_compiling" = yes ||
38359 $as_test_x conftest$ac_exeext
38361 ac_cv_lib_posix4_nanosleep=yes
38363 $as_echo "$as_me: failed program was:" >&5
38364 sed 's
/^
/| /' conftest.$ac_ext >&5
38366 ac_cv_lib_posix4_nanosleep=no
38369 rm -rf conftest.dSYM
38370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38371 conftest$ac_exeext conftest.$ac_ext
38372 LIBS=$ac_check_lib_save_LIBS
38374 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38375 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
38376 if test "x$ac_cv_lib_posix4_nanosleep" = x""yes; then
38378 cat >>confdefs.h <<\_ACEOF
38379 #define HAVE_NANOSLEEP 1
38382 POSIX4_LINK=" -lposix4"
38387 for wx_func in usleep
38389 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
38390 $as_echo_n "checking for $wx_func... " >&6; }
38391 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38392 $as_echo_n "(cached) " >&6
38395 cat >conftest.$ac_ext <<_ACEOF
38399 cat confdefs.h >>conftest.$ac_ext
38400 cat >>conftest.$ac_ext <<_ACEOF
38401 /* end confdefs.h. */
38404 $ac_includes_default
38420 rm -f conftest.$ac_objext conftest$ac_exeext
38421 if { (ac_try="$ac_link"
38422 case "(($ac_try" in
38423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38424 *) ac_try_echo=$ac_try;;
38426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38427 $as_echo "$ac_try_echo") >&5
38428 (eval "$ac_link") 2>conftest.er1
38430 grep -v '^
*+' conftest.er1 >conftest.err
38432 cat conftest.err >&5
38433 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } && {
38435 test -z "$ac_c_werror_flag" ||
38436 test ! -s conftest.err
38437 } && test -s conftest$ac_exeext && {
38438 test "$cross_compiling" = yes ||
38439 $as_test_x conftest$ac_exeext
38441 eval wx_cv_func_$wx_func=yes
38443 $as_echo "$as_me: failed program was:" >&5
38444 sed 's
/^
/| /' conftest.$ac_ext >&5
38446 eval wx_cv_func_$wx_func=no
38449 rm -rf conftest.dSYM
38450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38451 conftest$ac_exeext conftest.$ac_ext
38454 ac_res=`eval 'as_val
=${'wx_cv_func_$wx_func'}
38455 $as_echo "$as_val"'`
38456 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
38457 $as_echo "$ac_res" >&6; }
38459 if eval test \$wx_cv_func_$wx_func = yes
38461 cat >>confdefs.h <<_ACEOF
38462 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
38468 { $as_echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38469 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38486 for wx_func in uname
38488 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
38489 $as_echo_n "checking for $wx_func... " >&6; }
38490 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38491 $as_echo_n "(cached) " >&6
38494 cat >conftest.$ac_ext <<_ACEOF
38498 cat confdefs.h >>conftest.$ac_ext
38499 cat >>conftest.$ac_ext <<_ACEOF
38500 /* end confdefs.h. */
38502 #include <sys/utsname.h>
38503 $ac_includes_default
38519 rm -f conftest.$ac_objext conftest$ac_exeext
38520 if { (ac_try="$ac_link"
38521 case "(($ac_try" in
38522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38523 *) ac_try_echo=$ac_try;;
38525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38526 $as_echo "$ac_try_echo") >&5
38527 (eval "$ac_link") 2>conftest.er1
38529 grep -v '^
*+' conftest.er1 >conftest.err
38531 cat conftest.err >&5
38532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); } && {
38534 test -z "$ac_c_werror_flag" ||
38535 test ! -s conftest.err
38536 } && test -s conftest$ac_exeext && {
38537 test "$cross_compiling" = yes ||
38538 $as_test_x conftest$ac_exeext
38540 eval wx_cv_func_$wx_func=yes
38542 $as_echo "$as_me: failed program was:" >&5
38543 sed 's
/^
/| /' conftest.$ac_ext >&5
38545 eval wx_cv_func_$wx_func=no
38548 rm -rf conftest.dSYM
38549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38550 conftest$ac_exeext conftest.$ac_ext
38553 ac_res=`eval 'as_val
=${'wx_cv_func_$wx_func'}
38554 $as_echo "$as_val"'`
38555 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
38556 $as_echo "$ac_res" >&6; }
38558 if eval test \$wx_cv_func_$wx_func = yes
38560 cat >>confdefs.h <<_ACEOF
38561 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
38571 if test "$wx_cv_func_uname" != yes; then
38573 for wx_func in gethostname
38575 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
38576 $as_echo_n "checking for $wx_func... " >&6; }
38577 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38578 $as_echo_n "(cached) " >&6
38581 cat >conftest.$ac_ext <<_ACEOF
38585 cat confdefs.h >>conftest.$ac_ext
38586 cat >>conftest.$ac_ext <<_ACEOF
38587 /* end confdefs.h. */
38590 $ac_includes_default
38606 rm -f conftest.$ac_objext conftest$ac_exeext
38607 if { (ac_try="$ac_link"
38608 case "(($ac_try" in
38609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38610 *) ac_try_echo=$ac_try;;
38612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38613 $as_echo "$ac_try_echo") >&5
38614 (eval "$ac_link") 2>conftest.er1
38616 grep -v '^
*+' conftest.er1 >conftest.err
38618 cat conftest.err >&5
38619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38620 (exit $ac_status); } && {
38621 test -z "$ac_c_werror_flag" ||
38622 test ! -s conftest.err
38623 } && test -s conftest$ac_exeext && {
38624 test "$cross_compiling" = yes ||
38625 $as_test_x conftest$ac_exeext
38627 eval wx_cv_func_$wx_func=yes
38629 $as_echo "$as_me: failed program was:" >&5
38630 sed 's
/^
/| /' conftest.$ac_ext >&5
38632 eval wx_cv_func_$wx_func=no
38635 rm -rf conftest.dSYM
38636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38637 conftest$ac_exeext conftest.$ac_ext
38640 ac_res=`eval 'as_val
=${'wx_cv_func_$wx_func'}
38641 $as_echo "$as_val"'`
38642 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
38643 $as_echo "$ac_res" >&6; }
38645 if eval test \$wx_cv_func_$wx_func = yes
38647 cat >>confdefs.h <<_ACEOF
38648 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
38661 for wx_func in strtok_r
38663 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
38664 $as_echo_n "checking for $wx_func... " >&6; }
38665 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38666 $as_echo_n "(cached) " >&6
38669 cat >conftest.$ac_ext <<_ACEOF
38673 cat confdefs.h >>conftest.$ac_ext
38674 cat >>conftest.$ac_ext <<_ACEOF
38675 /* end confdefs.h. */
38678 $ac_includes_default
38694 rm -f conftest.$ac_objext conftest$ac_exeext
38695 if { (ac_try="$ac_link"
38696 case "(($ac_try" in
38697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38698 *) ac_try_echo=$ac_try;;
38700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38701 $as_echo "$ac_try_echo") >&5
38702 (eval "$ac_link") 2>conftest.er1
38704 grep -v '^
*+' conftest.er1 >conftest.err
38706 cat conftest.err >&5
38707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38708 (exit $ac_status); } && {
38709 test -z "$ac_c_werror_flag" ||
38710 test ! -s conftest.err
38711 } && test -s conftest$ac_exeext && {
38712 test "$cross_compiling" = yes ||
38713 $as_test_x conftest$ac_exeext
38715 eval wx_cv_func_$wx_func=yes
38717 $as_echo "$as_me: failed program was:" >&5
38718 sed 's
/^
/| /' conftest.$ac_ext >&5
38720 eval wx_cv_func_$wx_func=no
38723 rm -rf conftest.dSYM
38724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38725 conftest$ac_exeext conftest.$ac_ext
38728 ac_res=`eval 'as_val
=${'wx_cv_func_$wx_func'}
38729 $as_echo "$as_val"'`
38730 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
38731 $as_echo "$ac_res" >&6; }
38733 if eval test \$wx_cv_func_$wx_func = yes
38735 cat >>confdefs.h <<_ACEOF
38736 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
38749 for ac_func in inet_addr
38751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38752 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
38753 $as_echo_n "checking for $ac_func... " >&6; }
38754 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38755 $as_echo_n "(cached) " >&6
38757 cat >conftest.$ac_ext <<_ACEOF
38760 cat confdefs.h >>conftest.$ac_ext
38761 cat >>conftest.$ac_ext <<_ACEOF
38762 /* end confdefs.h. */
38763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38765 #define $ac_func innocuous_$ac_func
38767 /* System header to define __stub macros and hopefully few prototypes,
38768 which can conflict with char $ac_func (); below.
38769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38770 <limits.h> exists even on freestanding compilers. */
38773 # include <limits.h>
38775 # include <assert.h>
38780 /* Override any GCC internal prototype to avoid an error.
38781 Use char because int might match the return type of a GCC
38782 builtin and then its argument prototype would still apply. */
38787 /* The GNU C library defines this for functions which it implements
38788 to always fail with ENOSYS. Some functions are actually named
38789 something starting with __ and the normal name is an alias. */
38790 #if defined __stub_$ac_func || defined __stub___$ac_func
38797 return $ac_func ();
38802 rm -f conftest.$ac_objext conftest$ac_exeext
38803 if { (ac_try="$ac_link"
38804 case "(($ac_try" in
38805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38806 *) ac_try_echo=$ac_try;;
38808 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38809 $as_echo "$ac_try_echo") >&5
38810 (eval "$ac_link") 2>conftest.er1
38812 grep -v '^
*+' conftest.er1 >conftest.err
38814 cat conftest.err >&5
38815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38816 (exit $ac_status); } && {
38817 test -z "$ac_c_werror_flag" ||
38818 test ! -s conftest.err
38819 } && test -s conftest$ac_exeext && {
38820 test "$cross_compiling" = yes ||
38821 $as_test_x conftest$ac_exeext
38823 eval "$as_ac_var=yes"
38825 $as_echo "$as_me: failed program was:" >&5
38826 sed 's
/^
/| /' conftest.$ac_ext >&5
38828 eval "$as_ac_var=no"
38831 rm -rf conftest.dSYM
38832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38833 conftest$ac_exeext conftest.$ac_ext
38835 ac_res=`eval 'as_val
=${'$as_ac_var'}
38836 $as_echo "$as_val"'`
38837 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
38838 $as_echo "$ac_res" >&6; }
38839 as_val=`eval 'as_val
=${'$as_ac_var'}
38840 $as_echo "$as_val"'`
38841 if test "x$as_val" = x""yes; then
38842 cat >>confdefs.h <<_ACEOF
38843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38845 cat >>confdefs.h <<\_ACEOF
38846 #define HAVE_INET_ADDR 1
38851 { $as_echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38852 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
38853 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38854 $as_echo_n "(cached) " >&6
38856 ac_check_lib_save_LIBS=$LIBS
38858 cat >conftest.$ac_ext <<_ACEOF
38861 cat confdefs.h >>conftest.$ac_ext
38862 cat >>conftest.$ac_ext <<_ACEOF
38863 /* end confdefs.h. */
38865 /* Override any GCC internal prototype to avoid an error.
38866 Use char because int might match the return type of a GCC
38867 builtin and then its argument prototype would still apply. */
38875 return inet_addr ();
38880 rm -f conftest.$ac_objext conftest$ac_exeext
38881 if { (ac_try="$ac_link"
38882 case "(($ac_try" in
38883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38884 *) ac_try_echo=$ac_try;;
38886 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38887 $as_echo "$ac_try_echo") >&5
38888 (eval "$ac_link") 2>conftest.er1
38890 grep -v '^
*+' conftest.er1 >conftest.err
38892 cat conftest.err >&5
38893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38894 (exit $ac_status); } && {
38895 test -z "$ac_c_werror_flag" ||
38896 test ! -s conftest.err
38897 } && test -s conftest$ac_exeext && {
38898 test "$cross_compiling" = yes ||
38899 $as_test_x conftest$ac_exeext
38901 ac_cv_lib_nsl_inet_addr=yes
38903 $as_echo "$as_me: failed program was:" >&5
38904 sed 's
/^
/| /' conftest.$ac_ext >&5
38906 ac_cv_lib_nsl_inet_addr=no
38909 rm -rf conftest.dSYM
38910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38911 conftest$ac_exeext conftest.$ac_ext
38912 LIBS=$ac_check_lib_save_LIBS
38914 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38915 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
38916 if test "x$ac_cv_lib_nsl_inet_addr" = x""yes; then
38920 { $as_echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38921 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
38922 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38923 $as_echo_n "(cached) " >&6
38925 ac_check_lib_save_LIBS=$LIBS
38926 LIBS="-lresolv $LIBS"
38927 cat >conftest.$ac_ext <<_ACEOF
38930 cat confdefs.h >>conftest.$ac_ext
38931 cat >>conftest.$ac_ext <<_ACEOF
38932 /* end confdefs.h. */
38934 /* Override any GCC internal prototype to avoid an error.
38935 Use char because int might match the return type of a GCC
38936 builtin and then its argument prototype would still apply. */
38944 return inet_addr ();
38949 rm -f conftest.$ac_objext conftest$ac_exeext
38950 if { (ac_try="$ac_link"
38951 case "(($ac_try" in
38952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38953 *) ac_try_echo=$ac_try;;
38955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
38956 $as_echo "$ac_try_echo") >&5
38957 (eval "$ac_link") 2>conftest.er1
38959 grep -v '^
*+' conftest.er1 >conftest.err
38961 cat conftest.err >&5
38962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
38963 (exit $ac_status); } && {
38964 test -z "$ac_c_werror_flag" ||
38965 test ! -s conftest.err
38966 } && test -s conftest$ac_exeext && {
38967 test "$cross_compiling" = yes ||
38968 $as_test_x conftest$ac_exeext
38970 ac_cv_lib_resolv_inet_addr=yes
38972 $as_echo "$as_me: failed program was:" >&5
38973 sed 's
/^
/| /' conftest.$ac_ext >&5
38975 ac_cv_lib_resolv_inet_addr=no
38978 rm -rf conftest.dSYM
38979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38980 conftest$ac_exeext conftest.$ac_ext
38981 LIBS=$ac_check_lib_save_LIBS
38983 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38984 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
38985 if test "x$ac_cv_lib_resolv_inet_addr" = x""yes; then
38989 { $as_echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38990 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
38991 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38992 $as_echo_n "(cached) " >&6
38994 ac_check_lib_save_LIBS=$LIBS
38995 LIBS="-lsocket $LIBS"
38996 cat >conftest.$ac_ext <<_ACEOF
38999 cat confdefs.h >>conftest.$ac_ext
39000 cat >>conftest.$ac_ext <<_ACEOF
39001 /* end confdefs.h. */
39003 /* Override any GCC internal prototype to avoid an error.
39004 Use char because int might match the return type of a GCC
39005 builtin and then its argument prototype would still apply. */
39013 return inet_addr ();
39018 rm -f conftest.$ac_objext conftest$ac_exeext
39019 if { (ac_try="$ac_link"
39020 case "(($ac_try" in
39021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39022 *) ac_try_echo=$ac_try;;
39024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39025 $as_echo "$ac_try_echo") >&5
39026 (eval "$ac_link") 2>conftest.er1
39028 grep -v '^
*+' conftest.er1 >conftest.err
39030 cat conftest.err >&5
39031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39032 (exit $ac_status); } && {
39033 test -z "$ac_c_werror_flag" ||
39034 test ! -s conftest.err
39035 } && test -s conftest$ac_exeext && {
39036 test "$cross_compiling" = yes ||
39037 $as_test_x conftest$ac_exeext
39039 ac_cv_lib_socket_inet_addr=yes
39041 $as_echo "$as_me: failed program was:" >&5
39042 sed 's
/^
/| /' conftest.$ac_ext >&5
39044 ac_cv_lib_socket_inet_addr=no
39047 rm -rf conftest.dSYM
39048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39049 conftest$ac_exeext conftest.$ac_ext
39050 LIBS=$ac_check_lib_save_LIBS
39052 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39053 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
39054 if test "x$ac_cv_lib_socket_inet_addr" = x""yes; then
39074 for ac_func in inet_aton
39076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39077 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
39078 $as_echo_n "checking for $ac_func... " >&6; }
39079 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39080 $as_echo_n "(cached) " >&6
39082 cat >conftest.$ac_ext <<_ACEOF
39085 cat confdefs.h >>conftest.$ac_ext
39086 cat >>conftest.$ac_ext <<_ACEOF
39087 /* end confdefs.h. */
39088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39090 #define $ac_func innocuous_$ac_func
39092 /* System header to define __stub macros and hopefully few prototypes,
39093 which can conflict with char $ac_func (); below.
39094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39095 <limits.h> exists even on freestanding compilers. */
39098 # include <limits.h>
39100 # include <assert.h>
39105 /* Override any GCC internal prototype to avoid an error.
39106 Use char because int might match the return type of a GCC
39107 builtin and then its argument prototype would still apply. */
39112 /* The GNU C library defines this for functions which it implements
39113 to always fail with ENOSYS. Some functions are actually named
39114 something starting with __ and the normal name is an alias. */
39115 #if defined __stub_$ac_func || defined __stub___$ac_func
39122 return $ac_func ();
39127 rm -f conftest.$ac_objext conftest$ac_exeext
39128 if { (ac_try="$ac_link"
39129 case "(($ac_try" in
39130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39131 *) ac_try_echo=$ac_try;;
39133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39134 $as_echo "$ac_try_echo") >&5
39135 (eval "$ac_link") 2>conftest.er1
39137 grep -v '^
*+' conftest.er1 >conftest.err
39139 cat conftest.err >&5
39140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39141 (exit $ac_status); } && {
39142 test -z "$ac_c_werror_flag" ||
39143 test ! -s conftest.err
39144 } && test -s conftest$ac_exeext && {
39145 test "$cross_compiling" = yes ||
39146 $as_test_x conftest$ac_exeext
39148 eval "$as_ac_var=yes"
39150 $as_echo "$as_me: failed program was:" >&5
39151 sed 's
/^
/| /' conftest.$ac_ext >&5
39153 eval "$as_ac_var=no"
39156 rm -rf conftest.dSYM
39157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39158 conftest$ac_exeext conftest.$ac_ext
39160 ac_res=`eval 'as_val
=${'$as_ac_var'}
39161 $as_echo "$as_val"'`
39162 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
39163 $as_echo "$ac_res" >&6; }
39164 as_val=`eval 'as_val
=${'$as_ac_var'}
39165 $as_echo "$as_val"'`
39166 if test "x$as_val" = x""yes; then
39167 cat >>confdefs.h <<_ACEOF
39168 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39170 cat >>confdefs.h <<\_ACEOF
39171 #define HAVE_INET_ATON 1
39176 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39177 { $as_echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39178 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
39179 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39180 $as_echo_n "(cached) " >&6
39182 ac_check_lib_save_LIBS=$LIBS
39183 LIBS="-l$INET_LINK $LIBS"
39184 cat >conftest.$ac_ext <<_ACEOF
39187 cat confdefs.h >>conftest.$ac_ext
39188 cat >>conftest.$ac_ext <<_ACEOF
39189 /* end confdefs.h. */
39191 /* Override any GCC internal prototype to avoid an error.
39192 Use char because int might match the return type of a GCC
39193 builtin and then its argument prototype would still apply. */
39201 return inet_aton ();
39206 rm -f conftest.$ac_objext conftest$ac_exeext
39207 if { (ac_try="$ac_link"
39208 case "(($ac_try" in
39209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39210 *) ac_try_echo=$ac_try;;
39212 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39213 $as_echo "$ac_try_echo") >&5
39214 (eval "$ac_link") 2>conftest.er1
39216 grep -v '^
*+' conftest.er1 >conftest.err
39218 cat conftest.err >&5
39219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220 (exit $ac_status); } && {
39221 test -z "$ac_c_werror_flag" ||
39222 test ! -s conftest.err
39223 } && test -s conftest$ac_exeext && {
39224 test "$cross_compiling" = yes ||
39225 $as_test_x conftest$ac_exeext
39227 eval "$as_ac_Lib=yes"
39229 $as_echo "$as_me: failed program was:" >&5
39230 sed 's
/^
/| /' conftest.$ac_ext >&5
39232 eval "$as_ac_Lib=no"
39235 rm -rf conftest.dSYM
39236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39237 conftest$ac_exeext conftest.$ac_ext
39238 LIBS=$ac_check_lib_save_LIBS
39240 ac_res=`eval 'as_val
=${'$as_ac_Lib'}
39241 $as_echo "$as_val"'`
39242 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
39243 $as_echo "$ac_res" >&6; }
39244 as_val=`eval 'as_val
=${'$as_ac_Lib'}
39245 $as_echo "$as_val"'`
39246 if test "x$as_val" = x""yes; then
39247 cat >>confdefs.h <<\_ACEOF
39248 #define HAVE_INET_ATON 1
39258 if test "x$INET_LINK" != "x"; then
39259 cat >>confdefs.h <<\_ACEOF
39260 #define HAVE_INET_ADDR 1
39263 INET_LINK=" -l$INET_LINK"
39267 for wx_func in fdopen
39269 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
39270 $as_echo_n "checking for $wx_func... " >&6; }
39271 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39272 $as_echo_n "(cached) " >&6
39275 cat >conftest.$ac_ext <<_ACEOF
39279 cat confdefs.h >>conftest.$ac_ext
39280 cat >>conftest.$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39284 $ac_includes_default
39300 rm -f conftest.$ac_objext conftest$ac_exeext
39301 if { (ac_try="$ac_link"
39302 case "(($ac_try" in
39303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39304 *) ac_try_echo=$ac_try;;
39306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39307 $as_echo "$ac_try_echo") >&5
39308 (eval "$ac_link") 2>conftest.er1
39310 grep -v '^
*+' conftest.er1 >conftest.err
39312 cat conftest.err >&5
39313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39314 (exit $ac_status); } && {
39315 test -z "$ac_c_werror_flag" ||
39316 test ! -s conftest.err
39317 } && test -s conftest$ac_exeext && {
39318 test "$cross_compiling" = yes ||
39319 $as_test_x conftest$ac_exeext
39321 eval wx_cv_func_$wx_func=yes
39323 $as_echo "$as_me: failed program was:" >&5
39324 sed 's
/^
/| /' conftest.$ac_ext >&5
39326 eval wx_cv_func_$wx_func=no
39329 rm -rf conftest.dSYM
39330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39331 conftest$ac_exeext conftest.$ac_ext
39334 ac_res=`eval 'as_val
=${'wx_cv_func_$wx_func'}
39335 $as_echo "$as_val"'`
39336 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
39337 $as_echo "$ac_res" >&6; }
39339 if eval test \$wx_cv_func_$wx_func = yes
39341 cat >>confdefs.h <<_ACEOF
39342 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
39353 if test "$wxUSE_TARSTREAM" = "yes"; then
39355 for wx_func in sysconf
39357 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
39358 $as_echo_n "checking for $wx_func... " >&6; }
39359 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39360 $as_echo_n "(cached) " >&6
39363 cat >conftest.$ac_ext <<_ACEOF
39367 cat confdefs.h >>conftest.$ac_ext
39368 cat >>conftest.$ac_ext <<_ACEOF
39369 /* end confdefs.h. */
39372 $ac_includes_default
39388 rm -f conftest.$ac_objext conftest$ac_exeext
39389 if { (ac_try="$ac_link"
39390 case "(($ac_try" in
39391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39392 *) ac_try_echo=$ac_try;;
39394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39395 $as_echo "$ac_try_echo") >&5
39396 (eval "$ac_link") 2>conftest.er1
39398 grep -v '^
*+' conftest.er1 >conftest.err
39400 cat conftest.err >&5
39401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39402 (exit $ac_status); } && {
39403 test -z "$ac_c_werror_flag" ||
39404 test ! -s conftest.err
39405 } && test -s conftest$ac_exeext && {
39406 test "$cross_compiling" = yes ||
39407 $as_test_x conftest$ac_exeext
39409 eval wx_cv_func_$wx_func=yes
39411 $as_echo "$as_me: failed program was:" >&5
39412 sed 's
/^
/| /' conftest.$ac_ext >&5
39414 eval wx_cv_func_$wx_func=no
39417 rm -rf conftest.dSYM
39418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39419 conftest$ac_exeext conftest.$ac_ext
39422 ac_res=`eval 'as_val
=${'wx_cv_func_$wx_func'}
39423 $as_echo "$as_val"'`
39424 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
39425 $as_echo "$ac_res" >&6; }
39427 if eval test \$wx_cv_func_$wx_func = yes
39429 cat >>confdefs.h <<_ACEOF
39430 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
39442 for wx_func in getpwuid_r
39444 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
39445 $as_echo_n "checking for $wx_func... " >&6; }
39446 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39447 $as_echo_n "(cached) " >&6
39450 cat >conftest.$ac_ext <<_ACEOF
39454 cat confdefs.h >>conftest.$ac_ext
39455 cat >>conftest.$ac_ext <<_ACEOF
39456 /* end confdefs.h. */
39462 $ac_includes_default
39472 struct passwd pw, *ppw;
39474 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39482 rm -f conftest.$ac_objext conftest$ac_exeext
39483 if { (ac_try="$ac_link"
39484 case "(($ac_try" in
39485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39486 *) ac_try_echo=$ac_try;;
39488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39489 $as_echo "$ac_try_echo") >&5
39490 (eval "$ac_link") 2>conftest.er1
39492 grep -v '^
*+' conftest.er1 >conftest.err
39494 cat conftest.err >&5
39495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39496 (exit $ac_status); } && {
39497 test -z "$ac_c_werror_flag" ||
39498 test ! -s conftest.err
39499 } && test -s conftest$ac_exeext && {
39500 test "$cross_compiling" = yes ||
39501 $as_test_x conftest$ac_exeext
39503 eval wx_cv_func_$wx_func=yes
39505 $as_echo "$as_me: failed program was:" >&5
39506 sed 's
/^
/| /' conftest.$ac_ext >&5
39508 eval wx_cv_func_$wx_func=no
39511 rm -rf conftest.dSYM
39512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39513 conftest$ac_exeext conftest.$ac_ext
39516 ac_res=`eval 'as_val
=${'wx_cv_func_$wx_func'}
39517 $as_echo "$as_val"'`
39518 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
39519 $as_echo "$ac_res" >&6; }
39521 if eval test \$wx_cv_func_$wx_func = yes
39523 cat >>confdefs.h <<_ACEOF
39524 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
39536 for wx_func in getgrgid_r
39538 { $as_echo "$as_me:$LINENO: checking for $wx_func" >&5
39539 $as_echo_n "checking for $wx_func... " >&6; }
39540 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39541 $as_echo_n "(cached) " >&6
39544 cat >conftest.$ac_ext <<_ACEOF
39548 cat confdefs.h >>conftest.$ac_ext
39549 cat >>conftest.$ac_ext <<_ACEOF
39550 /* end confdefs.h. */
39556 $ac_includes_default
39566 struct group grp, *pgrp;
39568 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39576 rm -f conftest.$ac_objext conftest$ac_exeext
39577 if { (ac_try="$ac_link"
39578 case "(($ac_try" in
39579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39580 *) ac_try_echo=$ac_try;;
39582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39583 $as_echo "$ac_try_echo") >&5
39584 (eval "$ac_link") 2>conftest.er1
39586 grep -v '^
*+' conftest.er1 >conftest.err
39588 cat conftest.err >&5
39589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39590 (exit $ac_status); } && {
39591 test -z "$ac_c_werror_flag" ||
39592 test ! -s conftest.err
39593 } && test -s conftest$ac_exeext && {
39594 test "$cross_compiling" = yes ||
39595 $as_test_x conftest$ac_exeext
39597 eval wx_cv_func_$wx_func=yes
39599 $as_echo "$as_me: failed program was:" >&5
39600 sed 's
/^
/| /' conftest.$ac_ext >&5
39602 eval wx_cv_func_$wx_func=no
39605 rm -rf conftest.dSYM
39606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39607 conftest$ac_exeext conftest.$ac_ext
39610 ac_res=`eval 'as_val
=${'wx_cv_func_$wx_func'}
39611 $as_echo "$as_val"'`
39612 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
39613 $as_echo "$ac_res" >&6; }
39615 if eval test \$wx_cv_func_$wx_func = yes
39617 cat >>confdefs.h <<_ACEOF
39618 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
39634 cat >confcache <<\_ACEOF
39635 # This file is a shell script that caches the results of configure
39636 # tests run on this system so they can be shared between configure
39637 # scripts and configure runs, see configure's option
--config-cache.
39638 # It is not useful on other systems. If it contains results you don't
39639 # want to keep, you may remove or edit it.
39641 # config.status only pays attention to the cache file if you give it
39642 # the --recheck option to rerun configure.
39644 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39645 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39646 # following values.
39650 # The following way of writing the cache mishandles newlines in values,
39651 # but we know of no workaround that is simple, portable, and efficient.
39652 # So, we kill variables containing newlines.
39653 # Ultrix sh set writes to stderr and can't be redirected directly,
39654 # and sets the high bit in the cache file unless we assign to the vars.
39656 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39657 eval ac_val
=\$
$ac_var
39661 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
39662 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
39665 _
| IFS
| as_nl
) ;; #(
39666 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
39667 *) $as_unset $ac_var ;;
39673 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39674 *${as_nl}ac_space
=\
*)
39675 # `set' does not quote correctly, so add quotes (double-quote
39676 # substitution turns \\\\ into \\, and sed turns \\ into \).
39679 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39682 # `set' quotes correctly as required by POSIX, so do not add quotes.
39683 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39692 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39694 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39696 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39697 if test -w "$cache_file"; then
39698 test "x$cache_file" != "x/dev/null" &&
39699 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
39700 $as_echo "$as_me: updating cache $cache_file" >&6;}
39701 cat confcache
>$cache_file
39703 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39704 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39710 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39716 if test "$wxUSE_THREADS" = "yes" ; then
39717 if test "$USE_BEOS" = 1; then
39718 { $as_echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39719 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39724 if test "$wxUSE_THREADS" = "yes" ; then
39727 THREAD_OPTS
="-pthread"
39728 if test "x$SUNCXX" = xyes
; then
39729 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
39733 *-*-solaris2* | *-*-sunos4* )
39734 if test "x$GCC" = "xyes"; then
39735 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39739 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39741 *-*-darwin* | *-*-cygwin* )
39745 THREAD_OPTS
="pthreads"
39748 if test "x$GCC" = "xyes"; then
39749 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39757 if test "x$GCC" = "xyes"; then
39763 if test "x$GCC" != "xyes"; then
39764 THREAD_OPTS
="-Ethread"
39769 THREAD_OPTS
="$THREAD_OPTS pthread none"
39772 for flag
in $THREAD_OPTS; do
39775 { $as_echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39776 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
39780 { $as_echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39781 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
39782 THREADS_CFLAGS
="$flag"
39786 { $as_echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39787 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
39788 THREADS_LINK
="-l$flag"
39793 save_CFLAGS
="$CFLAGS"
39794 LIBS
="$THREADS_LINK $LIBS"
39795 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39797 cat >conftest.
$ac_ext <<_ACEOF
39800 cat confdefs.h
>>conftest.
$ac_ext
39801 cat >>conftest.
$ac_ext <<_ACEOF
39802 /* end confdefs.h. */
39803 #include <pthread.h>
39807 pthread_create(0,0,0,0);
39812 rm -f conftest.
$ac_objext conftest
$ac_exeext
39813 if { (ac_try
="$ac_link"
39814 case "(($ac_try" in
39815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39816 *) ac_try_echo=$ac_try;;
39818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
39819 $as_echo "$ac_try_echo") >&5
39820 (eval "$ac_link") 2>conftest.er1
39822 grep -v '^ *+' conftest.er1 >conftest.err
39824 cat conftest.err >&5
39825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39826 (exit $ac_status); } && {
39827 test -z "$ac_c_werror_flag" ||
39828 test ! -s conftest.err
39829 } && test -s conftest$ac_exeext && {
39830 test "$cross_compiling" = yes ||
39831 $as_test_x conftest$ac_exeext
39835 $as_echo "$as_me: failed program was:" >&5
39836 sed 's/^/| /' conftest.$ac_ext >&5
39841 rm -rf conftest.dSYM
39842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39843 conftest$ac_exeext conftest.$ac_ext
39846 CFLAGS="$save_CFLAGS"
39848 { $as_echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39849 $as_echo "$THREADS_OK" >&6; }
39850 if test "x$THREADS_OK" = "xyes"; then
39858 if test "x$THREADS_OK" != "xyes"; then
39860 { $as_echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39861 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39863 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39864 LIBS="$THREADS_LINK $LIBS"
39866 { $as_echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39867 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
39871 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39872 flag="-D_THREAD_SAFE"
39875 flag="-D_THREAD_SAFE"
39878 flag="-D_REENTRANT"
39879 if test "x$GCC" != "xyes"; then
39880 flag="$flag -D_RWSTD_MULTI_THREAD"
39883 *solaris* | alpha*-osf*)
39884 flag="-D_REENTRANT"
39887 { $as_echo "$as_me:$LINENO: result: ${flag}" >&5
39888 $as_echo "${flag}" >&6; }
39889 if test "x$flag" != xno; then
39890 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39893 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39897 if test "$wxUSE_THREADS" = "yes" ; then
39899 for ac_func in thr_setconcurrency
39901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39902 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
39903 $as_echo_n "checking for $ac_func... " >&6; }
39904 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39905 $as_echo_n "(cached) " >&6
39907 cat >conftest.$ac_ext <<_ACEOF
39910 cat confdefs.h >>conftest.$ac_ext
39911 cat >>conftest.$ac_ext <<_ACEOF
39912 /* end confdefs.h. */
39913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39915 #define $ac_func innocuous_$ac_func
39917 /* System header to define __stub macros and hopefully few prototypes,
39918 which can conflict with char $ac_func (); below.
39919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39920 <limits.h> exists even on freestanding compilers. */
39923 # include <limits.h>
39925 # include <assert.h>
39930 /* Override any GCC internal prototype to avoid an error.
39931 Use char because int might match the return type of a GCC
39932 builtin and then its argument prototype would still apply. */
39937 /* The GNU C library defines this for functions which it implements
39938 to always fail with ENOSYS. Some functions are actually named
39939 something starting with __ and the normal name is an alias. */
39940 #if defined __stub_$ac_func || defined __stub___$ac_func
39947 return $ac_func ();
39952 rm -f conftest.$ac_objext conftest$ac_exeext
39953 if { (ac_try="$ac_link"
39954 case "(($ac_try" in
39955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39956 *) ac_try_echo
=$ac_try;;
39958 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
39959 $as_echo "$ac_try_echo") >&5
39960 (eval "$ac_link") 2>conftest.er1
39962 grep -v '^ *+' conftest.er1
>conftest.err
39964 cat conftest.err
>&5
39965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
39966 (exit $ac_status); } && {
39967 test -z "$ac_c_werror_flag" ||
39968 test ! -s conftest.err
39969 } && test -s conftest
$ac_exeext && {
39970 test "$cross_compiling" = yes ||
39971 $as_test_x conftest
$ac_exeext
39973 eval "$as_ac_var=yes"
39975 $as_echo "$as_me: failed program was:" >&5
39976 sed 's/^/| /' conftest.
$ac_ext >&5
39978 eval "$as_ac_var=no"
39981 rm -rf conftest.dSYM
39982 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39983 conftest
$ac_exeext conftest.
$ac_ext
39985 ac_res
=`eval 'as_val=${'$as_ac_var'}
39986 $as_echo "$as_val"'`
39987 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
39988 $as_echo "$ac_res" >&6; }
39989 as_val
=`eval 'as_val=${'$as_ac_var'}
39990 $as_echo "$as_val"'`
39991 if test "x$as_val" = x
""yes; then
39992 cat >>confdefs.h
<<_ACEOF
39993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40000 { $as_echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40001 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
40002 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40003 $as_echo_n "(cached) " >&6
40007 ac_cpp
='$CXXCPP $CPPFLAGS'
40008 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40009 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40010 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40012 cat >conftest.
$ac_ext <<_ACEOF
40015 cat confdefs.h
>>conftest.
$ac_ext
40016 cat >>conftest.
$ac_ext <<_ACEOF
40017 /* end confdefs.h. */
40018 #include <pthread.h>
40019 void ThreadCleanupFunc(void *p);
40026 pthread_cleanup_push(ThreadCleanupFunc, p);
40027 pthread_cleanup_pop(0);
40033 rm -f conftest.
$ac_objext
40034 if { (ac_try
="$ac_compile"
40035 case "(($ac_try" in
40036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40037 *) ac_try_echo=$ac_try;;
40039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40040 $as_echo "$ac_try_echo") >&5
40041 (eval "$ac_compile") 2>conftest.er1
40043 grep -v '^ *+' conftest.er1 >conftest.err
40045 cat conftest.err >&5
40046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40047 (exit $ac_status); } && {
40048 test -z "$ac_cxx_werror_flag" ||
40049 test ! -s conftest.err
40050 } && test -s conftest.$ac_objext; then
40052 wx_cv_func_pthread_cleanup=yes
40055 $as_echo "$as_me: failed program was:" >&5
40056 sed 's/^/| /' conftest.$ac_ext >&5
40059 wx_cv_func_pthread_cleanup=no
40064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40066 ac_cpp='$CPP $CPPFLAGS'
40067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40073 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40074 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
40075 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40076 cat >>confdefs.h <<\_ACEOF
40077 #define wxHAVE_PTHREAD_CLEANUP 1
40083 for ac_header in sched.h
40085 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
40086 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
40087 $as_echo_n "checking for $ac_header... " >&6; }
40088 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40089 $as_echo_n "(cached) " >&6
40091 cat >conftest.$ac_ext <<_ACEOF
40094 cat confdefs.h >>conftest.$ac_ext
40095 cat >>conftest.$ac_ext <<_ACEOF
40096 /* end confdefs.h. */
40097 $ac_includes_default
40099 #include <$ac_header>
40101 rm -f conftest.$ac_objext
40102 if { (ac_try="$ac_compile"
40103 case "(($ac_try" in
40104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40105 *) ac_try_echo
=$ac_try;;
40107 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
40108 $as_echo "$ac_try_echo") >&5
40109 (eval "$ac_compile") 2>conftest.er1
40111 grep -v '^ *+' conftest.er1
>conftest.err
40113 cat conftest.err
>&5
40114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40115 (exit $ac_status); } && {
40116 test -z "$ac_c_werror_flag" ||
40117 test ! -s conftest.err
40118 } && test -s conftest.
$ac_objext; then
40119 eval "$as_ac_Header=yes"
40121 $as_echo "$as_me: failed program was:" >&5
40122 sed 's/^/| /' conftest.
$ac_ext >&5
40124 eval "$as_ac_Header=no"
40127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40129 ac_res
=`eval 'as_val=${'$as_ac_Header'}
40130 $as_echo "$as_val"'`
40131 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
40132 $as_echo "$ac_res" >&6; }
40133 as_val
=`eval 'as_val=${'$as_ac_Header'}
40134 $as_echo "$as_val"'`
40135 if test "x$as_val" = x
""yes; then
40136 cat >>confdefs.h
<<_ACEOF
40137 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
40144 if test "$ac_cv_header_sched_h" = "yes"; then
40145 { $as_echo "$as_me:$LINENO: checking for sched_yield" >&5
40146 $as_echo_n "checking for sched_yield... " >&6; }
40147 if test "${ac_cv_func_sched_yield+set}" = set; then
40148 $as_echo_n "(cached) " >&6
40150 cat >conftest.
$ac_ext <<_ACEOF
40153 cat confdefs.h
>>conftest.
$ac_ext
40154 cat >>conftest.
$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40156 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40158 #define sched_yield innocuous_sched_yield
40160 /* System header to define __stub macros and hopefully few prototypes,
40161 which can conflict with char sched_yield (); below.
40162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40163 <limits.h> exists even on freestanding compilers. */
40166 # include <limits.h>
40168 # include <assert.h>
40173 /* Override any GCC internal prototype to avoid an error.
40174 Use char because int might match the return type of a GCC
40175 builtin and then its argument prototype would still apply. */
40179 char sched_yield ();
40180 /* The GNU C library defines this for functions which it implements
40181 to always fail with ENOSYS. Some functions are actually named
40182 something starting with __ and the normal name is an alias. */
40183 #if defined __stub_sched_yield || defined __stub___sched_yield
40190 return sched_yield ();
40195 rm -f conftest.
$ac_objext conftest
$ac_exeext
40196 if { (ac_try
="$ac_link"
40197 case "(($ac_try" in
40198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40199 *) ac_try_echo=$ac_try;;
40201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40202 $as_echo "$ac_try_echo") >&5
40203 (eval "$ac_link") 2>conftest.er1
40205 grep -v '^ *+' conftest.er1 >conftest.err
40207 cat conftest.err >&5
40208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40209 (exit $ac_status); } && {
40210 test -z "$ac_c_werror_flag" ||
40211 test ! -s conftest.err
40212 } && test -s conftest$ac_exeext && {
40213 test "$cross_compiling" = yes ||
40214 $as_test_x conftest$ac_exeext
40216 ac_cv_func_sched_yield=yes
40218 $as_echo "$as_me: failed program was:" >&5
40219 sed 's/^/| /' conftest.$ac_ext >&5
40221 ac_cv_func_sched_yield=no
40224 rm -rf conftest.dSYM
40225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40226 conftest$ac_exeext conftest.$ac_ext
40228 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40229 $as_echo "$ac_cv_func_sched_yield" >&6; }
40230 if test "x$ac_cv_func_sched_yield" = x""yes; then
40231 cat >>confdefs.h <<\_ACEOF
40232 #define HAVE_SCHED_YIELD 1
40237 { $as_echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40238 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
40239 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40240 $as_echo_n "(cached) " >&6
40242 ac_check_lib_save_LIBS=$LIBS
40243 LIBS="-lposix4 $LIBS"
40244 cat >conftest.$ac_ext <<_ACEOF
40247 cat confdefs.h >>conftest.$ac_ext
40248 cat >>conftest.$ac_ext <<_ACEOF
40249 /* end confdefs.h. */
40251 /* Override any GCC internal prototype to avoid an error.
40252 Use char because int might match the return type of a GCC
40253 builtin and then its argument prototype would still apply. */
40257 char sched_yield ();
40261 return sched_yield ();
40266 rm -f conftest.$ac_objext conftest$ac_exeext
40267 if { (ac_try="$ac_link"
40268 case "(($ac_try" in
40269 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40270 *) ac_try_echo
=$ac_try;;
40272 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
40273 $as_echo "$ac_try_echo") >&5
40274 (eval "$ac_link") 2>conftest.er1
40276 grep -v '^ *+' conftest.er1
>conftest.err
40278 cat conftest.err
>&5
40279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); } && {
40281 test -z "$ac_c_werror_flag" ||
40282 test ! -s conftest.err
40283 } && test -s conftest
$ac_exeext && {
40284 test "$cross_compiling" = yes ||
40285 $as_test_x conftest
$ac_exeext
40287 ac_cv_lib_posix4_sched_yield
=yes
40289 $as_echo "$as_me: failed program was:" >&5
40290 sed 's/^/| /' conftest.
$ac_ext >&5
40292 ac_cv_lib_posix4_sched_yield
=no
40295 rm -rf conftest.dSYM
40296 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40297 conftest
$ac_exeext conftest.
$ac_ext
40298 LIBS
=$ac_check_lib_save_LIBS
40300 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40301 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
40302 if test "x$ac_cv_lib_posix4_sched_yield" = x
""yes; then
40303 cat >>confdefs.h
<<\_ACEOF
40304 #define HAVE_SCHED_YIELD 1
40306 POSIX4_LINK
=" -lposix4"
40308 { $as_echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40309 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40320 { $as_echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40321 $as_echo_n "checking for pthread_attr_getschedpolicy... " >&6; }
40322 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40323 $as_echo_n "(cached) " >&6
40325 cat >conftest.
$ac_ext <<_ACEOF
40328 cat confdefs.h
>>conftest.
$ac_ext
40329 cat >>conftest.
$ac_ext <<_ACEOF
40330 /* end confdefs.h. */
40331 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40333 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40335 /* System header to define __stub macros and hopefully few prototypes,
40336 which can conflict with char pthread_attr_getschedpolicy (); below.
40337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40338 <limits.h> exists even on freestanding compilers. */
40341 # include <limits.h>
40343 # include <assert.h>
40346 #undef pthread_attr_getschedpolicy
40348 /* Override any GCC internal prototype to avoid an error.
40349 Use char because int might match the return type of a GCC
40350 builtin and then its argument prototype would still apply. */
40354 char pthread_attr_getschedpolicy ();
40355 /* The GNU C library defines this for functions which it implements
40356 to always fail with ENOSYS. Some functions are actually named
40357 something starting with __ and the normal name is an alias. */
40358 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40365 return pthread_attr_getschedpolicy ();
40370 rm -f conftest.
$ac_objext conftest
$ac_exeext
40371 if { (ac_try
="$ac_link"
40372 case "(($ac_try" in
40373 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40374 *) ac_try_echo=$ac_try;;
40376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40377 $as_echo "$ac_try_echo") >&5
40378 (eval "$ac_link") 2>conftest.er1
40380 grep -v '^ *+' conftest.er1 >conftest.err
40382 cat conftest.err >&5
40383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40384 (exit $ac_status); } && {
40385 test -z "$ac_c_werror_flag" ||
40386 test ! -s conftest.err
40387 } && test -s conftest$ac_exeext && {
40388 test "$cross_compiling" = yes ||
40389 $as_test_x conftest$ac_exeext
40391 ac_cv_func_pthread_attr_getschedpolicy=yes
40393 $as_echo "$as_me: failed program was:" >&5
40394 sed 's/^/| /' conftest.$ac_ext >&5
40396 ac_cv_func_pthread_attr_getschedpolicy=no
40399 rm -rf conftest.dSYM
40400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40401 conftest$ac_exeext conftest.$ac_ext
40403 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40404 $as_echo "$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40405 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = x""yes; then
40406 { $as_echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40407 $as_echo_n "checking for pthread_attr_setschedparam... " >&6; }
40408 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40409 $as_echo_n "(cached) " >&6
40411 cat >conftest.$ac_ext <<_ACEOF
40414 cat confdefs.h >>conftest.$ac_ext
40415 cat >>conftest.$ac_ext <<_ACEOF
40416 /* end confdefs.h. */
40417 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40419 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40421 /* System header to define __stub macros and hopefully few prototypes,
40422 which can conflict with char pthread_attr_setschedparam (); below.
40423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40424 <limits.h> exists even on freestanding compilers. */
40427 # include <limits.h>
40429 # include <assert.h>
40432 #undef pthread_attr_setschedparam
40434 /* Override any GCC internal prototype to avoid an error.
40435 Use char because int might match the return type of a GCC
40436 builtin and then its argument prototype would still apply. */
40440 char pthread_attr_setschedparam ();
40441 /* The GNU C library defines this for functions which it implements
40442 to always fail with ENOSYS. Some functions are actually named
40443 something starting with __ and the normal name is an alias. */
40444 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40451 return pthread_attr_setschedparam ();
40456 rm -f conftest.$ac_objext conftest$ac_exeext
40457 if { (ac_try="$ac_link"
40458 case "(($ac_try" in
40459 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40460 *) ac_try_echo
=$ac_try;;
40462 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
40463 $as_echo "$ac_try_echo") >&5
40464 (eval "$ac_link") 2>conftest.er1
40466 grep -v '^ *+' conftest.er1
>conftest.err
40468 cat conftest.err
>&5
40469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40470 (exit $ac_status); } && {
40471 test -z "$ac_c_werror_flag" ||
40472 test ! -s conftest.err
40473 } && test -s conftest
$ac_exeext && {
40474 test "$cross_compiling" = yes ||
40475 $as_test_x conftest
$ac_exeext
40477 ac_cv_func_pthread_attr_setschedparam
=yes
40479 $as_echo "$as_me: failed program was:" >&5
40480 sed 's/^/| /' conftest.
$ac_ext >&5
40482 ac_cv_func_pthread_attr_setschedparam
=no
40485 rm -rf conftest.dSYM
40486 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40487 conftest
$ac_exeext conftest.
$ac_ext
40489 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40490 $as_echo "$ac_cv_func_pthread_attr_setschedparam" >&6; }
40491 if test "x$ac_cv_func_pthread_attr_setschedparam" = x
""yes; then
40492 { $as_echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40493 $as_echo_n "checking for sched_get_priority_max... " >&6; }
40494 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40495 $as_echo_n "(cached) " >&6
40497 cat >conftest.
$ac_ext <<_ACEOF
40500 cat confdefs.h
>>conftest.
$ac_ext
40501 cat >>conftest.
$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40505 #define sched_get_priority_max innocuous_sched_get_priority_max
40507 /* System header to define __stub macros and hopefully few prototypes,
40508 which can conflict with char sched_get_priority_max (); below.
40509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40510 <limits.h> exists even on freestanding compilers. */
40513 # include <limits.h>
40515 # include <assert.h>
40518 #undef sched_get_priority_max
40520 /* Override any GCC internal prototype to avoid an error.
40521 Use char because int might match the return type of a GCC
40522 builtin and then its argument prototype would still apply. */
40526 char sched_get_priority_max ();
40527 /* The GNU C library defines this for functions which it implements
40528 to always fail with ENOSYS. Some functions are actually named
40529 something starting with __ and the normal name is an alias. */
40530 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40537 return sched_get_priority_max ();
40542 rm -f conftest.
$ac_objext conftest
$ac_exeext
40543 if { (ac_try
="$ac_link"
40544 case "(($ac_try" in
40545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40546 *) ac_try_echo=$ac_try;;
40548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40549 $as_echo "$ac_try_echo") >&5
40550 (eval "$ac_link") 2>conftest.er1
40552 grep -v '^ *+' conftest.er1 >conftest.err
40554 cat conftest.err >&5
40555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); } && {
40557 test -z "$ac_c_werror_flag" ||
40558 test ! -s conftest.err
40559 } && test -s conftest$ac_exeext && {
40560 test "$cross_compiling" = yes ||
40561 $as_test_x conftest$ac_exeext
40563 ac_cv_func_sched_get_priority_max=yes
40565 $as_echo "$as_me: failed program was:" >&5
40566 sed 's/^/| /' conftest.$ac_ext >&5
40568 ac_cv_func_sched_get_priority_max=no
40571 rm -rf conftest.dSYM
40572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40573 conftest$ac_exeext conftest.$ac_ext
40575 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40576 $as_echo "$ac_cv_func_sched_get_priority_max" >&6; }
40577 if test "x$ac_cv_func_sched_get_priority_max" = x""yes; then
40580 { $as_echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40581 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
40582 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40583 $as_echo_n "(cached) " >&6
40585 ac_check_lib_save_LIBS=$LIBS
40586 LIBS="-lposix4 $LIBS"
40587 cat >conftest.$ac_ext <<_ACEOF
40590 cat confdefs.h >>conftest.$ac_ext
40591 cat >>conftest.$ac_ext <<_ACEOF
40592 /* end confdefs.h. */
40594 /* Override any GCC internal prototype to avoid an error.
40595 Use char because int might match the return type of a GCC
40596 builtin and then its argument prototype would still apply. */
40600 char sched_get_priority_max ();
40604 return sched_get_priority_max ();
40609 rm -f conftest.$ac_objext conftest$ac_exeext
40610 if { (ac_try="$ac_link"
40611 case "(($ac_try" in
40612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40613 *) ac_try_echo
=$ac_try;;
40615 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
40616 $as_echo "$ac_try_echo") >&5
40617 (eval "$ac_link") 2>conftest.er1
40619 grep -v '^ *+' conftest.er1
>conftest.err
40621 cat conftest.err
>&5
40622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40623 (exit $ac_status); } && {
40624 test -z "$ac_c_werror_flag" ||
40625 test ! -s conftest.err
40626 } && test -s conftest
$ac_exeext && {
40627 test "$cross_compiling" = yes ||
40628 $as_test_x conftest
$ac_exeext
40630 ac_cv_lib_posix4_sched_get_priority_max
=yes
40632 $as_echo "$as_me: failed program was:" >&5
40633 sed 's/^/| /' conftest.
$ac_ext >&5
40635 ac_cv_lib_posix4_sched_get_priority_max
=no
40638 rm -rf conftest.dSYM
40639 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40640 conftest
$ac_exeext conftest.
$ac_ext
40641 LIBS
=$ac_check_lib_save_LIBS
40643 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40644 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40645 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = x
""yes; then
40648 POSIX4_LINK
=" -lposix4"
40662 if test "$HAVE_PRIOR_FUNCS" = 1; then
40663 cat >>confdefs.h
<<\_ACEOF
40664 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40668 { $as_echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40669 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40672 { $as_echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40673 $as_echo_n "checking for pthread_cancel... " >&6; }
40674 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40675 $as_echo_n "(cached) " >&6
40677 cat >conftest.
$ac_ext <<_ACEOF
40680 cat confdefs.h
>>conftest.
$ac_ext
40681 cat >>conftest.
$ac_ext <<_ACEOF
40682 /* end confdefs.h. */
40683 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40685 #define pthread_cancel innocuous_pthread_cancel
40687 /* System header to define __stub macros and hopefully few prototypes,
40688 which can conflict with char pthread_cancel (); below.
40689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40690 <limits.h> exists even on freestanding compilers. */
40693 # include <limits.h>
40695 # include <assert.h>
40698 #undef pthread_cancel
40700 /* Override any GCC internal prototype to avoid an error.
40701 Use char because int might match the return type of a GCC
40702 builtin and then its argument prototype would still apply. */
40706 char pthread_cancel ();
40707 /* The GNU C library defines this for functions which it implements
40708 to always fail with ENOSYS. Some functions are actually named
40709 something starting with __ and the normal name is an alias. */
40710 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40717 return pthread_cancel ();
40722 rm -f conftest.
$ac_objext conftest
$ac_exeext
40723 if { (ac_try
="$ac_link"
40724 case "(($ac_try" in
40725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40726 *) ac_try_echo=$ac_try;;
40728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40729 $as_echo "$ac_try_echo") >&5
40730 (eval "$ac_link") 2>conftest.er1
40732 grep -v '^ *+' conftest.er1 >conftest.err
40734 cat conftest.err >&5
40735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40736 (exit $ac_status); } && {
40737 test -z "$ac_c_werror_flag" ||
40738 test ! -s conftest.err
40739 } && test -s conftest$ac_exeext && {
40740 test "$cross_compiling" = yes ||
40741 $as_test_x conftest$ac_exeext
40743 ac_cv_func_pthread_cancel=yes
40745 $as_echo "$as_me: failed program was:" >&5
40746 sed 's/^/| /' conftest.$ac_ext >&5
40748 ac_cv_func_pthread_cancel=no
40751 rm -rf conftest.dSYM
40752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40753 conftest$ac_exeext conftest.$ac_ext
40755 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40756 $as_echo "$ac_cv_func_pthread_cancel" >&6; }
40757 if test "x$ac_cv_func_pthread_cancel" = x""yes; then
40758 cat >>confdefs.h <<\_ACEOF
40759 #define HAVE_PTHREAD_CANCEL 1
40763 { $as_echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40764 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40768 { $as_echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40769 $as_echo_n "checking for pthread_mutex_timedlock... " >&6; }
40770 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40771 $as_echo_n "(cached) " >&6
40773 cat >conftest.$ac_ext <<_ACEOF
40776 cat confdefs.h >>conftest.$ac_ext
40777 cat >>conftest.$ac_ext <<_ACEOF
40778 /* end confdefs.h. */
40779 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40781 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40783 /* System header to define __stub macros and hopefully few prototypes,
40784 which can conflict with char pthread_mutex_timedlock (); below.
40785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40786 <limits.h> exists even on freestanding compilers. */
40789 # include <limits.h>
40791 # include <assert.h>
40794 #undef pthread_mutex_timedlock
40796 /* Override any GCC internal prototype to avoid an error.
40797 Use char because int might match the return type of a GCC
40798 builtin and then its argument prototype would still apply. */
40802 char pthread_mutex_timedlock ();
40803 /* The GNU C library defines this for functions which it implements
40804 to always fail with ENOSYS. Some functions are actually named
40805 something starting with __ and the normal name is an alias. */
40806 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40813 return pthread_mutex_timedlock ();
40818 rm -f conftest.$ac_objext conftest$ac_exeext
40819 if { (ac_try="$ac_link"
40820 case "(($ac_try" in
40821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40822 *) ac_try_echo
=$ac_try;;
40824 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
40825 $as_echo "$ac_try_echo") >&5
40826 (eval "$ac_link") 2>conftest.er1
40828 grep -v '^ *+' conftest.er1
>conftest.err
40830 cat conftest.err
>&5
40831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40832 (exit $ac_status); } && {
40833 test -z "$ac_c_werror_flag" ||
40834 test ! -s conftest.err
40835 } && test -s conftest
$ac_exeext && {
40836 test "$cross_compiling" = yes ||
40837 $as_test_x conftest
$ac_exeext
40839 ac_cv_func_pthread_mutex_timedlock
=yes
40841 $as_echo "$as_me: failed program was:" >&5
40842 sed 's/^/| /' conftest.
$ac_ext >&5
40844 ac_cv_func_pthread_mutex_timedlock
=no
40847 rm -rf conftest.dSYM
40848 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40849 conftest
$ac_exeext conftest.
$ac_ext
40851 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40852 $as_echo "$ac_cv_func_pthread_mutex_timedlock" >&6; }
40853 if test "x$ac_cv_func_pthread_mutex_timedlock" = x
""yes; then
40854 cat >>confdefs.h
<<\_ACEOF
40855 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40859 { $as_echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40860 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40864 { $as_echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40865 $as_echo_n "checking for pthread_attr_setstacksize... " >&6; }
40866 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40867 $as_echo_n "(cached) " >&6
40869 cat >conftest.
$ac_ext <<_ACEOF
40872 cat confdefs.h
>>conftest.
$ac_ext
40873 cat >>conftest.
$ac_ext <<_ACEOF
40874 /* end confdefs.h. */
40875 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40877 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40879 /* System header to define __stub macros and hopefully few prototypes,
40880 which can conflict with char pthread_attr_setstacksize (); below.
40881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40882 <limits.h> exists even on freestanding compilers. */
40885 # include <limits.h>
40887 # include <assert.h>
40890 #undef pthread_attr_setstacksize
40892 /* Override any GCC internal prototype to avoid an error.
40893 Use char because int might match the return type of a GCC
40894 builtin and then its argument prototype would still apply. */
40898 char pthread_attr_setstacksize ();
40899 /* The GNU C library defines this for functions which it implements
40900 to always fail with ENOSYS. Some functions are actually named
40901 something starting with __ and the normal name is an alias. */
40902 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40909 return pthread_attr_setstacksize ();
40914 rm -f conftest.
$ac_objext conftest
$ac_exeext
40915 if { (ac_try
="$ac_link"
40916 case "(($ac_try" in
40917 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40918 *) ac_try_echo=$ac_try;;
40920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
40921 $as_echo "$ac_try_echo") >&5
40922 (eval "$ac_link") 2>conftest.er1
40924 grep -v '^ *+' conftest.er1 >conftest.err
40926 cat conftest.err >&5
40927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40928 (exit $ac_status); } && {
40929 test -z "$ac_c_werror_flag" ||
40930 test ! -s conftest.err
40931 } && test -s conftest$ac_exeext && {
40932 test "$cross_compiling" = yes ||
40933 $as_test_x conftest$ac_exeext
40935 ac_cv_func_pthread_attr_setstacksize=yes
40937 $as_echo "$as_me: failed program was:" >&5
40938 sed 's/^/| /' conftest.$ac_ext >&5
40940 ac_cv_func_pthread_attr_setstacksize=no
40943 rm -rf conftest.dSYM
40944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40945 conftest$ac_exeext conftest.$ac_ext
40947 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40948 $as_echo "$ac_cv_func_pthread_attr_setstacksize" >&6; }
40949 if test "x$ac_cv_func_pthread_attr_setstacksize" = x""yes; then
40950 cat >>confdefs.h <<\_ACEOF
40951 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40958 { $as_echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40959 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
40960 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40961 $as_echo_n "(cached) " >&6
40964 cat >conftest.$ac_ext <<_ACEOF
40967 cat confdefs.h >>conftest.$ac_ext
40968 cat >>conftest.$ac_ext <<_ACEOF
40969 /* end confdefs.h. */
40970 #include <pthread.h>
40975 pthread_mutexattr_t attr;
40976 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40982 rm -f conftest.$ac_objext
40983 if { (ac_try="$ac_compile"
40984 case "(($ac_try" in
40985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40986 *) ac_try_echo
=$ac_try;;
40988 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
40989 $as_echo "$ac_try_echo") >&5
40990 (eval "$ac_compile") 2>conftest.er1
40992 grep -v '^ *+' conftest.er1
>conftest.err
40994 cat conftest.err
>&5
40995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
40996 (exit $ac_status); } && {
40997 test -z "$ac_c_werror_flag" ||
40998 test ! -s conftest.err
40999 } && test -s conftest.
$ac_objext; then
41000 wx_cv_type_pthread_mutexattr_t
=yes
41002 $as_echo "$as_me: failed program was:" >&5
41003 sed 's/^/| /' conftest.
$ac_ext >&5
41005 wx_cv_type_pthread_mutexattr_t
=no
41009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41012 { $as_echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41013 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
41015 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41016 cat >>confdefs.h
<<\_ACEOF
41017 #define HAVE_PTHREAD_MUTEXATTR_T 1
41021 { $as_echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41022 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
41023 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41024 $as_echo_n "(cached) " >&6
41027 cat >conftest.
$ac_ext <<_ACEOF
41030 cat confdefs.h
>>conftest.
$ac_ext
41031 cat >>conftest.
$ac_ext <<_ACEOF
41032 /* end confdefs.h. */
41033 #include <pthread.h>
41038 pthread_mutexattr_t attr;
41039 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41045 rm -f conftest.
$ac_objext
41046 if { (ac_try
="$ac_compile"
41047 case "(($ac_try" in
41048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41049 *) ac_try_echo=$ac_try;;
41051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41052 $as_echo "$ac_try_echo") >&5
41053 (eval "$ac_compile") 2>conftest.er1
41055 grep -v '^ *+' conftest.er1 >conftest.err
41057 cat conftest.err >&5
41058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41059 (exit $ac_status); } && {
41060 test -z "$ac_c_werror_flag" ||
41061 test ! -s conftest.err
41062 } && test -s conftest.$ac_objext; then
41063 wx_cv_func_pthread_mutexattr_settype_decl=yes
41065 $as_echo "$as_me: failed program was:" >&5
41066 sed 's/^/| /' conftest.$ac_ext >&5
41068 wx_cv_func_pthread_mutexattr_settype_decl=no
41072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41075 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41076 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41077 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41078 cat >>confdefs.h <<\_ACEOF
41079 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41084 { $as_echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41085 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
41086 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41087 $as_echo_n "(cached) " >&6
41090 cat >conftest.$ac_ext <<_ACEOF
41093 cat confdefs.h >>conftest.$ac_ext
41094 cat >>conftest.$ac_ext <<_ACEOF
41095 /* end confdefs.h. */
41096 #include <pthread.h>
41101 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41107 rm -f conftest.$ac_objext
41108 if { (ac_try="$ac_compile"
41109 case "(($ac_try" in
41110 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41111 *) ac_try_echo
=$ac_try;;
41113 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
41114 $as_echo "$ac_try_echo") >&5
41115 (eval "$ac_compile") 2>conftest.er1
41117 grep -v '^ *+' conftest.er1
>conftest.err
41119 cat conftest.err
>&5
41120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121 (exit $ac_status); } && {
41122 test -z "$ac_c_werror_flag" ||
41123 test ! -s conftest.err
41124 } && test -s conftest.
$ac_objext; then
41126 wx_cv_type_pthread_rec_mutex_init
=yes
41129 $as_echo "$as_me: failed program was:" >&5
41130 sed 's/^/| /' conftest.
$ac_ext >&5
41133 wx_cv_type_pthread_rec_mutex_init
=no
41138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41141 { $as_echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41142 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
41143 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41144 cat >>confdefs.h
<<\_ACEOF
41145 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41149 { $as_echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41150 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41154 { $as_echo "$as_me:$LINENO: checking for __thread keyword" >&5
41155 $as_echo_n "checking for __thread keyword... " >&6; }
41156 if test "${wx_cv_cc___thread+set}" = set; then
41157 $as_echo_n "(cached) " >&6
41160 cat >conftest.
$ac_ext <<_ACEOF
41163 cat confdefs.h
>>conftest.
$ac_ext
41164 cat >>conftest.
$ac_ext <<_ACEOF
41165 /* end confdefs.h. */
41166 #include <pthread.h>
41171 static __thread int n = 0;
41172 static __thread int *p = 0;
41178 rm -f conftest.
$ac_objext
41179 if { (ac_try
="$ac_compile"
41180 case "(($ac_try" in
41181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41182 *) ac_try_echo=$ac_try;;
41184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41185 $as_echo "$ac_try_echo") >&5
41186 (eval "$ac_compile") 2>conftest.er1
41188 grep -v '^ *+' conftest.er1 >conftest.err
41190 cat conftest.err >&5
41191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41192 (exit $ac_status); } && {
41193 test -z "$ac_c_werror_flag" ||
41194 test ! -s conftest.err
41195 } && test -s conftest.$ac_objext; then
41196 wx_cv_cc___thread=yes
41198 $as_echo "$as_me: failed program was:" >&5
41199 sed 's/^/| /' conftest.$ac_ext >&5
41201 wx_cv_cc___thread=no
41205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41209 { $as_echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41210 $as_echo "$wx_cv_cc___thread" >&6; }
41212 if test "$wx_cv_cc___thread" = "yes"; then
41218 { $as_echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41219 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
41221 if test "x$GCC" = "xyes" ; then
41223 if test -z "" ; then
41225 ax_gcc_option_test="int main()
41232 ax_gcc_option_test=""
41237 # Dump the test program to file
41238 cat <<EOF > conftest.c
41239 $ax_gcc_option_test
41242 # Dump back the file to the log, useful for debugging purposes
41243 { ac_try='cat conftest.c 1>&5'
41244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41245 (eval $ac_try) 2>&5
41247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41248 (exit $ac_status); }; }
41250 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41252 (eval $ac_try) 2>&5
41254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41255 (exit $ac_status); }; } ; then
41257 { $as_echo "$as_me:$LINENO: result: yes" >&5
41258 $as_echo "yes" >&6; }
41260 ax_gcc_version_option=yes
41265 { $as_echo "$as_me:$LINENO: result: no" >&5
41266 $as_echo "no" >&6; }
41268 ax_gcc_version_option=no
41276 { $as_echo "$as_me:$LINENO: result: no gcc available" >&5
41277 $as_echo "no gcc available" >&6; }
41282 if test "x$GXX" = "xyes"; then
41284 if test "x$ax_gxx_version_option" != "no"; then
41286 { $as_echo "$as_me:$LINENO: checking gxx version" >&5
41287 $as_echo_n "checking gxx version... " >&6; }
41288 if test "${ax_cv_gxx_version+set}" = set; then
41289 $as_echo_n "(cached) " >&6
41292 ax_cv_gxx_version="`$CXX -dumpversion`"
41293 if test "x$ax_cv_gxx_version" = "x"; then
41295 ax_cv_gxx_version=""
41301 { $as_echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41302 $as_echo "$ax_cv_gxx_version" >&6; }
41303 GXX_VERSION=$ax_cv_gxx_version
41312 if test -n "$ax_cv_gxx_version"; then
41313 { $as_echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41314 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
41315 case "$ax_cv_gxx_version" in
41317 { $as_echo "$as_me:$LINENO: result: no, it's broken" >&5
41318 $as_echo "no, it's broken" >&6; }
41319 wx_cv_cc___thread=no
41322 { $as_echo "$as_me:$LINENO: result: yes, it works" >&5
41323 $as_echo "yes, it works" >&6; }
41329 if test "$wx_cv_cc___thread" = "yes"; then
41330 cat >>confdefs.h <<\_ACEOF
41331 #define HAVE___THREAD_KEYWORD 1
41338 if test "$wxUSE_THREADS" = "yes" ; then
41340 x86_64-*-mingw32* )
41343 { $as_echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41344 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
41345 if test "${wx_cv_cflags_mthread+set}" = set; then
41346 $as_echo_n "(cached) " >&6
41349 CFLAGS_OLD="$CFLAGS"
41350 CFLAGS="-mthreads $CFLAGS"
41351 cat >conftest.$ac_ext <<_ACEOF
41354 cat confdefs.h >>conftest.$ac_ext
41355 cat >>conftest.$ac_ext <<_ACEOF
41356 /* end confdefs.h. */
41366 rm -f conftest.$ac_objext
41367 if { (ac_try="$ac_compile"
41368 case "(($ac_try" in
41369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41370 *) ac_try_echo
=$ac_try;;
41372 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
41373 $as_echo "$ac_try_echo") >&5
41374 (eval "$ac_compile") 2>conftest.er1
41376 grep -v '^ *+' conftest.er1
>conftest.err
41378 cat conftest.err
>&5
41379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41380 (exit $ac_status); } && {
41381 test -z "$ac_c_werror_flag" ||
41382 test ! -s conftest.err
41383 } && test -s conftest.
$ac_objext; then
41384 wx_cv_cflags_mthread
=yes
41386 $as_echo "$as_me: failed program was:" >&5
41387 sed 's/^/| /' conftest.
$ac_ext >&5
41389 wx_cv_cflags_mthread
=no
41393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41397 { $as_echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41398 $as_echo "$wx_cv_cflags_mthread" >&6; }
41400 if test "$wx_cv_cflags_mthread" = "yes"; then
41401 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
41402 LDFLAGS
="$LDFLAGS -mthreads"
41404 CFLAGS
="$CFLAGS_OLD"
41408 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41409 LDFLAGS
="$LDFLAGS -Zmt"
41415 { $as_echo "$as_me:$LINENO: checking for localtime_r" >&5
41416 $as_echo_n "checking for localtime_r... " >&6; }
41417 if test "${ac_cv_func_localtime_r+set}" = set; then
41418 $as_echo_n "(cached) " >&6
41420 cat >conftest.
$ac_ext <<_ACEOF
41423 cat confdefs.h
>>conftest.
$ac_ext
41424 cat >>conftest.
$ac_ext <<_ACEOF
41425 /* end confdefs.h. */
41426 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41428 #define localtime_r innocuous_localtime_r
41430 /* System header to define __stub macros and hopefully few prototypes,
41431 which can conflict with char localtime_r (); below.
41432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41433 <limits.h> exists even on freestanding compilers. */
41436 # include <limits.h>
41438 # include <assert.h>
41443 /* Override any GCC internal prototype to avoid an error.
41444 Use char because int might match the return type of a GCC
41445 builtin and then its argument prototype would still apply. */
41449 char localtime_r ();
41450 /* The GNU C library defines this for functions which it implements
41451 to always fail with ENOSYS. Some functions are actually named
41452 something starting with __ and the normal name is an alias. */
41453 #if defined __stub_localtime_r || defined __stub___localtime_r
41460 return localtime_r ();
41465 rm -f conftest.
$ac_objext conftest
$ac_exeext
41466 if { (ac_try
="$ac_link"
41467 case "(($ac_try" in
41468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41469 *) ac_try_echo=$ac_try;;
41471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41472 $as_echo "$ac_try_echo") >&5
41473 (eval "$ac_link") 2>conftest.er1
41475 grep -v '^ *+' conftest.er1 >conftest.err
41477 cat conftest.err >&5
41478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41479 (exit $ac_status); } && {
41480 test -z "$ac_c_werror_flag" ||
41481 test ! -s conftest.err
41482 } && test -s conftest$ac_exeext && {
41483 test "$cross_compiling" = yes ||
41484 $as_test_x conftest$ac_exeext
41486 ac_cv_func_localtime_r=yes
41488 $as_echo "$as_me: failed program was:" >&5
41489 sed 's/^/| /' conftest.$ac_ext >&5
41491 ac_cv_func_localtime_r=no
41494 rm -rf conftest.dSYM
41495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41496 conftest$ac_exeext conftest.$ac_ext
41498 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41499 $as_echo "$ac_cv_func_localtime_r" >&6; }
41500 if test "x$ac_cv_func_localtime_r" = x""yes; then
41501 cat >>confdefs.h <<\_ACEOF
41502 #define HAVE_LOCALTIME_R 1
41507 { $as_echo "$as_me:$LINENO: checking for gmtime_r" >&5
41508 $as_echo_n "checking for gmtime_r... " >&6; }
41509 if test "${ac_cv_func_gmtime_r+set}" = set; then
41510 $as_echo_n "(cached) " >&6
41512 cat >conftest.$ac_ext <<_ACEOF
41515 cat confdefs.h >>conftest.$ac_ext
41516 cat >>conftest.$ac_ext <<_ACEOF
41517 /* end confdefs.h. */
41518 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41520 #define gmtime_r innocuous_gmtime_r
41522 /* System header to define __stub macros and hopefully few prototypes,
41523 which can conflict with char gmtime_r (); below.
41524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41525 <limits.h> exists even on freestanding compilers. */
41528 # include <limits.h>
41530 # include <assert.h>
41535 /* Override any GCC internal prototype to avoid an error.
41536 Use char because int might match the return type of a GCC
41537 builtin and then its argument prototype would still apply. */
41542 /* The GNU C library defines this for functions which it implements
41543 to always fail with ENOSYS. Some functions are actually named
41544 something starting with __ and the normal name is an alias. */
41545 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41552 return gmtime_r ();
41557 rm -f conftest.$ac_objext conftest$ac_exeext
41558 if { (ac_try="$ac_link"
41559 case "(($ac_try" in
41560 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41561 *) ac_try_echo
=$ac_try;;
41563 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
41564 $as_echo "$ac_try_echo") >&5
41565 (eval "$ac_link") 2>conftest.er1
41567 grep -v '^ *+' conftest.er1
>conftest.err
41569 cat conftest.err
>&5
41570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41571 (exit $ac_status); } && {
41572 test -z "$ac_c_werror_flag" ||
41573 test ! -s conftest.err
41574 } && test -s conftest
$ac_exeext && {
41575 test "$cross_compiling" = yes ||
41576 $as_test_x conftest
$ac_exeext
41578 ac_cv_func_gmtime_r
=yes
41580 $as_echo "$as_me: failed program was:" >&5
41581 sed 's/^/| /' conftest.
$ac_ext >&5
41583 ac_cv_func_gmtime_r
=no
41586 rm -rf conftest.dSYM
41587 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41588 conftest
$ac_exeext conftest.
$ac_ext
41590 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41591 $as_echo "$ac_cv_func_gmtime_r" >&6; }
41592 if test "x$ac_cv_func_gmtime_r" = x
""yes; then
41593 cat >>confdefs.h
<<\_ACEOF
41594 #define HAVE_GMTIME_R 1
41603 ac_cpp
='$CPP $CPPFLAGS'
41604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41608 { $as_echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41609 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
41611 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41612 $as_echo_n "(cached) " >&6
41616 ################################################################
41618 ac_cv_func_which_gethostbyname_r
=unknown
41621 # ONE ARGUMENT (sanity check)
41624 # This should fail, as there is no variant of gethostbyname_r() that takes
41625 # a single argument. If it actually compiles, then we can assume that
41626 # netdb.h is not declaring the function, and the compiler is thereby
41627 # assuming an implicit prototype. In which case, we're out of luck.
41629 cat >conftest.
$ac_ext <<_ACEOF
41632 cat confdefs.h
>>conftest.
$ac_ext
41633 cat >>conftest.
$ac_ext <<_ACEOF
41634 /* end confdefs.h. */
41640 char *name = "www.gnu.org";
41641 (void)gethostbyname_r(name) /* ; */
41647 rm -f conftest.
$ac_objext
41648 if { (ac_try
="$ac_compile"
41649 case "(($ac_try" in
41650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41651 *) ac_try_echo=$ac_try;;
41653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41654 $as_echo "$ac_try_echo") >&5
41655 (eval "$ac_compile") 2>conftest.er1
41657 grep -v '^ *+' conftest.er1 >conftest.err
41659 cat conftest.err >&5
41660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41661 (exit $ac_status); } && {
41662 test -z "$ac_c_werror_flag" ||
41663 test ! -s conftest.err
41664 } && test -s conftest.$ac_objext; then
41665 ac_cv_func_which_gethostbyname_r=no
41667 $as_echo "$as_me: failed program was:" >&5
41668 sed 's/^/| /' conftest.$ac_ext >&5
41673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41680 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41682 cat >conftest.$ac_ext <<_ACEOF
41685 cat confdefs.h >>conftest.$ac_ext
41686 cat >>conftest.$ac_ext <<_ACEOF
41687 /* end confdefs.h. */
41693 char *name = "www.gnu.org";
41694 struct hostent ret, *retp;
41698 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41704 rm -f conftest.$ac_objext
41705 if { (ac_try="$ac_compile"
41706 case "(($ac_try" in
41707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41708 *) ac_try_echo
=$ac_try;;
41710 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
41711 $as_echo "$ac_try_echo") >&5
41712 (eval "$ac_compile") 2>conftest.er1
41714 grep -v '^ *+' conftest.er1
>conftest.err
41716 cat conftest.err
>&5
41717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41718 (exit $ac_status); } && {
41719 test -z "$ac_c_werror_flag" ||
41720 test ! -s conftest.err
41721 } && test -s conftest.
$ac_objext; then
41722 ac_cv_func_which_gethostbyname_r
=six
41724 $as_echo "$as_me: failed program was:" >&5
41725 sed 's/^/| /' conftest.
$ac_ext >&5
41730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41739 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41741 cat >conftest.
$ac_ext <<_ACEOF
41744 cat confdefs.h
>>conftest.
$ac_ext
41745 cat >>conftest.
$ac_ext <<_ACEOF
41746 /* end confdefs.h. */
41752 char *name = "www.gnu.org";
41753 struct hostent ret;
41757 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41763 rm -f conftest.
$ac_objext
41764 if { (ac_try
="$ac_compile"
41765 case "(($ac_try" in
41766 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41767 *) ac_try_echo=$ac_try;;
41769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41770 $as_echo "$ac_try_echo") >&5
41771 (eval "$ac_compile") 2>conftest.er1
41773 grep -v '^ *+' conftest.er1 >conftest.err
41775 cat conftest.err >&5
41776 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41777 (exit $ac_status); } && {
41778 test -z "$ac_c_werror_flag" ||
41779 test ! -s conftest.err
41780 } && test -s conftest.$ac_objext; then
41781 ac_cv_func_which_gethostbyname_r=five
41783 $as_echo "$as_me: failed program was:" >&5
41784 sed 's/^/| /' conftest.$ac_ext >&5
41789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41795 # (e.g. AIX, HP-UX, Tru64)
41798 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41800 cat >conftest.$ac_ext <<_ACEOF
41803 cat confdefs.h >>conftest.$ac_ext
41804 cat >>conftest.$ac_ext <<_ACEOF
41805 /* end confdefs.h. */
41811 char *name = "www.gnu.org";
41812 struct hostent ret;
41813 struct hostent_data data;
41814 (void)gethostbyname_r(name, &ret, &data) /* ; */
41820 rm -f conftest.$ac_objext
41821 if { (ac_try="$ac_compile"
41822 case "(($ac_try" in
41823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41824 *) ac_try_echo
=$ac_try;;
41826 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
41827 $as_echo "$ac_try_echo") >&5
41828 (eval "$ac_compile") 2>conftest.er1
41830 grep -v '^ *+' conftest.er1
>conftest.err
41832 cat conftest.err
>&5
41833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41834 (exit $ac_status); } && {
41835 test -z "$ac_c_werror_flag" ||
41836 test ! -s conftest.err
41837 } && test -s conftest.
$ac_objext; then
41838 ac_cv_func_which_gethostbyname_r
=three
41840 $as_echo "$as_me: failed program was:" >&5
41841 sed 's/^/| /' conftest.
$ac_ext >&5
41846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41850 ################################################################
41855 case "$ac_cv_func_which_gethostbyname_r" in
41857 { $as_echo "$as_me:$LINENO: result: three" >&5
41858 $as_echo "three" >&6; }
41859 cat >>confdefs.h
<<\_ACEOF
41860 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41866 { $as_echo "$as_me:$LINENO: result: five" >&5
41867 $as_echo "five" >&6; }
41868 cat >>confdefs.h
<<\_ACEOF
41869 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41875 { $as_echo "$as_me:$LINENO: result: six" >&5
41876 $as_echo "six" >&6; }
41877 cat >>confdefs.h
<<\_ACEOF
41878 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41884 { $as_echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41885 $as_echo "cannot find function declaration in netdb.h" >&6; }
41889 { $as_echo "$as_me:$LINENO: result: can't tell" >&5
41890 $as_echo "can't tell" >&6; }
41894 { { $as_echo "$as_me:$LINENO: error: internal error" >&5
41895 $as_echo "$as_me: error: internal error" >&2;}
41896 { (exit 1); exit 1; }; }
41901 ac_cpp
='$CPP $CPPFLAGS'
41902 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41903 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41904 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41908 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41909 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41910 { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
41911 $as_echo_n "checking for gethostbyname... " >&6; }
41912 if test "${ac_cv_func_gethostbyname+set}" = set; then
41913 $as_echo_n "(cached) " >&6
41915 cat >conftest.
$ac_ext <<_ACEOF
41918 cat confdefs.h
>>conftest.
$ac_ext
41919 cat >>conftest.
$ac_ext <<_ACEOF
41920 /* end confdefs.h. */
41921 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41923 #define gethostbyname innocuous_gethostbyname
41925 /* System header to define __stub macros and hopefully few prototypes,
41926 which can conflict with char gethostbyname (); below.
41927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41928 <limits.h> exists even on freestanding compilers. */
41931 # include <limits.h>
41933 # include <assert.h>
41936 #undef gethostbyname
41938 /* Override any GCC internal prototype to avoid an error.
41939 Use char because int might match the return type of a GCC
41940 builtin and then its argument prototype would still apply. */
41944 char gethostbyname ();
41945 /* The GNU C library defines this for functions which it implements
41946 to always fail with ENOSYS. Some functions are actually named
41947 something starting with __ and the normal name is an alias. */
41948 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41955 return gethostbyname ();
41960 rm -f conftest.
$ac_objext conftest
$ac_exeext
41961 if { (ac_try
="$ac_link"
41962 case "(($ac_try" in
41963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41964 *) ac_try_echo=$ac_try;;
41966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
41967 $as_echo "$ac_try_echo") >&5
41968 (eval "$ac_link") 2>conftest.er1
41970 grep -v '^ *+' conftest.er1 >conftest.err
41972 cat conftest.err >&5
41973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
41974 (exit $ac_status); } && {
41975 test -z "$ac_c_werror_flag" ||
41976 test ! -s conftest.err
41977 } && test -s conftest$ac_exeext && {
41978 test "$cross_compiling" = yes ||
41979 $as_test_x conftest$ac_exeext
41981 ac_cv_func_gethostbyname=yes
41983 $as_echo "$as_me: failed program was:" >&5
41984 sed 's/^/| /' conftest.$ac_ext >&5
41986 ac_cv_func_gethostbyname=no
41989 rm -rf conftest.dSYM
41990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41991 conftest$ac_exeext conftest.$ac_ext
41993 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41994 $as_echo "$ac_cv_func_gethostbyname" >&6; }
41995 if test "x$ac_cv_func_gethostbyname" = x""yes; then
41996 cat >>confdefs.h <<\_ACEOF
41997 #define HAVE_GETHOSTBYNAME 1
42004 { $as_echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42005 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
42006 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42007 $as_echo_n "(cached) " >&6
42011 ac_cpp='$CXXCPP $CPPFLAGS'
42012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42017 cat >conftest.$ac_ext <<_ACEOF
42020 cat confdefs.h >>conftest.$ac_ext
42021 cat >>conftest.$ac_ext <<_ACEOF
42022 /* end confdefs.h. */
42030 struct servent *se, *res;
42033 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42039 rm -f conftest.$ac_objext
42040 if { (ac_try="$ac_compile"
42041 case "(($ac_try" in
42042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42043 *) ac_try_echo
=$ac_try;;
42045 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
42046 $as_echo "$ac_try_echo") >&5
42047 (eval "$ac_compile") 2>conftest.er1
42049 grep -v '^ *+' conftest.er1
>conftest.err
42051 cat conftest.err
>&5
42052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42053 (exit $ac_status); } && {
42054 test -z "$ac_cxx_werror_flag" ||
42055 test ! -s conftest.err
42056 } && test -s conftest.
$ac_objext; then
42057 ac_cv_func_which_getservbyname_r
=six
42059 $as_echo "$as_me: failed program was:" >&5
42060 sed 's/^/| /' conftest.
$ac_ext >&5
42063 cat >conftest.
$ac_ext <<_ACEOF
42066 cat confdefs.h
>>conftest.
$ac_ext
42067 cat >>conftest.
$ac_ext <<_ACEOF
42068 /* end confdefs.h. */
42076 struct servent *se;
42079 (void) getservbyname_r(name, proto, se, buffer, buflen)
42085 rm -f conftest.
$ac_objext
42086 if { (ac_try
="$ac_compile"
42087 case "(($ac_try" in
42088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42089 *) ac_try_echo=$ac_try;;
42091 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42092 $as_echo "$ac_try_echo") >&5
42093 (eval "$ac_compile") 2>conftest.er1
42095 grep -v '^ *+' conftest.er1 >conftest.err
42097 cat conftest.err >&5
42098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42099 (exit $ac_status); } && {
42100 test -z "$ac_cxx_werror_flag" ||
42101 test ! -s conftest.err
42102 } && test -s conftest.$ac_objext; then
42103 ac_cv_func_which_getservbyname_r=five
42105 $as_echo "$as_me: failed program was:" >&5
42106 sed 's/^/| /' conftest.$ac_ext >&5
42109 cat >conftest.$ac_ext <<_ACEOF
42112 cat confdefs.h >>conftest.$ac_ext
42113 cat >>conftest.$ac_ext <<_ACEOF
42114 /* end confdefs.h. */
42122 struct servent *se;
42123 struct servent_data data;
42124 (void) getservbyname_r(name, proto, se, &data);
42130 rm -f conftest.$ac_objext
42131 if { (ac_try="$ac_compile"
42132 case "(($ac_try" in
42133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42134 *) ac_try_echo
=$ac_try;;
42136 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
42137 $as_echo "$ac_try_echo") >&5
42138 (eval "$ac_compile") 2>conftest.er1
42140 grep -v '^ *+' conftest.er1
>conftest.err
42142 cat conftest.err
>&5
42143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42144 (exit $ac_status); } && {
42145 test -z "$ac_cxx_werror_flag" ||
42146 test ! -s conftest.err
42147 } && test -s conftest.
$ac_objext; then
42148 ac_cv_func_which_getservbyname_r
=four
42150 $as_echo "$as_me: failed program was:" >&5
42151 sed 's/^/| /' conftest.
$ac_ext >&5
42153 ac_cv_func_which_getservbyname_r
=no
42157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42169 ac_cpp
='$CPP $CPPFLAGS'
42170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42177 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42178 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
42180 if test $ac_cv_func_which_getservbyname_r = six
; then
42181 cat >>confdefs.h
<<\_ACEOF
42182 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42185 elif test $ac_cv_func_which_getservbyname_r = five
; then
42186 cat >>confdefs.h
<<\_ACEOF
42187 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42190 elif test $ac_cv_func_which_getservbyname_r = four
; then
42191 cat >>confdefs.h
<<\_ACEOF
42192 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42198 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42199 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42201 for ac_func
in getservbyname
42203 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42204 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
42205 $as_echo_n "checking for $ac_func... " >&6; }
42206 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42207 $as_echo_n "(cached) " >&6
42209 cat >conftest.
$ac_ext <<_ACEOF
42212 cat confdefs.h
>>conftest.
$ac_ext
42213 cat >>conftest.
$ac_ext <<_ACEOF
42214 /* end confdefs.h. */
42215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42217 #define $ac_func innocuous_$ac_func
42219 /* System header to define __stub macros and hopefully few prototypes,
42220 which can conflict with char $ac_func (); below.
42221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42222 <limits.h> exists even on freestanding compilers. */
42225 # include <limits.h>
42227 # include <assert.h>
42232 /* Override any GCC internal prototype to avoid an error.
42233 Use char because int might match the return type of a GCC
42234 builtin and then its argument prototype would still apply. */
42239 /* The GNU C library defines this for functions which it implements
42240 to always fail with ENOSYS. Some functions are actually named
42241 something starting with __ and the normal name is an alias. */
42242 #if defined __stub_$ac_func || defined __stub___$ac_func
42249 return $ac_func ();
42254 rm -f conftest.
$ac_objext conftest
$ac_exeext
42255 if { (ac_try
="$ac_link"
42256 case "(($ac_try" in
42257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42258 *) ac_try_echo=$ac_try;;
42260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42261 $as_echo "$ac_try_echo") >&5
42262 (eval "$ac_link") 2>conftest.er1
42264 grep -v '^ *+' conftest.er1 >conftest.err
42266 cat conftest.err >&5
42267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42268 (exit $ac_status); } && {
42269 test -z "$ac_c_werror_flag" ||
42270 test ! -s conftest.err
42271 } && test -s conftest$ac_exeext && {
42272 test "$cross_compiling" = yes ||
42273 $as_test_x conftest$ac_exeext
42275 eval "$as_ac_var=yes"
42277 $as_echo "$as_me: failed program was:" >&5
42278 sed 's/^/| /' conftest.$ac_ext >&5
42280 eval "$as_ac_var=no"
42283 rm -rf conftest.dSYM
42284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42285 conftest$ac_exeext conftest.$ac_ext
42287 ac_res=`eval 'as_val=${'$as_ac_var'}
42288 $as_echo "$as_val"'`
42289 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
42290 $as_echo "$ac_res" >&6; }
42291 as_val=`eval 'as_val=${'$as_ac_var'}
42292 $as_echo "$as_val"'`
42293 if test "x$as_val" = x""yes; then
42294 cat >>confdefs.h <<_ACEOF
42295 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42297 cat >>confdefs.h <<\_ACEOF
42298 #define HAVE_GETSERVBYNAME 1
42306 if test "$wxUSE_THREADS" = "yes"; then
42307 cat >>confdefs.h <<\_ACEOF
42308 #define wxUSE_THREADS 1
42312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42314 if test "$wx_cv_func_strtok_r" = "yes"; then
42315 { $as_echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42316 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
42317 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42318 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42319 { $as_echo "$as_me:$LINENO: result: yes" >&5
42320 $as_echo "yes" >&6; }
42322 { $as_echo "$as_me:$LINENO: result: no" >&5
42323 $as_echo "no" >&6; }
42328 if test "$WXGTK2" = 1 ; then
42329 cat >>confdefs.h <<_ACEOF
42330 #define __WXGTK20__ $WXGTK2
42336 if test "$WXGTK12" = 1 ; then
42337 cat >>confdefs.h <<_ACEOF
42338 #define __WXGTK12__ $WXGTK12
42343 if test "$WXGTK127" = 1 ; then
42344 cat >>confdefs.h <<_ACEOF
42345 #define __WXGTK127__ $WXGTK127
42350 if test "$WXGPE" = 1 ; then
42351 cat >>confdefs.h <<_ACEOF
42352 #define __WXGPE__ $WXGPE
42358 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
42359 { $as_echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42360 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42361 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42365 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42366 wxUSE_DEBUG_INFO=yes
42367 if test "$GCC" = yes; then
42368 DEBUG_CFLAGS="-ggdb"
42372 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42373 cat >>confdefs.h <<\_ACEOF
42377 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42379 if test "$wxUSE_GTK" = 1 ; then
42380 if test "x$wxGTK_VERSION" = "x1" ; then
42381 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42386 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42387 cat >>confdefs.h <<\_ACEOF
42388 #define wxUSE_MEMORY_TRACING 1
42391 cat >>confdefs.h <<\_ACEOF
42392 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42395 cat >>confdefs.h <<\_ACEOF
42396 #define wxUSE_DEBUG_NEW_ALWAYS 1
42399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42402 if test "$wxUSE_DMALLOC" = "yes" ; then
42403 DMALLOC_LIBS="-ldmallocthcxx"
42407 if test "$wxUSE_PROFILE" = "yes" ; then
42408 PROFILE_FLAGS=" -pg"
42411 if test "$GCC" = "yes" ; then
42412 if test "$wxUSE_NO_RTTI" = "yes" ; then
42413 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42415 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42416 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42418 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42419 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42424 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42427 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42433 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
42434 { $as_echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42435 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42437 if test "$wxUSE_OPTIMISE" = "no" ; then
42438 if test "$GCC" = yes ; then
42439 OPTIMISE_CFLAGS="-O0"
42442 if test "$GCC" = yes ; then
42444 *-pc-os2_emx | *-pc-os2-emx )
42445 OPTIMISE_CFLAGS="-O2"
42448 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42452 OPTIMISE_CFLAGS="-O"
42458 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42459 cat >>confdefs.h <<\_ACEOF
42460 #define WXWIN_COMPATIBILITY_2_6 1
42464 WXWIN_COMPATIBILITY_2_8="yes"
42467 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42468 cat >>confdefs.h <<\_ACEOF
42469 #define WXWIN_COMPATIBILITY_2_8 1
42475 if test "$wxUSE_GUI" = "yes"; then
42476 cat >>confdefs.h <<\_ACEOF
42477 #define wxUSE_GUI 1
42484 if test "$wxUSE_UNIX" = "yes"; then
42485 cat >>confdefs.h <<\_ACEOF
42486 #define wxUSE_UNIX 1
42492 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42496 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42497 if test "$USE_DOS" = 1; then
42501 for ac_func in dlopen
42503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42504 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
42505 $as_echo_n "checking for $ac_func... " >&6; }
42506 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42507 $as_echo_n "(cached) " >&6
42509 cat >conftest.$ac_ext <<_ACEOF
42512 cat confdefs.h >>conftest.$ac_ext
42513 cat >>conftest.$ac_ext <<_ACEOF
42514 /* end confdefs.h. */
42515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42517 #define $ac_func innocuous_$ac_func
42519 /* System header to define __stub macros and hopefully few prototypes,
42520 which can conflict with char $ac_func (); below.
42521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42522 <limits.h> exists even on freestanding compilers. */
42525 # include <limits.h>
42527 # include <assert.h>
42532 /* Override any GCC internal prototype to avoid an error.
42533 Use char because int might match the return type of a GCC
42534 builtin and then its argument prototype would still apply. */
42539 /* The GNU C library defines this for functions which it implements
42540 to always fail with ENOSYS. Some functions are actually named
42541 something starting with __ and the normal name is an alias. */
42542 #if defined __stub_$ac_func || defined __stub___$ac_func
42549 return $ac_func ();
42554 rm -f conftest.$ac_objext conftest$ac_exeext
42555 if { (ac_try="$ac_link"
42556 case "(($ac_try" in
42557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42558 *) ac_try_echo
=$ac_try;;
42560 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
42561 $as_echo "$ac_try_echo") >&5
42562 (eval "$ac_link") 2>conftest.er1
42564 grep -v '^ *+' conftest.er1
>conftest.err
42566 cat conftest.err
>&5
42567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42568 (exit $ac_status); } && {
42569 test -z "$ac_c_werror_flag" ||
42570 test ! -s conftest.err
42571 } && test -s conftest
$ac_exeext && {
42572 test "$cross_compiling" = yes ||
42573 $as_test_x conftest
$ac_exeext
42575 eval "$as_ac_var=yes"
42577 $as_echo "$as_me: failed program was:" >&5
42578 sed 's/^/| /' conftest.
$ac_ext >&5
42580 eval "$as_ac_var=no"
42583 rm -rf conftest.dSYM
42584 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42585 conftest
$ac_exeext conftest.
$ac_ext
42587 ac_res
=`eval 'as_val=${'$as_ac_var'}
42588 $as_echo "$as_val"'`
42589 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
42590 $as_echo "$ac_res" >&6; }
42591 as_val
=`eval 'as_val=${'$as_ac_var'}
42592 $as_echo "$as_val"'`
42593 if test "x$as_val" = x
""yes; then
42594 cat >>confdefs.h
<<_ACEOF
42595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42598 cat >>confdefs.h
<<\_ACEOF
42599 #define HAVE_DLOPEN 1
42606 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42607 $as_echo_n "checking for dlopen in -ldl... " >&6; }
42608 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42609 $as_echo_n "(cached) " >&6
42611 ac_check_lib_save_LIBS
=$LIBS
42613 cat >conftest.
$ac_ext <<_ACEOF
42616 cat confdefs.h
>>conftest.
$ac_ext
42617 cat >>conftest.
$ac_ext <<_ACEOF
42618 /* end confdefs.h. */
42620 /* Override any GCC internal prototype to avoid an error.
42621 Use char because int might match the return type of a GCC
42622 builtin and then its argument prototype would still apply. */
42635 rm -f conftest.
$ac_objext conftest
$ac_exeext
42636 if { (ac_try
="$ac_link"
42637 case "(($ac_try" in
42638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42639 *) ac_try_echo=$ac_try;;
42641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42642 $as_echo "$ac_try_echo") >&5
42643 (eval "$ac_link") 2>conftest.er1
42645 grep -v '^ *+' conftest.er1 >conftest.err
42647 cat conftest.err >&5
42648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); } && {
42650 test -z "$ac_c_werror_flag" ||
42651 test ! -s conftest.err
42652 } && test -s conftest$ac_exeext && {
42653 test "$cross_compiling" = yes ||
42654 $as_test_x conftest$ac_exeext
42656 ac_cv_lib_dl_dlopen=yes
42658 $as_echo "$as_me: failed program was:" >&5
42659 sed 's/^/| /' conftest.$ac_ext >&5
42661 ac_cv_lib_dl_dlopen=no
42664 rm -rf conftest.dSYM
42665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42666 conftest$ac_exeext conftest.$ac_ext
42667 LIBS=$ac_check_lib_save_LIBS
42669 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42670 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
42671 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
42673 cat >>confdefs.h <<\_ACEOF
42674 #define HAVE_DLOPEN 1
42678 DL_LINK=" -ldl$DL_LINK"
42683 for ac_func in shl_load
42685 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42686 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
42687 $as_echo_n "checking for $ac_func... " >&6; }
42688 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42689 $as_echo_n "(cached) " >&6
42691 cat >conftest.$ac_ext <<_ACEOF
42694 cat confdefs.h >>conftest.$ac_ext
42695 cat >>conftest.$ac_ext <<_ACEOF
42696 /* end confdefs.h. */
42697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42699 #define $ac_func innocuous_$ac_func
42701 /* System header to define __stub macros and hopefully few prototypes,
42702 which can conflict with char $ac_func (); below.
42703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42704 <limits.h> exists even on freestanding compilers. */
42707 # include <limits.h>
42709 # include <assert.h>
42714 /* Override any GCC internal prototype to avoid an error.
42715 Use char because int might match the return type of a GCC
42716 builtin and then its argument prototype would still apply. */
42721 /* The GNU C library defines this for functions which it implements
42722 to always fail with ENOSYS. Some functions are actually named
42723 something starting with __ and the normal name is an alias. */
42724 #if defined __stub_$ac_func || defined __stub___$ac_func
42731 return $ac_func ();
42736 rm -f conftest.$ac_objext conftest$ac_exeext
42737 if { (ac_try="$ac_link"
42738 case "(($ac_try" in
42739 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42740 *) ac_try_echo
=$ac_try;;
42742 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
42743 $as_echo "$ac_try_echo") >&5
42744 (eval "$ac_link") 2>conftest.er1
42746 grep -v '^ *+' conftest.er1
>conftest.err
42748 cat conftest.err
>&5
42749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42750 (exit $ac_status); } && {
42751 test -z "$ac_c_werror_flag" ||
42752 test ! -s conftest.err
42753 } && test -s conftest
$ac_exeext && {
42754 test "$cross_compiling" = yes ||
42755 $as_test_x conftest
$ac_exeext
42757 eval "$as_ac_var=yes"
42759 $as_echo "$as_me: failed program was:" >&5
42760 sed 's/^/| /' conftest.
$ac_ext >&5
42762 eval "$as_ac_var=no"
42765 rm -rf conftest.dSYM
42766 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42767 conftest
$ac_exeext conftest.
$ac_ext
42769 ac_res
=`eval 'as_val=${'$as_ac_var'}
42770 $as_echo "$as_val"'`
42771 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
42772 $as_echo "$ac_res" >&6; }
42773 as_val
=`eval 'as_val=${'$as_ac_var'}
42774 $as_echo "$as_val"'`
42775 if test "x$as_val" = x
""yes; then
42776 cat >>confdefs.h
<<_ACEOF
42777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42780 cat >>confdefs.h
<<\_ACEOF
42781 #define HAVE_SHL_LOAD 1
42788 { $as_echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42789 $as_echo_n "checking for dld in -lshl_load... " >&6; }
42790 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42791 $as_echo_n "(cached) " >&6
42793 ac_check_lib_save_LIBS
=$LIBS
42794 LIBS
="-lshl_load $LIBS"
42795 cat >conftest.
$ac_ext <<_ACEOF
42798 cat confdefs.h
>>conftest.
$ac_ext
42799 cat >>conftest.
$ac_ext <<_ACEOF
42800 /* end confdefs.h. */
42802 /* Override any GCC internal prototype to avoid an error.
42803 Use char because int might match the return type of a GCC
42804 builtin and then its argument prototype would still apply. */
42817 rm -f conftest.
$ac_objext conftest
$ac_exeext
42818 if { (ac_try
="$ac_link"
42819 case "(($ac_try" in
42820 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42821 *) ac_try_echo=$ac_try;;
42823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
42824 $as_echo "$ac_try_echo") >&5
42825 (eval "$ac_link") 2>conftest.er1
42827 grep -v '^ *+' conftest.er1 >conftest.err
42829 cat conftest.err >&5
42830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42831 (exit $ac_status); } && {
42832 test -z "$ac_c_werror_flag" ||
42833 test ! -s conftest.err
42834 } && test -s conftest$ac_exeext && {
42835 test "$cross_compiling" = yes ||
42836 $as_test_x conftest$ac_exeext
42838 ac_cv_lib_shl_load_dld=yes
42840 $as_echo "$as_me: failed program was:" >&5
42841 sed 's/^/| /' conftest.$ac_ext >&5
42843 ac_cv_lib_shl_load_dld=no
42846 rm -rf conftest.dSYM
42847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42848 conftest$ac_exeext conftest.$ac_ext
42849 LIBS=$ac_check_lib_save_LIBS
42851 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42852 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
42853 if test "x$ac_cv_lib_shl_load_dld" = x""yes; then
42856 DL_LINK=" -ldld$DL_LINK"
42872 if test "$HAVE_DL_FUNCS" = 1; then
42874 for ac_func in dlerror
42876 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42877 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
42878 $as_echo_n "checking for $ac_func... " >&6; }
42879 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42880 $as_echo_n "(cached) " >&6
42882 cat >conftest.$ac_ext <<_ACEOF
42885 cat confdefs.h >>conftest.$ac_ext
42886 cat >>conftest.$ac_ext <<_ACEOF
42887 /* end confdefs.h. */
42888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42890 #define $ac_func innocuous_$ac_func
42892 /* System header to define __stub macros and hopefully few prototypes,
42893 which can conflict with char $ac_func (); below.
42894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42895 <limits.h> exists even on freestanding compilers. */
42898 # include <limits.h>
42900 # include <assert.h>
42905 /* Override any GCC internal prototype to avoid an error.
42906 Use char because int might match the return type of a GCC
42907 builtin and then its argument prototype would still apply. */
42912 /* The GNU C library defines this for functions which it implements
42913 to always fail with ENOSYS. Some functions are actually named
42914 something starting with __ and the normal name is an alias. */
42915 #if defined __stub_$ac_func || defined __stub___$ac_func
42922 return $ac_func ();
42927 rm -f conftest.$ac_objext conftest$ac_exeext
42928 if { (ac_try="$ac_link"
42929 case "(($ac_try" in
42930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42931 *) ac_try_echo
=$ac_try;;
42933 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
42934 $as_echo "$ac_try_echo") >&5
42935 (eval "$ac_link") 2>conftest.er1
42937 grep -v '^ *+' conftest.er1
>conftest.err
42939 cat conftest.err
>&5
42940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
42941 (exit $ac_status); } && {
42942 test -z "$ac_c_werror_flag" ||
42943 test ! -s conftest.err
42944 } && test -s conftest
$ac_exeext && {
42945 test "$cross_compiling" = yes ||
42946 $as_test_x conftest
$ac_exeext
42948 eval "$as_ac_var=yes"
42950 $as_echo "$as_me: failed program was:" >&5
42951 sed 's/^/| /' conftest.
$ac_ext >&5
42953 eval "$as_ac_var=no"
42956 rm -rf conftest.dSYM
42957 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42958 conftest
$ac_exeext conftest.
$ac_ext
42960 ac_res
=`eval 'as_val=${'$as_ac_var'}
42961 $as_echo "$as_val"'`
42962 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
42963 $as_echo "$ac_res" >&6; }
42964 as_val
=`eval 'as_val=${'$as_ac_var'}
42965 $as_echo "$as_val"'`
42966 if test "x$as_val" = x
""yes; then
42967 cat >>confdefs.h
<<_ACEOF
42968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42970 cat >>confdefs.h
<<\_ACEOF
42971 #define HAVE_DLERROR 1
42976 { $as_echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42977 $as_echo_n "checking for dlerror in -ldl... " >&6; }
42978 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42979 $as_echo_n "(cached) " >&6
42981 ac_check_lib_save_LIBS
=$LIBS
42983 cat >conftest.
$ac_ext <<_ACEOF
42986 cat confdefs.h
>>conftest.
$ac_ext
42987 cat >>conftest.
$ac_ext <<_ACEOF
42988 /* end confdefs.h. */
42990 /* Override any GCC internal prototype to avoid an error.
42991 Use char because int might match the return type of a GCC
42992 builtin and then its argument prototype would still apply. */
43005 rm -f conftest.
$ac_objext conftest
$ac_exeext
43006 if { (ac_try
="$ac_link"
43007 case "(($ac_try" in
43008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43009 *) ac_try_echo=$ac_try;;
43011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43012 $as_echo "$ac_try_echo") >&5
43013 (eval "$ac_link") 2>conftest.er1
43015 grep -v '^ *+' conftest.er1 >conftest.err
43017 cat conftest.err >&5
43018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43019 (exit $ac_status); } && {
43020 test -z "$ac_c_werror_flag" ||
43021 test ! -s conftest.err
43022 } && test -s conftest$ac_exeext && {
43023 test "$cross_compiling" = yes ||
43024 $as_test_x conftest$ac_exeext
43026 ac_cv_lib_dl_dlerror=yes
43028 $as_echo "$as_me: failed program was:" >&5
43029 sed 's/^/| /' conftest.$ac_ext >&5
43031 ac_cv_lib_dl_dlerror=no
43034 rm -rf conftest.dSYM
43035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43036 conftest$ac_exeext conftest.$ac_ext
43037 LIBS=$ac_check_lib_save_LIBS
43039 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43040 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
43041 if test "x$ac_cv_lib_dl_dlerror" = x""yes; then
43042 cat >>confdefs.h <<\_ACEOF
43043 #define HAVE_DLERROR 1
43056 if test "$USE_DARWIN" = 1; then
43060 if test "$HAVE_DL_FUNCS" = 0; then
43061 if test "$HAVE_SHL_FUNCS" = 0; then
43062 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43063 { $as_echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43064 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43065 wxUSE_DYNAMIC_LOADER=no
43066 wxUSE_DYNLIB_CLASS=no
43068 { $as_echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43069 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43076 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43077 cat >>confdefs.h <<\_ACEOF
43078 #define wxUSE_DYNAMIC_LOADER 1
43082 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43083 cat >>confdefs.h <<\_ACEOF
43084 #define wxUSE_DYNLIB_CLASS 1
43091 if test "$wxUSE_PLUGINS" = "yes" ; then
43092 if test "$wxUSE_SHARED" = "no" ; then
43093 { $as_echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43094 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43097 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43098 { $as_echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43099 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43102 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43103 { $as_echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43104 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43107 if test "$wxUSE_PLUGINS" = "yes" ; then
43108 cat >>confdefs.h <<\_ACEOF
43109 #define wxUSE_PLUGINS 1
43116 if test "$wxUSE_STL" = "yes"; then
43117 cat >>confdefs.h <<\_ACEOF
43118 #define wxUSE_STL 1
43123 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43124 cat >>confdefs.h <<\_ACEOF
43125 #define wxUSE_EXTENDED_RTTI 1
43130 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43131 cat >>confdefs.h <<\_ACEOF
43132 #define wxUSE_APPLE_IEEE 1
43137 if test "$wxUSE_TIMER" = "yes"; then
43138 cat >>confdefs.h <<\_ACEOF
43139 #define wxUSE_TIMER 1
43144 if test "$USE_UNIX" = 1 ; then
43145 if test "$wxUSE_MGL" != 1; then
43146 { $as_echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43147 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
43148 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43149 $as_echo_n "(cached) " >&6
43152 cat >conftest.$ac_ext <<_ACEOF
43155 cat confdefs.h >>conftest.$ac_ext
43156 cat >>conftest.$ac_ext <<_ACEOF
43157 /* end confdefs.h. */
43159 #include <sys/ioctl.h>
43160 #include <sys/soundcard.h>
43166 ioctl(0, SNDCTL_DSP_SPEED, 0);
43172 rm -f conftest.$ac_objext conftest$ac_exeext
43173 if { (ac_try="$ac_link"
43174 case "(($ac_try" in
43175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43176 *) ac_try_echo
=$ac_try;;
43178 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
43179 $as_echo "$ac_try_echo") >&5
43180 (eval "$ac_link") 2>conftest.er1
43182 grep -v '^ *+' conftest.er1
>conftest.err
43184 cat conftest.err
>&5
43185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186 (exit $ac_status); } && {
43187 test -z "$ac_c_werror_flag" ||
43188 test ! -s conftest.err
43189 } && test -s conftest
$ac_exeext && {
43190 test "$cross_compiling" = yes ||
43191 $as_test_x conftest
$ac_exeext
43193 ac_cv_header_sys_soundcard
=yes
43195 $as_echo "$as_me: failed program was:" >&5
43196 sed 's/^/| /' conftest.
$ac_ext >&5
43200 LIBS
="$saveLibs -lossaudio"
43201 cat >conftest.
$ac_ext <<_ACEOF
43204 cat confdefs.h
>>conftest.
$ac_ext
43205 cat >>conftest.
$ac_ext <<_ACEOF
43206 /* end confdefs.h. */
43208 #include <sys/ioctl.h>
43209 #include <sys/soundcard.h>
43215 ioctl(0, SNDCTL_DSP_SPEED, 0);
43221 rm -f conftest.
$ac_objext conftest
$ac_exeext
43222 if { (ac_try
="$ac_link"
43223 case "(($ac_try" in
43224 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43225 *) ac_try_echo=$ac_try;;
43227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43228 $as_echo "$ac_try_echo") >&5
43229 (eval "$ac_link") 2>conftest.er1
43231 grep -v '^ *+' conftest.er1 >conftest.err
43233 cat conftest.err >&5
43234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43235 (exit $ac_status); } && {
43236 test -z "$ac_c_werror_flag" ||
43237 test ! -s conftest.err
43238 } && test -s conftest$ac_exeext && {
43239 test "$cross_compiling" = yes ||
43240 $as_test_x conftest$ac_exeext
43242 ac_cv_header_sys_soundcard=yes
43244 $as_echo "$as_me: failed program was:" >&5
43245 sed 's/^/| /' conftest.$ac_ext >&5
43249 ac_cv_header_sys_soundcard=no
43254 rm -rf conftest.dSYM
43255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43256 conftest$ac_exeext conftest.$ac_ext
43261 rm -rf conftest.dSYM
43262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43263 conftest$ac_exeext conftest.$ac_ext
43266 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43267 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
43270 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43271 cat >>confdefs.h <<\_ACEOF
43272 #define HAVE_SYS_SOUNDCARD_H 1
43279 if test "$wxUSE_SOUND" = "yes"; then
43280 if test "$USE_UNIX" = 1 ; then
43281 if test "$wxUSE_LIBSDL" != "no"; then
43283 # Check whether --with-sdl-prefix was given.
43284 if test "${with_sdl_prefix+set}" = set; then
43285 withval=$with_sdl_prefix; sdl_prefix="$withval"
43291 # Check whether --with-sdl-exec-prefix was given.
43292 if test "${with_sdl_exec_prefix+set}" = set; then
43293 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43298 # Check whether --enable-sdltest was given.
43299 if test "${enable_sdltest+set}" = set; then
43300 enableval=$enable_sdltest;
43306 if test x$sdl_exec_prefix != x ; then
43307 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43308 if test x${SDL_CONFIG+set} != xset ; then
43309 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43312 if test x$sdl_prefix != x ; then
43313 sdl_args="$sdl_args --prefix=$sdl_prefix"
43314 if test x${SDL_CONFIG+set} != xset ; then
43315 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43319 if test "x$prefix" != xNONE; then
43320 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43322 # Extract the first word of "sdl-config", so it can be a program name with args.
43323 set dummy sdl-config; ac_word=$2
43324 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
43325 $as_echo_n "checking for $ac_word... " >&6; }
43326 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43327 $as_echo_n "(cached) " >&6
43329 case $SDL_CONFIG in
43331 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43335 for as_dir in $PATH
43338 test -z "$as_dir" && as_dir=.
43339 for ac_exec_ext in '' $ac_executable_extensions; do
43340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43341 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43342 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43349 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43353 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43354 if test -n "$SDL_CONFIG"; then
43355 { $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43356 $as_echo "$SDL_CONFIG" >&6; }
43358 { $as_echo "$as_me:$LINENO: result: no" >&5
43359 $as_echo "no" >&6; }
43363 min_sdl_version=1.2.0
43364 { $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43365 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
43367 if test "$SDL_CONFIG" = "no" ; then
43370 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43371 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43373 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43375 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43377 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43379 if test "x$enable_sdltest" = "xyes" ; then
43380 ac_save_CFLAGS="$CFLAGS"
43381 ac_save_CXXFLAGS="$CXXFLAGS"
43382 ac_save_LIBS="$LIBS"
43383 CFLAGS="$CFLAGS $SDL_CFLAGS"
43384 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43385 LIBS="$LIBS $SDL_LIBS"
43387 if test "$cross_compiling" = yes; then
43388 echo $ac_n "cross compiling; assumed OK... $ac_c"
43390 cat >conftest.$ac_ext <<_ACEOF
43393 cat confdefs.h >>conftest.$ac_ext
43394 cat >>conftest.$ac_ext <<_ACEOF
43395 /* end confdefs.h. */
43398 #include <stdlib.h>
43399 #include <string.h>
43403 my_strdup (char *str)
43409 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43410 strcpy (new_str, str);
43418 int main (int argc, char *argv[])
43420 int major, minor, micro;
43423 /* This hangs on some systems (?)
43424 system ("touch conf.sdltest");
43426 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43428 /* HP/UX 9 (%@#!) writes to sscanf strings */
43429 tmp_version = my_strdup("$min_sdl_version");
43430 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
43431 printf("%s, bad version string\n", "$min_sdl_version");
43435 if (($sdl_major_version > major) ||
43436 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43437 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43443 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43444 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43445 printf("*** best to upgrade to the required version.\n");
43446 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43447 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43448 printf("*** config.cache before re-running configure\n");
43455 rm -f conftest$ac_exeext
43456 if { (ac_try="$ac_link"
43457 case "(($ac_try" in
43458 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43459 *) ac_try_echo
=$ac_try;;
43461 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
43462 $as_echo "$ac_try_echo") >&5
43463 (eval "$ac_link") 2>&5
43465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43466 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43467 { (case "(($ac_try" in
43468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43469 *) ac_try_echo=$ac_try;;
43471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
43472 $as_echo "$ac_try_echo") >&5
43473 (eval "$ac_try") 2>&5
43475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43476 (exit $ac_status); }; }; then
43479 $as_echo "$as_me: program exited with status $ac_status" >&5
43480 $as_echo "$as_me: failed program was:" >&5
43481 sed 's/^/| /' conftest.$ac_ext >&5
43483 ( exit $ac_status )
43486 rm -rf conftest.dSYM
43487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43491 CFLAGS="$ac_save_CFLAGS"
43492 CXXFLAGS="$ac_save_CXXFLAGS"
43493 LIBS="$ac_save_LIBS"
43496 if test "x$no_sdl" = x ; then
43497 { $as_echo "$as_me:$LINENO: result: yes" >&5
43498 $as_echo "yes" >&6; }
43500 EXTRALIBS_SDL="$SDL_LIBS"
43501 CFLAGS="$SDL_CFLAGS $CFLAGS"
43502 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43503 cat >>confdefs.h <<\_ACEOF
43504 #define wxUSE_LIBSDL 1
43509 { $as_echo "$as_me:$LINENO: result: no" >&5
43510 $as_echo "no" >&6; }
43511 if test "$SDL_CONFIG" = "no" ; then
43512 echo "*** The sdl-config script installed by SDL could not be found"
43513 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43514 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43515 echo "*** full path to sdl-config."
43517 if test -f conf.sdltest ; then
43520 echo "*** Could not run SDL test program, checking why..."
43521 CFLAGS="$CFLAGS $SDL_CFLAGS"
43522 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43523 LIBS="$LIBS $SDL_LIBS"
43524 cat >conftest.$ac_ext <<_ACEOF
43527 cat confdefs.h >>conftest.$ac_ext
43528 cat >>conftest.$ac_ext <<_ACEOF
43529 /* end confdefs.h. */
43534 int main(int argc, char *argv[])
43537 #define main K_and_R_C_main
43547 rm -f conftest.$ac_objext conftest$ac_exeext
43548 if { (ac_try="$ac_link"
43549 case "(($ac_try" in
43550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43551 *) ac_try_echo
=$ac_try;;
43553 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
43554 $as_echo "$ac_try_echo") >&5
43555 (eval "$ac_link") 2>conftest.er1
43557 grep -v '^ *+' conftest.er1
>conftest.err
43559 cat conftest.err
>&5
43560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43561 (exit $ac_status); } && {
43562 test -z "$ac_c_werror_flag" ||
43563 test ! -s conftest.err
43564 } && test -s conftest
$ac_exeext && {
43565 test "$cross_compiling" = yes ||
43566 $as_test_x conftest
$ac_exeext
43568 echo "*** The test program compiled, but did not run. This usually means"
43569 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43570 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43571 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43572 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43573 echo "*** is required on your system"
43575 echo "*** If you have an old version installed, it is best to remove it, although"
43576 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43578 $as_echo "$as_me: failed program was:" >&5
43579 sed 's/^/| /' conftest.
$ac_ext >&5
43581 echo "*** The test program failed to compile or link. See the file config.log for the"
43582 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43583 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43584 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43587 rm -rf conftest.dSYM
43588 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43589 conftest
$ac_exeext conftest.
$ac_ext
43590 CFLAGS
="$ac_save_CFLAGS"
43591 CXXFLAGS
="$ac_save_CXXFLAGS"
43592 LIBS
="$ac_save_LIBS"
43603 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43608 if test "$wxUSE_MGL" = 1; then
43609 { $as_echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43610 $as_echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43616 if test "$wxUSE_SOUND" = "yes"; then
43617 cat >>confdefs.h
<<\_ACEOF
43618 #define wxUSE_SOUND 1
43621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43624 if test "$WXGTK2" = 1; then
43627 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43628 if test -n "$ac_tool_prefix"; then
43629 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43630 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43631 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
43632 $as_echo_n "checking for $ac_word... " >&6; }
43633 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43634 $as_echo_n "(cached) " >&6
43636 case $PKG_CONFIG in
43638 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43642 for as_dir
in $PATH
43645 test -z "$as_dir" && as_dir
=.
43646 for ac_exec_ext
in '' $ac_executable_extensions; do
43647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43648 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43649 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43659 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43660 if test -n "$PKG_CONFIG"; then
43661 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43662 $as_echo "$PKG_CONFIG" >&6; }
43664 { $as_echo "$as_me:$LINENO: result: no" >&5
43665 $as_echo "no" >&6; }
43670 if test -z "$ac_cv_path_PKG_CONFIG"; then
43671 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43672 # Extract the first word of "pkg-config", so it can be a program name with args.
43673 set dummy pkg
-config; ac_word
=$2
43674 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
43675 $as_echo_n "checking for $ac_word... " >&6; }
43676 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43677 $as_echo_n "(cached) " >&6
43679 case $ac_pt_PKG_CONFIG in
43681 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43685 for as_dir
in $PATH
43688 test -z "$as_dir" && as_dir
=.
43689 for ac_exec_ext
in '' $ac_executable_extensions; do
43690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43691 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43692 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43702 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43703 if test -n "$ac_pt_PKG_CONFIG"; then
43704 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43705 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
43707 { $as_echo "$as_me:$LINENO: result: no" >&5
43708 $as_echo "no" >&6; }
43711 if test "x$ac_pt_PKG_CONFIG" = x
; then
43714 case $cross_compiling:$ac_tool_warned in
43716 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
43717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
43718 ac_tool_warned
=yes ;;
43720 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43723 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43727 if test -n "$PKG_CONFIG"; then
43728 _pkg_min_version
=0.9.0
43729 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43730 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
43731 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43732 { $as_echo "$as_me:$LINENO: result: yes" >&5
43733 $as_echo "yes" >&6; }
43735 { $as_echo "$as_me:$LINENO: result: no" >&5
43736 $as_echo "no" >&6; }
43742 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43744 if test "$wxUSE_GTKPRINT" = "yes" ; then
43748 { $as_echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43749 $as_echo_n "checking for GTKPRINT... " >&6; }
43751 if test -n "$PKG_CONFIG"; then
43752 if test -n "$GTKPRINT_CFLAGS"; then
43753 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
43755 if test -n "$PKG_CONFIG" && \
43756 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43757 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); }; then
43761 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43769 if test -n "$PKG_CONFIG"; then
43770 if test -n "$GTKPRINT_LIBS"; then
43771 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
43773 if test -n "$PKG_CONFIG" && \
43774 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43775 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43778 (exit $ac_status); }; then
43779 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43790 if test $pkg_failed = yes; then
43792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43793 _pkg_short_errors_supported
=yes
43795 _pkg_short_errors_supported
=no
43797 if test $_pkg_short_errors_supported = yes; then
43798 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43800 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43802 # Put the nasty error message in config.log where it belongs
43803 echo "$GTKPRINT_PKG_ERRORS" >&5
43806 { $as_echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43807 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43808 wxUSE_GTKPRINT
="no"
43811 elif test $pkg_failed = untried
; then
43813 { $as_echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43814 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43815 wxUSE_GTKPRINT
="no"
43819 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
43820 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
43821 { $as_echo "$as_me:$LINENO: result: yes" >&5
43822 $as_echo "yes" >&6; }
43824 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
43825 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
43826 cat >>confdefs.h
<<\_ACEOF
43827 #define wxUSE_GTKPRINT 1
43834 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43838 { $as_echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43839 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
43841 if test -n "$PKG_CONFIG"; then
43842 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43843 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43845 if test -n "$PKG_CONFIG" && \
43846 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43847 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43850 (exit $ac_status); }; then
43851 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43859 if test -n "$PKG_CONFIG"; then
43860 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43861 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43863 if test -n "$PKG_CONFIG" && \
43864 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43865 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); }; then
43869 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43880 if test $pkg_failed = yes; then
43882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43883 _pkg_short_errors_supported
=yes
43885 _pkg_short_errors_supported
=no
43887 if test $_pkg_short_errors_supported = yes; then
43888 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43890 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43892 # Put the nasty error message in config.log where it belongs
43893 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43896 { $as_echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43897 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43898 wxUSE_LIBGNOMEPRINT
="no"
43901 elif test $pkg_failed = untried
; then
43903 { $as_echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43904 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43905 wxUSE_LIBGNOMEPRINT
="no"
43909 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43910 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43911 { $as_echo "$as_me:$LINENO: result: yes" >&5
43912 $as_echo "yes" >&6; }
43914 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43915 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43916 cat >>confdefs.h
<<\_ACEOF
43917 #define wxUSE_LIBGNOMEPRINT 1
43925 if test "$wxUSE_MIMETYPE" = "yes" ; then
43926 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43930 { $as_echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43931 $as_echo_n "checking for GNOMEVFS... " >&6; }
43933 if test -n "$PKG_CONFIG"; then
43934 if test -n "$GNOMEVFS_CFLAGS"; then
43935 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43937 if test -n "$PKG_CONFIG" && \
43938 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43939 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43941 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942 (exit $ac_status); }; then
43943 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43951 if test -n "$PKG_CONFIG"; then
43952 if test -n "$GNOMEVFS_LIBS"; then
43953 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43955 if test -n "$PKG_CONFIG" && \
43956 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43957 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960 (exit $ac_status); }; then
43961 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43972 if test $pkg_failed = yes; then
43974 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43975 _pkg_short_errors_supported
=yes
43977 _pkg_short_errors_supported
=no
43979 if test $_pkg_short_errors_supported = yes; then
43980 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43982 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43984 # Put the nasty error message in config.log where it belongs
43985 echo "$GNOMEVFS_PKG_ERRORS" >&5
43988 { $as_echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43989 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43990 wxUSE_LIBGNOMEVFS
="no"
43993 elif test $pkg_failed = untried
; then
43995 { $as_echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43996 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43997 wxUSE_LIBGNOMEVFS
="no"
44001 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44002 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44003 { $as_echo "$as_me:$LINENO: result: yes" >&5
44004 $as_echo "yes" >&6; }
44006 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44007 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44008 cat >>confdefs.h
<<\_ACEOF
44009 #define wxUSE_LIBGNOMEVFS 1
44017 if test "$wxUSE_LIBHILDON" = "yes" ; then
44020 { $as_echo "$as_me:$LINENO: checking for HILDON" >&5
44021 $as_echo_n "checking for HILDON... " >&6; }
44023 if test -n "$PKG_CONFIG"; then
44024 if test -n "$HILDON_CFLAGS"; then
44025 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44027 if test -n "$PKG_CONFIG" && \
44028 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44029 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44032 (exit $ac_status); }; then
44033 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44041 if test -n "$PKG_CONFIG"; then
44042 if test -n "$HILDON_LIBS"; then
44043 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44045 if test -n "$PKG_CONFIG" && \
44046 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44047 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44050 (exit $ac_status); }; then
44051 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44062 if test $pkg_failed = yes; then
44064 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44065 _pkg_short_errors_supported
=yes
44067 _pkg_short_errors_supported
=no
44069 if test $_pkg_short_errors_supported = yes; then
44070 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44072 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44074 # Put the nasty error message in config.log where it belongs
44075 echo "$HILDON_PKG_ERRORS" >&5
44078 { $as_echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44079 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44080 wxUSE_LIBHILDON
="no"
44083 elif test $pkg_failed = untried
; then
44085 { $as_echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44086 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44087 wxUSE_LIBHILDON
="no"
44091 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
44092 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
44093 { $as_echo "$as_me:$LINENO: result: yes" >&5
44094 $as_echo "yes" >&6; }
44096 EXTRALIBS_HILDON
="$HILDON_LIBS"
44097 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
44098 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
44099 cat >>confdefs.h
<<\_ACEOF
44100 #define wxUSE_LIBHILDON 1
44108 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44109 cat >>confdefs.h
<<\_ACEOF
44110 #define wxUSE_CMDLINE_PARSER 1
44115 if test "$wxUSE_STOPWATCH" = "yes"; then
44116 cat >>confdefs.h
<<\_ACEOF
44117 #define wxUSE_STOPWATCH 1
44122 if test "$wxUSE_DATETIME" = "yes"; then
44123 cat >>confdefs.h
<<\_ACEOF
44124 #define wxUSE_DATETIME 1
44129 if test "$wxUSE_FILE" = "yes"; then
44130 cat >>confdefs.h
<<\_ACEOF
44131 #define wxUSE_FILE 1
44136 if test "$wxUSE_FFILE" = "yes"; then
44137 cat >>confdefs.h
<<\_ACEOF
44138 #define wxUSE_FFILE 1
44143 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44144 if test "$wxUSE_STREAMS" != yes; then
44145 { $as_echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44146 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44147 wxUSE_ARCHIVE_STREAMS
=no
44149 cat >>confdefs.h
<<\_ACEOF
44150 #define wxUSE_ARCHIVE_STREAMS 1
44156 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44157 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44158 { $as_echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44159 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44160 elif test "$wxUSE_ZLIB" = "no"; then
44161 { $as_echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44162 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44164 cat >>confdefs.h
<<\_ACEOF
44165 #define wxUSE_ZIPSTREAM 1
44171 if test "$wxUSE_TARSTREAM" = "yes"; then
44172 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44173 { $as_echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44174 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44176 cat >>confdefs.h
<<\_ACEOF
44177 #define wxUSE_TARSTREAM 1
44183 if test "$wxUSE_FILESYSTEM" = "yes"; then
44184 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
44185 { $as_echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44186 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44187 wxUSE_FILESYSTEM
=no
44189 cat >>confdefs.h
<<\_ACEOF
44190 #define wxUSE_FILESYSTEM 1
44196 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44197 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44198 { $as_echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44199 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44201 cat >>confdefs.h
<<\_ACEOF
44202 #define wxUSE_FS_ARCHIVE 1
44208 if test "$wxUSE_FS_ZIP" = "yes"; then
44209 if test "$wxUSE_FS_ARCHIVE" != yes; then
44210 { $as_echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44211 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44213 cat >>confdefs.h
<<\_ACEOF
44214 #define wxUSE_FS_ZIP 1
44220 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44221 if test "$USE_UNIX" != 1; then
44222 { $as_echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44223 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44224 wxUSE_ON_FATAL_EXCEPTION
=no
44226 cat >>confdefs.h
<<\_ACEOF
44227 #define wxUSE_ON_FATAL_EXCEPTION 1
44233 if test "$wxUSE_STACKWALKER" = "yes"; then
44234 cat >>confdefs.h
<<\_ACEOF
44235 #define wxUSE_STACKWALKER 1
44240 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44241 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44242 { $as_echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44243 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44244 wxUSE_DEBUGREPORT
=no
44246 cat >>confdefs.h
<<\_ACEOF
44247 #define wxUSE_DEBUGREPORT 1
44250 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44251 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
44256 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44257 cat >>confdefs.h
<<\_ACEOF
44258 #define wxUSE_SNGLINST_CHECKER 1
44263 if test "$wxUSE_BUSYINFO" = "yes"; then
44264 cat >>confdefs.h
<<\_ACEOF
44265 #define wxUSE_BUSYINFO 1
44270 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44271 cat >>confdefs.h
<<\_ACEOF
44272 #define wxUSE_STD_IOSTREAM 1
44277 if test "$wxUSE_STD_STRING" = "yes"; then
44278 cat >>confdefs.h
<<\_ACEOF
44279 #define wxUSE_STD_STRING 1
44284 if test "$wxUSE_STDPATHS" = "yes"; then
44285 cat >>confdefs.h
<<\_ACEOF
44286 #define wxUSE_STDPATHS 1
44291 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44292 cat >>confdefs.h
<<\_ACEOF
44293 #define wxUSE_TEXTBUFFER 1
44298 if test "$wxUSE_TEXTFILE" = "yes"; then
44299 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44300 { $as_echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44301 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44303 cat >>confdefs.h
<<\_ACEOF
44304 #define wxUSE_TEXTFILE 1
44310 if test "$wxUSE_CONFIG" = "yes" ; then
44311 if test "$wxUSE_TEXTFILE" != "yes"; then
44312 { $as_echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44313 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44315 cat >>confdefs.h
<<\_ACEOF
44316 #define wxUSE_CONFIG 1
44319 cat >>confdefs.h
<<\_ACEOF
44320 #define wxUSE_CONFIG_NATIVE 1
44323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
44327 if test "$wxUSE_INTL" = "yes" ; then
44328 if test "$wxUSE_FILE" != "yes"; then
44329 { $as_echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44330 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44332 cat >>confdefs.h
<<\_ACEOF
44333 #define wxUSE_INTL 1
44336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
44337 GUIDIST
="$GUIDIST INTL_DIST"
44341 if test "$wxUSE_XLOCALE" = "yes" ; then
44342 cat >>confdefs.h
<<\_ACEOF
44343 #define wxUSE_XLOCALE 1
44346 { $as_echo "$as_me:$LINENO: checking for locale_t" >&5
44347 $as_echo_n "checking for locale_t... " >&6; }
44348 if test "${ac_cv_type_locale_t+set}" = set; then
44349 $as_echo_n "(cached) " >&6
44351 ac_cv_type_locale_t
=no
44352 cat >conftest.
$ac_ext <<_ACEOF
44355 cat confdefs.h
>>conftest.
$ac_ext
44356 cat >>conftest.
$ac_ext <<_ACEOF
44357 /* end confdefs.h. */
44358 #include <xlocale.h>
44359 #include <locale.h>
44364 if (sizeof (locale_t))
44370 rm -f conftest.
$ac_objext
44371 if { (ac_try
="$ac_compile"
44372 case "(($ac_try" in
44373 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44374 *) ac_try_echo=$ac_try;;
44376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
44377 $as_echo "$ac_try_echo") >&5
44378 (eval "$ac_compile") 2>conftest.er1
44380 grep -v '^ *+' conftest.er1 >conftest.err
44382 cat conftest.err >&5
44383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384 (exit $ac_status); } && {
44385 test -z "$ac_c_werror_flag" ||
44386 test ! -s conftest.err
44387 } && test -s conftest.$ac_objext; then
44388 cat >conftest.$ac_ext <<_ACEOF
44391 cat confdefs.h >>conftest.$ac_ext
44392 cat >>conftest.$ac_ext <<_ACEOF
44393 /* end confdefs.h. */
44394 #include <xlocale.h>
44395 #include <locale.h>
44400 if (sizeof ((locale_t)))
44406 rm -f conftest.$ac_objext
44407 if { (ac_try="$ac_compile"
44408 case "(($ac_try" in
44409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44410 *) ac_try_echo
=$ac_try;;
44412 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
44413 $as_echo "$ac_try_echo") >&5
44414 (eval "$ac_compile") 2>conftest.er1
44416 grep -v '^ *+' conftest.er1
>conftest.err
44418 cat conftest.err
>&5
44419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44420 (exit $ac_status); } && {
44421 test -z "$ac_c_werror_flag" ||
44422 test ! -s conftest.err
44423 } && test -s conftest.
$ac_objext; then
44426 $as_echo "$as_me: failed program was:" >&5
44427 sed 's/^/| /' conftest.
$ac_ext >&5
44429 ac_cv_type_locale_t
=yes
44432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44434 $as_echo "$as_me: failed program was:" >&5
44435 sed 's/^/| /' conftest.
$ac_ext >&5
44440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44442 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44443 $as_echo "$ac_cv_type_locale_t" >&6; }
44444 if test "x$ac_cv_type_locale_t" = x
""yes; then
44446 cat >>confdefs.h
<<_ACEOF
44447 #define HAVE_LOCALE_T 1
44455 if test "$wxUSE_LOG" = "yes"; then
44456 cat >>confdefs.h
<<\_ACEOF
44457 #define wxUSE_LOG 1
44461 if test "$wxUSE_LOGGUI" = "yes"; then
44462 cat >>confdefs.h
<<\_ACEOF
44463 #define wxUSE_LOGGUI 1
44468 if test "$wxUSE_LOGWINDOW" = "yes"; then
44469 cat >>confdefs.h
<<\_ACEOF
44470 #define wxUSE_LOGWINDOW 1
44475 if test "$wxUSE_LOGDIALOG" = "yes"; then
44476 cat >>confdefs.h
<<\_ACEOF
44477 #define wxUSE_LOG_DIALOG 1
44482 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
44485 if test "$wxUSE_LONGLONG" = "yes"; then
44486 cat >>confdefs.h
<<\_ACEOF
44487 #define wxUSE_LONGLONG 1
44492 if test "$wxUSE_GEOMETRY" = "yes"; then
44493 cat >>confdefs.h
<<\_ACEOF
44494 #define wxUSE_GEOMETRY 1
44499 if test "$wxUSE_BASE64" = "yes"; then
44500 cat >>confdefs.h
<<\_ACEOF
44501 #define wxUSE_BASE64 1
44506 if test "$wxUSE_STREAMS" = "yes" ; then
44507 cat >>confdefs.h
<<\_ACEOF
44508 #define wxUSE_STREAMS 1
44513 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44514 cat >>confdefs.h
<<\_ACEOF
44515 #define wxUSE_PRINTF_POS_PARAMS 1
44520 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44521 cat >>confdefs.h
<<\_ACEOF
44522 #define wxUSE_OBJC_UNIQUIFYING 1
44528 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44529 cat >>confdefs.h
<<\_ACEOF
44530 #define wxUSE_CONSOLE_EVENTLOOP 1
44534 if test "$wxUSE_UNIX" = "yes"; then
44535 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44536 cat >>confdefs.h
<<\_ACEOF
44537 #define wxUSE_SELECT_DISPATCHER 1
44542 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44544 for ac_header
in sys
/epoll.h
44546 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
44547 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
44548 $as_echo_n "checking for $ac_header... " >&6; }
44549 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44550 $as_echo_n "(cached) " >&6
44552 cat >conftest.
$ac_ext <<_ACEOF
44555 cat confdefs.h
>>conftest.
$ac_ext
44556 cat >>conftest.
$ac_ext <<_ACEOF
44557 /* end confdefs.h. */
44558 $ac_includes_default
44560 #include <$ac_header>
44562 rm -f conftest.
$ac_objext
44563 if { (ac_try
="$ac_compile"
44564 case "(($ac_try" in
44565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44566 *) ac_try_echo=$ac_try;;
44568 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
44569 $as_echo "$ac_try_echo") >&5
44570 (eval "$ac_compile") 2>conftest.er1
44572 grep -v '^ *+' conftest.er1 >conftest.err
44574 cat conftest.err >&5
44575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44576 (exit $ac_status); } && {
44577 test -z "$ac_c_werror_flag" ||
44578 test ! -s conftest.err
44579 } && test -s conftest.$ac_objext; then
44580 eval "$as_ac_Header=yes"
44582 $as_echo "$as_me: failed program was:" >&5
44583 sed 's/^/| /' conftest.$ac_ext >&5
44585 eval "$as_ac_Header=no"
44588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44590 ac_res=`eval 'as_val=${'$as_ac_Header'}
44591 $as_echo "$as_val"'`
44592 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
44593 $as_echo "$ac_res" >&6; }
44594 as_val=`eval 'as_val=${'$as_ac_Header'}
44595 $as_echo "$as_val"'`
44596 if test "x$as_val" = x""yes; then
44597 cat >>confdefs.h <<_ACEOF
44598 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
44605 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44606 cat >>confdefs.h <<\_ACEOF
44607 #define wxUSE_EPOLL_DISPATCHER 1
44611 { $as_echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44612 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44621 for ac_func in gettimeofday ftime
44623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44624 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
44625 $as_echo_n "checking for $ac_func... " >&6; }
44626 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44627 $as_echo_n "(cached) " >&6
44629 cat >conftest.$ac_ext <<_ACEOF
44632 cat confdefs.h >>conftest.$ac_ext
44633 cat >>conftest.$ac_ext <<_ACEOF
44634 /* end confdefs.h. */
44635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44637 #define $ac_func innocuous_$ac_func
44639 /* System header to define __stub macros and hopefully few prototypes,
44640 which can conflict with char $ac_func (); below.
44641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44642 <limits.h> exists even on freestanding compilers. */
44645 # include <limits.h>
44647 # include <assert.h>
44652 /* Override any GCC internal prototype to avoid an error.
44653 Use char because int might match the return type of a GCC
44654 builtin and then its argument prototype would still apply. */
44659 /* The GNU C library defines this for functions which it implements
44660 to always fail with ENOSYS. Some functions are actually named
44661 something starting with __ and the normal name is an alias. */
44662 #if defined __stub_$ac_func || defined __stub___$ac_func
44669 return $ac_func ();
44674 rm -f conftest.$ac_objext conftest$ac_exeext
44675 if { (ac_try="$ac_link"
44676 case "(($ac_try" in
44677 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44678 *) ac_try_echo
=$ac_try;;
44680 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
44681 $as_echo "$ac_try_echo") >&5
44682 (eval "$ac_link") 2>conftest.er1
44684 grep -v '^ *+' conftest.er1
>conftest.err
44686 cat conftest.err
>&5
44687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44688 (exit $ac_status); } && {
44689 test -z "$ac_c_werror_flag" ||
44690 test ! -s conftest.err
44691 } && test -s conftest
$ac_exeext && {
44692 test "$cross_compiling" = yes ||
44693 $as_test_x conftest
$ac_exeext
44695 eval "$as_ac_var=yes"
44697 $as_echo "$as_me: failed program was:" >&5
44698 sed 's/^/| /' conftest.
$ac_ext >&5
44700 eval "$as_ac_var=no"
44703 rm -rf conftest.dSYM
44704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44705 conftest
$ac_exeext conftest.
$ac_ext
44707 ac_res
=`eval 'as_val=${'$as_ac_var'}
44708 $as_echo "$as_val"'`
44709 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
44710 $as_echo "$ac_res" >&6; }
44711 as_val
=`eval 'as_val=${'$as_ac_var'}
44712 $as_echo "$as_val"'`
44713 if test "x$as_val" = x
""yes; then
44714 cat >>confdefs.h
<<_ACEOF
44715 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44722 if test "$ac_cv_func_gettimeofday" = "yes"; then
44723 { $as_echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44724 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
44725 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44726 $as_echo_n "(cached) " >&6
44729 cat >conftest.
$ac_ext <<_ACEOF
44732 cat confdefs.h
>>conftest.
$ac_ext
44733 cat >>conftest.
$ac_ext <<_ACEOF
44734 /* end confdefs.h. */
44736 #include <sys/time.h>
44737 #include <unistd.h>
44744 gettimeofday(&tv, NULL);
44750 rm -f conftest.
$ac_objext
44751 if { (ac_try
="$ac_compile"
44752 case "(($ac_try" in
44753 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44754 *) ac_try_echo=$ac_try;;
44756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
44757 $as_echo "$ac_try_echo") >&5
44758 (eval "$ac_compile") 2>conftest.er1
44760 grep -v '^ *+' conftest.er1 >conftest.err
44762 cat conftest.err >&5
44763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44764 (exit $ac_status); } && {
44765 test -z "$ac_c_werror_flag" ||
44766 test ! -s conftest.err
44767 } && test -s conftest.$ac_objext; then
44768 wx_cv_func_gettimeofday_has_2_args=yes
44770 $as_echo "$as_me: failed program was:" >&5
44771 sed 's/^/| /' conftest.$ac_ext >&5
44773 cat >conftest.$ac_ext <<_ACEOF
44776 cat confdefs.h >>conftest.$ac_ext
44777 cat >>conftest.$ac_ext <<_ACEOF
44778 /* end confdefs.h. */
44780 #include <sys/time.h>
44781 #include <unistd.h>
44794 rm -f conftest.$ac_objext
44795 if { (ac_try="$ac_compile"
44796 case "(($ac_try" in
44797 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44798 *) ac_try_echo
=$ac_try;;
44800 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
44801 $as_echo "$ac_try_echo") >&5
44802 (eval "$ac_compile") 2>conftest.er1
44804 grep -v '^ *+' conftest.er1
>conftest.err
44806 cat conftest.err
>&5
44807 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44808 (exit $ac_status); } && {
44809 test -z "$ac_c_werror_flag" ||
44810 test ! -s conftest.err
44811 } && test -s conftest.
$ac_objext; then
44812 wx_cv_func_gettimeofday_has_2_args
=no
44814 $as_echo "$as_me: failed program was:" >&5
44815 sed 's/^/| /' conftest.
$ac_ext >&5
44818 { $as_echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44819 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44820 wx_cv_func_gettimeofday_has_2_args
=unknown
44825 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44832 { $as_echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44833 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
44835 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44836 cat >>confdefs.h
<<\_ACEOF
44837 #define WX_GETTIMEOFDAY_NO_TZ 1
44843 if test "$wxUSE_DATETIME" = "yes"; then
44844 { $as_echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44845 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
44846 if test "${wx_cv_var_timezone+set}" = set; then
44847 $as_echo_n "(cached) " >&6
44851 ac_cpp
='$CXXCPP $CPPFLAGS'
44852 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44853 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44854 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44856 cat >conftest.
$ac_ext <<_ACEOF
44859 cat confdefs.h
>>conftest.
$ac_ext
44860 cat >>conftest.
$ac_ext <<_ACEOF
44861 /* end confdefs.h. */
44876 rm -f conftest.
$ac_objext
44877 if { (ac_try
="$ac_compile"
44878 case "(($ac_try" in
44879 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44880 *) ac_try_echo=$ac_try;;
44882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
44883 $as_echo "$ac_try_echo") >&5
44884 (eval "$ac_compile") 2>conftest.er1
44886 grep -v '^ *+' conftest.er1 >conftest.err
44888 cat conftest.err >&5
44889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44890 (exit $ac_status); } && {
44891 test -z "$ac_cxx_werror_flag" ||
44892 test ! -s conftest.err
44893 } && test -s conftest.$ac_objext; then
44895 wx_cv_var_timezone=timezone
44898 $as_echo "$as_me: failed program was:" >&5
44899 sed 's/^/| /' conftest.$ac_ext >&5
44902 cat >conftest.$ac_ext <<_ACEOF
44905 cat confdefs.h >>conftest.$ac_ext
44906 cat >>conftest.$ac_ext <<_ACEOF
44907 /* end confdefs.h. */
44922 rm -f conftest.$ac_objext
44923 if { (ac_try="$ac_compile"
44924 case "(($ac_try" in
44925 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44926 *) ac_try_echo
=$ac_try;;
44928 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
44929 $as_echo "$ac_try_echo") >&5
44930 (eval "$ac_compile") 2>conftest.er1
44932 grep -v '^ *+' conftest.er1
>conftest.err
44934 cat conftest.err
>&5
44935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44936 (exit $ac_status); } && {
44937 test -z "$ac_cxx_werror_flag" ||
44938 test ! -s conftest.err
44939 } && test -s conftest.
$ac_objext; then
44941 wx_cv_var_timezone
=_timezone
44944 $as_echo "$as_me: failed program was:" >&5
44945 sed 's/^/| /' conftest.
$ac_ext >&5
44948 cat >conftest.
$ac_ext <<_ACEOF
44951 cat confdefs.h
>>conftest.
$ac_ext
44952 cat >>conftest.
$ac_ext <<_ACEOF
44953 /* end confdefs.h. */
44968 rm -f conftest.
$ac_objext
44969 if { (ac_try
="$ac_compile"
44970 case "(($ac_try" in
44971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44972 *) ac_try_echo=$ac_try;;
44974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
44975 $as_echo "$ac_try_echo") >&5
44976 (eval "$ac_compile") 2>conftest.er1
44978 grep -v '^ *+' conftest.er1 >conftest.err
44980 cat conftest.err >&5
44981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
44982 (exit $ac_status); } && {
44983 test -z "$ac_cxx_werror_flag" ||
44984 test ! -s conftest.err
44985 } && test -s conftest.$ac_objext; then
44987 wx_cv_var_timezone=__timezone
44990 $as_echo "$as_me: failed program was:" >&5
44991 sed 's/^/| /' conftest.$ac_ext >&5
44994 if test "$USE_DOS" = 0 ; then
44995 { $as_echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44996 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
45002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45014 ac_cpp='$CPP $CPPFLAGS'
45015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45022 { $as_echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45023 $as_echo "$wx_cv_var_timezone" >&6; }
45025 if test "x$wx_cv_var_timezone" != x ; then
45026 cat >>confdefs.h <<_ACEOF
45027 #define WX_TIMEZONE $wx_cv_var_timezone
45033 for ac_func in localtime
45035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45036 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
45037 $as_echo_n "checking for $ac_func... " >&6; }
45038 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45039 $as_echo_n "(cached) " >&6
45041 cat >conftest.$ac_ext <<_ACEOF
45044 cat confdefs.h >>conftest.$ac_ext
45045 cat >>conftest.$ac_ext <<_ACEOF
45046 /* end confdefs.h. */
45047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45049 #define $ac_func innocuous_$ac_func
45051 /* System header to define __stub macros and hopefully few prototypes,
45052 which can conflict with char $ac_func (); below.
45053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45054 <limits.h> exists even on freestanding compilers. */
45057 # include <limits.h>
45059 # include <assert.h>
45064 /* Override any GCC internal prototype to avoid an error.
45065 Use char because int might match the return type of a GCC
45066 builtin and then its argument prototype would still apply. */
45071 /* The GNU C library defines this for functions which it implements
45072 to always fail with ENOSYS. Some functions are actually named
45073 something starting with __ and the normal name is an alias. */
45074 #if defined __stub_$ac_func || defined __stub___$ac_func
45081 return $ac_func ();
45086 rm -f conftest.$ac_objext conftest$ac_exeext
45087 if { (ac_try="$ac_link"
45088 case "(($ac_try" in
45089 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45090 *) ac_try_echo
=$ac_try;;
45092 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
45093 $as_echo "$ac_try_echo") >&5
45094 (eval "$ac_link") 2>conftest.er1
45096 grep -v '^ *+' conftest.er1
>conftest.err
45098 cat conftest.err
>&5
45099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45100 (exit $ac_status); } && {
45101 test -z "$ac_c_werror_flag" ||
45102 test ! -s conftest.err
45103 } && test -s conftest
$ac_exeext && {
45104 test "$cross_compiling" = yes ||
45105 $as_test_x conftest
$ac_exeext
45107 eval "$as_ac_var=yes"
45109 $as_echo "$as_me: failed program was:" >&5
45110 sed 's/^/| /' conftest.
$ac_ext >&5
45112 eval "$as_ac_var=no"
45115 rm -rf conftest.dSYM
45116 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45117 conftest
$ac_exeext conftest.
$ac_ext
45119 ac_res
=`eval 'as_val=${'$as_ac_var'}
45120 $as_echo "$as_val"'`
45121 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
45122 $as_echo "$ac_res" >&6; }
45123 as_val
=`eval 'as_val=${'$as_ac_var'}
45124 $as_echo "$as_val"'`
45125 if test "x$as_val" = x
""yes; then
45126 cat >>confdefs.h
<<_ACEOF
45127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45134 if test "$ac_cv_func_localtime" = "yes"; then
45135 { $as_echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45136 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
45137 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45138 $as_echo_n "(cached) " >&6
45141 cat >conftest.
$ac_ext <<_ACEOF
45144 cat confdefs.h
>>conftest.
$ac_ext
45145 cat >>conftest.
$ac_ext <<_ACEOF
45146 /* end confdefs.h. */
45161 rm -f conftest.
$ac_objext
45162 if { (ac_try
="$ac_compile"
45163 case "(($ac_try" in
45164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45165 *) ac_try_echo=$ac_try;;
45167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
45168 $as_echo "$ac_try_echo") >&5
45169 (eval "$ac_compile") 2>conftest.er1
45171 grep -v '^ *+' conftest.er1 >conftest.err
45173 cat conftest.err >&5
45174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45175 (exit $ac_status); } && {
45176 test -z "$ac_c_werror_flag" ||
45177 test ! -s conftest.err
45178 } && test -s conftest.$ac_objext; then
45180 wx_cv_struct_tm_has_gmtoff=yes
45183 $as_echo "$as_me: failed program was:" >&5
45184 sed 's/^/| /' conftest.$ac_ext >&5
45186 wx_cv_struct_tm_has_gmtoff=no
45190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45193 { $as_echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45194 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
45197 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45198 cat >>confdefs.h <<\_ACEOF
45199 #define WX_GMTOFF_IN_TM 1
45204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45208 if test "$wxUSE_SOCKETS" = "yes"; then
45209 if test "$wxUSE_MGL" = 1; then
45210 { $as_echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45211 $as_echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45216 if test "$wxUSE_SOCKETS" = "yes"; then
45217 if test "$TOOLKIT" != "MSW"; then
45218 { $as_echo "$as_me:$LINENO: checking for socket" >&5
45219 $as_echo_n "checking for socket... " >&6; }
45220 if test "${ac_cv_func_socket+set}" = set; then
45221 $as_echo_n "(cached) " >&6
45223 cat >conftest.$ac_ext <<_ACEOF
45226 cat confdefs.h >>conftest.$ac_ext
45227 cat >>conftest.$ac_ext <<_ACEOF
45228 /* end confdefs.h. */
45229 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45231 #define socket innocuous_socket
45233 /* System header to define __stub macros and hopefully few prototypes,
45234 which can conflict with char socket (); below.
45235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45236 <limits.h> exists even on freestanding compilers. */
45239 # include <limits.h>
45241 # include <assert.h>
45246 /* Override any GCC internal prototype to avoid an error.
45247 Use char because int might match the return type of a GCC
45248 builtin and then its argument prototype would still apply. */
45253 /* The GNU C library defines this for functions which it implements
45254 to always fail with ENOSYS. Some functions are actually named
45255 something starting with __ and the normal name is an alias. */
45256 #if defined __stub_socket || defined __stub___socket
45268 rm -f conftest.$ac_objext conftest$ac_exeext
45269 if { (ac_try="$ac_link"
45270 case "(($ac_try" in
45271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45272 *) ac_try_echo
=$ac_try;;
45274 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
45275 $as_echo "$ac_try_echo") >&5
45276 (eval "$ac_link") 2>conftest.er1
45278 grep -v '^ *+' conftest.er1
>conftest.err
45280 cat conftest.err
>&5
45281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45282 (exit $ac_status); } && {
45283 test -z "$ac_c_werror_flag" ||
45284 test ! -s conftest.err
45285 } && test -s conftest
$ac_exeext && {
45286 test "$cross_compiling" = yes ||
45287 $as_test_x conftest
$ac_exeext
45289 ac_cv_func_socket
=yes
45291 $as_echo "$as_me: failed program was:" >&5
45292 sed 's/^/| /' conftest.
$ac_ext >&5
45294 ac_cv_func_socket
=no
45297 rm -rf conftest.dSYM
45298 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45299 conftest
$ac_exeext conftest.
$ac_ext
45301 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45302 $as_echo "$ac_cv_func_socket" >&6; }
45303 if test "x$ac_cv_func_socket" = x
""yes; then
45307 { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45308 $as_echo_n "checking for socket in -lsocket... " >&6; }
45309 if test "${ac_cv_lib_socket_socket+set}" = set; then
45310 $as_echo_n "(cached) " >&6
45312 ac_check_lib_save_LIBS
=$LIBS
45313 LIBS
="-lsocket $LIBS"
45314 cat >conftest.
$ac_ext <<_ACEOF
45317 cat confdefs.h
>>conftest.
$ac_ext
45318 cat >>conftest.
$ac_ext <<_ACEOF
45319 /* end confdefs.h. */
45321 /* Override any GCC internal prototype to avoid an error.
45322 Use char because int might match the return type of a GCC
45323 builtin and then its argument prototype would still apply. */
45336 rm -f conftest.
$ac_objext conftest
$ac_exeext
45337 if { (ac_try
="$ac_link"
45338 case "(($ac_try" in
45339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45340 *) ac_try_echo=$ac_try;;
45342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
45343 $as_echo "$ac_try_echo") >&5
45344 (eval "$ac_link") 2>conftest.er1
45346 grep -v '^ *+' conftest.er1 >conftest.err
45348 cat conftest.err >&5
45349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45350 (exit $ac_status); } && {
45351 test -z "$ac_c_werror_flag" ||
45352 test ! -s conftest.err
45353 } && test -s conftest$ac_exeext && {
45354 test "$cross_compiling" = yes ||
45355 $as_test_x conftest$ac_exeext
45357 ac_cv_lib_socket_socket=yes
45359 $as_echo "$as_me: failed program was:" >&5
45360 sed 's/^/| /' conftest.$ac_ext >&5
45362 ac_cv_lib_socket_socket=no
45365 rm -rf conftest.dSYM
45366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45367 conftest$ac_exeext conftest.$ac_ext
45368 LIBS=$ac_check_lib_save_LIBS
45370 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45371 $as_echo "$ac_cv_lib_socket_socket" >&6; }
45372 if test "x$ac_cv_lib_socket_socket" = x""yes; then
45373 if test "$INET_LINK" != " -lsocket"; then
45374 INET_LINK="$INET_LINK -lsocket"
45378 { $as_echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45379 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45392 if test "$wxUSE_SOCKETS" = "yes" ; then
45393 if test "$TOOLKIT" != "MSW"; then
45394 { $as_echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45395 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
45396 if test "${wx_cv_type_getsockname3+set}" = set; then
45397 $as_echo_n "(cached) " >&6
45401 ac_cpp='$CXXCPP $CPPFLAGS'
45402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45406 cat >conftest.$ac_ext <<_ACEOF
45409 cat confdefs.h >>conftest.$ac_ext
45410 cat >>conftest.$ac_ext <<_ACEOF
45411 /* end confdefs.h. */
45413 #include <sys/types.h>
45414 #include <sys/socket.h>
45421 getsockname(0, 0, &len);
45427 rm -f conftest.$ac_objext
45428 if { (ac_try="$ac_compile"
45429 case "(($ac_try" in
45430 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45431 *) ac_try_echo
=$ac_try;;
45433 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
45434 $as_echo "$ac_try_echo") >&5
45435 (eval "$ac_compile") 2>conftest.er1
45437 grep -v '^ *+' conftest.er1
>conftest.err
45439 cat conftest.err
>&5
45440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45441 (exit $ac_status); } && {
45442 test -z "$ac_cxx_werror_flag" ||
45443 test ! -s conftest.err
45444 } && test -s conftest.
$ac_objext; then
45445 wx_cv_type_getsockname3
=socklen_t
45447 $as_echo "$as_me: failed program was:" >&5
45448 sed 's/^/| /' conftest.
$ac_ext >&5
45451 CFLAGS_OLD
="$CFLAGS"
45452 if test "$GCC" = yes ; then
45453 CFLAGS
="-Werror $CFLAGS"
45456 cat >conftest.
$ac_ext <<_ACEOF
45459 cat confdefs.h
>>conftest.
$ac_ext
45460 cat >>conftest.
$ac_ext <<_ACEOF
45461 /* end confdefs.h. */
45463 #include <sys/types.h>
45464 #include <sys/socket.h>
45471 getsockname(0, 0, &len);
45477 rm -f conftest.
$ac_objext
45478 if { (ac_try
="$ac_compile"
45479 case "(($ac_try" in
45480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45481 *) ac_try_echo=$ac_try;;
45483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
45484 $as_echo "$ac_try_echo") >&5
45485 (eval "$ac_compile") 2>conftest.er1
45487 grep -v '^ *+' conftest.er1 >conftest.err
45489 cat conftest.err >&5
45490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45491 (exit $ac_status); } && {
45492 test -z "$ac_cxx_werror_flag" ||
45493 test ! -s conftest.err
45494 } && test -s conftest.$ac_objext; then
45495 wx_cv_type_getsockname3=size_t
45497 $as_echo "$as_me: failed program was:" >&5
45498 sed 's/^/| /' conftest.$ac_ext >&5
45500 cat >conftest.$ac_ext <<_ACEOF
45503 cat confdefs.h >>conftest.$ac_ext
45504 cat >>conftest.$ac_ext <<_ACEOF
45505 /* end confdefs.h. */
45507 #include <sys/types.h>
45508 #include <sys/socket.h>
45515 getsockname(0, 0, &len);
45521 rm -f conftest.$ac_objext
45522 if { (ac_try="$ac_compile"
45523 case "(($ac_try" in
45524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45525 *) ac_try_echo
=$ac_try;;
45527 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
45528 $as_echo "$ac_try_echo") >&5
45529 (eval "$ac_compile") 2>conftest.er1
45531 grep -v '^ *+' conftest.er1
>conftest.err
45533 cat conftest.err
>&5
45534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); } && {
45536 test -z "$ac_cxx_werror_flag" ||
45537 test ! -s conftest.err
45538 } && test -s conftest.
$ac_objext; then
45539 wx_cv_type_getsockname3
=int
45541 $as_echo "$as_me: failed program was:" >&5
45542 sed 's/^/| /' conftest.
$ac_ext >&5
45544 wx_cv_type_getsockname3
=unknown
45548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45554 CFLAGS
="$CFLAGS_OLD"
45559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45561 ac_cpp
='$CPP $CPPFLAGS'
45562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45568 { $as_echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45569 $as_echo "$wx_cv_type_getsockname3" >&6; }
45571 if test "$wx_cv_type_getsockname3" = "unknown"; then
45573 { $as_echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45574 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45576 cat >>confdefs.h
<<_ACEOF
45577 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45581 { $as_echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45582 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
45583 if test "${wx_cv_type_getsockopt5+set}" = set; then
45584 $as_echo_n "(cached) " >&6
45588 ac_cpp
='$CXXCPP $CPPFLAGS'
45589 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45590 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45591 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45593 cat >conftest.
$ac_ext <<_ACEOF
45596 cat confdefs.h
>>conftest.
$ac_ext
45597 cat >>conftest.
$ac_ext <<_ACEOF
45598 /* end confdefs.h. */
45600 #include <sys/types.h>
45601 #include <sys/socket.h>
45608 getsockopt(0, 0, 0, 0, &len);
45614 rm -f conftest.
$ac_objext
45615 if { (ac_try
="$ac_compile"
45616 case "(($ac_try" in
45617 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45618 *) ac_try_echo=$ac_try;;
45620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
45621 $as_echo "$ac_try_echo") >&5
45622 (eval "$ac_compile") 2>conftest.er1
45624 grep -v '^ *+' conftest.er1 >conftest.err
45626 cat conftest.err >&5
45627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45628 (exit $ac_status); } && {
45629 test -z "$ac_cxx_werror_flag" ||
45630 test ! -s conftest.err
45631 } && test -s conftest.$ac_objext; then
45632 wx_cv_type_getsockopt5=socklen_t
45634 $as_echo "$as_me: failed program was:" >&5
45635 sed 's/^/| /' conftest.$ac_ext >&5
45638 cat >conftest.$ac_ext <<_ACEOF
45641 cat confdefs.h >>conftest.$ac_ext
45642 cat >>conftest.$ac_ext <<_ACEOF
45643 /* end confdefs.h. */
45645 #include <sys/types.h>
45646 #include <sys/socket.h>
45653 getsockopt(0, 0, 0, 0, &len);
45659 rm -f conftest.$ac_objext
45660 if { (ac_try="$ac_compile"
45661 case "(($ac_try" in
45662 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45663 *) ac_try_echo
=$ac_try;;
45665 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
45666 $as_echo "$ac_try_echo") >&5
45667 (eval "$ac_compile") 2>conftest.er1
45669 grep -v '^ *+' conftest.er1
>conftest.err
45671 cat conftest.err
>&5
45672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45673 (exit $ac_status); } && {
45674 test -z "$ac_cxx_werror_flag" ||
45675 test ! -s conftest.err
45676 } && test -s conftest.
$ac_objext; then
45677 wx_cv_type_getsockopt5
=size_t
45679 $as_echo "$as_me: failed program was:" >&5
45680 sed 's/^/| /' conftest.
$ac_ext >&5
45682 cat >conftest.
$ac_ext <<_ACEOF
45685 cat confdefs.h
>>conftest.
$ac_ext
45686 cat >>conftest.
$ac_ext <<_ACEOF
45687 /* end confdefs.h. */
45689 #include <sys/types.h>
45690 #include <sys/socket.h>
45697 getsockopt(0, 0, 0, 0, &len);
45703 rm -f conftest.
$ac_objext
45704 if { (ac_try
="$ac_compile"
45705 case "(($ac_try" in
45706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45707 *) ac_try_echo=$ac_try;;
45709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
45710 $as_echo "$ac_try_echo") >&5
45711 (eval "$ac_compile") 2>conftest.er1
45713 grep -v '^ *+' conftest.er1 >conftest.err
45715 cat conftest.err >&5
45716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45717 (exit $ac_status); } && {
45718 test -z "$ac_cxx_werror_flag" ||
45719 test ! -s conftest.err
45720 } && test -s conftest.$ac_objext; then
45721 wx_cv_type_getsockopt5=int
45723 $as_echo "$as_me: failed program was:" >&5
45724 sed 's/^/| /' conftest.$ac_ext >&5
45726 wx_cv_type_getsockopt5=unknown
45730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45741 ac_cpp='$CPP $CPPFLAGS'
45742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45748 { $as_echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45749 $as_echo "$wx_cv_type_getsockopt5" >&6; }
45751 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45753 { $as_echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45754 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45756 cat >>confdefs.h <<_ACEOF
45757 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45764 if test "$wxUSE_SOCKETS" = "yes" ; then
45765 if test "$wxUSE_IPV6" = "yes"; then
45766 { $as_echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45767 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
45768 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45769 $as_echo_n "(cached) " >&6
45772 cat >conftest.$ac_ext <<_ACEOF
45775 cat confdefs.h >>conftest.$ac_ext
45776 cat >>conftest.$ac_ext <<_ACEOF
45777 /* end confdefs.h. */
45779 #include <sys/types.h>
45780 #include <sys/socket.h>
45781 #include <netinet/in.h>
45787 struct sockaddr_in6 sa6;
45793 rm -f conftest.$ac_objext
45794 if { (ac_try="$ac_compile"
45795 case "(($ac_try" in
45796 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45797 *) ac_try_echo
=$ac_try;;
45799 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
45800 $as_echo "$ac_try_echo") >&5
45801 (eval "$ac_compile") 2>conftest.er1
45803 grep -v '^ *+' conftest.er1
>conftest.err
45805 cat conftest.err
>&5
45806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45807 (exit $ac_status); } && {
45808 test -z "$ac_c_werror_flag" ||
45809 test ! -s conftest.err
45810 } && test -s conftest.
$ac_objext; then
45811 wx_cv_type_sockaddr_in6
=yes
45813 $as_echo "$as_me: failed program was:" >&5
45814 sed 's/^/| /' conftest.
$ac_ext >&5
45816 wx_cv_type_sockaddr_in6
=no
45820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45824 { $as_echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45825 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
45827 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45828 cat >>confdefs.h
<<\_ACEOF
45829 #define wxUSE_IPV6 1
45833 { $as_echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45834 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45838 cat >>confdefs.h
<<\_ACEOF
45839 #define wxUSE_SOCKETS 1
45842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
45845 if test "$wxUSE_PROTOCOL" = "yes"; then
45846 if test "$wxUSE_SOCKETS" != "yes"; then
45847 { $as_echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45848 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45853 if test "$wxUSE_PROTOCOL" = "yes"; then
45854 cat >>confdefs.h
<<\_ACEOF
45855 #define wxUSE_PROTOCOL 1
45859 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45860 cat >>confdefs.h
<<\_ACEOF
45861 #define wxUSE_PROTOCOL_HTTP 1
45865 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45866 cat >>confdefs.h
<<\_ACEOF
45867 #define wxUSE_PROTOCOL_FTP 1
45871 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45872 cat >>confdefs.h
<<\_ACEOF
45873 #define wxUSE_PROTOCOL_FILE 1
45878 if test "$wxUSE_FS_INET" = "yes"; then
45879 { $as_echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45880 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45885 if test "$wxUSE_URL" = "yes"; then
45886 if test "$wxUSE_PROTOCOL" != "yes"; then
45887 { $as_echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45888 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45891 if test "$wxUSE_URL" = "yes"; then
45892 cat >>confdefs.h
<<\_ACEOF
45893 #define wxUSE_URL 1
45899 if test "$wxUSE_VARIANT" = "yes"; then
45900 cat >>confdefs.h
<<\_ACEOF
45901 #define wxUSE_VARIANT 1
45906 if test "$wxUSE_FS_INET" = "yes"; then
45907 cat >>confdefs.h
<<\_ACEOF
45908 #define wxUSE_FS_INET 1
45914 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45917 if test "$TOOLKIT" = "MSW"; then
45920 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45921 if test "$USE_DARWIN" = 1; then
45922 { $as_echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45923 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
45925 ac_cpp
='$CXXCPP $CPPFLAGS'
45926 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45927 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45928 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45930 cat >conftest.
$ac_ext <<_ACEOF
45933 cat confdefs.h
>>conftest.
$ac_ext
45934 cat >>conftest.
$ac_ext <<_ACEOF
45935 /* end confdefs.h. */
45936 #include <IOKit/hid/IOHIDLib.h>
45940 IOHIDQueueInterface *qi = NULL;
45941 IOHIDCallbackFunction cb = NULL;
45942 qi->setEventCallout(NULL, cb, NULL, NULL);
45947 rm -f conftest.
$ac_objext
45948 if { (ac_try
="$ac_compile"
45949 case "(($ac_try" in
45950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45951 *) ac_try_echo=$ac_try;;
45953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
45954 $as_echo "$ac_try_echo") >&5
45955 (eval "$ac_compile") 2>conftest.er1
45957 grep -v '^ *+' conftest.er1 >conftest.err
45959 cat conftest.err >&5
45960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
45961 (exit $ac_status); } && {
45962 test -z "$ac_cxx_werror_flag" ||
45963 test ! -s conftest.err
45964 } && test -s conftest.$ac_objext; then
45968 $as_echo "$as_me: failed program was:" >&5
45969 sed 's/^/| /' conftest.$ac_ext >&5
45974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45976 ac_cpp='$CPP $CPPFLAGS'
45977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45981 { $as_echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45982 $as_echo "$wxUSE_JOYSTICK" >&6; }
45986 if test "$wxUSE_MGL" != 1; then
45988 for ac_header in linux/joystick.h
45990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
45991 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
45992 $as_echo_n "checking for $ac_header... " >&6; }
45993 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45994 $as_echo_n "(cached) " >&6
45996 cat >conftest.$ac_ext <<_ACEOF
45999 cat confdefs.h >>conftest.$ac_ext
46000 cat >>conftest.$ac_ext <<_ACEOF
46001 /* end confdefs.h. */
46002 $ac_includes_default
46004 #include <$ac_header>
46006 rm -f conftest.$ac_objext
46007 if { (ac_try="$ac_compile"
46008 case "(($ac_try" in
46009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46010 *) ac_try_echo
=$ac_try;;
46012 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
46013 $as_echo "$ac_try_echo") >&5
46014 (eval "$ac_compile") 2>conftest.er1
46016 grep -v '^ *+' conftest.er1
>conftest.err
46018 cat conftest.err
>&5
46019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46020 (exit $ac_status); } && {
46021 test -z "$ac_c_werror_flag" ||
46022 test ! -s conftest.err
46023 } && test -s conftest.
$ac_objext; then
46024 eval "$as_ac_Header=yes"
46026 $as_echo "$as_me: failed program was:" >&5
46027 sed 's/^/| /' conftest.
$ac_ext >&5
46029 eval "$as_ac_Header=no"
46032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46034 ac_res
=`eval 'as_val=${'$as_ac_Header'}
46035 $as_echo "$as_val"'`
46036 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
46037 $as_echo "$ac_res" >&6; }
46038 as_val
=`eval 'as_val=${'$as_ac_Header'}
46039 $as_echo "$as_val"'`
46040 if test "x$as_val" = x
""yes; then
46041 cat >>confdefs.h
<<_ACEOF
46042 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
46052 if test "$wxUSE_JOYSTICK" = "yes"; then
46053 cat >>confdefs.h
<<\_ACEOF
46054 #define wxUSE_JOYSTICK 1
46057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
46059 { $as_echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46060 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46066 if test "$wxUSE_FONTENUM" = "yes" ; then
46067 cat >>confdefs.h
<<\_ACEOF
46068 #define wxUSE_FONTENUM 1
46073 if test "$wxUSE_FONTMAP" = "yes" ; then
46074 cat >>confdefs.h
<<\_ACEOF
46075 #define wxUSE_FONTMAP 1
46080 if test "$wxUSE_UNICODE" = "yes" ; then
46081 cat >>confdefs.h
<<\_ACEOF
46082 #define wxUSE_UNICODE 1
46086 if test "$USE_WIN32" != 1; then
46087 wxUSE_UNICODE_MSLU
=no
46090 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46091 { $as_echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46092 $as_echo_n "checking for main in -lunicows... " >&6; }
46093 if test "${ac_cv_lib_unicows_main+set}" = set; then
46094 $as_echo_n "(cached) " >&6
46096 ac_check_lib_save_LIBS
=$LIBS
46097 LIBS
="-lunicows $LIBS"
46098 cat >conftest.
$ac_ext <<_ACEOF
46101 cat confdefs.h
>>conftest.
$ac_ext
46102 cat >>conftest.
$ac_ext <<_ACEOF
46103 /* end confdefs.h. */
46114 rm -f conftest.
$ac_objext conftest
$ac_exeext
46115 if { (ac_try
="$ac_link"
46116 case "(($ac_try" in
46117 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46118 *) ac_try_echo=$ac_try;;
46120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
46121 $as_echo "$ac_try_echo") >&5
46122 (eval "$ac_link") 2>conftest.er1
46124 grep -v '^ *+' conftest.er1 >conftest.err
46126 cat conftest.err >&5
46127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46128 (exit $ac_status); } && {
46129 test -z "$ac_c_werror_flag" ||
46130 test ! -s conftest.err
46131 } && test -s conftest$ac_exeext && {
46132 test "$cross_compiling" = yes ||
46133 $as_test_x conftest$ac_exeext
46135 ac_cv_lib_unicows_main=yes
46137 $as_echo "$as_me: failed program was:" >&5
46138 sed 's/^/| /' conftest.$ac_ext >&5
46140 ac_cv_lib_unicows_main=no
46143 rm -rf conftest.dSYM
46144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46145 conftest$ac_exeext conftest.$ac_ext
46146 LIBS=$ac_check_lib_save_LIBS
46148 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46149 $as_echo "$ac_cv_lib_unicows_main" >&6; }
46150 if test "x$ac_cv_lib_unicows_main" = x""yes; then
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_UNICODE_MSLU 1
46159 { $as_echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46160 Applications will only run on Windows NT/2000/XP!" >&5
46161 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46162 Applications will only run on Windows NT/2000/XP!" >&2;}
46163 wxUSE_UNICODE_MSLU=no
46170 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46171 cat >>confdefs.h <<\_ACEOF
46172 #define wxUSE_UNICODE_UTF8 1
46176 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46177 cat >>confdefs.h <<\_ACEOF
46178 #define wxUSE_UTF8_LOCALE_ONLY 1
46185 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46186 cat >>confdefs.h <<\_ACEOF
46187 #define wxUSE_CONSTRAINTS 1
46190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46193 if test "$wxUSE_MDI" = "yes"; then
46194 cat >>confdefs.h <<\_ACEOF
46195 #define wxUSE_MDI 1
46199 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46200 cat >>confdefs.h <<\_ACEOF
46201 #define wxUSE_MDI_ARCHITECTURE 1
46204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46208 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46209 cat >>confdefs.h <<\_ACEOF
46210 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46216 if test "$wxUSE_HELP" = "yes"; then
46217 cat >>confdefs.h <<\_ACEOF
46218 #define wxUSE_HELP 1
46221 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46223 if test "$wxUSE_MSW" = 1; then
46224 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46225 cat >>confdefs.h <<\_ACEOF
46226 #define wxUSE_MS_HTML_HELP 1
46232 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46233 if test "$wxUSE_HTML" = "yes"; then
46234 cat >>confdefs.h <<\_ACEOF
46235 #define wxUSE_WXHTML_HELP 1
46239 { $as_echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46240 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46241 wxUSE_WXHTML_HELP=no
46246 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46247 cat >>confdefs.h <<\_ACEOF
46248 #define wxUSE_PRINTING_ARCHITECTURE 1
46251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46254 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46255 cat >>confdefs.h <<\_ACEOF
46256 #define wxUSE_POSTSCRIPT 1
46261 cat >>confdefs.h <<\_ACEOF
46262 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46266 if test "$wxUSE_SVG" = "yes"; then
46267 cat >>confdefs.h <<\_ACEOF
46268 #define wxUSE_SVG 1
46274 if test "$wxUSE_METAFILE" = "yes"; then
46275 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46276 { $as_echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46277 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46283 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46284 -o "$wxUSE_CLIPBOARD" = "yes" \
46285 -o "$wxUSE_OLE" = "yes" \
46286 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46287 { $as_echo "$as_me:$LINENO: checking for ole2.h" >&5
46288 $as_echo_n "checking for ole2.h... " >&6; }
46289 if test "${ac_cv_header_ole2_h+set}" = set; then
46290 $as_echo_n "(cached) " >&6
46292 cat >conftest.$ac_ext <<_ACEOF
46295 cat confdefs.h >>conftest.$ac_ext
46296 cat >>conftest.$ac_ext <<_ACEOF
46297 /* end confdefs.h. */
46302 rm -f conftest.$ac_objext
46303 if { (ac_try="$ac_compile"
46304 case "(($ac_try" in
46305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46306 *) ac_try_echo
=$ac_try;;
46308 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
46309 $as_echo "$ac_try_echo") >&5
46310 (eval "$ac_compile") 2>conftest.er1
46312 grep -v '^ *+' conftest.er1
>conftest.err
46314 cat conftest.err
>&5
46315 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46316 (exit $ac_status); } && {
46317 test -z "$ac_c_werror_flag" ||
46318 test ! -s conftest.err
46319 } && test -s conftest.
$ac_objext; then
46320 ac_cv_header_ole2_h
=yes
46322 $as_echo "$as_me: failed program was:" >&5
46323 sed 's/^/| /' conftest.
$ac_ext >&5
46325 ac_cv_header_ole2_h
=no
46328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46330 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46331 $as_echo "$ac_cv_header_ole2_h" >&6; }
46335 if test "$ac_cv_header_ole2_h" = "yes" ; then
46336 if test "$GCC" = yes ; then
46337 { $as_echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46338 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
46339 cat >conftest.
$ac_ext <<_ACEOF
46342 cat confdefs.h
>>conftest.
$ac_ext
46343 cat >>conftest.
$ac_ext <<_ACEOF
46344 /* end confdefs.h. */
46345 #include <windows.h>
46355 rm -f conftest.
$ac_objext
46356 if { (ac_try
="$ac_compile"
46357 case "(($ac_try" in
46358 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46359 *) ac_try_echo=$ac_try;;
46361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
46362 $as_echo "$ac_try_echo") >&5
46363 (eval "$ac_compile") 2>conftest.er1
46365 grep -v '^ *+' conftest.er1 >conftest.err
46367 cat conftest.err >&5
46368 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
46369 (exit $ac_status); } && {
46370 test -z "$ac_c_werror_flag" ||
46371 test ! -s conftest.err
46372 } && test -s conftest.$ac_objext; then
46373 { $as_echo "$as_me:$LINENO: result: no" >&5
46374 $as_echo "no" >&6; }
46376 $as_echo "$as_me: failed program was:" >&5
46377 sed 's/^/| /' conftest.$ac_ext >&5
46379 { $as_echo "$as_me:$LINENO: result: yes" >&5
46380 $as_echo "yes" >&6; }
46381 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46385 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46386 if test "$wxUSE_OLE" = "yes" ; then
46387 cat >>confdefs.h <<\_ACEOF
46388 #define wxUSE_OLE 1
46391 cat >>confdefs.h <<\_ACEOF
46392 #define wxUSE_OLE_AUTOMATION 1
46395 cat >>confdefs.h <<\_ACEOF
46396 #define wxUSE_ACTIVEX 1
46399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46403 if test "$wxUSE_DATAOBJ" = "yes" ; then
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_DATAOBJ 1
46410 { $as_echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46411 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46414 wxUSE_DRAG_AND_DROP=no
46419 if test "$wxUSE_METAFILE" = "yes"; then
46420 cat >>confdefs.h <<\_ACEOF
46421 #define wxUSE_METAFILE 1
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_ENH_METAFILE 1
46432 if test "$wxUSE_IPC" = "yes"; then
46433 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46434 { $as_echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46435 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46439 if test "$wxUSE_IPC" = "yes"; then
46440 cat >>confdefs.h <<\_ACEOF
46441 #define wxUSE_IPC 1
46444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46448 if test "$wxUSE_DATAOBJ" = "yes"; then
46449 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46450 { $as_echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46451 $as_echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_DATAOBJ 1
46460 { $as_echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46461 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46463 wxUSE_DRAG_AND_DROP=no
46466 if test "$wxUSE_CLIPBOARD" = "yes"; then
46467 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46468 { $as_echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46469 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46473 if test "$wxUSE_CLIPBOARD" = "yes"; then
46474 cat >>confdefs.h <<\_ACEOF
46475 #define wxUSE_CLIPBOARD 1
46481 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46482 if test "$wxUSE_GTK" = 1; then
46483 if test "$WXGTK12" != 1; then
46484 { $as_echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46485 $as_echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46486 wxUSE_DRAG_AND_DROP=no
46490 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46491 "$wxUSE_DFB" = 1; then
46492 { $as_echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46493 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46494 wxUSE_DRAG_AND_DROP=no
46497 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_DRAG_AND_DROP 1
46506 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46510 if test "$wxUSE_CLIPBOARD" = "yes"; then
46511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46514 if test "$wxUSE_SPLINES" = "yes" ; then
46515 cat >>confdefs.h <<\_ACEOF
46516 #define wxUSE_SPLINES 1
46521 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_MOUSEWHEEL 1
46530 if test "$wxUSE_CONTROLS" = "yes"; then
46534 if test "$wxUSE_ACCEL" = "yes"; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_ACCEL 1
46542 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_ANIMATIONCTRL 1
46548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46551 if test "$wxUSE_BUTTON" = "yes"; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_BUTTON 1
46559 if test "$wxUSE_BMPBUTTON" = "yes"; then
46560 cat >>confdefs.h <<\_ACEOF
46561 #define wxUSE_BMPBUTTON 1
46567 if test "$wxUSE_CALCTRL" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_CALENDARCTRL 1
46573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46576 if test "$wxUSE_CARET" = "yes"; then
46577 cat >>confdefs.h <<\_ACEOF
46578 #define wxUSE_CARET 1
46582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46585 if test "$wxUSE_COLLPANE" = "yes"; then
46586 cat >>confdefs.h <<\_ACEOF
46587 #define wxUSE_COLLPANE 1
46591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46594 if test "$wxUSE_COMBOBOX" = "yes"; then
46595 cat >>confdefs.h <<\_ACEOF
46596 #define wxUSE_COMBOBOX 1
46602 if test "$wxUSE_COMBOCTRL" = "yes"; then
46603 cat >>confdefs.h <<\_ACEOF
46604 #define wxUSE_COMBOCTRL 1
46610 if test "$wxUSE_CHOICE" = "yes"; then
46611 cat >>confdefs.h <<\_ACEOF
46612 #define wxUSE_CHOICE 1
46618 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46619 cat >>confdefs.h <<\_ACEOF
46620 #define wxUSE_CHOICEBOOK 1
46626 if test "$wxUSE_CHECKBOX" = "yes"; then
46627 cat >>confdefs.h <<\_ACEOF
46628 #define wxUSE_CHECKBOX 1
46634 if test "$wxUSE_CHECKLST" = "yes"; then
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_CHECKLISTBOX 1
46642 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46643 cat >>confdefs.h <<\_ACEOF
46644 #define wxUSE_COLOURPICKERCTRL 1
46650 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46651 cat >>confdefs.h <<\_ACEOF
46652 #define wxUSE_DATEPICKCTRL 1
46658 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46659 cat >>confdefs.h <<\_ACEOF
46660 #define wxUSE_DIRPICKERCTRL 1
46666 if test "$wxUSE_FILECTRL" = "yes"; then
46667 cat >>confdefs.h <<\_ACEOF
46668 #define wxUSE_FILECTRL 1
46674 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46675 cat >>confdefs.h <<\_ACEOF
46676 #define wxUSE_FILEPICKERCTRL 1
46682 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46683 cat >>confdefs.h <<\_ACEOF
46684 #define wxUSE_FONTPICKERCTRL 1
46690 if test "$wxUSE_DISPLAY" = "yes"; then
46691 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46692 { $as_echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46693 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46696 cat >>confdefs.h <<\_ACEOF
46697 #define wxUSE_DISPLAY 1
46700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46704 if test "$wxUSE_DETECT_SM" = "yes"; then
46705 cat >>confdefs.h <<\_ACEOF
46706 #define wxUSE_DETECT_SM 1
46711 if test "$wxUSE_GAUGE" = "yes"; then
46712 cat >>confdefs.h <<\_ACEOF
46713 #define wxUSE_GAUGE 1
46719 if test "$wxUSE_GRID" = "yes"; then
46720 cat >>confdefs.h <<\_ACEOF
46721 #define wxUSE_GRID 1
46725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46728 if test "$wxUSE_HEADERCTRL" = "yes"; then
46729 cat >>confdefs.h <<\_ACEOF
46730 #define wxUSE_HEADERCTRL 1
46736 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46737 cat >>confdefs.h <<\_ACEOF
46738 #define wxUSE_HYPERLINKCTRL 1
46744 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46745 cat >>confdefs.h <<\_ACEOF
46746 #define wxUSE_BITMAPCOMBOBOX 1
46752 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46753 cat >>confdefs.h <<\_ACEOF
46754 #define wxUSE_DATAVIEWCTRL 1
46758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46761 if test "$wxUSE_IMAGLIST" = "yes"; then
46762 cat >>confdefs.h <<\_ACEOF
46763 #define wxUSE_IMAGLIST 1
46768 if test "$wxUSE_LISTBOOK" = "yes"; then
46769 cat >>confdefs.h <<\_ACEOF
46770 #define wxUSE_LISTBOOK 1
46776 if test "$wxUSE_LISTBOX" = "yes"; then
46777 cat >>confdefs.h <<\_ACEOF
46778 #define wxUSE_LISTBOX 1
46784 if test "$wxUSE_LISTCTRL" = "yes"; then
46785 if test "$wxUSE_IMAGLIST" = "yes"; then
46786 cat >>confdefs.h <<\_ACEOF
46787 #define wxUSE_LISTCTRL 1
46791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46793 { $as_echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46794 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46798 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46799 cat >>confdefs.h <<\_ACEOF
46800 #define wxUSE_EDITABLELISTBOX 1
46806 if test "$wxUSE_NOTEBOOK" = "yes"; then
46807 cat >>confdefs.h <<\_ACEOF
46808 #define wxUSE_NOTEBOOK 1
46812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46815 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46816 cat >>confdefs.h <<\_ACEOF
46817 #define wxUSE_NOTIFICATION_MESSAGE 1
46822 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46823 cat >>confdefs.h <<\_ACEOF
46824 #define wxUSE_ODCOMBOBOX 1
46828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46831 if test "$wxUSE_RADIOBOX" = "yes"; then
46832 cat >>confdefs.h <<\_ACEOF
46833 #define wxUSE_RADIOBOX 1
46839 if test "$wxUSE_RADIOBTN" = "yes"; then
46840 cat >>confdefs.h <<\_ACEOF
46841 #define wxUSE_RADIOBTN 1
46847 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46848 cat >>confdefs.h <<\_ACEOF
46849 #define wxUSE_REARRANGECTRL 1
46854 if test "$wxUSE_SASH" = "yes"; then
46855 cat >>confdefs.h <<\_ACEOF
46856 #define wxUSE_SASH 1
46859 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46862 if test "$wxUSE_SCROLLBAR" = "yes"; then
46863 cat >>confdefs.h <<\_ACEOF
46864 #define wxUSE_SCROLLBAR 1
46868 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46871 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46872 cat >>confdefs.h <<\_ACEOF
46873 #define wxUSE_SEARCHCTRL 1
46879 if test "$wxUSE_SLIDER" = "yes"; then
46880 cat >>confdefs.h <<\_ACEOF
46881 #define wxUSE_SLIDER 1
46887 if test "$wxUSE_SPINBTN" = "yes"; then
46888 cat >>confdefs.h <<\_ACEOF
46889 #define wxUSE_SPINBTN 1
46895 if test "$wxUSE_SPINCTRL" = "yes"; then
46896 cat >>confdefs.h <<\_ACEOF
46897 #define wxUSE_SPINCTRL 1
46903 if test "$wxUSE_SPLITTER" = "yes"; then
46904 cat >>confdefs.h <<\_ACEOF
46905 #define wxUSE_SPLITTER 1
46908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46911 if test "$wxUSE_STATBMP" = "yes"; then
46912 cat >>confdefs.h <<\_ACEOF
46913 #define wxUSE_STATBMP 1
46919 if test "$wxUSE_STATBOX" = "yes"; then
46920 cat >>confdefs.h <<\_ACEOF
46921 #define wxUSE_STATBOX 1
46927 if test "$wxUSE_STATTEXT" = "yes"; then
46928 cat >>confdefs.h <<\_ACEOF
46929 #define wxUSE_STATTEXT 1
46935 if test "$wxUSE_STATLINE" = "yes"; then
46936 cat >>confdefs.h <<\_ACEOF
46937 #define wxUSE_STATLINE 1
46943 if test "$wxUSE_STATUSBAR" = "yes"; then
46944 cat >>confdefs.h <<\_ACEOF
46945 #define wxUSE_NATIVE_STATUSBAR 1
46948 cat >>confdefs.h <<\_ACEOF
46949 #define wxUSE_STATUSBAR 1
46954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46957 if test "$wxUSE_TEXTCTRL" = "yes"; then
46958 cat >>confdefs.h <<\_ACEOF
46959 #define wxUSE_TEXTCTRL 1
46963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46965 cat >>confdefs.h <<\_ACEOF
46966 #define wxUSE_RICHEDIT 1
46969 cat >>confdefs.h <<\_ACEOF
46970 #define wxUSE_RICHEDIT2 1
46975 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46976 if test "$wxUSE_COCOA" = 1 ; then
46977 { $as_echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46978 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46982 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46983 cat >>confdefs.h <<\_ACEOF
46984 #define wxUSE_TOGGLEBTN 1
46991 if test "$wxUSE_TOOLBAR" = "yes"; then
46992 cat >>confdefs.h <<\_ACEOF
46993 #define wxUSE_TOOLBAR 1
46998 if test "$wxUSE_UNIVERSAL" = "yes"; then
46999 wxUSE_TOOLBAR_NATIVE="no"
47001 wxUSE_TOOLBAR_NATIVE="yes"
47002 cat >>confdefs.h <<\_ACEOF
47003 #define wxUSE_TOOLBAR_NATIVE 1
47008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47011 if test "$wxUSE_TOOLTIPS" = "yes"; then
47012 if test "$wxUSE_MOTIF" = 1; then
47013 { $as_echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47014 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47016 if test "$wxUSE_UNIVERSAL" = "yes"; then
47017 { $as_echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47018 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47020 cat >>confdefs.h <<\_ACEOF
47021 #define wxUSE_TOOLTIPS 1
47028 if test "$wxUSE_TREEBOOK" = "yes"; then
47029 cat >>confdefs.h <<\_ACEOF
47030 #define wxUSE_TREEBOOK 1
47036 if test "$wxUSE_TOOLBOOK" = "yes"; then
47037 cat >>confdefs.h <<\_ACEOF
47038 #define wxUSE_TOOLBOOK 1
47044 if test "$wxUSE_TREECTRL" = "yes"; then
47045 if test "$wxUSE_IMAGLIST" = "yes"; then
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_TREECTRL 1
47051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47053 { $as_echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47054 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47058 if test "$wxUSE_POPUPWIN" = "yes"; then
47059 if test "$wxUSE_COCOA" = 1 ; then
47060 { $as_echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47061 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47063 if test "$wxUSE_PM" = 1; then
47064 { $as_echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47065 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47067 cat >>confdefs.h <<\_ACEOF
47068 #define wxUSE_POPUPWIN 1
47071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47078 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47079 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47080 { $as_echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47081 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47083 cat >>confdefs.h <<\_ACEOF
47084 #define wxUSE_DIALUP_MANAGER 1
47087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47091 if test "$wxUSE_TIPWINDOW" = "yes"; then
47092 if test "$wxUSE_PM" = 1; then
47093 { $as_echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47094 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47096 cat >>confdefs.h <<\_ACEOF
47097 #define wxUSE_TIPWINDOW 1
47103 if test "$USES_CONTROLS" = 1; then
47104 cat >>confdefs.h <<\_ACEOF
47105 #define wxUSE_CONTROLS 1
47111 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47112 cat >>confdefs.h <<\_ACEOF
47113 #define wxUSE_ACCESSIBILITY 1
47116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47119 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47120 cat >>confdefs.h <<\_ACEOF
47121 #define wxUSE_DRAGIMAGE 1
47124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47127 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47128 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47129 { $as_echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47130 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47132 cat >>confdefs.h <<\_ACEOF
47133 #define wxUSE_EXCEPTIONS 1
47136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47141 if test "$wxUSE_HTML" = "yes"; then
47142 cat >>confdefs.h <<\_ACEOF
47143 #define wxUSE_HTML 1
47147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47149 if test "$wxUSE_WEBKIT" = "yes"; then
47150 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47151 old_CPPFLAGS="$CPPFLAGS"
47152 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47153 { $as_echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47154 $as_echo_n "checking for WebKit/HIWebView.h... " >&6; }
47155 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47156 $as_echo_n "(cached) " >&6
47158 cat >conftest.$ac_ext <<_ACEOF
47161 cat confdefs.h >>conftest.$ac_ext
47162 cat >>conftest.$ac_ext <<_ACEOF
47163 /* end confdefs.h. */
47165 #include <Carbon/Carbon.h>
47166 #include <WebKit/WebKit.h>
47169 #include <WebKit/HIWebView.h>
47171 rm -f conftest.$ac_objext
47172 if { (ac_try="$ac_compile"
47173 case "(($ac_try" in
47174 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47175 *) ac_try_echo
=$ac_try;;
47177 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
47178 $as_echo "$ac_try_echo") >&5
47179 (eval "$ac_compile") 2>conftest.er1
47181 grep -v '^ *+' conftest.er1
>conftest.err
47183 cat conftest.err
>&5
47184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47185 (exit $ac_status); } && {
47186 test -z "$ac_c_werror_flag" ||
47187 test ! -s conftest.err
47188 } && test -s conftest.
$ac_objext; then
47189 ac_cv_header_WebKit_HIWebView_h
=yes
47191 $as_echo "$as_me: failed program was:" >&5
47192 sed 's/^/| /' conftest.
$ac_ext >&5
47194 ac_cv_header_WebKit_HIWebView_h
=no
47197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47199 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47200 $as_echo "$ac_cv_header_WebKit_HIWebView_h" >&6; }
47201 if test "x$ac_cv_header_WebKit_HIWebView_h" = x
""yes; then
47203 cat >>confdefs.h
<<\_ACEOF
47204 #define wxUSE_WEBKIT 1
47207 WEBKIT_LINK
="-framework WebKit"
47211 { $as_echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47212 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47218 CPPFLAGS
="$old_CPPFLAGS"
47219 elif test "$wxUSE_COCOA" = 1; then
47220 cat >>confdefs.h
<<\_ACEOF
47221 #define wxUSE_WEBKIT 1
47227 if test "$wxUSE_WEBKIT" = "yes"; then
47228 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
47233 if test "$wxUSE_XRC" = "yes"; then
47234 if test "$wxUSE_XML" != "yes"; then
47235 { $as_echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47236 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47239 cat >>confdefs.h
<<\_ACEOF
47240 #define wxUSE_XRC 1
47244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
47249 if test "$wxUSE_AUI" = "yes"; then
47250 cat >>confdefs.h
<<\_ACEOF
47251 #define wxUSE_AUI 1
47255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
47259 if test "$wxUSE_PROPGRID" = "yes"; then
47260 cat >>confdefs.h
<<\_ACEOF
47261 #define wxUSE_PROPGRID 1
47265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
47269 if test "$wxUSE_STC" = "yes"; then
47270 cat >>confdefs.h
<<\_ACEOF
47271 #define wxUSE_STC 1
47275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
47278 if test "$wxUSE_MENUS" = "yes"; then
47279 cat >>confdefs.h
<<\_ACEOF
47280 #define wxUSE_MENUS 1
47283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
47286 if test "$wxUSE_METAFILE" = "yes"; then
47287 cat >>confdefs.h
<<\_ACEOF
47288 #define wxUSE_METAFILE 1
47293 if test "$wxUSE_MIMETYPE" = "yes"; then
47294 cat >>confdefs.h
<<\_ACEOF
47295 #define wxUSE_MIMETYPE 1
47300 if test "$wxUSE_MINIFRAME" = "yes"; then
47301 cat >>confdefs.h
<<\_ACEOF
47302 #define wxUSE_MINIFRAME 1
47307 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47308 cat >>confdefs.h
<<\_ACEOF
47309 #define wxUSE_SYSTEM_OPTIONS 1
47314 if test "$wxUSE_TASKBARICON" = "yes"; then
47315 cat >>confdefs.h
<<\_ACEOF
47316 #define wxUSE_TASKBARICON 1
47319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
47323 if test "$wxUSE_VALIDATORS" = "yes"; then
47324 cat >>confdefs.h
<<\_ACEOF
47325 #define wxUSE_VALIDATORS 1
47328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
47331 if test "$wxUSE_PALETTE" = "yes" ; then
47332 if test "$wxUSE_DFB" = 1; then
47333 { $as_echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47334 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47337 cat >>confdefs.h
<<\_ACEOF
47338 #define wxUSE_PALETTE 1
47344 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47345 LIBS
=" -lunicows $LIBS"
47349 if test "$wxUSE_RICHTEXT" = "yes"; then
47350 cat >>confdefs.h
<<\_ACEOF
47351 #define wxUSE_RICHTEXT 1
47355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
47359 if test "$wxUSE_IMAGE" = "yes" ; then
47360 cat >>confdefs.h
<<\_ACEOF
47361 #define wxUSE_IMAGE 1
47365 if test "$wxUSE_GIF" = "yes" ; then
47366 cat >>confdefs.h
<<\_ACEOF
47367 #define wxUSE_GIF 1
47372 if test "$wxUSE_PCX" = "yes" ; then
47373 cat >>confdefs.h
<<\_ACEOF
47374 #define wxUSE_PCX 1
47379 if test "$wxUSE_TGA" = "yes" ; then
47380 cat >>confdefs.h
<<\_ACEOF
47381 #define wxUSE_TGA 1
47386 if test "$wxUSE_IFF" = "yes" ; then
47387 cat >>confdefs.h
<<\_ACEOF
47388 #define wxUSE_IFF 1
47393 if test "$wxUSE_PNM" = "yes" ; then
47394 cat >>confdefs.h
<<\_ACEOF
47395 #define wxUSE_PNM 1
47400 if test "$wxUSE_XPM" = "yes" ; then
47401 cat >>confdefs.h
<<\_ACEOF
47402 #define wxUSE_XPM 1
47407 if test "$wxUSE_ICO_CUR" = "yes" ; then
47408 cat >>confdefs.h
<<\_ACEOF
47409 #define wxUSE_ICO_CUR 1
47416 if test "$wxUSE_ABOUTDLG" = "yes"; then
47417 cat >>confdefs.h
<<\_ACEOF
47418 #define wxUSE_ABOUTDLG 1
47423 if test "$wxUSE_CHOICEDLG" = "yes"; then
47424 cat >>confdefs.h
<<\_ACEOF
47425 #define wxUSE_CHOICEDLG 1
47430 if test "$wxUSE_COLOURDLG" = "yes"; then
47431 cat >>confdefs.h
<<\_ACEOF
47432 #define wxUSE_COLOURDLG 1
47437 if test "$wxUSE_FILEDLG" = "yes"; then
47438 cat >>confdefs.h
<<\_ACEOF
47439 #define wxUSE_FILEDLG 1
47444 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47445 cat >>confdefs.h
<<\_ACEOF
47446 #define wxUSE_FINDREPLDLG 1
47451 if test "$wxUSE_FONTDLG" = "yes"; then
47452 cat >>confdefs.h
<<\_ACEOF
47453 #define wxUSE_FONTDLG 1
47458 if test "$wxUSE_DIRDLG" = "yes"; then
47459 if test "$wxUSE_TREECTRL" != "yes"; then
47460 { $as_echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47461 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47463 cat >>confdefs.h
<<\_ACEOF
47464 #define wxUSE_DIRDLG 1
47470 if test "$wxUSE_MSGDLG" = "yes"; then
47471 cat >>confdefs.h
<<\_ACEOF
47472 #define wxUSE_MSGDLG 1
47477 if test "$wxUSE_NUMBERDLG" = "yes"; then
47478 cat >>confdefs.h
<<\_ACEOF
47479 #define wxUSE_NUMBERDLG 1
47484 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47485 cat >>confdefs.h
<<\_ACEOF
47486 #define wxUSE_PROGRESSDLG 1
47491 if test "$wxUSE_SPLASH" = "yes"; then
47492 cat >>confdefs.h
<<\_ACEOF
47493 #define wxUSE_SPLASH 1
47496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
47499 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47500 cat >>confdefs.h
<<\_ACEOF
47501 #define wxUSE_STARTUP_TIPS 1
47506 if test "$wxUSE_TEXTDLG" = "yes"; then
47507 cat >>confdefs.h
<<\_ACEOF
47508 #define wxUSE_TEXTDLG 1
47513 if test "$wxUSE_WIZARDDLG" = "yes"; then
47514 cat >>confdefs.h
<<\_ACEOF
47515 #define wxUSE_WIZARDDLG 1
47518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
47522 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47523 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47524 cat >>confdefs.h
<<\_ACEOF
47525 #define wxUSE_OWNER_DRAWN 1
47532 if test "$wxUSE_MSW" = 1 ; then
47534 if test "$wxUSE_DC_CACHEING" = "yes"; then
47535 cat >>confdefs.h
<<\_ACEOF
47536 #define wxUSE_DC_CACHEING 1
47541 if test "$wxUSE_DIB" = "yes"; then
47542 cat >>confdefs.h
<<\_ACEOF
47543 #define wxUSE_WXDIB 1
47548 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47549 cat >>confdefs.h
<<\_ACEOF
47550 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47555 if test "$wxUSE_UXTHEME" = "yes"; then
47556 cat >>confdefs.h
<<\_ACEOF
47557 #define wxUSE_UXTHEME 1
47564 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47565 cat >>confdefs.h
<<\_ACEOF
47566 #define wxUSE_AUTOID_MANAGEMENT 1
47571 if test "$USE_WIN32" = 1 ; then
47572 if test "$wxUSE_INICONF" = "yes"; then
47573 cat >>confdefs.h
<<\_ACEOF
47574 #define wxUSE_INICONF 1
47579 if test "$wxUSE_REGKEY" = "yes"; then
47580 cat >>confdefs.h
<<\_ACEOF
47581 #define wxUSE_REGKEY 1
47588 if test "$wxUSE_MAC" = 1; then
47589 wxUSE_GRAPHICS_CONTEXT
="yes"
47592 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47593 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
47594 cat >>confdefs.h
<<\_ACEOF
47595 #define wxUSE_GRAPHICS_CONTEXT 1
47598 elif test "$wxUSE_GTK" != 1; then
47599 cat >>confdefs.h
<<\_ACEOF
47600 #define wxUSE_GRAPHICS_CONTEXT 1
47606 { $as_echo "$as_me:$LINENO: checking for CAIRO" >&5
47607 $as_echo_n "checking for CAIRO... " >&6; }
47609 if test -n "$PKG_CONFIG"; then
47610 if test -n "$CAIRO_CFLAGS"; then
47611 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47613 if test -n "$PKG_CONFIG" && \
47614 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47615 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47618 (exit $ac_status); }; then
47619 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47627 if test -n "$PKG_CONFIG"; then
47628 if test -n "$CAIRO_LIBS"; then
47629 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47631 if test -n "$PKG_CONFIG" && \
47632 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47633 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47636 (exit $ac_status); }; then
47637 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47648 if test $pkg_failed = yes; then
47650 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47651 _pkg_short_errors_supported
=yes
47653 _pkg_short_errors_supported
=no
47655 if test $_pkg_short_errors_supported = yes; then
47656 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47658 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47660 # Put the nasty error message in config.log where it belongs
47661 echo "$CAIRO_PKG_ERRORS" >&5
47663 { $as_echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47664 $as_echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47666 elif test $pkg_failed = untried
; then
47667 { $as_echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47668 $as_echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47671 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47672 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47673 { $as_echo "$as_me:$LINENO: result: yes" >&5
47674 $as_echo "yes" >&6; }
47675 cat >>confdefs.h
<<\_ACEOF
47676 #define wxUSE_GRAPHICS_CONTEXT 1
47686 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47689 if test "$wxUSE_GTK" = 1; then
47690 wxUSE_GSTREAMER
="no"
47692 GST_VERSION_MAJOR
=0
47693 GST_VERSION_MINOR
=10
47694 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47696 if test "$wxUSE_GSTREAMER8" = "no"; then
47699 { $as_echo "$as_me:$LINENO: checking for GST" >&5
47700 $as_echo_n "checking for GST... " >&6; }
47702 if test -n "$PKG_CONFIG"; then
47703 if test -n "$GST_CFLAGS"; then
47704 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47706 if test -n "$PKG_CONFIG" && \
47707 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47708 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47710 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47711 (exit $ac_status); }; then
47712 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47720 if test -n "$PKG_CONFIG"; then
47721 if test -n "$GST_LIBS"; then
47722 pkg_cv_GST_LIBS
="$GST_LIBS"
47724 if test -n "$PKG_CONFIG" && \
47725 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47726 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47729 (exit $ac_status); }; then
47730 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47741 if test $pkg_failed = yes; then
47743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47744 _pkg_short_errors_supported
=yes
47746 _pkg_short_errors_supported
=no
47748 if test $_pkg_short_errors_supported = yes; then
47749 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47751 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47753 # Put the nasty error message in config.log where it belongs
47754 echo "$GST_PKG_ERRORS" >&5
47757 { $as_echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47758 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47759 GST_VERSION_MINOR
=8
47762 elif test $pkg_failed = untried
; then
47764 { $as_echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47765 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47766 GST_VERSION_MINOR
=8
47770 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47771 GST_LIBS
=$pkg_cv_GST_LIBS
47772 { $as_echo "$as_me:$LINENO: result: yes" >&5
47773 $as_echo "yes" >&6; }
47775 wxUSE_GSTREAMER
="yes"
47776 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47780 GST_VERSION_MINOR
=8
47783 if test $GST_VERSION_MINOR = "8"; then
47784 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47787 { $as_echo "$as_me:$LINENO: checking for GST" >&5
47788 $as_echo_n "checking for GST... " >&6; }
47790 if test -n "$PKG_CONFIG"; then
47791 if test -n "$GST_CFLAGS"; then
47792 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47794 if test -n "$PKG_CONFIG" && \
47795 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47796 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47799 (exit $ac_status); }; then
47800 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47808 if test -n "$PKG_CONFIG"; then
47809 if test -n "$GST_LIBS"; then
47810 pkg_cv_GST_LIBS
="$GST_LIBS"
47812 if test -n "$PKG_CONFIG" && \
47813 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47814 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
47817 (exit $ac_status); }; then
47818 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47829 if test $pkg_failed = yes; then
47831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47832 _pkg_short_errors_supported
=yes
47834 _pkg_short_errors_supported
=no
47836 if test $_pkg_short_errors_supported = yes; then
47837 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47839 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47841 # Put the nasty error message in config.log where it belongs
47842 echo "$GST_PKG_ERRORS" >&5
47845 { $as_echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47846 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47848 elif test $pkg_failed = untried
; then
47850 { $as_echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47851 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47854 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47855 GST_LIBS
=$pkg_cv_GST_LIBS
47856 { $as_echo "$as_me:$LINENO: result: yes" >&5
47857 $as_echo "yes" >&6; }
47858 wxUSE_GSTREAMER
="yes"
47863 if test "$wxUSE_GSTREAMER" = "yes"; then
47864 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47865 EXTRALIBS_MEDIA
="$GST_LIBS"
47867 cat >>confdefs.h
<<\_ACEOF
47868 #define wxUSE_GSTREAMER 1
47876 if test $USE_MEDIA = 1; then
47877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47878 cat >>confdefs.h
<<\_ACEOF
47879 #define wxUSE_MEDIACTRL 1
47883 if test "$wxUSE_MEDIACTRL" = "yes"; then
47884 { { $as_echo "$as_me:$LINENO: error: GStreamer not available" >&5
47885 $as_echo "$as_me: error: GStreamer not available" >&2;}
47886 { (exit 1); exit 1; }; }
47888 { $as_echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47889 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47895 if test "$cross_compiling" != "no"; then
47898 OSINFO
=`uname -s -r -m`
47899 OSINFO
="\"$OSINFO\""
47902 cat >>confdefs.h
<<_ACEOF
47903 #define WXWIN_OS_DESCRIPTION $OSINFO
47908 if test "x$prefix" != "xNONE"; then
47911 wxPREFIX
=$ac_default_prefix
47914 cat >>confdefs.h
<<_ACEOF
47915 #define wxINSTALL_PREFIX "$wxPREFIX"
47921 STD_BASE_LIBS
="base"
47923 BUILT_WX_LIBS
="base"
47924 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
47926 if test "$wxUSE_SOCKETS" = "yes" ; then
47927 STD_BASE_LIBS
="net $STD_BASE_LIBS"
47928 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
47930 if test "$wxUSE_XML" = "yes" ; then
47931 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
47932 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
47935 if test "$wxUSE_GUI" = "yes"; then
47936 STD_GUI_LIBS
="adv core"
47937 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
47939 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47940 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
47941 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
47943 if test "$wxUSE_HTML" = "yes" ; then
47944 STD_GUI_LIBS
="html $STD_GUI_LIBS"
47945 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
47947 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47948 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
47950 if test "$wxUSE_OPENGL" = "yes" ; then
47951 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
47953 if test "$wxUSE_AUI" = "yes" ; then
47954 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
47956 if test "$wxUSE_PROPGRID" = "yes" ; then
47957 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
47959 if test "$wxUSE_RICHTEXT" = "yes" ; then
47960 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
47962 if test "$wxUSE_STC" = "yes" ; then
47963 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
47965 if test "$wxUSE_XRC" = "yes" ; then
47966 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
47967 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
47978 if test "$wxUSE_MAC" = 1 ; then
47979 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47980 if test "$USE_DARWIN" = 1; then
47981 LDFLAGS
="$LDFLAGS -framework QuickTime"
47984 if test "$USE_DARWIN" = 1; then
47985 LDFLAGS
="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47988 if test "$wxUSE_COCOA" = 1 ; then
47989 LDFLAGS
="$LDFLAGS -framework IOKit -framework Cocoa"
47990 if test "$wxUSE_MEDIACTRL" = "yes"; then
47991 LDFLAGS
="$LDFLAGS -framework QuickTime"
47994 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47995 LDFLAGS
="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47998 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48000 if test "$wxUSE_GUI" = "yes"; then
48003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48004 erase event exec font image minimal render \
48005 shaped svg taborder vscroll widgets wrapsizer"
48007 if test "$wxUSE_MONOLITHIC" != "yes"; then
48008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
48010 if test "$TOOLKIT" = "MSW"; then
48011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
48012 if test "$wxUSE_UNIVERSAL" != "yes"; then
48013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48016 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
48020 SAMPLES_SUBDIRS
="console"
48021 if test "$wxUSE_SOCKETS" = "yes" ; then
48022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
48024 if test "$wxUSE_IPC" = "yes" ; then
48025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
48030 if test "x$INTELCC" = "xyes" ; then
48031 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
48032 elif test "$GCC" = yes ; then
48033 CWARNINGS
="-Wall -Wundef"
48036 if test "x$INTELCXX" = "xyes" ; then
48037 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48038 elif test "$GXX" = yes ; then
48039 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48040 { $as_echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48041 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
48042 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48043 $as_echo_n "(cached) " >&6
48045 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
48048 ac_cpp
='$CXXCPP $CPPFLAGS'
48049 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48050 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48051 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48053 ac_save_CXXFLAGS
="$CXXFLAGS"
48054 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48055 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48056 cat >conftest.
$ac_ext <<_ACEOF
48059 cat confdefs.h
>>conftest.
$ac_ext
48060 cat >>conftest.
$ac_ext <<_ACEOF
48061 /* end confdefs.h. */
48071 rm -f conftest.
$ac_objext
48072 if { (ac_try
="$ac_compile"
48073 case "(($ac_try" in
48074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48075 *) ac_try_echo=$ac_try;;
48077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
48078 $as_echo "$ac_try_echo") >&5
48079 (eval "$ac_compile") 2>conftest.er1
48081 grep -v '^ *+' conftest.er1 >conftest.err
48083 cat conftest.err >&5
48084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
48085 (exit $ac_status); } && {
48086 test -z "$ac_cxx_werror_flag" ||
48087 test ! -s conftest.err
48088 } && test -s conftest.$ac_objext; then
48089 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48091 $as_echo "$as_me: failed program was:" >&5
48092 sed 's/^/| /' conftest.$ac_ext >&5
48097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48099 CXXFLAGS="$ac_save_CXXFLAGS"
48101 ac_cpp='$CPP $CPPFLAGS'
48102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48108 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48109 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48110 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48114 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48115 then { ($as_echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48116 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
48119 (exit $ac_status); }
48120 else { ($as_echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48121 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
48124 (exit $ac_status); }
48125 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48133 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48134 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48137 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48138 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
48139 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
48142 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48143 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48144 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48145 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48146 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48148 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48151 if test "x$MWCC" = "xyes"; then
48153 CC="$CC -cwd source -I-"
48154 CXX="$CXX -cwd source -I-"
48159 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48160 EXTRALIBS_XML="$EXPAT_LINK"
48161 EXTRALIBS_HTML="$MSPACK_LINK"
48162 EXTRALIBS_MEDIA="$GST_LIBS"
48163 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48164 if test "$wxUSE_GUI" = "yes"; then
48165 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48167 if test "$wxUSE_OPENGL" = "yes"; then
48168 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48171 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48173 WXCONFIG_LIBS="$LIBS"
48175 if test "$wxUSE_REGEX" = "builtin" ; then
48176 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48178 if test "$wxUSE_EXPAT" = "builtin" ; then
48179 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48181 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48182 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48184 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48185 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48187 if test "$wxUSE_LIBPNG" = "builtin" ; then
48188 wxconfig_3rdparty="png $wxconfig_3rdparty"
48190 if test "$wxUSE_ZLIB" = "builtin" ; then
48191 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48194 for i in $wxconfig_3rdparty ; do
48195 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48199 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48202 case "$wxUNIV_THEMES" in
48204 cat >>confdefs.h <<\_ACEOF
48205 #define wxUSE_ALL_THEMES 1
48211 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48212 cat >>confdefs.h <<_ACEOF
48213 #define wxUSE_THEME_$t 1
48229 if test $wxUSE_MONOLITHIC = "yes" ; then
48235 if test $wxUSE_PLUGINS = "yes" ; then
48241 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48247 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48280 TOOLKIT_LOWERCASE=xxx
48281 if test "$TOOLKIT" = "MAC"; then
48282 TOOLKIT_LOWERCASE=osx_carbon
48284 if test "$TOOLKIT" = "OSX_CARBON"; then
48285 TOOLKIT_LOWERCASE=osx_carbon
48287 if test "$TOOLKIT" = "OSX_COCOA"; then
48288 TOOLKIT_LOWERCASE=osx_cocoa
48290 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
48291 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48305 TOOLKIT_DESC="GTK+"
48306 if test "$WXGTK2" = 1; then
48307 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48308 if test "$wxUSE_GTKPRINT" = "yes" ; then
48309 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48311 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48312 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48314 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48315 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48317 if test "$wxUSE_LIBHILDON" = "yes"; then
48318 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48321 if test "$TOOLKIT_EXTRA" != ""; then
48322 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48328 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48332 TOOLKIT_DESC="base only"
48336 if test "$wxUSE_WINE" = "yes"; then
48337 BAKEFILE_FORCE_PLATFORM=win32
48340 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48342 { $as_echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48343 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
48344 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48345 $as_echo_n "(cached) " >&6
48348 echo '#include <stdio.h>
48349 const wchar_t test_var[] = L"awidetest";' > conftest.h
48351 echo '#include "conftest.h"
48354 printf("%ls", test_var);
48358 wx_cv_gcc_pch_bug="pch not supported"
48360 if $CXX conftest.h >/dev/null 2>&1
48364 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48366 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48367 grep awidetest >/dev/null
48369 wx_cv_gcc_pch_bug=no
48371 wx_cv_gcc_pch_bug=yes
48376 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48379 { $as_echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48380 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
48382 if test "$wx_cv_gcc_pch_bug" = yes; then
48393 if test "x$BAKEFILE_HOST" = "x"; then
48394 if test "x${host}" = "x" ; then
48395 { { $as_echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48396 $as_echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48397 { (exit 1); exit 1; }; }
48400 BAKEFILE_HOST="${host}"
48403 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48405 if test -n "$ac_tool_prefix"; then
48406 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48407 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48408 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
48409 $as_echo_n "checking for $ac_word... " >&6; }
48410 if test "${ac_cv_prog_RANLIB+set}" = set; then
48411 $as_echo_n "(cached) " >&6
48413 if test -n "$RANLIB"; then
48414 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48417 for as_dir in $PATH
48420 test -z "$as_dir" && as_dir=.
48421 for ac_exec_ext in '' $ac_executable_extensions; do
48422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48423 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48424 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48433 RANLIB=$ac_cv_prog_RANLIB
48434 if test -n "$RANLIB"; then
48435 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
48436 $as_echo "$RANLIB" >&6; }
48438 { $as_echo "$as_me:$LINENO: result: no" >&5
48439 $as_echo "no" >&6; }
48444 if test -z "$ac_cv_prog_RANLIB"; then
48445 ac_ct_RANLIB=$RANLIB
48446 # Extract the first word of "ranlib", so it can be a program name with args.
48447 set dummy ranlib; ac_word=$2
48448 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
48449 $as_echo_n "checking for $ac_word... " >&6; }
48450 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48451 $as_echo_n "(cached) " >&6
48453 if test -n "$ac_ct_RANLIB"; then
48454 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48457 for as_dir in $PATH
48460 test -z "$as_dir" && as_dir=.
48461 for ac_exec_ext in '' $ac_executable_extensions; do
48462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48463 ac_cv_prog_ac_ct_RANLIB="ranlib"
48464 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48473 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48474 if test -n "$ac_ct_RANLIB"; then
48475 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48476 $as_echo "$ac_ct_RANLIB" >&6; }
48478 { $as_echo "$as_me:$LINENO: result: no" >&5
48479 $as_echo "no" >&6; }
48482 if test "x$ac_ct_RANLIB" = x; then
48485 case $cross_compiling:$ac_tool_warned in
48487 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
48488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
48489 ac_tool_warned=yes ;;
48491 RANLIB=$ac_ct_RANLIB
48494 RANLIB="$ac_cv_prog_RANLIB"
48497 # Find a good install program. We prefer a C program (faster),
48498 # so one script is as good as another. But avoid the broken or
48499 # incompatible versions:
48500 # SysV /etc/install, /usr/sbin/install
48501 # SunOS /usr/etc/install
48502 # IRIX /sbin/install
48504 # AmigaOS /C/install, which installs bootblocks on floppy discs
48505 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48506 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48507 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48508 # OS/2's system install, which has a completely different semantic
48509 # ./install, which can be erroneously created by make from ./install.sh.
48510 # Reject install programs that cannot install multiple files.
48511 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48512 $as_echo_n "checking for a BSD-compatible install... " >&6; }
48513 if test -z "$INSTALL"; then
48514 if test "${ac_cv_path_install+set}" = set; then
48515 $as_echo_n "(cached) " >&6
48517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48518 for as_dir in $PATH
48521 test -z "$as_dir" && as_dir=.
48522 # Account for people who put trailing slashes in PATH elements.
48524 ./ | .// | /cC/* | \
48525 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48526 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48529 # OSF1 and SCO ODT 3.0 have their own names for install.
48530 # Don't use installbsd from OSF since it installs stuff as root
48532 for ac_prog in ginstall scoinst install; do
48533 for ac_exec_ext in '' $ac_executable_extensions; do
48534 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48535 if test $ac_prog = install &&
48536 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48537 # AIX install. It has an incompatible calling convention.
48539 elif test $ac_prog = install &&
48540 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48541 # program-specific install script used by HP pwplus--don't use.
48544 rm -rf conftest.one conftest.two conftest.dir
48545 echo one > conftest.one
48546 echo two > conftest.two
48548 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
48549 test -s conftest.one && test -s conftest.two &&
48550 test -s conftest.dir/conftest.one &&
48551 test -s conftest.dir/conftest.two
48553 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48566 rm -rf conftest.one conftest.two conftest.dir
48569 if test "${ac_cv_path_install+set}" = set; then
48570 INSTALL=$ac_cv_path_install
48572 # As a last resort, use the slow shell script. Don't cache a
48573 # value for INSTALL within a source directory, because that will
48574 # break other packages using the cache if that directory is
48575 # removed, or if the value is a relative name.
48576 INSTALL=$ac_install_sh
48579 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
48580 $as_echo "$INSTALL" >&6; }
48582 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48583 # It thinks the first close brace ends the variable substitution.
48584 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48586 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48588 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48590 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
48591 $as_echo_n "checking whether ln -s works... " >&6; }
48593 if test "$LN_S" = "ln -s"; then
48594 { $as_echo "$as_me:$LINENO: result: yes" >&5
48595 $as_echo "yes" >&6; }
48597 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48598 $as_echo "no, using $LN_S" >&6; }
48602 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48603 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
48605 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48606 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48607 $as_echo_n "(cached) " >&6
48609 cat >conftest.make <<\_ACEOF
48612 @echo '@@@%%%=$(MAKE)=@@@%%%'
48614 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48615 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48616 *@@@%%%=?*=@@@%%%*)
48617 eval ac_cv_prog_make_${ac_make}_set=yes;;
48619 eval ac_cv_prog_make_${ac_make}_set=no;;
48621 rm -f conftest.make
48623 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48624 { $as_echo "$as_me:$LINENO: result: yes" >&5
48625 $as_echo "yes" >&6; }
48628 { $as_echo "$as_me:$LINENO: result: no" >&5
48629 $as_echo "no" >&6; }
48630 SET_MAKE="MAKE=${MAKE-make}"
48635 if test "x$SUNCXX" = "xyes"; then
48637 AROPTIONS="-xar -o"
48639 elif test "x$SGICC" = "xyes"; then
48644 if test -n "$ac_tool_prefix"; then
48645 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48646 set dummy ${ac_tool_prefix}ar; ac_word=$2
48647 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
48648 $as_echo_n "checking for $ac_word... " >&6; }
48649 if test "${ac_cv_prog_AR+set}" = set; then
48650 $as_echo_n "(cached) " >&6
48652 if test -n "$AR"; then
48653 ac_cv_prog_AR="$AR" # Let the user override the test.
48655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48656 for as_dir in $PATH
48659 test -z "$as_dir" && as_dir=.
48660 for ac_exec_ext in '' $ac_executable_extensions; do
48661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48662 ac_cv_prog_AR="${ac_tool_prefix}ar"
48663 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48673 if test -n "$AR"; then
48674 { $as_echo "$as_me:$LINENO: result: $AR" >&5
48675 $as_echo "$AR" >&6; }
48677 { $as_echo "$as_me:$LINENO: result: no" >&5
48678 $as_echo "no" >&6; }
48683 if test -z "$ac_cv_prog_AR"; then
48685 # Extract the first word of "ar", so it can be a program name with args.
48686 set dummy ar; ac_word=$2
48687 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
48688 $as_echo_n "checking for $ac_word... " >&6; }
48689 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48690 $as_echo_n "(cached) " >&6
48692 if test -n "$ac_ct_AR"; then
48693 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48696 for as_dir in $PATH
48699 test -z "$as_dir" && as_dir=.
48700 for ac_exec_ext in '' $ac_executable_extensions; do
48701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48702 ac_cv_prog_ac_ct_AR="ar"
48703 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48712 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48713 if test -n "$ac_ct_AR"; then
48714 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48715 $as_echo "$ac_ct_AR" >&6; }
48717 { $as_echo "$as_me:$LINENO: result: no" >&5
48718 $as_echo "no" >&6; }
48721 if test "x$ac_ct_AR" = x; then
48724 case $cross_compiling:$ac_tool_warned in
48726 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
48727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
48728 ac_tool_warned=yes ;;
48733 AR="$ac_cv_prog_AR"
48740 if test -n "$ac_tool_prefix"; then
48741 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48742 set dummy ${ac_tool_prefix}strip; ac_word=$2
48743 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
48744 $as_echo_n "checking for $ac_word... " >&6; }
48745 if test "${ac_cv_prog_STRIP+set}" = set; then
48746 $as_echo_n "(cached) " >&6
48748 if test -n "$STRIP"; then
48749 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48752 for as_dir in $PATH
48755 test -z "$as_dir" && as_dir=.
48756 for ac_exec_ext in '' $ac_executable_extensions; do
48757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48758 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48759 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48768 STRIP=$ac_cv_prog_STRIP
48769 if test -n "$STRIP"; then
48770 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
48771 $as_echo "$STRIP" >&6; }
48773 { $as_echo "$as_me:$LINENO: result: no" >&5
48774 $as_echo "no" >&6; }
48779 if test -z "$ac_cv_prog_STRIP"; then
48781 # Extract the first word of "strip", so it can be a program name with args.
48782 set dummy strip; ac_word=$2
48783 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
48784 $as_echo_n "checking for $ac_word... " >&6; }
48785 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48786 $as_echo_n "(cached) " >&6
48788 if test -n "$ac_ct_STRIP"; then
48789 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48792 for as_dir in $PATH
48795 test -z "$as_dir" && as_dir=.
48796 for ac_exec_ext in '' $ac_executable_extensions; do
48797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48798 ac_cv_prog_ac_ct_STRIP="strip"
48799 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48808 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48809 if test -n "$ac_ct_STRIP"; then
48810 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48811 $as_echo "$ac_ct_STRIP" >&6; }
48813 { $as_echo "$as_me:$LINENO: result: no" >&5
48814 $as_echo "no" >&6; }
48817 if test "x$ac_ct_STRIP" = x; then
48820 case $cross_compiling:$ac_tool_warned in
48822 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
48823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
48824 ac_tool_warned=yes ;;
48829 STRIP="$ac_cv_prog_STRIP"
48832 if test -n "$ac_tool_prefix"; then
48833 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48834 set dummy ${ac_tool_prefix}nm; ac_word=$2
48835 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
48836 $as_echo_n "checking for $ac_word... " >&6; }
48837 if test "${ac_cv_prog_NM+set}" = set; then
48838 $as_echo_n "(cached) " >&6
48840 if test -n "$NM"; then
48841 ac_cv_prog_NM="$NM" # Let the user override the test.
48843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48844 for as_dir in $PATH
48847 test -z "$as_dir" && as_dir=.
48848 for ac_exec_ext in '' $ac_executable_extensions; do
48849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48850 ac_cv_prog_NM="${ac_tool_prefix}nm"
48851 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48861 if test -n "$NM"; then
48862 { $as_echo "$as_me:$LINENO: result: $NM" >&5
48863 $as_echo "$NM" >&6; }
48865 { $as_echo "$as_me:$LINENO: result: no" >&5
48866 $as_echo "no" >&6; }
48871 if test -z "$ac_cv_prog_NM"; then
48873 # Extract the first word of "nm", so it can be a program name with args.
48874 set dummy nm; ac_word=$2
48875 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
48876 $as_echo_n "checking for $ac_word... " >&6; }
48877 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48878 $as_echo_n "(cached) " >&6
48880 if test -n "$ac_ct_NM"; then
48881 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48884 for as_dir in $PATH
48887 test -z "$as_dir" && as_dir=.
48888 for ac_exec_ext in '' $ac_executable_extensions; do
48889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48890 ac_cv_prog_ac_ct_NM="nm"
48891 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48900 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48901 if test -n "$ac_ct_NM"; then
48902 { $as_echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48903 $as_echo "$ac_ct_NM" >&6; }
48905 { $as_echo "$as_me:$LINENO: result: no" >&5
48906 $as_echo "no" >&6; }
48909 if test "x$ac_ct_NM" = x; then
48912 case $cross_compiling:$ac_tool_warned in
48914 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
48915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
48916 ac_tool_warned=yes ;;
48921 NM="$ac_cv_prog_NM"
48925 { $as_echo "$as_me:$LINENO: checking for command to install directories" >&5
48926 $as_echo_n "checking for command to install directories... " >&6; }
48927 INSTALL_TEST_DIR=acbftest$$
48928 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48929 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48930 rmdir $INSTALL_TEST_DIR
48931 INSTALL_DIR='$(INSTALL) -d'
48932 { $as_echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48933 $as_echo "$INSTALL -d" >&6; }
48935 INSTALL_DIR="mkdir -p"
48936 { $as_echo "$as_me:$LINENO: result: mkdir -p" >&5
48937 $as_echo "mkdir -p" >&6; }
48942 case ${BAKEFILE_HOST} in
48943 *-*-cygwin* | *-*-mingw32* )
48944 LDFLAGS_GUI="-mwindows"
48950 { $as_echo "$as_me:$LINENO: checking if make is GNU make" >&5
48951 $as_echo_n "checking if make is GNU make... " >&6; }
48952 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48953 $as_echo_n "(cached) " >&6
48956 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48957 egrep -s GNU > /dev/null); then
48958 bakefile_cv_prog_makeisgnu="yes"
48960 bakefile_cv_prog_makeisgnu="no"
48964 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48965 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
48967 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48984 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48985 case "${BAKEFILE_HOST}" in
48992 *-pc-os2_emx | *-pc-os2-emx )
49002 powerpc-apple-macos* )
49011 case "$BAKEFILE_FORCE_PLATFORM" in
49046 # Check whether --enable-omf was given.
49047 if test "${enable_omf+set}" = set; then
49048 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49052 case "${BAKEFILE_HOST}" in
49054 if test "x$GCC" = "xyes"; then
49055 CFLAGS="$CFLAGS -fno-common"
49056 CXXFLAGS="$CXXFLAGS -fno-common"
49058 if test "x$XLCC" = "xyes"; then
49059 CFLAGS="$CFLAGS -qnocommon"
49060 CXXFLAGS="$CXXFLAGS -qnocommon"
49064 *-pc-os2_emx | *-pc-os2-emx )
49065 if test "x$bk_os2_use_omf" = "xyes" ; then
49068 LDFLAGS="-Zomf $LDFLAGS"
49069 CFLAGS="-Zomf $CFLAGS"
49070 CXXFLAGS="-Zomf $CXXFLAGS"
49078 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49084 SO_SUFFIX_MODULE="so"
49089 DLLPREFIX_MODULE=""
49093 case "${BAKEFILE_HOST}" in
49098 SO_SUFFIX_MODULE="sl"
49102 SO_SUFFIX_MODULE="a"
49106 SO_SUFFIX_MODULE="dll"
49107 DLLIMP_SUFFIX="dll.a"
49114 SO_SUFFIX_MODULE="dll"
49115 DLLIMP_SUFFIX="dll.a"
49125 *-pc-os2_emx | *-pc-os2-emx )
49127 SO_SUFFIX_MODULE="dll"
49128 DLLIMP_SUFFIX=$OS2_LIBEXT
49132 LIBEXT=".$OS2_LIBEXT"
49137 SO_SUFFIX_MODULE="bundle"
49141 if test "x$DLLIMP_SUFFIX" = "x" ; then
49142 DLLIMP_SUFFIX="$SO_SUFFIX"
49157 if test "x$GCC" = "xyes"; then
49161 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49162 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49165 case "${BAKEFILE_HOST}" in
49167 if test "x$GCC" != "xyes"; then
49168 LDFLAGS="$LDFLAGS -L/usr/lib"
49170 SHARED_LD_CC="${CC} -b -o"
49171 SHARED_LD_CXX="${CXX} -b -o"
49177 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49179 elif test "x$SUNCXX" = "xyes"; then
49180 SHARED_LD_CC="${CC} -G -o"
49181 SHARED_LD_CXX="${CXX} -G -o"
49187 if test "x$SUNCXX" = xyes ; then
49188 SHARED_LD_CC="${CC} -G -o"
49189 SHARED_LD_CXX="${CXX} -G -o"
49197 cat <<EOF >shared-ld-sh
49199 #-----------------------------------------------------------------------------
49200 #-- Name: distrib/mac/shared-ld-sh
49201 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49202 #-- Author: Gilles Depeyrot
49203 #-- Copyright: (c) 2002 Gilles Depeyrot
49204 #-- Licence: any use permitted
49205 #-----------------------------------------------------------------------------
49210 linking_flag="-dynamiclib"
49211 ldargs="-r -keep_private_externs -nostdlib"
49213 if test "x${D}CXX" = "x"; then
49217 while test ${D}# -gt 0; do
49224 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49225 # collect these options and values
49226 args="${D}{args} ${D}1 ${D}2"
49231 # collect these options and values
49232 ldargs="${D}{ldargs} ${D}1 ${D}2"
49237 # collect these load args
49238 ldargs="${D}{ldargs} ${D}1"
49241 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49242 # collect these options
49243 args="${D}{args} ${D}1"
49246 -dynamiclib|-bundle)
49247 linking_flag="${D}1"
49251 echo "shared-ld: unhandled option '${D}1'"
49255 *.o | *.a | *.dylib)
49256 # collect object files
49257 objects="${D}{objects} ${D}1"
49261 echo "shared-ld: unhandled argument '${D}1'"
49272 # Link one module containing all the others
49274 if test ${D}{verbose} = 1; then
49275 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49277 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49281 # Link the shared library from the single module created, but only if the
49282 # previous command didn't fail:
49284 if test ${D}{status} = 0; then
49285 if test ${D}{verbose} = 1; then
49286 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49288 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49293 # Remove intermediate module
49295 rm -f master.${D}${D}.o
49300 chmod +x shared-ld-sh
49302 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49303 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
49306 { $as_echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49307 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
49308 if test "${bakefile_cv_gcc31+set}" = set; then
49309 $as_echo_n "(cached) " >&6
49312 cat >conftest.$ac_ext <<_ACEOF
49315 cat confdefs.h >>conftest.$ac_ext
49316 cat >>conftest.$ac_ext <<_ACEOF
49317 /* end confdefs.h. */
49323 #if (__GNUC__ < 3) || \
49324 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49332 rm -f conftest.$ac_objext
49333 if { (ac_try="$ac_compile"
49334 case "(($ac_try" in
49335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49336 *) ac_try_echo
=$ac_try;;
49338 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
49339 $as_echo "$ac_try_echo") >&5
49340 (eval "$ac_compile") 2>conftest.er1
49342 grep -v '^ *+' conftest.er1
>conftest.err
49344 cat conftest.err
>&5
49345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
49346 (exit $ac_status); } && {
49347 test -z "$ac_c_werror_flag" ||
49348 test ! -s conftest.err
49349 } && test -s conftest.
$ac_objext; then
49351 bakefile_cv_gcc31
=yes
49354 $as_echo "$as_me: failed program was:" >&5
49355 sed 's/^/| /' conftest.
$ac_ext >&5
49358 bakefile_cv_gcc31
=no
49363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49366 { $as_echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49367 $as_echo "$bakefile_cv_gcc31" >&6; }
49368 if test "$bakefile_cv_gcc31" = "no"; then
49369 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49370 SHARED_LD_CXX
="$SHARED_LD_CC"
49372 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49373 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49376 if test "x$GCC" == "xyes"; then
49377 PIC_FLAG
="-dynamic -fPIC"
49379 if test "x$XLCC" = "xyes"; then
49380 PIC_FLAG
="-dynamic -DPIC"
49385 if test "x$GCC" = "xyes"; then
49388 case "${BAKEFILE_HOST}" in
49390 LD_EXPFULL
="-Wl,-bexpfull"
49394 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49395 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49397 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49398 set dummy makeC
++SharedLib
; ac_word
=$2
49399 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
49400 $as_echo_n "checking for $ac_word... " >&6; }
49401 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49402 $as_echo_n "(cached) " >&6
49404 if test -n "$AIX_CXX_LD"; then
49405 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49408 for as_dir
in $PATH
49411 test -z "$as_dir" && as_dir
=.
49412 for ac_exec_ext
in '' $ac_executable_extensions; do
49413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49414 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49415 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49422 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49425 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49426 if test -n "$AIX_CXX_LD"; then
49427 { $as_echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49428 $as_echo "$AIX_CXX_LD" >&6; }
49430 { $as_echo "$as_me:$LINENO: result: no" >&5
49431 $as_echo "no" >&6; }
49435 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49436 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49441 SHARED_LD_CC
="${LD} -nostart -o"
49442 SHARED_LD_CXX
="${LD} -nostart -o"
49446 if test "x$GCC" != "xyes"; then
49451 *-*-cygwin* | *-*-mingw32* )
49453 SHARED_LD_CC
="\$(CC) -shared -o"
49454 SHARED_LD_CXX
="\$(CXX) -shared -o"
49458 *-pc-os2_emx | *-pc-os2-emx )
49459 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49460 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49464 cat <<EOF >dllar.sh
49467 # dllar - a tool to build both a .dll and an .a file
49468 # from a set of object (.o) files for EMX/OS2.
49470 # Written by Andrew Zabolotny, bit@freya.etu.ru
49471 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49473 # This script will accept a set of files on the command line.
49474 # All the public symbols from the .o files will be exported into
49475 # a .DEF file, then linker will be run (through gcc) against them to
49476 # build a shared library consisting of all given .o files. All libraries
49477 # (.a) will be first decompressed into component .o files then act as
49478 # described above. You can optionally give a description (-d "description")
49479 # which will be put into .DLL. To see the list of accepted options (as well
49480 # as command-line format) simply run this program without options. The .DLL
49481 # is built to be imported by name (there is no guarantee that new versions
49482 # of the library you build will have same ordinals for same symbols).
49484 # dllar is free software; you can redistribute it and/or modify
49485 # it under the terms of the GNU General Public License as published by
49486 # the Free Software Foundation; either version 2, or (at your option)
49487 # any later version.
49489 # dllar is distributed in the hope that it will be useful,
49490 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49491 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49492 # GNU General Public License for more details.
49494 # You should have received a copy of the GNU General Public License
49495 # along with dllar; see the file COPYING. If not, write to the Free
49496 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49499 # To successfuly run this program you will need:
49500 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49501 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49503 # (used to build the .dll)
49505 # (used to create .def file from .o files)
49507 # (used to create .a file from .def file)
49508 # - GNU text utilites (cat, sort, uniq)
49509 # used to process emxexp output
49510 # - GNU file utilities (mv, rm)
49512 # - lxlite (optional, see flag below)
49513 # (used for general .dll cleanup)
49520 # basnam, variant of basename, which does _not_ remove the path, _iff_
49521 # second argument (suffix to remove) is given
49525 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49528 echo ${D}1 | sed 's/'${D}2'${D}//'
49531 echo "error in basnam ${D}*"
49537 # Cleanup temporary files and output
49540 for i in ${D}inputFiles ; do
49543 rm -rf \`basnam ${D}i !\`
49550 # Kill result in case of failure as there is just to many stupid make/nmake
49551 # things out there which doesn't do this.
49552 if [ ${D}# -eq 0 ]; then
49553 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49557 # Print usage and exit script with rc=1.
49559 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49560 echo ' [-name-mangler-script script.sh]'
49561 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49562 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49563 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49564 echo ' [*.o] [*.a]'
49565 echo '*> "output_file" should have no extension.'
49566 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49567 echo ' The import library name is derived from this and is set to "name".a,'
49568 echo ' unless overridden by -import'
49569 echo '*> "importlib_name" should have no extension.'
49570 echo ' If it has the .o, or .a extension, it is automatically removed.'
49571 echo ' This name is used as the import library name and may be longer and'
49572 echo ' more descriptive than the DLL name which has to follow the old '
49573 echo ' 8.3 convention of FAT.'
49574 echo '*> "script.sh may be given to override the output_file name by a'
49575 echo ' different name. It is mainly useful if the regular make process'
49576 echo ' of some package does not take into account OS/2 restriction of'
49577 echo ' DLL name lengths. It takes the importlib name as input and is'
49578 echo ' supposed to procude a shorter name as output. The script should'
49579 echo ' expect to get importlib_name without extension and should produce'
49580 echo ' a (max.) 8 letter name without extension.'
49581 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49582 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49583 echo ' These flags will be put at the start of GCC command line.'
49584 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49585 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49586 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49587 echo ' If the last character of a symbol is "*", all symbols beginning'
49588 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49589 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49590 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49591 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49592 echo ' C runtime DLLs.'
49593 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49594 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49595 echo ' unchanged to GCC at the end of command line.'
49596 echo '*> If you create a DLL from a library and you do not specify -o,'
49597 echo ' the basename for DLL and import library will be set to library name,'
49598 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49599 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49600 echo ' library will be renamed into gcc_s.a.'
49603 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49604 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49609 # Execute a command.
49610 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49611 # @Uses Whatever CleanUp() uses.
49617 if [ ${D}rcCmd -ne 0 ]; then
49618 echo "command failed, exit code="${D}rcCmd
49633 CFLAGS="-s -Zcrtdll"
49635 EXPORT_BY_ORDINALS=0
49640 case ${D}curDirS in
49644 curDirS=${D}{curDirS}"/"
49647 # Parse commandline
49650 while [ ${D}1 ]; do
49653 EXPORT_BY_ORDINALS=1;
49663 -name-mangler-script)
49684 exclude_symbols=${D}{exclude_symbols}${D}1" "
49688 library_flags=${D}{library_flags}${D}1" "
49707 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49710 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49711 if [ ${D}omfLinking -eq 1 ]; then
49712 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49714 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49719 if [ ${D}libsToLink -ne 0 ]; then
49720 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49722 for file in ${D}1 ; do
49723 if [ -f ${D}file ]; then
49724 inputFiles="${D}{inputFiles} ${D}file"
49728 if [ ${D}found -eq 0 ]; then
49729 echo "ERROR: No file(s) found: "${D}1
49736 done # iterate cmdline words
49739 if [ -z "${D}inputFiles" ]; then
49740 echo "dllar: no input files"
49744 # Now extract all .o files from .a files
49746 for file in ${D}inputFiles ; do
49757 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49762 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49764 if [ ${D}? -ne 0 ]; then
49765 echo "Failed to create subdirectory ./${D}dirname"
49769 # Append '!' to indicate archive
49770 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49771 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49774 for subfile in ${D}dirname/*.o* ; do
49775 if [ -f ${D}subfile ]; then
49777 if [ -s ${D}subfile ]; then
49778 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49779 newInputFiles="${D}newInputFiles ${D}subfile"
49783 if [ ${D}found -eq 0 ]; then
49784 echo "WARNING: there are no files in archive \\'${D}file\\'"
49788 newInputFiles="${D}{newInputFiles} ${D}file"
49792 inputFiles="${D}newInputFiles"
49794 # Output filename(s).
49796 if [ -z ${D}outFile ]; then
49798 set outFile ${D}inputFiles; outFile=${D}2
49801 # If it is an archive, remove the '!' and the '_%' suffixes
49802 case ${D}outFile in
49804 outFile=\`basnam ${D}outFile _%!\`
49809 case ${D}outFile in
49811 outFile=\`basnam ${D}outFile .dll\`
49814 outFile=\`basnam ${D}outFile .DLL\`
49817 outFile=\`basnam ${D}outFile .o\`
49820 outFile=\`basnam ${D}outFile .obj\`
49823 outFile=\`basnam ${D}outFile .a\`
49826 outFile=\`basnam ${D}outFile .lib\`
49831 case ${D}outimpFile in
49833 outimpFile=\`basnam ${D}outimpFile .a\`
49836 outimpFile=\`basnam ${D}outimpFile .lib\`
49841 if [ -z ${D}outimpFile ]; then
49842 outimpFile=${D}outFile
49844 defFile="${D}{outFile}.def"
49845 arcFile="${D}{outimpFile}.a"
49846 arcFile2="${D}{outimpFile}.lib"
49848 #create ${D}dllFile as something matching 8.3 restrictions,
49849 if [ -z ${D}renameScript ] ; then
49850 dllFile="${D}outFile"
49852 dllFile=\`${D}renameScript ${D}outimpFile\`
49855 if [ ${D}do_backup -ne 0 ] ; then
49856 if [ -f ${D}arcFile ] ; then
49857 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49859 if [ -f ${D}arcFile2 ] ; then
49860 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49864 # Extract public symbols from all the object files.
49865 tmpdefFile=${D}{defFile}_%
49866 rm -f ${D}tmpdefFile
49867 for file in ${D}inputFiles ; do
49872 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49877 # Create the def file.
49879 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49880 dllFile="${D}{dllFile}.dll"
49881 if [ ! -z ${D}description ]; then
49882 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49884 echo "EXPORTS" >> ${D}defFile
49886 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49887 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49889 # Checks if the export is ok or not.
49890 for word in ${D}exclude_symbols; do
49891 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49892 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49896 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49897 sed "=" < ${D}tmpdefFile | \\
49901 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49903 ' > ${D}{tmpdefFile}%
49904 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49906 rm -f ${D}{tmpdefFile}%
49908 cat ${D}tmpdefFile >> ${D}defFile
49909 rm -f ${D}tmpdefFile
49911 # Do linking, create implib, and apply lxlite.
49913 for file in ${D}inputFiles ; do
49918 gccCmdl="${D}gccCmdl ${D}file"
49922 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49923 touch "${D}{outFile}.dll"
49925 doCommand "emximp -o ${D}arcFile ${D}defFile"
49926 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49928 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49931 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49933 doCommand "emxomf -s -l ${D}arcFile"
49943 powerpc
-apple-macos* | \
49944 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49954 { { $as_echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49955 $as_echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49956 { (exit 1); exit 1; }; }
49959 if test "x$PIC_FLAG" != "x" ; then
49960 PIC_FLAG
="$PIC_FLAG -DPIC"
49963 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49964 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49966 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49967 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49986 case "${BAKEFILE_HOST}" in
49987 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49988 *-*-k*bsd
*-gnu | *-*-mirbsd* )
49989 if test "x$SUNCXX" = "xyes"; then
49992 SONAME_FLAG
="-Wl,-soname,"
50027 # Check whether --enable-dependency-tracking was given.
50028 if test "${enable_dependency_tracking+set}" = set; then
50029 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
50033 { $as_echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50034 $as_echo_n "checking for dependency tracking method... " >&6; }
50037 if test "x$bk_use_trackdeps" = "xno" ; then
50039 { $as_echo "$as_me:$LINENO: result: disabled" >&5
50040 $as_echo "disabled" >&6; }
50044 if test "x$GCC" = "xyes"; then
50046 case "${BAKEFILE_HOST}" in
50048 DEPSFLAG
="-no-cpp-precomp -MMD"
50054 { $as_echo "$as_me:$LINENO: result: gcc" >&5
50055 $as_echo "gcc" >&6; }
50056 elif test "x$MWCC" = "xyes"; then
50059 { $as_echo "$as_me:$LINENO: result: mwcc" >&5
50060 $as_echo "mwcc" >&6; }
50061 elif test "x$SUNCC" = "xyes"; then
50064 { $as_echo "$as_me:$LINENO: result: Sun cc" >&5
50065 $as_echo "Sun cc" >&6; }
50066 elif test "x$SGICC" = "xyes"; then
50069 { $as_echo "$as_me:$LINENO: result: SGI cc" >&5
50070 $as_echo "SGI cc" >&6; }
50071 elif test "x$HPCC" = "xyes"; then
50074 { $as_echo "$as_me:$LINENO: result: HP cc" >&5
50075 $as_echo "HP cc" >&6; }
50076 elif test "x$COMPAQCC" = "xyes"; then
50079 { $as_echo "$as_me:$LINENO: result: Compaq cc" >&5
50080 $as_echo "Compaq cc" >&6; }
50083 { $as_echo "$as_me:$LINENO: result: none" >&5
50084 $as_echo "none" >&6; }
50087 if test $DEPS_TRACKING = 1 ; then
50093 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50094 # script. It is used to track C/C++ files dependencies in portable way.
50096 # Permission is given to use this file in any way.
50098 DEPSMODE=${DEPSMODE}
50099 DEPSFLAG="${DEPSFLAG}"
50102 if test ${D}DEPSMODE = gcc ; then
50103 ${D}* ${D}{DEPSFLAG}
50106 # determine location of created files:
50107 while test ${D}# -gt 0; do
50121 objfilebase=\`basename ${D}objfile\`
50122 builddir=\`dirname ${D}objfile\`
50123 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50124 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50125 depsdir=${D}builddir/${D}DEPSDIRBASE
50126 mkdir -p ${D}depsdir
50128 # if the compiler failed, we're done:
50129 if test ${D}{status} != 0 ; then
50134 # move created file to the location we want it in:
50135 if test -f ${D}depfile ; then
50136 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50139 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50140 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50141 if test ! -f ${D}depfile ; then
50142 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50143 depfile="${D}objfile.d"
50145 if test -f ${D}depfile ; then
50146 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50152 elif test ${D}DEPSMODE = mwcc ; then
50153 ${D}* || exit ${D}?
50154 # Run mwcc again with -MM and redirect into the dep file we want
50155 # NOTE: We can't use shift here because we need ${D}* to be valid
50157 for arg in ${D}* ; do
50158 if test "${D}prevarg" = "-o"; then
50172 objfilebase=\`basename ${D}objfile\`
50173 builddir=\`dirname ${D}objfile\`
50174 depsdir=${D}builddir/${D}DEPSDIRBASE
50175 mkdir -p ${D}depsdir
50177 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50180 elif test ${D}DEPSMODE = unixcc; then
50181 ${D}* || exit ${D}?
50182 # Run compiler again with deps flag and redirect into the dep file.
50183 # It doesn't work if the '-o FILE' option is used, but without it the
50184 # dependency file will contain the wrong name for the object. So it is
50185 # removed from the command line, and the dep file is fixed with sed.
50187 while test ${D}# -gt 0; do
50194 eval arg${D}#=\\${D}1
50195 cmd="${D}cmd \\${D}arg${D}#"
50201 objfilebase=\`basename ${D}objfile\`
50202 builddir=\`dirname ${D}objfile\`
50203 depsdir=${D}builddir/${D}DEPSDIRBASE
50204 mkdir -p ${D}depsdir
50206 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50216 BK_DEPS
="`pwd`/bk-deps"
50224 case ${BAKEFILE_HOST} in
50225 *-*-cygwin* | *-*-mingw32* )
50226 if test -n "$ac_tool_prefix"; then
50227 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50228 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
50229 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
50230 $as_echo_n "checking for $ac_word... " >&6; }
50231 if test "${ac_cv_prog_WINDRES+set}" = set; then
50232 $as_echo_n "(cached) " >&6
50234 if test -n "$WINDRES"; then
50235 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
50237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50238 for as_dir
in $PATH
50241 test -z "$as_dir" && as_dir
=.
50242 for ac_exec_ext
in '' $ac_executable_extensions; do
50243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50244 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
50245 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50254 WINDRES
=$ac_cv_prog_WINDRES
50255 if test -n "$WINDRES"; then
50256 { $as_echo "$as_me:$LINENO: result: $WINDRES" >&5
50257 $as_echo "$WINDRES" >&6; }
50259 { $as_echo "$as_me:$LINENO: result: no" >&5
50260 $as_echo "no" >&6; }
50265 if test -z "$ac_cv_prog_WINDRES"; then
50266 ac_ct_WINDRES
=$WINDRES
50267 # Extract the first word of "windres", so it can be a program name with args.
50268 set dummy windres
; ac_word
=$2
50269 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
50270 $as_echo_n "checking for $ac_word... " >&6; }
50271 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50272 $as_echo_n "(cached) " >&6
50274 if test -n "$ac_ct_WINDRES"; then
50275 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
50277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50278 for as_dir
in $PATH
50281 test -z "$as_dir" && as_dir
=.
50282 for ac_exec_ext
in '' $ac_executable_extensions; do
50283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50284 ac_cv_prog_ac_ct_WINDRES
="windres"
50285 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50294 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
50295 if test -n "$ac_ct_WINDRES"; then
50296 { $as_echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50297 $as_echo "$ac_ct_WINDRES" >&6; }
50299 { $as_echo "$as_me:$LINENO: result: no" >&5
50300 $as_echo "no" >&6; }
50303 if test "x$ac_ct_WINDRES" = x
; then
50306 case $cross_compiling:$ac_tool_warned in
50308 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
50309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
50310 ac_tool_warned
=yes ;;
50312 WINDRES
=$ac_ct_WINDRES
50315 WINDRES
="$ac_cv_prog_WINDRES"
50320 *-*-darwin* | powerpc
-apple-macos* )
50321 # Extract the first word of "Rez", so it can be a program name with args.
50322 set dummy Rez
; ac_word
=$2
50323 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
50324 $as_echo_n "checking for $ac_word... " >&6; }
50325 if test "${ac_cv_prog_REZ+set}" = set; then
50326 $as_echo_n "(cached) " >&6
50328 if test -n "$REZ"; then
50329 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
50331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50332 for as_dir
in $PATH
50335 test -z "$as_dir" && as_dir
=.
50336 for ac_exec_ext
in '' $ac_executable_extensions; do
50337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50338 ac_cv_prog_REZ
="Rez"
50339 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50346 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
50349 REZ
=$ac_cv_prog_REZ
50350 if test -n "$REZ"; then
50351 { $as_echo "$as_me:$LINENO: result: $REZ" >&5
50352 $as_echo "$REZ" >&6; }
50354 { $as_echo "$as_me:$LINENO: result: no" >&5
50355 $as_echo "no" >&6; }
50359 # Extract the first word of "SetFile", so it can be a program name with args.
50360 set dummy SetFile
; ac_word
=$2
50361 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
50362 $as_echo_n "checking for $ac_word... " >&6; }
50363 if test "${ac_cv_prog_SETFILE+set}" = set; then
50364 $as_echo_n "(cached) " >&6
50366 if test -n "$SETFILE"; then
50367 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50370 for as_dir
in $PATH
50373 test -z "$as_dir" && as_dir
=.
50374 for ac_exec_ext
in '' $ac_executable_extensions; do
50375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50376 ac_cv_prog_SETFILE
="SetFile"
50377 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50384 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50387 SETFILE
=$ac_cv_prog_SETFILE
50388 if test -n "$SETFILE"; then
50389 { $as_echo "$as_me:$LINENO: result: $SETFILE" >&5
50390 $as_echo "$SETFILE" >&6; }
50392 { $as_echo "$as_me:$LINENO: result: no" >&5
50393 $as_echo "no" >&6; }
50408 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.5"
50411 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.5"
50415 # Check whether --enable-precomp-headers was given.
50416 if test "${enable_precomp_headers+set}" = set; then
50417 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
50426 case ${BAKEFILE_HOST} in
50432 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50433 if test "x$GCC" = "xyes"; then
50434 { $as_echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50435 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
50436 cat >conftest.
$ac_ext <<_ACEOF
50439 cat confdefs.h
>>conftest.
$ac_ext
50440 cat >>conftest.
$ac_ext <<_ACEOF
50441 /* end confdefs.h. */
50447 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50448 There is no PCH support
50451 There is no PCH support
50453 #if (__GNUC__ == 3) && \
50454 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50455 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50456 ( defined(__INTEL_COMPILER) )
50457 There is no PCH support
50464 rm -f conftest.
$ac_objext
50465 if { (ac_try
="$ac_compile"
50466 case "(($ac_try" in
50467 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50468 *) ac_try_echo=$ac_try;;
50470 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
50471 $as_echo "$ac_try_echo") >&5
50472 (eval "$ac_compile") 2>conftest.er1
50474 grep -v '^ *+' conftest.er1 >conftest.err
50476 cat conftest.err >&5
50477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
50478 (exit $ac_status); } && {
50479 test -z "$ac_c_werror_flag" ||
50480 test ! -s conftest.err
50481 } && test -s conftest.$ac_objext; then
50483 { $as_echo "$as_me:$LINENO: result: yes" >&5
50484 $as_echo "yes" >&6; }
50488 $as_echo "$as_me: failed program was:" >&5
50489 sed 's/^/| /' conftest.$ac_ext >&5
50492 if test "$INTELCXX8" = "yes"; then
50493 { $as_echo "$as_me:$LINENO: result: yes" >&5
50494 $as_echo "yes" >&6; }
50496 if test "$INTELCXX10" = "yes"; then
50497 ICC_PCH_CREATE_SWITCH="-pch-create"
50498 ICC_PCH_USE_SWITCH="-pch-use"
50500 ICC_PCH_CREATE_SWITCH="-create-pch"
50501 ICC_PCH_USE_SWITCH="-use-pch"
50504 { $as_echo "$as_me:$LINENO: result: no" >&5
50505 $as_echo "no" >&6; }
50510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50511 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50515 cat <<EOF >bk-make-pch
50518 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50519 # script. It is used to generated precompiled headers.
50521 # Permission is given to use this file in any way.
50528 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
50533 while test ${D}{#} -gt 0; do
50537 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
50538 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50539 headerfile="${D}{incdir}/${D}{header}"
50542 -use-pch|-use_pch|-pch-use )
50547 if test ${D}add_to_cmdline = 1 ; then
50548 compiler="${D}{compiler} ${D}{1}"
50553 if test "x${D}{headerfile}" = "x" ; then
50554 echo "error: can't find header ${D}{header} in include paths" >&2
50556 if test -f ${D}{outfile} ; then
50557 rm -f ${D}{outfile}
50559 mkdir -p \`dirname ${D}{outfile
}\
`
50561 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
50562 mkdir -p ${D}{builddir}/.deps
50563 if test "x${GCC_PCH}" = "x1" ; then
50564 # can do this because gcc is >= 3.4:
50565 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50566 elif test "x${ICC_PCH}" = "x1" ; then
50567 filename=pch_gen-${D}${D}
50568 file=${D}{filename}.c
50569 dfile=${D}{filename}.d
50570 cat > ${D}file <<EOT
50571 #include "${D}header"
50573 # using -MF icc complains about differing command lines in creation/use
50574 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50575 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50576 rm -f ${D}file ${D}dfile ${D}{filename}.o
50582 chmod +x bk-make-pch
50583 BK_MAKE_PCH="`pwd`/bk-make-pch"
50594 COND_BUILD_DEBUG="#"
50595 if test "x$BUILD" = "xdebug" ; then
50596 COND_BUILD_DEBUG=""
50599 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50600 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50601 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50604 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50605 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50606 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50609 COND_BUILD_DEBUG_UNICODE_0="#"
50610 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50611 COND_BUILD_DEBUG_UNICODE_0=""
50614 COND_BUILD_DEBUG_UNICODE_1="#"
50615 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50616 COND_BUILD_DEBUG_UNICODE_1=""
50619 COND_BUILD_RELEASE="#"
50620 if test "x$BUILD" = "xrelease" ; then
50621 COND_BUILD_RELEASE=""
50624 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50625 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50626 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50629 COND_BUILD_RELEASE_UNICODE_0="#"
50630 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50631 COND_BUILD_RELEASE_UNICODE_0=""
50634 COND_BUILD_RELEASE_UNICODE_1="#"
50635 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50636 COND_BUILD_RELEASE_UNICODE_1=""
50639 COND_BUILD_debug="#"
50640 if test "x$BUILD" = "xdebug" ; then
50641 COND_BUILD_debug=""
50644 COND_BUILD_debug_DEBUG_FLAG_default="#"
50645 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50646 COND_BUILD_debug_DEBUG_FLAG_default=""
50649 COND_BUILD_debug_DEBUG_INFO_default="#"
50650 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50651 COND_BUILD_debug_DEBUG_INFO_default=""
50654 COND_BUILD_debug_UNICODE_0="#"
50655 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50656 COND_BUILD_debug_UNICODE_0=""
50659 COND_BUILD_debug_UNICODE_1="#"
50660 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50661 COND_BUILD_debug_UNICODE_1=""
50664 COND_BUILD_release="#"
50665 if test "x$BUILD" = "xrelease" ; then
50666 COND_BUILD_release=""
50669 COND_BUILD_release_DEBUG_INFO_default="#"
50670 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50671 COND_BUILD_release_DEBUG_INFO_default=""
50674 COND_BUILD_release_UNICODE_0="#"
50675 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50676 COND_BUILD_release_UNICODE_0=""
50679 COND_BUILD_release_UNICODE_1="#"
50680 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50681 COND_BUILD_release_UNICODE_1=""
50684 COND_DEBUG_FLAG_1="#"
50685 if test "x$DEBUG_FLAG" = "x1" ; then
50686 COND_DEBUG_FLAG_1=""
50689 COND_DEBUG_INFO_0="#"
50690 if test "x$DEBUG_INFO" = "x0" ; then
50691 COND_DEBUG_INFO_0=""
50694 COND_DEBUG_INFO_1="#"
50695 if test "x$DEBUG_INFO" = "x1" ; then
50696 COND_DEBUG_INFO_1=""
50699 COND_DEPS_TRACKING_0="#"
50700 if test "x$DEPS_TRACKING" = "x0" ; then
50701 COND_DEPS_TRACKING_0=""
50704 COND_DEPS_TRACKING_1="#"
50705 if test "x$DEPS_TRACKING" = "x1" ; then
50706 COND_DEPS_TRACKING_1=""
50710 if test "x$GCC_PCH" = "x1" ; then
50715 if test "x$ICC_PCH" = "x1" ; then
50719 COND_MONOLITHIC_0="#"
50720 if test "x$MONOLITHIC" = "x0" ; then
50721 COND_MONOLITHIC_0=""
50724 COND_MONOLITHIC_0_SHARED_0="#"
50725 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50726 COND_MONOLITHIC_0_SHARED_0=""
50729 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50730 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50731 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50734 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50735 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50736 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50739 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50740 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50741 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50744 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50745 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50746 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50749 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50750 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50751 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50754 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50755 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50756 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50759 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50760 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50761 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50764 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50765 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50766 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50769 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50770 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50771 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50774 COND_MONOLITHIC_0_SHARED_1="#"
50775 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50776 COND_MONOLITHIC_0_SHARED_1=""
50779 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50780 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50781 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50784 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50785 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50786 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50789 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50791 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50794 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50796 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50799 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50801 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50804 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50806 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50809 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50811 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50814 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50816 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50819 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50821 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50824 COND_MONOLITHIC_0_USE_AUI_1="#"
50825 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50826 COND_MONOLITHIC_0_USE_AUI_1=""
50829 COND_MONOLITHIC_0_USE_GUI_1="#"
50830 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50831 COND_MONOLITHIC_0_USE_GUI_1=""
50834 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50835 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50836 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50839 COND_MONOLITHIC_0_USE_HTML_1="#"
50840 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50841 COND_MONOLITHIC_0_USE_HTML_1=""
50844 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50845 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50846 COND_MONOLITHIC_0_USE_MEDIA_1=""
50849 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50850 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50851 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50854 COND_MONOLITHIC_0_USE_QA_1="#"
50855 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50856 COND_MONOLITHIC_0_USE_QA_1=""
50859 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50860 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50861 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50864 COND_MONOLITHIC_0_USE_STC_1="#"
50865 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50866 COND_MONOLITHIC_0_USE_STC_1=""
50869 COND_MONOLITHIC_0_USE_XRC_1="#"
50870 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50871 COND_MONOLITHIC_0_USE_XRC_1=""
50874 COND_MONOLITHIC_1="#"
50875 if test "x$MONOLITHIC" = "x1" ; then
50876 COND_MONOLITHIC_1=""
50879 COND_MONOLITHIC_1_SHARED_0="#"
50880 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50881 COND_MONOLITHIC_1_SHARED_0=""
50884 COND_MONOLITHIC_1_SHARED_1="#"
50885 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50886 COND_MONOLITHIC_1_SHARED_1=""
50889 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50890 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50891 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50894 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50895 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50896 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50899 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50900 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50901 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50904 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50905 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50906 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50909 COND_PLATFORM_MACOSX_1="#"
50910 if test "x$PLATFORM_MACOSX" = "x1" ; then
50911 COND_PLATFORM_MACOSX_1=""
50914 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50915 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50916 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50919 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50920 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50921 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50924 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50925 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50926 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50929 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50930 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50931 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50934 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50935 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50936 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50939 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50940 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50941 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50944 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50945 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50946 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50949 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50950 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50951 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50954 COND_PLATFORM_MACOS_1="#"
50955 if test "x$PLATFORM_MACOS" = "x1" ; then
50956 COND_PLATFORM_MACOS_1=""
50959 COND_PLATFORM_MAC_0="#"
50960 if test "x$PLATFORM_MAC" = "x0" ; then
50961 COND_PLATFORM_MAC_0=""
50964 COND_PLATFORM_MAC_1="#"
50965 if test "x$PLATFORM_MAC" = "x1" ; then
50966 COND_PLATFORM_MAC_1=""
50969 COND_PLATFORM_MSDOS_0="#"
50970 if test "x$PLATFORM_MSDOS" = "x0" ; then
50971 COND_PLATFORM_MSDOS_0=""
50974 COND_PLATFORM_MSDOS_1="#"
50975 if test "x$PLATFORM_MSDOS" = "x1" ; then
50976 COND_PLATFORM_MSDOS_1=""
50979 COND_PLATFORM_OS2_1="#"
50980 if test "x$PLATFORM_OS2" = "x1" ; then
50981 COND_PLATFORM_OS2_1=""
50984 COND_PLATFORM_UNIX_0="#"
50985 if test "x$PLATFORM_UNIX" = "x0" ; then
50986 COND_PLATFORM_UNIX_0=""
50989 COND_PLATFORM_UNIX_1="#"
50990 if test "x$PLATFORM_UNIX" = "x1" ; then
50991 COND_PLATFORM_UNIX_1=""
50994 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50995 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50996 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50999 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51000 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51001 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51004 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51005 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51006 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51009 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51010 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51011 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51014 COND_PLATFORM_WIN32_0="#"
51015 if test "x$PLATFORM_WIN32" = "x0" ; then
51016 COND_PLATFORM_WIN32_0=""
51019 COND_PLATFORM_WIN32_1="#"
51020 if test "x$PLATFORM_WIN32" = "x1" ; then
51021 COND_PLATFORM_WIN32_1=""
51025 if test "x$SHARED" = "x0" ; then
51029 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51030 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51031 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51034 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51035 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51036 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51039 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51040 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51041 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51044 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51045 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51046 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51049 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51050 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51051 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51054 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51055 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51056 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51059 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51060 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51061 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51064 COND_SHARED_0_USE_STC_1="#"
51065 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51066 COND_SHARED_0_USE_STC_1=""
51069 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51070 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51071 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51074 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51075 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51076 COND_SHARED_0_wxUSE_REGEX_builtin=""
51079 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51080 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51081 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51085 if test "x$SHARED" = "x1" ; then
51089 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51090 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51091 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51095 if test "x$TOOLKIT" = "x" ; then
51099 COND_TOOLKIT_COCOA="#"
51100 if test "x$TOOLKIT" = "xCOCOA" ; then
51101 COND_TOOLKIT_COCOA=""
51104 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51105 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51106 COND_TOOLKIT_COCOA_USE_GUI_1=""
51109 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51110 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51111 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51114 COND_TOOLKIT_DFB="#"
51115 if test "x$TOOLKIT" = "xDFB" ; then
51116 COND_TOOLKIT_DFB=""
51119 COND_TOOLKIT_DFB_USE_GUI_1="#"
51120 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51121 COND_TOOLKIT_DFB_USE_GUI_1=""
51124 COND_TOOLKIT_GTK="#"
51125 if test "x$TOOLKIT" = "xGTK" ; then
51126 COND_TOOLKIT_GTK=""
51129 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51130 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51131 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51134 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51135 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51136 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51139 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51140 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51141 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51144 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51145 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51146 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51149 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51150 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51151 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51154 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51155 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51156 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51159 COND_TOOLKIT_GTK_USE_GUI_1="#"
51160 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51161 COND_TOOLKIT_GTK_USE_GUI_1=""
51164 COND_TOOLKIT_MAC="#"
51165 if test "x$TOOLKIT" = "xMAC" ; then
51166 COND_TOOLKIT_MAC=""
51169 COND_TOOLKIT_MGL="#"
51170 if test "x$TOOLKIT" = "xMGL" ; then
51171 COND_TOOLKIT_MGL=""
51174 COND_TOOLKIT_MGL_USE_GUI_1="#"
51175 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51176 COND_TOOLKIT_MGL_USE_GUI_1=""
51179 COND_TOOLKIT_MOTIF="#"
51180 if test "x$TOOLKIT" = "xMOTIF" ; then
51181 COND_TOOLKIT_MOTIF=""
51184 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51185 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51186 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51189 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51190 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51191 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51194 COND_TOOLKIT_MSW="#"
51195 if test "x$TOOLKIT" = "xMSW" ; then
51196 COND_TOOLKIT_MSW=""
51199 COND_TOOLKIT_MSW_USE_GUI_1="#"
51200 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51201 COND_TOOLKIT_MSW_USE_GUI_1=""
51204 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51205 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51206 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51209 COND_TOOLKIT_MSW_WXUNIV_0="#"
51210 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51211 COND_TOOLKIT_MSW_WXUNIV_0=""
51214 COND_TOOLKIT_OSX_CARBON="#"
51215 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51216 COND_TOOLKIT_OSX_CARBON=""
51219 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51220 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51221 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51224 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51225 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51226 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51229 COND_TOOLKIT_OSX_COCOA="#"
51230 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51231 COND_TOOLKIT_OSX_COCOA=""
51234 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51235 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51236 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51239 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51240 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51241 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51244 COND_TOOLKIT_OSX_IPHONE="#"
51245 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51246 COND_TOOLKIT_OSX_IPHONE=""
51249 COND_TOOLKIT_PM="#"
51250 if test "x$TOOLKIT" = "xPM" ; then
51254 COND_TOOLKIT_PM_USE_GUI_1="#"
51255 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51256 COND_TOOLKIT_PM_USE_GUI_1=""
51259 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51260 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51261 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51264 COND_TOOLKIT_WINCE="#"
51265 if test "x$TOOLKIT" = "xWINCE" ; then
51266 COND_TOOLKIT_WINCE=""
51269 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51270 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51271 COND_TOOLKIT_WINCE_USE_GUI_1=""
51274 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51275 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51276 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51279 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51280 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51281 COND_TOOLKIT_WINCE_WXUNIV_0=""
51284 COND_TOOLKIT_X11="#"
51285 if test "x$TOOLKIT" = "xX11" ; then
51286 COND_TOOLKIT_X11=""
51289 COND_TOOLKIT_X11_USE_GUI_1="#"
51290 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51291 COND_TOOLKIT_X11_USE_GUI_1=""
51295 if test "x$UNICODE" = "x1" ; then
51299 COND_USE_EXCEPTIONS_0="#"
51300 if test "x$USE_EXCEPTIONS" = "x0" ; then
51301 COND_USE_EXCEPTIONS_0=""
51304 COND_USE_EXCEPTIONS_1="#"
51305 if test "x$USE_EXCEPTIONS" = "x1" ; then
51306 COND_USE_EXCEPTIONS_1=""
51310 if test "x$USE_GUI" = "x0" ; then
51315 if test "x$USE_GUI" = "x1" ; then
51319 COND_USE_GUI_1_USE_OPENGL_1="#"
51320 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51321 COND_USE_GUI_1_USE_OPENGL_1=""
51324 COND_USE_GUI_1_WXUNIV_0="#"
51325 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51326 COND_USE_GUI_1_WXUNIV_0=""
51329 COND_USE_GUI_1_WXUNIV_1="#"
51330 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51331 COND_USE_GUI_1_WXUNIV_1=""
51334 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51335 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51336 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51339 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51340 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51341 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51344 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51345 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51346 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51349 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51350 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51351 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51354 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51355 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51356 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51359 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51360 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51361 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51364 COND_USE_OPENGL_1="#"
51365 if test "x$USE_OPENGL" = "x1" ; then
51366 COND_USE_OPENGL_1=""
51370 if test "x$USE_PCH" = "x1" ; then
51374 COND_USE_PLUGINS_0="#"
51375 if test "x$USE_PLUGINS" = "x0" ; then
51376 COND_USE_PLUGINS_0=""
51379 COND_USE_RTTI_0="#"
51380 if test "x$USE_RTTI" = "x0" ; then
51384 COND_USE_RTTI_1="#"
51385 if test "x$USE_RTTI" = "x1" ; then
51389 COND_USE_SOSYMLINKS_1="#"
51390 if test "x$USE_SOSYMLINKS" = "x1" ; then
51391 COND_USE_SOSYMLINKS_1=""
51394 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51395 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51396 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51399 COND_USE_SOVERLINUX_1="#"
51400 if test "x$USE_SOVERLINUX" = "x1" ; then
51401 COND_USE_SOVERLINUX_1=""
51404 COND_USE_SOVERSION_0="#"
51405 if test "x$USE_SOVERSION" = "x0" ; then
51406 COND_USE_SOVERSION_0=""
51409 COND_USE_SOVERSOLARIS_1="#"
51410 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51411 COND_USE_SOVERSOLARIS_1=""
51415 if test "x$USE_STC" = "x1" ; then
51419 COND_USE_THREADS_0="#"
51420 if test "x$USE_THREADS" = "x0" ; then
51421 COND_USE_THREADS_0=""
51424 COND_USE_THREADS_1="#"
51425 if test "x$USE_THREADS" = "x1" ; then
51426 COND_USE_THREADS_1=""
51430 if test "x$USE_XRC" = "x1" ; then
51434 COND_WINDOWS_IMPLIB_1="#"
51435 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51436 COND_WINDOWS_IMPLIB_1=""
51439 COND_WITH_PLUGIN_SDL_1="#"
51440 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51441 COND_WITH_PLUGIN_SDL_1=""
51445 if test "x$WXUNIV" = "x0" ; then
51450 if test "x$WXUNIV" = "x1" ; then
51454 COND_WXUSE_EXPAT_BUILTIN="#"
51455 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51456 COND_WXUSE_EXPAT_BUILTIN=""
51459 COND_WXUSE_LIBJPEG_BUILTIN="#"
51460 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51461 COND_WXUSE_LIBJPEG_BUILTIN=""
51464 COND_WXUSE_LIBPNG_BUILTIN="#"
51465 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51466 COND_WXUSE_LIBPNG_BUILTIN=""
51469 COND_WXUSE_LIBTIFF_BUILTIN="#"
51470 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51471 COND_WXUSE_LIBTIFF_BUILTIN=""
51474 COND_WXUSE_REGEX_BUILTIN="#"
51475 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51476 COND_WXUSE_REGEX_BUILTIN=""
51479 COND_WXUSE_ZLIB_BUILTIN="#"
51480 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51481 COND_WXUSE_ZLIB_BUILTIN=""
51484 COND_wxUSE_EXPAT_builtin="#"
51485 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51486 COND_wxUSE_EXPAT_builtin=""
51489 COND_wxUSE_LIBJPEG_builtin="#"
51490 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51491 COND_wxUSE_LIBJPEG_builtin=""
51494 COND_wxUSE_LIBPNG_builtin="#"
51495 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51496 COND_wxUSE_LIBPNG_builtin=""
51499 COND_wxUSE_LIBTIFF_builtin="#"
51500 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51501 COND_wxUSE_LIBTIFF_builtin=""
51504 COND_wxUSE_REGEX_builtin="#"
51505 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51506 COND_wxUSE_REGEX_builtin=""
51509 COND_wxUSE_ZLIB_builtin="#"
51510 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51511 COND_wxUSE_ZLIB_builtin=""
51516 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51517 { { $as_echo "$as_me:$LINENO: 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)?" >&5
51518 $as_echo "$as_me: 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)?" >&2;}
51519 { (exit 1); exit 1; }; }
51522 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51523 { { $as_echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
51524 $as_echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
51525 { (exit 1); exit 1; }; }
51532 ?:* ) # Drive letter, considered as absolute.
51535 INSTALL=`pwd`/${INSTALL} ;;
51538 if test "$wxUSE_GUI" = "yes"; then
51540 if test "$wxUSE_MSW" = 1 ; then
51541 if test "x$WINDRES" = "x"; then
51542 { { $as_echo "$as_me:$LINENO: error: Required windres program not found" >&5
51543 $as_echo "$as_me: error: Required windres program not found" >&2;}
51544 { (exit 1); exit 1; }; }
51550 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
51551 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51552 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51554 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51556 # Extract the first word of "DeRez", so it can be a program name with args.
51557 set dummy DeRez; ac_word=$2
51558 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
51559 $as_echo_n "checking for $ac_word... " >&6; }
51560 if test "${ac_cv_prog_DEREZ+set}" = set; then
51561 $as_echo_n "(cached) " >&6
51563 if test -n "$DEREZ"; then
51564 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51567 for as_dir in $PATH
51570 test -z "$as_dir" && as_dir=.
51571 for ac_exec_ext in '' $ac_executable_extensions; do
51572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51573 ac_cv_prog_DEREZ="DeRez"
51574 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51581 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51584 DEREZ=$ac_cv_prog_DEREZ
51585 if test -n "$DEREZ"; then
51586 { $as_echo "$as_me:$LINENO: result: $DEREZ" >&5
51587 $as_echo "$DEREZ" >&6; }
51589 { $as_echo "$as_me:$LINENO: result: no" >&5
51590 $as_echo "no" >&6; }
51595 MACSETFILE="\$(SETFILE)"
51597 if test "$wxUSE_OSX_CARBON" = 1; then
51598 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51600 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51602 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51603 RESCOMP="cat /dev/null \| $REZ"
51604 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51610 if test "$wxUSE_PM" = 1; then
51612 WXCONFIG_RESFLAGS="-ep"
51614 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51616 POSTLINK_COMMAND="@true"
51623 if test $GCC_PCH = 1
51625 if test "$wx_cv_gcc_pch_bug" = yes; then
51626 { $as_echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51627 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51628 { $as_echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51629 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51630 { $as_echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51631 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51634 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51635 # the headers that benefit from precompilation are mostly C++ headers.
51636 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51637 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51638 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51642 if test "$wxUSE_MAC" = 1 ; then
51643 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51644 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51650 if test "$wxUSE_SHARED" = "yes"; then
51652 *-pc-os2_emx | *-pc-os2-emx )
51653 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51654 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51655 cp -p ${srcdir}/src/os2/dllnames.sh .
51656 cp -p ${srcdir}/src/os2/dllar.sh .
51660 if test "$wxUSE_OMF" = "yes"; then
51662 *-pc-os2_emx | *-pc-os2-emx )
51663 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51664 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51665 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51670 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51675 if test "$GCC" = yes; then
51676 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51677 LIBS=`echo $LIBS | sed 's/-mt//'`
51678 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51683 if test "x$SUNCXX" = xyes; then
51684 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51685 LIBS=`echo $LIBS | sed 's/-pthread//'`
51686 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51691 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51692 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51693 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51694 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51696 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51757 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51758 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
51760 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51761 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51762 $as_echo_n "(cached) " >&6
51764 cat >conftest.make <<\_ACEOF
51767 @echo '@@@%%%=$(MAKE)=@@@%%%'
51769 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51770 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
51771 *@@@%%%=?*=@@@%%%*)
51772 eval ac_cv_prog_make_${ac_make}_set=yes;;
51774 eval ac_cv_prog_make_${ac_make}_set=no;;
51776 rm -f conftest.make
51778 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51779 { $as_echo "$as_me:$LINENO: result: yes" >&5
51780 $as_echo "yes" >&6; }
51783 { $as_echo "$as_me:$LINENO: result: no" >&5
51784 $as_echo "no" >&6; }
51785 SET_MAKE="MAKE=${MAKE-make}"
51790 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51793 if test "$USE_WIN32" = 1; then
51794 ac_config_commands="$ac_config_commands
51800 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51803 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51806 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51809 if test "$wx_cv_version_script" = "yes"; then
51810 ac_config_files="$ac_config_files version-script"
51813 ac_config_files="$ac_config_files Makefile"
51816 ac_config_commands="$ac_config_commands wx-config"
51820 if test "$wxWITH_SUBDIRS" != "no"; then
51821 if test "$wxUSE_GUI" = "yes"; then
51822 SUBDIRS="samples demos utils"
51824 SUBDIRS="samples utils"
51829 # Check whether --with-cppunit-prefix was given.
51830 if test "${with_cppunit_prefix+set}" = set; then
51831 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51833 cppunit_config_prefix=""
51837 # Check whether --with-cppunit-exec-prefix was given.
51838 if test "${with_cppunit_exec_prefix+set}" = set; then
51839 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51841 cppunit_config_exec_prefix=""
51845 if test x$cppunit_config_exec_prefix != x ; then
51846 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51847 if test x${CPPUNIT_CONFIG+set} != xset ; then
51848 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51851 if test x$cppunit_config_prefix != x ; then
51852 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51853 if test x${CPPUNIT_CONFIG+set} != xset ; then
51854 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51858 # Extract the first word of "cppunit-config", so it can be a program name with args.
51859 set dummy cppunit-config; ac_word=$2
51860 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
51861 $as_echo_n "checking for $ac_word... " >&6; }
51862 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51863 $as_echo_n "(cached) " >&6
51865 case $CPPUNIT_CONFIG in
51867 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51871 for as_dir in $PATH
51874 test -z "$as_dir" && as_dir=.
51875 for ac_exec_ext in '' $ac_executable_extensions; do
51876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51877 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51878 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51885 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51889 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51890 if test -n "$CPPUNIT_CONFIG"; then
51891 { $as_echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51892 $as_echo "$CPPUNIT_CONFIG" >&6; }
51894 { $as_echo "$as_me:$LINENO: result: no" >&5
51895 $as_echo "no" >&6; }
51899 cppunit_version_min=1.8.0
51901 { $as_echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51902 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
51904 if test "$CPPUNIT_CONFIG" = "no" ; then
51905 { $as_echo "$as_me:$LINENO: result: no" >&5
51906 $as_echo "no" >&6; }
51909 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51910 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51911 cppunit_version=`$CPPUNIT_CONFIG --version`
51913 cppunit_major_version=`echo $cppunit_version | \
51914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51915 cppunit_minor_version=`echo $cppunit_version | \
51916 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51917 cppunit_micro_version=`echo $cppunit_version | \
51918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51920 cppunit_major_min=`echo $cppunit_version_min | \
51921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51922 cppunit_minor_min=`echo $cppunit_version_min | \
51923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51924 cppunit_micro_min=`echo $cppunit_version_min | \
51925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51927 cppunit_version_proper=`expr \
51928 $cppunit_major_version \
> $cppunit_major_min \
| \
51929 $cppunit_major_version \
= $cppunit_major_min \
& \
51930 $cppunit_minor_version \
> $cppunit_minor_min \
| \
51931 $cppunit_major_version \
= $cppunit_major_min \
& \
51932 $cppunit_minor_version \
= $cppunit_minor_min \
& \
51933 $cppunit_micro_version \
>= $cppunit_micro_min `
51935 if test "$cppunit_version_proper" = "1" ; then
51936 { $as_echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51937 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51939 { $as_echo "$as_me:$LINENO: result: no" >&5
51940 $as_echo "no" >&6; }
51945 if test "x$no_cppunit" = x ; then
51946 SUBDIRS="$SUBDIRS tests"
51957 for subdir in $SUBDIRS; do
51958 if test -d ${srcdir}/${subdir} ; then
51959 if test "$wxUSE_GUI" = "yes"; then
51960 if test ${subdir} = "samples"; then
51961 makefiles="samples/Makefile.in $makefiles"
51962 for sample in $SAMPLES_SUBDIRS; do
51963 if test -d $srcdir/samples/$sample; then
51964 makefiles="samples/$sample/Makefile.in $makefiles"
51968 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51969 eval "disabled=\$$disabled_var"
51970 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
51971 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
51974 if test ${subdir} = "samples"; then
51975 makefiles="samples/Makefile.in $makefiles"
51976 for sample in `echo $SAMPLES_SUBDIRS`; do
51977 if test -d $srcdir/samples/$sample; then
51978 makefiles="samples/$sample/Makefile.in $makefiles"
51981 elif test ${subdir} = "utils"; then
51983 for util in ifacecheck ; do
51984 if test -d $srcdir/utils/$util ; then
51985 makefiles="utils/$util/src/Makefile.in \
51990 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
51994 for mkin in $makefiles ; do
51995 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51996 ac_config_files="$ac_config_files $mk"
52002 cat >confcache <<\_ACEOF
52003 # This file is a shell script that caches the results of configure
52004 # tests run on this system so they can be shared between configure
52005 # scripts and configure runs, see configure's option --config-cache.
52006 # It is not useful on other systems. If it contains results you don't
52007 # want to keep, you may remove or edit it.
52009 # config.status only pays attention to the cache file if you give it
52010 # the --recheck option to rerun configure.
52012 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
52013 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52014 # following values.
52018 # The following way of writing the cache mishandles newlines in values,
52019 # but we know of no workaround that is simple, portable, and efficient.
52020 # So, we kill variables containing newlines.
52021 # Ultrix sh set writes to stderr and can't be redirected directly,
52022 # and sets the high bit in the cache file unless we assign to the vars.
52024 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52025 eval ac_val
=\$
$ac_var
52029 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
52030 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
52033 _
| IFS
| as_nl
) ;; #(
52034 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
52035 *) $as_unset $ac_var ;;
52041 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52042 *${as_nl}ac_space
=\
*)
52043 # `set' does not quote correctly, so add quotes (double-quote
52044 # substitution turns \\\\ into \\, and sed turns \\ into \).
52047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52050 # `set' quotes correctly as required by POSIX, so do not add quotes.
52051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52060 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52062 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52064 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
52065 if test -w "$cache_file"; then
52066 test "x$cache_file" != "x/dev/null" &&
52067 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
52068 $as_echo "$as_me: updating cache $cache_file" >&6;}
52069 cat confcache
>$cache_file
52071 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52072 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52077 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
52078 # Let make expand exec_prefix.
52079 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
52081 DEFS
=-DHAVE_CONFIG_H
52085 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
52086 # 1. Remove the extension, and $U if already installed.
52087 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
52088 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
52089 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52090 # will be set to the directory where LIBOBJS objects are built.
52091 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52092 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52094 LIBOBJS
=$ac_libobjs
52096 LTLIBOBJS
=$ac_ltlibobjs
52100 : ${CONFIG_STATUS=./config.status}
52102 ac_clean_files_save
=$ac_clean_files
52103 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
52104 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52105 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
52106 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52108 # Generated by $as_me.
52109 # Run this file to recreate the current configuration.
52110 # Compiler output produced by configure, useful for debugging
52111 # configure, is in config.log if it exists.
52114 ac_cs_recheck=false
52116 SHELL=\${CONFIG_SHELL-$SHELL}
52119 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
52120 ## --------------------- ##
52121 ## M4sh Initialization. ##
52122 ## --------------------- ##
52124 # Be more Bourne compatible
52125 DUALCASE
=1; export DUALCASE
# for MKS sh
52126 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
52129 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
52130 # is contrary to our usage. Disable this feature.
52131 alias -g '${1+"$@"}'='"$@"'
52132 setopt NO_GLOB_SUBST
52134 case `(set -o) 2>/dev/null` in
52135 *posix
*) set -o posix
;;
52144 # Avoid depending upon Character Ranges.
52145 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
52146 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52147 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
52148 as_cr_digits
='0123456789'
52149 as_cr_alnum
=$as_cr_Letters$as_cr_digits
52154 # Printing a long string crashes Solaris 7 /usr/bin/printf.
52155 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
52156 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
52157 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
52158 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52159 as_echo='printf %s
\n'
52160 as_echo_n='printf %s
'
52162 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52163 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
52164 as_echo_n='/usr
/ucb
/echo -n'
52166 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
52167 as_echo_n_body='eval
52171 expr "X$arg" : "X\\(.*\\)$as_nl";
52172 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
52174 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
52176 export as_echo_n_body
52177 as_echo_n='sh
-c $as_echo_n_body as_echo
'
52179 export as_echo_body
52180 as_echo='sh
-c $as_echo_body as_echo
'
52183 # The user is always right.
52184 if test "${PATH_SEPARATOR+set}" != set; then
52186 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
52187 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
52192 # Support unset when possible.
52193 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52201 # We need space, tab and new line, in precisely that order. Quoting is
52202 # there to prevent editors from complaining about space-tab.
52203 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52204 # splitting by setting IFS to empty value.)
52207 # Find who we are. Look in the path if we contain no directory separator.
52209 *[\\/]* ) as_myself=$0 ;;
52210 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52211 for as_dir in $PATH
52214 test -z "$as_dir" && as_dir=.
52215 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52221 # We did not find ourselves, most probably we were run as `sh COMMAND'
52222 # in which case we are not to be found in the path.
52223 if test "x$as_myself" = x
; then
52226 if test ! -f "$as_myself"; then
52227 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52228 { (exit 1); exit 1; }
52231 # Work around bugs in pre-3.0 UWIN ksh.
52232 for as_var
in ENV MAIL MAILPATH
52233 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
52245 # Required to use basename.
52246 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52247 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52253 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52254 as_basename
=basename
52260 # Name of the executable.
52261 as_me
=`$as_basename -- "$0" ||
52262 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52263 X"$0" : 'X\(//\)$' \| \
52264 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52266 sed '/^.*\/\([^/][^/]*\)\/*$/{
52285 as_lineno_1
=$LINENO
52286 as_lineno_2
=$LINENO
52287 test "x$as_lineno_1" != "x$as_lineno_2" &&
52288 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52290 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52291 # uniformly replaced by the line number. The first 'sed' inserts a
52292 # line-number line after each line using $LINENO; the second 'sed'
52293 # does the real work. The second script uses 'N' to pair each
52294 # line-number line with the line containing $LINENO, and appends
52295 # trailing '-' during substitution so that $LINENO is not a special
52296 # case at line end.
52297 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52298 # scripts with optimization help from Paolo Bonzini. Blame Lee
52299 # E. McMahon (1931-1989) for sed's syntax. :-)
52311 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52314 ' >$as_me.lineno
&&
52315 chmod +x
"$as_me.lineno" ||
52316 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52317 { (exit 1); exit 1; }; }
52319 # Don't try to exec as it changes $[0], causing all sort of problems
52320 # (the dirname of $[0] is not the place where we might find the
52321 # original and so on. Autoconf is especially sensitive to this).
52322 .
"./$as_me.lineno"
52323 # Exit status is that of the last command.
52328 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
52334 ECHO_C
= ECHO_N
= ECHO_T
=
52335 case `echo -n x` in
52337 case `echo 'x\c'` in
52338 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
52344 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
52345 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
52351 rm -f conf$$ conf$$.exe conf$$.
file
52352 if test -d conf$$.dir
; then
52353 rm -f conf$$.dir
/conf$$.
file
52356 mkdir conf$$.dir
2>/dev
/null
52358 if (echo >conf$$.
file) 2>/dev
/null
; then
52359 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52361 # ... but there are two gotchas:
52362 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52363 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52364 # In both cases, we have to default to `cp -p'.
52365 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52367 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52375 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52376 rmdir conf$$.dir
2>/dev
/null
52378 if mkdir -p .
2>/dev
/null
; then
52381 test -d .
/-p && rmdir .
/-p
52385 if test -x / >/dev
/null
2>&1; then
52386 as_test_x
='test -x'
52388 if ls -dL / >/dev
/null
2>&1; then
52395 if test -d "$1"; then
52401 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52402 ???[sx]*):;;*)false;;esac;fi
52406 as_executable_p
=$as_test_x
52408 # Sed expression to map a string onto a valid CPP name.
52409 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52411 # Sed expression to map a string onto a valid variable name.
52412 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52417 # Save the log message, to keep $[0] and so on meaningful, and to
52418 # report actual input values of CONFIG_FILES etc. instead of their
52419 # values after options handling.
52421 This file was extended by wxWidgets $as_me 2.9.0, which was
52422 generated by GNU Autoconf 2.63. Invocation command line was
52424 CONFIG_FILES = $CONFIG_FILES
52425 CONFIG_HEADERS = $CONFIG_HEADERS
52426 CONFIG_LINKS = $CONFIG_LINKS
52427 CONFIG_COMMANDS = $CONFIG_COMMANDS
52430 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52435 case $ac_config_files in *"
52436 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
52439 case $ac_config_headers in *"
52440 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
52444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52445 # Files that config.status was made for.
52446 config_files="$ac_config_files"
52447 config_headers="$ac_config_headers"
52448 config_commands="$ac_config_commands"
52452 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
52454 \`$as_me' instantiates files from templates according to the
52455 current configuration.
52457 Usage: $0 [OPTION]... [FILE]...
52459 -h, --help print this help, then exit
52460 -V, --version print version number and configuration settings, then exit
52461 -q, --quiet, --silent
52462 do not print progress messages
52463 -d, --debug don't remove temporary files
52464 --recheck update $as_me by reconfiguring in the same conditions
52465 --file=FILE[:TEMPLATE]
52466 instantiate the configuration file FILE
52467 --header=FILE[:TEMPLATE]
52468 instantiate the configuration header FILE
52470 Configuration files:
52473 Configuration headers:
52476 Configuration commands:
52479 Report bugs to <bug-autoconf@gnu.org>."
52482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52484 wxWidgets config.status 2.9.0
52485 configured by $0, generated by GNU Autoconf 2.63,
52486 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52488 Copyright (C) 2008 Free Software Foundation, Inc.
52489 This config.status script is free software; the Free Software Foundation
52490 gives unlimited permission to copy, distribute and modify it."
52495 test -n "\$AWK" || AWK=awk
52498 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
52499 # The default lists apply if the user does not specify any file.
52505 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52506 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52517 # Handling of the options.
52518 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52520 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52521 $as_echo "$ac_cs_version"; exit ;;
52522 --debug | --debu | --deb | --de | --d | -d )
52524 --file | --fil | --fi | --f )
52527 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
52529 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
52530 ac_need_defaults
=false
;;
52531 --header | --heade | --head | --hea )
52534 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
52536 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
52537 ac_need_defaults
=false
;;
52539 # Conflict between --help and --header
52540 { $as_echo "$as_me: error: ambiguous option: $1
52541 Try \`$0 --help' for more information." >&2
52542 { (exit 1); exit 1; }; };;
52543 --help | --hel | -h )
52544 $as_echo "$ac_cs_usage"; exit ;;
52545 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52546 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52549 # This is an error.
52550 -*) { $as_echo "$as_me: error: unrecognized option: $1
52551 Try \`$0 --help' for more information." >&2
52552 { (exit 1); exit 1; }; } ;;
52554 *) ac_config_targets
="$ac_config_targets $1"
52555 ac_need_defaults
=false
;;
52561 ac_configure_extra_args
=
52563 if $ac_cs_silent; then
52565 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52570 if \$ac_cs_recheck; then
52571 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52573 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
52574 CONFIG_SHELL='$SHELL'
52575 export CONFIG_SHELL
52580 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
52584 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52585 ## Running $as_me. ##
52591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52597 infile="$srcdir/include/wx/msw/genrcdefs.h"
52598 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52601 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52602 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52603 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52609 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
52611 # Handling of arguments.
52612 for ac_config_target
in $ac_config_targets
52614 case $ac_config_target in
52615 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52616 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52617 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52618 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52619 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52620 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52621 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52622 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52623 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52625 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52626 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52627 { (exit 1); exit 1; }; };;
52632 # If the user did not use the arguments to specify the items to instantiate,
52633 # then the envvar interface is used. Set only those that are not.
52634 # We use the long form for the default assignment because of an extremely
52635 # bizarre bug on SunOS 4.1.3.
52636 if $ac_need_defaults; then
52637 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52638 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52639 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52642 # Have a temporary directory for convenience. Make it in the build tree
52643 # simply because there is no reason against having it here, and in addition,
52644 # creating and moving files from /tmp can sometimes cause problems.
52645 # Hook for its removal unless debugging.
52646 # Note that there is a small window in which the directory will not be cleaned:
52647 # after its creation but before its name has been assigned to `$tmp'.
52651 trap 'exit_status=$?
52652 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52654 trap '{ (exit 1); exit 1; }' 1 2 13 15
52656 # Create a (secure) tmp directory for tmp files.
52659 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52660 test -n "$tmp" && test -d "$tmp"
52663 tmp
=.
/conf$$
-$RANDOM
52664 (umask 077 && mkdir "$tmp")
52667 $as_echo "$as_me: cannot create a temporary directory in ." >&2
52668 { (exit 1); exit 1; }
52671 # Set up the scripts for CONFIG_FILES section.
52672 # No need to generate them if there are no CONFIG_FILES.
52673 # This happens for instance with `./config.status config.h'.
52674 if test -n "$CONFIG_FILES"; then
52679 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
52680 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
52683 ac_cs_awk_cr
=$ac_cr
52686 echo 'BEGIN {' >"$tmp/subs1.awk" &&
52691 echo "cat >conf$$subs.awk <<_ACEOF" &&
52692 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
52694 } >conf$$subs.sh ||
52695 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
52696 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
52697 { (exit 1); exit 1; }; }
52698 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
52700 for ac_last_try in false false false false false :; do
52701 . ./conf$$subs.sh ||
52702 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
52703 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
52704 { (exit 1); exit 1; }; }
52706 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
52707 if test $ac_delim_n = $ac_delim_num; then
52709 elif $ac_last_try; then
52710 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
52711 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
52712 { (exit 1); exit 1; }; }
52714 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
52717 rm -f conf$$subs.sh
52719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52720 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
52724 s/^/S["/; s
/!.
*/"]=/
52734 s/\(.\{148\}\).*/\1/
52736 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
52741 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
52748 s/\(.\{148\}\).*/\1/
52750 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
52754 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
52759 ' <conf$$subs.awk | sed '
52764 ' >>$CONFIG_STATUS || ac_write_fail=1
52765 rm -f conf$$subs.awk
52766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52768 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
52769 for (key in S) S_is_set[key] = 1
52775 nfields = split(line, field, "@
")
52777 len = length(field[1])
52778 for (i = 2; i < nfields; i++) {
52780 keylen = length(key)
52781 if (S_is_set[key]) {
52783 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
52784 len += length(value) + length(field[++i])
52795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52796 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
52797 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
52800 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
52801 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
52802 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
52803 { (exit 1); exit 1; }; }
52806 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52807 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
52808 # trailing colons and then remove the whole line if VPATH becomes empty
52809 # (actually we leave an empty line to preserve line numbers).
52810 if test "x
$srcdir" = x.; then
52811 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52812 s/:*\$(srcdir):*/:/
52813 s/:*\${srcdir}:*/:/
52815 s/^\([^=]*=[ ]*\):*/\1/
52821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
52822 fi # test -n "$CONFIG_FILES"
52824 # Set up the scripts for CONFIG_HEADERS section.
52825 # No need to generate them if there are no CONFIG_HEADERS.
52826 # This happens for instance with `./config.status Makefile'.
52827 if test -n "$CONFIG_HEADERS"; then
52828 cat >"$tmp/defines.
awk" <<\_ACAWK ||
52832 # Transform confdefs.h into an awk script `defines.awk', embedded as
52833 # here-document in config.status, that substitutes the proper values into
52834 # config.h.in to produce config.h.
52836 # Create a delimiter string that does not exist in confdefs.h, to ease
52837 # handling of long lines.
52839 for ac_last_try in false false :; do
52840 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
52841 if test -z "$ac_t"; then
52843 elif $ac_last_try; then
52844 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
52845 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
52846 { (exit 1); exit 1; }; }
52848 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
52852 # For the awk script, D is an array of macro values keyed by name,
52853 # likewise P contains macro parameters if any. Preserve backslash
52854 # newline sequences.
52856 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52858 s/.\{148\}/&'"$ac_delim"'/g
52861 s/^[ ]*#[ ]*define[ ][ ]*/ /
52868 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
52870 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
52874 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
52875 D["\
1"]=" \
3\\\\\\n
"\\/p
52877 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
52882 s/.\{148\}/&'"$ac_delim"'/g
52887 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
52890 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
52892 ' <confdefs.h | sed '
52893 s/'"$ac_delim"'/"\\\
52894 "/g' >>$CONFIG_STATUS || ac_write_fail=1
52896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52897 for (key in D) D_is_set[key] = 1
52900 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
52902 split(line, arg, " ")
52903 if (arg[1] == "#") {
52907 defundef
= substr
(arg
[1], 2)
52910 split(mac1
, mac2
, "(") #)
52912 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
52913 if (D_is_set
[macro
]) {
52914 # Preserve the white space surrounding the "#".
52915 print prefix
"define", macro P
[macro
] D
[macro
]
52918 # Replace #undef with comments. This is necessary, for example,
52919 # in the case of _POSIX_SOURCE, which is predefined and required
52920 # on some systems where configure will not decide to define it.
52921 if (defundef
== "undef") {
52922 print
"/*", prefix defundef
, macro
, "*/"
52930 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
52931 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
52932 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
52933 { (exit 1); exit 1; }; }
52934 fi # test -n "$CONFIG_HEADERS"
52937 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
52942 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52944 case $ac_mode$ac_tag in
52946 :L
* | :C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
52947 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
52948 { (exit 1); exit 1; }; };;
52949 :[FH
]-) ac_tag
=-:-;;
52950 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52967 -) ac_f
="$tmp/stdin";;
52968 *) # Look for the file first in the build tree, then in the source tree
52969 # (if the path is not absolute). The absolute path cannot be DOS-style,
52970 # because $ac_f cannot contain `:'.
52974 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52976 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52977 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52978 { (exit 1); exit 1; }; };;
52980 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
52981 ac_file_inputs
="$ac_file_inputs '$ac_f'"
52984 # Let's still pretend it is `configure' which instantiates (i.e., don't
52985 # use $as_me), people would be surprised to read:
52986 # /* config.h. Generated by config.status. */
52987 configure_input
='Generated from '`
52988 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
52990 if test x
"$ac_file" != x
-; then
52991 configure_input
="$ac_file. $configure_input"
52992 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
52993 $as_echo "$as_me: creating $ac_file" >&6;}
52995 # Neutralize special characters interpreted by sed in replacement strings.
52996 case $configure_input in #(
52997 *\
&* | *\
|* | *\\* )
52998 ac_sed_conf_input
=`$as_echo "$configure_input" |
52999 sed 's/[\\\\&|]/\\\\&/g'`;; #(
53000 *) ac_sed_conf_input
=$configure_input;;
53004 *:-:* | *:-) cat >"$tmp/stdin" \
53005 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
53006 $as_echo "$as_me: error: could not create $ac_file" >&2;}
53007 { (exit 1); exit 1; }; } ;;
53012 ac_dir
=`$as_dirname -- "$ac_file" ||
53013 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53014 X"$ac_file" : 'X\(//\)[^/]' \| \
53015 X"$ac_file" : 'X\(//\)$' \| \
53016 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53017 $as_echo X"$ac_file" |
53018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53022 /^X\(\/\/\)[^/].*/{
53037 -*) as_dir
=.
/$as_dir;;
53039 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53043 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
53044 *) as_qdir
=$as_dir;;
53046 as_dirs
="'$as_qdir' $as_dirs"
53047 as_dir
=`$as_dirname -- "$as_dir" ||
53048 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53049 X"$as_dir" : 'X\(//\)[^/]' \| \
53050 X"$as_dir" : 'X\(//\)$' \| \
53051 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53052 $as_echo X"$as_dir" |
53053 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53057 /^X\(\/\/\)[^/].*/{
53070 test -d "$as_dir" && break
53072 test -z "$as_dirs" || eval "mkdir $as_dirs"
53073 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53074 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
53075 { (exit 1); exit 1; }; }; }
53079 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53081 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
53082 # A ".." for each directory in $ac_dir_suffix.
53083 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
53084 case $ac_top_builddir_sub in
53085 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53086 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53089 ac_abs_top_builddir
=$ac_pwd
53090 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53091 # for backward compatibility:
53092 ac_top_builddir
=$ac_top_build_prefix
53095 .
) # We are building in place.
53097 ac_top_srcdir
=$ac_top_builddir_sub
53098 ac_abs_top_srcdir
=$ac_pwd ;;
53099 [\\/]* | ?
:[\\/]* ) # Absolute name.
53100 ac_srcdir
=$srcdir$ac_dir_suffix;
53101 ac_top_srcdir
=$srcdir
53102 ac_abs_top_srcdir
=$srcdir ;;
53103 *) # Relative name.
53104 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53105 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53106 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53108 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53118 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53119 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
53123 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
53124 # If the template does not know about datarootdir, expand it.
53125 # FIXME: This hack should be removed a few years after 2.60.
53126 ac_datarootdir_hack
=; ac_datarootdir_seen
=
53139 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
53140 *datarootdir
*) ac_datarootdir_seen
=yes;;
53141 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
53142 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53143 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
53146 ac_datarootdir_hack='
53147 s&@datadir@&$datadir&g
53148 s&@docdir@&$docdir&g
53149 s&@infodir@&$infodir&g
53150 s&@localedir@&$localedir&g
53151 s&@mandir@&$mandir&g
53152 s&\\\${datarootdir}&$datarootdir&g' ;;
53156 # Neutralize VPATH when `$srcdir' = `.'.
53157 # Shell code in configure.ac might set extrasub.
53158 # FIXME: do we really want to maintain this feature?
53159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
53160 ac_sed_extra="$ac_vpsub
53163 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
53165 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53166 s
|@configure_input@
|$ac_sed_conf_input|;t t
53167 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53168 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
53169 s
&@srcdir@
&$ac_srcdir&;t t
53170 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53171 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53172 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53173 s
&@builddir@
&$ac_builddir&;t t
53174 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53175 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53176 s
&@INSTALL@
&$ac_INSTALL&;t t
53177 $ac_datarootdir_hack
53179 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
53180 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
53181 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
53182 { (exit 1); exit 1; }; }
53184 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53185 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
53186 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
53187 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
53188 which seems to be undefined. Please make sure it is defined." >&5
53189 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
53190 which seems to be undefined. Please make sure it is defined." >&2;}
53194 -) cat "$tmp/out" && rm -f "$tmp/out";;
53195 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
53197 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
53198 $as_echo "$as_me: error: could not create $ac_file" >&2;}
53199 { (exit 1); exit 1; }; }
53205 if test x"$ac_file" != x-; then
53207 $as_echo "/* $configure_input */" \
53208 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
53209 } >"$tmp/config.h" \
53210 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
53211 $as_echo "$as_me: error: could not create $ac_file" >&2;}
53212 { (exit 1); exit 1; }; }
53213 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
53214 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53215 $as_echo "$as_me: $ac_file is unchanged" >&6;}
53218 mv "$tmp/config.h" "$ac_file" \
53219 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
53220 $as_echo "$as_me: error: could not create $ac_file" >&2;}
53221 { (exit 1); exit 1; }; }
53224 $as_echo "/* $configure_input */" \
53225 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
53226 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
53227 $as_echo "$as_me: error: could not create -" >&2;}
53228 { (exit 1); exit 1; }; }
53232 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
53233 $as_echo "$as_me: executing $ac_file commands" >&6;}
53238 case $ac_file$ac_mode in
53240 mkdir -p $outdir &&
53241 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53243 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53244 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53245 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
53246 "wx-config":C
) rm -f wx
-config
53247 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53254 { (exit 0); exit 0; }
53256 chmod +x
$CONFIG_STATUS
53257 ac_clean_files
=$ac_clean_files_save
53259 test $ac_write_fail = 0 ||
53260 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
53261 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
53262 { (exit 1); exit 1; }; }
53265 # configure is writing to config.log, and then calls config.status.
53266 # config.status does its own redirection, appending to config.log.
53267 # Unfortunately, on DOS this fails, as config.log is still kept open
53268 # by configure, so config.status won't be able to write to it; its
53269 # output is simply discarded. So we exec the FD to /dev/null,
53270 # effectively closing config.log, so it can be properly (re)opened and
53271 # appended to by config.status. When coming back to configure, we
53272 # need to make the FD available again.
53273 if test "$no_create" != yes; then
53275 ac_config_status_args
=
53276 test "$silent" = yes &&
53277 ac_config_status_args
="$ac_config_status_args --quiet"
53279 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53281 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53282 # would make configure fail if this is the last instruction.
53283 $ac_cs_success || { (exit 1); exit 1; }
53287 # CONFIG_SUBDIRS section.
53289 if test "$no_recursion" != yes; then
53291 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
53292 # so they do not pile up.
53293 ac_sub_configure_args
=
53295 eval "set x $ac_configure_args"
53299 if test -n "$ac_prev"; then
53304 -cache-file | --cache-file | --cache-fil | --cache-fi \
53305 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53306 ac_prev
=cache_file
;;
53307 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53308 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53311 --config-cache | -C)
53313 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53315 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53317 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53319 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53321 --disable-option-checking)
53325 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53327 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53331 # Always prepend --prefix to ensure using the same prefix
53332 # in subdir configurations.
53333 ac_arg
="--prefix=$prefix"
53335 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53337 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53340 if test "$silent" = yes; then
53341 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53344 # Always prepend --disable-option-checking to silence warnings, since
53345 # different subdirs can have different --enable and --with options.
53346 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
53349 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53351 # Do not complain, so a configure script can configure whichever
53352 # parts of a large source tree are present.
53353 test -d "$srcdir/$ac_dir" || continue
53355 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53356 $as_echo "$as_me:$LINENO: $ac_msg" >&5
53357 $as_echo "$ac_msg" >&6
53360 -*) as_dir
=.
/$as_dir;;
53362 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53366 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
53367 *) as_qdir
=$as_dir;;
53369 as_dirs
="'$as_qdir' $as_dirs"
53370 as_dir
=`$as_dirname -- "$as_dir" ||
53371 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53372 X"$as_dir" : 'X\(//\)[^/]' \| \
53373 X"$as_dir" : 'X\(//\)$' \| \
53374 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53375 $as_echo X"$as_dir" |
53376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53380 /^X\(\/\/\)[^/].*/{
53393 test -d "$as_dir" && break
53395 test -z "$as_dirs" || eval "mkdir $as_dirs"
53396 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53397 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
53398 { (exit 1); exit 1; }; }; }
53402 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53404 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
53405 # A ".." for each directory in $ac_dir_suffix.
53406 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
53407 case $ac_top_builddir_sub in
53408 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53409 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53412 ac_abs_top_builddir
=$ac_pwd
53413 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53414 # for backward compatibility:
53415 ac_top_builddir
=$ac_top_build_prefix
53418 .
) # We are building in place.
53420 ac_top_srcdir
=$ac_top_builddir_sub
53421 ac_abs_top_srcdir
=$ac_pwd ;;
53422 [\\/]* | ?
:[\\/]* ) # Absolute name.
53423 ac_srcdir
=$srcdir$ac_dir_suffix;
53424 ac_top_srcdir
=$srcdir
53425 ac_abs_top_srcdir
=$srcdir ;;
53426 *) # Relative name.
53427 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53428 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53429 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53431 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53436 # Check for guested configure; otherwise get Cygnus style configure.
53437 if test -f "$ac_srcdir/configure.gnu"; then
53438 ac_sub_configure
=$ac_srcdir/configure.gnu
53439 elif test -f "$ac_srcdir/configure"; then
53440 ac_sub_configure
=$ac_srcdir/configure
53441 elif test -f "$ac_srcdir/configure.in"; then
53442 # This should be Cygnus configure.
53443 ac_sub_configure
=$ac_aux_dir/configure
53445 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53446 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53450 # The recursion is here.
53451 if test -n "$ac_sub_configure"; then
53452 # Make the cache file name correct relative to the subdirectory.
53453 case $cache_file in
53454 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53455 *) # Relative name.
53456 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53459 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53460 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53461 # The eval makes quoting arguments work.
53462 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53463 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53464 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53465 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53466 { (exit 1); exit 1; }; }
53472 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
53473 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
53474 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
53479 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53481 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53482 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53484 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53485 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53486 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53487 if test "$wxUSE_UNICODE" = "yes"; then
53488 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53489 echo " (using UTF-8)"
53491 echo " (using wchar_t)"
53497 echo " What level of wxWidgets compatibility should be enabled?"
53498 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53499 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53501 echo " Which libraries should wxWidgets use?"
53502 echo " STL ${wxUSE_STL}"
53503 echo " jpeg ${wxUSE_LIBJPEG-none}"
53504 echo " png ${wxUSE_LIBPNG-none}"
53505 echo " regex ${wxUSE_REGEX}"
53506 echo " tiff ${wxUSE_LIBTIFF-none}"
53507 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53508 echo " xpm ${wxUSE_LIBXPM-none}"
53510 echo " zlib ${wxUSE_ZLIB}"
53511 echo " expat ${wxUSE_EXPAT}"
53512 echo " libmspack ${wxUSE_LIBMSPACK}"
53513 echo " sdl ${wxUSE_LIBSDL}"