2 # From configure.in Id: configure.in 56132 2008-10-06 19:48:52Z SC .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 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 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 # Zsh 3.x and 4.x performs 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
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
709 LIBGNOMEPRINTUI_CFLAGS
757 SAMPLES_RPATH_POSTLINK
814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
815 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
816 COND_BUILD_DEBUG_UNICODE_0
817 COND_BUILD_DEBUG_UNICODE_1
819 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
820 COND_BUILD_RELEASE_UNICODE_0
821 COND_BUILD_RELEASE_UNICODE_1
823 COND_BUILD_debug_DEBUG_FLAG_default
824 COND_BUILD_debug_DEBUG_INFO_default
825 COND_BUILD_debug_UNICODE_0
826 COND_BUILD_debug_UNICODE_1
828 COND_BUILD_release_DEBUG_INFO_default
829 COND_BUILD_release_UNICODE_0
830 COND_BUILD_release_UNICODE_1
839 COND_MONOLITHIC_0_SHARED_0
840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
846 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
849 COND_MONOLITHIC_0_SHARED_1
850 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
855 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
856 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
858 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
859 COND_MONOLITHIC_0_USE_AUI_1
860 COND_MONOLITHIC_0_USE_GUI_1
861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_USE_HTML_1
863 COND_MONOLITHIC_0_USE_MEDIA_1
864 COND_MONOLITHIC_0_USE_PROPGRID_1
865 COND_MONOLITHIC_0_USE_QA_1
866 COND_MONOLITHIC_0_USE_RICHTEXT_1
867 COND_MONOLITHIC_0_USE_STC_1
868 COND_MONOLITHIC_0_USE_XRC_1
870 COND_MONOLITHIC_1_SHARED_0
871 COND_MONOLITHIC_1_SHARED_1
872 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
873 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
874 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
875 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
876 COND_PLATFORM_MACOSX_1
877 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
882 COND_PLATFORM_MACOSX_1_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
884 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
885 COND_PLATFORM_MACOS_1
888 COND_PLATFORM_MSDOS_0
889 COND_PLATFORM_MSDOS_1
893 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
894 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
895 COND_PLATFORM_UNIX_1_USE_GUI_1
896 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
897 COND_PLATFORM_WIN32_0
898 COND_PLATFORM_WIN32_1
900 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
901 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
902 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
903 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
904 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
905 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
907 COND_SHARED_0_USE_STC_1
908 COND_SHARED_0_wxUSE_EXPAT_builtin
909 COND_SHARED_0_wxUSE_REGEX_builtin
910 COND_SHARED_0_wxUSE_ZLIB_builtin
912 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
915 COND_TOOLKIT_COCOA_USE_GUI_1
916 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_DFB_USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_GTK_USE_GUI_1
929 COND_TOOLKIT_MGL_USE_GUI_1
931 COND_TOOLKIT_MOTIF_USE_GUI_1
932 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_MSW_USE_GUI_1
935 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW_WXUNIV_0
937 COND_TOOLKIT_OSX_CARBON
938 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
939 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_OSX_COCOA
941 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_IPHONE
945 COND_TOOLKIT_PM_USE_GUI_1
946 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_WINCE_USE_GUI_1
949 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE_WXUNIV_0
952 COND_TOOLKIT_X11_USE_GUI_1
954 COND_USE_EXCEPTIONS_0
955 COND_USE_EXCEPTIONS_1
958 COND_USE_GUI_1_USE_OPENGL_1
959 COND_USE_GUI_1_WXUNIV_0
960 COND_USE_GUI_1_WXUNIV_1
961 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
962 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
964 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
965 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
966 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
972 COND_USE_SOSYMLINKS_1
973 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
974 COND_USE_SOVERLINUX_1
976 COND_USE_SOVERSOLARIS_1
981 COND_WINDOWS_IMPLIB_1
982 COND_WITH_PLUGIN_SDL_1
985 COND_WXUSE_EXPAT_BUILTIN
986 COND_WXUSE_LIBJPEG_BUILTIN
987 COND_WXUSE_LIBPNG_BUILTIN
988 COND_WXUSE_LIBTIFF_BUILTIN
989 COND_WXUSE_REGEX_BUILTIN
990 COND_WXUSE_ZLIB_BUILTIN
991 COND_wxUSE_EXPAT_builtin
992 COND_wxUSE_LIBJPEG_builtin
993 COND_wxUSE_LIBPNG_builtin
994 COND_wxUSE_LIBTIFF_builtin
995 COND_wxUSE_REGEX_builtin
996 COND_wxUSE_ZLIB_builtin
999 WX_LIBRARY_BASENAME_NOGUI
1000 WX_LIBRARY_BASENAME_GUI
1020 WXCONFIG_LDFLAGS_GUI
1032 WX_RESOURCES_MACOSX_ASCII
1033 WX_RESOURCES_MACOSX_DATA
1043 ac_precious_vars
='build_alias
1067 LIBGNOMEPRINTUI_CFLAGS
1068 LIBGNOMEPRINTUI_LIBS
1077 ac_subdirs_all
='src/tiff
1080 # Initialize some variables set by options.
1082 ac_init_version
=false
1083 # The variables have the same names as the options, with
1084 # dashes changed to underlines.
1085 cache_file
=/dev
/null
1092 program_transform_name
=s
,x
,x
,
1100 # Installation directory options.
1101 # These are left unexpanded so users can "make install exec_prefix=/foo"
1102 # and all the variables that are supposed to be based on exec_prefix
1103 # by default will actually change.
1104 # Use braces instead of parens because sh, perl, etc. also accept them.
1105 # (The list follows the same order as the GNU Coding Standards.)
1106 bindir
='${exec_prefix}/bin'
1107 sbindir
='${exec_prefix}/sbin'
1108 libexecdir
='${exec_prefix}/libexec'
1109 datarootdir
='${prefix}/share'
1110 datadir
='${datarootdir}'
1111 sysconfdir
='${prefix}/etc'
1112 sharedstatedir
='${prefix}/com'
1113 localstatedir
='${prefix}/var'
1114 includedir
='${prefix}/include'
1115 oldincludedir
='/usr/include'
1116 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1117 infodir
='${datarootdir}/info'
1122 libdir
='${exec_prefix}/lib'
1123 localedir
='${datarootdir}/locale'
1124 mandir
='${datarootdir}/man'
1130 # If the previous option needs an argument, assign it.
1131 if test -n "$ac_prev"; then
1132 eval $ac_prev=\
$ac_option
1138 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1142 # Accept the important Cygnus configure options, so we can diagnose typos.
1144 case $ac_dashdash$ac_option in
1148 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1150 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1151 bindir
=$ac_optarg ;;
1153 -build | --build | --buil | --bui | --bu)
1154 ac_prev
=build_alias
;;
1155 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1156 build_alias
=$ac_optarg ;;
1158 -cache-file | --cache-file | --cache-fil | --cache-fi \
1159 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1160 ac_prev
=cache_file
;;
1161 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1162 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1163 cache_file
=$ac_optarg ;;
1165 --config-cache | -C)
1166 cache_file
=config.cache
;;
1168 -datadir | --datadir | --datadi | --datad)
1170 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1171 datadir
=$ac_optarg ;;
1173 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1174 | --dataroo | --dataro | --datar)
1175 ac_prev
=datarootdir
;;
1176 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1177 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1178 datarootdir
=$ac_optarg ;;
1180 -disable-* | --disable-*)
1181 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1184 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1187 eval enable_
$ac_feature=no
;;
1189 -docdir | --docdir | --docdi | --doc | --do)
1191 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1192 docdir
=$ac_optarg ;;
1194 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1196 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1197 dvidir
=$ac_optarg ;;
1199 -enable-* | --enable-*)
1200 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_
$ac_feature=\
$ac_optarg ;;
1208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1210 | --exec | --exe | --ex)
1211 ac_prev
=exec_prefix
;;
1212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1214 | --exec=* | --exe=* | --ex=*)
1215 exec_prefix
=$ac_optarg ;;
1217 -gas | --gas | --ga | --g)
1218 # Obsolete; use --with-gas.
1221 -help | --help | --hel | --he | -h)
1222 ac_init_help
=long
;;
1223 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1224 ac_init_help
=recursive
;;
1225 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1226 ac_init_help
=short
;;
1228 -host | --host | --hos | --ho)
1229 ac_prev
=host_alias
;;
1230 -host=* | --host=* | --hos=* | --ho=*)
1231 host_alias
=$ac_optarg ;;
1233 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1235 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1237 htmldir
=$ac_optarg ;;
1239 -includedir | --includedir | --includedi | --included | --include \
1240 | --includ | --inclu | --incl | --inc)
1241 ac_prev
=includedir
;;
1242 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1243 | --includ=* | --inclu=* | --incl=* | --inc=*)
1244 includedir
=$ac_optarg ;;
1246 -infodir | --infodir | --infodi | --infod | --info | --inf)
1248 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1249 infodir
=$ac_optarg ;;
1251 -libdir | --libdir | --libdi | --libd)
1253 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1254 libdir
=$ac_optarg ;;
1256 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1257 | --libexe | --libex | --libe)
1258 ac_prev
=libexecdir
;;
1259 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1260 | --libexe=* | --libex=* | --libe=*)
1261 libexecdir
=$ac_optarg ;;
1263 -localedir | --localedir | --localedi | --localed | --locale)
1264 ac_prev
=localedir
;;
1265 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1266 localedir
=$ac_optarg ;;
1268 -localstatedir | --localstatedir | --localstatedi | --localstated \
1269 | --localstate | --localstat | --localsta | --localst | --locals)
1270 ac_prev
=localstatedir
;;
1271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1272 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1273 localstatedir
=$ac_optarg ;;
1275 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1277 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1278 mandir
=$ac_optarg ;;
1280 -nfp | --nfp | --nf)
1281 # Obsolete; use --without-fp.
1284 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1285 | --no-cr | --no-c | -n)
1288 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1289 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1292 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1293 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1294 | --oldin | --oldi | --old | --ol | --o)
1295 ac_prev
=oldincludedir
;;
1296 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1297 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1298 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1299 oldincludedir
=$ac_optarg ;;
1301 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1303 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1304 prefix
=$ac_optarg ;;
1306 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1307 | --program-pre | --program-pr | --program-p)
1308 ac_prev
=program_prefix
;;
1309 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1310 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1311 program_prefix
=$ac_optarg ;;
1313 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1314 | --program-suf | --program-su | --program-s)
1315 ac_prev
=program_suffix
;;
1316 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1317 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1318 program_suffix
=$ac_optarg ;;
1320 -program-transform-name | --program-transform-name \
1321 | --program-transform-nam | --program-transform-na \
1322 | --program-transform-n | --program-transform- \
1323 | --program-transform | --program-transfor \
1324 | --program-transfo | --program-transf \
1325 | --program-trans | --program-tran \
1326 | --progr-tra | --program-tr | --program-t)
1327 ac_prev
=program_transform_name
;;
1328 -program-transform-name=* | --program-transform-name=* \
1329 | --program-transform-nam=* | --program-transform-na=* \
1330 | --program-transform-n=* | --program-transform-=* \
1331 | --program-transform=* | --program-transfor=* \
1332 | --program-transfo=* | --program-transf=* \
1333 | --program-trans=* | --program-tran=* \
1334 | --progr-tra=* | --program-tr=* | --program-t=*)
1335 program_transform_name
=$ac_optarg ;;
1337 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1339 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1340 pdfdir
=$ac_optarg ;;
1342 -psdir | --psdir | --psdi | --psd | --ps)
1344 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1348 | -silent | --silent | --silen | --sile | --sil)
1351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1355 sbindir
=$ac_optarg ;;
1357 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1359 | --sharedst | --shareds | --shared | --share | --shar \
1361 ac_prev
=sharedstatedir
;;
1362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1366 sharedstatedir
=$ac_optarg ;;
1368 -site | --site | --sit)
1370 -site=* | --site=* | --sit=*)
1373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1376 srcdir
=$ac_optarg ;;
1378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1379 | --syscon | --sysco | --sysc | --sys | --sy)
1380 ac_prev
=sysconfdir
;;
1381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1383 sysconfdir
=$ac_optarg ;;
1385 -target | --target | --targe | --targ | --tar | --ta | --t)
1386 ac_prev
=target_alias
;;
1387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1388 target_alias
=$ac_optarg ;;
1390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1393 -version | --version | --versio | --versi | --vers | -V)
1394 ac_init_version
=: ;;
1397 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1398 # Reject names that are not valid shell variable names.
1399 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1400 { echo "$as_me: error: invalid package name: $ac_package" >&2
1401 { (exit 1); exit 1; }; }
1402 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1403 eval with_
$ac_package=\
$ac_optarg ;;
1405 -without-* | --without-*)
1406 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_
$ac_package=no
;;
1415 # Obsolete; use --with-x.
1418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1419 | --x-incl | --x-inc | --x-in | --x-i)
1420 ac_prev
=x_includes
;;
1421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1423 x_includes
=$ac_optarg ;;
1425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1427 ac_prev
=x_libraries
;;
1428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1430 x_libraries
=$ac_optarg ;;
1432 -*) { echo "$as_me: error: unrecognized option: $ac_option
1433 Try \`$0 --help' for more information." >&2
1434 { (exit 1); exit 1; }; }
1438 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1439 # Reject names that are not valid shell variable names.
1440 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1441 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1442 { (exit 1); exit 1; }; }
1443 eval $ac_envvar=\
$ac_optarg
1444 export $ac_envvar ;;
1447 # FIXME: should be removed in autoconf 3.0.
1448 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1450 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1451 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1457 if test -n "$ac_prev"; then
1458 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1459 { echo "$as_me: error: missing argument to $ac_option" >&2
1460 { (exit 1); exit 1; }; }
1463 # Be sure to have absolute directory names.
1464 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1465 datadir sysconfdir sharedstatedir localstatedir includedir \
1466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1467 libdir localedir mandir
1469 eval ac_val
=\$
$ac_var
1471 [\\/$
]* | ?
:[\\/]* ) continue;;
1472 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1474 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1475 { (exit 1); exit 1; }; }
1478 # There might be people who depend on the old broken behavior: `$host'
1479 # used to hold the argument of --host etc.
1480 # FIXME: To remove some day.
1483 target
=$target_alias
1485 # FIXME: To remove some day.
1486 if test "x$host_alias" != x
; then
1487 if test "x$build_alias" = x
; then
1488 cross_compiling
=maybe
1489 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1490 If a cross compiler is detected then cross compile mode will be used." >&2
1491 elif test "x$build_alias" != "x$host_alias"; then
1497 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1499 test "$silent" = yes && exec 6>/dev
/null
1502 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1503 ac_ls_di
=`ls -di .` &&
1504 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1505 { echo "$as_me: error: Working directory cannot be determined" >&2
1506 { (exit 1); exit 1; }; }
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508 { echo "$as_me: error: pwd does not report name of working directory" >&2
1509 { (exit 1); exit 1; }; }
1512 # Find the source files, if location was not specified.
1513 if test -z "$srcdir"; then
1514 ac_srcdir_defaulted
=yes
1515 # Try the directory containing this script, then the parent directory.
1516 ac_confdir
=`$as_dirname -- "$0" ||
1517 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518 X"$0" : 'X\(//\)[^/]' \| \
1519 X"$0" : 'X\(//\)$' \| \
1520 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1540 if test ! -r "$srcdir/$ac_unique_file"; then
1544 ac_srcdir_defaulted
=no
1546 if test ! -r "$srcdir/$ac_unique_file"; then
1547 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1548 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1549 { (exit 1); exit 1; }; }
1551 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1553 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1554 { (exit 1); exit 1; }; }
1556 # When building in place, set srcdir=.
1557 if test "$ac_abs_confdir" = "$ac_pwd"; then
1560 # Remove unnecessary trailing slashes from srcdir.
1561 # Double slashes in file names in object file debugging info
1562 # mess up M-x gdb in Emacs.
1564 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1566 for ac_var
in $ac_precious_vars; do
1567 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1568 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1569 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1570 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1574 # Report the --help message.
1576 if test "$ac_init_help" = "long"; then
1577 # Omit some internal or obsolete options to make the list less imposing.
1578 # This message is too long to be a string in the A/UX 3.1 sh.
1580 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1582 Usage: $0 [OPTION]... [VAR=VALUE]...
1584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1585 VAR=VALUE. See below for descriptions of some of the useful variables.
1587 Defaults for the options are specified in brackets.
1590 -h, --help display this help and exit
1591 --help=short display options specific to this package
1592 --help=recursive display the short help of all the included packages
1593 -V, --version display version information and exit
1594 -q, --quiet, --silent do not print \`checking...' messages
1595 --cache-file=FILE cache test results in FILE [disabled]
1596 -C, --config-cache alias for \`--cache-file=config.cache'
1597 -n, --no-create do not create output files
1598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1600 Installation directories:
1601 --prefix=PREFIX install architecture-independent files in PREFIX
1602 [$ac_default_prefix]
1603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1606 By default, \`make install' will install all the files in
1607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1609 for instance \`--prefix=\$HOME'.
1611 For better control, use the options below.
1613 Fine tuning of the installation directories:
1614 --bindir=DIR user executables [EPREFIX/bin]
1615 --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 --libexecdir=DIR program executables [EPREFIX/libexec]
1617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1620 --libdir=DIR object code libraries [EPREFIX/lib]
1621 --includedir=DIR C header files [PREFIX/include]
1622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1625 --infodir=DIR info documentation [DATAROOTDIR/info]
1626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1627 --mandir=DIR man documentation [DATAROOTDIR/man]
1628 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1629 --htmldir=DIR html documentation [DOCDIR]
1630 --dvidir=DIR dvi documentation [DOCDIR]
1631 --pdfdir=DIR pdf documentation [DOCDIR]
1632 --psdir=DIR ps documentation [DOCDIR]
1638 --x-includes=DIR X include files are
in DIR
1639 --x-libraries=DIR X library files are
in DIR
1642 --build=BUILD configure
for building on BUILD
[guessed
]
1643 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1644 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1648 if test -n "$ac_init_help"; then
1649 case $ac_init_help in
1650 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1655 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1656 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1657 --disable-gui don
't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets
2.6 compatibility
1692 --disable-compat28 disable wxWidgets
2.8 compatibility
1693 --disable-rpath disable use of rpath
for uninstalled builds
1694 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even
if supported
1696 --enable-intl use internationalization system
1697 --enable-xlocale use x
-locale support
(requires wxLocale
)
1698 --enable-config use wxConfig
(and derived
) classes
1699 --enable-protocols use wxProtocol and derived classes
1700 --enable-ftp use wxFTP
(requires wxProtocol
1701 --enable-http use wxHTTP
(requires wxProtocol
1702 --enable-fileproto use wxFileProto class
(requires wxProtocol
1703 --enable-sockets use socket
/network classes
1704 --enable-ipv6 enable IPv6 support
in wxSocket
1705 --enable-ole use OLE classes
(Win32 only
)
1706 --enable-dataobj use data object classes
1707 --enable-ipc use interprocess communication
(wxSocket etc.
)
1708 --enable-baseevtloop use event loop
in console programs too
1709 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1710 --enable-selectloop use wxSelectDispatcher class
1711 --enable-apple_ieee use the Apple IEEE codec
1712 --enable-arcstream use wxArchive streams
1713 --enable-base64 use base64 encoding
/decoding functions
1714 --enable-backtrace use wxStackWalker class
for getting backtraces
1715 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1716 --enable-cmdline use wxCmdLineParser class
1717 --enable-datetime use wxDateTime class
1718 --enable-debugreport use wxDebugReport class
1719 --enable-dialupman use dialup network classes
1720 --enable-dynlib use wxLibrary class
for DLL loading
1721 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1722 --enable-exceptions build exception
-safe library
1723 --enable-ffile use wxFFile class
1724 --enable-file use wxFile class
1725 --enable-filesystem use virtual
file systems classes
1726 --enable-fontenum use wxFontEnumerator class
1727 --enable-fontmap use font encodings conversion classes
1728 --enable-fs_archive use virtual archive filesystems
1729 --enable-fs_inet use virtual HTTP
/FTP filesystems
1730 --enable-fs_zip now replaced by fs_archive
1731 --enable-geometry use geometry class
1732 --enable-log use logging system
1733 --enable-longlong use wxLongLong class
1734 --enable-mimetype use wxMimeTypesManager
1735 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1736 --enable-snglinst use wxSingleInstanceChecker class
1737 --enable-sound use wxSound class
1738 --enable-stdpaths use wxStandardPaths class
1739 --enable-stopwatch use wxStopWatch class
1740 --enable-streams use wxStream etc classes
1741 --enable-sysoptions use wxSystemOptions
1742 --enable-tarstream use wxTar streams
1743 --enable-textbuf use wxTextBuffer class
1744 --enable-textfile use wxTextFile class
1745 --enable-timer use wxTimer class
1746 --enable-variant use wxVariant class
1747 --enable-zipstream use wxZip streams
1748 --enable-url use wxURL class
1749 --enable-protocol use wxProtocol class
1750 --enable-protocol-http HTTP support
in wxProtocol
1751 --enable-protocol-ftp FTP support
in wxProtocol
1752 --enable-protocol-file FILE support
in wxProtocol
1753 --enable-threads use threads
1754 --enable-iniconf use wxIniConfig
(Win32 only
)
1755 --enable-regkey use wxRegKey class
(Win32 only
)
1756 --enable-docview use document view architecture
1757 --enable-help use
help subsystem
1758 --enable-mshtmlhelp use MS HTML Help
(win32
)
1759 --enable-html use wxHTML sub
-library
1760 --enable-htmlhelp use wxHTML
-based help
1761 --enable-xrc use XRC resources sub
-library
1762 --enable-aui use AUI docking library
1763 --enable-propgrid use wxPropertyGrid library
1764 --enable-stc use wxStyledTextCtrl library
1765 --enable-constraints use layout
-constraints system
1766 --enable-loggui use standard GUI logger
1767 --enable-logwin use wxLogWindow
1768 --enable-logdialog use wxLogDialog
1769 --enable-mdi use multiple document interface architecture
1770 --enable-mdidoc use docview architecture with MDI
1771 --enable-mediactrl use wxMediaCtrl class
1772 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1773 --enable-webkit use wxWebKitCtrl
(Mac
)
1774 --enable-richtext use wxRichTextCtrl
1775 --enable-graphics_ctx use graphics context
2D drawing API
1776 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1777 --enable-printarch use printing architecture
1778 --enable-svg use wxSVGFileDC device context
1779 --enable-clipboard use wxClipboard class
1780 --enable-dnd use Drag
'n'Drop classes
1781 --enable-metafile use win32 metafiles
1782 --disable-controls disable compilation of all standard controls
1783 --enable-accel use accelerators
1784 --enable-animatectrl use wxAnimationCtrl class
1785 --enable-button use wxButton class
1786 --enable-bmpbutton use wxBitmapButton class
1787 --enable-bmpcombobox use wxBitmapComboBox class
1788 --enable-calendar use wxCalendarCtrl class
1789 --enable-caret use wxCaret class
1790 --enable-checkbox use wxCheckBox class
1791 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1792 --enable-choice use wxChoice class
1793 --enable-choicebook use wxChoicebook class
1794 --enable-collpane use wxCollapsiblePane class
1795 --enable-colourpicker use wxColourPickerCtrl class
1796 --enable-combobox use wxComboBox class
1797 --enable-comboctrl use wxComboCtrl class
1798 --enable-datepick use wxDatePickerCtrl class
1799 --enable-dirpicker use wxDirPickerCtrl class
1800 --enable-display use wxDisplay class
1801 --enable-detect_sm use code to detect X11 session manager
1802 --enable-editablebox use wxEditableListBox class
1803 --enable-filepicker use wxFilePickerCtrl class
1804 --enable-filectrl use wxFileCtrl class
1805 --enable-fontpicker use wxFontPickerCtrl class
1806 --enable-gauge use wxGauge class
1807 --enable-grid use wxGrid class
1808 --enable-dataviewctrl use wxDataViewCtrl class
1809 --enable-hyperlink use wxHyperlinkCtrl class
1810 --enable-imaglist use wxImageList class
1811 --enable-listbook use wxListbook class
1812 --enable-listbox use wxListBox class
1813 --enable-listctrl use wxListCtrl class
1814 --enable-notebook use wxNotebook class
1815 --enable-notifmsg use wxNotificationMessage class
1816 --enable-odcombobox use wxOwnerDrawnComboBox class
1817 --enable-radiobox use wxRadioBox class
1818 --enable-radiobtn use wxRadioButton class
1819 --enable-sash use wxSashWindow class
1820 --enable-scrollbar use wxScrollBar class and scrollable windows
1821 --enable-searchctrl use wxSearchCtrl class
1822 --enable-slider use wxSlider class
1823 --enable-spinbtn use wxSpinButton class
1824 --enable-spinctrl use wxSpinCtrl class
1825 --enable-splitter use wxSplitterWindow class
1826 --enable-statbmp use wxStaticBitmap class
1827 --enable-statbox use wxStaticBox class
1828 --enable-statline use wxStaticLine class
1829 --enable-stattext use wxStaticText class
1830 --enable-statusbar use wxStatusBar class
1831 --enable-tabdialog use wxTabControl class
1832 --enable-taskbaricon use wxTaskBarIcon class
1833 --enable-textctrl use wxTextCtrl class
1834 --enable-togglebtn use wxToggleButton class
1835 --enable-toolbar use wxToolBar class
1836 --enable-tbarnative use native wxToolBar class
1837 --enable-treebook use wxTreebook class
1838 --enable-toolbook use wxToolbook class
1839 --enable-treectrl use wxTreeCtrl class
1840 --enable-tipwindow use wxTipWindow class
1841 --enable-popupwin use wxPopUpWindow class
1842 --enable-commondlg use all common dialogs
1843 --enable-aboutdlg use wxAboutBox
1844 --enable-choicedlg use wxChoiceDialog
1845 --enable-coldlg use wxColourDialog
1846 --enable-filedlg use wxFileDialog
1847 --enable-finddlg use wxFindReplaceDialog
1848 --enable-fontdlg use wxFontDialog
1849 --enable-dirdlg use wxDirDialog
1850 --enable-msgdlg use wxMessageDialog
1851 --enable-numberdlg use wxNumberEntryDialog
1852 --enable-splash use wxSplashScreen
1853 --enable-textdlg use wxTextDialog
1854 --enable-tipdlg use startup tips
1855 --enable-progressdlg use wxProgressDialog
1856 --enable-wizarddlg use wxWizard
1857 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1858 --enable-miniframe use wxMiniFrame class
1859 --enable-tooltips use wxToolTip class
1860 --enable-splines use spline drawing code
1861 --enable-mousewheel use mousewheel
1862 --enable-validators use wxValidator and derived classes
1863 --enable-busyinfo use wxBusyInfo
1864 --enable-joystick use wxJoystick
1865 --enable-metafiles use wxMetaFile
(Win32 only
)
1866 --enable-dragimage use wxDragImage
1867 --enable-accessibility enable accessibility support
1868 --enable-palette use wxPalette class
1869 --enable-image use wxImage class
1870 --enable-gif use gif images
(GIF
file format
)
1871 --enable-pcx use pcx images
(PCX
file format
)
1872 --enable-tga use tga images
(TGA
file format
)
1873 --enable-iff use iff images
(IFF
file format
)
1874 --enable-pnm use pnm images
(PNM
file format
)
1875 --enable-xpm use xpm images
(XPM
file format
)
1876 --enable-ico_cur use Windows ICO and CUR formats
1877 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1878 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1879 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1880 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1881 --enable-wxdib use wxDIB class
(Win32 only
)
1882 --enable-autoidman use automatic ids management
1883 --disable-largefile omit support
for large files
1884 --disable-gtktest do not try to compile and run a
test GTK
+ program
1885 --disable-gtktest Do not try to compile and run a
test GTK program
1886 --disable-sdltest Do not try to compile and run a
test SDL program
1887 --enable-omf use OMF object format
(OS
/2)
1888 --disable-dependency-tracking
1889 don
't use dependency tracking even if the compiler
1891 --disable-precomp-headers
1892 don't use precompiled headers even
if compiler can
1895 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1896 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1897 --without-subdirs don
't generate makefiles for samples/demos/...
1898 --with-flavour=NAME specify a name to identify this build
1899 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1900 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1901 --with-motif use Motif/Lesstif
1902 --with-osx_carbon use Mac OS X (Carbon)
1903 --with-osx_cocoa use Mac OS X (Cocoa)
1904 --with-mac use Mac OS X (Default)
1905 --with-cocoa use Cocoa
1906 --with-wine use Wine
1907 --with-msw use MS-Windows
1908 --with-pm use OS/2 Presentation Manager
1909 --with-mgl use SciTech MGL
1910 --with-directfb use DirectFB
1911 --with-microwin use MicroWindows
1913 --with-libpng use libpng (PNG image format)
1914 --with-libjpeg use libjpeg (JPEG file format)
1915 --with-libtiff use libtiff (TIFF file format)
1916 --with-libxpm use libxpm (XPM file format)
1917 --with-libiconv use libiconv (character conversion)
1918 --with-libmspack use libmspack (CHM help files loading)
1919 --without-gtkprint don't use GTK printing support
1920 --without-gnomeprint don
't use GNOME printing libraries
1921 --with-gnomevfs use GNOME VFS for associating MIME types
1922 --with-hildon use Hildon framework for Nokia 770
1923 --with-opengl use OpenGL (or Mesa)
1924 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1925 --with-sdl use SDL for audio on Unix
1926 --with-regex enable support for wxRegEx class
1927 --with-zlib use zlib for LZW compression
1928 --with-expat enable XML support using expat parser
1929 --with-macosx-sdk=PATH use an OS X SDK at PATH
1930 --with-macosx-version-min=VER build binaries which require at least this OS X version
1931 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1932 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1933 --with-x use the X Window System
1934 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1935 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1936 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1937 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1938 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1940 Some influential environment variables:
1941 CC C compiler command
1942 CFLAGS C compiler flags
1943 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1944 nonstandard directory <lib dir>
1945 LIBS libraries to pass to the linker, e.g. -l<library>
1946 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1947 you have headers in a nonstandard directory <include dir>
1949 CXX C++ compiler command
1950 CXXFLAGS C++ compiler flags
1951 PKG_CONFIG path to pkg-config utility
1953 C compiler flags for DIRECTFB, overriding pkg-config
1955 linker flags for DIRECTFB, overriding pkg-config
1956 XMKMF Path to xmkmf, Makefile generator for X Window System
1958 C compiler flags for PANGOX, overriding pkg-config
1959 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1961 C compiler flags for PANGOFT2, overriding pkg-config
1963 linker flags for PANGOFT2, overriding pkg-config
1965 C compiler flags for PANGOXFT, overriding pkg-config
1967 linker flags for PANGOXFT, overriding pkg-config
1969 C compiler flags for GTKPRINT, overriding pkg-config
1971 linker flags for GTKPRINT, overriding pkg-config
1972 LIBGNOMEPRINTUI_CFLAGS
1973 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1974 LIBGNOMEPRINTUI_LIBS
1975 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1977 C compiler flags for GNOMEVFS, overriding pkg-config
1979 linker flags for GNOMEVFS, overriding pkg-config
1981 C compiler flags for HILDON, overriding pkg-config
1982 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1984 C compiler flags for CAIRO, overriding pkg-config
1985 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1986 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1987 GST_LIBS linker flags for GST, overriding pkg-config
1989 Use these variables to override the choices made by `configure' or to
help
1990 it to
find libraries and programs with nonstandard names
/locations.
1992 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1997 if test "$ac_init_help" = "recursive"; then
1998 # If there are subdirs, report their specific --help.
1999 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2000 test -d "$ac_dir" || continue
2004 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2006 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2007 # A ".." for each directory in $ac_dir_suffix.
2008 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2009 case $ac_top_builddir_sub in
2010 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2011 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2014 ac_abs_top_builddir
=$ac_pwd
2015 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2016 # for backward compatibility:
2017 ac_top_builddir
=$ac_top_build_prefix
2020 .
) # We are building in place.
2022 ac_top_srcdir
=$ac_top_builddir_sub
2023 ac_abs_top_srcdir
=$ac_pwd ;;
2024 [\\/]* | ?
:[\\/]* ) # Absolute name.
2025 ac_srcdir
=$srcdir$ac_dir_suffix;
2026 ac_top_srcdir
=$srcdir
2027 ac_abs_top_srcdir
=$srcdir ;;
2029 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2030 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2031 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2033 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2035 cd "$ac_dir" || { ac_status
=$?
; continue; }
2036 # Check for guested configure.
2037 if test -f "$ac_srcdir/configure.gnu"; then
2039 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2040 elif test -f "$ac_srcdir/configure"; then
2042 $SHELL "$ac_srcdir/configure" --help=recursive
2044 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2046 cd "$ac_pwd" || { ac_status
=$?
; break; }
2050 test -n "$ac_init_help" && exit $ac_status
2051 if $ac_init_version; then
2053 wxWidgets configure
2.9.0
2054 generated by GNU Autoconf
2.61
2056 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2057 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2058 This configure
script is free software
; the Free Software Foundation
2059 gives unlimited permission to copy
, distribute and modify it.
2063 cat >config.log
<<_ACEOF
2064 This file contains any messages produced by compilers while
2065 running configure, to aid debugging if configure makes a mistake.
2067 It was created by wxWidgets $as_me 2.9.0, which was
2068 generated by GNU Autoconf 2.61. Invocation command line was
2080 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2081 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2082 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2083 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2084 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2086 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2087 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2089 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2090 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2091 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2092 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2093 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2094 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2095 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir
=.
2104 echo "PATH: $as_dir"
2120 # Keep a trace of the command line.
2121 # Strip out --no-create and --no-recursion so they do not pile up.
2122 # Strip out --silent because we don't want to record it for future runs.
2123 # Also quote any args containing shell meta-characters.
2124 # Make two passes to allow for proper duplicate-argument suppression.
2128 ac_must_keep_next
=false
2134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2136 | -silent | --silent | --silen | --sile | --sil)
2139 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2144 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2145 if test $ac_must_keep_next = true
; then
2146 ac_must_keep_next
=false
# Got value, back to normal.
2149 *=* | --config-cache | -C | -disable-* | --disable-* \
2150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2152 | -with-* | --with-* | -without-* | --without-* | --x)
2153 case "$ac_configure_args0 " in
2154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157 -* ) ac_must_keep_next
=true
;;
2160 ac_configure_args
="$ac_configure_args '$ac_arg'"
2165 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2166 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2168 # When interrupted or exit'd, cleanup temporary files, and complete
2169 # config.log. We remove comments because anyway the quotes in there
2170 # would cause problems or look ugly.
2171 # WARNING: Use '\'' to represent an apostrophe within the trap.
2172 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2173 trap 'exit_status=$?
2174 # Save into config.log some information that might help in debugging.
2179 ## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##
2184 # The following way of writing the cache mishandles newlines in values,
2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187 eval ac_val=\$$ac_var
2191 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2192 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2195 _ | IFS | as_nl) ;; #(
2196 *) $as_unset $ac_var ;;
2201 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2216 ## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##
2221 for ac_var in $ac_subst_vars
2223 eval ac_val=\$$ac_var
2225 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2227 echo "$ac_var='\''$ac_val'\''"
2231 if test -n "$ac_subst_files"; then
2233 ## ------------------- ##
2234 ## File substitutions. ##
2235 ## ------------------- ##
2238 for ac_var
in $ac_subst_files
2240 eval ac_val
=\$
$ac_var
2242 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2244 echo "$ac_var='\''$ac_val'\''"
2249 if test -s confdefs.h; then
2259 test "$ac_signal" != 0 &&
2260 echo "$as_me: caught signal $ac_signal"
2261 echo "$as_me: exit $exit_status"
2263 rm -f core *.core core.conftest.* &&
2264 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2267 for ac_signal
in 1 2 13 15; do
2268 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2273 rm -f -r conftest
* confdefs.h
2275 # Predefined preprocessor variables.
2277 cat >>confdefs.h
<<_ACEOF
2278 #define PACKAGE_NAME "$PACKAGE_NAME"
2282 cat >>confdefs.h
<<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2287 cat >>confdefs.h
<<_ACEOF
2288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2292 cat >>confdefs.h
<<_ACEOF
2293 #define PACKAGE_STRING "$PACKAGE_STRING"
2297 cat >>confdefs.h
<<_ACEOF
2298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2302 # Let the site file select an alternate cache file if it wants to.
2303 # Prefer explicitly selected file to automatically selected ones.
2304 if test -n "$CONFIG_SITE"; then
2305 set x
"$CONFIG_SITE"
2306 elif test "x$prefix" != xNONE
; then
2307 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2309 set x
"$ac_default_prefix/share/config.site" \
2310 "$ac_default_prefix/etc/config.site"
2315 if test -r "$ac_site_file"; then
2316 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2317 echo "$as_me: loading site script $ac_site_file" >&6;}
2318 sed 's/^/| /' "$ac_site_file" >&5
2323 if test -r "$cache_file"; then
2324 # Some versions of bash will fail to source /dev/null (special
2325 # files actually), so we avoid doing that.
2326 if test -f "$cache_file"; then
2327 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2328 echo "$as_me: loading cache $cache_file" >&6;}
2330 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2331 *) .
"./$cache_file";;
2335 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2336 echo "$as_me: creating cache $cache_file" >&6;}
2340 # Check that the precious variables saved in the cache have kept the same
2342 ac_cache_corrupted
=false
2343 for ac_var
in $ac_precious_vars; do
2344 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2345 eval ac_new_set
=\
$ac_env_${ac_var}_set
2346 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2347 eval ac_new_val
=\
$ac_env_${ac_var}_value
2348 case $ac_old_set,$ac_new_set in
2350 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2351 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2352 ac_cache_corrupted
=: ;;
2354 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2355 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2356 ac_cache_corrupted
=: ;;
2359 if test "x$ac_old_val" != "x$ac_new_val"; then
2360 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2361 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2362 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2363 echo "$as_me: former value: $ac_old_val" >&2;}
2364 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2365 echo "$as_me: current value: $ac_new_val" >&2;}
2366 ac_cache_corrupted
=:
2369 # Pass precious variables to config.status.
2370 if test "$ac_new_set" = set; then
2372 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2373 *) ac_arg
=$ac_var=$ac_new_val ;;
2375 case " $ac_configure_args " in
2376 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2377 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2381 if $ac_cache_corrupted; then
2382 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2383 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2384 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2385 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2386 { (exit 1); exit 1; }; }
2414 ac_cpp
='$CPP $CPPFLAGS'
2415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2424 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2425 if test -f "$ac_dir/install-sh"; then
2427 ac_install_sh
="$ac_aux_dir/install-sh -c"
2429 elif test -f "$ac_dir/install.sh"; then
2431 ac_install_sh
="$ac_aux_dir/install.sh -c"
2433 elif test -f "$ac_dir/shtool"; then
2435 ac_install_sh
="$ac_aux_dir/shtool install -c"
2439 if test -z "$ac_aux_dir"; then
2440 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2441 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2442 { (exit 1); exit 1; }; }
2445 # These three variables are undocumented and unsupported,
2446 # and are intended to be withdrawn in a future Autoconf release.
2447 # They can cause serious problems if a builder's source tree is in a directory
2448 # whose full name contains unusual characters.
2449 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2450 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2451 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2454 # Make sure we can run config.sub.
2455 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2456 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2457 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2458 { (exit 1); exit 1; }; }
2460 { echo "$as_me:$LINENO: checking build system type" >&5
2461 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2462 if test "${ac_cv_build+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 ac_build_alias
=$build_alias
2466 test "x$ac_build_alias" = x
&&
2467 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2468 test "x$ac_build_alias" = x
&&
2469 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2470 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2471 { (exit 1); exit 1; }; }
2472 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2478 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2479 echo "${ECHO_T}$ac_cv_build" >&6; }
2480 case $ac_cv_build in
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2483 echo "$as_me: error: invalid value of canonical build" >&2;}
2484 { (exit 1); exit 1; }; };;
2487 ac_save_IFS
=$IFS; IFS
='-'
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2497 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2500 { echo "$as_me:$LINENO: checking host system type" >&5
2501 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_host+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test "x$host_alias" = x
; then
2506 ac_cv_host
=$ac_cv_build
2508 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2515 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2516 echo "${ECHO_T}$ac_cv_host" >&6; }
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2520 echo "$as_me: error: invalid value of canonical host" >&2;}
2521 { (exit 1); exit 1; }; };;
2524 ac_save_IFS
=$IFS; IFS
='-'
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2534 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2537 { echo "$as_me:$LINENO: checking target system type" >&5
2538 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2539 if test "${ac_cv_target+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 if test "x$target_alias" = x
; then
2543 ac_cv_target
=$ac_cv_host
2545 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2546 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2547 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2548 { (exit 1); exit 1; }; }
2552 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2553 echo "${ECHO_T}$ac_cv_target" >&6; }
2554 case $ac_cv_target in
2556 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2557 echo "$as_me: error: invalid value of canonical target" >&2;}
2558 { (exit 1); exit 1; }; };;
2560 target
=$ac_cv_target
2561 ac_save_IFS
=$IFS; IFS
='-'
2567 # Remember, the first character of IFS is used to create $*,
2568 # except with old shells:
2571 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2574 # The aliases save the names the user supplied, while $host etc.
2575 # will get canonicalized.
2576 test -n "$target_alias" &&
2577 test "$program_prefix$program_suffix$program_transform_name" = \
2579 program_prefix
=${target_alias}-
2583 wx_major_version_number
=2
2584 wx_minor_version_number
=9
2586 wx_subrelease_number
=0
2588 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2589 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2590 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2592 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2595 wx_top_builddir
="`pwd`"
2608 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2614 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2620 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2622 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2624 DEFAULT_wxUSE_COCOA
=0
2626 DEFAULT_wxUSE_OSX_CARBON
=0
2627 DEFAULT_wxUSE_OSX_COCOA
=0
2629 DEFAULT_wxUSE_MICROWIN
=0
2630 DEFAULT_wxUSE_MOTIF
=0
2636 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2637 DEFAULT_DEFAULT_wxUSE_GTK
=0
2638 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2639 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2640 DEFAULT_DEFAULT_wxUSE_MGL
=0
2641 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2642 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2643 DEFAULT_DEFAULT_wxUSE_MSW
=0
2644 DEFAULT_DEFAULT_wxUSE_PM
=0
2645 DEFAULT_DEFAULT_wxUSE_X11
=0
2646 DEFAULT_DEFAULT_wxUSE_DFB
=0
2651 SAMPLES_RPATH_POSTLINK
=
2653 DEFAULT_STD_FLAG
=yes
2658 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2659 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2661 cat >>confdefs.h
<<\_ACEOF
2666 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2670 cat >>confdefs.h
<<\_ACEOF
2675 if test "x$TMP" = "xalpha"; then
2677 cat >>confdefs.h
<<\_ACEOF
2682 DEFAULT_DEFAULT_wxUSE_GTK
=1
2684 *-*-gnu* | *-*-k*bsd
*-gnu )
2687 if test "x$TMP" = "xalpha"; then
2689 cat >>confdefs.h
<<\_ACEOF
2694 DEFAULT_DEFAULT_wxUSE_GTK
=1
2696 *-*-irix5* | *-*-irix6* )
2699 cat >>confdefs.h
<<\_ACEOF
2703 cat >>confdefs.h
<<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2713 cat >>confdefs.h
<<\_ACEOF
2717 cat >>confdefs.h
<<\_ACEOF
2718 #define __SOLARIS__ 1
2721 cat >>confdefs.h
<<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2732 cat >>confdefs.h
<<\_ACEOF
2736 cat >>confdefs.h
<<\_ACEOF
2740 cat >>confdefs.h
<<\_ACEOF
2744 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2749 cat >>confdefs.h
<<\_ACEOF
2750 #define __FREEBSD__ 1
2753 cat >>confdefs.h
<<\_ACEOF
2757 DEFAULT_DEFAULT_wxUSE_GTK
=1
2759 *-*-openbsd*|*-*-mirbsd*)
2762 cat >>confdefs.h
<<\_ACEOF
2763 #define __OPENBSD__ 1
2766 cat >>confdefs.h
<<\_ACEOF
2770 DEFAULT_DEFAULT_wxUSE_GTK
=1
2775 cat >>confdefs.h
<<\_ACEOF
2776 #define __NETBSD__ 1
2779 cat >>confdefs.h
<<\_ACEOF
2783 DEFAULT_DEFAULT_wxUSE_GTK
=1
2784 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2786 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2791 cat >>confdefs.h
<<\_ACEOF
2795 cat >>confdefs.h
<<\_ACEOF
2799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2800 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2805 cat >>confdefs.h
<<\_ACEOF
2809 cat >>confdefs.h
<<\_ACEOF
2813 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2818 cat >>confdefs.h
<<\_ACEOF
2822 cat >>confdefs.h
<<\_ACEOF
2826 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2833 cat >>confdefs.h
<<\_ACEOF
2837 cat >>confdefs.h
<<\_ACEOF
2841 cat >>confdefs.h
<<\_ACEOF
2845 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2852 cat >>confdefs.h
<<\_ACEOF
2853 #define __UNIXWARE__ 1
2858 *-*-cygwin* | *-*-mingw32* )
2861 DEFAULT_DEFAULT_wxUSE_MSW
=1
2867 cat >>confdefs.h
<<\_ACEOF
2872 DEFAULT_DEFAULT_wxUSE_MGL
=1
2875 *-pc-os2_emx | *-pc-os2-emx )
2876 cat >>confdefs.h
<<\_ACEOF
2881 cat >>confdefs.h
<<\_ACEOF
2886 DEFAULT_DEFAULT_wxUSE_PM
=1
2888 LDFLAGS
="$LDFLAGS -Zcrtdll"
2889 ac_executable_extensions
=".exe"
2890 export ac_executable_extensions
2894 for ac_dir
in $PATH; do
2896 if test -z "$ac_TEMP_PATH"; then
2897 ac_TEMP_PATH
="$ac_dir"
2899 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2902 export PATH
="$ac_TEMP_PATH"
2911 cat >>confdefs.h
<<\_ACEOF
2915 cat >>confdefs.h
<<\_ACEOF
2916 #define __DARWIN__ 1
2919 cat >>confdefs.h
<<\_ACEOF
2920 #define TARGET_CARBON 1
2923 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2926 powerpc
-apple-macos* )
2928 ac_cv_c_bigendian
=yes
2930 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2936 cat >>confdefs.h
<<\_ACEOF
2943 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2944 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2945 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2946 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2948 DEFAULT_DEFAULT_wxUSE_X11
=1
2949 DEFAULT_wxUSE_SHARED
=no
2954 DEFAULT_wxUSE_ALL_FEATURES
=yes
2956 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2957 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2959 DEFAULT_wxUSE_DMALLOC
=no
2960 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2961 DEFAULT_wxUSE_LIBHILDON
=no
2962 DEFAULT_wxUSE_LIBMSPACK
=no
2963 DEFAULT_wxUSE_LIBSDL
=no
2964 DEFAULT_wxUSE_OPENGL
=no
2966 DEFAULT_wxUSE_ACCESSIBILITY
=no
2967 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2968 DEFAULT_wxUSE_IPV6
=no
2969 DEFAULT_wxUSE_MEDIACTRL
=no
2970 DEFAULT_wxUSE_TAB_DIALOG
=no
2971 DEFAULT_wxUSE_GSTREAMER8
=no
2973 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2974 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2976 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2978 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2980 DEFAULT_wxUSE_GTK2
=yes
2982 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2988 enablestring
=disable
2990 if test -z "$defaultval"; then
2991 if test x
"$enablestring" = xdisable
; then
2998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2999 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3000 # Check whether --enable-gui was given.
3001 if test "${enable_gui+set}" = set; then
3002 enableval
=$enable_gui;
3003 if test "$enableval" = yes; then
3004 wx_cv_use_gui
='wxUSE_GUI=yes'
3006 wx_cv_use_gui
='wxUSE_GUI=no'
3011 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3016 eval "$wx_cv_use_gui"
3018 if test x"$enablestring" = xdisable; then
3019 if test $wxUSE_GUI = yes; then
3028 { echo "$as_me:$LINENO: result: $result" >&5
3029 echo "${ECHO_T}$result" >&6; }
3034 if test -z "$defaultval"; then
3035 if test x"$enablestring" = xdisable; then
3042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3043 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3044 # Check whether --enable-monolithic was given.
3045 if test "${enable_monolithic+set}" = set; then
3046 enableval=$enable_monolithic;
3047 if test "$enableval" = yes; then
3048 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3050 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3055 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3060 eval "$wx_cv_use_monolithic"
3062 if test x"$enablestring" = xdisable; then
3063 if test $wxUSE_MONOLITHIC = yes; then
3069 result=$wxUSE_MONOLITHIC
3072 { echo "$as_me:$LINENO: result
: $result" >&5
3073 echo "${ECHO_T}$result" >&6; }
3078 if test -z "$defaultval"; then
3079 if test x"$enablestring" = xdisable; then
3086 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3087 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3088 # Check whether --enable-plugins was given.
3089 if test "${enable_plugins+set}" = set; then
3090 enableval=$enable_plugins;
3091 if test "$enableval" = yes; then
3092 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3094 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3099 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3104 eval "$wx_cv_use_plugins"
3106 if test x
"$enablestring" = xdisable
; then
3107 if test $wxUSE_PLUGINS = yes; then
3113 result
=$wxUSE_PLUGINS
3116 { echo "$as_me:$LINENO: result: $result" >&5
3117 echo "${ECHO_T}$result" >&6; }
3121 defaultval
=$wxUSE_ALL_FEATURES
3122 if test -z "$defaultval"; then
3123 if test x
"$withstring" = xwithout
; then
3129 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3130 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3132 # Check whether --with-subdirs was given.
3133 if test "${with_subdirs+set}" = set; then
3134 withval
=$with_subdirs;
3135 if test "$withval" = yes; then
3136 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3138 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3143 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3148 eval "$wx_cv_use_subdirs"
3150 if test x"$withstring" = xwithout; then
3151 if test $wxWITH_SUBDIRS = yes; then
3157 result=$wxWITH_SUBDIRS
3160 { echo "$as_me:$LINENO: result: $result" >&5
3161 echo "${ECHO_T}$result" >&6; }
3164 # Check whether --with-flavour was given.
3165 if test "${with_flavour+set}" = set; then
3166 withval=$with_flavour; WX_FLAVOUR="$withval"
3172 if test -z "$defaultval"; then
3173 if test x"$enablestring" = xdisable; then
3180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3181 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3182 # Check whether --enable-official_build was given.
3183 if test "${enable_official_build+set}" = set; then
3184 enableval=$enable_official_build;
3185 if test "$enableval" = yes; then
3186 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3188 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3193 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3198 eval "$wx_cv_use_official_build"
3200 if test x"$enablestring" = xdisable; then
3201 if test $wxUSE_OFFICIAL_BUILD = yes; then
3207 result=$wxUSE_OFFICIAL_BUILD
3210 { echo "$as_me:$LINENO: result
: $result" >&5
3211 echo "${ECHO_T}$result" >&6; }
3213 # Check whether --enable-vendor was given.
3214 if test "${enable_vendor+set}" = set; then
3215 enableval=$enable_vendor; VENDOR="$enableval"
3218 if test "x
$VENDOR" = "x
"; then
3223 enablestring=disable
3225 if test -z "$defaultval"; then
3226 if test x"$enablestring" = xdisable; then
3233 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3234 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3235 # Check whether --enable-all-features was given.
3236 if test "${enable_all_features+set}" = set; then
3237 enableval=$enable_all_features;
3238 if test "$enableval" = yes; then
3239 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3241 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3246 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3251 eval "$wx_cv_use_all_features"
3253 if test x
"$enablestring" = xdisable
; then
3254 if test $wxUSE_ALL_FEATURES = yes; then
3260 result
=$wxUSE_ALL_FEATURES
3263 { echo "$as_me:$LINENO: result: $result" >&5
3264 echo "${ECHO_T}$result" >&6; }
3268 if test "$wxUSE_GUI" = "yes"; then
3273 if test -z "$defaultval"; then
3274 if test x
"$enablestring" = xdisable
; then
3281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3282 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3283 # Check whether --enable-universal was given.
3284 if test "${enable_universal+set}" = set; then
3285 enableval
=$enable_universal;
3286 if test "$enableval" = yes; then
3287 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3289 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3294 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3299 eval "$wx_cv_use_universal"
3301 if test x"$enablestring" = xdisable; then
3302 if test $wxUSE_UNIVERSAL = yes; then
3308 result=$wxUSE_UNIVERSAL
3311 { echo "$as_me:$LINENO: result: $result" >&5
3312 echo "${ECHO_T}$result" >&6; }
3314 if test "$wxUSE_UNIVERSAL" = "yes"; then
3316 # Check whether --with-themes was given.
3317 if test "${with_themes+set}" = set; then
3318 withval=$with_themes; wxUNIV_THEMES="$withval"
3324 # Check whether --with-gtk was given.
3325 if test "${with_gtk+set}" = set; then
3326 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3330 # Check whether --with-motif was given.
3331 if test "${with_motif+set}" = set; then
3332 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3336 # Check whether --with-osx_carbon was given.
3337 if test "${with_osx_carbon+set}" = set; then
3338 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3342 # Check whether --with-osx_cocoa was given.
3343 if test "${with_osx_cocoa+set}" = set; then
3344 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3348 # Check whether --with-mac was given.
3349 if test "${with_mac+set}" = set; then
3350 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3354 # Check whether --with-cocoa was given.
3355 if test "${with_cocoa+set}" = set; then
3356 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3360 # Check whether --with-wine was given.
3361 if test "${with_wine+set}" = set; then
3362 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3366 # Check whether --with-msw was given.
3367 if test "${with_msw+set}" = set; then
3368 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-pm was given.
3373 if test "${with_pm+set}" = set; then
3374 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3378 # Check whether --with-mgl was given.
3379 if test "${with_mgl+set}" = set; then
3380 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3384 # Check whether --with-directfb was given.
3385 if test "${with_directfb+set}" = set; then
3386 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3390 # Check whether --with-microwin was given.
3391 if test "${with_microwin+set}" = set; then
3392 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3396 # Check whether --with-x11 was given.
3397 if test "${with_x11+set}" = set; then
3398 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3404 if test -z "$defaultval"; then
3405 if test x"$enablestring" = xdisable; then
3412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3413 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3414 # Check whether --enable-nanox was given.
3415 if test "${enable_nanox+set}" = set; then
3416 enableval=$enable_nanox;
3417 if test "$enableval" = yes; then
3418 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3420 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3425 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3430 eval "$wx_cv_use_nanox"
3432 if test x"$enablestring" = xdisable; then
3433 if test $wxUSE_NANOX = yes; then
3442 { echo "$as_me:$LINENO: result
: $result" >&5
3443 echo "${ECHO_T}$result" >&6; }
3446 # Check whether --enable-gtk2 was given.
3447 if test "${enable_gtk2+set}" = set; then
3448 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3454 if test -z "$defaultval"; then
3455 if test x"$enablestring" = xdisable; then
3462 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3463 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3464 # Check whether --enable-gpe was given.
3465 if test "${enable_gpe+set}" = set; then
3466 enableval=$enable_gpe;
3467 if test "$enableval" = yes; then
3468 wx_cv_use_gpe='wxUSE_GPE=yes'
3470 wx_cv_use_gpe='wxUSE_GPE=no'
3475 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3480 eval "$wx_cv_use_gpe"
3482 if test x
"$enablestring" = xdisable
; then
3483 if test $wxUSE_GPE = yes; then
3492 { echo "$as_me:$LINENO: result: $result" >&5
3493 echo "${ECHO_T}$result" >&6; }
3497 { echo "$as_me:$LINENO: checking for toolkit" >&5
3498 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3502 # In Wine, we need to default to MSW, not GTK or MOTIF
3503 if test "$wxUSE_WINE" = "yes"; then
3504 DEFAULT_DEFAULT_wxUSE_GTK
=0
3505 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3506 DEFAULT_DEFAULT_wxUSE_MSW
=1
3513 if test "$wxUSE_GUI" = "yes"; then
3515 if test "$USE_BEOS" = 1; then
3516 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3517 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3518 { (exit 1); exit 1; }; }
3521 if test "$TOOLKIT_GIVEN" = 1; then
3522 for toolkit
in $ALL_TOOLKITS; do
3524 eval "value=\$${var}"
3525 if test "x$value" = "xno"; then
3527 elif test "x$value" != "x"; then
3531 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3532 eval "wx${toolkit}_VERSION=$value"
3536 for toolkit
in $ALL_TOOLKITS; do
3537 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3538 eval "wxUSE_$toolkit=\$${var}"
3542 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3543 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3544 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3547 *-pc-os2_emx | *-pc-os2-emx )
3548 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3551 case "$NUM_TOOLKITS" in
3555 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3556 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3557 { (exit 1); exit 1; }; }
3560 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3561 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3562 { (exit 1); exit 1; }; }
3565 # to be removed when --disable-gtk2 isn't needed
3566 if test "x$wxUSE_GTK2" = "xyes"; then
3568 elif test "x$wxUSE_GTK2" = "xno"; then
3572 for toolkit
in $ALL_TOOLKITS; do
3574 eval "value=\$${var}"
3575 if test "$value" = 1; then
3576 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3577 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3578 echo "${ECHO_T}$toolkit_echo" >&6; }
3582 if test "x$host_alias" != "x"; then
3583 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3584 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3586 { echo "$as_me:$LINENO: result: base only" >&5
3587 echo "${ECHO_T}base only" >&6; }
3592 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3598 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3599 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3601 # Check whether --with-libpng was given.
3602 if test "${with_libpng+set}" = set; then
3603 withval
=$with_libpng;
3604 if test "$withval" = yes; then
3605 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3606 elif test "$withval" = no
; then
3607 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3608 elif test "$withval" = sys
; then
3609 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3610 elif test "$withval" = builtin; then
3611 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3613 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3614 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3615 { (exit 1); exit 1; }; }
3620 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3625 eval "$wx_cv_use_libpng"
3627 if test "$wxUSE_LIBPNG" = yes; then
3628 { echo "$as_me:$LINENO: result: yes" >&5
3629 echo "${ECHO_T}yes" >&6; }
3630 elif test "$wxUSE_LIBPNG" = no; then
3631 { echo "$as_me:$LINENO: result: no" >&5
3632 echo "${ECHO_T}no" >&6; }
3633 elif test "$wxUSE_LIBPNG" = sys; then
3634 { echo "$as_me:$LINENO: result: system version" >&5
3635 echo "${ECHO_T}system version" >&6; }
3636 elif test "$wxUSE_LIBPNG" = builtin; then
3637 { echo "$as_me:$LINENO: result: builtin version" >&5
3638 echo "${ECHO_T}builtin version" >&6; }
3640 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3641 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3642 { (exit 1); exit 1; }; }
3646 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3647 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3649 # Check whether --with-libjpeg was given.
3650 if test "${with_libjpeg+set}" = set; then
3651 withval=$with_libjpeg;
3652 if test "$withval" = yes; then
3653 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3654 elif test "$withval" = no; then
3655 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3656 elif test "$withval" = sys; then
3657 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3658 elif test "$withval" = builtin; then
3659 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3668 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3673 eval "$wx_cv_use_libjpeg"
3675 if test "$wxUSE_LIBJPEG" = yes; then
3676 { echo "$as_me:$LINENO: result
: yes" >&5
3677 echo "${ECHO_T}yes" >&6; }
3678 elif test "$wxUSE_LIBJPEG" = no; then
3679 { echo "$as_me:$LINENO: result
: no
" >&5
3680 echo "${ECHO_T}no
" >&6; }
3681 elif test "$wxUSE_LIBJPEG" = sys; then
3682 { echo "$as_me:$LINENO: result
: system version
" >&5
3683 echo "${ECHO_T}system version
" >&6; }
3684 elif test "$wxUSE_LIBJPEG" = builtin; then
3685 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3686 echo "${ECHO_T}builtin version
" >&6; }
3688 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3689 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3690 { (exit 1); exit 1; }; }
3694 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3695 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3697 # Check whether --with-libtiff was given.
3698 if test "${with_libtiff+set}" = set; then
3699 withval=$with_libtiff;
3700 if test "$withval" = yes; then
3701 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3702 elif test "$withval" = no; then
3703 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3704 elif test "$withval" = sys; then
3705 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3706 elif test "$withval" = builtin; then
3707 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3709 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3710 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3711 { (exit 1); exit 1; }; }
3716 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3721 eval "$wx_cv_use_libtiff"
3723 if test "$wxUSE_LIBTIFF" = yes; then
3724 { echo "$as_me:$LINENO: result: yes" >&5
3725 echo "${ECHO_T}yes" >&6; }
3726 elif test "$wxUSE_LIBTIFF" = no
; then
3727 { echo "$as_me:$LINENO: result: no" >&5
3728 echo "${ECHO_T}no" >&6; }
3729 elif test "$wxUSE_LIBTIFF" = sys
; then
3730 { echo "$as_me:$LINENO: result: system version" >&5
3731 echo "${ECHO_T}system version" >&6; }
3732 elif test "$wxUSE_LIBTIFF" = builtin; then
3733 { echo "$as_me:$LINENO: result: builtin version" >&5
3734 echo "${ECHO_T}builtin version" >&6; }
3736 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3737 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3738 { (exit 1); exit 1; }; }
3742 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3743 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3745 # Check whether --with-libxpm was given.
3746 if test "${with_libxpm+set}" = set; then
3747 withval
=$with_libxpm;
3748 if test "$withval" = yes; then
3749 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3750 elif test "$withval" = no
; then
3751 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3752 elif test "$withval" = sys
; then
3753 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3754 elif test "$withval" = builtin; then
3755 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3764 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3769 eval "$wx_cv_use_libxpm"
3771 if test "$wxUSE_LIBXPM" = yes; then
3772 { echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6; }
3774 elif test "$wxUSE_LIBXPM" = no; then
3775 { echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6; }
3777 elif test "$wxUSE_LIBXPM" = sys; then
3778 { echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6; }
3780 elif test "$wxUSE_LIBXPM" = builtin; then
3781 { echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6; }
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3791 defaultval=$wxUSE_ALL_FEATURES
3792 if test -z "$defaultval"; then
3793 if test x"$withstring" = xwithout; then
3799 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3800 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3802 # Check whether --with-libiconv was given.
3803 if test "${with_libiconv+set}" = set; then
3804 withval=$with_libiconv;
3805 if test "$withval" = yes; then
3806 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3808 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3813 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3818 eval "$wx_cv_use_libiconv"
3820 if test x"$withstring" = xwithout; then
3821 if test $wxUSE_LIBICONV = yes; then
3827 result=$wxUSE_LIBICONV
3830 { echo "$as_me:$LINENO: result
: $result" >&5
3831 echo "${ECHO_T}$result" >&6; }
3835 defaultval=$wxUSE_ALL_FEATURES
3836 if test -z "$defaultval"; then
3837 if test x"$withstring" = xwithout; then
3843 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3844 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3846 # Check whether --with-libmspack was given.
3847 if test "${with_libmspack+set}" = set; then
3848 withval=$with_libmspack;
3849 if test "$withval" = yes; then
3850 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3852 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3857 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3862 eval "$wx_cv_use_libmspack"
3864 if test x
"$withstring" = xwithout
; then
3865 if test $wxUSE_LIBMSPACK = yes; then
3871 result
=$wxUSE_LIBMSPACK
3874 { echo "$as_me:$LINENO: result: $result" >&5
3875 echo "${ECHO_T}$result" >&6; }
3879 defaultval
=$wxUSE_ALL_FEATURES
3880 if test -z "$defaultval"; then
3881 if test x
"$withstring" = xwithout
; then
3887 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3888 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3890 # Check whether --with-gtkprint was given.
3891 if test "${with_gtkprint+set}" = set; then
3892 withval
=$with_gtkprint;
3893 if test "$withval" = yes; then
3894 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3896 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3901 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3906 eval "$wx_cv_use_gtkprint"
3908 if test x"$withstring" = xwithout; then
3909 if test $wxUSE_GTKPRINT = yes; then
3915 result=$wxUSE_GTKPRINT
3918 { echo "$as_me:$LINENO: result: $result" >&5
3919 echo "${ECHO_T}$result" >&6; }
3923 defaultval=$wxUSE_ALL_FEATURES
3924 if test -z "$defaultval"; then
3925 if test x"$withstring" = xwithout; then
3931 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3932 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3934 # Check whether --with-gnomeprint was given.
3935 if test "${with_gnomeprint+set}" = set; then
3936 withval=$with_gnomeprint;
3937 if test "$withval" = yes; then
3938 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3940 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3945 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3950 eval "$wx_cv_use_gnomeprint"
3952 if test x"$withstring" = xwithout; then
3953 if test $wxUSE_LIBGNOMEPRINT = yes; then
3959 result=$wxUSE_LIBGNOMEPRINT
3962 { echo "$as_me:$LINENO: result
: $result" >&5
3963 echo "${ECHO_T}$result" >&6; }
3967 defaultval=$wxUSE_ALL_FEATURES
3968 if test -z "$defaultval"; then
3969 if test x"$withstring" = xwithout; then
3975 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3976 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3978 # Check whether --with-gnomevfs was given.
3979 if test "${with_gnomevfs+set}" = set; then
3980 withval=$with_gnomevfs;
3981 if test "$withval" = yes; then
3982 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3984 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3989 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3994 eval "$wx_cv_use_gnomevfs"
3996 if test x
"$withstring" = xwithout
; then
3997 if test $wxUSE_LIBGNOMEVFS = yes; then
4003 result
=$wxUSE_LIBGNOMEVFS
4006 { echo "$as_me:$LINENO: result: $result" >&5
4007 echo "${ECHO_T}$result" >&6; }
4011 defaultval
=$wxUSE_ALL_FEATURES
4012 if test -z "$defaultval"; then
4013 if test x
"$withstring" = xwithout
; then
4019 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4020 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4022 # Check whether --with-hildon was given.
4023 if test "${with_hildon+set}" = set; then
4024 withval
=$with_hildon;
4025 if test "$withval" = yes; then
4026 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4028 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4033 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4038 eval "$wx_cv_use_hildon"
4040 if test x"$withstring" = xwithout; then
4041 if test $wxUSE_LIBHILDON = yes; then
4047 result=$wxUSE_LIBHILDON
4050 { echo "$as_me:$LINENO: result: $result" >&5
4051 echo "${ECHO_T}$result" >&6; }
4055 defaultval=$wxUSE_ALL_FEATURES
4056 if test -z "$defaultval"; then
4057 if test x"$withstring" = xwithout; then
4063 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4064 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4066 # Check whether --with-opengl was given.
4067 if test "${with_opengl+set}" = set; then
4068 withval=$with_opengl;
4069 if test "$withval" = yes; then
4070 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4072 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4077 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4082 eval "$wx_cv_use_opengl"
4084 if test x"$withstring" = xwithout; then
4085 if test $wxUSE_OPENGL = yes; then
4091 result=$wxUSE_OPENGL
4094 { echo "$as_me:$LINENO: result
: $result" >&5
4095 echo "${ECHO_T}$result" >&6; }
4102 defaultval=$wxUSE_ALL_FEATURES
4103 if test -z "$defaultval"; then
4104 if test x"$withstring" = xwithout; then
4110 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4111 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4113 # Check whether --with-dmalloc was given.
4114 if test "${with_dmalloc+set}" = set; then
4115 withval=$with_dmalloc;
4116 if test "$withval" = yes; then
4117 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4119 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4124 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4129 eval "$wx_cv_use_dmalloc"
4131 if test x
"$withstring" = xwithout
; then
4132 if test $wxUSE_DMALLOC = yes; then
4138 result
=$wxUSE_DMALLOC
4141 { echo "$as_me:$LINENO: result: $result" >&5
4142 echo "${ECHO_T}$result" >&6; }
4146 defaultval
=$wxUSE_ALL_FEATURES
4147 if test -z "$defaultval"; then
4148 if test x
"$withstring" = xwithout
; then
4154 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4155 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4157 # Check whether --with-sdl was given.
4158 if test "${with_sdl+set}" = set; then
4160 if test "$withval" = yes; then
4161 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4163 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4168 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4173 eval "$wx_cv_use_sdl"
4175 if test x"$withstring" = xwithout; then
4176 if test $wxUSE_LIBSDL = yes; then
4182 result=$wxUSE_LIBSDL
4185 { echo "$as_me:$LINENO: result: $result" >&5
4186 echo "${ECHO_T}$result" >&6; }
4189 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4190 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4192 # Check whether --with-regex was given.
4193 if test "${with_regex+set}" = set; then
4194 withval=$with_regex;
4195 if test "$withval" = yes; then
4196 wx_cv_use_regex='wxUSE_REGEX
=yes'
4197 elif test "$withval" = no; then
4198 wx_cv_use_regex='wxUSE_REGEX
=no
'
4199 elif test "$withval" = sys; then
4200 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4201 elif test "$withval" = builtin; then
4202 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4204 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4205 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4206 { (exit 1); exit 1; }; }
4211 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4216 eval "$wx_cv_use_regex"
4218 if test "$wxUSE_REGEX" = yes; then
4219 { echo "$as_me:$LINENO: result
: yes" >&5
4220 echo "${ECHO_T}yes" >&6; }
4221 elif test "$wxUSE_REGEX" = no; then
4222 { echo "$as_me:$LINENO: result
: no
" >&5
4223 echo "${ECHO_T}no
" >&6; }
4224 elif test "$wxUSE_REGEX" = sys; then
4225 { echo "$as_me:$LINENO: result
: system version
" >&5
4226 echo "${ECHO_T}system version
" >&6; }
4227 elif test "$wxUSE_REGEX" = builtin; then
4228 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4229 echo "${ECHO_T}builtin version
" >&6; }
4231 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4232 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4233 { (exit 1); exit 1; }; }
4237 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4238 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4240 # Check whether --with-zlib was given.
4241 if test "${with_zlib+set}" = set; then
4243 if test "$withval" = yes; then
4244 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4245 elif test "$withval" = no; then
4246 wx_cv_use_zlib='wxUSE_ZLIB=no'
4247 elif test "$withval" = sys; then
4248 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4249 elif test "$withval" = builtin; then
4250 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4252 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4253 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4254 { (exit 1); exit 1; }; }
4259 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4264 eval "$wx_cv_use_zlib"
4266 if test "$wxUSE_ZLIB" = yes; then
4267 { echo "$as_me:$LINENO: result: yes" >&5
4268 echo "${ECHO_T}yes" >&6; }
4269 elif test "$wxUSE_ZLIB" = no
; then
4270 { echo "$as_me:$LINENO: result: no" >&5
4271 echo "${ECHO_T}no" >&6; }
4272 elif test "$wxUSE_ZLIB" = sys
; then
4273 { echo "$as_me:$LINENO: result: system version" >&5
4274 echo "${ECHO_T}system version" >&6; }
4275 elif test "$wxUSE_ZLIB" = builtin; then
4276 { echo "$as_me:$LINENO: result: builtin version" >&5
4277 echo "${ECHO_T}builtin version" >&6; }
4279 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4280 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4281 { (exit 1); exit 1; }; }
4285 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4286 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4288 # Check whether --with-expat was given.
4289 if test "${with_expat+set}" = set; then
4290 withval
=$with_expat;
4291 if test "$withval" = yes; then
4292 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4293 elif test "$withval" = no
; then
4294 wx_cv_use_expat
='wxUSE_EXPAT=no'
4295 elif test "$withval" = sys
; then
4296 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4297 elif test "$withval" = builtin; then
4298 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4300 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4301 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4302 { (exit 1); exit 1; }; }
4307 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4312 eval "$wx_cv_use_expat"
4314 if test "$wxUSE_EXPAT" = yes; then
4315 { echo "$as_me:$LINENO: result: yes" >&5
4316 echo "${ECHO_T}yes" >&6; }
4317 elif test "$wxUSE_EXPAT" = no; then
4318 { echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6; }
4320 elif test "$wxUSE_EXPAT" = sys; then
4321 { echo "$as_me:$LINENO: result: system version" >&5
4322 echo "${ECHO_T}system version" >&6; }
4323 elif test "$wxUSE_EXPAT" = builtin; then
4324 { echo "$as_me:$LINENO: result: builtin version" >&5
4325 echo "${ECHO_T}builtin version" >&6; }
4327 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4328 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4329 { (exit 1); exit 1; }; }
4333 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4334 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4336 # Check whether --with-macosx-sdk was given.
4337 if test "${with_macosx_sdk+set}" = set; then
4338 withval=$with_macosx_sdk;
4339 wxUSE_MACOSX_SDK=$withval
4340 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4344 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4345 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4347 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4348 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4350 # Check whether --with-macosx-version-min was given.
4351 if test "${with_macosx_version_min+set}" = set; then
4352 withval=$with_macosx_version_min;
4353 wxUSE_MACOSX_VERSION_MIN=$withval
4354 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4358 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4359 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4363 enablestring=disable
4365 if test -z "$defaultval"; then
4366 if test x"$enablestring" = xdisable; then
4373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4375 # Check whether --enable-shared was given.
4376 if test "${enable_shared+set}" = set; then
4377 enableval=$enable_shared;
4378 if test "$enableval" = yes; then
4379 wx_cv_use_shared='wxUSE_SHARED
=yes'
4381 wx_cv_use_shared='wxUSE_SHARED
=no
'
4386 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4391 eval "$wx_cv_use_shared"
4393 if test x"$enablestring" = xdisable; then
4394 if test $wxUSE_SHARED = yes; then
4400 result=$wxUSE_SHARED
4403 { echo "$as_me:$LINENO: result
: $result" >&5
4404 echo "${ECHO_T}$result" >&6; }
4409 if test -z "$defaultval"; then
4410 if test x"$enablestring" = xdisable; then
4417 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4418 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4419 # Check whether --enable-debug was given.
4420 if test "${enable_debug+set}" = set; then
4421 enableval=$enable_debug;
4422 if test "$enableval" = yes; then
4423 wx_cv_use_debug='wxUSE_DEBUG=yes'
4425 wx_cv_use_debug='wxUSE_DEBUG=no'
4430 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4435 eval "$wx_cv_use_debug"
4437 if test x
"$enablestring" = xdisable
; then
4438 if test $wxUSE_DEBUG = yes; then
4447 { echo "$as_me:$LINENO: result: $result" >&5
4448 echo "${ECHO_T}$result" >&6; }
4453 if test -z "$defaultval"; then
4454 if test x
"$enablestring" = xdisable
; then
4461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4462 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4463 # Check whether --enable-stl was given.
4464 if test "${enable_stl+set}" = set; then
4465 enableval
=$enable_stl;
4466 if test "$enableval" = yes; then
4467 wx_cv_use_stl
='wxUSE_STL=yes'
4469 wx_cv_use_stl
='wxUSE_STL=no'
4474 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4479 eval "$wx_cv_use_stl"
4481 if test x"$enablestring" = xdisable; then
4482 if test $wxUSE_STL = yes; then
4491 { echo "$as_me:$LINENO: result: $result" >&5
4492 echo "${ECHO_T}$result" >&6; }
4497 if test -z "$defaultval"; then
4498 if test x"$enablestring" = xdisable; then
4505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4506 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4507 # Check whether --enable-std_iostreams was given.
4508 if test "${enable_std_iostreams+set}" = set; then
4509 enableval=$enable_std_iostreams;
4510 if test "$enableval" = yes; then
4511 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4513 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4518 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4523 eval "$wx_cv_use_std_iostreams"
4525 if test x"$enablestring" = xdisable; then
4526 if test $wxUSE_STD_IOSTREAM = yes; then
4532 result=$wxUSE_STD_IOSTREAM
4535 { echo "$as_me:$LINENO: result
: $result" >&5
4536 echo "${ECHO_T}$result" >&6; }
4541 if test -z "$defaultval"; then
4542 if test x"$enablestring" = xdisable; then
4549 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4550 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4551 # Check whether --enable-std_string was given.
4552 if test "${enable_std_string+set}" = set; then
4553 enableval=$enable_std_string;
4554 if test "$enableval" = yes; then
4555 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4557 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4562 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4567 eval "$wx_cv_use_std_string"
4569 if test x
"$enablestring" = xdisable
; then
4570 if test $wxUSE_STD_STRING = yes; then
4576 result
=$wxUSE_STD_STRING
4579 { echo "$as_me:$LINENO: result: $result" >&5
4580 echo "${ECHO_T}$result" >&6; }
4583 enablestring
=disable
4585 if test -z "$defaultval"; then
4586 if test x
"$enablestring" = xdisable
; then
4593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4594 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4595 # Check whether --enable-unicode was given.
4596 if test "${enable_unicode+set}" = set; then
4597 enableval
=$enable_unicode;
4598 if test "$enableval" = yes; then
4599 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4601 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4606 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4611 eval "$wx_cv_use_unicode"
4613 if test x"$enablestring" = xdisable; then
4614 if test $wxUSE_UNICODE = yes; then
4620 result=$wxUSE_UNICODE
4623 { echo "$as_me:$LINENO: result: $result" >&5
4624 echo "${ECHO_T}$result" >&6; }
4629 if test -z "$defaultval"; then
4630 if test x"$enablestring" = xdisable; then
4637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4639 # Check whether --enable-mslu was given.
4640 if test "${enable_mslu+set}" = set; then
4641 enableval=$enable_mslu;
4642 if test "$enableval" = yes; then
4643 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4645 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4650 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4655 eval "$wx_cv_use_mslu"
4657 if test x"$enablestring" = xdisable; then
4658 if test $wxUSE_UNICODE_MSLU = yes; then
4664 result=$wxUSE_UNICODE_MSLU
4667 { echo "$as_me:$LINENO: result
: $result" >&5
4668 echo "${ECHO_T}$result" >&6; }
4672 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4673 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4674 # Check whether --enable-utf8 was given.
4675 if test "${enable_utf8+set}" = set; then
4676 enableval=$enable_utf8;
4677 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4681 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4686 eval "$wx_cv_use_utf8"
4688 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4689 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4694 if test -z "$defaultval"; then
4695 if test x"$enablestring" = xdisable; then
4702 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4703 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4704 # Check whether --enable-utf8only was given.
4705 if test "${enable_utf8only+set}" = set; then
4706 enableval=$enable_utf8only;
4707 if test "$enableval" = yes; then
4708 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4710 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4715 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4720 eval "$wx_cv_use_utf8only"
4722 if test x
"$enablestring" = xdisable
; then
4723 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4729 result
=$wxUSE_UNICODE_UTF8_LOCALE
4732 { echo "$as_me:$LINENO: result: $result" >&5
4733 echo "${ECHO_T}$result" >&6; }
4738 if test -z "$defaultval"; then
4739 if test x
"$enablestring" = xdisable
; then
4746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4747 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4748 # Check whether --enable-extended_rtti was given.
4749 if test "${enable_extended_rtti+set}" = set; then
4750 enableval
=$enable_extended_rtti;
4751 if test "$enableval" = yes; then
4752 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4754 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4759 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4764 eval "$wx_cv_use_extended_rtti"
4766 if test x"$enablestring" = xdisable; then
4767 if test $wxUSE_EXTENDED_RTTI = yes; then
4773 result=$wxUSE_EXTENDED_RTTI
4776 { echo "$as_me:$LINENO: result: $result" >&5
4777 echo "${ECHO_T}$result" >&6; }
4779 if test "$USE_OS2" = 1; then
4780 DEFAULT_wxUSE_OMF=no
4784 if test -z "$defaultval"; then
4785 if test x"$enablestring" = xdisable; then
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4794 # Check whether --enable-omf was given.
4795 if test "${enable_omf+set}" = set; then
4796 enableval=$enable_omf;
4797 if test "$enableval" = yes; then
4798 wx_cv_use_omf='wxUSE_OMF
=yes'
4800 wx_cv_use_omf='wxUSE_OMF
=no
'
4805 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4810 eval "$wx_cv_use_omf"
4812 if test x"$enablestring" = xdisable; then
4813 if test $wxUSE_OMF = yes; then
4822 { echo "$as_me:$LINENO: result
: $result" >&5
4823 echo "${ECHO_T}$result" >&6; }
4827 if test "$wxUSE_DEBUG" = "yes"; then
4828 DEFAULT_wxUSE_DEBUG_FLAG=yes
4829 DEFAULT_wxUSE_DEBUG_INFO=yes
4831 elif test "$wxUSE_DEBUG" = "no
"; then
4832 DEFAULT_wxUSE_DEBUG_FLAG=no
4833 DEFAULT_wxUSE_DEBUG_INFO=no
4840 if test -z "$defaultval"; then
4841 if test x"$enablestring" = xdisable; then
4848 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4849 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4850 # Check whether --enable-debug_flag was given.
4851 if test "${enable_debug_flag+set}" = set; then
4852 enableval=$enable_debug_flag;
4853 if test "$enableval" = yes; then
4854 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4856 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4861 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4866 eval "$wx_cv_use_debug_flag"
4868 if test x
"$enablestring" = xdisable
; then
4869 if test $wxUSE_DEBUG_FLAG = yes; then
4875 result
=$wxUSE_DEBUG_FLAG
4878 { echo "$as_me:$LINENO: result: $result" >&5
4879 echo "${ECHO_T}$result" >&6; }
4884 if test -z "$defaultval"; then
4885 if test x
"$enablestring" = xdisable
; then
4892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4893 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4894 # Check whether --enable-debug_info was given.
4895 if test "${enable_debug_info+set}" = set; then
4896 enableval
=$enable_debug_info;
4897 if test "$enableval" = yes; then
4898 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4900 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4905 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4910 eval "$wx_cv_use_debug_info"
4912 if test x"$enablestring" = xdisable; then
4913 if test $wxUSE_DEBUG_INFO = yes; then
4919 result=$wxUSE_DEBUG_INFO
4922 { echo "$as_me:$LINENO: result: $result" >&5
4923 echo "${ECHO_T}$result" >&6; }
4926 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4931 if test "$wxUSE_DEBUG" = "yes"; then
4932 DEFAULT_wxUSE_OPTIMISE=no
4936 enablestring=disable
4938 if test -z "$defaultval"; then
4939 if test x"$enablestring" = xdisable; then
4946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4947 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4948 # Check whether --enable-optimise was given.
4949 if test "${enable_optimise+set}" = set; then
4950 enableval=$enable_optimise;
4951 if test "$enableval" = yes; then
4952 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4954 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4959 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4964 eval "$wx_cv_use_optimise"
4966 if test x"$enablestring" = xdisable; then
4967 if test $wxUSE_OPTIMISE = yes; then
4973 result=$wxUSE_OPTIMISE
4976 { echo "$as_me:$LINENO: result
: $result" >&5
4977 echo "${ECHO_T}$result" >&6; }
4983 if test -z "$defaultval"; then
4984 if test x"$enablestring" = xdisable; then
4991 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4992 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4993 # Check whether --enable-debug_gdb was given.
4994 if test "${enable_debug_gdb+set}" = set; then
4995 enableval=$enable_debug_gdb;
4996 if test "$enableval" = yes; then
4997 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4999 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5004 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5009 eval "$wx_cv_use_debug_gdb"
5011 if test x
"$enablestring" = xdisable
; then
5012 if test $wxUSE_DEBUG_GDB = yes; then
5018 result
=$wxUSE_DEBUG_GDB
5021 { echo "$as_me:$LINENO: result: $result" >&5
5022 echo "${ECHO_T}$result" >&6; }
5027 if test -z "$defaultval"; then
5028 if test x
"$enablestring" = xdisable
; then
5035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5036 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5037 # Check whether --enable-debug_cntxt was given.
5038 if test "${enable_debug_cntxt+set}" = set; then
5039 enableval
=$enable_debug_cntxt;
5040 if test "$enableval" = yes; then
5041 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5043 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5048 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5053 eval "$wx_cv_use_debug_cntxt"
5055 if test x"$enablestring" = xdisable; then
5056 if test $wxUSE_DEBUG_CONTEXT = yes; then
5062 result=$wxUSE_DEBUG_CONTEXT
5065 { echo "$as_me:$LINENO: result: $result" >&5
5066 echo "${ECHO_T}$result" >&6; }
5071 if test -z "$defaultval"; then
5072 if test x"$enablestring" = xdisable; then
5079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5080 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5081 # Check whether --enable-mem_tracing was given.
5082 if test "${enable_mem_tracing+set}" = set; then
5083 enableval=$enable_mem_tracing;
5084 if test "$enableval" = yes; then
5085 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5087 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5092 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5097 eval "$wx_cv_use_mem_tracing"
5099 if test x"$enablestring" = xdisable; then
5100 if test $wxUSE_MEM_TRACING = yes; then
5106 result=$wxUSE_MEM_TRACING
5109 { echo "$as_me:$LINENO: result
: $result" >&5
5110 echo "${ECHO_T}$result" >&6; }
5115 if test -z "$defaultval"; then
5116 if test x"$enablestring" = xdisable; then
5123 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5124 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5125 # Check whether --enable-profile was given.
5126 if test "${enable_profile+set}" = set; then
5127 enableval=$enable_profile;
5128 if test "$enableval" = yes; then
5129 wx_cv_use_profile='wxUSE_PROFILE=yes'
5131 wx_cv_use_profile='wxUSE_PROFILE=no'
5136 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5141 eval "$wx_cv_use_profile"
5143 if test x
"$enablestring" = xdisable
; then
5144 if test $wxUSE_PROFILE = yes; then
5150 result
=$wxUSE_PROFILE
5153 { echo "$as_me:$LINENO: result: $result" >&5
5154 echo "${ECHO_T}$result" >&6; }
5159 if test -z "$defaultval"; then
5160 if test x
"$enablestring" = xdisable
; then
5167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5168 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5169 # Check whether --enable-no_rtti was given.
5170 if test "${enable_no_rtti+set}" = set; then
5171 enableval
=$enable_no_rtti;
5172 if test "$enableval" = yes; then
5173 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5175 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5180 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5185 eval "$wx_cv_use_no_rtti"
5187 if test x"$enablestring" = xdisable; then
5188 if test $wxUSE_NO_RTTI = yes; then
5194 result=$wxUSE_NO_RTTI
5197 { echo "$as_me:$LINENO: result: $result" >&5
5198 echo "${ECHO_T}$result" >&6; }
5203 if test -z "$defaultval"; then
5204 if test x"$enablestring" = xdisable; then
5211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5213 # Check whether --enable-no_exceptions was given.
5214 if test "${enable_no_exceptions+set}" = set; then
5215 enableval=$enable_no_exceptions;
5216 if test "$enableval" = yes; then
5217 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5219 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5224 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5229 eval "$wx_cv_use_no_exceptions"
5231 if test x"$enablestring" = xdisable; then
5232 if test $wxUSE_NO_EXCEPTIONS = yes; then
5238 result=$wxUSE_NO_EXCEPTIONS
5241 { echo "$as_me:$LINENO: result
: $result" >&5
5242 echo "${ECHO_T}$result" >&6; }
5247 if test -z "$defaultval"; then
5248 if test x"$enablestring" = xdisable; then
5255 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5256 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5257 # Check whether --enable-permissive was given.
5258 if test "${enable_permissive+set}" = set; then
5259 enableval=$enable_permissive;
5260 if test "$enableval" = yes; then
5261 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5263 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5268 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5273 eval "$wx_cv_use_permissive"
5275 if test x
"$enablestring" = xdisable
; then
5276 if test $wxUSE_PERMISSIVE = yes; then
5282 result
=$wxUSE_PERMISSIVE
5285 { echo "$as_me:$LINENO: result: $result" >&5
5286 echo "${ECHO_T}$result" >&6; }
5291 if test -z "$defaultval"; then
5292 if test x
"$enablestring" = xdisable
; then
5299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5300 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5301 # Check whether --enable-no_deps was given.
5302 if test "${enable_no_deps+set}" = set; then
5303 enableval
=$enable_no_deps;
5304 if test "$enableval" = yes; then
5305 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5307 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5312 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5317 eval "$wx_cv_use_no_deps"
5319 if test x"$enablestring" = xdisable; then
5320 if test $wxUSE_NO_DEPS = yes; then
5326 result=$wxUSE_NO_DEPS
5329 { echo "$as_me:$LINENO: result: $result" >&5
5330 echo "${ECHO_T}$result" >&6; }
5333 enablestring=disable
5335 if test -z "$defaultval"; then
5336 if test x"$enablestring" = xdisable; then
5343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5344 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5345 # Check whether --enable-vararg_macros was given.
5346 if test "${enable_vararg_macros+set}" = set; then
5347 enableval=$enable_vararg_macros;
5348 if test "$enableval" = yes; then
5349 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5351 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5356 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5361 eval "$wx_cv_use_vararg_macros"
5363 if test x"$enablestring" = xdisable; then
5364 if test $wxUSE_VARARG_MACROS = yes; then
5370 result=$wxUSE_VARARG_MACROS
5373 { echo "$as_me:$LINENO: result
: $result" >&5
5374 echo "${ECHO_T}$result" >&6; }
5378 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5379 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5380 # Check whether --enable-universal_binary was given.
5381 if test "${enable_universal_binary+set}" = set; then
5382 enableval=$enable_universal_binary;
5383 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5387 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5392 eval "$wx_cv_use_universal_binary"
5394 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5395 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5401 if test -z "$defaultval"; then
5402 if test x"$enablestring" = xdisable; then
5409 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5410 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5411 # Check whether --enable-compat26 was given.
5412 if test "${enable_compat26+set}" = set; then
5413 enableval=$enable_compat26;
5414 if test "$enableval" = yes; then
5415 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5417 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5422 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5427 eval "$wx_cv_use_compat26"
5429 if test x
"$enablestring" = xdisable
; then
5430 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5436 result
=$WXWIN_COMPATIBILITY_2_6
5439 { echo "$as_me:$LINENO: result: $result" >&5
5440 echo "${ECHO_T}$result" >&6; }
5443 enablestring
=disable
5445 if test -z "$defaultval"; then
5446 if test x
"$enablestring" = xdisable
; then
5453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5454 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5455 # Check whether --enable-compat28 was given.
5456 if test "${enable_compat28+set}" = set; then
5457 enableval
=$enable_compat28;
5458 if test "$enableval" = yes; then
5459 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5461 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5466 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5471 eval "$wx_cv_use_compat28"
5473 if test x"$enablestring" = xdisable; then
5474 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5480 result=$WXWIN_COMPATIBILITY_2_8
5483 { echo "$as_me:$LINENO: result: $result" >&5
5484 echo "${ECHO_T}$result" >&6; }
5488 enablestring=disable
5490 if test -z "$defaultval"; then
5491 if test x"$enablestring" = xdisable; then
5498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5500 # Check whether --enable-rpath was given.
5501 if test "${enable_rpath+set}" = set; then
5502 enableval=$enable_rpath;
5503 if test "$enableval" = yes; then
5504 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5506 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5511 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5516 eval "$wx_cv_use_rpath"
5518 if test x"$enablestring" = xdisable; then
5519 if test $wxUSE_RPATH = yes; then
5528 { echo "$as_me:$LINENO: result
: $result" >&5
5529 echo "${ECHO_T}$result" >&6; }
5535 if test -z "$defaultval"; then
5536 if test x"$enablestring" = xdisable; then
5543 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5544 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5545 # Check whether --enable-objc_uniquifying was given.
5546 if test "${enable_objc_uniquifying+set}" = set; then
5547 enableval=$enable_objc_uniquifying;
5548 if test "$enableval" = yes; then
5549 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5551 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5556 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5561 eval "$wx_cv_use_objc_uniquifying"
5563 if test x
"$enablestring" = xdisable
; then
5564 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5570 result
=$wxUSE_OBJC_UNIQUIFYING
5573 { echo "$as_me:$LINENO: result: $result" >&5
5574 echo "${ECHO_T}$result" >&6; }
5578 enablestring
=disable
5580 if test -z "$defaultval"; then
5581 if test x
"$enablestring" = xdisable
; then
5588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5590 # Check whether --enable-visibility was given.
5591 if test "${enable_visibility+set}" = set; then
5592 enableval
=$enable_visibility;
5593 if test "$enableval" = yes; then
5594 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5596 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5601 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5606 eval "$wx_cv_use_visibility"
5608 if test x"$enablestring" = xdisable; then
5609 if test $wxUSE_VISIBILITY = yes; then
5615 result=$wxUSE_VISIBILITY
5618 { echo "$as_me:$LINENO: result: $result" >&5
5619 echo "${ECHO_T}$result" >&6; }
5625 defaultval=$wxUSE_ALL_FEATURES
5626 if test -z "$defaultval"; then
5627 if test x"$enablestring" = xdisable; then
5634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5636 # Check whether --enable-intl was given.
5637 if test "${enable_intl+set}" = set; then
5638 enableval=$enable_intl;
5639 if test "$enableval" = yes; then
5640 wx_cv_use_intl='wxUSE_INTL
=yes'
5642 wx_cv_use_intl='wxUSE_INTL
=no
'
5647 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5652 eval "$wx_cv_use_intl"
5654 if test x"$enablestring" = xdisable; then
5655 if test $wxUSE_INTL = yes; then
5664 { echo "$as_me:$LINENO: result
: $result" >&5
5665 echo "${ECHO_T}$result" >&6; }
5669 defaultval=$wxUSE_ALL_FEATURES
5670 if test -z "$defaultval"; then
5671 if test x"$enablestring" = xdisable; then
5678 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5679 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5680 # Check whether --enable-xlocale was given.
5681 if test "${enable_xlocale+set}" = set; then
5682 enableval=$enable_xlocale;
5683 if test "$enableval" = yes; then
5684 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5686 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5691 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5696 eval "$wx_cv_use_xlocale"
5698 if test x
"$enablestring" = xdisable
; then
5699 if test $wxUSE_XLOCALE = yes; then
5705 result
=$wxUSE_XLOCALE
5708 { echo "$as_me:$LINENO: result: $result" >&5
5709 echo "${ECHO_T}$result" >&6; }
5713 defaultval
=$wxUSE_ALL_FEATURES
5714 if test -z "$defaultval"; then
5715 if test x
"$enablestring" = xdisable
; then
5722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5724 # Check whether --enable-config was given.
5725 if test "${enable_config+set}" = set; then
5726 enableval
=$enable_config;
5727 if test "$enableval" = yes; then
5728 wx_cv_use_config
='wxUSE_CONFIG=yes'
5730 wx_cv_use_config
='wxUSE_CONFIG=no'
5735 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5740 eval "$wx_cv_use_config"
5742 if test x"$enablestring" = xdisable; then
5743 if test $wxUSE_CONFIG = yes; then
5749 result=$wxUSE_CONFIG
5752 { echo "$as_me:$LINENO: result: $result" >&5
5753 echo "${ECHO_T}$result" >&6; }
5758 defaultval=$wxUSE_ALL_FEATURES
5759 if test -z "$defaultval"; then
5760 if test x"$enablestring" = xdisable; then
5767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5768 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5769 # Check whether --enable-protocols was given.
5770 if test "${enable_protocols+set}" = set; then
5771 enableval=$enable_protocols;
5772 if test "$enableval" = yes; then
5773 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5775 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5780 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5785 eval "$wx_cv_use_protocols"
5787 if test x"$enablestring" = xdisable; then
5788 if test $wxUSE_PROTOCOL = yes; then
5794 result=$wxUSE_PROTOCOL
5797 { echo "$as_me:$LINENO: result
: $result" >&5
5798 echo "${ECHO_T}$result" >&6; }
5802 defaultval=$wxUSE_ALL_FEATURES
5803 if test -z "$defaultval"; then
5804 if test x"$enablestring" = xdisable; then
5811 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5812 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5813 # Check whether --enable-ftp was given.
5814 if test "${enable_ftp+set}" = set; then
5815 enableval=$enable_ftp;
5816 if test "$enableval" = yes; then
5817 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5819 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5824 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5829 eval "$wx_cv_use_ftp"
5831 if test x
"$enablestring" = xdisable
; then
5832 if test $wxUSE_PROTOCOL_FTP = yes; then
5838 result
=$wxUSE_PROTOCOL_FTP
5841 { echo "$as_me:$LINENO: result: $result" >&5
5842 echo "${ECHO_T}$result" >&6; }
5846 defaultval
=$wxUSE_ALL_FEATURES
5847 if test -z "$defaultval"; then
5848 if test x
"$enablestring" = xdisable
; then
5855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5856 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5857 # Check whether --enable-http was given.
5858 if test "${enable_http+set}" = set; then
5859 enableval
=$enable_http;
5860 if test "$enableval" = yes; then
5861 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5863 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5868 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5873 eval "$wx_cv_use_http"
5875 if test x"$enablestring" = xdisable; then
5876 if test $wxUSE_PROTOCOL_HTTP = yes; then
5882 result=$wxUSE_PROTOCOL_HTTP
5885 { echo "$as_me:$LINENO: result: $result" >&5
5886 echo "${ECHO_T}$result" >&6; }
5890 defaultval=$wxUSE_ALL_FEATURES
5891 if test -z "$defaultval"; then
5892 if test x"$enablestring" = xdisable; then
5899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5900 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5901 # Check whether --enable-fileproto was given.
5902 if test "${enable_fileproto+set}" = set; then
5903 enableval=$enable_fileproto;
5904 if test "$enableval" = yes; then
5905 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5907 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5912 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5917 eval "$wx_cv_use_fileproto"
5919 if test x"$enablestring" = xdisable; then
5920 if test $wxUSE_PROTOCOL_FILE = yes; then
5926 result=$wxUSE_PROTOCOL_FILE
5929 { echo "$as_me:$LINENO: result
: $result" >&5
5930 echo "${ECHO_T}$result" >&6; }
5934 defaultval=$wxUSE_ALL_FEATURES
5935 if test -z "$defaultval"; then
5936 if test x"$enablestring" = xdisable; then
5943 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5944 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5945 # Check whether --enable-sockets was given.
5946 if test "${enable_sockets+set}" = set; then
5947 enableval=$enable_sockets;
5948 if test "$enableval" = yes; then
5949 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5951 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5956 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5961 eval "$wx_cv_use_sockets"
5963 if test x
"$enablestring" = xdisable
; then
5964 if test $wxUSE_SOCKETS = yes; then
5970 result
=$wxUSE_SOCKETS
5973 { echo "$as_me:$LINENO: result: $result" >&5
5974 echo "${ECHO_T}$result" >&6; }
5978 defaultval
=$wxUSE_ALL_FEATURES
5979 if test -z "$defaultval"; then
5980 if test x
"$enablestring" = xdisable
; then
5987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5988 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5989 # Check whether --enable-ipv6 was given.
5990 if test "${enable_ipv6+set}" = set; then
5991 enableval
=$enable_ipv6;
5992 if test "$enableval" = yes; then
5993 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5995 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6000 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6005 eval "$wx_cv_use_ipv6"
6007 if test x"$enablestring" = xdisable; then
6008 if test $wxUSE_IPV6 = yes; then
6017 { echo "$as_me:$LINENO: result: $result" >&5
6018 echo "${ECHO_T}$result" >&6; }
6022 defaultval=$wxUSE_ALL_FEATURES
6023 if test -z "$defaultval"; then
6024 if test x"$enablestring" = xdisable; then
6031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6033 # Check whether --enable-ole was given.
6034 if test "${enable_ole+set}" = set; then
6035 enableval=$enable_ole;
6036 if test "$enableval" = yes; then
6037 wx_cv_use_ole='wxUSE_OLE
=yes'
6039 wx_cv_use_ole='wxUSE_OLE
=no
'
6044 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6049 eval "$wx_cv_use_ole"
6051 if test x"$enablestring" = xdisable; then
6052 if test $wxUSE_OLE = yes; then
6061 { echo "$as_me:$LINENO: result
: $result" >&5
6062 echo "${ECHO_T}$result" >&6; }
6066 defaultval=$wxUSE_ALL_FEATURES
6067 if test -z "$defaultval"; then
6068 if test x"$enablestring" = xdisable; then
6075 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6076 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6077 # Check whether --enable-dataobj was given.
6078 if test "${enable_dataobj+set}" = set; then
6079 enableval=$enable_dataobj;
6080 if test "$enableval" = yes; then
6081 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6083 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6088 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6093 eval "$wx_cv_use_dataobj"
6095 if test x
"$enablestring" = xdisable
; then
6096 if test $wxUSE_DATAOBJ = yes; then
6102 result
=$wxUSE_DATAOBJ
6105 { echo "$as_me:$LINENO: result: $result" >&5
6106 echo "${ECHO_T}$result" >&6; }
6111 defaultval
=$wxUSE_ALL_FEATURES
6112 if test -z "$defaultval"; then
6113 if test x
"$enablestring" = xdisable
; then
6120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6121 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6122 # Check whether --enable-ipc was given.
6123 if test "${enable_ipc+set}" = set; then
6124 enableval
=$enable_ipc;
6125 if test "$enableval" = yes; then
6126 wx_cv_use_ipc
='wxUSE_IPC=yes'
6128 wx_cv_use_ipc
='wxUSE_IPC=no'
6133 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6138 eval "$wx_cv_use_ipc"
6140 if test x"$enablestring" = xdisable; then
6141 if test $wxUSE_IPC = yes; then
6150 { echo "$as_me:$LINENO: result: $result" >&5
6151 echo "${ECHO_T}$result" >&6; }
6156 defaultval=$wxUSE_ALL_FEATURES
6157 if test -z "$defaultval"; then
6158 if test x"$enablestring" = xdisable; then
6165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6167 # Check whether --enable-baseevtloop was given.
6168 if test "${enable_baseevtloop+set}" = set; then
6169 enableval=$enable_baseevtloop;
6170 if test "$enableval" = yes; then
6171 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6173 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6178 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6183 eval "$wx_cv_use_baseevtloop"
6185 if test x"$enablestring" = xdisable; then
6186 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6192 result=$wxUSE_CONSOLE_EVENTLOOP
6195 { echo "$as_me:$LINENO: result
: $result" >&5
6196 echo "${ECHO_T}$result" >&6; }
6200 defaultval=$wxUSE_ALL_FEATURES
6201 if test -z "$defaultval"; then
6202 if test x"$enablestring" = xdisable; then
6209 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6210 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6211 # Check whether --enable-epollloop was given.
6212 if test "${enable_epollloop+set}" = set; then
6213 enableval=$enable_epollloop;
6214 if test "$enableval" = yes; then
6215 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6217 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6222 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6227 eval "$wx_cv_use_epollloop"
6229 if test x
"$enablestring" = xdisable
; then
6230 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6236 result
=$wxUSE_EPOLL_DISPATCHER
6239 { echo "$as_me:$LINENO: result: $result" >&5
6240 echo "${ECHO_T}$result" >&6; }
6244 defaultval
=$wxUSE_ALL_FEATURES
6245 if test -z "$defaultval"; then
6246 if test x
"$enablestring" = xdisable
; then
6253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6254 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6255 # Check whether --enable-selectloop was given.
6256 if test "${enable_selectloop+set}" = set; then
6257 enableval
=$enable_selectloop;
6258 if test "$enableval" = yes; then
6259 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6261 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6266 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6271 eval "$wx_cv_use_selectloop"
6273 if test x"$enablestring" = xdisable; then
6274 if test $wxUSE_SELECT_DISPATCHER = yes; then
6280 result=$wxUSE_SELECT_DISPATCHER
6283 { echo "$as_me:$LINENO: result: $result" >&5
6284 echo "${ECHO_T}$result" >&6; }
6289 defaultval=$wxUSE_ALL_FEATURES
6290 if test -z "$defaultval"; then
6291 if test x"$enablestring" = xdisable; then
6298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6300 # Check whether --enable-apple_ieee was given.
6301 if test "${enable_apple_ieee+set}" = set; then
6302 enableval=$enable_apple_ieee;
6303 if test "$enableval" = yes; then
6304 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6306 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6311 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6316 eval "$wx_cv_use_apple_ieee"
6318 if test x"$enablestring" = xdisable; then
6319 if test $wxUSE_APPLE_IEEE = yes; then
6325 result=$wxUSE_APPLE_IEEE
6328 { echo "$as_me:$LINENO: result
: $result" >&5
6329 echo "${ECHO_T}$result" >&6; }
6333 defaultval=$wxUSE_ALL_FEATURES
6334 if test -z "$defaultval"; then
6335 if test x"$enablestring" = xdisable; then
6342 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6343 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6344 # Check whether --enable-arcstream was given.
6345 if test "${enable_arcstream+set}" = set; then
6346 enableval=$enable_arcstream;
6347 if test "$enableval" = yes; then
6348 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6350 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6355 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6360 eval "$wx_cv_use_arcstream"
6362 if test x
"$enablestring" = xdisable
; then
6363 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6369 result
=$wxUSE_ARCHIVE_STREAMS
6372 { echo "$as_me:$LINENO: result: $result" >&5
6373 echo "${ECHO_T}$result" >&6; }
6377 defaultval
=$wxUSE_ALL_FEATURES
6378 if test -z "$defaultval"; then
6379 if test x
"$enablestring" = xdisable
; then
6386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6388 # Check whether --enable-base64 was given.
6389 if test "${enable_base64+set}" = set; then
6390 enableval
=$enable_base64;
6391 if test "$enableval" = yes; then
6392 wx_cv_use_base64
='wxUSE_BASE64=yes'
6394 wx_cv_use_base64
='wxUSE_BASE64=no'
6399 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6404 eval "$wx_cv_use_base64"
6406 if test x"$enablestring" = xdisable; then
6407 if test $wxUSE_BASE64 = yes; then
6413 result=$wxUSE_BASE64
6416 { echo "$as_me:$LINENO: result: $result" >&5
6417 echo "${ECHO_T}$result" >&6; }
6421 defaultval=$wxUSE_ALL_FEATURES
6422 if test -z "$defaultval"; then
6423 if test x"$enablestring" = xdisable; then
6430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6432 # Check whether --enable-backtrace was given.
6433 if test "${enable_backtrace+set}" = set; then
6434 enableval=$enable_backtrace;
6435 if test "$enableval" = yes; then
6436 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6438 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6443 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6448 eval "$wx_cv_use_backtrace"
6450 if test x"$enablestring" = xdisable; then
6451 if test $wxUSE_STACKWALKER = yes; then
6457 result=$wxUSE_STACKWALKER
6460 { echo "$as_me:$LINENO: result
: $result" >&5
6461 echo "${ECHO_T}$result" >&6; }
6465 defaultval=$wxUSE_ALL_FEATURES
6466 if test -z "$defaultval"; then
6467 if test x"$enablestring" = xdisable; then
6474 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6475 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6476 # Check whether --enable-catch_segvs was given.
6477 if test "${enable_catch_segvs+set}" = set; then
6478 enableval=$enable_catch_segvs;
6479 if test "$enableval" = yes; then
6480 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6482 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6487 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6492 eval "$wx_cv_use_catch_segvs"
6494 if test x
"$enablestring" = xdisable
; then
6495 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6501 result
=$wxUSE_ON_FATAL_EXCEPTION
6504 { echo "$as_me:$LINENO: result: $result" >&5
6505 echo "${ECHO_T}$result" >&6; }
6509 defaultval
=$wxUSE_ALL_FEATURES
6510 if test -z "$defaultval"; then
6511 if test x
"$enablestring" = xdisable
; then
6518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6519 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6520 # Check whether --enable-cmdline was given.
6521 if test "${enable_cmdline+set}" = set; then
6522 enableval
=$enable_cmdline;
6523 if test "$enableval" = yes; then
6524 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6526 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6531 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6536 eval "$wx_cv_use_cmdline"
6538 if test x"$enablestring" = xdisable; then
6539 if test $wxUSE_CMDLINE_PARSER = yes; then
6545 result=$wxUSE_CMDLINE_PARSER
6548 { echo "$as_me:$LINENO: result: $result" >&5
6549 echo "${ECHO_T}$result" >&6; }
6553 defaultval=$wxUSE_ALL_FEATURES
6554 if test -z "$defaultval"; then
6555 if test x"$enablestring" = xdisable; then
6562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6563 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6564 # Check whether --enable-datetime was given.
6565 if test "${enable_datetime+set}" = set; then
6566 enableval=$enable_datetime;
6567 if test "$enableval" = yes; then
6568 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6570 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6575 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6580 eval "$wx_cv_use_datetime"
6582 if test x"$enablestring" = xdisable; then
6583 if test $wxUSE_DATETIME = yes; then
6589 result=$wxUSE_DATETIME
6592 { echo "$as_me:$LINENO: result
: $result" >&5
6593 echo "${ECHO_T}$result" >&6; }
6597 defaultval=$wxUSE_ALL_FEATURES
6598 if test -z "$defaultval"; then
6599 if test x"$enablestring" = xdisable; then
6606 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6607 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6608 # Check whether --enable-debugreport was given.
6609 if test "${enable_debugreport+set}" = set; then
6610 enableval=$enable_debugreport;
6611 if test "$enableval" = yes; then
6612 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6614 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6619 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6624 eval "$wx_cv_use_debugreport"
6626 if test x
"$enablestring" = xdisable
; then
6627 if test $wxUSE_DEBUGREPORT = yes; then
6633 result
=$wxUSE_DEBUGREPORT
6636 { echo "$as_me:$LINENO: result: $result" >&5
6637 echo "${ECHO_T}$result" >&6; }
6641 defaultval
=$wxUSE_ALL_FEATURES
6642 if test -z "$defaultval"; then
6643 if test x
"$enablestring" = xdisable
; then
6650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6651 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6652 # Check whether --enable-dialupman was given.
6653 if test "${enable_dialupman+set}" = set; then
6654 enableval
=$enable_dialupman;
6655 if test "$enableval" = yes; then
6656 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6658 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6663 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6668 eval "$wx_cv_use_dialupman"
6670 if test x"$enablestring" = xdisable; then
6671 if test $wxUSE_DIALUP_MANAGER = yes; then
6677 result=$wxUSE_DIALUP_MANAGER
6680 { echo "$as_me:$LINENO: result: $result" >&5
6681 echo "${ECHO_T}$result" >&6; }
6685 defaultval=$wxUSE_ALL_FEATURES
6686 if test -z "$defaultval"; then
6687 if test x"$enablestring" = xdisable; then
6694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6695 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6696 # Check whether --enable-dynlib was given.
6697 if test "${enable_dynlib+set}" = set; then
6698 enableval=$enable_dynlib;
6699 if test "$enableval" = yes; then
6700 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6702 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6707 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6712 eval "$wx_cv_use_dynlib"
6714 if test x"$enablestring" = xdisable; then
6715 if test $wxUSE_DYNLIB_CLASS = yes; then
6721 result=$wxUSE_DYNLIB_CLASS
6724 { echo "$as_me:$LINENO: result
: $result" >&5
6725 echo "${ECHO_T}$result" >&6; }
6729 defaultval=$wxUSE_ALL_FEATURES
6730 if test -z "$defaultval"; then
6731 if test x"$enablestring" = xdisable; then
6738 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6739 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6740 # Check whether --enable-dynamicloader was given.
6741 if test "${enable_dynamicloader+set}" = set; then
6742 enableval=$enable_dynamicloader;
6743 if test "$enableval" = yes; then
6744 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6746 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6751 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6756 eval "$wx_cv_use_dynamicloader"
6758 if test x
"$enablestring" = xdisable
; then
6759 if test $wxUSE_DYNAMIC_LOADER = yes; then
6765 result
=$wxUSE_DYNAMIC_LOADER
6768 { echo "$as_me:$LINENO: result: $result" >&5
6769 echo "${ECHO_T}$result" >&6; }
6773 defaultval
=$wxUSE_ALL_FEATURES
6774 if test -z "$defaultval"; then
6775 if test x
"$enablestring" = xdisable
; then
6782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6783 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6784 # Check whether --enable-exceptions was given.
6785 if test "${enable_exceptions+set}" = set; then
6786 enableval
=$enable_exceptions;
6787 if test "$enableval" = yes; then
6788 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6790 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6795 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6800 eval "$wx_cv_use_exceptions"
6802 if test x"$enablestring" = xdisable; then
6803 if test $wxUSE_EXCEPTIONS = yes; then
6809 result=$wxUSE_EXCEPTIONS
6812 { echo "$as_me:$LINENO: result: $result" >&5
6813 echo "${ECHO_T}$result" >&6; }
6817 defaultval=$wxUSE_ALL_FEATURES
6818 if test -z "$defaultval"; then
6819 if test x"$enablestring" = xdisable; then
6826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6827 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6828 # Check whether --enable-ffile was given.
6829 if test "${enable_ffile+set}" = set; then
6830 enableval=$enable_ffile;
6831 if test "$enableval" = yes; then
6832 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6834 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6839 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6844 eval "$wx_cv_use_ffile"
6846 if test x"$enablestring" = xdisable; then
6847 if test $wxUSE_FFILE = yes; then
6856 { echo "$as_me:$LINENO: result
: $result" >&5
6857 echo "${ECHO_T}$result" >&6; }
6861 defaultval=$wxUSE_ALL_FEATURES
6862 if test -z "$defaultval"; then
6863 if test x"$enablestring" = xdisable; then
6870 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6871 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6872 # Check whether --enable-file was given.
6873 if test "${enable_file+set}" = set; then
6874 enableval=$enable_file;
6875 if test "$enableval" = yes; then
6876 wx_cv_use_file='wxUSE_FILE=yes'
6878 wx_cv_use_file='wxUSE_FILE=no'
6883 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6888 eval "$wx_cv_use_file"
6890 if test x
"$enablestring" = xdisable
; then
6891 if test $wxUSE_FILE = yes; then
6900 { echo "$as_me:$LINENO: result: $result" >&5
6901 echo "${ECHO_T}$result" >&6; }
6905 defaultval
=$wxUSE_ALL_FEATURES
6906 if test -z "$defaultval"; then
6907 if test x
"$enablestring" = xdisable
; then
6914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6916 # Check whether --enable-filesystem was given.
6917 if test "${enable_filesystem+set}" = set; then
6918 enableval
=$enable_filesystem;
6919 if test "$enableval" = yes; then
6920 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6922 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6927 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6932 eval "$wx_cv_use_filesystem"
6934 if test x"$enablestring" = xdisable; then
6935 if test $wxUSE_FILESYSTEM = yes; then
6941 result=$wxUSE_FILESYSTEM
6944 { echo "$as_me:$LINENO: result: $result" >&5
6945 echo "${ECHO_T}$result" >&6; }
6949 defaultval=$wxUSE_ALL_FEATURES
6950 if test -z "$defaultval"; then
6951 if test x"$enablestring" = xdisable; then
6958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6959 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6960 # Check whether --enable-fontenum was given.
6961 if test "${enable_fontenum+set}" = set; then
6962 enableval=$enable_fontenum;
6963 if test "$enableval" = yes; then
6964 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6966 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6971 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6976 eval "$wx_cv_use_fontenum"
6978 if test x"$enablestring" = xdisable; then
6979 if test $wxUSE_FONTENUM = yes; then
6985 result=$wxUSE_FONTENUM
6988 { echo "$as_me:$LINENO: result
: $result" >&5
6989 echo "${ECHO_T}$result" >&6; }
6993 defaultval=$wxUSE_ALL_FEATURES
6994 if test -z "$defaultval"; then
6995 if test x"$enablestring" = xdisable; then
7002 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7003 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7004 # Check whether --enable-fontmap was given.
7005 if test "${enable_fontmap+set}" = set; then
7006 enableval=$enable_fontmap;
7007 if test "$enableval" = yes; then
7008 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7010 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7015 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7020 eval "$wx_cv_use_fontmap"
7022 if test x
"$enablestring" = xdisable
; then
7023 if test $wxUSE_FONTMAP = yes; then
7029 result
=$wxUSE_FONTMAP
7032 { echo "$as_me:$LINENO: result: $result" >&5
7033 echo "${ECHO_T}$result" >&6; }
7037 defaultval
=$wxUSE_ALL_FEATURES
7038 if test -z "$defaultval"; then
7039 if test x
"$enablestring" = xdisable
; then
7046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7048 # Check whether --enable-fs_archive was given.
7049 if test "${enable_fs_archive+set}" = set; then
7050 enableval
=$enable_fs_archive;
7051 if test "$enableval" = yes; then
7052 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7054 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7059 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7064 eval "$wx_cv_use_fs_archive"
7066 if test x"$enablestring" = xdisable; then
7067 if test $wxUSE_FS_ARCHIVE = yes; then
7073 result=$wxUSE_FS_ARCHIVE
7076 { echo "$as_me:$LINENO: result: $result" >&5
7077 echo "${ECHO_T}$result" >&6; }
7081 defaultval=$wxUSE_ALL_FEATURES
7082 if test -z "$defaultval"; then
7083 if test x"$enablestring" = xdisable; then
7090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7091 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7092 # Check whether --enable-fs_inet was given.
7093 if test "${enable_fs_inet+set}" = set; then
7094 enableval=$enable_fs_inet;
7095 if test "$enableval" = yes; then
7096 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7098 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7103 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7108 eval "$wx_cv_use_fs_inet"
7110 if test x"$enablestring" = xdisable; then
7111 if test $wxUSE_FS_INET = yes; then
7117 result=$wxUSE_FS_INET
7120 { echo "$as_me:$LINENO: result
: $result" >&5
7121 echo "${ECHO_T}$result" >&6; }
7125 defaultval=$wxUSE_ALL_FEATURES
7126 if test -z "$defaultval"; then
7127 if test x"$enablestring" = xdisable; then
7134 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7135 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7136 # Check whether --enable-fs_zip was given.
7137 if test "${enable_fs_zip+set}" = set; then
7138 enableval=$enable_fs_zip;
7139 if test "$enableval" = yes; then
7140 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7142 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7147 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7152 eval "$wx_cv_use_fs_zip"
7154 if test x
"$enablestring" = xdisable
; then
7155 if test $wxUSE_FS_ZIP = yes; then
7161 result
=$wxUSE_FS_ZIP
7164 { echo "$as_me:$LINENO: result: $result" >&5
7165 echo "${ECHO_T}$result" >&6; }
7169 defaultval
=$wxUSE_ALL_FEATURES
7170 if test -z "$defaultval"; then
7171 if test x
"$enablestring" = xdisable
; then
7178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7179 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7180 # Check whether --enable-geometry was given.
7181 if test "${enable_geometry+set}" = set; then
7182 enableval
=$enable_geometry;
7183 if test "$enableval" = yes; then
7184 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7186 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7191 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7196 eval "$wx_cv_use_geometry"
7198 if test x"$enablestring" = xdisable; then
7199 if test $wxUSE_GEOMETRY = yes; then
7205 result=$wxUSE_GEOMETRY
7208 { echo "$as_me:$LINENO: result: $result" >&5
7209 echo "${ECHO_T}$result" >&6; }
7213 defaultval=$wxUSE_ALL_FEATURES
7214 if test -z "$defaultval"; then
7215 if test x"$enablestring" = xdisable; then
7222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7223 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7224 # Check whether --enable-log was given.
7225 if test "${enable_log+set}" = set; then
7226 enableval=$enable_log;
7227 if test "$enableval" = yes; then
7228 wx_cv_use_log='wxUSE_LOG
=yes'
7230 wx_cv_use_log='wxUSE_LOG
=no
'
7235 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7240 eval "$wx_cv_use_log"
7242 if test x"$enablestring" = xdisable; then
7243 if test $wxUSE_LOG = yes; then
7252 { echo "$as_me:$LINENO: result
: $result" >&5
7253 echo "${ECHO_T}$result" >&6; }
7257 defaultval=$wxUSE_ALL_FEATURES
7258 if test -z "$defaultval"; then
7259 if test x"$enablestring" = xdisable; then
7266 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7267 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7268 # Check whether --enable-longlong was given.
7269 if test "${enable_longlong+set}" = set; then
7270 enableval=$enable_longlong;
7271 if test "$enableval" = yes; then
7272 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7274 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7279 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7284 eval "$wx_cv_use_longlong"
7286 if test x
"$enablestring" = xdisable
; then
7287 if test $wxUSE_LONGLONG = yes; then
7293 result
=$wxUSE_LONGLONG
7296 { echo "$as_me:$LINENO: result: $result" >&5
7297 echo "${ECHO_T}$result" >&6; }
7301 defaultval
=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x
"$enablestring" = xdisable
; then
7310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7312 # Check whether --enable-mimetype was given.
7313 if test "${enable_mimetype+set}" = set; then
7314 enableval
=$enable_mimetype;
7315 if test "$enableval" = yes; then
7316 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7318 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7323 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7328 eval "$wx_cv_use_mimetype"
7330 if test x"$enablestring" = xdisable; then
7331 if test $wxUSE_MIMETYPE = yes; then
7337 result=$wxUSE_MIMETYPE
7340 { echo "$as_me:$LINENO: result: $result" >&5
7341 echo "${ECHO_T}$result" >&6; }
7345 defaultval=$wxUSE_ALL_FEATURES
7346 if test -z "$defaultval"; then
7347 if test x"$enablestring" = xdisable; then
7354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7355 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7356 # Check whether --enable-printfposparam was given.
7357 if test "${enable_printfposparam+set}" = set; then
7358 enableval=$enable_printfposparam;
7359 if test "$enableval" = yes; then
7360 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7362 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7367 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7372 eval "$wx_cv_use_printfposparam"
7374 if test x"$enablestring" = xdisable; then
7375 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7381 result=$wxUSE_PRINTF_POS_PARAMS
7384 { echo "$as_me:$LINENO: result
: $result" >&5
7385 echo "${ECHO_T}$result" >&6; }
7389 defaultval=$wxUSE_ALL_FEATURES
7390 if test -z "$defaultval"; then
7391 if test x"$enablestring" = xdisable; then
7398 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7399 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7400 # Check whether --enable-snglinst was given.
7401 if test "${enable_snglinst+set}" = set; then
7402 enableval=$enable_snglinst;
7403 if test "$enableval" = yes; then
7404 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7406 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7411 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7416 eval "$wx_cv_use_snglinst"
7418 if test x
"$enablestring" = xdisable
; then
7419 if test $wxUSE_SNGLINST_CHECKER = yes; then
7425 result
=$wxUSE_SNGLINST_CHECKER
7428 { echo "$as_me:$LINENO: result: $result" >&5
7429 echo "${ECHO_T}$result" >&6; }
7433 defaultval
=$wxUSE_ALL_FEATURES
7434 if test -z "$defaultval"; then
7435 if test x
"$enablestring" = xdisable
; then
7442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7444 # Check whether --enable-sound was given.
7445 if test "${enable_sound+set}" = set; then
7446 enableval
=$enable_sound;
7447 if test "$enableval" = yes; then
7448 wx_cv_use_sound
='wxUSE_SOUND=yes'
7450 wx_cv_use_sound
='wxUSE_SOUND=no'
7455 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7460 eval "$wx_cv_use_sound"
7462 if test x"$enablestring" = xdisable; then
7463 if test $wxUSE_SOUND = yes; then
7472 { echo "$as_me:$LINENO: result: $result" >&5
7473 echo "${ECHO_T}$result" >&6; }
7477 defaultval=$wxUSE_ALL_FEATURES
7478 if test -z "$defaultval"; then
7479 if test x"$enablestring" = xdisable; then
7486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7487 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7488 # Check whether --enable-stdpaths was given.
7489 if test "${enable_stdpaths+set}" = set; then
7490 enableval=$enable_stdpaths;
7491 if test "$enableval" = yes; then
7492 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7494 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7499 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7504 eval "$wx_cv_use_stdpaths"
7506 if test x"$enablestring" = xdisable; then
7507 if test $wxUSE_STDPATHS = yes; then
7513 result=$wxUSE_STDPATHS
7516 { echo "$as_me:$LINENO: result
: $result" >&5
7517 echo "${ECHO_T}$result" >&6; }
7521 defaultval=$wxUSE_ALL_FEATURES
7522 if test -z "$defaultval"; then
7523 if test x"$enablestring" = xdisable; then
7530 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7531 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7532 # Check whether --enable-stopwatch was given.
7533 if test "${enable_stopwatch+set}" = set; then
7534 enableval=$enable_stopwatch;
7535 if test "$enableval" = yes; then
7536 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7538 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7543 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7548 eval "$wx_cv_use_stopwatch"
7550 if test x
"$enablestring" = xdisable
; then
7551 if test $wxUSE_STOPWATCH = yes; then
7557 result
=$wxUSE_STOPWATCH
7560 { echo "$as_me:$LINENO: result: $result" >&5
7561 echo "${ECHO_T}$result" >&6; }
7565 defaultval
=$wxUSE_ALL_FEATURES
7566 if test -z "$defaultval"; then
7567 if test x
"$enablestring" = xdisable
; then
7574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7575 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7576 # Check whether --enable-streams was given.
7577 if test "${enable_streams+set}" = set; then
7578 enableval
=$enable_streams;
7579 if test "$enableval" = yes; then
7580 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7582 wx_cv_use_streams
='wxUSE_STREAMS=no'
7587 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7592 eval "$wx_cv_use_streams"
7594 if test x"$enablestring" = xdisable; then
7595 if test $wxUSE_STREAMS = yes; then
7601 result=$wxUSE_STREAMS
7604 { echo "$as_me:$LINENO: result: $result" >&5
7605 echo "${ECHO_T}$result" >&6; }
7609 defaultval=$wxUSE_ALL_FEATURES
7610 if test -z "$defaultval"; then
7611 if test x"$enablestring" = xdisable; then
7618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7620 # Check whether --enable-system_options was given.
7621 if test "${enable_system_options+set}" = set; then
7622 enableval=$enable_system_options;
7623 if test "$enableval" = yes; then
7624 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7626 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7631 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7636 eval "$wx_cv_use_system_options"
7638 if test x"$enablestring" = xdisable; then
7639 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7645 result=$wxUSE_SYSTEM_OPTIONS
7648 { echo "$as_me:$LINENO: result
: $result" >&5
7649 echo "${ECHO_T}$result" >&6; }
7653 defaultval=$wxUSE_ALL_FEATURES
7654 if test -z "$defaultval"; then
7655 if test x"$enablestring" = xdisable; then
7662 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7663 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7664 # Check whether --enable-tarstream was given.
7665 if test "${enable_tarstream+set}" = set; then
7666 enableval=$enable_tarstream;
7667 if test "$enableval" = yes; then
7668 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7670 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7675 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7680 eval "$wx_cv_use_tarstream"
7682 if test x
"$enablestring" = xdisable
; then
7683 if test $wxUSE_TARSTREAM = yes; then
7689 result
=$wxUSE_TARSTREAM
7692 { echo "$as_me:$LINENO: result: $result" >&5
7693 echo "${ECHO_T}$result" >&6; }
7697 defaultval
=$wxUSE_ALL_FEATURES
7698 if test -z "$defaultval"; then
7699 if test x
"$enablestring" = xdisable
; then
7706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7708 # Check whether --enable-textbuf was given.
7709 if test "${enable_textbuf+set}" = set; then
7710 enableval
=$enable_textbuf;
7711 if test "$enableval" = yes; then
7712 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7714 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7719 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7724 eval "$wx_cv_use_textbuf"
7726 if test x"$enablestring" = xdisable; then
7727 if test $wxUSE_TEXTBUFFER = yes; then
7733 result=$wxUSE_TEXTBUFFER
7736 { echo "$as_me:$LINENO: result: $result" >&5
7737 echo "${ECHO_T}$result" >&6; }
7741 defaultval=$wxUSE_ALL_FEATURES
7742 if test -z "$defaultval"; then
7743 if test x"$enablestring" = xdisable; then
7750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7752 # Check whether --enable-textfile was given.
7753 if test "${enable_textfile+set}" = set; then
7754 enableval=$enable_textfile;
7755 if test "$enableval" = yes; then
7756 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7758 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7763 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7768 eval "$wx_cv_use_textfile"
7770 if test x"$enablestring" = xdisable; then
7771 if test $wxUSE_TEXTFILE = yes; then
7777 result=$wxUSE_TEXTFILE
7780 { echo "$as_me:$LINENO: result
: $result" >&5
7781 echo "${ECHO_T}$result" >&6; }
7785 defaultval=$wxUSE_ALL_FEATURES
7786 if test -z "$defaultval"; then
7787 if test x"$enablestring" = xdisable; then
7794 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7795 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7796 # Check whether --enable-timer was given.
7797 if test "${enable_timer+set}" = set; then
7798 enableval=$enable_timer;
7799 if test "$enableval" = yes; then
7800 wx_cv_use_timer='wxUSE_TIMER=yes'
7802 wx_cv_use_timer='wxUSE_TIMER=no'
7807 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7812 eval "$wx_cv_use_timer"
7814 if test x
"$enablestring" = xdisable
; then
7815 if test $wxUSE_TIMER = yes; then
7824 { echo "$as_me:$LINENO: result: $result" >&5
7825 echo "${ECHO_T}$result" >&6; }
7829 defaultval
=$wxUSE_ALL_FEATURES
7830 if test -z "$defaultval"; then
7831 if test x
"$enablestring" = xdisable
; then
7838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7840 # Check whether --enable-variant was given.
7841 if test "${enable_variant+set}" = set; then
7842 enableval
=$enable_variant;
7843 if test "$enableval" = yes; then
7844 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7846 wx_cv_use_variant
='wxUSE_VARIANT=no'
7851 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7856 eval "$wx_cv_use_variant"
7858 if test x"$enablestring" = xdisable; then
7859 if test $wxUSE_VARIANT = yes; then
7865 result=$wxUSE_VARIANT
7868 { echo "$as_me:$LINENO: result: $result" >&5
7869 echo "${ECHO_T}$result" >&6; }
7873 defaultval=$wxUSE_ALL_FEATURES
7874 if test -z "$defaultval"; then
7875 if test x"$enablestring" = xdisable; then
7882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7884 # Check whether --enable-zipstream was given.
7885 if test "${enable_zipstream+set}" = set; then
7886 enableval=$enable_zipstream;
7887 if test "$enableval" = yes; then
7888 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7890 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7895 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7900 eval "$wx_cv_use_zipstream"
7902 if test x"$enablestring" = xdisable; then
7903 if test $wxUSE_ZIPSTREAM = yes; then
7909 result=$wxUSE_ZIPSTREAM
7912 { echo "$as_me:$LINENO: result
: $result" >&5
7913 echo "${ECHO_T}$result" >&6; }
7918 defaultval=$wxUSE_ALL_FEATURES
7919 if test -z "$defaultval"; then
7920 if test x"$enablestring" = xdisable; then
7927 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7928 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7929 # Check whether --enable-url was given.
7930 if test "${enable_url+set}" = set; then
7931 enableval=$enable_url;
7932 if test "$enableval" = yes; then
7933 wx_cv_use_url='wxUSE_URL=yes'
7935 wx_cv_use_url='wxUSE_URL=no'
7940 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7945 eval "$wx_cv_use_url"
7947 if test x
"$enablestring" = xdisable
; then
7948 if test $wxUSE_URL = yes; then
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7962 defaultval
=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x
"$enablestring" = xdisable
; then
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7973 # Check whether --enable-protocol was given.
7974 if test "${enable_protocol+set}" = set; then
7975 enableval
=$enable_protocol;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7979 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7984 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7989 eval "$wx_cv_use_protocol"
7991 if test x"$enablestring" = xdisable; then
7992 if test $wxUSE_PROTOCOL = yes; then
7998 result=$wxUSE_PROTOCOL
8001 { echo "$as_me:$LINENO: result: $result" >&5
8002 echo "${ECHO_T}$result" >&6; }
8006 defaultval=$wxUSE_ALL_FEATURES
8007 if test -z "$defaultval"; then
8008 if test x"$enablestring" = xdisable; then
8015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8017 # Check whether --enable-protocol_http was given.
8018 if test "${enable_protocol_http+set}" = set; then
8019 enableval=$enable_protocol_http;
8020 if test "$enableval" = yes; then
8021 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8023 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8028 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8033 eval "$wx_cv_use_protocol_http"
8035 if test x"$enablestring" = xdisable; then
8036 if test $wxUSE_PROTOCOL_HTTP = yes; then
8042 result=$wxUSE_PROTOCOL_HTTP
8045 { echo "$as_me:$LINENO: result
: $result" >&5
8046 echo "${ECHO_T}$result" >&6; }
8050 defaultval=$wxUSE_ALL_FEATURES
8051 if test -z "$defaultval"; then
8052 if test x"$enablestring" = xdisable; then
8059 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8060 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8061 # Check whether --enable-protocol_ftp was given.
8062 if test "${enable_protocol_ftp+set}" = set; then
8063 enableval=$enable_protocol_ftp;
8064 if test "$enableval" = yes; then
8065 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8067 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8072 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8077 eval "$wx_cv_use_protocol_ftp"
8079 if test x
"$enablestring" = xdisable
; then
8080 if test $wxUSE_PROTOCOL_FTP = yes; then
8086 result
=$wxUSE_PROTOCOL_FTP
8089 { echo "$as_me:$LINENO: result: $result" >&5
8090 echo "${ECHO_T}$result" >&6; }
8094 defaultval
=$wxUSE_ALL_FEATURES
8095 if test -z "$defaultval"; then
8096 if test x
"$enablestring" = xdisable
; then
8103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8104 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8105 # Check whether --enable-protocol_file was given.
8106 if test "${enable_protocol_file+set}" = set; then
8107 enableval
=$enable_protocol_file;
8108 if test "$enableval" = yes; then
8109 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8111 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8116 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8121 eval "$wx_cv_use_protocol_file"
8123 if test x"$enablestring" = xdisable; then
8124 if test $wxUSE_PROTOCOL_FILE = yes; then
8130 result=$wxUSE_PROTOCOL_FILE
8133 { echo "$as_me:$LINENO: result: $result" >&5
8134 echo "${ECHO_T}$result" >&6; }
8139 defaultval=$wxUSE_ALL_FEATURES
8140 if test -z "$defaultval"; then
8141 if test x"$enablestring" = xdisable; then
8148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8149 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8150 # Check whether --enable-threads was given.
8151 if test "${enable_threads+set}" = set; then
8152 enableval=$enable_threads;
8153 if test "$enableval" = yes; then
8154 wx_cv_use_threads='wxUSE_THREADS
=yes'
8156 wx_cv_use_threads='wxUSE_THREADS
=no
'
8161 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8166 eval "$wx_cv_use_threads"
8168 if test x"$enablestring" = xdisable; then
8169 if test $wxUSE_THREADS = yes; then
8175 result=$wxUSE_THREADS
8178 { echo "$as_me:$LINENO: result
: $result" >&5
8179 echo "${ECHO_T}$result" >&6; }
8185 if test -z "$defaultval"; then
8186 if test x"$enablestring" = xdisable; then
8193 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8194 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8195 # Check whether --enable-iniconf was given.
8196 if test "${enable_iniconf+set}" = set; then
8197 enableval=$enable_iniconf;
8198 if test "$enableval" = yes; then
8199 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8201 wx_cv_use_iniconf='wxUSE_INICONF=no'
8206 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8211 eval "$wx_cv_use_iniconf"
8213 if test x
"$enablestring" = xdisable
; then
8214 if test $wxUSE_INICONF = yes; then
8220 result
=$wxUSE_INICONF
8223 { echo "$as_me:$LINENO: result: $result" >&5
8224 echo "${ECHO_T}$result" >&6; }
8228 defaultval
=$wxUSE_ALL_FEATURES
8229 if test -z "$defaultval"; then
8230 if test x
"$enablestring" = xdisable
; then
8237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8238 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8239 # Check whether --enable-regkey was given.
8240 if test "${enable_regkey+set}" = set; then
8241 enableval
=$enable_regkey;
8242 if test "$enableval" = yes; then
8243 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8245 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8250 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8255 eval "$wx_cv_use_regkey"
8257 if test x"$enablestring" = xdisable; then
8258 if test $wxUSE_REGKEY = yes; then
8264 result=$wxUSE_REGKEY
8267 { echo "$as_me:$LINENO: result: $result" >&5
8268 echo "${ECHO_T}$result" >&6; }
8271 if test "$wxUSE_GUI" = "yes"; then
8276 defaultval=$wxUSE_ALL_FEATURES
8277 if test -z "$defaultval"; then
8278 if test x"$enablestring" = xdisable; then
8285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8287 # Check whether --enable-docview was given.
8288 if test "${enable_docview+set}" = set; then
8289 enableval=$enable_docview;
8290 if test "$enableval" = yes; then
8291 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8293 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8298 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8303 eval "$wx_cv_use_docview"
8305 if test x"$enablestring" = xdisable; then
8306 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8312 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8315 { echo "$as_me:$LINENO: result
: $result" >&5
8316 echo "${ECHO_T}$result" >&6; }
8320 defaultval=$wxUSE_ALL_FEATURES
8321 if test -z "$defaultval"; then
8322 if test x"$enablestring" = xdisable; then
8329 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8330 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8331 # Check whether --enable-help was given.
8332 if test "${enable_help+set}" = set; then
8333 enableval=$enable_help;
8334 if test "$enableval" = yes; then
8335 wx_cv_use_help='wxUSE_HELP=yes'
8337 wx_cv_use_help='wxUSE_HELP=no'
8342 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8347 eval "$wx_cv_use_help"
8349 if test x
"$enablestring" = xdisable
; then
8350 if test $wxUSE_HELP = yes; then
8359 { echo "$as_me:$LINENO: result: $result" >&5
8360 echo "${ECHO_T}$result" >&6; }
8364 defaultval
=$wxUSE_ALL_FEATURES
8365 if test -z "$defaultval"; then
8366 if test x
"$enablestring" = xdisable
; then
8373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8375 # Check whether --enable-mshtmlhelp was given.
8376 if test "${enable_mshtmlhelp+set}" = set; then
8377 enableval
=$enable_mshtmlhelp;
8378 if test "$enableval" = yes; then
8379 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8381 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8386 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8391 eval "$wx_cv_use_mshtmlhelp"
8393 if test x"$enablestring" = xdisable; then
8394 if test $wxUSE_MS_HTML_HELP = yes; then
8400 result=$wxUSE_MS_HTML_HELP
8403 { echo "$as_me:$LINENO: result: $result" >&5
8404 echo "${ECHO_T}$result" >&6; }
8408 defaultval=$wxUSE_ALL_FEATURES
8409 if test -z "$defaultval"; then
8410 if test x"$enablestring" = xdisable; then
8417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8419 # Check whether --enable-html was given.
8420 if test "${enable_html+set}" = set; then
8421 enableval=$enable_html;
8422 if test "$enableval" = yes; then
8423 wx_cv_use_html='wxUSE_HTML
=yes'
8425 wx_cv_use_html='wxUSE_HTML
=no
'
8430 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8435 eval "$wx_cv_use_html"
8437 if test x"$enablestring" = xdisable; then
8438 if test $wxUSE_HTML = yes; then
8447 { echo "$as_me:$LINENO: result
: $result" >&5
8448 echo "${ECHO_T}$result" >&6; }
8452 defaultval=$wxUSE_ALL_FEATURES
8453 if test -z "$defaultval"; then
8454 if test x"$enablestring" = xdisable; then
8461 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8462 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8463 # Check whether --enable-htmlhelp was given.
8464 if test "${enable_htmlhelp+set}" = set; then
8465 enableval=$enable_htmlhelp;
8466 if test "$enableval" = yes; then
8467 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8469 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8474 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8479 eval "$wx_cv_use_htmlhelp"
8481 if test x
"$enablestring" = xdisable
; then
8482 if test $wxUSE_WXHTML_HELP = yes; then
8488 result
=$wxUSE_WXHTML_HELP
8491 { echo "$as_me:$LINENO: result: $result" >&5
8492 echo "${ECHO_T}$result" >&6; }
8496 defaultval
=$wxUSE_ALL_FEATURES
8497 if test -z "$defaultval"; then
8498 if test x
"$enablestring" = xdisable
; then
8505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8506 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8507 # Check whether --enable-xrc was given.
8508 if test "${enable_xrc+set}" = set; then
8509 enableval
=$enable_xrc;
8510 if test "$enableval" = yes; then
8511 wx_cv_use_xrc
='wxUSE_XRC=yes'
8513 wx_cv_use_xrc
='wxUSE_XRC=no'
8518 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8523 eval "$wx_cv_use_xrc"
8525 if test x"$enablestring" = xdisable; then
8526 if test $wxUSE_XRC = yes; then
8535 { echo "$as_me:$LINENO: result: $result" >&5
8536 echo "${ECHO_T}$result" >&6; }
8540 defaultval=$wxUSE_ALL_FEATURES
8541 if test -z "$defaultval"; then
8542 if test x"$enablestring" = xdisable; then
8549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8550 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8551 # Check whether --enable-aui was given.
8552 if test "${enable_aui+set}" = set; then
8553 enableval=$enable_aui;
8554 if test "$enableval" = yes; then
8555 wx_cv_use_aui='wxUSE_AUI
=yes'
8557 wx_cv_use_aui='wxUSE_AUI
=no
'
8562 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8567 eval "$wx_cv_use_aui"
8569 if test x"$enablestring" = xdisable; then
8570 if test $wxUSE_AUI = yes; then
8579 { echo "$as_me:$LINENO: result
: $result" >&5
8580 echo "${ECHO_T}$result" >&6; }
8584 defaultval=$wxUSE_ALL_FEATURES
8585 if test -z "$defaultval"; then
8586 if test x"$enablestring" = xdisable; then
8593 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8594 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8595 # Check whether --enable-propgrid was given.
8596 if test "${enable_propgrid+set}" = set; then
8597 enableval=$enable_propgrid;
8598 if test "$enableval" = yes; then
8599 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8601 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8606 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8611 eval "$wx_cv_use_propgrid"
8613 if test x
"$enablestring" = xdisable
; then
8614 if test $wxUSE_PROPGRID = yes; then
8620 result
=$wxUSE_PROPGRID
8623 { echo "$as_me:$LINENO: result: $result" >&5
8624 echo "${ECHO_T}$result" >&6; }
8628 defaultval
=$wxUSE_ALL_FEATURES
8629 if test -z "$defaultval"; then
8630 if test x
"$enablestring" = xdisable
; then
8637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8638 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8639 # Check whether --enable-stc was given.
8640 if test "${enable_stc+set}" = set; then
8641 enableval
=$enable_stc;
8642 if test "$enableval" = yes; then
8643 wx_cv_use_stc
='wxUSE_STC=yes'
8645 wx_cv_use_stc
='wxUSE_STC=no'
8650 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8655 eval "$wx_cv_use_stc"
8657 if test x"$enablestring" = xdisable; then
8658 if test $wxUSE_STC = yes; then
8667 { echo "$as_me:$LINENO: result: $result" >&5
8668 echo "${ECHO_T}$result" >&6; }
8672 defaultval=$wxUSE_ALL_FEATURES
8673 if test -z "$defaultval"; then
8674 if test x"$enablestring" = xdisable; then
8681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8682 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8683 # Check whether --enable-constraints was given.
8684 if test "${enable_constraints+set}" = set; then
8685 enableval=$enable_constraints;
8686 if test "$enableval" = yes; then
8687 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8689 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8694 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8699 eval "$wx_cv_use_constraints"
8701 if test x"$enablestring" = xdisable; then
8702 if test $wxUSE_CONSTRAINTS = yes; then
8708 result=$wxUSE_CONSTRAINTS
8711 { echo "$as_me:$LINENO: result
: $result" >&5
8712 echo "${ECHO_T}$result" >&6; }
8716 defaultval=$wxUSE_ALL_FEATURES
8717 if test -z "$defaultval"; then
8718 if test x"$enablestring" = xdisable; then
8725 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8726 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8727 # Check whether --enable-loggui was given.
8728 if test "${enable_loggui+set}" = set; then
8729 enableval=$enable_loggui;
8730 if test "$enableval" = yes; then
8731 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8733 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8738 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8743 eval "$wx_cv_use_loggui"
8745 if test x
"$enablestring" = xdisable
; then
8746 if test $wxUSE_LOGGUI = yes; then
8752 result
=$wxUSE_LOGGUI
8755 { echo "$as_me:$LINENO: result: $result" >&5
8756 echo "${ECHO_T}$result" >&6; }
8760 defaultval
=$wxUSE_ALL_FEATURES
8761 if test -z "$defaultval"; then
8762 if test x
"$enablestring" = xdisable
; then
8769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8771 # Check whether --enable-logwin was given.
8772 if test "${enable_logwin+set}" = set; then
8773 enableval
=$enable_logwin;
8774 if test "$enableval" = yes; then
8775 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8777 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8782 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8787 eval "$wx_cv_use_logwin"
8789 if test x"$enablestring" = xdisable; then
8790 if test $wxUSE_LOGWINDOW = yes; then
8796 result=$wxUSE_LOGWINDOW
8799 { echo "$as_me:$LINENO: result: $result" >&5
8800 echo "${ECHO_T}$result" >&6; }
8804 defaultval=$wxUSE_ALL_FEATURES
8805 if test -z "$defaultval"; then
8806 if test x"$enablestring" = xdisable; then
8813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8814 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8815 # Check whether --enable-logdialog was given.
8816 if test "${enable_logdialog+set}" = set; then
8817 enableval=$enable_logdialog;
8818 if test "$enableval" = yes; then
8819 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8821 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8826 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8831 eval "$wx_cv_use_logdialog"
8833 if test x"$enablestring" = xdisable; then
8834 if test $wxUSE_LOGDIALOG = yes; then
8840 result=$wxUSE_LOGDIALOG
8843 { echo "$as_me:$LINENO: result
: $result" >&5
8844 echo "${ECHO_T}$result" >&6; }
8848 defaultval=$wxUSE_ALL_FEATURES
8849 if test -z "$defaultval"; then
8850 if test x"$enablestring" = xdisable; then
8857 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8858 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8859 # Check whether --enable-mdi was given.
8860 if test "${enable_mdi+set}" = set; then
8861 enableval=$enable_mdi;
8862 if test "$enableval" = yes; then
8863 wx_cv_use_mdi='wxUSE_MDI=yes'
8865 wx_cv_use_mdi='wxUSE_MDI=no'
8870 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8875 eval "$wx_cv_use_mdi"
8877 if test x
"$enablestring" = xdisable
; then
8878 if test $wxUSE_MDI = yes; then
8887 { echo "$as_me:$LINENO: result: $result" >&5
8888 echo "${ECHO_T}$result" >&6; }
8892 defaultval
=$wxUSE_ALL_FEATURES
8893 if test -z "$defaultval"; then
8894 if test x
"$enablestring" = xdisable
; then
8901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8903 # Check whether --enable-mdidoc was given.
8904 if test "${enable_mdidoc+set}" = set; then
8905 enableval
=$enable_mdidoc;
8906 if test "$enableval" = yes; then
8907 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8909 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8914 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8919 eval "$wx_cv_use_mdidoc"
8921 if test x"$enablestring" = xdisable; then
8922 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8928 result=$wxUSE_MDI_ARCHITECTURE
8931 { echo "$as_me:$LINENO: result: $result" >&5
8932 echo "${ECHO_T}$result" >&6; }
8936 defaultval=$wxUSE_ALL_FEATURES
8937 if test -z "$defaultval"; then
8938 if test x"$enablestring" = xdisable; then
8945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8946 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8947 # Check whether --enable-mediactrl was given.
8948 if test "${enable_mediactrl+set}" = set; then
8949 enableval=$enable_mediactrl;
8950 if test "$enableval" = yes; then
8951 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8953 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8958 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8963 eval "$wx_cv_use_mediactrl"
8965 if test x"$enablestring" = xdisable; then
8966 if test $wxUSE_MEDIACTRL = yes; then
8972 result=$wxUSE_MEDIACTRL
8975 { echo "$as_me:$LINENO: result
: $result" >&5
8976 echo "${ECHO_T}$result" >&6; }
8980 defaultval=$wxUSE_ALL_FEATURES
8981 if test -z "$defaultval"; then
8982 if test x"$enablestring" = xdisable; then
8989 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
8990 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8991 # Check whether --enable-gstreamer8 was given.
8992 if test "${enable_gstreamer8+set}" = set; then
8993 enableval=$enable_gstreamer8;
8994 if test "$enableval" = yes; then
8995 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8997 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9002 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9007 eval "$wx_cv_use_gstreamer8"
9009 if test x
"$enablestring" = xdisable
; then
9010 if test $wxUSE_GSTREAMER8 = yes; then
9016 result
=$wxUSE_GSTREAMER8
9019 { echo "$as_me:$LINENO: result: $result" >&5
9020 echo "${ECHO_T}$result" >&6; }
9024 defaultval
=$wxUSE_ALL_FEATURES
9025 if test -z "$defaultval"; then
9026 if test x
"$enablestring" = xdisable
; then
9033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9034 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9035 # Check whether --enable-webkit was given.
9036 if test "${enable_webkit+set}" = set; then
9037 enableval
=$enable_webkit;
9038 if test "$enableval" = yes; then
9039 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9041 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9046 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9051 eval "$wx_cv_use_webkit"
9053 if test x"$enablestring" = xdisable; then
9054 if test $wxUSE_WEBKIT = yes; then
9060 result=$wxUSE_WEBKIT
9063 { echo "$as_me:$LINENO: result: $result" >&5
9064 echo "${ECHO_T}$result" >&6; }
9068 defaultval=$wxUSE_ALL_FEATURES
9069 if test -z "$defaultval"; then
9070 if test x"$enablestring" = xdisable; then
9077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9078 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9079 # Check whether --enable-richtext was given.
9080 if test "${enable_richtext+set}" = set; then
9081 enableval=$enable_richtext;
9082 if test "$enableval" = yes; then
9083 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9085 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9090 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9095 eval "$wx_cv_use_richtext"
9097 if test x"$enablestring" = xdisable; then
9098 if test $wxUSE_RICHTEXT = yes; then
9104 result=$wxUSE_RICHTEXT
9107 { echo "$as_me:$LINENO: result
: $result" >&5
9108 echo "${ECHO_T}$result" >&6; }
9112 defaultval=$wxUSE_ALL_FEATURES
9113 if test -z "$defaultval"; then
9114 if test x"$enablestring" = xdisable; then
9121 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9122 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9123 # Check whether --enable-graphics_ctx was given.
9124 if test "${enable_graphics_ctx+set}" = set; then
9125 enableval=$enable_graphics_ctx;
9126 if test "$enableval" = yes; then
9127 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9129 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9134 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9139 eval "$wx_cv_use_graphics_ctx"
9141 if test x
"$enablestring" = xdisable
; then
9142 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9148 result
=$wxUSE_GRAPHICS_CONTEXT
9151 { echo "$as_me:$LINENO: result: $result" >&5
9152 echo "${ECHO_T}$result" >&6; }
9156 defaultval
=$wxUSE_ALL_FEATURES
9157 if test -z "$defaultval"; then
9158 if test x
"$enablestring" = xdisable
; then
9165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9166 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9167 # Check whether --enable-postscript was given.
9168 if test "${enable_postscript+set}" = set; then
9169 enableval
=$enable_postscript;
9170 if test "$enableval" = yes; then
9171 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9173 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9178 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9183 eval "$wx_cv_use_postscript"
9185 if test x"$enablestring" = xdisable; then
9186 if test $wxUSE_POSTSCRIPT = yes; then
9192 result=$wxUSE_POSTSCRIPT
9195 { echo "$as_me:$LINENO: result: $result" >&5
9196 echo "${ECHO_T}$result" >&6; }
9200 defaultval=$wxUSE_ALL_FEATURES
9201 if test -z "$defaultval"; then
9202 if test x"$enablestring" = xdisable; then
9209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9211 # Check whether --enable-printarch was given.
9212 if test "${enable_printarch+set}" = set; then
9213 enableval=$enable_printarch;
9214 if test "$enableval" = yes; then
9215 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9217 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9222 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9227 eval "$wx_cv_use_printarch"
9229 if test x"$enablestring" = xdisable; then
9230 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9236 result=$wxUSE_PRINTING_ARCHITECTURE
9239 { echo "$as_me:$LINENO: result
: $result" >&5
9240 echo "${ECHO_T}$result" >&6; }
9244 defaultval=$wxUSE_ALL_FEATURES
9245 if test -z "$defaultval"; then
9246 if test x"$enablestring" = xdisable; then
9253 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9254 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9255 # Check whether --enable-svg was given.
9256 if test "${enable_svg+set}" = set; then
9257 enableval=$enable_svg;
9258 if test "$enableval" = yes; then
9259 wx_cv_use_svg='wxUSE_SVG=yes'
9261 wx_cv_use_svg='wxUSE_SVG=no'
9266 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9271 eval "$wx_cv_use_svg"
9273 if test x
"$enablestring" = xdisable
; then
9274 if test $wxUSE_SVG = yes; then
9283 { echo "$as_me:$LINENO: result: $result" >&5
9284 echo "${ECHO_T}$result" >&6; }
9290 defaultval
=$wxUSE_ALL_FEATURES
9291 if test -z "$defaultval"; then
9292 if test x
"$enablestring" = xdisable
; then
9299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9300 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9301 # Check whether --enable-clipboard was given.
9302 if test "${enable_clipboard+set}" = set; then
9303 enableval
=$enable_clipboard;
9304 if test "$enableval" = yes; then
9305 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9307 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9312 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9317 eval "$wx_cv_use_clipboard"
9319 if test x"$enablestring" = xdisable; then
9320 if test $wxUSE_CLIPBOARD = yes; then
9326 result=$wxUSE_CLIPBOARD
9329 { echo "$as_me:$LINENO: result: $result" >&5
9330 echo "${ECHO_T}$result" >&6; }
9334 defaultval=$wxUSE_ALL_FEATURES
9335 if test -z "$defaultval"; then
9336 if test x"$enablestring" = xdisable; then
9343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9344 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9345 # Check whether --enable-dnd was given.
9346 if test "${enable_dnd+set}" = set; then
9347 enableval=$enable_dnd;
9348 if test "$enableval" = yes; then
9349 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9351 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9356 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9361 eval "$wx_cv_use_dnd"
9363 if test x"$enablestring" = xdisable; then
9364 if test $wxUSE_DRAG_AND_DROP = yes; then
9370 result=$wxUSE_DRAG_AND_DROP
9373 { echo "$as_me:$LINENO: result
: $result" >&5
9374 echo "${ECHO_T}$result" >&6; }
9378 defaultval=$wxUSE_ALL_FEATURES
9379 if test -z "$defaultval"; then
9380 if test x"$enablestring" = xdisable; then
9387 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9388 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9389 # Check whether --enable-metafile was given.
9390 if test "${enable_metafile+set}" = set; then
9391 enableval=$enable_metafile;
9392 if test "$enableval" = yes; then
9393 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9395 wx_cv_use_metafile='wxUSE_METAFILE=no'
9400 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9405 eval "$wx_cv_use_metafile"
9407 if test x
"$enablestring" = xdisable
; then
9408 if test $wxUSE_METAFILE = yes; then
9414 result
=$wxUSE_METAFILE
9417 { echo "$as_me:$LINENO: result: $result" >&5
9418 echo "${ECHO_T}$result" >&6; }
9422 DEFAULT_wxUSE_CONTROLS
=none
9424 enablestring
=disable
9426 if test -z "$defaultval"; then
9427 if test x
"$enablestring" = xdisable
; then
9434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9436 # Check whether --enable-controls was given.
9437 if test "${enable_controls+set}" = set; then
9438 enableval
=$enable_controls;
9439 if test "$enableval" = yes; then
9440 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9442 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9447 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9452 eval "$wx_cv_use_controls"
9454 if test x"$enablestring" = xdisable; then
9455 if test $wxUSE_CONTROLS = yes; then
9461 result=$wxUSE_CONTROLS
9464 { echo "$as_me:$LINENO: result: $result" >&5
9465 echo "${ECHO_T}$result" >&6; }
9468 if test "$wxUSE_CONTROLS" = "yes"; then
9469 DEFAULT_wxUSE_ACCEL=yes
9470 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9471 DEFAULT_wxUSE_BMPBUTTON=yes
9472 DEFAULT_wxUSE_BUTTON=yes
9473 DEFAULT_wxUSE_CALCTRL=yes
9474 DEFAULT_wxUSE_CARET=yes
9475 DEFAULT_wxUSE_COMBOBOX=yes
9476 DEFAULT_wxUSE_CHECKBOX=yes
9477 DEFAULT_wxUSE_CHECKLISTBOX=yes
9478 DEFAULT_wxUSE_CHOICE=yes
9479 DEFAULT_wxUSE_CHOICEBOOK=yes
9480 DEFAULT_wxUSE_COLLPANE=yes
9481 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9482 DEFAULT_wxUSE_COMBOBOX=yes
9483 DEFAULT_wxUSE_DATEPICKCTRL=yes
9484 DEFAULT_wxUSE_DISPLAY=yes
9485 DEFAULT_wxUSE_DETECT_SM=yes
9486 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9487 DEFAULT_wxUSE_FILECTRL=yes
9488 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9489 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9490 DEFAULT_wxUSE_GAUGE=yes
9491 DEFAULT_wxUSE_GRID=yes
9492 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9493 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9494 DEFAULT_wxUSE_IMAGLIST=yes
9495 DEFAULT_wxUSE_LISTBOOK=yes
9496 DEFAULT_wxUSE_LISTBOX=yes
9497 DEFAULT_wxUSE_LISTCTRL=yes
9498 DEFAULT_wxUSE_NOTEBOOK=yes
9499 DEFAULT_wxUSE_RADIOBOX=yes
9500 DEFAULT_wxUSE_RADIOBTN=yes
9501 DEFAULT_wxUSE_SASH=yes
9502 DEFAULT_wxUSE_SCROLLBAR=yes
9503 DEFAULT_wxUSE_SEARCHCTRL=yes
9504 DEFAULT_wxUSE_SLIDER=yes
9505 DEFAULT_wxUSE_SPINBTN=yes
9506 DEFAULT_wxUSE_SPINCTRL=yes
9507 DEFAULT_wxUSE_SPLITTER=yes
9508 DEFAULT_wxUSE_STATBMP=yes
9509 DEFAULT_wxUSE_STATBOX=yes
9510 DEFAULT_wxUSE_STATLINE=yes
9511 DEFAULT_wxUSE_STATUSBAR=yes
9512 DEFAULT_wxUSE_TAB_DIALOG=yes
9513 DEFAULT_wxUSE_TOGGLEBTN=yes
9514 DEFAULT_wxUSE_TOOLBAR=yes
9515 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9516 DEFAULT_wxUSE_TOOLTIPS=yes
9517 DEFAULT_wxUSE_TREEBOOK=yes
9518 DEFAULT_wxUSE_TOOLBOOK=yes
9519 DEFAULT_wxUSE_TREECTRL=yes
9520 DEFAULT_wxUSE_POPUPWIN=yes
9521 DEFAULT_wxUSE_TIPWINDOW=yes
9522 elif test "$wxUSE_CONTROLS" = "no"; then
9523 DEFAULT_wxUSE_ACCEL=no
9524 DEFAULT_wxUSE_ANIMATIONCTRL=no
9525 DEFAULT_wxUSE_BMPBUTTON=no
9526 DEFAULT_wxUSE_BUTTON=no
9527 DEFAULT_wxUSE_CALCTRL=no
9528 DEFAULT_wxUSE_CARET=no
9529 DEFAULT_wxUSE_COLLPANE=no
9530 DEFAULT_wxUSE_COMBOBOX=no
9531 DEFAULT_wxUSE_CHECKBOX=no
9532 DEFAULT_wxUSE_CHECKLISTBOX=no
9533 DEFAULT_wxUSE_CHOICE=no
9534 DEFAULT_wxUSE_CHOICEBOOK=no
9535 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9536 DEFAULT_wxUSE_COMBOBOX=no
9537 DEFAULT_wxUSE_DATEPICKCTRL=no
9538 DEFAULT_wxUSE_DISPLAY=no
9539 DEFAULT_wxUSE_DETECT_SM=no
9540 DEFAULT_wxUSE_DIRPICKERCTRL=no
9541 DEFAULT_wxUSE_FILECTRL=no
9542 DEFAULT_wxUSE_FILEPICKERCTRL=no
9543 DEFAULT_wxUSE_FONTPICKERCTRL=no
9544 DEFAULT_wxUSE_GAUGE=no
9545 DEFAULT_wxUSE_GRID=no
9546 DEFAULT_wxUSE_HYPERLINKCTRL=no
9547 DEFAULT_wxUSE_DATAVIEWCTRL=no
9548 DEFAULT_wxUSE_IMAGLIST=no
9549 DEFAULT_wxUSE_LISTBOOK=no
9550 DEFAULT_wxUSE_LISTBOX=no
9551 DEFAULT_wxUSE_LISTCTRL=no
9552 DEFAULT_wxUSE_NOTEBOOK=no
9553 DEFAULT_wxUSE_RADIOBOX=no
9554 DEFAULT_wxUSE_RADIOBTN=no
9555 DEFAULT_wxUSE_SASH=no
9556 DEFAULT_wxUSE_SCROLLBAR=no
9557 DEFAULT_wxUSE_SEARCHCTRL=no
9558 DEFAULT_wxUSE_SLIDER=no
9559 DEFAULT_wxUSE_SPINBTN=no
9560 DEFAULT_wxUSE_SPINCTRL=no
9561 DEFAULT_wxUSE_SPLITTER=no
9562 DEFAULT_wxUSE_STATBMP=no
9563 DEFAULT_wxUSE_STATBOX=no
9564 DEFAULT_wxUSE_STATLINE=no
9565 DEFAULT_wxUSE_STATUSBAR=no
9566 DEFAULT_wxUSE_TAB_DIALOG=no
9567 DEFAULT_wxUSE_TOGGLEBTN=no
9568 DEFAULT_wxUSE_TOOLBAR=no
9569 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9570 DEFAULT_wxUSE_TOOLTIPS=no
9571 DEFAULT_wxUSE_TREEBOOK=no
9572 DEFAULT_wxUSE_TOOLBOOK=no
9573 DEFAULT_wxUSE_TREECTRL=no
9574 DEFAULT_wxUSE_POPUPWIN=no
9575 DEFAULT_wxUSE_TIPWINDOW=no
9580 defaultval=$wxUSE_ALL_FEATURES
9581 if test -z "$defaultval"; then
9582 if test x"$enablestring" = xdisable; then
9589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9590 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9591 # Check whether --enable-accel was given.
9592 if test "${enable_accel+set}" = set; then
9593 enableval=$enable_accel;
9594 if test "$enableval" = yes; then
9595 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9597 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9602 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9607 eval "$wx_cv_use_accel"
9609 if test x"$enablestring" = xdisable; then
9610 if test $wxUSE_ACCEL = yes; then
9619 { echo "$as_me:$LINENO: result
: $result" >&5
9620 echo "${ECHO_T}$result" >&6; }
9624 defaultval=$wxUSE_ALL_FEATURES
9625 if test -z "$defaultval"; then
9626 if test x"$enablestring" = xdisable; then
9633 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9634 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9635 # Check whether --enable-animatectrl was given.
9636 if test "${enable_animatectrl+set}" = set; then
9637 enableval=$enable_animatectrl;
9638 if test "$enableval" = yes; then
9639 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9641 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9646 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9651 eval "$wx_cv_use_animatectrl"
9653 if test x
"$enablestring" = xdisable
; then
9654 if test $wxUSE_ANIMATIONCTRL = yes; then
9660 result
=$wxUSE_ANIMATIONCTRL
9663 { echo "$as_me:$LINENO: result: $result" >&5
9664 echo "${ECHO_T}$result" >&6; }
9668 defaultval
=$wxUSE_ALL_FEATURES
9669 if test -z "$defaultval"; then
9670 if test x
"$enablestring" = xdisable
; then
9677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9678 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9679 # Check whether --enable-button was given.
9680 if test "${enable_button+set}" = set; then
9681 enableval
=$enable_button;
9682 if test "$enableval" = yes; then
9683 wx_cv_use_button
='wxUSE_BUTTON=yes'
9685 wx_cv_use_button
='wxUSE_BUTTON=no'
9690 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9695 eval "$wx_cv_use_button"
9697 if test x"$enablestring" = xdisable; then
9698 if test $wxUSE_BUTTON = yes; then
9704 result=$wxUSE_BUTTON
9707 { echo "$as_me:$LINENO: result: $result" >&5
9708 echo "${ECHO_T}$result" >&6; }
9712 defaultval=$wxUSE_ALL_FEATURES
9713 if test -z "$defaultval"; then
9714 if test x"$enablestring" = xdisable; then
9721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9723 # Check whether --enable-bmpbutton was given.
9724 if test "${enable_bmpbutton+set}" = set; then
9725 enableval=$enable_bmpbutton;
9726 if test "$enableval" = yes; then
9727 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9729 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9734 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9739 eval "$wx_cv_use_bmpbutton"
9741 if test x"$enablestring" = xdisable; then
9742 if test $wxUSE_BMPBUTTON = yes; then
9748 result=$wxUSE_BMPBUTTON
9751 { echo "$as_me:$LINENO: result
: $result" >&5
9752 echo "${ECHO_T}$result" >&6; }
9756 defaultval=$wxUSE_ALL_FEATURES
9757 if test -z "$defaultval"; then
9758 if test x"$enablestring" = xdisable; then
9765 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9766 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9767 # Check whether --enable-bmpcombobox was given.
9768 if test "${enable_bmpcombobox+set}" = set; then
9769 enableval=$enable_bmpcombobox;
9770 if test "$enableval" = yes; then
9771 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9773 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9778 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9783 eval "$wx_cv_use_bmpcombobox"
9785 if test x
"$enablestring" = xdisable
; then
9786 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9792 result
=$wxUSE_BITMAPCOMBOBOX
9795 { echo "$as_me:$LINENO: result: $result" >&5
9796 echo "${ECHO_T}$result" >&6; }
9800 defaultval
=$wxUSE_ALL_FEATURES
9801 if test -z "$defaultval"; then
9802 if test x
"$enablestring" = xdisable
; then
9809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9811 # Check whether --enable-calendar was given.
9812 if test "${enable_calendar+set}" = set; then
9813 enableval
=$enable_calendar;
9814 if test "$enableval" = yes; then
9815 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9817 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9822 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9827 eval "$wx_cv_use_calendar"
9829 if test x"$enablestring" = xdisable; then
9830 if test $wxUSE_CALCTRL = yes; then
9836 result=$wxUSE_CALCTRL
9839 { echo "$as_me:$LINENO: result: $result" >&5
9840 echo "${ECHO_T}$result" >&6; }
9844 defaultval=$wxUSE_ALL_FEATURES
9845 if test -z "$defaultval"; then
9846 if test x"$enablestring" = xdisable; then
9853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9854 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9855 # Check whether --enable-caret was given.
9856 if test "${enable_caret+set}" = set; then
9857 enableval=$enable_caret;
9858 if test "$enableval" = yes; then
9859 wx_cv_use_caret='wxUSE_CARET
=yes'
9861 wx_cv_use_caret='wxUSE_CARET
=no
'
9866 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9871 eval "$wx_cv_use_caret"
9873 if test x"$enablestring" = xdisable; then
9874 if test $wxUSE_CARET = yes; then
9883 { echo "$as_me:$LINENO: result
: $result" >&5
9884 echo "${ECHO_T}$result" >&6; }
9888 defaultval=$wxUSE_ALL_FEATURES
9889 if test -z "$defaultval"; then
9890 if test x"$enablestring" = xdisable; then
9897 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9898 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9899 # Check whether --enable-checkbox was given.
9900 if test "${enable_checkbox+set}" = set; then
9901 enableval=$enable_checkbox;
9902 if test "$enableval" = yes; then
9903 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9905 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9910 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9915 eval "$wx_cv_use_checkbox"
9917 if test x
"$enablestring" = xdisable
; then
9918 if test $wxUSE_CHECKBOX = yes; then
9924 result
=$wxUSE_CHECKBOX
9927 { echo "$as_me:$LINENO: result: $result" >&5
9928 echo "${ECHO_T}$result" >&6; }
9932 defaultval
=$wxUSE_ALL_FEATURES
9933 if test -z "$defaultval"; then
9934 if test x
"$enablestring" = xdisable
; then
9941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9942 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9943 # Check whether --enable-checklst was given.
9944 if test "${enable_checklst+set}" = set; then
9945 enableval
=$enable_checklst;
9946 if test "$enableval" = yes; then
9947 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9949 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9954 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9959 eval "$wx_cv_use_checklst"
9961 if test x"$enablestring" = xdisable; then
9962 if test $wxUSE_CHECKLST = yes; then
9968 result=$wxUSE_CHECKLST
9971 { echo "$as_me:$LINENO: result: $result" >&5
9972 echo "${ECHO_T}$result" >&6; }
9976 defaultval=$wxUSE_ALL_FEATURES
9977 if test -z "$defaultval"; then
9978 if test x"$enablestring" = xdisable; then
9985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9986 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9987 # Check whether --enable-choice was given.
9988 if test "${enable_choice+set}" = set; then
9989 enableval=$enable_choice;
9990 if test "$enableval" = yes; then
9991 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9993 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9998 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10003 eval "$wx_cv_use_choice"
10005 if test x"$enablestring" = xdisable; then
10006 if test $wxUSE_CHOICE = yes; then
10012 result=$wxUSE_CHOICE
10015 { echo "$as_me:$LINENO: result
: $result" >&5
10016 echo "${ECHO_T}$result" >&6; }
10020 defaultval=$wxUSE_ALL_FEATURES
10021 if test -z "$defaultval"; then
10022 if test x"$enablestring" = xdisable; then
10029 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10030 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10031 # Check whether --enable-choicebook was given.
10032 if test "${enable_choicebook+set}" = set; then
10033 enableval=$enable_choicebook;
10034 if test "$enableval" = yes; then
10035 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10037 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10042 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10047 eval "$wx_cv_use_choicebook"
10049 if test x
"$enablestring" = xdisable
; then
10050 if test $wxUSE_CHOICEBOOK = yes; then
10056 result
=$wxUSE_CHOICEBOOK
10059 { echo "$as_me:$LINENO: result: $result" >&5
10060 echo "${ECHO_T}$result" >&6; }
10064 defaultval
=$wxUSE_ALL_FEATURES
10065 if test -z "$defaultval"; then
10066 if test x
"$enablestring" = xdisable
; then
10073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10075 # Check whether --enable-collpane was given.
10076 if test "${enable_collpane+set}" = set; then
10077 enableval
=$enable_collpane;
10078 if test "$enableval" = yes; then
10079 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10081 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10086 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10091 eval "$wx_cv_use_collpane"
10093 if test x"$enablestring" = xdisable; then
10094 if test $wxUSE_COLLPANE = yes; then
10100 result=$wxUSE_COLLPANE
10103 { echo "$as_me:$LINENO: result: $result" >&5
10104 echo "${ECHO_T}$result" >&6; }
10108 defaultval=$wxUSE_ALL_FEATURES
10109 if test -z "$defaultval"; then
10110 if test x"$enablestring" = xdisable; then
10117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10118 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10119 # Check whether --enable-colourpicker was given.
10120 if test "${enable_colourpicker+set}" = set; then
10121 enableval=$enable_colourpicker;
10122 if test "$enableval" = yes; then
10123 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10125 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10130 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10135 eval "$wx_cv_use_colourpicker"
10137 if test x"$enablestring" = xdisable; then
10138 if test $wxUSE_COLOURPICKERCTRL = yes; then
10144 result=$wxUSE_COLOURPICKERCTRL
10147 { echo "$as_me:$LINENO: result
: $result" >&5
10148 echo "${ECHO_T}$result" >&6; }
10152 defaultval=$wxUSE_ALL_FEATURES
10153 if test -z "$defaultval"; then
10154 if test x"$enablestring" = xdisable; then
10161 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10162 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10163 # Check whether --enable-combobox was given.
10164 if test "${enable_combobox+set}" = set; then
10165 enableval=$enable_combobox;
10166 if test "$enableval" = yes; then
10167 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10169 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10174 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10179 eval "$wx_cv_use_combobox"
10181 if test x
"$enablestring" = xdisable
; then
10182 if test $wxUSE_COMBOBOX = yes; then
10188 result
=$wxUSE_COMBOBOX
10191 { echo "$as_me:$LINENO: result: $result" >&5
10192 echo "${ECHO_T}$result" >&6; }
10196 defaultval
=$wxUSE_ALL_FEATURES
10197 if test -z "$defaultval"; then
10198 if test x
"$enablestring" = xdisable
; then
10205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10206 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10207 # Check whether --enable-comboctrl was given.
10208 if test "${enable_comboctrl+set}" = set; then
10209 enableval
=$enable_comboctrl;
10210 if test "$enableval" = yes; then
10211 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10213 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10218 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10223 eval "$wx_cv_use_comboctrl"
10225 if test x"$enablestring" = xdisable; then
10226 if test $wxUSE_COMBOCTRL = yes; then
10232 result=$wxUSE_COMBOCTRL
10235 { echo "$as_me:$LINENO: result: $result" >&5
10236 echo "${ECHO_T}$result" >&6; }
10240 defaultval=$wxUSE_ALL_FEATURES
10241 if test -z "$defaultval"; then
10242 if test x"$enablestring" = xdisable; then
10249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10250 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10251 # Check whether --enable-datepick was given.
10252 if test "${enable_datepick+set}" = set; then
10253 enableval=$enable_datepick;
10254 if test "$enableval" = yes; then
10255 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10257 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10262 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10267 eval "$wx_cv_use_datepick"
10269 if test x"$enablestring" = xdisable; then
10270 if test $wxUSE_DATEPICKCTRL = yes; then
10276 result=$wxUSE_DATEPICKCTRL
10279 { echo "$as_me:$LINENO: result
: $result" >&5
10280 echo "${ECHO_T}$result" >&6; }
10284 defaultval=$wxUSE_ALL_FEATURES
10285 if test -z "$defaultval"; then
10286 if test x"$enablestring" = xdisable; then
10293 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10294 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10295 # Check whether --enable-dirpicker was given.
10296 if test "${enable_dirpicker+set}" = set; then
10297 enableval=$enable_dirpicker;
10298 if test "$enableval" = yes; then
10299 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10301 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10306 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10311 eval "$wx_cv_use_dirpicker"
10313 if test x
"$enablestring" = xdisable
; then
10314 if test $wxUSE_DIRPICKERCTRL = yes; then
10320 result
=$wxUSE_DIRPICKERCTRL
10323 { echo "$as_me:$LINENO: result: $result" >&5
10324 echo "${ECHO_T}$result" >&6; }
10328 defaultval
=$wxUSE_ALL_FEATURES
10329 if test -z "$defaultval"; then
10330 if test x
"$enablestring" = xdisable
; then
10337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10338 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10339 # Check whether --enable-display was given.
10340 if test "${enable_display+set}" = set; then
10341 enableval
=$enable_display;
10342 if test "$enableval" = yes; then
10343 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10345 wx_cv_use_display
='wxUSE_DISPLAY=no'
10350 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10355 eval "$wx_cv_use_display"
10357 if test x"$enablestring" = xdisable; then
10358 if test $wxUSE_DISPLAY = yes; then
10364 result=$wxUSE_DISPLAY
10367 { echo "$as_me:$LINENO: result: $result" >&5
10368 echo "${ECHO_T}$result" >&6; }
10372 defaultval=$wxUSE_ALL_FEATURES
10373 if test -z "$defaultval"; then
10374 if test x"$enablestring" = xdisable; then
10381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10382 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10383 # Check whether --enable-detect_sm was given.
10384 if test "${enable_detect_sm+set}" = set; then
10385 enableval=$enable_detect_sm;
10386 if test "$enableval" = yes; then
10387 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10389 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10394 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10399 eval "$wx_cv_use_detect_sm"
10401 if test x"$enablestring" = xdisable; then
10402 if test $wxUSE_DETECT_SM = yes; then
10408 result=$wxUSE_DETECT_SM
10411 { echo "$as_me:$LINENO: result
: $result" >&5
10412 echo "${ECHO_T}$result" >&6; }
10416 defaultval=$wxUSE_ALL_FEATURES
10417 if test -z "$defaultval"; then
10418 if test x"$enablestring" = xdisable; then
10425 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10426 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10427 # Check whether --enable-editablebox was given.
10428 if test "${enable_editablebox+set}" = set; then
10429 enableval=$enable_editablebox;
10430 if test "$enableval" = yes; then
10431 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10433 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10438 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10443 eval "$wx_cv_use_editablebox"
10445 if test x
"$enablestring" = xdisable
; then
10446 if test $wxUSE_EDITABLELISTBOX = yes; then
10452 result
=$wxUSE_EDITABLELISTBOX
10455 { echo "$as_me:$LINENO: result: $result" >&5
10456 echo "${ECHO_T}$result" >&6; }
10460 defaultval
=$wxUSE_ALL_FEATURES
10461 if test -z "$defaultval"; then
10462 if test x
"$enablestring" = xdisable
; then
10469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10470 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10471 # Check whether --enable-filepicker was given.
10472 if test "${enable_filepicker+set}" = set; then
10473 enableval
=$enable_filepicker;
10474 if test "$enableval" = yes; then
10475 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10477 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10482 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10487 eval "$wx_cv_use_filepicker"
10489 if test x"$enablestring" = xdisable; then
10490 if test $wxUSE_FILEPICKERCTRL = yes; then
10496 result=$wxUSE_FILEPICKERCTRL
10499 { echo "$as_me:$LINENO: result: $result" >&5
10500 echo "${ECHO_T}$result" >&6; }
10504 defaultval=$wxUSE_ALL_FEATURES
10505 if test -z "$defaultval"; then
10506 if test x"$enablestring" = xdisable; then
10513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10514 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10515 # Check whether --enable-filectrl was given.
10516 if test "${enable_filectrl+set}" = set; then
10517 enableval=$enable_filectrl;
10518 if test "$enableval" = yes; then
10519 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10521 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10526 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10531 eval "$wx_cv_use_filectrl"
10533 if test x"$enablestring" = xdisable; then
10534 if test $wxUSE_FILECTRL = yes; then
10540 result=$wxUSE_FILECTRL
10543 { echo "$as_me:$LINENO: result
: $result" >&5
10544 echo "${ECHO_T}$result" >&6; }
10548 defaultval=$wxUSE_ALL_FEATURES
10549 if test -z "$defaultval"; then
10550 if test x"$enablestring" = xdisable; then
10557 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10558 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10559 # Check whether --enable-fontpicker was given.
10560 if test "${enable_fontpicker+set}" = set; then
10561 enableval=$enable_fontpicker;
10562 if test "$enableval" = yes; then
10563 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10565 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10570 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10575 eval "$wx_cv_use_fontpicker"
10577 if test x
"$enablestring" = xdisable
; then
10578 if test $wxUSE_FONTPICKERCTRL = yes; then
10584 result
=$wxUSE_FONTPICKERCTRL
10587 { echo "$as_me:$LINENO: result: $result" >&5
10588 echo "${ECHO_T}$result" >&6; }
10592 defaultval
=$wxUSE_ALL_FEATURES
10593 if test -z "$defaultval"; then
10594 if test x
"$enablestring" = xdisable
; then
10601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10602 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10603 # Check whether --enable-gauge was given.
10604 if test "${enable_gauge+set}" = set; then
10605 enableval
=$enable_gauge;
10606 if test "$enableval" = yes; then
10607 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10609 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10614 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10619 eval "$wx_cv_use_gauge"
10621 if test x"$enablestring" = xdisable; then
10622 if test $wxUSE_GAUGE = yes; then
10628 result=$wxUSE_GAUGE
10631 { echo "$as_me:$LINENO: result: $result" >&5
10632 echo "${ECHO_T}$result" >&6; }
10636 defaultval=$wxUSE_ALL_FEATURES
10637 if test -z "$defaultval"; then
10638 if test x"$enablestring" = xdisable; then
10645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10646 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10647 # Check whether --enable-grid was given.
10648 if test "${enable_grid+set}" = set; then
10649 enableval=$enable_grid;
10650 if test "$enableval" = yes; then
10651 wx_cv_use_grid='wxUSE_GRID
=yes'
10653 wx_cv_use_grid='wxUSE_GRID
=no
'
10658 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10663 eval "$wx_cv_use_grid"
10665 if test x"$enablestring" = xdisable; then
10666 if test $wxUSE_GRID = yes; then
10675 { echo "$as_me:$LINENO: result
: $result" >&5
10676 echo "${ECHO_T}$result" >&6; }
10680 defaultval=$wxUSE_ALL_FEATURES
10681 if test -z "$defaultval"; then
10682 if test x"$enablestring" = xdisable; then
10689 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10690 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10691 # Check whether --enable-dataviewctrl was given.
10692 if test "${enable_dataviewctrl+set}" = set; then
10693 enableval=$enable_dataviewctrl;
10694 if test "$enableval" = yes; then
10695 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10697 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10702 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10707 eval "$wx_cv_use_dataviewctrl"
10709 if test x
"$enablestring" = xdisable
; then
10710 if test $wxUSE_DATAVIEWCTRL = yes; then
10716 result
=$wxUSE_DATAVIEWCTRL
10719 { echo "$as_me:$LINENO: result: $result" >&5
10720 echo "${ECHO_T}$result" >&6; }
10724 defaultval
=$wxUSE_ALL_FEATURES
10725 if test -z "$defaultval"; then
10726 if test x
"$enablestring" = xdisable
; then
10733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10734 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10735 # Check whether --enable-hyperlink was given.
10736 if test "${enable_hyperlink+set}" = set; then
10737 enableval
=$enable_hyperlink;
10738 if test "$enableval" = yes; then
10739 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10741 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10746 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10751 eval "$wx_cv_use_hyperlink"
10753 if test x"$enablestring" = xdisable; then
10754 if test $wxUSE_HYPERLINKCTRL = yes; then
10760 result=$wxUSE_HYPERLINKCTRL
10763 { echo "$as_me:$LINENO: result: $result" >&5
10764 echo "${ECHO_T}$result" >&6; }
10768 defaultval=$wxUSE_ALL_FEATURES
10769 if test -z "$defaultval"; then
10770 if test x"$enablestring" = xdisable; then
10777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10778 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10779 # Check whether --enable-imaglist was given.
10780 if test "${enable_imaglist+set}" = set; then
10781 enableval=$enable_imaglist;
10782 if test "$enableval" = yes; then
10783 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10785 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10790 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10795 eval "$wx_cv_use_imaglist"
10797 if test x"$enablestring" = xdisable; then
10798 if test $wxUSE_IMAGLIST = yes; then
10804 result=$wxUSE_IMAGLIST
10807 { echo "$as_me:$LINENO: result
: $result" >&5
10808 echo "${ECHO_T}$result" >&6; }
10812 defaultval=$wxUSE_ALL_FEATURES
10813 if test -z "$defaultval"; then
10814 if test x"$enablestring" = xdisable; then
10821 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
10822 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10823 # Check whether --enable-listbook was given.
10824 if test "${enable_listbook+set}" = set; then
10825 enableval=$enable_listbook;
10826 if test "$enableval" = yes; then
10827 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10829 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10834 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10839 eval "$wx_cv_use_listbook"
10841 if test x
"$enablestring" = xdisable
; then
10842 if test $wxUSE_LISTBOOK = yes; then
10848 result
=$wxUSE_LISTBOOK
10851 { echo "$as_me:$LINENO: result: $result" >&5
10852 echo "${ECHO_T}$result" >&6; }
10856 defaultval
=$wxUSE_ALL_FEATURES
10857 if test -z "$defaultval"; then
10858 if test x
"$enablestring" = xdisable
; then
10865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10866 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10867 # Check whether --enable-listbox was given.
10868 if test "${enable_listbox+set}" = set; then
10869 enableval
=$enable_listbox;
10870 if test "$enableval" = yes; then
10871 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10873 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10878 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10883 eval "$wx_cv_use_listbox"
10885 if test x"$enablestring" = xdisable; then
10886 if test $wxUSE_LISTBOX = yes; then
10892 result=$wxUSE_LISTBOX
10895 { echo "$as_me:$LINENO: result: $result" >&5
10896 echo "${ECHO_T}$result" >&6; }
10900 defaultval=$wxUSE_ALL_FEATURES
10901 if test -z "$defaultval"; then
10902 if test x"$enablestring" = xdisable; then
10909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10910 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10911 # Check whether --enable-listctrl was given.
10912 if test "${enable_listctrl+set}" = set; then
10913 enableval=$enable_listctrl;
10914 if test "$enableval" = yes; then
10915 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10917 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10922 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10927 eval "$wx_cv_use_listctrl"
10929 if test x"$enablestring" = xdisable; then
10930 if test $wxUSE_LISTCTRL = yes; then
10936 result=$wxUSE_LISTCTRL
10939 { echo "$as_me:$LINENO: result
: $result" >&5
10940 echo "${ECHO_T}$result" >&6; }
10944 defaultval=$wxUSE_ALL_FEATURES
10945 if test -z "$defaultval"; then
10946 if test x"$enablestring" = xdisable; then
10953 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
10954 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10955 # Check whether --enable-notebook was given.
10956 if test "${enable_notebook+set}" = set; then
10957 enableval=$enable_notebook;
10958 if test "$enableval" = yes; then
10959 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10961 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10966 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10971 eval "$wx_cv_use_notebook"
10973 if test x
"$enablestring" = xdisable
; then
10974 if test $wxUSE_NOTEBOOK = yes; then
10980 result
=$wxUSE_NOTEBOOK
10983 { echo "$as_me:$LINENO: result: $result" >&5
10984 echo "${ECHO_T}$result" >&6; }
10988 defaultval
=$wxUSE_ALL_FEATURES
10989 if test -z "$defaultval"; then
10990 if test x
"$enablestring" = xdisable
; then
10997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10998 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10999 # Check whether --enable-notifmsg was given.
11000 if test "${enable_notifmsg+set}" = set; then
11001 enableval
=$enable_notifmsg;
11002 if test "$enableval" = yes; then
11003 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
11005 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11010 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11015 eval "$wx_cv_use_notifmsg"
11017 if test x"$enablestring" = xdisable; then
11018 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11024 result=$wxUSE_NOTIFICATION_MESSAGE
11027 { echo "$as_me:$LINENO: result: $result" >&5
11028 echo "${ECHO_T}$result" >&6; }
11032 defaultval=$wxUSE_ALL_FEATURES
11033 if test -z "$defaultval"; then
11034 if test x"$enablestring" = xdisable; then
11041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11042 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11043 # Check whether --enable-odcombobox was given.
11044 if test "${enable_odcombobox+set}" = set; then
11045 enableval=$enable_odcombobox;
11046 if test "$enableval" = yes; then
11047 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11049 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11054 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11059 eval "$wx_cv_use_odcombobox"
11061 if test x"$enablestring" = xdisable; then
11062 if test $wxUSE_ODCOMBOBOX = yes; then
11068 result=$wxUSE_ODCOMBOBOX
11071 { echo "$as_me:$LINENO: result
: $result" >&5
11072 echo "${ECHO_T}$result" >&6; }
11076 defaultval=$wxUSE_ALL_FEATURES
11077 if test -z "$defaultval"; then
11078 if test x"$enablestring" = xdisable; then
11085 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11086 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11087 # Check whether --enable-radiobox was given.
11088 if test "${enable_radiobox+set}" = set; then
11089 enableval=$enable_radiobox;
11090 if test "$enableval" = yes; then
11091 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11093 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11098 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11103 eval "$wx_cv_use_radiobox"
11105 if test x
"$enablestring" = xdisable
; then
11106 if test $wxUSE_RADIOBOX = yes; then
11112 result
=$wxUSE_RADIOBOX
11115 { echo "$as_me:$LINENO: result: $result" >&5
11116 echo "${ECHO_T}$result" >&6; }
11120 defaultval
=$wxUSE_ALL_FEATURES
11121 if test -z "$defaultval"; then
11122 if test x
"$enablestring" = xdisable
; then
11129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11130 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11131 # Check whether --enable-radiobtn was given.
11132 if test "${enable_radiobtn+set}" = set; then
11133 enableval
=$enable_radiobtn;
11134 if test "$enableval" = yes; then
11135 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11137 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11142 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11147 eval "$wx_cv_use_radiobtn"
11149 if test x"$enablestring" = xdisable; then
11150 if test $wxUSE_RADIOBTN = yes; then
11156 result=$wxUSE_RADIOBTN
11159 { echo "$as_me:$LINENO: result: $result" >&5
11160 echo "${ECHO_T}$result" >&6; }
11164 defaultval=$wxUSE_ALL_FEATURES
11165 if test -z "$defaultval"; then
11166 if test x"$enablestring" = xdisable; then
11173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11174 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11175 # Check whether --enable-sash was given.
11176 if test "${enable_sash+set}" = set; then
11177 enableval=$enable_sash;
11178 if test "$enableval" = yes; then
11179 wx_cv_use_sash='wxUSE_SASH
=yes'
11181 wx_cv_use_sash='wxUSE_SASH
=no
'
11186 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11191 eval "$wx_cv_use_sash"
11193 if test x"$enablestring" = xdisable; then
11194 if test $wxUSE_SASH = yes; then
11203 { echo "$as_me:$LINENO: result
: $result" >&5
11204 echo "${ECHO_T}$result" >&6; }
11208 defaultval=$wxUSE_ALL_FEATURES
11209 if test -z "$defaultval"; then
11210 if test x"$enablestring" = xdisable; then
11217 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11218 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11219 # Check whether --enable-scrollbar was given.
11220 if test "${enable_scrollbar+set}" = set; then
11221 enableval=$enable_scrollbar;
11222 if test "$enableval" = yes; then
11223 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11225 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11230 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11235 eval "$wx_cv_use_scrollbar"
11237 if test x
"$enablestring" = xdisable
; then
11238 if test $wxUSE_SCROLLBAR = yes; then
11244 result
=$wxUSE_SCROLLBAR
11247 { echo "$as_me:$LINENO: result: $result" >&5
11248 echo "${ECHO_T}$result" >&6; }
11252 defaultval
=$wxUSE_ALL_FEATURES
11253 if test -z "$defaultval"; then
11254 if test x
"$enablestring" = xdisable
; then
11261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11262 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11263 # Check whether --enable-searchctrl was given.
11264 if test "${enable_searchctrl+set}" = set; then
11265 enableval
=$enable_searchctrl;
11266 if test "$enableval" = yes; then
11267 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11269 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11274 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11279 eval "$wx_cv_use_searchctrl"
11281 if test x"$enablestring" = xdisable; then
11282 if test $wxUSE_SEARCHCTRL = yes; then
11288 result=$wxUSE_SEARCHCTRL
11291 { echo "$as_me:$LINENO: result: $result" >&5
11292 echo "${ECHO_T}$result" >&6; }
11296 defaultval=$wxUSE_ALL_FEATURES
11297 if test -z "$defaultval"; then
11298 if test x"$enablestring" = xdisable; then
11305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11306 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11307 # Check whether --enable-slider was given.
11308 if test "${enable_slider+set}" = set; then
11309 enableval=$enable_slider;
11310 if test "$enableval" = yes; then
11311 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11313 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11318 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11323 eval "$wx_cv_use_slider"
11325 if test x"$enablestring" = xdisable; then
11326 if test $wxUSE_SLIDER = yes; then
11332 result=$wxUSE_SLIDER
11335 { echo "$as_me:$LINENO: result
: $result" >&5
11336 echo "${ECHO_T}$result" >&6; }
11340 defaultval=$wxUSE_ALL_FEATURES
11341 if test -z "$defaultval"; then
11342 if test x"$enablestring" = xdisable; then
11349 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11350 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11351 # Check whether --enable-spinbtn was given.
11352 if test "${enable_spinbtn+set}" = set; then
11353 enableval=$enable_spinbtn;
11354 if test "$enableval" = yes; then
11355 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11357 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11362 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11367 eval "$wx_cv_use_spinbtn"
11369 if test x
"$enablestring" = xdisable
; then
11370 if test $wxUSE_SPINBTN = yes; then
11376 result
=$wxUSE_SPINBTN
11379 { echo "$as_me:$LINENO: result: $result" >&5
11380 echo "${ECHO_T}$result" >&6; }
11384 defaultval
=$wxUSE_ALL_FEATURES
11385 if test -z "$defaultval"; then
11386 if test x
"$enablestring" = xdisable
; then
11393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11394 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11395 # Check whether --enable-spinctrl was given.
11396 if test "${enable_spinctrl+set}" = set; then
11397 enableval
=$enable_spinctrl;
11398 if test "$enableval" = yes; then
11399 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11401 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11406 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11411 eval "$wx_cv_use_spinctrl"
11413 if test x"$enablestring" = xdisable; then
11414 if test $wxUSE_SPINCTRL = yes; then
11420 result=$wxUSE_SPINCTRL
11423 { echo "$as_me:$LINENO: result: $result" >&5
11424 echo "${ECHO_T}$result" >&6; }
11428 defaultval=$wxUSE_ALL_FEATURES
11429 if test -z "$defaultval"; then
11430 if test x"$enablestring" = xdisable; then
11437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11438 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11439 # Check whether --enable-splitter was given.
11440 if test "${enable_splitter+set}" = set; then
11441 enableval=$enable_splitter;
11442 if test "$enableval" = yes; then
11443 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11445 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11450 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11455 eval "$wx_cv_use_splitter"
11457 if test x"$enablestring" = xdisable; then
11458 if test $wxUSE_SPLITTER = yes; then
11464 result=$wxUSE_SPLITTER
11467 { echo "$as_me:$LINENO: result
: $result" >&5
11468 echo "${ECHO_T}$result" >&6; }
11472 defaultval=$wxUSE_ALL_FEATURES
11473 if test -z "$defaultval"; then
11474 if test x"$enablestring" = xdisable; then
11481 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11482 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11483 # Check whether --enable-statbmp was given.
11484 if test "${enable_statbmp+set}" = set; then
11485 enableval=$enable_statbmp;
11486 if test "$enableval" = yes; then
11487 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11489 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11494 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11499 eval "$wx_cv_use_statbmp"
11501 if test x
"$enablestring" = xdisable
; then
11502 if test $wxUSE_STATBMP = yes; then
11508 result
=$wxUSE_STATBMP
11511 { echo "$as_me:$LINENO: result: $result" >&5
11512 echo "${ECHO_T}$result" >&6; }
11516 defaultval
=$wxUSE_ALL_FEATURES
11517 if test -z "$defaultval"; then
11518 if test x
"$enablestring" = xdisable
; then
11525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11526 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11527 # Check whether --enable-statbox was given.
11528 if test "${enable_statbox+set}" = set; then
11529 enableval
=$enable_statbox;
11530 if test "$enableval" = yes; then
11531 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11533 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11538 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11543 eval "$wx_cv_use_statbox"
11545 if test x"$enablestring" = xdisable; then
11546 if test $wxUSE_STATBOX = yes; then
11552 result=$wxUSE_STATBOX
11555 { echo "$as_me:$LINENO: result: $result" >&5
11556 echo "${ECHO_T}$result" >&6; }
11560 defaultval=$wxUSE_ALL_FEATURES
11561 if test -z "$defaultval"; then
11562 if test x"$enablestring" = xdisable; then
11569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11570 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11571 # Check whether --enable-statline was given.
11572 if test "${enable_statline+set}" = set; then
11573 enableval=$enable_statline;
11574 if test "$enableval" = yes; then
11575 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11577 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11582 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11587 eval "$wx_cv_use_statline"
11589 if test x"$enablestring" = xdisable; then
11590 if test $wxUSE_STATLINE = yes; then
11596 result=$wxUSE_STATLINE
11599 { echo "$as_me:$LINENO: result
: $result" >&5
11600 echo "${ECHO_T}$result" >&6; }
11604 defaultval=$wxUSE_ALL_FEATURES
11605 if test -z "$defaultval"; then
11606 if test x"$enablestring" = xdisable; then
11613 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11614 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11615 # Check whether --enable-stattext was given.
11616 if test "${enable_stattext+set}" = set; then
11617 enableval=$enable_stattext;
11618 if test "$enableval" = yes; then
11619 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11621 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11626 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11631 eval "$wx_cv_use_stattext"
11633 if test x
"$enablestring" = xdisable
; then
11634 if test $wxUSE_STATTEXT = yes; then
11640 result
=$wxUSE_STATTEXT
11643 { echo "$as_me:$LINENO: result: $result" >&5
11644 echo "${ECHO_T}$result" >&6; }
11648 defaultval
=$wxUSE_ALL_FEATURES
11649 if test -z "$defaultval"; then
11650 if test x
"$enablestring" = xdisable
; then
11657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11658 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11659 # Check whether --enable-statusbar was given.
11660 if test "${enable_statusbar+set}" = set; then
11661 enableval
=$enable_statusbar;
11662 if test "$enableval" = yes; then
11663 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11665 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11670 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11675 eval "$wx_cv_use_statusbar"
11677 if test x"$enablestring" = xdisable; then
11678 if test $wxUSE_STATUSBAR = yes; then
11684 result=$wxUSE_STATUSBAR
11687 { echo "$as_me:$LINENO: result: $result" >&5
11688 echo "${ECHO_T}$result" >&6; }
11692 defaultval=$wxUSE_ALL_FEATURES
11693 if test -z "$defaultval"; then
11694 if test x"$enablestring" = xdisable; then
11701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11702 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11703 # Check whether --enable-tabdialog was given.
11704 if test "${enable_tabdialog+set}" = set; then
11705 enableval=$enable_tabdialog;
11706 if test "$enableval" = yes; then
11707 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
11709 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
11714 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11719 eval "$wx_cv_use_tabdialog"
11721 if test x"$enablestring" = xdisable; then
11722 if test $wxUSE_TAB_DIALOG = yes; then
11728 result=$wxUSE_TAB_DIALOG
11731 { echo "$as_me:$LINENO: result
: $result" >&5
11732 echo "${ECHO_T}$result" >&6; }
11736 defaultval=$wxUSE_ALL_FEATURES
11737 if test -z "$defaultval"; then
11738 if test x"$enablestring" = xdisable; then
11745 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11746 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11747 # Check whether --enable-taskbaricon was given.
11748 if test "${enable_taskbaricon+set}" = set; then
11749 enableval=$enable_taskbaricon;
11750 if test "$enableval" = yes; then
11751 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11753 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11758 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11763 eval "$wx_cv_use_taskbaricon"
11765 if test x
"$enablestring" = xdisable
; then
11766 if test $wxUSE_TASKBARICON = yes; then
11772 result
=$wxUSE_TASKBARICON
11775 { echo "$as_me:$LINENO: result: $result" >&5
11776 echo "${ECHO_T}$result" >&6; }
11780 defaultval
=$wxUSE_ALL_FEATURES
11781 if test -z "$defaultval"; then
11782 if test x
"$enablestring" = xdisable
; then
11789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11790 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11791 # Check whether --enable-textctrl was given.
11792 if test "${enable_textctrl+set}" = set; then
11793 enableval
=$enable_textctrl;
11794 if test "$enableval" = yes; then
11795 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11797 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11802 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11807 eval "$wx_cv_use_textctrl"
11809 if test x"$enablestring" = xdisable; then
11810 if test $wxUSE_TEXTCTRL = yes; then
11816 result=$wxUSE_TEXTCTRL
11819 { echo "$as_me:$LINENO: result: $result" >&5
11820 echo "${ECHO_T}$result" >&6; }
11824 defaultval=$wxUSE_ALL_FEATURES
11825 if test -z "$defaultval"; then
11826 if test x"$enablestring" = xdisable; then
11833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11834 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11835 # Check whether --enable-togglebtn was given.
11836 if test "${enable_togglebtn+set}" = set; then
11837 enableval=$enable_togglebtn;
11838 if test "$enableval" = yes; then
11839 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
11841 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
11846 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11851 eval "$wx_cv_use_togglebtn"
11853 if test x"$enablestring" = xdisable; then
11854 if test $wxUSE_TOGGLEBTN = yes; then
11860 result=$wxUSE_TOGGLEBTN
11863 { echo "$as_me:$LINENO: result
: $result" >&5
11864 echo "${ECHO_T}$result" >&6; }
11868 defaultval=$wxUSE_ALL_FEATURES
11869 if test -z "$defaultval"; then
11870 if test x"$enablestring" = xdisable; then
11877 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
11878 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
11879 # Check whether --enable-toolbar was given.
11880 if test "${enable_toolbar+set}" = set; then
11881 enableval=$enable_toolbar;
11882 if test "$enableval" = yes; then
11883 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11885 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11890 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11895 eval "$wx_cv_use_toolbar"
11897 if test x
"$enablestring" = xdisable
; then
11898 if test $wxUSE_TOOLBAR = yes; then
11904 result
=$wxUSE_TOOLBAR
11907 { echo "$as_me:$LINENO: result: $result" >&5
11908 echo "${ECHO_T}$result" >&6; }
11912 defaultval
=$wxUSE_ALL_FEATURES
11913 if test -z "$defaultval"; then
11914 if test x
"$enablestring" = xdisable
; then
11921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11922 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11923 # Check whether --enable-tbarnative was given.
11924 if test "${enable_tbarnative+set}" = set; then
11925 enableval
=$enable_tbarnative;
11926 if test "$enableval" = yes; then
11927 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11929 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11934 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11939 eval "$wx_cv_use_tbarnative"
11941 if test x"$enablestring" = xdisable; then
11942 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11948 result=$wxUSE_TOOLBAR_NATIVE
11951 { echo "$as_me:$LINENO: result: $result" >&5
11952 echo "${ECHO_T}$result" >&6; }
11956 defaultval=$wxUSE_ALL_FEATURES
11957 if test -z "$defaultval"; then
11958 if test x"$enablestring" = xdisable; then
11965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11966 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11967 # Check whether --enable-treebook was given.
11968 if test "${enable_treebook+set}" = set; then
11969 enableval=$enable_treebook;
11970 if test "$enableval" = yes; then
11971 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
11973 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
11978 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11983 eval "$wx_cv_use_treebook"
11985 if test x"$enablestring" = xdisable; then
11986 if test $wxUSE_TREEBOOK = yes; then
11992 result=$wxUSE_TREEBOOK
11995 { echo "$as_me:$LINENO: result
: $result" >&5
11996 echo "${ECHO_T}$result" >&6; }
12000 defaultval=$wxUSE_ALL_FEATURES
12001 if test -z "$defaultval"; then
12002 if test x"$enablestring" = xdisable; then
12009 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12010 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12011 # Check whether --enable-toolbook was given.
12012 if test "${enable_toolbook+set}" = set; then
12013 enableval=$enable_toolbook;
12014 if test "$enableval" = yes; then
12015 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12017 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12022 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12027 eval "$wx_cv_use_toolbook"
12029 if test x
"$enablestring" = xdisable
; then
12030 if test $wxUSE_TOOLBOOK = yes; then
12036 result
=$wxUSE_TOOLBOOK
12039 { echo "$as_me:$LINENO: result: $result" >&5
12040 echo "${ECHO_T}$result" >&6; }
12044 defaultval
=$wxUSE_ALL_FEATURES
12045 if test -z "$defaultval"; then
12046 if test x
"$enablestring" = xdisable
; then
12053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12054 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12055 # Check whether --enable-treectrl was given.
12056 if test "${enable_treectrl+set}" = set; then
12057 enableval
=$enable_treectrl;
12058 if test "$enableval" = yes; then
12059 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12061 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12066 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12071 eval "$wx_cv_use_treectrl"
12073 if test x"$enablestring" = xdisable; then
12074 if test $wxUSE_TREECTRL = yes; then
12080 result=$wxUSE_TREECTRL
12083 { echo "$as_me:$LINENO: result: $result" >&5
12084 echo "${ECHO_T}$result" >&6; }
12088 defaultval=$wxUSE_ALL_FEATURES
12089 if test -z "$defaultval"; then
12090 if test x"$enablestring" = xdisable; then
12097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12098 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12099 # Check whether --enable-tipwindow was given.
12100 if test "${enable_tipwindow+set}" = set; then
12101 enableval=$enable_tipwindow;
12102 if test "$enableval" = yes; then
12103 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12105 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12110 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12115 eval "$wx_cv_use_tipwindow"
12117 if test x"$enablestring" = xdisable; then
12118 if test $wxUSE_TIPWINDOW = yes; then
12124 result=$wxUSE_TIPWINDOW
12127 { echo "$as_me:$LINENO: result
: $result" >&5
12128 echo "${ECHO_T}$result" >&6; }
12132 defaultval=$wxUSE_ALL_FEATURES
12133 if test -z "$defaultval"; then
12134 if test x"$enablestring" = xdisable; then
12141 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
12142 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
12143 # Check whether --enable-popupwin was given.
12144 if test "${enable_popupwin+set}" = set; then
12145 enableval=$enable_popupwin;
12146 if test "$enableval" = yes; then
12147 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12149 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12154 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12159 eval "$wx_cv_use_popupwin"
12161 if test x
"$enablestring" = xdisable
; then
12162 if test $wxUSE_POPUPWIN = yes; then
12168 result
=$wxUSE_POPUPWIN
12171 { echo "$as_me:$LINENO: result: $result" >&5
12172 echo "${ECHO_T}$result" >&6; }
12178 defaultval
=$wxUSE_ALL_FEATURES
12179 if test -z "$defaultval"; then
12180 if test x
"$enablestring" = xdisable
; then
12187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12188 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12189 # Check whether --enable-commondlg was given.
12190 if test "${enable_commondlg+set}" = set; then
12191 enableval
=$enable_commondlg;
12192 if test "$enableval" = yes; then
12193 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
12195 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
12200 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12205 eval "$wx_cv_use_commondlg"
12207 if test x"$enablestring" = xdisable; then
12208 if test $wxUSE_COMMONDLGS = yes; then
12214 result=$wxUSE_COMMONDLGS
12217 { echo "$as_me:$LINENO: result: $result" >&5
12218 echo "${ECHO_T}$result" >&6; }
12222 defaultval=$wxUSE_ALL_FEATURES
12223 if test -z "$defaultval"; then
12224 if test x"$enablestring" = xdisable; then
12231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12232 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12233 # Check whether --enable-aboutdlg was given.
12234 if test "${enable_aboutdlg+set}" = set; then
12235 enableval=$enable_aboutdlg;
12236 if test "$enableval" = yes; then
12237 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
12239 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
12244 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12249 eval "$wx_cv_use_aboutdlg"
12251 if test x"$enablestring" = xdisable; then
12252 if test $wxUSE_ABOUTDLG = yes; then
12258 result=$wxUSE_ABOUTDLG
12261 { echo "$as_me:$LINENO: result
: $result" >&5
12262 echo "${ECHO_T}$result" >&6; }
12266 defaultval=$wxUSE_ALL_FEATURES
12267 if test -z "$defaultval"; then
12268 if test x"$enablestring" = xdisable; then
12275 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
12276 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
12277 # Check whether --enable-choicedlg was given.
12278 if test "${enable_choicedlg+set}" = set; then
12279 enableval=$enable_choicedlg;
12280 if test "$enableval" = yes; then
12281 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12283 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12288 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12293 eval "$wx_cv_use_choicedlg"
12295 if test x
"$enablestring" = xdisable
; then
12296 if test $wxUSE_CHOICEDLG = yes; then
12302 result
=$wxUSE_CHOICEDLG
12305 { echo "$as_me:$LINENO: result: $result" >&5
12306 echo "${ECHO_T}$result" >&6; }
12310 defaultval
=$wxUSE_ALL_FEATURES
12311 if test -z "$defaultval"; then
12312 if test x
"$enablestring" = xdisable
; then
12319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12320 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12321 # Check whether --enable-coldlg was given.
12322 if test "${enable_coldlg+set}" = set; then
12323 enableval
=$enable_coldlg;
12324 if test "$enableval" = yes; then
12325 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12327 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12332 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12337 eval "$wx_cv_use_coldlg"
12339 if test x"$enablestring" = xdisable; then
12340 if test $wxUSE_COLOURDLG = yes; then
12346 result=$wxUSE_COLOURDLG
12349 { echo "$as_me:$LINENO: result: $result" >&5
12350 echo "${ECHO_T}$result" >&6; }
12354 defaultval=$wxUSE_ALL_FEATURES
12355 if test -z "$defaultval"; then
12356 if test x"$enablestring" = xdisable; then
12363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12364 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12365 # Check whether --enable-filedlg was given.
12366 if test "${enable_filedlg+set}" = set; then
12367 enableval=$enable_filedlg;
12368 if test "$enableval" = yes; then
12369 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12371 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12376 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12381 eval "$wx_cv_use_filedlg"
12383 if test x"$enablestring" = xdisable; then
12384 if test $wxUSE_FILEDLG = yes; then
12390 result=$wxUSE_FILEDLG
12393 { echo "$as_me:$LINENO: result
: $result" >&5
12394 echo "${ECHO_T}$result" >&6; }
12398 defaultval=$wxUSE_ALL_FEATURES
12399 if test -z "$defaultval"; then
12400 if test x"$enablestring" = xdisable; then
12407 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12408 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12409 # Check whether --enable-finddlg was given.
12410 if test "${enable_finddlg+set}" = set; then
12411 enableval=$enable_finddlg;
12412 if test "$enableval" = yes; then
12413 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12415 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12420 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12425 eval "$wx_cv_use_finddlg"
12427 if test x
"$enablestring" = xdisable
; then
12428 if test $wxUSE_FINDREPLDLG = yes; then
12434 result
=$wxUSE_FINDREPLDLG
12437 { echo "$as_me:$LINENO: result: $result" >&5
12438 echo "${ECHO_T}$result" >&6; }
12442 defaultval
=$wxUSE_ALL_FEATURES
12443 if test -z "$defaultval"; then
12444 if test x
"$enablestring" = xdisable
; then
12451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12452 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12453 # Check whether --enable-fontdlg was given.
12454 if test "${enable_fontdlg+set}" = set; then
12455 enableval
=$enable_fontdlg;
12456 if test "$enableval" = yes; then
12457 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12459 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12464 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12469 eval "$wx_cv_use_fontdlg"
12471 if test x"$enablestring" = xdisable; then
12472 if test $wxUSE_FONTDLG = yes; then
12478 result=$wxUSE_FONTDLG
12481 { echo "$as_me:$LINENO: result: $result" >&5
12482 echo "${ECHO_T}$result" >&6; }
12486 defaultval=$wxUSE_ALL_FEATURES
12487 if test -z "$defaultval"; then
12488 if test x"$enablestring" = xdisable; then
12495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12496 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12497 # Check whether --enable-dirdlg was given.
12498 if test "${enable_dirdlg+set}" = set; then
12499 enableval=$enable_dirdlg;
12500 if test "$enableval" = yes; then
12501 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12503 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12508 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12513 eval "$wx_cv_use_dirdlg"
12515 if test x"$enablestring" = xdisable; then
12516 if test $wxUSE_DIRDLG = yes; then
12522 result=$wxUSE_DIRDLG
12525 { echo "$as_me:$LINENO: result
: $result" >&5
12526 echo "${ECHO_T}$result" >&6; }
12530 defaultval=$wxUSE_ALL_FEATURES
12531 if test -z "$defaultval"; then
12532 if test x"$enablestring" = xdisable; then
12539 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12540 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12541 # Check whether --enable-msgdlg was given.
12542 if test "${enable_msgdlg+set}" = set; then
12543 enableval=$enable_msgdlg;
12544 if test "$enableval" = yes; then
12545 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12547 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12552 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12557 eval "$wx_cv_use_msgdlg"
12559 if test x
"$enablestring" = xdisable
; then
12560 if test $wxUSE_MSGDLG = yes; then
12566 result
=$wxUSE_MSGDLG
12569 { echo "$as_me:$LINENO: result: $result" >&5
12570 echo "${ECHO_T}$result" >&6; }
12574 defaultval
=$wxUSE_ALL_FEATURES
12575 if test -z "$defaultval"; then
12576 if test x
"$enablestring" = xdisable
; then
12583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12584 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12585 # Check whether --enable-numberdlg was given.
12586 if test "${enable_numberdlg+set}" = set; then
12587 enableval
=$enable_numberdlg;
12588 if test "$enableval" = yes; then
12589 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12591 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12596 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12601 eval "$wx_cv_use_numberdlg"
12603 if test x"$enablestring" = xdisable; then
12604 if test $wxUSE_NUMBERDLG = yes; then
12610 result=$wxUSE_NUMBERDLG
12613 { echo "$as_me:$LINENO: result: $result" >&5
12614 echo "${ECHO_T}$result" >&6; }
12618 defaultval=$wxUSE_ALL_FEATURES
12619 if test -z "$defaultval"; then
12620 if test x"$enablestring" = xdisable; then
12627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12628 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12629 # Check whether --enable-splash was given.
12630 if test "${enable_splash+set}" = set; then
12631 enableval=$enable_splash;
12632 if test "$enableval" = yes; then
12633 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12635 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12640 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12645 eval "$wx_cv_use_splash"
12647 if test x"$enablestring" = xdisable; then
12648 if test $wxUSE_SPLASH = yes; then
12654 result=$wxUSE_SPLASH
12657 { echo "$as_me:$LINENO: result
: $result" >&5
12658 echo "${ECHO_T}$result" >&6; }
12662 defaultval=$wxUSE_ALL_FEATURES
12663 if test -z "$defaultval"; then
12664 if test x"$enablestring" = xdisable; then
12671 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12672 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12673 # Check whether --enable-textdlg was given.
12674 if test "${enable_textdlg+set}" = set; then
12675 enableval=$enable_textdlg;
12676 if test "$enableval" = yes; then
12677 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12679 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12684 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12689 eval "$wx_cv_use_textdlg"
12691 if test x
"$enablestring" = xdisable
; then
12692 if test $wxUSE_TEXTDLG = yes; then
12698 result
=$wxUSE_TEXTDLG
12701 { echo "$as_me:$LINENO: result: $result" >&5
12702 echo "${ECHO_T}$result" >&6; }
12706 defaultval
=$wxUSE_ALL_FEATURES
12707 if test -z "$defaultval"; then
12708 if test x
"$enablestring" = xdisable
; then
12715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12716 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12717 # Check whether --enable-tipdlg was given.
12718 if test "${enable_tipdlg+set}" = set; then
12719 enableval
=$enable_tipdlg;
12720 if test "$enableval" = yes; then
12721 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
12723 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
12728 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12733 eval "$wx_cv_use_tipdlg"
12735 if test x"$enablestring" = xdisable; then
12736 if test $wxUSE_STARTUP_TIPS = yes; then
12742 result=$wxUSE_STARTUP_TIPS
12745 { echo "$as_me:$LINENO: result: $result" >&5
12746 echo "${ECHO_T}$result" >&6; }
12750 defaultval=$wxUSE_ALL_FEATURES
12751 if test -z "$defaultval"; then
12752 if test x"$enablestring" = xdisable; then
12759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12760 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12761 # Check whether --enable-progressdlg was given.
12762 if test "${enable_progressdlg+set}" = set; then
12763 enableval=$enable_progressdlg;
12764 if test "$enableval" = yes; then
12765 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
12767 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
12772 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12777 eval "$wx_cv_use_progressdlg"
12779 if test x"$enablestring" = xdisable; then
12780 if test $wxUSE_PROGRESSDLG = yes; then
12786 result=$wxUSE_PROGRESSDLG
12789 { echo "$as_me:$LINENO: result
: $result" >&5
12790 echo "${ECHO_T}$result" >&6; }
12794 defaultval=$wxUSE_ALL_FEATURES
12795 if test -z "$defaultval"; then
12796 if test x"$enablestring" = xdisable; then
12803 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
12804 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
12805 # Check whether --enable-wizarddlg was given.
12806 if test "${enable_wizarddlg+set}" = set; then
12807 enableval=$enable_wizarddlg;
12808 if test "$enableval" = yes; then
12809 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12811 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12816 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12821 eval "$wx_cv_use_wizarddlg"
12823 if test x
"$enablestring" = xdisable
; then
12824 if test $wxUSE_WIZARDDLG = yes; then
12830 result
=$wxUSE_WIZARDDLG
12833 { echo "$as_me:$LINENO: result: $result" >&5
12834 echo "${ECHO_T}$result" >&6; }
12840 defaultval
=$wxUSE_ALL_FEATURES
12841 if test -z "$defaultval"; then
12842 if test x
"$enablestring" = xdisable
; then
12849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12850 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12851 # Check whether --enable-menus was given.
12852 if test "${enable_menus+set}" = set; then
12853 enableval
=$enable_menus;
12854 if test "$enableval" = yes; then
12855 wx_cv_use_menus
='wxUSE_MENUS=yes'
12857 wx_cv_use_menus
='wxUSE_MENUS=no'
12862 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12867 eval "$wx_cv_use_menus"
12869 if test x"$enablestring" = xdisable; then
12870 if test $wxUSE_MENUS = yes; then
12876 result=$wxUSE_MENUS
12879 { echo "$as_me:$LINENO: result: $result" >&5
12880 echo "${ECHO_T}$result" >&6; }
12884 defaultval=$wxUSE_ALL_FEATURES
12885 if test -z "$defaultval"; then
12886 if test x"$enablestring" = xdisable; then
12893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12894 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12895 # Check whether --enable-miniframe was given.
12896 if test "${enable_miniframe+set}" = set; then
12897 enableval=$enable_miniframe;
12898 if test "$enableval" = yes; then
12899 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
12901 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
12906 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12911 eval "$wx_cv_use_miniframe"
12913 if test x"$enablestring" = xdisable; then
12914 if test $wxUSE_MINIFRAME = yes; then
12920 result=$wxUSE_MINIFRAME
12923 { echo "$as_me:$LINENO: result
: $result" >&5
12924 echo "${ECHO_T}$result" >&6; }
12928 defaultval=$wxUSE_ALL_FEATURES
12929 if test -z "$defaultval"; then
12930 if test x"$enablestring" = xdisable; then
12937 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
12938 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
12939 # Check whether --enable-tooltips was given.
12940 if test "${enable_tooltips+set}" = set; then
12941 enableval=$enable_tooltips;
12942 if test "$enableval" = yes; then
12943 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12945 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12950 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12955 eval "$wx_cv_use_tooltips"
12957 if test x
"$enablestring" = xdisable
; then
12958 if test $wxUSE_TOOLTIPS = yes; then
12964 result
=$wxUSE_TOOLTIPS
12967 { echo "$as_me:$LINENO: result: $result" >&5
12968 echo "${ECHO_T}$result" >&6; }
12972 defaultval
=$wxUSE_ALL_FEATURES
12973 if test -z "$defaultval"; then
12974 if test x
"$enablestring" = xdisable
; then
12981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12982 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12983 # Check whether --enable-splines was given.
12984 if test "${enable_splines+set}" = set; then
12985 enableval
=$enable_splines;
12986 if test "$enableval" = yes; then
12987 wx_cv_use_splines
='wxUSE_SPLINES=yes'
12989 wx_cv_use_splines
='wxUSE_SPLINES=no'
12994 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12999 eval "$wx_cv_use_splines"
13001 if test x"$enablestring" = xdisable; then
13002 if test $wxUSE_SPLINES = yes; then
13008 result=$wxUSE_SPLINES
13011 { echo "$as_me:$LINENO: result: $result" >&5
13012 echo "${ECHO_T}$result" >&6; }
13016 defaultval=$wxUSE_ALL_FEATURES
13017 if test -z "$defaultval"; then
13018 if test x"$enablestring" = xdisable; then
13025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13026 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13027 # Check whether --enable-mousewheel was given.
13028 if test "${enable_mousewheel+set}" = set; then
13029 enableval=$enable_mousewheel;
13030 if test "$enableval" = yes; then
13031 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
13033 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
13038 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13043 eval "$wx_cv_use_mousewheel"
13045 if test x"$enablestring" = xdisable; then
13046 if test $wxUSE_MOUSEWHEEL = yes; then
13052 result=$wxUSE_MOUSEWHEEL
13055 { echo "$as_me:$LINENO: result
: $result" >&5
13056 echo "${ECHO_T}$result" >&6; }
13060 defaultval=$wxUSE_ALL_FEATURES
13061 if test -z "$defaultval"; then
13062 if test x"$enablestring" = xdisable; then
13069 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
13070 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
13071 # Check whether --enable-validators was given.
13072 if test "${enable_validators+set}" = set; then
13073 enableval=$enable_validators;
13074 if test "$enableval" = yes; then
13075 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13077 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13082 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13087 eval "$wx_cv_use_validators"
13089 if test x
"$enablestring" = xdisable
; then
13090 if test $wxUSE_VALIDATORS = yes; then
13096 result
=$wxUSE_VALIDATORS
13099 { echo "$as_me:$LINENO: result: $result" >&5
13100 echo "${ECHO_T}$result" >&6; }
13104 defaultval
=$wxUSE_ALL_FEATURES
13105 if test -z "$defaultval"; then
13106 if test x
"$enablestring" = xdisable
; then
13113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13114 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13115 # Check whether --enable-busyinfo was given.
13116 if test "${enable_busyinfo+set}" = set; then
13117 enableval
=$enable_busyinfo;
13118 if test "$enableval" = yes; then
13119 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
13121 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
13126 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13131 eval "$wx_cv_use_busyinfo"
13133 if test x"$enablestring" = xdisable; then
13134 if test $wxUSE_BUSYINFO = yes; then
13140 result=$wxUSE_BUSYINFO
13143 { echo "$as_me:$LINENO: result: $result" >&5
13144 echo "${ECHO_T}$result" >&6; }
13148 defaultval=$wxUSE_ALL_FEATURES
13149 if test -z "$defaultval"; then
13150 if test x"$enablestring" = xdisable; then
13157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13158 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13159 # Check whether --enable-joystick was given.
13160 if test "${enable_joystick+set}" = set; then
13161 enableval=$enable_joystick;
13162 if test "$enableval" = yes; then
13163 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
13165 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
13170 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13175 eval "$wx_cv_use_joystick"
13177 if test x"$enablestring" = xdisable; then
13178 if test $wxUSE_JOYSTICK = yes; then
13184 result=$wxUSE_JOYSTICK
13187 { echo "$as_me:$LINENO: result
: $result" >&5
13188 echo "${ECHO_T}$result" >&6; }
13192 defaultval=$wxUSE_ALL_FEATURES
13193 if test -z "$defaultval"; then
13194 if test x"$enablestring" = xdisable; then
13201 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
13202 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
13203 # Check whether --enable-metafile was given.
13204 if test "${enable_metafile+set}" = set; then
13205 enableval=$enable_metafile;
13206 if test "$enableval" = yes; then
13207 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13209 wx_cv_use_metafile='wxUSE_METAFILE=no'
13214 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13219 eval "$wx_cv_use_metafile"
13221 if test x
"$enablestring" = xdisable
; then
13222 if test $wxUSE_METAFILE = yes; then
13228 result
=$wxUSE_METAFILE
13231 { echo "$as_me:$LINENO: result: $result" >&5
13232 echo "${ECHO_T}$result" >&6; }
13236 defaultval
=$wxUSE_ALL_FEATURES
13237 if test -z "$defaultval"; then
13238 if test x
"$enablestring" = xdisable
; then
13245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13246 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13247 # Check whether --enable-dragimage was given.
13248 if test "${enable_dragimage+set}" = set; then
13249 enableval
=$enable_dragimage;
13250 if test "$enableval" = yes; then
13251 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
13253 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
13258 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13263 eval "$wx_cv_use_dragimage"
13265 if test x"$enablestring" = xdisable; then
13266 if test $wxUSE_DRAGIMAGE = yes; then
13272 result=$wxUSE_DRAGIMAGE
13275 { echo "$as_me:$LINENO: result: $result" >&5
13276 echo "${ECHO_T}$result" >&6; }
13280 defaultval=$wxUSE_ALL_FEATURES
13281 if test -z "$defaultval"; then
13282 if test x"$enablestring" = xdisable; then
13289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13290 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13291 # Check whether --enable-accessibility was given.
13292 if test "${enable_accessibility+set}" = set; then
13293 enableval=$enable_accessibility;
13294 if test "$enableval" = yes; then
13295 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13297 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13302 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13307 eval "$wx_cv_use_accessibility"
13309 if test x"$enablestring" = xdisable; then
13310 if test $wxUSE_ACCESSIBILITY = yes; then
13316 result=$wxUSE_ACCESSIBILITY
13319 { echo "$as_me:$LINENO: result
: $result" >&5
13320 echo "${ECHO_T}$result" >&6; }
13326 defaultval=$wxUSE_ALL_FEATURES
13327 if test -z "$defaultval"; then
13328 if test x"$enablestring" = xdisable; then
13335 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13336 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13337 # Check whether --enable-palette was given.
13338 if test "${enable_palette+set}" = set; then
13339 enableval=$enable_palette;
13340 if test "$enableval" = yes; then
13341 wx_cv_use_palette='wxUSE_PALETTE=yes'
13343 wx_cv_use_palette='wxUSE_PALETTE=no'
13348 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13353 eval "$wx_cv_use_palette"
13355 if test x
"$enablestring" = xdisable
; then
13356 if test $wxUSE_PALETTE = yes; then
13362 result
=$wxUSE_PALETTE
13365 { echo "$as_me:$LINENO: result: $result" >&5
13366 echo "${ECHO_T}$result" >&6; }
13370 defaultval
=$wxUSE_ALL_FEATURES
13371 if test -z "$defaultval"; then
13372 if test x
"$enablestring" = xdisable
; then
13379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13380 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13381 # Check whether --enable-image was given.
13382 if test "${enable_image+set}" = set; then
13383 enableval
=$enable_image;
13384 if test "$enableval" = yes; then
13385 wx_cv_use_image
='wxUSE_IMAGE=yes'
13387 wx_cv_use_image
='wxUSE_IMAGE=no'
13392 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13397 eval "$wx_cv_use_image"
13399 if test x"$enablestring" = xdisable; then
13400 if test $wxUSE_IMAGE = yes; then
13406 result=$wxUSE_IMAGE
13409 { echo "$as_me:$LINENO: result: $result" >&5
13410 echo "${ECHO_T}$result" >&6; }
13414 defaultval=$wxUSE_ALL_FEATURES
13415 if test -z "$defaultval"; then
13416 if test x"$enablestring" = xdisable; then
13423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13424 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13425 # Check whether --enable-gif was given.
13426 if test "${enable_gif+set}" = set; then
13427 enableval=$enable_gif;
13428 if test "$enableval" = yes; then
13429 wx_cv_use_gif='wxUSE_GIF
=yes'
13431 wx_cv_use_gif='wxUSE_GIF
=no
'
13436 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13441 eval "$wx_cv_use_gif"
13443 if test x"$enablestring" = xdisable; then
13444 if test $wxUSE_GIF = yes; then
13453 { echo "$as_me:$LINENO: result
: $result" >&5
13454 echo "${ECHO_T}$result" >&6; }
13458 defaultval=$wxUSE_ALL_FEATURES
13459 if test -z "$defaultval"; then
13460 if test x"$enablestring" = xdisable; then
13467 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
13468 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13469 # Check whether --enable-pcx was given.
13470 if test "${enable_pcx+set}" = set; then
13471 enableval=$enable_pcx;
13472 if test "$enableval" = yes; then
13473 wx_cv_use_pcx='wxUSE_PCX=yes'
13475 wx_cv_use_pcx='wxUSE_PCX=no'
13480 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13485 eval "$wx_cv_use_pcx"
13487 if test x
"$enablestring" = xdisable
; then
13488 if test $wxUSE_PCX = yes; then
13497 { echo "$as_me:$LINENO: result: $result" >&5
13498 echo "${ECHO_T}$result" >&6; }
13502 defaultval
=$wxUSE_ALL_FEATURES
13503 if test -z "$defaultval"; then
13504 if test x
"$enablestring" = xdisable
; then
13511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13512 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13513 # Check whether --enable-tga was given.
13514 if test "${enable_tga+set}" = set; then
13515 enableval
=$enable_tga;
13516 if test "$enableval" = yes; then
13517 wx_cv_use_tga
='wxUSE_TGA=yes'
13519 wx_cv_use_tga
='wxUSE_TGA=no'
13524 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13529 eval "$wx_cv_use_tga"
13531 if test x"$enablestring" = xdisable; then
13532 if test $wxUSE_TGA = yes; then
13541 { echo "$as_me:$LINENO: result: $result" >&5
13542 echo "${ECHO_T}$result" >&6; }
13546 defaultval=$wxUSE_ALL_FEATURES
13547 if test -z "$defaultval"; then
13548 if test x"$enablestring" = xdisable; then
13555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13556 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13557 # Check whether --enable-iff was given.
13558 if test "${enable_iff+set}" = set; then
13559 enableval=$enable_iff;
13560 if test "$enableval" = yes; then
13561 wx_cv_use_iff='wxUSE_IFF
=yes'
13563 wx_cv_use_iff='wxUSE_IFF
=no
'
13568 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13573 eval "$wx_cv_use_iff"
13575 if test x"$enablestring" = xdisable; then
13576 if test $wxUSE_IFF = yes; then
13585 { echo "$as_me:$LINENO: result
: $result" >&5
13586 echo "${ECHO_T}$result" >&6; }
13590 defaultval=$wxUSE_ALL_FEATURES
13591 if test -z "$defaultval"; then
13592 if test x"$enablestring" = xdisable; then
13599 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
13600 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
13601 # Check whether --enable-pnm was given.
13602 if test "${enable_pnm+set}" = set; then
13603 enableval=$enable_pnm;
13604 if test "$enableval" = yes; then
13605 wx_cv_use_pnm='wxUSE_PNM=yes'
13607 wx_cv_use_pnm='wxUSE_PNM=no'
13612 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13617 eval "$wx_cv_use_pnm"
13619 if test x
"$enablestring" = xdisable
; then
13620 if test $wxUSE_PNM = yes; then
13629 { echo "$as_me:$LINENO: result: $result" >&5
13630 echo "${ECHO_T}$result" >&6; }
13634 defaultval
=$wxUSE_ALL_FEATURES
13635 if test -z "$defaultval"; then
13636 if test x
"$enablestring" = xdisable
; then
13643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13644 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13645 # Check whether --enable-xpm was given.
13646 if test "${enable_xpm+set}" = set; then
13647 enableval
=$enable_xpm;
13648 if test "$enableval" = yes; then
13649 wx_cv_use_xpm
='wxUSE_XPM=yes'
13651 wx_cv_use_xpm
='wxUSE_XPM=no'
13656 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13661 eval "$wx_cv_use_xpm"
13663 if test x"$enablestring" = xdisable; then
13664 if test $wxUSE_XPM = yes; then
13673 { echo "$as_me:$LINENO: result: $result" >&5
13674 echo "${ECHO_T}$result" >&6; }
13678 defaultval=$wxUSE_ALL_FEATURES
13679 if test -z "$defaultval"; then
13680 if test x"$enablestring" = xdisable; then
13687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13688 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13689 # Check whether --enable-ico_cur was given.
13690 if test "${enable_ico_cur+set}" = set; then
13691 enableval=$enable_ico_cur;
13692 if test "$enableval" = yes; then
13693 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
13695 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
13700 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13705 eval "$wx_cv_use_ico_cur"
13707 if test x"$enablestring" = xdisable; then
13708 if test $wxUSE_ICO_CUR = yes; then
13714 result=$wxUSE_ICO_CUR
13717 { echo "$as_me:$LINENO: result
: $result" >&5
13718 echo "${ECHO_T}$result" >&6; }
13724 defaultval=$wxUSE_ALL_FEATURES
13725 if test -z "$defaultval"; then
13726 if test x"$enablestring" = xdisable; then
13733 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
13734 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
13735 # Check whether --enable-dccache was given.
13736 if test "${enable_dccache+set}" = set; then
13737 enableval=$enable_dccache;
13738 if test "$enableval" = yes; then
13739 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13741 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13746 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13751 eval "$wx_cv_use_dccache"
13753 if test x
"$enablestring" = xdisable
; then
13754 if test $wxUSE_DC_CACHEING = yes; then
13760 result
=$wxUSE_DC_CACHEING
13763 { echo "$as_me:$LINENO: result: $result" >&5
13764 echo "${ECHO_T}$result" >&6; }
13768 defaultval
=$wxUSE_ALL_FEATURES
13769 if test -z "$defaultval"; then
13770 if test x
"$enablestring" = xdisable
; then
13777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13778 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13779 # Check whether --enable-ps-in-msw was given.
13780 if test "${enable_ps_in_msw+set}" = set; then
13781 enableval
=$enable_ps_in_msw;
13782 if test "$enableval" = yes; then
13783 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13785 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13790 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13795 eval "$wx_cv_use_ps_in_msw"
13797 if test x"$enablestring" = xdisable; then
13798 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13804 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13807 { echo "$as_me:$LINENO: result: $result" >&5
13808 echo "${ECHO_T}$result" >&6; }
13812 defaultval=$wxUSE_ALL_FEATURES
13813 if test -z "$defaultval"; then
13814 if test x"$enablestring" = xdisable; then
13821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13822 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13823 # Check whether --enable-ownerdrawn was given.
13824 if test "${enable_ownerdrawn+set}" = set; then
13825 enableval=$enable_ownerdrawn;
13826 if test "$enableval" = yes; then
13827 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
13829 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
13834 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13839 eval "$wx_cv_use_ownerdrawn"
13841 if test x"$enablestring" = xdisable; then
13842 if test $wxUSE_OWNER_DRAWN = yes; then
13848 result=$wxUSE_OWNER_DRAWN
13851 { echo "$as_me:$LINENO: result
: $result" >&5
13852 echo "${ECHO_T}$result" >&6; }
13856 defaultval=$wxUSE_ALL_FEATURES
13857 if test -z "$defaultval"; then
13858 if test x"$enablestring" = xdisable; then
13865 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
13866 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
13867 # Check whether --enable-uxtheme was given.
13868 if test "${enable_uxtheme+set}" = set; then
13869 enableval=$enable_uxtheme;
13870 if test "$enableval" = yes; then
13871 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13873 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13878 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13883 eval "$wx_cv_use_uxtheme"
13885 if test x
"$enablestring" = xdisable
; then
13886 if test $wxUSE_UXTHEME = yes; then
13892 result
=$wxUSE_UXTHEME
13895 { echo "$as_me:$LINENO: result: $result" >&5
13896 echo "${ECHO_T}$result" >&6; }
13900 defaultval
=$wxUSE_ALL_FEATURES
13901 if test -z "$defaultval"; then
13902 if test x
"$enablestring" = xdisable
; then
13909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13910 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13911 # Check whether --enable-wxdib was given.
13912 if test "${enable_wxdib+set}" = set; then
13913 enableval
=$enable_wxdib;
13914 if test "$enableval" = yes; then
13915 wx_cv_use_wxdib
='wxUSE_DIB=yes'
13917 wx_cv_use_wxdib
='wxUSE_DIB=no'
13922 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13927 eval "$wx_cv_use_wxdib"
13929 if test x"$enablestring" = xdisable; then
13930 if test $wxUSE_DIB = yes; then
13939 { echo "$as_me:$LINENO: result: $result" >&5
13940 echo "${ECHO_T}$result" >&6; }
13943 if test "$wxUSE_MSW" != 1; then
13944 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13949 defaultval=$wxUSE_ALL_FEATURES
13950 if test -z "$defaultval"; then
13951 if test x"$enablestring" = xdisable; then
13958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13959 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13960 # Check whether --enable-autoidman was given.
13961 if test "${enable_autoidman+set}" = set; then
13962 enableval=$enable_autoidman;
13963 if test "$enableval" = yes; then
13964 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
13966 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
13971 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13976 eval "$wx_cv_use_autoidman"
13978 if test x"$enablestring" = xdisable; then
13979 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13985 result=$wxUSE_AUTOID_MANAGEMENT
13988 { echo "$as_me:$LINENO: result
: $result" >&5
13989 echo "${ECHO_T}$result" >&6; }
13995 cat >confcache <<\_ACEOF
13996 # This file is a shell script that caches the results of configure
13997 # tests run on this system so they can be shared between configure
13998 # scripts and configure runs, see configure's option --config-cache.
13999 # It is not useful on other systems. If it contains results you don't
14000 # want to keep, you may remove or edit it.
14002 # config.status only pays attention to the cache file if you give it
14003 # the --recheck option to rerun configure.
14005 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14006 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14007 # following values.
14011 # The following way of writing the cache mishandles newlines in values,
14012 # but we know of no workaround that is simple, portable, and efficient.
14013 # So, we kill variables containing newlines.
14014 # Ultrix sh set writes to stderr and can't be redirected directly,
14015 # and sets the high bit in the cache file unless we assign to the vars.
14017 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14018 eval ac_val=\$$ac_var
14022 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
14023 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
14026 _ | IFS | as_nl) ;; #(
14027 *) $as_unset $ac_var ;;
14033 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14034 *${as_nl}ac_space=\ *)
14035 # `set' does not quote correctly, so add quotes (double-quote
14036 # substitution turns \\\\ into \\, and sed turns \\ into \).
14039 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14042 # `set' quotes correctly as required by POSIX, so do not add quotes.
14043 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14052 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14054 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14056 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14057 if test -w "$cache_file"; then
14058 test "x
$cache_file" != "x
/dev
/null
" &&
14059 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
14060 echo "$as_me: updating cache
$cache_file" >&6;}
14061 cat confcache >$cache_file
14063 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
14064 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14074 ac_cpp='$CPP $CPPFLAGS'
14075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14078 if test -n "$ac_tool_prefix"; then
14079 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
14080 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14081 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14082 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14083 if test "${ac_cv_prog_CC+set}" = set; then
14084 echo $ECHO_N "(cached
) $ECHO_C" >&6
14086 if test -n "$CC"; then
14087 ac_cv_prog_CC="$CC" # Let the user override the test.
14089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14090 for as_dir in $PATH
14093 test -z "$as_dir" && as_dir=.
14094 for ac_exec_ext in '' $ac_executable_extensions; do
14095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14096 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
14097 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14107 if test -n "$CC"; then
14108 { echo "$as_me:$LINENO: result
: $CC" >&5
14109 echo "${ECHO_T}$CC" >&6; }
14111 { echo "$as_me:$LINENO: result
: no
" >&5
14112 echo "${ECHO_T}no
" >&6; }
14117 if test -z "$ac_cv_prog_CC"; then
14119 # Extract the first word of "gcc
", so it can be a program name with args.
14120 set dummy gcc; ac_word=$2
14121 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14122 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14123 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14124 echo $ECHO_N "(cached
) $ECHO_C" >&6
14126 if test -n "$ac_ct_CC"; then
14127 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14130 for as_dir in $PATH
14133 test -z "$as_dir" && as_dir=.
14134 for ac_exec_ext in '' $ac_executable_extensions; do
14135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14136 ac_cv_prog_ac_ct_CC="gcc
"
14137 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14146 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14147 if test -n "$ac_ct_CC"; then
14148 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14149 echo "${ECHO_T}$ac_ct_CC" >&6; }
14151 { echo "$as_me:$LINENO: result
: no
" >&5
14152 echo "${ECHO_T}no
" >&6; }
14155 if test "x
$ac_ct_CC" = x; then
14158 case $cross_compiling:$ac_tool_warned in
14160 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14161 whose name does not start with the
host triplet. If you think this
14162 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14163 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14164 whose name does not start with the
host triplet. If you think this
14165 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14166 ac_tool_warned=yes ;;
14171 CC="$ac_cv_prog_CC"
14174 if test -z "$CC"; then
14175 if test -n "$ac_tool_prefix"; then
14176 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
14177 set dummy ${ac_tool_prefix}cc; ac_word=$2
14178 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14179 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14180 if test "${ac_cv_prog_CC+set}" = set; then
14181 echo $ECHO_N "(cached
) $ECHO_C" >&6
14183 if test -n "$CC"; then
14184 ac_cv_prog_CC="$CC" # Let the user override the test.
14186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14187 for as_dir in $PATH
14190 test -z "$as_dir" && as_dir=.
14191 for ac_exec_ext in '' $ac_executable_extensions; do
14192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14193 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14194 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14204 if test -n "$CC"; then
14205 { echo "$as_me:$LINENO: result
: $CC" >&5
14206 echo "${ECHO_T}$CC" >&6; }
14208 { echo "$as_me:$LINENO: result
: no
" >&5
14209 echo "${ECHO_T}no
" >&6; }
14215 if test -z "$CC"; then
14216 # Extract the first word of "cc
", so it can be a program name with args.
14217 set dummy cc; ac_word=$2
14218 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14219 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14220 if test "${ac_cv_prog_CC+set}" = set; then
14221 echo $ECHO_N "(cached
) $ECHO_C" >&6
14223 if test -n "$CC"; then
14224 ac_cv_prog_CC="$CC" # Let the user override the test.
14226 ac_prog_rejected=no
14227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14228 for as_dir in $PATH
14231 test -z "$as_dir" && as_dir=.
14232 for ac_exec_ext in '' $ac_executable_extensions; do
14233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14234 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14235 ac_prog_rejected=yes
14239 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14246 if test $ac_prog_rejected = yes; then
14247 # We found a bogon in the path, so make sure we never use it.
14248 set dummy $ac_cv_prog_CC
14250 if test $# != 0; then
14251 # We chose a different compiler from the bogus one.
14252 # However, it has the same basename, so the bogon will be chosen
14253 # first if we set CC to just the basename; use the full file name.
14255 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
14261 if test -n "$CC"; then
14262 { echo "$as_me:$LINENO: result
: $CC" >&5
14263 echo "${ECHO_T}$CC" >&6; }
14265 { echo "$as_me:$LINENO: result
: no
" >&5
14266 echo "${ECHO_T}no
" >&6; }
14271 if test -z "$CC"; then
14272 if test -n "$ac_tool_prefix"; then
14273 for ac_prog in cl.exe
14275 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14276 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14277 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14278 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14279 if test "${ac_cv_prog_CC+set}" = set; then
14280 echo $ECHO_N "(cached
) $ECHO_C" >&6
14282 if test -n "$CC"; then
14283 ac_cv_prog_CC="$CC" # Let the user override the test.
14285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14286 for as_dir in $PATH
14289 test -z "$as_dir" && as_dir=.
14290 for ac_exec_ext in '' $ac_executable_extensions; do
14291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14292 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14293 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14303 if test -n "$CC"; then
14304 { echo "$as_me:$LINENO: result
: $CC" >&5
14305 echo "${ECHO_T}$CC" >&6; }
14307 { echo "$as_me:$LINENO: result
: no
" >&5
14308 echo "${ECHO_T}no
" >&6; }
14312 test -n "$CC" && break
14315 if test -z "$CC"; then
14317 for ac_prog in cl.exe
14319 # Extract the first word of "$ac_prog", so it can be a program name with args.
14320 set dummy $ac_prog; ac_word=$2
14321 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14322 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14323 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14324 echo $ECHO_N "(cached
) $ECHO_C" >&6
14326 if test -n "$ac_ct_CC"; then
14327 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14330 for as_dir in $PATH
14333 test -z "$as_dir" && as_dir=.
14334 for ac_exec_ext in '' $ac_executable_extensions; do
14335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14336 ac_cv_prog_ac_ct_CC="$ac_prog"
14337 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14347 if test -n "$ac_ct_CC"; then
14348 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14349 echo "${ECHO_T}$ac_ct_CC" >&6; }
14351 { echo "$as_me:$LINENO: result
: no
" >&5
14352 echo "${ECHO_T}no
" >&6; }
14356 test -n "$ac_ct_CC" && break
14359 if test "x
$ac_ct_CC" = x; then
14362 case $cross_compiling:$ac_tool_warned in
14364 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14365 whose name does not start with the
host triplet. If you think this
14366 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14367 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14368 whose name does not start with the
host triplet. If you think this
14369 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14370 ac_tool_warned=yes ;;
14379 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
14380 See \
`config.log' for more details." >&5
14381 echo "$as_me: error: no acceptable C compiler found in \$PATH
14382 See \`config.log
' for more details." >&2;}
14383 { (exit 1); exit 1; }; }
14385 # Provide some information about the compiler.
14386 echo "$as_me:$LINENO: checking for C compiler version" >&5
14387 ac_compiler=`set X $ac_compile; echo $2`
14388 { (ac_try="$ac_compiler --version >&5"
14389 case "(($ac_try" in
14390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14391 *) ac_try_echo=$ac_try;;
14393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14394 (eval "$ac_compiler --version >&5") 2>&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); }
14398 { (ac_try="$ac_compiler -v >&5"
14399 case "(($ac_try" in
14400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14401 *) ac_try_echo=$ac_try;;
14403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14404 (eval "$ac_compiler -v >&5") 2>&5
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }
14408 { (ac_try="$ac_compiler -V >&5"
14409 case "(($ac_try" in
14410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14411 *) ac_try_echo=$ac_try;;
14413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14414 (eval "$ac_compiler -V >&5") 2>&5
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); }
14419 cat >conftest.$ac_ext <<_ACEOF
14422 cat confdefs.h >>conftest.$ac_ext
14423 cat >>conftest.$ac_ext <<_ACEOF
14424 /* end confdefs.h. */
14434 ac_clean_files_save=$ac_clean_files
14435 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14436 # Try to create an executable without -o first, disregard a.out.
14437 # It will help us diagnose broken compilers, and finding out an intuition
14439 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14440 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14441 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
14443 # List of possible output files, starting from the most likely.
14444 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
14445 # only as a last resort. b.out is created by i960 compilers.
14446 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14448 # The IRIX 6 linker writes into existing files which may not be
14449 # executable, retaining their permissions. Remove them first so a
14450 # subsequent execution test works.
14452 for ac_file
in $ac_files
14455 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14456 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
14461 if { (ac_try
="$ac_link_default"
14462 case "(($ac_try" in
14463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14464 *) ac_try_echo=$ac_try;;
14466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14467 (eval "$ac_link_default") 2>&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; then
14471 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
14472 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
14473 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14474 # so that the user can short-circuit this test for compilers unknown to
14476 for ac_file in $ac_files ''
14478 test -f "$ac_file" || continue
14480 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14483 # We found the default executable, but exeext='' is most
14487 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14489 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14491 # We set ac_cv_exeext here because the later test for it is not
14492 # safe: cross compilers may not add the suffix if given an `-o'
14493 # argument, so we may need to know it at that point already.
14494 # Even if this section looks crufty: it has the advantage of
14495 # actually working.
14501 test "$ac_cv_exeext" = no && ac_cv_exeext=
14507 { echo "$as_me:$LINENO: result: $ac_file" >&5
14508 echo "${ECHO_T}$ac_file" >&6; }
14509 if test -z "$ac_file"; then
14510 echo "$as_me: failed program was:" >&5
14511 sed 's
/^
/| /' conftest.$ac_ext >&5
14513 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14514 See \`config.log' for more details.
" >&5
14515 echo "$as_me: error
: C compiler cannot create executables
14516 See \
`config.log' for more details." >&2;}
14517 { (exit 77); exit 77; }; }
14520 ac_exeext=$ac_cv_exeext
14522 # Check that the compiler produces executables we can run. If not, either
14523 # the compiler is broken, or we cross compile.
14524 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14525 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14526 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14527 # If not cross compiling, check that we can run a simple program.
14528 if test "$cross_compiling" != yes; then
14529 if { ac_try='./$ac_file'
14530 { (case "(($ac_try" in
14531 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14532 *) ac_try_echo
=$ac_try;;
14534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14535 (eval "$ac_try") 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); }; }; then
14541 if test "$cross_compiling" = maybe
; then
14542 cross_compiling
=yes
14544 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14545 If you meant to cross compile, use \`--host'.
14546 See \`config.log' for more details." >&5
14547 echo "$as_me: error: cannot run C compiled programs.
14548 If you meant to cross compile, use \`--host'.
14549 See \`config.log' for more details." >&2;}
14550 { (exit 1); exit 1; }; }
14554 { echo "$as_me:$LINENO: result: yes" >&5
14555 echo "${ECHO_T}yes" >&6; }
14557 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
14558 ac_clean_files
=$ac_clean_files_save
14559 # Check that the compiler produces executables we can run. If not, either
14560 # the compiler is broken, or we cross compile.
14561 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14562 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14563 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14564 echo "${ECHO_T}$cross_compiling" >&6; }
14566 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14567 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14568 if { (ac_try
="$ac_link"
14569 case "(($ac_try" in
14570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14571 *) ac_try_echo=$ac_try;;
14573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14574 (eval "$ac_link") 2>&5
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); }; then
14578 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
14579 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
14580 # work properly (i.e., refer to `conftest.exe'), while it won't with
14582 for ac_file
in conftest.exe conftest conftest.
*; do
14583 test -f "$ac_file" || continue
14585 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14586 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14592 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14593 See \`config.log' for more details." >&5
14594 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14595 See \`config.log' for more details." >&2;}
14596 { (exit 1); exit 1; }; }
14599 rm -f conftest
$ac_cv_exeext
14600 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14601 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14603 rm -f conftest.
$ac_ext
14604 EXEEXT
=$ac_cv_exeext
14606 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14607 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14608 if test "${ac_cv_objext+set}" = set; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 cat >conftest.
$ac_ext <<_ACEOF
14614 cat confdefs.h
>>conftest.
$ac_ext
14615 cat >>conftest.
$ac_ext <<_ACEOF
14616 /* end confdefs.h. */
14626 rm -f conftest.o conftest.obj
14627 if { (ac_try
="$ac_compile"
14628 case "(($ac_try" in
14629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14630 *) ac_try_echo=$ac_try;;
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_compile") 2>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; then
14637 for ac_file in conftest.o conftest.obj conftest.*; do
14638 test -f "$ac_file" || continue;
14640 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14641 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.$ac_ext >&5
14649 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14650 See \`config.log
' for more details." >&5
14651 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14652 See \`config.log' for more details.
" >&2;}
14653 { (exit 1); exit 1; }; }
14656 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14658 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14659 echo "${ECHO_T}$ac_cv_objext" >&6; }
14660 OBJEXT=$ac_cv_objext
14662 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14663 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14664 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14665 echo $ECHO_N "(cached
) $ECHO_C" >&6
14667 cat >conftest.$ac_ext <<_ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14685 rm -f conftest.$ac_objext
14686 if { (ac_try="$ac_compile"
14687 case "(($ac_try" in
14688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14689 *) ac_try_echo=$ac_try;;
14691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14692 (eval "$ac_compile") 2>conftest.er1
14694 grep -v '^ *+' conftest.er1 >conftest.err
14696 cat conftest.err >&5
14697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14698 (exit $ac_status); } && {
14699 test -z "$ac_c_werror_flag" ||
14700 test ! -s conftest.err
14701 } && test -s conftest.$ac_objext; then
14702 ac_compiler_gnu=yes
14704 echo "$as_me: failed program was
:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14711 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14714 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14715 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14716 GCC=`test $ac_compiler_gnu = yes && echo yes`
14717 ac_test_CFLAGS=${CFLAGS+set}
14718 ac_save_CFLAGS=$CFLAGS
14719 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14720 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14721 if test "${ac_cv_prog_cc_g+set}" = set; then
14722 echo $ECHO_N "(cached
) $ECHO_C" >&6
14724 ac_save_c_werror_flag=$ac_c_werror_flag
14725 ac_c_werror_flag=yes
14728 cat >conftest.$ac_ext <<_ACEOF
14731 cat confdefs.h >>conftest.$ac_ext
14732 cat >>conftest.$ac_ext <<_ACEOF
14733 /* end confdefs.h. */
14743 rm -f conftest.$ac_objext
14744 if { (ac_try="$ac_compile"
14745 case "(($ac_try" in
14746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14747 *) ac_try_echo=$ac_try;;
14749 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14750 (eval "$ac_compile") 2>conftest.er1
14752 grep -v '^ *+' conftest.er1 >conftest.err
14754 cat conftest.err >&5
14755 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14756 (exit $ac_status); } && {
14757 test -z "$ac_c_werror_flag" ||
14758 test ! -s conftest.err
14759 } && test -s conftest.$ac_objext; then
14760 ac_cv_prog_cc_g=yes
14762 echo "$as_me: failed program was
:" >&5
14763 sed 's/^/| /' conftest.$ac_ext >&5
14766 cat >conftest.$ac_ext <<_ACEOF
14769 cat confdefs.h >>conftest.$ac_ext
14770 cat >>conftest.$ac_ext <<_ACEOF
14771 /* end confdefs.h. */
14781 rm -f conftest.$ac_objext
14782 if { (ac_try="$ac_compile"
14783 case "(($ac_try" in
14784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14785 *) ac_try_echo=$ac_try;;
14787 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14788 (eval "$ac_compile") 2>conftest.er1
14790 grep -v '^ *+' conftest.er1 >conftest.err
14792 cat conftest.err >&5
14793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14794 (exit $ac_status); } && {
14795 test -z "$ac_c_werror_flag" ||
14796 test ! -s conftest.err
14797 } && test -s conftest.$ac_objext; then
14800 echo "$as_me: failed program was
:" >&5
14801 sed 's/^/| /' conftest.$ac_ext >&5
14803 ac_c_werror_flag=$ac_save_c_werror_flag
14805 cat >conftest.$ac_ext <<_ACEOF
14808 cat confdefs.h >>conftest.$ac_ext
14809 cat >>conftest.$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14820 rm -f conftest.$ac_objext
14821 if { (ac_try="$ac_compile"
14822 case "(($ac_try" in
14823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14824 *) ac_try_echo=$ac_try;;
14826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14827 (eval "$ac_compile") 2>conftest.er1
14829 grep -v '^ *+' conftest.er1 >conftest.err
14831 cat conftest.err >&5
14832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14833 (exit $ac_status); } && {
14834 test -z "$ac_c_werror_flag" ||
14835 test ! -s conftest.err
14836 } && test -s conftest.$ac_objext; then
14837 ac_cv_prog_cc_g=yes
14839 echo "$as_me: failed program was
:" >&5
14840 sed 's/^/| /' conftest.$ac_ext >&5
14845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14852 ac_c_werror_flag=$ac_save_c_werror_flag
14854 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14855 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14856 if test "$ac_test_CFLAGS" = set; then
14857 CFLAGS=$ac_save_CFLAGS
14858 elif test $ac_cv_prog_cc_g = yes; then
14859 if test "$GCC" = yes; then
14865 if test "$GCC" = yes; then
14871 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14872 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14873 if test "${ac_cv_prog_cc_c89+set}" = set; then
14874 echo $ECHO_N "(cached
) $ECHO_C" >&6
14876 ac_cv_prog_cc_c89=no
14878 cat >conftest.$ac_ext <<_ACEOF
14881 cat confdefs.h >>conftest.$ac_ext
14882 cat >>conftest.$ac_ext <<_ACEOF
14883 /* end confdefs.h. */
14884 #include <stdarg.h>
14886 #include <sys/types.h>
14887 #include <sys/stat.h>
14888 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14889 struct buf { int x; };
14890 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14891 static char *e (p, i)
14897 static char *f (char * (*g) (char **, int), char **p, ...)
14902 s = g (p, va_arg (v,int));
14907 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14908 function prototypes and stuff, but not '\xHH' hex character constants.
14909 These don't provoke an error unfortunately, instead are silently treated
14910 as 'x'. The following induces an error, until -std is added to get
14911 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14912 array size at least. It's necessary to write '\x00'==0 to get something
14913 that's true only with -std. */
14914 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14916 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14917 inside strings and character constants. */
14919 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14921 int test (int i, double x);
14922 struct s1 {int (*f) (int a);};
14923 struct s2 {int (*f) (double a);};
14924 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14930 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14935 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14936 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14938 CC="$ac_save_CC $ac_arg"
14939 rm -f conftest.$ac_objext
14940 if { (ac_try="$ac_compile"
14941 case "(($ac_try" in
14942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14943 *) ac_try_echo=$ac_try;;
14945 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14946 (eval "$ac_compile") 2>conftest.er1
14948 grep -v '^ *+' conftest.er1 >conftest.err
14950 cat conftest.err >&5
14951 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14952 (exit $ac_status); } && {
14953 test -z "$ac_c_werror_flag" ||
14954 test ! -s conftest.err
14955 } && test -s conftest.$ac_objext; then
14956 ac_cv_prog_cc_c89=$ac_arg
14958 echo "$as_me: failed program was
:" >&5
14959 sed 's/^/| /' conftest.$ac_ext >&5
14964 rm -f core conftest.err conftest.$ac_objext
14965 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14967 rm -f conftest.$ac_ext
14972 case "x
$ac_cv_prog_cc_c89" in
14974 { echo "$as_me:$LINENO: result
: none needed
" >&5
14975 echo "${ECHO_T}none needed
" >&6; } ;;
14977 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14978 echo "${ECHO_T}unsupported
" >&6; } ;;
14980 CC="$CC $ac_cv_prog_cc_c89"
14981 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14982 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14987 ac_cpp='$CPP $CPPFLAGS'
14988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14996 ac_cpp='$CPP $CPPFLAGS'
14997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15001 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15002 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15003 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15004 echo $ECHO_N "(cached
) $ECHO_C" >&6
15006 cat >conftest.$ac_ext <<_ACEOF
15009 cat confdefs.h >>conftest.$ac_ext
15010 cat >>conftest.$ac_ext <<_ACEOF
15011 /* end confdefs.h. */
15017 #ifndef __INTEL_COMPILER
15025 rm -f conftest.$ac_objext
15026 if { (ac_try="$ac_compile"
15027 case "(($ac_try" in
15028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15029 *) ac_try_echo=$ac_try;;
15031 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15032 (eval "$ac_compile") 2>conftest.er1
15034 grep -v '^ *+' conftest.er1 >conftest.err
15036 cat conftest.err >&5
15037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15038 (exit $ac_status); } && {
15039 test -z "$ac_c_werror_flag" ||
15040 test ! -s conftest.err
15041 } && test -s conftest.$ac_objext; then
15042 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15044 echo "$as_me: failed program was
:" >&5
15045 sed 's/^/| /' conftest.$ac_ext >&5
15047 bakefile_cv_c_compiler___INTEL_COMPILER=no
15051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15055 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15056 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15057 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15063 ac_cpp='$CPP $CPPFLAGS'
15064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15071 if test "x
$GCC" != "xyes
"; then
15072 if test "xCC
" = "xC
"; then
15073 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15074 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15075 if test "${bakefile_cv_c_exto+set}" = set; then
15076 echo $ECHO_N "(cached
) $ECHO_C" >&6
15078 cat >conftest.$ac_ext <<_ACEOF
15081 cat confdefs.h >>conftest.$ac_ext
15082 cat >>conftest.$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15093 rm -f conftest.$ac_objext conftest.$ac_ext.o
15094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15095 (eval $ac_compile) 2>&5
15097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15098 (exit $ac_status); }; then
15099 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15101 conftest.$ac_ext.o)
15102 bakefile_cv_c_exto="-ext o
"
15109 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15110 See \
`config.log' for more details." >&5
15111 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15112 See \`config.log
' for more details." >&2;}
15113 { (exit 1); exit 1; }; }
15117 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15120 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15121 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15122 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15123 if test "c" = "c"; then
15124 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15126 if test "c" = "cxx"; then
15127 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15131 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15132 unset ac_cv_prog_cc_g
15133 ac_test_CFLAGS=${CFLAGS+set}
15134 ac_save_CFLAGS=$CFLAGS
15135 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15136 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15137 if test "${ac_cv_prog_cc_g+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 ac_save_c_werror_flag=$ac_c_werror_flag
15141 ac_c_werror_flag=yes
15144 cat >conftest.$ac_ext <<_ACEOF
15147 cat confdefs.h >>conftest.$ac_ext
15148 cat >>conftest.$ac_ext <<_ACEOF
15149 /* end confdefs.h. */
15159 rm -f conftest.$ac_objext
15160 if { (ac_try="$ac_compile"
15161 case "(($ac_try" in
15162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15163 *) ac_try_echo=$ac_try;;
15165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15166 (eval "$ac_compile") 2>conftest.er1
15168 grep -v '^
*+' conftest.er1 >conftest.err
15170 cat conftest.err >&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && {
15173 test -z "$ac_c_werror_flag" ||
15174 test ! -s conftest.err
15175 } && test -s conftest.$ac_objext; then
15176 ac_cv_prog_cc_g=yes
15178 echo "$as_me: failed program was:" >&5
15179 sed 's
/^
/| /' conftest.$ac_ext >&5
15182 cat >conftest.$ac_ext <<_ACEOF
15185 cat confdefs.h >>conftest.$ac_ext
15186 cat >>conftest.$ac_ext <<_ACEOF
15187 /* end confdefs.h. */
15197 rm -f conftest.$ac_objext
15198 if { (ac_try="$ac_compile"
15199 case "(($ac_try" in
15200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15201 *) ac_try_echo=$ac_try;;
15203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15204 (eval "$ac_compile") 2>conftest.er1
15206 grep -v '^
*+' conftest.er1 >conftest.err
15208 cat conftest.err >&5
15209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15210 (exit $ac_status); } && {
15211 test -z "$ac_c_werror_flag" ||
15212 test ! -s conftest.err
15213 } && test -s conftest.$ac_objext; then
15216 echo "$as_me: failed program was:" >&5
15217 sed 's
/^
/| /' conftest.$ac_ext >&5
15219 ac_c_werror_flag=$ac_save_c_werror_flag
15221 cat >conftest.$ac_ext <<_ACEOF
15224 cat confdefs.h >>conftest.$ac_ext
15225 cat >>conftest.$ac_ext <<_ACEOF
15226 /* end confdefs.h. */
15236 rm -f conftest.$ac_objext
15237 if { (ac_try="$ac_compile"
15238 case "(($ac_try" in
15239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15240 *) ac_try_echo=$ac_try;;
15242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15243 (eval "$ac_compile") 2>conftest.er1
15245 grep -v '^
*+' conftest.er1 >conftest.err
15247 cat conftest.err >&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); } && {
15250 test -z "$ac_c_werror_flag" ||
15251 test ! -s conftest.err
15252 } && test -s conftest.$ac_objext; then
15253 ac_cv_prog_cc_g=yes
15255 echo "$as_me: failed program was:" >&5
15256 sed 's
/^
/| /' conftest.$ac_ext >&5
15261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15268 ac_c_werror_flag=$ac_save_c_werror_flag
15270 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15271 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15272 if test "$ac_test_CFLAGS" = set; then
15273 CFLAGS=$ac_save_CFLAGS
15274 elif test $ac_cv_prog_cc_g = yes; then
15275 if test "$GCC" = yes; then
15281 if test "$GCC" = yes; then
15295 ac_cpp='$CPP $CPPFLAGS'
15296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15297 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15300 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15301 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15302 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15303 echo $ECHO_N "(cached) $ECHO_C" >&6
15305 cat >conftest.$ac_ext <<_ACEOF
15308 cat confdefs.h >>conftest.$ac_ext
15309 cat >>conftest.$ac_ext <<_ACEOF
15310 /* end confdefs.h. */
15324 rm -f conftest.$ac_objext
15325 if { (ac_try="$ac_compile"
15326 case "(($ac_try" in
15327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15328 *) ac_try_echo=$ac_try;;
15330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15331 (eval "$ac_compile") 2>conftest.er1
15333 grep -v '^
*+' conftest.er1 >conftest.err
15335 cat conftest.err >&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); } && {
15338 test -z "$ac_c_werror_flag" ||
15339 test ! -s conftest.err
15340 } && test -s conftest.$ac_objext; then
15341 bakefile_cv_c_compiler___xlC__=yes
15343 echo "$as_me: failed program was:" >&5
15344 sed 's
/^
/| /' conftest.$ac_ext >&5
15346 bakefile_cv_c_compiler___xlC__=no
15350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15354 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15355 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15356 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15362 ac_cpp='$CPP $CPPFLAGS'
15363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15364 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15375 ac_cpp='$CPP $CPPFLAGS'
15376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15377 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15380 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15381 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15382 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 cat >conftest.$ac_ext <<_ACEOF
15388 cat confdefs.h >>conftest.$ac_ext
15389 cat >>conftest.$ac_ext <<_ACEOF
15390 /* end confdefs.h. */
15404 rm -f conftest.$ac_objext
15405 if { (ac_try="$ac_compile"
15406 case "(($ac_try" in
15407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15408 *) ac_try_echo=$ac_try;;
15410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15411 (eval "$ac_compile") 2>conftest.er1
15413 grep -v '^
*+' conftest.er1 >conftest.err
15415 cat conftest.err >&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } && {
15418 test -z "$ac_c_werror_flag" ||
15419 test ! -s conftest.err
15420 } && test -s conftest.$ac_objext; then
15421 bakefile_cv_c_compiler___MWERKS__=yes
15423 echo "$as_me: failed program was:" >&5
15424 sed 's
/^
/| /' conftest.$ac_ext >&5
15426 bakefile_cv_c_compiler___MWERKS__=no
15430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15434 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15435 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15436 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15442 ac_cpp='$CPP $CPPFLAGS'
15443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15444 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15452 ac_cpp='$CPP $CPPFLAGS'
15453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15454 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15457 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15458 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15459 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15460 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 cat >conftest.$ac_ext <<_ACEOF
15465 cat confdefs.h >>conftest.$ac_ext
15466 cat >>conftest.$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15481 rm -f conftest.$ac_objext
15482 if { (ac_try="$ac_compile"
15483 case "(($ac_try" in
15484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15485 *) ac_try_echo=$ac_try;;
15487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15488 (eval "$ac_compile") 2>conftest.er1
15490 grep -v '^
*+' conftest.er1 >conftest.err
15492 cat conftest.err >&5
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); } && {
15495 test -z "$ac_c_werror_flag" ||
15496 test ! -s conftest.err
15497 } && test -s conftest.$ac_objext; then
15498 bakefile_cv_c_compiler___xlC__=yes
15500 echo "$as_me: failed program was:" >&5
15501 sed 's
/^
/| /' conftest.$ac_ext >&5
15503 bakefile_cv_c_compiler___xlC__=no
15507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15511 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15512 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15513 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15519 ac_cpp='$CPP $CPPFLAGS'
15520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15521 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15534 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15537 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15538 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15539 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 cat >conftest.$ac_ext <<_ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h. */
15553 #ifndef _SGI_COMPILER_VERSION
15561 rm -f conftest.$ac_objext
15562 if { (ac_try="$ac_compile"
15563 case "(($ac_try" in
15564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15565 *) ac_try_echo=$ac_try;;
15567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15568 (eval "$ac_compile") 2>conftest.er1
15570 grep -v '^
*+' conftest.er1 >conftest.err
15572 cat conftest.err >&5
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); } && {
15575 test -z "$ac_c_werror_flag" ||
15576 test ! -s conftest.err
15577 } && test -s conftest.$ac_objext; then
15578 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15580 echo "$as_me: failed program was:" >&5
15581 sed 's
/^
/| /' conftest.$ac_ext >&5
15583 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15591 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15592 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15593 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15599 ac_cpp='$CPP $CPPFLAGS'
15600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15601 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15612 ac_cpp='$CPP $CPPFLAGS'
15613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15614 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15617 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15618 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15619 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15622 cat >conftest.$ac_ext <<_ACEOF
15625 cat confdefs.h >>conftest.$ac_ext
15626 cat >>conftest.$ac_ext <<_ACEOF
15627 /* end confdefs.h. */
15641 rm -f conftest.$ac_objext
15642 if { (ac_try="$ac_compile"
15643 case "(($ac_try" in
15644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15645 *) ac_try_echo=$ac_try;;
15647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15648 (eval "$ac_compile") 2>conftest.er1
15650 grep -v '^
*+' conftest.er1 >conftest.err
15652 cat conftest.err >&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } && {
15655 test -z "$ac_c_werror_flag" ||
15656 test ! -s conftest.err
15657 } && test -s conftest.$ac_objext; then
15658 bakefile_cv_c_compiler___SUNPRO_C=yes
15660 echo "$as_me: failed program was:" >&5
15661 sed 's
/^
/| /' conftest.$ac_ext >&5
15663 bakefile_cv_c_compiler___SUNPRO_C=no
15667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15671 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15672 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15673 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15679 ac_cpp='$CPP $CPPFLAGS'
15680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15681 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15694 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15697 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15698 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15699 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15700 echo $ECHO_N "(cached) $ECHO_C" >&6
15702 cat >conftest.$ac_ext <<_ACEOF
15705 cat confdefs.h >>conftest.$ac_ext
15706 cat >>conftest.$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15721 rm -f conftest.$ac_objext
15722 if { (ac_try="$ac_compile"
15723 case "(($ac_try" in
15724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15725 *) ac_try_echo=$ac_try;;
15727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15728 (eval "$ac_compile") 2>conftest.er1
15730 grep -v '^
*+' conftest.er1 >conftest.err
15732 cat conftest.err >&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); } && {
15735 test -z "$ac_c_werror_flag" ||
15736 test ! -s conftest.err
15737 } && test -s conftest.$ac_objext; then
15738 bakefile_cv_c_compiler___HP_cc=yes
15740 echo "$as_me: failed program was:" >&5
15741 sed 's
/^
/| /' conftest.$ac_ext >&5
15743 bakefile_cv_c_compiler___HP_cc=no
15747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15751 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15752 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15753 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15759 ac_cpp='$CPP $CPPFLAGS'
15760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15761 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15772 ac_cpp='$CPP $CPPFLAGS'
15773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15774 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15777 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15778 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15779 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15780 echo $ECHO_N "(cached) $ECHO_C" >&6
15782 cat >conftest.$ac_ext <<_ACEOF
15785 cat confdefs.h >>conftest.$ac_ext
15786 cat >>conftest.$ac_ext <<_ACEOF
15787 /* end confdefs.h. */
15801 rm -f conftest.$ac_objext
15802 if { (ac_try="$ac_compile"
15803 case "(($ac_try" in
15804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15805 *) ac_try_echo=$ac_try;;
15807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15808 (eval "$ac_compile") 2>conftest.er1
15810 grep -v '^
*+' conftest.er1 >conftest.err
15812 cat conftest.err >&5
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); } && {
15815 test -z "$ac_c_werror_flag" ||
15816 test ! -s conftest.err
15817 } && test -s conftest.$ac_objext; then
15818 bakefile_cv_c_compiler___DECC=yes
15820 echo "$as_me: failed program was:" >&5
15821 sed 's
/^
/| /' conftest.$ac_ext >&5
15823 bakefile_cv_c_compiler___DECC=no
15827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15831 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15832 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15833 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15839 ac_cpp='$CPP $CPPFLAGS'
15840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15841 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15852 ac_cpp='$CPP $CPPFLAGS'
15853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15854 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15857 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15858 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15859 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15860 echo $ECHO_N "(cached) $ECHO_C" >&6
15862 cat >conftest.$ac_ext <<_ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15881 rm -f conftest.$ac_objext
15882 if { (ac_try="$ac_compile"
15883 case "(($ac_try" in
15884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15885 *) ac_try_echo=$ac_try;;
15887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15888 (eval "$ac_compile") 2>conftest.er1
15890 grep -v '^
*+' conftest.er1 >conftest.err
15892 cat conftest.err >&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); } && {
15895 test -z "$ac_c_werror_flag" ||
15896 test ! -s conftest.err
15897 } && test -s conftest.$ac_objext; then
15898 bakefile_cv_c_compiler___SUNPRO_C=yes
15900 echo "$as_me: failed program was:" >&5
15901 sed 's
/^
/| /' conftest.$ac_ext >&5
15903 bakefile_cv_c_compiler___SUNPRO_C=no
15907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15911 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15912 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15913 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15919 ac_cpp='$CPP $CPPFLAGS'
15920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15921 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15933 ac_cpp='$CPP $CPPFLAGS'
15934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15935 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15937 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15938 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15939 # On Suns, sometimes $CPP names a directory.
15940 if test -n "$CPP" && test -d "$CPP"; then
15943 if test -z "$CPP"; then
15944 if test "${ac_cv_prog_CPP+set}" = set; then
15945 echo $ECHO_N "(cached) $ECHO_C" >&6
15947 # Double quotes because CPP needs to be expanded
15948 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15950 ac_preproc_ok=false
15951 for ac_c_preproc_warn_flag in '' yes
15953 # Use a header file that comes with gcc, so configuring glibc
15954 # with a fresh cross-compiler works.
15955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15956 # <limits.h> exists even on freestanding compilers.
15957 # On the NeXT, cc -E runs the code through the compiler's parser
,
15958 # not just through cpp. "Syntax error" is here to catch this case.
15959 cat >conftest.
$ac_ext <<_ACEOF
15962 cat confdefs.h
>>conftest.
$ac_ext
15963 cat >>conftest.
$ac_ext <<_ACEOF
15964 /* end confdefs.h. */
15966 # include <limits.h>
15968 # include <assert.h>
15972 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15973 case "(($ac_try" in
15974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15975 *) ac_try_echo=$ac_try;;
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15980 grep -v '^ *+' conftest.er1 >conftest.err
15982 cat conftest.err >&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } >/dev/null && {
15985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15986 test ! -s conftest.err
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15993 # Broken: fails on valid input.
15997 rm -f conftest.err conftest.$ac_ext
15999 # OK, works on sane cases. Now check whether nonexistent headers
16000 # can be detected and how.
16001 cat >conftest.$ac_ext <<_ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16007 #include <ac_nonexistent.h>
16009 if { (ac_try="$ac_cpp conftest.$ac_ext"
16010 case "(($ac_try" in
16011 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16012 *) ac_try_echo
=$ac_try;;
16014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16017 grep -v '^ *+' conftest.er1
>conftest.err
16019 cat conftest.err
>&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); } >/dev
/null
&& {
16022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16023 test ! -s conftest.err
16025 # Broken: success on invalid input.
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.
$ac_ext >&5
16031 # Passes both tests.
16036 rm -f conftest.err conftest.
$ac_ext
16039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16040 rm -f conftest.err conftest.
$ac_ext
16041 if $ac_preproc_ok; then
16046 ac_cv_prog_CPP
=$CPP
16049 CPP
=$ac_cv_prog_CPP
16051 ac_cv_prog_CPP
=$CPP
16053 { echo "$as_me:$LINENO: result: $CPP" >&5
16054 echo "${ECHO_T}$CPP" >&6; }
16055 ac_preproc_ok
=false
16056 for ac_c_preproc_warn_flag
in '' yes
16058 # Use a header file that comes with gcc, so configuring glibc
16059 # with a fresh cross-compiler works.
16060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16061 # <limits.h> exists even on freestanding compilers.
16062 # On the NeXT, cc -E runs the code through the compiler's parser,
16063 # not just through cpp. "Syntax error" is here to catch this case.
16064 cat >conftest.
$ac_ext <<_ACEOF
16067 cat confdefs.h
>>conftest.
$ac_ext
16068 cat >>conftest.
$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16071 # include <limits.h>
16073 # include <assert.h>
16077 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16078 case "(($ac_try" in
16079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16080 *) ac_try_echo=$ac_try;;
16082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16085 grep -v '^ *+' conftest.er1 >conftest.err
16087 cat conftest.err >&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } >/dev/null && {
16090 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16091 test ! -s conftest.err
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16098 # Broken: fails on valid input.
16102 rm -f conftest.err conftest.$ac_ext
16104 # OK, works on sane cases. Now check whether nonexistent headers
16105 # can be detected and how.
16106 cat >conftest.$ac_ext <<_ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112 #include <ac_nonexistent.h>
16114 if { (ac_try="$ac_cpp conftest.$ac_ext"
16115 case "(($ac_try" in
16116 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16117 *) ac_try_echo
=$ac_try;;
16119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16120 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16122 grep -v '^ *+' conftest.er1
>conftest.err
16124 cat conftest.err
>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); } >/dev
/null
&& {
16127 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16128 test ! -s conftest.err
16130 # Broken: success on invalid input.
16133 echo "$as_me: failed program was:" >&5
16134 sed 's/^/| /' conftest.
$ac_ext >&5
16136 # Passes both tests.
16141 rm -f conftest.err conftest.
$ac_ext
16144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16145 rm -f conftest.err conftest.
$ac_ext
16146 if $ac_preproc_ok; then
16149 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16150 See \`config.log' for more details." >&5
16151 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16152 See \`config.log' for more details." >&2;}
16153 { (exit 1); exit 1; }; }
16157 ac_cpp
='$CPP $CPPFLAGS'
16158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16163 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16164 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16165 if test "${ac_cv_path_GREP+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 # Extract the first word of "grep ggrep" to use in msg output
16169 if test -z "$GREP"; then
16170 set dummy
grep ggrep
; ac_prog_name
=$2
16171 if test "${ac_cv_path_GREP+set}" = set; then
16172 echo $ECHO_N "(cached) $ECHO_C" >&6
16174 ac_path_GREP_found
=false
16175 # Loop through the user's path and test for each of PROGNAME-LIST
16176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16177 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16180 test -z "$as_dir" && as_dir
=.
16181 for ac_prog
in grep ggrep
; do
16182 for ac_exec_ext
in '' $ac_executable_extensions; do
16183 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16184 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16185 # Check for GNU ac_path_GREP and select it if it is found.
16186 # Check for GNU $ac_path_GREP
16187 case `"$ac_path_GREP" --version 2>&1` in
16189 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16192 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16195 cat "conftest.in" "conftest.in" >"conftest.tmp"
16196 mv "conftest.tmp" "conftest.in"
16197 cp "conftest.in" "conftest.nl"
16198 echo 'GREP' >> "conftest.nl"
16199 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16200 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16201 ac_count
=`expr $ac_count + 1`
16202 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16203 # Best one so far, save it but keep looking for a better one
16204 ac_cv_path_GREP
="$ac_path_GREP"
16205 ac_path_GREP_max
=$ac_count
16207 # 10*(2^10) chars as input seems more than enough
16208 test $ac_count -gt 10 && break
16210 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16214 $ac_path_GREP_found && break 3
16224 GREP
="$ac_cv_path_GREP"
16225 if test -z "$GREP"; then
16226 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16227 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16228 { (exit 1); exit 1; }; }
16232 ac_cv_path_GREP
=$GREP
16237 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16238 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16239 GREP
="$ac_cv_path_GREP"
16242 { echo "$as_me:$LINENO: checking for egrep" >&5
16243 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16244 if test "${ac_cv_path_EGREP+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16247 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16248 then ac_cv_path_EGREP
="$GREP -E"
16250 # Extract the first word of "egrep" to use in msg output
16251 if test -z "$EGREP"; then
16252 set dummy
egrep; ac_prog_name
=$2
16253 if test "${ac_cv_path_EGREP+set}" = set; then
16254 echo $ECHO_N "(cached) $ECHO_C" >&6
16256 ac_path_EGREP_found
=false
16257 # Loop through the user's path and test for each of PROGNAME-LIST
16258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16259 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16262 test -z "$as_dir" && as_dir
=.
16263 for ac_prog
in egrep; do
16264 for ac_exec_ext
in '' $ac_executable_extensions; do
16265 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16266 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16267 # Check for GNU ac_path_EGREP and select it if it is found.
16268 # Check for GNU $ac_path_EGREP
16269 case `"$ac_path_EGREP" --version 2>&1` in
16271 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16274 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16277 cat "conftest.in" "conftest.in" >"conftest.tmp"
16278 mv "conftest.tmp" "conftest.in"
16279 cp "conftest.in" "conftest.nl"
16280 echo 'EGREP' >> "conftest.nl"
16281 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16282 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16283 ac_count
=`expr $ac_count + 1`
16284 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16285 # Best one so far, save it but keep looking for a better one
16286 ac_cv_path_EGREP
="$ac_path_EGREP"
16287 ac_path_EGREP_max
=$ac_count
16289 # 10*(2^10) chars as input seems more than enough
16290 test $ac_count -gt 10 && break
16292 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16296 $ac_path_EGREP_found && break 3
16306 EGREP
="$ac_cv_path_EGREP"
16307 if test -z "$EGREP"; then
16308 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16309 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16310 { (exit 1); exit 1; }; }
16314 ac_cv_path_EGREP
=$EGREP
16320 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16321 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16322 EGREP
="$ac_cv_path_EGREP"
16325 if test $ac_cv_c_compiler_gnu = yes; then
16326 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16327 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16328 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 ac_pattern
="Autoconf.*'x'"
16332 cat >conftest.
$ac_ext <<_ACEOF
16335 cat confdefs.h
>>conftest.
$ac_ext
16336 cat >>conftest.
$ac_ext <<_ACEOF
16337 /* end confdefs.h. */
16341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16342 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16343 ac_cv_prog_gcc_traditional
=yes
16345 ac_cv_prog_gcc_traditional
=no
16350 if test $ac_cv_prog_gcc_traditional = no
; then
16351 cat >conftest.
$ac_ext <<_ACEOF
16354 cat confdefs.h
>>conftest.
$ac_ext
16355 cat >>conftest.
$ac_ext <<_ACEOF
16356 /* end confdefs.h. */
16357 #include <termio.h>
16360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16361 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16362 ac_cv_prog_gcc_traditional
=yes
16368 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16369 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16370 if test $ac_cv_prog_gcc_traditional = yes; then
16371 CC
="$CC -traditional"
16376 CXXFLAGS
=${CXXFLAGS:=}
16381 ac_cpp
='$CXXCPP $CPPFLAGS'
16382 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16383 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16384 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16385 if test -z "$CXX"; then
16386 if test -n "$CCC"; then
16389 if test -n "$ac_tool_prefix"; then
16390 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16392 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16393 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16396 if test "${ac_cv_prog_CXX+set}" = set; then
16397 echo $ECHO_N "(cached) $ECHO_C" >&6
16399 if test -n "$CXX"; then
16400 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16403 for as_dir
in $PATH
16406 test -z "$as_dir" && as_dir
=.
16407 for ac_exec_ext
in '' $ac_executable_extensions; do
16408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16409 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16419 CXX
=$ac_cv_prog_CXX
16420 if test -n "$CXX"; then
16421 { echo "$as_me:$LINENO: result: $CXX" >&5
16422 echo "${ECHO_T}$CXX" >&6; }
16424 { echo "$as_me:$LINENO: result: no" >&5
16425 echo "${ECHO_T}no" >&6; }
16429 test -n "$CXX" && break
16432 if test -z "$CXX"; then
16434 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16436 # Extract the first word of "$ac_prog", so it can be a program name with args.
16437 set dummy
$ac_prog; ac_word
=$2
16438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16440 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16441 echo $ECHO_N "(cached) $ECHO_C" >&6
16443 if test -n "$ac_ct_CXX"; then
16444 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16447 for as_dir
in $PATH
16450 test -z "$as_dir" && as_dir
=.
16451 for ac_exec_ext
in '' $ac_executable_extensions; do
16452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16453 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16463 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16464 if test -n "$ac_ct_CXX"; then
16465 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16466 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16468 { echo "$as_me:$LINENO: result: no" >&5
16469 echo "${ECHO_T}no" >&6; }
16473 test -n "$ac_ct_CXX" && break
16476 if test "x$ac_ct_CXX" = x
; then
16479 case $cross_compiling:$ac_tool_warned in
16481 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16482 whose name does not start with the host triplet. If you think this
16483 configuration is useful to you, please write to autoconf@gnu.org." >&5
16484 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16485 whose name does not start with the host triplet. If you think this
16486 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16487 ac_tool_warned
=yes ;;
16495 # Provide some information about the compiler.
16496 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16497 ac_compiler
=`set X $ac_compile; echo $2`
16498 { (ac_try
="$ac_compiler --version >&5"
16499 case "(($ac_try" in
16500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16501 *) ac_try_echo=$ac_try;;
16503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16504 (eval "$ac_compiler --version >&5") 2>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }
16508 { (ac_try="$ac_compiler -v >&5"
16509 case "(($ac_try" in
16510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16511 *) ac_try_echo
=$ac_try;;
16513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16514 (eval "$ac_compiler -v >&5") 2>&5
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); }
16518 { (ac_try
="$ac_compiler -V >&5"
16519 case "(($ac_try" in
16520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16521 *) ac_try_echo=$ac_try;;
16523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16524 (eval "$ac_compiler -V >&5") 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }
16529 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16530 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16531 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16532 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 cat >conftest.$ac_ext <<_ACEOF
16537 cat confdefs.h >>conftest.$ac_ext
16538 cat >>conftest.$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16552 rm -f conftest.$ac_objext
16553 if { (ac_try="$ac_compile"
16554 case "(($ac_try" in
16555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16556 *) ac_try_echo
=$ac_try;;
16558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16559 (eval "$ac_compile") 2>conftest.er1
16561 grep -v '^ *+' conftest.er1
>conftest.err
16563 cat conftest.err
>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } && {
16566 test -z "$ac_cxx_werror_flag" ||
16567 test ! -s conftest.err
16568 } && test -s conftest.
$ac_objext; then
16569 ac_compiler_gnu
=yes
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.
$ac_ext >&5
16577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16578 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16581 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16582 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16583 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16584 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16585 ac_save_CXXFLAGS
=$CXXFLAGS
16586 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16587 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16588 if test "${ac_cv_prog_cxx_g+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16591 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16592 ac_cxx_werror_flag
=yes
16593 ac_cv_prog_cxx_g
=no
16595 cat >conftest.
$ac_ext <<_ACEOF
16598 cat confdefs.h
>>conftest.
$ac_ext
16599 cat >>conftest.
$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16610 rm -f conftest.
$ac_objext
16611 if { (ac_try
="$ac_compile"
16612 case "(($ac_try" in
16613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617 (eval "$ac_compile") 2>conftest.er1
16619 grep -v '^ *+' conftest.er1 >conftest.err
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && {
16624 test -z "$ac_cxx_werror_flag" ||
16625 test ! -s conftest.err
16626 } && test -s conftest.$ac_objext; then
16627 ac_cv_prog_cxx_g=yes
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16633 cat >conftest.$ac_ext <<_ACEOF
16636 cat confdefs.h >>conftest.$ac_ext
16637 cat >>conftest.$ac_ext <<_ACEOF
16638 /* end confdefs.h. */
16648 rm -f conftest.$ac_objext
16649 if { (ac_try="$ac_compile"
16650 case "(($ac_try" in
16651 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16652 *) ac_try_echo
=$ac_try;;
16654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16655 (eval "$ac_compile") 2>conftest.er1
16657 grep -v '^ *+' conftest.er1
>conftest.err
16659 cat conftest.err
>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } && {
16662 test -z "$ac_cxx_werror_flag" ||
16663 test ! -s conftest.err
16664 } && test -s conftest.
$ac_objext; then
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.
$ac_ext >&5
16670 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16672 cat >conftest.
$ac_ext <<_ACEOF
16675 cat confdefs.h
>>conftest.
$ac_ext
16676 cat >>conftest.
$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16687 rm -f conftest.
$ac_objext
16688 if { (ac_try
="$ac_compile"
16689 case "(($ac_try" in
16690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16691 *) ac_try_echo=$ac_try;;
16693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16694 (eval "$ac_compile") 2>conftest.er1
16696 grep -v '^ *+' conftest.er1 >conftest.err
16698 cat conftest.err >&5
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); } && {
16701 test -z "$ac_cxx_werror_flag" ||
16702 test ! -s conftest.err
16703 } && test -s conftest.$ac_objext; then
16704 ac_cv_prog_cxx_g=yes
16706 echo "$as_me: failed program was:" >&5
16707 sed 's/^/| /' conftest.$ac_ext >&5
16712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16719 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16721 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16722 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16723 if test "$ac_test_CXXFLAGS" = set; then
16724 CXXFLAGS=$ac_save_CXXFLAGS
16725 elif test $ac_cv_prog_cxx_g = yes; then
16726 if test "$GXX" = yes; then
16732 if test "$GXX" = yes; then
16739 ac_cpp='$CPP $CPPFLAGS'
16740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16748 ac_cpp='$CXXCPP $CPPFLAGS'
16749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16753 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16754 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16755 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16758 cat >conftest.$ac_ext <<_ACEOF
16761 cat confdefs.h >>conftest.$ac_ext
16762 cat >>conftest.$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16769 #ifndef __INTEL_COMPILER
16777 rm -f conftest.$ac_objext
16778 if { (ac_try="$ac_compile"
16779 case "(($ac_try" in
16780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16781 *) ac_try_echo
=$ac_try;;
16783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16784 (eval "$ac_compile") 2>conftest.er1
16786 grep -v '^ *+' conftest.er1
>conftest.err
16788 cat conftest.err
>&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } && {
16791 test -z "$ac_cxx_werror_flag" ||
16792 test ! -s conftest.err
16793 } && test -s conftest.
$ac_objext; then
16794 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16796 echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.
$ac_ext >&5
16799 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16807 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16808 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16809 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16815 ac_cpp
='$CPP $CPPFLAGS'
16816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16823 if test "x$GCXX" != "xyes"; then
16824 if test "xCXX" = "xC"; then
16825 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16826 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16827 if test "${bakefile_cv_c_exto+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 cat >conftest.
$ac_ext <<_ACEOF
16833 cat confdefs.h
>>conftest.
$ac_ext
16834 cat >>conftest.
$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16845 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
16846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16847 (eval $ac_compile) 2>&5
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; then
16851 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
16853 conftest.
$ac_ext.o
)
16854 bakefile_cv_c_exto
="-ext o"
16861 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16862 See \`config.log' for more details." >&5
16863 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16864 See \`config.log' for more details." >&2;}
16865 { (exit 1); exit 1; }; }
16869 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
16872 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16873 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16874 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16875 if test "c" = "c"; then
16876 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
16878 if test "c" = "cxx"; then
16879 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
16883 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16884 unset ac_cv_prog_cc_g
16885 ac_test_CFLAGS
=${CFLAGS+set}
16886 ac_save_CFLAGS
=$CFLAGS
16887 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16888 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16889 if test "${ac_cv_prog_cc_g+set}" = set; then
16890 echo $ECHO_N "(cached) $ECHO_C" >&6
16892 ac_save_c_werror_flag
=$ac_c_werror_flag
16893 ac_c_werror_flag
=yes
16896 cat >conftest.
$ac_ext <<_ACEOF
16899 cat confdefs.h
>>conftest.
$ac_ext
16900 cat >>conftest.
$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16911 rm -f conftest.
$ac_objext
16912 if { (ac_try
="$ac_compile"
16913 case "(($ac_try" in
16914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16915 *) ac_try_echo=$ac_try;;
16917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16918 (eval "$ac_compile") 2>conftest.er1
16920 grep -v '^ *+' conftest.er1 >conftest.err
16922 cat conftest.err >&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); } && {
16925 test -z "$ac_c_werror_flag" ||
16926 test ! -s conftest.err
16927 } && test -s conftest.$ac_objext; then
16928 ac_cv_prog_cc_g=yes
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.$ac_ext >&5
16934 cat >conftest.$ac_ext <<_ACEOF
16937 cat confdefs.h >>conftest.$ac_ext
16938 cat >>conftest.$ac_ext <<_ACEOF
16939 /* end confdefs.h. */
16949 rm -f conftest.$ac_objext
16950 if { (ac_try="$ac_compile"
16951 case "(($ac_try" in
16952 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16953 *) ac_try_echo
=$ac_try;;
16955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16956 (eval "$ac_compile") 2>conftest.er1
16958 grep -v '^ *+' conftest.er1
>conftest.err
16960 cat conftest.err
>&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } && {
16963 test -z "$ac_c_werror_flag" ||
16964 test ! -s conftest.err
16965 } && test -s conftest.
$ac_objext; then
16968 echo "$as_me: failed program was:" >&5
16969 sed 's/^/| /' conftest.
$ac_ext >&5
16971 ac_c_werror_flag
=$ac_save_c_werror_flag
16973 cat >conftest.
$ac_ext <<_ACEOF
16976 cat confdefs.h
>>conftest.
$ac_ext
16977 cat >>conftest.
$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16988 rm -f conftest.
$ac_objext
16989 if { (ac_try
="$ac_compile"
16990 case "(($ac_try" in
16991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16992 *) ac_try_echo=$ac_try;;
16994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16995 (eval "$ac_compile") 2>conftest.er1
16997 grep -v '^ *+' conftest.er1 >conftest.err
16999 cat conftest.err >&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } && {
17002 test -z "$ac_c_werror_flag" ||
17003 test ! -s conftest.err
17004 } && test -s conftest.$ac_objext; then
17005 ac_cv_prog_cc_g=yes
17007 echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.$ac_ext >&5
17013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17020 ac_c_werror_flag=$ac_save_c_werror_flag
17022 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17023 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17024 if test "$ac_test_CFLAGS" = set; then
17025 CFLAGS=$ac_save_CFLAGS
17026 elif test $ac_cv_prog_cc_g = yes; then
17027 if test "$GCC" = yes; then
17033 if test "$GCC" = yes; then
17047 ac_cpp='$CXXCPP $CPPFLAGS'
17048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17052 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17053 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17054 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17057 cat >conftest.$ac_ext <<_ACEOF
17060 cat confdefs.h >>conftest.$ac_ext
17061 cat >>conftest.$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17076 rm -f conftest.$ac_objext
17077 if { (ac_try="$ac_compile"
17078 case "(($ac_try" in
17079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17080 *) ac_try_echo
=$ac_try;;
17082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17083 (eval "$ac_compile") 2>conftest.er1
17085 grep -v '^ *+' conftest.er1
>conftest.err
17087 cat conftest.err
>&5
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); } && {
17090 test -z "$ac_cxx_werror_flag" ||
17091 test ! -s conftest.err
17092 } && test -s conftest.
$ac_objext; then
17093 bakefile_cv_cxx_compiler___xlC__
=yes
17095 echo "$as_me: failed program was:" >&5
17096 sed 's/^/| /' conftest.
$ac_ext >&5
17098 bakefile_cv_cxx_compiler___xlC__
=no
17102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17106 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17107 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17108 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17114 ac_cpp
='$CPP $CPPFLAGS'
17115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17127 ac_cpp
='$CXXCPP $CPPFLAGS'
17128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17132 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17133 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17134 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17135 echo $ECHO_N "(cached) $ECHO_C" >&6
17137 cat >conftest.
$ac_ext <<_ACEOF
17140 cat confdefs.h
>>conftest.
$ac_ext
17141 cat >>conftest.
$ac_ext <<_ACEOF
17142 /* end confdefs.h. */
17156 rm -f conftest.
$ac_objext
17157 if { (ac_try
="$ac_compile"
17158 case "(($ac_try" in
17159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17160 *) ac_try_echo=$ac_try;;
17162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17163 (eval "$ac_compile") 2>conftest.er1
17165 grep -v '^ *+' conftest.er1 >conftest.err
17167 cat conftest.err >&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } && {
17170 test -z "$ac_cxx_werror_flag" ||
17171 test ! -s conftest.err
17172 } && test -s conftest.$ac_objext; then
17173 bakefile_cv_cxx_compiler___MWERKS__=yes
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.$ac_ext >&5
17178 bakefile_cv_cxx_compiler___MWERKS__=no
17182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17186 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17187 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17188 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17194 ac_cpp='$CPP $CPPFLAGS'
17195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17204 ac_cpp='$CXXCPP $CPPFLAGS'
17205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17209 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17210 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17211 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17212 echo $ECHO_N "(cached) $ECHO_C" >&6
17214 cat >conftest.$ac_ext <<_ACEOF
17217 cat confdefs.h >>conftest.$ac_ext
17218 cat >>conftest.$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17233 rm -f conftest.$ac_objext
17234 if { (ac_try="$ac_compile"
17235 case "(($ac_try" in
17236 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17237 *) ac_try_echo
=$ac_try;;
17239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17240 (eval "$ac_compile") 2>conftest.er1
17242 grep -v '^ *+' conftest.er1
>conftest.err
17244 cat conftest.err
>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } && {
17247 test -z "$ac_cxx_werror_flag" ||
17248 test ! -s conftest.err
17249 } && test -s conftest.
$ac_objext; then
17250 bakefile_cv_cxx_compiler___xlC__
=yes
17252 echo "$as_me: failed program was:" >&5
17253 sed 's/^/| /' conftest.
$ac_ext >&5
17255 bakefile_cv_cxx_compiler___xlC__
=no
17259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17263 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17264 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17265 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17271 ac_cpp
='$CPP $CPPFLAGS'
17272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17284 ac_cpp
='$CXXCPP $CPPFLAGS'
17285 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17286 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17287 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17289 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17290 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17291 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17294 cat >conftest.
$ac_ext <<_ACEOF
17297 cat confdefs.h
>>conftest.
$ac_ext
17298 cat >>conftest.
$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17305 #ifndef _SGI_COMPILER_VERSION
17313 rm -f conftest.
$ac_objext
17314 if { (ac_try
="$ac_compile"
17315 case "(($ac_try" in
17316 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17317 *) ac_try_echo=$ac_try;;
17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_compile") 2>conftest.er1
17322 grep -v '^ *+' conftest.er1 >conftest.err
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } && {
17327 test -z "$ac_cxx_werror_flag" ||
17328 test ! -s conftest.err
17329 } && test -s conftest.$ac_objext; then
17330 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.$ac_ext >&5
17335 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17343 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17344 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17345 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17351 ac_cpp='$CPP $CPPFLAGS'
17352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17364 ac_cpp='$CXXCPP $CPPFLAGS'
17365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17369 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17370 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17371 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17372 echo $ECHO_N "(cached) $ECHO_C" >&6
17374 cat >conftest.$ac_ext <<_ACEOF
17377 cat confdefs.h >>conftest.$ac_ext
17378 cat >>conftest.$ac_ext <<_ACEOF
17379 /* end confdefs.h. */
17385 #ifndef __SUNPRO_CC
17393 rm -f conftest.$ac_objext
17394 if { (ac_try="$ac_compile"
17395 case "(($ac_try" in
17396 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17397 *) ac_try_echo
=$ac_try;;
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_compile") 2>conftest.er1
17402 grep -v '^ *+' conftest.er1
>conftest.err
17404 cat conftest.err
>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_cxx_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest.
$ac_objext; then
17410 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.
$ac_ext >&5
17415 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17423 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17424 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17425 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17431 ac_cpp
='$CPP $CPPFLAGS'
17432 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17444 ac_cpp
='$CXXCPP $CPPFLAGS'
17445 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17449 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17450 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17451 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17452 echo $ECHO_N "(cached) $ECHO_C" >&6
17454 cat >conftest.
$ac_ext <<_ACEOF
17457 cat confdefs.h
>>conftest.
$ac_ext
17458 cat >>conftest.
$ac_ext <<_ACEOF
17459 /* end confdefs.h. */
17473 rm -f conftest.
$ac_objext
17474 if { (ac_try
="$ac_compile"
17475 case "(($ac_try" in
17476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17477 *) ac_try_echo=$ac_try;;
17479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17480 (eval "$ac_compile") 2>conftest.er1
17482 grep -v '^ *+' conftest.er1 >conftest.err
17484 cat conftest.err >&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); } && {
17487 test -z "$ac_cxx_werror_flag" ||
17488 test ! -s conftest.err
17489 } && test -s conftest.$ac_objext; then
17490 bakefile_cv_cxx_compiler___HP_aCC=yes
17492 echo "$as_me: failed program was:" >&5
17493 sed 's/^/| /' conftest.$ac_ext >&5
17495 bakefile_cv_cxx_compiler___HP_aCC=no
17499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17503 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17504 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17505 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17511 ac_cpp='$CPP $CPPFLAGS'
17512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17524 ac_cpp='$CXXCPP $CPPFLAGS'
17525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17529 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17530 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17531 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17532 echo $ECHO_N "(cached) $ECHO_C" >&6
17534 cat >conftest.$ac_ext <<_ACEOF
17537 cat confdefs.h >>conftest.$ac_ext
17538 cat >>conftest.$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17553 rm -f conftest.$ac_objext
17554 if { (ac_try="$ac_compile"
17555 case "(($ac_try" in
17556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17557 *) ac_try_echo
=$ac_try;;
17559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17560 (eval "$ac_compile") 2>conftest.er1
17562 grep -v '^ *+' conftest.er1
>conftest.err
17564 cat conftest.err
>&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } && {
17567 test -z "$ac_cxx_werror_flag" ||
17568 test ! -s conftest.err
17569 } && test -s conftest.
$ac_objext; then
17570 bakefile_cv_cxx_compiler___DECCXX
=yes
17572 echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.
$ac_ext >&5
17575 bakefile_cv_cxx_compiler___DECCXX
=no
17579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17583 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17584 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17585 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17591 ac_cpp
='$CPP $CPPFLAGS'
17592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17604 ac_cpp
='$CXXCPP $CPPFLAGS'
17605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17609 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17610 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17611 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17612 echo $ECHO_N "(cached) $ECHO_C" >&6
17614 cat >conftest.
$ac_ext <<_ACEOF
17617 cat confdefs.h
>>conftest.
$ac_ext
17618 cat >>conftest.
$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17625 #ifndef __SUNPRO_CC
17633 rm -f conftest.
$ac_objext
17634 if { (ac_try
="$ac_compile"
17635 case "(($ac_try" in
17636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17637 *) ac_try_echo=$ac_try;;
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_compile") 2>conftest.er1
17642 grep -v '^ *+' conftest.er1 >conftest.err
17644 cat conftest.err >&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } && {
17647 test -z "$ac_cxx_werror_flag" ||
17648 test ! -s conftest.err
17649 } && test -s conftest.$ac_objext; then
17650 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17655 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17663 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17664 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17665 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17671 ac_cpp='$CPP $CPPFLAGS'
17672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17684 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17685 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17686 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17687 { (exit 1); exit 1; }; }
17690 if test "x$SUNCXX" != xyes; then
17691 if test -n "$ac_tool_prefix"; then
17692 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17693 set dummy ${ac_tool_prefix}ar; ac_word=$2
17694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17696 if test "${ac_cv_prog_AR+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17699 if test -n "$AR"; then
17700 ac_cv_prog_AR="$AR" # Let the user override the test.
17702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17703 for as_dir in $PATH
17706 test -z "$as_dir" && as_dir=.
17707 for ac_exec_ext in '' $ac_executable_extensions; do
17708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17709 ac_cv_prog_AR="${ac_tool_prefix}ar"
17710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17720 if test -n "$AR"; then
17721 { echo "$as_me:$LINENO: result: $AR" >&5
17722 echo "${ECHO_T}$AR" >&6; }
17724 { echo "$as_me:$LINENO: result: no" >&5
17725 echo "${ECHO_T}no" >&6; }
17730 if test -z "$ac_cv_prog_AR"; then
17732 # Extract the first word of "ar", so it can be a program name with args.
17733 set dummy ar; ac_word=$2
17734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17736 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17737 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 if test -n "$ac_ct_AR"; then
17740 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17743 for as_dir in $PATH
17746 test -z "$as_dir" && as_dir=.
17747 for ac_exec_ext in '' $ac_executable_extensions; do
17748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17749 ac_cv_prog_ac_ct_AR="ar"
17750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17759 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17760 if test -n "$ac_ct_AR"; then
17761 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17762 echo "${ECHO_T}$ac_ct_AR" >&6; }
17764 { echo "$as_me:$LINENO: result: no" >&5
17765 echo "${ECHO_T}no" >&6; }
17768 if test "x$ac_ct_AR" = x; then
17771 case $cross_compiling:$ac_tool_warned in
17773 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17774 whose name does not start with the host triplet. If you think this
17775 configuration is useful to you, please write to autoconf@gnu.org." >&5
17776 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17777 whose name does not start with the host triplet. If you think this
17778 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17779 ac_tool_warned=yes ;;
17784 AR="$ac_cv_prog_AR"
17787 if test "x$AR" = "x" ; then
17788 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17789 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17790 { (exit 1); exit 1; }; }
17794 retest_macosx_linking=no
17796 #if test "$wxUSE_MAC" = 1; then
17797 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17798 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17799 # Implicitly turn on the new --with-macosx-sdk using the default
17800 # SDK which provides the behavior this option has always had.
17801 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17802 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17803 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17804 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17805 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17806 wxUSE_MACOSX_SDK=yes
17809 # Complain to user if he specified an argument to --enable-universal_binary
17810 # and also 1) specified --with-macosx-sdk using the default (yes) or
17811 # 2) specified --with-macosx-sdk using a path or 3) specified
17812 # --without-macosx-sdk (no).
17813 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17814 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17815 See \`config.log
' for more details." >&5
17816 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17817 See \`config.log' for more details.
" >&2;}
17818 { (exit 1); exit 1; }; }
17820 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17821 # special-case the empty string because the below test simply
17822 # converts "no
" to the empty string anyway.
17823 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17824 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
17825 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
17828 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
17829 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17830 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17831 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17832 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17833 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17834 retest_macosx_linking=yes
17836 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
17837 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
17842 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
17844 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
17845 # TODO: Search for most recent SDK and use it.
17846 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
17850 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
17851 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
17852 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
17853 if ! test -d "$wxUSE_MACOSX_SDK"; then
17854 { { echo "$as_me:$LINENO: error
: not found
17855 See \
`config.log' for more details." >&5
17856 echo "$as_me: error: not found
17857 See \`config.log
' for more details." >&2;}
17858 { (exit 1); exit 1; }; }
17860 { echo "$as_me:$LINENO: result: exists" >&5
17861 echo "${ECHO_T}exists" >&6; }
17863 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17864 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17865 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17866 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17867 retest_macosx_linking=yes
17870 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17871 wxUSE_MACOSX_VERSION_MIN=
17872 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17873 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17874 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17875 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17877 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/'`
17879 # If that failed, try again with the new key
17880 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17882 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/'`
17886 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17887 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17888 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17889 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17891 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17892 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17893 wxUSE_MACOSX_VERSION_MIN=
17896 wxUSE_MACOSX_VERSION_MIN=
17898 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17899 if test "$wxUSE_MAC" = 1; then
17900 # otherwise configure stops on leopard for universal_binary
17901 wxUSE_MACOSX_VERSION_MIN=10.4
17905 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17906 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17907 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17908 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17909 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17910 retest_macosx_linking=yes
17913 if test "x$retest_macosx_linking" = "xyes"; then
17915 ac_cpp='$CPP $CPPFLAGS'
17916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17917 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17920 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17921 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17922 cat >conftest.$ac_ext <<_ACEOF
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17937 rm -f conftest.$ac_objext conftest$ac_exeext
17938 if { (ac_try="$ac_link"
17939 case "(($ac_try" in
17940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17941 *) ac_try_echo=$ac_try;;
17943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17944 (eval "$ac_link") 2>conftest.er1
17946 grep -v '^
*+' conftest.er1 >conftest.err
17948 cat conftest.err >&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); } && {
17951 test -z "$ac_c_werror_flag" ||
17952 test ! -s conftest.err
17953 } && test -s conftest$ac_exeext &&
17954 $as_test_x conftest$ac_exeext; then
17955 { echo "$as_me:$LINENO: result: yes" >&5
17956 echo "${ECHO_T}yes" >&6; }
17958 echo "$as_me: failed program was:" >&5
17959 sed 's
/^
/| /' conftest.$ac_ext >&5
17961 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17962 See \`config.log' for more details.
" >&5
17963 echo "$as_me: error
: no. Try a different SDK
17964 See \
`config.log' for more details." >&2;}
17965 { (exit 1); exit 1; }; }; exit 1
17968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17969 conftest$ac_exeext conftest.$ac_ext
17971 ac_cpp='$CPP $CPPFLAGS'
17972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17978 ac_cpp='$CXXCPP $CPPFLAGS'
17979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17983 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17984 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17985 cat >conftest.$ac_ext <<_ACEOF
17988 cat confdefs.h >>conftest.$ac_ext
17989 cat >>conftest.$ac_ext <<_ACEOF
17990 /* end confdefs.h. */
18000 rm -f conftest.$ac_objext conftest$ac_exeext
18001 if { (ac_try="$ac_link"
18002 case "(($ac_try" in
18003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18004 *) ac_try_echo
=$ac_try;;
18006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18007 (eval "$ac_link") 2>conftest.er1
18009 grep -v '^ *+' conftest.er1
>conftest.err
18011 cat conftest.err
>&5
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); } && {
18014 test -z "$ac_cxx_werror_flag" ||
18015 test ! -s conftest.err
18016 } && test -s conftest
$ac_exeext &&
18017 $as_test_x conftest
$ac_exeext; then
18018 { echo "$as_me:$LINENO: result: yes" >&5
18019 echo "${ECHO_T}yes" >&6; }
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.
$ac_ext >&5
18024 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18025 See \`config.log' for more details." >&5
18026 echo "$as_me: error: no. Try a different SDK
18027 See \`config.log' for more details." >&2;}
18028 { (exit 1); exit 1; }; }; exit 1
18031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18032 conftest
$ac_exeext conftest.
$ac_ext
18034 ac_cpp
='$CPP $CPPFLAGS'
18035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18045 INSTALL_PROGRAM
="cp -fp"
18046 INSTALL_DATA
="cp -fp"
18053 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18054 CXXFLAGS
="-qunique $CXXFLAGS"
18058 powerpc
-*-darwin* )
18059 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18060 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18061 cat >conftest.
$ac_ext <<_ACEOF
18064 cat confdefs.h
>>conftest.
$ac_ext
18065 cat >>conftest.
$ac_ext <<_ACEOF
18066 /* end confdefs.h. */
18071 #ifndef __POWERPC__
18072 choke me for lack of PowerPC
18079 rm -f conftest.
$ac_objext
18080 if { (ac_try
="$ac_compile"
18081 case "(($ac_try" in
18082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18083 *) ac_try_echo=$ac_try;;
18085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18086 (eval "$ac_compile") 2>conftest.er1
18088 grep -v '^ *+' conftest.er1 >conftest.err
18090 cat conftest.err >&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); } && {
18093 test -z "$ac_c_werror_flag" ||
18094 test ! -s conftest.err
18095 } && test -s conftest.$ac_objext; then
18096 { echo "$as_me:$LINENO: result: yes" >&5
18097 echo "${ECHO_T}yes" >&6; }
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.$ac_ext >&5
18102 { echo "$as_me:$LINENO: result: no" >&5
18103 echo "${ECHO_T}no" >&6; }
18104 cat >>confdefs.h <<\_ACEOF
18105 #define __POWERPC__ 1
18111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18117 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18118 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18119 cat >conftest.$ac_ext <<_ACEOF
18122 cat confdefs.h >>conftest.$ac_ext
18123 cat >>conftest.$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18125 #include <CoreFoundation/CFBase.h>
18135 rm -f conftest.$ac_objext
18136 if { (ac_try="$ac_compile"
18137 case "(($ac_try" in
18138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18139 *) ac_try_echo
=$ac_try;;
18141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18142 (eval "$ac_compile") 2>conftest.er1
18144 grep -v '^ *+' conftest.er1
>conftest.err
18146 cat conftest.err
>&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } && {
18149 test -z "$ac_c_werror_flag" ||
18150 test ! -s conftest.err
18151 } && test -s conftest.
$ac_objext; then
18152 { echo "$as_me:$LINENO: result: yes" >&5
18153 echo "${ECHO_T}yes" >&6; }
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.
$ac_ext >&5
18158 { echo "$as_me:$LINENO: result: no" >&5
18159 echo "${ECHO_T}no" >&6; }
18160 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18161 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18162 cat >conftest.
$ac_ext <<_ACEOF
18165 cat confdefs.h
>>conftest.
$ac_ext
18166 cat >>conftest.
$ac_ext <<_ACEOF
18167 /* end confdefs.h. */
18168 #define __CF_USE_FRAMEWORK_INCLUDES__
18169 #include <CoreFoundation/CFBase.h>
18179 rm -f conftest.
$ac_objext
18180 if { (ac_try
="$ac_compile"
18181 case "(($ac_try" in
18182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18183 *) ac_try_echo=$ac_try;;
18185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18186 (eval "$ac_compile") 2>conftest.er1
18188 grep -v '^ *+' conftest.er1 >conftest.err
18190 cat conftest.err >&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } && {
18193 test -z "$ac_c_werror_flag" ||
18194 test ! -s conftest.err
18195 } && test -s conftest.$ac_objext; then
18196 { echo "$as_me:$LINENO: result: yes" >&5
18197 echo "${ECHO_T}yes" >&6; }
18198 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.$ac_ext >&5
18203 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18204 See \`config.log
' for more details." >&5
18205 echo "$as_me: error: no. CoreFoundation not available.
18206 See \`config.log' for more details.
" >&2;}
18207 { (exit 1); exit 1; }; }
18211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18221 doesnt_want_win32=0
18224 if test "$wxUSE_MSW" = 1 ; then
18227 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18228 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18229 if test "${wx_cv_nocygwin+set}" = set; then
18230 echo $ECHO_N "(cached
) $ECHO_C" >&6
18233 cat >conftest.$ac_ext <<_ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18252 rm -f conftest.$ac_objext
18253 if { (ac_try="$ac_compile"
18254 case "(($ac_try" in
18255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18256 *) ac_try_echo=$ac_try;;
18258 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18259 (eval "$ac_compile") 2>conftest.er1
18261 grep -v '^ *+' conftest.er1 >conftest.err
18263 cat conftest.err >&5
18264 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18265 (exit $ac_status); } && {
18266 test -z "$ac_c_werror_flag" ||
18267 test ! -s conftest.err
18268 } && test -s conftest.$ac_objext; then
18271 echo "$as_me: failed program was
:" >&5
18272 sed 's/^/| /' conftest.$ac_ext >&5
18278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18282 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18283 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18285 if test "$wx_cv_nocygwin" = "yes"; then
18288 doesnt_want_win32=1
18291 if test "$wants_win32" = 1 ; then
18292 BAKEFILE_FORCE_PLATFORM=win32
18300 if test "$wxUSE_WINE" = "yes"; then
18302 LDFLAGS_GUI="-mwindows"
18305 if test "$wants_win32" = 1 ; then
18308 cat >>confdefs.h <<\_ACEOF
18309 #define __WIN32__ 1
18312 cat >>confdefs.h <<\_ACEOF
18313 #define __WIN95__ 1
18316 cat >>confdefs.h <<\_ACEOF
18317 #define __WINDOWS__ 1
18320 cat >>confdefs.h <<\_ACEOF
18321 #define __GNUWIN32__ 1
18324 cat >>confdefs.h <<\_ACEOF
18329 if test "$doesnt_want_win32" = 1 ; then
18334 if test "$USE_UNIX" = 1 ; then
18336 cat >>confdefs.h <<\_ACEOF
18343 *-pc-os2_emx | *-pc-os2-emx )
18344 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18345 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18346 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18347 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18348 echo $ECHO_N "(cached
) $ECHO_C" >&6
18350 ac_check_lib_save_LIBS=$LIBS
18351 LIBS="-lcExt $LIBS"
18352 cat >conftest.$ac_ext <<_ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18359 /* Override any GCC internal prototype to avoid an error.
18360 Use char because int might match the return type of a GCC
18361 builtin and then its argument prototype would still apply. */
18374 rm -f conftest.$ac_objext conftest$ac_exeext
18375 if { (ac_try="$ac_link"
18376 case "(($ac_try" in
18377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18378 *) ac_try_echo=$ac_try;;
18380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18381 (eval "$ac_link") 2>conftest.er1
18383 grep -v '^ *+' conftest.er1 >conftest.err
18385 cat conftest.err >&5
18386 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18387 (exit $ac_status); } && {
18388 test -z "$ac_c_werror_flag" ||
18389 test ! -s conftest.err
18390 } && test -s conftest$ac_exeext &&
18391 $as_test_x conftest$ac_exeext; then
18392 ac_cv_lib_cExt_drand48=yes
18394 echo "$as_me: failed program was
:" >&5
18395 sed 's/^/| /' conftest.$ac_ext >&5
18397 ac_cv_lib_cExt_drand48=no
18400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18401 conftest$ac_exeext conftest.$ac_ext
18402 LIBS=$ac_check_lib_save_LIBS
18404 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18405 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18406 if test $ac_cv_lib_cExt_drand48 = yes; then
18407 LIBS="$LIBS -lcExt"
18411 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18413 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18414 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18415 if test "${wx_cv_gccversion+set}" = set; then
18416 echo $ECHO_N "(cached
) $ECHO_C" >&6
18419 if test "$cross_compiling" = yes; then
18420 wx_cv_gccversion="EMX2
"
18423 cat >conftest.$ac_ext <<_ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18434 FILE *f=fopen("conftestval
", "w
");
18439 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18441 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18451 rm -f conftest$ac_exeext
18452 if { (ac_try="$ac_link"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18457 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_link") 2>&5
18460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18462 { (case "(($ac_try" in
18463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18464 *) ac_try_echo=$ac_try;;
18466 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18467 (eval "$ac_try") 2>&5
18469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18470 (exit $ac_status); }; }; then
18471 wx_cv_gccversion=`cat conftestval`
18473 echo "$as_me: program exited with status
$ac_status" >&5
18474 echo "$as_me: failed program was
:" >&5
18475 sed 's/^/| /' conftest.$ac_ext >&5
18477 ( exit $ac_status )
18478 wx_cv_gccversion="EMX2
"
18480 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18486 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18487 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18488 if test "$wx_cv_gccversion" = "EMX2
"; then
18489 LIBS="$LIBS -lstdcpp"
18490 LDFLAGS="$LDFLAGS -Zsysv-signals"
18492 if test "$wx_cv_gccversion" = "EMX3
"; then
18493 LIBS="$LIBS -lstdcxx -lgcc"
18494 LDFLAGS="$LDFLAGS -Zsysv-signals"
18496 LIBS="$LIBS -lstdc++"
18499 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18500 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18501 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18508 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18509 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18510 if test "${ac_cv_string_strcasecmp+set}" = set; then
18511 echo $ECHO_N "(cached
) $ECHO_C" >&6
18514 cat >conftest.$ac_ext <<_ACEOF
18517 cat confdefs.h >>conftest.$ac_ext
18518 cat >>conftest.$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18521 #include <string.h>
18527 strcasecmp("foo
", "bar
");
18533 rm -f conftest.$ac_objext conftest$ac_exeext
18534 if { (ac_try="$ac_link"
18535 case "(($ac_try" in
18536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18537 *) ac_try_echo=$ac_try;;
18539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18540 (eval "$ac_link") 2>conftest.er1
18542 grep -v '^ *+' conftest.er1 >conftest.err
18544 cat conftest.err >&5
18545 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18546 (exit $ac_status); } && {
18547 test -z "$ac_c_werror_flag" ||
18548 test ! -s conftest.err
18549 } && test -s conftest$ac_exeext &&
18550 $as_test_x conftest$ac_exeext; then
18551 ac_cv_string_strcasecmp=yes
18553 echo "$as_me: failed program was
:" >&5
18554 sed 's/^/| /' conftest.$ac_ext >&5
18556 ac_cv_string_strcasecmp=no
18560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18561 conftest$ac_exeext conftest.$ac_ext
18564 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18565 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18567 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18568 cat >>confdefs.h <<\_ACEOF
18569 #define HAVE_STRCASECMP_IN_STRING_H 1
18573 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18574 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18575 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18576 echo $ECHO_N "(cached
) $ECHO_C" >&6
18579 cat >conftest.$ac_ext <<_ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18586 #include <strings.h>
18592 strcasecmp("foo
", "bar
");
18598 rm -f conftest.$ac_objext conftest$ac_exeext
18599 if { (ac_try="$ac_link"
18600 case "(($ac_try" in
18601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18602 *) ac_try_echo=$ac_try;;
18604 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18605 (eval "$ac_link") 2>conftest.er1
18607 grep -v '^ *+' conftest.er1 >conftest.err
18609 cat conftest.err >&5
18610 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18611 (exit $ac_status); } && {
18612 test -z "$ac_c_werror_flag" ||
18613 test ! -s conftest.err
18614 } && test -s conftest$ac_exeext &&
18615 $as_test_x conftest$ac_exeext; then
18616 ac_cv_strings_strcasecmp=yes
18618 echo "$as_me: failed program was
:" >&5
18619 sed 's/^/| /' conftest.$ac_ext >&5
18621 ac_cv_strings_strcasecmp=no
18625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18626 conftest$ac_exeext conftest.$ac_ext
18629 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18630 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18632 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18633 cat >>confdefs.h <<\_ACEOF
18634 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18638 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18639 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18640 { (exit 1); exit 1; }; }
18648 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18649 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18650 if test "${ac_cv_header_stdc+set}" = set; then
18651 echo $ECHO_N "(cached
) $ECHO_C" >&6
18653 cat >conftest.$ac_ext <<_ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 #include <stdlib.h>
18660 #include <stdarg.h>
18661 #include <string.h>
18672 rm -f conftest.$ac_objext
18673 if { (ac_try="$ac_compile"
18674 case "(($ac_try" in
18675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18676 *) ac_try_echo=$ac_try;;
18678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_compile") 2>conftest.er1
18681 grep -v '^ *+' conftest.er1 >conftest.err
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest.$ac_objext; then
18689 ac_cv_header_stdc=yes
18691 echo "$as_me: failed program was
:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18694 ac_cv_header_stdc=no
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 if test $ac_cv_header_stdc = yes; then
18700 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18701 cat >conftest.$ac_ext <<_ACEOF
18704 cat confdefs.h >>conftest.$ac_ext
18705 cat >>conftest.$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18707 #include <string.h>
18710 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18711 $EGREP "memchr
" >/dev/null 2>&1; then
18714 ac_cv_header_stdc=no
18720 if test $ac_cv_header_stdc = yes; then
18721 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18722 cat >conftest.$ac_ext <<_ACEOF
18725 cat confdefs.h >>conftest.$ac_ext
18726 cat >>conftest.$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18728 #include <stdlib.h>
18731 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18732 $EGREP "free
" >/dev/null 2>&1; then
18735 ac_cv_header_stdc=no
18741 if test $ac_cv_header_stdc = yes; then
18742 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18743 if test "$cross_compiling" = yes; then
18746 cat >conftest.$ac_ext <<_ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18753 #include <stdlib.h>
18754 #if ((' ' & 0x0FF) == 0x020)
18755 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18756 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18758 # define ISLOWER(c) \
18759 (('a' <= (c) && (c) <= 'i') \
18760 || ('j' <= (c) && (c) <= 'r') \
18761 || ('s' <= (c) && (c) <= 'z'))
18762 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18765 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18770 for (i = 0; i < 256; i++)
18771 if (XOR (islower (i), ISLOWER (i))
18772 || toupper (i) != TOUPPER (i))
18777 rm -f conftest$ac_exeext
18778 if { (ac_try="$ac_link"
18779 case "(($ac_try" in
18780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18781 *) ac_try_echo=$ac_try;;
18783 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18784 (eval "$ac_link") 2>&5
18786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18788 { (case "(($ac_try" in
18789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18790 *) ac_try_echo=$ac_try;;
18792 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18793 (eval "$ac_try") 2>&5
18795 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18796 (exit $ac_status); }; }; then
18799 echo "$as_me: program exited with status
$ac_status" >&5
18800 echo "$as_me: failed program was
:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18803 ( exit $ac_status )
18804 ac_cv_header_stdc=no
18806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18812 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
18813 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18814 if test $ac_cv_header_stdc = yes; then
18816 cat >>confdefs.h <<\_ACEOF
18817 #define STDC_HEADERS 1
18822 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18832 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18833 inttypes.h stdint.h unistd.h
18835 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18836 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18837 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18838 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18839 echo $ECHO_N "(cached
) $ECHO_C" >&6
18841 cat >conftest.$ac_ext <<_ACEOF
18844 cat confdefs.h >>conftest.$ac_ext
18845 cat >>conftest.$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18847 $ac_includes_default
18849 #include <$ac_header>
18851 rm -f conftest.$ac_objext
18852 if { (ac_try="$ac_compile"
18853 case "(($ac_try" in
18854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18855 *) ac_try_echo=$ac_try;;
18857 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18858 (eval "$ac_compile") 2>conftest.er1
18860 grep -v '^ *+' conftest.er1 >conftest.err
18862 cat conftest.err >&5
18863 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18864 (exit $ac_status); } && {
18865 test -z "$ac_c_werror_flag" ||
18866 test ! -s conftest.err
18867 } && test -s conftest.$ac_objext; then
18868 eval "$as_ac_Header=yes"
18870 echo "$as_me: failed program was
:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18873 eval "$as_ac_Header=no
"
18876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18878 ac_res=`eval echo '${'$as_ac_Header'}'`
18879 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18880 echo "${ECHO_T}$ac_res" >&6; }
18881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18882 cat >>confdefs.h <<_ACEOF
18883 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18893 for ac_header in langinfo.h wchar.h
18895 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18896 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18897 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18898 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18899 echo $ECHO_N "(cached
) $ECHO_C" >&6
18901 cat >conftest.$ac_ext <<_ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 $ac_includes_default
18909 #include <$ac_header>
18911 rm -f conftest.$ac_objext
18912 if { (ac_try="$ac_compile"
18913 case "(($ac_try" in
18914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18915 *) ac_try_echo=$ac_try;;
18917 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18918 (eval "$ac_compile") 2>conftest.er1
18920 grep -v '^ *+' conftest.er1 >conftest.err
18922 cat conftest.err >&5
18923 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18924 (exit $ac_status); } && {
18925 test -z "$ac_c_werror_flag" ||
18926 test ! -s conftest.err
18927 } && test -s conftest.$ac_objext; then
18928 eval "$as_ac_Header=yes"
18930 echo "$as_me: failed program was
:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18933 eval "$as_ac_Header=no
"
18936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18938 ac_res=`eval echo '${'$as_ac_Header'}'`
18939 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18940 echo "${ECHO_T}$ac_res" >&6; }
18941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18942 cat >>confdefs.h <<_ACEOF
18943 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
18951 if test "$ac_cv_header_wchar_h" != "yes"; then
18953 for ac_header in wcstr.h
18955 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
18956 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
18957 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
18958 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18959 echo $ECHO_N "(cached
) $ECHO_C" >&6
18961 cat >conftest.$ac_ext <<_ACEOF
18964 cat confdefs.h >>conftest.$ac_ext
18965 cat >>conftest.$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967 $ac_includes_default
18969 #include <$ac_header>
18971 rm -f conftest.$ac_objext
18972 if { (ac_try="$ac_compile"
18973 case "(($ac_try" in
18974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18975 *) ac_try_echo=$ac_try;;
18977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18978 (eval "$ac_compile") 2>conftest.er1
18980 grep -v '^ *+' conftest.er1 >conftest.err
18982 cat conftest.err >&5
18983 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18984 (exit $ac_status); } && {
18985 test -z "$ac_c_werror_flag" ||
18986 test ! -s conftest.err
18987 } && test -s conftest.$ac_objext; then
18988 eval "$as_ac_Header=yes"
18990 echo "$as_me: failed program was
:" >&5
18991 sed 's/^/| /' conftest.$ac_ext >&5
18993 eval "$as_ac_Header=no
"
18996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18998 ac_res=`eval echo '${'$as_ac_Header'}'`
18999 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19000 echo "${ECHO_T}$ac_res" >&6; }
19001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19002 cat >>confdefs.h <<_ACEOF
19003 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19013 *-pc-os2_emx | *-pc-os2-emx )
19014 if test $ac_cv_header_langinfo_h = "yes" \
19015 -a \( "$wx_cv_gccversion" = "EMX2
" \
19016 -o "$wx_cv_gccversion" = "EMX3
" \
19017 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19018 LIBS="$LIBS -lintl"
19023 if test "$USE_UNIX" = 1 ; then
19025 for ac_header in sys/select.h
19027 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19028 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19029 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19030 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19031 echo $ECHO_N "(cached
) $ECHO_C" >&6
19033 cat >conftest.$ac_ext <<_ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 $ac_includes_default
19041 #include <$ac_header>
19043 rm -f conftest.$ac_objext
19044 if { (ac_try="$ac_compile"
19045 case "(($ac_try" in
19046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19047 *) ac_try_echo=$ac_try;;
19049 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19050 (eval "$ac_compile") 2>conftest.er1
19052 grep -v '^ *+' conftest.er1 >conftest.err
19054 cat conftest.err >&5
19055 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19056 (exit $ac_status); } && {
19057 test -z "$ac_c_werror_flag" ||
19058 test ! -s conftest.err
19059 } && test -s conftest.$ac_objext; then
19060 eval "$as_ac_Header=yes"
19062 echo "$as_me: failed program was
:" >&5
19063 sed 's/^/| /' conftest.$ac_ext >&5
19065 eval "$as_ac_Header=no
"
19068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19070 ac_res=`eval echo '${'$as_ac_Header'}'`
19071 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19072 echo "${ECHO_T}$ac_res" >&6; }
19073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19074 cat >>confdefs.h <<_ACEOF
19075 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19085 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19086 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19087 if test "${ac_cv_c_const+set}" = set; then
19088 echo $ECHO_N "(cached
) $ECHO_C" >&6
19090 cat >conftest.$ac_ext <<_ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19100 /* FIXME: Include the comments suggested by Paul. */
19101 #ifndef __cplusplus
19102 /* Ultrix mips cc rejects this. */
19103 typedef int charset[2];
19105 /* SunOS 4.1.1 cc rejects this. */
19106 char const *const *pcpcc;
19108 /* NEC SVR4.0.2 mips cc rejects this. */
19109 struct point {int x, y;};
19110 static struct point const zero = {0,0};
19111 /* AIX XL C 1.02.0.0 rejects this.
19112 It does not let you subtract one const X* pointer from another in
19113 an arm of an if-expression whose if-part is not a constant
19115 const char *g = "string
";
19116 pcpcc = &g + (g ? g-g : 0);
19117 /* HPUX 7.0 cc rejects these. */
19119 ppc = (char**) pcpcc;
19120 pcpcc = (char const *const *) ppc;
19121 { /* SCO 3.2v4 cc rejects this. */
19123 char const *s = 0 ? (char *) 0 : (char const *) 0;
19128 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19129 int x[] = {25, 17};
19130 const int *foo = &x[0];
19133 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19134 typedef const int *iptr;
19138 { /* AIX XL C 1.02.0.0 rejects this saying
19139 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19140 struct s { int j; const int *ap[3]; };
19141 struct s *b; b->j = 5;
19143 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19144 const int foo = 10;
19145 if (!foo) return 0;
19147 return !cs[0] && !zero.x;
19154 rm -f conftest.$ac_objext
19155 if { (ac_try="$ac_compile"
19156 case "(($ac_try" in
19157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19158 *) ac_try_echo=$ac_try;;
19160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19161 (eval "$ac_compile") 2>conftest.er1
19163 grep -v '^ *+' conftest.er1 >conftest.err
19165 cat conftest.err >&5
19166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19167 (exit $ac_status); } && {
19168 test -z "$ac_c_werror_flag" ||
19169 test ! -s conftest.err
19170 } && test -s conftest.$ac_objext; then
19173 echo "$as_me: failed program was
:" >&5
19174 sed 's/^/| /' conftest.$ac_ext >&5
19179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19181 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19182 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19183 if test $ac_cv_c_const = no; then
19185 cat >>confdefs.h <<\_ACEOF
19191 { echo "$as_me:$LINENO: checking
for inline
" >&5
19192 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19193 if test "${ac_cv_c_inline+set}" = set; then
19194 echo $ECHO_N "(cached
) $ECHO_C" >&6
19197 for ac_kw in inline __inline__ __inline; do
19198 cat >conftest.$ac_ext <<_ACEOF
19201 cat confdefs.h >>conftest.$ac_ext
19202 cat >>conftest.$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19204 #ifndef __cplusplus
19206 static $ac_kw foo_t static_foo () {return 0; }
19207 $ac_kw foo_t foo () {return 0; }
19211 rm -f conftest.$ac_objext
19212 if { (ac_try="$ac_compile"
19213 case "(($ac_try" in
19214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19215 *) ac_try_echo=$ac_try;;
19217 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19218 (eval "$ac_compile") 2>conftest.er1
19220 grep -v '^ *+' conftest.er1 >conftest.err
19222 cat conftest.err >&5
19223 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19224 (exit $ac_status); } && {
19225 test -z "$ac_c_werror_flag" ||
19226 test ! -s conftest.err
19227 } && test -s conftest.$ac_objext; then
19228 ac_cv_c_inline=$ac_kw
19230 echo "$as_me: failed program was
:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19237 test "$ac_cv_c_inline" != no && break
19241 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19242 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19245 case $ac_cv_c_inline in
19248 case $ac_cv_c_inline in
19250 *) ac_val=$ac_cv_c_inline;;
19252 cat >>confdefs.h <<_ACEOF
19253 #ifndef __cplusplus
19254 #define inline $ac_val
19261 { echo "$as_me:$LINENO: checking
for short
" >&5
19262 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19263 if test "${ac_cv_type_short+set}" = set; then
19264 echo $ECHO_N "(cached
) $ECHO_C" >&6
19266 cat >conftest.$ac_ext <<_ACEOF
19269 cat confdefs.h >>conftest.$ac_ext
19270 cat >>conftest.$ac_ext <<_ACEOF
19271 /* end confdefs.h. */
19272 $ac_includes_default
19273 typedef short ac__type_new_;
19277 if ((ac__type_new_ *) 0)
19279 if (sizeof (ac__type_new_))
19285 rm -f conftest.$ac_objext
19286 if { (ac_try="$ac_compile"
19287 case "(($ac_try" in
19288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19289 *) ac_try_echo=$ac_try;;
19291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19292 (eval "$ac_compile") 2>conftest.er1
19294 grep -v '^ *+' conftest.er1 >conftest.err
19296 cat conftest.err >&5
19297 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19298 (exit $ac_status); } && {
19299 test -z "$ac_c_werror_flag" ||
19300 test ! -s conftest.err
19301 } && test -s conftest.$ac_objext; then
19302 ac_cv_type_short=yes
19304 echo "$as_me: failed program was
:" >&5
19305 sed 's/^/| /' conftest.$ac_ext >&5
19307 ac_cv_type_short=no
19310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19312 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19313 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19315 # The cast to long int works around a bug in the HP C Compiler
19316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19318 # This bug is HP SR number 8606223364.
19319 { echo "$as_me:$LINENO: checking size of short
" >&5
19320 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19321 if test "${ac_cv_sizeof_short+set}" = set; then
19322 echo $ECHO_N "(cached
) $ECHO_C" >&6
19324 if test "$cross_compiling" = yes; then
19325 # Depending upon the size, compute the lo and hi bounds.
19326 cat >conftest.$ac_ext <<_ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 $ac_includes_default
19333 typedef short ac__type_sizeof_;
19337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19344 rm -f conftest.$ac_objext
19345 if { (ac_try="$ac_compile"
19346 case "(($ac_try" in
19347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19348 *) ac_try_echo=$ac_try;;
19350 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19351 (eval "$ac_compile") 2>conftest.er1
19353 grep -v '^ *+' conftest.er1 >conftest.err
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19357 (exit $ac_status); } && {
19358 test -z "$ac_c_werror_flag" ||
19359 test ! -s conftest.err
19360 } && test -s conftest.$ac_objext; then
19363 cat >conftest.$ac_ext <<_ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 $ac_includes_default
19370 typedef short ac__type_sizeof_;
19374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19381 rm -f conftest.$ac_objext
19382 if { (ac_try="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19387 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19390 grep -v '^ *+' conftest.er1 >conftest.err
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.$ac_objext; then
19398 ac_hi=$ac_mid; break
19400 echo "$as_me: failed program was
:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19403 ac_lo=`expr $ac_mid + 1`
19404 if test $ac_lo -le $ac_mid; then
19408 ac_mid=`expr 2 '*' $ac_mid + 1`
19411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19414 echo "$as_me: failed program was
:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19417 cat >conftest.$ac_ext <<_ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 typedef short ac__type_sizeof_;
19428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19435 rm -f conftest.$ac_objext
19436 if { (ac_try="$ac_compile"
19437 case "(($ac_try" in
19438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19439 *) ac_try_echo=$ac_try;;
19441 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19442 (eval "$ac_compile") 2>conftest.er1
19444 grep -v '^ *+' conftest.er1 >conftest.err
19446 cat conftest.err >&5
19447 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19448 (exit $ac_status); } && {
19449 test -z "$ac_c_werror_flag" ||
19450 test ! -s conftest.err
19451 } && test -s conftest.$ac_objext; then
19454 cat >conftest.$ac_ext <<_ACEOF
19457 cat confdefs.h >>conftest.$ac_ext
19458 cat >>conftest.$ac_ext <<_ACEOF
19459 /* end confdefs.h. */
19460 $ac_includes_default
19461 typedef short ac__type_sizeof_;
19465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19472 rm -f conftest.$ac_objext
19473 if { (ac_try="$ac_compile"
19474 case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19476 *) ac_try_echo=$ac_try;;
19478 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_compile") 2>conftest.er1
19481 grep -v '^ *+' conftest.er1 >conftest.err
19483 cat conftest.err >&5
19484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19485 (exit $ac_status); } && {
19486 test -z "$ac_c_werror_flag" ||
19487 test ! -s conftest.err
19488 } && test -s conftest.$ac_objext; then
19489 ac_lo=$ac_mid; break
19491 echo "$as_me: failed program was
:" >&5
19492 sed 's/^/| /' conftest.$ac_ext >&5
19494 ac_hi=`expr '(' $ac_mid ')' - 1`
19495 if test $ac_mid -le $ac_hi; then
19499 ac_mid=`expr 2 '*' $ac_mid`
19502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19505 echo "$as_me: failed program was
:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19515 # Binary search between lo and hi bounds.
19516 while test "x
$ac_lo" != "x
$ac_hi"; do
19517 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19518 cat >conftest.$ac_ext <<_ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 $ac_includes_default
19525 typedef short ac__type_sizeof_;
19529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19536 rm -f conftest.$ac_objext
19537 if { (ac_try="$ac_compile"
19538 case "(($ac_try" in
19539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19540 *) ac_try_echo=$ac_try;;
19542 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19543 (eval "$ac_compile") 2>conftest.er1
19545 grep -v '^ *+' conftest.er1 >conftest.err
19547 cat conftest.err >&5
19548 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19549 (exit $ac_status); } && {
19550 test -z "$ac_c_werror_flag" ||
19551 test ! -s conftest.err
19552 } && test -s conftest.$ac_objext; then
19555 echo "$as_me: failed program was
:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19558 ac_lo=`expr '(' $ac_mid ')' + 1`
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19564 ?*) ac_cv_sizeof_short=$ac_lo;;
19565 '') if test "$ac_cv_type_short" = yes; then
19566 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19567 See \
`config.log' for more details." >&5
19568 echo "$as_me: error: cannot compute sizeof (short)
19569 See \`config.log
' for more details." >&2;}
19570 { (exit 77); exit 77; }; }
19572 ac_cv_sizeof_short=0
19576 cat >conftest.$ac_ext <<_ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 $ac_includes_default
19583 typedef short ac__type_sizeof_;
19584 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19585 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19587 #include <stdlib.h>
19592 FILE *f = fopen ("conftest.val", "w");
19595 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19597 long int i = longval ();
19598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19600 fprintf (f, "%ld\n", i);
19604 unsigned long int i = ulongval ();
19605 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19607 fprintf (f, "%lu\n", i);
19609 return ferror (f) || fclose (f) != 0;
19615 rm -f conftest$ac_exeext
19616 if { (ac_try="$ac_link"
19617 case "(($ac_try" in
19618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19619 *) ac_try_echo=$ac_try;;
19621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19622 (eval "$ac_link") 2>&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19626 { (case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_try") 2>&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 ac_cv_sizeof_short=`cat conftest.val`
19637 echo "$as_me: program exited with status $ac_status" >&5
19638 echo "$as_me: failed program was:" >&5
19639 sed 's
/^
/| /' conftest.$ac_ext >&5
19641 ( exit $ac_status )
19642 if test "$ac_cv_type_short" = yes; then
19643 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19644 See \`config.log' for more details.
" >&5
19645 echo "$as_me: error
: cannot compute sizeof
(short
)
19646 See \
`config.log' for more details." >&2;}
19647 { (exit 77); exit 77; }; }
19649 ac_cv_sizeof_short=0
19652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19656 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19657 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19661 cat >>confdefs.h <<_ACEOF
19662 #define SIZEOF_SHORT $ac_cv_sizeof_short
19666 { echo "$as_me:$LINENO: checking for void *" >&5
19667 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19668 if test "${ac_cv_type_void_p+set}" = set; then
19669 echo $ECHO_N "(cached) $ECHO_C" >&6
19671 cat >conftest.$ac_ext <<_ACEOF
19674 cat confdefs.h >>conftest.$ac_ext
19675 cat >>conftest.$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 $ac_includes_default
19678 typedef void * ac__type_new_;
19682 if ((ac__type_new_ *) 0)
19684 if (sizeof (ac__type_new_))
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19694 *) ac_try_echo
=$ac_try;;
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19699 grep -v '^ *+' conftest.er1
>conftest.err
19701 cat conftest.err
>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && {
19704 test -z "$ac_c_werror_flag" ||
19705 test ! -s conftest.err
19706 } && test -s conftest.
$ac_objext; then
19707 ac_cv_type_void_p
=yes
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.
$ac_ext >&5
19712 ac_cv_type_void_p
=no
19715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19717 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19718 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19720 # The cast to long int works around a bug in the HP C Compiler
19721 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19722 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19723 # This bug is HP SR number 8606223364.
19724 { echo "$as_me:$LINENO: checking size of void *" >&5
19725 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19726 if test "${ac_cv_sizeof_void_p+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 if test "$cross_compiling" = yes; then
19730 # Depending upon the size, compute the lo and hi bounds.
19731 cat >conftest.
$ac_ext <<_ACEOF
19734 cat confdefs.h
>>conftest.
$ac_ext
19735 cat >>conftest.
$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19738 typedef void * ac__type_sizeof_;
19742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19749 rm -f conftest.
$ac_objext
19750 if { (ac_try
="$ac_compile"
19751 case "(($ac_try" in
19752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_compile") 2>conftest.er1
19758 grep -v '^ *+' conftest.er1 >conftest.err
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } && {
19763 test -z "$ac_c_werror_flag" ||
19764 test ! -s conftest.err
19765 } && test -s conftest.$ac_objext; then
19768 cat >conftest.$ac_ext <<_ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19775 typedef void * ac__type_sizeof_;
19779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19786 rm -f conftest.$ac_objext
19787 if { (ac_try="$ac_compile"
19788 case "(($ac_try" in
19789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19790 *) ac_try_echo
=$ac_try;;
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19795 grep -v '^ *+' conftest.er1
>conftest.err
19797 cat conftest.err
>&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_c_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.
$ac_objext; then
19803 ac_hi
=$ac_mid; break
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.
$ac_ext >&5
19808 ac_lo
=`expr $ac_mid + 1`
19809 if test $ac_lo -le $ac_mid; then
19813 ac_mid
=`expr 2 '*' $ac_mid + 1`
19816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19819 echo "$as_me: failed program was:" >&5
19820 sed 's/^/| /' conftest.
$ac_ext >&5
19822 cat >conftest.
$ac_ext <<_ACEOF
19825 cat confdefs.h
>>conftest.
$ac_ext
19826 cat >>conftest.
$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef void * ac__type_sizeof_;
19833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19840 rm -f conftest.
$ac_objext
19841 if { (ac_try
="$ac_compile"
19842 case "(($ac_try" in
19843 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;;
19846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19847 (eval "$ac_compile") 2>conftest.er1
19849 grep -v '^ *+' conftest.er1 >conftest.err
19851 cat conftest.err >&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } && {
19854 test -z "$ac_c_werror_flag" ||
19855 test ! -s conftest.err
19856 } && test -s conftest.$ac_objext; then
19859 cat >conftest.$ac_ext <<_ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 $ac_includes_default
19866 typedef void * ac__type_sizeof_;
19870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19877 rm -f conftest.$ac_objext
19878 if { (ac_try="$ac_compile"
19879 case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19881 *) ac_try_echo
=$ac_try;;
19883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_compile") 2>conftest.er1
19886 grep -v '^ *+' conftest.er1
>conftest.err
19888 cat conftest.err
>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } && {
19891 test -z "$ac_c_werror_flag" ||
19892 test ! -s conftest.err
19893 } && test -s conftest.
$ac_objext; then
19894 ac_lo
=$ac_mid; break
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.
$ac_ext >&5
19899 ac_hi
=`expr '(' $ac_mid ')' - 1`
19900 if test $ac_mid -le $ac_hi; then
19904 ac_mid
=`expr 2 '*' $ac_mid`
19907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.
$ac_ext >&5
19916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19920 # Binary search between lo and hi bounds.
19921 while test "x$ac_lo" != "x$ac_hi"; do
19922 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19923 cat >conftest.
$ac_ext <<_ACEOF
19926 cat confdefs.h
>>conftest.
$ac_ext
19927 cat >>conftest.
$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 $ac_includes_default
19930 typedef void * ac__type_sizeof_;
19934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19941 rm -f conftest.
$ac_objext
19942 if { (ac_try
="$ac_compile"
19943 case "(($ac_try" in
19944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19945 *) ac_try_echo=$ac_try;;
19947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19948 (eval "$ac_compile") 2>conftest.er1
19950 grep -v '^ *+' conftest.er1 >conftest.err
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } && {
19955 test -z "$ac_c_werror_flag" ||
19956 test ! -s conftest.err
19957 } && test -s conftest.$ac_objext; then
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19963 ac_lo=`expr '(' $ac_mid ')' + 1`
19966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19969 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19970 '') if test "$ac_cv_type_void_p" = yes; then
19971 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19972 See \`config.log
' for more details." >&5
19973 echo "$as_me: error: cannot compute sizeof (void *)
19974 See \`config.log' for more details.
" >&2;}
19975 { (exit 77); exit 77; }; }
19977 ac_cv_sizeof_void_p=0
19981 cat >conftest.$ac_ext <<_ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19988 typedef void * ac__type_sizeof_;
19989 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19990 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19992 #include <stdlib.h>
19997 FILE *f = fopen ("conftest.val
", "w
");
20000 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20002 long int i = longval ();
20003 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20005 fprintf (f, "%ld
\n", i);
20009 unsigned long int i = ulongval ();
20010 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20012 fprintf (f, "%lu
\n", i);
20014 return ferror (f) || fclose (f) != 0;
20020 rm -f conftest$ac_exeext
20021 if { (ac_try="$ac_link"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20026 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_link") 2>&5
20029 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20031 { (case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20035 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_try") 2>&5
20038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_sizeof_void_p=`cat conftest.val`
20042 echo "$as_me: program exited with status
$ac_status" >&5
20043 echo "$as_me: failed program was
:" >&5
20044 sed 's/^/| /' conftest.$ac_ext >&5
20046 ( exit $ac_status )
20047 if test "$ac_cv_type_void_p" = yes; then
20048 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20049 See \
`config.log' for more details." >&5
20050 echo "$as_me: error: cannot compute sizeof (void *)
20051 See \`config.log
' for more details." >&2;}
20052 { (exit 77); exit 77; }; }
20054 ac_cv_sizeof_void_p=0
20057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20061 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20062 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20066 cat >>confdefs.h <<_ACEOF
20067 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20071 { echo "$as_me:$LINENO: checking for int" >&5
20072 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20073 if test "${ac_cv_type_int+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20076 cat >conftest.$ac_ext <<_ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 $ac_includes_default
20083 typedef int ac__type_new_;
20087 if ((ac__type_new_ *) 0)
20089 if (sizeof (ac__type_new_))
20095 rm -f conftest.$ac_objext
20096 if { (ac_try="$ac_compile"
20097 case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099 *) ac_try_echo=$ac_try;;
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_compile") 2>conftest.er1
20104 grep -v '^
*+' conftest.er1 >conftest.err
20106 cat conftest.err >&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } && {
20109 test -z "$ac_c_werror_flag" ||
20110 test ! -s conftest.err
20111 } && test -s conftest.$ac_objext; then
20114 echo "$as_me: failed program was:" >&5
20115 sed 's
/^
/| /' conftest.$ac_ext >&5
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20122 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20123 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20125 # The cast to long int works around a bug in the HP C Compiler
20126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20128 # This bug is HP SR number 8606223364.
20129 { echo "$as_me:$LINENO: checking size of int" >&5
20130 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20131 if test "${ac_cv_sizeof_int+set}" = set; then
20132 echo $ECHO_N "(cached) $ECHO_C" >&6
20134 if test "$cross_compiling" = yes; then
20135 # Depending upon the size, compute the lo and hi bounds.
20136 cat >conftest.
$ac_ext <<_ACEOF
20139 cat confdefs.h
>>conftest.
$ac_ext
20140 cat >>conftest.
$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142 $ac_includes_default
20143 typedef int ac__type_sizeof_;
20147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_compile") 2>conftest.er1
20163 grep -v '^ *+' conftest.er1 >conftest.err
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && {
20168 test -z "$ac_c_werror_flag" ||
20169 test ! -s conftest.err
20170 } && test -s conftest.$ac_objext; then
20173 cat >conftest.$ac_ext <<_ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef int ac__type_sizeof_;
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20195 *) ac_try_echo
=$ac_try;;
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20200 grep -v '^ *+' conftest.er1
>conftest.err
20202 cat conftest.err
>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.
$ac_objext; then
20208 ac_hi
=$ac_mid; break
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.
$ac_ext >&5
20213 ac_lo
=`expr $ac_mid + 1`
20214 if test $ac_lo -le $ac_mid; then
20218 ac_mid
=`expr 2 '*' $ac_mid + 1`
20221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20224 echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.
$ac_ext >&5
20227 cat >conftest.
$ac_ext <<_ACEOF
20230 cat confdefs.h
>>conftest.
$ac_ext
20231 cat >>conftest.
$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 typedef int ac__type_sizeof_;
20238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20245 rm -f conftest.
$ac_objext
20246 if { (ac_try
="$ac_compile"
20247 case "(($ac_try" in
20248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20249 *) ac_try_echo=$ac_try;;
20251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20252 (eval "$ac_compile") 2>conftest.er1
20254 grep -v '^ *+' conftest.er1 >conftest.err
20256 cat conftest.err >&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } && {
20259 test -z "$ac_c_werror_flag" ||
20260 test ! -s conftest.err
20261 } && test -s conftest.$ac_objext; then
20264 cat >conftest.$ac_ext <<_ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20271 typedef int ac__type_sizeof_;
20275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20282 rm -f conftest.$ac_objext
20283 if { (ac_try="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20286 *) ac_try_echo
=$ac_try;;
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20291 grep -v '^ *+' conftest.er1
>conftest.err
20293 cat conftest.err
>&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } && {
20296 test -z "$ac_c_werror_flag" ||
20297 test ! -s conftest.err
20298 } && test -s conftest.
$ac_objext; then
20299 ac_lo
=$ac_mid; break
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.
$ac_ext >&5
20304 ac_hi
=`expr '(' $ac_mid ')' - 1`
20305 if test $ac_mid -le $ac_hi; then
20309 ac_mid
=`expr 2 '*' $ac_mid`
20312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.
$ac_ext >&5
20321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20325 # Binary search between lo and hi bounds.
20326 while test "x$ac_lo" != "x$ac_hi"; do
20327 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20328 cat >conftest.
$ac_ext <<_ACEOF
20331 cat confdefs.h
>>conftest.
$ac_ext
20332 cat >>conftest.
$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20334 $ac_includes_default
20335 typedef int ac__type_sizeof_;
20339 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20346 rm -f conftest.
$ac_objext
20347 if { (ac_try
="$ac_compile"
20348 case "(($ac_try" in
20349 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20350 *) ac_try_echo=$ac_try;;
20352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20353 (eval "$ac_compile") 2>conftest.er1
20355 grep -v '^ *+' conftest.er1 >conftest.err
20357 cat conftest.err >&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); } && {
20360 test -z "$ac_c_werror_flag" ||
20361 test ! -s conftest.err
20362 } && test -s conftest.$ac_objext; then
20365 echo "$as_me: failed program was:" >&5
20366 sed 's/^/| /' conftest.$ac_ext >&5
20368 ac_lo=`expr '(' $ac_mid ')' + 1`
20371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20374 ?*) ac_cv_sizeof_int=$ac_lo;;
20375 '') if test "$ac_cv_type_int" = yes; then
20376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20377 See \`config.log
' for more details." >&5
20378 echo "$as_me: error: cannot compute sizeof (int)
20379 See \`config.log' for more details.
" >&2;}
20380 { (exit 77); exit 77; }; }
20386 cat >conftest.$ac_ext <<_ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 $ac_includes_default
20393 typedef int ac__type_sizeof_;
20394 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20395 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20397 #include <stdlib.h>
20402 FILE *f = fopen ("conftest.val
", "w
");
20405 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20407 long int i = longval ();
20408 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20410 fprintf (f, "%ld
\n", i);
20414 unsigned long int i = ulongval ();
20415 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20417 fprintf (f, "%lu
\n", i);
20419 return ferror (f) || fclose (f) != 0;
20425 rm -f conftest$ac_exeext
20426 if { (ac_try="$ac_link"
20427 case "(($ac_try" in
20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20429 *) ac_try_echo=$ac_try;;
20431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20432 (eval "$ac_link") 2>&5
20434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20436 { (case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20440 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_try") 2>&5
20443 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20444 (exit $ac_status); }; }; then
20445 ac_cv_sizeof_int=`cat conftest.val`
20447 echo "$as_me: program exited with status
$ac_status" >&5
20448 echo "$as_me: failed program was
:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20451 ( exit $ac_status )
20452 if test "$ac_cv_type_int" = yes; then
20453 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20454 See \
`config.log' for more details." >&5
20455 echo "$as_me: error: cannot compute sizeof (int)
20456 See \`config.log
' for more details." >&2;}
20457 { (exit 77); exit 77; }; }
20462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20466 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20467 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20471 cat >>confdefs.h <<_ACEOF
20472 #define SIZEOF_INT $ac_cv_sizeof_int
20476 { echo "$as_me:$LINENO: checking for long" >&5
20477 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20478 if test "${ac_cv_type_long+set}" = set; then
20479 echo $ECHO_N "(cached) $ECHO_C" >&6
20481 cat >conftest.$ac_ext <<_ACEOF
20484 cat confdefs.h >>conftest.$ac_ext
20485 cat >>conftest.$ac_ext <<_ACEOF
20486 /* end confdefs.h. */
20487 $ac_includes_default
20488 typedef long ac__type_new_;
20492 if ((ac__type_new_ *) 0)
20494 if (sizeof (ac__type_new_))
20500 rm -f conftest.$ac_objext
20501 if { (ac_try="$ac_compile"
20502 case "(($ac_try" in
20503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20504 *) ac_try_echo=$ac_try;;
20506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20507 (eval "$ac_compile") 2>conftest.er1
20509 grep -v '^
*+' conftest.er1 >conftest.err
20511 cat conftest.err >&5
20512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20513 (exit $ac_status); } && {
20514 test -z "$ac_c_werror_flag" ||
20515 test ! -s conftest.err
20516 } && test -s conftest.$ac_objext; then
20517 ac_cv_type_long=yes
20519 echo "$as_me: failed program was:" >&5
20520 sed 's
/^
/| /' conftest.$ac_ext >&5
20525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20527 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20528 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20530 # The cast to long int works around a bug in the HP C Compiler
20531 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20532 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20533 # This bug is HP SR number 8606223364.
20534 { echo "$as_me:$LINENO: checking size of long" >&5
20535 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20536 if test "${ac_cv_sizeof_long+set}" = set; then
20537 echo $ECHO_N "(cached) $ECHO_C" >&6
20539 if test "$cross_compiling" = yes; then
20540 # Depending upon the size, compute the lo and hi bounds.
20541 cat >conftest.
$ac_ext <<_ACEOF
20544 cat confdefs.h
>>conftest.
$ac_ext
20545 cat >>conftest.
$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 $ac_includes_default
20548 typedef long ac__type_sizeof_;
20552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20559 rm -f conftest.
$ac_objext
20560 if { (ac_try
="$ac_compile"
20561 case "(($ac_try" in
20562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_compile") 2>conftest.er1
20568 grep -v '^ *+' conftest.er1 >conftest.err
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest.$ac_objext; then
20578 cat >conftest.$ac_ext <<_ACEOF
20581 cat confdefs.h >>conftest.$ac_ext
20582 cat >>conftest.$ac_ext <<_ACEOF
20583 /* end confdefs.h. */
20584 $ac_includes_default
20585 typedef long ac__type_sizeof_;
20589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20596 rm -f conftest.$ac_objext
20597 if { (ac_try="$ac_compile"
20598 case "(($ac_try" in
20599 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20600 *) ac_try_echo
=$ac_try;;
20602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20603 (eval "$ac_compile") 2>conftest.er1
20605 grep -v '^ *+' conftest.er1
>conftest.err
20607 cat conftest.err
>&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } && {
20610 test -z "$ac_c_werror_flag" ||
20611 test ! -s conftest.err
20612 } && test -s conftest.
$ac_objext; then
20613 ac_hi
=$ac_mid; break
20615 echo "$as_me: failed program was:" >&5
20616 sed 's/^/| /' conftest.
$ac_ext >&5
20618 ac_lo
=`expr $ac_mid + 1`
20619 if test $ac_lo -le $ac_mid; then
20623 ac_mid
=`expr 2 '*' $ac_mid + 1`
20626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.
$ac_ext >&5
20632 cat >conftest.
$ac_ext <<_ACEOF
20635 cat confdefs.h
>>conftest.
$ac_ext
20636 cat >>conftest.
$ac_ext <<_ACEOF
20637 /* end confdefs.h. */
20638 $ac_includes_default
20639 typedef long ac__type_sizeof_;
20643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20650 rm -f conftest.
$ac_objext
20651 if { (ac_try
="$ac_compile"
20652 case "(($ac_try" in
20653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20654 *) ac_try_echo=$ac_try;;
20656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20657 (eval "$ac_compile") 2>conftest.er1
20659 grep -v '^ *+' conftest.er1 >conftest.err
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } && {
20664 test -z "$ac_c_werror_flag" ||
20665 test ! -s conftest.err
20666 } && test -s conftest.$ac_objext; then
20669 cat >conftest.$ac_ext <<_ACEOF
20672 cat confdefs.h >>conftest.$ac_ext
20673 cat >>conftest.$ac_ext <<_ACEOF
20674 /* end confdefs.h. */
20675 $ac_includes_default
20676 typedef long ac__type_sizeof_;
20680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20687 rm -f conftest.$ac_objext
20688 if { (ac_try="$ac_compile"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20691 *) ac_try_echo
=$ac_try;;
20693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_compile") 2>conftest.er1
20696 grep -v '^ *+' conftest.er1
>conftest.err
20698 cat conftest.err
>&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); } && {
20701 test -z "$ac_c_werror_flag" ||
20702 test ! -s conftest.err
20703 } && test -s conftest.
$ac_objext; then
20704 ac_lo
=$ac_mid; break
20706 echo "$as_me: failed program was:" >&5
20707 sed 's/^/| /' conftest.
$ac_ext >&5
20709 ac_hi
=`expr '(' $ac_mid ')' - 1`
20710 if test $ac_mid -le $ac_hi; then
20714 ac_mid
=`expr 2 '*' $ac_mid`
20717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20720 echo "$as_me: failed program was:" >&5
20721 sed 's/^/| /' conftest.
$ac_ext >&5
20726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20730 # Binary search between lo and hi bounds.
20731 while test "x$ac_lo" != "x$ac_hi"; do
20732 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20733 cat >conftest.
$ac_ext <<_ACEOF
20736 cat confdefs.h
>>conftest.
$ac_ext
20737 cat >>conftest.
$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 $ac_includes_default
20740 typedef long ac__type_sizeof_;
20744 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20751 rm -f conftest.
$ac_objext
20752 if { (ac_try
="$ac_compile"
20753 case "(($ac_try" in
20754 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20755 *) ac_try_echo=$ac_try;;
20757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20758 (eval "$ac_compile") 2>conftest.er1
20760 grep -v '^ *+' conftest.er1 >conftest.err
20762 cat conftest.err >&5
20763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20764 (exit $ac_status); } && {
20765 test -z "$ac_c_werror_flag" ||
20766 test ! -s conftest.err
20767 } && test -s conftest.$ac_objext; then
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5
20773 ac_lo=`expr '(' $ac_mid ')' + 1`
20776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779 ?*) ac_cv_sizeof_long=$ac_lo;;
20780 '') if test "$ac_cv_type_long" = yes; then
20781 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20782 See \`config.log
' for more details." >&5
20783 echo "$as_me: error: cannot compute sizeof (long)
20784 See \`config.log' for more details.
" >&2;}
20785 { (exit 77); exit 77; }; }
20787 ac_cv_sizeof_long=0
20791 cat >conftest.$ac_ext <<_ACEOF
20794 cat confdefs.h >>conftest.$ac_ext
20795 cat >>conftest.$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797 $ac_includes_default
20798 typedef long ac__type_sizeof_;
20799 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20800 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20802 #include <stdlib.h>
20807 FILE *f = fopen ("conftest.val
", "w
");
20810 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20812 long int i = longval ();
20813 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20815 fprintf (f, "%ld
\n", i);
20819 unsigned long int i = ulongval ();
20820 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20822 fprintf (f, "%lu
\n", i);
20824 return ferror (f) || fclose (f) != 0;
20830 rm -f conftest$ac_exeext
20831 if { (ac_try="$ac_link"
20832 case "(($ac_try" in
20833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20834 *) ac_try_echo=$ac_try;;
20836 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20837 (eval "$ac_link") 2>&5
20839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20840 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20841 { (case "(($ac_try" in
20842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20843 *) ac_try_echo=$ac_try;;
20845 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20846 (eval "$ac_try") 2>&5
20848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20849 (exit $ac_status); }; }; then
20850 ac_cv_sizeof_long=`cat conftest.val`
20852 echo "$as_me: program exited with status
$ac_status" >&5
20853 echo "$as_me: failed program was
:" >&5
20854 sed 's/^/| /' conftest.$ac_ext >&5
20856 ( exit $ac_status )
20857 if test "$ac_cv_type_long" = yes; then
20858 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
20859 See \
`config.log' for more details." >&5
20860 echo "$as_me: error: cannot compute sizeof (long)
20861 See \`config.log
' for more details." >&2;}
20862 { (exit 77); exit 77; }; }
20864 ac_cv_sizeof_long=0
20867 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20871 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20872 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20876 cat >>confdefs.h <<_ACEOF
20877 #define SIZEOF_LONG $ac_cv_sizeof_long
20881 { echo "$as_me:$LINENO: checking for size_t" >&5
20882 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20883 if test "${ac_cv_type_size_t+set}" = set; then
20884 echo $ECHO_N "(cached) $ECHO_C" >&6
20886 cat >conftest.$ac_ext <<_ACEOF
20889 cat confdefs.h >>conftest.$ac_ext
20890 cat >>conftest.$ac_ext <<_ACEOF
20891 /* end confdefs.h. */
20892 $ac_includes_default
20893 typedef size_t ac__type_new_;
20897 if ((ac__type_new_ *) 0)
20899 if (sizeof (ac__type_new_))
20905 rm -f conftest.$ac_objext
20906 if { (ac_try="$ac_compile"
20907 case "(($ac_try" in
20908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20909 *) ac_try_echo=$ac_try;;
20911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20912 (eval "$ac_compile") 2>conftest.er1
20914 grep -v '^
*+' conftest.er1 >conftest.err
20916 cat conftest.err >&5
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918 (exit $ac_status); } && {
20919 test -z "$ac_c_werror_flag" ||
20920 test ! -s conftest.err
20921 } && test -s conftest.$ac_objext; then
20922 ac_cv_type_size_t=yes
20924 echo "$as_me: failed program was:" >&5
20925 sed 's
/^
/| /' conftest.$ac_ext >&5
20927 ac_cv_type_size_t=no
20930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20932 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20933 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20935 # The cast to long int works around a bug in the HP C Compiler
20936 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20937 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20938 # This bug is HP SR number 8606223364.
20939 { echo "$as_me:$LINENO: checking size of size_t" >&5
20940 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20941 if test "${ac_cv_sizeof_size_t+set}" = set; then
20942 echo $ECHO_N "(cached) $ECHO_C" >&6
20944 if test "$cross_compiling" = yes; then
20945 # Depending upon the size, compute the lo and hi bounds.
20946 cat >conftest.
$ac_ext <<_ACEOF
20949 cat confdefs.h
>>conftest.
$ac_ext
20950 cat >>conftest.
$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 $ac_includes_default
20953 typedef size_t ac__type_sizeof_;
20957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20964 rm -f conftest.
$ac_objext
20965 if { (ac_try
="$ac_compile"
20966 case "(($ac_try" in
20967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20968 *) ac_try_echo=$ac_try;;
20970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20971 (eval "$ac_compile") 2>conftest.er1
20973 grep -v '^ *+' conftest.er1 >conftest.err
20975 cat conftest.err >&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } && {
20978 test -z "$ac_c_werror_flag" ||
20979 test ! -s conftest.err
20980 } && test -s conftest.$ac_objext; then
20983 cat >conftest.$ac_ext <<_ACEOF
20986 cat confdefs.h >>conftest.$ac_ext
20987 cat >>conftest.$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 $ac_includes_default
20990 typedef size_t ac__type_sizeof_;
20994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21001 rm -f conftest.$ac_objext
21002 if { (ac_try="$ac_compile"
21003 case "(($ac_try" in
21004 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21005 *) ac_try_echo
=$ac_try;;
21007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21008 (eval "$ac_compile") 2>conftest.er1
21010 grep -v '^ *+' conftest.er1
>conftest.err
21012 cat conftest.err
>&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } && {
21015 test -z "$ac_c_werror_flag" ||
21016 test ! -s conftest.err
21017 } && test -s conftest.
$ac_objext; then
21018 ac_hi
=$ac_mid; break
21020 echo "$as_me: failed program was:" >&5
21021 sed 's/^/| /' conftest.
$ac_ext >&5
21023 ac_lo
=`expr $ac_mid + 1`
21024 if test $ac_lo -le $ac_mid; then
21028 ac_mid
=`expr 2 '*' $ac_mid + 1`
21031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.
$ac_ext >&5
21037 cat >conftest.
$ac_ext <<_ACEOF
21040 cat confdefs.h
>>conftest.
$ac_ext
21041 cat >>conftest.
$ac_ext <<_ACEOF
21042 /* end confdefs.h. */
21043 $ac_includes_default
21044 typedef size_t ac__type_sizeof_;
21048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21055 rm -f conftest.
$ac_objext
21056 if { (ac_try
="$ac_compile"
21057 case "(($ac_try" in
21058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21059 *) ac_try_echo=$ac_try;;
21061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21062 (eval "$ac_compile") 2>conftest.er1
21064 grep -v '^ *+' conftest.er1 >conftest.err
21066 cat conftest.err >&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); } && {
21069 test -z "$ac_c_werror_flag" ||
21070 test ! -s conftest.err
21071 } && test -s conftest.$ac_objext; then
21074 cat >conftest.$ac_ext <<_ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 $ac_includes_default
21081 typedef size_t ac__type_sizeof_;
21085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21092 rm -f conftest.$ac_objext
21093 if { (ac_try="$ac_compile"
21094 case "(($ac_try" in
21095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21096 *) ac_try_echo
=$ac_try;;
21098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21099 (eval "$ac_compile") 2>conftest.er1
21101 grep -v '^ *+' conftest.er1
>conftest.err
21103 cat conftest.err
>&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } && {
21106 test -z "$ac_c_werror_flag" ||
21107 test ! -s conftest.err
21108 } && test -s conftest.
$ac_objext; then
21109 ac_lo
=$ac_mid; break
21111 echo "$as_me: failed program was:" >&5
21112 sed 's/^/| /' conftest.
$ac_ext >&5
21114 ac_hi
=`expr '(' $ac_mid ')' - 1`
21115 if test $ac_mid -le $ac_hi; then
21119 ac_mid
=`expr 2 '*' $ac_mid`
21122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.
$ac_ext >&5
21131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21135 # Binary search between lo and hi bounds.
21136 while test "x$ac_lo" != "x$ac_hi"; do
21137 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21138 cat >conftest.
$ac_ext <<_ACEOF
21141 cat confdefs.h
>>conftest.
$ac_ext
21142 cat >>conftest.
$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21144 $ac_includes_default
21145 typedef size_t ac__type_sizeof_;
21149 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21156 rm -f conftest.
$ac_objext
21157 if { (ac_try
="$ac_compile"
21158 case "(($ac_try" in
21159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21160 *) ac_try_echo=$ac_try;;
21162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21163 (eval "$ac_compile") 2>conftest.er1
21165 grep -v '^ *+' conftest.er1 >conftest.err
21167 cat conftest.err >&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); } && {
21170 test -z "$ac_c_werror_flag" ||
21171 test ! -s conftest.err
21172 } && test -s conftest.$ac_objext; then
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21178 ac_lo=`expr '(' $ac_mid ')' + 1`
21181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21184 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21185 '') if test "$ac_cv_type_size_t" = yes; then
21186 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21187 See \`config.log
' for more details." >&5
21188 echo "$as_me: error: cannot compute sizeof (size_t)
21189 See \`config.log' for more details.
" >&2;}
21190 { (exit 77); exit 77; }; }
21192 ac_cv_sizeof_size_t=0
21196 cat >conftest.$ac_ext <<_ACEOF
21199 cat confdefs.h >>conftest.$ac_ext
21200 cat >>conftest.$ac_ext <<_ACEOF
21201 /* end confdefs.h. */
21202 $ac_includes_default
21203 typedef size_t ac__type_sizeof_;
21204 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21205 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21207 #include <stdlib.h>
21212 FILE *f = fopen ("conftest.val
", "w
");
21215 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21217 long int i = longval ();
21218 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21220 fprintf (f, "%ld
\n", i);
21224 unsigned long int i = ulongval ();
21225 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21227 fprintf (f, "%lu
\n", i);
21229 return ferror (f) || fclose (f) != 0;
21235 rm -f conftest$ac_exeext
21236 if { (ac_try="$ac_link"
21237 case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21241 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_link") 2>&5
21244 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21245 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21246 { (case "(($ac_try" in
21247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21248 *) ac_try_echo=$ac_try;;
21250 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21251 (eval "$ac_try") 2>&5
21253 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_cv_sizeof_size_t=`cat conftest.val`
21257 echo "$as_me: program exited with status
$ac_status" >&5
21258 echo "$as_me: failed program was
:" >&5
21259 sed 's/^/| /' conftest.$ac_ext >&5
21261 ( exit $ac_status )
21262 if test "$ac_cv_type_size_t" = yes; then
21263 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21264 See \
`config.log' for more details." >&5
21265 echo "$as_me: error: cannot compute sizeof (size_t)
21266 See \`config.log
' for more details." >&2;}
21267 { (exit 77); exit 77; }; }
21269 ac_cv_sizeof_size_t=0
21272 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21276 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21277 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21281 cat >>confdefs.h <<_ACEOF
21282 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21289 { echo "$as_me:$LINENO: checking for long long" >&5
21290 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21291 if test "${ac_cv_type_long_long+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 cat >conftest.$ac_ext <<_ACEOF
21297 cat confdefs.h >>conftest.$ac_ext
21298 cat >>conftest.$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 $ac_includes_default
21301 typedef long long ac__type_new_;
21305 if ((ac__type_new_ *) 0)
21307 if (sizeof (ac__type_new_))
21313 rm -f conftest.$ac_objext
21314 if { (ac_try="$ac_compile"
21315 case "(($ac_try" in
21316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21317 *) ac_try_echo=$ac_try;;
21319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21320 (eval "$ac_compile") 2>conftest.er1
21322 grep -v '^
*+' conftest.er1 >conftest.err
21324 cat conftest.err >&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); } && {
21327 test -z "$ac_c_werror_flag" ||
21328 test ! -s conftest.err
21329 } && test -s conftest.$ac_objext; then
21330 ac_cv_type_long_long=yes
21332 echo "$as_me: failed program was:" >&5
21333 sed 's
/^
/| /' conftest.$ac_ext >&5
21335 ac_cv_type_long_long=no
21338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21340 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21341 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21343 # The cast to long int works around a bug in the HP C Compiler
21344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21346 # This bug is HP SR number 8606223364.
21347 { echo "$as_me:$LINENO: checking size of long long" >&5
21348 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21349 if test "${ac_cv_sizeof_long_long+set}" = set; then
21350 echo $ECHO_N "(cached) $ECHO_C" >&6
21352 if test "$cross_compiling" = yes; then
21353 # Depending upon the size, compute the lo and hi bounds.
21354 cat >conftest.
$ac_ext <<_ACEOF
21357 cat confdefs.h
>>conftest.
$ac_ext
21358 cat >>conftest.
$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 $ac_includes_default
21361 typedef long long ac__type_sizeof_;
21365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21372 rm -f conftest.
$ac_objext
21373 if { (ac_try
="$ac_compile"
21374 case "(($ac_try" in
21375 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_compile") 2>conftest.er1
21381 grep -v '^ *+' conftest.er1 >conftest.err
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest.$ac_objext; then
21391 cat >conftest.$ac_ext <<_ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21397 $ac_includes_default
21398 typedef long long ac__type_sizeof_;
21402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21409 rm -f conftest.$ac_objext
21410 if { (ac_try="$ac_compile"
21411 case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21413 *) ac_try_echo
=$ac_try;;
21415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21418 grep -v '^ *+' conftest.er1
>conftest.err
21420 cat conftest.err
>&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } && {
21423 test -z "$ac_c_werror_flag" ||
21424 test ! -s conftest.err
21425 } && test -s conftest.
$ac_objext; then
21426 ac_hi
=$ac_mid; break
21428 echo "$as_me: failed program was:" >&5
21429 sed 's/^/| /' conftest.
$ac_ext >&5
21431 ac_lo
=`expr $ac_mid + 1`
21432 if test $ac_lo -le $ac_mid; then
21436 ac_mid
=`expr 2 '*' $ac_mid + 1`
21439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.
$ac_ext >&5
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
21452 typedef long long ac__type_sizeof_;
21456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21463 rm -f conftest.
$ac_objext
21464 if { (ac_try
="$ac_compile"
21465 case "(($ac_try" in
21466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21467 *) ac_try_echo=$ac_try;;
21469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21470 (eval "$ac_compile") 2>conftest.er1
21472 grep -v '^ *+' conftest.er1 >conftest.err
21474 cat conftest.err >&5
21475 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
21489 typedef long long ac__type_sizeof_;
21493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21500 rm -f conftest.$ac_objext
21501 if { (ac_try="$ac_compile"
21502 case "(($ac_try" in
21503 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21504 *) ac_try_echo
=$ac_try;;
21506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21507 (eval "$ac_compile") 2>conftest.er1
21509 grep -v '^ *+' conftest.er1
>conftest.err
21511 cat conftest.err
>&5
21512 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_lo
=$ac_mid; break
21519 echo "$as_me: failed program was:" >&5
21520 sed 's/^/| /' conftest.
$ac_ext >&5
21522 ac_hi
=`expr '(' $ac_mid ')' - 1`
21523 if test $ac_mid -le $ac_hi; then
21527 ac_mid
=`expr 2 '*' $ac_mid`
21530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21533 echo "$as_me: failed program was:" >&5
21534 sed 's/^/| /' conftest.
$ac_ext >&5
21539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21543 # Binary search between lo and hi bounds.
21544 while test "x$ac_lo" != "x$ac_hi"; do
21545 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21546 cat >conftest.
$ac_ext <<_ACEOF
21549 cat confdefs.h
>>conftest.
$ac_ext
21550 cat >>conftest.
$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21552 $ac_includes_default
21553 typedef long long ac__type_sizeof_;
21557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21564 rm -f conftest.
$ac_objext
21565 if { (ac_try
="$ac_compile"
21566 case "(($ac_try" in
21567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;;
21570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_compile") 2>conftest.er1
21573 grep -v '^ *+' conftest.er1 >conftest.err
21575 cat conftest.err >&5
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); } && {
21578 test -z "$ac_c_werror_flag" ||
21579 test ! -s conftest.err
21580 } && test -s conftest.$ac_objext; then
21583 echo "$as_me: failed program was:" >&5
21584 sed 's/^/| /' conftest.$ac_ext >&5
21586 ac_lo=`expr '(' $ac_mid ')' + 1`
21589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21592 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21593 '') if test "$ac_cv_type_long_long" = yes; then
21594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21595 See \`config.log
' for more details." >&5
21596 echo "$as_me: error: cannot compute sizeof (long long)
21597 See \`config.log' for more details.
" >&2;}
21598 { (exit 77); exit 77; }; }
21600 ac_cv_sizeof_long_long=0
21604 cat >conftest.$ac_ext <<_ACEOF
21607 cat confdefs.h >>conftest.$ac_ext
21608 cat >>conftest.$ac_ext <<_ACEOF
21609 /* end confdefs.h. */
21610 $ac_includes_default
21611 typedef long long ac__type_sizeof_;
21612 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21613 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21615 #include <stdlib.h>
21620 FILE *f = fopen ("conftest.val
", "w
");
21623 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21625 long int i = longval ();
21626 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21628 fprintf (f, "%ld
\n", i);
21632 unsigned long int i = ulongval ();
21633 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21635 fprintf (f, "%lu
\n", i);
21637 return ferror (f) || fclose (f) != 0;
21643 rm -f conftest$ac_exeext
21644 if { (ac_try="$ac_link"
21645 case "(($ac_try" in
21646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21647 *) ac_try_echo=$ac_try;;
21649 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21650 (eval "$ac_link") 2>&5
21652 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21654 { (case "(($ac_try" in
21655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21656 *) ac_try_echo=$ac_try;;
21658 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21659 (eval "$ac_try") 2>&5
21661 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21662 (exit $ac_status); }; }; then
21663 ac_cv_sizeof_long_long=`cat conftest.val`
21665 echo "$as_me: program exited with status
$ac_status" >&5
21666 echo "$as_me: failed program was
:" >&5
21667 sed 's/^/| /' conftest.$ac_ext >&5
21669 ( exit $ac_status )
21670 if test "$ac_cv_type_long_long" = yes; then
21671 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21672 See \
`config.log' for more details." >&5
21673 echo "$as_me: error: cannot compute sizeof (long long)
21674 See \`config.log
' for more details." >&2;}
21675 { (exit 77); exit 77; }; }
21677 ac_cv_sizeof_long_long=0
21680 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21684 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21685 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21689 cat >>confdefs.h <<_ACEOF
21690 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21696 { echo "$as_me:$LINENO: checking for long long" >&5
21697 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21698 if test "${ac_cv_type_long_long+set}" = set; then
21699 echo $ECHO_N "(cached) $ECHO_C" >&6
21701 cat >conftest.$ac_ext <<_ACEOF
21704 cat confdefs.h >>conftest.$ac_ext
21705 cat >>conftest.$ac_ext <<_ACEOF
21706 /* end confdefs.h. */
21707 $ac_includes_default
21708 typedef long long ac__type_new_;
21712 if ((ac__type_new_ *) 0)
21714 if (sizeof (ac__type_new_))
21720 rm -f conftest.$ac_objext
21721 if { (ac_try="$ac_compile"
21722 case "(($ac_try" in
21723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21724 *) ac_try_echo=$ac_try;;
21726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21727 (eval "$ac_compile") 2>conftest.er1
21729 grep -v '^
*+' conftest.er1 >conftest.err
21731 cat conftest.err >&5
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); } && {
21734 test -z "$ac_c_werror_flag" ||
21735 test ! -s conftest.err
21736 } && test -s conftest.$ac_objext; then
21737 ac_cv_type_long_long=yes
21739 echo "$as_me: failed program was:" >&5
21740 sed 's
/^
/| /' conftest.$ac_ext >&5
21742 ac_cv_type_long_long=no
21745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21747 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21748 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21750 # The cast to long int works around a bug in the HP C Compiler
21751 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21752 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21753 # This bug is HP SR number 8606223364.
21754 { echo "$as_me:$LINENO: checking size of long long" >&5
21755 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21756 if test "${ac_cv_sizeof_long_long+set}" = set; then
21757 echo $ECHO_N "(cached) $ECHO_C" >&6
21759 if test "$cross_compiling" = yes; then
21760 # Depending upon the size, compute the lo and hi bounds.
21761 cat >conftest.
$ac_ext <<_ACEOF
21764 cat confdefs.h
>>conftest.
$ac_ext
21765 cat >>conftest.
$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 $ac_includes_default
21768 typedef long long ac__type_sizeof_;
21772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21779 rm -f conftest.
$ac_objext
21780 if { (ac_try
="$ac_compile"
21781 case "(($ac_try" in
21782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_compile") 2>conftest.er1
21788 grep -v '^ *+' conftest.er1 >conftest.err
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } && {
21793 test -z "$ac_c_werror_flag" ||
21794 test ! -s conftest.err
21795 } && test -s conftest.$ac_objext; then
21798 cat >conftest.$ac_ext <<_ACEOF
21801 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h. */
21804 $ac_includes_default
21805 typedef long long ac__type_sizeof_;
21809 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21816 rm -f conftest.$ac_objext
21817 if { (ac_try="$ac_compile"
21818 case "(($ac_try" in
21819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21820 *) ac_try_echo
=$ac_try;;
21822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21823 (eval "$ac_compile") 2>conftest.er1
21825 grep -v '^ *+' conftest.er1
>conftest.err
21827 cat conftest.err
>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } && {
21830 test -z "$ac_c_werror_flag" ||
21831 test ! -s conftest.err
21832 } && test -s conftest.
$ac_objext; then
21833 ac_hi
=$ac_mid; break
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.
$ac_ext >&5
21838 ac_lo
=`expr $ac_mid + 1`
21839 if test $ac_lo -le $ac_mid; then
21843 ac_mid
=`expr 2 '*' $ac_mid + 1`
21846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.
$ac_ext >&5
21852 cat >conftest.
$ac_ext <<_ACEOF
21855 cat confdefs.h
>>conftest.
$ac_ext
21856 cat >>conftest.
$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21858 $ac_includes_default
21859 typedef long long ac__type_sizeof_;
21863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21870 rm -f conftest.
$ac_objext
21871 if { (ac_try
="$ac_compile"
21872 case "(($ac_try" in
21873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21874 *) ac_try_echo=$ac_try;;
21876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21877 (eval "$ac_compile") 2>conftest.er1
21879 grep -v '^ *+' conftest.er1 >conftest.err
21881 cat conftest.err >&5
21882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21883 (exit $ac_status); } && {
21884 test -z "$ac_c_werror_flag" ||
21885 test ! -s conftest.err
21886 } && test -s conftest.$ac_objext; then
21889 cat >conftest.$ac_ext <<_ACEOF
21892 cat confdefs.h >>conftest.$ac_ext
21893 cat >>conftest.$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21895 $ac_includes_default
21896 typedef long long ac__type_sizeof_;
21900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21907 rm -f conftest.$ac_objext
21908 if { (ac_try="$ac_compile"
21909 case "(($ac_try" in
21910 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21911 *) ac_try_echo
=$ac_try;;
21913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21914 (eval "$ac_compile") 2>conftest.er1
21916 grep -v '^ *+' conftest.er1
>conftest.err
21918 cat conftest.err
>&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); } && {
21921 test -z "$ac_c_werror_flag" ||
21922 test ! -s conftest.err
21923 } && test -s conftest.
$ac_objext; then
21924 ac_lo
=$ac_mid; break
21926 echo "$as_me: failed program was:" >&5
21927 sed 's/^/| /' conftest.
$ac_ext >&5
21929 ac_hi
=`expr '(' $ac_mid ')' - 1`
21930 if test $ac_mid -le $ac_hi; then
21934 ac_mid
=`expr 2 '*' $ac_mid`
21937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21940 echo "$as_me: failed program was:" >&5
21941 sed 's/^/| /' conftest.
$ac_ext >&5
21946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21950 # Binary search between lo and hi bounds.
21951 while test "x$ac_lo" != "x$ac_hi"; do
21952 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21953 cat >conftest.
$ac_ext <<_ACEOF
21956 cat confdefs.h
>>conftest.
$ac_ext
21957 cat >>conftest.
$ac_ext <<_ACEOF
21958 /* end confdefs.h. */
21959 $ac_includes_default
21960 typedef long long ac__type_sizeof_;
21964 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21971 rm -f conftest.
$ac_objext
21972 if { (ac_try
="$ac_compile"
21973 case "(($ac_try" in
21974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21975 *) ac_try_echo=$ac_try;;
21977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21978 (eval "$ac_compile") 2>conftest.er1
21980 grep -v '^ *+' conftest.er1 >conftest.err
21982 cat conftest.err >&5
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); } && {
21985 test -z "$ac_c_werror_flag" ||
21986 test ! -s conftest.err
21987 } && test -s conftest.$ac_objext; then
21990 echo "$as_me: failed program was:" >&5
21991 sed 's/^/| /' conftest.$ac_ext >&5
21993 ac_lo=`expr '(' $ac_mid ')' + 1`
21996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21999 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22000 '') if test "$ac_cv_type_long_long" = yes; then
22001 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22002 See \`config.log
' for more details." >&5
22003 echo "$as_me: error: cannot compute sizeof (long long)
22004 See \`config.log' for more details.
" >&2;}
22005 { (exit 77); exit 77; }; }
22007 ac_cv_sizeof_long_long=0
22011 cat >conftest.$ac_ext <<_ACEOF
22014 cat confdefs.h >>conftest.$ac_ext
22015 cat >>conftest.$ac_ext <<_ACEOF
22016 /* end confdefs.h. */
22017 $ac_includes_default
22018 typedef long long ac__type_sizeof_;
22019 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22020 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22022 #include <stdlib.h>
22027 FILE *f = fopen ("conftest.val
", "w
");
22030 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22032 long int i = longval ();
22033 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22035 fprintf (f, "%ld
\n", i);
22039 unsigned long int i = ulongval ();
22040 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22042 fprintf (f, "%lu
\n", i);
22044 return ferror (f) || fclose (f) != 0;
22050 rm -f conftest$ac_exeext
22051 if { (ac_try="$ac_link"
22052 case "(($ac_try" in
22053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22054 *) ac_try_echo=$ac_try;;
22056 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22057 (eval "$ac_link") 2>&5
22059 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22061 { (case "(($ac_try" in
22062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22063 *) ac_try_echo=$ac_try;;
22065 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22066 (eval "$ac_try") 2>&5
22068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22069 (exit $ac_status); }; }; then
22070 ac_cv_sizeof_long_long=`cat conftest.val`
22072 echo "$as_me: program exited with status
$ac_status" >&5
22073 echo "$as_me: failed program was
:" >&5
22074 sed 's/^/| /' conftest.$ac_ext >&5
22076 ( exit $ac_status )
22077 if test "$ac_cv_type_long_long" = yes; then
22078 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22079 See \
`config.log' for more details." >&5
22080 echo "$as_me: error: cannot compute sizeof (long long)
22081 See \`config.log
' for more details." >&2;}
22082 { (exit 77); exit 77; }; }
22084 ac_cv_sizeof_long_long=0
22087 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22091 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22092 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22096 cat >>confdefs.h <<_ACEOF
22097 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22101 if test "$ac_cv_sizeof_long_long" != 0; then
22102 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22106 { echo "$as_me:$LINENO: checking for long long" >&5
22107 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22108 if test "${ac_cv_type_long_long+set}" = set; then
22109 echo $ECHO_N "(cached) $ECHO_C" >&6
22111 cat >conftest.$ac_ext <<_ACEOF
22114 cat confdefs.h >>conftest.$ac_ext
22115 cat >>conftest.$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117 $ac_includes_default
22118 typedef long long ac__type_new_;
22122 if ((ac__type_new_ *) 0)
22124 if (sizeof (ac__type_new_))
22130 rm -f conftest.$ac_objext
22131 if { (ac_try="$ac_compile"
22132 case "(($ac_try" in
22133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22134 *) ac_try_echo=$ac_try;;
22136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22137 (eval "$ac_compile") 2>conftest.er1
22139 grep -v '^
*+' conftest.er1 >conftest.err
22141 cat conftest.err >&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } && {
22144 test -z "$ac_c_werror_flag" ||
22145 test ! -s conftest.err
22146 } && test -s conftest.$ac_objext; then
22147 ac_cv_type_long_long=yes
22149 echo "$as_me: failed program was:" >&5
22150 sed 's
/^
/| /' conftest.$ac_ext >&5
22152 ac_cv_type_long_long=no
22155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22157 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22158 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22160 # The cast to long int works around a bug in the HP C Compiler
22161 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22162 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22163 # This bug is HP SR number 8606223364.
22164 { echo "$as_me:$LINENO: checking size of long long" >&5
22165 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22166 if test "${ac_cv_sizeof_long_long+set}" = set; then
22167 echo $ECHO_N "(cached) $ECHO_C" >&6
22169 if test "$cross_compiling" = yes; then
22170 # Depending upon the size, compute the lo and hi bounds.
22171 cat >conftest.
$ac_ext <<_ACEOF
22174 cat confdefs.h
>>conftest.
$ac_ext
22175 cat >>conftest.
$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 $ac_includes_default
22178 typedef long long ac__type_sizeof_;
22182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22189 rm -f conftest.
$ac_objext
22190 if { (ac_try
="$ac_compile"
22191 case "(($ac_try" in
22192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;;
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_compile") 2>conftest.er1
22198 grep -v '^ *+' conftest.er1 >conftest.err
22200 cat conftest.err >&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && {
22203 test -z "$ac_c_werror_flag" ||
22204 test ! -s conftest.err
22205 } && test -s conftest.$ac_objext; then
22208 cat >conftest.$ac_ext <<_ACEOF
22211 cat confdefs.h >>conftest.$ac_ext
22212 cat >>conftest.$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22214 $ac_includes_default
22215 typedef long long ac__type_sizeof_;
22219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22226 rm -f conftest.$ac_objext
22227 if { (ac_try="$ac_compile"
22228 case "(($ac_try" in
22229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22230 *) ac_try_echo
=$ac_try;;
22232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22233 (eval "$ac_compile") 2>conftest.er1
22235 grep -v '^ *+' conftest.er1
>conftest.err
22237 cat conftest.err
>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } && {
22240 test -z "$ac_c_werror_flag" ||
22241 test ! -s conftest.err
22242 } && test -s conftest.
$ac_objext; then
22243 ac_hi
=$ac_mid; break
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.
$ac_ext >&5
22248 ac_lo
=`expr $ac_mid + 1`
22249 if test $ac_lo -le $ac_mid; then
22253 ac_mid
=`expr 2 '*' $ac_mid + 1`
22256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.
$ac_ext >&5
22262 cat >conftest.
$ac_ext <<_ACEOF
22265 cat confdefs.h
>>conftest.
$ac_ext
22266 cat >>conftest.
$ac_ext <<_ACEOF
22267 /* end confdefs.h. */
22268 $ac_includes_default
22269 typedef long long ac__type_sizeof_;
22273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22280 rm -f conftest.
$ac_objext
22281 if { (ac_try
="$ac_compile"
22282 case "(($ac_try" in
22283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22284 *) ac_try_echo=$ac_try;;
22286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22287 (eval "$ac_compile") 2>conftest.er1
22289 grep -v '^ *+' conftest.er1 >conftest.err
22291 cat conftest.err >&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } && {
22294 test -z "$ac_c_werror_flag" ||
22295 test ! -s conftest.err
22296 } && test -s conftest.$ac_objext; then
22299 cat >conftest.$ac_ext <<_ACEOF
22302 cat confdefs.h >>conftest.$ac_ext
22303 cat >>conftest.$ac_ext <<_ACEOF
22304 /* end confdefs.h. */
22305 $ac_includes_default
22306 typedef long long ac__type_sizeof_;
22310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22317 rm -f conftest.$ac_objext
22318 if { (ac_try="$ac_compile"
22319 case "(($ac_try" in
22320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22321 *) ac_try_echo
=$ac_try;;
22323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22324 (eval "$ac_compile") 2>conftest.er1
22326 grep -v '^ *+' conftest.er1
>conftest.err
22328 cat conftest.err
>&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); } && {
22331 test -z "$ac_c_werror_flag" ||
22332 test ! -s conftest.err
22333 } && test -s conftest.
$ac_objext; then
22334 ac_lo
=$ac_mid; break
22336 echo "$as_me: failed program was:" >&5
22337 sed 's/^/| /' conftest.
$ac_ext >&5
22339 ac_hi
=`expr '(' $ac_mid ')' - 1`
22340 if test $ac_mid -le $ac_hi; then
22344 ac_mid
=`expr 2 '*' $ac_mid`
22347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22350 echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.
$ac_ext >&5
22356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22360 # Binary search between lo and hi bounds.
22361 while test "x$ac_lo" != "x$ac_hi"; do
22362 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22363 cat >conftest.
$ac_ext <<_ACEOF
22366 cat confdefs.h
>>conftest.
$ac_ext
22367 cat >>conftest.
$ac_ext <<_ACEOF
22368 /* end confdefs.h. */
22369 $ac_includes_default
22370 typedef long long ac__type_sizeof_;
22374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22381 rm -f conftest.
$ac_objext
22382 if { (ac_try
="$ac_compile"
22383 case "(($ac_try" in
22384 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22385 *) ac_try_echo=$ac_try;;
22387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22388 (eval "$ac_compile") 2>conftest.er1
22390 grep -v '^ *+' conftest.er1 >conftest.err
22392 cat conftest.err >&5
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); } && {
22395 test -z "$ac_c_werror_flag" ||
22396 test ! -s conftest.err
22397 } && test -s conftest.$ac_objext; then
22400 echo "$as_me: failed program was:" >&5
22401 sed 's/^/| /' conftest.$ac_ext >&5
22403 ac_lo=`expr '(' $ac_mid ')' + 1`
22406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22409 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22410 '') if test "$ac_cv_type_long_long" = yes; then
22411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22412 See \`config.log
' for more details." >&5
22413 echo "$as_me: error: cannot compute sizeof (long long)
22414 See \`config.log' for more details.
" >&2;}
22415 { (exit 77); exit 77; }; }
22417 ac_cv_sizeof_long_long=0
22421 cat >conftest.$ac_ext <<_ACEOF
22424 cat confdefs.h >>conftest.$ac_ext
22425 cat >>conftest.$ac_ext <<_ACEOF
22426 /* end confdefs.h. */
22427 $ac_includes_default
22428 typedef long long ac__type_sizeof_;
22429 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22430 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22432 #include <stdlib.h>
22437 FILE *f = fopen ("conftest.val
", "w
");
22440 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22442 long int i = longval ();
22443 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22445 fprintf (f, "%ld
\n", i);
22449 unsigned long int i = ulongval ();
22450 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22452 fprintf (f, "%lu
\n", i);
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 "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22467 (eval "$ac_link") 2>&5
22469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22471 { (case "(($ac_try" in
22472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22473 *) ac_try_echo=$ac_try;;
22475 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22476 (eval "$ac_try") 2>&5
22478 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22479 (exit $ac_status); }; }; then
22480 ac_cv_sizeof_long_long=`cat conftest.val`
22482 echo "$as_me: program exited with status
$ac_status" >&5
22483 echo "$as_me: failed program was
:" >&5
22484 sed 's/^/| /' conftest.$ac_ext >&5
22486 ( exit $ac_status )
22487 if test "$ac_cv_type_long_long" = yes; then
22488 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22489 See \
`config.log' for more details." >&5
22490 echo "$as_me: error: cannot compute sizeof (long long)
22491 See \`config.log
' for more details." >&2;}
22492 { (exit 77); exit 77; }; }
22494 ac_cv_sizeof_long_long=0
22497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22501 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22502 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22506 cat >>confdefs.h <<_ACEOF
22507 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22513 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22514 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22515 if test "${ac_cv_type_wchar_t+set}" = set; then
22516 echo $ECHO_N "(cached) $ECHO_C" >&6
22518 cat >conftest.$ac_ext <<_ACEOF
22521 cat confdefs.h >>conftest.$ac_ext
22522 cat >>conftest.$ac_ext <<_ACEOF
22523 /* end confdefs.h. */
22525 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22526 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22527 # error "fake wchar_t"
22529 #ifdef HAVE_WCHAR_H
22531 # include <stddef.h>
22533 # include <wchar.h>
22535 #ifdef HAVE_STDLIB_H
22536 # include <stdlib.h>
22542 typedef wchar_t ac__type_new_
;
22546 if ((ac__type_new_
*) 0)
22548 if (sizeof
(ac__type_new_
))
22554 rm -f conftest.
$ac_objext
22555 if { (ac_try
="$ac_compile"
22556 case "(($ac_try" in
22557 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22558 *) ac_try_echo=$ac_try;;
22560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22561 (eval "$ac_compile") 2>conftest.er1
22563 grep -v '^ *+' conftest.er1 >conftest.err
22565 cat conftest.err >&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } && {
22568 test -z "$ac_c_werror_flag" ||
22569 test ! -s conftest.err
22570 } && test -s conftest.$ac_objext; then
22571 ac_cv_type_wchar_t=yes
22573 echo "$as_me: failed program was:" >&5
22574 sed 's/^/| /' conftest.$ac_ext >&5
22576 ac_cv_type_wchar_t=no
22579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22581 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22582 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22584 # The cast to long int works around a bug in the HP C Compiler
22585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22586 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22587 # This bug is HP SR number 8606223364.
22588 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22589 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22590 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22591 echo $ECHO_N "(cached) $ECHO_C" >&6
22593 if test "$cross_compiling" = yes; then
22594 # Depending upon the size, compute the lo and hi bounds.
22595 cat >conftest.$ac_ext <<_ACEOF
22598 cat confdefs.h >>conftest.$ac_ext
22599 cat >>conftest.$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22602 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22603 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22604 # error "fake wchar_t"
22606 #ifdef HAVE_WCHAR_H
22608 # include <stddef.h>
22610 # include <wchar.h>
22612 #ifdef HAVE_STDLIB_H
22613 # include <stdlib.h>
22619 typedef wchar_t ac__type_sizeof_
;
22623 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22630 rm -f conftest.
$ac_objext
22631 if { (ac_try
="$ac_compile"
22632 case "(($ac_try" in
22633 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22634 *) ac_try_echo=$ac_try;;
22636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22637 (eval "$ac_compile") 2>conftest.er1
22639 grep -v '^ *+' conftest.er1 >conftest.err
22641 cat conftest.err >&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); } && {
22644 test -z "$ac_c_werror_flag" ||
22645 test ! -s conftest.err
22646 } && test -s conftest.$ac_objext; then
22649 cat >conftest.$ac_ext <<_ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22656 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22657 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22658 # error "fake wchar_t"
22660 #ifdef HAVE_WCHAR_H
22662 # include <stddef.h>
22664 # include <wchar.h>
22666 #ifdef HAVE_STDLIB_H
22667 # include <stdlib.h>
22673 typedef wchar_t ac__type_sizeof_;
22677 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22684 rm -f conftest.$ac_objext
22685 if { (ac_try="$ac_compile"
22686 case "(($ac_try" in
22687 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22688 *) ac_try_echo
=$ac_try;;
22690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22691 (eval "$ac_compile") 2>conftest.er1
22693 grep -v '^ *+' conftest.er1
>conftest.err
22695 cat conftest.err
>&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); } && {
22698 test -z "$ac_c_werror_flag" ||
22699 test ! -s conftest.err
22700 } && test -s conftest.
$ac_objext; then
22701 ac_hi
=$ac_mid; break
22703 echo "$as_me: failed program was:" >&5
22704 sed 's/^/| /' conftest.
$ac_ext >&5
22706 ac_lo
=`expr $ac_mid + 1`
22707 if test $ac_lo -le $ac_mid; then
22711 ac_mid
=`expr 2 '*' $ac_mid + 1`
22714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.
$ac_ext >&5
22720 cat >conftest.
$ac_ext <<_ACEOF
22723 cat confdefs.h
>>conftest.
$ac_ext
22724 cat >>conftest.
$ac_ext <<_ACEOF
22725 /* end confdefs.h. */
22727 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22728 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22729 # error "fake wchar_t"
22731 #ifdef HAVE_WCHAR_H
22733 # include <stddef.h>
22735 # include <wchar.h>
22737 #ifdef HAVE_STDLIB_H
22738 # include <stdlib.h>
22744 typedef wchar_t ac__type_sizeof_;
22748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22755 rm -f conftest.
$ac_objext
22756 if { (ac_try
="$ac_compile"
22757 case "(($ac_try" in
22758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22759 *) ac_try_echo=$ac_try;;
22761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22762 (eval "$ac_compile") 2>conftest.er1
22764 grep -v '^ *+' conftest.er1 >conftest.err
22766 cat conftest.err >&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } && {
22769 test -z "$ac_c_werror_flag" ||
22770 test ! -s conftest.err
22771 } && test -s conftest.$ac_objext; then
22774 cat >conftest.$ac_ext <<_ACEOF
22777 cat confdefs.h >>conftest.$ac_ext
22778 cat >>conftest.$ac_ext <<_ACEOF
22779 /* end confdefs.h. */
22781 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22782 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22783 # error "fake wchar_t"
22785 #ifdef HAVE_WCHAR_H
22787 # include <stddef.h>
22789 # include <wchar.h>
22791 #ifdef HAVE_STDLIB_H
22792 # include <stdlib.h>
22798 typedef wchar_t ac__type_sizeof_;
22802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22809 rm -f conftest.$ac_objext
22810 if { (ac_try="$ac_compile"
22811 case "(($ac_try" in
22812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22813 *) ac_try_echo
=$ac_try;;
22815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22816 (eval "$ac_compile") 2>conftest.er1
22818 grep -v '^ *+' conftest.er1
>conftest.err
22820 cat conftest.err
>&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } && {
22823 test -z "$ac_c_werror_flag" ||
22824 test ! -s conftest.err
22825 } && test -s conftest.
$ac_objext; then
22826 ac_lo
=$ac_mid; break
22828 echo "$as_me: failed program was:" >&5
22829 sed 's/^/| /' conftest.
$ac_ext >&5
22831 ac_hi
=`expr '(' $ac_mid ')' - 1`
22832 if test $ac_mid -le $ac_hi; then
22836 ac_mid
=`expr 2 '*' $ac_mid`
22839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22842 echo "$as_me: failed program was:" >&5
22843 sed 's/^/| /' conftest.
$ac_ext >&5
22848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22852 # Binary search between lo and hi bounds.
22853 while test "x$ac_lo" != "x$ac_hi"; do
22854 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22855 cat >conftest.
$ac_ext <<_ACEOF
22858 cat confdefs.h
>>conftest.
$ac_ext
22859 cat >>conftest.
$ac_ext <<_ACEOF
22860 /* end confdefs.h. */
22862 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22863 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22864 # error "fake wchar_t"
22866 #ifdef HAVE_WCHAR_H
22868 # include <stddef.h>
22870 # include <wchar.h>
22872 #ifdef HAVE_STDLIB_H
22873 # include <stdlib.h>
22879 typedef wchar_t ac__type_sizeof_;
22883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22890 rm -f conftest.
$ac_objext
22891 if { (ac_try
="$ac_compile"
22892 case "(($ac_try" in
22893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22894 *) ac_try_echo=$ac_try;;
22896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22897 (eval "$ac_compile") 2>conftest.er1
22899 grep -v '^ *+' conftest.er1 >conftest.err
22901 cat conftest.err >&5
22902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 (exit $ac_status); } && {
22904 test -z "$ac_c_werror_flag" ||
22905 test ! -s conftest.err
22906 } && test -s conftest.$ac_objext; then
22909 echo "$as_me: failed program was:" >&5
22910 sed 's/^/| /' conftest.$ac_ext >&5
22912 ac_lo=`expr '(' $ac_mid ')' + 1`
22915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22918 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22919 '') if test "$ac_cv_type_wchar_t" = yes; then
22920 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22921 See \`config.log
' for more details." >&5
22922 echo "$as_me: error: cannot compute sizeof (wchar_t)
22923 See \`config.log' for more details.
" >&2;}
22924 { (exit 77); exit 77; }; }
22926 ac_cv_sizeof_wchar_t=0
22930 cat >conftest.$ac_ext <<_ACEOF
22933 cat confdefs.h >>conftest.$ac_ext
22934 cat >>conftest.$ac_ext <<_ACEOF
22935 /* end confdefs.h. */
22937 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22938 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22939 # error "fake wchar_t
"
22941 #ifdef HAVE_WCHAR_H
22943 # include <stddef.h>
22945 # include <wchar.h>
22947 #ifdef HAVE_STDLIB_H
22948 # include <stdlib.h>
22954 typedef wchar_t ac__type_sizeof_;
22955 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22956 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22958 #include <stdlib.h>
22963 FILE *f = fopen ("conftest.val
", "w
");
22966 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22968 long int i = longval ();
22969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22971 fprintf (f, "%ld
\n", i);
22975 unsigned long int i = ulongval ();
22976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22978 fprintf (f, "%lu
\n", i);
22980 return ferror (f) || fclose (f) != 0;
22986 rm -f conftest$ac_exeext
22987 if { (ac_try="$ac_link"
22988 case "(($ac_try" in
22989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22990 *) ac_try_echo=$ac_try;;
22992 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22993 (eval "$ac_link") 2>&5
22995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22997 { (case "(($ac_try" in
22998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22999 *) ac_try_echo=$ac_try;;
23001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23002 (eval "$ac_try") 2>&5
23004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23005 (exit $ac_status); }; }; then
23006 ac_cv_sizeof_wchar_t=`cat conftest.val`
23008 echo "$as_me: program exited with status
$ac_status" >&5
23009 echo "$as_me: failed program was
:" >&5
23010 sed 's/^/| /' conftest.$ac_ext >&5
23012 ( exit $ac_status )
23013 if test "$ac_cv_type_wchar_t" = yes; then
23014 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23015 See \
`config.log' for more details." >&5
23016 echo "$as_me: error: cannot compute sizeof (wchar_t)
23017 See \`config.log
' for more details." >&2;}
23018 { (exit 77); exit 77; }; }
23020 ac_cv_sizeof_wchar_t=0
23023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23027 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23028 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23032 cat >>confdefs.h <<_ACEOF
23033 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23037 if test "$ac_cv_sizeof_wchar_t" != 0; then
23043 { echo "$as_me:$LINENO: checking for va_copy" >&5
23044 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23045 if test "${wx_cv_func_va_copy+set}" = set; then
23046 echo $ECHO_N "(cached) $ECHO_C" >&6
23050 ac_cpp='$CXXCPP $CPPFLAGS'
23051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23052 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23055 cat >conftest.$ac_ext <<_ACEOF
23057 #include <stdarg.h>
23058 void foo(char *f, ...)
23072 rm -f conftest.$ac_objext conftest$ac_exeext
23073 if { (ac_try="$ac_link"
23074 case "(($ac_try" in
23075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23076 *) ac_try_echo=$ac_try;;
23078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23079 (eval "$ac_link") 2>conftest.er1
23081 grep -v '^
*+' conftest.er1 >conftest.err
23083 cat conftest.err >&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } && {
23086 test -z "$ac_cxx_werror_flag" ||
23087 test ! -s conftest.err
23088 } && test -s conftest$ac_exeext &&
23089 $as_test_x conftest$ac_exeext; then
23090 wx_cv_func_va_copy=yes
23092 echo "$as_me: failed program was:" >&5
23093 sed 's
/^
/| /' conftest.$ac_ext >&5
23095 wx_cv_func_va_copy=no
23099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23100 conftest$ac_exeext conftest.$ac_ext
23102 ac_cpp='$CPP $CPPFLAGS'
23103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23104 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23110 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23111 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23113 if test $wx_cv_func_va_copy = "yes"; then
23114 cat >>confdefs.h <<\_ACEOF
23115 #define HAVE_VA_COPY 1
23119 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23120 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23121 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23122 echo $ECHO_N "(cached) $ECHO_C" >&6
23125 if test "$cross_compiling" = yes; then
23126 wx_cv_type_va_list_lvalue=yes
23129 cat >conftest.$ac_ext <<_ACEOF
23131 #include <stdarg.h>
23132 int foo(char *f, ...)
23137 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23145 return foo("hi", 17);
23148 rm -f conftest$ac_exeext
23149 if { (ac_try="$ac_link"
23150 case "(($ac_try" in
23151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23152 *) ac_try_echo=$ac_try;;
23154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23155 (eval "$ac_link") 2>&5
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23159 { (case "(($ac_try" in
23160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23161 *) ac_try_echo=$ac_try;;
23163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23164 (eval "$ac_try") 2>&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; }; then
23168 wx_cv_type_va_list_lvalue=yes
23170 echo "$as_me: program exited with status $ac_status" >&5
23171 echo "$as_me: failed program was:" >&5
23172 sed 's
/^
/| /' conftest.$ac_ext >&5
23174 ( exit $ac_status )
23175 wx_cv_type_va_list_lvalue=no
23177 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23184 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23185 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23187 if test $wx_cv_type_va_list_lvalue != "yes"; then
23188 cat >>confdefs.h <<\_ACEOF
23189 #define VA_LIST_IS_ARRAY 1
23195 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23197 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23198 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23199 if test "${wx_cv_have_variadic_macros+set}" = set; then
23200 echo $ECHO_N "(cached) $ECHO_C" >&6
23204 ac_cpp='$CXXCPP $CPPFLAGS'
23205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23206 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23209 cat >conftest.$ac_ext <<_ACEOF
23212 cat confdefs.h >>conftest.$ac_ext
23213 cat >>conftest.$ac_ext <<_ACEOF
23214 /* end confdefs.h. */
23217 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23223 test("%s %d %p", "test", 1, 0);
23230 rm -f conftest.$ac_objext
23231 if { (ac_try="$ac_compile"
23232 case "(($ac_try" in
23233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23234 *) ac_try_echo=$ac_try;;
23236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23237 (eval "$ac_compile") 2>conftest.er1
23239 grep -v '^
*+' conftest.er1 >conftest.err
23241 cat conftest.err >&5
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); } && {
23244 test -z "$ac_cxx_werror_flag" ||
23245 test ! -s conftest.err
23246 } && test -s conftest.$ac_objext; then
23247 wx_cv_have_variadic_macros=yes
23249 echo "$as_me: failed program was:" >&5
23250 sed 's
/^
/| /' conftest.$ac_ext >&5
23252 wx_cv_have_variadic_macros=no
23256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23258 ac_cpp='$CPP $CPPFLAGS'
23259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23260 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23266 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23267 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23269 if test $wx_cv_have_variadic_macros = "yes"; then
23270 cat >>confdefs.h <<\_ACEOF
23271 #define HAVE_VARIADIC_MACROS 1
23277 # Check whether --enable-largefile was given.
23278 if test "${enable_largefile+set}" = set; then
23279 enableval=$enable_largefile;
23282 if test "$enable_largefile" != no; then
23285 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23286 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23287 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23288 echo $ECHO_N "(cached) $ECHO_C" >&6
23291 cat >conftest.$ac_ext <<_ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 #define _FILE_OFFSET_BITS 64
23298 #include <sys/types.h>
23303 unsigned int field: sizeof(off_t) == 8;
23310 rm -f conftest.$ac_objext
23311 if { (ac_try="$ac_compile"
23312 case "(($ac_try" in
23313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23314 *) ac_try_echo=$ac_try;;
23316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23317 (eval "$ac_compile") 2>conftest.er1
23319 grep -v '^
*+' conftest.er1 >conftest.err
23321 cat conftest.err >&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } && {
23324 test -z "$ac_c_werror_flag" ||
23325 test ! -s conftest.err
23326 } && test -s conftest.$ac_objext; then
23327 ac_cv_sys_file_offset_bits=64
23329 echo "$as_me: failed program was:" >&5
23330 sed 's
/^
/| /' conftest.$ac_ext >&5
23332 ac_cv_sys_file_offset_bits=no
23335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23339 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23340 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23342 if test "$ac_cv_sys_file_offset_bits" != no; then
23344 cat >>confdefs.h <<_ACEOF
23345 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23350 if test "x$wx_largefile" != "xyes"; then
23352 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23353 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23354 if test "${ac_cv_sys_large_files+set}" = set; then
23355 echo $ECHO_N "(cached) $ECHO_C" >&6
23358 cat >conftest.$ac_ext <<_ACEOF
23361 cat confdefs.h >>conftest.$ac_ext
23362 cat >>conftest.$ac_ext <<_ACEOF
23363 /* end confdefs.h. */
23364 #define _LARGE_FILES 1
23365 #include <sys/types.h>
23370 unsigned int field: sizeof(off_t) == 8;
23377 rm -f conftest.$ac_objext
23378 if { (ac_try="$ac_compile"
23379 case "(($ac_try" in
23380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23381 *) ac_try_echo=$ac_try;;
23383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23384 (eval "$ac_compile") 2>conftest.er1
23386 grep -v '^
*+' conftest.er1 >conftest.err
23388 cat conftest.err >&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); } && {
23391 test -z "$ac_c_werror_flag" ||
23392 test ! -s conftest.err
23393 } && test -s conftest.$ac_objext; then
23394 ac_cv_sys_large_files=1
23396 echo "$as_me: failed program was:" >&5
23397 sed 's
/^
/| /' conftest.$ac_ext >&5
23399 ac_cv_sys_large_files=no
23402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23406 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23407 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23409 if test "$ac_cv_sys_large_files" != no; then
23411 cat >>confdefs.h <<_ACEOF
23412 #define _LARGE_FILES $ac_cv_sys_large_files
23419 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23420 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23421 if test "x$wx_largefile" = "xyes"; then
23422 cat >>confdefs.h <<\_ACEOF
23423 #define HAVE_LARGEFILE_SUPPORT 1
23427 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23428 echo "${ECHO_T}$wx_largefile" >&6; }
23432 if test "x$wx_largefile" = "xyes"; then
23433 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23434 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23436 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23437 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23438 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23439 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23440 echo $ECHO_N "(cached) $ECHO_C" >&6
23444 ac_cpp='$CXXCPP $CPPFLAGS'
23445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23446 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23449 cat >conftest.$ac_ext <<_ACEOF
23452 cat confdefs.h >>conftest.$ac_ext
23453 cat >>conftest.$ac_ext <<_ACEOF
23454 /* end confdefs.h. */
23460 #ifndef __STDC_EXT__
23468 rm -f conftest.$ac_objext
23469 if { (ac_try="$ac_compile"
23470 case "(($ac_try" in
23471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23472 *) ac_try_echo=$ac_try;;
23474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23475 (eval "$ac_compile") 2>conftest.er1
23477 grep -v '^
*+' conftest.er1 >conftest.err
23479 cat conftest.err >&5
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } && {
23482 test -z "$ac_cxx_werror_flag" ||
23483 test ! -s conftest.err
23484 } && test -s conftest.$ac_objext; then
23485 wx_cv_STDC_EXT_required=no
23487 echo "$as_me: failed program was:" >&5
23488 sed 's
/^
/| /' conftest.$ac_ext >&5
23490 wx_cv_STDC_EXT_required=yes
23494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23496 ac_cpp='$CPP $CPPFLAGS'
23497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23498 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23504 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23505 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23506 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23507 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23511 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23513 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23514 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23515 if test "${ac_cv_sys_largefile_source+set}" = set; then
23516 echo $ECHO_N "(cached) $ECHO_C" >&6
23519 cat >conftest.$ac_ext <<_ACEOF
23522 cat confdefs.h >>conftest.$ac_ext
23523 cat >>conftest.$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23525 #include <sys/types.h> /* for off_t */
23530 int (*fp) (FILE *, off_t, int) = fseeko;
23531 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23536 rm -f conftest.$ac_objext conftest$ac_exeext
23537 if { (ac_try="$ac_link"
23538 case "(($ac_try" in
23539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23540 *) ac_try_echo=$ac_try;;
23542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23543 (eval "$ac_link") 2>conftest.er1
23545 grep -v '^
*+' conftest.er1 >conftest.err
23547 cat conftest.err >&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); } && {
23550 test -z "$ac_c_werror_flag" ||
23551 test ! -s conftest.err
23552 } && test -s conftest$ac_exeext &&
23553 $as_test_x conftest$ac_exeext; then
23554 ac_cv_sys_largefile_source=no; break
23556 echo "$as_me: failed program was:" >&5
23557 sed 's
/^
/| /' conftest.$ac_ext >&5
23562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23563 conftest$ac_exeext conftest.$ac_ext
23564 cat >conftest.$ac_ext <<_ACEOF
23567 cat confdefs.h >>conftest.$ac_ext
23568 cat >>conftest.$ac_ext <<_ACEOF
23569 /* end confdefs.h. */
23570 #define _LARGEFILE_SOURCE 1
23571 #include <sys/types.h> /* for off_t */
23576 int (*fp) (FILE *, off_t, int) = fseeko;
23577 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23582 rm -f conftest.$ac_objext conftest$ac_exeext
23583 if { (ac_try="$ac_link"
23584 case "(($ac_try" in
23585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23586 *) ac_try_echo=$ac_try;;
23588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23589 (eval "$ac_link") 2>conftest.er1
23591 grep -v '^
*+' conftest.er1 >conftest.err
23593 cat conftest.err >&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); } && {
23596 test -z "$ac_c_werror_flag" ||
23597 test ! -s conftest.err
23598 } && test -s conftest$ac_exeext &&
23599 $as_test_x conftest$ac_exeext; then
23600 ac_cv_sys_largefile_source=1; break
23602 echo "$as_me: failed program was:" >&5
23603 sed 's
/^
/| /' conftest.$ac_ext >&5
23608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23609 conftest$ac_exeext conftest.$ac_ext
23610 ac_cv_sys_largefile_source=unknown
23614 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23615 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23616 case $ac_cv_sys_largefile_source in #(
23619 cat >>confdefs.h <<_ACEOF
23620 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23626 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23627 # in glibc 2.1.3, but that breaks too many other things.
23628 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23629 if test $ac_cv_sys_largefile_source != unknown; then
23631 cat >>confdefs.h <<\_ACEOF
23632 #define HAVE_FSEEKO 1
23637 if test "$ac_cv_sys_largefile_source" != no; then
23638 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23642 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23643 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23644 if test "${ac_cv_c_bigendian+set}" = set; then
23645 echo $ECHO_N "(cached) $ECHO_C" >&6
23647 ac_cv_c_bigendian=unknown
23648 # See if sys/param.h defines the BYTE_ORDER macro.
23649 cat >conftest.$ac_ext <<_ACEOF
23652 cat confdefs.h >>conftest.$ac_ext
23653 cat >>conftest.$ac_ext <<_ACEOF
23654 /* end confdefs.h. */
23655 #include <sys/types.h>
23656 #include <sys/param.h>
23661 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23662 bogus endian macros
23668 rm -f conftest.$ac_objext
23669 if { (ac_try="$ac_compile"
23670 case "(($ac_try" in
23671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23672 *) ac_try_echo=$ac_try;;
23674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23675 (eval "$ac_compile") 2>conftest.er1
23677 grep -v '^
*+' conftest.er1 >conftest.err
23679 cat conftest.err >&5
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); } && {
23682 test -z "$ac_c_werror_flag" ||
23683 test ! -s conftest.err
23684 } && test -s conftest.$ac_objext; then
23685 # It does; now see whether it defined to BIG_ENDIAN or not.
23686 cat >conftest.$ac_ext <<_ACEOF
23689 cat confdefs.h >>conftest.$ac_ext
23690 cat >>conftest.$ac_ext <<_ACEOF
23691 /* end confdefs.h. */
23692 #include <sys/types.h>
23693 #include <sys/param.h>
23698 #if BYTE_ORDER != BIG_ENDIAN
23705 rm -f conftest.$ac_objext
23706 if { (ac_try="$ac_compile"
23707 case "(($ac_try" in
23708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23709 *) ac_try_echo=$ac_try;;
23711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23712 (eval "$ac_compile") 2>conftest.er1
23714 grep -v '^
*+' conftest.er1 >conftest.err
23716 cat conftest.err >&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); } && {
23719 test -z "$ac_c_werror_flag" ||
23720 test ! -s conftest.err
23721 } && test -s conftest.$ac_objext; then
23722 ac_cv_c_bigendian=yes
23724 echo "$as_me: failed program was:" >&5
23725 sed 's
/^
/| /' conftest.$ac_ext >&5
23727 ac_cv_c_bigendian=no
23730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23732 echo "$as_me: failed program was:" >&5
23733 sed 's
/^
/| /' conftest.$ac_ext >&5
23738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23739 if test $ac_cv_c_bigendian = unknown; then
23740 if test "$cross_compiling" = yes; then
23741 ac_cv_c_bigendian=unknown
23743 cat >conftest.$ac_ext <<_ACEOF
23746 cat confdefs.h >>conftest.$ac_ext
23747 cat >>conftest.$ac_ext <<_ACEOF
23748 /* end confdefs.h. */
23750 /* Are we little or big endian? From Harbison&Steele. */
23754 char c[sizeof (long)];
23757 exit (u.c[sizeof (long) - 1] == 1);
23760 rm -f conftest$ac_exeext
23761 if { (ac_try="$ac_link"
23762 case "(($ac_try" in
23763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23764 *) ac_try_echo=$ac_try;;
23766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23767 (eval "$ac_link") 2>&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23771 { (case "(($ac_try" in
23772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23773 *) ac_try_echo=$ac_try;;
23775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23776 (eval "$ac_try") 2>&5
23778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23779 (exit $ac_status); }; }; then
23780 ac_cv_c_bigendian=no
23782 echo "$as_me: program exited with status $ac_status" >&5
23783 echo "$as_me: failed program was:" >&5
23784 sed 's
/^
/| /' conftest.$ac_ext >&5
23786 ( exit $ac_status )
23787 ac_cv_c_bigendian=yes
23789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23795 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23796 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23797 if test $ac_cv_c_bigendian = unknown; then
23798 { 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
23799 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;}
23801 if test $ac_cv_c_bigendian = yes; then
23802 cat >>confdefs.h <<\_ACEOF
23803 #define WORDS_BIGENDIAN 1
23812 ac_cpp='$CXXCPP $CPPFLAGS'
23813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23814 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23819 for ac_header in iostream
23821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23822 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23825 echo $ECHO_N "(cached) $ECHO_C" >&6
23827 cat >conftest.$ac_ext <<_ACEOF
23830 cat confdefs.h >>conftest.$ac_ext
23831 cat >>conftest.$ac_ext <<_ACEOF
23832 /* end confdefs.h. */
23835 #include <$ac_header>
23837 rm -f conftest.$ac_objext
23838 if { (ac_try="$ac_compile"
23839 case "(($ac_try" in
23840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23841 *) ac_try_echo=$ac_try;;
23843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23844 (eval "$ac_compile") 2>conftest.er1
23846 grep -v '^
*+' conftest.er1 >conftest.err
23848 cat conftest.err >&5
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); } && {
23851 test -z "$ac_cxx_werror_flag" ||
23852 test ! -s conftest.err
23853 } && test -s conftest.$ac_objext; then
23854 eval "$as_ac_Header=yes"
23856 echo "$as_me: failed program was:" >&5
23857 sed 's
/^
/| /' conftest.$ac_ext >&5
23859 eval "$as_ac_Header=no"
23862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23864 ac_res=`eval echo '${'$as_ac_Header'}'`
23865 { echo "$as_me:$LINENO: result: $ac_res" >&5
23866 echo "${ECHO_T}$ac_res" >&6; }
23867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23868 cat >>confdefs.h <<_ACEOF
23869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23877 if test "$ac_cv_header_iostream" = "yes" ; then
23880 cat >>confdefs.h <<\_ACEOF
23881 #define wxUSE_IOSTREAMH 1
23887 ac_cpp='$CPP $CPPFLAGS'
23888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23889 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23895 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23896 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23897 if test "${wx_cv_cpp_bool+set}" = set; then
23898 echo $ECHO_N "(cached) $ECHO_C" >&6
23903 ac_cpp='$CXXCPP $CPPFLAGS'
23904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23905 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23909 cat >conftest.$ac_ext <<_ACEOF
23912 cat confdefs.h >>conftest.$ac_ext
23913 cat >>conftest.$ac_ext <<_ACEOF
23914 /* end confdefs.h. */
23929 rm -f conftest.$ac_objext
23930 if { (ac_try="$ac_compile"
23931 case "(($ac_try" in
23932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23933 *) ac_try_echo=$ac_try;;
23935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23936 (eval "$ac_compile") 2>conftest.er1
23938 grep -v '^
*+' conftest.er1 >conftest.err
23940 cat conftest.err >&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } && {
23943 test -z "$ac_cxx_werror_flag" ||
23944 test ! -s conftest.err
23945 } && test -s conftest.$ac_objext; then
23950 echo "$as_me: failed program was:" >&5
23951 sed 's
/^
/| /' conftest.$ac_ext >&5
23959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23962 ac_cpp='$CPP $CPPFLAGS'
23963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23964 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23969 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23970 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23972 if test "$wx_cv_cpp_bool" = "yes"; then
23973 cat >>confdefs.h <<\_ACEOF
23974 #define HAVE_BOOL 1
23981 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23982 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23983 if test "${wx_cv_explicit+set}" = set; then
23984 echo $ECHO_N "(cached) $ECHO_C" >&6
23989 ac_cpp='$CXXCPP $CPPFLAGS'
23990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23991 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23995 cat >conftest.$ac_ext <<_ACEOF
23998 cat confdefs.h >>conftest.$ac_ext
23999 cat >>conftest.$ac_ext <<_ACEOF
24000 /* end confdefs.h. */
24002 class Foo { public: explicit Foo(int) {} };
24014 rm -f conftest.$ac_objext
24015 if { (ac_try="$ac_compile"
24016 case "(($ac_try" in
24017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24018 *) ac_try_echo=$ac_try;;
24020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24021 (eval "$ac_compile") 2>conftest.er1
24023 grep -v '^
*+' conftest.er1 >conftest.err
24025 cat conftest.err >&5
24026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027 (exit $ac_status); } && {
24028 test -z "$ac_cxx_werror_flag" ||
24029 test ! -s conftest.err
24030 } && test -s conftest.$ac_objext; then
24032 cat >conftest.$ac_ext <<_ACEOF
24035 cat confdefs.h >>conftest.$ac_ext
24036 cat >>conftest.$ac_ext <<_ACEOF
24037 /* end confdefs.h. */
24039 class Foo { public: explicit Foo(int) {} };
24040 static void TakeFoo(const Foo& foo) { }
24053 rm -f conftest.$ac_objext
24054 if { (ac_try="$ac_compile"
24055 case "(($ac_try" in
24056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24057 *) ac_try_echo=$ac_try;;
24059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24060 (eval "$ac_compile") 2>conftest.er1
24062 grep -v '^
*+' conftest.er1 >conftest.err
24064 cat conftest.err >&5
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); } && {
24067 test -z "$ac_cxx_werror_flag" ||
24068 test ! -s conftest.err
24069 } && test -s conftest.$ac_objext; then
24072 echo "$as_me: failed program was:" >&5
24073 sed 's
/^
/| /' conftest.$ac_ext >&5
24079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24082 echo "$as_me: failed program was:" >&5
24083 sed 's
/^
/| /' conftest.$ac_ext >&5
24089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24092 ac_cpp='$CPP $CPPFLAGS'
24093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24094 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24099 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24100 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24102 if test "$wx_cv_explicit" = "yes"; then
24103 cat >>confdefs.h <<\_ACEOF
24104 #define HAVE_EXPLICIT 1
24110 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24111 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24112 if test "${ac_cv_cxx_const_cast+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24117 ac_cpp='$CXXCPP $CPPFLAGS'
24118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24119 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24122 cat >conftest.$ac_ext <<_ACEOF
24125 cat confdefs.h >>conftest.$ac_ext
24126 cat >>conftest.$ac_ext <<_ACEOF
24127 /* end confdefs.h. */
24132 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24137 rm -f conftest.$ac_objext
24138 if { (ac_try="$ac_compile"
24139 case "(($ac_try" in
24140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24141 *) ac_try_echo=$ac_try;;
24143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24144 (eval "$ac_compile") 2>conftest.er1
24146 grep -v '^
*+' conftest.er1 >conftest.err
24148 cat conftest.err >&5
24149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24150 (exit $ac_status); } && {
24151 test -z "$ac_cxx_werror_flag" ||
24152 test ! -s conftest.err
24153 } && test -s conftest.$ac_objext; then
24154 ac_cv_cxx_const_cast=yes
24156 echo "$as_me: failed program was:" >&5
24157 sed 's
/^
/| /' conftest.$ac_ext >&5
24159 ac_cv_cxx_const_cast=no
24162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24164 ac_cpp='$CPP $CPPFLAGS'
24165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24166 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24171 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24172 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24173 if test "$ac_cv_cxx_const_cast" = yes; then
24175 cat >>confdefs.h <<\_ACEOF
24176 #define HAVE_CONST_CAST
24181 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24182 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24183 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24184 echo $ECHO_N "(cached) $ECHO_C" >&6
24188 ac_cpp='$CXXCPP $CPPFLAGS'
24189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24190 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24193 cat >conftest.$ac_ext <<_ACEOF
24196 cat confdefs.h >>conftest.$ac_ext
24197 cat >>conftest.$ac_ext <<_ACEOF
24198 /* end confdefs.h. */
24199 #include <typeinfo>
24200 class Base { public : Base () {} virtual void f () = 0;};
24201 class Derived : public Base { public : Derived () {} virtual void f () {} };
24202 class Unrelated { public : Unrelated () {} };
24203 int g (Unrelated&) { return 0; }
24208 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24213 rm -f conftest.$ac_objext
24214 if { (ac_try="$ac_compile"
24215 case "(($ac_try" in
24216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24217 *) ac_try_echo=$ac_try;;
24219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24220 (eval "$ac_compile") 2>conftest.er1
24222 grep -v '^
*+' conftest.er1 >conftest.err
24224 cat conftest.err >&5
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); } && {
24227 test -z "$ac_cxx_werror_flag" ||
24228 test ! -s conftest.err
24229 } && test -s conftest.$ac_objext; then
24230 ac_cv_cxx_reinterpret_cast=yes
24232 echo "$as_me: failed program was:" >&5
24233 sed 's
/^
/| /' conftest.$ac_ext >&5
24235 ac_cv_cxx_reinterpret_cast=no
24238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
24247 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24248 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24249 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24251 cat >>confdefs.h <<\_ACEOF
24252 #define HAVE_REINTERPRET_CAST
24257 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24258 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24259 if test "${ac_cv_cxx_static_cast+set}" = set; then
24260 echo $ECHO_N "(cached) $ECHO_C" >&6
24264 ac_cpp='$CXXCPP $CPPFLAGS'
24265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24266 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24269 cat >conftest.$ac_ext <<_ACEOF
24272 cat confdefs.h >>conftest.$ac_ext
24273 cat >>conftest.$ac_ext <<_ACEOF
24274 /* end confdefs.h. */
24275 #include <typeinfo>
24276 class Base { public : Base () {} virtual void f () = 0; };
24277 class Derived : public Base { public : Derived () {} virtual void f () {} };
24278 int g (Derived&) { return 0; }
24283 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24288 rm -f conftest.$ac_objext
24289 if { (ac_try="$ac_compile"
24290 case "(($ac_try" in
24291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24292 *) ac_try_echo=$ac_try;;
24294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24295 (eval "$ac_compile") 2>conftest.er1
24297 grep -v '^
*+' conftest.er1 >conftest.err
24299 cat conftest.err >&5
24300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301 (exit $ac_status); } && {
24302 test -z "$ac_cxx_werror_flag" ||
24303 test ! -s conftest.err
24304 } && test -s conftest.$ac_objext; then
24305 ac_cv_cxx_static_cast=yes
24307 echo "$as_me: failed program was:" >&5
24308 sed 's
/^
/| /' conftest.$ac_ext >&5
24310 ac_cv_cxx_static_cast=no
24313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24315 ac_cpp='$CPP $CPPFLAGS'
24316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24317 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24322 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24323 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24324 if test "$ac_cv_cxx_static_cast" = yes; then
24326 cat >>confdefs.h <<\_ACEOF
24327 #define HAVE_STATIC_CAST
24333 if test "x$SUNCXX" = xyes; then
24334 CXXFLAGS="-features=tmplife $CXXFLAGS"
24337 if test "x$SUNCC" = xyes; then
24338 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24341 if test "x$SGICC" = "xyes"; then
24342 CFLAGS="-woff 3970 $CFLAGS"
24344 if test "x$SGICXX" = "xyes"; then
24345 CXXFLAGS="-woff 3970 $CXXFLAGS"
24348 if test "x$HPCC" = "xyes"; then
24349 CFLAGS="+W 2011,2450 $CFLAGS"
24351 if test "x$HPCXX" = "xyes"; then
24352 CXXFLAGS="+W 2340 $CXXFLAGS"
24355 if test "x$COMPAQCXX" = "xyes"; then
24356 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24360 ac_cpp='$CXXCPP $CPPFLAGS'
24361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24362 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24366 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24367 if test "$wxUSE_UNICODE" = "yes"; then
24368 std_string="std::wstring"
24369 char_type="wchar_t"
24371 std_string="std::string"
24375 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24376 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24377 if test "${wx_cv_class_stdstring+set}" = set; then
24378 echo $ECHO_N "(cached) $ECHO_C" >&6
24381 cat >conftest.$ac_ext <<_ACEOF
24384 cat confdefs.h >>conftest.$ac_ext
24385 cat >>conftest.$ac_ext <<_ACEOF
24386 /* end confdefs.h. */
24396 rm -f conftest.$ac_objext
24397 if { (ac_try="$ac_compile"
24398 case "(($ac_try" in
24399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24400 *) ac_try_echo=$ac_try;;
24402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24403 (eval "$ac_compile") 2>conftest.er1
24405 grep -v '^
*+' conftest.er1 >conftest.err
24407 cat conftest.err >&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); } && {
24410 test -z "$ac_cxx_werror_flag" ||
24411 test ! -s conftest.err
24412 } && test -s conftest.$ac_objext; then
24413 wx_cv_class_stdstring=yes
24415 echo "$as_me: failed program was:" >&5
24416 sed 's
/^
/| /' conftest.$ac_ext >&5
24418 wx_cv_class_stdstring=no
24422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24426 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24427 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24429 if test "$wx_cv_class_stdstring" = yes; then
24430 if test "$wxUSE_UNICODE" = "yes"; then
24431 cat >>confdefs.h <<\_ACEOF
24432 #define HAVE_STD_WSTRING 1
24437 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24438 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24439 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24440 echo $ECHO_N "(cached) $ECHO_C" >&6
24443 cat >conftest.$ac_ext <<_ACEOF
24446 cat confdefs.h >>conftest.$ac_ext
24447 cat >>conftest.$ac_ext <<_ACEOF
24448 /* end confdefs.h. */
24450 #ifdef HAVE_WCHAR_H
24452 # include <stddef.h>
24454 # include <wchar.h>
24456 #ifdef HAVE_STDLIB_H
24457 # include <stdlib.h>
24465 std::basic_string<$char_type> foo;
24466 const $char_type* dummy = foo.c_str();
24471 rm -f conftest.$ac_objext
24472 if { (ac_try="$ac_compile"
24473 case "(($ac_try" in
24474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24475 *) ac_try_echo=$ac_try;;
24477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24478 (eval "$ac_compile") 2>conftest.er1
24480 grep -v '^
*+' conftest.er1 >conftest.err
24482 cat conftest.err >&5
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); } && {
24485 test -z "$ac_cxx_werror_flag" ||
24486 test ! -s conftest.err
24487 } && test -s conftest.$ac_objext; then
24488 wx_cv_class_stdbasicstring=yes
24490 echo "$as_me: failed program was:" >&5
24491 sed 's
/^
/| /' conftest.$ac_ext >&5
24493 wx_cv_class_stdbasicstring=no
24497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24501 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24502 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24504 if test "$wx_cv_class_stdbasicstring" != yes; then
24505 if test "$wxUSE_STL" = "yes"; then
24506 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24507 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24508 { (exit 1); exit 1; }; }
24509 elif test "$wxUSE_STD_STRING" = "yes"; then
24510 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24511 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24512 { (exit 1); exit 1; }; }
24514 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24515 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24516 wxUSE_STD_STRING=no
24522 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24523 { echo "$as_me:$LINENO: checking for std::istream" >&5
24524 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24525 if test "${ac_cv_type_std__istream+set}" = set; then
24526 echo $ECHO_N "(cached) $ECHO_C" >&6
24528 cat >conftest.$ac_ext <<_ACEOF
24531 cat confdefs.h >>conftest.$ac_ext
24532 cat >>conftest.$ac_ext <<_ACEOF
24533 /* end confdefs.h. */
24534 #include <iostream>
24536 typedef std::istream ac__type_new_;
24540 if ((ac__type_new_ *) 0)
24542 if (sizeof (ac__type_new_))
24548 rm -f conftest.$ac_objext
24549 if { (ac_try="$ac_compile"
24550 case "(($ac_try" in
24551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24552 *) ac_try_echo=$ac_try;;
24554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24555 (eval "$ac_compile") 2>conftest.er1
24557 grep -v '^
*+' conftest.er1 >conftest.err
24559 cat conftest.err >&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); } && {
24562 test -z "$ac_cxx_werror_flag" ||
24563 test ! -s conftest.err
24564 } && test -s conftest.$ac_objext; then
24565 ac_cv_type_std__istream=yes
24567 echo "$as_me: failed program was:" >&5
24568 sed 's
/^
/| /' conftest.$ac_ext >&5
24570 ac_cv_type_std__istream=no
24573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24575 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24576 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24577 if test $ac_cv_type_std__istream = yes; then
24579 cat >>confdefs.h <<_ACEOF
24580 #define HAVE_STD__ISTREAM 1
24585 wxUSE_STD_IOSTREAM=no
24587 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24588 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24589 if test "${ac_cv_type_std__ostream+set}" = set; then
24590 echo $ECHO_N "(cached) $ECHO_C" >&6
24592 cat >conftest.$ac_ext <<_ACEOF
24595 cat confdefs.h >>conftest.$ac_ext
24596 cat >>conftest.$ac_ext <<_ACEOF
24597 /* end confdefs.h. */
24598 #include <iostream>
24600 typedef std::ostream ac__type_new_;
24604 if ((ac__type_new_ *) 0)
24606 if (sizeof (ac__type_new_))
24612 rm -f conftest.$ac_objext
24613 if { (ac_try="$ac_compile"
24614 case "(($ac_try" in
24615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24616 *) ac_try_echo=$ac_try;;
24618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24619 (eval "$ac_compile") 2>conftest.er1
24621 grep -v '^
*+' conftest.er1 >conftest.err
24623 cat conftest.err >&5
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); } && {
24626 test -z "$ac_cxx_werror_flag" ||
24627 test ! -s conftest.err
24628 } && test -s conftest.$ac_objext; then
24629 ac_cv_type_std__ostream=yes
24631 echo "$as_me: failed program was:" >&5
24632 sed 's
/^
/| /' conftest.$ac_ext >&5
24634 ac_cv_type_std__ostream=no
24637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24639 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24640 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24641 if test $ac_cv_type_std__ostream = yes; then
24643 cat >>confdefs.h <<_ACEOF
24644 #define HAVE_STD__OSTREAM 1
24649 wxUSE_STD_IOSTREAM=no
24653 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24654 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24655 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24656 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24657 { (exit 1); exit 1; }; }
24659 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24660 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24665 if test "$wxUSE_STL" = "yes"; then
24666 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24667 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24668 if test "${wx_cv_lib_stl+set}" = set; then
24669 echo $ECHO_N "(cached) $ECHO_C" >&6
24671 cat >conftest.$ac_ext <<_ACEOF
24674 cat confdefs.h >>conftest.$ac_ext
24675 cat >>conftest.$ac_ext <<_ACEOF
24676 /* end confdefs.h. */
24678 #include <functional>
24679 #include <algorithm>
24685 std::vector<int> moo;
24686 std::list<int> foo;
24687 std::vector<int>::iterator it =
24688 std::find_if(moo.begin(), moo.end(),
24689 std::bind2nd(std::less<int>(), 3));
24694 rm -f conftest.$ac_objext
24695 if { (ac_try="$ac_compile"
24696 case "(($ac_try" in
24697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24698 *) ac_try_echo=$ac_try;;
24700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24701 (eval "$ac_compile") 2>conftest.er1
24703 grep -v '^
*+' conftest.er1 >conftest.err
24705 cat conftest.err >&5
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); } && {
24708 test -z "$ac_cxx_werror_flag" ||
24709 test ! -s conftest.err
24710 } && test -s conftest.$ac_objext; then
24713 echo "$as_me: failed program was:" >&5
24714 sed 's
/^
/| /' conftest.$ac_ext >&5
24720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24723 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24724 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24726 if test "$wx_cv_lib_stl" != yes; then
24727 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24728 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24729 { (exit 1); exit 1; }; }
24732 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24733 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24734 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24735 echo $ECHO_N "(cached) $ECHO_C" >&6
24737 cat >conftest.$ac_ext <<_ACEOF
24740 cat confdefs.h >>conftest.$ac_ext
24741 cat >>conftest.$ac_ext <<_ACEOF
24742 /* end confdefs.h. */
24747 std::string foo, bar;
24749 foo.compare(1, 1, bar);
24750 foo.compare(1, 1, bar, 1, 1);
24752 foo.compare(1, 1, "");
24753 foo.compare(1, 1, "", 2);
24758 rm -f conftest.$ac_objext
24759 if { (ac_try="$ac_compile"
24760 case "(($ac_try" in
24761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24762 *) ac_try_echo=$ac_try;;
24764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24765 (eval "$ac_compile") 2>conftest.er1
24767 grep -v '^
*+' conftest.er1 >conftest.err
24769 cat conftest.err >&5
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); } && {
24772 test -z "$ac_cxx_werror_flag" ||
24773 test ! -s conftest.err
24774 } && test -s conftest.$ac_objext; then
24775 wx_cv_func_stdstring_compare=yes
24777 echo "$as_me: failed program was:" >&5
24778 sed 's
/^
/| /' conftest.$ac_ext >&5
24780 wx_cv_func_stdstring_compare=no
24784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24787 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24788 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24790 if test "$wx_cv_func_stdstring_compare" = yes; then
24791 cat >>confdefs.h <<\_ACEOF
24792 #define HAVE_STD_STRING_COMPARE 1
24797 if test "$wx_cv_class_gnuhashmapset" = yes; then
24798 cat >>confdefs.h <<\_ACEOF
24799 #define HAVE_EXT_HASH_MAP 1
24802 cat >>confdefs.h <<\_ACEOF
24803 #define HAVE_GNU_CXX_HASH_MAP 1
24808 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24809 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24810 if test "${ac_cv_header_unordered_map+set}" = set; then
24811 echo $ECHO_N "(cached) $ECHO_C" >&6
24813 cat >conftest.$ac_ext <<_ACEOF
24816 cat confdefs.h >>conftest.$ac_ext
24817 cat >>conftest.$ac_ext <<_ACEOF
24818 /* end confdefs.h. */
24822 #include <unordered_map>
24824 rm -f conftest.$ac_objext
24825 if { (ac_try="$ac_compile"
24826 case "(($ac_try" in
24827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24828 *) ac_try_echo=$ac_try;;
24830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24831 (eval "$ac_compile") 2>conftest.er1
24833 grep -v '^
*+' conftest.er1 >conftest.err
24835 cat conftest.err >&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); } && {
24838 test -z "$ac_cxx_werror_flag" ||
24839 test ! -s conftest.err
24840 } && test -s conftest.$ac_objext; then
24841 ac_cv_header_unordered_map=yes
24843 echo "$as_me: failed program was:" >&5
24844 sed 's
/^
/| /' conftest.$ac_ext >&5
24846 ac_cv_header_unordered_map=no
24849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24851 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24852 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24853 if test $ac_cv_header_unordered_map = yes; then
24854 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24855 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24856 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24857 echo $ECHO_N "(cached) $ECHO_C" >&6
24859 cat >conftest.$ac_ext <<_ACEOF
24862 cat confdefs.h >>conftest.$ac_ext
24863 cat >>conftest.$ac_ext <<_ACEOF
24864 /* end confdefs.h. */
24865 #include <unordered_map>
24866 #include <unordered_set>
24870 std::unordered_map<double*, char*> test1;
24871 std::unordered_set<char*> test2;
24876 rm -f conftest.$ac_objext
24877 if { (ac_try="$ac_compile"
24878 case "(($ac_try" in
24879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24880 *) ac_try_echo=$ac_try;;
24882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24883 (eval "$ac_compile") 2>conftest.er1
24885 grep -v '^
*+' conftest.er1 >conftest.err
24887 cat conftest.err >&5
24888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24889 (exit $ac_status); } && {
24890 test -z "$ac_cxx_werror_flag" ||
24891 test ! -s conftest.err
24892 } && test -s conftest.$ac_objext; then
24893 wx_cv_class_stdunorderedmapset=yes
24895 echo "$as_me: failed program was:" >&5
24896 sed 's
/^
/| /' conftest.$ac_ext >&5
24898 wx_cv_class_stdunorderedmapset=no
24901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24905 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24906 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24911 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24912 cat >>confdefs.h <<\_ACEOF
24913 #define HAVE_STD_UNORDERED_MAP 1
24916 cat >>confdefs.h <<\_ACEOF
24917 #define HAVE_STD_UNORDERED_SET 1
24921 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24922 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24923 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24924 echo $ECHO_N "(cached) $ECHO_C" >&6
24926 cat >conftest.$ac_ext <<_ACEOF
24929 cat confdefs.h >>conftest.$ac_ext
24930 cat >>conftest.$ac_ext <<_ACEOF
24931 /* end confdefs.h. */
24935 #include <tr1/unordered_map>
24937 rm -f conftest.$ac_objext
24938 if { (ac_try="$ac_compile"
24939 case "(($ac_try" in
24940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24941 *) ac_try_echo=$ac_try;;
24943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24944 (eval "$ac_compile") 2>conftest.er1
24946 grep -v '^
*+' conftest.er1 >conftest.err
24948 cat conftest.err >&5
24949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24950 (exit $ac_status); } && {
24951 test -z "$ac_cxx_werror_flag" ||
24952 test ! -s conftest.err
24953 } && test -s conftest.$ac_objext; then
24954 ac_cv_header_tr1_unordered_map=yes
24956 echo "$as_me: failed program was:" >&5
24957 sed 's
/^
/| /' conftest.$ac_ext >&5
24959 ac_cv_header_tr1_unordered_map=no
24962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24964 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24965 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24966 if test $ac_cv_header_tr1_unordered_map = yes; then
24967 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24968 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24969 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24970 echo $ECHO_N "(cached) $ECHO_C" >&6
24972 cat >conftest.$ac_ext <<_ACEOF
24975 cat confdefs.h >>conftest.$ac_ext
24976 cat >>conftest.$ac_ext <<_ACEOF
24977 /* end confdefs.h. */
24978 #include <tr1/unordered_map>
24979 #include <tr1/unordered_set>
24983 std::tr1::unordered_map<double*, char*> test1;
24984 std::tr1::unordered_set<char*> test2;
24985 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24986 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24992 rm -f conftest.
$ac_objext
24993 if { (ac_try
="$ac_compile"
24994 case "(($ac_try" in
24995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24996 *) ac_try_echo=$ac_try;;
24998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24999 (eval "$ac_compile") 2>conftest.er1
25001 grep -v '^ *+' conftest.er1 >conftest.err
25003 cat conftest.err >&5
25004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25005 (exit $ac_status); } && {
25006 test -z "$ac_cxx_werror_flag" ||
25007 test ! -s conftest.err
25008 } && test -s conftest.$ac_objext; then
25009 wx_cv_class_tr1unorderedmapset=yes
25011 echo "$as_me: failed program was:" >&5
25012 sed 's/^/| /' conftest.$ac_ext >&5
25014 wx_cv_class_tr1unorderedmapset=no
25017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25021 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25022 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25027 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25028 cat >>confdefs.h <<\_ACEOF
25029 #define HAVE_TR1_UNORDERED_MAP 1
25032 cat >>confdefs.h <<\_ACEOF
25033 #define HAVE_TR1_UNORDERED_SET 1
25037 { echo "$as_me:$LINENO: checking for hash_map" >&5
25038 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25039 if test "${ac_cv_header_hash_map+set}" = set; then
25040 echo $ECHO_N "(cached) $ECHO_C" >&6
25042 cat >conftest.$ac_ext <<_ACEOF
25045 cat confdefs.h >>conftest.$ac_ext
25046 cat >>conftest.$ac_ext <<_ACEOF
25047 /* end confdefs.h. */
25051 #include <hash_map>
25053 rm -f conftest.$ac_objext
25054 if { (ac_try="$ac_compile"
25055 case "(($ac_try" in
25056 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25057 *) ac_try_echo
=$ac_try;;
25059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25060 (eval "$ac_compile") 2>conftest.er1
25062 grep -v '^ *+' conftest.er1
>conftest.err
25064 cat conftest.err
>&5
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); } && {
25067 test -z "$ac_cxx_werror_flag" ||
25068 test ! -s conftest.err
25069 } && test -s conftest.
$ac_objext; then
25070 ac_cv_header_hash_map
=yes
25072 echo "$as_me: failed program was:" >&5
25073 sed 's/^/| /' conftest.
$ac_ext >&5
25075 ac_cv_header_hash_map
=no
25078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25080 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25081 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25082 if test $ac_cv_header_hash_map = yes; then
25083 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25084 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25085 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25086 echo $ECHO_N "(cached) $ECHO_C" >&6
25088 cat >conftest.
$ac_ext <<_ACEOF
25091 cat confdefs.h
>>conftest.
$ac_ext
25092 cat >>conftest.
$ac_ext <<_ACEOF
25093 /* end confdefs.h. */
25094 #include <hash_map>
25095 #include <hash_set>
25099 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25100 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25105 rm -f conftest.
$ac_objext
25106 if { (ac_try
="$ac_compile"
25107 case "(($ac_try" in
25108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25109 *) ac_try_echo=$ac_try;;
25111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25112 (eval "$ac_compile") 2>conftest.er1
25114 grep -v '^ *+' conftest.er1 >conftest.err
25116 cat conftest.err >&5
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); } && {
25119 test -z "$ac_cxx_werror_flag" ||
25120 test ! -s conftest.err
25121 } && test -s conftest.$ac_objext; then
25122 wx_cv_class_stdhashmapset=yes
25124 echo "$as_me: failed program was:" >&5
25125 sed 's/^/| /' conftest.$ac_ext >&5
25127 wx_cv_class_stdhashmapset=no
25130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25134 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25135 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25140 if test "$wx_cv_class_stdhashmapset" = yes; then
25141 cat >>confdefs.h <<\_ACEOF
25142 #define HAVE_HASH_MAP 1
25145 cat >>confdefs.h <<\_ACEOF
25146 #define HAVE_STD_HASH_MAP 1
25151 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25152 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25153 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25154 echo $ECHO_N "(cached) $ECHO_C" >&6
25156 cat >conftest.$ac_ext <<_ACEOF
25159 cat confdefs.h >>conftest.$ac_ext
25160 cat >>conftest.$ac_ext <<_ACEOF
25161 /* end confdefs.h. */
25165 #include <ext/hash_map>
25167 rm -f conftest.$ac_objext
25168 if { (ac_try="$ac_compile"
25169 case "(($ac_try" in
25170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25171 *) ac_try_echo
=$ac_try;;
25173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25174 (eval "$ac_compile") 2>conftest.er1
25176 grep -v '^ *+' conftest.er1
>conftest.err
25178 cat conftest.err
>&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } && {
25181 test -z "$ac_cxx_werror_flag" ||
25182 test ! -s conftest.err
25183 } && test -s conftest.
$ac_objext; then
25184 ac_cv_header_ext_hash_map
=yes
25186 echo "$as_me: failed program was:" >&5
25187 sed 's/^/| /' conftest.
$ac_ext >&5
25189 ac_cv_header_ext_hash_map
=no
25192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25194 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25195 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25196 if test $ac_cv_header_ext_hash_map = yes; then
25197 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25198 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25199 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25200 echo $ECHO_N "(cached) $ECHO_C" >&6
25202 cat >conftest.
$ac_ext <<_ACEOF
25205 cat confdefs.h
>>conftest.
$ac_ext
25206 cat >>conftest.
$ac_ext <<_ACEOF
25207 /* end confdefs.h. */
25208 #include <ext/hash_map>
25209 #include <ext/hash_set>
25213 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25214 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25219 rm -f conftest.
$ac_objext
25220 if { (ac_try
="$ac_compile"
25221 case "(($ac_try" in
25222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25223 *) ac_try_echo=$ac_try;;
25225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25226 (eval "$ac_compile") 2>conftest.er1
25228 grep -v '^ *+' conftest.er1 >conftest.err
25230 cat conftest.err >&5
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); } && {
25233 test -z "$ac_cxx_werror_flag" ||
25234 test ! -s conftest.err
25235 } && test -s conftest.$ac_objext; then
25236 wx_cv_class_gnuhashmapset=yes
25238 echo "$as_me: failed program was:" >&5
25239 sed 's/^/| /' conftest.$ac_ext >&5
25241 wx_cv_class_gnuhashmapset=no
25244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25248 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25249 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25260 if test -n "$GCC"; then
25261 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25262 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25263 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25264 echo $ECHO_N "(cached) $ECHO_C" >&6
25267 cat >conftest.$ac_ext <<_ACEOF
25270 cat confdefs.h >>conftest.$ac_ext
25271 cat >>conftest.$ac_ext <<_ACEOF
25272 /* end confdefs.h. */
25278 unsigned int value=0;
25279 /* wxAtomicInc doesn't use return value here */
25280 __sync_fetch_and_add(&value, 2);
25281 __sync_sub_and_fetch(&value, 1);
25282 /* but wxAtomicDec does, so mimic that: */
25283 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25289 rm -f conftest.$ac_objext conftest$ac_exeext
25290 if { (ac_try="$ac_link"
25291 case "(($ac_try" in
25292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25293 *) ac_try_echo
=$ac_try;;
25295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25296 (eval "$ac_link") 2>conftest.er1
25298 grep -v '^ *+' conftest.er1
>conftest.err
25300 cat conftest.err
>&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } && {
25303 test -z "$ac_cxx_werror_flag" ||
25304 test ! -s conftest.err
25305 } && test -s conftest
$ac_exeext &&
25306 $as_test_x conftest
$ac_exeext; then
25307 wx_cv_cc_gcc_atomic_builtins
=yes
25309 echo "$as_me: failed program was:" >&5
25310 sed 's/^/| /' conftest.
$ac_ext >&5
25312 wx_cv_cc_gcc_atomic_builtins
=no
25315 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25316 conftest
$ac_exeext conftest.
$ac_ext
25320 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25321 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25322 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25323 cat >>confdefs.h
<<\_ACEOF
25324 #define HAVE_GCC_ATOMIC_BUILTINS 1
25332 ac_cpp
='$CPP $CPPFLAGS'
25333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25340 /usr/local/include \
25341 /usr/local/X11/include \
25342 /usr/local/include/X11 \
25343 /usr/local/X11R6/include \
25344 /usr/local/include/X11R6 \
25346 /usr/Motif-2.1/include \
25347 /usr/Motif-1.2/include \
25348 /usr/include/Motif1.2 \
25351 /usr/openwin/include \
25355 /usr/X11R6/include \
25356 /usr/X11R6.4/include \
25358 /usr/include/X11R6 \
25363 /usr/XFree86/include/X11 \
25366 /usr/local/X1R5/include \
25367 /usr/local/include/X11R5 \
25368 /usr/X11R5/include \
25369 /usr/include/X11R5 \
25371 /usr/local/X11R4/include \
25372 /usr/local/include/X11R4 \
25373 /usr/X11R4/include \
25374 /usr/include/X11R4 \
25376 /usr/openwin/share/include"
25378 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25379 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25383 if test "${wx_cv_std_libpath+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25387 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25388 for e
in a so sl dylib dll.a
; do
25390 if test -f $libc; then
25393 cat >conftest.
$ac_ext <<_ACEOF
25394 int main() { return 0; }
25396 rm -f conftest.
$ac_objext conftest
$ac_exeext
25397 if { (ac_try
="$ac_link"
25398 case "(($ac_try" in
25399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25400 *) ac_try_echo=$ac_try;;
25402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25403 (eval "$ac_link") 2>conftest.er1
25405 grep -v '^ *+' conftest.er1 >conftest.err
25407 cat conftest.err >&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); } && {
25410 test -z "$ac_c_werror_flag" ||
25411 test ! -s conftest.err
25412 } && test -s conftest$ac_exeext &&
25413 $as_test_x conftest$ac_exeext; then
25414 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25416 echo "$as_me: failed program was:" >&5
25417 sed 's/^/| /' conftest.$ac_ext >&5
25422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25423 conftest$ac_exeext conftest.$ac_ext
25425 if test "x$wx_cv_std_libpath" != "x"; then
25431 if test "x$wx_cv_std_libpath" = "x"; then
25432 wx_cv_std_libpath="lib"
25441 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25442 wx_cv_std_libpath="lib/64"
25444 wx_cv_std_libpath="lib"
25449 if test "$ac_cv_sizeof_void_p" = 8 -a \
25450 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25451 wx_cv_std_libpath="lib64"
25453 wx_cv_std_libpath="lib"
25458 wx_cv_std_libpath="lib";
25462 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25463 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25465 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25467 if test "$build" != "$host" -a "$GCC" = yes; then
25468 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25469 cross_root=`dirname $cross_root`
25470 cross_root=`dirname $cross_root`
25472 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25473 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25474 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25476 if test -z "$PKG_CONFIG_PATH"; then
25477 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25478 export PKG_CONFIG_PATH
25481 if test -z "$x_includes" -o "$x_includes" = NONE; then
25484 for ac_dir in $SEARCH_INCLUDE /usr/include;
25486 if test -f "$ac_dir/X11/Intrinsic.h"; then
25487 ac_find_includes=$ac_dir
25492 x_includes=$ac_find_includes
25494 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25497 for ac_dir in $SEARCH_LIB;
25499 for ac_extension in a so sl dylib dll.a; do
25500 if test -f "$ac_dir/libXt.$ac_extension"; then
25501 ac_find_libraries=$ac_dir
25507 x_libraries=$ac_find_libraries
25513 cat >confcache <<\_ACEOF
25514 # This file is a shell script that caches the results of configure
25515 # tests run on this system so they can be shared between configure
25516 # scripts and configure runs, see configure's option --config-cache.
25517 # It is not useful on other systems. If it contains results you don't
25518 # want to keep, you may remove or edit it.
25520 # config.status only pays attention to the cache file if you give it
25521 # the --recheck option to rerun configure.
25523 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25524 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25525 # following values.
25529 # The following way of writing the cache mishandles newlines in values,
25530 # but we know of no workaround that is simple, portable, and efficient.
25531 # So, we kill variables containing newlines.
25532 # Ultrix sh set writes to stderr and can't be redirected directly,
25533 # and sets the high bit in the cache file unless we assign to the vars.
25535 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25536 eval ac_val
=\$
$ac_var
25540 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25541 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25544 _
| IFS
| as_nl
) ;; #(
25545 *) $as_unset $ac_var ;;
25551 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25552 *${as_nl}ac_space
=\
*)
25553 # `set' does not quote correctly, so add quotes (double-quote
25554 # substitution turns \\\\ into \\, and sed turns \\ into \).
25557 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25560 # `set' quotes correctly as required by POSIX, so do not add quotes.
25561 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25570 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25572 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25574 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25575 if test -w "$cache_file"; then
25576 test "x$cache_file" != "x/dev/null" &&
25577 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25578 echo "$as_me: updating cache $cache_file" >&6;}
25579 cat confcache
>$cache_file
25581 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25582 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25587 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25588 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25589 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25590 if test "${wx_cv_lib_glibc21+set}" = set; then
25591 echo $ECHO_N "(cached) $ECHO_C" >&6
25594 cat >conftest.
$ac_ext <<_ACEOF
25597 cat confdefs.h
>>conftest.
$ac_ext
25598 cat >>conftest.
$ac_ext <<_ACEOF
25599 /* end confdefs.h. */
25600 #include <features.h>
25605 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25613 rm -f conftest.
$ac_objext
25614 if { (ac_try
="$ac_compile"
25615 case "(($ac_try" in
25616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25617 *) ac_try_echo=$ac_try;;
25619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25620 (eval "$ac_compile") 2>conftest.er1
25622 grep -v '^ *+' conftest.er1 >conftest.err
25624 cat conftest.err >&5
25625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626 (exit $ac_status); } && {
25627 test -z "$ac_c_werror_flag" ||
25628 test ! -s conftest.err
25629 } && test -s conftest.$ac_objext; then
25631 wx_cv_lib_glibc21=yes
25634 echo "$as_me: failed program was:" >&5
25635 sed 's/^/| /' conftest.$ac_ext >&5
25638 wx_cv_lib_glibc21=no
25643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25646 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25647 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25648 if test "$wx_cv_lib_glibc21" = "yes"; then
25649 cat >>confdefs.h <<\_ACEOF
25650 #define wxHAVE_GLIBC2 1
25656 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25657 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25658 cat >>confdefs.h <<\_ACEOF
25659 #define _GNU_SOURCE 1
25670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25671 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25673 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25676 cat >conftest.$ac_ext <<_ACEOF
25679 cat confdefs.h >>conftest.$ac_ext
25680 cat >>conftest.$ac_ext <<_ACEOF
25681 /* end confdefs.h. */
25682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25684 #define $ac_func innocuous_$ac_func
25686 /* System header to define __stub macros and hopefully few prototypes,
25687 which can conflict with char $ac_func (); below.
25688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25689 <limits.h> exists even on freestanding compilers. */
25692 # include <limits.h>
25694 # include <assert.h>
25699 /* Override any GCC internal prototype to avoid an error.
25700 Use char because int might match the return type of a GCC
25701 builtin and then its argument prototype would still apply. */
25706 /* The GNU C library defines this for functions which it implements
25707 to always fail with ENOSYS. Some functions are actually named
25708 something starting with __ and the normal name is an alias. */
25709 #if defined __stub_$ac_func || defined __stub___$ac_func
25716 return $ac_func ();
25721 rm -f conftest.$ac_objext conftest$ac_exeext
25722 if { (ac_try="$ac_link"
25723 case "(($ac_try" in
25724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25725 *) ac_try_echo
=$ac_try;;
25727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25728 (eval "$ac_link") 2>conftest.er1
25730 grep -v '^ *+' conftest.er1
>conftest.err
25732 cat conftest.err
>&5
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); } && {
25735 test -z "$ac_c_werror_flag" ||
25736 test ! -s conftest.err
25737 } && test -s conftest
$ac_exeext &&
25738 $as_test_x conftest
$ac_exeext; then
25739 eval "$as_ac_var=yes"
25741 echo "$as_me: failed program was:" >&5
25742 sed 's/^/| /' conftest.
$ac_ext >&5
25744 eval "$as_ac_var=no"
25747 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25748 conftest
$ac_exeext conftest.
$ac_ext
25750 ac_res
=`eval echo '${'$as_ac_var'}'`
25751 { echo "$as_me:$LINENO: result: $ac_res" >&5
25752 echo "${ECHO_T}$ac_res" >&6; }
25753 if test `eval echo '${'$as_ac_var'}'` = yes; then
25754 cat >>confdefs.h
<<_ACEOF
25755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25762 for ac_func
in floor
25764 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25765 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25767 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25768 echo $ECHO_N "(cached) $ECHO_C" >&6
25770 cat >conftest.
$ac_ext <<_ACEOF
25773 cat confdefs.h
>>conftest.
$ac_ext
25774 cat >>conftest.
$ac_ext <<_ACEOF
25775 /* end confdefs.h. */
25776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25778 #define $ac_func innocuous_$ac_func
25780 /* System header to define __stub macros and hopefully few prototypes,
25781 which can conflict with char $ac_func (); below.
25782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25783 <limits.h> exists even on freestanding compilers. */
25786 # include <limits.h>
25788 # include <assert.h>
25793 /* Override any GCC internal prototype to avoid an error.
25794 Use char because int might match the return type of a GCC
25795 builtin and then its argument prototype would still apply. */
25800 /* The GNU C library defines this for functions which it implements
25801 to always fail with ENOSYS. Some functions are actually named
25802 something starting with __ and the normal name is an alias. */
25803 #if defined __stub_$ac_func || defined __stub___$ac_func
25810 return $ac_func ();
25815 rm -f conftest.
$ac_objext conftest
$ac_exeext
25816 if { (ac_try
="$ac_link"
25817 case "(($ac_try" in
25818 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25819 *) ac_try_echo=$ac_try;;
25821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25822 (eval "$ac_link") 2>conftest.er1
25824 grep -v '^ *+' conftest.er1 >conftest.err
25826 cat conftest.err >&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } && {
25829 test -z "$ac_c_werror_flag" ||
25830 test ! -s conftest.err
25831 } && test -s conftest$ac_exeext &&
25832 $as_test_x conftest$ac_exeext; then
25833 eval "$as_ac_var=yes"
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.$ac_ext >&5
25838 eval "$as_ac_var=no"
25841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25842 conftest$ac_exeext conftest.$ac_ext
25844 ac_res=`eval echo '${'$as_ac_var'}'`
25845 { echo "$as_me:$LINENO: result: $ac_res" >&5
25846 echo "${ECHO_T}$ac_res" >&6; }
25847 if test `eval echo '${'$as_ac_var'}'` = yes; then
25848 cat >>confdefs.h <<_ACEOF
25849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25855 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25856 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25857 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25858 { echo "$as_me:$LINENO: result: yes" >&5
25859 echo "${ECHO_T}yes" >&6; }
25861 { echo "$as_me:$LINENO: result: no" >&5
25862 echo "${ECHO_T}no" >&6; }
25864 # use different functions to avoid configure caching
25870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25871 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25873 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25874 echo $ECHO_N "(cached) $ECHO_C" >&6
25876 cat >conftest.$ac_ext <<_ACEOF
25879 cat confdefs.h >>conftest.$ac_ext
25880 cat >>conftest.$ac_ext <<_ACEOF
25881 /* end confdefs.h. */
25882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25884 #define $ac_func innocuous_$ac_func
25886 /* System header to define __stub macros and hopefully few prototypes,
25887 which can conflict with char $ac_func (); below.
25888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25889 <limits.h> exists even on freestanding compilers. */
25892 # include <limits.h>
25894 # include <assert.h>
25899 /* Override any GCC internal prototype to avoid an error.
25900 Use char because int might match the return type of a GCC
25901 builtin and then its argument prototype would still apply. */
25906 /* The GNU C library defines this for functions which it implements
25907 to always fail with ENOSYS. Some functions are actually named
25908 something starting with __ and the normal name is an alias. */
25909 #if defined __stub_$ac_func || defined __stub___$ac_func
25916 return $ac_func ();
25921 rm -f conftest.$ac_objext conftest$ac_exeext
25922 if { (ac_try="$ac_link"
25923 case "(($ac_try" in
25924 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25925 *) ac_try_echo
=$ac_try;;
25927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25928 (eval "$ac_link") 2>conftest.er1
25930 grep -v '^ *+' conftest.er1
>conftest.err
25932 cat conftest.err
>&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); } && {
25935 test -z "$ac_c_werror_flag" ||
25936 test ! -s conftest.err
25937 } && test -s conftest
$ac_exeext &&
25938 $as_test_x conftest
$ac_exeext; then
25939 eval "$as_ac_var=yes"
25941 echo "$as_me: failed program was:" >&5
25942 sed 's/^/| /' conftest.
$ac_ext >&5
25944 eval "$as_ac_var=no"
25947 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25948 conftest
$ac_exeext conftest.
$ac_ext
25950 ac_res
=`eval echo '${'$as_ac_var'}'`
25951 { echo "$as_me:$LINENO: result: $ac_res" >&5
25952 echo "${ECHO_T}$ac_res" >&6; }
25953 if test `eval echo '${'$as_ac_var'}'` = yes; then
25954 cat >>confdefs.h
<<_ACEOF
25955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25962 for ac_func
in ceil
25964 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25965 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25967 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25968 echo $ECHO_N "(cached) $ECHO_C" >&6
25970 cat >conftest.
$ac_ext <<_ACEOF
25973 cat confdefs.h
>>conftest.
$ac_ext
25974 cat >>conftest.
$ac_ext <<_ACEOF
25975 /* end confdefs.h. */
25976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25978 #define $ac_func innocuous_$ac_func
25980 /* System header to define __stub macros and hopefully few prototypes,
25981 which can conflict with char $ac_func (); below.
25982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25983 <limits.h> exists even on freestanding compilers. */
25986 # include <limits.h>
25988 # include <assert.h>
25993 /* Override any GCC internal prototype to avoid an error.
25994 Use char because int might match the return type of a GCC
25995 builtin and then its argument prototype would still apply. */
26000 /* The GNU C library defines this for functions which it implements
26001 to always fail with ENOSYS. Some functions are actually named
26002 something starting with __ and the normal name is an alias. */
26003 #if defined __stub_$ac_func || defined __stub___$ac_func
26010 return $ac_func ();
26015 rm -f conftest.
$ac_objext conftest
$ac_exeext
26016 if { (ac_try
="$ac_link"
26017 case "(($ac_try" in
26018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26019 *) ac_try_echo=$ac_try;;
26021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26022 (eval "$ac_link") 2>conftest.er1
26024 grep -v '^ *+' conftest.er1 >conftest.err
26026 cat conftest.err >&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } && {
26029 test -z "$ac_c_werror_flag" ||
26030 test ! -s conftest.err
26031 } && test -s conftest$ac_exeext &&
26032 $as_test_x conftest$ac_exeext; then
26033 eval "$as_ac_var=yes"
26035 echo "$as_me: failed program was:" >&5
26036 sed 's/^/| /' conftest.$ac_ext >&5
26038 eval "$as_ac_var=no"
26041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26042 conftest$ac_exeext conftest.$ac_ext
26044 ac_res=`eval echo '${'$as_ac_var'}'`
26045 { echo "$as_me:$LINENO: result: $ac_res" >&5
26046 echo "${ECHO_T}$ac_res" >&6; }
26047 if test `eval echo '${'$as_ac_var'}'` = yes; then
26048 cat >>confdefs.h <<_ACEOF
26049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26055 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26056 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26057 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26058 { echo "$as_me:$LINENO: result: yes" >&5
26059 echo "${ECHO_T}yes" >&6; }
26061 { echo "$as_me:$LINENO: result: no" >&5
26062 echo "${ECHO_T}no" >&6; }
26063 # not sure we should warn the user, crash, etc.
26068 ac_cpp='$CXXCPP $CPPFLAGS'
26069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26073 if test "wxUSE_UNICODE" = "yes"; then
26075 for wx_func in wcstoull
26077 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26078 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26079 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26080 echo $ECHO_N "(cached) $ECHO_C" >&6
26083 cat >conftest.$ac_ext <<_ACEOF
26087 cat confdefs.h >>conftest.$ac_ext
26088 cat >>conftest.$ac_ext <<_ACEOF
26089 /* end confdefs.h. */
26092 $ac_includes_default
26108 rm -f conftest.$ac_objext conftest$ac_exeext
26109 if { (ac_try="$ac_link"
26110 case "(($ac_try" in
26111 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26112 *) ac_try_echo
=$ac_try;;
26114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26115 (eval "$ac_link") 2>conftest.er1
26117 grep -v '^ *+' conftest.er1
>conftest.err
26119 cat conftest.err
>&5
26120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26121 (exit $ac_status); } && {
26122 test -z "$ac_cxx_werror_flag" ||
26123 test ! -s conftest.err
26124 } && test -s conftest
$ac_exeext &&
26125 $as_test_x conftest
$ac_exeext; then
26126 eval wx_cv_func_
$wx_func=yes
26128 echo "$as_me: failed program was:" >&5
26129 sed 's/^/| /' conftest.
$ac_ext >&5
26131 eval wx_cv_func_
$wx_func=no
26134 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26135 conftest
$ac_exeext conftest.
$ac_ext
26138 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26139 { echo "$as_me:$LINENO: result: $ac_res" >&5
26140 echo "${ECHO_T}$ac_res" >&6; }
26142 if eval test \
$wx_cv_func_$wx_func = yes
26144 cat >>confdefs.h
<<_ACEOF
26145 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26157 for wx_func
in strtoull
26159 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26160 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26161 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26162 echo $ECHO_N "(cached) $ECHO_C" >&6
26165 cat >conftest.
$ac_ext <<_ACEOF
26169 cat confdefs.h
>>conftest.
$ac_ext
26170 cat >>conftest.
$ac_ext <<_ACEOF
26171 /* end confdefs.h. */
26174 $ac_includes_default
26190 rm -f conftest.
$ac_objext conftest
$ac_exeext
26191 if { (ac_try
="$ac_link"
26192 case "(($ac_try" in
26193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26194 *) ac_try_echo=$ac_try;;
26196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26197 (eval "$ac_link") 2>conftest.er1
26199 grep -v '^ *+' conftest.er1 >conftest.err
26201 cat conftest.err >&5
26202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26203 (exit $ac_status); } && {
26204 test -z "$ac_cxx_werror_flag" ||
26205 test ! -s conftest.err
26206 } && test -s conftest$ac_exeext &&
26207 $as_test_x conftest$ac_exeext; then
26208 eval wx_cv_func_$wx_func=yes
26210 echo "$as_me: failed program was:" >&5
26211 sed 's/^/| /' conftest.$ac_ext >&5
26213 eval wx_cv_func_$wx_func=no
26216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26217 conftest$ac_exeext conftest.$ac_ext
26220 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26221 { echo "$as_me:$LINENO: result: $ac_res" >&5
26222 echo "${ECHO_T}$ac_res" >&6; }
26224 if eval test \$wx_cv_func_$wx_func = yes
26226 cat >>confdefs.h <<_ACEOF
26227 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26239 ac_cpp='$CPP $CPPFLAGS'
26240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26247 if test "$wxUSE_REGEX" != "no"; then
26248 cat >>confdefs.h <<\_ACEOF
26249 #define wxUSE_REGEX 1
26253 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26254 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26255 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26256 wxUSE_REGEX=builtin
26259 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26260 { echo "$as_me:$LINENO: checking for regex.h" >&5
26261 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26262 if test "${ac_cv_header_regex_h+set}" = set; then
26263 echo $ECHO_N "(cached) $ECHO_C" >&6
26265 cat >conftest.$ac_ext <<_ACEOF
26268 cat confdefs.h >>conftest.$ac_ext
26269 cat >>conftest.$ac_ext <<_ACEOF
26270 /* end confdefs.h. */
26275 rm -f conftest.$ac_objext
26276 if { (ac_try="$ac_compile"
26277 case "(($ac_try" in
26278 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26279 *) ac_try_echo
=$ac_try;;
26281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26282 (eval "$ac_compile") 2>conftest.er1
26284 grep -v '^ *+' conftest.er1
>conftest.err
26286 cat conftest.err
>&5
26287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288 (exit $ac_status); } && {
26289 test -z "$ac_c_werror_flag" ||
26290 test ! -s conftest.err
26291 } && test -s conftest.
$ac_objext; then
26292 ac_cv_header_regex_h
=yes
26294 echo "$as_me: failed program was:" >&5
26295 sed 's/^/| /' conftest.
$ac_ext >&5
26297 ac_cv_header_regex_h
=no
26300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26302 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26303 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26304 if test $ac_cv_header_regex_h = yes; then
26307 for ac_func
in regcomp re_search
26309 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26310 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26312 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26313 echo $ECHO_N "(cached) $ECHO_C" >&6
26315 cat >conftest.
$ac_ext <<_ACEOF
26318 cat confdefs.h
>>conftest.
$ac_ext
26319 cat >>conftest.
$ac_ext <<_ACEOF
26320 /* end confdefs.h. */
26321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26323 #define $ac_func innocuous_$ac_func
26325 /* System header to define __stub macros and hopefully few prototypes,
26326 which can conflict with char $ac_func (); below.
26327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26328 <limits.h> exists even on freestanding compilers. */
26331 # include <limits.h>
26333 # include <assert.h>
26338 /* Override any GCC internal prototype to avoid an error.
26339 Use char because int might match the return type of a GCC
26340 builtin and then its argument prototype would still apply. */
26345 /* The GNU C library defines this for functions which it implements
26346 to always fail with ENOSYS. Some functions are actually named
26347 something starting with __ and the normal name is an alias. */
26348 #if defined __stub_$ac_func || defined __stub___$ac_func
26355 return $ac_func ();
26360 rm -f conftest.
$ac_objext conftest
$ac_exeext
26361 if { (ac_try
="$ac_link"
26362 case "(($ac_try" in
26363 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26364 *) ac_try_echo=$ac_try;;
26366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26367 (eval "$ac_link") 2>conftest.er1
26369 grep -v '^ *+' conftest.er1 >conftest.err
26371 cat conftest.err >&5
26372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373 (exit $ac_status); } && {
26374 test -z "$ac_c_werror_flag" ||
26375 test ! -s conftest.err
26376 } && test -s conftest$ac_exeext &&
26377 $as_test_x conftest$ac_exeext; then
26378 eval "$as_ac_var=yes"
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.$ac_ext >&5
26383 eval "$as_ac_var=no"
26386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26387 conftest$ac_exeext conftest.$ac_ext
26389 ac_res=`eval echo '${'$as_ac_var'}'`
26390 { echo "$as_me:$LINENO: result: $ac_res" >&5
26391 echo "${ECHO_T}$ac_res" >&6; }
26392 if test `eval echo '${'$as_ac_var'}'` = yes; then
26393 cat >>confdefs.h <<_ACEOF
26394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26404 if test "x$ac_cv_func_regcomp" != "xyes"; then
26405 if test "$wxUSE_REGEX" = "sys" ; then
26406 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26407 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26408 { (exit 1); exit 1; }; }
26410 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26411 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26412 wxUSE_REGEX=builtin
26416 cat >>confdefs.h <<\_ACEOF
26417 #define WX_NO_REGEX_ADVANCED 1
26426 if test "$wxUSE_ZLIB" != "no" ; then
26427 cat >>confdefs.h <<\_ACEOF
26428 #define wxUSE_ZLIB 1
26432 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26433 if test "$USE_DARWIN" = 1; then
26434 system_zlib_h_ok="yes"
26436 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26437 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26438 if test "${ac_cv_header_zlib_h+set}" = set; then
26439 echo $ECHO_N "(cached) $ECHO_C" >&6
26441 if test "$cross_compiling" = yes; then
26442 unset ac_cv_header_zlib_h
26445 cat >conftest.$ac_ext <<_ACEOF
26448 cat confdefs.h >>conftest.$ac_ext
26449 cat >>conftest.$ac_ext <<_ACEOF
26450 /* end confdefs.h. */
26457 FILE *f=fopen("conftestval", "w");
26460 ZLIB_VERSION[0] == '1' &&
26461 (ZLIB_VERSION[2] > '1' ||
26462 (ZLIB_VERSION[2] == '1' &&
26463 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26468 rm -f conftest$ac_exeext
26469 if { (ac_try="$ac_link"
26470 case "(($ac_try" in
26471 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26472 *) ac_try_echo
=$ac_try;;
26474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26475 (eval "$ac_link") 2>&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26479 { (case "(($ac_try" in
26480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26481 *) ac_try_echo=$ac_try;;
26483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26484 (eval "$ac_try") 2>&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); }; }; then
26488 ac_cv_header_zlib_h=`cat conftestval
`
26490 echo "$as_me: program exited with status $ac_status" >&5
26491 echo "$as_me: failed program was:" >&5
26492 sed 's/^/| /' conftest.$ac_ext >&5
26494 ( exit $ac_status )
26495 ac_cv_header_zlib_h=no
26497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26503 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26504 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26505 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26506 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26507 if test "${ac_cv_header_zlib_h+set}" = set; then
26508 echo $ECHO_N "(cached) $ECHO_C" >&6
26510 cat >conftest.$ac_ext <<_ACEOF
26513 cat confdefs.h >>conftest.$ac_ext
26514 cat >>conftest.$ac_ext <<_ACEOF
26515 /* end confdefs.h. */
26520 rm -f conftest.$ac_objext
26521 if { (ac_try="$ac_compile"
26522 case "(($ac_try" in
26523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26524 *) ac_try_echo
=$ac_try;;
26526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26527 (eval "$ac_compile") 2>conftest.er1
26529 grep -v '^ *+' conftest.er1
>conftest.err
26531 cat conftest.err
>&5
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); } && {
26534 test -z "$ac_c_werror_flag" ||
26535 test ! -s conftest.err
26536 } && test -s conftest.
$ac_objext; then
26537 ac_cv_header_zlib_h
=yes
26539 echo "$as_me: failed program was:" >&5
26540 sed 's/^/| /' conftest.
$ac_ext >&5
26542 ac_cv_header_zlib_h
=no
26545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26547 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26548 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26552 system_zlib_h_ok
=$ac_cv_header_zlib_h
26555 if test "$system_zlib_h_ok" = "yes"; then
26556 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26557 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26558 if test "${ac_cv_lib_z_deflate+set}" = set; then
26559 echo $ECHO_N "(cached) $ECHO_C" >&6
26561 ac_check_lib_save_LIBS
=$LIBS
26563 cat >conftest.
$ac_ext <<_ACEOF
26566 cat confdefs.h
>>conftest.
$ac_ext
26567 cat >>conftest.
$ac_ext <<_ACEOF
26568 /* end confdefs.h. */
26570 /* Override any GCC internal prototype to avoid an error.
26571 Use char because int might match the return type of a GCC
26572 builtin and then its argument prototype would still apply. */
26585 rm -f conftest.
$ac_objext conftest
$ac_exeext
26586 if { (ac_try
="$ac_link"
26587 case "(($ac_try" in
26588 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26589 *) ac_try_echo=$ac_try;;
26591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26592 (eval "$ac_link") 2>conftest.er1
26594 grep -v '^ *+' conftest.er1 >conftest.err
26596 cat conftest.err >&5
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); } && {
26599 test -z "$ac_c_werror_flag" ||
26600 test ! -s conftest.err
26601 } && test -s conftest$ac_exeext &&
26602 $as_test_x conftest$ac_exeext; then
26603 ac_cv_lib_z_deflate=yes
26605 echo "$as_me: failed program was:" >&5
26606 sed 's/^/| /' conftest.$ac_ext >&5
26608 ac_cv_lib_z_deflate=no
26611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26612 conftest$ac_exeext conftest.$ac_ext
26613 LIBS=$ac_check_lib_save_LIBS
26615 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26616 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26617 if test $ac_cv_lib_z_deflate = yes; then
26623 if test "x$ZLIB_LINK" = "x" ; then
26624 if test "$wxUSE_ZLIB" = "sys" ; then
26625 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26626 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26627 { (exit 1); exit 1; }; }
26629 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26630 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26641 if test "$wxUSE_LIBPNG" != "no" ; then
26642 cat >>confdefs.h <<\_ACEOF
26643 #define wxUSE_LIBPNG 1
26647 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26648 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26649 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26653 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26654 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26655 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26656 wxUSE_LIBPNG=builtin
26659 if test "$wxUSE_MGL" != 1 ; then
26660 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26661 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26662 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26663 if test "${ac_cv_header_png_h+set}" = set; then
26664 echo $ECHO_N "(cached) $ECHO_C" >&6
26666 if test "$cross_compiling" = yes; then
26667 unset ac_cv_header_png_h
26670 cat >conftest.$ac_ext <<_ACEOF
26673 cat confdefs.h >>conftest.$ac_ext
26674 cat >>conftest.$ac_ext <<_ACEOF
26675 /* end confdefs.h. */
26682 FILE *f=fopen("conftestval", "w");
26685 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26690 rm -f conftest$ac_exeext
26691 if { (ac_try="$ac_link"
26692 case "(($ac_try" in
26693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26694 *) ac_try_echo
=$ac_try;;
26696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26697 (eval "$ac_link") 2>&5
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26701 { (case "(($ac_try" in
26702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26703 *) ac_try_echo=$ac_try;;
26705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26706 (eval "$ac_try") 2>&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); }; }; then
26710 ac_cv_header_png_h=`cat conftestval
`
26712 echo "$as_me: program exited with status $ac_status" >&5
26713 echo "$as_me: failed program was:" >&5
26714 sed 's/^/| /' conftest.$ac_ext >&5
26716 ( exit $ac_status )
26717 ac_cv_header_png_h=no
26719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26725 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26726 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26727 { echo "$as_me:$LINENO: checking for png.h" >&5
26728 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26729 if test "${ac_cv_header_png_h+set}" = set; then
26730 echo $ECHO_N "(cached) $ECHO_C" >&6
26732 cat >conftest.$ac_ext <<_ACEOF
26735 cat confdefs.h >>conftest.$ac_ext
26736 cat >>conftest.$ac_ext <<_ACEOF
26737 /* end confdefs.h. */
26742 rm -f conftest.$ac_objext
26743 if { (ac_try="$ac_compile"
26744 case "(($ac_try" in
26745 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26746 *) ac_try_echo
=$ac_try;;
26748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26749 (eval "$ac_compile") 2>conftest.er1
26751 grep -v '^ *+' conftest.er1
>conftest.err
26753 cat conftest.err
>&5
26754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26755 (exit $ac_status); } && {
26756 test -z "$ac_c_werror_flag" ||
26757 test ! -s conftest.err
26758 } && test -s conftest.
$ac_objext; then
26759 ac_cv_header_png_h
=yes
26761 echo "$as_me: failed program was:" >&5
26762 sed 's/^/| /' conftest.
$ac_ext >&5
26764 ac_cv_header_png_h
=no
26767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26769 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26770 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26774 if test "$ac_cv_header_png_h" = "yes"; then
26775 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26776 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26777 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26778 echo $ECHO_N "(cached) $ECHO_C" >&6
26780 ac_check_lib_save_LIBS
=$LIBS
26781 LIBS
="-lpng -lz -lm $LIBS"
26782 cat >conftest.
$ac_ext <<_ACEOF
26785 cat confdefs.h
>>conftest.
$ac_ext
26786 cat >>conftest.
$ac_ext <<_ACEOF
26787 /* end confdefs.h. */
26789 /* Override any GCC internal prototype to avoid an error.
26790 Use char because int might match the return type of a GCC
26791 builtin and then its argument prototype would still apply. */
26795 char png_check_sig ();
26799 return png_check_sig ();
26804 rm -f conftest.
$ac_objext conftest
$ac_exeext
26805 if { (ac_try
="$ac_link"
26806 case "(($ac_try" in
26807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26808 *) ac_try_echo=$ac_try;;
26810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26811 (eval "$ac_link") 2>conftest.er1
26813 grep -v '^ *+' conftest.er1 >conftest.err
26815 cat conftest.err >&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } && {
26818 test -z "$ac_c_werror_flag" ||
26819 test ! -s conftest.err
26820 } && test -s conftest$ac_exeext &&
26821 $as_test_x conftest$ac_exeext; then
26822 ac_cv_lib_png_png_check_sig=yes
26824 echo "$as_me: failed program was:" >&5
26825 sed 's/^/| /' conftest.$ac_ext >&5
26827 ac_cv_lib_png_png_check_sig=no
26830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26831 conftest$ac_exeext conftest.$ac_ext
26832 LIBS=$ac_check_lib_save_LIBS
26834 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26835 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26836 if test $ac_cv_lib_png_png_check_sig = yes; then
26837 PNG_LINK=" -lpng -lz"
26842 if test "x$PNG_LINK" = "x" ; then
26843 if test "$wxUSE_LIBPNG" = "sys" ; then
26844 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26845 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26846 { (exit 1); exit 1; }; }
26848 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26849 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26850 wxUSE_LIBPNG=builtin
26861 if test "$wxUSE_LIBJPEG" != "no" ; then
26862 cat >>confdefs.h <<\_ACEOF
26863 #define wxUSE_LIBJPEG 1
26867 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26868 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26869 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26873 if test "$wxUSE_MGL" != 1 ; then
26874 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26875 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26876 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26877 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26878 echo $ECHO_N "(cached) $ECHO_C" >&6
26880 cat >conftest.$ac_ext <<_ACEOF
26883 cat confdefs.h >>conftest.$ac_ext
26884 cat >>conftest.$ac_ext <<_ACEOF
26885 /* end confdefs.h. */
26887 #undef HAVE_STDLIB_H
26889 #include <jpeglib.h>
26900 rm -f conftest.$ac_objext
26901 if { (ac_try="$ac_compile"
26902 case "(($ac_try" in
26903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26904 *) ac_try_echo
=$ac_try;;
26906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26907 (eval "$ac_compile") 2>conftest.er1
26909 grep -v '^ *+' conftest.er1
>conftest.err
26911 cat conftest.err
>&5
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); } && {
26914 test -z "$ac_c_werror_flag" ||
26915 test ! -s conftest.err
26916 } && test -s conftest.
$ac_objext; then
26917 ac_cv_header_jpeglib_h
=yes
26919 echo "$as_me: failed program was:" >&5
26920 sed 's/^/| /' conftest.
$ac_ext >&5
26922 ac_cv_header_jpeglib_h
=no
26926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26930 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26931 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26933 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26934 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26935 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26936 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26937 echo $ECHO_N "(cached) $ECHO_C" >&6
26939 ac_check_lib_save_LIBS
=$LIBS
26940 LIBS
="-ljpeg $LIBS"
26941 cat >conftest.
$ac_ext <<_ACEOF
26944 cat confdefs.h
>>conftest.
$ac_ext
26945 cat >>conftest.
$ac_ext <<_ACEOF
26946 /* end confdefs.h. */
26948 /* Override any GCC internal prototype to avoid an error.
26949 Use char because int might match the return type of a GCC
26950 builtin and then its argument prototype would still apply. */
26954 char jpeg_read_header ();
26958 return jpeg_read_header ();
26963 rm -f conftest.
$ac_objext conftest
$ac_exeext
26964 if { (ac_try
="$ac_link"
26965 case "(($ac_try" in
26966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26967 *) ac_try_echo=$ac_try;;
26969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26970 (eval "$ac_link") 2>conftest.er1
26972 grep -v '^ *+' conftest.er1 >conftest.err
26974 cat conftest.err >&5
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); } && {
26977 test -z "$ac_c_werror_flag" ||
26978 test ! -s conftest.err
26979 } && test -s conftest$ac_exeext &&
26980 $as_test_x conftest$ac_exeext; then
26981 ac_cv_lib_jpeg_jpeg_read_header=yes
26983 echo "$as_me: failed program was:" >&5
26984 sed 's/^/| /' conftest.$ac_ext >&5
26986 ac_cv_lib_jpeg_jpeg_read_header=no
26989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26990 conftest$ac_exeext conftest.$ac_ext
26991 LIBS=$ac_check_lib_save_LIBS
26993 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26994 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26995 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26996 JPEG_LINK=" -ljpeg"
27001 if test "x$JPEG_LINK" = "x" ; then
27002 if test "$wxUSE_LIBJPEG" = "sys" ; then
27003 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27004 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27005 { (exit 1); exit 1; }; }
27007 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27008 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27009 wxUSE_LIBJPEG=builtin
27014 if test "$wxUSE_MSW" = 1; then
27015 { echo "$as_me:$LINENO: checking for boolean" >&5
27016 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27017 if test "${ac_cv_type_boolean+set}" = set; then
27018 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 cat >conftest.$ac_ext <<_ACEOF
27023 cat confdefs.h >>conftest.$ac_ext
27024 cat >>conftest.$ac_ext <<_ACEOF
27025 /* end confdefs.h. */
27026 #include <windows.h>
27028 typedef boolean ac__type_new_;
27032 if ((ac__type_new_ *) 0)
27034 if (sizeof (ac__type_new_))
27040 rm -f conftest.$ac_objext
27041 if { (ac_try="$ac_compile"
27042 case "(($ac_try" in
27043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27044 *) ac_try_echo
=$ac_try;;
27046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27047 (eval "$ac_compile") 2>conftest.er1
27049 grep -v '^ *+' conftest.er1
>conftest.err
27051 cat conftest.err
>&5
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); } && {
27054 test -z "$ac_c_werror_flag" ||
27055 test ! -s conftest.err
27056 } && test -s conftest.
$ac_objext; then
27057 ac_cv_type_boolean
=yes
27059 echo "$as_me: failed program was:" >&5
27060 sed 's/^/| /' conftest.
$ac_ext >&5
27062 ac_cv_type_boolean
=no
27065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27067 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27068 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27069 if test $ac_cv_type_boolean = yes; then
27071 cat >>confdefs.h
<<_ACEOF
27072 #define HAVE_BOOLEAN 1
27076 { echo "$as_me:$LINENO: checking for boolean" >&5
27077 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27078 if test "${ac_cv_type_boolean+set}" = set; then
27079 echo $ECHO_N "(cached) $ECHO_C" >&6
27081 cat >conftest.
$ac_ext <<_ACEOF
27084 cat confdefs.h
>>conftest.
$ac_ext
27085 cat >>conftest.
$ac_ext <<_ACEOF
27086 /* end confdefs.h. */
27088 #undef HAVE_BOOLEAN
27090 #include <jpeglib.h>
27093 typedef boolean ac__type_new_;
27097 if ((ac__type_new_ *) 0)
27099 if (sizeof (ac__type_new_))
27105 rm -f conftest.
$ac_objext
27106 if { (ac_try
="$ac_compile"
27107 case "(($ac_try" in
27108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27109 *) ac_try_echo=$ac_try;;
27111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27112 (eval "$ac_compile") 2>conftest.er1
27114 grep -v '^ *+' conftest.er1 >conftest.err
27116 cat conftest.err >&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } && {
27119 test -z "$ac_c_werror_flag" ||
27120 test ! -s conftest.err
27121 } && test -s conftest.$ac_objext; then
27122 ac_cv_type_boolean=yes
27124 echo "$as_me: failed program was:" >&5
27125 sed 's/^/| /' conftest.$ac_ext >&5
27127 ac_cv_type_boolean=no
27130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27132 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27133 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27135 # The cast to long int works around a bug in the HP C Compiler
27136 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27137 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27138 # This bug is HP SR number 8606223364.
27139 { echo "$as_me:$LINENO: checking size of boolean" >&5
27140 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27141 if test "${ac_cv_sizeof_boolean+set}" = set; then
27142 echo $ECHO_N "(cached) $ECHO_C" >&6
27144 if test "$cross_compiling" = yes; then
27145 # Depending upon the size, compute the lo and hi bounds.
27146 cat >conftest.$ac_ext <<_ACEOF
27149 cat confdefs.h >>conftest.$ac_ext
27150 cat >>conftest.$ac_ext <<_ACEOF
27151 /* end confdefs.h. */
27153 #undef HAVE_BOOLEAN
27155 #include <jpeglib.h>
27158 typedef boolean ac__type_sizeof_;
27162 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27169 rm -f conftest.$ac_objext
27170 if { (ac_try="$ac_compile"
27171 case "(($ac_try" in
27172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27173 *) ac_try_echo=$ac_try;;
27175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27176 (eval "$ac_compile") 2>conftest.er1
27178 grep -v '^
*+' conftest.er1 >conftest.err
27180 cat conftest.err >&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); } && {
27183 test -z "$ac_c_werror_flag" ||
27184 test ! -s conftest.err
27185 } && test -s conftest.$ac_objext; then
27188 cat >conftest.$ac_ext <<_ACEOF
27191 cat confdefs.h >>conftest.$ac_ext
27192 cat >>conftest.$ac_ext <<_ACEOF
27193 /* end confdefs.h. */
27195 #undef HAVE_BOOLEAN
27197 #include <jpeglib.h>
27200 typedef boolean ac__type_sizeof_;
27204 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27211 rm -f conftest.$ac_objext
27212 if { (ac_try="$ac_compile"
27213 case "(($ac_try" in
27214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27215 *) ac_try_echo=$ac_try;;
27217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27218 (eval "$ac_compile") 2>conftest.er1
27220 grep -v '^
*+' conftest.er1 >conftest.err
27222 cat conftest.err >&5
27223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224 (exit $ac_status); } && {
27225 test -z "$ac_c_werror_flag" ||
27226 test ! -s conftest.err
27227 } && test -s conftest.$ac_objext; then
27228 ac_hi=$ac_mid; break
27230 echo "$as_me: failed program was:" >&5
27231 sed 's
/^
/| /' conftest.$ac_ext >&5
27233 ac_lo=`expr $ac_mid + 1`
27234 if test $ac_lo -le $ac_mid; then
27238 ac_mid=`expr 2 '*' $ac_mid + 1`
27241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27244 echo "$as_me: failed program was:" >&5
27245 sed 's
/^
/| /' conftest.$ac_ext >&5
27247 cat >conftest.$ac_ext <<_ACEOF
27250 cat confdefs.h >>conftest.$ac_ext
27251 cat >>conftest.$ac_ext <<_ACEOF
27252 /* end confdefs.h. */
27254 #undef HAVE_BOOLEAN
27256 #include <jpeglib.h>
27259 typedef boolean ac__type_sizeof_;
27263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27270 rm -f conftest.$ac_objext
27271 if { (ac_try="$ac_compile"
27272 case "(($ac_try" in
27273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27274 *) ac_try_echo=$ac_try;;
27276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27277 (eval "$ac_compile") 2>conftest.er1
27279 grep -v '^
*+' conftest.er1 >conftest.err
27281 cat conftest.err >&5
27282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283 (exit $ac_status); } && {
27284 test -z "$ac_c_werror_flag" ||
27285 test ! -s conftest.err
27286 } && test -s conftest.$ac_objext; then
27289 cat >conftest.$ac_ext <<_ACEOF
27292 cat confdefs.h >>conftest.$ac_ext
27293 cat >>conftest.$ac_ext <<_ACEOF
27294 /* end confdefs.h. */
27296 #undef HAVE_BOOLEAN
27298 #include <jpeglib.h>
27301 typedef boolean ac__type_sizeof_;
27305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27312 rm -f conftest.$ac_objext
27313 if { (ac_try="$ac_compile"
27314 case "(($ac_try" in
27315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27316 *) ac_try_echo=$ac_try;;
27318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27319 (eval "$ac_compile") 2>conftest.er1
27321 grep -v '^
*+' conftest.er1 >conftest.err
27323 cat conftest.err >&5
27324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325 (exit $ac_status); } && {
27326 test -z "$ac_c_werror_flag" ||
27327 test ! -s conftest.err
27328 } && test -s conftest.$ac_objext; then
27329 ac_lo=$ac_mid; break
27331 echo "$as_me: failed program was:" >&5
27332 sed 's
/^
/| /' conftest.$ac_ext >&5
27334 ac_hi=`expr '(' $ac_mid ')' - 1`
27335 if test $ac_mid -le $ac_hi; then
27339 ac_mid=`expr 2 '*' $ac_mid`
27342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27345 echo "$as_me: failed program was:" >&5
27346 sed 's
/^
/| /' conftest.$ac_ext >&5
27351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27355 # Binary search between lo and hi bounds.
27356 while test "x$ac_lo" != "x$ac_hi"; do
27357 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27358 cat >conftest.$ac_ext <<_ACEOF
27361 cat confdefs.h >>conftest.$ac_ext
27362 cat >>conftest.$ac_ext <<_ACEOF
27363 /* end confdefs.h. */
27365 #undef HAVE_BOOLEAN
27367 #include <jpeglib.h>
27370 typedef boolean ac__type_sizeof_;
27374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27381 rm -f conftest.$ac_objext
27382 if { (ac_try="$ac_compile"
27383 case "(($ac_try" in
27384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27385 *) ac_try_echo=$ac_try;;
27387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27388 (eval "$ac_compile") 2>conftest.er1
27390 grep -v '^
*+' conftest.er1 >conftest.err
27392 cat conftest.err >&5
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); } && {
27395 test -z "$ac_c_werror_flag" ||
27396 test ! -s conftest.err
27397 } && test -s conftest.$ac_objext; then
27400 echo "$as_me: failed program was:" >&5
27401 sed 's
/^
/| /' conftest.$ac_ext >&5
27403 ac_lo=`expr '(' $ac_mid ')' + 1`
27406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27409 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27410 '') if test "$ac_cv_type_boolean" = yes; then
27411 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27412 See \`config.log' for more details.
" >&5
27413 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27414 See \
`config.log' for more details." >&2;}
27415 { (exit 77); exit 77; }; }
27417 ac_cv_sizeof_boolean=0
27421 cat >conftest.$ac_ext <<_ACEOF
27424 cat confdefs.h >>conftest.$ac_ext
27425 cat >>conftest.$ac_ext <<_ACEOF
27426 /* end confdefs.h. */
27428 #undef HAVE_BOOLEAN
27430 #include <jpeglib.h>
27433 typedef boolean ac__type_sizeof_;
27434 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27435 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27437 #include <stdlib.h>
27442 FILE *f = fopen ("conftest.val", "w");
27445 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27447 long int i = longval ();
27448 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27450 fprintf (f, "%ld\n", i);
27454 unsigned long int i = ulongval ();
27455 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27457 fprintf (f, "%lu\n", i);
27459 return ferror (f) || fclose (f) != 0;
27465 rm -f conftest$ac_exeext
27466 if { (ac_try="$ac_link"
27467 case "(($ac_try" in
27468 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27469 *) ac_try_echo
=$ac_try;;
27471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27472 (eval "$ac_link") 2>&5
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27476 { (case "(($ac_try" in
27477 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27478 *) ac_try_echo=$ac_try;;
27480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27481 (eval "$ac_try") 2>&5
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); }; }; then
27485 ac_cv_sizeof_boolean=`cat conftest.val
`
27487 echo "$as_me: program exited with status $ac_status" >&5
27488 echo "$as_me: failed program was:" >&5
27489 sed 's/^/| /' conftest.$ac_ext >&5
27491 ( exit $ac_status )
27492 if test "$ac_cv_type_boolean" = yes; then
27493 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27494 See \`config.log
' for more details." >&5
27495 echo "$as_me: error: cannot compute sizeof (boolean)
27496 See \`config.log' for more details.
" >&2;}
27497 { (exit 77); exit 77; }; }
27499 ac_cv_sizeof_boolean=0
27502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27506 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27507 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27511 cat >>confdefs.h <<_ACEOF
27512 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27516 cat >>confdefs.h <<_ACEOF
27517 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27531 TIFF_PREREQ_LINKS=-lm
27532 if test "$wxUSE_LIBTIFF" != "no
" ; then
27533 cat >>confdefs.h <<\_ACEOF
27534 #define wxUSE_LIBTIFF 1
27538 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27539 if test "$wxUSE_LIBJPEG" = "sys
"; then
27540 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27542 if test "$wxUSE_ZLIB" = "sys
"; then
27543 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27545 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27546 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27547 if test "${ac_cv_header_tiffio_h+set}" = set; then
27548 echo $ECHO_N "(cached
) $ECHO_C" >&6
27550 cat >conftest.$ac_ext <<_ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27559 #include <tiffio.h>
27561 rm -f conftest.$ac_objext
27562 if { (ac_try="$ac_compile"
27563 case "(($ac_try" in
27564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27565 *) ac_try_echo=$ac_try;;
27567 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27568 (eval "$ac_compile") 2>conftest.er1
27570 grep -v '^ *+' conftest.er1 >conftest.err
27572 cat conftest.err >&5
27573 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27574 (exit $ac_status); } && {
27575 test -z "$ac_c_werror_flag" ||
27576 test ! -s conftest.err
27577 } && test -s conftest.$ac_objext; then
27578 ac_cv_header_tiffio_h=yes
27580 echo "$as_me: failed program was
:" >&5
27581 sed 's/^/| /' conftest.$ac_ext >&5
27583 ac_cv_header_tiffio_h=no
27586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27588 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27589 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27590 if test $ac_cv_header_tiffio_h = yes; then
27592 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27593 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27594 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27595 echo $ECHO_N "(cached
) $ECHO_C" >&6
27597 ac_check_lib_save_LIBS=$LIBS
27598 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27599 cat >conftest.$ac_ext <<_ACEOF
27602 cat confdefs.h >>conftest.$ac_ext
27603 cat >>conftest.$ac_ext <<_ACEOF
27604 /* end confdefs.h. */
27606 /* Override any GCC internal prototype to avoid an error.
27607 Use char because int might match the return type of a GCC
27608 builtin and then its argument prototype would still apply. */
27616 return TIFFError ();
27621 rm -f conftest.$ac_objext conftest$ac_exeext
27622 if { (ac_try="$ac_link"
27623 case "(($ac_try" in
27624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27625 *) ac_try_echo=$ac_try;;
27627 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27628 (eval "$ac_link") 2>conftest.er1
27630 grep -v '^ *+' conftest.er1 >conftest.err
27632 cat conftest.err >&5
27633 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27634 (exit $ac_status); } && {
27635 test -z "$ac_c_werror_flag" ||
27636 test ! -s conftest.err
27637 } && test -s conftest$ac_exeext &&
27638 $as_test_x conftest$ac_exeext; then
27639 ac_cv_lib_tiff_TIFFError=yes
27641 echo "$as_me: failed program was
:" >&5
27642 sed 's/^/| /' conftest.$ac_ext >&5
27644 ac_cv_lib_tiff_TIFFError=no
27647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27648 conftest$ac_exeext conftest.$ac_ext
27649 LIBS=$ac_check_lib_save_LIBS
27651 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27652 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27653 if test $ac_cv_lib_tiff_TIFFError = yes; then
27654 TIFF_LINK=" -ltiff"
27662 if test "x
$TIFF_LINK" = "x
" ; then
27663 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27664 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27665 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27666 { (exit 1); exit 1; }; }
27668 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27669 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27670 wxUSE_LIBTIFF=builtin
27676 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27677 if test "$wxUSE_LIBJPEG" = "no
"; then
27678 ac_configure_args="$ac_configure_args --disable-jpeg"
27680 subdirs="$subdirs src
/tiff
"
27686 if test "$wxUSE_WCHAR_T" != "yes"; then
27687 if test "$wxUSE_EXPAT" != "no
"; then
27688 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27689 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27692 if test "$wxUSE_XML" != "no
"; then
27693 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27694 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27699 if test "$wxUSE_EXPAT" != "no
"; then
27701 cat >>confdefs.h <<\_ACEOF
27702 #define wxUSE_EXPAT 1
27705 cat >>confdefs.h <<\_ACEOF
27706 #define wxUSE_XML 1
27710 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27711 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27712 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27713 if test "${ac_cv_header_expat_h+set}" = set; then
27714 echo $ECHO_N "(cached
) $ECHO_C" >&6
27716 cat >conftest.$ac_ext <<_ACEOF
27719 cat confdefs.h >>conftest.$ac_ext
27720 cat >>conftest.$ac_ext <<_ACEOF
27721 /* end confdefs.h. */
27726 rm -f conftest.$ac_objext
27727 if { (ac_try="$ac_compile"
27728 case "(($ac_try" in
27729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27730 *) ac_try_echo=$ac_try;;
27732 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27733 (eval "$ac_compile") 2>conftest.er1
27735 grep -v '^ *+' conftest.er1 >conftest.err
27737 cat conftest.err >&5
27738 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27739 (exit $ac_status); } && {
27740 test -z "$ac_c_werror_flag" ||
27741 test ! -s conftest.err
27742 } && test -s conftest.$ac_objext; then
27743 ac_cv_header_expat_h=yes
27745 echo "$as_me: failed program was
:" >&5
27746 sed 's/^/| /' conftest.$ac_ext >&5
27748 ac_cv_header_expat_h=no
27751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27753 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27754 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27755 if test $ac_cv_header_expat_h = yes; then
27760 if test "x
$found_expat_h" = "x1
"; then
27761 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27762 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27763 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27764 echo $ECHO_N "(cached
) $ECHO_C" >&6
27768 ac_cpp='$CXXCPP $CPPFLAGS'
27769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27773 cat >conftest.$ac_ext <<_ACEOF
27776 cat confdefs.h >>conftest.$ac_ext
27777 cat >>conftest.$ac_ext <<_ACEOF
27778 /* end confdefs.h. */
27788 rm -f conftest.$ac_objext
27789 if { (ac_try="$ac_compile"
27790 case "(($ac_try" in
27791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27792 *) ac_try_echo=$ac_try;;
27794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27795 (eval "$ac_compile") 2>conftest.er1
27797 grep -v '^ *+' conftest.er1 >conftest.err
27799 cat conftest.err >&5
27800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27801 (exit $ac_status); } && {
27802 test -z "$ac_cxx_werror_flag" ||
27803 test ! -s conftest.err
27804 } && test -s conftest.$ac_objext; then
27805 wx_cv_expat_is_not_broken=yes
27807 echo "$as_me: failed program was
:" >&5
27808 sed 's/^/| /' conftest.$ac_ext >&5
27810 wx_cv_expat_is_not_broken=no
27814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27816 ac_cpp='$CPP $CPPFLAGS'
27817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27824 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27825 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27826 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27827 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27828 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27829 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27830 echo $ECHO_N "(cached
) $ECHO_C" >&6
27832 ac_check_lib_save_LIBS=$LIBS
27833 LIBS="-lexpat $LIBS"
27834 cat >conftest.$ac_ext <<_ACEOF
27837 cat confdefs.h >>conftest.$ac_ext
27838 cat >>conftest.$ac_ext <<_ACEOF
27839 /* end confdefs.h. */
27841 /* Override any GCC internal prototype to avoid an error.
27842 Use char because int might match the return type of a GCC
27843 builtin and then its argument prototype would still apply. */
27847 char XML_ParserCreate ();
27851 return XML_ParserCreate ();
27856 rm -f conftest.$ac_objext conftest$ac_exeext
27857 if { (ac_try="$ac_link"
27858 case "(($ac_try" in
27859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27860 *) ac_try_echo=$ac_try;;
27862 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27863 (eval "$ac_link") 2>conftest.er1
27865 grep -v '^ *+' conftest.er1 >conftest.err
27867 cat conftest.err >&5
27868 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27869 (exit $ac_status); } && {
27870 test -z "$ac_c_werror_flag" ||
27871 test ! -s conftest.err
27872 } && test -s conftest$ac_exeext &&
27873 $as_test_x conftest$ac_exeext; then
27874 ac_cv_lib_expat_XML_ParserCreate=yes
27876 echo "$as_me: failed program was
:" >&5
27877 sed 's/^/| /' conftest.$ac_ext >&5
27879 ac_cv_lib_expat_XML_ParserCreate=no
27882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27883 conftest$ac_exeext conftest.$ac_ext
27884 LIBS=$ac_check_lib_save_LIBS
27886 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27887 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27888 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27889 EXPAT_LINK=" -lexpat"
27894 if test "x
$EXPAT_LINK" = "x
" ; then
27895 if test "$wxUSE_EXPAT" = "sys
" ; then
27896 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27897 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27898 { (exit 1); exit 1; }; }
27900 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27901 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27902 wxUSE_EXPAT=builtin
27908 if test "$wxUSE_EXPAT" = "builtin" ; then
27909 subdirs="$subdirs src
/expat
"
27916 if test "$wxUSE_LIBMSPACK" != "no
"; then
27917 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27918 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27919 if test "${ac_cv_header_mspack_h+set}" = set; then
27920 echo $ECHO_N "(cached
) $ECHO_C" >&6
27922 cat >conftest.$ac_ext <<_ACEOF
27925 cat confdefs.h >>conftest.$ac_ext
27926 cat >>conftest.$ac_ext <<_ACEOF
27927 /* end confdefs.h. */
27930 #include <mspack.h>
27932 rm -f conftest.$ac_objext
27933 if { (ac_try="$ac_compile"
27934 case "(($ac_try" in
27935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27936 *) ac_try_echo=$ac_try;;
27938 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27939 (eval "$ac_compile") 2>conftest.er1
27941 grep -v '^ *+' conftest.er1 >conftest.err
27943 cat conftest.err >&5
27944 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27945 (exit $ac_status); } && {
27946 test -z "$ac_c_werror_flag" ||
27947 test ! -s conftest.err
27948 } && test -s conftest.$ac_objext; then
27949 ac_cv_header_mspack_h=yes
27951 echo "$as_me: failed program was
:" >&5
27952 sed 's/^/| /' conftest.$ac_ext >&5
27954 ac_cv_header_mspack_h=no
27957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27959 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27960 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27961 if test $ac_cv_header_mspack_h = yes; then
27966 if test "x
$found_mspack_h" = "x1
"; then
27967 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27968 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27969 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27970 echo $ECHO_N "(cached
) $ECHO_C" >&6
27972 ac_check_lib_save_LIBS=$LIBS
27973 LIBS="-lmspack $LIBS"
27974 cat >conftest.$ac_ext <<_ACEOF
27977 cat confdefs.h >>conftest.$ac_ext
27978 cat >>conftest.$ac_ext <<_ACEOF
27979 /* end confdefs.h. */
27981 /* Override any GCC internal prototype to avoid an error.
27982 Use char because int might match the return type of a GCC
27983 builtin and then its argument prototype would still apply. */
27987 char mspack_create_chm_decompressor ();
27991 return mspack_create_chm_decompressor ();
27996 rm -f conftest.$ac_objext conftest$ac_exeext
27997 if { (ac_try="$ac_link"
27998 case "(($ac_try" in
27999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28000 *) ac_try_echo=$ac_try;;
28002 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28003 (eval "$ac_link") 2>conftest.er1
28005 grep -v '^ *+' conftest.er1 >conftest.err
28007 cat conftest.err >&5
28008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28009 (exit $ac_status); } && {
28010 test -z "$ac_c_werror_flag" ||
28011 test ! -s conftest.err
28012 } && test -s conftest$ac_exeext &&
28013 $as_test_x conftest$ac_exeext; then
28014 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28016 echo "$as_me: failed program was
:" >&5
28017 sed 's/^/| /' conftest.$ac_ext >&5
28019 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28023 conftest$ac_exeext conftest.$ac_ext
28024 LIBS=$ac_check_lib_save_LIBS
28026 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28027 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28028 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28029 MSPACK_LINK=" -lmspack"
28033 if test "x
$MSPACK_LINK" = "x
" ; then
28038 if test "$wxUSE_LIBMSPACK" != "no
"; then
28039 cat >>confdefs.h <<\_ACEOF
28040 #define wxUSE_LIBMSPACK 1
28054 if test "$USE_WIN32" = 1 ; then
28056 for ac_header in w32api.h
28058 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28059 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28060 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28061 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28062 echo $ECHO_N "(cached
) $ECHO_C" >&6
28064 cat >conftest.$ac_ext <<_ACEOF
28067 cat confdefs.h >>conftest.$ac_ext
28068 cat >>conftest.$ac_ext <<_ACEOF
28069 /* end confdefs.h. */
28072 #include <$ac_header>
28074 rm -f conftest.$ac_objext
28075 if { (ac_try="$ac_compile"
28076 case "(($ac_try" in
28077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28078 *) ac_try_echo=$ac_try;;
28080 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28081 (eval "$ac_compile") 2>conftest.er1
28083 grep -v '^ *+' conftest.er1 >conftest.err
28085 cat conftest.err >&5
28086 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28087 (exit $ac_status); } && {
28088 test -z "$ac_c_werror_flag" ||
28089 test ! -s conftest.err
28090 } && test -s conftest.$ac_objext; then
28091 eval "$as_ac_Header=yes"
28093 echo "$as_me: failed program was
:" >&5
28094 sed 's/^/| /' conftest.$ac_ext >&5
28096 eval "$as_ac_Header=no
"
28099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28101 ac_res=`eval echo '${'$as_ac_Header'}'`
28102 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28103 echo "${ECHO_T}$ac_res" >&6; }
28104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28105 cat >>confdefs.h <<_ACEOF
28106 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28113 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28114 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28115 if test "${ac_cv_header_windows_h+set}" = set; then
28116 echo $ECHO_N "(cached
) $ECHO_C" >&6
28118 cat >conftest.$ac_ext <<_ACEOF
28121 cat confdefs.h >>conftest.$ac_ext
28122 cat >>conftest.$ac_ext <<_ACEOF
28123 /* end confdefs.h. */
28126 #include <windows.h>
28128 rm -f conftest.$ac_objext
28129 if { (ac_try="$ac_compile"
28130 case "(($ac_try" in
28131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28132 *) ac_try_echo=$ac_try;;
28134 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28135 (eval "$ac_compile") 2>conftest.er1
28137 grep -v '^ *+' conftest.er1 >conftest.err
28139 cat conftest.err >&5
28140 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28141 (exit $ac_status); } && {
28142 test -z "$ac_c_werror_flag" ||
28143 test ! -s conftest.err
28144 } && test -s conftest.$ac_objext; then
28145 ac_cv_header_windows_h=yes
28147 echo "$as_me: failed program was
:" >&5
28148 sed 's/^/| /' conftest.$ac_ext >&5
28150 ac_cv_header_windows_h=no
28153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28155 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28156 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28157 if test $ac_cv_header_windows_h = yes; then
28161 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28162 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28163 { (exit 1); exit 1; }; }
28170 x86_64-*-mingw32* )
28171 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28174 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28177 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28178 LIBS="$LIBS -loleacc"
28183 LIBS="$LIBS -lkernel32 -luser32"
28186 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28187 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28189 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28191 WIN32INSTALL=win32install
28193 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28194 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28195 if test "${ac_cv_header_pbt_h+set}" = set; then
28196 echo $ECHO_N "(cached
) $ECHO_C" >&6
28198 cat >conftest.$ac_ext <<_ACEOF
28201 cat confdefs.h >>conftest.$ac_ext
28202 cat >>conftest.$ac_ext <<_ACEOF
28203 /* end confdefs.h. */
28208 rm -f conftest.$ac_objext
28209 if { (ac_try="$ac_compile"
28210 case "(($ac_try" in
28211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28212 *) ac_try_echo=$ac_try;;
28214 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28215 (eval "$ac_compile") 2>conftest.er1
28217 grep -v '^ *+' conftest.er1 >conftest.err
28219 cat conftest.err >&5
28220 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28221 (exit $ac_status); } && {
28222 test -z "$ac_c_werror_flag" ||
28223 test ! -s conftest.err
28224 } && test -s conftest.$ac_objext; then
28225 ac_cv_header_pbt_h=yes
28227 echo "$as_me: failed program was
:" >&5
28228 sed 's/^/| /' conftest.$ac_ext >&5
28230 ac_cv_header_pbt_h=no
28233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28235 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28236 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28237 if test $ac_cv_header_pbt_h = yes; then
28240 cat >>confdefs.h <<\_ACEOF
28241 #define NEED_PBT_H 1
28249 if test "$wxUSE_GUI" = "yes"; then
28259 if test "$wxUSE_COCOA" = 1 ; then
28260 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28261 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28262 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28263 wxUSE_PRINTING_ARCHITECTURE=no
28265 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28266 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28267 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28268 wxUSE_DRAG_AND_DROP=no
28270 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28271 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28272 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28277 if test "$wxUSE_MSW" = 1 ; then
28283 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28287 if test "$wxUSE_GTK" = 1; then
28288 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28289 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28291 gtk_version_cached=1
28292 if test "${wx_cv_lib_gtk+set}" = set; then
28293 echo $ECHO_N "(cached
) $ECHO_C" >&6
28296 gtk_version_cached=0
28297 { echo "$as_me:$LINENO: result
: " >&5
28298 echo "${ECHO_T}" >&6; }
28301 if test "$wxUSE_THREADS" = "yes"; then
28302 GTK_MODULES=gthread
28306 if test "x
$wxGTK_VERSION" != "x1
"
28310 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28315 # Check whether --enable-gtktest was given.
28316 if test "${enable_gtktest+set}" = set; then
28317 enableval=$enable_gtktest;
28323 pkg_config_args=gtk+-2.0
28324 for module in . $GTK_MODULES
28328 pkg_config_args="$pkg_config_args gthread
-2.0
"
28335 # Extract the first word of "pkg
-config", so it can be a program name with args.
28336 set dummy pkg-config; ac_word=$2
28337 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28338 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28339 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28340 echo $ECHO_N "(cached
) $ECHO_C" >&6
28342 case $PKG_CONFIG in
28344 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28348 for as_dir in $PATH
28351 test -z "$as_dir" && as_dir=.
28352 for ac_exec_ext in '' $ac_executable_extensions; do
28353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28354 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28355 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28362 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28366 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28367 if test -n "$PKG_CONFIG"; then
28368 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28369 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28371 { echo "$as_me:$LINENO: result
: no
" >&5
28372 echo "${ECHO_T}no
" >&6; }
28377 if test x$PKG_CONFIG != xno ; then
28378 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28381 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28389 min_gtk_version=2.4.0
28390 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28391 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28393 if test x$PKG_CONFIG != xno ; then
28394 ## don't try to run the test against uninstalled libtool libs
28395 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28396 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28400 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28407 if test x"$no_gtk" = x ; then
28408 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28409 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28410 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28411 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28412 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28413 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28414 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28415 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28416 if test "x
$enable_gtktest" = "xyes
" ; then
28417 ac_save_CFLAGS="$CFLAGS"
28418 ac_save_LIBS="$LIBS"
28419 CFLAGS="$CFLAGS $GTK_CFLAGS"
28420 LIBS="$GTK_LIBS $LIBS"
28422 if test "$cross_compiling" = yes; then
28423 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28425 cat >conftest.$ac_ext <<_ACEOF
28428 cat confdefs.h >>conftest.$ac_ext
28429 cat >>conftest.$ac_ext <<_ACEOF
28430 /* end confdefs.h. */
28432 #include <gtk/gtk.h>
28434 #include <stdlib.h>
28439 int major, minor, micro;
28442 system ("touch conf.gtktest
");
28444 /* HP/UX 9 (%@#!) writes to sscanf strings */
28445 tmp_version = g_strdup("$min_gtk_version");
28446 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28447 printf("%s
, bad version string
\n", "$min_gtk_version");
28451 if ((gtk_major_version != $gtk_config_major_version) ||
28452 (gtk_minor_version != $gtk_config_minor_version) ||
28453 (gtk_micro_version != $gtk_config_micro_version))
28455 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28456 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28457 gtk_major_version, gtk_minor_version, gtk_micro_version);
28458 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28459 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28460 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28461 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28462 printf("*** required on your system.
\n");
28463 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28464 printf("*** to point to the correct configuration files
\n");
28466 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28467 (gtk_minor_version != GTK_MINOR_VERSION) ||
28468 (gtk_micro_version != GTK_MICRO_VERSION))
28470 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28471 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28472 printf("*** library
(version
%d.
%d.
%d
)\n",
28473 gtk_major_version, gtk_minor_version, gtk_micro_version);
28477 if ((gtk_major_version > major) ||
28478 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28479 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28485 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28486 gtk_major_version, gtk_minor_version, gtk_micro_version);
28487 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28488 major, minor, micro);
28489 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28491 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28492 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28493 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28494 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28495 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28496 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28497 printf("*** so that the correct libraries are found
at run
-time))\n");
28504 rm -f conftest$ac_exeext
28505 if { (ac_try="$ac_link"
28506 case "(($ac_try" in
28507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28508 *) ac_try_echo=$ac_try;;
28510 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28511 (eval "$ac_link") 2>&5
28513 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28514 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28515 { (case "(($ac_try" in
28516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28517 *) ac_try_echo=$ac_try;;
28519 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28520 (eval "$ac_try") 2>&5
28522 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28523 (exit $ac_status); }; }; then
28526 echo "$as_me: program exited with status
$ac_status" >&5
28527 echo "$as_me: failed program was
:" >&5
28528 sed 's/^/| /' conftest.$ac_ext >&5
28530 ( exit $ac_status )
28533 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28537 CFLAGS="$ac_save_CFLAGS"
28538 LIBS="$ac_save_LIBS"
28541 if test "x
$no_gtk" = x ; then
28542 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28543 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28546 { echo "$as_me:$LINENO: result
: no
" >&5
28547 echo "${ECHO_T}no
" >&6; }
28548 if test "$PKG_CONFIG" = "no
" ; then
28549 echo "*** A new enough version of pkg
-config was not found.
"
28550 echo "*** See http
://pkgconfig.sourceforge.net
"
28552 if test -f conf.gtktest ; then
28555 echo "*** Could not run GTK
+ test program
, checking why...
"
28556 ac_save_CFLAGS="$CFLAGS"
28557 ac_save_LIBS="$LIBS"
28558 CFLAGS="$CFLAGS $GTK_CFLAGS"
28559 LIBS="$LIBS $GTK_LIBS"
28560 cat >conftest.$ac_ext <<_ACEOF
28563 cat confdefs.h >>conftest.$ac_ext
28564 cat >>conftest.$ac_ext <<_ACEOF
28565 /* end confdefs.h. */
28567 #include <gtk/gtk.h>
28573 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28578 rm -f conftest.$ac_objext conftest$ac_exeext
28579 if { (ac_try="$ac_link"
28580 case "(($ac_try" in
28581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28582 *) ac_try_echo=$ac_try;;
28584 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28585 (eval "$ac_link") 2>conftest.er1
28587 grep -v '^ *+' conftest.er1 >conftest.err
28589 cat conftest.err >&5
28590 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28591 (exit $ac_status); } && {
28592 test -z "$ac_c_werror_flag" ||
28593 test ! -s conftest.err
28594 } && test -s conftest$ac_exeext &&
28595 $as_test_x conftest$ac_exeext; then
28596 echo "*** The
test program compiled
, but did not run. This usually means
"
28597 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28598 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28599 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28600 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28601 echo "*** is required on your system"
28603 echo "*** If you have an old version installed, it is best to remove it, although"
28604 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28606 echo "$as_me: failed program was:" >&5
28607 sed 's
/^
/| /' conftest.$ac_ext >&5
28609 echo "*** The test program failed to compile or link. See the file config.log for the"
28610 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28614 conftest$ac_exeext conftest.$ac_ext
28615 CFLAGS="$ac_save_CFLAGS"
28616 LIBS="$ac_save_LIBS"
28630 if test "$wxUSE_SHARED" != "yes"; then
28631 GTK_LIBS="$GTK_LIBS -lX11"
28636 if test -z "$wx_cv_lib_gtk"; then
28637 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28639 # Check whether --with-gtk-prefix was given.
28640 if test "${with_gtk_prefix+set}" = set; then
28641 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28643 gtk_config_prefix=""
28647 # Check whether --with-gtk-exec-prefix was given.
28648 if test "${with_gtk_exec_prefix+set}" = set; then
28649 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28651 gtk_config_exec_prefix=""
28654 # Check whether --enable-gtktest was given.
28655 if test "${enable_gtktest+set}" = set; then
28656 enableval=$enable_gtktest;
28662 for module in . $GTK_MODULES
28666 gtk_config_args="$gtk_config_args gthread"
28671 if test x$gtk_config_exec_prefix != x ; then
28672 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28673 if test x${GTK_CONFIG+set} != xset ; then
28674 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28677 if test x$gtk_config_prefix != x ; then
28678 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28679 if test x${GTK_CONFIG+set} != xset ; then
28680 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28684 # Extract the first word of "gtk-config", so it can be a program name with args.
28685 set dummy gtk-config; ac_word=$2
28686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28688 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28689 echo $ECHO_N "(cached) $ECHO_C" >&6
28691 case $GTK_CONFIG in
28693 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28697 for as_dir in $PATH
28700 test -z "$as_dir" && as_dir=.
28701 for ac_exec_ext in '' $ac_executable_extensions; do
28702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28703 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28711 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28715 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28716 if test -n "$GTK_CONFIG"; then
28717 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28718 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28720 { echo "$as_me:$LINENO: result: no" >&5
28721 echo "${ECHO_T}no" >&6; }
28725 min_gtk_version=1.2.7
28726 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28727 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28729 if test "$GTK_CONFIG" = "no" ; then
28732 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28733 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28734 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28735 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28736 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28737 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28738 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28739 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28740 if test "x$enable_gtktest" = "xyes" ; then
28741 ac_save_CFLAGS="$CFLAGS"
28742 ac_save_LIBS="$LIBS"
28743 CFLAGS="$CFLAGS $GTK_CFLAGS"
28744 LIBS="$GTK_LIBS $LIBS"
28746 if test "$cross_compiling" = yes; then
28747 echo $ac_n "cross compiling; assumed OK... $ac_c"
28749 cat >conftest.$ac_ext <<_ACEOF
28752 cat confdefs.h >>conftest.$ac_ext
28753 cat >>conftest.$ac_ext <<_ACEOF
28754 /* end confdefs.h. */
28756 #include <gtk/gtk.h>
28758 #include <stdlib.h>
28763 int major, minor, micro;
28766 system ("touch conf.gtktest");
28768 /* HP/UX 9 (%@#!) writes to sscanf strings */
28769 tmp_version = g_strdup("$min_gtk_version");
28770 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28771 printf("%s, bad version string\n", "$min_gtk_version");
28775 if ((gtk_major_version != $gtk_config_major_version) ||
28776 (gtk_minor_version != $gtk_config_minor_version) ||
28777 (gtk_micro_version != $gtk_config_micro_version))
28779 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28780 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28781 gtk_major_version, gtk_minor_version, gtk_micro_version);
28782 printf ("*** was found! If gtk-config was correct, then it is best\n");
28783 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28784 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28785 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28786 printf("*** required on your system.\n");
28787 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28788 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28789 printf("*** before re-running configure\n");
28791 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28792 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28793 (gtk_minor_version != GTK_MINOR_VERSION) ||
28794 (gtk_micro_version != GTK_MICRO_VERSION))
28796 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28797 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28798 printf("*** library (version %d.%d.%d)\n",
28799 gtk_major_version, gtk_minor_version, gtk_micro_version);
28801 #endif /* defined (GTK_MAJOR_VERSION) ... */
28804 if ((gtk_major_version > major) ||
28805 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28806 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28812 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28813 gtk_major_version, gtk_minor_version, gtk_micro_version);
28814 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28815 major, minor, micro);
28816 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28818 printf("*** If you have already installed a sufficiently new version, this error\n");
28819 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28820 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28821 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28822 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28823 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28824 printf("*** so that the correct libraries are found at run-time))\n");
28831 rm -f conftest$ac_exeext
28832 if { (ac_try="$ac_link"
28833 case "(($ac_try" in
28834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28835 *) ac_try_echo=$ac_try;;
28837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28838 (eval "$ac_link") 2>&5
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28842 { (case "(($ac_try" in
28843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28844 *) ac_try_echo=$ac_try;;
28846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28847 (eval "$ac_try") 2>&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; }; then
28853 echo "$as_me: program exited with status $ac_status" >&5
28854 echo "$as_me: failed program was:" >&5
28855 sed 's
/^
/| /' conftest.$ac_ext >&5
28857 ( exit $ac_status )
28860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28864 CFLAGS="$ac_save_CFLAGS"
28865 LIBS="$ac_save_LIBS"
28868 if test "x$no_gtk" = x ; then
28869 { echo "$as_me:$LINENO: result: yes" >&5
28870 echo "${ECHO_T}yes" >&6; }
28871 wx_cv_lib_gtk=1.2.7
28873 { echo "$as_me:$LINENO: result: no" >&5
28874 echo "${ECHO_T}no" >&6; }
28875 if test "$GTK_CONFIG" = "no" ; then
28876 echo "*** The gtk-config script installed by GTK could not be found"
28877 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28878 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28879 echo "*** full path to gtk-config."
28881 if test -f conf.gtktest ; then
28884 echo "*** Could not run GTK test program, checking why..."
28885 CFLAGS="$CFLAGS $GTK_CFLAGS"
28886 LIBS="$LIBS $GTK_LIBS"
28887 cat >conftest.$ac_ext <<_ACEOF
28890 cat confdefs.h >>conftest.$ac_ext
28891 cat >>conftest.$ac_ext <<_ACEOF
28892 /* end confdefs.h. */
28894 #include <gtk/gtk.h>
28900 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28905 rm -f conftest.$ac_objext conftest$ac_exeext
28906 if { (ac_try="$ac_link"
28907 case "(($ac_try" in
28908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28909 *) ac_try_echo=$ac_try;;
28911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28912 (eval "$ac_link") 2>conftest.er1
28914 grep -v '^
*+' conftest.er1 >conftest.err
28916 cat conftest.err >&5
28917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 (exit $ac_status); } && {
28919 test -z "$ac_c_werror_flag" ||
28920 test ! -s conftest.err
28921 } && test -s conftest$ac_exeext &&
28922 $as_test_x conftest$ac_exeext; then
28923 echo "*** The test program compiled, but did not run. This usually means"
28924 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28925 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28926 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28927 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28928 echo "*** is required on your system
"
28930 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28931 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28933 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28934 echo "*** came with the system with the
command"
28936 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28938 echo "$as_me: failed program was
:" >&5
28939 sed 's/^/| /' conftest.$ac_ext >&5
28941 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28942 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28943 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28944 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28948 conftest$ac_exeext conftest.$ac_ext
28949 CFLAGS="$ac_save_CFLAGS"
28950 LIBS="$ac_save_LIBS"
28962 if test -z "$wx_cv_lib_gtk"; then
28964 # Check whether --with-gtk-prefix was given.
28965 if test "${with_gtk_prefix+set}" = set; then
28966 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28968 gtk_config_prefix=""
28972 # Check whether --with-gtk-exec-prefix was given.
28973 if test "${with_gtk_exec_prefix+set}" = set; then
28974 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28976 gtk_config_exec_prefix=""
28979 # Check whether --enable-gtktest was given.
28980 if test "${enable_gtktest+set}" = set; then
28981 enableval=$enable_gtktest;
28987 for module in . $GTK_MODULES
28991 gtk_config_args="$gtk_config_args gthread
"
28996 if test x$gtk_config_exec_prefix != x ; then
28997 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28998 if test x${GTK_CONFIG+set} != xset ; then
28999 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29002 if test x$gtk_config_prefix != x ; then
29003 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29004 if test x${GTK_CONFIG+set} != xset ; then
29005 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29009 # Extract the first word of "gtk
-config", so it can be a program name with args.
29010 set dummy gtk-config; ac_word=$2
29011 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29012 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29013 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29014 echo $ECHO_N "(cached
) $ECHO_C" >&6
29016 case $GTK_CONFIG in
29018 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29022 for as_dir in $PATH
29025 test -z "$as_dir" && as_dir=.
29026 for ac_exec_ext in '' $ac_executable_extensions; do
29027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29028 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29029 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29036 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29040 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29041 if test -n "$GTK_CONFIG"; then
29042 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29043 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29045 { echo "$as_me:$LINENO: result
: no
" >&5
29046 echo "${ECHO_T}no
" >&6; }
29050 min_gtk_version=1.2.3
29051 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29052 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29054 if test "$GTK_CONFIG" = "no
" ; then
29057 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29058 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29059 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29060 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29061 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29062 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29063 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29064 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29065 if test "x
$enable_gtktest" = "xyes
" ; then
29066 ac_save_CFLAGS="$CFLAGS"
29067 ac_save_LIBS="$LIBS"
29068 CFLAGS="$CFLAGS $GTK_CFLAGS"
29069 LIBS="$GTK_LIBS $LIBS"
29071 if test "$cross_compiling" = yes; then
29072 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29074 cat >conftest.$ac_ext <<_ACEOF
29077 cat confdefs.h >>conftest.$ac_ext
29078 cat >>conftest.$ac_ext <<_ACEOF
29079 /* end confdefs.h. */
29081 #include <gtk/gtk.h>
29083 #include <stdlib.h>
29088 int major, minor, micro;
29091 system ("touch conf.gtktest
");
29093 /* HP/UX 9 (%@#!) writes to sscanf strings */
29094 tmp_version = g_strdup("$min_gtk_version");
29095 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29096 printf("%s
, bad version string
\n", "$min_gtk_version");
29100 if ((gtk_major_version != $gtk_config_major_version) ||
29101 (gtk_minor_version != $gtk_config_minor_version) ||
29102 (gtk_micro_version != $gtk_config_micro_version))
29104 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29105 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29106 gtk_major_version, gtk_minor_version, gtk_micro_version);
29107 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29108 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29109 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29110 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29111 printf("*** required on your system.
\n");
29112 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29113 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29114 printf("*** before re
-running configure
\n");
29116 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29117 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29118 (gtk_minor_version != GTK_MINOR_VERSION) ||
29119 (gtk_micro_version != GTK_MICRO_VERSION))
29121 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29122 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29123 printf("*** library
(version
%d.
%d.
%d
)\n",
29124 gtk_major_version, gtk_minor_version, gtk_micro_version);
29126 #endif /* defined (GTK_MAJOR_VERSION) ... */
29129 if ((gtk_major_version > major) ||
29130 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29131 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29137 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29138 gtk_major_version, gtk_minor_version, gtk_micro_version);
29139 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29140 major, minor, micro);
29141 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29143 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29144 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29145 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29146 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29147 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29148 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29149 printf("*** so that the correct libraries are found
at run
-time))\n");
29156 rm -f conftest$ac_exeext
29157 if { (ac_try="$ac_link"
29158 case "(($ac_try" in
29159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29160 *) ac_try_echo=$ac_try;;
29162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29163 (eval "$ac_link") 2>&5
29165 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29167 { (case "(($ac_try" in
29168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29169 *) ac_try_echo=$ac_try;;
29171 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29172 (eval "$ac_try") 2>&5
29174 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29175 (exit $ac_status); }; }; then
29178 echo "$as_me: program exited with status
$ac_status" >&5
29179 echo "$as_me: failed program was
:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29182 ( exit $ac_status )
29185 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29189 CFLAGS="$ac_save_CFLAGS"
29190 LIBS="$ac_save_LIBS"
29193 if test "x
$no_gtk" = x ; then
29194 { echo "$as_me:$LINENO: result
: yes" >&5
29195 echo "${ECHO_T}yes" >&6; }
29196 wx_cv_lib_gtk=1.2.3
29198 { echo "$as_me:$LINENO: result
: no
" >&5
29199 echo "${ECHO_T}no
" >&6; }
29200 if test "$GTK_CONFIG" = "no
" ; then
29201 echo "*** The gtk
-config script installed by GTK could not be found
"
29202 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29203 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29204 echo "*** full path to gtk
-config.
"
29206 if test -f conf.gtktest ; then
29209 echo "*** Could not run GTK
test program
, checking why...
"
29210 CFLAGS="$CFLAGS $GTK_CFLAGS"
29211 LIBS="$LIBS $GTK_LIBS"
29212 cat >conftest.$ac_ext <<_ACEOF
29215 cat confdefs.h >>conftest.$ac_ext
29216 cat >>conftest.$ac_ext <<_ACEOF
29217 /* end confdefs.h. */
29219 #include <gtk/gtk.h>
29225 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29230 rm -f conftest.$ac_objext conftest$ac_exeext
29231 if { (ac_try="$ac_link"
29232 case "(($ac_try" in
29233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29234 *) ac_try_echo=$ac_try;;
29236 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29237 (eval "$ac_link") 2>conftest.er1
29239 grep -v '^ *+' conftest.er1 >conftest.err
29241 cat conftest.err >&5
29242 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29243 (exit $ac_status); } && {
29244 test -z "$ac_c_werror_flag" ||
29245 test ! -s conftest.err
29246 } && test -s conftest$ac_exeext &&
29247 $as_test_x conftest$ac_exeext; then
29248 echo "*** The
test program compiled
, but did not run. This usually means
"
29249 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29250 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29251 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29252 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29253 echo "*** is required on your system"
29255 echo "*** If you have an old version installed, it is best to remove it, although"
29256 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29258 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29259 echo "*** came with the system with the command"
29261 echo "*** rpm --erase --nodeps gtk gtk-devel"
29263 echo "$as_me: failed program was:" >&5
29264 sed 's
/^
/| /' conftest.$ac_ext >&5
29266 echo "*** The test program failed to compile or link. See the file config.log for the"
29267 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29268 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29269 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29273 conftest$ac_exeext conftest.$ac_ext
29274 CFLAGS="$ac_save_CFLAGS"
29275 LIBS="$ac_save_LIBS"
29290 if test -z "$wx_cv_lib_gtk"; then
29293 wx_cv_cflags_gtk=$GTK_CFLAGS
29294 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29301 if test "$gtk_version_cached" = 1; then
29302 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29303 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29306 case "$wx_cv_lib_gtk" in
29315 *) { { echo "$as_me:$LINENO: error:
29316 The development files for GTK+ were not found. For GTK+ 2, please
29317 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29318 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29319 and that the version is 1.2.3 or above. Also check that the
29320 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29321 --libs' are in the LD_LIBRARY_PATH or equivalent.
29323 echo "$as_me: error:
29324 The development files for GTK+ were not found. For GTK+ 2, please
29325 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29326 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29327 and that the version is 1.2.3 or above. Also check that the
29328 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29329 --libs' are in the LD_LIBRARY_PATH or equivalent.
29331 { (exit 1); exit 1; }; }
29335 if test "$WXGTK2" = 1; then
29336 save_CFLAGS="$CFLAGS"
29338 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29339 LIBS="$LIBS $wx_cv_libs_gtk"
29341 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29342 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29343 cat >conftest.$ac_ext <<_ACEOF
29346 cat confdefs.h >>conftest.$ac_ext
29347 cat >>conftest.$ac_ext <<_ACEOF
29348 /* end confdefs.h. */
29350 #include <gtk/gtk.h>
29356 #if !GTK_CHECK_VERSION(2,10,0)
29364 rm -f conftest.$ac_objext
29365 if { (ac_try="$ac_compile"
29366 case "(($ac_try" in
29367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29368 *) ac_try_echo=$ac_try;;
29370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29371 (eval "$ac_compile") 2>conftest.er1
29373 grep -v '^
*+' conftest.er1 >conftest.err
29375 cat conftest.err >&5
29376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29377 (exit $ac_status); } && {
29378 test -z "$ac_c_werror_flag" ||
29379 test ! -s conftest.err
29380 } && test -s conftest.$ac_objext; then
29382 cat >>confdefs.h <<\_ACEOF
29383 #define __WXGTK210__ 1
29386 cat >>confdefs.h <<\_ACEOF
29387 #define __WXGTK26__ 1
29390 { echo "$as_me:$LINENO: result: yes" >&5
29391 echo "${ECHO_T}yes" >&6; }
29395 echo "$as_me: failed program was:" >&5
29396 sed 's
/^
/| /' conftest.$ac_ext >&5
29399 { echo "$as_me:$LINENO: result: no" >&5
29400 echo "${ECHO_T}no" >&6; }
29405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29407 if test "$ac_wxgtk210" = 0; then
29408 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29409 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29410 cat >conftest.$ac_ext <<_ACEOF
29413 cat confdefs.h >>conftest.$ac_ext
29414 cat >>conftest.$ac_ext <<_ACEOF
29415 /* end confdefs.h. */
29417 #include <gtk/gtk.h>
29423 #if !GTK_CHECK_VERSION(2,6,0)
29431 rm -f conftest.$ac_objext
29432 if { (ac_try="$ac_compile"
29433 case "(($ac_try" in
29434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29435 *) ac_try_echo=$ac_try;;
29437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29438 (eval "$ac_compile") 2>conftest.er1
29440 grep -v '^
*+' conftest.er1 >conftest.err
29442 cat conftest.err >&5
29443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 (exit $ac_status); } && {
29445 test -z "$ac_c_werror_flag" ||
29446 test ! -s conftest.err
29447 } && test -s conftest.$ac_objext; then
29449 cat >>confdefs.h <<\_ACEOF
29450 #define __WXGTK26__ 1
29453 { echo "$as_me:$LINENO: result: yes" >&5
29454 echo "${ECHO_T}yes" >&6; }
29458 echo "$as_me: failed program was:" >&5
29459 sed 's
/^
/| /' conftest.$ac_ext >&5
29462 { echo "$as_me:$LINENO: result: no" >&5
29463 echo "${ECHO_T}no" >&6; }
29468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29471 CFLAGS="$save_CFLAGS"
29474 if test "$wxUSE_UNICODE" = "yes"; then
29475 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29476 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29480 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29481 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29482 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29483 echo $ECHO_N "(cached) $ECHO_C" >&6
29485 ac_check_lib_save_LIBS=$LIBS
29487 cat >conftest.$ac_ext <<_ACEOF
29490 cat confdefs.h >>conftest.$ac_ext
29491 cat >>conftest.$ac_ext <<_ACEOF
29492 /* end confdefs.h. */
29494 /* Override any GCC internal prototype to avoid an error.
29495 Use char because int might match the return type of a GCC
29496 builtin and then its argument prototype would still apply. */
29500 char gdk_im_open ();
29504 return gdk_im_open ();
29509 rm -f conftest.$ac_objext conftest$ac_exeext
29510 if { (ac_try="$ac_link"
29511 case "(($ac_try" in
29512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29513 *) ac_try_echo=$ac_try;;
29515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29516 (eval "$ac_link") 2>conftest.er1
29518 grep -v '^
*+' conftest.er1 >conftest.err
29520 cat conftest.err >&5
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); } && {
29523 test -z "$ac_c_werror_flag" ||
29524 test ! -s conftest.err
29525 } && test -s conftest$ac_exeext &&
29526 $as_test_x conftest$ac_exeext; then
29527 ac_cv_lib_gdk_gdk_im_open=yes
29529 echo "$as_me: failed program was:" >&5
29530 sed 's
/^
/| /' conftest.$ac_ext >&5
29532 ac_cv_lib_gdk_gdk_im_open=no
29535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29536 conftest$ac_exeext conftest.$ac_ext
29537 LIBS=$ac_check_lib_save_LIBS
29539 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29540 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29541 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29542 cat >>confdefs.h <<\_ACEOF
29549 if test "$USE_DARWIN" != 1; then
29551 for ac_func in poll
29553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29554 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29556 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29557 echo $ECHO_N "(cached) $ECHO_C" >&6
29559 cat >conftest.$ac_ext <<_ACEOF
29562 cat confdefs.h >>conftest.$ac_ext
29563 cat >>conftest.$ac_ext <<_ACEOF
29564 /* end confdefs.h. */
29565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29567 #define $ac_func innocuous_$ac_func
29569 /* System header to define __stub macros and hopefully few prototypes,
29570 which can conflict with char $ac_func (); below.
29571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29572 <limits.h> exists even on freestanding compilers. */
29575 # include <limits.h>
29577 # include <assert.h>
29582 /* Override any GCC internal prototype to avoid an error.
29583 Use char because int might match the return type of a GCC
29584 builtin and then its argument prototype would still apply. */
29589 /* The GNU C library defines this for functions which it implements
29590 to always fail with ENOSYS. Some functions are actually named
29591 something starting with __ and the normal name is an alias. */
29592 #if defined __stub_$ac_func || defined __stub___$ac_func
29599 return $ac_func ();
29604 rm -f conftest.$ac_objext conftest$ac_exeext
29605 if { (ac_try="$ac_link"
29606 case "(($ac_try" in
29607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29608 *) ac_try_echo=$ac_try;;
29610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29611 (eval "$ac_link") 2>conftest.er1
29613 grep -v '^
*+' conftest.er1 >conftest.err
29615 cat conftest.err >&5
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); } && {
29618 test -z "$ac_c_werror_flag" ||
29619 test ! -s conftest.err
29620 } && test -s conftest$ac_exeext &&
29621 $as_test_x conftest$ac_exeext; then
29622 eval "$as_ac_var=yes"
29624 echo "$as_me: failed program was:" >&5
29625 sed 's
/^
/| /' conftest.$ac_ext >&5
29627 eval "$as_ac_var=no"
29630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29631 conftest$ac_exeext conftest.$ac_ext
29633 ac_res=`eval echo '${'$as_ac_var'}'`
29634 { echo "$as_me:$LINENO: result: $ac_res" >&5
29635 echo "${ECHO_T}$ac_res" >&6; }
29636 if test `eval echo '${'$as_ac_var'}'` = yes; then
29637 cat >>confdefs.h <<_ACEOF
29638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29647 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29648 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29650 AFMINSTALL=afminstall
29654 if test "$wxUSE_GPE" = "yes"; then
29655 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29656 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29659 for ac_dir in $SEARCH_LIB;
29661 for ac_extension in a so sl dylib dll.a; do
29662 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29663 ac_find_libraries=$ac_dir
29669 if test "$ac_find_libraries" != "" ; then
29671 if test "$ac_find_libraries" = "default location"; then
29674 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29676 if test $result = 0; then
29679 ac_path_to_link=" -L$ac_find_libraries"
29683 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29685 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29686 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29688 { echo "$as_me:$LINENO: result: not found" >&5
29689 echo "${ECHO_T}not found" >&6; }
29695 if test "$wxUSE_MGL" = 1; then
29696 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29697 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29698 if test "x$MGL_ROOT" = x ; then
29699 { echo "$as_me:$LINENO: result: not found" >&5
29700 echo "${ECHO_T}not found" >&6; }
29701 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29702 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29703 { (exit 1); exit 1; }; }
29705 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29706 echo "${ECHO_T}$MGL_ROOT" >&6; }
29709 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29710 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29713 if test "x$wxUSE_SHARED" = xyes ; then
29714 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29716 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29720 mgl_os_candidates="dos32/dj2"
29723 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29724 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29725 { (exit 1); exit 1; }; }
29731 for mgl_os_i in $mgl_os_candidates ; do
29732 if test "x$mgl_os" = x ; then
29733 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29734 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29735 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29740 if test "x$mgl_lib_type" = x ; then
29741 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29742 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29743 mgl_lib_type=release
29750 if test "x$mgl_os" = x ; then
29751 { echo "$as_me:$LINENO: result: not found" >&5
29752 echo "${ECHO_T}not found" >&6; }
29753 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29754 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29755 { (exit 1); exit 1; }; }
29757 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29758 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29760 wxUSE_UNIVERSAL="yes"
29762 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29763 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29765 AFMINSTALL=afminstall
29770 if test "$wxUSE_DFB" = 1; then
29773 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29774 if test -n "$ac_tool_prefix"; then
29775 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29776 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29779 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29780 echo $ECHO_N "(cached) $ECHO_C" >&6
29782 case $PKG_CONFIG in
29784 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29788 for as_dir in $PATH
29791 test -z "$as_dir" && as_dir=.
29792 for ac_exec_ext in '' $ac_executable_extensions; do
29793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29794 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29805 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29806 if test -n "$PKG_CONFIG"; then
29807 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29808 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29810 { echo "$as_me:$LINENO: result: no" >&5
29811 echo "${ECHO_T}no" >&6; }
29816 if test -z "$ac_cv_path_PKG_CONFIG"; then
29817 ac_pt_PKG_CONFIG=$PKG_CONFIG
29818 # Extract the first word of "pkg-config", so it can be a program name with args.
29819 set dummy pkg-config; ac_word=$2
29820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29822 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29823 echo $ECHO_N "(cached) $ECHO_C" >&6
29825 case $ac_pt_PKG_CONFIG in
29827 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29831 for as_dir in $PATH
29834 test -z "$as_dir" && as_dir=.
29835 for ac_exec_ext in '' $ac_executable_extensions; do
29836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29837 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29848 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29849 if test -n "$ac_pt_PKG_CONFIG"; then
29850 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29851 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29853 { echo "$as_me:$LINENO: result: no" >&5
29854 echo "${ECHO_T}no" >&6; }
29857 if test "x$ac_pt_PKG_CONFIG" = x; then
29860 case $cross_compiling:$ac_tool_warned in
29862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29863 whose name does not start with the host triplet. If you think this
29864 configuration is useful to you, please write to autoconf@gnu.org." >&5
29865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29866 whose name does not start with the host triplet. If you think this
29867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29868 ac_tool_warned=yes ;;
29870 PKG_CONFIG=$ac_pt_PKG_CONFIG
29873 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29877 if test -n "$PKG_CONFIG"; then
29878 _pkg_min_version=0.9.0
29879 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29880 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29881 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29882 { echo "$as_me:$LINENO: result: yes" >&5
29883 echo "${ECHO_T}yes" >&6; }
29885 { echo "$as_me:$LINENO: result: no" >&5
29886 echo "${ECHO_T}no" >&6; }
29894 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29895 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29897 if test -n "$PKG_CONFIG"; then
29898 if test -n "$DIRECTFB_CFLAGS"; then
29899 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29901 if test -n "$PKG_CONFIG" && \
29902 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29903 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); }; then
29907 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29915 if test -n "$PKG_CONFIG"; then
29916 if test -n "$DIRECTFB_LIBS"; then
29917 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29919 if test -n "$PKG_CONFIG" && \
29920 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29921 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); }; then
29925 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29936 if test $pkg_failed = yes; then
29938 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29939 _pkg_short_errors_supported=yes
29941 _pkg_short_errors_supported=no
29943 if test $_pkg_short_errors_supported = yes; then
29944 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29946 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29948 # Put the nasty error message in config.log where it belongs
29949 echo "$DIRECTFB_PKG_ERRORS" >&5
29952 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29953 echo "$as_me: error: DirectFB not found." >&2;}
29954 { (exit 1); exit 1; }; }
29957 elif test $pkg_failed = untried; then
29959 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29960 echo "$as_me: error: DirectFB not found." >&2;}
29961 { (exit 1); exit 1; }; }
29965 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29966 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29967 { echo "$as_me:$LINENO: result: yes" >&5
29968 echo "${ECHO_T}yes" >&6; }
29970 wxUSE_UNIVERSAL="yes"
29971 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29972 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29979 if test "$wxUSE_MICROWIN" = 1; then
29980 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29981 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29982 if test "x$MICROWINDOWS" = x ; then
29983 { echo "$as_me:$LINENO: result: not found" >&5
29984 echo "${ECHO_T}not found" >&6; }
29985 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29986 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29987 { (exit 1); exit 1; }; }
29989 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29990 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29993 if test -f $MICROWINDOWS/lib/libmwin.a; then
29994 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29995 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29997 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29998 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29999 { (exit 1); exit 1; }; }
30002 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30003 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30005 wxUSE_UNIVERSAL="yes"
30007 AFMINSTALL=afminstall
30009 GUIDIST=MICROWIN_DIST
30011 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30014 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30015 { echo "$as_me:$LINENO: checking for X" >&5
30016 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30019 # Check whether --with-x was given.
30020 if test "${with_x+set}" = set; then
30024 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30025 if test "x$with_x" = xno; then
30026 # The user explicitly disabled X.
30029 case $x_includes,$x_libraries in #(
30030 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30031 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30032 { (exit 1); exit 1; }; };; #(
30033 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30034 echo $ECHO_N "(cached) $ECHO_C" >&6
30036 # One or both of the vars are not set, and there is no cached value.
30037 ac_x_includes=no ac_x_libraries=no
30038 rm -f -r conftest.dir
30039 if mkdir conftest.dir; then
30041 cat >Imakefile <<'_ACEOF'
30043 @echo incroot='${INCROOT}'
30045 @echo usrlibdir='${USRLIBDIR}'
30047 @echo libdir='${LIBDIR}'
30049 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30050 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30051 for ac_var in incroot usrlibdir libdir; do
30052 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30054 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30055 for ac_extension in a so sl; do
30056 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30057 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30058 ac_im_usrlibdir=$ac_im_libdir; break
30061 # Screen out bogus values from the imake configuration. They are
30062 # bogus both because they are the default anyway, and because
30063 # using them would break gcc on systems where it needs fixed includes.
30064 case $ac_im_incroot in
30065 /usr/include) ac_x_includes= ;;
30066 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30068 case $ac_im_usrlibdir in
30069 /usr/lib | /lib) ;;
30070 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30074 rm -f -r conftest.dir
30077 # Standard set of common directories for X headers.
30078 # Check X11 before X11Rn because it is often a symlink to the current release.
30090 /usr
/local
/X
11/include
30091 /usr
/local
/X
11R
6/include
30092 /usr
/local
/X
11R
5/include
30093 /usr
/local
/X
11R
4/include
30095 /usr
/local
/include
/X11
30096 /usr
/local
/include
/X11R6
30097 /usr
/local
/include
/X11R5
30098 /usr
/local
/include
/X11R4
30102 /usr
/XFree
86/include
/X11
30106 /usr
/unsupported
/include
30107 /usr
/athena
/include
30108 /usr
/local
/x
11r
5/include
30109 /usr
/lpp
/Xamples
/include
30111 /usr
/openwin
/include
30112 /usr
/openwin
/share
/include
'
30114 if test "$ac_x_includes" = no; then
30115 # Guess where to find include files, by looking for Xlib.h.
30116 # First, try using that file with no special directory specified.
30117 cat >conftest.$ac_ext <<_ACEOF
30120 cat confdefs.h >>conftest.$ac_ext
30121 cat >>conftest.$ac_ext <<_ACEOF
30122 /* end confdefs.h. */
30123 #include <X11/Xlib.h>
30125 if { (ac_try="$ac_cpp conftest.$ac_ext"
30126 case "(($ac_try" in
30127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30128 *) ac_try_echo=$ac_try;;
30130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30131 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30133 grep -v '^
*+' conftest.er1 >conftest.err
30135 cat conftest.err >&5
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); } >/dev/null && {
30138 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30139 test ! -s conftest.err
30141 # We can compile using X headers with no special include directory.
30144 echo "$as_me: failed program was:" >&5
30145 sed 's
/^
/| /' conftest.$ac_ext >&5
30147 for ac_dir in $ac_x_header_dirs; do
30148 if test -r "$ac_dir/X11/Xlib.h"; then
30149 ac_x_includes=$ac_dir
30155 rm -f conftest.err conftest.$ac_ext
30156 fi # $ac_x_includes = no
30158 if test "$ac_x_libraries" = no; then
30159 # Check for the libraries.
30160 # See if we find them without any special options.
30161 # Don't add to
$LIBS permanently.
30164 cat >conftest.
$ac_ext <<_ACEOF
30167 cat confdefs.h
>>conftest.
$ac_ext
30168 cat >>conftest.
$ac_ext <<_ACEOF
30169 /* end confdefs.h. */
30170 #include <X11/Xlib.h>
30179 rm -f conftest.
$ac_objext conftest
$ac_exeext
30180 if { (ac_try
="$ac_link"
30181 case "(($ac_try" in
30182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30183 *) ac_try_echo=$ac_try;;
30185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30186 (eval "$ac_link") 2>conftest.er1
30188 grep -v '^ *+' conftest.er1 >conftest.err
30190 cat conftest.err >&5
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); } && {
30193 test -z "$ac_c_werror_flag" ||
30194 test ! -s conftest.err
30195 } && test -s conftest$ac_exeext &&
30196 $as_test_x conftest$ac_exeext; then
30198 # We can link X programs with no special library path.
30201 echo "$as_me: failed program was:" >&5
30202 sed 's/^/| /' conftest.$ac_ext >&5
30205 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30207 # Don't even attempt the hair of trying to link an X program!
30208 for ac_extension in a so sl; do
30209 if test -r "$ac_dir/libX11.$ac_extension"; then
30210 ac_x_libraries=$ac_dir
30217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30218 conftest$ac_exeext conftest.$ac_ext
30219 fi # $ac_x_libraries = no
30221 case $ac_x_includes,$ac_x_libraries in #(
30222 no,* | *,no | *\'*)
30223 # Didn't find X, or a directory has "'" in its name.
30224 ac_cv_have_x="have_x=no";; #(
30226 # Record where we found X for the cache.
30227 ac_cv_have_x="have_x=yes\
30228 ac_x_includes='$ac_x_includes'\
30229 ac_x_libraries='$ac_x_libraries'"
30235 eval "$ac_cv_have_x"
30238 if test "$have_x" != yes; then
30239 { echo "$as_me:$LINENO: result: $have_x" >&5
30240 echo "${ECHO_T}$have_x" >&6; }
30243 # If each of the values was on the command line, it overrides each guess.
30244 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30245 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30246 # Update the cache value to reflect the command line values.
30247 ac_cv_have_x="have_x=yes\
30248 ac_x_includes='$x_includes'\
30249 ac_x_libraries='$x_libraries'"
30250 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30251 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30254 if test "$no_x" = yes; then
30255 # Not all programs may use this symbol, but it does not hurt to define it.
30257 cat >>confdefs.h <<\_ACEOF
30258 #define X_DISPLAY_MISSING 1
30261 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30263 if test -n "$x_includes"; then
30264 X_CFLAGS="$X_CFLAGS -I$x_includes"
30267 # It would also be nice to do this for all -L options, not just this one.
30268 if test -n "$x_libraries"; then
30269 X_LIBS="$X_LIBS -L$x_libraries"
30270 # For Solaris; some versions of Sun CC require a space after -R and
30271 # others require no space. Words are not sufficient . . . .
30272 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30273 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30274 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30275 ac_xsave_c_werror_flag=$ac_c_werror_flag
30276 ac_c_werror_flag=yes
30277 cat >conftest.$ac_ext <<_ACEOF
30280 cat confdefs.h >>conftest.$ac_ext
30281 cat >>conftest.$ac_ext <<_ACEOF
30282 /* end confdefs.h. */
30292 rm -f conftest.$ac_objext conftest$ac_exeext
30293 if { (ac_try="$ac_link"
30294 case "(($ac_try" in
30295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30296 *) ac_try_echo
=$ac_try;;
30298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30299 (eval "$ac_link") 2>conftest.er1
30301 grep -v '^ *+' conftest.er1
>conftest.err
30303 cat conftest.err
>&5
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); } && {
30306 test -z "$ac_c_werror_flag" ||
30307 test ! -s conftest.err
30308 } && test -s conftest
$ac_exeext &&
30309 $as_test_x conftest
$ac_exeext; then
30310 { echo "$as_me:$LINENO: result: no" >&5
30311 echo "${ECHO_T}no" >&6; }
30312 X_LIBS
="$X_LIBS -R$x_libraries"
30314 echo "$as_me: failed program was:" >&5
30315 sed 's/^/| /' conftest.
$ac_ext >&5
30317 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30318 cat >conftest.
$ac_ext <<_ACEOF
30321 cat confdefs.h
>>conftest.
$ac_ext
30322 cat >>conftest.
$ac_ext <<_ACEOF
30323 /* end confdefs.h. */
30333 rm -f conftest.
$ac_objext conftest
$ac_exeext
30334 if { (ac_try
="$ac_link"
30335 case "(($ac_try" in
30336 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30337 *) ac_try_echo=$ac_try;;
30339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30340 (eval "$ac_link") 2>conftest.er1
30342 grep -v '^ *+' conftest.er1 >conftest.err
30344 cat conftest.err >&5
30345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30346 (exit $ac_status); } && {
30347 test -z "$ac_c_werror_flag" ||
30348 test ! -s conftest.err
30349 } && test -s conftest$ac_exeext &&
30350 $as_test_x conftest$ac_exeext; then
30351 { echo "$as_me:$LINENO: result: yes" >&5
30352 echo "${ECHO_T}yes" >&6; }
30353 X_LIBS="$X_LIBS -R $x_libraries"
30355 echo "$as_me: failed program was:" >&5
30356 sed 's/^/| /' conftest.$ac_ext >&5
30358 { echo "$as_me:$LINENO: result: neither works" >&5
30359 echo "${ECHO_T}neither works" >&6; }
30362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30363 conftest$ac_exeext conftest.$ac_ext
30366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30367 conftest$ac_exeext conftest.$ac_ext
30368 ac_c_werror_flag=$ac_xsave_c_werror_flag
30369 LIBS=$ac_xsave_LIBS
30372 # Check for system-dependent libraries X programs must link with.
30373 # Do this before checking for the system-independent R6 libraries
30374 # (-lICE), since we may need -lsocket or whatever for X linking.
30376 if test "$ISC" = yes; then
30377 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30379 # Martyn Johnson says this is needed for Ultrix, if the X
30380 # libraries were built with DECnet support. And Karl Berry says
30381 # the Alpha needs dnet_stub (dnet does not exist).
30382 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30383 cat >conftest.$ac_ext <<_ACEOF
30386 cat confdefs.h >>conftest.$ac_ext
30387 cat >>conftest.$ac_ext <<_ACEOF
30388 /* end confdefs.h. */
30390 /* Override any GCC internal prototype to avoid an error.
30391 Use char because int might match the return type of a GCC
30392 builtin and then its argument prototype would still apply. */
30396 char XOpenDisplay ();
30400 return XOpenDisplay ();
30405 rm -f conftest.$ac_objext conftest$ac_exeext
30406 if { (ac_try="$ac_link"
30407 case "(($ac_try" in
30408 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30409 *) ac_try_echo
=$ac_try;;
30411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30412 (eval "$ac_link") 2>conftest.er1
30414 grep -v '^ *+' conftest.er1
>conftest.err
30416 cat conftest.err
>&5
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); } && {
30419 test -z "$ac_c_werror_flag" ||
30420 test ! -s conftest.err
30421 } && test -s conftest
$ac_exeext &&
30422 $as_test_x conftest
$ac_exeext; then
30425 echo "$as_me: failed program was:" >&5
30426 sed 's/^/| /' conftest.
$ac_ext >&5
30428 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30429 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30430 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30431 echo $ECHO_N "(cached) $ECHO_C" >&6
30433 ac_check_lib_save_LIBS
=$LIBS
30434 LIBS
="-ldnet $LIBS"
30435 cat >conftest.
$ac_ext <<_ACEOF
30438 cat confdefs.h
>>conftest.
$ac_ext
30439 cat >>conftest.
$ac_ext <<_ACEOF
30440 /* end confdefs.h. */
30442 /* Override any GCC internal prototype to avoid an error.
30443 Use char because int might match the return type of a GCC
30444 builtin and then its argument prototype would still apply. */
30452 return dnet_ntoa ();
30457 rm -f conftest.
$ac_objext conftest
$ac_exeext
30458 if { (ac_try
="$ac_link"
30459 case "(($ac_try" in
30460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30461 *) ac_try_echo=$ac_try;;
30463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30464 (eval "$ac_link") 2>conftest.er1
30466 grep -v '^ *+' conftest.er1 >conftest.err
30468 cat conftest.err >&5
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); } && {
30471 test -z "$ac_c_werror_flag" ||
30472 test ! -s conftest.err
30473 } && test -s conftest$ac_exeext &&
30474 $as_test_x conftest$ac_exeext; then
30475 ac_cv_lib_dnet_dnet_ntoa=yes
30477 echo "$as_me: failed program was:" >&5
30478 sed 's/^/| /' conftest.$ac_ext >&5
30480 ac_cv_lib_dnet_dnet_ntoa=no
30483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30484 conftest$ac_exeext conftest.$ac_ext
30485 LIBS=$ac_check_lib_save_LIBS
30487 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30488 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30489 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30490 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30493 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30494 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30495 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30496 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30497 echo $ECHO_N "(cached) $ECHO_C" >&6
30499 ac_check_lib_save_LIBS=$LIBS
30500 LIBS="-ldnet_stub $LIBS"
30501 cat >conftest.$ac_ext <<_ACEOF
30504 cat confdefs.h >>conftest.$ac_ext
30505 cat >>conftest.$ac_ext <<_ACEOF
30506 /* end confdefs.h. */
30508 /* Override any GCC internal prototype to avoid an error.
30509 Use char because int might match the return type of a GCC
30510 builtin and then its argument prototype would still apply. */
30518 return dnet_ntoa ();
30523 rm -f conftest.$ac_objext conftest$ac_exeext
30524 if { (ac_try="$ac_link"
30525 case "(($ac_try" in
30526 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30527 *) ac_try_echo
=$ac_try;;
30529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30530 (eval "$ac_link") 2>conftest.er1
30532 grep -v '^ *+' conftest.er1
>conftest.err
30534 cat conftest.err
>&5
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); } && {
30537 test -z "$ac_c_werror_flag" ||
30538 test ! -s conftest.err
30539 } && test -s conftest
$ac_exeext &&
30540 $as_test_x conftest
$ac_exeext; then
30541 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30543 echo "$as_me: failed program was:" >&5
30544 sed 's/^/| /' conftest.
$ac_ext >&5
30546 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30549 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30550 conftest
$ac_exeext conftest.
$ac_ext
30551 LIBS
=$ac_check_lib_save_LIBS
30553 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30554 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30555 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30556 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30562 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30563 conftest
$ac_exeext conftest.
$ac_ext
30564 LIBS
="$ac_xsave_LIBS"
30566 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30567 # to get the SysV transport functions.
30568 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30570 # The nsl library prevents programs from opening the X display
30571 # on Irix 5.2, according to T.E. Dickey.
30572 # The functions gethostbyname, getservbyname, and inet_addr are
30573 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30574 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30575 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30576 if test "${ac_cv_func_gethostbyname+set}" = set; then
30577 echo $ECHO_N "(cached) $ECHO_C" >&6
30579 cat >conftest.
$ac_ext <<_ACEOF
30582 cat confdefs.h
>>conftest.
$ac_ext
30583 cat >>conftest.
$ac_ext <<_ACEOF
30584 /* end confdefs.h. */
30585 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30587 #define gethostbyname innocuous_gethostbyname
30589 /* System header to define __stub macros and hopefully few prototypes,
30590 which can conflict with char gethostbyname (); below.
30591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30592 <limits.h> exists even on freestanding compilers. */
30595 # include <limits.h>
30597 # include <assert.h>
30600 #undef gethostbyname
30602 /* Override any GCC internal prototype to avoid an error.
30603 Use char because int might match the return type of a GCC
30604 builtin and then its argument prototype would still apply. */
30608 char gethostbyname ();
30609 /* The GNU C library defines this for functions which it implements
30610 to always fail with ENOSYS. Some functions are actually named
30611 something starting with __ and the normal name is an alias. */
30612 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30619 return gethostbyname ();
30624 rm -f conftest.
$ac_objext conftest
$ac_exeext
30625 if { (ac_try
="$ac_link"
30626 case "(($ac_try" in
30627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30628 *) ac_try_echo=$ac_try;;
30630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30631 (eval "$ac_link") 2>conftest.er1
30633 grep -v '^ *+' conftest.er1 >conftest.err
30635 cat conftest.err >&5
30636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30637 (exit $ac_status); } && {
30638 test -z "$ac_c_werror_flag" ||
30639 test ! -s conftest.err
30640 } && test -s conftest$ac_exeext &&
30641 $as_test_x conftest$ac_exeext; then
30642 ac_cv_func_gethostbyname=yes
30644 echo "$as_me: failed program was:" >&5
30645 sed 's/^/| /' conftest.$ac_ext >&5
30647 ac_cv_func_gethostbyname=no
30650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30651 conftest$ac_exeext conftest.$ac_ext
30653 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30654 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30656 if test $ac_cv_func_gethostbyname = no; then
30657 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30658 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30659 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30660 echo $ECHO_N "(cached) $ECHO_C" >&6
30662 ac_check_lib_save_LIBS=$LIBS
30664 cat >conftest.$ac_ext <<_ACEOF
30667 cat confdefs.h >>conftest.$ac_ext
30668 cat >>conftest.$ac_ext <<_ACEOF
30669 /* end confdefs.h. */
30671 /* Override any GCC internal prototype to avoid an error.
30672 Use char because int might match the return type of a GCC
30673 builtin and then its argument prototype would still apply. */
30677 char gethostbyname ();
30681 return gethostbyname ();
30686 rm -f conftest.$ac_objext conftest$ac_exeext
30687 if { (ac_try="$ac_link"
30688 case "(($ac_try" in
30689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30690 *) ac_try_echo
=$ac_try;;
30692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30693 (eval "$ac_link") 2>conftest.er1
30695 grep -v '^ *+' conftest.er1
>conftest.err
30697 cat conftest.err
>&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); } && {
30700 test -z "$ac_c_werror_flag" ||
30701 test ! -s conftest.err
30702 } && test -s conftest
$ac_exeext &&
30703 $as_test_x conftest
$ac_exeext; then
30704 ac_cv_lib_nsl_gethostbyname
=yes
30706 echo "$as_me: failed program was:" >&5
30707 sed 's/^/| /' conftest.
$ac_ext >&5
30709 ac_cv_lib_nsl_gethostbyname
=no
30712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30713 conftest
$ac_exeext conftest.
$ac_ext
30714 LIBS
=$ac_check_lib_save_LIBS
30716 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30717 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30718 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30719 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30722 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30723 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30724 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30725 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30726 echo $ECHO_N "(cached) $ECHO_C" >&6
30728 ac_check_lib_save_LIBS
=$LIBS
30730 cat >conftest.
$ac_ext <<_ACEOF
30733 cat confdefs.h
>>conftest.
$ac_ext
30734 cat >>conftest.
$ac_ext <<_ACEOF
30735 /* end confdefs.h. */
30737 /* Override any GCC internal prototype to avoid an error.
30738 Use char because int might match the return type of a GCC
30739 builtin and then its argument prototype would still apply. */
30743 char gethostbyname ();
30747 return gethostbyname ();
30752 rm -f conftest.
$ac_objext conftest
$ac_exeext
30753 if { (ac_try
="$ac_link"
30754 case "(($ac_try" in
30755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30756 *) ac_try_echo=$ac_try;;
30758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30759 (eval "$ac_link") 2>conftest.er1
30761 grep -v '^ *+' conftest.er1 >conftest.err
30763 cat conftest.err >&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); } && {
30766 test -z "$ac_c_werror_flag" ||
30767 test ! -s conftest.err
30768 } && test -s conftest$ac_exeext &&
30769 $as_test_x conftest$ac_exeext; then
30770 ac_cv_lib_bsd_gethostbyname=yes
30772 echo "$as_me: failed program was:" >&5
30773 sed 's/^/| /' conftest.$ac_ext >&5
30775 ac_cv_lib_bsd_gethostbyname=no
30778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30779 conftest$ac_exeext conftest.$ac_ext
30780 LIBS=$ac_check_lib_save_LIBS
30782 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30783 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30784 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30785 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30791 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30792 # socket/setsockopt and other routines are undefined under SCO ODT
30793 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30794 # on later versions), says Simon Leinen: it contains gethostby*
30795 # variants that don't use the name server (or something). -lsocket
30796 # must be given before -lnsl if both are needed. We assume that
30797 # if connect needs -lnsl, so does gethostbyname.
30798 { echo "$as_me:$LINENO: checking for connect" >&5
30799 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30800 if test "${ac_cv_func_connect+set}" = set; then
30801 echo $ECHO_N "(cached) $ECHO_C" >&6
30803 cat >conftest.$ac_ext <<_ACEOF
30806 cat confdefs.h >>conftest.$ac_ext
30807 cat >>conftest.$ac_ext <<_ACEOF
30808 /* end confdefs.h. */
30809 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30811 #define connect innocuous_connect
30813 /* System header to define __stub macros and hopefully few prototypes,
30814 which can conflict with char connect (); below.
30815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30816 <limits.h> exists even on freestanding compilers. */
30819 # include <limits.h>
30821 # include <assert.h>
30826 /* Override any GCC internal prototype to avoid an error.
30827 Use char because int might match the return type of a GCC
30828 builtin and then its argument prototype would still apply. */
30833 /* The GNU C library defines this for functions which it implements
30834 to always fail with ENOSYS. Some functions are actually named
30835 something starting with __ and the normal name is an alias. */
30836 #if defined __stub_connect || defined __stub___connect
30848 rm -f conftest.$ac_objext conftest$ac_exeext
30849 if { (ac_try="$ac_link"
30850 case "(($ac_try" in
30851 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30852 *) ac_try_echo
=$ac_try;;
30854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30855 (eval "$ac_link") 2>conftest.er1
30857 grep -v '^ *+' conftest.er1
>conftest.err
30859 cat conftest.err
>&5
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); } && {
30862 test -z "$ac_c_werror_flag" ||
30863 test ! -s conftest.err
30864 } && test -s conftest
$ac_exeext &&
30865 $as_test_x conftest
$ac_exeext; then
30866 ac_cv_func_connect
=yes
30868 echo "$as_me: failed program was:" >&5
30869 sed 's/^/| /' conftest.
$ac_ext >&5
30871 ac_cv_func_connect
=no
30874 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30875 conftest
$ac_exeext conftest.
$ac_ext
30877 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30878 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30880 if test $ac_cv_func_connect = no
; then
30881 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30882 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30883 if test "${ac_cv_lib_socket_connect+set}" = set; then
30884 echo $ECHO_N "(cached) $ECHO_C" >&6
30886 ac_check_lib_save_LIBS
=$LIBS
30887 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30888 cat >conftest.
$ac_ext <<_ACEOF
30891 cat confdefs.h
>>conftest.
$ac_ext
30892 cat >>conftest.
$ac_ext <<_ACEOF
30893 /* end confdefs.h. */
30895 /* Override any GCC internal prototype to avoid an error.
30896 Use char because int might match the return type of a GCC
30897 builtin and then its argument prototype would still apply. */
30910 rm -f conftest.
$ac_objext conftest
$ac_exeext
30911 if { (ac_try
="$ac_link"
30912 case "(($ac_try" in
30913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30914 *) ac_try_echo=$ac_try;;
30916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30917 (eval "$ac_link") 2>conftest.er1
30919 grep -v '^ *+' conftest.er1 >conftest.err
30921 cat conftest.err >&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); } && {
30924 test -z "$ac_c_werror_flag" ||
30925 test ! -s conftest.err
30926 } && test -s conftest$ac_exeext &&
30927 $as_test_x conftest$ac_exeext; then
30928 ac_cv_lib_socket_connect=yes
30930 echo "$as_me: failed program was:" >&5
30931 sed 's/^/| /' conftest.$ac_ext >&5
30933 ac_cv_lib_socket_connect=no
30936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30937 conftest$ac_exeext conftest.$ac_ext
30938 LIBS=$ac_check_lib_save_LIBS
30940 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30941 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30942 if test $ac_cv_lib_socket_connect = yes; then
30943 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30948 # Guillermo Gomez says -lposix is necessary on A/UX.
30949 { echo "$as_me:$LINENO: checking for remove" >&5
30950 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30951 if test "${ac_cv_func_remove+set}" = set; then
30952 echo $ECHO_N "(cached) $ECHO_C" >&6
30954 cat >conftest.$ac_ext <<_ACEOF
30957 cat confdefs.h >>conftest.$ac_ext
30958 cat >>conftest.$ac_ext <<_ACEOF
30959 /* end confdefs.h. */
30960 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30962 #define remove innocuous_remove
30964 /* System header to define __stub macros and hopefully few prototypes,
30965 which can conflict with char remove (); below.
30966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30967 <limits.h> exists even on freestanding compilers. */
30970 # include <limits.h>
30972 # include <assert.h>
30977 /* Override any GCC internal prototype to avoid an error.
30978 Use char because int might match the return type of a GCC
30979 builtin and then its argument prototype would still apply. */
30984 /* The GNU C library defines this for functions which it implements
30985 to always fail with ENOSYS. Some functions are actually named
30986 something starting with __ and the normal name is an alias. */
30987 #if defined __stub_remove || defined __stub___remove
30999 rm -f conftest.$ac_objext conftest$ac_exeext
31000 if { (ac_try="$ac_link"
31001 case "(($ac_try" in
31002 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31003 *) ac_try_echo
=$ac_try;;
31005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31006 (eval "$ac_link") 2>conftest.er1
31008 grep -v '^ *+' conftest.er1
>conftest.err
31010 cat conftest.err
>&5
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); } && {
31013 test -z "$ac_c_werror_flag" ||
31014 test ! -s conftest.err
31015 } && test -s conftest
$ac_exeext &&
31016 $as_test_x conftest
$ac_exeext; then
31017 ac_cv_func_remove
=yes
31019 echo "$as_me: failed program was:" >&5
31020 sed 's/^/| /' conftest.
$ac_ext >&5
31022 ac_cv_func_remove
=no
31025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31026 conftest
$ac_exeext conftest.
$ac_ext
31028 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31029 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31031 if test $ac_cv_func_remove = no
; then
31032 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31033 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31034 if test "${ac_cv_lib_posix_remove+set}" = set; then
31035 echo $ECHO_N "(cached) $ECHO_C" >&6
31037 ac_check_lib_save_LIBS
=$LIBS
31038 LIBS
="-lposix $LIBS"
31039 cat >conftest.
$ac_ext <<_ACEOF
31042 cat confdefs.h
>>conftest.
$ac_ext
31043 cat >>conftest.
$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31046 /* Override any GCC internal prototype to avoid an error.
31047 Use char because int might match the return type of a GCC
31048 builtin and then its argument prototype would still apply. */
31061 rm -f conftest.
$ac_objext conftest
$ac_exeext
31062 if { (ac_try
="$ac_link"
31063 case "(($ac_try" in
31064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31065 *) ac_try_echo=$ac_try;;
31067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31068 (eval "$ac_link") 2>conftest.er1
31070 grep -v '^ *+' conftest.er1 >conftest.err
31072 cat conftest.err >&5
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); } && {
31075 test -z "$ac_c_werror_flag" ||
31076 test ! -s conftest.err
31077 } && test -s conftest$ac_exeext &&
31078 $as_test_x conftest$ac_exeext; then
31079 ac_cv_lib_posix_remove=yes
31081 echo "$as_me: failed program was:" >&5
31082 sed 's/^/| /' conftest.$ac_ext >&5
31084 ac_cv_lib_posix_remove=no
31087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31088 conftest$ac_exeext conftest.$ac_ext
31089 LIBS=$ac_check_lib_save_LIBS
31091 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31092 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31093 if test $ac_cv_lib_posix_remove = yes; then
31094 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31099 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31100 { echo "$as_me:$LINENO: checking for shmat" >&5
31101 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31102 if test "${ac_cv_func_shmat+set}" = set; then
31103 echo $ECHO_N "(cached) $ECHO_C" >&6
31105 cat >conftest.$ac_ext <<_ACEOF
31108 cat confdefs.h >>conftest.$ac_ext
31109 cat >>conftest.$ac_ext <<_ACEOF
31110 /* end confdefs.h. */
31111 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31113 #define shmat innocuous_shmat
31115 /* System header to define __stub macros and hopefully few prototypes,
31116 which can conflict with char shmat (); below.
31117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31118 <limits.h> exists even on freestanding compilers. */
31121 # include <limits.h>
31123 # include <assert.h>
31128 /* Override any GCC internal prototype to avoid an error.
31129 Use char because int might match the return type of a GCC
31130 builtin and then its argument prototype would still apply. */
31135 /* The GNU C library defines this for functions which it implements
31136 to always fail with ENOSYS. Some functions are actually named
31137 something starting with __ and the normal name is an alias. */
31138 #if defined __stub_shmat || defined __stub___shmat
31150 rm -f conftest.$ac_objext conftest$ac_exeext
31151 if { (ac_try="$ac_link"
31152 case "(($ac_try" in
31153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31154 *) ac_try_echo
=$ac_try;;
31156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31157 (eval "$ac_link") 2>conftest.er1
31159 grep -v '^ *+' conftest.er1
>conftest.err
31161 cat conftest.err
>&5
31162 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 $as_test_x conftest
$ac_exeext; then
31168 ac_cv_func_shmat
=yes
31170 echo "$as_me: failed program was:" >&5
31171 sed 's/^/| /' conftest.
$ac_ext >&5
31173 ac_cv_func_shmat
=no
31176 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31177 conftest
$ac_exeext conftest.
$ac_ext
31179 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31180 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31182 if test $ac_cv_func_shmat = no
; then
31183 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31184 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31185 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31186 echo $ECHO_N "(cached) $ECHO_C" >&6
31188 ac_check_lib_save_LIBS
=$LIBS
31190 cat >conftest.
$ac_ext <<_ACEOF
31193 cat confdefs.h
>>conftest.
$ac_ext
31194 cat >>conftest.
$ac_ext <<_ACEOF
31195 /* end confdefs.h. */
31197 /* Override any GCC internal prototype to avoid an error.
31198 Use char because int might match the return type of a GCC
31199 builtin and then its argument prototype would still apply. */
31212 rm -f conftest.
$ac_objext conftest
$ac_exeext
31213 if { (ac_try
="$ac_link"
31214 case "(($ac_try" in
31215 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31216 *) ac_try_echo=$ac_try;;
31218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31219 (eval "$ac_link") 2>conftest.er1
31221 grep -v '^ *+' conftest.er1 >conftest.err
31223 cat conftest.err >&5
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); } && {
31226 test -z "$ac_c_werror_flag" ||
31227 test ! -s conftest.err
31228 } && test -s conftest$ac_exeext &&
31229 $as_test_x conftest$ac_exeext; then
31230 ac_cv_lib_ipc_shmat=yes
31232 echo "$as_me: failed program was:" >&5
31233 sed 's/^/| /' conftest.$ac_ext >&5
31235 ac_cv_lib_ipc_shmat=no
31238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31239 conftest$ac_exeext conftest.$ac_ext
31240 LIBS=$ac_check_lib_save_LIBS
31242 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31243 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31244 if test $ac_cv_lib_ipc_shmat = yes; then
31245 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31251 # Check for libraries that X11R6 Xt/Xaw programs need.
31252 ac_save_LDFLAGS=$LDFLAGS
31253 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31254 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31255 # check for ICE first), but we must link in the order -lSM -lICE or
31256 # we get undefined symbols. So assume we have SM if we have ICE.
31257 # These have to be linked with before -lX11, unlike the other
31258 # libraries we check for below, so use a different variable.
31259 # John Interrante, Karl Berry
31260 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31261 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31262 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31263 echo $ECHO_N "(cached) $ECHO_C" >&6
31265 ac_check_lib_save_LIBS=$LIBS
31266 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31267 cat >conftest.$ac_ext <<_ACEOF
31270 cat confdefs.h >>conftest.$ac_ext
31271 cat >>conftest.$ac_ext <<_ACEOF
31272 /* end confdefs.h. */
31274 /* Override any GCC internal prototype to avoid an error.
31275 Use char because int might match the return type of a GCC
31276 builtin and then its argument prototype would still apply. */
31280 char IceConnectionNumber ();
31284 return IceConnectionNumber ();
31289 rm -f conftest.$ac_objext conftest$ac_exeext
31290 if { (ac_try="$ac_link"
31291 case "(($ac_try" in
31292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31293 *) ac_try_echo
=$ac_try;;
31295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31296 (eval "$ac_link") 2>conftest.er1
31298 grep -v '^ *+' conftest.er1
>conftest.err
31300 cat conftest.err
>&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); } && {
31303 test -z "$ac_c_werror_flag" ||
31304 test ! -s conftest.err
31305 } && test -s conftest
$ac_exeext &&
31306 $as_test_x conftest
$ac_exeext; then
31307 ac_cv_lib_ICE_IceConnectionNumber
=yes
31309 echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.
$ac_ext >&5
31312 ac_cv_lib_ICE_IceConnectionNumber
=no
31315 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31316 conftest
$ac_exeext conftest.
$ac_ext
31317 LIBS
=$ac_check_lib_save_LIBS
31319 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31320 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31321 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31322 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31325 LDFLAGS
=$ac_save_LDFLAGS
31330 if test "$no_x" = "yes"; then
31331 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31332 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31333 { (exit 1); exit 1; }; }
31336 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31337 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31338 AFMINSTALL
=afminstall
31339 COMPILED_X_PROGRAM
=0
31343 if test "$wxUSE_X11" = 1; then
31344 if test "$wxUSE_NANOX" = "yes"; then
31345 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31346 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31347 if test "x$MICROWIN" = x
; then
31348 { echo "$as_me:$LINENO: result: not found" >&5
31349 echo "${ECHO_T}not found" >&6; }
31350 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31351 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31352 { (exit 1); exit 1; }; }
31354 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31355 echo "${ECHO_T}$MICROWIN" >&6; }
31356 cat >>confdefs.h
<<\_ACEOF
31357 #define wxUSE_NANOX 1
31363 if test "$wxUSE_UNICODE" = "yes"; then
31366 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31367 if test -n "$ac_tool_prefix"; then
31368 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31369 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31372 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31373 echo $ECHO_N "(cached) $ECHO_C" >&6
31375 case $PKG_CONFIG in
31377 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31381 for as_dir
in $PATH
31384 test -z "$as_dir" && as_dir
=.
31385 for ac_exec_ext
in '' $ac_executable_extensions; do
31386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31387 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31398 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31399 if test -n "$PKG_CONFIG"; then
31400 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31401 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31403 { echo "$as_me:$LINENO: result: no" >&5
31404 echo "${ECHO_T}no" >&6; }
31409 if test -z "$ac_cv_path_PKG_CONFIG"; then
31410 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31411 # Extract the first word of "pkg-config", so it can be a program name with args.
31412 set dummy pkg
-config; ac_word
=$2
31413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31415 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31416 echo $ECHO_N "(cached) $ECHO_C" >&6
31418 case $ac_pt_PKG_CONFIG in
31420 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31424 for as_dir
in $PATH
31427 test -z "$as_dir" && as_dir
=.
31428 for ac_exec_ext
in '' $ac_executable_extensions; do
31429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31430 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31441 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31442 if test -n "$ac_pt_PKG_CONFIG"; then
31443 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31444 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31446 { echo "$as_me:$LINENO: result: no" >&5
31447 echo "${ECHO_T}no" >&6; }
31450 if test "x$ac_pt_PKG_CONFIG" = x
; then
31453 case $cross_compiling:$ac_tool_warned in
31455 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31456 whose name does not start with the host triplet. If you think this
31457 configuration is useful to you, please write to autoconf@gnu.org." >&5
31458 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31459 whose name does not start with the host triplet. If you think this
31460 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31461 ac_tool_warned
=yes ;;
31463 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31466 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31470 if test -n "$PKG_CONFIG"; then
31471 _pkg_min_version
=0.9.0
31472 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31473 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31474 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31475 { echo "$as_me:$LINENO: result: yes" >&5
31476 echo "${ECHO_T}yes" >&6; }
31478 { echo "$as_me:$LINENO: result: no" >&5
31479 echo "${ECHO_T}no" >&6; }
31487 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31488 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31490 if test -n "$PKG_CONFIG"; then
31491 if test -n "$PANGOX_CFLAGS"; then
31492 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31494 if test -n "$PKG_CONFIG" && \
31495 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31496 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); }; then
31500 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31508 if test -n "$PKG_CONFIG"; then
31509 if test -n "$PANGOX_LIBS"; then
31510 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31512 if test -n "$PKG_CONFIG" && \
31513 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31514 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31517 (exit $ac_status); }; then
31518 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31529 if test $pkg_failed = yes; then
31531 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31532 _pkg_short_errors_supported
=yes
31534 _pkg_short_errors_supported
=no
31536 if test $_pkg_short_errors_supported = yes; then
31537 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31539 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31541 # Put the nasty error message in config.log where it belongs
31542 echo "$PANGOX_PKG_ERRORS" >&5
31545 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31546 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31547 { (exit 1); exit 1; }; }
31550 elif test $pkg_failed = untried
; then
31552 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31553 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31554 { (exit 1); exit 1; }; }
31558 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31559 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31560 { echo "$as_me:$LINENO: result: yes" >&5
31561 echo "${ECHO_T}yes" >&6; }
31563 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31564 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31565 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31570 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31571 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31573 if test -n "$PKG_CONFIG"; then
31574 if test -n "$PANGOFT2_CFLAGS"; then
31575 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31577 if test -n "$PKG_CONFIG" && \
31578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31579 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582 (exit $ac_status); }; then
31583 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31591 if test -n "$PKG_CONFIG"; then
31592 if test -n "$PANGOFT2_LIBS"; then
31593 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31595 if test -n "$PKG_CONFIG" && \
31596 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31597 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31600 (exit $ac_status); }; then
31601 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31612 if test $pkg_failed = yes; then
31614 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31615 _pkg_short_errors_supported
=yes
31617 _pkg_short_errors_supported
=no
31619 if test $_pkg_short_errors_supported = yes; then
31620 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31622 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31624 # Put the nasty error message in config.log where it belongs
31625 echo "$PANGOFT2_PKG_ERRORS" >&5
31628 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31629 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31630 wxUSE_PRINTING_ARCHITECTURE
="no"
31633 elif test $pkg_failed = untried
; then
31635 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31636 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31637 wxUSE_PRINTING_ARCHITECTURE
="no"
31641 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31642 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31643 { echo "$as_me:$LINENO: result: yes" >&5
31644 echo "${ECHO_T}yes" >&6; }
31646 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31647 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31648 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31653 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31654 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31656 if test -n "$PKG_CONFIG"; then
31657 if test -n "$PANGOXFT_CFLAGS"; then
31658 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31660 if test -n "$PKG_CONFIG" && \
31661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31662 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; then
31666 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31674 if test -n "$PKG_CONFIG"; then
31675 if test -n "$PANGOXFT_LIBS"; then
31676 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31678 if test -n "$PKG_CONFIG" && \
31679 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31680 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); }; then
31684 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31695 if test $pkg_failed = yes; then
31697 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31698 _pkg_short_errors_supported
=yes
31700 _pkg_short_errors_supported
=no
31702 if test $_pkg_short_errors_supported = yes; then
31703 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31705 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31707 # Put the nasty error message in config.log where it belongs
31708 echo "$PANGOXFT_PKG_ERRORS" >&5
31711 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31712 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31715 elif test $pkg_failed = untried
; then
31717 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31718 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31722 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31723 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31724 { echo "$as_me:$LINENO: result: yes" >&5
31725 echo "${ECHO_T}yes" >&6; }
31727 cat >>confdefs.h
<<\_ACEOF
31728 #define HAVE_PANGO_XFT 1
31731 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31732 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31733 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31737 LIBS
="$LIBS $PANGOX_LIBS"
31739 for ac_func
in pango_font_family_is_monospace
31741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31742 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31744 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31745 echo $ECHO_N "(cached) $ECHO_C" >&6
31747 cat >conftest.
$ac_ext <<_ACEOF
31750 cat confdefs.h
>>conftest.
$ac_ext
31751 cat >>conftest.
$ac_ext <<_ACEOF
31752 /* end confdefs.h. */
31753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31755 #define $ac_func innocuous_$ac_func
31757 /* System header to define __stub macros and hopefully few prototypes,
31758 which can conflict with char $ac_func (); below.
31759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31760 <limits.h> exists even on freestanding compilers. */
31763 # include <limits.h>
31765 # include <assert.h>
31770 /* Override any GCC internal prototype to avoid an error.
31771 Use char because int might match the return type of a GCC
31772 builtin and then its argument prototype would still apply. */
31777 /* The GNU C library defines this for functions which it implements
31778 to always fail with ENOSYS. Some functions are actually named
31779 something starting with __ and the normal name is an alias. */
31780 #if defined __stub_$ac_func || defined __stub___$ac_func
31787 return $ac_func ();
31792 rm -f conftest.
$ac_objext conftest
$ac_exeext
31793 if { (ac_try
="$ac_link"
31794 case "(($ac_try" in
31795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31796 *) ac_try_echo=$ac_try;;
31798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31799 (eval "$ac_link") 2>conftest.er1
31801 grep -v '^ *+' conftest.er1 >conftest.err
31803 cat conftest.err >&5
31804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31805 (exit $ac_status); } && {
31806 test -z "$ac_c_werror_flag" ||
31807 test ! -s conftest.err
31808 } && test -s conftest$ac_exeext &&
31809 $as_test_x conftest$ac_exeext; then
31810 eval "$as_ac_var=yes"
31812 echo "$as_me: failed program was:" >&5
31813 sed 's/^/| /' conftest.$ac_ext >&5
31815 eval "$as_ac_var=no"
31818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31819 conftest$ac_exeext conftest.$ac_ext
31821 ac_res=`eval echo '${'$as_ac_var'}'`
31822 { echo "$as_me:$LINENO: result: $ac_res" >&5
31823 echo "${ECHO_T}$ac_res" >&6; }
31824 if test `eval echo '${'$as_ac_var'}'` = yes; then
31825 cat >>confdefs.h <<_ACEOF
31826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31835 wxUSE_UNIVERSAL="yes"
31837 if test "$wxUSE_NANOX" = "yes"; then
31838 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31839 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"
31840 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31842 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31849 if test "$wxUSE_MOTIF" = 1; then
31850 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31851 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31854 for ac_dir in $SEARCH_INCLUDE /usr/include;
31856 if test -f "$ac_dir/Xm/Xm.h"; then
31857 ac_find_includes=$ac_dir
31862 if test "$ac_find_includes" != "" ; then
31863 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31864 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31866 if test "x$ac_find_includes" = "x/usr/include"; then
31867 ac_path_to_include=""
31869 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31871 if test $result = 0; then
31872 ac_path_to_include=""
31874 ac_path_to_include=" -I$ac_find_includes"
31878 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31880 save_CFLAGS=$CFLAGS
31881 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31883 cat >conftest.$ac_ext <<_ACEOF
31886 cat confdefs.h >>conftest.$ac_ext
31887 cat >>conftest.$ac_ext <<_ACEOF
31888 /* end confdefs.h. */
31897 version = xmUseVersion;
31903 rm -f conftest.$ac_objext
31904 if { (ac_try="$ac_compile"
31905 case "(($ac_try" in
31906 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31907 *) ac_try_echo
=$ac_try;;
31909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31910 (eval "$ac_compile") 2>conftest.er1
31912 grep -v '^ *+' conftest.er1
>conftest.err
31914 cat conftest.err
>&5
31915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916 (exit $ac_status); } && {
31917 test -z "$ac_c_werror_flag" ||
31918 test ! -s conftest.err
31919 } && test -s conftest.
$ac_objext; then
31921 { echo "$as_me:$LINENO: result: found in default search path" >&5
31922 echo "${ECHO_T}found in default search path" >&6; }
31923 COMPILED_X_PROGRAM
=1
31926 echo "$as_me: failed program was:" >&5
31927 sed 's/^/| /' conftest.
$ac_ext >&5
31930 { echo "$as_me:$LINENO: result: no" >&5
31931 echo "${ECHO_T}no" >&6; }
31932 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31933 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31934 { (exit 1); exit 1; }; }
31939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31941 CFLAGS
=$save_CFLAGS
31945 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31946 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31949 for ac_dir
in $SEARCH_LIB;
31951 for ac_extension
in a so sl dylib dll.a
; do
31952 if test -f "$ac_dir/libXm.$ac_extension"; then
31953 ac_find_libraries
=$ac_dir
31960 if test "x$ac_find_libraries" != "x" ; then
31961 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31962 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31965 if test "$ac_find_libraries" = "default location"; then
31968 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31970 if test $result = 0; then
31973 ac_path_to_link
=" -L$ac_find_libraries"
31977 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31979 save_CFLAGS
=$CFLAGS
31980 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31982 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31984 cat >conftest.
$ac_ext <<_ACEOF
31987 cat confdefs.h
>>conftest.
$ac_ext
31988 cat >>conftest.
$ac_ext <<_ACEOF
31989 /* end confdefs.h. */
31998 version = xmUseVersion;
32004 rm -f conftest.
$ac_objext conftest
$ac_exeext
32005 if { (ac_try
="$ac_link"
32006 case "(($ac_try" in
32007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32008 *) ac_try_echo=$ac_try;;
32010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32011 (eval "$ac_link") 2>conftest.er1
32013 grep -v '^ *+' conftest.er1 >conftest.err
32015 cat conftest.err >&5
32016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32017 (exit $ac_status); } && {
32018 test -z "$ac_c_werror_flag" ||
32019 test ! -s conftest.err
32020 } && test -s conftest$ac_exeext &&
32021 $as_test_x conftest$ac_exeext; then
32023 { echo "$as_me:$LINENO: result: found in default search path" >&5
32024 echo "${ECHO_T}found in default search path" >&6; }
32025 COMPILED_X_PROGRAM=1
32028 echo "$as_me: failed program was:" >&5
32029 sed 's/^/| /' conftest.$ac_ext >&5
32032 { echo "$as_me:$LINENO: result: no" >&5
32033 echo "${ECHO_T}no" >&6; }
32034 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32035 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32036 { (exit 1); exit 1; }; }
32041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32042 conftest$ac_exeext conftest.$ac_ext
32044 CFLAGS=$save_CFLAGS
32048 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32049 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32053 for libp in "" " -lXp"; do
32054 if test "$libs_found" = 0; then
32055 for libsm_ice in "" " -lSM -lICE"; do
32056 if test "$libs_found" = 0; then
32058 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32059 save_CFLAGS=$CFLAGS
32060 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32062 cat >conftest.$ac_ext <<_ACEOF
32065 cat confdefs.h >>conftest.$ac_ext
32066 cat >>conftest.$ac_ext <<_ACEOF
32067 /* end confdefs.h. */
32070 #include <Xm/List.h>
32076 XmString string = NULL;
32079 XmListAddItem(w, string, position);
32085 rm -f conftest.$ac_objext conftest$ac_exeext
32086 if { (ac_try="$ac_link"
32087 case "(($ac_try" in
32088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32089 *) ac_try_echo
=$ac_try;;
32091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32092 (eval "$ac_link") 2>conftest.er1
32094 grep -v '^ *+' conftest.er1
>conftest.err
32096 cat conftest.err
>&5
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); } && {
32099 test -z "$ac_c_werror_flag" ||
32100 test ! -s conftest.err
32101 } && test -s conftest
$ac_exeext &&
32102 $as_test_x conftest
$ac_exeext; then
32105 libsm_ice_link
="$libsm_ice"
32106 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32107 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32111 echo "$as_me: failed program was:" >&5
32112 sed 's/^/| /' conftest.
$ac_ext >&5
32118 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32119 conftest
$ac_exeext conftest.
$ac_ext
32122 CFLAGS
=$save_CFLAGS
32128 if test "$libs_found" = 0; then
32129 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32130 echo "${ECHO_T}can't find the right libraries" >&6; }
32131 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32132 echo "$as_me: error: can't link a simple motif program" >&2;}
32133 { (exit 1); exit 1; }; }
32136 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32137 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32138 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32139 echo $ECHO_N "(cached) $ECHO_C" >&6
32141 ac_check_lib_save_LIBS
=$LIBS
32143 cat >conftest.
$ac_ext <<_ACEOF
32146 cat confdefs.h
>>conftest.
$ac_ext
32147 cat >>conftest.
$ac_ext <<_ACEOF
32148 /* end confdefs.h. */
32150 /* Override any GCC internal prototype to avoid an error.
32151 Use char because int might match the return type of a GCC
32152 builtin and then its argument prototype would still apply. */
32156 char SgCreateList ();
32160 return SgCreateList ();
32165 rm -f conftest.
$ac_objext conftest
$ac_exeext
32166 if { (ac_try
="$ac_link"
32167 case "(($ac_try" in
32168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32169 *) ac_try_echo=$ac_try;;
32171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32172 (eval "$ac_link") 2>conftest.er1
32174 grep -v '^ *+' conftest.er1 >conftest.err
32176 cat conftest.err >&5
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); } && {
32179 test -z "$ac_c_werror_flag" ||
32180 test ! -s conftest.err
32181 } && test -s conftest$ac_exeext &&
32182 $as_test_x conftest$ac_exeext; then
32183 ac_cv_lib_Sgm_SgCreateList=yes
32185 echo "$as_me: failed program was:" >&5
32186 sed 's/^/| /' conftest.$ac_ext >&5
32188 ac_cv_lib_Sgm_SgCreateList=no
32191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32192 conftest$ac_exeext conftest.$ac_ext
32193 LIBS=$ac_check_lib_save_LIBS
32195 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32196 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32197 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32198 libsgm_link=" -lSgm"
32202 save_CFLAGS=$CFLAGS
32203 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32205 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32206 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32207 if test "${wx_cv_lib_motif2+set}" = set; then
32208 echo $ECHO_N "(cached) $ECHO_C" >&6
32210 cat >conftest.$ac_ext <<_ACEOF
32213 cat confdefs.h >>conftest.$ac_ext
32214 cat >>conftest.$ac_ext <<_ACEOF
32215 /* end confdefs.h. */
32223 #if XmVersion < 2000
32231 rm -f conftest.$ac_objext
32232 if { (ac_try="$ac_compile"
32233 case "(($ac_try" in
32234 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32235 *) ac_try_echo
=$ac_try;;
32237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32238 (eval "$ac_compile") 2>conftest.er1
32240 grep -v '^ *+' conftest.er1
>conftest.err
32242 cat conftest.err
>&5
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); } && {
32245 test -z "$ac_c_werror_flag" ||
32246 test ! -s conftest.err
32247 } && test -s conftest.
$ac_objext; then
32248 wx_cv_lib_motif2
="yes"
32250 echo "$as_me: failed program was:" >&5
32251 sed 's/^/| /' conftest.
$ac_ext >&5
32253 wx_cv_lib_motif2
="no"
32256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32258 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32259 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32260 if test "$wx_cv_lib_motif2" = "yes"; then
32261 cat >>confdefs.h
<<\_ACEOF
32262 #define __WXMOTIF20__ 1
32266 cat >>confdefs.h
<<\_ACEOF
32267 #define __WXMOTIF20__ 0
32272 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32273 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32274 if test "${wx_cv_lib_lesstif+set}" = set; then
32275 echo $ECHO_N "(cached) $ECHO_C" >&6
32277 cat >conftest.
$ac_ext <<_ACEOF
32280 cat confdefs.h
>>conftest.
$ac_ext
32281 cat >>conftest.
$ac_ext <<_ACEOF
32282 /* end confdefs.h. */
32290 #if !defined(LesstifVersion) || LesstifVersion <= 0
32298 rm -f conftest.
$ac_objext
32299 if { (ac_try
="$ac_compile"
32300 case "(($ac_try" in
32301 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32302 *) ac_try_echo=$ac_try;;
32304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32305 (eval "$ac_compile") 2>conftest.er1
32307 grep -v '^ *+' conftest.er1 >conftest.err
32309 cat conftest.err >&5
32310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32311 (exit $ac_status); } && {
32312 test -z "$ac_c_werror_flag" ||
32313 test ! -s conftest.err
32314 } && test -s conftest.$ac_objext; then
32315 wx_cv_lib_lesstif="yes"
32317 echo "$as_me: failed program was:" >&5
32318 sed 's/^/| /' conftest.$ac_ext >&5
32320 wx_cv_lib_lesstif="no"
32323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32326 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32327 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32328 if test "$wx_cv_lib_lesstif" = "yes"; then
32329 cat >>confdefs.h <<\_ACEOF
32330 #define __WXLESSTIF__ 1
32334 cat >>confdefs.h <<\_ACEOF
32335 #define __WXLESSTIF__ 0
32340 CFLAGS=$save_CFLAGS
32342 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32347 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32348 if test "$wxUSE_LIBXPM" = "sys"; then
32349 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32350 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32353 for ac_dir in $SEARCH_LIB;
32355 for ac_extension in a so sl dylib dll.a; do
32356 if test -f "$ac_dir/libXpm.$ac_extension"; then
32357 ac_find_libraries=$ac_dir
32363 if test "$ac_find_libraries" != "" ; then
32365 if test "$ac_find_libraries" = "default location"; then
32368 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32370 if test $result = 0; then
32373 ac_path_to_link=" -L$ac_find_libraries"
32377 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32378 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32379 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32381 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32382 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32383 if test "${wx_cv_x11_xpm_h+set}" = set; then
32384 echo $ECHO_N "(cached) $ECHO_C" >&6
32387 save_CFLAGS=$CFLAGS
32388 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32390 cat >conftest.$ac_ext <<_ACEOF
32393 cat confdefs.h >>conftest.$ac_ext
32394 cat >>conftest.$ac_ext <<_ACEOF
32395 /* end confdefs.h. */
32397 #include <X11/xpm.h>
32404 version = XpmLibraryVersion();
32410 rm -f conftest.$ac_objext
32411 if { (ac_try="$ac_compile"
32412 case "(($ac_try" in
32413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32414 *) ac_try_echo
=$ac_try;;
32416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32417 (eval "$ac_compile") 2>conftest.er1
32419 grep -v '^ *+' conftest.er1
>conftest.err
32421 cat conftest.err
>&5
32422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 (exit $ac_status); } && {
32424 test -z "$ac_c_werror_flag" ||
32425 test ! -s conftest.err
32426 } && test -s conftest.
$ac_objext; then
32427 wx_cv_x11_xpm_h
=yes
32429 echo "$as_me: failed program was:" >&5
32430 sed 's/^/| /' conftest.
$ac_ext >&5
32436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32438 CFLAGS
=$save_CFLAGS
32442 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32443 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32445 if test $wx_cv_x11_xpm_h = "yes"; then
32446 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32447 cat >>confdefs.h
<<\_ACEOF
32448 #define wxHAVE_LIB_XPM 1
32452 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32453 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32459 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32460 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32461 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32462 echo $ECHO_N "(cached) $ECHO_C" >&6
32464 ac_check_lib_save_LIBS
=$LIBS
32465 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32466 cat >conftest.
$ac_ext <<_ACEOF
32469 cat confdefs.h
>>conftest.
$ac_ext
32470 cat >>conftest.
$ac_ext <<_ACEOF
32471 /* end confdefs.h. */
32473 /* Override any GCC internal prototype to avoid an error.
32474 Use char because int might match the return type of a GCC
32475 builtin and then its argument prototype would still apply. */
32479 char XShapeQueryExtension ();
32483 return XShapeQueryExtension ();
32488 rm -f conftest.
$ac_objext conftest
$ac_exeext
32489 if { (ac_try
="$ac_link"
32490 case "(($ac_try" in
32491 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32492 *) ac_try_echo=$ac_try;;
32494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32495 (eval "$ac_link") 2>conftest.er1
32497 grep -v '^ *+' conftest.er1 >conftest.err
32499 cat conftest.err >&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); } && {
32502 test -z "$ac_c_werror_flag" ||
32503 test ! -s conftest.err
32504 } && test -s conftest$ac_exeext &&
32505 $as_test_x conftest$ac_exeext; then
32506 ac_cv_lib_Xext_XShapeQueryExtension=yes
32508 echo "$as_me: failed program was:" >&5
32509 sed 's/^/| /' conftest.$ac_ext >&5
32511 ac_cv_lib_Xext_XShapeQueryExtension=no
32514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32515 conftest$ac_exeext conftest.$ac_ext
32516 LIBS=$ac_check_lib_save_LIBS
32518 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32519 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32520 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32522 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32528 if test "$wxHAVE_XEXT_LIB" = 1; then
32529 save_CFLAGS="$CFLAGS"
32530 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32532 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32533 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32534 cat >conftest.$ac_ext <<_ACEOF
32537 cat confdefs.h >>conftest.$ac_ext
32538 cat >>conftest.$ac_ext <<_ACEOF
32539 /* end confdefs.h. */
32541 #include <X11/Xlib.h>
32542 #include <X11/extensions/shape.h>
32548 int dummy1, dummy2;
32549 XShapeQueryExtension((Display*)NULL,
32550 (int*)NULL, (int*)NULL);
32556 rm -f conftest.$ac_objext
32557 if { (ac_try="$ac_compile"
32558 case "(($ac_try" in
32559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32560 *) ac_try_echo
=$ac_try;;
32562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32563 (eval "$ac_compile") 2>conftest.er1
32565 grep -v '^ *+' conftest.er1
>conftest.err
32567 cat conftest.err
>&5
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); } && {
32570 test -z "$ac_c_werror_flag" ||
32571 test ! -s conftest.err
32572 } && test -s conftest.
$ac_objext; then
32574 cat >>confdefs.h
<<\_ACEOF
32575 #define HAVE_XSHAPE 1
32578 { echo "$as_me:$LINENO: result: found" >&5
32579 echo "${ECHO_T}found" >&6; }
32582 echo "$as_me: failed program was:" >&5
32583 sed 's/^/| /' conftest.
$ac_ext >&5
32586 { echo "$as_me:$LINENO: result: not found" >&5
32587 echo "${ECHO_T}not found" >&6; }
32591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32592 CFLAGS
="$save_CFLAGS"
32597 if test "$wxUSE_OSX_CARBON" = 1; then
32598 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32599 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32600 if test "$GCC" = yes; then
32601 { echo "$as_me:$LINENO: result: gcc" >&5
32602 echo "${ECHO_T}gcc" >&6; }
32603 CPPFLAGS_PASCAL
="-fpascal-strings"
32604 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32605 { echo "$as_me:$LINENO: result: xlc" >&5
32606 echo "${ECHO_T}xlc" >&6; }
32607 CPPFLAGS_PASCAL
="-qmacpstr"
32609 { echo "$as_me:$LINENO: result: none" >&5
32610 echo "${ECHO_T}none" >&6; }
32613 if test "x$wxUSE_UNIX" = "xyes"; then
32614 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32616 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32620 GUIDIST
=OSX_CARBON_DIST
32621 WXBASEPORT
="_carbon"
32624 if test "$wxUSE_OSX_COCOA" = 1; then
32626 GUIDIST
=OSX_COCOA_DIST
32629 if test "$wxUSE_COCOA" = 1; then
32634 if test "$wxUSE_PM" = 1; then
32637 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32638 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32639 if test "${wx_cv_spbcdata+set}" = set; then
32640 echo $ECHO_N "(cached) $ECHO_C" >&6
32643 cat >conftest.
$ac_ext <<_ACEOF
32646 cat confdefs.h
>>conftest.
$ac_ext
32647 cat >>conftest.
$ac_ext <<_ACEOF
32648 /* end confdefs.h. */
32663 rm -f conftest.
$ac_objext
32664 if { (ac_try
="$ac_compile"
32665 case "(($ac_try" in
32666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32667 *) ac_try_echo=$ac_try;;
32669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32670 (eval "$ac_compile") 2>conftest.er1
32672 grep -v '^ *+' conftest.er1 >conftest.err
32674 cat conftest.err >&5
32675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32676 (exit $ac_status); } && {
32677 test -z "$ac_c_werror_flag" ||
32678 test ! -s conftest.err
32679 } && test -s conftest.$ac_objext; then
32682 echo "$as_me: failed program was:" >&5
32683 sed 's/^/| /' conftest.$ac_ext >&5
32689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32693 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32694 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32696 if test $wx_cv_spbcdata = "yes"; then
32697 cat >>confdefs.h <<\_ACEOF
32698 #define HAVE_SPBCDATA 1
32704 if test "$TOOLKIT" = "PM" ; then
32707 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32710 if test "$wxUSE_UNIVERSAL" = "yes"; then
32711 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32715 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32716 DISTDIR="wx\$(TOOLKIT)"
32722 if test "$USE_WIN32" = 1 ; then
32726 GUIDIST="BASE_DIST"
32732 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32733 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32734 wxUSE_UNICODE_UTF8=yes
32735 elif test "$USE_OS2" = 1 ; then
32736 wxUSE_UNICODE_UTF8=yes
32738 wxUSE_UNICODE_UTF8=no
32743 if test "$wxUSE_GUI" = "yes"; then
32744 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32746 for ac_header in X11/Xlib.h
32748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32749 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32751 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32752 echo $ECHO_N "(cached) $ECHO_C" >&6
32754 cat >conftest.$ac_ext <<_ACEOF
32757 cat confdefs.h >>conftest.$ac_ext
32758 cat >>conftest.$ac_ext <<_ACEOF
32759 /* end confdefs.h. */
32762 #include <$ac_header>
32764 rm -f conftest.$ac_objext
32765 if { (ac_try="$ac_compile"
32766 case "(($ac_try" in
32767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32768 *) ac_try_echo
=$ac_try;;
32770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32771 (eval "$ac_compile") 2>conftest.er1
32773 grep -v '^ *+' conftest.er1
>conftest.err
32775 cat conftest.err
>&5
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); } && {
32778 test -z "$ac_c_werror_flag" ||
32779 test ! -s conftest.err
32780 } && test -s conftest.
$ac_objext; then
32781 eval "$as_ac_Header=yes"
32783 echo "$as_me: failed program was:" >&5
32784 sed 's/^/| /' conftest.
$ac_ext >&5
32786 eval "$as_ac_Header=no"
32789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32791 ac_res
=`eval echo '${'$as_ac_Header'}'`
32792 { echo "$as_me:$LINENO: result: $ac_res" >&5
32793 echo "${ECHO_T}$ac_res" >&6; }
32794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32795 cat >>confdefs.h
<<_ACEOF
32796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32804 for ac_header
in X
11/XKBlib.h
32806 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32807 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32809 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32810 echo $ECHO_N "(cached) $ECHO_C" >&6
32812 cat >conftest.
$ac_ext <<_ACEOF
32815 cat confdefs.h
>>conftest.
$ac_ext
32816 cat >>conftest.
$ac_ext <<_ACEOF
32817 /* end confdefs.h. */
32819 #if HAVE_X11_XLIB_H
32820 #include <X11/Xlib.h>
32824 #include <$ac_header>
32826 rm -f conftest.
$ac_objext
32827 if { (ac_try
="$ac_compile"
32828 case "(($ac_try" in
32829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32830 *) ac_try_echo=$ac_try;;
32832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32833 (eval "$ac_compile") 2>conftest.er1
32835 grep -v '^ *+' conftest.er1 >conftest.err
32837 cat conftest.err >&5
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); } && {
32840 test -z "$ac_c_werror_flag" ||
32841 test ! -s conftest.err
32842 } && test -s conftest.$ac_objext; then
32843 eval "$as_ac_Header=yes"
32845 echo "$as_me: failed program was:" >&5
32846 sed 's/^/| /' conftest.$ac_ext >&5
32848 eval "$as_ac_Header=no"
32851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32853 ac_res=`eval echo '${'$as_ac_Header'}'`
32854 { echo "$as_me:$LINENO: result: $ac_res" >&5
32855 echo "${ECHO_T}$ac_res" >&6; }
32856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32857 cat >>confdefs.h <<_ACEOF
32858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32870 if test "$wxUSE_DISPLAY" = "yes"; then
32871 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32872 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32873 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32876 for ac_dir in $SEARCH_LIB;
32878 for ac_extension in a so sl dylib dll.a; do
32879 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32880 ac_find_libraries=$ac_dir
32886 if test "$ac_find_libraries" != "" ; then
32888 if test "$ac_find_libraries" = "default location"; then
32891 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32893 if test $result = 0; then
32896 ac_path_to_link=" -L$ac_find_libraries"
32900 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32901 LDFLAGS="$LDFLAGS $ac_path_to_link"
32903 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32904 { echo "$as_me:$LINENO: result: yes" >&5
32905 echo "${ECHO_T}yes" >&6; }
32907 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32908 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32911 for ac_dir in $SEARCH_LIB;
32913 for ac_extension in a so sl dylib dll.a; do
32914 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32915 ac_find_libraries=$ac_dir
32921 if test "$ac_find_libraries" != "" ; then
32922 { echo "$as_me:$LINENO: result: yes" >&5
32923 echo "${ECHO_T}yes" >&6; }
32925 for ac_header in X11/extensions/xf86vmode.h
32927 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32928 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32930 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32931 echo $ECHO_N "(cached) $ECHO_C" >&6
32933 cat >conftest.$ac_ext <<_ACEOF
32936 cat confdefs.h >>conftest.$ac_ext
32937 cat >>conftest.$ac_ext <<_ACEOF
32938 /* end confdefs.h. */
32940 #if HAVE_X11_XLIB_H
32941 #include <X11/Xlib.h>
32945 #include <$ac_header>
32947 rm -f conftest.$ac_objext
32948 if { (ac_try="$ac_compile"
32949 case "(($ac_try" in
32950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32951 *) ac_try_echo
=$ac_try;;
32953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32954 (eval "$ac_compile") 2>conftest.er1
32956 grep -v '^ *+' conftest.er1
>conftest.err
32958 cat conftest.err
>&5
32959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32960 (exit $ac_status); } && {
32961 test -z "$ac_c_werror_flag" ||
32962 test ! -s conftest.err
32963 } && test -s conftest.
$ac_objext; then
32964 eval "$as_ac_Header=yes"
32966 echo "$as_me: failed program was:" >&5
32967 sed 's/^/| /' conftest.
$ac_ext >&5
32969 eval "$as_ac_Header=no"
32972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32974 ac_res
=`eval echo '${'$as_ac_Header'}'`
32975 { echo "$as_me:$LINENO: result: $ac_res" >&5
32976 echo "${ECHO_T}$ac_res" >&6; }
32977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32978 cat >>confdefs.h
<<_ACEOF
32979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32982 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32989 { echo "$as_me:$LINENO: result: no" >&5
32990 echo "${ECHO_T}no" >&6; }
32994 { echo "$as_me:$LINENO: result: no" >&5
32995 echo "${ECHO_T}no" >&6; }
32996 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32997 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33000 elif test "$wxUSE_MSW" = 1; then
33001 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33002 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33003 if test "${ac_cv_header_ddraw_h+set}" = set; then
33004 echo $ECHO_N "(cached) $ECHO_C" >&6
33006 cat >conftest.
$ac_ext <<_ACEOF
33009 cat confdefs.h
>>conftest.
$ac_ext
33010 cat >>conftest.
$ac_ext <<_ACEOF
33011 /* end confdefs.h. */
33012 #include <windows.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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33023 (eval "$ac_compile") 2>conftest.er1
33025 grep -v '^ *+' conftest.er1 >conftest.err
33027 cat conftest.err >&5
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); } && {
33030 test -z "$ac_c_werror_flag" ||
33031 test ! -s conftest.err
33032 } && test -s conftest.$ac_objext; then
33033 ac_cv_header_ddraw_h=yes
33035 echo "$as_me: failed program was:" >&5
33036 sed 's/^/| /' conftest.$ac_ext >&5
33038 ac_cv_header_ddraw_h=no
33041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33043 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33044 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33050 if test "$wxUSE_DETECT_SM" = "yes"; then
33051 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33052 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33053 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33056 for ac_dir in $SEARCH_LIB;
33058 for ac_extension in a so sl dylib dll.a; do
33059 if test -f "$ac_dir/libSM.$ac_extension"; then
33060 ac_find_libraries=$ac_dir
33066 if test "$ac_find_libraries" != "" ; then
33068 if test "$ac_find_libraries" = "default location"; then
33071 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33073 if test $result = 0; then
33076 ac_path_to_link=" -L$ac_find_libraries"
33080 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33081 LDFLAGS="$LDFLAGS $ac_path_to_link"
33083 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33084 { echo "$as_me:$LINENO: result: yes" >&5
33085 echo "${ECHO_T}yes" >&6; }
33087 { echo "$as_me:$LINENO: result: no" >&5
33088 echo "${ECHO_T}no" >&6; }
33089 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33090 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33091 wxUSE_DETECT_SM="no"
33094 wxUSE_DETECT_SM="no"
33101 if test "$wxUSE_OPENGL" = "yes"; then
33102 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33103 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33104 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33106 elif test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33107 OPENGL_LIBS="-framework OpenGL -framework AGL"
33108 elif test "$wxUSE_MSW" = 1; then
33109 OPENGL_LIBS="-lopengl32 -lglu32"
33111 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33112 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33115 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33117 if test -f "$ac_dir/GL/gl.h"; then
33118 ac_find_includes=$ac_dir
33123 if test "$ac_find_includes" != "" ; then
33124 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33125 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33127 if test "x$ac_find_includes" = "x/usr/include"; then
33128 ac_path_to_include=""
33130 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33132 if test $result = 0; then
33133 ac_path_to_include=""
33135 ac_path_to_include=" -I$ac_find_includes"
33139 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33141 { echo "$as_me:$LINENO: result: not found" >&5
33142 echo "${ECHO_T}not found" >&6; }
33145 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33146 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33147 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33148 echo $ECHO_N "(cached) $ECHO_C" >&6
33150 cat >conftest.$ac_ext <<_ACEOF
33153 cat confdefs.h >>conftest.$ac_ext
33154 cat >>conftest.$ac_ext <<_ACEOF
33155 /* end confdefs.h. */
33160 rm -f conftest.$ac_objext
33161 if { (ac_try="$ac_compile"
33162 case "(($ac_try" in
33163 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33164 *) ac_try_echo
=$ac_try;;
33166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33167 (eval "$ac_compile") 2>conftest.er1
33169 grep -v '^ *+' conftest.er1
>conftest.err
33171 cat conftest.err
>&5
33172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33173 (exit $ac_status); } && {
33174 test -z "$ac_c_werror_flag" ||
33175 test ! -s conftest.err
33176 } && test -s conftest.
$ac_objext; then
33177 ac_cv_header_GL_gl_h
=yes
33179 echo "$as_me: failed program was:" >&5
33180 sed 's/^/| /' conftest.
$ac_ext >&5
33182 ac_cv_header_GL_gl_h
=no
33185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33187 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33188 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33189 if test $ac_cv_header_GL_gl_h = yes; then
33191 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33192 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33193 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33194 echo $ECHO_N "(cached) $ECHO_C" >&6
33196 cat >conftest.
$ac_ext <<_ACEOF
33199 cat confdefs.h
>>conftest.
$ac_ext
33200 cat >>conftest.
$ac_ext <<_ACEOF
33201 /* end confdefs.h. */
33204 #include <GL/glu.h>
33206 rm -f conftest.
$ac_objext
33207 if { (ac_try
="$ac_compile"
33208 case "(($ac_try" in
33209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33210 *) ac_try_echo=$ac_try;;
33212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33213 (eval "$ac_compile") 2>conftest.er1
33215 grep -v '^ *+' conftest.er1 >conftest.err
33217 cat conftest.err >&5
33218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33219 (exit $ac_status); } && {
33220 test -z "$ac_c_werror_flag" ||
33221 test ! -s conftest.err
33222 } && test -s conftest.$ac_objext; then
33223 ac_cv_header_GL_glu_h=yes
33225 echo "$as_me: failed program was:" >&5
33226 sed 's/^/| /' conftest.$ac_ext >&5
33228 ac_cv_header_GL_glu_h=no
33231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33233 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33234 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33235 if test $ac_cv_header_GL_glu_h = yes; then
33239 { echo "$as_me:$LINENO: checking for -lGL" >&5
33240 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33243 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33245 for ac_extension in a so sl dylib dll.a; do
33246 if test -f "$ac_dir/libGL.$ac_extension"; then
33247 ac_find_libraries=$ac_dir
33253 if test "$ac_find_libraries" != "" ; then
33254 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33255 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33258 if test "$ac_find_libraries" = "default location"; then
33261 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33263 if test $result = 0; then
33266 ac_path_to_link=" -L$ac_find_libraries"
33270 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33271 LDFLAGS_GL="$ac_path_to_link"
33274 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33275 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33278 for ac_dir in $SEARCH_LIB;
33280 for ac_extension in a so sl dylib dll.a; do
33281 if test -f "$ac_dir/libGLU.$ac_extension"; then
33282 ac_find_libraries=$ac_dir
33288 if test "$ac_find_libraries" != "" ; then
33290 if test "$ac_find_libraries" = "default location"; then
33293 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33295 if test $result = 0; then
33298 ac_path_to_link=" -L$ac_find_libraries"
33302 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33303 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33304 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33308 OPENGL_LIBS="-lGL -lGLU"
33309 { echo "$as_me:$LINENO: result: yes" >&5
33310 echo "${ECHO_T}yes" >&6; }
33312 { echo "$as_me:$LINENO: result: no" >&5
33313 echo "${ECHO_T}no" >&6; }
33316 { echo "$as_me:$LINENO: result: no" >&5
33317 echo "${ECHO_T}no" >&6; }
33320 if test "$found_gl" != 1; then
33321 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33322 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33325 for ac_dir in $SEARCH_LIB;
33327 for ac_extension in a so sl dylib dll.a; do
33328 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33329 ac_find_libraries=$ac_dir
33335 if test "$ac_find_libraries" != "" ; then
33337 if test "$ac_find_libraries" = "default location"; then
33340 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33342 if test $result = 0; then
33345 ac_path_to_link=" -L$ac_find_libraries"
33349 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33350 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33351 { echo "$as_me:$LINENO: result: yes" >&5
33352 echo "${ECHO_T}yes" >&6; }
33354 { echo "$as_me:$LINENO: result: no" >&5
33355 echo "${ECHO_T}no" >&6; }
33367 if test "x$OPENGL_LIBS" = "x"; then
33368 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33369 echo "$as_me: error: OpenGL libraries not available" >&2;}
33370 { (exit 1); exit 1; }; }
33374 if test "$wxUSE_OPENGL" = "yes"; then
33376 cat >>confdefs.h <<\_ACEOF
33377 #define wxUSE_OPENGL 1
33380 cat >>confdefs.h <<\_ACEOF
33381 #define wxUSE_GLCANVAS 1
33384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33389 if test -n "$TOOLKIT" ; then
33390 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33395 if test "$wxUSE_SHARED" = "yes"; then
33399 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33400 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33405 if test "$wxUSE_SHARED" = "yes"; then
33409 *-*-cygwin* | *-*-mingw* )
33410 wx_cv_version_script=no
33414 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33415 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33416 if test "${wx_cv_version_script+set}" = set; then
33417 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 echo "VER_1 { *; };" >conftest.sym
33421 echo "int main() { return 0; }" >conftest.cpp
33424 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33425 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33427 (eval $ac_try) 2>&5
33429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33430 (exit $ac_status); }; } ; then
33431 if test -s conftest.stderr ; then
33432 wx_cv_version_script=no
33434 wx_cv_version_script=yes
33437 wx_cv_version_script=no
33440 if test $wx_cv_version_script = yes
33442 echo "struct B { virtual ~B() { } }; \
33443 struct D : public B { }; \
33444 void F() { D d; }" > conftest.cpp
33447 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33448 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33450 (eval $ac_try) 2>&5
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); }; } &&
33455 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33456 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458 (eval $ac_try) 2>&5
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; }
33464 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33465 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33467 (eval $ac_try) 2>&5
33469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33470 (exit $ac_status); }; }
33472 wx_cv_version_script=yes
33474 wx_cv_version_script=no
33479 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33480 rm -f conftest1.output conftest2.output conftest3.output
33483 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33484 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33486 if test $wx_cv_version_script = yes ; then
33487 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33493 if test "$wxUSE_VISIBILITY" != "no"; then
33496 if test -n "$GCC"; then
33497 CFLAGS_VISIBILITY="-fvisibility=hidden"
33498 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33499 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33500 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33501 if test "${wx_cv_cc_visibility+set}" = set; then
33502 echo $ECHO_N "(cached) $ECHO_C" >&6
33505 wx_save_CXXFLAGS="$CXXFLAGS"
33506 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33508 ac_cpp='$CXXCPP $CPPFLAGS'
33509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33513 cat >conftest.$ac_ext <<_ACEOF
33516 cat confdefs.h >>conftest.$ac_ext
33517 cat >>conftest.$ac_ext <<_ACEOF
33518 /* end confdefs.h. */
33520 /* we need gcc >= 4.0, older versions with visibility support
33521 didn't have class visibility: */
33522 #if defined(__GNUC__) && __GNUC__ < 4
33523 error this gcc is too old;
33526 /* visibility only makes sense for ELF shared libs: */
33527 #if !defined(__ELF__) && !defined(__APPLE__)
33528 error this platform has no visibility;
33531 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33532 extern __attribute__((__visibility__("default"))) int exportedvar;
33533 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33534 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33535 class __attribute__((__visibility__("default"))) Foo {
33547 rm -f conftest.$ac_objext
33548 if { (ac_try="$ac_compile"
33549 case "(($ac_try" in
33550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33551 *) ac_try_echo
=$ac_try;;
33553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33554 (eval "$ac_compile") 2>conftest.er1
33556 grep -v '^ *+' conftest.er1
>conftest.err
33558 cat conftest.err
>&5
33559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33560 (exit $ac_status); } && {
33561 test -z "$ac_cxx_werror_flag" ||
33562 test ! -s conftest.err
33563 } && test -s conftest.
$ac_objext; then
33564 wx_cv_cc_visibility
=yes
33566 echo "$as_me: failed program was:" >&5
33567 sed 's/^/| /' conftest.
$ac_ext >&5
33569 wx_cv_cc_visibility
=no
33572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33574 ac_cpp
='$CPP $CPPFLAGS'
33575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33579 CXXFLAGS
="$wx_save_CXXFLAGS"
33582 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33583 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33584 if test $wx_cv_cc_visibility = yes; then
33585 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33586 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33587 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33588 echo $ECHO_N "(cached) $ECHO_C" >&6
33591 wx_save_CXXFLAGS
="$CXXFLAGS"
33592 wx_save_LDFLAGS
="$LDFLAGS"
33593 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33594 LDFLAGS
="$LDFLAGS -shared -fPIC"
33596 ac_cpp
='$CXXCPP $CPPFLAGS'
33597 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33598 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33599 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33601 cat >conftest.
$ac_ext <<_ACEOF
33604 cat confdefs.h
>>conftest.
$ac_ext
33605 cat >>conftest.
$ac_ext <<_ACEOF
33606 /* end confdefs.h. */
33614 std::string s("hello");
33621 rm -f conftest.
$ac_objext conftest
$ac_exeext
33622 if { (ac_try
="$ac_link"
33623 case "(($ac_try" in
33624 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33625 *) ac_try_echo=$ac_try;;
33627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33628 (eval "$ac_link") 2>conftest.er1
33630 grep -v '^ *+' conftest.er1 >conftest.err
33632 cat conftest.err >&5
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); } && {
33635 test -z "$ac_cxx_werror_flag" ||
33636 test ! -s conftest.err
33637 } && test -s conftest$ac_exeext &&
33638 $as_test_x conftest$ac_exeext; then
33639 wx_cv_cc_broken_libstdcxx_visibility=no
33641 echo "$as_me: failed program was:" >&5
33642 sed 's/^/| /' conftest.$ac_ext >&5
33644 wx_cv_cc_broken_libstdcxx_visibility=yes
33647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33648 conftest$ac_exeext conftest.$ac_ext
33650 ac_cpp='$CPP $CPPFLAGS'
33651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33655 CXXFLAGS="$wx_save_CXXFLAGS"
33656 LDFLAGS="$wx_save_LDFLAGS"
33659 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33660 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33662 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33663 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33664 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33665 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33666 echo $ECHO_N "(cached) $ECHO_C" >&6
33670 ac_cpp='$CXXCPP $CPPFLAGS'
33671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33675 cat >conftest.$ac_ext <<_ACEOF
33678 cat confdefs.h >>conftest.$ac_ext
33679 cat >>conftest.$ac_ext <<_ACEOF
33680 /* end confdefs.h. */
33682 #pragma GCC visibility push(default)
33684 #pragma GCC visibility pop
33690 std::string s("hello");
33697 rm -f conftest.$ac_objext conftest$ac_exeext
33698 if { (ac_try="$ac_link"
33699 case "(($ac_try" in
33700 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33701 *) ac_try_echo
=$ac_try;;
33703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33704 (eval "$ac_link") 2>conftest.er1
33706 grep -v '^ *+' conftest.er1
>conftest.err
33708 cat conftest.err
>&5
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); } && {
33711 test -z "$ac_cxx_werror_flag" ||
33712 test ! -s conftest.err
33713 } && test -s conftest
$ac_exeext &&
33714 $as_test_x conftest
$ac_exeext; then
33715 wx_cv_cc_visibility_workaround
=no
33717 echo "$as_me: failed program was:" >&5
33718 sed 's/^/| /' conftest.
$ac_ext >&5
33720 wx_cv_cc_visibility_workaround
=yes
33723 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33724 conftest
$ac_exeext conftest.
$ac_ext
33726 ac_cpp
='$CPP $CPPFLAGS'
33727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33734 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33735 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33737 if test $wx_cv_cc_visibility_workaround = no
; then
33738 wx_cv_cc_visibility
=no
33743 if test $wx_cv_cc_visibility = yes; then
33744 cat >>confdefs.h
<<\_ACEOF
33745 #define HAVE_VISIBILITY 1
33748 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33749 cat >>confdefs.h
<<\_ACEOF
33750 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33755 CFLAGS_VISIBILITY
=""
33756 CXXFLAGS_VISIBILITY
=""
33764 if test "x$SUNCXX" = xyes
; then
33765 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33766 WXCONFIG_RPATH
="-R\$libdir"
33769 *-*-linux* | *-*-gnu* )
33770 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33771 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33776 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33778 saveLdflags
="$LDFLAGS"
33779 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33780 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33781 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33782 cat >conftest.
$ac_ext <<_ACEOF
33785 cat confdefs.h
>>conftest.
$ac_ext
33786 cat >>conftest.
$ac_ext <<_ACEOF
33787 /* end confdefs.h. */
33797 rm -f conftest.
$ac_objext conftest
$ac_exeext
33798 if { (ac_try
="$ac_link"
33799 case "(($ac_try" in
33800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33801 *) ac_try_echo=$ac_try;;
33803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33804 (eval "$ac_link") 2>conftest.er1
33806 grep -v '^ *+' conftest.er1 >conftest.err
33808 cat conftest.err >&5
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); } && {
33811 test -z "$ac_c_werror_flag" ||
33812 test ! -s conftest.err
33813 } && test -s conftest$ac_exeext &&
33814 $as_test_x conftest$ac_exeext; then
33816 { echo "$as_me:$LINENO: result: yes" >&5
33817 echo "${ECHO_T}yes" >&6; }
33818 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33819 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33822 echo "$as_me: failed program was:" >&5
33823 sed 's/^/| /' conftest.$ac_ext >&5
33826 { echo "$as_me:$LINENO: result: no" >&5
33827 echo "${ECHO_T}no" >&6; }
33828 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33829 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33830 LDFLAGS="$saveLdflags -Wl,-R,/"
33831 cat >conftest.$ac_ext <<_ACEOF
33834 cat confdefs.h >>conftest.$ac_ext
33835 cat >>conftest.$ac_ext <<_ACEOF
33836 /* end confdefs.h. */
33846 rm -f conftest.$ac_objext conftest$ac_exeext
33847 if { (ac_try="$ac_link"
33848 case "(($ac_try" in
33849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33850 *) ac_try_echo
=$ac_try;;
33852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33853 (eval "$ac_link") 2>conftest.er1
33855 grep -v '^ *+' conftest.er1
>conftest.err
33857 cat conftest.err
>&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); } && {
33860 test -z "$ac_c_werror_flag" ||
33861 test ! -s conftest.err
33862 } && test -s conftest
$ac_exeext &&
33863 $as_test_x conftest
$ac_exeext; then
33865 { echo "$as_me:$LINENO: result: yes" >&5
33866 echo "${ECHO_T}yes" >&6; }
33867 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33868 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33871 echo "$as_me: failed program was:" >&5
33872 sed 's/^/| /' conftest.
$ac_ext >&5
33875 { echo "$as_me:$LINENO: result: no" >&5
33876 echo "${ECHO_T}no" >&6; }
33880 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33881 conftest
$ac_exeext conftest.
$ac_ext
33885 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33886 conftest
$ac_exeext conftest.
$ac_ext
33887 LDFLAGS
="$saveLdflags"
33891 install_name_tool
=`which install_name_tool`
33892 if test "$install_name_tool" -a -x "$install_name_tool"; then
33893 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33894 cat <<EOF >change-install-names
33896 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33897 inst_cmd="install_name_tool "
33898 for i in \${libnames} ; do
33899 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33903 chmod +x change
-install-names
33907 *-*-cygwin* | *-*-mingw32* )
33911 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33912 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33918 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33920 if test $wxUSE_RPATH = "no"; then
33921 SAMPLES_RPATH_FLAG
=''
33922 SAMPLES_RPATH_POSTLINK
=''
33930 config_linkage_component
="-static"
33937 lib_unicode_suffix
=
33939 if test "$wxUSE_UNICODE" = "yes"; then
33940 lib_unicode_suffix
=u
33941 WX_CHARTYPE
="unicode"
33946 WX_DEBUGTYPE
="release"
33948 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33950 WX_DEBUGTYPE
="debug"
33954 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33955 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33958 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33962 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33964 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33966 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33968 if test "$cross_compiling" = "yes"; then
33969 HOST_SUFFIX
="-$host_alias"
33970 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33971 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33974 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33975 if test "${TOOLKIT_DIR}" = "os2"; then
33976 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33978 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33983 if test "$wxUSE_COCOA" = 1; then
33986 ac_cpp
='$CPP $CPPFLAGS'
33987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33993 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33994 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33995 cat >conftest.
$ac_ext <<_ACEOF
33998 cat confdefs.h
>>conftest.
$ac_ext
33999 cat >>conftest.
$ac_ext <<_ACEOF
34000 /* end confdefs.h. */
34001 #include <AppKit/NSEvent.h>
34002 #include <CoreFoundation/CoreFoundation.h>
34012 rm -f conftest.
$ac_objext
34013 if { (ac_try
="$ac_compile"
34014 case "(($ac_try" in
34015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34016 *) ac_try_echo=$ac_try;;
34018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34019 (eval "$ac_compile") 2>conftest.er1
34021 grep -v '^ *+' conftest.er1 >conftest.err
34023 cat conftest.err >&5
34024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34025 (exit $ac_status); } && {
34026 test -z "$ac_c_werror_flag" ||
34027 test ! -s conftest.err
34028 } && test -s conftest.$ac_objext; then
34029 { echo "$as_me:$LINENO: result: no" >&5
34030 echo "${ECHO_T}no" >&6; }
34032 echo "$as_me: failed program was:" >&5
34033 sed 's/^/| /' conftest.$ac_ext >&5
34035 { echo "$as_me:$LINENO: result: yes" >&5
34036 echo "${ECHO_T}yes" >&6; }
34037 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34038 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34039 cat >conftest.$ac_ext <<_ACEOF
34042 cat confdefs.h >>conftest.$ac_ext
34043 cat >>conftest.$ac_ext <<_ACEOF
34044 /* end confdefs.h. */
34045 #define __Point__ 1
34046 #include <AppKit/NSEvent.h>
34047 #include <CoreFoundation/CoreFoundation.h>
34057 rm -f conftest.$ac_objext
34058 if { (ac_try="$ac_compile"
34059 case "(($ac_try" in
34060 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34061 *) ac_try_echo
=$ac_try;;
34063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34064 (eval "$ac_compile") 2>conftest.er1
34066 grep -v '^ *+' conftest.er1
>conftest.err
34068 cat conftest.err
>&5
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); } && {
34071 test -z "$ac_c_werror_flag" ||
34072 test ! -s conftest.err
34073 } && test -s conftest.
$ac_objext; then
34074 { echo "$as_me:$LINENO: result: yes" >&5
34075 echo "${ECHO_T}yes" >&6; }
34076 cat >>confdefs.h
<<\_ACEOF
34077 #define __Point__ 1
34082 echo "$as_me: failed program was:" >&5
34083 sed 's/^/| /' conftest.
$ac_ext >&5
34085 { { echo "$as_me:$LINENO: error: no
34086 See \`config.log' for more details." >&5
34087 echo "$as_me: error: no
34088 See \`config.log' for more details." >&2;}
34089 { (exit 1); exit 1; }; }
34093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34099 ac_cpp
='$CPP $CPPFLAGS'
34100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34107 { echo "$as_me:$LINENO: checking for mode_t" >&5
34108 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34109 if test "${ac_cv_type_mode_t+set}" = set; then
34110 echo $ECHO_N "(cached) $ECHO_C" >&6
34112 cat >conftest.
$ac_ext <<_ACEOF
34115 cat confdefs.h
>>conftest.
$ac_ext
34116 cat >>conftest.
$ac_ext <<_ACEOF
34117 /* end confdefs.h. */
34118 $ac_includes_default
34119 typedef mode_t ac__type_new_;
34123 if ((ac__type_new_ *) 0)
34125 if (sizeof (ac__type_new_))
34131 rm -f conftest.
$ac_objext
34132 if { (ac_try
="$ac_compile"
34133 case "(($ac_try" in
34134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34135 *) ac_try_echo=$ac_try;;
34137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34138 (eval "$ac_compile") 2>conftest.er1
34140 grep -v '^ *+' conftest.er1 >conftest.err
34142 cat conftest.err >&5
34143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144 (exit $ac_status); } && {
34145 test -z "$ac_c_werror_flag" ||
34146 test ! -s conftest.err
34147 } && test -s conftest.$ac_objext; then
34148 ac_cv_type_mode_t=yes
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.$ac_ext >&5
34153 ac_cv_type_mode_t=no
34156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34158 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34159 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34160 if test $ac_cv_type_mode_t = yes; then
34164 cat >>confdefs.h <<_ACEOF
34170 { echo "$as_me:$LINENO: checking for off_t" >&5
34171 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34172 if test "${ac_cv_type_off_t+set}" = set; then
34173 echo $ECHO_N "(cached) $ECHO_C" >&6
34175 cat >conftest.$ac_ext <<_ACEOF
34178 cat confdefs.h >>conftest.$ac_ext
34179 cat >>conftest.$ac_ext <<_ACEOF
34180 /* end confdefs.h. */
34181 $ac_includes_default
34182 typedef off_t ac__type_new_;
34186 if ((ac__type_new_ *) 0)
34188 if (sizeof (ac__type_new_))
34194 rm -f conftest.$ac_objext
34195 if { (ac_try="$ac_compile"
34196 case "(($ac_try" in
34197 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34198 *) ac_try_echo
=$ac_try;;
34200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34201 (eval "$ac_compile") 2>conftest.er1
34203 grep -v '^ *+' conftest.er1
>conftest.err
34205 cat conftest.err
>&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); } && {
34208 test -z "$ac_c_werror_flag" ||
34209 test ! -s conftest.err
34210 } && test -s conftest.
$ac_objext; then
34211 ac_cv_type_off_t
=yes
34213 echo "$as_me: failed program was:" >&5
34214 sed 's/^/| /' conftest.
$ac_ext >&5
34216 ac_cv_type_off_t
=no
34219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34221 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34222 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34223 if test $ac_cv_type_off_t = yes; then
34227 cat >>confdefs.h
<<_ACEOF
34228 #define off_t long int
34233 { echo "$as_me:$LINENO: checking for pid_t" >&5
34234 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34235 if test "${ac_cv_type_pid_t+set}" = set; then
34236 echo $ECHO_N "(cached) $ECHO_C" >&6
34238 cat >conftest.
$ac_ext <<_ACEOF
34241 cat confdefs.h
>>conftest.
$ac_ext
34242 cat >>conftest.
$ac_ext <<_ACEOF
34243 /* end confdefs.h. */
34244 $ac_includes_default
34245 typedef pid_t ac__type_new_;
34249 if ((ac__type_new_ *) 0)
34251 if (sizeof (ac__type_new_))
34257 rm -f conftest.
$ac_objext
34258 if { (ac_try
="$ac_compile"
34259 case "(($ac_try" in
34260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34261 *) ac_try_echo=$ac_try;;
34263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34264 (eval "$ac_compile") 2>conftest.er1
34266 grep -v '^ *+' conftest.er1 >conftest.err
34268 cat conftest.err >&5
34269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270 (exit $ac_status); } && {
34271 test -z "$ac_c_werror_flag" ||
34272 test ! -s conftest.err
34273 } && test -s conftest.$ac_objext; then
34274 ac_cv_type_pid_t=yes
34276 echo "$as_me: failed program was:" >&5
34277 sed 's/^/| /' conftest.$ac_ext >&5
34279 ac_cv_type_pid_t=no
34282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34284 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34285 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34286 if test $ac_cv_type_pid_t = yes; then
34290 cat >>confdefs.h <<_ACEOF
34296 { echo "$as_me:$LINENO: checking for size_t" >&5
34297 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34298 if test "${ac_cv_type_size_t+set}" = set; then
34299 echo $ECHO_N "(cached) $ECHO_C" >&6
34301 cat >conftest.$ac_ext <<_ACEOF
34304 cat confdefs.h >>conftest.$ac_ext
34305 cat >>conftest.$ac_ext <<_ACEOF
34306 /* end confdefs.h. */
34307 $ac_includes_default
34308 typedef size_t ac__type_new_;
34312 if ((ac__type_new_ *) 0)
34314 if (sizeof (ac__type_new_))
34320 rm -f conftest.$ac_objext
34321 if { (ac_try="$ac_compile"
34322 case "(($ac_try" in
34323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34324 *) ac_try_echo
=$ac_try;;
34326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34327 (eval "$ac_compile") 2>conftest.er1
34329 grep -v '^ *+' conftest.er1
>conftest.err
34331 cat conftest.err
>&5
34332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34333 (exit $ac_status); } && {
34334 test -z "$ac_c_werror_flag" ||
34335 test ! -s conftest.err
34336 } && test -s conftest.
$ac_objext; then
34337 ac_cv_type_size_t
=yes
34339 echo "$as_me: failed program was:" >&5
34340 sed 's/^/| /' conftest.
$ac_ext >&5
34342 ac_cv_type_size_t
=no
34345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34347 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34348 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34349 if test $ac_cv_type_size_t = yes; then
34353 cat >>confdefs.h
<<_ACEOF
34354 #define size_t unsigned int
34360 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34361 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34362 if test "${ac_cv_type_ssize_t+set}" = set; then
34363 echo $ECHO_N "(cached) $ECHO_C" >&6
34365 cat >conftest.
$ac_ext <<_ACEOF
34368 cat confdefs.h
>>conftest.
$ac_ext
34369 cat >>conftest.
$ac_ext <<_ACEOF
34370 /* end confdefs.h. */
34371 $ac_includes_default
34372 typedef ssize_t ac__type_new_;
34376 if ((ac__type_new_ *) 0)
34378 if (sizeof (ac__type_new_))
34384 rm -f conftest.
$ac_objext
34385 if { (ac_try
="$ac_compile"
34386 case "(($ac_try" in
34387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34388 *) ac_try_echo=$ac_try;;
34390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34391 (eval "$ac_compile") 2>conftest.er1
34393 grep -v '^ *+' conftest.er1 >conftest.err
34395 cat conftest.err >&5
34396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34397 (exit $ac_status); } && {
34398 test -z "$ac_c_werror_flag" ||
34399 test ! -s conftest.err
34400 } && test -s conftest.$ac_objext; then
34401 ac_cv_type_ssize_t=yes
34403 echo "$as_me: failed program was:" >&5
34404 sed 's/^/| /' conftest.$ac_ext >&5
34406 ac_cv_type_ssize_t=no
34409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34411 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34412 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34413 if test $ac_cv_type_ssize_t = yes; then
34415 cat >>confdefs.h <<_ACEOF
34416 #define HAVE_SSIZE_T 1
34424 ac_cpp='$CXXCPP $CPPFLAGS'
34425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34428 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34429 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34430 if test "${wx_cv_size_t_is_uint+set}" = set; then
34431 echo $ECHO_N "(cached) $ECHO_C" >&6
34434 cat >conftest.$ac_ext <<_ACEOF
34437 cat confdefs.h >>conftest.$ac_ext
34438 cat >>conftest.$ac_ext <<_ACEOF
34439 /* end confdefs.h. */
34440 #include <stddef.h>
34447 struct Foo { void foo(size_t); void foo(unsigned int); };
34455 rm -f conftest.$ac_objext
34456 if { (ac_try="$ac_compile"
34457 case "(($ac_try" in
34458 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34459 *) ac_try_echo
=$ac_try;;
34461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34462 (eval "$ac_compile") 2>conftest.er1
34464 grep -v '^ *+' conftest.er1
>conftest.err
34466 cat conftest.err
>&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); } && {
34469 test -z "$ac_cxx_werror_flag" ||
34470 test ! -s conftest.err
34471 } && test -s conftest.
$ac_objext; then
34472 wx_cv_size_t_is_uint
=no
34474 echo "$as_me: failed program was:" >&5
34475 sed 's/^/| /' conftest.
$ac_ext >&5
34477 wx_cv_size_t_is_uint
=yes
34481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34485 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34486 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34488 if test "$wx_cv_size_t_is_uint" = "yes"; then
34489 cat >>confdefs.h
<<\_ACEOF
34490 #define wxSIZE_T_IS_UINT 1
34494 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34495 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34496 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34497 echo $ECHO_N "(cached) $ECHO_C" >&6
34499 cat >conftest.
$ac_ext <<_ACEOF
34502 cat confdefs.h
>>conftest.
$ac_ext
34503 cat >>conftest.
$ac_ext <<_ACEOF
34504 /* end confdefs.h. */
34505 #include <stddef.h>
34512 struct Foo { void foo(size_t); void foo(unsigned long); };
34520 rm -f conftest.
$ac_objext
34521 if { (ac_try
="$ac_compile"
34522 case "(($ac_try" in
34523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34524 *) ac_try_echo=$ac_try;;
34526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34527 (eval "$ac_compile") 2>conftest.er1
34529 grep -v '^ *+' conftest.er1 >conftest.err
34531 cat conftest.err >&5
34532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34533 (exit $ac_status); } && {
34534 test -z "$ac_cxx_werror_flag" ||
34535 test ! -s conftest.err
34536 } && test -s conftest.$ac_objext; then
34537 wx_cv_size_t_is_ulong=no
34539 echo "$as_me: failed program was:" >&5
34540 sed 's/^/| /' conftest.$ac_ext >&5
34542 wx_cv_size_t_is_ulong=yes
34546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34549 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34550 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34552 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34553 cat >>confdefs.h <<\_ACEOF
34554 #define wxSIZE_T_IS_ULONG 1
34560 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34561 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34562 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34563 echo $ECHO_N "(cached) $ECHO_C" >&6
34565 cat >conftest.$ac_ext <<_ACEOF
34568 cat confdefs.h >>conftest.$ac_ext
34569 cat >>conftest.$ac_ext <<_ACEOF
34570 /* end confdefs.h. */
34578 struct Foo { void foo(wchar_t);
34579 void foo(unsigned short);
34580 void foo(unsigned int);
34581 void foo(unsigned long); };
34589 rm -f conftest.$ac_objext
34590 if { (ac_try="$ac_compile"
34591 case "(($ac_try" in
34592 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34593 *) ac_try_echo
=$ac_try;;
34595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34596 (eval "$ac_compile") 2>conftest.er1
34598 grep -v '^ *+' conftest.er1
>conftest.err
34600 cat conftest.err
>&5
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); } && {
34603 test -z "$ac_cxx_werror_flag" ||
34604 test ! -s conftest.err
34605 } && test -s conftest.
$ac_objext; then
34606 wx_cv_wchar_t_is_separate_type
=yes
34608 echo "$as_me: failed program was:" >&5
34609 sed 's/^/| /' conftest.
$ac_ext >&5
34611 wx_cv_wchar_t_is_separate_type
=no
34615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34618 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34619 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34621 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34622 cat >>confdefs.h
<<\_ACEOF
34623 #define wxWCHAR_T_IS_REAL_TYPE 1
34627 cat >>confdefs.h
<<\_ACEOF
34628 #define wxWCHAR_T_IS_REAL_TYPE 0
34634 ac_cpp
='$CPP $CPPFLAGS'
34635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34640 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34641 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34642 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34643 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 cat >conftest.
$ac_ext <<_ACEOF
34649 cat confdefs.h
>>conftest.
$ac_ext
34650 cat >>conftest.
$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34665 rm -f conftest.
$ac_objext
34666 if { (ac_try
="$ac_compile"
34667 case "(($ac_try" in
34668 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34669 *) ac_try_echo=$ac_try;;
34671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34672 (eval "$ac_compile") 2>conftest.er1
34674 grep -v '^ *+' conftest.er1 >conftest.err
34676 cat conftest.err >&5
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); } && {
34679 test -z "$ac_c_werror_flag" ||
34680 test ! -s conftest.err
34681 } && test -s conftest.$ac_objext; then
34683 wx_cv_struct_pw_gecos=yes
34686 echo "$as_me: failed program was:" >&5
34687 sed 's/^/| /' conftest.$ac_ext >&5
34690 wx_cv_struct_pw_gecos=no
34695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34699 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34700 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34702 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34703 cat >>confdefs.h <<\_ACEOF
34704 #define HAVE_PW_GECOS 1
34710 if test "$wxUSE_WCHAR_T" = "yes"; then
34711 cat >>confdefs.h <<\_ACEOF
34712 #define wxUSE_WCHAR_T 1
34719 for ac_func in wcslen
34721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34724 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34727 cat >conftest.$ac_ext <<_ACEOF
34730 cat confdefs.h >>conftest.$ac_ext
34731 cat >>conftest.$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34735 #define $ac_func innocuous_$ac_func
34737 /* System header to define __stub macros and hopefully few prototypes,
34738 which can conflict with char $ac_func (); below.
34739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34740 <limits.h> exists even on freestanding compilers. */
34743 # include <limits.h>
34745 # include <assert.h>
34750 /* Override any GCC internal prototype to avoid an error.
34751 Use char because int might match the return type of a GCC
34752 builtin and then its argument prototype would still apply. */
34757 /* The GNU C library defines this for functions which it implements
34758 to always fail with ENOSYS. Some functions are actually named
34759 something starting with __ and the normal name is an alias. */
34760 #if defined __stub_$ac_func || defined __stub___$ac_func
34767 return $ac_func ();
34772 rm -f conftest.$ac_objext conftest$ac_exeext
34773 if { (ac_try="$ac_link"
34774 case "(($ac_try" in
34775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34776 *) ac_try_echo
=$ac_try;;
34778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34779 (eval "$ac_link") 2>conftest.er1
34781 grep -v '^ *+' conftest.er1
>conftest.err
34783 cat conftest.err
>&5
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); } && {
34786 test -z "$ac_c_werror_flag" ||
34787 test ! -s conftest.err
34788 } && test -s conftest
$ac_exeext &&
34789 $as_test_x conftest
$ac_exeext; then
34790 eval "$as_ac_var=yes"
34792 echo "$as_me: failed program was:" >&5
34793 sed 's/^/| /' conftest.
$ac_ext >&5
34795 eval "$as_ac_var=no"
34798 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34799 conftest
$ac_exeext conftest.
$ac_ext
34801 ac_res
=`eval echo '${'$as_ac_var'}'`
34802 { echo "$as_me:$LINENO: result: $ac_res" >&5
34803 echo "${ECHO_T}$ac_res" >&6; }
34804 if test `eval echo '${'$as_ac_var'}'` = yes; then
34805 cat >>confdefs.h
<<_ACEOF
34806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34813 if test "$WCSLEN_FOUND" = 0; then
34814 if test "$TOOLKIT" = "MSW"; then
34815 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34816 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34817 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34818 echo $ECHO_N "(cached) $ECHO_C" >&6
34820 ac_check_lib_save_LIBS
=$LIBS
34821 LIBS
="-lmsvcrt $LIBS"
34822 cat >conftest.
$ac_ext <<_ACEOF
34825 cat confdefs.h
>>conftest.
$ac_ext
34826 cat >>conftest.
$ac_ext <<_ACEOF
34827 /* end confdefs.h. */
34829 /* Override any GCC internal prototype to avoid an error.
34830 Use char because int might match the return type of a GCC
34831 builtin and then its argument prototype would still apply. */
34844 rm -f conftest.
$ac_objext conftest
$ac_exeext
34845 if { (ac_try
="$ac_link"
34846 case "(($ac_try" in
34847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34848 *) ac_try_echo=$ac_try;;
34850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34851 (eval "$ac_link") 2>conftest.er1
34853 grep -v '^ *+' conftest.er1 >conftest.err
34855 cat conftest.err >&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); } && {
34858 test -z "$ac_c_werror_flag" ||
34859 test ! -s conftest.err
34860 } && test -s conftest$ac_exeext &&
34861 $as_test_x conftest$ac_exeext; then
34862 ac_cv_lib_msvcrt_wcslen=yes
34864 echo "$as_me: failed program was:" >&5
34865 sed 's/^/| /' conftest.$ac_ext >&5
34867 ac_cv_lib_msvcrt_wcslen=no
34870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34871 conftest$ac_exeext conftest.$ac_ext
34872 LIBS=$ac_check_lib_save_LIBS
34874 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34875 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34876 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34881 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34882 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34883 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34884 echo $ECHO_N "(cached) $ECHO_C" >&6
34886 ac_check_lib_save_LIBS=$LIBS
34888 cat >conftest.$ac_ext <<_ACEOF
34891 cat confdefs.h >>conftest.$ac_ext
34892 cat >>conftest.$ac_ext <<_ACEOF
34893 /* end confdefs.h. */
34895 /* Override any GCC internal prototype to avoid an error.
34896 Use char because int might match the return type of a GCC
34897 builtin and then its argument prototype would still apply. */
34910 rm -f conftest.$ac_objext conftest$ac_exeext
34911 if { (ac_try="$ac_link"
34912 case "(($ac_try" in
34913 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34914 *) ac_try_echo
=$ac_try;;
34916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34917 (eval "$ac_link") 2>conftest.er1
34919 grep -v '^ *+' conftest.er1
>conftest.err
34921 cat conftest.err
>&5
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); } && {
34924 test -z "$ac_c_werror_flag" ||
34925 test ! -s conftest.err
34926 } && test -s conftest
$ac_exeext &&
34927 $as_test_x conftest
$ac_exeext; then
34928 ac_cv_lib_w_wcslen
=yes
34930 echo "$as_me: failed program was:" >&5
34931 sed 's/^/| /' conftest.
$ac_ext >&5
34933 ac_cv_lib_w_wcslen
=no
34936 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34937 conftest
$ac_exeext conftest.
$ac_ext
34938 LIBS
=$ac_check_lib_save_LIBS
34940 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34941 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34942 if test $ac_cv_lib_w_wcslen = yes; then
34952 if test "$WCSLEN_FOUND" = 1; then
34953 cat >>confdefs.h
<<\_ACEOF
34954 #define HAVE_WCSLEN 1
34960 for ac_func
in wcsdup
34962 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34963 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34965 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34968 cat >conftest.
$ac_ext <<_ACEOF
34971 cat confdefs.h
>>conftest.
$ac_ext
34972 cat >>conftest.
$ac_ext <<_ACEOF
34973 /* end confdefs.h. */
34974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34976 #define $ac_func innocuous_$ac_func
34978 /* System header to define __stub macros and hopefully few prototypes,
34979 which can conflict with char $ac_func (); below.
34980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34981 <limits.h> exists even on freestanding compilers. */
34984 # include <limits.h>
34986 # include <assert.h>
34991 /* Override any GCC internal prototype to avoid an error.
34992 Use char because int might match the return type of a GCC
34993 builtin and then its argument prototype would still apply. */
34998 /* The GNU C library defines this for functions which it implements
34999 to always fail with ENOSYS. Some functions are actually named
35000 something starting with __ and the normal name is an alias. */
35001 #if defined __stub_$ac_func || defined __stub___$ac_func
35008 return $ac_func ();
35013 rm -f conftest.
$ac_objext conftest
$ac_exeext
35014 if { (ac_try
="$ac_link"
35015 case "(($ac_try" in
35016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35017 *) ac_try_echo=$ac_try;;
35019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35020 (eval "$ac_link") 2>conftest.er1
35022 grep -v '^ *+' conftest.er1 >conftest.err
35024 cat conftest.err >&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); } && {
35027 test -z "$ac_c_werror_flag" ||
35028 test ! -s conftest.err
35029 } && test -s conftest$ac_exeext &&
35030 $as_test_x conftest$ac_exeext; then
35031 eval "$as_ac_var=yes"
35033 echo "$as_me: failed program was:" >&5
35034 sed 's/^/| /' conftest.$ac_ext >&5
35036 eval "$as_ac_var=no"
35039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35040 conftest$ac_exeext conftest.$ac_ext
35042 ac_res=`eval echo '${'$as_ac_var'}'`
35043 { echo "$as_me:$LINENO: result: $ac_res" >&5
35044 echo "${ECHO_T}$ac_res" >&6; }
35045 if test `eval echo '${'$as_ac_var'}'` = yes; then
35046 cat >>confdefs.h <<_ACEOF
35047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35054 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35055 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35058 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35059 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35060 if test "${ac_cv_type_mbstate_t+set}" = set; then
35061 echo $ECHO_N "(cached) $ECHO_C" >&6
35063 cat >conftest.$ac_ext <<_ACEOF
35066 cat confdefs.h >>conftest.$ac_ext
35067 cat >>conftest.$ac_ext <<_ACEOF
35068 /* end confdefs.h. */
35071 typedef mbstate_t ac__type_new_;
35075 if ((ac__type_new_ *) 0)
35077 if (sizeof (ac__type_new_))
35083 rm -f conftest.$ac_objext
35084 if { (ac_try="$ac_compile"
35085 case "(($ac_try" in
35086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35087 *) ac_try_echo
=$ac_try;;
35089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35090 (eval "$ac_compile") 2>conftest.er1
35092 grep -v '^ *+' conftest.er1
>conftest.err
35094 cat conftest.err
>&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); } && {
35097 test -z "$ac_c_werror_flag" ||
35098 test ! -s conftest.err
35099 } && test -s conftest.
$ac_objext; then
35100 ac_cv_type_mbstate_t
=yes
35102 echo "$as_me: failed program was:" >&5
35103 sed 's/^/| /' conftest.
$ac_ext >&5
35105 ac_cv_type_mbstate_t
=no
35108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35110 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35111 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35112 if test $ac_cv_type_mbstate_t = yes; then
35114 cat >>confdefs.h
<<_ACEOF
35115 #define HAVE_MBSTATE_T 1
35119 for ac_func
in wcsrtombs
35121 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35122 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35124 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35125 echo $ECHO_N "(cached) $ECHO_C" >&6
35127 cat >conftest.
$ac_ext <<_ACEOF
35130 cat confdefs.h
>>conftest.
$ac_ext
35131 cat >>conftest.
$ac_ext <<_ACEOF
35132 /* end confdefs.h. */
35133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35135 #define $ac_func innocuous_$ac_func
35137 /* System header to define __stub macros and hopefully few prototypes,
35138 which can conflict with char $ac_func (); below.
35139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35140 <limits.h> exists even on freestanding compilers. */
35143 # include <limits.h>
35145 # include <assert.h>
35150 /* Override any GCC internal prototype to avoid an error.
35151 Use char because int might match the return type of a GCC
35152 builtin and then its argument prototype would still apply. */
35157 /* The GNU C library defines this for functions which it implements
35158 to always fail with ENOSYS. Some functions are actually named
35159 something starting with __ and the normal name is an alias. */
35160 #if defined __stub_$ac_func || defined __stub___$ac_func
35167 return $ac_func ();
35172 rm -f conftest.
$ac_objext conftest
$ac_exeext
35173 if { (ac_try
="$ac_link"
35174 case "(($ac_try" in
35175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35176 *) ac_try_echo=$ac_try;;
35178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35179 (eval "$ac_link") 2>conftest.er1
35181 grep -v '^ *+' conftest.er1 >conftest.err
35183 cat conftest.err >&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); } && {
35186 test -z "$ac_c_werror_flag" ||
35187 test ! -s conftest.err
35188 } && test -s conftest$ac_exeext &&
35189 $as_test_x conftest$ac_exeext; then
35190 eval "$as_ac_var=yes"
35192 echo "$as_me: failed program was:" >&5
35193 sed 's/^/| /' conftest.$ac_ext >&5
35195 eval "$as_ac_var=no"
35198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35199 conftest$ac_exeext conftest.$ac_ext
35201 ac_res=`eval echo '${'$as_ac_var'}'`
35202 { echo "$as_me:$LINENO: result: $ac_res" >&5
35203 echo "${ECHO_T}$ac_res" >&6; }
35204 if test `eval echo '${'$as_ac_var'}'` = yes; then
35205 cat >>confdefs.h <<_ACEOF
35206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35215 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35216 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35222 for ac_func in snprintf vsnprintf vsscanf
35224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35225 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35227 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35228 echo $ECHO_N "(cached) $ECHO_C" >&6
35230 cat >conftest.$ac_ext <<_ACEOF
35233 cat confdefs.h >>conftest.$ac_ext
35234 cat >>conftest.$ac_ext <<_ACEOF
35235 /* end confdefs.h. */
35236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35238 #define $ac_func innocuous_$ac_func
35240 /* System header to define __stub macros and hopefully few prototypes,
35241 which can conflict with char $ac_func (); below.
35242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35243 <limits.h> exists even on freestanding compilers. */
35246 # include <limits.h>
35248 # include <assert.h>
35253 /* Override any GCC internal prototype to avoid an error.
35254 Use char because int might match the return type of a GCC
35255 builtin and then its argument prototype would still apply. */
35260 /* The GNU C library defines this for functions which it implements
35261 to always fail with ENOSYS. Some functions are actually named
35262 something starting with __ and the normal name is an alias. */
35263 #if defined __stub_$ac_func || defined __stub___$ac_func
35270 return $ac_func ();
35275 rm -f conftest.$ac_objext conftest$ac_exeext
35276 if { (ac_try="$ac_link"
35277 case "(($ac_try" in
35278 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35279 *) ac_try_echo
=$ac_try;;
35281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35282 (eval "$ac_link") 2>conftest.er1
35284 grep -v '^ *+' conftest.er1
>conftest.err
35286 cat conftest.err
>&5
35287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35288 (exit $ac_status); } && {
35289 test -z "$ac_c_werror_flag" ||
35290 test ! -s conftest.err
35291 } && test -s conftest
$ac_exeext &&
35292 $as_test_x conftest
$ac_exeext; then
35293 eval "$as_ac_var=yes"
35295 echo "$as_me: failed program was:" >&5
35296 sed 's/^/| /' conftest.
$ac_ext >&5
35298 eval "$as_ac_var=no"
35301 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35302 conftest
$ac_exeext conftest.
$ac_ext
35304 ac_res
=`eval echo '${'$as_ac_var'}'`
35305 { echo "$as_me:$LINENO: result: $ac_res" >&5
35306 echo "${ECHO_T}$ac_res" >&6; }
35307 if test `eval echo '${'$as_ac_var'}'` = yes; then
35308 cat >>confdefs.h
<<_ACEOF
35309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35317 ac_cpp
='$CXXCPP $CPPFLAGS'
35318 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35319 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35320 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35322 if test "$ac_cv_func_vsnprintf" = "yes"; then
35323 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35324 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35325 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35326 echo $ECHO_N "(cached) $ECHO_C" >&6
35329 cat >conftest.
$ac_ext <<_ACEOF
35332 cat confdefs.h
>>conftest.
$ac_ext
35333 cat >>conftest.
$ac_ext <<_ACEOF
35334 /* end confdefs.h. */
35337 #include <stdarg.h>
35339 #if __MSL__ >= 0x6000
35341 using namespace std;
35351 vsnprintf(buf, 10u, "%s", ap);
35357 rm -f conftest.
$ac_objext
35358 if { (ac_try
="$ac_compile"
35359 case "(($ac_try" in
35360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35361 *) ac_try_echo=$ac_try;;
35363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35364 (eval "$ac_compile") 2>conftest.er1
35366 grep -v '^ *+' conftest.er1 >conftest.err
35368 cat conftest.err >&5
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); } && {
35371 test -z "$ac_cxx_werror_flag" ||
35372 test ! -s conftest.err
35373 } && test -s conftest.$ac_objext; then
35374 wx_cv_func_vsnprintf_decl=yes
35376 echo "$as_me: failed program was:" >&5
35377 sed 's/^/| /' conftest.$ac_ext >&5
35379 wx_cv_func_vsnprintf_decl=no
35383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35387 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35388 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35390 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35391 cat >>confdefs.h <<\_ACEOF
35392 #define HAVE_VSNPRINTF_DECL 1
35396 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35397 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35398 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35399 echo $ECHO_N "(cached) $ECHO_C" >&6
35402 cat >conftest.$ac_ext <<_ACEOF
35405 cat confdefs.h >>conftest.$ac_ext
35406 cat >>conftest.$ac_ext <<_ACEOF
35407 /* end confdefs.h. */
35410 #include <stdarg.h>
35412 #if __MSL__ >= 0x6000
35414 using namespace std;
35424 const char *fmt = "%s";
35425 vsnprintf(buf, 10u, fmt, ap);
35431 rm -f conftest.$ac_objext
35432 if { (ac_try="$ac_compile"
35433 case "(($ac_try" in
35434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35435 *) ac_try_echo
=$ac_try;;
35437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35438 (eval "$ac_compile") 2>conftest.er1
35440 grep -v '^ *+' conftest.er1
>conftest.err
35442 cat conftest.err
>&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); } && {
35445 test -z "$ac_cxx_werror_flag" ||
35446 test ! -s conftest.err
35447 } && test -s conftest.
$ac_objext; then
35448 wx_cv_func_broken_vsnprintf_decl
=no
35450 echo "$as_me: failed program was:" >&5
35451 sed 's/^/| /' conftest.
$ac_ext >&5
35453 wx_cv_func_broken_vsnprintf_decl
=yes
35457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35461 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35462 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35464 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35465 cat >>confdefs.h
<<\_ACEOF
35466 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35473 if test "$ac_cv_func_snprintf" = "yes"; then
35474 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35475 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35476 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35477 echo $ECHO_N "(cached) $ECHO_C" >&6
35480 cat >conftest.
$ac_ext <<_ACEOF
35483 cat confdefs.h
>>conftest.
$ac_ext
35484 cat >>conftest.
$ac_ext <<_ACEOF
35485 /* end confdefs.h. */
35488 #include <stdarg.h>
35490 #if __MSL__ >= 0x6000
35492 using namespace std;
35501 snprintf(buf, 10u, "%s", "wx");
35507 rm -f conftest.
$ac_objext
35508 if { (ac_try
="$ac_compile"
35509 case "(($ac_try" in
35510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35511 *) ac_try_echo=$ac_try;;
35513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35514 (eval "$ac_compile") 2>conftest.er1
35516 grep -v '^ *+' conftest.er1 >conftest.err
35518 cat conftest.err >&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); } && {
35521 test -z "$ac_cxx_werror_flag" ||
35522 test ! -s conftest.err
35523 } && test -s conftest.$ac_objext; then
35524 wx_cv_func_snprintf_decl=yes
35526 echo "$as_me: failed program was:" >&5
35527 sed 's/^/| /' conftest.$ac_ext >&5
35529 wx_cv_func_snprintf_decl=no
35533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35537 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35538 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35540 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35541 cat >>confdefs.h <<\_ACEOF
35542 #define HAVE_SNPRINTF_DECL 1
35547 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35549 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35550 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35551 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35552 echo $ECHO_N "(cached) $ECHO_C" >&6
35555 if test "$cross_compiling" = yes; then
35557 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35558 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35559 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35560 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35561 wx_cv_func_snprintf_pos_params=no
35565 cat >conftest.$ac_ext <<_ACEOF
35568 cat confdefs.h >>conftest.$ac_ext
35569 cat >>conftest.$ac_ext <<_ACEOF
35570 /* end confdefs.h. */
35577 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35578 if (strcmp ("2 3 1", buffer) == 0)
35584 rm -f conftest$ac_exeext
35585 if { (ac_try="$ac_link"
35586 case "(($ac_try" in
35587 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35588 *) ac_try_echo
=$ac_try;;
35590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35591 (eval "$ac_link") 2>&5
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35595 { (case "(($ac_try" in
35596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35597 *) ac_try_echo=$ac_try;;
35599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35600 (eval "$ac_try") 2>&5
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); }; }; then
35604 wx_cv_func_snprintf_pos_params=no
35606 echo "$as_me: program exited with status $ac_status" >&5
35607 echo "$as_me: failed program was:" >&5
35608 sed 's/^/| /' conftest.$ac_ext >&5
35610 ( exit $ac_status )
35611 wx_cv_func_snprintf_pos_params=yes
35613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35620 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35621 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35623 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35624 cat >>confdefs.h <<\_ACEOF
35625 #define HAVE_UNIX98_PRINTF 1
35632 if test "$ac_cv_func_vsscanf" = "yes"; then
35633 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35634 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35635 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35636 echo $ECHO_N "(cached) $ECHO_C" >&6
35639 cat >conftest.$ac_ext <<_ACEOF
35642 cat confdefs.h >>conftest.$ac_ext
35643 cat >>conftest.$ac_ext <<_ACEOF
35644 /* end confdefs.h. */
35647 #include <stdarg.h>
35649 #if __MSL__ >= 0x6000
35651 using namespace std;
35661 vsscanf(buf, "%s", args);
35667 rm -f conftest.$ac_objext
35668 if { (ac_try="$ac_compile"
35669 case "(($ac_try" in
35670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35671 *) ac_try_echo
=$ac_try;;
35673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35674 (eval "$ac_compile") 2>conftest.er1
35676 grep -v '^ *+' conftest.er1
>conftest.err
35678 cat conftest.err
>&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); } && {
35681 test -z "$ac_cxx_werror_flag" ||
35682 test ! -s conftest.err
35683 } && test -s conftest.
$ac_objext; then
35684 wx_cv_func_vsscanf_decl
=yes
35686 echo "$as_me: failed program was:" >&5
35687 sed 's/^/| /' conftest.
$ac_ext >&5
35689 wx_cv_func_vsscanf_decl
=no
35693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35697 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35698 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35700 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35701 cat >>confdefs.h
<<\_ACEOF
35702 #define HAVE_VSSCANF_DECL 1
35708 ac_cpp
='$CPP $CPPFLAGS'
35709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35714 if test "$wxUSE_UNICODE" = yes; then
35716 wchar_headers
="#include <stdio.h>
35717 #include <wchar.h>"
35721 for ac_header
in widec.h
35723 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35724 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35726 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35727 echo $ECHO_N "(cached) $ECHO_C" >&6
35729 cat >conftest.
$ac_ext <<_ACEOF
35732 cat confdefs.h
>>conftest.
$ac_ext
35733 cat >>conftest.
$ac_ext <<_ACEOF
35734 /* end confdefs.h. */
35735 $ac_includes_default
35737 #include <$ac_header>
35739 rm -f conftest.
$ac_objext
35740 if { (ac_try
="$ac_compile"
35741 case "(($ac_try" in
35742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35743 *) ac_try_echo=$ac_try;;
35745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35746 (eval "$ac_compile") 2>conftest.er1
35748 grep -v '^ *+' conftest.er1 >conftest.err
35750 cat conftest.err >&5
35751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752 (exit $ac_status); } && {
35753 test -z "$ac_c_werror_flag" ||
35754 test ! -s conftest.err
35755 } && test -s conftest.$ac_objext; then
35756 eval "$as_ac_Header=yes"
35758 echo "$as_me: failed program was:" >&5
35759 sed 's/^/| /' conftest.$ac_ext >&5
35761 eval "$as_ac_Header=no"
35764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35766 ac_res=`eval echo '${'$as_ac_Header'}'`
35767 { echo "$as_me:$LINENO: result: $ac_res" >&5
35768 echo "${ECHO_T}$ac_res" >&6; }
35769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35770 cat >>confdefs.h <<_ACEOF
35771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35778 if test "$ac_cv_header_widec_h" = "yes"; then
35779 wchar_headers="$wchar_headers
35780 #include <widec.h>"
35785 for wx_func in putws fputws wprintf vswprintf vswscanf
35787 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35788 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35789 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35793 cat >conftest.$ac_ext <<_ACEOF
35797 cat confdefs.h >>conftest.$ac_ext
35798 cat >>conftest.$ac_ext <<_ACEOF
35799 /* end confdefs.h. */
35802 $ac_includes_default
35818 rm -f conftest.$ac_objext conftest$ac_exeext
35819 if { (ac_try="$ac_link"
35820 case "(($ac_try" in
35821 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35822 *) ac_try_echo
=$ac_try;;
35824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35825 (eval "$ac_link") 2>conftest.er1
35827 grep -v '^ *+' conftest.er1
>conftest.err
35829 cat conftest.err
>&5
35830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35831 (exit $ac_status); } && {
35832 test -z "$ac_c_werror_flag" ||
35833 test ! -s conftest.err
35834 } && test -s conftest
$ac_exeext &&
35835 $as_test_x conftest
$ac_exeext; then
35836 eval wx_cv_func_
$wx_func=yes
35838 echo "$as_me: failed program was:" >&5
35839 sed 's/^/| /' conftest.
$ac_ext >&5
35841 eval wx_cv_func_
$wx_func=no
35844 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35845 conftest
$ac_exeext conftest.
$ac_ext
35848 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35849 { echo "$as_me:$LINENO: result: $ac_res" >&5
35850 echo "${ECHO_T}$ac_res" >&6; }
35852 if eval test \
$wx_cv_func_$wx_func = yes
35854 cat >>confdefs.h
<<_ACEOF
35855 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35866 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35867 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35868 cat >conftest.
$ac_ext <<_ACEOF
35871 cat confdefs.h
>>conftest.
$ac_ext
35872 cat >>conftest.
$ac_ext <<_ACEOF
35873 /* end confdefs.h. */
35883 rm -f conftest.
$ac_objext
35884 if { (ac_try
="$ac_compile"
35885 case "(($ac_try" in
35886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35887 *) ac_try_echo=$ac_try;;
35889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35890 (eval "$ac_compile") 2>conftest.er1
35892 grep -v '^ *+' conftest.er1 >conftest.err
35894 cat conftest.err >&5
35895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35896 (exit $ac_status); } && {
35897 test -z "$ac_c_werror_flag" ||
35898 test ! -s conftest.err
35899 } && test -s conftest.$ac_objext; then
35900 { echo "$as_me:$LINENO: result: yes" >&5
35901 echo "${ECHO_T}yes" >&6; }
35902 cat >>confdefs.h <<\_ACEOF
35903 #define HAVE__VSNWPRINTF 1
35907 echo "$as_me: failed program was:" >&5
35908 sed 's/^/| /' conftest.$ac_ext >&5
35910 { echo "$as_me:$LINENO: result: no" >&5
35911 echo "${ECHO_T}no" >&6; }
35914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35917 if test "$wxUSE_FILE" = "yes"; then
35919 for wx_func in fsync
35921 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35922 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35923 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35924 echo $ECHO_N "(cached) $ECHO_C" >&6
35927 cat >conftest.$ac_ext <<_ACEOF
35931 cat confdefs.h >>conftest.$ac_ext
35932 cat >>conftest.$ac_ext <<_ACEOF
35933 /* end confdefs.h. */
35936 $ac_includes_default
35952 rm -f conftest.$ac_objext conftest$ac_exeext
35953 if { (ac_try="$ac_link"
35954 case "(($ac_try" in
35955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35956 *) ac_try_echo
=$ac_try;;
35958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35959 (eval "$ac_link") 2>conftest.er1
35961 grep -v '^ *+' conftest.er1
>conftest.err
35963 cat conftest.err
>&5
35964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35965 (exit $ac_status); } && {
35966 test -z "$ac_c_werror_flag" ||
35967 test ! -s conftest.err
35968 } && test -s conftest
$ac_exeext &&
35969 $as_test_x conftest
$ac_exeext; then
35970 eval wx_cv_func_
$wx_func=yes
35972 echo "$as_me: failed program was:" >&5
35973 sed 's/^/| /' conftest.
$ac_ext >&5
35975 eval wx_cv_func_
$wx_func=no
35978 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35979 conftest
$ac_exeext conftest.
$ac_ext
35982 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35983 { echo "$as_me:$LINENO: result: $ac_res" >&5
35984 echo "${ECHO_T}$ac_res" >&6; }
35986 if eval test \
$wx_cv_func_$wx_func = yes
35988 cat >>confdefs.h
<<_ACEOF
35989 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36002 ac_cpp
='$CXXCPP $CPPFLAGS'
36003 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36004 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36005 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36008 for wx_func
in round
36010 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36011 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36012 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36013 echo $ECHO_N "(cached) $ECHO_C" >&6
36016 cat >conftest.
$ac_ext <<_ACEOF
36020 cat confdefs.h
>>conftest.
$ac_ext
36021 cat >>conftest.
$ac_ext <<_ACEOF
36022 /* end confdefs.h. */
36025 $ac_includes_default
36041 rm -f conftest.
$ac_objext conftest
$ac_exeext
36042 if { (ac_try
="$ac_link"
36043 case "(($ac_try" in
36044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36045 *) ac_try_echo=$ac_try;;
36047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36048 (eval "$ac_link") 2>conftest.er1
36050 grep -v '^ *+' conftest.er1 >conftest.err
36052 cat conftest.err >&5
36053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36054 (exit $ac_status); } && {
36055 test -z "$ac_cxx_werror_flag" ||
36056 test ! -s conftest.err
36057 } && test -s conftest$ac_exeext &&
36058 $as_test_x conftest$ac_exeext; then
36059 eval wx_cv_func_$wx_func=yes
36061 echo "$as_me: failed program was:" >&5
36062 sed 's/^/| /' conftest.$ac_ext >&5
36064 eval wx_cv_func_$wx_func=no
36067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36068 conftest$ac_exeext conftest.$ac_ext
36071 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36072 { echo "$as_me:$LINENO: result: $ac_res" >&5
36073 echo "${ECHO_T}$ac_res" >&6; }
36075 if eval test \$wx_cv_func_$wx_func = yes
36077 cat >>confdefs.h <<_ACEOF
36078 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36089 ac_cpp='$CPP $CPPFLAGS'
36090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36095 if test "$TOOLKIT" != "MSW"; then
36097 if test "$wxUSE_LIBICONV" != "no" ; then
36101 # Check whether --with-libiconv-prefix was given.
36102 if test "${with_libiconv_prefix+set}" = set; then
36103 withval=$with_libiconv_prefix;
36104 for dir in `echo "$withval" | tr : ' '`; do
36105 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36106 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36112 { echo "$as_me:$LINENO: checking for iconv" >&5
36113 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36114 if test "${am_cv_func_iconv+set}" = set; then
36115 echo $ECHO_N "(cached) $ECHO_C" >&6
36118 am_cv_func_iconv="no, consider installing GNU libiconv"
36120 cat >conftest.$ac_ext <<_ACEOF
36123 cat confdefs.h >>conftest.$ac_ext
36124 cat >>conftest.$ac_ext <<_ACEOF
36125 /* end confdefs.h. */
36126 #include <stdlib.h>
36131 iconv_t cd = iconv_open("","");
36132 iconv(cd,NULL,NULL,NULL,NULL);
36138 rm -f conftest.$ac_objext conftest$ac_exeext
36139 if { (ac_try="$ac_link"
36140 case "(($ac_try" in
36141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36142 *) ac_try_echo
=$ac_try;;
36144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36145 (eval "$ac_link") 2>conftest.er1
36147 grep -v '^ *+' conftest.er1
>conftest.err
36149 cat conftest.err
>&5
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); } && {
36152 test -z "$ac_c_werror_flag" ||
36153 test ! -s conftest.err
36154 } && test -s conftest
$ac_exeext &&
36155 $as_test_x conftest
$ac_exeext; then
36156 am_cv_func_iconv
=yes
36158 echo "$as_me: failed program was:" >&5
36159 sed 's/^/| /' conftest.
$ac_ext >&5
36164 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36165 conftest
$ac_exeext conftest.
$ac_ext
36166 if test "$am_cv_func_iconv" != yes; then
36167 am_save_LIBS
="$LIBS"
36168 LIBS
="$LIBS -liconv"
36169 cat >conftest.
$ac_ext <<_ACEOF
36172 cat confdefs.h
>>conftest.
$ac_ext
36173 cat >>conftest.
$ac_ext <<_ACEOF
36174 /* end confdefs.h. */
36175 #include <stdlib.h>
36180 iconv_t cd = iconv_open("","");
36181 iconv(cd,NULL,NULL,NULL,NULL);
36187 rm -f conftest.
$ac_objext conftest
$ac_exeext
36188 if { (ac_try
="$ac_link"
36189 case "(($ac_try" in
36190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36191 *) ac_try_echo=$ac_try;;
36193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36194 (eval "$ac_link") 2>conftest.er1
36196 grep -v '^ *+' conftest.er1 >conftest.err
36198 cat conftest.err >&5
36199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36200 (exit $ac_status); } && {
36201 test -z "$ac_c_werror_flag" ||
36202 test ! -s conftest.err
36203 } && test -s conftest$ac_exeext &&
36204 $as_test_x conftest$ac_exeext; then
36205 am_cv_lib_iconv=yes
36206 am_cv_func_iconv=yes
36208 echo "$as_me: failed program was:" >&5
36209 sed 's/^/| /' conftest.$ac_ext >&5
36214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36215 conftest$ac_exeext conftest.$ac_ext
36216 LIBS="$am_save_LIBS"
36220 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36221 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36222 if test "$am_cv_func_iconv" = yes; then
36224 cat >>confdefs.h <<\_ACEOF
36225 #define HAVE_ICONV 1
36228 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36229 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36230 if test "${wx_cv_func_iconv_const+set}" = set; then
36231 echo $ECHO_N "(cached) $ECHO_C" >&6
36233 cat >conftest.$ac_ext <<_ACEOF
36236 cat confdefs.h >>conftest.$ac_ext
36237 cat >>conftest.$ac_ext <<_ACEOF
36238 /* end confdefs.h. */
36240 #include <stdlib.h>
36246 #if defined(__STDC__) || defined(__cplusplus)
36247 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36260 rm -f conftest.$ac_objext
36261 if { (ac_try="$ac_compile"
36262 case "(($ac_try" in
36263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36264 *) ac_try_echo
=$ac_try;;
36266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36267 (eval "$ac_compile") 2>conftest.er1
36269 grep -v '^ *+' conftest.er1
>conftest.err
36271 cat conftest.err
>&5
36272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36273 (exit $ac_status); } && {
36274 test -z "$ac_c_werror_flag" ||
36275 test ! -s conftest.err
36276 } && test -s conftest.
$ac_objext; then
36277 wx_cv_func_iconv_const
="no"
36279 echo "$as_me: failed program was:" >&5
36280 sed 's/^/| /' conftest.
$ac_ext >&5
36282 wx_cv_func_iconv_const
="yes"
36286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36289 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36290 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36293 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36294 iconv_const
="const"
36298 cat >>confdefs.h
<<_ACEOF
36299 #define ICONV_CONST $iconv_const
36304 if test "$am_cv_lib_iconv" = yes; then
36309 LIBS
="$LIBICONV $LIBS"
36312 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36314 for ac_func
in sigaction
36316 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36319 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36320 echo $ECHO_N "(cached) $ECHO_C" >&6
36322 cat >conftest.
$ac_ext <<_ACEOF
36325 cat confdefs.h
>>conftest.
$ac_ext
36326 cat >>conftest.
$ac_ext <<_ACEOF
36327 /* end confdefs.h. */
36328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36330 #define $ac_func innocuous_$ac_func
36332 /* System header to define __stub macros and hopefully few prototypes,
36333 which can conflict with char $ac_func (); below.
36334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36335 <limits.h> exists even on freestanding compilers. */
36338 # include <limits.h>
36340 # include <assert.h>
36345 /* Override any GCC internal prototype to avoid an error.
36346 Use char because int might match the return type of a GCC
36347 builtin and then its argument prototype would still apply. */
36352 /* The GNU C library defines this for functions which it implements
36353 to always fail with ENOSYS. Some functions are actually named
36354 something starting with __ and the normal name is an alias. */
36355 #if defined __stub_$ac_func || defined __stub___$ac_func
36362 return $ac_func ();
36367 rm -f conftest.
$ac_objext conftest
$ac_exeext
36368 if { (ac_try
="$ac_link"
36369 case "(($ac_try" in
36370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36371 *) ac_try_echo=$ac_try;;
36373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36374 (eval "$ac_link") 2>conftest.er1
36376 grep -v '^ *+' conftest.er1 >conftest.err
36378 cat conftest.err >&5
36379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36380 (exit $ac_status); } && {
36381 test -z "$ac_c_werror_flag" ||
36382 test ! -s conftest.err
36383 } && test -s conftest$ac_exeext &&
36384 $as_test_x conftest$ac_exeext; then
36385 eval "$as_ac_var=yes"
36387 echo "$as_me: failed program was:" >&5
36388 sed 's/^/| /' conftest.$ac_ext >&5
36390 eval "$as_ac_var=no"
36393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36394 conftest$ac_exeext conftest.$ac_ext
36396 ac_res=`eval echo '${'$as_ac_var'}'`
36397 { echo "$as_me:$LINENO: result: $ac_res" >&5
36398 echo "${ECHO_T}$ac_res" >&6; }
36399 if test `eval echo '${'$as_ac_var'}'` = yes; then
36400 cat >>confdefs.h <<_ACEOF
36401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36408 if test "$ac_cv_func_sigaction" = "no"; then
36409 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36410 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36411 wxUSE_ON_FATAL_EXCEPTION=no
36414 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36415 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36416 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36417 if test "${wx_cv_type_sa_handler+set}" = set; then
36418 echo $ECHO_N "(cached) $ECHO_C" >&6
36422 ac_cpp='$CXXCPP $CPPFLAGS'
36423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36427 cat >conftest.$ac_ext <<_ACEOF
36430 cat confdefs.h >>conftest.$ac_ext
36431 cat >>conftest.$ac_ext <<_ACEOF
36432 /* end confdefs.h. */
36433 #include <signal.h>
36438 extern void testSigHandler(int);
36440 struct sigaction sa;
36441 sa.sa_handler = testSigHandler;
36447 rm -f conftest.$ac_objext
36448 if { (ac_try="$ac_compile"
36449 case "(($ac_try" in
36450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36451 *) ac_try_echo
=$ac_try;;
36453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36454 (eval "$ac_compile") 2>conftest.er1
36456 grep -v '^ *+' conftest.er1
>conftest.err
36458 cat conftest.err
>&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); } && {
36461 test -z "$ac_cxx_werror_flag" ||
36462 test ! -s conftest.err
36463 } && test -s conftest.
$ac_objext; then
36465 wx_cv_type_sa_handler
=int
36468 echo "$as_me: failed program was:" >&5
36469 sed 's/^/| /' conftest.
$ac_ext >&5
36472 wx_cv_type_sa_handler
=void
36476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36478 ac_cpp
='$CPP $CPPFLAGS'
36479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36485 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36486 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36488 cat >>confdefs.h
<<_ACEOF
36489 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36495 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36496 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36497 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36498 if test "${wx_cv_func_backtrace+set}" = set; then
36499 echo $ECHO_N "(cached) $ECHO_C" >&6
36503 ac_cpp
='$CXXCPP $CPPFLAGS'
36504 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36508 cat >conftest.
$ac_ext <<_ACEOF
36511 cat confdefs.h
>>conftest.
$ac_ext
36512 cat >>conftest.
$ac_ext <<_ACEOF
36513 /* end confdefs.h. */
36514 #include <execinfo.h>
36522 backtrace(trace, 1);
36523 messages = backtrace_symbols(trace, 1);
36529 rm -f conftest.
$ac_objext
36530 if { (ac_try
="$ac_compile"
36531 case "(($ac_try" in
36532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36533 *) ac_try_echo=$ac_try;;
36535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36536 (eval "$ac_compile") 2>conftest.er1
36538 grep -v '^ *+' conftest.er1 >conftest.err
36540 cat conftest.err >&5
36541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36542 (exit $ac_status); } && {
36543 test -z "$ac_cxx_werror_flag" ||
36544 test ! -s conftest.err
36545 } && test -s conftest.$ac_objext; then
36546 wx_cv_func_backtrace=yes
36548 echo "$as_me: failed program was:" >&5
36549 sed 's/^/| /' conftest.$ac_ext >&5
36551 wx_cv_func_backtrace=no
36555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36557 ac_cpp='$CPP $CPPFLAGS'
36558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36565 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36566 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36569 if test "$wx_cv_func_backtrace" = "no"; then
36570 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36571 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36572 wxUSE_STACKWALKER=no
36574 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36575 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36576 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36577 echo $ECHO_N "(cached) $ECHO_C" >&6
36581 ac_cpp='$CXXCPP $CPPFLAGS'
36582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36586 cat >conftest.$ac_ext <<_ACEOF
36589 cat confdefs.h >>conftest.$ac_ext
36590 cat >>conftest.$ac_ext <<_ACEOF
36591 /* end confdefs.h. */
36592 #include <cxxabi.h>
36598 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36604 rm -f conftest.$ac_objext conftest$ac_exeext
36605 if { (ac_try="$ac_link"
36606 case "(($ac_try" in
36607 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36608 *) ac_try_echo
=$ac_try;;
36610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36611 (eval "$ac_link") 2>conftest.er1
36613 grep -v '^ *+' conftest.er1
>conftest.err
36615 cat conftest.err
>&5
36616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36617 (exit $ac_status); } && {
36618 test -z "$ac_cxx_werror_flag" ||
36619 test ! -s conftest.err
36620 } && test -s conftest
$ac_exeext &&
36621 $as_test_x conftest
$ac_exeext; then
36622 wx_cv_func_cxa_demangle
=yes
36624 echo "$as_me: failed program was:" >&5
36625 sed 's/^/| /' conftest.
$ac_ext >&5
36627 wx_cv_func_cxa_demangle
=no
36631 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36632 conftest
$ac_exeext conftest.
$ac_ext
36634 ac_cpp
='$CPP $CPPFLAGS'
36635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36642 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36643 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36645 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36646 cat >>confdefs.h
<<\_ACEOF
36647 #define HAVE_CXA_DEMANGLE 1
36654 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36655 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36656 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36657 wxUSE_STACKWALKER
=no
36663 for ac_func
in mkstemp mktemp
36665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36666 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36668 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36669 echo $ECHO_N "(cached) $ECHO_C" >&6
36671 cat >conftest.
$ac_ext <<_ACEOF
36674 cat confdefs.h
>>conftest.
$ac_ext
36675 cat >>conftest.
$ac_ext <<_ACEOF
36676 /* end confdefs.h. */
36677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36679 #define $ac_func innocuous_$ac_func
36681 /* System header to define __stub macros and hopefully few prototypes,
36682 which can conflict with char $ac_func (); below.
36683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36684 <limits.h> exists even on freestanding compilers. */
36687 # include <limits.h>
36689 # include <assert.h>
36694 /* Override any GCC internal prototype to avoid an error.
36695 Use char because int might match the return type of a GCC
36696 builtin and then its argument prototype would still apply. */
36701 /* The GNU C library defines this for functions which it implements
36702 to always fail with ENOSYS. Some functions are actually named
36703 something starting with __ and the normal name is an alias. */
36704 #if defined __stub_$ac_func || defined __stub___$ac_func
36711 return $ac_func ();
36716 rm -f conftest.
$ac_objext conftest
$ac_exeext
36717 if { (ac_try
="$ac_link"
36718 case "(($ac_try" in
36719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36720 *) ac_try_echo=$ac_try;;
36722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36723 (eval "$ac_link") 2>conftest.er1
36725 grep -v '^ *+' conftest.er1 >conftest.err
36727 cat conftest.err >&5
36728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36729 (exit $ac_status); } && {
36730 test -z "$ac_c_werror_flag" ||
36731 test ! -s conftest.err
36732 } && test -s conftest$ac_exeext &&
36733 $as_test_x conftest$ac_exeext; then
36734 eval "$as_ac_var=yes"
36736 echo "$as_me: failed program was:" >&5
36737 sed 's/^/| /' conftest.$ac_ext >&5
36739 eval "$as_ac_var=no"
36742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36743 conftest$ac_exeext conftest.$ac_ext
36745 ac_res=`eval echo '${'$as_ac_var'}'`
36746 { echo "$as_me:$LINENO: result: $ac_res" >&5
36747 echo "${ECHO_T}$ac_res" >&6; }
36748 if test `eval echo '${'$as_ac_var'}'` = yes; then
36749 cat >>confdefs.h <<_ACEOF
36750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36757 { echo "$as_me:$LINENO: checking for statfs" >&5
36758 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36759 if test "${wx_cv_func_statfs+set}" = set; then
36760 echo $ECHO_N "(cached) $ECHO_C" >&6
36762 cat >conftest.$ac_ext <<_ACEOF
36765 cat confdefs.h >>conftest.$ac_ext
36766 cat >>conftest.$ac_ext <<_ACEOF
36767 /* end confdefs.h. */
36769 #if defined(__BSD__)
36770 #include <sys/param.h>
36771 #include <sys/mount.h>
36773 #include <sys/vfs.h>
36791 rm -f conftest.$ac_objext
36792 if { (ac_try="$ac_compile"
36793 case "(($ac_try" in
36794 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36795 *) ac_try_echo
=$ac_try;;
36797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36798 (eval "$ac_compile") 2>conftest.er1
36800 grep -v '^ *+' conftest.er1
>conftest.err
36802 cat conftest.err
>&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); } && {
36805 test -z "$ac_c_werror_flag" ||
36806 test ! -s conftest.err
36807 } && test -s conftest.
$ac_objext; then
36808 wx_cv_func_statfs
=yes
36810 echo "$as_me: failed program was:" >&5
36811 sed 's/^/| /' conftest.
$ac_ext >&5
36813 wx_cv_func_statfs
=no
36817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36820 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36821 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36823 if test "$wx_cv_func_statfs" = "yes"; then
36824 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36825 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36826 if test "${wx_cv_func_statfs_decl+set}" = set; then
36827 echo $ECHO_N "(cached) $ECHO_C" >&6
36830 ac_cpp
='$CXXCPP $CPPFLAGS'
36831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36835 cat >conftest.
$ac_ext <<_ACEOF
36838 cat confdefs.h
>>conftest.
$ac_ext
36839 cat >>conftest.
$ac_ext <<_ACEOF
36840 /* end confdefs.h. */
36842 #if defined(__BSD__)
36843 #include <sys/param.h>
36844 #include <sys/mount.h>
36846 #include <sys/vfs.h>
36860 rm -f conftest.
$ac_objext
36861 if { (ac_try
="$ac_compile"
36862 case "(($ac_try" in
36863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36864 *) ac_try_echo=$ac_try;;
36866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36867 (eval "$ac_compile") 2>conftest.er1
36869 grep -v '^ *+' conftest.er1 >conftest.err
36871 cat conftest.err >&5
36872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36873 (exit $ac_status); } && {
36874 test -z "$ac_cxx_werror_flag" ||
36875 test ! -s conftest.err
36876 } && test -s conftest.$ac_objext; then
36877 wx_cv_func_statfs_decl=yes
36879 echo "$as_me: failed program was:" >&5
36880 sed 's/^/| /' conftest.$ac_ext >&5
36882 wx_cv_func_statfs_decl=no
36886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36888 ac_cpp='$CPP $CPPFLAGS'
36889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36895 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36896 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36898 if test "$wx_cv_func_statfs_decl" = "yes"; then
36899 cat >>confdefs.h <<\_ACEOF
36900 #define HAVE_STATFS_DECL 1
36905 wx_cv_type_statvfs_t="struct statfs"
36906 cat >>confdefs.h <<\_ACEOF
36907 #define HAVE_STATFS 1
36911 { echo "$as_me:$LINENO: checking for statvfs" >&5
36912 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36913 if test "${wx_cv_func_statvfs+set}" = set; then
36914 echo $ECHO_N "(cached) $ECHO_C" >&6
36916 cat >conftest.$ac_ext <<_ACEOF
36919 cat confdefs.h >>conftest.$ac_ext
36920 cat >>conftest.$ac_ext <<_ACEOF
36921 /* end confdefs.h. */
36923 #include <stddef.h>
36924 #include <sys/statvfs.h>
36930 statvfs("/", NULL);
36936 rm -f conftest.$ac_objext
36937 if { (ac_try="$ac_compile"
36938 case "(($ac_try" in
36939 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36940 *) ac_try_echo
=$ac_try;;
36942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36943 (eval "$ac_compile") 2>conftest.er1
36945 grep -v '^ *+' conftest.er1
>conftest.err
36947 cat conftest.err
>&5
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); } && {
36950 test -z "$ac_c_werror_flag" ||
36951 test ! -s conftest.err
36952 } && test -s conftest.
$ac_objext; then
36953 wx_cv_func_statvfs
=yes
36955 echo "$as_me: failed program was:" >&5
36956 sed 's/^/| /' conftest.
$ac_ext >&5
36958 wx_cv_func_statvfs
=no
36962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36965 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36966 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36968 if test "$wx_cv_func_statvfs" = "yes"; then
36969 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36970 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36971 if test "${wx_cv_type_statvfs_t+set}" = set; then
36972 echo $ECHO_N "(cached) $ECHO_C" >&6
36975 ac_cpp
='$CXXCPP $CPPFLAGS'
36976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36980 cat >conftest.
$ac_ext <<_ACEOF
36983 cat confdefs.h
>>conftest.
$ac_ext
36984 cat >>conftest.
$ac_ext <<_ACEOF
36985 /* end confdefs.h. */
36987 #include <sys/statvfs.h>
37004 rm -f conftest.
$ac_objext
37005 if { (ac_try
="$ac_compile"
37006 case "(($ac_try" in
37007 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37008 *) ac_try_echo=$ac_try;;
37010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37011 (eval "$ac_compile") 2>conftest.er1
37013 grep -v '^ *+' conftest.er1 >conftest.err
37015 cat conftest.err >&5
37016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37017 (exit $ac_status); } && {
37018 test -z "$ac_cxx_werror_flag" ||
37019 test ! -s conftest.err
37020 } && test -s conftest.$ac_objext; then
37021 wx_cv_type_statvfs_t=statvfs_t
37023 echo "$as_me: failed program was:" >&5
37024 sed 's/^/| /' conftest.$ac_ext >&5
37027 cat >conftest.$ac_ext <<_ACEOF
37030 cat confdefs.h >>conftest.$ac_ext
37031 cat >>conftest.$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37034 #include <sys/statvfs.h>
37051 rm -f conftest.$ac_objext
37052 if { (ac_try="$ac_compile"
37053 case "(($ac_try" in
37054 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37055 *) ac_try_echo
=$ac_try;;
37057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37058 (eval "$ac_compile") 2>conftest.er1
37060 grep -v '^ *+' conftest.er1
>conftest.err
37062 cat conftest.err
>&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); } && {
37065 test -z "$ac_cxx_werror_flag" ||
37066 test ! -s conftest.err
37067 } && test -s conftest.
$ac_objext; then
37068 wx_cv_type_statvfs_t
="struct statvfs"
37070 echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.
$ac_ext >&5
37073 wx_cv_type_statvfs_t
="unknown"
37077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37084 ac_cpp
='$CPP $CPPFLAGS'
37085 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37086 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37087 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37091 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37092 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37094 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37095 cat >>confdefs.h
<<\_ACEOF
37096 #define HAVE_STATVFS 1
37101 wx_cv_type_statvfs_t
="unknown"
37105 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37106 cat >>confdefs.h
<<_ACEOF
37107 #define WX_STATFS_T $wx_cv_type_statvfs_t
37111 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37112 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37115 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37118 for ac_func
in fcntl flock
37120 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37121 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37123 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37124 echo $ECHO_N "(cached) $ECHO_C" >&6
37126 cat >conftest.
$ac_ext <<_ACEOF
37129 cat confdefs.h
>>conftest.
$ac_ext
37130 cat >>conftest.
$ac_ext <<_ACEOF
37131 /* end confdefs.h. */
37132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37134 #define $ac_func innocuous_$ac_func
37136 /* System header to define __stub macros and hopefully few prototypes,
37137 which can conflict with char $ac_func (); below.
37138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37139 <limits.h> exists even on freestanding compilers. */
37142 # include <limits.h>
37144 # include <assert.h>
37149 /* Override any GCC internal prototype to avoid an error.
37150 Use char because int might match the return type of a GCC
37151 builtin and then its argument prototype would still apply. */
37156 /* The GNU C library defines this for functions which it implements
37157 to always fail with ENOSYS. Some functions are actually named
37158 something starting with __ and the normal name is an alias. */
37159 #if defined __stub_$ac_func || defined __stub___$ac_func
37166 return $ac_func ();
37171 rm -f conftest.
$ac_objext conftest
$ac_exeext
37172 if { (ac_try
="$ac_link"
37173 case "(($ac_try" in
37174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37175 *) ac_try_echo=$ac_try;;
37177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37178 (eval "$ac_link") 2>conftest.er1
37180 grep -v '^ *+' conftest.er1 >conftest.err
37182 cat conftest.err >&5
37183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 (exit $ac_status); } && {
37185 test -z "$ac_c_werror_flag" ||
37186 test ! -s conftest.err
37187 } && test -s conftest$ac_exeext &&
37188 $as_test_x conftest$ac_exeext; then
37189 eval "$as_ac_var=yes"
37191 echo "$as_me: failed program was:" >&5
37192 sed 's/^/| /' conftest.$ac_ext >&5
37194 eval "$as_ac_var=no"
37197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37198 conftest$ac_exeext conftest.$ac_ext
37200 ac_res=`eval echo '${'$as_ac_var'}'`
37201 { echo "$as_me:$LINENO: result: $ac_res" >&5
37202 echo "${ECHO_T}$ac_res" >&6; }
37203 if test `eval echo '${'$as_ac_var'}'` = yes; then
37204 cat >>confdefs.h <<_ACEOF
37205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37212 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37213 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37214 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37215 wxUSE_SNGLINST_CHECKER=no
37221 for ac_func in setenv putenv
37223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37224 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37226 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37229 cat >conftest.$ac_ext <<_ACEOF
37232 cat confdefs.h >>conftest.$ac_ext
37233 cat >>conftest.$ac_ext <<_ACEOF
37234 /* end confdefs.h. */
37235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37237 #define $ac_func innocuous_$ac_func
37239 /* System header to define __stub macros and hopefully few prototypes,
37240 which can conflict with char $ac_func (); below.
37241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37242 <limits.h> exists even on freestanding compilers. */
37245 # include <limits.h>
37247 # include <assert.h>
37252 /* Override any GCC internal prototype to avoid an error.
37253 Use char because int might match the return type of a GCC
37254 builtin and then its argument prototype would still apply. */
37259 /* The GNU C library defines this for functions which it implements
37260 to always fail with ENOSYS. Some functions are actually named
37261 something starting with __ and the normal name is an alias. */
37262 #if defined __stub_$ac_func || defined __stub___$ac_func
37269 return $ac_func ();
37274 rm -f conftest.$ac_objext conftest$ac_exeext
37275 if { (ac_try="$ac_link"
37276 case "(($ac_try" in
37277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37278 *) ac_try_echo
=$ac_try;;
37280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37281 (eval "$ac_link") 2>conftest.er1
37283 grep -v '^ *+' conftest.er1
>conftest.err
37285 cat conftest.err
>&5
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); } && {
37288 test -z "$ac_c_werror_flag" ||
37289 test ! -s conftest.err
37290 } && test -s conftest
$ac_exeext &&
37291 $as_test_x conftest
$ac_exeext; then
37292 eval "$as_ac_var=yes"
37294 echo "$as_me: failed program was:" >&5
37295 sed 's/^/| /' conftest.
$ac_ext >&5
37297 eval "$as_ac_var=no"
37300 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37301 conftest
$ac_exeext conftest.
$ac_ext
37303 ac_res
=`eval echo '${'$as_ac_var'}'`
37304 { echo "$as_me:$LINENO: result: $ac_res" >&5
37305 echo "${ECHO_T}$ac_res" >&6; }
37306 if test `eval echo '${'$as_ac_var'}'` = yes; then
37307 cat >>confdefs.h
<<_ACEOF
37308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37314 if test "$ac_cv_func_setenv" = "yes"; then
37316 for ac_func
in unsetenv
37318 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37319 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37321 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37322 echo $ECHO_N "(cached) $ECHO_C" >&6
37324 cat >conftest.
$ac_ext <<_ACEOF
37327 cat confdefs.h
>>conftest.
$ac_ext
37328 cat >>conftest.
$ac_ext <<_ACEOF
37329 /* end confdefs.h. */
37330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37332 #define $ac_func innocuous_$ac_func
37334 /* System header to define __stub macros and hopefully few prototypes,
37335 which can conflict with char $ac_func (); below.
37336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37337 <limits.h> exists even on freestanding compilers. */
37340 # include <limits.h>
37342 # include <assert.h>
37347 /* Override any GCC internal prototype to avoid an error.
37348 Use char because int might match the return type of a GCC
37349 builtin and then its argument prototype would still apply. */
37354 /* The GNU C library defines this for functions which it implements
37355 to always fail with ENOSYS. Some functions are actually named
37356 something starting with __ and the normal name is an alias. */
37357 #if defined __stub_$ac_func || defined __stub___$ac_func
37364 return $ac_func ();
37369 rm -f conftest.
$ac_objext conftest
$ac_exeext
37370 if { (ac_try
="$ac_link"
37371 case "(($ac_try" in
37372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37373 *) ac_try_echo=$ac_try;;
37375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37376 (eval "$ac_link") 2>conftest.er1
37378 grep -v '^ *+' conftest.er1 >conftest.err
37380 cat conftest.err >&5
37381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37382 (exit $ac_status); } && {
37383 test -z "$ac_c_werror_flag" ||
37384 test ! -s conftest.err
37385 } && test -s conftest$ac_exeext &&
37386 $as_test_x conftest$ac_exeext; then
37387 eval "$as_ac_var=yes"
37389 echo "$as_me: failed program was:" >&5
37390 sed 's/^/| /' conftest.$ac_ext >&5
37392 eval "$as_ac_var=no"
37395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37396 conftest$ac_exeext conftest.$ac_ext
37398 ac_res=`eval echo '${'$as_ac_var'}'`
37399 { echo "$as_me:$LINENO: result: $ac_res" >&5
37400 echo "${ECHO_T}$ac_res" >&6; }
37401 if test `eval echo '${'$as_ac_var'}'` = yes; then
37402 cat >>confdefs.h <<_ACEOF
37403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37411 HAVE_SOME_SLEEP_FUNC=0
37412 if test "$USE_BEOS" = 1; then
37413 cat >>confdefs.h <<\_ACEOF
37414 #define HAVE_SLEEP 1
37417 HAVE_SOME_SLEEP_FUNC=1
37420 if test "$USE_DARWIN" = 1; then
37421 cat >>confdefs.h <<\_ACEOF
37422 #define HAVE_USLEEP 1
37425 HAVE_SOME_SLEEP_FUNC=1
37428 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37431 for ac_func in nanosleep
37433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37434 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37436 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37437 echo $ECHO_N "(cached) $ECHO_C" >&6
37439 cat >conftest.$ac_ext <<_ACEOF
37442 cat confdefs.h >>conftest.$ac_ext
37443 cat >>conftest.$ac_ext <<_ACEOF
37444 /* end confdefs.h. */
37445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37447 #define $ac_func innocuous_$ac_func
37449 /* System header to define __stub macros and hopefully few prototypes,
37450 which can conflict with char $ac_func (); below.
37451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37452 <limits.h> exists even on freestanding compilers. */
37455 # include <limits.h>
37457 # include <assert.h>
37462 /* Override any GCC internal prototype to avoid an error.
37463 Use char because int might match the return type of a GCC
37464 builtin and then its argument prototype would still apply. */
37469 /* The GNU C library defines this for functions which it implements
37470 to always fail with ENOSYS. Some functions are actually named
37471 something starting with __ and the normal name is an alias. */
37472 #if defined __stub_$ac_func || defined __stub___$ac_func
37479 return $ac_func ();
37484 rm -f conftest.$ac_objext conftest$ac_exeext
37485 if { (ac_try="$ac_link"
37486 case "(($ac_try" in
37487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37488 *) ac_try_echo
=$ac_try;;
37490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37491 (eval "$ac_link") 2>conftest.er1
37493 grep -v '^ *+' conftest.er1
>conftest.err
37495 cat conftest.err
>&5
37496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37497 (exit $ac_status); } && {
37498 test -z "$ac_c_werror_flag" ||
37499 test ! -s conftest.err
37500 } && test -s conftest
$ac_exeext &&
37501 $as_test_x conftest
$ac_exeext; then
37502 eval "$as_ac_var=yes"
37504 echo "$as_me: failed program was:" >&5
37505 sed 's/^/| /' conftest.
$ac_ext >&5
37507 eval "$as_ac_var=no"
37510 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37511 conftest
$ac_exeext conftest.
$ac_ext
37513 ac_res
=`eval echo '${'$as_ac_var'}'`
37514 { echo "$as_me:$LINENO: result: $ac_res" >&5
37515 echo "${ECHO_T}$ac_res" >&6; }
37516 if test `eval echo '${'$as_ac_var'}'` = yes; then
37517 cat >>confdefs.h
<<_ACEOF
37518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37520 cat >>confdefs.h
<<\_ACEOF
37521 #define HAVE_NANOSLEEP 1
37526 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37527 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37528 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37529 echo $ECHO_N "(cached) $ECHO_C" >&6
37531 ac_check_lib_save_LIBS
=$LIBS
37532 LIBS
="-lposix4 $LIBS"
37533 cat >conftest.
$ac_ext <<_ACEOF
37536 cat confdefs.h
>>conftest.
$ac_ext
37537 cat >>conftest.
$ac_ext <<_ACEOF
37538 /* end confdefs.h. */
37540 /* Override any GCC internal prototype to avoid an error.
37541 Use char because int might match the return type of a GCC
37542 builtin and then its argument prototype would still apply. */
37550 return nanosleep ();
37555 rm -f conftest.
$ac_objext conftest
$ac_exeext
37556 if { (ac_try
="$ac_link"
37557 case "(($ac_try" in
37558 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37559 *) ac_try_echo=$ac_try;;
37561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37562 (eval "$ac_link") 2>conftest.er1
37564 grep -v '^ *+' conftest.er1 >conftest.err
37566 cat conftest.err >&5
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); } && {
37569 test -z "$ac_c_werror_flag" ||
37570 test ! -s conftest.err
37571 } && test -s conftest$ac_exeext &&
37572 $as_test_x conftest$ac_exeext; then
37573 ac_cv_lib_posix4_nanosleep=yes
37575 echo "$as_me: failed program was:" >&5
37576 sed 's/^/| /' conftest.$ac_ext >&5
37578 ac_cv_lib_posix4_nanosleep=no
37581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37582 conftest$ac_exeext conftest.$ac_ext
37583 LIBS=$ac_check_lib_save_LIBS
37585 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37586 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37587 if test $ac_cv_lib_posix4_nanosleep = yes; then
37589 cat >>confdefs.h <<\_ACEOF
37590 #define HAVE_NANOSLEEP 1
37593 POSIX4_LINK=" -lposix4"
37598 for wx_func in usleep
37600 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37601 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37602 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37603 echo $ECHO_N "(cached) $ECHO_C" >&6
37606 cat >conftest.$ac_ext <<_ACEOF
37610 cat confdefs.h >>conftest.$ac_ext
37611 cat >>conftest.$ac_ext <<_ACEOF
37612 /* end confdefs.h. */
37615 $ac_includes_default
37631 rm -f conftest.$ac_objext conftest$ac_exeext
37632 if { (ac_try="$ac_link"
37633 case "(($ac_try" in
37634 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37635 *) ac_try_echo
=$ac_try;;
37637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37638 (eval "$ac_link") 2>conftest.er1
37640 grep -v '^ *+' conftest.er1
>conftest.err
37642 cat conftest.err
>&5
37643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644 (exit $ac_status); } && {
37645 test -z "$ac_c_werror_flag" ||
37646 test ! -s conftest.err
37647 } && test -s conftest
$ac_exeext &&
37648 $as_test_x conftest
$ac_exeext; then
37649 eval wx_cv_func_
$wx_func=yes
37651 echo "$as_me: failed program was:" >&5
37652 sed 's/^/| /' conftest.
$ac_ext >&5
37654 eval wx_cv_func_
$wx_func=no
37657 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37658 conftest
$ac_exeext conftest.
$ac_ext
37661 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37662 { echo "$as_me:$LINENO: result: $ac_res" >&5
37663 echo "${ECHO_T}$ac_res" >&6; }
37665 if eval test \
$wx_cv_func_$wx_func = yes
37667 cat >>confdefs.h
<<_ACEOF
37668 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37674 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37675 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37692 for wx_func
in uname
37694 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37695 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37696 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37697 echo $ECHO_N "(cached) $ECHO_C" >&6
37700 cat >conftest.
$ac_ext <<_ACEOF
37704 cat confdefs.h
>>conftest.
$ac_ext
37705 cat >>conftest.
$ac_ext <<_ACEOF
37706 /* end confdefs.h. */
37708 #include <sys/utsname.h>
37709 $ac_includes_default
37725 rm -f conftest.
$ac_objext conftest
$ac_exeext
37726 if { (ac_try
="$ac_link"
37727 case "(($ac_try" in
37728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37729 *) ac_try_echo=$ac_try;;
37731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37732 (eval "$ac_link") 2>conftest.er1
37734 grep -v '^ *+' conftest.er1 >conftest.err
37736 cat conftest.err >&5
37737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37738 (exit $ac_status); } && {
37739 test -z "$ac_c_werror_flag" ||
37740 test ! -s conftest.err
37741 } && test -s conftest$ac_exeext &&
37742 $as_test_x conftest$ac_exeext; then
37743 eval wx_cv_func_$wx_func=yes
37745 echo "$as_me: failed program was:" >&5
37746 sed 's/^/| /' conftest.$ac_ext >&5
37748 eval wx_cv_func_$wx_func=no
37751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37752 conftest$ac_exeext conftest.$ac_ext
37755 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37756 { echo "$as_me:$LINENO: result: $ac_res" >&5
37757 echo "${ECHO_T}$ac_res" >&6; }
37759 if eval test \$wx_cv_func_$wx_func = yes
37761 cat >>confdefs.h <<_ACEOF
37762 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37772 if test "$wx_cv_func_uname" != yes; then
37774 for wx_func in gethostname
37776 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37777 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37778 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37779 echo $ECHO_N "(cached) $ECHO_C" >&6
37782 cat >conftest.$ac_ext <<_ACEOF
37786 cat confdefs.h >>conftest.$ac_ext
37787 cat >>conftest.$ac_ext <<_ACEOF
37788 /* end confdefs.h. */
37791 $ac_includes_default
37807 rm -f conftest.$ac_objext conftest$ac_exeext
37808 if { (ac_try="$ac_link"
37809 case "(($ac_try" in
37810 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37811 *) ac_try_echo
=$ac_try;;
37813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37814 (eval "$ac_link") 2>conftest.er1
37816 grep -v '^ *+' conftest.er1
>conftest.err
37818 cat conftest.err
>&5
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); } && {
37821 test -z "$ac_c_werror_flag" ||
37822 test ! -s conftest.err
37823 } && test -s conftest
$ac_exeext &&
37824 $as_test_x conftest
$ac_exeext; then
37825 eval wx_cv_func_
$wx_func=yes
37827 echo "$as_me: failed program was:" >&5
37828 sed 's/^/| /' conftest.
$ac_ext >&5
37830 eval wx_cv_func_
$wx_func=no
37833 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37834 conftest
$ac_exeext conftest.
$ac_ext
37837 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37838 { echo "$as_me:$LINENO: result: $ac_res" >&5
37839 echo "${ECHO_T}$ac_res" >&6; }
37841 if eval test \
$wx_cv_func_$wx_func = yes
37843 cat >>confdefs.h
<<_ACEOF
37844 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37857 for wx_func
in strtok_r
37859 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37860 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37861 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37862 echo $ECHO_N "(cached) $ECHO_C" >&6
37865 cat >conftest.
$ac_ext <<_ACEOF
37869 cat confdefs.h
>>conftest.
$ac_ext
37870 cat >>conftest.
$ac_ext <<_ACEOF
37871 /* end confdefs.h. */
37874 $ac_includes_default
37890 rm -f conftest.
$ac_objext conftest
$ac_exeext
37891 if { (ac_try
="$ac_link"
37892 case "(($ac_try" in
37893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37894 *) ac_try_echo=$ac_try;;
37896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37897 (eval "$ac_link") 2>conftest.er1
37899 grep -v '^ *+' conftest.er1 >conftest.err
37901 cat conftest.err >&5
37902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903 (exit $ac_status); } && {
37904 test -z "$ac_c_werror_flag" ||
37905 test ! -s conftest.err
37906 } && test -s conftest$ac_exeext &&
37907 $as_test_x conftest$ac_exeext; then
37908 eval wx_cv_func_$wx_func=yes
37910 echo "$as_me: failed program was:" >&5
37911 sed 's/^/| /' conftest.$ac_ext >&5
37913 eval wx_cv_func_$wx_func=no
37916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37917 conftest$ac_exeext conftest.$ac_ext
37920 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37921 { echo "$as_me:$LINENO: result: $ac_res" >&5
37922 echo "${ECHO_T}$ac_res" >&6; }
37924 if eval test \$wx_cv_func_$wx_func = yes
37926 cat >>confdefs.h <<_ACEOF
37927 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37940 for ac_func in inet_addr
37942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37943 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37945 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37946 echo $ECHO_N "(cached) $ECHO_C" >&6
37948 cat >conftest.$ac_ext <<_ACEOF
37951 cat confdefs.h >>conftest.$ac_ext
37952 cat >>conftest.$ac_ext <<_ACEOF
37953 /* end confdefs.h. */
37954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37956 #define $ac_func innocuous_$ac_func
37958 /* System header to define __stub macros and hopefully few prototypes,
37959 which can conflict with char $ac_func (); below.
37960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37961 <limits.h> exists even on freestanding compilers. */
37964 # include <limits.h>
37966 # include <assert.h>
37971 /* Override any GCC internal prototype to avoid an error.
37972 Use char because int might match the return type of a GCC
37973 builtin and then its argument prototype would still apply. */
37978 /* The GNU C library defines this for functions which it implements
37979 to always fail with ENOSYS. Some functions are actually named
37980 something starting with __ and the normal name is an alias. */
37981 #if defined __stub_$ac_func || defined __stub___$ac_func
37988 return $ac_func ();
37993 rm -f conftest.$ac_objext conftest$ac_exeext
37994 if { (ac_try="$ac_link"
37995 case "(($ac_try" in
37996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37997 *) ac_try_echo
=$ac_try;;
37999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38000 (eval "$ac_link") 2>conftest.er1
38002 grep -v '^ *+' conftest.er1
>conftest.err
38004 cat conftest.err
>&5
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); } && {
38007 test -z "$ac_c_werror_flag" ||
38008 test ! -s conftest.err
38009 } && test -s conftest
$ac_exeext &&
38010 $as_test_x conftest
$ac_exeext; then
38011 eval "$as_ac_var=yes"
38013 echo "$as_me: failed program was:" >&5
38014 sed 's/^/| /' conftest.
$ac_ext >&5
38016 eval "$as_ac_var=no"
38019 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38020 conftest
$ac_exeext conftest.
$ac_ext
38022 ac_res
=`eval echo '${'$as_ac_var'}'`
38023 { echo "$as_me:$LINENO: result: $ac_res" >&5
38024 echo "${ECHO_T}$ac_res" >&6; }
38025 if test `eval echo '${'$as_ac_var'}'` = yes; then
38026 cat >>confdefs.h
<<_ACEOF
38027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38029 cat >>confdefs.h
<<\_ACEOF
38030 #define HAVE_INET_ADDR 1
38035 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38036 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38037 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38038 echo $ECHO_N "(cached) $ECHO_C" >&6
38040 ac_check_lib_save_LIBS
=$LIBS
38042 cat >conftest.
$ac_ext <<_ACEOF
38045 cat confdefs.h
>>conftest.
$ac_ext
38046 cat >>conftest.
$ac_ext <<_ACEOF
38047 /* end confdefs.h. */
38049 /* Override any GCC internal prototype to avoid an error.
38050 Use char because int might match the return type of a GCC
38051 builtin and then its argument prototype would still apply. */
38059 return inet_addr ();
38064 rm -f conftest.
$ac_objext conftest
$ac_exeext
38065 if { (ac_try
="$ac_link"
38066 case "(($ac_try" in
38067 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38068 *) ac_try_echo=$ac_try;;
38070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38071 (eval "$ac_link") 2>conftest.er1
38073 grep -v '^ *+' conftest.er1 >conftest.err
38075 cat conftest.err >&5
38076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38077 (exit $ac_status); } && {
38078 test -z "$ac_c_werror_flag" ||
38079 test ! -s conftest.err
38080 } && test -s conftest$ac_exeext &&
38081 $as_test_x conftest$ac_exeext; then
38082 ac_cv_lib_nsl_inet_addr=yes
38084 echo "$as_me: failed program was:" >&5
38085 sed 's/^/| /' conftest.$ac_ext >&5
38087 ac_cv_lib_nsl_inet_addr=no
38090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38091 conftest$ac_exeext conftest.$ac_ext
38092 LIBS=$ac_check_lib_save_LIBS
38094 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38095 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38096 if test $ac_cv_lib_nsl_inet_addr = yes; then
38100 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38101 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38102 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38103 echo $ECHO_N "(cached) $ECHO_C" >&6
38105 ac_check_lib_save_LIBS=$LIBS
38106 LIBS="-lresolv $LIBS"
38107 cat >conftest.$ac_ext <<_ACEOF
38110 cat confdefs.h >>conftest.$ac_ext
38111 cat >>conftest.$ac_ext <<_ACEOF
38112 /* end confdefs.h. */
38114 /* Override any GCC internal prototype to avoid an error.
38115 Use char because int might match the return type of a GCC
38116 builtin and then its argument prototype would still apply. */
38124 return inet_addr ();
38129 rm -f conftest.$ac_objext conftest$ac_exeext
38130 if { (ac_try="$ac_link"
38131 case "(($ac_try" in
38132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38133 *) ac_try_echo
=$ac_try;;
38135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38136 (eval "$ac_link") 2>conftest.er1
38138 grep -v '^ *+' conftest.er1
>conftest.err
38140 cat conftest.err
>&5
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); } && {
38143 test -z "$ac_c_werror_flag" ||
38144 test ! -s conftest.err
38145 } && test -s conftest
$ac_exeext &&
38146 $as_test_x conftest
$ac_exeext; then
38147 ac_cv_lib_resolv_inet_addr
=yes
38149 echo "$as_me: failed program was:" >&5
38150 sed 's/^/| /' conftest.
$ac_ext >&5
38152 ac_cv_lib_resolv_inet_addr
=no
38155 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38156 conftest
$ac_exeext conftest.
$ac_ext
38157 LIBS
=$ac_check_lib_save_LIBS
38159 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38160 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38161 if test $ac_cv_lib_resolv_inet_addr = yes; then
38165 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38166 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38167 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38168 echo $ECHO_N "(cached) $ECHO_C" >&6
38170 ac_check_lib_save_LIBS
=$LIBS
38171 LIBS
="-lsocket $LIBS"
38172 cat >conftest.
$ac_ext <<_ACEOF
38175 cat confdefs.h
>>conftest.
$ac_ext
38176 cat >>conftest.
$ac_ext <<_ACEOF
38177 /* end confdefs.h. */
38179 /* Override any GCC internal prototype to avoid an error.
38180 Use char because int might match the return type of a GCC
38181 builtin and then its argument prototype would still apply. */
38189 return inet_addr ();
38194 rm -f conftest.
$ac_objext conftest
$ac_exeext
38195 if { (ac_try
="$ac_link"
38196 case "(($ac_try" in
38197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38198 *) ac_try_echo=$ac_try;;
38200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38201 (eval "$ac_link") 2>conftest.er1
38203 grep -v '^ *+' conftest.er1 >conftest.err
38205 cat conftest.err >&5
38206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38207 (exit $ac_status); } && {
38208 test -z "$ac_c_werror_flag" ||
38209 test ! -s conftest.err
38210 } && test -s conftest$ac_exeext &&
38211 $as_test_x conftest$ac_exeext; then
38212 ac_cv_lib_socket_inet_addr=yes
38214 echo "$as_me: failed program was:" >&5
38215 sed 's/^/| /' conftest.$ac_ext >&5
38217 ac_cv_lib_socket_inet_addr=no
38220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38221 conftest$ac_exeext conftest.$ac_ext
38222 LIBS=$ac_check_lib_save_LIBS
38224 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38225 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38226 if test $ac_cv_lib_socket_inet_addr = yes; then
38246 for ac_func in inet_aton
38248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38249 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38251 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38252 echo $ECHO_N "(cached) $ECHO_C" >&6
38254 cat >conftest.$ac_ext <<_ACEOF
38257 cat confdefs.h >>conftest.$ac_ext
38258 cat >>conftest.$ac_ext <<_ACEOF
38259 /* end confdefs.h. */
38260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38262 #define $ac_func innocuous_$ac_func
38264 /* System header to define __stub macros and hopefully few prototypes,
38265 which can conflict with char $ac_func (); below.
38266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38267 <limits.h> exists even on freestanding compilers. */
38270 # include <limits.h>
38272 # include <assert.h>
38277 /* Override any GCC internal prototype to avoid an error.
38278 Use char because int might match the return type of a GCC
38279 builtin and then its argument prototype would still apply. */
38284 /* The GNU C library defines this for functions which it implements
38285 to always fail with ENOSYS. Some functions are actually named
38286 something starting with __ and the normal name is an alias. */
38287 #if defined __stub_$ac_func || defined __stub___$ac_func
38294 return $ac_func ();
38299 rm -f conftest.$ac_objext conftest$ac_exeext
38300 if { (ac_try="$ac_link"
38301 case "(($ac_try" in
38302 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38303 *) ac_try_echo
=$ac_try;;
38305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38306 (eval "$ac_link") 2>conftest.er1
38308 grep -v '^ *+' conftest.er1
>conftest.err
38310 cat conftest.err
>&5
38311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38312 (exit $ac_status); } && {
38313 test -z "$ac_c_werror_flag" ||
38314 test ! -s conftest.err
38315 } && test -s conftest
$ac_exeext &&
38316 $as_test_x conftest
$ac_exeext; then
38317 eval "$as_ac_var=yes"
38319 echo "$as_me: failed program was:" >&5
38320 sed 's/^/| /' conftest.
$ac_ext >&5
38322 eval "$as_ac_var=no"
38325 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38326 conftest
$ac_exeext conftest.
$ac_ext
38328 ac_res
=`eval echo '${'$as_ac_var'}'`
38329 { echo "$as_me:$LINENO: result: $ac_res" >&5
38330 echo "${ECHO_T}$ac_res" >&6; }
38331 if test `eval echo '${'$as_ac_var'}'` = yes; then
38332 cat >>confdefs.h
<<_ACEOF
38333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38335 cat >>confdefs.h
<<\_ACEOF
38336 #define HAVE_INET_ATON 1
38341 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38342 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38343 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38344 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38345 echo $ECHO_N "(cached) $ECHO_C" >&6
38347 ac_check_lib_save_LIBS
=$LIBS
38348 LIBS
="-l$INET_LINK $LIBS"
38349 cat >conftest.
$ac_ext <<_ACEOF
38352 cat confdefs.h
>>conftest.
$ac_ext
38353 cat >>conftest.
$ac_ext <<_ACEOF
38354 /* end confdefs.h. */
38356 /* Override any GCC internal prototype to avoid an error.
38357 Use char because int might match the return type of a GCC
38358 builtin and then its argument prototype would still apply. */
38366 return inet_aton ();
38371 rm -f conftest.
$ac_objext conftest
$ac_exeext
38372 if { (ac_try
="$ac_link"
38373 case "(($ac_try" in
38374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38375 *) ac_try_echo=$ac_try;;
38377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38378 (eval "$ac_link") 2>conftest.er1
38380 grep -v '^ *+' conftest.er1 >conftest.err
38382 cat conftest.err >&5
38383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38384 (exit $ac_status); } && {
38385 test -z "$ac_c_werror_flag" ||
38386 test ! -s conftest.err
38387 } && test -s conftest$ac_exeext &&
38388 $as_test_x conftest$ac_exeext; then
38389 eval "$as_ac_Lib=yes"
38391 echo "$as_me: failed program was:" >&5
38392 sed 's/^/| /' conftest.$ac_ext >&5
38394 eval "$as_ac_Lib=no"
38397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38398 conftest$ac_exeext conftest.$ac_ext
38399 LIBS=$ac_check_lib_save_LIBS
38401 ac_res=`eval echo '${'$as_ac_Lib'}'`
38402 { echo "$as_me:$LINENO: result: $ac_res" >&5
38403 echo "${ECHO_T}$ac_res" >&6; }
38404 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38405 cat >>confdefs.h <<\_ACEOF
38406 #define HAVE_INET_ATON 1
38416 if test "x$INET_LINK" != "x"; then
38417 cat >>confdefs.h <<\_ACEOF
38418 #define HAVE_INET_ADDR 1
38421 INET_LINK=" -l$INET_LINK"
38425 for wx_func in fdopen
38427 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38428 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38429 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38430 echo $ECHO_N "(cached) $ECHO_C" >&6
38433 cat >conftest.$ac_ext <<_ACEOF
38437 cat confdefs.h >>conftest.$ac_ext
38438 cat >>conftest.$ac_ext <<_ACEOF
38439 /* end confdefs.h. */
38442 $ac_includes_default
38458 rm -f conftest.$ac_objext conftest$ac_exeext
38459 if { (ac_try="$ac_link"
38460 case "(($ac_try" in
38461 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38462 *) ac_try_echo
=$ac_try;;
38464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38465 (eval "$ac_link") 2>conftest.er1
38467 grep -v '^ *+' conftest.er1
>conftest.err
38469 cat conftest.err
>&5
38470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38471 (exit $ac_status); } && {
38472 test -z "$ac_c_werror_flag" ||
38473 test ! -s conftest.err
38474 } && test -s conftest
$ac_exeext &&
38475 $as_test_x conftest
$ac_exeext; then
38476 eval wx_cv_func_
$wx_func=yes
38478 echo "$as_me: failed program was:" >&5
38479 sed 's/^/| /' conftest.
$ac_ext >&5
38481 eval wx_cv_func_
$wx_func=no
38484 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38485 conftest
$ac_exeext conftest.
$ac_ext
38488 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38489 { echo "$as_me:$LINENO: result: $ac_res" >&5
38490 echo "${ECHO_T}$ac_res" >&6; }
38492 if eval test \
$wx_cv_func_$wx_func = yes
38494 cat >>confdefs.h
<<_ACEOF
38495 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38506 if test "$wxUSE_TARSTREAM" = "yes"; then
38508 for wx_func
in sysconf
38510 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38511 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38512 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38513 echo $ECHO_N "(cached) $ECHO_C" >&6
38516 cat >conftest.
$ac_ext <<_ACEOF
38520 cat confdefs.h
>>conftest.
$ac_ext
38521 cat >>conftest.
$ac_ext <<_ACEOF
38522 /* end confdefs.h. */
38525 $ac_includes_default
38541 rm -f conftest.
$ac_objext conftest
$ac_exeext
38542 if { (ac_try
="$ac_link"
38543 case "(($ac_try" in
38544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38545 *) ac_try_echo=$ac_try;;
38547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38548 (eval "$ac_link") 2>conftest.er1
38550 grep -v '^ *+' conftest.er1 >conftest.err
38552 cat conftest.err >&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); } && {
38555 test -z "$ac_c_werror_flag" ||
38556 test ! -s conftest.err
38557 } && test -s conftest$ac_exeext &&
38558 $as_test_x conftest$ac_exeext; then
38559 eval wx_cv_func_$wx_func=yes
38561 echo "$as_me: failed program was:" >&5
38562 sed 's/^/| /' conftest.$ac_ext >&5
38564 eval wx_cv_func_$wx_func=no
38567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38568 conftest$ac_exeext conftest.$ac_ext
38571 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38572 { echo "$as_me:$LINENO: result: $ac_res" >&5
38573 echo "${ECHO_T}$ac_res" >&6; }
38575 if eval test \$wx_cv_func_$wx_func = yes
38577 cat >>confdefs.h <<_ACEOF
38578 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38590 for wx_func in getpwuid_r
38592 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38593 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38594 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38595 echo $ECHO_N "(cached) $ECHO_C" >&6
38598 cat >conftest.$ac_ext <<_ACEOF
38602 cat confdefs.h >>conftest.$ac_ext
38603 cat >>conftest.$ac_ext <<_ACEOF
38604 /* end confdefs.h. */
38610 $ac_includes_default
38620 struct passwd pw, *ppw;
38622 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38630 rm -f conftest.$ac_objext conftest$ac_exeext
38631 if { (ac_try="$ac_link"
38632 case "(($ac_try" in
38633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38634 *) ac_try_echo
=$ac_try;;
38636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38637 (eval "$ac_link") 2>conftest.er1
38639 grep -v '^ *+' conftest.er1
>conftest.err
38641 cat conftest.err
>&5
38642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38643 (exit $ac_status); } && {
38644 test -z "$ac_c_werror_flag" ||
38645 test ! -s conftest.err
38646 } && test -s conftest
$ac_exeext &&
38647 $as_test_x conftest
$ac_exeext; then
38648 eval wx_cv_func_
$wx_func=yes
38650 echo "$as_me: failed program was:" >&5
38651 sed 's/^/| /' conftest.
$ac_ext >&5
38653 eval wx_cv_func_
$wx_func=no
38656 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38657 conftest
$ac_exeext conftest.
$ac_ext
38660 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38661 { echo "$as_me:$LINENO: result: $ac_res" >&5
38662 echo "${ECHO_T}$ac_res" >&6; }
38664 if eval test \
$wx_cv_func_$wx_func = yes
38666 cat >>confdefs.h
<<_ACEOF
38667 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38679 for wx_func
in getgrgid_r
38681 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38682 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38683 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38684 echo $ECHO_N "(cached) $ECHO_C" >&6
38687 cat >conftest.
$ac_ext <<_ACEOF
38691 cat confdefs.h
>>conftest.
$ac_ext
38692 cat >>conftest.
$ac_ext <<_ACEOF
38693 /* end confdefs.h. */
38699 $ac_includes_default
38709 struct group grp, *pgrp;
38711 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38719 rm -f conftest.
$ac_objext conftest
$ac_exeext
38720 if { (ac_try
="$ac_link"
38721 case "(($ac_try" in
38722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38723 *) ac_try_echo=$ac_try;;
38725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38726 (eval "$ac_link") 2>conftest.er1
38728 grep -v '^ *+' conftest.er1 >conftest.err
38730 cat conftest.err >&5
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); } && {
38733 test -z "$ac_c_werror_flag" ||
38734 test ! -s conftest.err
38735 } && test -s conftest$ac_exeext &&
38736 $as_test_x conftest$ac_exeext; then
38737 eval wx_cv_func_$wx_func=yes
38739 echo "$as_me: failed program was:" >&5
38740 sed 's/^/| /' conftest.$ac_ext >&5
38742 eval wx_cv_func_$wx_func=no
38745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38746 conftest$ac_exeext conftest.$ac_ext
38749 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38750 { echo "$as_me:$LINENO: result: $ac_res" >&5
38751 echo "${ECHO_T}$ac_res" >&6; }
38753 if eval test \$wx_cv_func_$wx_func = yes
38755 cat >>confdefs.h <<_ACEOF
38756 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38772 cat >confcache <<\_ACEOF
38773 # This file is a shell script that caches the results of configure
38774 # tests run on this system so they can be shared between configure
38775 # scripts and configure runs, see configure's option --config-cache.
38776 # It is not useful on other systems. If it contains results you don't
38777 # want to keep, you may remove or edit it.
38779 # config.status only pays attention to the cache file if you give it
38780 # the --recheck option to rerun configure.
38782 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38783 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38784 # following values.
38788 # The following way of writing the cache mishandles newlines in values,
38789 # but we know of no workaround that is simple, portable, and efficient.
38790 # So, we kill variables containing newlines.
38791 # Ultrix sh set writes to stderr and can't be redirected directly,
38792 # and sets the high bit in the cache file unless we assign to the vars.
38794 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38795 eval ac_val
=\$
$ac_var
38799 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38800 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38803 _
| IFS
| as_nl
) ;; #(
38804 *) $as_unset $ac_var ;;
38810 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38811 *${as_nl}ac_space
=\
*)
38812 # `set' does not quote correctly, so add quotes (double-quote
38813 # substitution turns \\\\ into \\, and sed turns \\ into \).
38816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38819 # `set' quotes correctly as required by POSIX, so do not add quotes.
38820 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38829 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38831 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38833 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38834 if test -w "$cache_file"; then
38835 test "x$cache_file" != "x/dev/null" &&
38836 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38837 echo "$as_me: updating cache $cache_file" >&6;}
38838 cat confcache
>$cache_file
38840 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38841 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38847 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38853 if test "$wxUSE_THREADS" = "yes" ; then
38854 if test "$USE_BEOS" = 1; then
38855 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38856 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38861 if test "$wxUSE_THREADS" = "yes" ; then
38864 THREAD_OPTS
="-pthread"
38865 if test "x$SUNCXX" = xyes
; then
38866 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38870 *-*-solaris2* | *-*-sunos4* )
38871 if test "x$GCC" = "xyes"; then
38872 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38876 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38878 *-*-darwin* | *-*-cygwin* )
38882 THREAD_OPTS
="pthreads"
38885 if test "x$GCC" = "xyes"; then
38886 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38894 if test "x$GCC" = "xyes"; then
38900 if test "x$GCC" != "xyes"; then
38901 THREAD_OPTS
="-Ethread"
38906 THREAD_OPTS
="$THREAD_OPTS pthread none"
38909 for flag
in $THREAD_OPTS; do
38912 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38913 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38917 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38918 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38919 THREADS_CFLAGS
="$flag"
38923 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38924 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38925 THREADS_LINK
="-l$flag"
38930 save_CFLAGS
="$CFLAGS"
38931 LIBS
="$THREADS_LINK $LIBS"
38932 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38934 cat >conftest.
$ac_ext <<_ACEOF
38937 cat confdefs.h
>>conftest.
$ac_ext
38938 cat >>conftest.
$ac_ext <<_ACEOF
38939 /* end confdefs.h. */
38940 #include <pthread.h>
38944 pthread_create(0,0,0,0);
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38956 (eval "$ac_link") 2>conftest.er1
38958 grep -v '^ *+' conftest.er1 >conftest.err
38960 cat conftest.err >&5
38961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38962 (exit $ac_status); } && {
38963 test -z "$ac_c_werror_flag" ||
38964 test ! -s conftest.err
38965 } && test -s conftest$ac_exeext &&
38966 $as_test_x conftest$ac_exeext; then
38969 echo "$as_me: failed program was:" >&5
38970 sed 's/^/| /' conftest.$ac_ext >&5
38975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38976 conftest$ac_exeext conftest.$ac_ext
38979 CFLAGS="$save_CFLAGS"
38981 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38982 echo "${ECHO_T}$THREADS_OK" >&6; }
38983 if test "x$THREADS_OK" = "xyes"; then
38991 if test "x$THREADS_OK" != "xyes"; then
38993 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38994 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38996 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38997 LIBS="$THREADS_LINK $LIBS"
38999 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39000 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39004 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39005 flag="-D_THREAD_SAFE"
39008 flag="-D_THREAD_SAFE"
39011 flag="-D_REENTRANT"
39012 if test "x$GCC" != "xyes"; then
39013 flag="$flag -D_RWSTD_MULTI_THREAD"
39016 *solaris* | alpha*-osf*)
39017 flag="-D_REENTRANT"
39020 { echo "$as_me:$LINENO: result: ${flag}" >&5
39021 echo "${ECHO_T}${flag}" >&6; }
39022 if test "x$flag" != xno; then
39023 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39026 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39030 if test "$wxUSE_THREADS" = "yes" ; then
39032 for ac_func in thr_setconcurrency
39034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39035 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39037 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39038 echo $ECHO_N "(cached) $ECHO_C" >&6
39040 cat >conftest.$ac_ext <<_ACEOF
39043 cat confdefs.h >>conftest.$ac_ext
39044 cat >>conftest.$ac_ext <<_ACEOF
39045 /* end confdefs.h. */
39046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39048 #define $ac_func innocuous_$ac_func
39050 /* System header to define __stub macros and hopefully few prototypes,
39051 which can conflict with char $ac_func (); below.
39052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39053 <limits.h> exists even on freestanding compilers. */
39056 # include <limits.h>
39058 # include <assert.h>
39063 /* Override any GCC internal prototype to avoid an error.
39064 Use char because int might match the return type of a GCC
39065 builtin and then its argument prototype would still apply. */
39070 /* The GNU C library defines this for functions which it implements
39071 to always fail with ENOSYS. Some functions are actually named
39072 something starting with __ and the normal name is an alias. */
39073 #if defined __stub_$ac_func || defined __stub___$ac_func
39080 return $ac_func ();
39085 rm -f conftest.$ac_objext conftest$ac_exeext
39086 if { (ac_try="$ac_link"
39087 case "(($ac_try" in
39088 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39089 *) ac_try_echo
=$ac_try;;
39091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39092 (eval "$ac_link") 2>conftest.er1
39094 grep -v '^ *+' conftest.er1
>conftest.err
39096 cat conftest.err
>&5
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); } && {
39099 test -z "$ac_c_werror_flag" ||
39100 test ! -s conftest.err
39101 } && test -s conftest
$ac_exeext &&
39102 $as_test_x conftest
$ac_exeext; then
39103 eval "$as_ac_var=yes"
39105 echo "$as_me: failed program was:" >&5
39106 sed 's/^/| /' conftest.
$ac_ext >&5
39108 eval "$as_ac_var=no"
39111 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39112 conftest
$ac_exeext conftest.
$ac_ext
39114 ac_res
=`eval echo '${'$as_ac_var'}'`
39115 { echo "$as_me:$LINENO: result: $ac_res" >&5
39116 echo "${ECHO_T}$ac_res" >&6; }
39117 if test `eval echo '${'$as_ac_var'}'` = yes; then
39118 cat >>confdefs.h
<<_ACEOF
39119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39126 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39127 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39128 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39129 echo $ECHO_N "(cached) $ECHO_C" >&6
39133 ac_cpp
='$CXXCPP $CPPFLAGS'
39134 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39135 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39136 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39138 cat >conftest.
$ac_ext <<_ACEOF
39141 cat confdefs.h
>>conftest.
$ac_ext
39142 cat >>conftest.
$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39144 #include <pthread.h>
39145 void ThreadCleanupFunc(void *p);
39152 pthread_cleanup_push(ThreadCleanupFunc, p);
39153 pthread_cleanup_pop(0);
39159 rm -f conftest.
$ac_objext
39160 if { (ac_try
="$ac_compile"
39161 case "(($ac_try" in
39162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39163 *) ac_try_echo=$ac_try;;
39165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39166 (eval "$ac_compile") 2>conftest.er1
39168 grep -v '^ *+' conftest.er1 >conftest.err
39170 cat conftest.err >&5
39171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39172 (exit $ac_status); } && {
39173 test -z "$ac_cxx_werror_flag" ||
39174 test ! -s conftest.err
39175 } && test -s conftest.$ac_objext; then
39177 wx_cv_func_pthread_cleanup=yes
39180 echo "$as_me: failed program was:" >&5
39181 sed 's/^/| /' conftest.$ac_ext >&5
39184 wx_cv_func_pthread_cleanup=no
39189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39191 ac_cpp='$CPP $CPPFLAGS'
39192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39198 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39199 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39200 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39201 cat >>confdefs.h <<\_ACEOF
39202 #define wxHAVE_PTHREAD_CLEANUP 1
39208 for ac_header in sched.h
39210 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39211 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39213 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39214 echo $ECHO_N "(cached) $ECHO_C" >&6
39216 cat >conftest.$ac_ext <<_ACEOF
39219 cat confdefs.h >>conftest.$ac_ext
39220 cat >>conftest.$ac_ext <<_ACEOF
39221 /* end confdefs.h. */
39222 $ac_includes_default
39224 #include <$ac_header>
39226 rm -f conftest.$ac_objext
39227 if { (ac_try="$ac_compile"
39228 case "(($ac_try" in
39229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39230 *) ac_try_echo
=$ac_try;;
39232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39233 (eval "$ac_compile") 2>conftest.er1
39235 grep -v '^ *+' conftest.er1
>conftest.err
39237 cat conftest.err
>&5
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); } && {
39240 test -z "$ac_c_werror_flag" ||
39241 test ! -s conftest.err
39242 } && test -s conftest.
$ac_objext; then
39243 eval "$as_ac_Header=yes"
39245 echo "$as_me: failed program was:" >&5
39246 sed 's/^/| /' conftest.
$ac_ext >&5
39248 eval "$as_ac_Header=no"
39251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39253 ac_res
=`eval echo '${'$as_ac_Header'}'`
39254 { echo "$as_me:$LINENO: result: $ac_res" >&5
39255 echo "${ECHO_T}$ac_res" >&6; }
39256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39257 cat >>confdefs.h
<<_ACEOF
39258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39265 if test "$ac_cv_header_sched_h" = "yes"; then
39266 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39267 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39268 if test "${ac_cv_func_sched_yield+set}" = set; then
39269 echo $ECHO_N "(cached) $ECHO_C" >&6
39271 cat >conftest.
$ac_ext <<_ACEOF
39274 cat confdefs.h
>>conftest.
$ac_ext
39275 cat >>conftest.
$ac_ext <<_ACEOF
39276 /* end confdefs.h. */
39277 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39279 #define sched_yield innocuous_sched_yield
39281 /* System header to define __stub macros and hopefully few prototypes,
39282 which can conflict with char sched_yield (); below.
39283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39284 <limits.h> exists even on freestanding compilers. */
39287 # include <limits.h>
39289 # include <assert.h>
39294 /* Override any GCC internal prototype to avoid an error.
39295 Use char because int might match the return type of a GCC
39296 builtin and then its argument prototype would still apply. */
39300 char sched_yield ();
39301 /* The GNU C library defines this for functions which it implements
39302 to always fail with ENOSYS. Some functions are actually named
39303 something starting with __ and the normal name is an alias. */
39304 #if defined __stub_sched_yield || defined __stub___sched_yield
39311 return sched_yield ();
39316 rm -f conftest.
$ac_objext conftest
$ac_exeext
39317 if { (ac_try
="$ac_link"
39318 case "(($ac_try" in
39319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39320 *) ac_try_echo=$ac_try;;
39322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39323 (eval "$ac_link") 2>conftest.er1
39325 grep -v '^ *+' conftest.er1 >conftest.err
39327 cat conftest.err >&5
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); } && {
39330 test -z "$ac_c_werror_flag" ||
39331 test ! -s conftest.err
39332 } && test -s conftest$ac_exeext &&
39333 $as_test_x conftest$ac_exeext; then
39334 ac_cv_func_sched_yield=yes
39336 echo "$as_me: failed program was:" >&5
39337 sed 's/^/| /' conftest.$ac_ext >&5
39339 ac_cv_func_sched_yield=no
39342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39343 conftest$ac_exeext conftest.$ac_ext
39345 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39346 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39347 if test $ac_cv_func_sched_yield = yes; then
39348 cat >>confdefs.h <<\_ACEOF
39349 #define HAVE_SCHED_YIELD 1
39354 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39355 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39356 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39357 echo $ECHO_N "(cached) $ECHO_C" >&6
39359 ac_check_lib_save_LIBS=$LIBS
39360 LIBS="-lposix4 $LIBS"
39361 cat >conftest.$ac_ext <<_ACEOF
39364 cat confdefs.h >>conftest.$ac_ext
39365 cat >>conftest.$ac_ext <<_ACEOF
39366 /* end confdefs.h. */
39368 /* Override any GCC internal prototype to avoid an error.
39369 Use char because int might match the return type of a GCC
39370 builtin and then its argument prototype would still apply. */
39374 char sched_yield ();
39378 return sched_yield ();
39383 rm -f conftest.$ac_objext conftest$ac_exeext
39384 if { (ac_try="$ac_link"
39385 case "(($ac_try" in
39386 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39387 *) ac_try_echo
=$ac_try;;
39389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39390 (eval "$ac_link") 2>conftest.er1
39392 grep -v '^ *+' conftest.er1
>conftest.err
39394 cat conftest.err
>&5
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); } && {
39397 test -z "$ac_c_werror_flag" ||
39398 test ! -s conftest.err
39399 } && test -s conftest
$ac_exeext &&
39400 $as_test_x conftest
$ac_exeext; then
39401 ac_cv_lib_posix4_sched_yield
=yes
39403 echo "$as_me: failed program was:" >&5
39404 sed 's/^/| /' conftest.
$ac_ext >&5
39406 ac_cv_lib_posix4_sched_yield
=no
39409 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39410 conftest
$ac_exeext conftest.
$ac_ext
39411 LIBS
=$ac_check_lib_save_LIBS
39413 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39414 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39415 if test $ac_cv_lib_posix4_sched_yield = yes; then
39416 cat >>confdefs.h
<<\_ACEOF
39417 #define HAVE_SCHED_YIELD 1
39419 POSIX4_LINK
=" -lposix4"
39421 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39422 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39433 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39434 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39435 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39436 echo $ECHO_N "(cached) $ECHO_C" >&6
39438 cat >conftest.
$ac_ext <<_ACEOF
39441 cat confdefs.h
>>conftest.
$ac_ext
39442 cat >>conftest.
$ac_ext <<_ACEOF
39443 /* end confdefs.h. */
39444 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39446 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39448 /* System header to define __stub macros and hopefully few prototypes,
39449 which can conflict with char pthread_attr_getschedpolicy (); below.
39450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39451 <limits.h> exists even on freestanding compilers. */
39454 # include <limits.h>
39456 # include <assert.h>
39459 #undef pthread_attr_getschedpolicy
39461 /* Override any GCC internal prototype to avoid an error.
39462 Use char because int might match the return type of a GCC
39463 builtin and then its argument prototype would still apply. */
39467 char pthread_attr_getschedpolicy ();
39468 /* The GNU C library defines this for functions which it implements
39469 to always fail with ENOSYS. Some functions are actually named
39470 something starting with __ and the normal name is an alias. */
39471 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39478 return pthread_attr_getschedpolicy ();
39483 rm -f conftest.
$ac_objext conftest
$ac_exeext
39484 if { (ac_try
="$ac_link"
39485 case "(($ac_try" in
39486 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39487 *) ac_try_echo=$ac_try;;
39489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39490 (eval "$ac_link") 2>conftest.er1
39492 grep -v '^ *+' conftest.er1 >conftest.err
39494 cat conftest.err >&5
39495 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 $as_test_x conftest$ac_exeext; then
39501 ac_cv_func_pthread_attr_getschedpolicy=yes
39503 echo "$as_me: failed program was:" >&5
39504 sed 's/^/| /' conftest.$ac_ext >&5
39506 ac_cv_func_pthread_attr_getschedpolicy=no
39509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39510 conftest$ac_exeext conftest.$ac_ext
39512 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39513 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39514 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39515 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39516 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39517 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39518 echo $ECHO_N "(cached) $ECHO_C" >&6
39520 cat >conftest.$ac_ext <<_ACEOF
39523 cat confdefs.h >>conftest.$ac_ext
39524 cat >>conftest.$ac_ext <<_ACEOF
39525 /* end confdefs.h. */
39526 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39528 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39530 /* System header to define __stub macros and hopefully few prototypes,
39531 which can conflict with char pthread_attr_setschedparam (); below.
39532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39533 <limits.h> exists even on freestanding compilers. */
39536 # include <limits.h>
39538 # include <assert.h>
39541 #undef pthread_attr_setschedparam
39543 /* Override any GCC internal prototype to avoid an error.
39544 Use char because int might match the return type of a GCC
39545 builtin and then its argument prototype would still apply. */
39549 char pthread_attr_setschedparam ();
39550 /* The GNU C library defines this for functions which it implements
39551 to always fail with ENOSYS. Some functions are actually named
39552 something starting with __ and the normal name is an alias. */
39553 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39560 return pthread_attr_setschedparam ();
39565 rm -f conftest.$ac_objext conftest$ac_exeext
39566 if { (ac_try="$ac_link"
39567 case "(($ac_try" in
39568 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39569 *) ac_try_echo
=$ac_try;;
39571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39572 (eval "$ac_link") 2>conftest.er1
39574 grep -v '^ *+' conftest.er1
>conftest.err
39576 cat conftest.err
>&5
39577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39578 (exit $ac_status); } && {
39579 test -z "$ac_c_werror_flag" ||
39580 test ! -s conftest.err
39581 } && test -s conftest
$ac_exeext &&
39582 $as_test_x conftest
$ac_exeext; then
39583 ac_cv_func_pthread_attr_setschedparam
=yes
39585 echo "$as_me: failed program was:" >&5
39586 sed 's/^/| /' conftest.
$ac_ext >&5
39588 ac_cv_func_pthread_attr_setschedparam
=no
39591 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39592 conftest
$ac_exeext conftest.
$ac_ext
39594 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39595 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39596 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39597 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39598 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39599 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39600 echo $ECHO_N "(cached) $ECHO_C" >&6
39602 cat >conftest.
$ac_ext <<_ACEOF
39605 cat confdefs.h
>>conftest.
$ac_ext
39606 cat >>conftest.
$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39608 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39610 #define sched_get_priority_max innocuous_sched_get_priority_max
39612 /* System header to define __stub macros and hopefully few prototypes,
39613 which can conflict with char sched_get_priority_max (); below.
39614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39615 <limits.h> exists even on freestanding compilers. */
39618 # include <limits.h>
39620 # include <assert.h>
39623 #undef sched_get_priority_max
39625 /* Override any GCC internal prototype to avoid an error.
39626 Use char because int might match the return type of a GCC
39627 builtin and then its argument prototype would still apply. */
39631 char sched_get_priority_max ();
39632 /* The GNU C library defines this for functions which it implements
39633 to always fail with ENOSYS. Some functions are actually named
39634 something starting with __ and the normal name is an alias. */
39635 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39642 return sched_get_priority_max ();
39647 rm -f conftest.
$ac_objext conftest
$ac_exeext
39648 if { (ac_try
="$ac_link"
39649 case "(($ac_try" in
39650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39651 *) ac_try_echo=$ac_try;;
39653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39654 (eval "$ac_link") 2>conftest.er1
39656 grep -v '^ *+' conftest.er1 >conftest.err
39658 cat conftest.err >&5
39659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39660 (exit $ac_status); } && {
39661 test -z "$ac_c_werror_flag" ||
39662 test ! -s conftest.err
39663 } && test -s conftest$ac_exeext &&
39664 $as_test_x conftest$ac_exeext; then
39665 ac_cv_func_sched_get_priority_max=yes
39667 echo "$as_me: failed program was:" >&5
39668 sed 's/^/| /' conftest.$ac_ext >&5
39670 ac_cv_func_sched_get_priority_max=no
39673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39674 conftest$ac_exeext conftest.$ac_ext
39676 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39677 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39678 if test $ac_cv_func_sched_get_priority_max = yes; then
39681 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39682 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39683 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39684 echo $ECHO_N "(cached) $ECHO_C" >&6
39686 ac_check_lib_save_LIBS=$LIBS
39687 LIBS="-lposix4 $LIBS"
39688 cat >conftest.$ac_ext <<_ACEOF
39691 cat confdefs.h >>conftest.$ac_ext
39692 cat >>conftest.$ac_ext <<_ACEOF
39693 /* end confdefs.h. */
39695 /* Override any GCC internal prototype to avoid an error.
39696 Use char because int might match the return type of a GCC
39697 builtin and then its argument prototype would still apply. */
39701 char sched_get_priority_max ();
39705 return sched_get_priority_max ();
39710 rm -f conftest.$ac_objext conftest$ac_exeext
39711 if { (ac_try="$ac_link"
39712 case "(($ac_try" in
39713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39714 *) ac_try_echo
=$ac_try;;
39716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39717 (eval "$ac_link") 2>conftest.er1
39719 grep -v '^ *+' conftest.er1
>conftest.err
39721 cat conftest.err
>&5
39722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39723 (exit $ac_status); } && {
39724 test -z "$ac_c_werror_flag" ||
39725 test ! -s conftest.err
39726 } && test -s conftest
$ac_exeext &&
39727 $as_test_x conftest
$ac_exeext; then
39728 ac_cv_lib_posix4_sched_get_priority_max
=yes
39730 echo "$as_me: failed program was:" >&5
39731 sed 's/^/| /' conftest.
$ac_ext >&5
39733 ac_cv_lib_posix4_sched_get_priority_max
=no
39736 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39737 conftest
$ac_exeext conftest.
$ac_ext
39738 LIBS
=$ac_check_lib_save_LIBS
39740 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39741 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39742 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39745 POSIX4_LINK
=" -lposix4"
39759 if test "$HAVE_PRIOR_FUNCS" = 1; then
39760 cat >>confdefs.h
<<\_ACEOF
39761 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39765 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39766 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39769 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39770 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39771 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39772 echo $ECHO_N "(cached) $ECHO_C" >&6
39774 cat >conftest.
$ac_ext <<_ACEOF
39777 cat confdefs.h
>>conftest.
$ac_ext
39778 cat >>conftest.
$ac_ext <<_ACEOF
39779 /* end confdefs.h. */
39780 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39782 #define pthread_cancel innocuous_pthread_cancel
39784 /* System header to define __stub macros and hopefully few prototypes,
39785 which can conflict with char pthread_cancel (); below.
39786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39787 <limits.h> exists even on freestanding compilers. */
39790 # include <limits.h>
39792 # include <assert.h>
39795 #undef pthread_cancel
39797 /* Override any GCC internal prototype to avoid an error.
39798 Use char because int might match the return type of a GCC
39799 builtin and then its argument prototype would still apply. */
39803 char pthread_cancel ();
39804 /* The GNU C library defines this for functions which it implements
39805 to always fail with ENOSYS. Some functions are actually named
39806 something starting with __ and the normal name is an alias. */
39807 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39814 return pthread_cancel ();
39819 rm -f conftest.
$ac_objext conftest
$ac_exeext
39820 if { (ac_try
="$ac_link"
39821 case "(($ac_try" in
39822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39823 *) ac_try_echo=$ac_try;;
39825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39826 (eval "$ac_link") 2>conftest.er1
39828 grep -v '^ *+' conftest.er1 >conftest.err
39830 cat conftest.err >&5
39831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39832 (exit $ac_status); } && {
39833 test -z "$ac_c_werror_flag" ||
39834 test ! -s conftest.err
39835 } && test -s conftest$ac_exeext &&
39836 $as_test_x conftest$ac_exeext; then
39837 ac_cv_func_pthread_cancel=yes
39839 echo "$as_me: failed program was:" >&5
39840 sed 's/^/| /' conftest.$ac_ext >&5
39842 ac_cv_func_pthread_cancel=no
39845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39846 conftest$ac_exeext conftest.$ac_ext
39848 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39849 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39850 if test $ac_cv_func_pthread_cancel = yes; then
39851 cat >>confdefs.h <<\_ACEOF
39852 #define HAVE_PTHREAD_CANCEL 1
39856 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39857 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39861 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39862 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39863 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39864 echo $ECHO_N "(cached) $ECHO_C" >&6
39866 cat >conftest.$ac_ext <<_ACEOF
39869 cat confdefs.h >>conftest.$ac_ext
39870 cat >>conftest.$ac_ext <<_ACEOF
39871 /* end confdefs.h. */
39872 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39874 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39876 /* System header to define __stub macros and hopefully few prototypes,
39877 which can conflict with char pthread_mutex_timedlock (); below.
39878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39879 <limits.h> exists even on freestanding compilers. */
39882 # include <limits.h>
39884 # include <assert.h>
39887 #undef pthread_mutex_timedlock
39889 /* Override any GCC internal prototype to avoid an error.
39890 Use char because int might match the return type of a GCC
39891 builtin and then its argument prototype would still apply. */
39895 char pthread_mutex_timedlock ();
39896 /* The GNU C library defines this for functions which it implements
39897 to always fail with ENOSYS. Some functions are actually named
39898 something starting with __ and the normal name is an alias. */
39899 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39906 return pthread_mutex_timedlock ();
39911 rm -f conftest.$ac_objext conftest$ac_exeext
39912 if { (ac_try="$ac_link"
39913 case "(($ac_try" in
39914 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39915 *) ac_try_echo
=$ac_try;;
39917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39918 (eval "$ac_link") 2>conftest.er1
39920 grep -v '^ *+' conftest.er1
>conftest.err
39922 cat conftest.err
>&5
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); } && {
39925 test -z "$ac_c_werror_flag" ||
39926 test ! -s conftest.err
39927 } && test -s conftest
$ac_exeext &&
39928 $as_test_x conftest
$ac_exeext; then
39929 ac_cv_func_pthread_mutex_timedlock
=yes
39931 echo "$as_me: failed program was:" >&5
39932 sed 's/^/| /' conftest.
$ac_ext >&5
39934 ac_cv_func_pthread_mutex_timedlock
=no
39937 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39938 conftest
$ac_exeext conftest.
$ac_ext
39940 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39941 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39942 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39943 cat >>confdefs.h
<<\_ACEOF
39944 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39948 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39949 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39953 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39954 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39955 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39956 echo $ECHO_N "(cached) $ECHO_C" >&6
39958 cat >conftest.
$ac_ext <<_ACEOF
39961 cat confdefs.h
>>conftest.
$ac_ext
39962 cat >>conftest.
$ac_ext <<_ACEOF
39963 /* end confdefs.h. */
39964 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39966 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39968 /* System header to define __stub macros and hopefully few prototypes,
39969 which can conflict with char pthread_attr_setstacksize (); below.
39970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39971 <limits.h> exists even on freestanding compilers. */
39974 # include <limits.h>
39976 # include <assert.h>
39979 #undef pthread_attr_setstacksize
39981 /* Override any GCC internal prototype to avoid an error.
39982 Use char because int might match the return type of a GCC
39983 builtin and then its argument prototype would still apply. */
39987 char pthread_attr_setstacksize ();
39988 /* The GNU C library defines this for functions which it implements
39989 to always fail with ENOSYS. Some functions are actually named
39990 something starting with __ and the normal name is an alias. */
39991 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39998 return pthread_attr_setstacksize ();
40003 rm -f conftest.
$ac_objext conftest
$ac_exeext
40004 if { (ac_try
="$ac_link"
40005 case "(($ac_try" in
40006 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40007 *) ac_try_echo=$ac_try;;
40009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40010 (eval "$ac_link") 2>conftest.er1
40012 grep -v '^ *+' conftest.er1 >conftest.err
40014 cat conftest.err >&5
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); } && {
40017 test -z "$ac_c_werror_flag" ||
40018 test ! -s conftest.err
40019 } && test -s conftest$ac_exeext &&
40020 $as_test_x conftest$ac_exeext; then
40021 ac_cv_func_pthread_attr_setstacksize=yes
40023 echo "$as_me: failed program was:" >&5
40024 sed 's/^/| /' conftest.$ac_ext >&5
40026 ac_cv_func_pthread_attr_setstacksize=no
40029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40030 conftest$ac_exeext conftest.$ac_ext
40032 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40033 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40034 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40035 cat >>confdefs.h <<\_ACEOF
40036 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40043 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40044 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40045 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40046 echo $ECHO_N "(cached) $ECHO_C" >&6
40049 cat >conftest.$ac_ext <<_ACEOF
40052 cat confdefs.h >>conftest.$ac_ext
40053 cat >>conftest.$ac_ext <<_ACEOF
40054 /* end confdefs.h. */
40055 #include <pthread.h>
40060 pthread_mutexattr_t attr;
40061 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40067 rm -f conftest.$ac_objext
40068 if { (ac_try="$ac_compile"
40069 case "(($ac_try" in
40070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40071 *) ac_try_echo
=$ac_try;;
40073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40074 (eval "$ac_compile") 2>conftest.er1
40076 grep -v '^ *+' conftest.er1
>conftest.err
40078 cat conftest.err
>&5
40079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40080 (exit $ac_status); } && {
40081 test -z "$ac_c_werror_flag" ||
40082 test ! -s conftest.err
40083 } && test -s conftest.
$ac_objext; then
40084 wx_cv_type_pthread_mutexattr_t
=yes
40086 echo "$as_me: failed program was:" >&5
40087 sed 's/^/| /' conftest.
$ac_ext >&5
40089 wx_cv_type_pthread_mutexattr_t
=no
40093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40096 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40097 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40099 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40100 cat >>confdefs.h
<<\_ACEOF
40101 #define HAVE_PTHREAD_MUTEXATTR_T 1
40105 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40106 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40107 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40108 echo $ECHO_N "(cached) $ECHO_C" >&6
40111 cat >conftest.
$ac_ext <<_ACEOF
40114 cat confdefs.h
>>conftest.
$ac_ext
40115 cat >>conftest.
$ac_ext <<_ACEOF
40116 /* end confdefs.h. */
40117 #include <pthread.h>
40122 pthread_mutexattr_t attr;
40123 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40129 rm -f conftest.
$ac_objext
40130 if { (ac_try
="$ac_compile"
40131 case "(($ac_try" in
40132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40133 *) ac_try_echo=$ac_try;;
40135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40136 (eval "$ac_compile") 2>conftest.er1
40138 grep -v '^ *+' conftest.er1 >conftest.err
40140 cat conftest.err >&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); } && {
40143 test -z "$ac_c_werror_flag" ||
40144 test ! -s conftest.err
40145 } && test -s conftest.$ac_objext; then
40146 wx_cv_func_pthread_mutexattr_settype_decl=yes
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.$ac_ext >&5
40151 wx_cv_func_pthread_mutexattr_settype_decl=no
40155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40158 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40159 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40160 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40161 cat >>confdefs.h <<\_ACEOF
40162 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40167 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40168 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40169 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40170 echo $ECHO_N "(cached) $ECHO_C" >&6
40173 cat >conftest.$ac_ext <<_ACEOF
40176 cat confdefs.h >>conftest.$ac_ext
40177 cat >>conftest.$ac_ext <<_ACEOF
40178 /* end confdefs.h. */
40179 #include <pthread.h>
40184 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40190 rm -f conftest.$ac_objext
40191 if { (ac_try="$ac_compile"
40192 case "(($ac_try" in
40193 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40194 *) ac_try_echo
=$ac_try;;
40196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40197 (eval "$ac_compile") 2>conftest.er1
40199 grep -v '^ *+' conftest.er1
>conftest.err
40201 cat conftest.err
>&5
40202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40203 (exit $ac_status); } && {
40204 test -z "$ac_c_werror_flag" ||
40205 test ! -s conftest.err
40206 } && test -s conftest.
$ac_objext; then
40208 wx_cv_type_pthread_rec_mutex_init
=yes
40211 echo "$as_me: failed program was:" >&5
40212 sed 's/^/| /' conftest.
$ac_ext >&5
40215 wx_cv_type_pthread_rec_mutex_init
=no
40220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40223 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40224 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40225 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40226 cat >>confdefs.h
<<\_ACEOF
40227 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40231 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40232 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40236 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40237 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40238 if test "${wx_cv_cc___thread+set}" = set; then
40239 echo $ECHO_N "(cached) $ECHO_C" >&6
40242 cat >conftest.
$ac_ext <<_ACEOF
40245 cat confdefs.h
>>conftest.
$ac_ext
40246 cat >>conftest.
$ac_ext <<_ACEOF
40247 /* end confdefs.h. */
40248 #include <pthread.h>
40253 static __thread int n = 0;
40254 static __thread int *p = 0;
40260 rm -f conftest.
$ac_objext
40261 if { (ac_try
="$ac_compile"
40262 case "(($ac_try" in
40263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40264 *) ac_try_echo=$ac_try;;
40266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40267 (eval "$ac_compile") 2>conftest.er1
40269 grep -v '^ *+' conftest.er1 >conftest.err
40271 cat conftest.err >&5
40272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40273 (exit $ac_status); } && {
40274 test -z "$ac_c_werror_flag" ||
40275 test ! -s conftest.err
40276 } && test -s conftest.$ac_objext; then
40277 wx_cv_cc___thread=yes
40279 echo "$as_me: failed program was:" >&5
40280 sed 's/^/| /' conftest.$ac_ext >&5
40282 wx_cv_cc___thread=no
40286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40289 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40290 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40292 if test "$wx_cv_cc___thread" = "yes"; then
40293 cat >>confdefs.h <<\_ACEOF
40294 #define HAVE___THREAD_KEYWORD 1
40301 if test "$wxUSE_THREADS" = "yes" ; then
40303 x86_64-*-mingw32* )
40306 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40307 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40308 if test "${wx_cv_cflags_mthread+set}" = set; then
40309 echo $ECHO_N "(cached) $ECHO_C" >&6
40312 CFLAGS_OLD="$CFLAGS"
40313 CFLAGS="-mthreads $CFLAGS"
40314 cat >conftest.$ac_ext <<_ACEOF
40317 cat confdefs.h >>conftest.$ac_ext
40318 cat >>conftest.$ac_ext <<_ACEOF
40319 /* end confdefs.h. */
40329 rm -f conftest.$ac_objext
40330 if { (ac_try="$ac_compile"
40331 case "(($ac_try" in
40332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40333 *) ac_try_echo
=$ac_try;;
40335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40336 (eval "$ac_compile") 2>conftest.er1
40338 grep -v '^ *+' conftest.er1
>conftest.err
40340 cat conftest.err
>&5
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); } && {
40343 test -z "$ac_c_werror_flag" ||
40344 test ! -s conftest.err
40345 } && test -s conftest.
$ac_objext; then
40346 wx_cv_cflags_mthread
=yes
40348 echo "$as_me: failed program was:" >&5
40349 sed 's/^/| /' conftest.
$ac_ext >&5
40351 wx_cv_cflags_mthread
=no
40355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40359 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40360 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40362 if test "$wx_cv_cflags_mthread" = "yes"; then
40363 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40364 LDFLAGS
="$LDFLAGS -mthreads"
40366 CFLAGS
="$CFLAGS_OLD"
40370 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40371 LDFLAGS
="$LDFLAGS -Zmt"
40377 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40378 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40379 if test "${ac_cv_func_localtime_r+set}" = set; then
40380 echo $ECHO_N "(cached) $ECHO_C" >&6
40382 cat >conftest.
$ac_ext <<_ACEOF
40385 cat confdefs.h
>>conftest.
$ac_ext
40386 cat >>conftest.
$ac_ext <<_ACEOF
40387 /* end confdefs.h. */
40388 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40390 #define localtime_r innocuous_localtime_r
40392 /* System header to define __stub macros and hopefully few prototypes,
40393 which can conflict with char localtime_r (); below.
40394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40395 <limits.h> exists even on freestanding compilers. */
40398 # include <limits.h>
40400 # include <assert.h>
40405 /* Override any GCC internal prototype to avoid an error.
40406 Use char because int might match the return type of a GCC
40407 builtin and then its argument prototype would still apply. */
40411 char localtime_r ();
40412 /* The GNU C library defines this for functions which it implements
40413 to always fail with ENOSYS. Some functions are actually named
40414 something starting with __ and the normal name is an alias. */
40415 #if defined __stub_localtime_r || defined __stub___localtime_r
40422 return localtime_r ();
40427 rm -f conftest.
$ac_objext conftest
$ac_exeext
40428 if { (ac_try
="$ac_link"
40429 case "(($ac_try" in
40430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40431 *) ac_try_echo=$ac_try;;
40433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40434 (eval "$ac_link") 2>conftest.er1
40436 grep -v '^ *+' conftest.er1 >conftest.err
40438 cat conftest.err >&5
40439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40440 (exit $ac_status); } && {
40441 test -z "$ac_c_werror_flag" ||
40442 test ! -s conftest.err
40443 } && test -s conftest$ac_exeext &&
40444 $as_test_x conftest$ac_exeext; then
40445 ac_cv_func_localtime_r=yes
40447 echo "$as_me: failed program was:" >&5
40448 sed 's/^/| /' conftest.$ac_ext >&5
40450 ac_cv_func_localtime_r=no
40453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40454 conftest$ac_exeext conftest.$ac_ext
40456 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40457 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40458 if test $ac_cv_func_localtime_r = yes; then
40459 cat >>confdefs.h <<\_ACEOF
40460 #define HAVE_LOCALTIME_R 1
40465 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40466 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40467 if test "${ac_cv_func_gmtime_r+set}" = set; then
40468 echo $ECHO_N "(cached) $ECHO_C" >&6
40470 cat >conftest.$ac_ext <<_ACEOF
40473 cat confdefs.h >>conftest.$ac_ext
40474 cat >>conftest.$ac_ext <<_ACEOF
40475 /* end confdefs.h. */
40476 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40478 #define gmtime_r innocuous_gmtime_r
40480 /* System header to define __stub macros and hopefully few prototypes,
40481 which can conflict with char gmtime_r (); below.
40482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40483 <limits.h> exists even on freestanding compilers. */
40486 # include <limits.h>
40488 # include <assert.h>
40493 /* Override any GCC internal prototype to avoid an error.
40494 Use char because int might match the return type of a GCC
40495 builtin and then its argument prototype would still apply. */
40500 /* The GNU C library defines this for functions which it implements
40501 to always fail with ENOSYS. Some functions are actually named
40502 something starting with __ and the normal name is an alias. */
40503 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40510 return gmtime_r ();
40515 rm -f conftest.$ac_objext conftest$ac_exeext
40516 if { (ac_try="$ac_link"
40517 case "(($ac_try" in
40518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40519 *) ac_try_echo
=$ac_try;;
40521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40522 (eval "$ac_link") 2>conftest.er1
40524 grep -v '^ *+' conftest.er1
>conftest.err
40526 cat conftest.err
>&5
40527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40528 (exit $ac_status); } && {
40529 test -z "$ac_c_werror_flag" ||
40530 test ! -s conftest.err
40531 } && test -s conftest
$ac_exeext &&
40532 $as_test_x conftest
$ac_exeext; then
40533 ac_cv_func_gmtime_r
=yes
40535 echo "$as_me: failed program was:" >&5
40536 sed 's/^/| /' conftest.
$ac_ext >&5
40538 ac_cv_func_gmtime_r
=no
40541 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40542 conftest
$ac_exeext conftest.
$ac_ext
40544 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40545 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40546 if test $ac_cv_func_gmtime_r = yes; then
40547 cat >>confdefs.h
<<\_ACEOF
40548 #define HAVE_GMTIME_R 1
40557 ac_cpp
='$CPP $CPPFLAGS'
40558 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40559 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40560 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40562 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40563 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40565 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40566 echo $ECHO_N "(cached) $ECHO_C" >&6
40570 ################################################################
40572 ac_cv_func_which_gethostbyname_r
=unknown
40575 # ONE ARGUMENT (sanity check)
40578 # This should fail, as there is no variant of gethostbyname_r() that takes
40579 # a single argument. If it actually compiles, then we can assume that
40580 # netdb.h is not declaring the function, and the compiler is thereby
40581 # assuming an implicit prototype. In which case, we're out of luck.
40583 cat >conftest.
$ac_ext <<_ACEOF
40586 cat confdefs.h
>>conftest.
$ac_ext
40587 cat >>conftest.
$ac_ext <<_ACEOF
40588 /* end confdefs.h. */
40594 char *name = "www.gnu.org";
40595 (void)gethostbyname_r(name) /* ; */
40601 rm -f conftest.
$ac_objext
40602 if { (ac_try
="$ac_compile"
40603 case "(($ac_try" in
40604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40605 *) ac_try_echo=$ac_try;;
40607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40608 (eval "$ac_compile") 2>conftest.er1
40610 grep -v '^ *+' conftest.er1 >conftest.err
40612 cat conftest.err >&5
40613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40614 (exit $ac_status); } && {
40615 test -z "$ac_c_werror_flag" ||
40616 test ! -s conftest.err
40617 } && test -s conftest.$ac_objext; then
40618 ac_cv_func_which_gethostbyname_r=no
40620 echo "$as_me: failed program was:" >&5
40621 sed 's/^/| /' conftest.$ac_ext >&5
40626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40633 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40635 cat >conftest.$ac_ext <<_ACEOF
40638 cat confdefs.h >>conftest.$ac_ext
40639 cat >>conftest.$ac_ext <<_ACEOF
40640 /* end confdefs.h. */
40646 char *name = "www.gnu.org";
40647 struct hostent ret, *retp;
40651 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40657 rm -f conftest.$ac_objext
40658 if { (ac_try="$ac_compile"
40659 case "(($ac_try" in
40660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40661 *) ac_try_echo
=$ac_try;;
40663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40664 (eval "$ac_compile") 2>conftest.er1
40666 grep -v '^ *+' conftest.er1
>conftest.err
40668 cat conftest.err
>&5
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); } && {
40671 test -z "$ac_c_werror_flag" ||
40672 test ! -s conftest.err
40673 } && test -s conftest.
$ac_objext; then
40674 ac_cv_func_which_gethostbyname_r
=six
40676 echo "$as_me: failed program was:" >&5
40677 sed 's/^/| /' conftest.
$ac_ext >&5
40682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40691 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40693 cat >conftest.
$ac_ext <<_ACEOF
40696 cat confdefs.h
>>conftest.
$ac_ext
40697 cat >>conftest.
$ac_ext <<_ACEOF
40698 /* end confdefs.h. */
40704 char *name = "www.gnu.org";
40705 struct hostent ret;
40709 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40715 rm -f conftest.
$ac_objext
40716 if { (ac_try
="$ac_compile"
40717 case "(($ac_try" in
40718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40719 *) ac_try_echo=$ac_try;;
40721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40722 (eval "$ac_compile") 2>conftest.er1
40724 grep -v '^ *+' conftest.er1 >conftest.err
40726 cat conftest.err >&5
40727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40728 (exit $ac_status); } && {
40729 test -z "$ac_c_werror_flag" ||
40730 test ! -s conftest.err
40731 } && test -s conftest.$ac_objext; then
40732 ac_cv_func_which_gethostbyname_r=five
40734 echo "$as_me: failed program was:" >&5
40735 sed 's/^/| /' conftest.$ac_ext >&5
40740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40746 # (e.g. AIX, HP-UX, Tru64)
40749 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40751 cat >conftest.$ac_ext <<_ACEOF
40754 cat confdefs.h >>conftest.$ac_ext
40755 cat >>conftest.$ac_ext <<_ACEOF
40756 /* end confdefs.h. */
40762 char *name = "www.gnu.org";
40763 struct hostent ret;
40764 struct hostent_data data;
40765 (void)gethostbyname_r(name, &ret, &data) /* ; */
40771 rm -f conftest.$ac_objext
40772 if { (ac_try="$ac_compile"
40773 case "(($ac_try" in
40774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40775 *) ac_try_echo
=$ac_try;;
40777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40778 (eval "$ac_compile") 2>conftest.er1
40780 grep -v '^ *+' conftest.er1
>conftest.err
40782 cat conftest.err
>&5
40783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40784 (exit $ac_status); } && {
40785 test -z "$ac_c_werror_flag" ||
40786 test ! -s conftest.err
40787 } && test -s conftest.
$ac_objext; then
40788 ac_cv_func_which_gethostbyname_r
=three
40790 echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.
$ac_ext >&5
40796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40800 ################################################################
40805 case "$ac_cv_func_which_gethostbyname_r" in
40807 { echo "$as_me:$LINENO: result: three" >&5
40808 echo "${ECHO_T}three" >&6; }
40809 cat >>confdefs.h
<<\_ACEOF
40810 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40816 { echo "$as_me:$LINENO: result: five" >&5
40817 echo "${ECHO_T}five" >&6; }
40818 cat >>confdefs.h
<<\_ACEOF
40819 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40825 { echo "$as_me:$LINENO: result: six" >&5
40826 echo "${ECHO_T}six" >&6; }
40827 cat >>confdefs.h
<<\_ACEOF
40828 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40834 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40835 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40839 { echo "$as_me:$LINENO: result: can't tell" >&5
40840 echo "${ECHO_T}can't tell" >&6; }
40844 { { echo "$as_me:$LINENO: error: internal error" >&5
40845 echo "$as_me: error: internal error" >&2;}
40846 { (exit 1); exit 1; }; }
40851 ac_cpp
='$CPP $CPPFLAGS'
40852 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40853 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40854 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40858 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40859 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40860 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40861 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40862 if test "${ac_cv_func_gethostbyname+set}" = set; then
40863 echo $ECHO_N "(cached) $ECHO_C" >&6
40865 cat >conftest.
$ac_ext <<_ACEOF
40868 cat confdefs.h
>>conftest.
$ac_ext
40869 cat >>conftest.
$ac_ext <<_ACEOF
40870 /* end confdefs.h. */
40871 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40873 #define gethostbyname innocuous_gethostbyname
40875 /* System header to define __stub macros and hopefully few prototypes,
40876 which can conflict with char gethostbyname (); below.
40877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40878 <limits.h> exists even on freestanding compilers. */
40881 # include <limits.h>
40883 # include <assert.h>
40886 #undef gethostbyname
40888 /* Override any GCC internal prototype to avoid an error.
40889 Use char because int might match the return type of a GCC
40890 builtin and then its argument prototype would still apply. */
40894 char gethostbyname ();
40895 /* The GNU C library defines this for functions which it implements
40896 to always fail with ENOSYS. Some functions are actually named
40897 something starting with __ and the normal name is an alias. */
40898 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40905 return gethostbyname ();
40910 rm -f conftest.
$ac_objext conftest
$ac_exeext
40911 if { (ac_try
="$ac_link"
40912 case "(($ac_try" in
40913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40914 *) ac_try_echo=$ac_try;;
40916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40917 (eval "$ac_link") 2>conftest.er1
40919 grep -v '^ *+' conftest.er1 >conftest.err
40921 cat conftest.err >&5
40922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40923 (exit $ac_status); } && {
40924 test -z "$ac_c_werror_flag" ||
40925 test ! -s conftest.err
40926 } && test -s conftest$ac_exeext &&
40927 $as_test_x conftest$ac_exeext; then
40928 ac_cv_func_gethostbyname=yes
40930 echo "$as_me: failed program was:" >&5
40931 sed 's/^/| /' conftest.$ac_ext >&5
40933 ac_cv_func_gethostbyname=no
40936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40937 conftest$ac_exeext conftest.$ac_ext
40939 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40940 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40941 if test $ac_cv_func_gethostbyname = yes; then
40942 cat >>confdefs.h <<\_ACEOF
40943 #define HAVE_GETHOSTBYNAME 1
40950 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40951 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40952 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40953 echo $ECHO_N "(cached) $ECHO_C" >&6
40957 ac_cpp='$CXXCPP $CPPFLAGS'
40958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40963 cat >conftest.$ac_ext <<_ACEOF
40966 cat confdefs.h >>conftest.$ac_ext
40967 cat >>conftest.$ac_ext <<_ACEOF
40968 /* end confdefs.h. */
40976 struct servent *se, *res;
40979 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40985 rm -f conftest.$ac_objext
40986 if { (ac_try="$ac_compile"
40987 case "(($ac_try" in
40988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40989 *) ac_try_echo
=$ac_try;;
40991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40992 (eval "$ac_compile") 2>conftest.er1
40994 grep -v '^ *+' conftest.er1
>conftest.err
40996 cat conftest.err
>&5
40997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40998 (exit $ac_status); } && {
40999 test -z "$ac_cxx_werror_flag" ||
41000 test ! -s conftest.err
41001 } && test -s conftest.
$ac_objext; then
41002 ac_cv_func_which_getservbyname_r
=six
41004 echo "$as_me: failed program was:" >&5
41005 sed 's/^/| /' conftest.
$ac_ext >&5
41008 cat >conftest.
$ac_ext <<_ACEOF
41011 cat confdefs.h
>>conftest.
$ac_ext
41012 cat >>conftest.
$ac_ext <<_ACEOF
41013 /* end confdefs.h. */
41021 struct servent *se;
41024 (void) getservbyname_r(name, proto, se, buffer, buflen)
41030 rm -f conftest.
$ac_objext
41031 if { (ac_try
="$ac_compile"
41032 case "(($ac_try" in
41033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41034 *) ac_try_echo=$ac_try;;
41036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41037 (eval "$ac_compile") 2>conftest.er1
41039 grep -v '^ *+' conftest.er1 >conftest.err
41041 cat conftest.err >&5
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); } && {
41044 test -z "$ac_cxx_werror_flag" ||
41045 test ! -s conftest.err
41046 } && test -s conftest.$ac_objext; then
41047 ac_cv_func_which_getservbyname_r=five
41049 echo "$as_me: failed program was:" >&5
41050 sed 's/^/| /' conftest.$ac_ext >&5
41053 cat >conftest.$ac_ext <<_ACEOF
41056 cat confdefs.h >>conftest.$ac_ext
41057 cat >>conftest.$ac_ext <<_ACEOF
41058 /* end confdefs.h. */
41066 struct servent *se;
41067 struct servent_data data;
41068 (void) getservbyname_r(name, proto, se, &data);
41074 rm -f conftest.$ac_objext
41075 if { (ac_try="$ac_compile"
41076 case "(($ac_try" in
41077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41078 *) ac_try_echo
=$ac_try;;
41080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41081 (eval "$ac_compile") 2>conftest.er1
41083 grep -v '^ *+' conftest.er1
>conftest.err
41085 cat conftest.err
>&5
41086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41087 (exit $ac_status); } && {
41088 test -z "$ac_cxx_werror_flag" ||
41089 test ! -s conftest.err
41090 } && test -s conftest.
$ac_objext; then
41091 ac_cv_func_which_getservbyname_r
=four
41093 echo "$as_me: failed program was:" >&5
41094 sed 's/^/| /' conftest.
$ac_ext >&5
41096 ac_cv_func_which_getservbyname_r
=no
41100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41105 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41112 ac_cpp
='$CPP $CPPFLAGS'
41113 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41120 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41121 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41123 if test $ac_cv_func_which_getservbyname_r = six
; then
41124 cat >>confdefs.h
<<\_ACEOF
41125 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41128 elif test $ac_cv_func_which_getservbyname_r = five
; then
41129 cat >>confdefs.h
<<\_ACEOF
41130 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41133 elif test $ac_cv_func_which_getservbyname_r = four
; then
41134 cat >>confdefs.h
<<\_ACEOF
41135 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41141 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41142 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41144 for ac_func
in getservbyname
41146 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41147 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41149 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41150 echo $ECHO_N "(cached) $ECHO_C" >&6
41152 cat >conftest.
$ac_ext <<_ACEOF
41155 cat confdefs.h
>>conftest.
$ac_ext
41156 cat >>conftest.
$ac_ext <<_ACEOF
41157 /* end confdefs.h. */
41158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41160 #define $ac_func innocuous_$ac_func
41162 /* System header to define __stub macros and hopefully few prototypes,
41163 which can conflict with char $ac_func (); below.
41164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41165 <limits.h> exists even on freestanding compilers. */
41168 # include <limits.h>
41170 # include <assert.h>
41175 /* Override any GCC internal prototype to avoid an error.
41176 Use char because int might match the return type of a GCC
41177 builtin and then its argument prototype would still apply. */
41182 /* The GNU C library defines this for functions which it implements
41183 to always fail with ENOSYS. Some functions are actually named
41184 something starting with __ and the normal name is an alias. */
41185 #if defined __stub_$ac_func || defined __stub___$ac_func
41192 return $ac_func ();
41197 rm -f conftest.
$ac_objext conftest
$ac_exeext
41198 if { (ac_try
="$ac_link"
41199 case "(($ac_try" in
41200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41201 *) ac_try_echo=$ac_try;;
41203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41204 (eval "$ac_link") 2>conftest.er1
41206 grep -v '^ *+' conftest.er1 >conftest.err
41208 cat conftest.err >&5
41209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210 (exit $ac_status); } && {
41211 test -z "$ac_c_werror_flag" ||
41212 test ! -s conftest.err
41213 } && test -s conftest$ac_exeext &&
41214 $as_test_x conftest$ac_exeext; then
41215 eval "$as_ac_var=yes"
41217 echo "$as_me: failed program was:" >&5
41218 sed 's/^/| /' conftest.$ac_ext >&5
41220 eval "$as_ac_var=no"
41223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41224 conftest$ac_exeext conftest.$ac_ext
41226 ac_res=`eval echo '${'$as_ac_var'}'`
41227 { echo "$as_me:$LINENO: result: $ac_res" >&5
41228 echo "${ECHO_T}$ac_res" >&6; }
41229 if test `eval echo '${'$as_ac_var'}'` = yes; then
41230 cat >>confdefs.h <<_ACEOF
41231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41233 cat >>confdefs.h <<\_ACEOF
41234 #define HAVE_GETSERVBYNAME 1
41242 if test "$wxUSE_THREADS" = "yes"; then
41243 cat >>confdefs.h <<\_ACEOF
41244 #define wxUSE_THREADS 1
41248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41250 if test "$wx_cv_func_strtok_r" = "yes"; then
41251 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41252 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41253 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41254 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41255 { echo "$as_me:$LINENO: result: yes" >&5
41256 echo "${ECHO_T}yes" >&6; }
41258 { echo "$as_me:$LINENO: result: no" >&5
41259 echo "${ECHO_T}no" >&6; }
41264 if test "$WXGTK2" = 1 ; then
41265 cat >>confdefs.h <<_ACEOF
41266 #define __WXGTK20__ $WXGTK2
41272 if test "$WXGTK12" = 1 ; then
41273 cat >>confdefs.h <<_ACEOF
41274 #define __WXGTK12__ $WXGTK12
41279 if test "$WXGTK127" = 1 ; then
41280 cat >>confdefs.h <<_ACEOF
41281 #define __WXGTK127__ $WXGTK127
41286 if test "$WXGPE" = 1 ; then
41287 cat >>confdefs.h <<_ACEOF
41288 #define __WXGPE__ $WXGPE
41294 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41298 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41299 wxUSE_DEBUG_INFO=yes
41300 if test "$GCC" = yes; then
41301 DEBUG_CFLAGS="-ggdb"
41305 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41306 cat >>confdefs.h <<\_ACEOF
41310 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41312 if test "$wxUSE_GTK" = 1 ; then
41313 if test "x$wxGTK_VERSION" = "x1" ; then
41314 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41319 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41320 cat >>confdefs.h <<\_ACEOF
41321 #define wxUSE_MEMORY_TRACING 1
41324 cat >>confdefs.h <<\_ACEOF
41325 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41328 cat >>confdefs.h <<\_ACEOF
41329 #define wxUSE_DEBUG_NEW_ALWAYS 1
41332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41335 if test "$wxUSE_DMALLOC" = "yes" ; then
41336 DMALLOC_LIBS="-ldmallocthcxx"
41340 if test "$wxUSE_PROFILE" = "yes" ; then
41341 PROFILE_FLAGS=" -pg"
41344 if test "$GCC" = "yes" ; then
41345 if test "$wxUSE_NO_RTTI" = "yes" ; then
41346 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41348 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41349 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41351 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41352 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41357 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41360 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41366 if test "$wxUSE_OPTIMISE" = "no" ; then
41367 if test "$GCC" = yes ; then
41368 OPTIMISE_CFLAGS="-O0"
41371 if test "$GCC" = yes ; then
41373 *-pc-os2_emx | *-pc-os2-emx )
41374 OPTIMISE_CFLAGS="-O2"
41377 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41381 OPTIMISE_CFLAGS="-O"
41386 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41387 cat >>confdefs.h <<\_ACEOF
41388 #define WXWIN_COMPATIBILITY_2_6 1
41392 WXWIN_COMPATIBILITY_2_8="yes"
41395 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41396 cat >>confdefs.h <<\_ACEOF
41397 #define WXWIN_COMPATIBILITY_2_8 1
41403 if test "$wxUSE_GUI" = "yes"; then
41404 cat >>confdefs.h <<\_ACEOF
41405 #define wxUSE_GUI 1
41412 if test "$wxUSE_UNIX" = "yes"; then
41413 cat >>confdefs.h <<\_ACEOF
41414 #define wxUSE_UNIX 1
41420 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41424 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41425 if test "$USE_DOS" = 1; then
41429 for ac_func in dlopen
41431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41432 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41435 echo $ECHO_N "(cached) $ECHO_C" >&6
41437 cat >conftest.$ac_ext <<_ACEOF
41440 cat confdefs.h >>conftest.$ac_ext
41441 cat >>conftest.$ac_ext <<_ACEOF
41442 /* end confdefs.h. */
41443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41445 #define $ac_func innocuous_$ac_func
41447 /* System header to define __stub macros and hopefully few prototypes,
41448 which can conflict with char $ac_func (); below.
41449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41450 <limits.h> exists even on freestanding compilers. */
41453 # include <limits.h>
41455 # include <assert.h>
41460 /* Override any GCC internal prototype to avoid an error.
41461 Use char because int might match the return type of a GCC
41462 builtin and then its argument prototype would still apply. */
41467 /* The GNU C library defines this for functions which it implements
41468 to always fail with ENOSYS. Some functions are actually named
41469 something starting with __ and the normal name is an alias. */
41470 #if defined __stub_$ac_func || defined __stub___$ac_func
41477 return $ac_func ();
41482 rm -f conftest.$ac_objext conftest$ac_exeext
41483 if { (ac_try="$ac_link"
41484 case "(($ac_try" in
41485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41486 *) ac_try_echo
=$ac_try;;
41488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41489 (eval "$ac_link") 2>conftest.er1
41491 grep -v '^ *+' conftest.er1
>conftest.err
41493 cat conftest.err
>&5
41494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41495 (exit $ac_status); } && {
41496 test -z "$ac_c_werror_flag" ||
41497 test ! -s conftest.err
41498 } && test -s conftest
$ac_exeext &&
41499 $as_test_x conftest
$ac_exeext; then
41500 eval "$as_ac_var=yes"
41502 echo "$as_me: failed program was:" >&5
41503 sed 's/^/| /' conftest.
$ac_ext >&5
41505 eval "$as_ac_var=no"
41508 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41509 conftest
$ac_exeext conftest.
$ac_ext
41511 ac_res
=`eval echo '${'$as_ac_var'}'`
41512 { echo "$as_me:$LINENO: result: $ac_res" >&5
41513 echo "${ECHO_T}$ac_res" >&6; }
41514 if test `eval echo '${'$as_ac_var'}'` = yes; then
41515 cat >>confdefs.h
<<_ACEOF
41516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41519 cat >>confdefs.h
<<\_ACEOF
41520 #define HAVE_DLOPEN 1
41527 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41528 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41529 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41530 echo $ECHO_N "(cached) $ECHO_C" >&6
41532 ac_check_lib_save_LIBS
=$LIBS
41534 cat >conftest.
$ac_ext <<_ACEOF
41537 cat confdefs.h
>>conftest.
$ac_ext
41538 cat >>conftest.
$ac_ext <<_ACEOF
41539 /* end confdefs.h. */
41541 /* Override any GCC internal prototype to avoid an error.
41542 Use char because int might match the return type of a GCC
41543 builtin and then its argument prototype would still apply. */
41556 rm -f conftest.
$ac_objext conftest
$ac_exeext
41557 if { (ac_try
="$ac_link"
41558 case "(($ac_try" in
41559 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41560 *) ac_try_echo=$ac_try;;
41562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41563 (eval "$ac_link") 2>conftest.er1
41565 grep -v '^ *+' conftest.er1 >conftest.err
41567 cat conftest.err >&5
41568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41569 (exit $ac_status); } && {
41570 test -z "$ac_c_werror_flag" ||
41571 test ! -s conftest.err
41572 } && test -s conftest$ac_exeext &&
41573 $as_test_x conftest$ac_exeext; then
41574 ac_cv_lib_dl_dlopen=yes
41576 echo "$as_me: failed program was:" >&5
41577 sed 's/^/| /' conftest.$ac_ext >&5
41579 ac_cv_lib_dl_dlopen=no
41582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41583 conftest$ac_exeext conftest.$ac_ext
41584 LIBS=$ac_check_lib_save_LIBS
41586 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41587 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41588 if test $ac_cv_lib_dl_dlopen = yes; then
41590 cat >>confdefs.h <<\_ACEOF
41591 #define HAVE_DLOPEN 1
41595 DL_LINK=" -ldl$DL_LINK"
41600 for ac_func in shl_load
41602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41603 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41605 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41606 echo $ECHO_N "(cached) $ECHO_C" >&6
41608 cat >conftest.$ac_ext <<_ACEOF
41611 cat confdefs.h >>conftest.$ac_ext
41612 cat >>conftest.$ac_ext <<_ACEOF
41613 /* end confdefs.h. */
41614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41616 #define $ac_func innocuous_$ac_func
41618 /* System header to define __stub macros and hopefully few prototypes,
41619 which can conflict with char $ac_func (); below.
41620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41621 <limits.h> exists even on freestanding compilers. */
41624 # include <limits.h>
41626 # include <assert.h>
41631 /* Override any GCC internal prototype to avoid an error.
41632 Use char because int might match the return type of a GCC
41633 builtin and then its argument prototype would still apply. */
41638 /* The GNU C library defines this for functions which it implements
41639 to always fail with ENOSYS. Some functions are actually named
41640 something starting with __ and the normal name is an alias. */
41641 #if defined __stub_$ac_func || defined __stub___$ac_func
41648 return $ac_func ();
41653 rm -f conftest.$ac_objext conftest$ac_exeext
41654 if { (ac_try="$ac_link"
41655 case "(($ac_try" in
41656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41657 *) ac_try_echo
=$ac_try;;
41659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41660 (eval "$ac_link") 2>conftest.er1
41662 grep -v '^ *+' conftest.er1
>conftest.err
41664 cat conftest.err
>&5
41665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666 (exit $ac_status); } && {
41667 test -z "$ac_c_werror_flag" ||
41668 test ! -s conftest.err
41669 } && test -s conftest
$ac_exeext &&
41670 $as_test_x conftest
$ac_exeext; then
41671 eval "$as_ac_var=yes"
41673 echo "$as_me: failed program was:" >&5
41674 sed 's/^/| /' conftest.
$ac_ext >&5
41676 eval "$as_ac_var=no"
41679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41680 conftest
$ac_exeext conftest.
$ac_ext
41682 ac_res
=`eval echo '${'$as_ac_var'}'`
41683 { echo "$as_me:$LINENO: result: $ac_res" >&5
41684 echo "${ECHO_T}$ac_res" >&6; }
41685 if test `eval echo '${'$as_ac_var'}'` = yes; then
41686 cat >>confdefs.h
<<_ACEOF
41687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41690 cat >>confdefs.h
<<\_ACEOF
41691 #define HAVE_SHL_LOAD 1
41698 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41699 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41700 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41701 echo $ECHO_N "(cached) $ECHO_C" >&6
41703 ac_check_lib_save_LIBS
=$LIBS
41704 LIBS
="-lshl_load $LIBS"
41705 cat >conftest.
$ac_ext <<_ACEOF
41708 cat confdefs.h
>>conftest.
$ac_ext
41709 cat >>conftest.
$ac_ext <<_ACEOF
41710 /* end confdefs.h. */
41712 /* Override any GCC internal prototype to avoid an error.
41713 Use char because int might match the return type of a GCC
41714 builtin and then its argument prototype would still apply. */
41727 rm -f conftest.
$ac_objext conftest
$ac_exeext
41728 if { (ac_try
="$ac_link"
41729 case "(($ac_try" in
41730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41731 *) ac_try_echo=$ac_try;;
41733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41734 (eval "$ac_link") 2>conftest.er1
41736 grep -v '^ *+' conftest.er1 >conftest.err
41738 cat conftest.err >&5
41739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41740 (exit $ac_status); } && {
41741 test -z "$ac_c_werror_flag" ||
41742 test ! -s conftest.err
41743 } && test -s conftest$ac_exeext &&
41744 $as_test_x conftest$ac_exeext; then
41745 ac_cv_lib_shl_load_dld=yes
41747 echo "$as_me: failed program was:" >&5
41748 sed 's/^/| /' conftest.$ac_ext >&5
41750 ac_cv_lib_shl_load_dld=no
41753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41754 conftest$ac_exeext conftest.$ac_ext
41755 LIBS=$ac_check_lib_save_LIBS
41757 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41758 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41759 if test $ac_cv_lib_shl_load_dld = yes; then
41762 DL_LINK=" -ldld$DL_LINK"
41778 if test "$HAVE_DL_FUNCS" = 1; then
41780 for ac_func in dlerror
41782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41783 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41785 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41786 echo $ECHO_N "(cached) $ECHO_C" >&6
41788 cat >conftest.$ac_ext <<_ACEOF
41791 cat confdefs.h >>conftest.$ac_ext
41792 cat >>conftest.$ac_ext <<_ACEOF
41793 /* end confdefs.h. */
41794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41796 #define $ac_func innocuous_$ac_func
41798 /* System header to define __stub macros and hopefully few prototypes,
41799 which can conflict with char $ac_func (); below.
41800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41801 <limits.h> exists even on freestanding compilers. */
41804 # include <limits.h>
41806 # include <assert.h>
41811 /* Override any GCC internal prototype to avoid an error.
41812 Use char because int might match the return type of a GCC
41813 builtin and then its argument prototype would still apply. */
41818 /* The GNU C library defines this for functions which it implements
41819 to always fail with ENOSYS. Some functions are actually named
41820 something starting with __ and the normal name is an alias. */
41821 #if defined __stub_$ac_func || defined __stub___$ac_func
41828 return $ac_func ();
41833 rm -f conftest.$ac_objext conftest$ac_exeext
41834 if { (ac_try="$ac_link"
41835 case "(($ac_try" in
41836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41837 *) ac_try_echo
=$ac_try;;
41839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41840 (eval "$ac_link") 2>conftest.er1
41842 grep -v '^ *+' conftest.er1
>conftest.err
41844 cat conftest.err
>&5
41845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846 (exit $ac_status); } && {
41847 test -z "$ac_c_werror_flag" ||
41848 test ! -s conftest.err
41849 } && test -s conftest
$ac_exeext &&
41850 $as_test_x conftest
$ac_exeext; then
41851 eval "$as_ac_var=yes"
41853 echo "$as_me: failed program was:" >&5
41854 sed 's/^/| /' conftest.
$ac_ext >&5
41856 eval "$as_ac_var=no"
41859 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41860 conftest
$ac_exeext conftest.
$ac_ext
41862 ac_res
=`eval echo '${'$as_ac_var'}'`
41863 { echo "$as_me:$LINENO: result: $ac_res" >&5
41864 echo "${ECHO_T}$ac_res" >&6; }
41865 if test `eval echo '${'$as_ac_var'}'` = yes; then
41866 cat >>confdefs.h
<<_ACEOF
41867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41869 cat >>confdefs.h
<<\_ACEOF
41870 #define HAVE_DLERROR 1
41875 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41876 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41877 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41878 echo $ECHO_N "(cached) $ECHO_C" >&6
41880 ac_check_lib_save_LIBS
=$LIBS
41882 cat >conftest.
$ac_ext <<_ACEOF
41885 cat confdefs.h
>>conftest.
$ac_ext
41886 cat >>conftest.
$ac_ext <<_ACEOF
41887 /* end confdefs.h. */
41889 /* Override any GCC internal prototype to avoid an error.
41890 Use char because int might match the return type of a GCC
41891 builtin and then its argument prototype would still apply. */
41904 rm -f conftest.
$ac_objext conftest
$ac_exeext
41905 if { (ac_try
="$ac_link"
41906 case "(($ac_try" in
41907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41908 *) ac_try_echo=$ac_try;;
41910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41911 (eval "$ac_link") 2>conftest.er1
41913 grep -v '^ *+' conftest.er1 >conftest.err
41915 cat conftest.err >&5
41916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41917 (exit $ac_status); } && {
41918 test -z "$ac_c_werror_flag" ||
41919 test ! -s conftest.err
41920 } && test -s conftest$ac_exeext &&
41921 $as_test_x conftest$ac_exeext; then
41922 ac_cv_lib_dl_dlerror=yes
41924 echo "$as_me: failed program was:" >&5
41925 sed 's/^/| /' conftest.$ac_ext >&5
41927 ac_cv_lib_dl_dlerror=no
41930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41931 conftest$ac_exeext conftest.$ac_ext
41932 LIBS=$ac_check_lib_save_LIBS
41934 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41935 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41936 if test $ac_cv_lib_dl_dlerror = yes; then
41937 cat >>confdefs.h <<\_ACEOF
41938 #define HAVE_DLERROR 1
41951 if test "$USE_DARWIN" = 1; then
41955 if test "$HAVE_DL_FUNCS" = 0; then
41956 if test "$HAVE_SHL_FUNCS" = 0; then
41957 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41958 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41959 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41960 wxUSE_DYNAMIC_LOADER=no
41961 wxUSE_DYNLIB_CLASS=no
41963 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41964 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41971 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41972 cat >>confdefs.h <<\_ACEOF
41973 #define wxUSE_DYNAMIC_LOADER 1
41977 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41978 cat >>confdefs.h <<\_ACEOF
41979 #define wxUSE_DYNLIB_CLASS 1
41986 if test "$wxUSE_PLUGINS" = "yes" ; then
41987 if test "$wxUSE_SHARED" = "no" ; then
41988 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41989 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41992 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41993 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41994 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41997 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41998 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41999 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42002 if test "$wxUSE_PLUGINS" = "yes" ; then
42003 cat >>confdefs.h <<\_ACEOF
42004 #define wxUSE_PLUGINS 1
42011 if test "$wxUSE_STL" = "yes"; then
42012 cat >>confdefs.h <<\_ACEOF
42013 #define wxUSE_STL 1
42018 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42019 cat >>confdefs.h <<\_ACEOF
42020 #define wxUSE_EXTENDED_RTTI 1
42025 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42026 cat >>confdefs.h <<\_ACEOF
42027 #define wxUSE_APPLE_IEEE 1
42032 if test "$wxUSE_TIMER" = "yes"; then
42033 cat >>confdefs.h <<\_ACEOF
42034 #define wxUSE_TIMER 1
42039 if test "$USE_UNIX" = 1 ; then
42040 if test "$wxUSE_MGL" != 1; then
42041 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42042 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42043 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42044 echo $ECHO_N "(cached) $ECHO_C" >&6
42047 cat >conftest.$ac_ext <<_ACEOF
42050 cat confdefs.h >>conftest.$ac_ext
42051 cat >>conftest.$ac_ext <<_ACEOF
42052 /* end confdefs.h. */
42054 #include <sys/ioctl.h>
42055 #include <sys/soundcard.h>
42061 ioctl(0, SNDCTL_DSP_SPEED, 0);
42067 rm -f conftest.$ac_objext conftest$ac_exeext
42068 if { (ac_try="$ac_link"
42069 case "(($ac_try" in
42070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42071 *) ac_try_echo
=$ac_try;;
42073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42074 (eval "$ac_link") 2>conftest.er1
42076 grep -v '^ *+' conftest.er1
>conftest.err
42078 cat conftest.err
>&5
42079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42080 (exit $ac_status); } && {
42081 test -z "$ac_c_werror_flag" ||
42082 test ! -s conftest.err
42083 } && test -s conftest
$ac_exeext &&
42084 $as_test_x conftest
$ac_exeext; then
42085 ac_cv_header_sys_soundcard
=yes
42087 echo "$as_me: failed program was:" >&5
42088 sed 's/^/| /' conftest.
$ac_ext >&5
42092 LIBS
="$saveLibs -lossaudio"
42093 cat >conftest.
$ac_ext <<_ACEOF
42096 cat confdefs.h
>>conftest.
$ac_ext
42097 cat >>conftest.
$ac_ext <<_ACEOF
42098 /* end confdefs.h. */
42100 #include <sys/ioctl.h>
42101 #include <sys/soundcard.h>
42107 ioctl(0, SNDCTL_DSP_SPEED, 0);
42113 rm -f conftest.
$ac_objext conftest
$ac_exeext
42114 if { (ac_try
="$ac_link"
42115 case "(($ac_try" in
42116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42117 *) ac_try_echo=$ac_try;;
42119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42120 (eval "$ac_link") 2>conftest.er1
42122 grep -v '^ *+' conftest.er1 >conftest.err
42124 cat conftest.err >&5
42125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42126 (exit $ac_status); } && {
42127 test -z "$ac_c_werror_flag" ||
42128 test ! -s conftest.err
42129 } && test -s conftest$ac_exeext &&
42130 $as_test_x conftest$ac_exeext; then
42131 ac_cv_header_sys_soundcard=yes
42133 echo "$as_me: failed program was:" >&5
42134 sed 's/^/| /' conftest.$ac_ext >&5
42138 ac_cv_header_sys_soundcard=no
42143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42144 conftest$ac_exeext conftest.$ac_ext
42149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42150 conftest$ac_exeext conftest.$ac_ext
42153 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42154 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42157 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42158 cat >>confdefs.h <<\_ACEOF
42159 #define HAVE_SYS_SOUNDCARD_H 1
42166 if test "$wxUSE_SOUND" = "yes"; then
42167 if test "$USE_UNIX" = 1 ; then
42168 if test "$wxUSE_LIBSDL" != "no"; then
42170 # Check whether --with-sdl-prefix was given.
42171 if test "${with_sdl_prefix+set}" = set; then
42172 withval=$with_sdl_prefix; sdl_prefix="$withval"
42178 # Check whether --with-sdl-exec-prefix was given.
42179 if test "${with_sdl_exec_prefix+set}" = set; then
42180 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42185 # Check whether --enable-sdltest was given.
42186 if test "${enable_sdltest+set}" = set; then
42187 enableval=$enable_sdltest;
42193 if test x$sdl_exec_prefix != x ; then
42194 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42195 if test x${SDL_CONFIG+set} != xset ; then
42196 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42199 if test x$sdl_prefix != x ; then
42200 sdl_args="$sdl_args --prefix=$sdl_prefix"
42201 if test x${SDL_CONFIG+set} != xset ; then
42202 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42206 if test "x$prefix" != xNONE; then
42207 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42209 # Extract the first word of "sdl-config", so it can be a program name with args.
42210 set dummy sdl-config; ac_word=$2
42211 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42213 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42214 echo $ECHO_N "(cached) $ECHO_C" >&6
42216 case $SDL_CONFIG in
42218 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42222 for as_dir in $PATH
42225 test -z "$as_dir" && as_dir=.
42226 for ac_exec_ext in '' $ac_executable_extensions; do
42227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42228 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42236 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42240 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42241 if test -n "$SDL_CONFIG"; then
42242 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42243 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42245 { echo "$as_me:$LINENO: result: no" >&5
42246 echo "${ECHO_T}no" >&6; }
42250 min_sdl_version=1.2.0
42251 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42252 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42254 if test "$SDL_CONFIG" = "no" ; then
42257 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42258 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42260 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42261 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42262 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42263 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42264 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42265 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42266 if test "x$enable_sdltest" = "xyes" ; then
42267 ac_save_CFLAGS="$CFLAGS"
42268 ac_save_CXXFLAGS="$CXXFLAGS"
42269 ac_save_LIBS="$LIBS"
42270 CFLAGS="$CFLAGS $SDL_CFLAGS"
42271 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42272 LIBS="$LIBS $SDL_LIBS"
42274 if test "$cross_compiling" = yes; then
42275 echo $ac_n "cross compiling; assumed OK... $ac_c"
42277 cat >conftest.$ac_ext <<_ACEOF
42280 cat confdefs.h >>conftest.$ac_ext
42281 cat >>conftest.$ac_ext <<_ACEOF
42282 /* end confdefs.h. */
42285 #include <stdlib.h>
42286 #include <string.h>
42290 my_strdup (char *str)
42296 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42297 strcpy (new_str, str);
42305 int main (int argc, char *argv[])
42307 int major, minor, micro;
42310 /* This hangs on some systems (?)
42311 system ("touch conf.sdltest");
42313 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42315 /* HP/UX 9 (%@#!) writes to sscanf strings */
42316 tmp_version = my_strdup("$min_sdl_version");
42317 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42318 printf("%s, bad version string\n", "$min_sdl_version");
42322 if (($sdl_major_version > major) ||
42323 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42324 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42330 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42331 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42332 printf("*** best to upgrade to the required version.\n");
42333 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42334 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42335 printf("*** config.cache before re-running configure\n");
42342 rm -f conftest$ac_exeext
42343 if { (ac_try="$ac_link"
42344 case "(($ac_try" in
42345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42346 *) ac_try_echo
=$ac_try;;
42348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42349 (eval "$ac_link") 2>&5
42351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42352 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42353 { (case "(($ac_try" in
42354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42355 *) ac_try_echo=$ac_try;;
42357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42358 (eval "$ac_try") 2>&5
42360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42361 (exit $ac_status); }; }; then
42364 echo "$as_me: program exited with status $ac_status" >&5
42365 echo "$as_me: failed program was:" >&5
42366 sed 's/^/| /' conftest.$ac_ext >&5
42368 ( exit $ac_status )
42371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42375 CFLAGS="$ac_save_CFLAGS"
42376 CXXFLAGS="$ac_save_CXXFLAGS"
42377 LIBS="$ac_save_LIBS"
42380 if test "x$no_sdl" = x ; then
42381 { echo "$as_me:$LINENO: result: yes" >&5
42382 echo "${ECHO_T}yes" >&6; }
42384 EXTRALIBS_SDL="$SDL_LIBS"
42385 CFLAGS="$SDL_CFLAGS $CFLAGS"
42386 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42387 cat >>confdefs.h <<\_ACEOF
42388 #define wxUSE_LIBSDL 1
42393 { echo "$as_me:$LINENO: result: no" >&5
42394 echo "${ECHO_T}no" >&6; }
42395 if test "$SDL_CONFIG" = "no" ; then
42396 echo "*** The sdl-config script installed by SDL could not be found"
42397 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42398 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42399 echo "*** full path to sdl-config."
42401 if test -f conf.sdltest ; then
42404 echo "*** Could not run SDL test program, checking why..."
42405 CFLAGS="$CFLAGS $SDL_CFLAGS"
42406 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42407 LIBS="$LIBS $SDL_LIBS"
42408 cat >conftest.$ac_ext <<_ACEOF
42411 cat confdefs.h >>conftest.$ac_ext
42412 cat >>conftest.$ac_ext <<_ACEOF
42413 /* end confdefs.h. */
42418 int main(int argc, char *argv[])
42421 #define main K_and_R_C_main
42431 rm -f conftest.$ac_objext conftest$ac_exeext
42432 if { (ac_try="$ac_link"
42433 case "(($ac_try" in
42434 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42435 *) ac_try_echo
=$ac_try;;
42437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42438 (eval "$ac_link") 2>conftest.er1
42440 grep -v '^ *+' conftest.er1
>conftest.err
42442 cat conftest.err
>&5
42443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42444 (exit $ac_status); } && {
42445 test -z "$ac_c_werror_flag" ||
42446 test ! -s conftest.err
42447 } && test -s conftest
$ac_exeext &&
42448 $as_test_x conftest
$ac_exeext; then
42449 echo "*** The test program compiled, but did not run. This usually means"
42450 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42451 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42452 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42453 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42454 echo "*** is required on your system"
42456 echo "*** If you have an old version installed, it is best to remove it, although"
42457 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42459 echo "$as_me: failed program was:" >&5
42460 sed 's/^/| /' conftest.
$ac_ext >&5
42462 echo "*** The test program failed to compile or link. See the file config.log for the"
42463 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42464 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42465 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42468 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42469 conftest
$ac_exeext conftest.
$ac_ext
42470 CFLAGS
="$ac_save_CFLAGS"
42471 CXXFLAGS
="$ac_save_CXXFLAGS"
42472 LIBS
="$ac_save_LIBS"
42483 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42488 if test "$wxUSE_MGL" = 1; then
42489 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42490 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42496 if test "$wxUSE_SOUND" = "yes"; then
42497 cat >>confdefs.h
<<\_ACEOF
42498 #define wxUSE_SOUND 1
42501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42504 if test "$WXGTK2" = 1; then
42507 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42508 if test -n "$ac_tool_prefix"; then
42509 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42510 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42513 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42514 echo $ECHO_N "(cached) $ECHO_C" >&6
42516 case $PKG_CONFIG in
42518 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42522 for as_dir
in $PATH
42525 test -z "$as_dir" && as_dir
=.
42526 for ac_exec_ext
in '' $ac_executable_extensions; do
42527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42528 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42539 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42540 if test -n "$PKG_CONFIG"; then
42541 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42542 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42544 { echo "$as_me:$LINENO: result: no" >&5
42545 echo "${ECHO_T}no" >&6; }
42550 if test -z "$ac_cv_path_PKG_CONFIG"; then
42551 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42552 # Extract the first word of "pkg-config", so it can be a program name with args.
42553 set dummy pkg
-config; ac_word
=$2
42554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42556 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42557 echo $ECHO_N "(cached) $ECHO_C" >&6
42559 case $ac_pt_PKG_CONFIG in
42561 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42565 for as_dir
in $PATH
42568 test -z "$as_dir" && as_dir
=.
42569 for ac_exec_ext
in '' $ac_executable_extensions; do
42570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42571 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42582 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42583 if test -n "$ac_pt_PKG_CONFIG"; then
42584 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42585 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42587 { echo "$as_me:$LINENO: result: no" >&5
42588 echo "${ECHO_T}no" >&6; }
42591 if test "x$ac_pt_PKG_CONFIG" = x
; then
42594 case $cross_compiling:$ac_tool_warned in
42596 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42597 whose name does not start with the host triplet. If you think this
42598 configuration is useful to you, please write to autoconf@gnu.org." >&5
42599 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42600 whose name does not start with the host triplet. If you think this
42601 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42602 ac_tool_warned
=yes ;;
42604 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42607 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42611 if test -n "$PKG_CONFIG"; then
42612 _pkg_min_version
=0.9.0
42613 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42614 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42615 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42616 { echo "$as_me:$LINENO: result: yes" >&5
42617 echo "${ECHO_T}yes" >&6; }
42619 { echo "$as_me:$LINENO: result: no" >&5
42620 echo "${ECHO_T}no" >&6; }
42626 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42628 if test "$wxUSE_GTKPRINT" = "yes" ; then
42632 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42633 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42635 if test -n "$PKG_CONFIG"; then
42636 if test -n "$GTKPRINT_CFLAGS"; then
42637 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42639 if test -n "$PKG_CONFIG" && \
42640 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42641 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42644 (exit $ac_status); }; then
42645 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42653 if test -n "$PKG_CONFIG"; then
42654 if test -n "$GTKPRINT_LIBS"; then
42655 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42657 if test -n "$PKG_CONFIG" && \
42658 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42659 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42662 (exit $ac_status); }; then
42663 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42674 if test $pkg_failed = yes; then
42676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42677 _pkg_short_errors_supported
=yes
42679 _pkg_short_errors_supported
=no
42681 if test $_pkg_short_errors_supported = yes; then
42682 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42684 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42686 # Put the nasty error message in config.log where it belongs
42687 echo "$GTKPRINT_PKG_ERRORS" >&5
42690 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42691 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42692 wxUSE_GTKPRINT
="no"
42695 elif test $pkg_failed = untried
; then
42697 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42698 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42699 wxUSE_GTKPRINT
="no"
42703 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42704 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42705 { echo "$as_me:$LINENO: result: yes" >&5
42706 echo "${ECHO_T}yes" >&6; }
42708 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42709 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42710 cat >>confdefs.h
<<\_ACEOF
42711 #define wxUSE_GTKPRINT 1
42718 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42722 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42723 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42725 if test -n "$PKG_CONFIG"; then
42726 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42727 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42729 if test -n "$PKG_CONFIG" && \
42730 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42731 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42734 (exit $ac_status); }; then
42735 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42743 if test -n "$PKG_CONFIG"; then
42744 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42745 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42747 if test -n "$PKG_CONFIG" && \
42748 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42749 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42752 (exit $ac_status); }; then
42753 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42764 if test $pkg_failed = yes; then
42766 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42767 _pkg_short_errors_supported
=yes
42769 _pkg_short_errors_supported
=no
42771 if test $_pkg_short_errors_supported = yes; then
42772 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42774 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42776 # Put the nasty error message in config.log where it belongs
42777 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42780 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42781 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42782 wxUSE_LIBGNOMEPRINT
="no"
42785 elif test $pkg_failed = untried
; then
42787 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42788 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42789 wxUSE_LIBGNOMEPRINT
="no"
42793 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42794 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42795 { echo "$as_me:$LINENO: result: yes" >&5
42796 echo "${ECHO_T}yes" >&6; }
42798 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42799 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42800 cat >>confdefs.h
<<\_ACEOF
42801 #define wxUSE_LIBGNOMEPRINT 1
42809 if test "$wxUSE_MIMETYPE" = "yes" ; then
42810 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42814 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42815 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42817 if test -n "$PKG_CONFIG"; then
42818 if test -n "$GNOMEVFS_CFLAGS"; then
42819 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42821 if test -n "$PKG_CONFIG" && \
42822 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42823 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42826 (exit $ac_status); }; then
42827 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42835 if test -n "$PKG_CONFIG"; then
42836 if test -n "$GNOMEVFS_LIBS"; then
42837 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42839 if test -n "$PKG_CONFIG" && \
42840 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42841 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42844 (exit $ac_status); }; then
42845 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42856 if test $pkg_failed = yes; then
42858 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42859 _pkg_short_errors_supported
=yes
42861 _pkg_short_errors_supported
=no
42863 if test $_pkg_short_errors_supported = yes; then
42864 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42866 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42868 # Put the nasty error message in config.log where it belongs
42869 echo "$GNOMEVFS_PKG_ERRORS" >&5
42872 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42873 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42874 wxUSE_LIBGNOMEVFS
="no"
42877 elif test $pkg_failed = untried
; then
42879 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42880 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42881 wxUSE_LIBGNOMEVFS
="no"
42885 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42886 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42887 { echo "$as_me:$LINENO: result: yes" >&5
42888 echo "${ECHO_T}yes" >&6; }
42890 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
42891 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
42892 cat >>confdefs.h
<<\_ACEOF
42893 #define wxUSE_LIBGNOMEVFS 1
42901 if test "$wxUSE_LIBHILDON" = "yes" ; then
42904 { echo "$as_me:$LINENO: checking for HILDON" >&5
42905 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42907 if test -n "$PKG_CONFIG"; then
42908 if test -n "$HILDON_CFLAGS"; then
42909 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
42911 if test -n "$PKG_CONFIG" && \
42912 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42913 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42916 (exit $ac_status); }; then
42917 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42925 if test -n "$PKG_CONFIG"; then
42926 if test -n "$HILDON_LIBS"; then
42927 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
42929 if test -n "$PKG_CONFIG" && \
42930 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42931 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42934 (exit $ac_status); }; then
42935 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42946 if test $pkg_failed = yes; then
42948 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42949 _pkg_short_errors_supported
=yes
42951 _pkg_short_errors_supported
=no
42953 if test $_pkg_short_errors_supported = yes; then
42954 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42956 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42958 # Put the nasty error message in config.log where it belongs
42959 echo "$HILDON_PKG_ERRORS" >&5
42962 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42963 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42964 wxUSE_LIBHILDON
="no"
42967 elif test $pkg_failed = untried
; then
42969 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42970 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42971 wxUSE_LIBHILDON
="no"
42975 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
42976 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
42977 { echo "$as_me:$LINENO: result: yes" >&5
42978 echo "${ECHO_T}yes" >&6; }
42980 EXTRALIBS_HILDON
="$HILDON_LIBS"
42981 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
42982 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
42983 cat >>confdefs.h
<<\_ACEOF
42984 #define wxUSE_LIBHILDON 1
42992 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42993 cat >>confdefs.h
<<\_ACEOF
42994 #define wxUSE_CMDLINE_PARSER 1
42999 if test "$wxUSE_STOPWATCH" = "yes"; then
43000 cat >>confdefs.h
<<\_ACEOF
43001 #define wxUSE_STOPWATCH 1
43006 if test "$wxUSE_DATETIME" = "yes"; then
43007 cat >>confdefs.h
<<\_ACEOF
43008 #define wxUSE_DATETIME 1
43013 if test "$wxUSE_FILE" = "yes"; then
43014 cat >>confdefs.h
<<\_ACEOF
43015 #define wxUSE_FILE 1
43020 if test "$wxUSE_FFILE" = "yes"; then
43021 cat >>confdefs.h
<<\_ACEOF
43022 #define wxUSE_FFILE 1
43027 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43028 if test "$wxUSE_STREAMS" != yes; then
43029 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43030 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43031 wxUSE_ARCHIVE_STREAMS
=no
43033 cat >>confdefs.h
<<\_ACEOF
43034 #define wxUSE_ARCHIVE_STREAMS 1
43040 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43041 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43042 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43043 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43044 elif test "$wxUSE_ZLIB" = "no"; then
43045 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43046 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43048 cat >>confdefs.h
<<\_ACEOF
43049 #define wxUSE_ZIPSTREAM 1
43055 if test "$wxUSE_TARSTREAM" = "yes"; then
43056 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43057 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43058 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43060 cat >>confdefs.h
<<\_ACEOF
43061 #define wxUSE_TARSTREAM 1
43067 if test "$wxUSE_FILESYSTEM" = "yes"; then
43068 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43069 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43070 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43071 wxUSE_FILESYSTEM
=no
43073 cat >>confdefs.h
<<\_ACEOF
43074 #define wxUSE_FILESYSTEM 1
43080 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43081 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43082 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43083 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43085 cat >>confdefs.h
<<\_ACEOF
43086 #define wxUSE_FS_ARCHIVE 1
43092 if test "$wxUSE_FS_ZIP" = "yes"; then
43093 if test "$wxUSE_FS_ARCHIVE" != yes; then
43094 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43095 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43097 cat >>confdefs.h
<<\_ACEOF
43098 #define wxUSE_FS_ZIP 1
43104 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43105 if test "$USE_UNIX" != 1; then
43106 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43107 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43108 wxUSE_ON_FATAL_EXCEPTION
=no
43110 cat >>confdefs.h
<<\_ACEOF
43111 #define wxUSE_ON_FATAL_EXCEPTION 1
43117 if test "$wxUSE_STACKWALKER" = "yes"; then
43118 cat >>confdefs.h
<<\_ACEOF
43119 #define wxUSE_STACKWALKER 1
43124 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43125 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43126 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43127 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43128 wxUSE_DEBUGREPORT
=no
43130 cat >>confdefs.h
<<\_ACEOF
43131 #define wxUSE_DEBUGREPORT 1
43134 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43135 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43140 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43141 cat >>confdefs.h
<<\_ACEOF
43142 #define wxUSE_SNGLINST_CHECKER 1
43147 if test "$wxUSE_BUSYINFO" = "yes"; then
43148 cat >>confdefs.h
<<\_ACEOF
43149 #define wxUSE_BUSYINFO 1
43154 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43155 cat >>confdefs.h
<<\_ACEOF
43156 #define wxUSE_STD_IOSTREAM 1
43161 if test "$wxUSE_STD_STRING" = "yes"; then
43162 cat >>confdefs.h
<<\_ACEOF
43163 #define wxUSE_STD_STRING 1
43168 if test "$wxUSE_STDPATHS" = "yes"; then
43169 cat >>confdefs.h
<<\_ACEOF
43170 #define wxUSE_STDPATHS 1
43175 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43176 cat >>confdefs.h
<<\_ACEOF
43177 #define wxUSE_TEXTBUFFER 1
43182 if test "$wxUSE_TEXTFILE" = "yes"; then
43183 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43184 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43185 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43187 cat >>confdefs.h
<<\_ACEOF
43188 #define wxUSE_TEXTFILE 1
43194 if test "$wxUSE_CONFIG" = "yes" ; then
43195 if test "$wxUSE_TEXTFILE" != "yes"; then
43196 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43197 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43199 cat >>confdefs.h
<<\_ACEOF
43200 #define wxUSE_CONFIG 1
43203 cat >>confdefs.h
<<\_ACEOF
43204 #define wxUSE_CONFIG_NATIVE 1
43207 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43211 if test "$wxUSE_INTL" = "yes" ; then
43212 if test "$wxUSE_FILE" != "yes"; then
43213 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43214 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43216 cat >>confdefs.h
<<\_ACEOF
43217 #define wxUSE_INTL 1
43220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43221 GUIDIST
="$GUIDIST INTL_DIST"
43225 if test "$wxUSE_XLOCALE" == "yes" ; then
43226 cat >>confdefs.h
<<\_ACEOF
43227 #define wxUSE_XLOCALE 1
43230 { echo "$as_me:$LINENO: checking for locale_t" >&5
43231 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43232 if test "${ac_cv_type_locale_t+set}" = set; then
43233 echo $ECHO_N "(cached) $ECHO_C" >&6
43235 cat >conftest.
$ac_ext <<_ACEOF
43238 cat confdefs.h
>>conftest.
$ac_ext
43239 cat >>conftest.
$ac_ext <<_ACEOF
43240 /* end confdefs.h. */
43241 #include <xlocale.h>
43242 #include <locale.h>
43244 typedef locale_t ac__type_new_;
43248 if ((ac__type_new_ *) 0)
43250 if (sizeof (ac__type_new_))
43256 rm -f conftest.
$ac_objext
43257 if { (ac_try
="$ac_compile"
43258 case "(($ac_try" in
43259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43260 *) ac_try_echo=$ac_try;;
43262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43263 (eval "$ac_compile") 2>conftest.er1
43265 grep -v '^ *+' conftest.er1 >conftest.err
43267 cat conftest.err >&5
43268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43269 (exit $ac_status); } && {
43270 test -z "$ac_c_werror_flag" ||
43271 test ! -s conftest.err
43272 } && test -s conftest.$ac_objext; then
43273 ac_cv_type_locale_t=yes
43275 echo "$as_me: failed program was:" >&5
43276 sed 's/^/| /' conftest.$ac_ext >&5
43278 ac_cv_type_locale_t=no
43281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43283 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43284 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43285 if test $ac_cv_type_locale_t = yes; then
43287 cat >>confdefs.h <<_ACEOF
43288 #define HAVE_LOCALE_T 1
43296 if test "$wxUSE_LOG" = "yes"; then
43297 cat >>confdefs.h <<\_ACEOF
43298 #define wxUSE_LOG 1
43302 if test "$wxUSE_LOGGUI" = "yes"; then
43303 cat >>confdefs.h <<\_ACEOF
43304 #define wxUSE_LOGGUI 1
43309 if test "$wxUSE_LOGWINDOW" = "yes"; then
43310 cat >>confdefs.h <<\_ACEOF
43311 #define wxUSE_LOGWINDOW 1
43316 if test "$wxUSE_LOGDIALOG" = "yes"; then
43317 cat >>confdefs.h <<\_ACEOF
43318 #define wxUSE_LOG_DIALOG 1
43323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43326 if test "$wxUSE_LONGLONG" = "yes"; then
43327 cat >>confdefs.h <<\_ACEOF
43328 #define wxUSE_LONGLONG 1
43333 if test "$wxUSE_GEOMETRY" = "yes"; then
43334 cat >>confdefs.h <<\_ACEOF
43335 #define wxUSE_GEOMETRY 1
43340 if test "$wxUSE_BASE64" = "yes"; then
43341 cat >>confdefs.h <<\_ACEOF
43342 #define wxUSE_BASE64 1
43347 if test "$wxUSE_STREAMS" = "yes" ; then
43348 cat >>confdefs.h <<\_ACEOF
43349 #define wxUSE_STREAMS 1
43354 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43355 cat >>confdefs.h <<\_ACEOF
43356 #define wxUSE_PRINTF_POS_PARAMS 1
43361 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43362 cat >>confdefs.h <<\_ACEOF
43363 #define wxUSE_OBJC_UNIQUIFYING 1
43369 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43370 cat >>confdefs.h <<\_ACEOF
43371 #define wxUSE_CONSOLE_EVENTLOOP 1
43375 if test "$wxUSE_UNIX" = "yes"; then
43376 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43377 cat >>confdefs.h <<\_ACEOF
43378 #define wxUSE_SELECT_DISPATCHER 1
43383 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43385 for ac_header in sys/epoll.h
43387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43388 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43391 echo $ECHO_N "(cached) $ECHO_C" >&6
43393 cat >conftest.$ac_ext <<_ACEOF
43396 cat confdefs.h >>conftest.$ac_ext
43397 cat >>conftest.$ac_ext <<_ACEOF
43398 /* end confdefs.h. */
43399 $ac_includes_default
43401 #include <$ac_header>
43403 rm -f conftest.$ac_objext
43404 if { (ac_try="$ac_compile"
43405 case "(($ac_try" in
43406 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43407 *) ac_try_echo
=$ac_try;;
43409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43410 (eval "$ac_compile") 2>conftest.er1
43412 grep -v '^ *+' conftest.er1
>conftest.err
43414 cat conftest.err
>&5
43415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43416 (exit $ac_status); } && {
43417 test -z "$ac_c_werror_flag" ||
43418 test ! -s conftest.err
43419 } && test -s conftest.
$ac_objext; then
43420 eval "$as_ac_Header=yes"
43422 echo "$as_me: failed program was:" >&5
43423 sed 's/^/| /' conftest.
$ac_ext >&5
43425 eval "$as_ac_Header=no"
43428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43430 ac_res
=`eval echo '${'$as_ac_Header'}'`
43431 { echo "$as_me:$LINENO: result: $ac_res" >&5
43432 echo "${ECHO_T}$ac_res" >&6; }
43433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43434 cat >>confdefs.h
<<_ACEOF
43435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43442 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43443 cat >>confdefs.h
<<\_ACEOF
43444 #define wxUSE_EPOLL_DISPATCHER 1
43448 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43449 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43458 for ac_func
in gettimeofday ftime
43460 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43461 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43463 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43464 echo $ECHO_N "(cached) $ECHO_C" >&6
43466 cat >conftest.
$ac_ext <<_ACEOF
43469 cat confdefs.h
>>conftest.
$ac_ext
43470 cat >>conftest.
$ac_ext <<_ACEOF
43471 /* end confdefs.h. */
43472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43474 #define $ac_func innocuous_$ac_func
43476 /* System header to define __stub macros and hopefully few prototypes,
43477 which can conflict with char $ac_func (); below.
43478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43479 <limits.h> exists even on freestanding compilers. */
43482 # include <limits.h>
43484 # include <assert.h>
43489 /* Override any GCC internal prototype to avoid an error.
43490 Use char because int might match the return type of a GCC
43491 builtin and then its argument prototype would still apply. */
43496 /* The GNU C library defines this for functions which it implements
43497 to always fail with ENOSYS. Some functions are actually named
43498 something starting with __ and the normal name is an alias. */
43499 #if defined __stub_$ac_func || defined __stub___$ac_func
43506 return $ac_func ();
43511 rm -f conftest.
$ac_objext conftest
$ac_exeext
43512 if { (ac_try
="$ac_link"
43513 case "(($ac_try" in
43514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43515 *) ac_try_echo=$ac_try;;
43517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43518 (eval "$ac_link") 2>conftest.er1
43520 grep -v '^ *+' conftest.er1 >conftest.err
43522 cat conftest.err >&5
43523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43524 (exit $ac_status); } && {
43525 test -z "$ac_c_werror_flag" ||
43526 test ! -s conftest.err
43527 } && test -s conftest$ac_exeext &&
43528 $as_test_x conftest$ac_exeext; then
43529 eval "$as_ac_var=yes"
43531 echo "$as_me: failed program was:" >&5
43532 sed 's/^/| /' conftest.$ac_ext >&5
43534 eval "$as_ac_var=no"
43537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43538 conftest$ac_exeext conftest.$ac_ext
43540 ac_res=`eval echo '${'$as_ac_var'}'`
43541 { echo "$as_me:$LINENO: result: $ac_res" >&5
43542 echo "${ECHO_T}$ac_res" >&6; }
43543 if test `eval echo '${'$as_ac_var'}'` = yes; then
43544 cat >>confdefs.h <<_ACEOF
43545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43552 if test "$ac_cv_func_gettimeofday" = "yes"; then
43553 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43554 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43555 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43556 echo $ECHO_N "(cached) $ECHO_C" >&6
43559 cat >conftest.$ac_ext <<_ACEOF
43562 cat confdefs.h >>conftest.$ac_ext
43563 cat >>conftest.$ac_ext <<_ACEOF
43564 /* end confdefs.h. */
43566 #include <sys/time.h>
43567 #include <unistd.h>
43574 gettimeofday(&tv, NULL);
43580 rm -f conftest.$ac_objext
43581 if { (ac_try="$ac_compile"
43582 case "(($ac_try" in
43583 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43584 *) ac_try_echo
=$ac_try;;
43586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43587 (eval "$ac_compile") 2>conftest.er1
43589 grep -v '^ *+' conftest.er1
>conftest.err
43591 cat conftest.err
>&5
43592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43593 (exit $ac_status); } && {
43594 test -z "$ac_c_werror_flag" ||
43595 test ! -s conftest.err
43596 } && test -s conftest.
$ac_objext; then
43597 wx_cv_func_gettimeofday_has_2_args
=yes
43599 echo "$as_me: failed program was:" >&5
43600 sed 's/^/| /' conftest.
$ac_ext >&5
43602 cat >conftest.
$ac_ext <<_ACEOF
43605 cat confdefs.h
>>conftest.
$ac_ext
43606 cat >>conftest.
$ac_ext <<_ACEOF
43607 /* end confdefs.h. */
43609 #include <sys/time.h>
43610 #include <unistd.h>
43623 rm -f conftest.
$ac_objext
43624 if { (ac_try
="$ac_compile"
43625 case "(($ac_try" in
43626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43627 *) ac_try_echo=$ac_try;;
43629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43630 (eval "$ac_compile") 2>conftest.er1
43632 grep -v '^ *+' conftest.er1 >conftest.err
43634 cat conftest.err >&5
43635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43636 (exit $ac_status); } && {
43637 test -z "$ac_c_werror_flag" ||
43638 test ! -s conftest.err
43639 } && test -s conftest.$ac_objext; then
43640 wx_cv_func_gettimeofday_has_2_args=no
43642 echo "$as_me: failed program was:" >&5
43643 sed 's/^/| /' conftest.$ac_ext >&5
43646 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43647 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43648 wx_cv_func_gettimeofday_has_2_args=unknown
43653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43660 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43661 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43663 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43664 cat >>confdefs.h <<\_ACEOF
43665 #define WX_GETTIMEOFDAY_NO_TZ 1
43671 if test "$wxUSE_DATETIME" = "yes"; then
43672 { echo "$as_me:$LINENO: checking for strptime" >&5
43673 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43674 if test "${ac_cv_func_strptime+set}" = set; then
43675 echo $ECHO_N "(cached) $ECHO_C" >&6
43677 cat >conftest.$ac_ext <<_ACEOF
43680 cat confdefs.h >>conftest.$ac_ext
43681 cat >>conftest.$ac_ext <<_ACEOF
43682 /* end confdefs.h. */
43683 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43685 #define strptime innocuous_strptime
43687 /* System header to define __stub macros and hopefully few prototypes,
43688 which can conflict with char strptime (); below.
43689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43690 <limits.h> exists even on freestanding compilers. */
43693 # include <limits.h>
43695 # include <assert.h>
43700 /* Override any GCC internal prototype to avoid an error.
43701 Use char because int might match the return type of a GCC
43702 builtin and then its argument prototype would still apply. */
43707 /* The GNU C library defines this for functions which it implements
43708 to always fail with ENOSYS. Some functions are actually named
43709 something starting with __ and the normal name is an alias. */
43710 #if defined __stub_strptime || defined __stub___strptime
43717 return strptime ();
43722 rm -f conftest.$ac_objext conftest$ac_exeext
43723 if { (ac_try="$ac_link"
43724 case "(($ac_try" in
43725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43726 *) ac_try_echo
=$ac_try;;
43728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43729 (eval "$ac_link") 2>conftest.er1
43731 grep -v '^ *+' conftest.er1
>conftest.err
43733 cat conftest.err
>&5
43734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43735 (exit $ac_status); } && {
43736 test -z "$ac_c_werror_flag" ||
43737 test ! -s conftest.err
43738 } && test -s conftest
$ac_exeext &&
43739 $as_test_x conftest
$ac_exeext; then
43740 ac_cv_func_strptime
=yes
43742 echo "$as_me: failed program was:" >&5
43743 sed 's/^/| /' conftest.
$ac_ext >&5
43745 ac_cv_func_strptime
=no
43748 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43749 conftest
$ac_exeext conftest.
$ac_ext
43751 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43752 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43754 if test "$ac_cv_func_strptime" = "yes"; then
43755 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43756 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43757 if test "${wx_cv_func_strptime_decl+set}" = set; then
43758 echo $ECHO_N "(cached) $ECHO_C" >&6
43762 ac_cpp
='$CXXCPP $CPPFLAGS'
43763 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43764 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43765 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43767 cat >conftest.
$ac_ext <<_ACEOF
43770 cat confdefs.h
>>conftest.
$ac_ext
43771 cat >>conftest.
$ac_ext <<_ACEOF
43772 /* end confdefs.h. */
43781 strptime("foo", "bar", &t);
43787 rm -f conftest.
$ac_objext
43788 if { (ac_try
="$ac_compile"
43789 case "(($ac_try" in
43790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43791 *) ac_try_echo=$ac_try;;
43793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43794 (eval "$ac_compile") 2>conftest.er1
43796 grep -v '^ *+' conftest.er1 >conftest.err
43798 cat conftest.err >&5
43799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43800 (exit $ac_status); } && {
43801 test -z "$ac_cxx_werror_flag" ||
43802 test ! -s conftest.err
43803 } && test -s conftest.$ac_objext; then
43804 wx_cv_func_strptime_decl=yes
43806 echo "$as_me: failed program was:" >&5
43807 sed 's/^/| /' conftest.$ac_ext >&5
43809 wx_cv_func_strptime_decl=no
43813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43815 ac_cpp='$CPP $CPPFLAGS'
43816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43823 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43824 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43826 if test "$wx_cv_func_strptime_decl" = "yes"; then
43827 cat >>confdefs.h <<\_ACEOF
43828 #define HAVE_STRPTIME_DECL 1
43832 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43834 if test "$ac_cv_func_strptime" = "yes"; then
43835 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43836 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43837 if test "${wx_cv_func_strptime_ok+set}" = set; then
43838 echo $ECHO_N "(cached) $ECHO_C" >&6
43840 if test "$cross_compiling" = yes; then
43841 wx_cv_func_strptime_ok=no
43844 cat >conftest.$ac_ext <<_ACEOF
43846 #include <stdlib.h>
43848 #include "confdefs.h"
43855 return !!strptime("", "%x", &t);
43859 rm -f conftest$ac_exeext
43860 if { (ac_try="$ac_link"
43861 case "(($ac_try" in
43862 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43863 *) ac_try_echo
=$ac_try;;
43865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43866 (eval "$ac_link") 2>&5
43868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43869 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43870 { (case "(($ac_try" in
43871 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43872 *) ac_try_echo=$ac_try;;
43874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43875 (eval "$ac_try") 2>&5
43877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43878 (exit $ac_status); }; }; then
43879 wx_cv_func_strptime_ok=yes
43881 echo "$as_me: program exited with status $ac_status" >&5
43882 echo "$as_me: failed program was:" >&5
43883 sed 's/^/| /' conftest.$ac_ext >&5
43885 ( exit $ac_status )
43886 wx_cv_func_strptime_ok=no
43888 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43894 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43895 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43897 if test "$wx_cv_func_strptime_ok" = "yes"; then
43898 cat >>confdefs.h <<\_ACEOF
43899 #define HAVE_STRPTIME 1
43905 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43906 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43907 if test "${wx_cv_var_timezone+set}" = set; then
43908 echo $ECHO_N "(cached) $ECHO_C" >&6
43912 ac_cpp='$CXXCPP $CPPFLAGS'
43913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43917 cat >conftest.$ac_ext <<_ACEOF
43920 cat confdefs.h >>conftest.$ac_ext
43921 cat >>conftest.$ac_ext <<_ACEOF
43922 /* end confdefs.h. */
43937 rm -f conftest.$ac_objext
43938 if { (ac_try="$ac_compile"
43939 case "(($ac_try" in
43940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43941 *) ac_try_echo
=$ac_try;;
43943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43944 (eval "$ac_compile") 2>conftest.er1
43946 grep -v '^ *+' conftest.er1
>conftest.err
43948 cat conftest.err
>&5
43949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43950 (exit $ac_status); } && {
43951 test -z "$ac_cxx_werror_flag" ||
43952 test ! -s conftest.err
43953 } && test -s conftest.
$ac_objext; then
43955 wx_cv_var_timezone
=timezone
43958 echo "$as_me: failed program was:" >&5
43959 sed 's/^/| /' conftest.
$ac_ext >&5
43962 cat >conftest.
$ac_ext <<_ACEOF
43965 cat confdefs.h
>>conftest.
$ac_ext
43966 cat >>conftest.
$ac_ext <<_ACEOF
43967 /* end confdefs.h. */
43982 rm -f conftest.
$ac_objext
43983 if { (ac_try
="$ac_compile"
43984 case "(($ac_try" in
43985 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43986 *) ac_try_echo=$ac_try;;
43988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43989 (eval "$ac_compile") 2>conftest.er1
43991 grep -v '^ *+' conftest.er1 >conftest.err
43993 cat conftest.err >&5
43994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43995 (exit $ac_status); } && {
43996 test -z "$ac_cxx_werror_flag" ||
43997 test ! -s conftest.err
43998 } && test -s conftest.$ac_objext; then
44000 wx_cv_var_timezone=_timezone
44003 echo "$as_me: failed program was:" >&5
44004 sed 's/^/| /' conftest.$ac_ext >&5
44007 cat >conftest.$ac_ext <<_ACEOF
44010 cat confdefs.h >>conftest.$ac_ext
44011 cat >>conftest.$ac_ext <<_ACEOF
44012 /* end confdefs.h. */
44027 rm -f conftest.$ac_objext
44028 if { (ac_try="$ac_compile"
44029 case "(($ac_try" in
44030 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44031 *) ac_try_echo
=$ac_try;;
44033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44034 (eval "$ac_compile") 2>conftest.er1
44036 grep -v '^ *+' conftest.er1
>conftest.err
44038 cat conftest.err
>&5
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); } && {
44041 test -z "$ac_cxx_werror_flag" ||
44042 test ! -s conftest.err
44043 } && test -s conftest.
$ac_objext; then
44045 wx_cv_var_timezone
=__timezone
44048 echo "$as_me: failed program was:" >&5
44049 sed 's/^/| /' conftest.
$ac_ext >&5
44052 if test "$USE_DOS" = 0 ; then
44053 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44054 echo "$as_me: WARNING: no timezone variable" >&2;}
44060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44072 ac_cpp
='$CPP $CPPFLAGS'
44073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44080 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44081 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44083 if test "x$wx_cv_var_timezone" != x
; then
44084 cat >>confdefs.h
<<_ACEOF
44085 #define WX_TIMEZONE $wx_cv_var_timezone
44091 for ac_func
in localtime
44093 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44094 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44096 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44097 echo $ECHO_N "(cached) $ECHO_C" >&6
44099 cat >conftest.
$ac_ext <<_ACEOF
44102 cat confdefs.h
>>conftest.
$ac_ext
44103 cat >>conftest.
$ac_ext <<_ACEOF
44104 /* end confdefs.h. */
44105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44107 #define $ac_func innocuous_$ac_func
44109 /* System header to define __stub macros and hopefully few prototypes,
44110 which can conflict with char $ac_func (); below.
44111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44112 <limits.h> exists even on freestanding compilers. */
44115 # include <limits.h>
44117 # include <assert.h>
44122 /* Override any GCC internal prototype to avoid an error.
44123 Use char because int might match the return type of a GCC
44124 builtin and then its argument prototype would still apply. */
44129 /* The GNU C library defines this for functions which it implements
44130 to always fail with ENOSYS. Some functions are actually named
44131 something starting with __ and the normal name is an alias. */
44132 #if defined __stub_$ac_func || defined __stub___$ac_func
44139 return $ac_func ();
44144 rm -f conftest.
$ac_objext conftest
$ac_exeext
44145 if { (ac_try
="$ac_link"
44146 case "(($ac_try" in
44147 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44148 *) ac_try_echo=$ac_try;;
44150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44151 (eval "$ac_link") 2>conftest.er1
44153 grep -v '^ *+' conftest.er1 >conftest.err
44155 cat conftest.err >&5
44156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44157 (exit $ac_status); } && {
44158 test -z "$ac_c_werror_flag" ||
44159 test ! -s conftest.err
44160 } && test -s conftest$ac_exeext &&
44161 $as_test_x conftest$ac_exeext; then
44162 eval "$as_ac_var=yes"
44164 echo "$as_me: failed program was:" >&5
44165 sed 's/^/| /' conftest.$ac_ext >&5
44167 eval "$as_ac_var=no"
44170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44171 conftest$ac_exeext conftest.$ac_ext
44173 ac_res=`eval echo '${'$as_ac_var'}'`
44174 { echo "$as_me:$LINENO: result: $ac_res" >&5
44175 echo "${ECHO_T}$ac_res" >&6; }
44176 if test `eval echo '${'$as_ac_var'}'` = yes; then
44177 cat >>confdefs.h <<_ACEOF
44178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44185 if test "$ac_cv_func_localtime" = "yes"; then
44186 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44187 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44188 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44189 echo $ECHO_N "(cached) $ECHO_C" >&6
44192 cat >conftest.$ac_ext <<_ACEOF
44195 cat confdefs.h >>conftest.$ac_ext
44196 cat >>conftest.$ac_ext <<_ACEOF
44197 /* end confdefs.h. */
44212 rm -f conftest.$ac_objext
44213 if { (ac_try="$ac_compile"
44214 case "(($ac_try" in
44215 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44216 *) ac_try_echo
=$ac_try;;
44218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44219 (eval "$ac_compile") 2>conftest.er1
44221 grep -v '^ *+' conftest.er1
>conftest.err
44223 cat conftest.err
>&5
44224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44225 (exit $ac_status); } && {
44226 test -z "$ac_c_werror_flag" ||
44227 test ! -s conftest.err
44228 } && test -s conftest.
$ac_objext; then
44230 wx_cv_struct_tm_has_gmtoff
=yes
44233 echo "$as_me: failed program was:" >&5
44234 sed 's/^/| /' conftest.
$ac_ext >&5
44236 wx_cv_struct_tm_has_gmtoff
=no
44240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44243 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44244 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44247 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44248 cat >>confdefs.h
<<\_ACEOF
44249 #define WX_GMTOFF_IN_TM 1
44254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44258 if test "$wxUSE_SOCKETS" = "yes"; then
44259 if test "$wxUSE_MGL" = 1; then
44260 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44261 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44266 if test "$wxUSE_SOCKETS" = "yes"; then
44267 if test "$TOOLKIT" != "MSW"; then
44268 { echo "$as_me:$LINENO: checking for socket" >&5
44269 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44270 if test "${ac_cv_func_socket+set}" = set; then
44271 echo $ECHO_N "(cached) $ECHO_C" >&6
44273 cat >conftest.
$ac_ext <<_ACEOF
44276 cat confdefs.h
>>conftest.
$ac_ext
44277 cat >>conftest.
$ac_ext <<_ACEOF
44278 /* end confdefs.h. */
44279 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44281 #define socket innocuous_socket
44283 /* System header to define __stub macros and hopefully few prototypes,
44284 which can conflict with char socket (); below.
44285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44286 <limits.h> exists even on freestanding compilers. */
44289 # include <limits.h>
44291 # include <assert.h>
44296 /* Override any GCC internal prototype to avoid an error.
44297 Use char because int might match the return type of a GCC
44298 builtin and then its argument prototype would still apply. */
44303 /* The GNU C library defines this for functions which it implements
44304 to always fail with ENOSYS. Some functions are actually named
44305 something starting with __ and the normal name is an alias. */
44306 #if defined __stub_socket || defined __stub___socket
44318 rm -f conftest.
$ac_objext conftest
$ac_exeext
44319 if { (ac_try
="$ac_link"
44320 case "(($ac_try" in
44321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44322 *) ac_try_echo=$ac_try;;
44324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44325 (eval "$ac_link") 2>conftest.er1
44327 grep -v '^ *+' conftest.er1 >conftest.err
44329 cat conftest.err >&5
44330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44331 (exit $ac_status); } && {
44332 test -z "$ac_c_werror_flag" ||
44333 test ! -s conftest.err
44334 } && test -s conftest$ac_exeext &&
44335 $as_test_x conftest$ac_exeext; then
44336 ac_cv_func_socket=yes
44338 echo "$as_me: failed program was:" >&5
44339 sed 's/^/| /' conftest.$ac_ext >&5
44341 ac_cv_func_socket=no
44344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44345 conftest$ac_exeext conftest.$ac_ext
44347 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44348 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44349 if test $ac_cv_func_socket = yes; then
44353 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44354 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44355 if test "${ac_cv_lib_socket_socket+set}" = set; then
44356 echo $ECHO_N "(cached) $ECHO_C" >&6
44358 ac_check_lib_save_LIBS=$LIBS
44359 LIBS="-lsocket $LIBS"
44360 cat >conftest.$ac_ext <<_ACEOF
44363 cat confdefs.h >>conftest.$ac_ext
44364 cat >>conftest.$ac_ext <<_ACEOF
44365 /* end confdefs.h. */
44367 /* Override any GCC internal prototype to avoid an error.
44368 Use char because int might match the return type of a GCC
44369 builtin and then its argument prototype would still apply. */
44382 rm -f conftest.$ac_objext conftest$ac_exeext
44383 if { (ac_try="$ac_link"
44384 case "(($ac_try" in
44385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44386 *) ac_try_echo
=$ac_try;;
44388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44389 (eval "$ac_link") 2>conftest.er1
44391 grep -v '^ *+' conftest.er1
>conftest.err
44393 cat conftest.err
>&5
44394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44395 (exit $ac_status); } && {
44396 test -z "$ac_c_werror_flag" ||
44397 test ! -s conftest.err
44398 } && test -s conftest
$ac_exeext &&
44399 $as_test_x conftest
$ac_exeext; then
44400 ac_cv_lib_socket_socket
=yes
44402 echo "$as_me: failed program was:" >&5
44403 sed 's/^/| /' conftest.
$ac_ext >&5
44405 ac_cv_lib_socket_socket
=no
44408 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44409 conftest
$ac_exeext conftest.
$ac_ext
44410 LIBS
=$ac_check_lib_save_LIBS
44412 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44413 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44414 if test $ac_cv_lib_socket_socket = yes; then
44415 if test "$INET_LINK" != " -lsocket"; then
44416 INET_LINK
="$INET_LINK -lsocket"
44420 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44421 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44434 if test "$wxUSE_SOCKETS" = "yes" ; then
44435 if test "$TOOLKIT" != "MSW"; then
44436 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44437 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44438 if test "${wx_cv_type_getsockname3+set}" = set; then
44439 echo $ECHO_N "(cached) $ECHO_C" >&6
44443 ac_cpp
='$CXXCPP $CPPFLAGS'
44444 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44445 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44446 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44448 cat >conftest.
$ac_ext <<_ACEOF
44451 cat confdefs.h
>>conftest.
$ac_ext
44452 cat >>conftest.
$ac_ext <<_ACEOF
44453 /* end confdefs.h. */
44455 #include <sys/types.h>
44456 #include <sys/socket.h>
44463 getsockname(0, 0, &len);
44469 rm -f conftest.
$ac_objext
44470 if { (ac_try
="$ac_compile"
44471 case "(($ac_try" in
44472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44473 *) ac_try_echo=$ac_try;;
44475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44476 (eval "$ac_compile") 2>conftest.er1
44478 grep -v '^ *+' conftest.er1 >conftest.err
44480 cat conftest.err >&5
44481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44482 (exit $ac_status); } && {
44483 test -z "$ac_cxx_werror_flag" ||
44484 test ! -s conftest.err
44485 } && test -s conftest.$ac_objext; then
44486 wx_cv_type_getsockname3=socklen_t
44488 echo "$as_me: failed program was:" >&5
44489 sed 's/^/| /' conftest.$ac_ext >&5
44492 CFLAGS_OLD="$CFLAGS"
44493 if test "$GCC" = yes ; then
44494 CFLAGS="-Werror $CFLAGS"
44497 cat >conftest.$ac_ext <<_ACEOF
44500 cat confdefs.h >>conftest.$ac_ext
44501 cat >>conftest.$ac_ext <<_ACEOF
44502 /* end confdefs.h. */
44504 #include <sys/types.h>
44505 #include <sys/socket.h>
44512 getsockname(0, 0, &len);
44518 rm -f conftest.$ac_objext
44519 if { (ac_try="$ac_compile"
44520 case "(($ac_try" in
44521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44522 *) ac_try_echo
=$ac_try;;
44524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44525 (eval "$ac_compile") 2>conftest.er1
44527 grep -v '^ *+' conftest.er1
>conftest.err
44529 cat conftest.err
>&5
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); } && {
44532 test -z "$ac_cxx_werror_flag" ||
44533 test ! -s conftest.err
44534 } && test -s conftest.
$ac_objext; then
44535 wx_cv_type_getsockname3
=size_t
44537 echo "$as_me: failed program was:" >&5
44538 sed 's/^/| /' conftest.
$ac_ext >&5
44540 cat >conftest.
$ac_ext <<_ACEOF
44543 cat confdefs.h
>>conftest.
$ac_ext
44544 cat >>conftest.
$ac_ext <<_ACEOF
44545 /* end confdefs.h. */
44547 #include <sys/types.h>
44548 #include <sys/socket.h>
44555 getsockname(0, 0, &len);
44561 rm -f conftest.
$ac_objext
44562 if { (ac_try
="$ac_compile"
44563 case "(($ac_try" in
44564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44565 *) ac_try_echo=$ac_try;;
44567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44568 (eval "$ac_compile") 2>conftest.er1
44570 grep -v '^ *+' conftest.er1 >conftest.err
44572 cat conftest.err >&5
44573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44574 (exit $ac_status); } && {
44575 test -z "$ac_cxx_werror_flag" ||
44576 test ! -s conftest.err
44577 } && test -s conftest.$ac_objext; then
44578 wx_cv_type_getsockname3=int
44580 echo "$as_me: failed program was:" >&5
44581 sed 's/^/| /' conftest.$ac_ext >&5
44583 wx_cv_type_getsockname3=unknown
44587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44593 CFLAGS="$CFLAGS_OLD"
44598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44600 ac_cpp='$CPP $CPPFLAGS'
44601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44607 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44608 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44610 if test "$wx_cv_type_getsockname3" = "unknown"; then
44612 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44613 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44615 cat >>confdefs.h <<_ACEOF
44616 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44620 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44621 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44622 if test "${wx_cv_type_getsockopt5+set}" = set; then
44623 echo $ECHO_N "(cached) $ECHO_C" >&6
44627 ac_cpp='$CXXCPP $CPPFLAGS'
44628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44632 cat >conftest.$ac_ext <<_ACEOF
44635 cat confdefs.h >>conftest.$ac_ext
44636 cat >>conftest.$ac_ext <<_ACEOF
44637 /* end confdefs.h. */
44639 #include <sys/types.h>
44640 #include <sys/socket.h>
44647 getsockopt(0, 0, 0, 0, &len);
44653 rm -f conftest.$ac_objext
44654 if { (ac_try="$ac_compile"
44655 case "(($ac_try" in
44656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44657 *) ac_try_echo
=$ac_try;;
44659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44660 (eval "$ac_compile") 2>conftest.er1
44662 grep -v '^ *+' conftest.er1
>conftest.err
44664 cat conftest.err
>&5
44665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44666 (exit $ac_status); } && {
44667 test -z "$ac_cxx_werror_flag" ||
44668 test ! -s conftest.err
44669 } && test -s conftest.
$ac_objext; then
44670 wx_cv_type_getsockopt5
=socklen_t
44672 echo "$as_me: failed program was:" >&5
44673 sed 's/^/| /' conftest.
$ac_ext >&5
44676 cat >conftest.
$ac_ext <<_ACEOF
44679 cat confdefs.h
>>conftest.
$ac_ext
44680 cat >>conftest.
$ac_ext <<_ACEOF
44681 /* end confdefs.h. */
44683 #include <sys/types.h>
44684 #include <sys/socket.h>
44691 getsockopt(0, 0, 0, 0, &len);
44697 rm -f conftest.
$ac_objext
44698 if { (ac_try
="$ac_compile"
44699 case "(($ac_try" in
44700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44701 *) ac_try_echo=$ac_try;;
44703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44704 (eval "$ac_compile") 2>conftest.er1
44706 grep -v '^ *+' conftest.er1 >conftest.err
44708 cat conftest.err >&5
44709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710 (exit $ac_status); } && {
44711 test -z "$ac_cxx_werror_flag" ||
44712 test ! -s conftest.err
44713 } && test -s conftest.$ac_objext; then
44714 wx_cv_type_getsockopt5=size_t
44716 echo "$as_me: failed program was:" >&5
44717 sed 's/^/| /' conftest.$ac_ext >&5
44719 cat >conftest.$ac_ext <<_ACEOF
44722 cat confdefs.h >>conftest.$ac_ext
44723 cat >>conftest.$ac_ext <<_ACEOF
44724 /* end confdefs.h. */
44726 #include <sys/types.h>
44727 #include <sys/socket.h>
44734 getsockopt(0, 0, 0, 0, &len);
44740 rm -f conftest.$ac_objext
44741 if { (ac_try="$ac_compile"
44742 case "(($ac_try" in
44743 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44744 *) ac_try_echo
=$ac_try;;
44746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44747 (eval "$ac_compile") 2>conftest.er1
44749 grep -v '^ *+' conftest.er1
>conftest.err
44751 cat conftest.err
>&5
44752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44753 (exit $ac_status); } && {
44754 test -z "$ac_cxx_werror_flag" ||
44755 test ! -s conftest.err
44756 } && test -s conftest.
$ac_objext; then
44757 wx_cv_type_getsockopt5
=int
44759 echo "$as_me: failed program was:" >&5
44760 sed 's/^/| /' conftest.
$ac_ext >&5
44762 wx_cv_type_getsockopt5
=unknown
44766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44777 ac_cpp
='$CPP $CPPFLAGS'
44778 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44779 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44780 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44784 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44785 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44787 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44789 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44790 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44792 cat >>confdefs.h
<<_ACEOF
44793 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44800 if test "$wxUSE_SOCKETS" = "yes" ; then
44801 if test "$wxUSE_IPV6" = "yes"; then
44802 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44803 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44804 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44805 echo $ECHO_N "(cached) $ECHO_C" >&6
44808 cat >conftest.
$ac_ext <<_ACEOF
44811 cat confdefs.h
>>conftest.
$ac_ext
44812 cat >>conftest.
$ac_ext <<_ACEOF
44813 /* end confdefs.h. */
44815 #include <sys/types.h>
44816 #include <sys/socket.h>
44817 #include <netinet/in.h>
44823 struct sockaddr_in6 sa6;
44829 rm -f conftest.
$ac_objext
44830 if { (ac_try
="$ac_compile"
44831 case "(($ac_try" in
44832 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44833 *) ac_try_echo=$ac_try;;
44835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44836 (eval "$ac_compile") 2>conftest.er1
44838 grep -v '^ *+' conftest.er1 >conftest.err
44840 cat conftest.err >&5
44841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44842 (exit $ac_status); } && {
44843 test -z "$ac_c_werror_flag" ||
44844 test ! -s conftest.err
44845 } && test -s conftest.$ac_objext; then
44846 wx_cv_type_sockaddr_in6=yes
44848 echo "$as_me: failed program was:" >&5
44849 sed 's/^/| /' conftest.$ac_ext >&5
44851 wx_cv_type_sockaddr_in6=no
44855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44859 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44860 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44862 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44863 cat >>confdefs.h <<\_ACEOF
44864 #define wxUSE_IPV6 1
44868 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44869 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44873 cat >>confdefs.h <<\_ACEOF
44874 #define wxUSE_SOCKETS 1
44877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44880 if test "$wxUSE_PROTOCOL" = "yes"; then
44881 if test "$wxUSE_SOCKETS" != "yes"; then
44882 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44883 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44888 if test "$wxUSE_PROTOCOL" = "yes"; then
44889 cat >>confdefs.h <<\_ACEOF
44890 #define wxUSE_PROTOCOL 1
44894 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44895 cat >>confdefs.h <<\_ACEOF
44896 #define wxUSE_PROTOCOL_HTTP 1
44900 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_PROTOCOL_FTP 1
44906 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44907 cat >>confdefs.h <<\_ACEOF
44908 #define wxUSE_PROTOCOL_FILE 1
44913 if test "$wxUSE_FS_INET" = "yes"; then
44914 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44915 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44920 if test "$wxUSE_URL" = "yes"; then
44921 if test "$wxUSE_PROTOCOL" != "yes"; then
44922 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44923 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44926 if test "$wxUSE_URL" = "yes"; then
44927 cat >>confdefs.h <<\_ACEOF
44928 #define wxUSE_URL 1
44934 if test "$wxUSE_VARIANT" = "yes"; then
44935 cat >>confdefs.h <<\_ACEOF
44936 #define wxUSE_VARIANT 1
44941 if test "$wxUSE_FS_INET" = "yes"; then
44942 cat >>confdefs.h <<\_ACEOF
44943 #define wxUSE_FS_INET 1
44949 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44952 if test "$TOOLKIT" = "MSW"; then
44955 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44956 if test "$USE_DARWIN" = 1; then
44957 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44958 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44960 ac_cpp='$CXXCPP $CPPFLAGS'
44961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44965 cat >conftest.$ac_ext <<_ACEOF
44968 cat confdefs.h >>conftest.$ac_ext
44969 cat >>conftest.$ac_ext <<_ACEOF
44970 /* end confdefs.h. */
44971 #include <IOKit/hid/IOHIDLib.h>
44975 IOHIDQueueInterface *qi = NULL;
44976 IOHIDCallbackFunction cb = NULL;
44977 qi->setEventCallout(NULL, cb, NULL, NULL);
44982 rm -f conftest.$ac_objext
44983 if { (ac_try="$ac_compile"
44984 case "(($ac_try" in
44985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44986 *) ac_try_echo
=$ac_try;;
44988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44989 (eval "$ac_compile") 2>conftest.er1
44991 grep -v '^ *+' conftest.er1
>conftest.err
44993 cat conftest.err
>&5
44994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44995 (exit $ac_status); } && {
44996 test -z "$ac_cxx_werror_flag" ||
44997 test ! -s conftest.err
44998 } && test -s conftest.
$ac_objext; then
45002 echo "$as_me: failed program was:" >&5
45003 sed 's/^/| /' conftest.
$ac_ext >&5
45008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45010 ac_cpp
='$CPP $CPPFLAGS'
45011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45015 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45016 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45020 if test "$wxUSE_MGL" != 1; then
45022 for ac_header
in linux
/joystick.h
45024 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45025 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45027 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45028 echo $ECHO_N "(cached) $ECHO_C" >&6
45030 cat >conftest.
$ac_ext <<_ACEOF
45033 cat confdefs.h
>>conftest.
$ac_ext
45034 cat >>conftest.
$ac_ext <<_ACEOF
45035 /* end confdefs.h. */
45036 $ac_includes_default
45038 #include <$ac_header>
45040 rm -f conftest.
$ac_objext
45041 if { (ac_try
="$ac_compile"
45042 case "(($ac_try" in
45043 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45044 *) ac_try_echo=$ac_try;;
45046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45047 (eval "$ac_compile") 2>conftest.er1
45049 grep -v '^ *+' conftest.er1 >conftest.err
45051 cat conftest.err >&5
45052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45053 (exit $ac_status); } && {
45054 test -z "$ac_c_werror_flag" ||
45055 test ! -s conftest.err
45056 } && test -s conftest.$ac_objext; then
45057 eval "$as_ac_Header=yes"
45059 echo "$as_me: failed program was:" >&5
45060 sed 's/^/| /' conftest.$ac_ext >&5
45062 eval "$as_ac_Header=no"
45065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45067 ac_res=`eval echo '${'$as_ac_Header'}'`
45068 { echo "$as_me:$LINENO: result: $ac_res" >&5
45069 echo "${ECHO_T}$ac_res" >&6; }
45070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45071 cat >>confdefs.h <<_ACEOF
45072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45082 if test "$wxUSE_JOYSTICK" = "yes"; then
45083 cat >>confdefs.h <<\_ACEOF
45084 #define wxUSE_JOYSTICK 1
45087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45089 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45090 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45096 if test "$wxUSE_FONTENUM" = "yes" ; then
45097 cat >>confdefs.h <<\_ACEOF
45098 #define wxUSE_FONTENUM 1
45103 if test "$wxUSE_FONTMAP" = "yes" ; then
45104 cat >>confdefs.h <<\_ACEOF
45105 #define wxUSE_FONTMAP 1
45110 if test "$wxUSE_UNICODE" = "yes" ; then
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_UNICODE 1
45116 if test "$USE_WIN32" != 1; then
45117 wxUSE_UNICODE_MSLU=no
45120 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45121 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45122 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45123 if test "${ac_cv_lib_unicows_main+set}" = set; then
45124 echo $ECHO_N "(cached) $ECHO_C" >&6
45126 ac_check_lib_save_LIBS=$LIBS
45127 LIBS="-lunicows $LIBS"
45128 cat >conftest.$ac_ext <<_ACEOF
45131 cat confdefs.h >>conftest.$ac_ext
45132 cat >>conftest.$ac_ext <<_ACEOF
45133 /* end confdefs.h. */
45144 rm -f conftest.$ac_objext conftest$ac_exeext
45145 if { (ac_try="$ac_link"
45146 case "(($ac_try" in
45147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45148 *) ac_try_echo
=$ac_try;;
45150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45151 (eval "$ac_link") 2>conftest.er1
45153 grep -v '^ *+' conftest.er1
>conftest.err
45155 cat conftest.err
>&5
45156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45157 (exit $ac_status); } && {
45158 test -z "$ac_c_werror_flag" ||
45159 test ! -s conftest.err
45160 } && test -s conftest
$ac_exeext &&
45161 $as_test_x conftest
$ac_exeext; then
45162 ac_cv_lib_unicows_main
=yes
45164 echo "$as_me: failed program was:" >&5
45165 sed 's/^/| /' conftest.
$ac_ext >&5
45167 ac_cv_lib_unicows_main
=no
45170 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45171 conftest
$ac_exeext conftest.
$ac_ext
45172 LIBS
=$ac_check_lib_save_LIBS
45174 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45175 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45176 if test $ac_cv_lib_unicows_main = yes; then
45178 cat >>confdefs.h
<<\_ACEOF
45179 #define wxUSE_UNICODE_MSLU 1
45185 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45186 Applications will only run on Windows NT/2000/XP!" >&5
45187 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45188 Applications will only run on Windows NT/2000/XP!" >&2;}
45189 wxUSE_UNICODE_MSLU
=no
45196 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45197 cat >>confdefs.h
<<\_ACEOF
45198 #define wxUSE_UNICODE_UTF8 1
45202 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45203 cat >>confdefs.h
<<\_ACEOF
45204 #define wxUSE_UTF8_LOCALE_ONLY 1
45211 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45212 cat >>confdefs.h
<<\_ACEOF
45213 #define wxUSE_CONSTRAINTS 1
45216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45219 if test "$wxUSE_MDI" = "yes"; then
45220 cat >>confdefs.h
<<\_ACEOF
45221 #define wxUSE_MDI 1
45225 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45226 cat >>confdefs.h
<<\_ACEOF
45227 #define wxUSE_MDI_ARCHITECTURE 1
45230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45234 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45235 cat >>confdefs.h
<<\_ACEOF
45236 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45242 if test "$wxUSE_HELP" = "yes"; then
45243 cat >>confdefs.h
<<\_ACEOF
45244 #define wxUSE_HELP 1
45247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45249 if test "$wxUSE_MSW" = 1; then
45250 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45251 cat >>confdefs.h
<<\_ACEOF
45252 #define wxUSE_MS_HTML_HELP 1
45258 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45259 if test "$wxUSE_HTML" = "yes"; then
45260 cat >>confdefs.h
<<\_ACEOF
45261 #define wxUSE_WXHTML_HELP 1
45265 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45266 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45267 wxUSE_WXHTML_HELP
=no
45272 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45273 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45274 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45275 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45277 cat >>confdefs.h
<<\_ACEOF
45278 #define wxUSE_PRINTING_ARCHITECTURE 1
45282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45285 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45286 cat >>confdefs.h
<<\_ACEOF
45287 #define wxUSE_POSTSCRIPT 1
45292 cat >>confdefs.h
<<\_ACEOF
45293 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45297 if test "$wxUSE_SVG" = "yes"; then
45298 cat >>confdefs.h
<<\_ACEOF
45299 #define wxUSE_SVG 1
45305 if test "$wxUSE_METAFILE" = "yes"; then
45306 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45307 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45308 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45314 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45315 -o "$wxUSE_CLIPBOARD" = "yes" \
45316 -o "$wxUSE_OLE" = "yes" \
45317 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45318 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45319 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45320 if test "${ac_cv_header_ole2_h+set}" = set; then
45321 echo $ECHO_N "(cached) $ECHO_C" >&6
45323 cat >conftest.
$ac_ext <<_ACEOF
45326 cat confdefs.h
>>conftest.
$ac_ext
45327 cat >>conftest.
$ac_ext <<_ACEOF
45328 /* end confdefs.h. */
45333 rm -f conftest.
$ac_objext
45334 if { (ac_try
="$ac_compile"
45335 case "(($ac_try" in
45336 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45337 *) ac_try_echo=$ac_try;;
45339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45340 (eval "$ac_compile") 2>conftest.er1
45342 grep -v '^ *+' conftest.er1 >conftest.err
45344 cat conftest.err >&5
45345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45346 (exit $ac_status); } && {
45347 test -z "$ac_c_werror_flag" ||
45348 test ! -s conftest.err
45349 } && test -s conftest.$ac_objext; then
45350 ac_cv_header_ole2_h=yes
45352 echo "$as_me: failed program was:" >&5
45353 sed 's/^/| /' conftest.$ac_ext >&5
45355 ac_cv_header_ole2_h=no
45358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45360 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45361 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45365 if test "$ac_cv_header_ole2_h" = "yes" ; then
45366 if test "$GCC" = yes ; then
45367 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45368 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45369 cat >conftest.$ac_ext <<_ACEOF
45372 cat confdefs.h >>conftest.$ac_ext
45373 cat >>conftest.$ac_ext <<_ACEOF
45374 /* end confdefs.h. */
45375 #include <windows.h>
45385 rm -f conftest.$ac_objext
45386 if { (ac_try="$ac_compile"
45387 case "(($ac_try" in
45388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45389 *) ac_try_echo
=$ac_try;;
45391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45392 (eval "$ac_compile") 2>conftest.er1
45394 grep -v '^ *+' conftest.er1
>conftest.err
45396 cat conftest.err
>&5
45397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398 (exit $ac_status); } && {
45399 test -z "$ac_c_werror_flag" ||
45400 test ! -s conftest.err
45401 } && test -s conftest.
$ac_objext; then
45402 { echo "$as_me:$LINENO: result: no" >&5
45403 echo "${ECHO_T}no" >&6; }
45405 echo "$as_me: failed program was:" >&5
45406 sed 's/^/| /' conftest.
$ac_ext >&5
45408 { echo "$as_me:$LINENO: result: yes" >&5
45409 echo "${ECHO_T}yes" >&6; }
45410 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45414 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45415 if test "$wxUSE_OLE" = "yes" ; then
45416 cat >>confdefs.h
<<\_ACEOF
45417 #define wxUSE_OLE 1
45420 cat >>confdefs.h
<<\_ACEOF
45421 #define wxUSE_OLE_AUTOMATION 1
45424 cat >>confdefs.h
<<\_ACEOF
45425 #define wxUSE_ACTIVEX 1
45428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45432 if test "$wxUSE_DATAOBJ" = "yes" ; then
45433 cat >>confdefs.h
<<\_ACEOF
45434 #define wxUSE_DATAOBJ 1
45439 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45440 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45443 wxUSE_DRAG_AND_DROP
=no
45448 if test "$wxUSE_METAFILE" = "yes"; then
45449 cat >>confdefs.h
<<\_ACEOF
45450 #define wxUSE_METAFILE 1
45454 cat >>confdefs.h
<<\_ACEOF
45455 #define wxUSE_ENH_METAFILE 1
45461 if test "$wxUSE_IPC" = "yes"; then
45462 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45463 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45464 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45468 if test "$wxUSE_IPC" = "yes"; then
45469 cat >>confdefs.h
<<\_ACEOF
45470 #define wxUSE_IPC 1
45473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45477 if test "$wxUSE_DATAOBJ" = "yes"; then
45478 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45479 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45480 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45483 cat >>confdefs.h
<<\_ACEOF
45484 #define wxUSE_DATAOBJ 1
45489 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45490 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45492 wxUSE_DRAG_AND_DROP
=no
45495 if test "$wxUSE_CLIPBOARD" = "yes"; then
45496 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45497 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45498 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45502 if test "$wxUSE_CLIPBOARD" = "yes"; then
45503 cat >>confdefs.h
<<\_ACEOF
45504 #define wxUSE_CLIPBOARD 1
45510 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45511 if test "$wxUSE_GTK" = 1; then
45512 if test "$WXGTK12" != 1; then
45513 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45514 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45515 wxUSE_DRAG_AND_DROP
=no
45519 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45520 "$wxUSE_DFB" = 1; then
45521 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45522 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45523 wxUSE_DRAG_AND_DROP
=no
45526 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45527 cat >>confdefs.h
<<\_ACEOF
45528 #define wxUSE_DRAG_AND_DROP 1
45535 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45539 if test "$wxUSE_SPLINES" = "yes" ; then
45540 cat >>confdefs.h
<<\_ACEOF
45541 #define wxUSE_SPLINES 1
45546 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45547 cat >>confdefs.h
<<\_ACEOF
45548 #define wxUSE_MOUSEWHEEL 1
45555 if test "$wxUSE_CONTROLS" = "yes"; then
45559 if test "$wxUSE_ACCEL" = "yes"; then
45560 cat >>confdefs.h
<<\_ACEOF
45561 #define wxUSE_ACCEL 1
45567 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45568 cat >>confdefs.h
<<\_ACEOF
45569 #define wxUSE_ANIMATIONCTRL 1
45573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45576 if test "$wxUSE_BUTTON" = "yes"; then
45577 cat >>confdefs.h
<<\_ACEOF
45578 #define wxUSE_BUTTON 1
45584 if test "$wxUSE_BMPBUTTON" = "yes"; then
45585 cat >>confdefs.h
<<\_ACEOF
45586 #define wxUSE_BMPBUTTON 1
45592 if test "$wxUSE_CALCTRL" = "yes"; then
45593 cat >>confdefs.h
<<\_ACEOF
45594 #define wxUSE_CALENDARCTRL 1
45598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45601 if test "$wxUSE_CARET" = "yes"; then
45602 cat >>confdefs.h
<<\_ACEOF
45603 #define wxUSE_CARET 1
45607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45610 if test "$wxUSE_COLLPANE" = "yes"; then
45611 cat >>confdefs.h
<<\_ACEOF
45612 #define wxUSE_COLLPANE 1
45616 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45619 if test "$wxUSE_COMBOBOX" = "yes"; then
45620 cat >>confdefs.h
<<\_ACEOF
45621 #define wxUSE_COMBOBOX 1
45627 if test "$wxUSE_COMBOCTRL" = "yes"; then
45628 cat >>confdefs.h
<<\_ACEOF
45629 #define wxUSE_COMBOCTRL 1
45635 if test "$wxUSE_CHOICE" = "yes"; then
45636 cat >>confdefs.h
<<\_ACEOF
45637 #define wxUSE_CHOICE 1
45643 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45644 cat >>confdefs.h
<<\_ACEOF
45645 #define wxUSE_CHOICEBOOK 1
45651 if test "$wxUSE_CHECKBOX" = "yes"; then
45652 cat >>confdefs.h
<<\_ACEOF
45653 #define wxUSE_CHECKBOX 1
45659 if test "$wxUSE_CHECKLST" = "yes"; then
45660 cat >>confdefs.h
<<\_ACEOF
45661 #define wxUSE_CHECKLISTBOX 1
45667 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45668 cat >>confdefs.h
<<\_ACEOF
45669 #define wxUSE_COLOURPICKERCTRL 1
45675 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45676 cat >>confdefs.h
<<\_ACEOF
45677 #define wxUSE_DATEPICKCTRL 1
45683 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45684 cat >>confdefs.h
<<\_ACEOF
45685 #define wxUSE_DIRPICKERCTRL 1
45691 if test "$wxUSE_FILECTRL" = "yes"; then
45692 cat >>confdefs.h
<<\_ACEOF
45693 #define wxUSE_FILECTRL 1
45699 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45700 cat >>confdefs.h
<<\_ACEOF
45701 #define wxUSE_FILEPICKERCTRL 1
45707 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45708 cat >>confdefs.h
<<\_ACEOF
45709 #define wxUSE_FONTPICKERCTRL 1
45715 if test "$wxUSE_DISPLAY" = "yes"; then
45716 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45717 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45718 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45721 cat >>confdefs.h
<<\_ACEOF
45722 #define wxUSE_DISPLAY 1
45725 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45729 if test "$wxUSE_DETECT_SM" = "yes"; then
45730 cat >>confdefs.h
<<\_ACEOF
45731 #define wxUSE_DETECT_SM 1
45736 if test "$wxUSE_GAUGE" = "yes"; then
45737 cat >>confdefs.h
<<\_ACEOF
45738 #define wxUSE_GAUGE 1
45744 if test "$wxUSE_GRID" = "yes"; then
45745 cat >>confdefs.h
<<\_ACEOF
45746 #define wxUSE_GRID 1
45750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45753 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45754 cat >>confdefs.h
<<\_ACEOF
45755 #define wxUSE_HYPERLINKCTRL 1
45761 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45762 cat >>confdefs.h
<<\_ACEOF
45763 #define wxUSE_BITMAPCOMBOBOX 1
45769 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45770 cat >>confdefs.h
<<\_ACEOF
45771 #define wxUSE_DATAVIEWCTRL 1
45775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45778 if test "$wxUSE_IMAGLIST" = "yes"; then
45779 cat >>confdefs.h
<<\_ACEOF
45780 #define wxUSE_IMAGLIST 1
45785 if test "$wxUSE_LISTBOOK" = "yes"; then
45786 cat >>confdefs.h
<<\_ACEOF
45787 #define wxUSE_LISTBOOK 1
45793 if test "$wxUSE_LISTBOX" = "yes"; then
45794 cat >>confdefs.h
<<\_ACEOF
45795 #define wxUSE_LISTBOX 1
45801 if test "$wxUSE_LISTCTRL" = "yes"; then
45802 if test "$wxUSE_IMAGLIST" = "yes"; then
45803 cat >>confdefs.h
<<\_ACEOF
45804 #define wxUSE_LISTCTRL 1
45808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45810 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45811 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45815 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45816 cat >>confdefs.h
<<\_ACEOF
45817 #define wxUSE_EDITABLELISTBOX 1
45821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45824 if test "$wxUSE_NOTEBOOK" = "yes"; then
45825 cat >>confdefs.h
<<\_ACEOF
45826 #define wxUSE_NOTEBOOK 1
45830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45833 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45834 cat >>confdefs.h
<<\_ACEOF
45835 #define wxUSE_NOTIFICATION_MESSAGE 1
45840 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45841 cat >>confdefs.h
<<\_ACEOF
45842 #define wxUSE_ODCOMBOBOX 1
45846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45849 if test "$wxUSE_RADIOBOX" = "yes"; then
45850 cat >>confdefs.h
<<\_ACEOF
45851 #define wxUSE_RADIOBOX 1
45857 if test "$wxUSE_RADIOBTN" = "yes"; then
45858 cat >>confdefs.h
<<\_ACEOF
45859 #define wxUSE_RADIOBTN 1
45865 if test "$wxUSE_SASH" = "yes"; then
45866 cat >>confdefs.h
<<\_ACEOF
45867 #define wxUSE_SASH 1
45870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45873 if test "$wxUSE_SCROLLBAR" = "yes"; then
45874 cat >>confdefs.h
<<\_ACEOF
45875 #define wxUSE_SCROLLBAR 1
45879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
45882 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45883 cat >>confdefs.h
<<\_ACEOF
45884 #define wxUSE_SEARCHCTRL 1
45890 if test "$wxUSE_SLIDER" = "yes"; then
45891 cat >>confdefs.h
<<\_ACEOF
45892 #define wxUSE_SLIDER 1
45898 if test "$wxUSE_SPINBTN" = "yes"; then
45899 cat >>confdefs.h
<<\_ACEOF
45900 #define wxUSE_SPINBTN 1
45906 if test "$wxUSE_SPINCTRL" = "yes"; then
45907 cat >>confdefs.h
<<\_ACEOF
45908 #define wxUSE_SPINCTRL 1
45914 if test "$wxUSE_SPLITTER" = "yes"; then
45915 cat >>confdefs.h
<<\_ACEOF
45916 #define wxUSE_SPLITTER 1
45919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45922 if test "$wxUSE_STATBMP" = "yes"; then
45923 cat >>confdefs.h
<<\_ACEOF
45924 #define wxUSE_STATBMP 1
45930 if test "$wxUSE_STATBOX" = "yes"; then
45931 cat >>confdefs.h
<<\_ACEOF
45932 #define wxUSE_STATBOX 1
45938 if test "$wxUSE_STATTEXT" = "yes"; then
45939 cat >>confdefs.h
<<\_ACEOF
45940 #define wxUSE_STATTEXT 1
45946 if test "$wxUSE_STATLINE" = "yes"; then
45947 cat >>confdefs.h
<<\_ACEOF
45948 #define wxUSE_STATLINE 1
45954 if test "$wxUSE_STATUSBAR" = "yes"; then
45955 cat >>confdefs.h
<<\_ACEOF
45956 #define wxUSE_NATIVE_STATUSBAR 1
45959 cat >>confdefs.h
<<\_ACEOF
45960 #define wxUSE_STATUSBAR 1
45965 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45968 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45969 cat >>confdefs.h
<<\_ACEOF
45970 #define wxUSE_TAB_DIALOG 1
45975 if test "$wxUSE_TEXTCTRL" = "yes"; then
45976 cat >>confdefs.h
<<\_ACEOF
45977 #define wxUSE_TEXTCTRL 1
45981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45983 cat >>confdefs.h
<<\_ACEOF
45984 #define wxUSE_RICHEDIT 1
45987 cat >>confdefs.h
<<\_ACEOF
45988 #define wxUSE_RICHEDIT2 1
45993 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45994 if test "$wxUSE_COCOA" = 1 ; then
45995 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45996 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46000 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46001 cat >>confdefs.h
<<\_ACEOF
46002 #define wxUSE_TOGGLEBTN 1
46009 if test "$wxUSE_TOOLBAR" = "yes"; then
46010 cat >>confdefs.h
<<\_ACEOF
46011 #define wxUSE_TOOLBAR 1
46016 if test "$wxUSE_UNIVERSAL" = "yes"; then
46017 wxUSE_TOOLBAR_NATIVE
="no"
46019 wxUSE_TOOLBAR_NATIVE
="yes"
46020 cat >>confdefs.h
<<\_ACEOF
46021 #define wxUSE_TOOLBAR_NATIVE 1
46026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46029 if test "$wxUSE_TOOLTIPS" = "yes"; then
46030 if test "$wxUSE_MOTIF" = 1; then
46031 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46032 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46034 if test "$wxUSE_UNIVERSAL" = "yes"; then
46035 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46036 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46038 cat >>confdefs.h
<<\_ACEOF
46039 #define wxUSE_TOOLTIPS 1
46046 if test "$wxUSE_TREEBOOK" = "yes"; then
46047 cat >>confdefs.h
<<\_ACEOF
46048 #define wxUSE_TREEBOOK 1
46054 if test "$wxUSE_TOOLBOOK" = "yes"; then
46055 cat >>confdefs.h
<<\_ACEOF
46056 #define wxUSE_TOOLBOOK 1
46062 if test "$wxUSE_TREECTRL" = "yes"; then
46063 if test "$wxUSE_IMAGLIST" = "yes"; then
46064 cat >>confdefs.h
<<\_ACEOF
46065 #define wxUSE_TREECTRL 1
46069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46071 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46072 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46076 if test "$wxUSE_POPUPWIN" = "yes"; then
46077 if test "$wxUSE_COCOA" = 1 ; then
46078 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46079 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46081 if test "$wxUSE_PM" = 1; then
46082 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46083 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46085 cat >>confdefs.h
<<\_ACEOF
46086 #define wxUSE_POPUPWIN 1
46089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46096 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46097 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46098 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46099 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46101 cat >>confdefs.h
<<\_ACEOF
46102 #define wxUSE_DIALUP_MANAGER 1
46105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46109 if test "$wxUSE_TIPWINDOW" = "yes"; then
46110 if test "$wxUSE_PM" = 1; then
46111 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46112 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46114 cat >>confdefs.h
<<\_ACEOF
46115 #define wxUSE_TIPWINDOW 1
46121 if test "$USES_CONTROLS" = 1; then
46122 cat >>confdefs.h
<<\_ACEOF
46123 #define wxUSE_CONTROLS 1
46129 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46130 cat >>confdefs.h
<<\_ACEOF
46131 #define wxUSE_ACCESSIBILITY 1
46134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46137 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46138 cat >>confdefs.h
<<\_ACEOF
46139 #define wxUSE_DRAGIMAGE 1
46142 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46145 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46146 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46147 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46148 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46150 cat >>confdefs.h
<<\_ACEOF
46151 #define wxUSE_EXCEPTIONS 1
46154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46159 if test "$wxUSE_HTML" = "yes"; then
46160 cat >>confdefs.h
<<\_ACEOF
46161 #define wxUSE_HTML 1
46165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46167 if test "$wxUSE_WEBKIT" = "yes"; then
46168 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46169 old_CPPFLAGS
="$CPPFLAGS"
46170 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46171 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46172 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46173 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46174 echo $ECHO_N "(cached) $ECHO_C" >&6
46176 cat >conftest.
$ac_ext <<_ACEOF
46179 cat confdefs.h
>>conftest.
$ac_ext
46180 cat >>conftest.
$ac_ext <<_ACEOF
46181 /* end confdefs.h. */
46183 #include <Carbon/Carbon.h>
46184 #include <WebKit/WebKit.h>
46187 #include <WebKit/HIWebView.h>
46189 rm -f conftest.
$ac_objext
46190 if { (ac_try
="$ac_compile"
46191 case "(($ac_try" in
46192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46193 *) ac_try_echo=$ac_try;;
46195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46196 (eval "$ac_compile") 2>conftest.er1
46198 grep -v '^ *+' conftest.er1 >conftest.err
46200 cat conftest.err >&5
46201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46202 (exit $ac_status); } && {
46203 test -z "$ac_c_werror_flag" ||
46204 test ! -s conftest.err
46205 } && test -s conftest.$ac_objext; then
46206 ac_cv_header_WebKit_HIWebView_h=yes
46208 echo "$as_me: failed program was:" >&5
46209 sed 's/^/| /' conftest.$ac_ext >&5
46211 ac_cv_header_WebKit_HIWebView_h=no
46214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46216 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46217 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46218 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46220 cat >>confdefs.h <<\_ACEOF
46221 #define wxUSE_WEBKIT 1
46224 WEBKIT_LINK="-framework WebKit"
46228 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46229 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46235 CPPFLAGS="$old_CPPFLAGS"
46236 elif test "$wxUSE_COCOA" = 1; then
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_WEBKIT 1
46244 if test "$wxUSE_WEBKIT" = "yes"; then
46245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46250 if test "$wxUSE_XRC" = "yes"; then
46251 if test "$wxUSE_XML" != "yes"; then
46252 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46253 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46256 cat >>confdefs.h <<\_ACEOF
46257 #define wxUSE_XRC 1
46261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46266 if test "$wxUSE_AUI" = "yes"; then
46267 cat >>confdefs.h <<\_ACEOF
46268 #define wxUSE_AUI 1
46272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46276 if test "$wxUSE_PROPGRID" = "yes"; then
46277 cat >>confdefs.h <<\_ACEOF
46278 #define wxUSE_PROPGRID 1
46282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46286 if test "$wxUSE_STC" = "yes"; then
46287 cat >>confdefs.h <<\_ACEOF
46288 #define wxUSE_STC 1
46292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46295 if test "$wxUSE_MENUS" = "yes"; then
46296 cat >>confdefs.h <<\_ACEOF
46297 #define wxUSE_MENUS 1
46300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46303 if test "$wxUSE_METAFILE" = "yes"; then
46304 cat >>confdefs.h <<\_ACEOF
46305 #define wxUSE_METAFILE 1
46310 if test "$wxUSE_MIMETYPE" = "yes"; then
46311 cat >>confdefs.h <<\_ACEOF
46312 #define wxUSE_MIMETYPE 1
46317 if test "$wxUSE_MINIFRAME" = "yes"; then
46318 cat >>confdefs.h <<\_ACEOF
46319 #define wxUSE_MINIFRAME 1
46324 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46325 cat >>confdefs.h <<\_ACEOF
46326 #define wxUSE_SYSTEM_OPTIONS 1
46331 if test "$wxUSE_TASKBARICON" = "yes"; then
46332 cat >>confdefs.h <<\_ACEOF
46333 #define wxUSE_TASKBARICON 1
46336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46340 if test "$wxUSE_VALIDATORS" = "yes"; then
46341 cat >>confdefs.h <<\_ACEOF
46342 #define wxUSE_VALIDATORS 1
46345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46348 if test "$wxUSE_PALETTE" = "yes" ; then
46349 if test "$wxUSE_DFB" = 1; then
46350 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46351 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46354 cat >>confdefs.h <<\_ACEOF
46355 #define wxUSE_PALETTE 1
46361 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46362 LIBS=" -lunicows $LIBS"
46366 if test "$wxUSE_RICHTEXT" = "yes"; then
46367 cat >>confdefs.h <<\_ACEOF
46368 #define wxUSE_RICHTEXT 1
46372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46376 if test "$wxUSE_IMAGE" = "yes" ; then
46377 cat >>confdefs.h <<\_ACEOF
46378 #define wxUSE_IMAGE 1
46382 if test "$wxUSE_GIF" = "yes" ; then
46383 cat >>confdefs.h <<\_ACEOF
46384 #define wxUSE_GIF 1
46389 if test "$wxUSE_PCX" = "yes" ; then
46390 cat >>confdefs.h <<\_ACEOF
46391 #define wxUSE_PCX 1
46396 if test "$wxUSE_TGA" = "yes" ; then
46397 cat >>confdefs.h <<\_ACEOF
46398 #define wxUSE_TGA 1
46403 if test "$wxUSE_IFF" = "yes" ; then
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_IFF 1
46410 if test "$wxUSE_PNM" = "yes" ; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define wxUSE_PNM 1
46417 if test "$wxUSE_XPM" = "yes" ; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_XPM 1
46424 if test "$wxUSE_ICO_CUR" = "yes" ; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_ICO_CUR 1
46433 if test "$wxUSE_ABOUTDLG" = "yes"; then
46434 cat >>confdefs.h <<\_ACEOF
46435 #define wxUSE_ABOUTDLG 1
46440 if test "$wxUSE_CHOICEDLG" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_CHOICEDLG 1
46447 if test "$wxUSE_COLOURDLG" = "yes"; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_COLOURDLG 1
46454 if test "$wxUSE_FILEDLG" = "yes"; then
46455 cat >>confdefs.h <<\_ACEOF
46456 #define wxUSE_FILEDLG 1
46461 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46462 cat >>confdefs.h <<\_ACEOF
46463 #define wxUSE_FINDREPLDLG 1
46468 if test "$wxUSE_FONTDLG" = "yes"; then
46469 cat >>confdefs.h <<\_ACEOF
46470 #define wxUSE_FONTDLG 1
46475 if test "$wxUSE_DIRDLG" = "yes"; then
46476 if test "$wxUSE_TREECTRL" != "yes"; then
46477 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46478 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_DIRDLG 1
46487 if test "$wxUSE_MSGDLG" = "yes"; then
46488 cat >>confdefs.h <<\_ACEOF
46489 #define wxUSE_MSGDLG 1
46494 if test "$wxUSE_NUMBERDLG" = "yes"; then
46495 cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_NUMBERDLG 1
46501 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46502 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46503 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46504 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46506 cat >>confdefs.h <<\_ACEOF
46507 #define wxUSE_PROGRESSDLG 1
46513 if test "$wxUSE_SPLASH" = "yes"; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_SPLASH 1
46518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46521 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46522 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46523 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46524 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_STARTUP_TIPS 1
46533 if test "$wxUSE_TEXTDLG" = "yes"; then
46534 cat >>confdefs.h <<\_ACEOF
46535 #define wxUSE_TEXTDLG 1
46540 if test "$wxUSE_WIZARDDLG" = "yes"; then
46541 cat >>confdefs.h <<\_ACEOF
46542 #define wxUSE_WIZARDDLG 1
46545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46549 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46550 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46551 cat >>confdefs.h <<\_ACEOF
46552 #define wxUSE_OWNER_DRAWN 1
46559 if test "$wxUSE_MSW" = 1 ; then
46561 if test "$wxUSE_DC_CACHEING" = "yes"; then
46562 cat >>confdefs.h <<\_ACEOF
46563 #define wxUSE_DC_CACHEING 1
46568 if test "$wxUSE_DIB" = "yes"; then
46569 cat >>confdefs.h <<\_ACEOF
46570 #define wxUSE_WXDIB 1
46575 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46576 cat >>confdefs.h <<\_ACEOF
46577 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46582 if test "$wxUSE_UXTHEME" = "yes"; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_UXTHEME 1
46591 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46592 cat >>confdefs.h <<\_ACEOF
46593 #define wxUSE_AUTOID_MANAGEMENT 1
46598 if test "$USE_WIN32" = 1 ; then
46599 if test "$wxUSE_INICONF" = "yes"; then
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_INICONF 1
46606 if test "$wxUSE_REGKEY" = "yes"; then
46607 cat >>confdefs.h <<\_ACEOF
46608 #define wxUSE_REGKEY 1
46615 if test "$wxUSE_MAC" = 1; then
46616 wxUSE_GRAPHICS_CONTEXT="yes"
46619 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46620 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46621 cat >>confdefs.h <<\_ACEOF
46622 #define wxUSE_GRAPHICS_CONTEXT 1
46625 elif test "$wxUSE_GTK" != 1; then
46626 cat >>confdefs.h <<\_ACEOF
46627 #define wxUSE_GRAPHICS_CONTEXT 1
46633 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46634 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46636 if test -n "$PKG_CONFIG"; then
46637 if test -n "$CAIRO_CFLAGS"; then
46638 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46640 if test -n "$PKG_CONFIG" && \
46641 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46642 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46645 (exit $ac_status); }; then
46646 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46654 if test -n "$PKG_CONFIG"; then
46655 if test -n "$CAIRO_LIBS"; then
46656 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46658 if test -n "$PKG_CONFIG" && \
46659 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46660 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46663 (exit $ac_status); }; then
46664 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46675 if test $pkg_failed = yes; then
46677 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46678 _pkg_short_errors_supported=yes
46680 _pkg_short_errors_supported=no
46682 if test $_pkg_short_errors_supported = yes; then
46683 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46685 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46687 # Put the nasty error message in config.log where it belongs
46688 echo "$CAIRO_PKG_ERRORS" >&5
46690 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46691 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46693 elif test $pkg_failed = untried; then
46694 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46695 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46698 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46699 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46700 { echo "$as_me:$LINENO: result: yes" >&5
46701 echo "${ECHO_T}yes" >&6; }
46702 cat >>confdefs.h <<\_ACEOF
46703 #define wxUSE_GRAPHICS_CONTEXT 1
46713 if test "$wxUSE_MEDIACTRL" = "yes"; then
46716 if test "$wxUSE_GTK" = 1; then
46717 wxUSE_GSTREAMER="no"
46719 GST_VERSION_MAJOR=0
46720 GST_VERSION_MINOR=10
46721 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46723 if test "$wxUSE_GSTREAMER8" = "no"; then
46726 { echo "$as_me:$LINENO: checking for GST" >&5
46727 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46729 if test -n "$PKG_CONFIG"; then
46730 if test -n "$GST_CFLAGS"; then
46731 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46733 if test -n "$PKG_CONFIG" && \
46734 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46735 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46738 (exit $ac_status); }; then
46739 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46747 if test -n "$PKG_CONFIG"; then
46748 if test -n "$GST_LIBS"; then
46749 pkg_cv_GST_LIBS="$GST_LIBS"
46751 if test -n "$PKG_CONFIG" && \
46752 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46753 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46756 (exit $ac_status); }; then
46757 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46768 if test $pkg_failed = yes; then
46770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46771 _pkg_short_errors_supported=yes
46773 _pkg_short_errors_supported=no
46775 if test $_pkg_short_errors_supported = yes; then
46776 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46778 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46780 # Put the nasty error message in config.log where it belongs
46781 echo "$GST_PKG_ERRORS" >&5
46784 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46785 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46786 GST_VERSION_MINOR=8
46789 elif test $pkg_failed = untried; then
46791 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46792 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46793 GST_VERSION_MINOR=8
46797 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46798 GST_LIBS=$pkg_cv_GST_LIBS
46799 { echo "$as_me:$LINENO: result: yes" >&5
46800 echo "${ECHO_T}yes" >&6; }
46802 wxUSE_GSTREAMER="yes"
46803 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46807 GST_VERSION_MINOR=8
46810 if test $GST_VERSION_MINOR = "8"; then
46811 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46814 { echo "$as_me:$LINENO: checking for GST" >&5
46815 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46817 if test -n "$PKG_CONFIG"; then
46818 if test -n "$GST_CFLAGS"; then
46819 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46821 if test -n "$PKG_CONFIG" && \
46822 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46823 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46826 (exit $ac_status); }; then
46827 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46835 if test -n "$PKG_CONFIG"; then
46836 if test -n "$GST_LIBS"; then
46837 pkg_cv_GST_LIBS="$GST_LIBS"
46839 if test -n "$PKG_CONFIG" && \
46840 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46841 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46844 (exit $ac_status); }; then
46845 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46856 if test $pkg_failed = yes; then
46858 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46859 _pkg_short_errors_supported=yes
46861 _pkg_short_errors_supported=no
46863 if test $_pkg_short_errors_supported = yes; then
46864 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46866 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46868 # Put the nasty error message in config.log where it belongs
46869 echo "$GST_PKG_ERRORS" >&5
46872 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46873 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46875 elif test $pkg_failed = untried; then
46877 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46878 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46881 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46882 GST_LIBS=$pkg_cv_GST_LIBS
46883 { echo "$as_me:$LINENO: result: yes" >&5
46884 echo "${ECHO_T}yes" >&6; }
46885 wxUSE_GSTREAMER="yes"
46890 if test "$wxUSE_GSTREAMER" = "yes"; then
46891 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46892 EXTRALIBS_MEDIA="$GST_LIBS"
46894 cat >>confdefs.h <<\_ACEOF
46895 #define wxUSE_GSTREAMER 1
46903 if test $USE_MEDIA = 1; then
46904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46905 cat >>confdefs.h <<\_ACEOF
46906 #define wxUSE_MEDIACTRL 1
46913 if test "$cross_compiling" = "yes"; then
46916 OSINFO=`uname
-s -r -m`
46917 OSINFO="\"$OSINFO\""
46920 cat >>confdefs.h <<_ACEOF
46921 #define WXWIN_OS_DESCRIPTION $OSINFO
46926 if test "x$prefix" != "xNONE"; then
46929 wxPREFIX=$ac_default_prefix
46932 cat >>confdefs.h <<_ACEOF
46933 #define wxINSTALL_PREFIX "$wxPREFIX"
46939 STD_BASE_LIBS="base"
46941 BUILT_WX_LIBS="base"
46942 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46944 if test "$wxUSE_SOCKETS" = "yes" ; then
46945 STD_BASE_LIBS="net $STD_BASE_LIBS"
46946 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46948 if test "$wxUSE_XML" = "yes" ; then
46949 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46950 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46953 if test "$wxUSE_GUI" = "yes"; then
46954 STD_GUI_LIBS="adv core"
46955 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46957 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46958 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46959 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46961 if test "$wxUSE_HTML" = "yes" ; then
46962 STD_GUI_LIBS="html $STD_GUI_LIBS"
46963 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46965 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46966 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46968 if test "$wxUSE_OPENGL" = "yes" ; then
46969 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46971 if test "$wxUSE_AUI" = "yes" ; then
46972 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46974 if test "$wxUSE_PROPGRID" = "yes" ; then
46975 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46977 if test "$wxUSE_STC" = "yes" ; then
46978 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46980 if test "$wxUSE_XRC" = "yes" ; then
46981 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46982 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46993 if test "$wxUSE_MAC" = 1 ; then
46994 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46995 if test "$USE_DARWIN" = 1; then
46996 LDFLAGS="$LDFLAGS -framework QuickTime"
46999 if test "$USE_DARWIN" = 1; then
47000 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47003 if test "$wxUSE_COCOA" = 1 ; then
47004 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47005 if test "$wxUSE_MEDIACTRL" = "yes"; then
47006 LDFLAGS="$LDFLAGS -framework QuickTime"
47009 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47010 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47013 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47015 if test "$wxUSE_GUI" = "yes"; then
47018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47019 erase event exec font image minimal mobile \
47020 mobile/wxedit mobile/styles render \
47021 shaped svg taborder vscroll widgets"
47023 if test "$wxUSE_MONOLITHIC" != "yes"; then
47024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47026 if test "$TOOLKIT" = "MSW"; then
47027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47028 if test "$wxUSE_UNIVERSAL" != "yes"; then
47029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47032 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47036 SAMPLES_SUBDIRS="console"
47037 if test "$wxUSE_SOCKETS" = "yes" ; then
47038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47040 if test "$wxUSE_IPC" = "yes" ; then
47041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47046 if test "x$INTELCC" = "xyes" ; then
47047 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47048 elif test "$GCC" = yes ; then
47049 CWARNINGS="-Wall -Wundef"
47052 if test "x$INTELCXX" = "xyes" ; then
47053 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47054 elif test "$GXX" = yes ; then
47055 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47059 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47060 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47063 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47064 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
47065 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
47068 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47069 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47070 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47071 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47072 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47074 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47077 if test "x$MWCC" = "xyes"; then
47079 CC="$CC -cwd source -I-"
47080 CXX="$CXX -cwd source -I-"
47085 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47086 EXTRALIBS_XML="$EXPAT_LINK"
47087 EXTRALIBS_HTML="$MSPACK_LINK"
47088 EXTRALIBS_MEDIA="$GST_LIBS"
47089 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47090 if test "$wxUSE_GUI" = "yes"; then
47091 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47093 if test "$wxUSE_OPENGL" = "yes"; then
47094 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47097 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47099 WXCONFIG_LIBS="$LIBS"
47101 if test "$wxUSE_REGEX" = "builtin" ; then
47102 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47104 if test "$wxUSE_EXPAT" = "builtin" ; then
47105 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47107 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47108 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47110 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47111 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47113 if test "$wxUSE_LIBPNG" = "builtin" ; then
47114 wxconfig_3rdparty="png $wxconfig_3rdparty"
47116 if test "$wxUSE_ZLIB" = "builtin" ; then
47117 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47120 for i in $wxconfig_3rdparty ; do
47121 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47125 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47128 case "$wxUNIV_THEMES" in
47130 cat >>confdefs.h <<\_ACEOF
47131 #define wxUSE_ALL_THEMES 1
47137 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47138 cat >>confdefs.h <<_ACEOF
47139 #define wxUSE_THEME_$t 1
47155 if test $wxUSE_MONOLITHIC = "yes" ; then
47161 if test $wxUSE_PLUGINS = "yes" ; then
47167 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47173 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47206 if test "$TOOLKIT" = "MAC"; then
47207 TOOLKIT_LOWERCASE=osx
47209 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47221 TOOLKIT_DESC="GTK+"
47222 if test "$WXGTK2" = 1; then
47223 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47224 if test "$wxUSE_GTKPRINT" = "yes" ; then
47225 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47227 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47228 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47230 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47231 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47233 if test "$wxUSE_LIBHILDON" = "yes"; then
47234 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47237 if test "$TOOLKIT_EXTRA" != ""; then
47238 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47244 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47248 TOOLKIT_DESC="base only"
47252 if test "$wxUSE_WINE" = "yes"; then
47253 BAKEFILE_FORCE_PLATFORM=win32
47256 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47258 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47259 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47260 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47261 echo $ECHO_N "(cached) $ECHO_C" >&6
47264 echo '#include <stdio.h>
47265 const wchar_t test_var[] = L"awidetest";' > conftest.h
47267 echo '#include "conftest.h"
47270 printf("%ls", test_var);
47274 wx_cv_gcc_pch_bug="pch not supported"
47276 if $CXX conftest.h >/dev/null 2>&1
47280 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47282 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47283 grep awidetest >/dev/null
47285 wx_cv_gcc_pch_bug=no
47287 wx_cv_gcc_pch_bug=yes
47292 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47295 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47296 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47298 if test "$wx_cv_gcc_pch_bug" = yes; then
47309 if test "x$BAKEFILE_HOST" = "x"; then
47310 if test "x${host}" = "x" ; then
47311 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47312 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47313 { (exit 1); exit 1; }; }
47316 BAKEFILE_HOST="${host}"
47319 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47321 if test -n "$ac_tool_prefix"; then
47322 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47323 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47326 if test "${ac_cv_prog_RANLIB+set}" = set; then
47327 echo $ECHO_N "(cached) $ECHO_C" >&6
47329 if test -n "$RANLIB"; then
47330 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47333 for as_dir in $PATH
47336 test -z "$as_dir" && as_dir=.
47337 for ac_exec_ext in '' $ac_executable_extensions; do
47338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47339 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47349 RANLIB=$ac_cv_prog_RANLIB
47350 if test -n "$RANLIB"; then
47351 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47352 echo "${ECHO_T}$RANLIB" >&6; }
47354 { echo "$as_me:$LINENO: result: no" >&5
47355 echo "${ECHO_T}no" >&6; }
47360 if test -z "$ac_cv_prog_RANLIB"; then
47361 ac_ct_RANLIB=$RANLIB
47362 # Extract the first word of "ranlib", so it can be a program name with args.
47363 set dummy ranlib; ac_word=$2
47364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47366 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47367 echo $ECHO_N "(cached) $ECHO_C" >&6
47369 if test -n "$ac_ct_RANLIB"; then
47370 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47373 for as_dir in $PATH
47376 test -z "$as_dir" && as_dir=.
47377 for ac_exec_ext in '' $ac_executable_extensions; do
47378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47379 ac_cv_prog_ac_ct_RANLIB="ranlib"
47380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47389 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47390 if test -n "$ac_ct_RANLIB"; then
47391 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47392 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47394 { echo "$as_me:$LINENO: result: no" >&5
47395 echo "${ECHO_T}no" >&6; }
47398 if test "x$ac_ct_RANLIB" = x; then
47401 case $cross_compiling:$ac_tool_warned in
47403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47404 whose name does not start with the host triplet. If you think this
47405 configuration is useful to you, please write to autoconf@gnu.org." >&5
47406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47407 whose name does not start with the host triplet. If you think this
47408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47409 ac_tool_warned=yes ;;
47411 RANLIB=$ac_ct_RANLIB
47414 RANLIB="$ac_cv_prog_RANLIB"
47417 # Find a good install program. We prefer a C program (faster),
47418 # so one script is as good as another. But avoid the broken or
47419 # incompatible versions:
47420 # SysV /etc/install, /usr/sbin/install
47421 # SunOS /usr/etc/install
47422 # IRIX /sbin/install
47424 # AmigaOS /C/install, which installs bootblocks on floppy discs
47425 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47426 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47427 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47428 # OS/2's system install, which has a completely different semantic
47429 # ./install, which can be erroneously created by make from ./install.sh.
47430 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47431 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47432 if test -z "$INSTALL"; then
47433 if test "${ac_cv_path_install+set}" = set; then
47434 echo $ECHO_N "(cached) $ECHO_C" >&6
47436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47437 for as_dir in $PATH
47440 test -z "$as_dir" && as_dir=.
47441 # Account for people who put trailing slashes in PATH elements.
47443 ./ | .// | /cC/* | \
47444 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47445 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47448 # OSF1 and SCO ODT 3.0 have their own names for install.
47449 # Don't use installbsd from OSF since it installs stuff as root
47451 for ac_prog in ginstall scoinst install; do
47452 for ac_exec_ext in '' $ac_executable_extensions; do
47453 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47454 if test $ac_prog = install &&
47455 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47456 # AIX install. It has an incompatible calling convention.
47458 elif test $ac_prog = install &&
47459 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47460 # program-specific install script used by HP pwplus--don't use.
47463 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47476 if test "${ac_cv_path_install+set}" = set; then
47477 INSTALL=$ac_cv_path_install
47479 # As a last resort, use the slow shell script. Don't cache a
47480 # value for INSTALL within a source directory, because that will
47481 # break other packages using the cache if that directory is
47482 # removed, or if the value is a relative name.
47483 INSTALL=$ac_install_sh
47486 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47487 echo "${ECHO_T}$INSTALL" >&6; }
47489 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47490 # It thinks the first close brace ends the variable substitution.
47491 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47493 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47495 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47497 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47498 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47500 if test "$LN_S" = "ln -s"; then
47501 { echo "$as_me:$LINENO: result: yes" >&5
47502 echo "${ECHO_T}yes" >&6; }
47504 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47505 echo "${ECHO_T}no, using $LN_S" >&6; }
47509 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47510 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47511 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47512 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47513 echo $ECHO_N "(cached) $ECHO_C" >&6
47515 cat >conftest.make <<\_ACEOF
47518 @echo '@@@%%%=$(MAKE)=@@@%%%'
47520 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47521 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
47522 *@@@%%%=?*=@@@%%%*)
47523 eval ac_cv_prog_make_${ac_make}_set=yes;;
47525 eval ac_cv_prog_make_${ac_make}_set=no;;
47527 rm -f conftest.make
47529 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47530 { echo "$as_me:$LINENO: result: yes" >&5
47531 echo "${ECHO_T}yes" >&6; }
47534 { echo "$as_me:$LINENO: result: no" >&5
47535 echo "${ECHO_T}no" >&6; }
47536 SET_MAKE="MAKE=${MAKE-make}"
47541 if test "x$SUNCXX" = "xyes"; then
47543 AROPTIONS="-xar -o"
47545 elif test "x$SGICC" = "xyes"; then
47550 if test -n "$ac_tool_prefix"; then
47551 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47552 set dummy ${ac_tool_prefix}ar; ac_word=$2
47553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47555 if test "${ac_cv_prog_AR+set}" = set; then
47556 echo $ECHO_N "(cached) $ECHO_C" >&6
47558 if test -n "$AR"; then
47559 ac_cv_prog_AR="$AR" # Let the user override the test.
47561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47562 for as_dir in $PATH
47565 test -z "$as_dir" && as_dir=.
47566 for ac_exec_ext in '' $ac_executable_extensions; do
47567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47568 ac_cv_prog_AR="${ac_tool_prefix}ar"
47569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47579 if test -n "$AR"; then
47580 { echo "$as_me:$LINENO: result: $AR" >&5
47581 echo "${ECHO_T}$AR" >&6; }
47583 { echo "$as_me:$LINENO: result: no" >&5
47584 echo "${ECHO_T}no" >&6; }
47589 if test -z "$ac_cv_prog_AR"; then
47591 # Extract the first word of "ar", so it can be a program name with args.
47592 set dummy ar; ac_word=$2
47593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47595 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47596 echo $ECHO_N "(cached) $ECHO_C" >&6
47598 if test -n "$ac_ct_AR"; then
47599 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47602 for as_dir in $PATH
47605 test -z "$as_dir" && as_dir=.
47606 for ac_exec_ext in '' $ac_executable_extensions; do
47607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47608 ac_cv_prog_ac_ct_AR="ar"
47609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47618 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47619 if test -n "$ac_ct_AR"; then
47620 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47621 echo "${ECHO_T}$ac_ct_AR" >&6; }
47623 { echo "$as_me:$LINENO: result: no" >&5
47624 echo "${ECHO_T}no" >&6; }
47627 if test "x$ac_ct_AR" = x; then
47630 case $cross_compiling:$ac_tool_warned in
47632 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47633 whose name does not start with the host triplet. If you think this
47634 configuration is useful to you, please write to autoconf@gnu.org." >&5
47635 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47636 whose name does not start with the host triplet. If you think this
47637 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47638 ac_tool_warned=yes ;;
47643 AR="$ac_cv_prog_AR"
47650 if test -n "$ac_tool_prefix"; then
47651 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47652 set dummy ${ac_tool_prefix}strip; ac_word=$2
47653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47655 if test "${ac_cv_prog_STRIP+set}" = set; then
47656 echo $ECHO_N "(cached) $ECHO_C" >&6
47658 if test -n "$STRIP"; then
47659 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47662 for as_dir in $PATH
47665 test -z "$as_dir" && as_dir=.
47666 for ac_exec_ext in '' $ac_executable_extensions; do
47667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47668 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47678 STRIP=$ac_cv_prog_STRIP
47679 if test -n "$STRIP"; then
47680 { echo "$as_me:$LINENO: result: $STRIP" >&5
47681 echo "${ECHO_T}$STRIP" >&6; }
47683 { echo "$as_me:$LINENO: result: no" >&5
47684 echo "${ECHO_T}no" >&6; }
47689 if test -z "$ac_cv_prog_STRIP"; then
47691 # Extract the first word of "strip", so it can be a program name with args.
47692 set dummy strip; ac_word=$2
47693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47695 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47696 echo $ECHO_N "(cached) $ECHO_C" >&6
47698 if test -n "$ac_ct_STRIP"; then
47699 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47702 for as_dir in $PATH
47705 test -z "$as_dir" && as_dir=.
47706 for ac_exec_ext in '' $ac_executable_extensions; do
47707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47708 ac_cv_prog_ac_ct_STRIP="strip"
47709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47718 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47719 if test -n "$ac_ct_STRIP"; then
47720 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47721 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47723 { echo "$as_me:$LINENO: result: no" >&5
47724 echo "${ECHO_T}no" >&6; }
47727 if test "x$ac_ct_STRIP" = x; then
47730 case $cross_compiling:$ac_tool_warned in
47732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47733 whose name does not start with the host triplet. If you think this
47734 configuration is useful to you, please write to autoconf@gnu.org." >&5
47735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47736 whose name does not start with the host triplet. If you think this
47737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47738 ac_tool_warned=yes ;;
47743 STRIP="$ac_cv_prog_STRIP"
47746 if test -n "$ac_tool_prefix"; then
47747 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47748 set dummy ${ac_tool_prefix}nm; ac_word=$2
47749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47751 if test "${ac_cv_prog_NM+set}" = set; then
47752 echo $ECHO_N "(cached) $ECHO_C" >&6
47754 if test -n "$NM"; then
47755 ac_cv_prog_NM="$NM" # Let the user override the test.
47757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47758 for as_dir in $PATH
47761 test -z "$as_dir" && as_dir=.
47762 for ac_exec_ext in '' $ac_executable_extensions; do
47763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47764 ac_cv_prog_NM="${ac_tool_prefix}nm"
47765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47775 if test -n "$NM"; then
47776 { echo "$as_me:$LINENO: result: $NM" >&5
47777 echo "${ECHO_T}$NM" >&6; }
47779 { echo "$as_me:$LINENO: result: no" >&5
47780 echo "${ECHO_T}no" >&6; }
47785 if test -z "$ac_cv_prog_NM"; then
47787 # Extract the first word of "nm", so it can be a program name with args.
47788 set dummy nm; ac_word=$2
47789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47791 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47792 echo $ECHO_N "(cached) $ECHO_C" >&6
47794 if test -n "$ac_ct_NM"; then
47795 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47798 for as_dir in $PATH
47801 test -z "$as_dir" && as_dir=.
47802 for ac_exec_ext in '' $ac_executable_extensions; do
47803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47804 ac_cv_prog_ac_ct_NM="nm"
47805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47814 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47815 if test -n "$ac_ct_NM"; then
47816 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47817 echo "${ECHO_T}$ac_ct_NM" >&6; }
47819 { echo "$as_me:$LINENO: result: no" >&5
47820 echo "${ECHO_T}no" >&6; }
47823 if test "x$ac_ct_NM" = x; then
47826 case $cross_compiling:$ac_tool_warned in
47828 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47829 whose name does not start with the host triplet. If you think this
47830 configuration is useful to you, please write to autoconf@gnu.org." >&5
47831 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47832 whose name does not start with the host triplet. If you think this
47833 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47834 ac_tool_warned=yes ;;
47839 NM="$ac_cv_prog_NM"
47843 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47844 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47845 INSTALL_TEST_DIR=acbftest$$
47846 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47847 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47848 rmdir $INSTALL_TEST_DIR
47849 INSTALL_DIR='$(INSTALL) -d'
47850 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47851 echo "${ECHO_T}$INSTALL -d" >&6; }
47853 INSTALL_DIR="mkdir -p"
47854 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47855 echo "${ECHO_T}mkdir -p" >&6; }
47860 case ${BAKEFILE_HOST} in
47861 *-*-cygwin* | *-*-mingw32* )
47862 LDFLAGS_GUI="-mwindows"
47868 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47869 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47870 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47871 echo $ECHO_N "(cached) $ECHO_C" >&6
47874 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47875 egrep -s GNU > /dev/null); then
47876 bakefile_cv_prog_makeisgnu="yes"
47878 bakefile_cv_prog_makeisgnu="no"
47882 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47883 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47885 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47902 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47903 case "${BAKEFILE_HOST}" in
47910 *-pc-os2_emx | *-pc-os2-emx )
47920 powerpc-apple-macos* )
47929 case "$BAKEFILE_FORCE_PLATFORM" in
47964 # Check whether --enable-omf was given.
47965 if test "${enable_omf+set}" = set; then
47966 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47970 case "${BAKEFILE_HOST}" in
47972 if test "x$GCC" = "xyes"; then
47973 CFLAGS="$CFLAGS -fno-common"
47974 CXXFLAGS="$CXXFLAGS -fno-common"
47976 if test "x$XLCC" = "xyes"; then
47977 CFLAGS="$CFLAGS -qnocommon"
47978 CXXFLAGS="$CXXFLAGS -qnocommon"
47982 *-pc-os2_emx | *-pc-os2-emx )
47983 if test "x$bk_os2_use_omf" = "xyes" ; then
47986 LDFLAGS="-Zomf $LDFLAGS"
47987 CFLAGS="-Zomf $CFLAGS"
47988 CXXFLAGS="-Zomf $CXXFLAGS"
47996 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48002 SO_SUFFIX_MODULE="so"
48007 DLLPREFIX_MODULE=""
48011 case "${BAKEFILE_HOST}" in
48014 SO_SUFFIX_MODULE="sl"
48018 SO_SUFFIX_MODULE="a"
48022 SO_SUFFIX_MODULE="dll"
48023 DLLIMP_SUFFIX="dll.a"
48030 SO_SUFFIX_MODULE="dll"
48031 DLLIMP_SUFFIX="dll.a"
48041 *-pc-os2_emx | *-pc-os2-emx )
48043 SO_SUFFIX_MODULE="dll"
48044 DLLIMP_SUFFIX=$OS2_LIBEXT
48048 LIBEXT=".$OS2_LIBEXT"
48053 SO_SUFFIX_MODULE="bundle"
48057 if test "x$DLLIMP_SUFFIX" = "x" ; then
48058 DLLIMP_SUFFIX="$SO_SUFFIX"
48073 if test "x$GCC" = "xyes"; then
48077 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48078 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48081 case "${BAKEFILE_HOST}" in
48083 if test "x$GCC" != "xyes"; then
48084 LDFLAGS="$LDFLAGS -L/usr/lib"
48086 SHARED_LD_CC="${CC} -b -o"
48087 SHARED_LD_CXX="${CXX} -b -o"
48093 if test "$INTELCC" = "yes"; then
48095 elif test "x$SUNCXX" = "xyes"; then
48096 SHARED_LD_CC="${CC} -G -o"
48097 SHARED_LD_CXX="${CXX} -G -o"
48103 if test "x$SUNCXX" = xyes ; then
48104 SHARED_LD_CC="${CC} -G -o"
48105 SHARED_LD_CXX="${CXX} -G -o"
48113 cat <<EOF >shared-ld-sh
48115 #-----------------------------------------------------------------------------
48116 #-- Name: distrib/mac/shared-ld-sh
48117 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48118 #-- Author: Gilles Depeyrot
48119 #-- Copyright: (c) 2002 Gilles Depeyrot
48120 #-- Licence: any use permitted
48121 #-----------------------------------------------------------------------------
48126 linking_flag="-dynamiclib"
48127 ldargs="-r -keep_private_externs -nostdlib"
48129 if test "x${D}CXX" = "x"; then
48133 while test ${D}# -gt 0; do
48140 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48141 # collect these options and values
48142 args="${D}{args} ${D}1 ${D}2"
48147 # collect these options and values
48148 ldargs="${D}{ldargs} ${D}1 ${D}2"
48153 # collect these load args
48154 ldargs="${D}{ldargs} ${D}1"
48157 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48158 # collect these options
48159 args="${D}{args} ${D}1"
48162 -dynamiclib|-bundle)
48163 linking_flag="${D}1"
48167 echo "shared-ld: unhandled option '${D}1'"
48171 *.o | *.a | *.dylib)
48172 # collect object files
48173 objects="${D}{objects} ${D}1"
48177 echo "shared-ld: unhandled argument '${D}1'"
48188 # Link one module containing all the others
48190 if test ${D}{verbose} = 1; then
48191 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48193 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48197 # Link the shared library from the single module created, but only if the
48198 # previous command didn't fail:
48200 if test ${D}{status} = 0; then
48201 if test ${D}{verbose} = 1; then
48202 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48204 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48209 # Remove intermediate module
48211 rm -f master.${D}${D}.o
48216 chmod +x shared-ld-sh
48218 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48219 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48222 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48223 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48224 if test "${bakefile_cv_gcc31+set}" = set; then
48225 echo $ECHO_N "(cached) $ECHO_C" >&6
48228 cat >conftest.$ac_ext <<_ACEOF
48231 cat confdefs.h >>conftest.$ac_ext
48232 cat >>conftest.$ac_ext <<_ACEOF
48233 /* end confdefs.h. */
48239 #if (__GNUC__ < 3) || \
48240 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48248 rm -f conftest.$ac_objext
48249 if { (ac_try="$ac_compile"
48250 case "(($ac_try" in
48251 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48252 *) ac_try_echo
=$ac_try;;
48254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48255 (eval "$ac_compile") 2>conftest.er1
48257 grep -v '^ *+' conftest.er1
>conftest.err
48259 cat conftest.err
>&5
48260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48261 (exit $ac_status); } && {
48262 test -z "$ac_c_werror_flag" ||
48263 test ! -s conftest.err
48264 } && test -s conftest.
$ac_objext; then
48266 bakefile_cv_gcc31
=yes
48269 echo "$as_me: failed program was:" >&5
48270 sed 's/^/| /' conftest.
$ac_ext >&5
48273 bakefile_cv_gcc31
=no
48278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48281 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48282 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48283 if test "$bakefile_cv_gcc31" = "no"; then
48284 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48285 SHARED_LD_CXX
="$SHARED_LD_CC"
48287 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48288 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48291 if test "x$GCC" == "xyes"; then
48292 PIC_FLAG
="-dynamic -fPIC"
48294 if test "x$XLCC" = "xyes"; then
48295 PIC_FLAG
="-dynamic -DPIC"
48300 if test "x$GCC" = "xyes"; then
48303 case "${BAKEFILE_HOST}" in
48305 LD_EXPFULL
="-Wl,-bexpfull"
48309 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
48310 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
48312 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48313 set dummy makeC
++SharedLib
; ac_word
=$2
48314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48316 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48317 echo $ECHO_N "(cached) $ECHO_C" >&6
48319 if test -n "$AIX_CXX_LD"; then
48320 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
48322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48323 for as_dir
in $PATH
48326 test -z "$as_dir" && as_dir
=.
48327 for ac_exec_ext
in '' $ac_executable_extensions; do
48328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48329 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
48330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48337 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
48340 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
48341 if test -n "$AIX_CXX_LD"; then
48342 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48343 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48345 { echo "$as_me:$LINENO: result: no" >&5
48346 echo "${ECHO_T}no" >&6; }
48350 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
48351 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
48356 SHARED_LD_CC
="${LD} -nostart -o"
48357 SHARED_LD_CXX
="${LD} -nostart -o"
48361 if test "x$GCC" != "xyes"; then
48366 *-*-cygwin* | *-*-mingw32* )
48368 SHARED_LD_CC
="\$(CC) -shared -o"
48369 SHARED_LD_CXX
="\$(CXX) -shared -o"
48373 *-pc-os2_emx | *-pc-os2-emx )
48374 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48375 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48379 cat <<EOF >dllar.sh
48382 # dllar - a tool to build both a .dll and an .a file
48383 # from a set of object (.o) files for EMX/OS2.
48385 # Written by Andrew Zabolotny, bit@freya.etu.ru
48386 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48388 # This script will accept a set of files on the command line.
48389 # All the public symbols from the .o files will be exported into
48390 # a .DEF file, then linker will be run (through gcc) against them to
48391 # build a shared library consisting of all given .o files. All libraries
48392 # (.a) will be first decompressed into component .o files then act as
48393 # described above. You can optionally give a description (-d "description")
48394 # which will be put into .DLL. To see the list of accepted options (as well
48395 # as command-line format) simply run this program without options. The .DLL
48396 # is built to be imported by name (there is no guarantee that new versions
48397 # of the library you build will have same ordinals for same symbols).
48399 # dllar is free software; you can redistribute it and/or modify
48400 # it under the terms of the GNU General Public License as published by
48401 # the Free Software Foundation; either version 2, or (at your option)
48402 # any later version.
48404 # dllar is distributed in the hope that it will be useful,
48405 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48406 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48407 # GNU General Public License for more details.
48409 # You should have received a copy of the GNU General Public License
48410 # along with dllar; see the file COPYING. If not, write to the Free
48411 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48414 # To successfuly run this program you will need:
48415 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48416 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48418 # (used to build the .dll)
48420 # (used to create .def file from .o files)
48422 # (used to create .a file from .def file)
48423 # - GNU text utilites (cat, sort, uniq)
48424 # used to process emxexp output
48425 # - GNU file utilities (mv, rm)
48427 # - lxlite (optional, see flag below)
48428 # (used for general .dll cleanup)
48435 # basnam, variant of basename, which does _not_ remove the path, _iff_
48436 # second argument (suffix to remove) is given
48440 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48443 echo ${D}1 | sed 's/'${D}2'${D}//'
48446 echo "error in basnam ${D}*"
48452 # Cleanup temporary files and output
48455 for i in ${D}inputFiles ; do
48458 rm -rf \`basnam ${D}i !\`
48465 # Kill result in case of failure as there is just to many stupid make/nmake
48466 # things out there which doesn't do this.
48467 if [ ${D}# -eq 0 ]; then
48468 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48472 # Print usage and exit script with rc=1.
48474 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48475 echo ' [-name-mangler-script script.sh]'
48476 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48477 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48478 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48479 echo ' [*.o] [*.a]'
48480 echo '*> "output_file" should have no extension.'
48481 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48482 echo ' The import library name is derived from this and is set to "name".a,'
48483 echo ' unless overridden by -import'
48484 echo '*> "importlib_name" should have no extension.'
48485 echo ' If it has the .o, or .a extension, it is automatically removed.'
48486 echo ' This name is used as the import library name and may be longer and'
48487 echo ' more descriptive than the DLL name which has to follow the old '
48488 echo ' 8.3 convention of FAT.'
48489 echo '*> "script.sh may be given to override the output_file name by a'
48490 echo ' different name. It is mainly useful if the regular make process'
48491 echo ' of some package does not take into account OS/2 restriction of'
48492 echo ' DLL name lengths. It takes the importlib name as input and is'
48493 echo ' supposed to procude a shorter name as output. The script should'
48494 echo ' expect to get importlib_name without extension and should produce'
48495 echo ' a (max.) 8 letter name without extension.'
48496 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48497 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48498 echo ' These flags will be put at the start of GCC command line.'
48499 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48500 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48501 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48502 echo ' If the last character of a symbol is "*", all symbols beginning'
48503 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48504 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48505 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48506 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48507 echo ' C runtime DLLs.'
48508 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48509 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48510 echo ' unchanged to GCC at the end of command line.'
48511 echo '*> If you create a DLL from a library and you do not specify -o,'
48512 echo ' the basename for DLL and import library will be set to library name,'
48513 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48514 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48515 echo ' library will be renamed into gcc_s.a.'
48518 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48519 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48524 # Execute a command.
48525 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48526 # @Uses Whatever CleanUp() uses.
48532 if [ ${D}rcCmd -ne 0 ]; then
48533 echo "command failed, exit code="${D}rcCmd
48548 CFLAGS="-s -Zcrtdll"
48550 EXPORT_BY_ORDINALS=0
48555 case ${D}curDirS in
48559 curDirS=${D}{curDirS}"/"
48562 # Parse commandline
48565 while [ ${D}1 ]; do
48568 EXPORT_BY_ORDINALS=1;
48578 -name-mangler-script)
48599 exclude_symbols=${D}{exclude_symbols}${D}1" "
48603 library_flags=${D}{library_flags}${D}1" "
48622 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48625 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48626 if [ ${D}omfLinking -eq 1 ]; then
48627 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48629 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48634 if [ ${D}libsToLink -ne 0 ]; then
48635 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48637 for file in ${D}1 ; do
48638 if [ -f ${D}file ]; then
48639 inputFiles="${D}{inputFiles} ${D}file"
48643 if [ ${D}found -eq 0 ]; then
48644 echo "ERROR: No file(s) found: "${D}1
48651 done # iterate cmdline words
48654 if [ -z "${D}inputFiles" ]; then
48655 echo "dllar: no input files"
48659 # Now extract all .o files from .a files
48661 for file in ${D}inputFiles ; do
48672 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48677 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48679 if [ ${D}? -ne 0 ]; then
48680 echo "Failed to create subdirectory ./${D}dirname"
48684 # Append '!' to indicate archive
48685 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48686 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48689 for subfile in ${D}dirname/*.o* ; do
48690 if [ -f ${D}subfile ]; then
48692 if [ -s ${D}subfile ]; then
48693 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48694 newInputFiles="${D}newInputFiles ${D}subfile"
48698 if [ ${D}found -eq 0 ]; then
48699 echo "WARNING: there are no files in archive \\'${D}file\\'"
48703 newInputFiles="${D}{newInputFiles} ${D}file"
48707 inputFiles="${D}newInputFiles"
48709 # Output filename(s).
48711 if [ -z ${D}outFile ]; then
48713 set outFile ${D}inputFiles; outFile=${D}2
48716 # If it is an archive, remove the '!' and the '_%' suffixes
48717 case ${D}outFile in
48719 outFile=\`basnam ${D}outFile _%!\`
48724 case ${D}outFile in
48726 outFile=\`basnam ${D}outFile .dll\`
48729 outFile=\`basnam ${D}outFile .DLL\`
48732 outFile=\`basnam ${D}outFile .o\`
48735 outFile=\`basnam ${D}outFile .obj\`
48738 outFile=\`basnam ${D}outFile .a\`
48741 outFile=\`basnam ${D}outFile .lib\`
48746 case ${D}outimpFile in
48748 outimpFile=\`basnam ${D}outimpFile .a\`
48751 outimpFile=\`basnam ${D}outimpFile .lib\`
48756 if [ -z ${D}outimpFile ]; then
48757 outimpFile=${D}outFile
48759 defFile="${D}{outFile}.def"
48760 arcFile="${D}{outimpFile}.a"
48761 arcFile2="${D}{outimpFile}.lib"
48763 #create ${D}dllFile as something matching 8.3 restrictions,
48764 if [ -z ${D}renameScript ] ; then
48765 dllFile="${D}outFile"
48767 dllFile=\`${D}renameScript ${D}outimpFile\`
48770 if [ ${D}do_backup -ne 0 ] ; then
48771 if [ -f ${D}arcFile ] ; then
48772 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48774 if [ -f ${D}arcFile2 ] ; then
48775 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48779 # Extract public symbols from all the object files.
48780 tmpdefFile=${D}{defFile}_%
48781 rm -f ${D}tmpdefFile
48782 for file in ${D}inputFiles ; do
48787 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48792 # Create the def file.
48794 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48795 dllFile="${D}{dllFile}.dll"
48796 if [ ! -z ${D}description ]; then
48797 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48799 echo "EXPORTS" >> ${D}defFile
48801 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48802 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48804 # Checks if the export is ok or not.
48805 for word in ${D}exclude_symbols; do
48806 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48807 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48811 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48812 sed "=" < ${D}tmpdefFile | \\
48816 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48818 ' > ${D}{tmpdefFile}%
48819 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48821 rm -f ${D}{tmpdefFile}%
48823 cat ${D}tmpdefFile >> ${D}defFile
48824 rm -f ${D}tmpdefFile
48826 # Do linking, create implib, and apply lxlite.
48828 for file in ${D}inputFiles ; do
48833 gccCmdl="${D}gccCmdl ${D}file"
48837 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48838 touch "${D}{outFile}.dll"
48840 doCommand "emximp -o ${D}arcFile ${D}defFile"
48841 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48843 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48846 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48848 doCommand "emxomf -s -l ${D}arcFile"
48858 powerpc
-apple-macos* | \
48859 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
48869 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48870 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48871 { (exit 1); exit 1; }; }
48874 if test "x$PIC_FLAG" != "x" ; then
48875 PIC_FLAG
="$PIC_FLAG -DPIC"
48878 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48879 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
48881 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48882 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
48901 case "${BAKEFILE_HOST}" in
48902 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48903 *-*-k*bsd
*-gnu | *-*-mirbsd* )
48904 if test "x$SUNCXX" = "xyes"; then
48907 SONAME_FLAG
="-Wl,-soname,"
48942 # Check whether --enable-dependency-tracking was given.
48943 if test "${enable_dependency_tracking+set}" = set; then
48944 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
48948 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48949 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48952 if test "x$bk_use_trackdeps" = "xno" ; then
48954 { echo "$as_me:$LINENO: result: disabled" >&5
48955 echo "${ECHO_T}disabled" >&6; }
48959 if test "x$GCC" = "xyes"; then
48961 case "${BAKEFILE_HOST}" in
48963 DEPSFLAG
="-no-cpp-precomp -MMD"
48969 { echo "$as_me:$LINENO: result: gcc" >&5
48970 echo "${ECHO_T}gcc" >&6; }
48971 elif test "x$MWCC" = "xyes"; then
48974 { echo "$as_me:$LINENO: result: mwcc" >&5
48975 echo "${ECHO_T}mwcc" >&6; }
48976 elif test "x$SUNCC" = "xyes"; then
48979 { echo "$as_me:$LINENO: result: Sun cc" >&5
48980 echo "${ECHO_T}Sun cc" >&6; }
48981 elif test "x$SGICC" = "xyes"; then
48984 { echo "$as_me:$LINENO: result: SGI cc" >&5
48985 echo "${ECHO_T}SGI cc" >&6; }
48986 elif test "x$HPCC" = "xyes"; then
48989 { echo "$as_me:$LINENO: result: HP cc" >&5
48990 echo "${ECHO_T}HP cc" >&6; }
48991 elif test "x$COMPAQCC" = "xyes"; then
48994 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48995 echo "${ECHO_T}Compaq cc" >&6; }
48998 { echo "$as_me:$LINENO: result: none" >&5
48999 echo "${ECHO_T}none" >&6; }
49002 if test $DEPS_TRACKING = 1 ; then
49008 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49009 # script. It is used to track C/C++ files dependencies in portable way.
49011 # Permission is given to use this file in any way.
49013 DEPSMODE=${DEPSMODE}
49014 DEPSFLAG="${DEPSFLAG}"
49017 if test ${D}DEPSMODE = gcc ; then
49018 ${D}* ${D}{DEPSFLAG}
49021 # determine location of created files:
49022 while test ${D}# -gt 0; do
49036 objfilebase=\`basename ${D}objfile\`
49037 builddir=\`dirname ${D}objfile\`
49038 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49039 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49040 depsdir=${D}builddir/${D}DEPSDIRBASE
49041 mkdir -p ${D}depsdir
49043 # if the compiler failed, we're done:
49044 if test ${D}{status} != 0 ; then
49049 # move created file to the location we want it in:
49050 if test -f ${D}depfile ; then
49051 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49054 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49055 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49056 if test ! -f ${D}depfile ; then
49057 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49058 depfile="${D}objfile.d"
49060 if test -f ${D}depfile ; then
49061 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49067 elif test ${D}DEPSMODE = mwcc ; then
49068 ${D}* || exit ${D}?
49069 # Run mwcc again with -MM and redirect into the dep file we want
49070 # NOTE: We can't use shift here because we need ${D}* to be valid
49072 for arg in ${D}* ; do
49073 if test "${D}prevarg" = "-o"; then
49087 objfilebase=\`basename ${D}objfile\`
49088 builddir=\`dirname ${D}objfile\`
49089 depsdir=${D}builddir/${D}DEPSDIRBASE
49090 mkdir -p ${D}depsdir
49092 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49095 elif test ${D}DEPSMODE = unixcc; then
49096 ${D}* || exit ${D}?
49097 # Run compiler again with deps flag and redirect into the dep file.
49098 # It doesn't work if the '-o FILE' option is used, but without it the
49099 # dependency file will contain the wrong name for the object. So it is
49100 # removed from the command line, and the dep file is fixed with sed.
49102 while test ${D}# -gt 0; do
49109 eval arg${D}#=\\${D}1
49110 cmd="${D}cmd \\${D}arg${D}#"
49116 objfilebase=\`basename ${D}objfile\`
49117 builddir=\`dirname ${D}objfile\`
49118 depsdir=${D}builddir/${D}DEPSDIRBASE
49119 mkdir -p ${D}depsdir
49121 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfilebase}.d
49131 BK_DEPS
="`pwd`/bk-deps"
49139 case ${BAKEFILE_HOST} in
49140 *-*-cygwin* | *-*-mingw32* )
49141 if test -n "$ac_tool_prefix"; then
49142 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49143 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49146 if test "${ac_cv_prog_WINDRES+set}" = set; then
49147 echo $ECHO_N "(cached) $ECHO_C" >&6
49149 if test -n "$WINDRES"; then
49150 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49153 for as_dir
in $PATH
49156 test -z "$as_dir" && as_dir
=.
49157 for ac_exec_ext
in '' $ac_executable_extensions; do
49158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49159 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49169 WINDRES
=$ac_cv_prog_WINDRES
49170 if test -n "$WINDRES"; then
49171 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49172 echo "${ECHO_T}$WINDRES" >&6; }
49174 { echo "$as_me:$LINENO: result: no" >&5
49175 echo "${ECHO_T}no" >&6; }
49180 if test -z "$ac_cv_prog_WINDRES"; then
49181 ac_ct_WINDRES
=$WINDRES
49182 # Extract the first word of "windres", so it can be a program name with args.
49183 set dummy windres
; ac_word
=$2
49184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49186 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49187 echo $ECHO_N "(cached) $ECHO_C" >&6
49189 if test -n "$ac_ct_WINDRES"; then
49190 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49193 for as_dir
in $PATH
49196 test -z "$as_dir" && as_dir
=.
49197 for ac_exec_ext
in '' $ac_executable_extensions; do
49198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49199 ac_cv_prog_ac_ct_WINDRES
="windres"
49200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49209 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49210 if test -n "$ac_ct_WINDRES"; then
49211 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49212 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49214 { echo "$as_me:$LINENO: result: no" >&5
49215 echo "${ECHO_T}no" >&6; }
49218 if test "x$ac_ct_WINDRES" = x
; then
49221 case $cross_compiling:$ac_tool_warned in
49223 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49224 whose name does not start with the host triplet. If you think this
49225 configuration is useful to you, please write to autoconf@gnu.org." >&5
49226 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49227 whose name does not start with the host triplet. If you think this
49228 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49229 ac_tool_warned
=yes ;;
49231 WINDRES
=$ac_ct_WINDRES
49234 WINDRES
="$ac_cv_prog_WINDRES"
49239 *-*-darwin* | powerpc
-apple-macos* )
49240 # Extract the first word of "Rez", so it can be a program name with args.
49241 set dummy Rez
; ac_word
=$2
49242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49244 if test "${ac_cv_prog_REZ+set}" = set; then
49245 echo $ECHO_N "(cached) $ECHO_C" >&6
49247 if test -n "$REZ"; then
49248 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49251 for as_dir
in $PATH
49254 test -z "$as_dir" && as_dir
=.
49255 for ac_exec_ext
in '' $ac_executable_extensions; do
49256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49257 ac_cv_prog_REZ
="Rez"
49258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49265 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49268 REZ
=$ac_cv_prog_REZ
49269 if test -n "$REZ"; then
49270 { echo "$as_me:$LINENO: result: $REZ" >&5
49271 echo "${ECHO_T}$REZ" >&6; }
49273 { echo "$as_me:$LINENO: result: no" >&5
49274 echo "${ECHO_T}no" >&6; }
49278 # Extract the first word of "SetFile", so it can be a program name with args.
49279 set dummy SetFile
; ac_word
=$2
49280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49282 if test "${ac_cv_prog_SETFILE+set}" = set; then
49283 echo $ECHO_N "(cached) $ECHO_C" >&6
49285 if test -n "$SETFILE"; then
49286 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
49288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49289 for as_dir
in $PATH
49292 test -z "$as_dir" && as_dir
=.
49293 for ac_exec_ext
in '' $ac_executable_extensions; do
49294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49295 ac_cv_prog_SETFILE
="SetFile"
49296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49303 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
49306 SETFILE
=$ac_cv_prog_SETFILE
49307 if test -n "$SETFILE"; then
49308 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49309 echo "${ECHO_T}$SETFILE" >&6; }
49311 { echo "$as_me:$LINENO: result: no" >&5
49312 echo "${ECHO_T}no" >&6; }
49327 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.4"
49330 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.4"
49334 # Check whether --enable-precomp-headers was given.
49335 if test "${enable_precomp_headers+set}" = set; then
49336 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
49345 case ${BAKEFILE_HOST} in
49351 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49352 if test "x$GCC" = "xyes"; then
49353 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49354 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49355 cat >conftest.
$ac_ext <<_ACEOF
49358 cat confdefs.h
>>conftest.
$ac_ext
49359 cat >>conftest.
$ac_ext <<_ACEOF
49360 /* end confdefs.h. */
49366 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49367 There is no PCH support
49370 There is no PCH support
49372 #if (__GNUC__ == 3) && \
49373 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49374 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49375 ( defined(__INTEL_COMPILER) )
49376 There is no PCH support
49383 rm -f conftest.
$ac_objext
49384 if { (ac_try
="$ac_compile"
49385 case "(($ac_try" in
49386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49387 *) ac_try_echo=$ac_try;;
49389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49390 (eval "$ac_compile") 2>conftest.er1
49392 grep -v '^ *+' conftest.er1 >conftest.err
49394 cat conftest.err >&5
49395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49396 (exit $ac_status); } && {
49397 test -z "$ac_c_werror_flag" ||
49398 test ! -s conftest.err
49399 } && test -s conftest.$ac_objext; then
49401 { echo "$as_me:$LINENO: result: yes" >&5
49402 echo "${ECHO_T}yes" >&6; }
49406 echo "$as_me: failed program was:" >&5
49407 sed 's/^/| /' conftest.$ac_ext >&5
49410 cat >conftest.$ac_ext <<_ACEOF
49413 cat confdefs.h >>conftest.$ac_ext
49414 cat >>conftest.$ac_ext <<_ACEOF
49415 /* end confdefs.h. */
49421 #if !defined(__INTEL_COMPILER) || \
49422 (__INTEL_COMPILER < 800)
49423 There is no PCH support
49430 rm -f conftest.$ac_objext
49431 if { (ac_try="$ac_compile"
49432 case "(($ac_try" in
49433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49434 *) ac_try_echo
=$ac_try;;
49436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49437 (eval "$ac_compile") 2>conftest.er1
49439 grep -v '^ *+' conftest.er1
>conftest.err
49441 cat conftest.err
>&5
49442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49443 (exit $ac_status); } && {
49444 test -z "$ac_c_werror_flag" ||
49445 test ! -s conftest.err
49446 } && test -s conftest.
$ac_objext; then
49448 { echo "$as_me:$LINENO: result: yes" >&5
49449 echo "${ECHO_T}yes" >&6; }
49453 echo "$as_me: failed program was:" >&5
49454 sed 's/^/| /' conftest.
$ac_ext >&5
49457 { echo "$as_me:$LINENO: result: no" >&5
49458 echo "${ECHO_T}no" >&6; }
49462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49467 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49471 cat <<EOF >bk-make-pch
49474 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49475 # script. It is used to generated precompiled headers.
49477 # Permission is given to use this file in any way.
49484 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49489 while test ${D}{#} -gt 0; do
49493 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49494 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49495 headerfile="${D}{incdir}/${D}{header}"
49498 -use-pch|-use_pch )
49503 if test ${D}add_to_cmdline = 1 ; then
49504 compiler="${D}{compiler} ${D}{1}"
49509 if test "x${D}{headerfile}" = "x" ; then
49510 echo "error: can't find header ${D}{header} in include paths" >&2
49512 if test -f ${D}{outfile} ; then
49513 rm -f ${D}{outfile}
49515 mkdir -p \`dirname ${D}{outfile}\`
49517 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49518 mkdir -p ${D}{builddir}/.deps
49519 if test "x${GCC_PCH}" = "x1" ; then
49520 # can do this because gcc is >= 3.4:
49521 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49522 elif test "x${ICC_PCH}" = "x1" ; then
49523 filename=pch_gen-${D}${D}
49524 file=${D}{filename}.c
49525 dfile=${D}{filename}.d
49526 cat > ${D}file <<EOT
49527 #include "${D}header"
49529 # using -MF icc complains about differing command lines in creation/use
49530 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49531 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49532 rm -f ${D}file ${D}dfile ${D}{filename}.o
49538 chmod +x bk
-make-pch
49539 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49548 COND_BUILD_DEBUG
="#"
49549 if test "x$BUILD" = "xdebug" ; then
49550 COND_BUILD_DEBUG
=""
49553 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49554 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49555 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49558 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49559 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49560 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49563 COND_BUILD_DEBUG_UNICODE_0
="#"
49564 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49565 COND_BUILD_DEBUG_UNICODE_0
=""
49568 COND_BUILD_DEBUG_UNICODE_1
="#"
49569 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49570 COND_BUILD_DEBUG_UNICODE_1
=""
49573 COND_BUILD_RELEASE
="#"
49574 if test "x$BUILD" = "xrelease" ; then
49575 COND_BUILD_RELEASE
=""
49578 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49579 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49580 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49583 COND_BUILD_RELEASE_UNICODE_0
="#"
49584 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49585 COND_BUILD_RELEASE_UNICODE_0
=""
49588 COND_BUILD_RELEASE_UNICODE_1
="#"
49589 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49590 COND_BUILD_RELEASE_UNICODE_1
=""
49593 COND_BUILD_debug
="#"
49594 if test "x$BUILD" = "xdebug" ; then
49595 COND_BUILD_debug
=""
49598 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49599 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49600 COND_BUILD_debug_DEBUG_FLAG_default
=""
49603 COND_BUILD_debug_DEBUG_INFO_default
="#"
49604 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49605 COND_BUILD_debug_DEBUG_INFO_default
=""
49608 COND_BUILD_debug_UNICODE_0
="#"
49609 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49610 COND_BUILD_debug_UNICODE_0
=""
49613 COND_BUILD_debug_UNICODE_1
="#"
49614 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49615 COND_BUILD_debug_UNICODE_1
=""
49618 COND_BUILD_release
="#"
49619 if test "x$BUILD" = "xrelease" ; then
49620 COND_BUILD_release
=""
49623 COND_BUILD_release_DEBUG_INFO_default
="#"
49624 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49625 COND_BUILD_release_DEBUG_INFO_default
=""
49628 COND_BUILD_release_UNICODE_0
="#"
49629 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49630 COND_BUILD_release_UNICODE_0
=""
49633 COND_BUILD_release_UNICODE_1
="#"
49634 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49635 COND_BUILD_release_UNICODE_1
=""
49638 COND_DEBUG_FLAG_1
="#"
49639 if test "x$DEBUG_FLAG" = "x1" ; then
49640 COND_DEBUG_FLAG_1
=""
49643 COND_DEBUG_INFO_0
="#"
49644 if test "x$DEBUG_INFO" = "x0" ; then
49645 COND_DEBUG_INFO_0
=""
49648 COND_DEBUG_INFO_1
="#"
49649 if test "x$DEBUG_INFO" = "x1" ; then
49650 COND_DEBUG_INFO_1
=""
49653 COND_DEPS_TRACKING_0
="#"
49654 if test "x$DEPS_TRACKING" = "x0" ; then
49655 COND_DEPS_TRACKING_0
=""
49658 COND_DEPS_TRACKING_1
="#"
49659 if test "x$DEPS_TRACKING" = "x1" ; then
49660 COND_DEPS_TRACKING_1
=""
49664 if test "x$GCC_PCH" = "x1" ; then
49669 if test "x$ICC_PCH" = "x1" ; then
49673 COND_MONOLITHIC_0
="#"
49674 if test "x$MONOLITHIC" = "x0" ; then
49675 COND_MONOLITHIC_0
=""
49678 COND_MONOLITHIC_0_SHARED_0
="#"
49679 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49680 COND_MONOLITHIC_0_SHARED_0
=""
49683 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49684 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49685 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49688 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49689 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49690 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49693 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49694 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49695 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49698 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49699 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49700 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49703 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49704 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49705 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49708 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49709 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49710 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49713 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49714 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49715 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49718 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49719 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49720 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49723 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49724 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49725 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49728 COND_MONOLITHIC_0_SHARED_1
="#"
49729 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49730 COND_MONOLITHIC_0_SHARED_1
=""
49733 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49734 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49735 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49738 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49739 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49740 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49743 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49744 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49745 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49748 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49749 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49750 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49753 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49754 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49755 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49758 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49759 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49760 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49763 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49765 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49768 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49770 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49773 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49775 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49778 COND_MONOLITHIC_0_USE_AUI_1
="#"
49779 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49780 COND_MONOLITHIC_0_USE_AUI_1
=""
49783 COND_MONOLITHIC_0_USE_GUI_1
="#"
49784 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49785 COND_MONOLITHIC_0_USE_GUI_1
=""
49788 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49789 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49790 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49793 COND_MONOLITHIC_0_USE_HTML_1
="#"
49794 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49795 COND_MONOLITHIC_0_USE_HTML_1
=""
49798 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49799 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49800 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49803 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49804 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49805 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
49808 COND_MONOLITHIC_0_USE_QA_1
="#"
49809 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49810 COND_MONOLITHIC_0_USE_QA_1
=""
49813 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49814 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49815 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49818 COND_MONOLITHIC_0_USE_STC_1
="#"
49819 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49820 COND_MONOLITHIC_0_USE_STC_1
=""
49823 COND_MONOLITHIC_0_USE_XRC_1
="#"
49824 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49825 COND_MONOLITHIC_0_USE_XRC_1
=""
49828 COND_MONOLITHIC_1
="#"
49829 if test "x$MONOLITHIC" = "x1" ; then
49830 COND_MONOLITHIC_1
=""
49833 COND_MONOLITHIC_1_SHARED_0
="#"
49834 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49835 COND_MONOLITHIC_1_SHARED_0
=""
49838 COND_MONOLITHIC_1_SHARED_1
="#"
49839 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49840 COND_MONOLITHIC_1_SHARED_1
=""
49843 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49844 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49845 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49848 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49849 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49850 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49853 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49854 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49855 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49858 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49859 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49860 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49863 COND_PLATFORM_MACOSX_1
="#"
49864 if test "x$PLATFORM_MACOSX" = "x1" ; then
49865 COND_PLATFORM_MACOSX_1
=""
49868 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
49869 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49870 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
49873 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
49874 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49875 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
49878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
49879 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
49883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
49884 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49885 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
49888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
49889 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
49893 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49894 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49895 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49898 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
49899 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49900 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
49903 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49904 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49905 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49908 COND_PLATFORM_MACOS_1
="#"
49909 if test "x$PLATFORM_MACOS" = "x1" ; then
49910 COND_PLATFORM_MACOS_1
=""
49913 COND_PLATFORM_MAC_0
="#"
49914 if test "x$PLATFORM_MAC" = "x0" ; then
49915 COND_PLATFORM_MAC_0
=""
49918 COND_PLATFORM_MAC_1
="#"
49919 if test "x$PLATFORM_MAC" = "x1" ; then
49920 COND_PLATFORM_MAC_1
=""
49923 COND_PLATFORM_MSDOS_0
="#"
49924 if test "x$PLATFORM_MSDOS" = "x0" ; then
49925 COND_PLATFORM_MSDOS_0
=""
49928 COND_PLATFORM_MSDOS_1
="#"
49929 if test "x$PLATFORM_MSDOS" = "x1" ; then
49930 COND_PLATFORM_MSDOS_1
=""
49933 COND_PLATFORM_OS2_1
="#"
49934 if test "x$PLATFORM_OS2" = "x1" ; then
49935 COND_PLATFORM_OS2_1
=""
49938 COND_PLATFORM_UNIX_0
="#"
49939 if test "x$PLATFORM_UNIX" = "x0" ; then
49940 COND_PLATFORM_UNIX_0
=""
49943 COND_PLATFORM_UNIX_1
="#"
49944 if test "x$PLATFORM_UNIX" = "x1" ; then
49945 COND_PLATFORM_UNIX_1
=""
49948 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
49949 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49950 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
49953 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
49954 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49955 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
49958 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
49959 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49960 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
49963 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
49964 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49965 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
49968 COND_PLATFORM_WIN32_0
="#"
49969 if test "x$PLATFORM_WIN32" = "x0" ; then
49970 COND_PLATFORM_WIN32_0
=""
49973 COND_PLATFORM_WIN32_1
="#"
49974 if test "x$PLATFORM_WIN32" = "x1" ; then
49975 COND_PLATFORM_WIN32_1
=""
49979 if test "x$SHARED" = "x0" ; then
49983 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
49984 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49985 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
49988 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
49989 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49990 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
49993 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
49994 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49995 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
49998 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
49999 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50000 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50003 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50004 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50005 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50008 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50009 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50010 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50013 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50014 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50015 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50018 COND_SHARED_0_USE_STC_1
="#"
50019 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50020 COND_SHARED_0_USE_STC_1
=""
50023 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50024 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50025 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50028 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50029 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50030 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50033 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50034 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50035 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50039 if test "x$SHARED" = "x1" ; then
50043 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50044 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50045 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50049 if test "x$TOOLKIT" = "x" ; then
50053 COND_TOOLKIT_COCOA
="#"
50054 if test "x$TOOLKIT" = "xCOCOA" ; then
50055 COND_TOOLKIT_COCOA
=""
50058 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50059 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50060 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50063 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50064 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50065 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50068 COND_TOOLKIT_DFB
="#"
50069 if test "x$TOOLKIT" = "xDFB" ; then
50070 COND_TOOLKIT_DFB
=""
50073 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50074 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50075 COND_TOOLKIT_DFB_USE_GUI_1
=""
50078 COND_TOOLKIT_GTK
="#"
50079 if test "x$TOOLKIT" = "xGTK" ; then
50080 COND_TOOLKIT_GTK
=""
50083 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50084 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50085 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50088 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50089 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50090 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50093 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50094 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50095 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50098 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50099 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50100 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50103 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50104 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50105 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50108 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50109 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50110 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50113 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50114 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50115 COND_TOOLKIT_GTK_USE_GUI_1
=""
50118 COND_TOOLKIT_MAC
="#"
50119 if test "x$TOOLKIT" = "xMAC" ; then
50120 COND_TOOLKIT_MAC
=""
50123 COND_TOOLKIT_MGL
="#"
50124 if test "x$TOOLKIT" = "xMGL" ; then
50125 COND_TOOLKIT_MGL
=""
50128 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50129 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50130 COND_TOOLKIT_MGL_USE_GUI_1
=""
50133 COND_TOOLKIT_MOTIF
="#"
50134 if test "x$TOOLKIT" = "xMOTIF" ; then
50135 COND_TOOLKIT_MOTIF
=""
50138 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50139 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50140 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50143 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50144 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50145 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50148 COND_TOOLKIT_MSW
="#"
50149 if test "x$TOOLKIT" = "xMSW" ; then
50150 COND_TOOLKIT_MSW
=""
50153 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50154 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50155 COND_TOOLKIT_MSW_USE_GUI_1
=""
50158 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50159 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50160 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50163 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50164 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50165 COND_TOOLKIT_MSW_WXUNIV_0
=""
50168 COND_TOOLKIT_OSX_CARBON
="#"
50169 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50170 COND_TOOLKIT_OSX_CARBON
=""
50173 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50174 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50175 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50178 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50179 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50180 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50183 COND_TOOLKIT_OSX_COCOA
="#"
50184 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50185 COND_TOOLKIT_OSX_COCOA
=""
50188 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50189 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50190 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50193 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50194 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50195 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50198 COND_TOOLKIT_OSX_IPHONE
="#"
50199 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50200 COND_TOOLKIT_OSX_IPHONE
=""
50203 COND_TOOLKIT_PM
="#"
50204 if test "x$TOOLKIT" = "xPM" ; then
50208 COND_TOOLKIT_PM_USE_GUI_1
="#"
50209 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50210 COND_TOOLKIT_PM_USE_GUI_1
=""
50213 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50214 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50215 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50218 COND_TOOLKIT_WINCE
="#"
50219 if test "x$TOOLKIT" = "xWINCE" ; then
50220 COND_TOOLKIT_WINCE
=""
50223 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50224 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50225 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50228 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50229 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50230 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50233 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50234 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50235 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50238 COND_TOOLKIT_X11
="#"
50239 if test "x$TOOLKIT" = "xX11" ; then
50240 COND_TOOLKIT_X11
=""
50243 COND_TOOLKIT_X11_USE_GUI_1
="#"
50244 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50245 COND_TOOLKIT_X11_USE_GUI_1
=""
50249 if test "x$UNICODE" = "x1" ; then
50253 COND_USE_EXCEPTIONS_0
="#"
50254 if test "x$USE_EXCEPTIONS" = "x0" ; then
50255 COND_USE_EXCEPTIONS_0
=""
50258 COND_USE_EXCEPTIONS_1
="#"
50259 if test "x$USE_EXCEPTIONS" = "x1" ; then
50260 COND_USE_EXCEPTIONS_1
=""
50264 if test "x$USE_GUI" = "x0" ; then
50269 if test "x$USE_GUI" = "x1" ; then
50273 COND_USE_GUI_1_USE_OPENGL_1
="#"
50274 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50275 COND_USE_GUI_1_USE_OPENGL_1
=""
50278 COND_USE_GUI_1_WXUNIV_0
="#"
50279 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50280 COND_USE_GUI_1_WXUNIV_0
=""
50283 COND_USE_GUI_1_WXUNIV_1
="#"
50284 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50285 COND_USE_GUI_1_WXUNIV_1
=""
50288 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50289 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50290 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50293 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50294 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50295 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50298 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50299 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50300 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50303 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50304 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50305 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50308 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50309 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50310 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50313 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50314 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50315 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50318 COND_USE_OPENGL_1
="#"
50319 if test "x$USE_OPENGL" = "x1" ; then
50320 COND_USE_OPENGL_1
=""
50324 if test "x$USE_PCH" = "x1" ; then
50328 COND_USE_PLUGINS_0
="#"
50329 if test "x$USE_PLUGINS" = "x0" ; then
50330 COND_USE_PLUGINS_0
=""
50333 COND_USE_RTTI_0
="#"
50334 if test "x$USE_RTTI" = "x0" ; then
50338 COND_USE_RTTI_1
="#"
50339 if test "x$USE_RTTI" = "x1" ; then
50343 COND_USE_SOSYMLINKS_1
="#"
50344 if test "x$USE_SOSYMLINKS" = "x1" ; then
50345 COND_USE_SOSYMLINKS_1
=""
50348 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50349 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50350 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50353 COND_USE_SOVERLINUX_1
="#"
50354 if test "x$USE_SOVERLINUX" = "x1" ; then
50355 COND_USE_SOVERLINUX_1
=""
50358 COND_USE_SOVERSION_0
="#"
50359 if test "x$USE_SOVERSION" = "x0" ; then
50360 COND_USE_SOVERSION_0
=""
50363 COND_USE_SOVERSOLARIS_1
="#"
50364 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50365 COND_USE_SOVERSOLARIS_1
=""
50369 if test "x$USE_STC" = "x1" ; then
50373 COND_USE_THREADS_0
="#"
50374 if test "x$USE_THREADS" = "x0" ; then
50375 COND_USE_THREADS_0
=""
50378 COND_USE_THREADS_1
="#"
50379 if test "x$USE_THREADS" = "x1" ; then
50380 COND_USE_THREADS_1
=""
50384 if test "x$USE_XRC" = "x1" ; then
50388 COND_WINDOWS_IMPLIB_1
="#"
50389 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50390 COND_WINDOWS_IMPLIB_1
=""
50393 COND_WITH_PLUGIN_SDL_1
="#"
50394 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50395 COND_WITH_PLUGIN_SDL_1
=""
50399 if test "x$WXUNIV" = "x0" ; then
50404 if test "x$WXUNIV" = "x1" ; then
50408 COND_WXUSE_EXPAT_BUILTIN
="#"
50409 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50410 COND_WXUSE_EXPAT_BUILTIN
=""
50413 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50414 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50415 COND_WXUSE_LIBJPEG_BUILTIN
=""
50418 COND_WXUSE_LIBPNG_BUILTIN
="#"
50419 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50420 COND_WXUSE_LIBPNG_BUILTIN
=""
50423 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50424 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50425 COND_WXUSE_LIBTIFF_BUILTIN
=""
50428 COND_WXUSE_REGEX_BUILTIN
="#"
50429 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50430 COND_WXUSE_REGEX_BUILTIN
=""
50433 COND_WXUSE_ZLIB_BUILTIN
="#"
50434 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50435 COND_WXUSE_ZLIB_BUILTIN
=""
50438 COND_wxUSE_EXPAT_builtin
="#"
50439 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50440 COND_wxUSE_EXPAT_builtin
=""
50443 COND_wxUSE_LIBJPEG_builtin
="#"
50444 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50445 COND_wxUSE_LIBJPEG_builtin
=""
50448 COND_wxUSE_LIBPNG_builtin
="#"
50449 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50450 COND_wxUSE_LIBPNG_builtin
=""
50453 COND_wxUSE_LIBTIFF_builtin
="#"
50454 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50455 COND_wxUSE_LIBTIFF_builtin
=""
50458 COND_wxUSE_REGEX_builtin
="#"
50459 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50460 COND_wxUSE_REGEX_builtin
=""
50463 COND_wxUSE_ZLIB_builtin
="#"
50464 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50465 COND_wxUSE_ZLIB_builtin
=""
50470 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50471 { { 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
50472 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;}
50473 { (exit 1); exit 1; }; }
50476 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50477 { { 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
50478 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;}
50479 { (exit 1); exit 1; }; }
50486 ?
:* ) # Drive letter, considered as absolute.
50489 INSTALL
=`pwd`/${INSTALL} ;;
50492 if test "$wxUSE_GUI" = "yes"; then
50494 if test "$wxUSE_MSW" = 1 ; then
50495 if test "x$WINDRES" = "x"; then
50496 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50497 echo "$as_me: error: Required windres program not found" >&2;}
50498 { (exit 1); exit 1; }; }
50504 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50505 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50506 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50508 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50510 # Extract the first word of "DeRez", so it can be a program name with args.
50511 set dummy DeRez
; ac_word
=$2
50512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50514 if test "${ac_cv_prog_DEREZ+set}" = set; then
50515 echo $ECHO_N "(cached) $ECHO_C" >&6
50517 if test -n "$DEREZ"; then
50518 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50521 for as_dir
in $PATH
50524 test -z "$as_dir" && as_dir
=.
50525 for ac_exec_ext
in '' $ac_executable_extensions; do
50526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50527 ac_cv_prog_DEREZ
="DeRez"
50528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50535 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50538 DEREZ
=$ac_cv_prog_DEREZ
50539 if test -n "$DEREZ"; then
50540 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50541 echo "${ECHO_T}$DEREZ" >&6; }
50543 { echo "$as_me:$LINENO: result: no" >&5
50544 echo "${ECHO_T}no" >&6; }
50549 MACSETFILE
="\$(SETFILE)"
50551 if test "$wxUSE_OSX_CARBON" = 1; then
50552 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50554 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50556 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50557 RESCOMP
="cat /dev/null \| $REZ"
50558 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50564 if test "$wxUSE_PM" = 1; then
50566 WXCONFIG_RESFLAGS
="-ep"
50568 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50570 POSTLINK_COMMAND
="@true"
50577 if test $GCC_PCH = 1
50579 if test "$wx_cv_gcc_pch_bug" = yes; then
50580 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50581 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50582 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50583 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50584 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50585 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50588 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50589 # the headers that benefit from precompilation are mostly C++ headers.
50590 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50591 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50592 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50596 if test "$wxUSE_MAC" = 1 ; then
50597 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50598 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50604 if test "$wxUSE_SHARED" = "yes"; then
50606 *-pc-os2_emx | *-pc-os2-emx )
50607 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50608 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50609 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50610 cp -p ${srcdir}/src
/os
2/dllar.sh .
50614 if test "$wxUSE_OMF" = "yes"; then
50616 *-pc-os2_emx | *-pc-os2-emx )
50617 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50618 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50619 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50624 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50629 if test "$GCC" = yes; then
50630 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50631 LIBS
=`echo $LIBS | sed 's/-mt//'`
50632 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50637 if test "x$SUNCXX" = xyes
; then
50638 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50639 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50640 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50645 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50646 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50647 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50648 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50650 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50711 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50712 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50713 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50714 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50715 echo $ECHO_N "(cached) $ECHO_C" >&6
50717 cat >conftest.
make <<\_ACEOF
50720 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50722 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50723 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50724 *@@@
%%%=?
*=@@@
%%%*)
50725 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50727 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50729 rm -f conftest.
make
50731 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50732 { echo "$as_me:$LINENO: result: yes" >&5
50733 echo "${ECHO_T}yes" >&6; }
50736 { echo "$as_me:$LINENO: result: no" >&5
50737 echo "${ECHO_T}no" >&6; }
50738 SET_MAKE
="MAKE=${MAKE-make}"
50743 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50746 if test "$USE_WIN32" = 1; then
50747 ac_config_commands
="$ac_config_commands
50753 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50756 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50759 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50762 if test "$wx_cv_version_script" = "yes"; then
50763 ac_config_files
="$ac_config_files version-script"
50766 ac_config_files
="$ac_config_files Makefile"
50769 ac_config_commands
="$ac_config_commands wx-config"
50773 if test "$wxWITH_SUBDIRS" != "no"; then
50774 if test "$wxUSE_GUI" = "yes"; then
50775 SUBDIRS
="samples demos utils"
50777 SUBDIRS
="samples utils"
50782 # Check whether --with-cppunit-prefix was given.
50783 if test "${with_cppunit_prefix+set}" = set; then
50784 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50786 cppunit_config_prefix
=""
50790 # Check whether --with-cppunit-exec-prefix was given.
50791 if test "${with_cppunit_exec_prefix+set}" = set; then
50792 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50794 cppunit_config_exec_prefix
=""
50798 if test x
$cppunit_config_exec_prefix != x
; then
50799 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50800 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50801 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50804 if test x
$cppunit_config_prefix != x
; then
50805 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50806 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50807 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50811 # Extract the first word of "cppunit-config", so it can be a program name with args.
50812 set dummy cppunit
-config; ac_word
=$2
50813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50815 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50816 echo $ECHO_N "(cached) $ECHO_C" >&6
50818 case $CPPUNIT_CONFIG in
50820 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50824 for as_dir
in $PATH
50827 test -z "$as_dir" && as_dir
=.
50828 for ac_exec_ext
in '' $ac_executable_extensions; do
50829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50830 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50838 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50842 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50843 if test -n "$CPPUNIT_CONFIG"; then
50844 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50845 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50847 { echo "$as_me:$LINENO: result: no" >&5
50848 echo "${ECHO_T}no" >&6; }
50852 cppunit_version_min
=1.8.0
50854 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50855 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50857 if test "$CPPUNIT_CONFIG" = "no" ; then
50858 { echo "$as_me:$LINENO: result: no" >&5
50859 echo "${ECHO_T}no" >&6; }
50862 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50863 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50864 cppunit_version
=`$CPPUNIT_CONFIG --version`
50866 cppunit_major_version
=`echo $cppunit_version | \
50867 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50868 cppunit_minor_version
=`echo $cppunit_version | \
50869 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50870 cppunit_micro_version
=`echo $cppunit_version | \
50871 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50873 cppunit_major_min
=`echo $cppunit_version_min | \
50874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50875 cppunit_minor_min
=`echo $cppunit_version_min | \
50876 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50877 cppunit_micro_min
=`echo $cppunit_version_min | \
50878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50880 cppunit_version_proper
=`expr \
50881 $cppunit_major_version \> $cppunit_major_min \| \
50882 $cppunit_major_version \= $cppunit_major_min \& \
50883 $cppunit_minor_version \> $cppunit_minor_min \| \
50884 $cppunit_major_version \= $cppunit_major_min \& \
50885 $cppunit_minor_version \= $cppunit_minor_min \& \
50886 $cppunit_micro_version \>= $cppunit_micro_min `
50888 if test "$cppunit_version_proper" = "1" ; then
50889 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50890 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50892 { echo "$as_me:$LINENO: result: no" >&5
50893 echo "${ECHO_T}no" >&6; }
50898 if test "x$no_cppunit" = x
; then
50899 SUBDIRS
="$SUBDIRS tests"
50910 for subdir
in $SUBDIRS; do
50911 if test -d ${srcdir}/${subdir} ; then
50912 if test "$wxUSE_GUI" = "yes"; then
50913 if test ${subdir} = "samples"; then
50914 makefiles
="samples/Makefile.in $makefiles"
50915 for sample
in $SAMPLES_SUBDIRS; do
50916 if test -d $srcdir/samples
/$sample; then
50917 makefiles
="samples/$sample/Makefile.in $makefiles"
50921 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50922 eval "disabled=\$$disabled_var"
50923 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50924 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50927 if test ${subdir} = "samples"; then
50928 makefiles
="samples/Makefile.in $makefiles"
50929 for sample
in `echo $SAMPLES_SUBDIRS`; do
50930 if test -d $srcdir/samples
/$sample; then
50931 makefiles
="samples/$sample/Makefile.in $makefiles"
50934 elif test ${subdir} = "utils"; then
50936 for util
in ifacecheck
; do
50937 if test -d $srcdir/utils
/$util ; then
50938 makefiles
="utils/$util/src/Makefile.in \
50943 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
50947 for mkin
in $makefiles ; do
50948 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50949 ac_config_files
="$ac_config_files $mk"
50955 cat >confcache
<<\_ACEOF
50956 # This file is a shell script that caches the results of configure
50957 # tests run on this system so they can be shared between configure
50958 # scripts and configure runs, see configure's option --config-cache.
50959 # It is not useful on other systems. If it contains results you don't
50960 # want to keep, you may remove or edit it.
50962 # config.status only pays attention to the cache file if you give it
50963 # the --recheck option to rerun configure.
50965 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50966 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50967 # following values.
50971 # The following way of writing the cache mishandles newlines in values,
50972 # but we know of no workaround that is simple, portable, and efficient.
50973 # So, we kill variables containing newlines.
50974 # Ultrix sh set writes to stderr and can't be redirected directly,
50975 # and sets the high bit in the cache file unless we assign to the vars.
50977 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50978 eval ac_val
=\$
$ac_var
50982 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50983 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50986 _
| IFS
| as_nl
) ;; #(
50987 *) $as_unset $ac_var ;;
50993 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50994 *${as_nl}ac_space
=\
*)
50995 # `set' does not quote correctly, so add quotes (double-quote
50996 # substitution turns \\\\ into \\, and sed turns \\ into \).
50999 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51002 # `set' quotes correctly as required by POSIX, so do not add quotes.
51003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51012 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51014 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51016 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51017 if test -w "$cache_file"; then
51018 test "x$cache_file" != "x/dev/null" &&
51019 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51020 echo "$as_me: updating cache $cache_file" >&6;}
51021 cat confcache
>$cache_file
51023 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51024 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51029 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51030 # Let make expand exec_prefix.
51031 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51033 DEFS
=-DHAVE_CONFIG_H
51037 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51038 # 1. Remove the extension, and $U if already installed.
51039 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51040 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51041 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51042 # will be set to the directory where LIBOBJS objects are built.
51043 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51044 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51046 LIBOBJS
=$ac_libobjs
51048 LTLIBOBJS
=$ac_ltlibobjs
51052 : ${CONFIG_STATUS=./config.status}
51053 ac_clean_files_save
=$ac_clean_files
51054 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51055 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51056 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51057 cat >$CONFIG_STATUS <<_ACEOF
51059 # Generated by $as_me.
51060 # Run this file to recreate the current configuration.
51061 # Compiler output produced by configure, useful for debugging
51062 # configure, is in config.log if it exists.
51065 ac_cs_recheck=false
51067 SHELL=\${CONFIG_SHELL-$SHELL}
51070 cat >>$CONFIG_STATUS <<\_ACEOF
51071 ## --------------------- ##
51072 ## M4sh Initialization. ##
51073 ## --------------------- ##
51075 # Be more Bourne compatible
51076 DUALCASE
=1; export DUALCASE
# for MKS sh
51077 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51080 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51081 # is contrary to our usage. Disable this feature.
51082 alias -g '${1+"$@"}'='"$@"'
51083 setopt NO_GLOB_SUBST
51085 case `(set -o) 2>/dev/null` in
51086 *posix
*) set -o posix
;;
51095 # Avoid depending upon Character Ranges.
51096 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51097 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51098 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51099 as_cr_digits
='0123456789'
51100 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51102 # The user is always right.
51103 if test "${PATH_SEPARATOR+set}" != set; then
51104 echo "#! /bin/sh" >conf$$.sh
51105 echo "exit 0" >>conf$$.sh
51107 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51115 # Support unset when possible.
51116 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51124 # We need space, tab and new line, in precisely that order. Quoting is
51125 # there to prevent editors from complaining about space-tab.
51126 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51127 # splitting by setting IFS to empty value.)
51132 # Find who we are. Look in the path if we contain no directory separator.
51134 *[\\/]* ) as_myself
=$0 ;;
51135 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51136 for as_dir
in $PATH
51139 test -z "$as_dir" && as_dir
=.
51140 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51146 # We did not find ourselves, most probably we were run as `sh COMMAND'
51147 # in which case we are not to be found in the path.
51148 if test "x$as_myself" = x
; then
51151 if test ! -f "$as_myself"; then
51152 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51153 { (exit 1); exit 1; }
51156 # Work around bugs in pre-3.0 UWIN ksh.
51157 for as_var
in ENV MAIL MAILPATH
51158 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51166 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51167 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51168 LC_TELEPHONE LC_TIME
51170 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51171 eval $as_var=C
; export $as_var
51173 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51177 # Required to use basename.
51178 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51179 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51185 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51186 as_basename
=basename
51192 # Name of the executable.
51193 as_me
=`$as_basename -- "$0" ||
51194 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51195 X"$0" : 'X\(//\)$' \| \
51196 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51198 sed '/^.*\/\([^/][^/]*\)\/*$/{
51217 as_lineno_1
=$LINENO
51218 as_lineno_2
=$LINENO
51219 test "x$as_lineno_1" != "x$as_lineno_2" &&
51220 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51222 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51223 # uniformly replaced by the line number. The first 'sed' inserts a
51224 # line-number line after each line using $LINENO; the second 'sed'
51225 # does the real work. The second script uses 'N' to pair each
51226 # line-number line with the line containing $LINENO, and appends
51227 # trailing '-' during substitution so that $LINENO is not a special
51228 # case at line end.
51229 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51230 # scripts with optimization help from Paolo Bonzini. Blame Lee
51231 # E. McMahon (1931-1989) for sed's syntax. :-)
51243 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51246 ' >$as_me.lineno
&&
51247 chmod +x
"$as_me.lineno" ||
51248 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51249 { (exit 1); exit 1; }; }
51251 # Don't try to exec as it changes $[0], causing all sort of problems
51252 # (the dirname of $[0] is not the place where we might find the
51253 # original and so on. Autoconf is especially sensitive to this).
51254 .
"./$as_me.lineno"
51255 # Exit status is that of the last command.
51260 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51266 ECHO_C
= ECHO_N
= ECHO_T
=
51267 case `echo -n x` in
51269 case `echo 'x\c'` in
51270 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51277 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51278 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51284 rm -f conf$$ conf$$.exe conf$$.
file
51285 if test -d conf$$.dir
; then
51286 rm -f conf$$.dir
/conf$$.
file
51292 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51294 # ... but there are two gotchas:
51295 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51296 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51297 # In both cases, we have to default to `cp -p'.
51298 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51300 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51305 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51306 rmdir conf$$.dir
2>/dev
/null
51308 if mkdir -p .
2>/dev
/null
; then
51311 test -d .
/-p && rmdir .
/-p
51315 if test -x / >/dev
/null
2>&1; then
51316 as_test_x
='test -x'
51318 if ls -dL / >/dev
/null
2>&1; then
51325 if test -d "$1"; then
51331 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51332 ???[sx]*):;;*)false;;esac;fi
51336 as_executable_p
=$as_test_x
51338 # Sed expression to map a string onto a valid CPP name.
51339 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51341 # Sed expression to map a string onto a valid variable name.
51342 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51347 # Save the log message, to keep $[0] and so on meaningful, and to
51348 # report actual input values of CONFIG_FILES etc. instead of their
51349 # values after options handling.
51351 This file was extended by wxWidgets $as_me 2.9.0, which was
51352 generated by GNU Autoconf 2.61. Invocation command line was
51354 CONFIG_FILES = $CONFIG_FILES
51355 CONFIG_HEADERS = $CONFIG_HEADERS
51356 CONFIG_LINKS = $CONFIG_LINKS
51357 CONFIG_COMMANDS = $CONFIG_COMMANDS
51360 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51365 cat >>$CONFIG_STATUS <<_ACEOF
51366 # Files that config.status was made for.
51367 config_files="$ac_config_files"
51368 config_headers="$ac_config_headers"
51369 config_commands="$ac_config_commands"
51373 cat >>$CONFIG_STATUS <<\_ACEOF
51375 \`$as_me' instantiates files from templates according to the
51376 current configuration.
51378 Usage: $0 [OPTIONS] [FILE]...
51380 -h, --help print this help, then exit
51381 -V, --version print version number and configuration settings, then exit
51382 -q, --quiet do not print progress messages
51383 -d, --debug don't remove temporary files
51384 --recheck update $as_me by reconfiguring in the same conditions
51385 --file=FILE[:TEMPLATE]
51386 instantiate the configuration file FILE
51387 --header=FILE[:TEMPLATE]
51388 instantiate the configuration header FILE
51390 Configuration files:
51393 Configuration headers:
51396 Configuration commands:
51399 Report bugs to <bug-autoconf@gnu.org>."
51402 cat >>$CONFIG_STATUS <<_ACEOF
51404 wxWidgets config.status 2.9.0
51405 configured by $0, generated by GNU Autoconf 2.61,
51406 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51408 Copyright (C) 2006 Free Software Foundation, Inc.
51409 This config.status script is free software; the Free Software Foundation
51410 gives unlimited permission to copy, distribute and modify it."
51417 cat >>$CONFIG_STATUS <<\_ACEOF
51418 # If no file are specified by the user, then we need to provide default
51419 # value. By we need to know if files were specified by the user.
51425 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51426 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51437 # Handling of the options.
51438 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51440 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51441 echo "$ac_cs_version"; exit ;;
51442 --debug | --debu | --deb | --de | --d | -d )
51444 --file | --fil | --fi | --f )
51446 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51447 ac_need_defaults
=false
;;
51448 --header | --heade | --head | --hea )
51450 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51451 ac_need_defaults
=false
;;
51453 # Conflict between --help and --header
51454 { echo "$as_me: error: ambiguous option: $1
51455 Try \`$0 --help' for more information." >&2
51456 { (exit 1); exit 1; }; };;
51457 --help | --hel | -h )
51458 echo "$ac_cs_usage"; exit ;;
51459 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51460 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51463 # This is an error.
51464 -*) { echo "$as_me: error: unrecognized option: $1
51465 Try \`$0 --help' for more information." >&2
51466 { (exit 1); exit 1; }; } ;;
51468 *) ac_config_targets
="$ac_config_targets $1"
51469 ac_need_defaults
=false
;;
51475 ac_configure_extra_args
=
51477 if $ac_cs_silent; then
51479 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51483 cat >>$CONFIG_STATUS <<_ACEOF
51484 if \$ac_cs_recheck; then
51485 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51486 CONFIG_SHELL=$SHELL
51487 export CONFIG_SHELL
51488 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51492 cat >>$CONFIG_STATUS <<\_ACEOF
51496 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51497 ## Running $as_me. ##
51503 cat >>$CONFIG_STATUS <<_ACEOF
51509 infile="$srcdir/include/wx/msw/genrcdefs.h"
51510 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51513 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51514 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51515 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51521 cat >>$CONFIG_STATUS <<\_ACEOF
51523 # Handling of arguments.
51524 for ac_config_target
in $ac_config_targets
51526 case $ac_config_target in
51527 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51528 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51529 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51530 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51531 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51532 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51533 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51534 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51535 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51537 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51538 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51539 { (exit 1); exit 1; }; };;
51544 # If the user did not use the arguments to specify the items to instantiate,
51545 # then the envvar interface is used. Set only those that are not.
51546 # We use the long form for the default assignment because of an extremely
51547 # bizarre bug on SunOS 4.1.3.
51548 if $ac_need_defaults; then
51549 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51550 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51551 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51554 # Have a temporary directory for convenience. Make it in the build tree
51555 # simply because there is no reason against having it here, and in addition,
51556 # creating and moving files from /tmp can sometimes cause problems.
51557 # Hook for its removal unless debugging.
51558 # Note that there is a small window in which the directory will not be cleaned:
51559 # after its creation but before its name has been assigned to `$tmp'.
51563 trap 'exit_status=$?
51564 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51566 trap '{ (exit 1); exit 1; }' 1 2 13 15
51568 # Create a (secure) tmp directory for tmp files.
51571 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51572 test -n "$tmp" && test -d "$tmp"
51575 tmp
=.
/conf$$
-$RANDOM
51576 (umask 077 && mkdir "$tmp")
51579 echo "$me: cannot create a temporary directory in ." >&2
51580 { (exit 1); exit 1; }
51584 # Set up the sed scripts for CONFIG_FILES section.
51587 # No need to generate the scripts if there are no CONFIG_FILES.
51588 # This happens for instance when ./config.status config.h
51589 if test -n "$CONFIG_FILES"; then
51596 for ac_last_try
in false false false false false
:; do
51597 cat >conf$
$subs.
sed <<_ACEOF
51598 SHELL!$SHELL$ac_delim
51599 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51600 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51601 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51602 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51603 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51604 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51605 exec_prefix!$exec_prefix$ac_delim
51606 prefix!$prefix$ac_delim
51607 program_transform_name!$program_transform_name$ac_delim
51608 bindir!$bindir$ac_delim
51609 sbindir!$sbindir$ac_delim
51610 libexecdir!$libexecdir$ac_delim
51611 datarootdir!$datarootdir$ac_delim
51612 datadir!$datadir$ac_delim
51613 sysconfdir!$sysconfdir$ac_delim
51614 sharedstatedir!$sharedstatedir$ac_delim
51615 localstatedir!$localstatedir$ac_delim
51616 includedir!$includedir$ac_delim
51617 oldincludedir!$oldincludedir$ac_delim
51618 docdir!$docdir$ac_delim
51619 infodir!$infodir$ac_delim
51620 htmldir!$htmldir$ac_delim
51621 dvidir!$dvidir$ac_delim
51622 pdfdir!$pdfdir$ac_delim
51623 psdir!$psdir$ac_delim
51624 libdir!$libdir$ac_delim
51625 localedir!$localedir$ac_delim
51626 mandir!$mandir$ac_delim
51627 DEFS!$DEFS$ac_delim
51628 ECHO_C!$ECHO_C$ac_delim
51629 ECHO_N!$ECHO_N$ac_delim
51630 ECHO_T!$ECHO_T$ac_delim
51631 LIBS!$LIBS$ac_delim
51632 build_alias!$build_alias$ac_delim
51633 host_alias!$host_alias$ac_delim
51634 target_alias!$target_alias$ac_delim
51635 build!$build$ac_delim
51636 build_cpu!$build_cpu$ac_delim
51637 build_vendor!$build_vendor$ac_delim
51638 build_os!$build_os$ac_delim
51639 host!$host$ac_delim
51640 host_cpu!$host_cpu$ac_delim
51641 host_vendor!$host_vendor$ac_delim
51642 host_os!$host_os$ac_delim
51643 target!$target$ac_delim
51644 target_cpu!$target_cpu$ac_delim
51645 target_vendor!$target_vendor$ac_delim
51646 target_os!$target_os$ac_delim
51647 wx_top_builddir!$wx_top_builddir$ac_delim
51649 CFLAGS!$CFLAGS$ac_delim
51650 LDFLAGS!$LDFLAGS$ac_delim
51651 CPPFLAGS!$CPPFLAGS$ac_delim
51652 ac_ct_CC!$ac_ct_CC$ac_delim
51653 EXEEXT!$EXEEXT$ac_delim
51654 OBJEXT!$OBJEXT$ac_delim
51656 GREP!$GREP$ac_delim
51657 EGREP!$EGREP$ac_delim
51659 CXXFLAGS!$CXXFLAGS$ac_delim
51660 ac_ct_CXX!$ac_ct_CXX$ac_delim
51662 subdirs!$subdirs$ac_delim
51663 PKG_CONFIG!$PKG_CONFIG$ac_delim
51664 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51665 GTK_LIBS!$GTK_LIBS$ac_delim
51666 GTK_CONFIG!$GTK_CONFIG$ac_delim
51667 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51668 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51669 XMKMF!$XMKMF$ac_delim
51670 X_CFLAGS!$X_CFLAGS$ac_delim
51671 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51672 X_LIBS!$X_LIBS$ac_delim
51673 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51674 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51675 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51676 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51677 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51678 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51679 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51680 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51681 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51682 LIBICONV!$LIBICONV$ac_delim
51683 SDL_CONFIG!$SDL_CONFIG$ac_delim
51684 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51685 SDL_LIBS!$SDL_LIBS$ac_delim
51686 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51687 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51688 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51689 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51690 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51691 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51692 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51693 HILDON_LIBS!$HILDON_LIBS$ac_delim
51694 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51697 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51699 elif $ac_last_try; then
51700 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51701 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51702 { (exit 1); exit 1; }; }
51704 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51708 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51709 if test -n "$ac_eof"; then
51710 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51711 ac_eof
=`expr $ac_eof + 1`
51714 cat >>$CONFIG_STATUS <<_ACEOF
51715 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51716 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51719 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51720 s/^/s,@/; s/!/@,|#_!!_#|/
51723 s/'"$ac_delim"'$/,g/; t
51725 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51726 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51727 rm -f conf$
$subs.
sed
51728 cat >>$CONFIG_STATUS <<_ACEOF
51734 for ac_last_try
in false false false false false
:; do
51735 cat >conf$
$subs.
sed <<_ACEOF
51736 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51737 GST_CFLAGS!$GST_CFLAGS$ac_delim
51738 GST_LIBS!$GST_LIBS$ac_delim
51739 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51740 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51741 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51742 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51743 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51744 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51745 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51746 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51747 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51748 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51749 VENDOR!$VENDOR$ac_delim
51750 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51751 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51752 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51753 WXUNIV!$WXUNIV$ac_delim
51754 MONOLITHIC!$MONOLITHIC$ac_delim
51755 USE_PLUGINS!$USE_PLUGINS$ac_delim
51756 CXXWARNINGS!$CXXWARNINGS$ac_delim
51757 EXTRALIBS!$EXTRALIBS$ac_delim
51758 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51759 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51760 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51761 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51762 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51763 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51764 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51765 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51766 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51767 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51768 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51769 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51770 UNICODE!$UNICODE$ac_delim
51771 BUILD!$BUILD$ac_delim
51772 DEBUG_INFO!$DEBUG_INFO$ac_delim
51773 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51774 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51775 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51776 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51777 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51778 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51779 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51780 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51781 RANLIB!$RANLIB$ac_delim
51782 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51783 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51784 INSTALL_DATA!$INSTALL_DATA$ac_delim
51785 LN_S!$LN_S$ac_delim
51786 SET_MAKE!$SET_MAKE$ac_delim
51787 MAKE_SET!$MAKE_SET$ac_delim
51788 AROPTIONS!$AROPTIONS$ac_delim
51789 STRIP!$STRIP$ac_delim
51791 INSTALL_DIR!$INSTALL_DIR$ac_delim
51792 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51793 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51794 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51795 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51796 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51797 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51798 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51799 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51800 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51801 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51802 SO_SUFFIX!$SO_SUFFIX$ac_delim
51803 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51804 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51805 LIBPREFIX!$LIBPREFIX$ac_delim
51806 LIBEXT!$LIBEXT$ac_delim
51807 DLLPREFIX!$DLLPREFIX$ac_delim
51808 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51809 dlldir!$dlldir$ac_delim
51810 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51811 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51812 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51813 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51814 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51815 PIC_FLAG!$PIC_FLAG$ac_delim
51816 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51817 USE_SOVERSION!$USE_SOVERSION$ac_delim
51818 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51819 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51820 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51821 USE_MACVERSION!$USE_MACVERSION$ac_delim
51822 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51823 SONAME_FLAG!$SONAME_FLAG$ac_delim
51824 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51825 BK_DEPS!$BK_DEPS$ac_delim
51826 WINDRES!$WINDRES$ac_delim
51828 SETFILE!$SETFILE$ac_delim
51829 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51830 GCC_PCH!$GCC_PCH$ac_delim
51831 ICC_PCH!$ICC_PCH$ac_delim
51832 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51835 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51837 elif $ac_last_try; then
51838 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51839 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51840 { (exit 1); exit 1; }; }
51842 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51846 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51847 if test -n "$ac_eof"; then
51848 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51849 ac_eof
=`expr $ac_eof + 1`
51852 cat >>$CONFIG_STATUS <<_ACEOF
51853 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51854 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51857 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51858 s/^/s,@/; s/!/@,|#_!!_#|/
51861 s/'"$ac_delim"'$/,g/; t
51863 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51864 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51865 rm -f conf$
$subs.
sed
51866 cat >>$CONFIG_STATUS <<_ACEOF
51872 for ac_last_try
in false false false false false
:; do
51873 cat >conf$
$subs.
sed <<_ACEOF
51874 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51875 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51876 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51877 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51878 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51879 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51880 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51881 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51882 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51883 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51884 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51885 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51886 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51887 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51888 COND_BUILD_release!$COND_BUILD_release$ac_delim
51889 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51890 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51891 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51892 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51893 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51894 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51895 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51896 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51897 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51898 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51899 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51900 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51901 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51903 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51905 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51906 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51907 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51908 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51909 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51910 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51911 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51912 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51913 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51914 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51915 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51916 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51917 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51918 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51919 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51920 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51921 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51922 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51923 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51924 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51925 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51926 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51927 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51928 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51929 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51930 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51931 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51932 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51933 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51934 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51935 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51936 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51937 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51938 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51939 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
51940 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
51941 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
51942 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51943 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51944 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51945 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51946 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51947 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51948 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51949 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51950 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51951 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51952 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51953 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51954 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51955 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51956 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51957 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51958 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51959 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51960 COND_SHARED_0!$COND_SHARED_0$ac_delim
51961 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51962 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51963 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51964 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51965 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
51966 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
51967 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
51968 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51969 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
51970 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
51973 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51975 elif $ac_last_try; then
51976 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51977 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51978 { (exit 1); exit 1; }; }
51980 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51984 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51985 if test -n "$ac_eof"; then
51986 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51987 ac_eof
=`expr $ac_eof + 1`
51990 cat >>$CONFIG_STATUS <<_ACEOF
51991 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51992 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51995 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51996 s/^/s,@/; s/!/@,|#_!!_#|/
51999 s/'"$ac_delim"'$/,g/; t
52001 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52002 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52003 rm -f conf$
$subs.
sed
52004 cat >>$CONFIG_STATUS <<_ACEOF
52010 for ac_last_try
in false false false false false
:; do
52011 cat >conf$
$subs.
sed <<_ACEOF
52012 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52013 COND_SHARED_1!$COND_SHARED_1$ac_delim
52014 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52015 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52016 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52017 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52018 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52019 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52020 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52021 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52022 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52023 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52024 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52025 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52026 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52027 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52028 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52029 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52030 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52031 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52032 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52033 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52034 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52035 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52036 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52037 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52038 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52039 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52040 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52041 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52042 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52043 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52044 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52045 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52046 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52047 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52048 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52049 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52050 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52051 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52052 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52053 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52054 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52055 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52056 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52057 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52058 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52059 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52060 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52061 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52062 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52063 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52064 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52065 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52066 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52067 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52068 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52069 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52070 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52071 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52072 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52073 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52074 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52075 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52076 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52077 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52078 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52079 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52080 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52081 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52082 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52083 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52084 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52085 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52086 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52087 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52088 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52089 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52090 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52091 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52092 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52093 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52094 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52095 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52096 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52097 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52098 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52099 DEREZ!$DEREZ$ac_delim
52100 SHARED!$SHARED$ac_delim
52101 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52102 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52103 USE_GUI!$USE_GUI$ac_delim
52104 AFMINSTALL!$AFMINSTALL$ac_delim
52105 WIN32INSTALL!$WIN32INSTALL$ac_delim
52106 TOOLKIT!$TOOLKIT$ac_delim
52107 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52108 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52111 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52113 elif $ac_last_try; then
52114 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52115 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52116 { (exit 1); exit 1; }; }
52118 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52122 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52123 if test -n "$ac_eof"; then
52124 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52125 ac_eof
=`expr $ac_eof + 1`
52128 cat >>$CONFIG_STATUS <<_ACEOF
52129 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52130 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52133 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52134 s/^/s,@/; s/!/@,|#_!!_#|/
52137 s/'"$ac_delim"'$/,g/; t
52139 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52140 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52141 rm -f conf$
$subs.
sed
52142 cat >>$CONFIG_STATUS <<_ACEOF
52148 for ac_last_try
in false false false false false
:; do
52149 cat >conf$
$subs.
sed <<_ACEOF
52150 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52151 cross_compiling!$cross_compiling$ac_delim
52152 WIDGET_SET!$WIDGET_SET$ac_delim
52153 WX_RELEASE!$WX_RELEASE$ac_delim
52154 WX_VERSION!$WX_VERSION$ac_delim
52155 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52156 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52157 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52158 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52159 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52160 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52161 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52162 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52163 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52164 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52165 GUIDIST!$GUIDIST$ac_delim
52166 DISTDIR!$DISTDIR$ac_delim
52167 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52168 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52169 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52170 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52171 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52172 RESCOMP!$RESCOMP$ac_delim
52173 RESFLAGS!$RESFLAGS$ac_delim
52174 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52175 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52176 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52177 LIBWXMACRES!$LIBWXMACRES$ac_delim
52178 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52179 MACSETFILE!$MACSETFILE$ac_delim
52181 DLLTOOL!$DLLTOOL$ac_delim
52182 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52183 LIBOBJS!$LIBOBJS$ac_delim
52184 LTLIBOBJS!$LTLIBOBJS$ac_delim
52187 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
52189 elif $ac_last_try; then
52190 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52191 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52192 { (exit 1); exit 1; }; }
52194 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52198 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52199 if test -n "$ac_eof"; then
52200 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52201 ac_eof
=`expr $ac_eof + 1`
52204 cat >>$CONFIG_STATUS <<_ACEOF
52205 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52206 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52209 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52210 s/^/s,@/; s/!/@,|#_!!_#|/
52213 s/'"$ac_delim"'$/,g/; t
52215 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52216 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52217 rm -f conf$
$subs.
sed
52218 cat >>$CONFIG_STATUS <<_ACEOF
52225 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52226 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52227 # trailing colons and then remove the whole line if VPATH becomes empty
52228 # (actually we leave an empty line to preserve line numbers).
52229 if test "x$srcdir" = x.
; then
52230 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52231 s/:*\$(srcdir):*/:/
52232 s/:*\${srcdir}:*/:/
52234 s/^\([^=]*=[ ]*\):*/\1/
52240 cat >>$CONFIG_STATUS <<\_ACEOF
52241 fi # test -n "$CONFIG_FILES"
52244 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52247 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52249 case $ac_mode$ac_tag in
52251 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52252 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52253 { (exit 1); exit 1; }; };;
52254 :[FH
]-) ac_tag
=-:-;;
52255 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52272 -) ac_f
="$tmp/stdin";;
52273 *) # Look for the file first in the build tree, then in the source tree
52274 # (if the path is not absolute). The absolute path cannot be DOS-style,
52275 # because $ac_f cannot contain `:'.
52279 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52281 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52282 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52283 { (exit 1); exit 1; }; };;
52285 ac_file_inputs
="$ac_file_inputs $ac_f"
52288 # Let's still pretend it is `configure' which instantiates (i.e., don't
52289 # use $as_me), people would be surprised to read:
52290 # /* config.h. Generated by config.status. */
52291 configure_input
="Generated from "`IFS=:
52292 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52293 if test x
"$ac_file" != x
-; then
52294 configure_input
="$ac_file. $configure_input"
52295 { echo "$as_me:$LINENO: creating $ac_file" >&5
52296 echo "$as_me: creating $ac_file" >&6;}
52300 *:-:* | *:-) cat >"$tmp/stdin";;
52305 ac_dir
=`$as_dirname -- "$ac_file" ||
52306 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52307 X"$ac_file" : 'X\(//\)[^/]' \| \
52308 X"$ac_file" : 'X\(//\)$' \| \
52309 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52315 /^X\(\/\/\)[^/].*/{
52330 -*) as_dir
=.
/$as_dir;;
52332 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52336 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52337 *) as_qdir
=$as_dir;;
52339 as_dirs
="'$as_qdir' $as_dirs"
52340 as_dir
=`$as_dirname -- "$as_dir" ||
52341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52342 X"$as_dir" : 'X\(//\)[^/]' \| \
52343 X"$as_dir" : 'X\(//\)$' \| \
52344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52350 /^X\(\/\/\)[^/].*/{
52363 test -d "$as_dir" && break
52365 test -z "$as_dirs" || eval "mkdir $as_dirs"
52366 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52367 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52368 { (exit 1); exit 1; }; }; }
52372 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52374 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52375 # A ".." for each directory in $ac_dir_suffix.
52376 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52377 case $ac_top_builddir_sub in
52378 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52379 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52382 ac_abs_top_builddir
=$ac_pwd
52383 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52384 # for backward compatibility:
52385 ac_top_builddir
=$ac_top_build_prefix
52388 .
) # We are building in place.
52390 ac_top_srcdir
=$ac_top_builddir_sub
52391 ac_abs_top_srcdir
=$ac_pwd ;;
52392 [\\/]* | ?
:[\\/]* ) # Absolute name.
52393 ac_srcdir
=$srcdir$ac_dir_suffix;
52394 ac_top_srcdir
=$srcdir
52395 ac_abs_top_srcdir
=$srcdir ;;
52396 *) # Relative name.
52397 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52398 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52399 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52401 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52411 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52412 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52416 cat >>$CONFIG_STATUS <<\_ACEOF
52417 # If the template does not know about datarootdir, expand it.
52418 # FIXME: This hack should be removed a few years after 2.60.
52419 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52421 case `sed -n '/datarootdir/ {
52430 ' $ac_file_inputs` in
52431 *datarootdir
*) ac_datarootdir_seen
=yes;;
52432 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52433 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52434 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52436 cat >>$CONFIG_STATUS <<_ACEOF
52437 ac_datarootdir_hack='
52438 s&@datadir@&$datadir&g
52439 s&@docdir@&$docdir&g
52440 s&@infodir@&$infodir&g
52441 s&@localedir@&$localedir&g
52442 s&@mandir@&$mandir&g
52443 s&\\\${datarootdir}&$datarootdir&g' ;;
52447 # Neutralize VPATH when `$srcdir' = `.'.
52448 # Shell code in configure.ac might set extrasub.
52449 # FIXME: do we really want to maintain this feature?
52450 cat >>$CONFIG_STATUS <<_ACEOF
52454 cat >>$CONFIG_STATUS <<\_ACEOF
52456 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52457 s
&@configure_input@
&$configure_input&;t t
52458 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52459 s
&@srcdir@
&$ac_srcdir&;t t
52460 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52461 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52462 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52463 s
&@builddir@
&$ac_builddir&;t t
52464 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52465 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52466 s
&@INSTALL@
&$ac_INSTALL&;t t
52467 $ac_datarootdir_hack
52468 " $ac_file_inputs | sed -f "$tmp/subs
-1.
sed" | sed -f "$tmp/subs
-2.
sed" | sed -f "$tmp/subs
-3.
sed" | sed -f "$tmp/subs
-4.
sed" | sed -f "$tmp/subs
-5.
sed" >$tmp/out
52470 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52471 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52472 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52473 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52474 which seems to be undefined. Please make sure it is defined." >&5
52475 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52476 which seems to be undefined. Please make sure it is defined." >&2;}
52480 -) cat "$tmp/out"; rm -f "$tmp/out";;
52481 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52490 # Transform confdefs.h into a sed script `conftest.defines', that
52491 # substitutes the proper values into config.h.in to produce config.h.
52492 rm -f conftest.defines conftest.
tail
52493 # First, append a space to every undef/define line, to ease matching.
52494 echo 's/$/ /' >conftest.defines
52495 # Then, protect against being on the right side of a sed subst, or in
52496 # an unquoted here document, in config.status. If some macros were
52497 # called several times there might be several #defines for the same
52498 # symbol, which is useless. But do not sort them, since the last
52499 # AC_DEFINE must be honored.
52500 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52501 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52502 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52503 # PARAMS is the parameter list in the macro definition--in most cases, it's
52504 # just an empty string.
52505 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52506 ac_dB
='\\)[ (].*,\\1define\\2'
52514 s/^[ ]*#[ ]*define[ ][ ]*//
52519 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52520 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52521 ' >>conftest.defines
52523 # Remove the space that was appended to ease matching.
52524 # Then replace #undef with comments. This is necessary, for
52525 # example, in the case of _POSIX_SOURCE, which is predefined and required
52526 # on some systems where configure will not decide to define it.
52527 # (The regexp can be short, since the line contains either #define or #undef.)
52529 s,^[ #]*u.*,/* & */,' >>conftest.defines
52531 # Break up conftest.defines:
52532 ac_max_sed_lines
=50
52534 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52535 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52536 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52538 ac_in
='$ac_file_inputs'
52539 ac_out
='"$tmp/out1"'
52540 ac_nxt
='"$tmp/out2"'
52544 # Write a here document:
52545 cat >>$CONFIG_STATUS <<_ACEOF
52546 # First, check the format of the line:
52547 cat >"\$tmp/defines.sed" <<\\CEOF
52548 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52549 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52553 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52555 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52556 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52557 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52558 grep . conftest.
tail >/dev
/null
|| break
52559 rm -f conftest.defines
52560 mv conftest.
tail conftest.defines
52562 rm -f conftest.defines conftest.
tail
52564 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52565 cat >>$CONFIG_STATUS <<\_ACEOF
52566 if test x
"$ac_file" != x
-; then
52567 echo "/* $configure_input */" >"$tmp/config.h"
52568 cat "$ac_result" >>"$tmp/config.h"
52569 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52570 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52571 echo "$as_me: $ac_file is unchanged" >&6;}
52574 mv "$tmp/config.h" $ac_file
52577 echo "/* $configure_input */"
52583 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52584 echo "$as_me: executing $ac_file commands" >&6;}
52589 case $ac_file$ac_mode in
52591 mkdir -p $outdir &&
52592 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52594 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52595 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52596 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52597 "wx-config":C
) rm -f wx
-config
52598 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52605 { (exit 0); exit 0; }
52607 chmod +x
$CONFIG_STATUS
52608 ac_clean_files
=$ac_clean_files_save
52611 # configure is writing to config.log, and then calls config.status.
52612 # config.status does its own redirection, appending to config.log.
52613 # Unfortunately, on DOS this fails, as config.log is still kept open
52614 # by configure, so config.status won't be able to write to it; its
52615 # output is simply discarded. So we exec the FD to /dev/null,
52616 # effectively closing config.log, so it can be properly (re)opened and
52617 # appended to by config.status. When coming back to configure, we
52618 # need to make the FD available again.
52619 if test "$no_create" != yes; then
52621 ac_config_status_args
=
52622 test "$silent" = yes &&
52623 ac_config_status_args
="$ac_config_status_args --quiet"
52625 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52627 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52628 # would make configure fail if this is the last instruction.
52629 $ac_cs_success || { (exit 1); exit 1; }
52633 # CONFIG_SUBDIRS section.
52635 if test "$no_recursion" != yes; then
52637 # Remove --cache-file and --srcdir arguments so they do not pile up.
52638 ac_sub_configure_args
=
52640 eval "set x $ac_configure_args"
52644 if test -n "$ac_prev"; then
52649 -cache-file | --cache-file | --cache-fil | --cache-fi \
52650 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52651 ac_prev
=cache_file
;;
52652 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52653 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52656 --config-cache | -C)
52658 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52660 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52662 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52664 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52668 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52670 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52674 # Always prepend --prefix to ensure using the same prefix
52675 # in subdir configurations.
52676 ac_arg
="--prefix=$prefix"
52678 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52680 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52683 if test "$silent" = yes; then
52684 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52688 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52690 # Do not complain, so a configure script can configure whichever
52691 # parts of a large source tree are present.
52692 test -d "$srcdir/$ac_dir" || continue
52694 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52695 echo "$as_me:$LINENO: $ac_msg" >&5
52699 -*) as_dir
=.
/$as_dir;;
52701 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52705 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52706 *) as_qdir
=$as_dir;;
52708 as_dirs
="'$as_qdir' $as_dirs"
52709 as_dir
=`$as_dirname -- "$as_dir" ||
52710 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52711 X"$as_dir" : 'X\(//\)[^/]' \| \
52712 X"$as_dir" : 'X\(//\)$' \| \
52713 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52719 /^X\(\/\/\)[^/].*/{
52732 test -d "$as_dir" && break
52734 test -z "$as_dirs" || eval "mkdir $as_dirs"
52735 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52736 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52737 { (exit 1); exit 1; }; }; }
52741 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52743 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52744 # A ".." for each directory in $ac_dir_suffix.
52745 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52746 case $ac_top_builddir_sub in
52747 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52748 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52751 ac_abs_top_builddir
=$ac_pwd
52752 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52753 # for backward compatibility:
52754 ac_top_builddir
=$ac_top_build_prefix
52757 .
) # We are building in place.
52759 ac_top_srcdir
=$ac_top_builddir_sub
52760 ac_abs_top_srcdir
=$ac_pwd ;;
52761 [\\/]* | ?
:[\\/]* ) # Absolute name.
52762 ac_srcdir
=$srcdir$ac_dir_suffix;
52763 ac_top_srcdir
=$srcdir
52764 ac_abs_top_srcdir
=$srcdir ;;
52765 *) # Relative name.
52766 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52767 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52768 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52770 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52775 # Check for guested configure; otherwise get Cygnus style configure.
52776 if test -f "$ac_srcdir/configure.gnu"; then
52777 ac_sub_configure
=$ac_srcdir/configure.gnu
52778 elif test -f "$ac_srcdir/configure"; then
52779 ac_sub_configure
=$ac_srcdir/configure
52780 elif test -f "$ac_srcdir/configure.in"; then
52781 # This should be Cygnus configure.
52782 ac_sub_configure
=$ac_aux_dir/configure
52784 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52785 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52789 # The recursion is here.
52790 if test -n "$ac_sub_configure"; then
52791 # Make the cache file name correct relative to the subdirectory.
52792 case $cache_file in
52793 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52794 *) # Relative name.
52795 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52798 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52799 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52800 # The eval makes quoting arguments work.
52801 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52802 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52803 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52804 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52805 { (exit 1); exit 1; }; }
52814 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52816 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52817 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52819 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52820 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52821 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52822 if test "$wxUSE_UNICODE" = "yes"; then
52823 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52824 echo " (using UTF-8)"
52826 echo " (using wchar_t)"
52832 echo " What level of wxWidgets compatibility should be enabled?"
52833 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52834 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52836 echo " Which libraries should wxWidgets use?"
52837 echo " STL ${wxUSE_STL}"
52838 echo " jpeg ${wxUSE_LIBJPEG-none}"
52839 echo " png ${wxUSE_LIBPNG-none}"
52840 echo " regex ${wxUSE_REGEX}"
52841 echo " tiff ${wxUSE_LIBTIFF-none}"
52842 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52843 echo " xpm ${wxUSE_LIBXPM-none}"
52845 echo " zlib ${wxUSE_ZLIB}"
52846 echo " expat ${wxUSE_EXPAT}"
52847 echo " libmspack ${wxUSE_LIBMSPACK}"
52848 echo " sdl ${wxUSE_LIBSDL}"