2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.3.
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.3'
579 PACKAGE_STRING='wxWidgets 2.9.3'
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
720 LIBGNOMEPRINTUI_CFLAGS
828 ICC_PCH_CREATE_SWITCH
832 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
833 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
834 COND_BUILD_DEBUG_UNICODE_0
835 COND_BUILD_DEBUG_UNICODE_1
837 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
838 COND_BUILD_RELEASE_UNICODE_0
839 COND_BUILD_RELEASE_UNICODE_1
841 COND_BUILD_debug_DEBUG_FLAG_default
842 COND_BUILD_debug_DEBUG_INFO_default
843 COND_BUILD_debug_UNICODE_0
844 COND_BUILD_debug_UNICODE_1
846 COND_BUILD_release_DEBUG_INFO_default
847 COND_BUILD_release_UNICODE_0
848 COND_BUILD_release_UNICODE_1
858 COND_MONOLITHIC_0_SHARED_0
859 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
860 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
865 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
866 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
867 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
868 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
869 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
870 COND_MONOLITHIC_0_SHARED_1
871 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
872 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
873 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
877 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
878 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
879 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
880 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
881 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
882 COND_MONOLITHIC_0_USE_AUI_1
883 COND_MONOLITHIC_0_USE_GUI_1
884 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
885 COND_MONOLITHIC_0_USE_HTML_1
886 COND_MONOLITHIC_0_USE_MEDIA_1
887 COND_MONOLITHIC_0_USE_PROPGRID_1
888 COND_MONOLITHIC_0_USE_QA_1
889 COND_MONOLITHIC_0_USE_RIBBON_1
890 COND_MONOLITHIC_0_USE_RICHTEXT_1
891 COND_MONOLITHIC_0_USE_STC_1
892 COND_MONOLITHIC_0_USE_WEBVIEW_1
893 COND_MONOLITHIC_0_USE_XRC_1
895 COND_MONOLITHIC_1_SHARED_0
896 COND_MONOLITHIC_1_SHARED_1
897 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
898 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
899 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
900 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
901 COND_PLATFORM_MACOSX_1
902 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
903 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
904 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
905 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
906 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
907 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
908 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
909 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
910 COND_PLATFORM_MACOSX_1_USE_GUI_1
911 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
912 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
913 COND_PLATFORM_MACOS_1
916 COND_PLATFORM_MSDOS_0
917 COND_PLATFORM_MSDOS_1
921 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
922 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
923 COND_PLATFORM_UNIX_1_USE_GUI_1
924 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
925 COND_PLATFORM_WIN32_0
926 COND_PLATFORM_WIN32_1
927 COND_PLATFORM_WIN32_1_SHARED_0
929 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
930 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
931 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
932 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
933 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
934 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
935 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
936 COND_SHARED_0_USE_STC_1
937 COND_SHARED_0_wxUSE_EXPAT_builtin
938 COND_SHARED_0_wxUSE_REGEX_builtin
939 COND_SHARED_0_wxUSE_ZLIB_builtin
941 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
944 COND_TOOLKIT_COCOA_USE_GUI_1
945 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_DFB_USE_GUI_1
949 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
950 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
951 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
952 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
954 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
955 COND_TOOLKIT_GTK_USE_GUI_1
958 COND_TOOLKIT_MGL_USE_GUI_1
960 COND_TOOLKIT_MOTIF_USE_GUI_1
961 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
963 COND_TOOLKIT_MSW_USE_GUI_1
964 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
965 COND_TOOLKIT_MSW_WXUNIV_0
966 COND_TOOLKIT_OSX_CARBON
967 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
968 COND_TOOLKIT_OSX_COCOA
969 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
970 COND_TOOLKIT_OSX_IPHONE
971 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
972 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
974 COND_TOOLKIT_PM_USE_GUI_1
975 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
977 COND_TOOLKIT_WINCE_USE_GUI_1
978 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
979 COND_TOOLKIT_WINCE_WXUNIV_0
981 COND_TOOLKIT_X11_USE_GUI_1
984 COND_USE_EXCEPTIONS_0
985 COND_USE_EXCEPTIONS_1
988 COND_USE_GUI_1_USE_OPENGL_1
989 COND_USE_GUI_1_WXUNIV_0
990 COND_USE_GUI_1_WXUNIV_1
991 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
992 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
993 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
994 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
995 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
996 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
1002 COND_USE_SOTWOSYMLINKS_1
1003 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
1004 COND_USE_SOVERLINUX_1
1005 COND_USE_SOVERSION_0
1006 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
1007 COND_USE_SOVERSOLARIS_1
1012 COND_WINDOWS_IMPLIB_1
1013 COND_WITH_PLUGIN_SDL_1
1016 COND_WXUSE_EXPAT_BUILTIN
1017 COND_WXUSE_LIBJPEG_BUILTIN
1018 COND_WXUSE_LIBPNG_BUILTIN
1019 COND_WXUSE_LIBTIFF_BUILTIN
1020 COND_WXUSE_REGEX_BUILTIN
1021 COND_WXUSE_ZLIB_BUILTIN
1022 COND_wxUSE_EXPAT_builtin
1023 COND_wxUSE_LIBJPEG_builtin
1024 COND_wxUSE_LIBPNG_builtin
1025 COND_wxUSE_LIBTIFF_builtin
1026 COND_wxUSE_REGEX_builtin
1027 COND_wxUSE_ZLIB_builtin
1030 WX_LIBRARY_BASENAME_NOGUI
1031 WX_LIBRARY_BASENAME_GUI
1051 WXCONFIG_LDFLAGS_GUI
1063 WX_RESOURCES_MACOSX_ASCII
1064 WX_RESOURCES_MACOSX_DATA
1074 ac_precious_vars='build_alias
1111 LIBGNOMEPRINTUI_CFLAGS
1112 LIBGNOMEPRINTUI_LIBS
1123 ac_subdirs_all='src/tiff
1126 # Initialize some variables set by options.
1128 ac_init_version=false
1129 # The variables have the same names as the options, with
1130 # dashes changed to underlines.
1131 cache_file=/dev/null
1138 program_transform_name=s,x,x,
1146 # Installation directory options.
1147 # These are left unexpanded so users can "make install exec_prefix=/foo"
1148 # and all the variables that are supposed to be based on exec_prefix
1149 # by default will actually change.
1150 # Use braces instead of parens because sh, perl, etc. also accept them.
1151 # (The list follows the same order as the GNU Coding Standards.)
1152 bindir='${exec_prefix}/bin'
1153 sbindir='${exec_prefix}/sbin'
1154 libexecdir='${exec_prefix}/libexec'
1155 datarootdir='${prefix}/share'
1156 datadir='${datarootdir}'
1157 sysconfdir='${prefix}/etc'
1158 sharedstatedir='${prefix}/com'
1159 localstatedir='${prefix}/var'
1160 includedir='${prefix}/include'
1161 oldincludedir='/usr/include'
1162 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1163 infodir='${datarootdir}/info'
1168 libdir='${exec_prefix}/lib'
1169 localedir='${datarootdir}/locale'
1170 mandir='${datarootdir}/man'
1176 # If the previous option needs an argument, assign it.
1177 if test -n "$ac_prev"; then
1178 eval $ac_prev=\$ac_option
1184 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1188 # Accept the important Cygnus configure options, so we can diagnose typos.
1190 case $ac_dashdash$ac_option in
1194 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1196 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1197 bindir=$ac_optarg ;;
1199 -build | --build | --buil | --bui | --bu)
1200 ac_prev=build_alias ;;
1201 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1202 build_alias=$ac_optarg ;;
1204 -cache-file | --cache-file | --cache-fil | --cache-fi \
1205 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1206 ac_prev=cache_file ;;
1207 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1208 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1209 cache_file=$ac_optarg ;;
1211 --config-cache | -C)
1212 cache_file=config.cache ;;
1214 -datadir | --datadir | --datadi | --datad)
1216 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1217 datadir=$ac_optarg ;;
1219 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1220 | --dataroo | --dataro | --datar)
1221 ac_prev=datarootdir ;;
1222 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1223 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1224 datarootdir=$ac_optarg ;;
1226 -disable-* | --disable-*)
1227 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1230 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1231 { (exit 1); exit 1; }; }
1232 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1233 eval enable_$ac_feature=no ;;
1235 -docdir | --docdir | --docdi | --doc | --do)
1237 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1238 docdir=$ac_optarg ;;
1240 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1242 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1243 dvidir=$ac_optarg ;;
1245 -enable-* | --enable-*)
1246 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1250 { (exit 1); exit 1; }; }
1251 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1252 eval enable_$ac_feature=\$ac_optarg ;;
1254 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1255 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1256 | --exec | --exe | --ex)
1257 ac_prev=exec_prefix ;;
1258 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1259 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1260 | --exec=* | --exe=* | --ex=*)
1261 exec_prefix=$ac_optarg ;;
1263 -gas | --gas | --ga | --g)
1264 # Obsolete; use --with-gas.
1267 -help | --help | --hel | --he | -h)
1268 ac_init_help=long ;;
1269 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1270 ac_init_help=recursive ;;
1271 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1272 ac_init_help=short ;;
1274 -host | --host | --hos | --ho)
1275 ac_prev=host_alias ;;
1276 -host=* | --host=* | --hos=* | --ho=*)
1277 host_alias=$ac_optarg ;;
1279 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1281 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1283 htmldir=$ac_optarg ;;
1285 -includedir | --includedir | --includedi | --included | --include \
1286 | --includ | --inclu | --incl | --inc)
1287 ac_prev=includedir ;;
1288 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1289 | --includ=* | --inclu=* | --incl=* | --inc=*)
1290 includedir=$ac_optarg ;;
1292 -infodir | --infodir | --infodi | --infod | --info | --inf)
1294 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1295 infodir=$ac_optarg ;;
1297 -libdir | --libdir | --libdi | --libd)
1299 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1300 libdir=$ac_optarg ;;
1302 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1303 | --libexe | --libex | --libe)
1304 ac_prev=libexecdir ;;
1305 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1306 | --libexe=* | --libex=* | --libe=*)
1307 libexecdir=$ac_optarg ;;
1309 -localedir | --localedir | --localedi | --localed | --locale)
1310 ac_prev=localedir ;;
1311 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1312 localedir=$ac_optarg ;;
1314 -localstatedir | --localstatedir | --localstatedi | --localstated \
1315 | --localstate | --localstat | --localsta | --localst | --locals)
1316 ac_prev=localstatedir ;;
1317 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1318 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1319 localstatedir=$ac_optarg ;;
1321 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1323 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1324 mandir=$ac_optarg ;;
1326 -nfp | --nfp | --nf)
1327 # Obsolete; use --without-fp.
1330 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1331 | --no-cr | --no-c | -n)
1334 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1335 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1338 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1339 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1340 | --oldin | --oldi | --old | --ol | --o)
1341 ac_prev=oldincludedir ;;
1342 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1343 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1344 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1345 oldincludedir=$ac_optarg ;;
1347 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1349 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1350 prefix=$ac_optarg ;;
1352 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1353 | --program-pre | --program-pr | --program-p)
1354 ac_prev=program_prefix ;;
1355 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1356 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1357 program_prefix=$ac_optarg ;;
1359 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1360 | --program-suf | --program-su | --program-s)
1361 ac_prev=program_suffix ;;
1362 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1363 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1364 program_suffix=$ac_optarg ;;
1366 -program-transform-name | --program-transform-name \
1367 | --program-transform-nam | --program-transform-na \
1368 | --program-transform-n | --program-transform- \
1369 | --program-transform | --program-transfor \
1370 | --program-transfo | --program-transf \
1371 | --program-trans | --program-tran \
1372 | --progr-tra | --program-tr | --program-t)
1373 ac_prev=program_transform_name ;;
1374 -program-transform-name=* | --program-transform-name=* \
1375 | --program-transform-nam=* | --program-transform-na=* \
1376 | --program-transform-n=* | --program-transform-=* \
1377 | --program-transform=* | --program-transfor=* \
1378 | --program-transfo=* | --program-transf=* \
1379 | --program-trans=* | --program-tran=* \
1380 | --progr-tra=* | --program-tr=* | --program-t=*)
1381 program_transform_name=$ac_optarg ;;
1383 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1385 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1386 pdfdir=$ac_optarg ;;
1388 -psdir | --psdir | --psdi | --psd | --ps)
1390 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1394 | -silent | --silent | --silen | --sile | --sil)
1397 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1399 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1401 sbindir=$ac_optarg ;;
1403 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1404 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1405 | --sharedst | --shareds | --shared | --share | --shar \
1407 ac_prev=sharedstatedir ;;
1408 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1409 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1410 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1412 sharedstatedir=$ac_optarg ;;
1414 -site | --site | --sit)
1416 -site=* | --site=* | --sit=*)
1419 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1421 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1422 srcdir=$ac_optarg ;;
1424 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1425 | --syscon | --sysco | --sysc | --sys | --sy)
1426 ac_prev=sysconfdir ;;
1427 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1428 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1429 sysconfdir=$ac_optarg ;;
1431 -target | --target | --targe | --targ | --tar | --ta | --t)
1432 ac_prev=target_alias ;;
1433 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1434 target_alias=$ac_optarg ;;
1436 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1439 -version | --version | --versio | --versi | --vers | -V)
1440 ac_init_version=: ;;
1443 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1444 # Reject names that are not valid shell variable names.
1445 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1446 { echo "$as_me: error: invalid package name: $ac_package" >&2
1447 { (exit 1); exit 1; }; }
1448 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1449 eval with_$ac_package=\$ac_optarg ;;
1451 -without-* | --without-*)
1452 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1453 # Reject names that are not valid shell variable names.
1454 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1455 { echo "$as_me: error: invalid package name: $ac_package" >&2
1456 { (exit 1); exit 1; }; }
1457 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1458 eval with_$ac_package=no ;;
1461 # Obsolete; use --with-x.
1464 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1465 | --x-incl | --x-inc | --x-in | --x-i)
1466 ac_prev=x_includes ;;
1467 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1468 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1469 x_includes=$ac_optarg ;;
1471 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1472 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1473 ac_prev=x_libraries ;;
1474 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1475 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1476 x_libraries=$ac_optarg ;;
1478 -*) { echo "$as_me: error: unrecognized option: $ac_option
1479 Try \`$0 --help' for more information." >&2
1480 { (exit 1); exit 1; }; }
1484 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1485 # Reject names that are not valid shell variable names.
1486 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1487 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1488 { (exit 1); exit 1; }; }
1489 eval $ac_envvar=\$ac_optarg
1490 export $ac_envvar ;;
1493 # FIXME: should be removed in autoconf 3.0.
1494 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1495 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1496 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1497 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1503 if test -n "$ac_prev"; then
1504 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1505 { echo "$as_me: error: missing argument to $ac_option" >&2
1506 { (exit 1); exit 1; }; }
1509 # Be sure to have absolute directory names.
1510 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1511 datadir sysconfdir sharedstatedir localstatedir includedir \
1512 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1513 libdir localedir mandir
1515 eval ac_val=\$$ac_var
1517 [\\/$]* | ?:[\\/]* ) continue;;
1518 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1520 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1521 { (exit 1); exit 1; }; }
1524 # There might be people who depend on the old broken behavior: `$host'
1525 # used to hold the argument of --host etc.
1526 # FIXME: To remove some day.
1529 target=$target_alias
1531 # FIXME: To remove some day.
1532 if test "x$host_alias" != x; then
1533 if test "x$build_alias" = x; then
1534 cross_compiling=maybe
1535 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1536 If a cross compiler is detected then cross compile mode will be used." >&2
1537 elif test "x$build_alias" != "x$host_alias"; then
1543 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1545 test "$silent" = yes && exec 6>/dev/null
1548 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1549 ac_ls_di=`ls -di .` &&
1550 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1551 { echo "$as_me: error: Working directory cannot be determined" >&2
1552 { (exit 1); exit 1; }; }
1553 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1554 { echo "$as_me: error: pwd does not report name of working directory" >&2
1555 { (exit 1); exit 1; }; }
1558 # Find the source files, if location was not specified.
1559 if test -z "$srcdir"; then
1560 ac_srcdir_defaulted=yes
1561 # Try the directory containing this script, then the parent directory.
1562 ac_confdir=`$as_dirname -- "$0" ||
1563 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1564 X"$0" : 'X\(//\)[^/]' \| \
1565 X"$0" : 'X\(//\)$' \| \
1566 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1586 if test ! -r "$srcdir/$ac_unique_file"; then
1590 ac_srcdir_defaulted=no
1592 if test ! -r "$srcdir/$ac_unique_file"; then
1593 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1594 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1595 { (exit 1); exit 1; }; }
1597 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1599 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1600 { (exit 1); exit 1; }; }
1602 # When building in place, set srcdir=.
1603 if test "$ac_abs_confdir" = "$ac_pwd"; then
1606 # Remove unnecessary trailing slashes from srcdir.
1607 # Double slashes in file names in object file debugging info
1608 # mess up M-x gdb in Emacs.
1610 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1612 for ac_var in $ac_precious_vars; do
1613 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1614 eval ac_env_${ac_var}_value=\$${ac_var}
1615 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1616 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1620 # Report the --help message.
1622 if test "$ac_init_help" = "long"; then
1623 # Omit some internal or obsolete options to make the list less imposing.
1624 # This message is too long to be a string in the A/UX 3.1 sh.
1626 \`configure' configures wxWidgets 2.9.3 to adapt to many kinds of systems.
1628 Usage: $0 [OPTION]... [VAR=VALUE]...
1630 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1631 VAR=VALUE. See below for descriptions of some of the useful variables.
1633 Defaults for the options are specified in brackets.
1636 -h, --help display this help and exit
1637 --help=short display options specific to this package
1638 --help=recursive display the short help of all the included packages
1639 -V, --version display version information and exit
1640 -q, --quiet, --silent do not print \`checking...' messages
1641 --cache-file=FILE cache test results in FILE [disabled]
1642 -C, --config-cache alias for \`--cache-file=config.cache'
1643 -n, --no-create do not create output files
1644 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1646 Installation directories:
1647 --prefix=PREFIX install architecture-independent files in PREFIX
1648 [$ac_default_prefix]
1649 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1652 By default, \`make install' will install all the files in
1653 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1654 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1655 for instance \`--prefix=\$HOME'.
1657 For better control, use the options below.
1659 Fine tuning of the installation directories:
1660 --bindir=DIR user executables [EPREFIX/bin]
1661 --sbindir=DIR system admin executables [EPREFIX/sbin]
1662 --libexecdir=DIR program executables [EPREFIX/libexec]
1663 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1664 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1665 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1666 --libdir=DIR object code libraries [EPREFIX/lib]
1667 --includedir=DIR C header files [PREFIX/include]
1668 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1669 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1670 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1671 --infodir=DIR info documentation [DATAROOTDIR/info]
1672 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1673 --mandir=DIR man documentation [DATAROOTDIR/man]
1674 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1675 --htmldir=DIR html documentation [DOCDIR]
1676 --dvidir=DIR dvi documentation [DOCDIR]
1677 --pdfdir=DIR pdf documentation [DOCDIR]
1678 --psdir=DIR ps documentation [DOCDIR]
1684 --x-includes=DIR X include files are in DIR
1685 --x-libraries=DIR X library files are in DIR
1688 --build=BUILD configure for building on BUILD [guessed]
1689 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1693 if test -n "$ac_init_help"; then
1694 case $ac_init_help in
1695 short | recursive ) echo "Configuration of wxWidgets 2.9.3:";;
1700 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1701 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1702 --disable-gui don't build GUI parts of the library
1703 --enable-monolithic build wxWidgets as single library
1704 --enable-plugins build parts of wxWidgets as loadable components
1705 --enable-official_build official build of wxWidgets (win32 DLL only)
1706 --enable-vendor=VENDOR vendor name (win32 DLL only)
1707 --disable-all-features disable all optional features to build minimal library
1708 --enable-universal use wxWidgets GUI controls instead of native ones
1709 --enable-nanox use NanoX
1710 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1711 --enable-gpe use GNOME PDA Environment features if possible
1712 --enable-debug build library for debugging
1713 --disable-debug_flag disable all debugging support
1714 --enable-debug_info generate debug information
1715 --enable-debug_gdb create code with extra GDB debugging information
1716 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1717 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1718 --disable-shared create static library instead of shared
1719 --enable-stl use standard C++ classes for everything
1720 --enable-std_containers use standard C++ container classes
1721 --enable-std_iostreams use standard C++ stream classes
1722 --enable-std_string use standard C++ string classes
1723 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1724 --disable-unicode compile without Unicode support
1725 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1726 --enable-utf8 use UTF-8 representation for strings (Unix only)
1727 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1728 --enable-extended_rtti use extended RTTI (XTI)
1729 --enable-omf use OMF object format
1730 --disable-optimise compile without optimisations
1731 --enable-profile create code with profiling information
1732 --enable-no_rtti create code without RTTI information
1733 --enable-no_exceptions create code without C++ exceptions handling
1734 --enable-permissive compile code disregarding strict ANSI
1735 --enable-no_deps create code without dependency information
1736 --disable-vararg_macros don't use vararg macros, even if they are supported
1737 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1738 --enable-macosx_arch=ARCH build for just the specified architecture
1739 --enable-compat26 enable wxWidgets 2.6 compatibility
1740 --disable-compat28 disable wxWidgets 2.8 compatibility
1741 --disable-rpath disable use of rpath for uninstalled builds
1742 --enable-objc_uniquifying enable Objective-C class name uniquifying
1743 --disable-visibility disable use of ELF symbols visibility even if supported
1744 --disable-tls disable use of compiler TLS support
1745 --enable-intl use internationalization system
1746 --enable-xlocale use x-locale support (requires wxLocale)
1747 --enable-config use wxConfig (and derived) classes
1748 --enable-protocols use wxProtocol and derived classes
1749 --enable-ftp use wxFTP (requires wxProtocol
1750 --enable-http use wxHTTP (requires wxProtocol
1751 --enable-fileproto use wxFileProto class (requires wxProtocol
1752 --enable-sockets use socket/network classes
1753 --enable-ipv6 enable IPv6 support in wxSocket
1754 --enable-ole use OLE classes (Win32 only)
1755 --enable-dataobj use data object classes
1756 --enable-ipc use interprocess communication (wxSocket etc.)
1757 --enable-baseevtloop use event loop in console programs too
1758 --enable-epollloop use wxEpollDispatcher class (Linux only)
1759 --enable-selectloop use wxSelectDispatcher class
1760 --enable-any use wxAny class
1761 --enable-apple_ieee use the Apple IEEE codec
1762 --enable-arcstream use wxArchive streams
1763 --enable-base64 use base64 encoding/decoding functions
1764 --enable-backtrace use wxStackWalker class for getting backtraces
1765 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1766 --enable-cmdline use wxCmdLineParser class
1767 --enable-datetime use wxDateTime class
1768 --enable-debugreport use wxDebugReport class
1769 --enable-dialupman use dialup network classes
1770 --enable-dynlib use wxLibrary class for DLL loading
1771 --enable-dynamicloader use (new) wxDynamicLibrary class
1772 --enable-exceptions build exception-safe library
1773 --enable-ffile use wxFFile class
1774 --enable-file use wxFile class
1775 --enable-filehistory use wxFileHistory class
1776 --enable-filesystem use virtual file systems classes
1777 --enable-fontenum use wxFontEnumerator class
1778 --enable-fontmap use font encodings conversion classes
1779 --enable-fs_archive use virtual archive filesystems
1780 --enable-fs_inet use virtual HTTP/FTP filesystems
1781 --enable-fs_zip now replaced by fs_archive
1782 --enable-fswatcher use wxFileSystemWatcher class
1783 --enable-geometry use geometry class
1784 --enable-log use logging system
1785 --enable-longlong use wxLongLong class
1786 --enable-mimetype use wxMimeTypesManager
1787 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1788 --enable-snglinst use wxSingleInstanceChecker class
1789 --enable-sound use wxSound class
1790 --enable-stdpaths use wxStandardPaths class
1791 --enable-stopwatch use wxStopWatch class
1792 --enable-streams use wxStream etc classes
1793 --enable-sysoptions use wxSystemOptions
1794 --enable-tarstream use wxTar streams
1795 --enable-textbuf use wxTextBuffer class
1796 --enable-textfile use wxTextFile class
1797 --enable-timer use wxTimer class
1798 --enable-variant use wxVariant class
1799 --enable-zipstream use wxZip streams
1800 --enable-url use wxURL class
1801 --enable-protocol use wxProtocol class
1802 --enable-protocol-http HTTP support in wxProtocol
1803 --enable-protocol-ftp FTP support in wxProtocol
1804 --enable-protocol-file FILE support in wxProtocol
1805 --enable-threads use threads
1806 --enable-iniconf use wxIniConfig (Win32 only)
1807 --enable-regkey use wxRegKey class (Win32 only)
1808 --enable-docview use document view architecture
1809 --enable-help use help subsystem
1810 --enable-mshtmlhelp use MS HTML Help (win32)
1811 --enable-html use wxHTML sub-library
1812 --enable-htmlhelp use wxHTML-based help
1813 --enable-xrc use XRC resources sub-library
1814 --enable-aui use AUI docking library
1815 --enable-propgrid use wxPropertyGrid library
1816 --enable-ribbon use wxRibbon library
1817 --enable-stc use wxStyledTextCtrl library
1818 --enable-constraints use layout-constraints system
1819 --enable-loggui use standard GUI logger
1820 --enable-logwin use wxLogWindow
1821 --enable-logdialog use wxLogDialog
1822 --enable-mdi use multiple document interface architecture
1823 --enable-mdidoc use docview architecture with MDI
1824 --enable-mediactrl use wxMediaCtrl class
1825 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1826 --enable-richtext use wxRichTextCtrl
1827 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1828 --enable-printarch use printing architecture
1829 --enable-svg use wxSVGFileDC device context
1830 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
1831 --enable-webview use wxWebView library
1832 --enable-graphics_ctx use graphics context 2D drawing API
1833 --enable-clipboard use wxClipboard class
1834 --enable-dnd use Drag'n'Drop classes
1835 --disable-controls disable compilation of all standard controls
1836 --enable-markup support wxControl::SetLabelMarkup
1837 --enable-accel use accelerators
1838 --enable-animatectrl use wxAnimationCtrl class
1839 --enable-bannerwindow use wxBannerWindow class
1840 --enable-artstd use standard XPM icons in wxArtProvider
1841 --enable-arttango use Tango icons in wxArtProvider
1842 --enable-bmpbutton use wxBitmapButton class
1843 --enable-bmpcombobox use wxBitmapComboBox class
1844 --enable-button use wxButton class
1845 --enable-calendar use wxCalendarCtrl class
1846 --enable-caret use wxCaret class
1847 --enable-checkbox use wxCheckBox class
1848 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1849 --enable-choice use wxChoice class
1850 --enable-choicebook use wxChoicebook class
1851 --enable-collpane use wxCollapsiblePane class
1852 --enable-colourpicker use wxColourPickerCtrl class
1853 --enable-combobox use wxComboBox class
1854 --enable-comboctrl use wxComboCtrl class
1855 --enable-commandlinkbutton use wxCommmandLinkButton class
1856 --enable-dataviewctrl use wxDataViewCtrl class
1857 --enable-datepick use wxDatePickerCtrl class
1858 --enable-detect_sm use code to detect X11 session manager
1859 --enable-dirpicker use wxDirPickerCtrl class
1860 --enable-display use wxDisplay class
1861 --enable-editablebox use wxEditableListBox class
1862 --enable-filectrl use wxFileCtrl class
1863 --enable-filepicker use wxFilePickerCtrl class
1864 --enable-fontpicker use wxFontPickerCtrl class
1865 --enable-gauge use wxGauge class
1866 --enable-grid use wxGrid class
1867 --enable-headerctrl use wxHeaderCtrl class
1868 --enable-hyperlink use wxHyperlinkCtrl class
1869 --enable-imaglist use wxImageList class
1870 --enable-infobar use wxInfoBar class
1871 --enable-listbook use wxListbook class
1872 --enable-listbox use wxListBox class
1873 --enable-listctrl use wxListCtrl class
1874 --enable-notebook use wxNotebook class
1875 --enable-notifmsg use wxNotificationMessage class
1876 --enable-odcombobox use wxOwnerDrawnComboBox class
1877 --enable-popupwin use wxPopUpWindow class
1878 --enable-radiobox use wxRadioBox class
1879 --enable-radiobtn use wxRadioButton class
1880 --enable-richmsgdlg use wxRichMessageDialog class
1881 --enable-richtooltip use wxRichToolTip class
1882 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1883 --enable-sash use wxSashWindow class
1884 --enable-scrollbar use wxScrollBar class and scrollable windows
1885 --enable-searchctrl use wxSearchCtrl class
1886 --enable-slider use wxSlider class
1887 --enable-spinbtn use wxSpinButton class
1888 --enable-spinctrl use wxSpinCtrl class
1889 --enable-splitter use wxSplitterWindow class
1890 --enable-statbmp use wxStaticBitmap class
1891 --enable-statbox use wxStaticBox class
1892 --enable-statline use wxStaticLine class
1893 --enable-stattext use wxStaticText class
1894 --enable-statusbar use wxStatusBar class
1895 --enable-taskbaricon use wxTaskBarIcon class
1896 --enable-tbarnative use native wxToolBar class
1897 --enable-textctrl use wxTextCtrl class
1898 --enable-timepick use wxTimePickerCtrl class
1899 --enable-tipwindow use wxTipWindow class
1900 --enable-togglebtn use wxToggleButton class
1901 --enable-toolbar use wxToolBar class
1902 --enable-toolbook use wxToolbook class
1903 --enable-treebook use wxTreebook class
1904 --enable-treectrl use wxTreeCtrl class
1905 --enable-treelist use wxTreeListCtrl class
1906 --enable-commondlg use all common dialogs
1907 --enable-aboutdlg use wxAboutBox
1908 --enable-choicedlg use wxChoiceDialog
1909 --enable-coldlg use wxColourDialog
1910 --enable-filedlg use wxFileDialog
1911 --enable-finddlg use wxFindReplaceDialog
1912 --enable-fontdlg use wxFontDialog
1913 --enable-dirdlg use wxDirDialog
1914 --enable-msgdlg use wxMessageDialog
1915 --enable-numberdlg use wxNumberEntryDialog
1916 --enable-splash use wxSplashScreen
1917 --enable-textdlg use wxTextDialog
1918 --enable-tipdlg use startup tips
1919 --enable-progressdlg use wxProgressDialog
1920 --enable-wizarddlg use wxWizard
1921 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1922 --enable-miniframe use wxMiniFrame class
1923 --enable-tooltips use wxToolTip class
1924 --enable-splines use spline drawing code
1925 --enable-mousewheel use mousewheel
1926 --enable-validators use wxValidator and derived classes
1927 --enable-busyinfo use wxBusyInfo
1928 --enable-hotkey use wxWindow::RegisterHotKey()
1929 --enable-joystick use wxJoystick
1930 --enable-metafiles use wxMetaFile
1931 --enable-dragimage use wxDragImage
1932 --enable-accessibility enable accessibility support
1933 --enable-uiactionsim use wxUIActionSimulator (experimental)
1934 --enable-dctransform use wxDC::SetTransformMatrix and related
1935 --enable-webview-webkit use wxWebView WebKit backend
1936 --enable-palette use wxPalette class
1937 --enable-image use wxImage class
1938 --enable-gif use gif images (GIF file format)
1939 --enable-pcx use pcx images (PCX file format)
1940 --enable-tga use tga images (TGA file format)
1941 --enable-iff use iff images (IFF file format)
1942 --enable-pnm use pnm images (PNM file format)
1943 --enable-xpm use xpm images (XPM file format)
1944 --enable-ico_cur use Windows ICO and CUR formats
1945 --enable-dccache cache temporary wxDC objects (Win32 only)
1946 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1947 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1948 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1949 --enable-wxdib use wxDIB class (Win32 only)
1950 --enable-webview-ie use wxWebView IE backend (Win32 only)
1951 --enable-autoidman use automatic ids management
1952 --disable-largefile omit support for large files
1953 --disable-gtktest do not try to compile and run a test GTK+ program
1954 --disable-gtktest Do not try to compile and run a test GTK program
1955 --disable-sdltest Do not try to compile and run a test SDL program
1956 --enable-omf use OMF object format (OS/2)
1957 --disable-dependency-tracking
1958 don't use dependency tracking even if the compiler
1960 --disable-precomp-headers
1961 don't use precompiled headers even if compiler can
1964 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1965 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1966 --without-subdirs don't generate makefiles for samples/demos/...
1967 --with-flavour=NAME specify a name to identify this build
1968 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1969 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1970 --with-motif use Motif/Lesstif
1971 --with-osx_carbon use Mac OS X (Carbon)
1972 --with-osx_cocoa use Mac OS X (Cocoa)
1973 --with-osx_iphone use iPhone OS X port
1974 --with-osx use Mac OS X (default port, currently Carbon)
1975 --with-carbon same as --with-osx_carbon
1976 --with-cocoa same as --with-osx_cocoa
1977 --with-iphone same as --with-osx_iphone
1978 --with-mac same as --with-osx
1979 --with-old_cocoa use old, deprecated, Cocoa port
1980 --with-wine use Wine
1981 --with-msw use MS-Windows
1982 --with-pm use OS/2 Presentation Manager
1983 --with-mgl use SciTech MGL
1984 --with-directfb use DirectFB
1985 --with-microwin use MicroWindows
1987 --with-libpng use libpng (PNG image format)
1988 --with-libjpeg use libjpeg (JPEG file format)
1989 --with-libtiff use libtiff (TIFF file format)
1990 --with-libxpm use libxpm (XPM file format)
1991 --with-libiconv use libiconv (character conversion)
1992 --with-libmspack use libmspack (CHM help files loading)
1993 --without-gtkprint don't use GTK printing support
1994 --without-gnomeprint don't use GNOME printing libraries
1995 --with-gnomevfs use GNOME VFS for associating MIME types
1996 --with-hildon use Hildon framework for Nokia 770/800/810
1997 --with-opengl use OpenGL (or Mesa)
1998 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1999 --with-sdl use SDL for audio on Unix
2000 --with-regex enable support for wxRegEx class
2001 --with-zlib use zlib for LZW compression
2002 --with-expat enable XML support using expat parser
2003 --with-macosx-sdk=PATH use an OS X SDK at PATH
2004 --with-macosx-version-min=VER build binaries which require at least this OS X version
2005 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2006 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2007 --with-x use the X Window System
2008 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2009 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2010 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2011 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2012 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2014 Some influential environment variables:
2015 CC C compiler command
2016 CFLAGS C compiler flags
2017 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2018 nonstandard directory <lib dir>
2019 LIBS libraries to pass to the linker, e.g. -l<library>
2020 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2021 you have headers in a nonstandard directory <include dir>
2023 CXX C++ compiler command
2024 CXXFLAGS C++ compiler flags
2025 CXXCPP C++ preprocessor
2026 PKG_CONFIG path to pkg-config utility
2028 C compiler flags for DIRECTFB, overriding pkg-config
2030 linker flags for DIRECTFB, overriding pkg-config
2031 XMKMF Path to xmkmf, Makefile generator for X Window System
2033 C compiler flags for PANGOX, overriding pkg-config
2034 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2036 C compiler flags for PANGOFT2, overriding pkg-config
2038 linker flags for PANGOFT2, overriding pkg-config
2040 C compiler flags for PANGOXFT, overriding pkg-config
2042 linker flags for PANGOXFT, overriding pkg-config
2044 C compiler flags for Xinerama, overriding pkg-config
2046 linker flags for Xinerama, overriding pkg-config
2048 C compiler flags for Xxf86vm, overriding pkg-config
2050 linker flags for Xxf86vm, overriding pkg-config
2051 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2052 SM_LIBS linker flags for SM, overriding pkg-config
2053 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2054 GL_LIBS linker flags for GL, overriding pkg-config
2055 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2056 GLU_LIBS linker flags for GLU, overriding pkg-config
2058 C compiler flags for MesaGL, overriding pkg-config
2059 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2061 C compiler flags for GTKPRINT, overriding pkg-config
2063 linker flags for GTKPRINT, overriding pkg-config
2064 LIBGNOMEPRINTUI_CFLAGS
2065 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2066 LIBGNOMEPRINTUI_LIBS
2067 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2069 C compiler flags for GNOMEVFS, overriding pkg-config
2071 linker flags for GNOMEVFS, overriding pkg-config
2073 C compiler flags for HILDON, overriding pkg-config
2074 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2076 C compiler flags for HILDON2, overriding pkg-config
2078 linker flags for HILDON2, overriding pkg-config
2080 C compiler flags for CAIRO, overriding pkg-config
2081 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2082 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2083 GST_LIBS linker flags for GST, overriding pkg-config
2085 Use these variables to override the choices made by `configure' or to help
2086 it to find libraries and programs with nonstandard names/locations.
2088 Report bugs to <wx-dev@lists.wxwidgets.org>.
2093 if test "$ac_init_help" = "recursive"; then
2094 # If there are subdirs, report their specific --help.
2095 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2096 test -d "$ac_dir" || continue
2100 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2102 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2103 # A ".." for each directory in $ac_dir_suffix.
2104 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2105 case $ac_top_builddir_sub in
2106 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2107 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2110 ac_abs_top_builddir=$ac_pwd
2111 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2112 # for backward compatibility:
2113 ac_top_builddir=$ac_top_build_prefix
2116 .) # We are building in place.
2118 ac_top_srcdir=$ac_top_builddir_sub
2119 ac_abs_top_srcdir=$ac_pwd ;;
2120 [\\/]* | ?:[\\/]* ) # Absolute name.
2121 ac_srcdir=$srcdir$ac_dir_suffix;
2122 ac_top_srcdir=$srcdir
2123 ac_abs_top_srcdir=$srcdir ;;
2125 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2126 ac_top_srcdir=$ac_top_build_prefix$srcdir
2127 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2129 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2131 cd "$ac_dir" || { ac_status=$?; continue; }
2132 # Check for guested configure.
2133 if test -f "$ac_srcdir/configure.gnu"; then
2135 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2136 elif test -f "$ac_srcdir/configure"; then
2138 $SHELL "$ac_srcdir/configure" --help=recursive
2140 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2142 cd "$ac_pwd" || { ac_status=$?; break; }
2146 test -n "$ac_init_help" && exit $ac_status
2147 if $ac_init_version; then
2149 wxWidgets configure 2.9.3
2150 generated by GNU Autoconf 2.61
2152 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2153 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2154 This configure script is free software; the Free Software Foundation
2155 gives unlimited permission to copy, distribute and modify it.
2159 cat >config.log <<_ACEOF
2160 This file contains any messages produced by compilers while
2161 running configure, to aid debugging if configure makes a mistake.
2163 It was created by wxWidgets $as_me 2.9.3, which was
2164 generated by GNU Autoconf 2.61. Invocation command line was
2176 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2177 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2178 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2179 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2180 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2182 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2183 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2185 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2186 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2187 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2188 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2189 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2190 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2191 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2199 test -z "$as_dir" && as_dir=.
2200 echo "PATH: $as_dir"
2216 # Keep a trace of the command line.
2217 # Strip out --no-create and --no-recursion so they do not pile up.
2218 # Strip out --silent because we don't want to record it for future runs.
2219 # Also quote any args containing shell meta-characters.
2220 # Make two passes to allow for proper duplicate-argument suppression.
2224 ac_must_keep_next=false
2230 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2232 | -silent | --silent | --silen | --sile | --sil)
2235 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2238 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2240 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2241 if test $ac_must_keep_next = true; then
2242 ac_must_keep_next=false # Got value, back to normal.
2245 *=* | --config-cache | -C | -disable-* | --disable-* \
2246 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2247 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2248 | -with-* | --with-* | -without-* | --without-* | --x)
2249 case "$ac_configure_args0 " in
2250 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2253 -* ) ac_must_keep_next=true ;;
2256 ac_configure_args="$ac_configure_args '$ac_arg'"
2261 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2262 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2264 # When interrupted or exit'd, cleanup temporary files, and complete
2265 # config.log. We remove comments because anyway the quotes in there
2266 # would cause problems or look ugly.
2267 # WARNING: Use '\'' to represent an apostrophe within the trap.
2268 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2269 trap 'exit_status=$?
2270 # Save into config.log some information that might help in debugging.
2275 ## ---------------- ##
2276 ## Cache variables. ##
2277 ## ---------------- ##
2280 # The following way of writing the cache mishandles newlines in values,
2282 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2283 eval ac_val=\$$ac_var
2287 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2288 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2291 _ | IFS | as_nl) ;; #(
2292 *) $as_unset $ac_var ;;
2297 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2298 *${as_nl}ac_space=\ *)
2300 "s/'\''/'\''\\\\'\'''\''/g;
2301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2304 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2312 ## ----------------- ##
2313 ## Output variables. ##
2314 ## ----------------- ##
2317 for ac_var in $ac_subst_vars
2319 eval ac_val=\$$ac_var
2321 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2323 echo "$ac_var='\''$ac_val'\''"
2327 if test -n "$ac_subst_files"; then
2329 ## ------------------- ##
2330 ## File substitutions. ##
2331 ## ------------------- ##
2334 for ac_var in $ac_subst_files
2336 eval ac_val=\$$ac_var
2338 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2340 echo "$ac_var='\''$ac_val'\''"
2345 if test -s confdefs.h; then
2355 test "$ac_signal" != 0 &&
2356 echo "$as_me: caught signal $ac_signal"
2357 echo "$as_me: exit $exit_status"
2359 rm -f core *.core core.conftest.* &&
2360 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2363 for ac_signal in 1 2 13 15; do
2364 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2368 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2369 rm -f -r conftest* confdefs.h
2371 # Predefined preprocessor variables.
2373 cat >>confdefs.h <<_ACEOF
2374 #define PACKAGE_NAME "$PACKAGE_NAME"
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2383 cat >>confdefs.h <<_ACEOF
2384 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2388 cat >>confdefs.h <<_ACEOF
2389 #define PACKAGE_STRING "$PACKAGE_STRING"
2393 cat >>confdefs.h <<_ACEOF
2394 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2398 # Let the site file select an alternate cache file if it wants to.
2399 # Prefer explicitly selected file to automatically selected ones.
2400 if test -n "$CONFIG_SITE"; then
2401 set x "$CONFIG_SITE"
2402 elif test "x$prefix" != xNONE; then
2403 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2405 set x "$ac_default_prefix/share/config.site" \
2406 "$ac_default_prefix/etc/config.site"
2411 if test -r "$ac_site_file"; then
2412 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2413 echo "$as_me: loading site script $ac_site_file" >&6;}
2414 sed 's/^/| /' "$ac_site_file" >&5
2419 if test -r "$cache_file"; then
2420 # Some versions of bash will fail to source /dev/null (special
2421 # files actually), so we avoid doing that.
2422 if test -f "$cache_file"; then
2423 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2424 echo "$as_me: loading cache $cache_file" >&6;}
2426 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2427 *) . "./$cache_file";;
2431 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2432 echo "$as_me: creating cache $cache_file" >&6;}
2436 # Check that the precious variables saved in the cache have kept the same
2438 ac_cache_corrupted=false
2439 for ac_var in $ac_precious_vars; do
2440 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2441 eval ac_new_set=\$ac_env_${ac_var}_set
2442 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2443 eval ac_new_val=\$ac_env_${ac_var}_value
2444 case $ac_old_set,$ac_new_set in
2446 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2447 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2448 ac_cache_corrupted=: ;;
2450 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2451 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2452 ac_cache_corrupted=: ;;
2455 if test "x$ac_old_val" != "x$ac_new_val"; then
2456 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2457 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2458 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2459 echo "$as_me: former value: $ac_old_val" >&2;}
2460 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2461 echo "$as_me: current value: $ac_new_val" >&2;}
2462 ac_cache_corrupted=:
2465 # Pass precious variables to config.status.
2466 if test "$ac_new_set" = set; then
2468 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2469 *) ac_arg=$ac_var=$ac_new_val ;;
2471 case " $ac_configure_args " in
2472 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2473 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2477 if $ac_cache_corrupted; then
2478 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2479 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2480 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2481 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2482 { (exit 1); exit 1; }; }
2510 ac_cpp='$CPP $CPPFLAGS'
2511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2520 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2521 if test -f "$ac_dir/install-sh"; then
2523 ac_install_sh="$ac_aux_dir/install-sh -c"
2525 elif test -f "$ac_dir/install.sh"; then
2527 ac_install_sh="$ac_aux_dir/install.sh -c"
2529 elif test -f "$ac_dir/shtool"; then
2531 ac_install_sh="$ac_aux_dir/shtool install -c"
2535 if test -z "$ac_aux_dir"; then
2536 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2537 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2538 { (exit 1); exit 1; }; }
2541 # These three variables are undocumented and unsupported,
2542 # and are intended to be withdrawn in a future Autoconf release.
2543 # They can cause serious problems if a builder's source tree is in a directory
2544 # whose full name contains unusual characters.
2545 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2546 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2547 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2550 # Make sure we can run config.sub.
2551 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2552 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2553 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2554 { (exit 1); exit 1; }; }
2556 { echo "$as_me:$LINENO: checking build system type" >&5
2557 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2558 if test "${ac_cv_build+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 ac_build_alias=$build_alias
2562 test "x$ac_build_alias" = x &&
2563 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2564 test "x$ac_build_alias" = x &&
2565 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2566 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2567 { (exit 1); exit 1; }; }
2568 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2569 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2570 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2571 { (exit 1); exit 1; }; }
2574 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2575 echo "${ECHO_T}$ac_cv_build" >&6; }
2576 case $ac_cv_build in
2578 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2579 echo "$as_me: error: invalid value of canonical build" >&2;}
2580 { (exit 1); exit 1; }; };;
2583 ac_save_IFS=$IFS; IFS='-'
2589 # Remember, the first character of IFS is used to create $*,
2590 # except with old shells:
2593 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2596 { echo "$as_me:$LINENO: checking host system type" >&5
2597 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2598 if test "${ac_cv_host+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 if test "x$host_alias" = x; then
2602 ac_cv_host=$ac_cv_build
2604 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2605 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2606 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2607 { (exit 1); exit 1; }; }
2611 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2612 echo "${ECHO_T}$ac_cv_host" >&6; }
2615 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2616 echo "$as_me: error: invalid value of canonical host" >&2;}
2617 { (exit 1); exit 1; }; };;
2620 ac_save_IFS=$IFS; IFS='-'
2626 # Remember, the first character of IFS is used to create $*,
2627 # except with old shells:
2630 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2634 if test "$cross_compiling" != "no"; then
2635 HOST_PREFIX="${host_alias}-"
2636 HOST_SUFFIX="-$host_alias"
2643 wx_major_version_number=2
2644 wx_minor_version_number=9
2646 wx_subrelease_number=0
2648 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2649 WX_VERSION=$WX_RELEASE.$wx_release_number
2650 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2652 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2655 wx_top_builddir="`pwd`"
2668 USE_BSD= USE_DARWIN= USE_FREEBSD=
2674 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2680 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2682 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2684 DEFAULT_wxUSE_OLD_COCOA=0
2686 DEFAULT_wxUSE_OSX_CARBON=0
2687 DEFAULT_wxUSE_OSX_COCOA=0
2688 DEFAULT_wxUSE_OSX_IPHONE=0
2690 DEFAULT_wxUSE_MICROWIN=0
2691 DEFAULT_wxUSE_MOTIF=0
2697 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2698 DEFAULT_DEFAULT_wxUSE_GTK=0
2699 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2700 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2701 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2702 DEFAULT_DEFAULT_wxUSE_MGL=0
2703 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2704 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2705 DEFAULT_DEFAULT_wxUSE_MSW=0
2706 DEFAULT_DEFAULT_wxUSE_PM=0
2707 DEFAULT_DEFAULT_wxUSE_X11=0
2708 DEFAULT_DEFAULT_wxUSE_DFB=0
2712 DYLIB_RPATH_INSTALL=
2713 DYLIB_RPATH_POSTLINK=
2715 DEFAULT_STD_FLAG=yes
2720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2721 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2722 cat >>confdefs.h <<\_ACEOF
2727 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2731 cat >>confdefs.h <<\_ACEOF
2736 if test "x$TMP" = "xalpha"; then
2738 cat >>confdefs.h <<\_ACEOF
2743 DEFAULT_DEFAULT_wxUSE_GTK=1
2745 *-*-gnu* | *-*-k*bsd*-gnu )
2748 if test "x$TMP" = "xalpha"; then
2750 cat >>confdefs.h <<\_ACEOF
2755 DEFAULT_DEFAULT_wxUSE_GTK=1
2757 *-*-irix5* | *-*-irix6* )
2760 cat >>confdefs.h <<\_ACEOF
2764 cat >>confdefs.h <<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2772 cat >>confdefs.h <<\_ACEOF
2776 DEFAULT_DEFAULT_wxUSE_X11=1
2782 cat >>confdefs.h <<\_ACEOF
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __SOLARIS__ 1
2790 cat >>confdefs.h <<\_ACEOF
2794 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2795 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2801 cat >>confdefs.h <<\_ACEOF
2805 cat >>confdefs.h <<\_ACEOF
2809 cat >>confdefs.h <<\_ACEOF
2813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __FREEBSD__ 1
2822 cat >>confdefs.h <<\_ACEOF
2826 DEFAULT_DEFAULT_wxUSE_GTK=1
2828 *-*-openbsd*|*-*-mirbsd*)
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __OPENBSD__ 1
2835 cat >>confdefs.h <<\_ACEOF
2839 DEFAULT_DEFAULT_wxUSE_GTK=1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __NETBSD__ 1
2848 cat >>confdefs.h <<\_ACEOF
2852 DEFAULT_DEFAULT_wxUSE_GTK=1
2853 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2855 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2860 cat >>confdefs.h <<\_ACEOF
2864 cat >>confdefs.h <<\_ACEOF
2868 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2869 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2874 cat >>confdefs.h <<\_ACEOF
2878 cat >>confdefs.h <<\_ACEOF
2882 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2887 cat >>confdefs.h <<\_ACEOF
2891 cat >>confdefs.h <<\_ACEOF
2895 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2901 cat >>confdefs.h <<\_ACEOF
2905 cat >>confdefs.h <<\_ACEOF
2909 cat >>confdefs.h <<\_ACEOF
2913 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2920 cat >>confdefs.h <<\_ACEOF
2921 #define __UNIXWARE__ 1
2926 *-*-cygwin* | *-*-mingw32* )
2928 DEFAULT_DEFAULT_wxUSE_MSW=1
2934 cat >>confdefs.h <<\_ACEOF
2939 DEFAULT_DEFAULT_wxUSE_MGL=1
2942 *-pc-os2_emx | *-pc-os2-emx )
2943 cat >>confdefs.h <<\_ACEOF
2948 cat >>confdefs.h <<\_ACEOF
2953 DEFAULT_DEFAULT_wxUSE_PM=1
2955 LDFLAGS="$LDFLAGS -Zcrtdll"
2956 ac_executable_extensions=".exe"
2957 export ac_executable_extensions
2961 for ac_dir in $PATH; do
2963 if test -z "$ac_TEMP_PATH"; then
2964 ac_TEMP_PATH="$ac_dir"
2966 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2969 export PATH="$ac_TEMP_PATH"
2977 cat >>confdefs.h <<\_ACEOF
2981 cat >>confdefs.h <<\_ACEOF
2982 #define __DARWIN__ 1
2985 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2991 cat >>confdefs.h <<\_ACEOF
2995 cat >>confdefs.h <<\_ACEOF
2996 #define __DARWIN__ 1
2999 cat >>confdefs.h <<\_ACEOF
3000 #define TARGET_CARBON 1
3003 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
3008 cat >>confdefs.h <<\_ACEOF
3015 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
3016 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
3017 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
3018 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
3020 DEFAULT_DEFAULT_wxUSE_X11=1
3021 DEFAULT_wxUSE_SHARED=no
3026 DEFAULT_wxUSE_ALL_FEATURES=yes
3028 DEFAULT_wxUSE_STD_CONTAINERS=no
3029 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3030 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3032 DEFAULT_wxUSE_DMALLOC=no
3033 DEFAULT_wxUSE_LIBGNOMEVFS=no
3034 DEFAULT_wxUSE_LIBHILDON=no
3035 DEFAULT_wxUSE_LIBHILDON2=no
3036 DEFAULT_wxUSE_LIBMSPACK=no
3037 DEFAULT_wxUSE_LIBSDL=no
3039 DEFAULT_wxUSE_ACCESSIBILITY=no
3040 DEFAULT_wxUSE_IPV6=no
3041 DEFAULT_wxUSE_GSTREAMER8=no
3043 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
3044 DEFAULT_wxUSE_UNICODE_UTF8=auto
3045 DEFAULT_wxUSE_OPENGL=auto
3046 DEFAULT_wxUSE_MEDIACTRL=auto
3047 DEFAULT_wxUSE_COMPILER_TLS=auto
3048 DEFAULT_wxUSE_HOTKEY=auto
3049 DEFAULT_wxUSE_METAFILE=auto
3051 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3053 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3054 DEFAULT_wxUSE_MAC_ARCH=no
3056 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3058 DEFAULT_wxUSE_GTK2=yes
3060 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3066 enablestring=disable
3068 if test -z "$defaultval"; then
3069 if test x"$enablestring" = xdisable; then
3076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3077 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3078 # Check whether --enable-gui was given.
3079 if test "${enable_gui+set}" = set; then
3080 enableval=$enable_gui;
3081 if test "$enableval" = yes; then
3082 wx_cv_use_gui='wxUSE_GUI=yes'
3084 wx_cv_use_gui='wxUSE_GUI=no'
3089 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3094 eval "$wx_cv_use_gui"
3096 if test x"$enablestring" = xdisable; then
3097 if test $wxUSE_GUI = no; then
3106 { echo "$as_me:$LINENO: result: $result" >&5
3107 echo "${ECHO_T}$result" >&6; }
3112 if test -z "$defaultval"; then
3113 if test x"$enablestring" = xdisable; then
3120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3121 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3122 # Check whether --enable-monolithic was given.
3123 if test "${enable_monolithic+set}" = set; then
3124 enableval=$enable_monolithic;
3125 if test "$enableval" = yes; then
3126 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3128 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3133 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3138 eval "$wx_cv_use_monolithic"
3140 if test x"$enablestring" = xdisable; then
3141 if test $wxUSE_MONOLITHIC = no; then
3147 result=$wxUSE_MONOLITHIC
3150 { echo "$as_me:$LINENO: result: $result" >&5
3151 echo "${ECHO_T}$result" >&6; }
3156 if test -z "$defaultval"; then
3157 if test x"$enablestring" = xdisable; then
3164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3165 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3166 # Check whether --enable-plugins was given.
3167 if test "${enable_plugins+set}" = set; then
3168 enableval=$enable_plugins;
3169 if test "$enableval" = yes; then
3170 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3172 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3177 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3182 eval "$wx_cv_use_plugins"
3184 if test x"$enablestring" = xdisable; then
3185 if test $wxUSE_PLUGINS = no; then
3191 result=$wxUSE_PLUGINS
3194 { echo "$as_me:$LINENO: result: $result" >&5
3195 echo "${ECHO_T}$result" >&6; }
3199 defaultval=$wxUSE_ALL_FEATURES
3200 if test -z "$defaultval"; then
3201 if test x"$withstring" = xwithout; then
3207 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3208 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3210 # Check whether --with-subdirs was given.
3211 if test "${with_subdirs+set}" = set; then
3212 withval=$with_subdirs;
3213 if test "$withval" = yes; then
3214 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3216 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3221 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3226 eval "$wx_cv_use_subdirs"
3228 if test x"$withstring" = xwithout; then
3229 if test $wxWITH_SUBDIRS = yes; then
3235 result=$wxWITH_SUBDIRS
3238 { echo "$as_me:$LINENO: result: $result" >&5
3239 echo "${ECHO_T}$result" >&6; }
3242 # Check whether --with-flavour was given.
3243 if test "${with_flavour+set}" = set; then
3244 withval=$with_flavour; WX_FLAVOUR="$withval"
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3260 # Check whether --enable-official_build was given.
3261 if test "${enable_official_build+set}" = set; then
3262 enableval=$enable_official_build;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3266 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3271 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3276 eval "$wx_cv_use_official_build"
3278 if test x"$enablestring" = xdisable; then
3279 if test $wxUSE_OFFICIAL_BUILD = no; then
3285 result=$wxUSE_OFFICIAL_BUILD
3288 { echo "$as_me:$LINENO: result: $result" >&5
3289 echo "${ECHO_T}$result" >&6; }
3291 # Check whether --enable-vendor was given.
3292 if test "${enable_vendor+set}" = set; then
3293 enableval=$enable_vendor; VENDOR="$enableval"
3296 if test "x$VENDOR" = "x"; then
3301 enablestring=disable
3303 if test -z "$defaultval"; then
3304 if test x"$enablestring" = xdisable; then
3311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3312 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3313 # Check whether --enable-all-features was given.
3314 if test "${enable_all_features+set}" = set; then
3315 enableval=$enable_all_features;
3316 if test "$enableval" = yes; then
3317 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3319 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3324 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3329 eval "$wx_cv_use_all_features"
3331 if test x"$enablestring" = xdisable; then
3332 if test $wxUSE_ALL_FEATURES = no; then
3338 result=$wxUSE_ALL_FEATURES
3341 { echo "$as_me:$LINENO: result: $result" >&5
3342 echo "${ECHO_T}$result" >&6; }
3345 if test "$wxUSE_ALL_FEATURES" = "no"; then
3346 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3347 DEFAULT_wxUSE_MEDIACTRL=no
3351 if test "$wxUSE_GUI" = "yes"; then
3356 if test -z "$defaultval"; then
3357 if test x"$enablestring" = xdisable; then
3364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3365 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3366 # Check whether --enable-universal was given.
3367 if test "${enable_universal+set}" = set; then
3368 enableval=$enable_universal;
3369 if test "$enableval" = yes; then
3370 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3372 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3377 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3382 eval "$wx_cv_use_universal"
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_UNIVERSAL = no; then
3391 result=$wxUSE_UNIVERSAL
3394 { echo "$as_me:$LINENO: result: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3397 if test "$wxUSE_UNIVERSAL" = "yes"; then
3399 # Check whether --with-themes was given.
3400 if test "${with_themes+set}" = set; then
3401 withval=$with_themes; wxUNIV_THEMES="$withval"
3407 # Check whether --with-gtk was given.
3408 if test "${with_gtk+set}" = set; then
3409 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-motif was given.
3414 if test "${with_motif+set}" = set; then
3415 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-osx_carbon was given.
3420 if test "${with_osx_carbon+set}" = set; then
3421 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3425 # Check whether --with-osx_cocoa was given.
3426 if test "${with_osx_cocoa+set}" = set; then
3427 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-osx_iphone was given.
3432 if test "${with_osx_iphone+set}" = set; then
3433 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3437 # Check whether --with-osx was given.
3438 if test "${with_osx+set}" = set; then
3439 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3443 # Check whether --with-carbon was given.
3444 if test "${with_carbon+set}" = set; then
3445 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3449 # Check whether --with-cocoa was given.
3450 if test "${with_cocoa+set}" = set; then
3451 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3455 # Check whether --with-iphone was given.
3456 if test "${with_iphone+set}" = set; then
3457 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3461 # Check whether --with-mac was given.
3462 if test "${with_mac+set}" = set; then
3463 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3467 # Check whether --with-old_cocoa was given.
3468 if test "${with_old_cocoa+set}" = set; then
3469 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3473 # Check whether --with-wine was given.
3474 if test "${with_wine+set}" = set; then
3475 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3479 # Check whether --with-msw was given.
3480 if test "${with_msw+set}" = set; then
3481 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3485 # Check whether --with-pm was given.
3486 if test "${with_pm+set}" = set; then
3487 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3491 # Check whether --with-mgl was given.
3492 if test "${with_mgl+set}" = set; then
3493 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3497 # Check whether --with-directfb was given.
3498 if test "${with_directfb+set}" = set; then
3499 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3503 # Check whether --with-microwin was given.
3504 if test "${with_microwin+set}" = set; then
3505 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3509 # Check whether --with-x11 was given.
3510 if test "${with_x11+set}" = set; then
3511 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3517 if test -z "$defaultval"; then
3518 if test x"$enablestring" = xdisable; then
3525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3526 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3527 # Check whether --enable-nanox was given.
3528 if test "${enable_nanox+set}" = set; then
3529 enableval=$enable_nanox;
3530 if test "$enableval" = yes; then
3531 wx_cv_use_nanox='wxUSE_NANOX=yes'
3533 wx_cv_use_nanox='wxUSE_NANOX=no'
3538 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3543 eval "$wx_cv_use_nanox"
3545 if test x"$enablestring" = xdisable; then
3546 if test $wxUSE_NANOX = no; then
3555 { echo "$as_me:$LINENO: result: $result" >&5
3556 echo "${ECHO_T}$result" >&6; }
3559 # Check whether --enable-gtk2 was given.
3560 if test "${enable_gtk2+set}" = set; then
3561 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3567 if test -z "$defaultval"; then
3568 if test x"$enablestring" = xdisable; then
3575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3576 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3577 # Check whether --enable-gpe was given.
3578 if test "${enable_gpe+set}" = set; then
3579 enableval=$enable_gpe;
3580 if test "$enableval" = yes; then
3581 wx_cv_use_gpe='wxUSE_GPE=yes'
3583 wx_cv_use_gpe='wxUSE_GPE=no'
3588 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3593 eval "$wx_cv_use_gpe"
3595 if test x"$enablestring" = xdisable; then
3596 if test $wxUSE_GPE = no; then
3605 { echo "$as_me:$LINENO: result: $result" >&5
3606 echo "${ECHO_T}$result" >&6; }
3610 { echo "$as_me:$LINENO: checking for toolkit" >&5
3611 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3615 # In Wine, we need to default to MSW, not GTK or MOTIF
3616 if test "$wxUSE_WINE" = "yes"; then
3617 DEFAULT_DEFAULT_wxUSE_GTK=0
3618 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3619 DEFAULT_DEFAULT_wxUSE_MSW=1
3626 if test "$wxUSE_GUI" = "yes"; then
3628 if test "$USE_BEOS" = 1; then
3629 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3630 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3631 { (exit 1); exit 1; }; }
3634 if test "$TOOLKIT_GIVEN" = 1; then
3635 for toolkit in $ALL_TOOLKITS; do
3637 eval "value=\$${var}"
3638 if test "x$value" = "xno"; then
3640 elif test "x$value" != "x"; then
3644 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3645 eval "wx${toolkit}_VERSION=$value"
3649 for toolkit in $ALL_TOOLKITS; do
3650 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3651 eval "wxUSE_$toolkit=\$${var}"
3655 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3656 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3657 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3660 *-pc-os2_emx | *-pc-os2-emx )
3661 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3664 case "$NUM_TOOLKITS" in
3668 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3669 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3670 { (exit 1); exit 1; }; }
3673 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3674 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3675 { (exit 1); exit 1; }; }
3678 # to be removed when --disable-gtk2 isn't needed
3679 if test "x$wxUSE_GTK2" = "xyes"; then
3682 elif test "x$wxUSE_GTK2" = "xno"; then
3687 for toolkit in $ALL_TOOLKITS; do
3689 eval "value=\$${var}"
3690 if test "$value" = 1; then
3691 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3692 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3693 echo "${ECHO_T}$toolkit_echo" >&6; }
3697 if test "x$host_alias" != "x"; then
3698 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3699 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3701 { echo "$as_me:$LINENO: result: base only" >&5
3702 echo "${ECHO_T}base only" >&6; }
3707 if test "$wxUSE_OSX_CARBON" = 1 \
3708 -o "$wxUSE_OSX_COCOA" = 1 \
3709 -o "$wxUSE_OSX_IPHONE" = 1; then
3715 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3716 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3718 # Check whether --with-libpng was given.
3719 if test "${with_libpng+set}" = set; then
3720 withval=$with_libpng;
3721 if test "$withval" = yes; then
3722 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3723 elif test "$withval" = no; then
3724 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3725 elif test "$withval" = sys; then
3726 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3727 elif test "$withval" = builtin; then
3728 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3730 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3731 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3732 { (exit 1); exit 1; }; }
3737 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3742 eval "$wx_cv_use_libpng"
3744 if test "$wxUSE_LIBPNG" = yes; then
3745 { echo "$as_me:$LINENO: result: yes" >&5
3746 echo "${ECHO_T}yes" >&6; }
3747 elif test "$wxUSE_LIBPNG" = no; then
3748 { echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6; }
3750 elif test "$wxUSE_LIBPNG" = sys; then
3751 { echo "$as_me:$LINENO: result: system version" >&5
3752 echo "${ECHO_T}system version" >&6; }
3753 elif test "$wxUSE_LIBPNG" = builtin; then
3754 { echo "$as_me:$LINENO: result: builtin version" >&5
3755 echo "${ECHO_T}builtin version" >&6; }
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3763 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3764 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3766 # Check whether --with-libjpeg was given.
3767 if test "${with_libjpeg+set}" = set; then
3768 withval=$with_libjpeg;
3769 if test "$withval" = yes; then
3770 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3771 elif test "$withval" = no; then
3772 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3773 elif test "$withval" = sys; then
3774 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3775 elif test "$withval" = builtin; then
3776 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3779 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3780 { (exit 1); exit 1; }; }
3785 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3790 eval "$wx_cv_use_libjpeg"
3792 if test "$wxUSE_LIBJPEG" = yes; then
3793 { echo "$as_me:$LINENO: result: yes" >&5
3794 echo "${ECHO_T}yes" >&6; }
3795 elif test "$wxUSE_LIBJPEG" = no; then
3796 { echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6; }
3798 elif test "$wxUSE_LIBJPEG" = sys; then
3799 { echo "$as_me:$LINENO: result: system version" >&5
3800 echo "${ECHO_T}system version" >&6; }
3801 elif test "$wxUSE_LIBJPEG" = builtin; then
3802 { echo "$as_me:$LINENO: result: builtin version" >&5
3803 echo "${ECHO_T}builtin version" >&6; }
3805 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3806 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3807 { (exit 1); exit 1; }; }
3811 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3812 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3814 # Check whether --with-libtiff was given.
3815 if test "${with_libtiff+set}" = set; then
3816 withval=$with_libtiff;
3817 if test "$withval" = yes; then
3818 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3819 elif test "$withval" = no; then
3820 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3821 elif test "$withval" = sys; then
3822 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3823 elif test "$withval" = builtin; then
3824 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3827 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3833 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3838 eval "$wx_cv_use_libtiff"
3840 if test "$wxUSE_LIBTIFF" = yes; then
3841 { echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6; }
3843 elif test "$wxUSE_LIBTIFF" = no; then
3844 { echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6; }
3846 elif test "$wxUSE_LIBTIFF" = sys; then
3847 { echo "$as_me:$LINENO: result: system version" >&5
3848 echo "${ECHO_T}system version" >&6; }
3849 elif test "$wxUSE_LIBTIFF" = builtin; then
3850 { echo "$as_me:$LINENO: result: builtin version" >&5
3851 echo "${ECHO_T}builtin version" >&6; }
3853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3854 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3855 { (exit 1); exit 1; }; }
3859 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3860 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3862 # Check whether --with-libxpm was given.
3863 if test "${with_libxpm+set}" = set; then
3864 withval=$with_libxpm;
3865 if test "$withval" = yes; then
3866 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3867 elif test "$withval" = no; then
3868 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3869 elif test "$withval" = sys; then
3870 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3871 elif test "$withval" = builtin; then
3872 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3874 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3875 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3876 { (exit 1); exit 1; }; }
3881 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3886 eval "$wx_cv_use_libxpm"
3888 if test "$wxUSE_LIBXPM" = yes; then
3889 { echo "$as_me:$LINENO: result: yes" >&5
3890 echo "${ECHO_T}yes" >&6; }
3891 elif test "$wxUSE_LIBXPM" = no; then
3892 { echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6; }
3894 elif test "$wxUSE_LIBXPM" = sys; then
3895 { echo "$as_me:$LINENO: result: system version" >&5
3896 echo "${ECHO_T}system version" >&6; }
3897 elif test "$wxUSE_LIBXPM" = builtin; then
3898 { echo "$as_me:$LINENO: result: builtin version" >&5
3899 echo "${ECHO_T}builtin version" >&6; }
3901 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3902 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3903 { (exit 1); exit 1; }; }
3908 defaultval=$wxUSE_ALL_FEATURES
3909 if test -z "$defaultval"; then
3910 if test x"$withstring" = xwithout; then
3916 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3917 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3919 # Check whether --with-libiconv was given.
3920 if test "${with_libiconv+set}" = set; then
3921 withval=$with_libiconv;
3922 if test "$withval" = yes; then
3923 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3925 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3930 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3935 eval "$wx_cv_use_libiconv"
3937 if test x"$withstring" = xwithout; then
3938 if test $wxUSE_LIBICONV = yes; then
3944 result=$wxUSE_LIBICONV
3947 { echo "$as_me:$LINENO: result: $result" >&5
3948 echo "${ECHO_T}$result" >&6; }
3952 defaultval=$wxUSE_ALL_FEATURES
3953 if test -z "$defaultval"; then
3954 if test x"$withstring" = xwithout; then
3960 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3961 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3963 # Check whether --with-libmspack was given.
3964 if test "${with_libmspack+set}" = set; then
3965 withval=$with_libmspack;
3966 if test "$withval" = yes; then
3967 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3969 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3974 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3979 eval "$wx_cv_use_libmspack"
3981 if test x"$withstring" = xwithout; then
3982 if test $wxUSE_LIBMSPACK = yes; then
3988 result=$wxUSE_LIBMSPACK
3991 { echo "$as_me:$LINENO: result: $result" >&5
3992 echo "${ECHO_T}$result" >&6; }
3996 defaultval=$wxUSE_ALL_FEATURES
3997 if test -z "$defaultval"; then
3998 if test x"$withstring" = xwithout; then
4004 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
4005 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
4007 # Check whether --with-gtkprint was given.
4008 if test "${with_gtkprint+set}" = set; then
4009 withval=$with_gtkprint;
4010 if test "$withval" = yes; then
4011 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
4013 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
4018 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
4023 eval "$wx_cv_use_gtkprint"
4025 if test x"$withstring" = xwithout; then
4026 if test $wxUSE_GTKPRINT = yes; then
4032 result=$wxUSE_GTKPRINT
4035 { echo "$as_me:$LINENO: result: $result" >&5
4036 echo "${ECHO_T}$result" >&6; }
4040 defaultval=$wxUSE_ALL_FEATURES
4041 if test -z "$defaultval"; then
4042 if test x"$withstring" = xwithout; then
4048 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4049 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4051 # Check whether --with-gnomeprint was given.
4052 if test "${with_gnomeprint+set}" = set; then
4053 withval=$with_gnomeprint;
4054 if test "$withval" = yes; then
4055 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4057 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4062 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4067 eval "$wx_cv_use_gnomeprint"
4069 if test x"$withstring" = xwithout; then
4070 if test $wxUSE_LIBGNOMEPRINT = yes; then
4076 result=$wxUSE_LIBGNOMEPRINT
4079 { echo "$as_me:$LINENO: result: $result" >&5
4080 echo "${ECHO_T}$result" >&6; }
4084 defaultval=$wxUSE_ALL_FEATURES
4085 if test -z "$defaultval"; then
4086 if test x"$withstring" = xwithout; then
4092 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4093 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4095 # Check whether --with-gnomevfs was given.
4096 if test "${with_gnomevfs+set}" = set; then
4097 withval=$with_gnomevfs;
4098 if test "$withval" = yes; then
4099 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4101 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4106 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4111 eval "$wx_cv_use_gnomevfs"
4113 if test x"$withstring" = xwithout; then
4114 if test $wxUSE_LIBGNOMEVFS = yes; then
4120 result=$wxUSE_LIBGNOMEVFS
4123 { echo "$as_me:$LINENO: result: $result" >&5
4124 echo "${ECHO_T}$result" >&6; }
4128 defaultval=$wxUSE_ALL_FEATURES
4129 if test -z "$defaultval"; then
4130 if test x"$withstring" = xwithout; then
4136 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4137 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4139 # Check whether --with-hildon was given.
4140 if test "${with_hildon+set}" = set; then
4141 withval=$with_hildon;
4142 if test "$withval" = yes; then
4143 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4145 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4150 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4155 eval "$wx_cv_use_hildon"
4157 if test x"$withstring" = xwithout; then
4158 if test $wxUSE_LIBHILDON = yes; then
4164 result=$wxUSE_LIBHILDON
4167 { echo "$as_me:$LINENO: result: $result" >&5
4168 echo "${ECHO_T}$result" >&6; }
4172 defaultval=$wxUSE_ALL_FEATURES
4173 if test -z "$defaultval"; then
4174 if test x"$withstring" = xwithout; then
4180 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4181 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4183 # Check whether --with-opengl was given.
4184 if test "${with_opengl+set}" = set; then
4185 withval=$with_opengl;
4186 if test "$withval" = yes; then
4187 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4189 wx_cv_use_opengl='wxUSE_OPENGL=no'
4194 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4199 eval "$wx_cv_use_opengl"
4201 if test x"$withstring" = xwithout; then
4202 if test $wxUSE_OPENGL = yes; then
4208 result=$wxUSE_OPENGL
4211 { echo "$as_me:$LINENO: result: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4219 defaultval=$wxUSE_ALL_FEATURES
4220 if test -z "$defaultval"; then
4221 if test x"$withstring" = xwithout; then
4227 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4228 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4230 # Check whether --with-dmalloc was given.
4231 if test "${with_dmalloc+set}" = set; then
4232 withval=$with_dmalloc;
4233 if test "$withval" = yes; then
4234 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4236 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4241 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4246 eval "$wx_cv_use_dmalloc"
4248 if test x"$withstring" = xwithout; then
4249 if test $wxUSE_DMALLOC = yes; then
4255 result=$wxUSE_DMALLOC
4258 { echo "$as_me:$LINENO: result: $result" >&5
4259 echo "${ECHO_T}$result" >&6; }
4263 defaultval=$wxUSE_ALL_FEATURES
4264 if test -z "$defaultval"; then
4265 if test x"$withstring" = xwithout; then
4271 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4272 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4274 # Check whether --with-sdl was given.
4275 if test "${with_sdl+set}" = set; then
4277 if test "$withval" = yes; then
4278 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4280 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4285 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4290 eval "$wx_cv_use_sdl"
4292 if test x"$withstring" = xwithout; then
4293 if test $wxUSE_LIBSDL = yes; then
4299 result=$wxUSE_LIBSDL
4302 { echo "$as_me:$LINENO: result: $result" >&5
4303 echo "${ECHO_T}$result" >&6; }
4306 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4307 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4309 # Check whether --with-regex was given.
4310 if test "${with_regex+set}" = set; then
4311 withval=$with_regex;
4312 if test "$withval" = yes; then
4313 wx_cv_use_regex='wxUSE_REGEX=yes'
4314 elif test "$withval" = no; then
4315 wx_cv_use_regex='wxUSE_REGEX=no'
4316 elif test "$withval" = sys; then
4317 wx_cv_use_regex='wxUSE_REGEX=sys'
4318 elif test "$withval" = builtin; then
4319 wx_cv_use_regex='wxUSE_REGEX=builtin'
4321 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4322 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4323 { (exit 1); exit 1; }; }
4328 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4333 eval "$wx_cv_use_regex"
4335 if test "$wxUSE_REGEX" = yes; then
4336 { echo "$as_me:$LINENO: result: yes" >&5
4337 echo "${ECHO_T}yes" >&6; }
4338 elif test "$wxUSE_REGEX" = no; then
4339 { echo "$as_me:$LINENO: result: no" >&5
4340 echo "${ECHO_T}no" >&6; }
4341 elif test "$wxUSE_REGEX" = sys; then
4342 { echo "$as_me:$LINENO: result: system version" >&5
4343 echo "${ECHO_T}system version" >&6; }
4344 elif test "$wxUSE_REGEX" = builtin; then
4345 { echo "$as_me:$LINENO: result: builtin version" >&5
4346 echo "${ECHO_T}builtin version" >&6; }
4348 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4349 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4350 { (exit 1); exit 1; }; }
4354 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4355 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4357 # Check whether --with-zlib was given.
4358 if test "${with_zlib+set}" = set; then
4360 if test "$withval" = yes; then
4361 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4362 elif test "$withval" = no; then
4363 wx_cv_use_zlib='wxUSE_ZLIB=no'
4364 elif test "$withval" = sys; then
4365 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4366 elif test "$withval" = builtin; then
4367 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4369 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4370 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4371 { (exit 1); exit 1; }; }
4376 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4381 eval "$wx_cv_use_zlib"
4383 if test "$wxUSE_ZLIB" = yes; then
4384 { echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6; }
4386 elif test "$wxUSE_ZLIB" = no; then
4387 { echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6; }
4389 elif test "$wxUSE_ZLIB" = sys; then
4390 { echo "$as_me:$LINENO: result: system version" >&5
4391 echo "${ECHO_T}system version" >&6; }
4392 elif test "$wxUSE_ZLIB" = builtin; then
4393 { echo "$as_me:$LINENO: result: builtin version" >&5
4394 echo "${ECHO_T}builtin version" >&6; }
4396 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4397 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4398 { (exit 1); exit 1; }; }
4402 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4403 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4405 # Check whether --with-expat was given.
4406 if test "${with_expat+set}" = set; then
4407 withval=$with_expat;
4408 if test "$withval" = yes; then
4409 wx_cv_use_expat='wxUSE_EXPAT=yes'
4410 elif test "$withval" = no; then
4411 wx_cv_use_expat='wxUSE_EXPAT=no'
4412 elif test "$withval" = sys; then
4413 wx_cv_use_expat='wxUSE_EXPAT=sys'
4414 elif test "$withval" = builtin; then
4415 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4417 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4418 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4419 { (exit 1); exit 1; }; }
4424 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4429 eval "$wx_cv_use_expat"
4431 if test "$wxUSE_EXPAT" = yes; then
4432 { echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6; }
4434 elif test "$wxUSE_EXPAT" = no; then
4435 { echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6; }
4437 elif test "$wxUSE_EXPAT" = sys; then
4438 { echo "$as_me:$LINENO: result: system version" >&5
4439 echo "${ECHO_T}system version" >&6; }
4440 elif test "$wxUSE_EXPAT" = builtin; then
4441 { echo "$as_me:$LINENO: result: builtin version" >&5
4442 echo "${ECHO_T}builtin version" >&6; }
4444 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4445 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4446 { (exit 1); exit 1; }; }
4450 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4451 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4453 # Check whether --with-macosx-sdk was given.
4454 if test "${with_macosx_sdk+set}" = set; then
4455 withval=$with_macosx_sdk;
4456 wxUSE_MACOSX_SDK=$withval
4457 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4461 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4462 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4464 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4465 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4467 # Check whether --with-macosx-version-min was given.
4468 if test "${with_macosx_version_min+set}" = set; then
4469 withval=$with_macosx_version_min;
4470 wxUSE_MACOSX_VERSION_MIN=$withval
4471 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4475 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4476 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4479 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4480 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4481 # Check whether --enable-debug was given.
4482 if test "${enable_debug+set}" = set; then
4483 enableval=$enable_debug;
4484 if test "$enableval" = yes; then
4486 elif test "$enableval" = no; then
4488 elif test "$enableval" = max; then
4490 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4492 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4493 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4494 { (exit 1); exit 1; }; }
4503 case "$wxUSE_DEBUG" in
4505 DEFAULT_wxUSE_DEBUG_FLAG=yes
4506 DEFAULT_wxUSE_DEBUG_INFO=yes
4508 DEFAULT_wxUSE_OPTIMISE=no
4512 DEFAULT_wxUSE_DEBUG_FLAG=no
4513 DEFAULT_wxUSE_DEBUG_INFO=no
4517 DEFAULT_wxUSE_DEBUG_FLAG=yes
4518 DEFAULT_wxUSE_DEBUG_INFO=no
4523 enablestring=disable
4525 if test -z "$defaultval"; then
4526 if test x"$enablestring" = xdisable; then
4533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4535 # Check whether --enable-debug_flag was given.
4536 if test "${enable_debug_flag+set}" = set; then
4537 enableval=$enable_debug_flag;
4538 if test "$enableval" = yes; then
4539 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4541 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4546 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4551 eval "$wx_cv_use_debug_flag"
4553 if test x"$enablestring" = xdisable; then
4554 if test $wxUSE_DEBUG_FLAG = no; then
4560 result=$wxUSE_DEBUG_FLAG
4563 { echo "$as_me:$LINENO: result: $result" >&5
4564 echo "${ECHO_T}$result" >&6; }
4569 if test -z "$defaultval"; then
4570 if test x"$enablestring" = xdisable; then
4577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4579 # Check whether --enable-debug_info was given.
4580 if test "${enable_debug_info+set}" = set; then
4581 enableval=$enable_debug_info;
4582 if test "$enableval" = yes; then
4583 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4585 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4590 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4595 eval "$wx_cv_use_debug_info"
4597 if test x"$enablestring" = xdisable; then
4598 if test $wxUSE_DEBUG_INFO = no; then
4604 result=$wxUSE_DEBUG_INFO
4607 { echo "$as_me:$LINENO: result: $result" >&5
4608 echo "${ECHO_T}$result" >&6; }
4615 if test -z "$defaultval"; then
4616 if test x"$enablestring" = xdisable; then
4623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4625 # Check whether --enable-debug_gdb was given.
4626 if test "${enable_debug_gdb+set}" = set; then
4627 enableval=$enable_debug_gdb;
4628 if test "$enableval" = yes; then
4629 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4631 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4636 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4641 eval "$wx_cv_use_debug_gdb"
4643 if test x"$enablestring" = xdisable; then
4644 if test $wxUSE_DEBUG_GDB = no; then
4650 result=$wxUSE_DEBUG_GDB
4653 { echo "$as_me:$LINENO: result: $result" >&5
4654 echo "${ECHO_T}$result" >&6; }
4659 if test -z "$defaultval"; then
4660 if test x"$enablestring" = xdisable; then
4667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4669 # Check whether --enable-debug_cntxt was given.
4670 if test "${enable_debug_cntxt+set}" = set; then
4671 enableval=$enable_debug_cntxt;
4672 if test "$enableval" = yes; then
4673 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4675 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4680 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4685 eval "$wx_cv_use_debug_cntxt"
4687 if test x"$enablestring" = xdisable; then
4688 if test $wxUSE_DEBUG_CONTEXT = no; then
4694 result=$wxUSE_DEBUG_CONTEXT
4697 { echo "$as_me:$LINENO: result: $result" >&5
4698 echo "${ECHO_T}$result" >&6; }
4703 if test -z "$defaultval"; then
4704 if test x"$enablestring" = xdisable; then
4711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4713 # Check whether --enable-mem_tracing was given.
4714 if test "${enable_mem_tracing+set}" = set; then
4715 enableval=$enable_mem_tracing;
4716 if test "$enableval" = yes; then
4717 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4719 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4724 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4729 eval "$wx_cv_use_mem_tracing"
4731 if test x"$enablestring" = xdisable; then
4732 if test $wxUSE_MEM_TRACING = no; then
4738 result=$wxUSE_MEM_TRACING
4741 { echo "$as_me:$LINENO: result: $result" >&5
4742 echo "${ECHO_T}$result" >&6; }
4747 enablestring=disable
4749 if test -z "$defaultval"; then
4750 if test x"$enablestring" = xdisable; then
4757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4758 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4759 # Check whether --enable-shared was given.
4760 if test "${enable_shared+set}" = set; then
4761 enableval=$enable_shared;
4762 if test "$enableval" = yes; then
4763 wx_cv_use_shared='wxUSE_SHARED=yes'
4765 wx_cv_use_shared='wxUSE_SHARED=no'
4770 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4775 eval "$wx_cv_use_shared"
4777 if test x"$enablestring" = xdisable; then
4778 if test $wxUSE_SHARED = no; then
4784 result=$wxUSE_SHARED
4787 { echo "$as_me:$LINENO: result: $result" >&5
4788 echo "${ECHO_T}$result" >&6; }
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4803 # Check whether --enable-stl was given.
4804 if test "${enable_stl+set}" = set; then
4805 enableval=$enable_stl;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_stl='wxUSE_STL=yes'
4809 wx_cv_use_stl='wxUSE_STL=no'
4814 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4819 eval "$wx_cv_use_stl"
4821 if test x"$enablestring" = xdisable; then
4822 if test $wxUSE_STL = no; then
4831 { echo "$as_me:$LINENO: result: $result" >&5
4832 echo "${ECHO_T}$result" >&6; }
4834 if test "$wxUSE_STL" = "yes"; then
4835 DEFAULT_wxUSE_STD_CONTAINERS=yes
4836 DEFAULT_wxUSE_STD_IOSTREAM=yes
4837 DEFAULT_wxUSE_STD_STRING=yes
4842 if test -z "$defaultval"; then
4843 if test x"$enablestring" = xdisable; then
4850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4851 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4852 # Check whether --enable-std_containers was given.
4853 if test "${enable_std_containers+set}" = set; then
4854 enableval=$enable_std_containers;
4855 if test "$enableval" = yes; then
4856 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4858 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4863 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4868 eval "$wx_cv_use_std_containers"
4870 if test x"$enablestring" = xdisable; then
4871 if test $wxUSE_STD_CONTAINERS = no; then
4877 result=$wxUSE_STD_CONTAINERS
4880 { echo "$as_me:$LINENO: result: $result" >&5
4881 echo "${ECHO_T}$result" >&6; }
4886 if test -z "$defaultval"; then
4887 if test x"$enablestring" = xdisable; then
4894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4895 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4896 # Check whether --enable-std_iostreams was given.
4897 if test "${enable_std_iostreams+set}" = set; then
4898 enableval=$enable_std_iostreams;
4899 if test "$enableval" = yes; then
4900 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4902 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4907 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4912 eval "$wx_cv_use_std_iostreams"
4914 if test x"$enablestring" = xdisable; then
4915 if test $wxUSE_STD_IOSTREAM = no; then
4921 result=$wxUSE_STD_IOSTREAM
4924 { echo "$as_me:$LINENO: result: $result" >&5
4925 echo "${ECHO_T}$result" >&6; }
4930 if test -z "$defaultval"; then
4931 if test x"$enablestring" = xdisable; then
4938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4939 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4940 # Check whether --enable-std_string was given.
4941 if test "${enable_std_string+set}" = set; then
4942 enableval=$enable_std_string;
4943 if test "$enableval" = yes; then
4944 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4946 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4951 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4956 eval "$wx_cv_use_std_string"
4958 if test x"$enablestring" = xdisable; then
4959 if test $wxUSE_STD_STRING = no; then
4965 result=$wxUSE_STD_STRING
4968 { echo "$as_me:$LINENO: result: $result" >&5
4969 echo "${ECHO_T}$result" >&6; }
4974 if test -z "$defaultval"; then
4975 if test x"$enablestring" = xdisable; then
4982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4983 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4984 # Check whether --enable-std_string_conv_in_wxstring was given.
4985 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4986 enableval=$enable_std_string_conv_in_wxstring;
4987 if test "$enableval" = yes; then
4988 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4990 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4995 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
5000 eval "$wx_cv_use_std_string_conv_in_wxstring"
5002 if test x"$enablestring" = xdisable; then
5003 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
5009 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
5012 { echo "$as_me:$LINENO: result: $result" >&5
5013 echo "${ECHO_T}$result" >&6; }
5016 enablestring=disable
5018 if test -z "$defaultval"; then
5019 if test x"$enablestring" = xdisable; then
5026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5027 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
5028 # Check whether --enable-unicode was given.
5029 if test "${enable_unicode+set}" = set; then
5030 enableval=$enable_unicode;
5031 if test "$enableval" = yes; then
5032 wx_cv_use_unicode='wxUSE_UNICODE=yes'
5034 wx_cv_use_unicode='wxUSE_UNICODE=no'
5039 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5044 eval "$wx_cv_use_unicode"
5046 if test x"$enablestring" = xdisable; then
5047 if test $wxUSE_UNICODE = no; then
5053 result=$wxUSE_UNICODE
5056 { echo "$as_me:$LINENO: result: $result" >&5
5057 echo "${ECHO_T}$result" >&6; }
5062 if test -z "$defaultval"; then
5063 if test x"$enablestring" = xdisable; then
5070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5072 # Check whether --enable-mslu was given.
5073 if test "${enable_mslu+set}" = set; then
5074 enableval=$enable_mslu;
5075 if test "$enableval" = yes; then
5076 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5078 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5083 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5088 eval "$wx_cv_use_mslu"
5090 if test x"$enablestring" = xdisable; then
5091 if test $wxUSE_UNICODE_MSLU = no; then
5097 result=$wxUSE_UNICODE_MSLU
5100 { echo "$as_me:$LINENO: result: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5106 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5107 # Check whether --enable-utf8 was given.
5108 if test "${enable_utf8+set}" = set; then
5109 enableval=$enable_utf8;
5110 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5114 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5119 eval "$wx_cv_use_utf8"
5121 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5122 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5127 if test -z "$defaultval"; then
5128 if test x"$enablestring" = xdisable; then
5135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5136 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5137 # Check whether --enable-utf8only was given.
5138 if test "${enable_utf8only+set}" = set; then
5139 enableval=$enable_utf8only;
5140 if test "$enableval" = yes; then
5141 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5143 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5148 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5153 eval "$wx_cv_use_utf8only"
5155 if test x"$enablestring" = xdisable; then
5156 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5162 result=$wxUSE_UNICODE_UTF8_LOCALE
5165 { echo "$as_me:$LINENO: result: $result" >&5
5166 echo "${ECHO_T}$result" >&6; }
5171 if test -z "$defaultval"; then
5172 if test x"$enablestring" = xdisable; then
5179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5180 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5181 # Check whether --enable-extended_rtti was given.
5182 if test "${enable_extended_rtti+set}" = set; then
5183 enableval=$enable_extended_rtti;
5184 if test "$enableval" = yes; then
5185 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5187 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5192 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5197 eval "$wx_cv_use_extended_rtti"
5199 if test x"$enablestring" = xdisable; then
5200 if test $wxUSE_EXTENDED_RTTI = no; then
5206 result=$wxUSE_EXTENDED_RTTI
5209 { echo "$as_me:$LINENO: result: $result" >&5
5210 echo "${ECHO_T}$result" >&6; }
5212 if test "$USE_OS2" = 1; then
5213 DEFAULT_wxUSE_OMF=no
5217 if test -z "$defaultval"; then
5218 if test x"$enablestring" = xdisable; then
5225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5226 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5227 # Check whether --enable-omf was given.
5228 if test "${enable_omf+set}" = set; then
5229 enableval=$enable_omf;
5230 if test "$enableval" = yes; then
5231 wx_cv_use_omf='wxUSE_OMF=yes'
5233 wx_cv_use_omf='wxUSE_OMF=no'
5238 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5243 eval "$wx_cv_use_omf"
5245 if test x"$enablestring" = xdisable; then
5246 if test $wxUSE_OMF = no; then
5255 { echo "$as_me:$LINENO: result: $result" >&5
5256 echo "${ECHO_T}$result" >&6; }
5261 enablestring=disable
5263 if test -z "$defaultval"; then
5264 if test x"$enablestring" = xdisable; then
5271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5273 # Check whether --enable-optimise was given.
5274 if test "${enable_optimise+set}" = set; then
5275 enableval=$enable_optimise;
5276 if test "$enableval" = yes; then
5277 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5279 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5284 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5289 eval "$wx_cv_use_optimise"
5291 if test x"$enablestring" = xdisable; then
5292 if test $wxUSE_OPTIMISE = no; then
5298 result=$wxUSE_OPTIMISE
5301 { echo "$as_me:$LINENO: result: $result" >&5
5302 echo "${ECHO_T}$result" >&6; }
5308 if test -z "$defaultval"; then
5309 if test x"$enablestring" = xdisable; then
5316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5317 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5318 # Check whether --enable-profile was given.
5319 if test "${enable_profile+set}" = set; then
5320 enableval=$enable_profile;
5321 if test "$enableval" = yes; then
5322 wx_cv_use_profile='wxUSE_PROFILE=yes'
5324 wx_cv_use_profile='wxUSE_PROFILE=no'
5329 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5334 eval "$wx_cv_use_profile"
5336 if test x"$enablestring" = xdisable; then
5337 if test $wxUSE_PROFILE = no; then
5343 result=$wxUSE_PROFILE
5346 { echo "$as_me:$LINENO: result: $result" >&5
5347 echo "${ECHO_T}$result" >&6; }
5352 if test -z "$defaultval"; then
5353 if test x"$enablestring" = xdisable; then
5360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5361 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5362 # Check whether --enable-no_rtti was given.
5363 if test "${enable_no_rtti+set}" = set; then
5364 enableval=$enable_no_rtti;
5365 if test "$enableval" = yes; then
5366 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5368 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5373 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5378 eval "$wx_cv_use_no_rtti"
5380 if test x"$enablestring" = xdisable; then
5381 if test $wxUSE_NO_RTTI = no; then
5387 result=$wxUSE_NO_RTTI
5390 { echo "$as_me:$LINENO: result: $result" >&5
5391 echo "${ECHO_T}$result" >&6; }
5396 if test -z "$defaultval"; then
5397 if test x"$enablestring" = xdisable; then
5404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5405 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5406 # Check whether --enable-no_exceptions was given.
5407 if test "${enable_no_exceptions+set}" = set; then
5408 enableval=$enable_no_exceptions;
5409 if test "$enableval" = yes; then
5410 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5412 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5417 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5422 eval "$wx_cv_use_no_exceptions"
5424 if test x"$enablestring" = xdisable; then
5425 if test $wxUSE_NO_EXCEPTIONS = no; then
5431 result=$wxUSE_NO_EXCEPTIONS
5434 { echo "$as_me:$LINENO: result: $result" >&5
5435 echo "${ECHO_T}$result" >&6; }
5440 if test -z "$defaultval"; then
5441 if test x"$enablestring" = xdisable; then
5448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5449 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5450 # Check whether --enable-permissive was given.
5451 if test "${enable_permissive+set}" = set; then
5452 enableval=$enable_permissive;
5453 if test "$enableval" = yes; then
5454 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5456 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5461 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5466 eval "$wx_cv_use_permissive"
5468 if test x"$enablestring" = xdisable; then
5469 if test $wxUSE_PERMISSIVE = no; then
5475 result=$wxUSE_PERMISSIVE
5478 { echo "$as_me:$LINENO: result: $result" >&5
5479 echo "${ECHO_T}$result" >&6; }
5484 if test -z "$defaultval"; then
5485 if test x"$enablestring" = xdisable; then
5492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5493 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5494 # Check whether --enable-no_deps was given.
5495 if test "${enable_no_deps+set}" = set; then
5496 enableval=$enable_no_deps;
5497 if test "$enableval" = yes; then
5498 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5500 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5505 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5510 eval "$wx_cv_use_no_deps"
5512 if test x"$enablestring" = xdisable; then
5513 if test $wxUSE_NO_DEPS = no; then
5519 result=$wxUSE_NO_DEPS
5522 { echo "$as_me:$LINENO: result: $result" >&5
5523 echo "${ECHO_T}$result" >&6; }
5526 enablestring=disable
5528 if test -z "$defaultval"; then
5529 if test x"$enablestring" = xdisable; then
5536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5537 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5538 # Check whether --enable-vararg_macros was given.
5539 if test "${enable_vararg_macros+set}" = set; then
5540 enableval=$enable_vararg_macros;
5541 if test "$enableval" = yes; then
5542 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5544 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5549 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5554 eval "$wx_cv_use_vararg_macros"
5556 if test x"$enablestring" = xdisable; then
5557 if test $wxUSE_VARARG_MACROS = no; then
5563 result=$wxUSE_VARARG_MACROS
5566 { echo "$as_me:$LINENO: result: $result" >&5
5567 echo "${ECHO_T}$result" >&6; }
5572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5574 # Check whether --enable-universal_binary was given.
5575 if test "${enable_universal_binary+set}" = set; then
5576 enableval=$enable_universal_binary;
5577 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5581 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5586 eval "$wx_cv_use_universal_binary"
5588 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5589 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5595 # Check whether --enable-macosx_arch was given.
5596 if test "${enable_macosx_arch+set}" = set; then
5597 enableval=$enable_macosx_arch;
5598 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5602 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5607 eval "$wx_cv_use_macosx_arch"
5609 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5610 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5616 if test -z "$defaultval"; then
5617 if test x"$enablestring" = xdisable; then
5624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5626 # Check whether --enable-compat26 was given.
5627 if test "${enable_compat26+set}" = set; then
5628 enableval=$enable_compat26;
5629 if test "$enableval" = yes; then
5630 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5632 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5637 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5642 eval "$wx_cv_use_compat26"
5644 if test x"$enablestring" = xdisable; then
5645 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5651 result=$WXWIN_COMPATIBILITY_2_6
5654 { echo "$as_me:$LINENO: result: $result" >&5
5655 echo "${ECHO_T}$result" >&6; }
5658 enablestring=disable
5660 if test -z "$defaultval"; then
5661 if test x"$enablestring" = xdisable; then
5668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5670 # Check whether --enable-compat28 was given.
5671 if test "${enable_compat28+set}" = set; then
5672 enableval=$enable_compat28;
5673 if test "$enableval" = yes; then
5674 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5676 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5681 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5686 eval "$wx_cv_use_compat28"
5688 if test x"$enablestring" = xdisable; then
5689 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5695 result=$WXWIN_COMPATIBILITY_2_8
5698 { echo "$as_me:$LINENO: result: $result" >&5
5699 echo "${ECHO_T}$result" >&6; }
5703 enablestring=disable
5705 if test -z "$defaultval"; then
5706 if test x"$enablestring" = xdisable; then
5713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5714 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5715 # Check whether --enable-rpath was given.
5716 if test "${enable_rpath+set}" = set; then
5717 enableval=$enable_rpath;
5718 if test "$enableval" = yes; then
5719 wx_cv_use_rpath='wxUSE_RPATH=yes'
5721 wx_cv_use_rpath='wxUSE_RPATH=no'
5726 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5731 eval "$wx_cv_use_rpath"
5733 if test x"$enablestring" = xdisable; then
5734 if test $wxUSE_RPATH = no; then
5743 { echo "$as_me:$LINENO: result: $result" >&5
5744 echo "${ECHO_T}$result" >&6; }
5750 if test -z "$defaultval"; then
5751 if test x"$enablestring" = xdisable; then
5758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5760 # Check whether --enable-objc_uniquifying was given.
5761 if test "${enable_objc_uniquifying+set}" = set; then
5762 enableval=$enable_objc_uniquifying;
5763 if test "$enableval" = yes; then
5764 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5766 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5771 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5776 eval "$wx_cv_use_objc_uniquifying"
5778 if test x"$enablestring" = xdisable; then
5779 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5785 result=$wxUSE_OBJC_UNIQUIFYING
5788 { echo "$as_me:$LINENO: result: $result" >&5
5789 echo "${ECHO_T}$result" >&6; }
5793 enablestring=disable
5795 if test -z "$defaultval"; then
5796 if test x"$enablestring" = xdisable; then
5803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5805 # Check whether --enable-visibility was given.
5806 if test "${enable_visibility+set}" = set; then
5807 enableval=$enable_visibility;
5808 if test "$enableval" = yes; then
5809 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5811 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5816 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5821 eval "$wx_cv_use_visibility"
5823 if test x"$enablestring" = xdisable; then
5824 if test $wxUSE_VISIBILITY = no; then
5830 result=$wxUSE_VISIBILITY
5833 { echo "$as_me:$LINENO: result: $result" >&5
5834 echo "${ECHO_T}$result" >&6; }
5837 enablestring=disable
5839 if test -z "$defaultval"; then
5840 if test x"$enablestring" = xdisable; then
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5849 # Check whether --enable-tls was given.
5850 if test "${enable_tls+set}" = set; then
5851 enableval=$enable_tls;
5852 if test "$enableval" = yes; then
5853 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5855 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5860 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5865 eval "$wx_cv_use_tls"
5867 if test x"$enablestring" = xdisable; then
5868 if test $wxUSE_COMPILER_TLS = no; then
5874 result=$wxUSE_COMPILER_TLS
5877 { echo "$as_me:$LINENO: result: $result" >&5
5878 echo "${ECHO_T}$result" >&6; }
5884 defaultval=$wxUSE_ALL_FEATURES
5885 if test -z "$defaultval"; then
5886 if test x"$enablestring" = xdisable; then
5893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5894 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5895 # Check whether --enable-intl was given.
5896 if test "${enable_intl+set}" = set; then
5897 enableval=$enable_intl;
5898 if test "$enableval" = yes; then
5899 wx_cv_use_intl='wxUSE_INTL=yes'
5901 wx_cv_use_intl='wxUSE_INTL=no'
5906 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5911 eval "$wx_cv_use_intl"
5913 if test x"$enablestring" = xdisable; then
5914 if test $wxUSE_INTL = no; then
5923 { echo "$as_me:$LINENO: result: $result" >&5
5924 echo "${ECHO_T}$result" >&6; }
5928 defaultval=$wxUSE_ALL_FEATURES
5929 if test -z "$defaultval"; then
5930 if test x"$enablestring" = xdisable; then
5937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5938 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5939 # Check whether --enable-xlocale was given.
5940 if test "${enable_xlocale+set}" = set; then
5941 enableval=$enable_xlocale;
5942 if test "$enableval" = yes; then
5943 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5945 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5950 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5955 eval "$wx_cv_use_xlocale"
5957 if test x"$enablestring" = xdisable; then
5958 if test $wxUSE_XLOCALE = no; then
5964 result=$wxUSE_XLOCALE
5967 { echo "$as_me:$LINENO: result: $result" >&5
5968 echo "${ECHO_T}$result" >&6; }
5972 defaultval=$wxUSE_ALL_FEATURES
5973 if test -z "$defaultval"; then
5974 if test x"$enablestring" = xdisable; then
5981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5982 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5983 # Check whether --enable-config was given.
5984 if test "${enable_config+set}" = set; then
5985 enableval=$enable_config;
5986 if test "$enableval" = yes; then
5987 wx_cv_use_config='wxUSE_CONFIG=yes'
5989 wx_cv_use_config='wxUSE_CONFIG=no'
5994 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5999 eval "$wx_cv_use_config"
6001 if test x"$enablestring" = xdisable; then
6002 if test $wxUSE_CONFIG = no; then
6008 result=$wxUSE_CONFIG
6011 { echo "$as_me:$LINENO: result: $result" >&5
6012 echo "${ECHO_T}$result" >&6; }
6017 defaultval=$wxUSE_ALL_FEATURES
6018 if test -z "$defaultval"; then
6019 if test x"$enablestring" = xdisable; then
6026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6028 # Check whether --enable-protocols was given.
6029 if test "${enable_protocols+set}" = set; then
6030 enableval=$enable_protocols;
6031 if test "$enableval" = yes; then
6032 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6034 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6039 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6044 eval "$wx_cv_use_protocols"
6046 if test x"$enablestring" = xdisable; then
6047 if test $wxUSE_PROTOCOL = no; then
6053 result=$wxUSE_PROTOCOL
6056 { echo "$as_me:$LINENO: result: $result" >&5
6057 echo "${ECHO_T}$result" >&6; }
6061 defaultval=$wxUSE_ALL_FEATURES
6062 if test -z "$defaultval"; then
6063 if test x"$enablestring" = xdisable; then
6070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6072 # Check whether --enable-ftp was given.
6073 if test "${enable_ftp+set}" = set; then
6074 enableval=$enable_ftp;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6078 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6083 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6088 eval "$wx_cv_use_ftp"
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_PROTOCOL_FTP = no; then
6097 result=$wxUSE_PROTOCOL_FTP
6100 { echo "$as_me:$LINENO: result: $result" >&5
6101 echo "${ECHO_T}$result" >&6; }
6105 defaultval=$wxUSE_ALL_FEATURES
6106 if test -z "$defaultval"; then
6107 if test x"$enablestring" = xdisable; then
6114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6116 # Check whether --enable-http was given.
6117 if test "${enable_http+set}" = set; then
6118 enableval=$enable_http;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6122 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6127 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6132 eval "$wx_cv_use_http"
6134 if test x"$enablestring" = xdisable; then
6135 if test $wxUSE_PROTOCOL_HTTP = no; then
6141 result=$wxUSE_PROTOCOL_HTTP
6144 { echo "$as_me:$LINENO: result: $result" >&5
6145 echo "${ECHO_T}$result" >&6; }
6149 defaultval=$wxUSE_ALL_FEATURES
6150 if test -z "$defaultval"; then
6151 if test x"$enablestring" = xdisable; then
6158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6159 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6160 # Check whether --enable-fileproto was given.
6161 if test "${enable_fileproto+set}" = set; then
6162 enableval=$enable_fileproto;
6163 if test "$enableval" = yes; then
6164 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6166 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6171 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6176 eval "$wx_cv_use_fileproto"
6178 if test x"$enablestring" = xdisable; then
6179 if test $wxUSE_PROTOCOL_FILE = no; then
6185 result=$wxUSE_PROTOCOL_FILE
6188 { echo "$as_me:$LINENO: result: $result" >&5
6189 echo "${ECHO_T}$result" >&6; }
6193 defaultval=$wxUSE_ALL_FEATURES
6194 if test -z "$defaultval"; then
6195 if test x"$enablestring" = xdisable; then
6202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6203 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6204 # Check whether --enable-sockets was given.
6205 if test "${enable_sockets+set}" = set; then
6206 enableval=$enable_sockets;
6207 if test "$enableval" = yes; then
6208 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6210 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6215 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6220 eval "$wx_cv_use_sockets"
6222 if test x"$enablestring" = xdisable; then
6223 if test $wxUSE_SOCKETS = no; then
6229 result=$wxUSE_SOCKETS
6232 { echo "$as_me:$LINENO: result: $result" >&5
6233 echo "${ECHO_T}$result" >&6; }
6237 defaultval=$wxUSE_ALL_FEATURES
6238 if test -z "$defaultval"; then
6239 if test x"$enablestring" = xdisable; then
6246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6247 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6248 # Check whether --enable-ipv6 was given.
6249 if test "${enable_ipv6+set}" = set; then
6250 enableval=$enable_ipv6;
6251 if test "$enableval" = yes; then
6252 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6254 wx_cv_use_ipv6='wxUSE_IPV6=no'
6259 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6264 eval "$wx_cv_use_ipv6"
6266 if test x"$enablestring" = xdisable; then
6267 if test $wxUSE_IPV6 = no; then
6276 { echo "$as_me:$LINENO: result: $result" >&5
6277 echo "${ECHO_T}$result" >&6; }
6281 defaultval=$wxUSE_ALL_FEATURES
6282 if test -z "$defaultval"; then
6283 if test x"$enablestring" = xdisable; then
6290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6291 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6292 # Check whether --enable-ole was given.
6293 if test "${enable_ole+set}" = set; then
6294 enableval=$enable_ole;
6295 if test "$enableval" = yes; then
6296 wx_cv_use_ole='wxUSE_OLE=yes'
6298 wx_cv_use_ole='wxUSE_OLE=no'
6303 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6308 eval "$wx_cv_use_ole"
6310 if test x"$enablestring" = xdisable; then
6311 if test $wxUSE_OLE = no; then
6320 { echo "$as_me:$LINENO: result: $result" >&5
6321 echo "${ECHO_T}$result" >&6; }
6325 defaultval=$wxUSE_ALL_FEATURES
6326 if test -z "$defaultval"; then
6327 if test x"$enablestring" = xdisable; then
6334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6336 # Check whether --enable-dataobj was given.
6337 if test "${enable_dataobj+set}" = set; then
6338 enableval=$enable_dataobj;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6342 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6347 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6352 eval "$wx_cv_use_dataobj"
6354 if test x"$enablestring" = xdisable; then
6355 if test $wxUSE_DATAOBJ = no; then
6361 result=$wxUSE_DATAOBJ
6364 { echo "$as_me:$LINENO: result: $result" >&5
6365 echo "${ECHO_T}$result" >&6; }
6370 defaultval=$wxUSE_ALL_FEATURES
6371 if test -z "$defaultval"; then
6372 if test x"$enablestring" = xdisable; then
6379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6380 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6381 # Check whether --enable-ipc was given.
6382 if test "${enable_ipc+set}" = set; then
6383 enableval=$enable_ipc;
6384 if test "$enableval" = yes; then
6385 wx_cv_use_ipc='wxUSE_IPC=yes'
6387 wx_cv_use_ipc='wxUSE_IPC=no'
6392 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6397 eval "$wx_cv_use_ipc"
6399 if test x"$enablestring" = xdisable; then
6400 if test $wxUSE_IPC = no; then
6409 { echo "$as_me:$LINENO: result: $result" >&5
6410 echo "${ECHO_T}$result" >&6; }
6415 defaultval=$wxUSE_ALL_FEATURES
6416 if test -z "$defaultval"; then
6417 if test x"$enablestring" = xdisable; then
6424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6426 # Check whether --enable-baseevtloop was given.
6427 if test "${enable_baseevtloop+set}" = set; then
6428 enableval=$enable_baseevtloop;
6429 if test "$enableval" = yes; then
6430 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6432 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6437 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6442 eval "$wx_cv_use_baseevtloop"
6444 if test x"$enablestring" = xdisable; then
6445 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6451 result=$wxUSE_CONSOLE_EVENTLOOP
6454 { echo "$as_me:$LINENO: result: $result" >&5
6455 echo "${ECHO_T}$result" >&6; }
6459 defaultval=$wxUSE_ALL_FEATURES
6460 if test -z "$defaultval"; then
6461 if test x"$enablestring" = xdisable; then
6468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6470 # Check whether --enable-epollloop was given.
6471 if test "${enable_epollloop+set}" = set; then
6472 enableval=$enable_epollloop;
6473 if test "$enableval" = yes; then
6474 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6476 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6481 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6486 eval "$wx_cv_use_epollloop"
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_EPOLL_DISPATCHER = no; then
6495 result=$wxUSE_EPOLL_DISPATCHER
6498 { echo "$as_me:$LINENO: result: $result" >&5
6499 echo "${ECHO_T}$result" >&6; }
6503 defaultval=$wxUSE_ALL_FEATURES
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6514 # Check whether --enable-selectloop was given.
6515 if test "${enable_selectloop+set}" = set; then
6516 enableval=$enable_selectloop;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6520 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6525 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6530 eval "$wx_cv_use_selectloop"
6532 if test x"$enablestring" = xdisable; then
6533 if test $wxUSE_SELECT_DISPATCHER = no; then
6539 result=$wxUSE_SELECT_DISPATCHER
6542 { echo "$as_me:$LINENO: result: $result" >&5
6543 echo "${ECHO_T}$result" >&6; }
6548 defaultval=$wxUSE_ALL_FEATURES
6549 if test -z "$defaultval"; then
6550 if test x"$enablestring" = xdisable; then
6557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6558 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6559 # Check whether --enable-any was given.
6560 if test "${enable_any+set}" = set; then
6561 enableval=$enable_any;
6562 if test "$enableval" = yes; then
6563 wx_cv_use_any='wxUSE_ANY=yes'
6565 wx_cv_use_any='wxUSE_ANY=no'
6570 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6575 eval "$wx_cv_use_any"
6577 if test x"$enablestring" = xdisable; then
6578 if test $wxUSE_ANY = no; then
6587 { echo "$as_me:$LINENO: result: $result" >&5
6588 echo "${ECHO_T}$result" >&6; }
6592 defaultval=$wxUSE_ALL_FEATURES
6593 if test -z "$defaultval"; then
6594 if test x"$enablestring" = xdisable; then
6601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6602 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6603 # Check whether --enable-apple_ieee was given.
6604 if test "${enable_apple_ieee+set}" = set; then
6605 enableval=$enable_apple_ieee;
6606 if test "$enableval" = yes; then
6607 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6609 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6614 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6619 eval "$wx_cv_use_apple_ieee"
6621 if test x"$enablestring" = xdisable; then
6622 if test $wxUSE_APPLE_IEEE = no; then
6628 result=$wxUSE_APPLE_IEEE
6631 { echo "$as_me:$LINENO: result: $result" >&5
6632 echo "${ECHO_T}$result" >&6; }
6636 defaultval=$wxUSE_ALL_FEATURES
6637 if test -z "$defaultval"; then
6638 if test x"$enablestring" = xdisable; then
6645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6646 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6647 # Check whether --enable-arcstream was given.
6648 if test "${enable_arcstream+set}" = set; then
6649 enableval=$enable_arcstream;
6650 if test "$enableval" = yes; then
6651 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6653 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6658 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6663 eval "$wx_cv_use_arcstream"
6665 if test x"$enablestring" = xdisable; then
6666 if test $wxUSE_ARCHIVE_STREAMS = no; then
6672 result=$wxUSE_ARCHIVE_STREAMS
6675 { echo "$as_me:$LINENO: result: $result" >&5
6676 echo "${ECHO_T}$result" >&6; }
6680 defaultval=$wxUSE_ALL_FEATURES
6681 if test -z "$defaultval"; then
6682 if test x"$enablestring" = xdisable; then
6689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6691 # Check whether --enable-base64 was given.
6692 if test "${enable_base64+set}" = set; then
6693 enableval=$enable_base64;
6694 if test "$enableval" = yes; then
6695 wx_cv_use_base64='wxUSE_BASE64=yes'
6697 wx_cv_use_base64='wxUSE_BASE64=no'
6702 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6707 eval "$wx_cv_use_base64"
6709 if test x"$enablestring" = xdisable; then
6710 if test $wxUSE_BASE64 = no; then
6716 result=$wxUSE_BASE64
6719 { echo "$as_me:$LINENO: result: $result" >&5
6720 echo "${ECHO_T}$result" >&6; }
6724 defaultval=$wxUSE_ALL_FEATURES
6725 if test -z "$defaultval"; then
6726 if test x"$enablestring" = xdisable; then
6733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6734 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6735 # Check whether --enable-backtrace was given.
6736 if test "${enable_backtrace+set}" = set; then
6737 enableval=$enable_backtrace;
6738 if test "$enableval" = yes; then
6739 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6741 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6746 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6751 eval "$wx_cv_use_backtrace"
6753 if test x"$enablestring" = xdisable; then
6754 if test $wxUSE_STACKWALKER = no; then
6760 result=$wxUSE_STACKWALKER
6763 { echo "$as_me:$LINENO: result: $result" >&5
6764 echo "${ECHO_T}$result" >&6; }
6768 defaultval=$wxUSE_ALL_FEATURES
6769 if test -z "$defaultval"; then
6770 if test x"$enablestring" = xdisable; then
6777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6779 # Check whether --enable-catch_segvs was given.
6780 if test "${enable_catch_segvs+set}" = set; then
6781 enableval=$enable_catch_segvs;
6782 if test "$enableval" = yes; then
6783 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6785 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6790 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6795 eval "$wx_cv_use_catch_segvs"
6797 if test x"$enablestring" = xdisable; then
6798 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6804 result=$wxUSE_ON_FATAL_EXCEPTION
6807 { echo "$as_me:$LINENO: result: $result" >&5
6808 echo "${ECHO_T}$result" >&6; }
6812 defaultval=$wxUSE_ALL_FEATURES
6813 if test -z "$defaultval"; then
6814 if test x"$enablestring" = xdisable; then
6821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6823 # Check whether --enable-cmdline was given.
6824 if test "${enable_cmdline+set}" = set; then
6825 enableval=$enable_cmdline;
6826 if test "$enableval" = yes; then
6827 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6829 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6834 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6839 eval "$wx_cv_use_cmdline"
6841 if test x"$enablestring" = xdisable; then
6842 if test $wxUSE_CMDLINE_PARSER = no; then
6848 result=$wxUSE_CMDLINE_PARSER
6851 { echo "$as_me:$LINENO: result: $result" >&5
6852 echo "${ECHO_T}$result" >&6; }
6856 defaultval=$wxUSE_ALL_FEATURES
6857 if test -z "$defaultval"; then
6858 if test x"$enablestring" = xdisable; then
6865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6866 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6867 # Check whether --enable-datetime was given.
6868 if test "${enable_datetime+set}" = set; then
6869 enableval=$enable_datetime;
6870 if test "$enableval" = yes; then
6871 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6873 wx_cv_use_datetime='wxUSE_DATETIME=no'
6878 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6883 eval "$wx_cv_use_datetime"
6885 if test x"$enablestring" = xdisable; then
6886 if test $wxUSE_DATETIME = no; then
6892 result=$wxUSE_DATETIME
6895 { echo "$as_me:$LINENO: result: $result" >&5
6896 echo "${ECHO_T}$result" >&6; }
6900 defaultval=$wxUSE_ALL_FEATURES
6901 if test -z "$defaultval"; then
6902 if test x"$enablestring" = xdisable; then
6909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6910 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6911 # Check whether --enable-debugreport was given.
6912 if test "${enable_debugreport+set}" = set; then
6913 enableval=$enable_debugreport;
6914 if test "$enableval" = yes; then
6915 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6917 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6922 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6927 eval "$wx_cv_use_debugreport"
6929 if test x"$enablestring" = xdisable; then
6930 if test $wxUSE_DEBUGREPORT = no; then
6936 result=$wxUSE_DEBUGREPORT
6939 { echo "$as_me:$LINENO: result: $result" >&5
6940 echo "${ECHO_T}$result" >&6; }
6944 defaultval=$wxUSE_ALL_FEATURES
6945 if test -z "$defaultval"; then
6946 if test x"$enablestring" = xdisable; then
6953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6954 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6955 # Check whether --enable-dialupman was given.
6956 if test "${enable_dialupman+set}" = set; then
6957 enableval=$enable_dialupman;
6958 if test "$enableval" = yes; then
6959 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6961 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6966 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6971 eval "$wx_cv_use_dialupman"
6973 if test x"$enablestring" = xdisable; then
6974 if test $wxUSE_DIALUP_MANAGER = no; then
6980 result=$wxUSE_DIALUP_MANAGER
6983 { echo "$as_me:$LINENO: result: $result" >&5
6984 echo "${ECHO_T}$result" >&6; }
6988 defaultval=$wxUSE_ALL_FEATURES
6989 if test -z "$defaultval"; then
6990 if test x"$enablestring" = xdisable; then
6997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6998 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6999 # Check whether --enable-dynlib was given.
7000 if test "${enable_dynlib+set}" = set; then
7001 enableval=$enable_dynlib;
7002 if test "$enableval" = yes; then
7003 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7005 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7010 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7015 eval "$wx_cv_use_dynlib"
7017 if test x"$enablestring" = xdisable; then
7018 if test $wxUSE_DYNLIB_CLASS = no; then
7024 result=$wxUSE_DYNLIB_CLASS
7027 { echo "$as_me:$LINENO: result: $result" >&5
7028 echo "${ECHO_T}$result" >&6; }
7032 defaultval=$wxUSE_ALL_FEATURES
7033 if test -z "$defaultval"; then
7034 if test x"$enablestring" = xdisable; then
7041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7042 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7043 # Check whether --enable-dynamicloader was given.
7044 if test "${enable_dynamicloader+set}" = set; then
7045 enableval=$enable_dynamicloader;
7046 if test "$enableval" = yes; then
7047 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7049 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7054 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7059 eval "$wx_cv_use_dynamicloader"
7061 if test x"$enablestring" = xdisable; then
7062 if test $wxUSE_DYNAMIC_LOADER = no; then
7068 result=$wxUSE_DYNAMIC_LOADER
7071 { echo "$as_me:$LINENO: result: $result" >&5
7072 echo "${ECHO_T}$result" >&6; }
7076 defaultval=$wxUSE_ALL_FEATURES
7077 if test -z "$defaultval"; then
7078 if test x"$enablestring" = xdisable; then
7085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7087 # Check whether --enable-exceptions was given.
7088 if test "${enable_exceptions+set}" = set; then
7089 enableval=$enable_exceptions;
7090 if test "$enableval" = yes; then
7091 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7093 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7098 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7103 eval "$wx_cv_use_exceptions"
7105 if test x"$enablestring" = xdisable; then
7106 if test $wxUSE_EXCEPTIONS = no; then
7112 result=$wxUSE_EXCEPTIONS
7115 { echo "$as_me:$LINENO: result: $result" >&5
7116 echo "${ECHO_T}$result" >&6; }
7120 defaultval=$wxUSE_ALL_FEATURES
7121 if test -z "$defaultval"; then
7122 if test x"$enablestring" = xdisable; then
7129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7131 # Check whether --enable-ffile was given.
7132 if test "${enable_ffile+set}" = set; then
7133 enableval=$enable_ffile;
7134 if test "$enableval" = yes; then
7135 wx_cv_use_ffile='wxUSE_FFILE=yes'
7137 wx_cv_use_ffile='wxUSE_FFILE=no'
7142 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7147 eval "$wx_cv_use_ffile"
7149 if test x"$enablestring" = xdisable; then
7150 if test $wxUSE_FFILE = no; then
7159 { echo "$as_me:$LINENO: result: $result" >&5
7160 echo "${ECHO_T}$result" >&6; }
7164 defaultval=$wxUSE_ALL_FEATURES
7165 if test -z "$defaultval"; then
7166 if test x"$enablestring" = xdisable; then
7173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7175 # Check whether --enable-file was given.
7176 if test "${enable_file+set}" = set; then
7177 enableval=$enable_file;
7178 if test "$enableval" = yes; then
7179 wx_cv_use_file='wxUSE_FILE=yes'
7181 wx_cv_use_file='wxUSE_FILE=no'
7186 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7191 eval "$wx_cv_use_file"
7193 if test x"$enablestring" = xdisable; then
7194 if test $wxUSE_FILE = no; then
7203 { echo "$as_me:$LINENO: result: $result" >&5
7204 echo "${ECHO_T}$result" >&6; }
7208 defaultval=$wxUSE_ALL_FEATURES
7209 if test -z "$defaultval"; then
7210 if test x"$enablestring" = xdisable; then
7217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7219 # Check whether --enable-filehistory was given.
7220 if test "${enable_filehistory+set}" = set; then
7221 enableval=$enable_filehistory;
7222 if test "$enableval" = yes; then
7223 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7225 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7230 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7235 eval "$wx_cv_use_filehistory"
7237 if test x"$enablestring" = xdisable; then
7238 if test $wxUSE_FILE_HISTORY = no; then
7244 result=$wxUSE_FILE_HISTORY
7247 { echo "$as_me:$LINENO: result: $result" >&5
7248 echo "${ECHO_T}$result" >&6; }
7252 defaultval=$wxUSE_ALL_FEATURES
7253 if test -z "$defaultval"; then
7254 if test x"$enablestring" = xdisable; then
7261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7263 # Check whether --enable-filesystem was given.
7264 if test "${enable_filesystem+set}" = set; then
7265 enableval=$enable_filesystem;
7266 if test "$enableval" = yes; then
7267 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7269 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7274 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7279 eval "$wx_cv_use_filesystem"
7281 if test x"$enablestring" = xdisable; then
7282 if test $wxUSE_FILESYSTEM = no; then
7288 result=$wxUSE_FILESYSTEM
7291 { echo "$as_me:$LINENO: result: $result" >&5
7292 echo "${ECHO_T}$result" >&6; }
7296 defaultval=$wxUSE_ALL_FEATURES
7297 if test -z "$defaultval"; then
7298 if test x"$enablestring" = xdisable; then
7305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7306 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7307 # Check whether --enable-fontenum was given.
7308 if test "${enable_fontenum+set}" = set; then
7309 enableval=$enable_fontenum;
7310 if test "$enableval" = yes; then
7311 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7313 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7318 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7323 eval "$wx_cv_use_fontenum"
7325 if test x"$enablestring" = xdisable; then
7326 if test $wxUSE_FONTENUM = no; then
7332 result=$wxUSE_FONTENUM
7335 { echo "$as_me:$LINENO: result: $result" >&5
7336 echo "${ECHO_T}$result" >&6; }
7340 defaultval=$wxUSE_ALL_FEATURES
7341 if test -z "$defaultval"; then
7342 if test x"$enablestring" = xdisable; then
7349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7351 # Check whether --enable-fontmap was given.
7352 if test "${enable_fontmap+set}" = set; then
7353 enableval=$enable_fontmap;
7354 if test "$enableval" = yes; then
7355 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7357 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7362 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7367 eval "$wx_cv_use_fontmap"
7369 if test x"$enablestring" = xdisable; then
7370 if test $wxUSE_FONTMAP = no; then
7376 result=$wxUSE_FONTMAP
7379 { echo "$as_me:$LINENO: result: $result" >&5
7380 echo "${ECHO_T}$result" >&6; }
7384 defaultval=$wxUSE_ALL_FEATURES
7385 if test -z "$defaultval"; then
7386 if test x"$enablestring" = xdisable; then
7393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7394 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7395 # Check whether --enable-fs_archive was given.
7396 if test "${enable_fs_archive+set}" = set; then
7397 enableval=$enable_fs_archive;
7398 if test "$enableval" = yes; then
7399 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7401 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7406 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7411 eval "$wx_cv_use_fs_archive"
7413 if test x"$enablestring" = xdisable; then
7414 if test $wxUSE_FS_ARCHIVE = no; then
7420 result=$wxUSE_FS_ARCHIVE
7423 { echo "$as_me:$LINENO: result: $result" >&5
7424 echo "${ECHO_T}$result" >&6; }
7428 defaultval=$wxUSE_ALL_FEATURES
7429 if test -z "$defaultval"; then
7430 if test x"$enablestring" = xdisable; then
7437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7439 # Check whether --enable-fs_inet was given.
7440 if test "${enable_fs_inet+set}" = set; then
7441 enableval=$enable_fs_inet;
7442 if test "$enableval" = yes; then
7443 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7445 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7450 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7455 eval "$wx_cv_use_fs_inet"
7457 if test x"$enablestring" = xdisable; then
7458 if test $wxUSE_FS_INET = no; then
7464 result=$wxUSE_FS_INET
7467 { echo "$as_me:$LINENO: result: $result" >&5
7468 echo "${ECHO_T}$result" >&6; }
7472 defaultval=$wxUSE_ALL_FEATURES
7473 if test -z "$defaultval"; then
7474 if test x"$enablestring" = xdisable; then
7481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7482 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7483 # Check whether --enable-fs_zip was given.
7484 if test "${enable_fs_zip+set}" = set; then
7485 enableval=$enable_fs_zip;
7486 if test "$enableval" = yes; then
7487 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7489 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7494 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7499 eval "$wx_cv_use_fs_zip"
7501 if test x"$enablestring" = xdisable; then
7502 if test $wxUSE_FS_ZIP = no; then
7508 result=$wxUSE_FS_ZIP
7511 { echo "$as_me:$LINENO: result: $result" >&5
7512 echo "${ECHO_T}$result" >&6; }
7516 defaultval=$wxUSE_ALL_FEATURES
7517 if test -z "$defaultval"; then
7518 if test x"$enablestring" = xdisable; then
7525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7527 # Check whether --enable-fswatcher was given.
7528 if test "${enable_fswatcher+set}" = set; then
7529 enableval=$enable_fswatcher;
7530 if test "$enableval" = yes; then
7531 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7533 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7538 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7543 eval "$wx_cv_use_fswatcher"
7545 if test x"$enablestring" = xdisable; then
7546 if test $wxUSE_FSWATCHER = no; then
7552 result=$wxUSE_FSWATCHER
7555 { echo "$as_me:$LINENO: result: $result" >&5
7556 echo "${ECHO_T}$result" >&6; }
7560 defaultval=$wxUSE_ALL_FEATURES
7561 if test -z "$defaultval"; then
7562 if test x"$enablestring" = xdisable; then
7569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7570 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7571 # Check whether --enable-geometry was given.
7572 if test "${enable_geometry+set}" = set; then
7573 enableval=$enable_geometry;
7574 if test "$enableval" = yes; then
7575 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7577 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7582 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7587 eval "$wx_cv_use_geometry"
7589 if test x"$enablestring" = xdisable; then
7590 if test $wxUSE_GEOMETRY = no; then
7596 result=$wxUSE_GEOMETRY
7599 { echo "$as_me:$LINENO: result: $result" >&5
7600 echo "${ECHO_T}$result" >&6; }
7604 defaultval=$wxUSE_ALL_FEATURES
7605 if test -z "$defaultval"; then
7606 if test x"$enablestring" = xdisable; then
7613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7614 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7615 # Check whether --enable-log was given.
7616 if test "${enable_log+set}" = set; then
7617 enableval=$enable_log;
7618 if test "$enableval" = yes; then
7619 wx_cv_use_log='wxUSE_LOG=yes'
7621 wx_cv_use_log='wxUSE_LOG=no'
7626 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7631 eval "$wx_cv_use_log"
7633 if test x"$enablestring" = xdisable; then
7634 if test $wxUSE_LOG = no; then
7643 { echo "$as_me:$LINENO: result: $result" >&5
7644 echo "${ECHO_T}$result" >&6; }
7648 defaultval=$wxUSE_ALL_FEATURES
7649 if test -z "$defaultval"; then
7650 if test x"$enablestring" = xdisable; then
7657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7658 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7659 # Check whether --enable-longlong was given.
7660 if test "${enable_longlong+set}" = set; then
7661 enableval=$enable_longlong;
7662 if test "$enableval" = yes; then
7663 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7665 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7670 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7675 eval "$wx_cv_use_longlong"
7677 if test x"$enablestring" = xdisable; then
7678 if test $wxUSE_LONGLONG = no; then
7684 result=$wxUSE_LONGLONG
7687 { echo "$as_me:$LINENO: result: $result" >&5
7688 echo "${ECHO_T}$result" >&6; }
7692 defaultval=$wxUSE_ALL_FEATURES
7693 if test -z "$defaultval"; then
7694 if test x"$enablestring" = xdisable; then
7701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7703 # Check whether --enable-mimetype was given.
7704 if test "${enable_mimetype+set}" = set; then
7705 enableval=$enable_mimetype;
7706 if test "$enableval" = yes; then
7707 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7709 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7714 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7719 eval "$wx_cv_use_mimetype"
7721 if test x"$enablestring" = xdisable; then
7722 if test $wxUSE_MIMETYPE = no; then
7728 result=$wxUSE_MIMETYPE
7731 { echo "$as_me:$LINENO: result: $result" >&5
7732 echo "${ECHO_T}$result" >&6; }
7736 defaultval=$wxUSE_ALL_FEATURES
7737 if test -z "$defaultval"; then
7738 if test x"$enablestring" = xdisable; then
7745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7747 # Check whether --enable-printfposparam was given.
7748 if test "${enable_printfposparam+set}" = set; then
7749 enableval=$enable_printfposparam;
7750 if test "$enableval" = yes; then
7751 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7753 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7758 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7763 eval "$wx_cv_use_printfposparam"
7765 if test x"$enablestring" = xdisable; then
7766 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7772 result=$wxUSE_PRINTF_POS_PARAMS
7775 { echo "$as_me:$LINENO: result: $result" >&5
7776 echo "${ECHO_T}$result" >&6; }
7780 defaultval=$wxUSE_ALL_FEATURES
7781 if test -z "$defaultval"; then
7782 if test x"$enablestring" = xdisable; then
7789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7791 # Check whether --enable-snglinst was given.
7792 if test "${enable_snglinst+set}" = set; then
7793 enableval=$enable_snglinst;
7794 if test "$enableval" = yes; then
7795 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7797 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7802 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7807 eval "$wx_cv_use_snglinst"
7809 if test x"$enablestring" = xdisable; then
7810 if test $wxUSE_SNGLINST_CHECKER = no; then
7816 result=$wxUSE_SNGLINST_CHECKER
7819 { echo "$as_me:$LINENO: result: $result" >&5
7820 echo "${ECHO_T}$result" >&6; }
7824 defaultval=$wxUSE_ALL_FEATURES
7825 if test -z "$defaultval"; then
7826 if test x"$enablestring" = xdisable; then
7833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7835 # Check whether --enable-sound was given.
7836 if test "${enable_sound+set}" = set; then
7837 enableval=$enable_sound;
7838 if test "$enableval" = yes; then
7839 wx_cv_use_sound='wxUSE_SOUND=yes'
7841 wx_cv_use_sound='wxUSE_SOUND=no'
7846 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7851 eval "$wx_cv_use_sound"
7853 if test x"$enablestring" = xdisable; then
7854 if test $wxUSE_SOUND = no; then
7863 { echo "$as_me:$LINENO: result: $result" >&5
7864 echo "${ECHO_T}$result" >&6; }
7868 defaultval=$wxUSE_ALL_FEATURES
7869 if test -z "$defaultval"; then
7870 if test x"$enablestring" = xdisable; then
7877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7879 # Check whether --enable-stdpaths was given.
7880 if test "${enable_stdpaths+set}" = set; then
7881 enableval=$enable_stdpaths;
7882 if test "$enableval" = yes; then
7883 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7885 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7890 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7895 eval "$wx_cv_use_stdpaths"
7897 if test x"$enablestring" = xdisable; then
7898 if test $wxUSE_STDPATHS = no; then
7904 result=$wxUSE_STDPATHS
7907 { echo "$as_me:$LINENO: result: $result" >&5
7908 echo "${ECHO_T}$result" >&6; }
7912 defaultval=$wxUSE_ALL_FEATURES
7913 if test -z "$defaultval"; then
7914 if test x"$enablestring" = xdisable; then
7921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7922 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7923 # Check whether --enable-stopwatch was given.
7924 if test "${enable_stopwatch+set}" = set; then
7925 enableval=$enable_stopwatch;
7926 if test "$enableval" = yes; then
7927 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7929 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7934 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7939 eval "$wx_cv_use_stopwatch"
7941 if test x"$enablestring" = xdisable; then
7942 if test $wxUSE_STOPWATCH = no; then
7948 result=$wxUSE_STOPWATCH
7951 { echo "$as_me:$LINENO: result: $result" >&5
7952 echo "${ECHO_T}$result" >&6; }
7956 defaultval=$wxUSE_ALL_FEATURES
7957 if test -z "$defaultval"; then
7958 if test x"$enablestring" = xdisable; then
7965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7966 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7967 # Check whether --enable-streams was given.
7968 if test "${enable_streams+set}" = set; then
7969 enableval=$enable_streams;
7970 if test "$enableval" = yes; then
7971 wx_cv_use_streams='wxUSE_STREAMS=yes'
7973 wx_cv_use_streams='wxUSE_STREAMS=no'
7978 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7983 eval "$wx_cv_use_streams"
7985 if test x"$enablestring" = xdisable; then
7986 if test $wxUSE_STREAMS = no; then
7992 result=$wxUSE_STREAMS
7995 { echo "$as_me:$LINENO: result: $result" >&5
7996 echo "${ECHO_T}$result" >&6; }
8000 defaultval=$wxUSE_ALL_FEATURES
8001 if test -z "$defaultval"; then
8002 if test x"$enablestring" = xdisable; then
8009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
8010 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
8011 # Check whether --enable-sysoptions was given.
8012 if test "${enable_sysoptions+set}" = set; then
8013 enableval=$enable_sysoptions;
8014 if test "$enableval" = yes; then
8015 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
8017 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
8022 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8027 eval "$wx_cv_use_sysoptions"
8029 if test x"$enablestring" = xdisable; then
8030 if test $wxUSE_SYSTEM_OPTIONS = no; then
8036 result=$wxUSE_SYSTEM_OPTIONS
8039 { echo "$as_me:$LINENO: result: $result" >&5
8040 echo "${ECHO_T}$result" >&6; }
8044 defaultval=$wxUSE_ALL_FEATURES
8045 if test -z "$defaultval"; then
8046 if test x"$enablestring" = xdisable; then
8053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8054 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8055 # Check whether --enable-tarstream was given.
8056 if test "${enable_tarstream+set}" = set; then
8057 enableval=$enable_tarstream;
8058 if test "$enableval" = yes; then
8059 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8061 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8066 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8071 eval "$wx_cv_use_tarstream"
8073 if test x"$enablestring" = xdisable; then
8074 if test $wxUSE_TARSTREAM = no; then
8080 result=$wxUSE_TARSTREAM
8083 { echo "$as_me:$LINENO: result: $result" >&5
8084 echo "${ECHO_T}$result" >&6; }
8088 defaultval=$wxUSE_ALL_FEATURES
8089 if test -z "$defaultval"; then
8090 if test x"$enablestring" = xdisable; then
8097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8098 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8099 # Check whether --enable-textbuf was given.
8100 if test "${enable_textbuf+set}" = set; then
8101 enableval=$enable_textbuf;
8102 if test "$enableval" = yes; then
8103 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8105 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8110 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8115 eval "$wx_cv_use_textbuf"
8117 if test x"$enablestring" = xdisable; then
8118 if test $wxUSE_TEXTBUFFER = no; then
8124 result=$wxUSE_TEXTBUFFER
8127 { echo "$as_me:$LINENO: result: $result" >&5
8128 echo "${ECHO_T}$result" >&6; }
8132 defaultval=$wxUSE_ALL_FEATURES
8133 if test -z "$defaultval"; then
8134 if test x"$enablestring" = xdisable; then
8141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8142 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8143 # Check whether --enable-textfile was given.
8144 if test "${enable_textfile+set}" = set; then
8145 enableval=$enable_textfile;
8146 if test "$enableval" = yes; then
8147 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8149 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8154 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8159 eval "$wx_cv_use_textfile"
8161 if test x"$enablestring" = xdisable; then
8162 if test $wxUSE_TEXTFILE = no; then
8168 result=$wxUSE_TEXTFILE
8171 { echo "$as_me:$LINENO: result: $result" >&5
8172 echo "${ECHO_T}$result" >&6; }
8176 defaultval=$wxUSE_ALL_FEATURES
8177 if test -z "$defaultval"; then
8178 if test x"$enablestring" = xdisable; then
8185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8187 # Check whether --enable-timer was given.
8188 if test "${enable_timer+set}" = set; then
8189 enableval=$enable_timer;
8190 if test "$enableval" = yes; then
8191 wx_cv_use_timer='wxUSE_TIMER=yes'
8193 wx_cv_use_timer='wxUSE_TIMER=no'
8198 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8203 eval "$wx_cv_use_timer"
8205 if test x"$enablestring" = xdisable; then
8206 if test $wxUSE_TIMER = no; then
8215 { echo "$as_me:$LINENO: result: $result" >&5
8216 echo "${ECHO_T}$result" >&6; }
8220 defaultval=$wxUSE_ALL_FEATURES
8221 if test -z "$defaultval"; then
8222 if test x"$enablestring" = xdisable; then
8229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8230 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8231 # Check whether --enable-variant was given.
8232 if test "${enable_variant+set}" = set; then
8233 enableval=$enable_variant;
8234 if test "$enableval" = yes; then
8235 wx_cv_use_variant='wxUSE_VARIANT=yes'
8237 wx_cv_use_variant='wxUSE_VARIANT=no'
8242 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8247 eval "$wx_cv_use_variant"
8249 if test x"$enablestring" = xdisable; then
8250 if test $wxUSE_VARIANT = no; then
8256 result=$wxUSE_VARIANT
8259 { echo "$as_me:$LINENO: result: $result" >&5
8260 echo "${ECHO_T}$result" >&6; }
8264 defaultval=$wxUSE_ALL_FEATURES
8265 if test -z "$defaultval"; then
8266 if test x"$enablestring" = xdisable; then
8273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8274 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8275 # Check whether --enable-zipstream was given.
8276 if test "${enable_zipstream+set}" = set; then
8277 enableval=$enable_zipstream;
8278 if test "$enableval" = yes; then
8279 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8281 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8286 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8291 eval "$wx_cv_use_zipstream"
8293 if test x"$enablestring" = xdisable; then
8294 if test $wxUSE_ZIPSTREAM = no; then
8300 result=$wxUSE_ZIPSTREAM
8303 { echo "$as_me:$LINENO: result: $result" >&5
8304 echo "${ECHO_T}$result" >&6; }
8309 defaultval=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x"$enablestring" = xdisable; then
8318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8320 # Check whether --enable-url was given.
8321 if test "${enable_url+set}" = set; then
8322 enableval=$enable_url;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_url='wxUSE_URL=yes'
8326 wx_cv_use_url='wxUSE_URL=no'
8331 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8336 eval "$wx_cv_use_url"
8338 if test x"$enablestring" = xdisable; then
8339 if test $wxUSE_URL = no; then
8348 { echo "$as_me:$LINENO: result: $result" >&5
8349 echo "${ECHO_T}$result" >&6; }
8353 defaultval=$wxUSE_ALL_FEATURES
8354 if test -z "$defaultval"; then
8355 if test x"$enablestring" = xdisable; then
8362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8364 # Check whether --enable-protocol was given.
8365 if test "${enable_protocol+set}" = set; then
8366 enableval=$enable_protocol;
8367 if test "$enableval" = yes; then
8368 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8370 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8375 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8380 eval "$wx_cv_use_protocol"
8382 if test x"$enablestring" = xdisable; then
8383 if test $wxUSE_PROTOCOL = no; then
8389 result=$wxUSE_PROTOCOL
8392 { echo "$as_me:$LINENO: result: $result" >&5
8393 echo "${ECHO_T}$result" >&6; }
8397 defaultval=$wxUSE_ALL_FEATURES
8398 if test -z "$defaultval"; then
8399 if test x"$enablestring" = xdisable; then
8406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8407 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8408 # Check whether --enable-protocol_http was given.
8409 if test "${enable_protocol_http+set}" = set; then
8410 enableval=$enable_protocol_http;
8411 if test "$enableval" = yes; then
8412 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8414 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8419 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8424 eval "$wx_cv_use_protocol_http"
8426 if test x"$enablestring" = xdisable; then
8427 if test $wxUSE_PROTOCOL_HTTP = no; then
8433 result=$wxUSE_PROTOCOL_HTTP
8436 { echo "$as_me:$LINENO: result: $result" >&5
8437 echo "${ECHO_T}$result" >&6; }
8441 defaultval=$wxUSE_ALL_FEATURES
8442 if test -z "$defaultval"; then
8443 if test x"$enablestring" = xdisable; then
8450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8452 # Check whether --enable-protocol_ftp was given.
8453 if test "${enable_protocol_ftp+set}" = set; then
8454 enableval=$enable_protocol_ftp;
8455 if test "$enableval" = yes; then
8456 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8458 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8463 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8468 eval "$wx_cv_use_protocol_ftp"
8470 if test x"$enablestring" = xdisable; then
8471 if test $wxUSE_PROTOCOL_FTP = no; then
8477 result=$wxUSE_PROTOCOL_FTP
8480 { echo "$as_me:$LINENO: result: $result" >&5
8481 echo "${ECHO_T}$result" >&6; }
8485 defaultval=$wxUSE_ALL_FEATURES
8486 if test -z "$defaultval"; then
8487 if test x"$enablestring" = xdisable; then
8494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8495 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8496 # Check whether --enable-protocol_file was given.
8497 if test "${enable_protocol_file+set}" = set; then
8498 enableval=$enable_protocol_file;
8499 if test "$enableval" = yes; then
8500 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8502 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8507 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8512 eval "$wx_cv_use_protocol_file"
8514 if test x"$enablestring" = xdisable; then
8515 if test $wxUSE_PROTOCOL_FILE = no; then
8521 result=$wxUSE_PROTOCOL_FILE
8524 { echo "$as_me:$LINENO: result: $result" >&5
8525 echo "${ECHO_T}$result" >&6; }
8530 defaultval=$wxUSE_ALL_FEATURES
8531 if test -z "$defaultval"; then
8532 if test x"$enablestring" = xdisable; then
8539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8540 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8541 # Check whether --enable-threads was given.
8542 if test "${enable_threads+set}" = set; then
8543 enableval=$enable_threads;
8544 if test "$enableval" = yes; then
8545 wx_cv_use_threads='wxUSE_THREADS=yes'
8547 wx_cv_use_threads='wxUSE_THREADS=no'
8552 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8557 eval "$wx_cv_use_threads"
8559 if test x"$enablestring" = xdisable; then
8560 if test $wxUSE_THREADS = no; then
8566 result=$wxUSE_THREADS
8569 { echo "$as_me:$LINENO: result: $result" >&5
8570 echo "${ECHO_T}$result" >&6; }
8576 if test -z "$defaultval"; then
8577 if test x"$enablestring" = xdisable; then
8584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8585 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8586 # Check whether --enable-iniconf was given.
8587 if test "${enable_iniconf+set}" = set; then
8588 enableval=$enable_iniconf;
8589 if test "$enableval" = yes; then
8590 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8592 wx_cv_use_iniconf='wxUSE_INICONF=no'
8597 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8602 eval "$wx_cv_use_iniconf"
8604 if test x"$enablestring" = xdisable; then
8605 if test $wxUSE_INICONF = no; then
8611 result=$wxUSE_INICONF
8614 { echo "$as_me:$LINENO: result: $result" >&5
8615 echo "${ECHO_T}$result" >&6; }
8619 defaultval=$wxUSE_ALL_FEATURES
8620 if test -z "$defaultval"; then
8621 if test x"$enablestring" = xdisable; then
8628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8630 # Check whether --enable-regkey was given.
8631 if test "${enable_regkey+set}" = set; then
8632 enableval=$enable_regkey;
8633 if test "$enableval" = yes; then
8634 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8636 wx_cv_use_regkey='wxUSE_REGKEY=no'
8641 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8646 eval "$wx_cv_use_regkey"
8648 if test x"$enablestring" = xdisable; then
8649 if test $wxUSE_REGKEY = no; then
8655 result=$wxUSE_REGKEY
8658 { echo "$as_me:$LINENO: result: $result" >&5
8659 echo "${ECHO_T}$result" >&6; }
8662 if test "$wxUSE_GUI" = "yes"; then
8667 defaultval=$wxUSE_ALL_FEATURES
8668 if test -z "$defaultval"; then
8669 if test x"$enablestring" = xdisable; then
8676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8677 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8678 # Check whether --enable-docview was given.
8679 if test "${enable_docview+set}" = set; then
8680 enableval=$enable_docview;
8681 if test "$enableval" = yes; then
8682 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8684 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8689 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8694 eval "$wx_cv_use_docview"
8696 if test x"$enablestring" = xdisable; then
8697 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8703 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8706 { echo "$as_me:$LINENO: result: $result" >&5
8707 echo "${ECHO_T}$result" >&6; }
8711 defaultval=$wxUSE_ALL_FEATURES
8712 if test -z "$defaultval"; then
8713 if test x"$enablestring" = xdisable; then
8720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8721 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8722 # Check whether --enable-help was given.
8723 if test "${enable_help+set}" = set; then
8724 enableval=$enable_help;
8725 if test "$enableval" = yes; then
8726 wx_cv_use_help='wxUSE_HELP=yes'
8728 wx_cv_use_help='wxUSE_HELP=no'
8733 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8738 eval "$wx_cv_use_help"
8740 if test x"$enablestring" = xdisable; then
8741 if test $wxUSE_HELP = no; then
8750 { echo "$as_me:$LINENO: result: $result" >&5
8751 echo "${ECHO_T}$result" >&6; }
8755 defaultval=$wxUSE_ALL_FEATURES
8756 if test -z "$defaultval"; then
8757 if test x"$enablestring" = xdisable; then
8764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8765 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8766 # Check whether --enable-mshtmlhelp was given.
8767 if test "${enable_mshtmlhelp+set}" = set; then
8768 enableval=$enable_mshtmlhelp;
8769 if test "$enableval" = yes; then
8770 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8772 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8777 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8782 eval "$wx_cv_use_mshtmlhelp"
8784 if test x"$enablestring" = xdisable; then
8785 if test $wxUSE_MS_HTML_HELP = no; then
8791 result=$wxUSE_MS_HTML_HELP
8794 { echo "$as_me:$LINENO: result: $result" >&5
8795 echo "${ECHO_T}$result" >&6; }
8799 defaultval=$wxUSE_ALL_FEATURES
8800 if test -z "$defaultval"; then
8801 if test x"$enablestring" = xdisable; then
8808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8809 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8810 # Check whether --enable-html was given.
8811 if test "${enable_html+set}" = set; then
8812 enableval=$enable_html;
8813 if test "$enableval" = yes; then
8814 wx_cv_use_html='wxUSE_HTML=yes'
8816 wx_cv_use_html='wxUSE_HTML=no'
8821 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8826 eval "$wx_cv_use_html"
8828 if test x"$enablestring" = xdisable; then
8829 if test $wxUSE_HTML = no; then
8838 { echo "$as_me:$LINENO: result: $result" >&5
8839 echo "${ECHO_T}$result" >&6; }
8843 defaultval=$wxUSE_ALL_FEATURES
8844 if test -z "$defaultval"; then
8845 if test x"$enablestring" = xdisable; then
8852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8853 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8854 # Check whether --enable-htmlhelp was given.
8855 if test "${enable_htmlhelp+set}" = set; then
8856 enableval=$enable_htmlhelp;
8857 if test "$enableval" = yes; then
8858 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8860 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8865 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8870 eval "$wx_cv_use_htmlhelp"
8872 if test x"$enablestring" = xdisable; then
8873 if test $wxUSE_WXHTML_HELP = no; then
8879 result=$wxUSE_WXHTML_HELP
8882 { echo "$as_me:$LINENO: result: $result" >&5
8883 echo "${ECHO_T}$result" >&6; }
8887 defaultval=$wxUSE_ALL_FEATURES
8888 if test -z "$defaultval"; then
8889 if test x"$enablestring" = xdisable; then
8896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8898 # Check whether --enable-xrc was given.
8899 if test "${enable_xrc+set}" = set; then
8900 enableval=$enable_xrc;
8901 if test "$enableval" = yes; then
8902 wx_cv_use_xrc='wxUSE_XRC=yes'
8904 wx_cv_use_xrc='wxUSE_XRC=no'
8909 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8914 eval "$wx_cv_use_xrc"
8916 if test x"$enablestring" = xdisable; then
8917 if test $wxUSE_XRC = no; then
8926 { echo "$as_me:$LINENO: result: $result" >&5
8927 echo "${ECHO_T}$result" >&6; }
8931 defaultval=$wxUSE_ALL_FEATURES
8932 if test -z "$defaultval"; then
8933 if test x"$enablestring" = xdisable; then
8940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8942 # Check whether --enable-aui was given.
8943 if test "${enable_aui+set}" = set; then
8944 enableval=$enable_aui;
8945 if test "$enableval" = yes; then
8946 wx_cv_use_aui='wxUSE_AUI=yes'
8948 wx_cv_use_aui='wxUSE_AUI=no'
8953 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8958 eval "$wx_cv_use_aui"
8960 if test x"$enablestring" = xdisable; then
8961 if test $wxUSE_AUI = no; then
8970 { echo "$as_me:$LINENO: result: $result" >&5
8971 echo "${ECHO_T}$result" >&6; }
8975 defaultval=$wxUSE_ALL_FEATURES
8976 if test -z "$defaultval"; then
8977 if test x"$enablestring" = xdisable; then
8984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8986 # Check whether --enable-propgrid was given.
8987 if test "${enable_propgrid+set}" = set; then
8988 enableval=$enable_propgrid;
8989 if test "$enableval" = yes; then
8990 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8992 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8997 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
9002 eval "$wx_cv_use_propgrid"
9004 if test x"$enablestring" = xdisable; then
9005 if test $wxUSE_PROPGRID = no; then
9011 result=$wxUSE_PROPGRID
9014 { echo "$as_me:$LINENO: result: $result" >&5
9015 echo "${ECHO_T}$result" >&6; }
9019 defaultval=$wxUSE_ALL_FEATURES
9020 if test -z "$defaultval"; then
9021 if test x"$enablestring" = xdisable; then
9028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
9029 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
9030 # Check whether --enable-ribbon was given.
9031 if test "${enable_ribbon+set}" = set; then
9032 enableval=$enable_ribbon;
9033 if test "$enableval" = yes; then
9034 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
9036 wx_cv_use_ribbon='wxUSE_RIBBON=no'
9041 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9046 eval "$wx_cv_use_ribbon"
9048 if test x"$enablestring" = xdisable; then
9049 if test $wxUSE_RIBBON = no; then
9055 result=$wxUSE_RIBBON
9058 { echo "$as_me:$LINENO: result: $result" >&5
9059 echo "${ECHO_T}$result" >&6; }
9063 defaultval=$wxUSE_ALL_FEATURES
9064 if test -z "$defaultval"; then
9065 if test x"$enablestring" = xdisable; then
9072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9074 # Check whether --enable-stc was given.
9075 if test "${enable_stc+set}" = set; then
9076 enableval=$enable_stc;
9077 if test "$enableval" = yes; then
9078 wx_cv_use_stc='wxUSE_STC=yes'
9080 wx_cv_use_stc='wxUSE_STC=no'
9085 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9090 eval "$wx_cv_use_stc"
9092 if test x"$enablestring" = xdisable; then
9093 if test $wxUSE_STC = no; then
9102 { echo "$as_me:$LINENO: result: $result" >&5
9103 echo "${ECHO_T}$result" >&6; }
9107 defaultval=$wxUSE_ALL_FEATURES
9108 if test -z "$defaultval"; then
9109 if test x"$enablestring" = xdisable; then
9116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9117 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9118 # Check whether --enable-constraints was given.
9119 if test "${enable_constraints+set}" = set; then
9120 enableval=$enable_constraints;
9121 if test "$enableval" = yes; then
9122 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9124 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9129 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9134 eval "$wx_cv_use_constraints"
9136 if test x"$enablestring" = xdisable; then
9137 if test $wxUSE_CONSTRAINTS = no; then
9143 result=$wxUSE_CONSTRAINTS
9146 { echo "$as_me:$LINENO: result: $result" >&5
9147 echo "${ECHO_T}$result" >&6; }
9151 defaultval=$wxUSE_ALL_FEATURES
9152 if test -z "$defaultval"; then
9153 if test x"$enablestring" = xdisable; then
9160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9161 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9162 # Check whether --enable-loggui was given.
9163 if test "${enable_loggui+set}" = set; then
9164 enableval=$enable_loggui;
9165 if test "$enableval" = yes; then
9166 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9168 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9173 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9178 eval "$wx_cv_use_loggui"
9180 if test x"$enablestring" = xdisable; then
9181 if test $wxUSE_LOGGUI = no; then
9187 result=$wxUSE_LOGGUI
9190 { echo "$as_me:$LINENO: result: $result" >&5
9191 echo "${ECHO_T}$result" >&6; }
9195 defaultval=$wxUSE_ALL_FEATURES
9196 if test -z "$defaultval"; then
9197 if test x"$enablestring" = xdisable; then
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9206 # Check whether --enable-logwin was given.
9207 if test "${enable_logwin+set}" = set; then
9208 enableval=$enable_logwin;
9209 if test "$enableval" = yes; then
9210 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9212 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9217 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9222 eval "$wx_cv_use_logwin"
9224 if test x"$enablestring" = xdisable; then
9225 if test $wxUSE_LOGWINDOW = no; then
9231 result=$wxUSE_LOGWINDOW
9234 { echo "$as_me:$LINENO: result: $result" >&5
9235 echo "${ECHO_T}$result" >&6; }
9239 defaultval=$wxUSE_ALL_FEATURES
9240 if test -z "$defaultval"; then
9241 if test x"$enablestring" = xdisable; then
9248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9249 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9250 # Check whether --enable-logdialog was given.
9251 if test "${enable_logdialog+set}" = set; then
9252 enableval=$enable_logdialog;
9253 if test "$enableval" = yes; then
9254 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9256 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9261 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9266 eval "$wx_cv_use_logdialog"
9268 if test x"$enablestring" = xdisable; then
9269 if test $wxUSE_LOGDIALOG = no; then
9275 result=$wxUSE_LOGDIALOG
9278 { echo "$as_me:$LINENO: result: $result" >&5
9279 echo "${ECHO_T}$result" >&6; }
9283 defaultval=$wxUSE_ALL_FEATURES
9284 if test -z "$defaultval"; then
9285 if test x"$enablestring" = xdisable; then
9292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9293 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9294 # Check whether --enable-mdi was given.
9295 if test "${enable_mdi+set}" = set; then
9296 enableval=$enable_mdi;
9297 if test "$enableval" = yes; then
9298 wx_cv_use_mdi='wxUSE_MDI=yes'
9300 wx_cv_use_mdi='wxUSE_MDI=no'
9305 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9310 eval "$wx_cv_use_mdi"
9312 if test x"$enablestring" = xdisable; then
9313 if test $wxUSE_MDI = no; then
9322 { echo "$as_me:$LINENO: result: $result" >&5
9323 echo "${ECHO_T}$result" >&6; }
9327 defaultval=$wxUSE_ALL_FEATURES
9328 if test -z "$defaultval"; then
9329 if test x"$enablestring" = xdisable; then
9336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9337 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9338 # Check whether --enable-mdidoc was given.
9339 if test "${enable_mdidoc+set}" = set; then
9340 enableval=$enable_mdidoc;
9341 if test "$enableval" = yes; then
9342 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9344 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9349 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9354 eval "$wx_cv_use_mdidoc"
9356 if test x"$enablestring" = xdisable; then
9357 if test $wxUSE_MDI_ARCHITECTURE = no; then
9363 result=$wxUSE_MDI_ARCHITECTURE
9366 { echo "$as_me:$LINENO: result: $result" >&5
9367 echo "${ECHO_T}$result" >&6; }
9371 defaultval=$wxUSE_ALL_FEATURES
9372 if test -z "$defaultval"; then
9373 if test x"$enablestring" = xdisable; then
9380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9381 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9382 # Check whether --enable-mediactrl was given.
9383 if test "${enable_mediactrl+set}" = set; then
9384 enableval=$enable_mediactrl;
9385 if test "$enableval" = yes; then
9386 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9388 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9393 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9398 eval "$wx_cv_use_mediactrl"
9400 if test x"$enablestring" = xdisable; then
9401 if test $wxUSE_MEDIACTRL = no; then
9407 result=$wxUSE_MEDIACTRL
9410 { echo "$as_me:$LINENO: result: $result" >&5
9411 echo "${ECHO_T}$result" >&6; }
9415 defaultval=$wxUSE_ALL_FEATURES
9416 if test -z "$defaultval"; then
9417 if test x"$enablestring" = xdisable; then
9424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9426 # Check whether --enable-gstreamer8 was given.
9427 if test "${enable_gstreamer8+set}" = set; then
9428 enableval=$enable_gstreamer8;
9429 if test "$enableval" = yes; then
9430 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9432 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9437 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9442 eval "$wx_cv_use_gstreamer8"
9444 if test x"$enablestring" = xdisable; then
9445 if test $wxUSE_GSTREAMER8 = no; then
9451 result=$wxUSE_GSTREAMER8
9454 { echo "$as_me:$LINENO: result: $result" >&5
9455 echo "${ECHO_T}$result" >&6; }
9459 defaultval=$wxUSE_ALL_FEATURES
9460 if test -z "$defaultval"; then
9461 if test x"$enablestring" = xdisable; then
9468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9470 # Check whether --enable-richtext was given.
9471 if test "${enable_richtext+set}" = set; then
9472 enableval=$enable_richtext;
9473 if test "$enableval" = yes; then
9474 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9476 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9481 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9486 eval "$wx_cv_use_richtext"
9488 if test x"$enablestring" = xdisable; then
9489 if test $wxUSE_RICHTEXT = no; then
9495 result=$wxUSE_RICHTEXT
9498 { echo "$as_me:$LINENO: result: $result" >&5
9499 echo "${ECHO_T}$result" >&6; }
9503 defaultval=$wxUSE_ALL_FEATURES
9504 if test -z "$defaultval"; then
9505 if test x"$enablestring" = xdisable; then
9512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9514 # Check whether --enable-postscript was given.
9515 if test "${enable_postscript+set}" = set; then
9516 enableval=$enable_postscript;
9517 if test "$enableval" = yes; then
9518 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9525 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9530 eval "$wx_cv_use_postscript"
9532 if test x"$enablestring" = xdisable; then
9533 if test $wxUSE_POSTSCRIPT = no; then
9539 result=$wxUSE_POSTSCRIPT
9542 { echo "$as_me:$LINENO: result: $result" >&5
9543 echo "${ECHO_T}$result" >&6; }
9547 defaultval=$wxUSE_ALL_FEATURES
9548 if test -z "$defaultval"; then
9549 if test x"$enablestring" = xdisable; then
9556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9557 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9558 # Check whether --enable-printarch was given.
9559 if test "${enable_printarch+set}" = set; then
9560 enableval=$enable_printarch;
9561 if test "$enableval" = yes; then
9562 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9564 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9569 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9574 eval "$wx_cv_use_printarch"
9576 if test x"$enablestring" = xdisable; then
9577 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9583 result=$wxUSE_PRINTING_ARCHITECTURE
9586 { echo "$as_me:$LINENO: result: $result" >&5
9587 echo "${ECHO_T}$result" >&6; }
9591 defaultval=$wxUSE_ALL_FEATURES
9592 if test -z "$defaultval"; then
9593 if test x"$enablestring" = xdisable; then
9600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9602 # Check whether --enable-svg was given.
9603 if test "${enable_svg+set}" = set; then
9604 enableval=$enable_svg;
9605 if test "$enableval" = yes; then
9606 wx_cv_use_svg='wxUSE_SVG=yes'
9608 wx_cv_use_svg='wxUSE_SVG=no'
9613 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9618 eval "$wx_cv_use_svg"
9620 if test x"$enablestring" = xdisable; then
9621 if test $wxUSE_SVG = no; then
9630 { echo "$as_me:$LINENO: result: $result" >&5
9631 echo "${ECHO_T}$result" >&6; }
9635 defaultval=$wxUSE_ALL_FEATURES
9636 if test -z "$defaultval"; then
9637 if test x"$enablestring" = xdisable; then
9644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9645 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9646 # Check whether --enable-webkit was given.
9647 if test "${enable_webkit+set}" = set; then
9648 enableval=$enable_webkit;
9649 if test "$enableval" = yes; then
9650 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9652 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9657 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9662 eval "$wx_cv_use_webkit"
9664 if test x"$enablestring" = xdisable; then
9665 if test $wxUSE_WEBKIT = no; then
9671 result=$wxUSE_WEBKIT
9674 { echo "$as_me:$LINENO: result: $result" >&5
9675 echo "${ECHO_T}$result" >&6; }
9679 defaultval=$wxUSE_ALL_FEATURES
9680 if test -z "$defaultval"; then
9681 if test x"$enablestring" = xdisable; then
9688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webview" >&5
9689 echo $ECHO_N "checking for --${enablestring:-enable}-webview... $ECHO_C" >&6; }
9690 # Check whether --enable-webview was given.
9691 if test "${enable_webview+set}" = set; then
9692 enableval=$enable_webview;
9693 if test "$enableval" = yes; then
9694 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9696 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9701 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9706 eval "$wx_cv_use_webview"
9708 if test x"$enablestring" = xdisable; then
9709 if test $wxUSE_WEBVIEW = no; then
9715 result=$wxUSE_WEBVIEW
9718 { echo "$as_me:$LINENO: result: $result" >&5
9719 echo "${ECHO_T}$result" >&6; }
9722 if test "$wxUSE_MAC" != 1; then
9725 defaultval=$wxUSE_ALL_FEATURES
9726 if test -z "$defaultval"; then
9727 if test x"$enablestring" = xdisable; then
9734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9735 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9736 # Check whether --enable-graphics_ctx was given.
9737 if test "${enable_graphics_ctx+set}" = set; then
9738 enableval=$enable_graphics_ctx;
9739 if test "$enableval" = yes; then
9740 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9742 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9747 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9752 eval "$wx_cv_use_graphics_ctx"
9754 if test x"$enablestring" = xdisable; then
9755 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9761 result=$wxUSE_GRAPHICS_CONTEXT
9764 { echo "$as_me:$LINENO: result: $result" >&5
9765 echo "${ECHO_T}$result" >&6; }
9772 defaultval=$wxUSE_ALL_FEATURES
9773 if test -z "$defaultval"; then
9774 if test x"$enablestring" = xdisable; then
9781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9783 # Check whether --enable-clipboard was given.
9784 if test "${enable_clipboard+set}" = set; then
9785 enableval=$enable_clipboard;
9786 if test "$enableval" = yes; then
9787 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9789 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9794 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9799 eval "$wx_cv_use_clipboard"
9801 if test x"$enablestring" = xdisable; then
9802 if test $wxUSE_CLIPBOARD = no; then
9808 result=$wxUSE_CLIPBOARD
9811 { echo "$as_me:$LINENO: result: $result" >&5
9812 echo "${ECHO_T}$result" >&6; }
9816 defaultval=$wxUSE_ALL_FEATURES
9817 if test -z "$defaultval"; then
9818 if test x"$enablestring" = xdisable; then
9825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9827 # Check whether --enable-dnd was given.
9828 if test "${enable_dnd+set}" = set; then
9829 enableval=$enable_dnd;
9830 if test "$enableval" = yes; then
9831 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9833 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9838 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9843 eval "$wx_cv_use_dnd"
9845 if test x"$enablestring" = xdisable; then
9846 if test $wxUSE_DRAG_AND_DROP = no; then
9852 result=$wxUSE_DRAG_AND_DROP
9855 { echo "$as_me:$LINENO: result: $result" >&5
9856 echo "${ECHO_T}$result" >&6; }
9860 DEFAULT_wxUSE_CONTROLS=none
9862 enablestring=disable
9864 if test -z "$defaultval"; then
9865 if test x"$enablestring" = xdisable; then
9872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9874 # Check whether --enable-controls was given.
9875 if test "${enable_controls+set}" = set; then
9876 enableval=$enable_controls;
9877 if test "$enableval" = yes; then
9878 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9880 wx_cv_use_controls='wxUSE_CONTROLS=no'
9885 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9890 eval "$wx_cv_use_controls"
9892 if test x"$enablestring" = xdisable; then
9893 if test $wxUSE_CONTROLS = no; then
9899 result=$wxUSE_CONTROLS
9902 { echo "$as_me:$LINENO: result: $result" >&5
9903 echo "${ECHO_T}$result" >&6; }
9906 if test "$wxUSE_CONTROLS" = "no"; then
9907 DEFAULT_wxUSE_ACCEL=no
9908 DEFAULT_wxUSE_ANIMATIONCTRL=no
9909 DEFAULT_wxUSE_BANNERWINDOW=no
9910 DEFAULT_wxUSE_BMPBUTTON=no
9911 DEFAULT_wxUSE_BUTTON=no
9912 DEFAULT_wxUSE_CALCTRL=no
9913 DEFAULT_wxUSE_CARET=no
9914 DEFAULT_wxUSE_CHECKBOX=no
9915 DEFAULT_wxUSE_CHECKLISTBOX=no
9916 DEFAULT_wxUSE_CHOICE=no
9917 DEFAULT_wxUSE_CHOICEBOOK=no
9918 DEFAULT_wxUSE_COLLPANE=no
9919 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9920 DEFAULT_wxUSE_COMBOBOX=no
9921 DEFAULT_wxUSE_COMBOBOX=no
9922 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9923 DEFAULT_wxUSE_DATAVIEWCTRL=no
9924 DEFAULT_wxUSE_DATEPICKCTRL=no
9925 DEFAULT_wxUSE_DETECT_SM=no
9926 DEFAULT_wxUSE_DIRPICKERCTRL=no
9927 DEFAULT_wxUSE_DISPLAY=no
9928 DEFAULT_wxUSE_FILECTRL=no
9929 DEFAULT_wxUSE_FILEPICKERCTRL=no
9930 DEFAULT_wxUSE_FONTPICKERCTRL=no
9931 DEFAULT_wxUSE_GAUGE=no
9932 DEFAULT_wxUSE_GRID=no
9933 DEFAULT_wxUSE_HEADERCTRL=no
9934 DEFAULT_wxUSE_HYPERLINKCTRL=no
9935 DEFAULT_wxUSE_IMAGLIST=no
9936 DEFAULT_wxUSE_LISTBOOK=no
9937 DEFAULT_wxUSE_LISTBOX=no
9938 DEFAULT_wxUSE_LISTCTRL=no
9939 DEFAULT_wxUSE_MARKUP=no
9940 DEFAULT_wxUSE_NOTEBOOK=no
9941 DEFAULT_wxUSE_POPUPWIN=no
9942 DEFAULT_wxUSE_RADIOBOX=no
9943 DEFAULT_wxUSE_RADIOBTN=no
9944 DEFAULT_wxUSE_RICHMSGDLG=no
9945 DEFAULT_wxUSE_RICHTOOLTIP=no
9946 DEFAULT_wxUSE_REARRANGECTRL=no
9947 DEFAULT_wxUSE_SASH=no
9948 DEFAULT_wxUSE_SCROLLBAR=no
9949 DEFAULT_wxUSE_SEARCHCTRL=no
9950 DEFAULT_wxUSE_SLIDER=no
9951 DEFAULT_wxUSE_SPINBTN=no
9952 DEFAULT_wxUSE_SPINCTRL=no
9953 DEFAULT_wxUSE_SPLITTER=no
9954 DEFAULT_wxUSE_STATBMP=no
9955 DEFAULT_wxUSE_STATBOX=no
9956 DEFAULT_wxUSE_STATLINE=no
9957 DEFAULT_wxUSE_STATUSBAR=no
9958 DEFAULT_wxUSE_TIMEPICKCTRL=no
9959 DEFAULT_wxUSE_TIPWINDOW=no
9960 DEFAULT_wxUSE_TOGGLEBTN=no
9961 DEFAULT_wxUSE_TOOLBAR=no
9962 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9963 DEFAULT_wxUSE_TOOLBOOK=no
9964 DEFAULT_wxUSE_TOOLTIPS=no
9965 DEFAULT_wxUSE_TREEBOOK=no
9966 DEFAULT_wxUSE_TREECTRL=no
9967 DEFAULT_wxUSE_TREELISTCTRL=no
9972 defaultval=$wxUSE_ALL_FEATURES
9973 if test -z "$defaultval"; then
9974 if test x"$enablestring" = xdisable; then
9981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9982 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9983 # Check whether --enable-markup was given.
9984 if test "${enable_markup+set}" = set; then
9985 enableval=$enable_markup;
9986 if test "$enableval" = yes; then
9987 wx_cv_use_markup='wxUSE_MARKUP=yes'
9989 wx_cv_use_markup='wxUSE_MARKUP=no'
9994 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9999 eval "$wx_cv_use_markup"
10001 if test x"$enablestring" = xdisable; then
10002 if test $wxUSE_MARKUP = no; then
10008 result=$wxUSE_MARKUP
10011 { echo "$as_me:$LINENO: result: $result" >&5
10012 echo "${ECHO_T}$result" >&6; }
10017 defaultval=$wxUSE_ALL_FEATURES
10018 if test -z "$defaultval"; then
10019 if test x"$enablestring" = xdisable; then
10026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10028 # Check whether --enable-accel was given.
10029 if test "${enable_accel+set}" = set; then
10030 enableval=$enable_accel;
10031 if test "$enableval" = yes; then
10032 wx_cv_use_accel='wxUSE_ACCEL=yes'
10034 wx_cv_use_accel='wxUSE_ACCEL=no'
10039 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10044 eval "$wx_cv_use_accel"
10046 if test x"$enablestring" = xdisable; then
10047 if test $wxUSE_ACCEL = no; then
10053 result=$wxUSE_ACCEL
10056 { echo "$as_me:$LINENO: result: $result" >&5
10057 echo "${ECHO_T}$result" >&6; }
10061 defaultval=$wxUSE_ALL_FEATURES
10062 if test -z "$defaultval"; then
10063 if test x"$enablestring" = xdisable; then
10070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10072 # Check whether --enable-animatectrl was given.
10073 if test "${enable_animatectrl+set}" = set; then
10074 enableval=$enable_animatectrl;
10075 if test "$enableval" = yes; then
10076 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10078 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10083 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10088 eval "$wx_cv_use_animatectrl"
10090 if test x"$enablestring" = xdisable; then
10091 if test $wxUSE_ANIMATIONCTRL = no; then
10097 result=$wxUSE_ANIMATIONCTRL
10100 { echo "$as_me:$LINENO: result: $result" >&5
10101 echo "${ECHO_T}$result" >&6; }
10105 defaultval=$wxUSE_ALL_FEATURES
10106 if test -z "$defaultval"; then
10107 if test x"$enablestring" = xdisable; then
10114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10116 # Check whether --enable-bannerwindow was given.
10117 if test "${enable_bannerwindow+set}" = set; then
10118 enableval=$enable_bannerwindow;
10119 if test "$enableval" = yes; then
10120 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10122 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10127 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10132 eval "$wx_cv_use_bannerwindow"
10134 if test x"$enablestring" = xdisable; then
10135 if test $wxUSE_BANNERWINDOW = no; then
10141 result=$wxUSE_BANNERWINDOW
10144 { echo "$as_me:$LINENO: result: $result" >&5
10145 echo "${ECHO_T}$result" >&6; }
10149 defaultval=$wxUSE_ALL_FEATURES
10150 if test -z "$defaultval"; then
10151 if test x"$enablestring" = xdisable; then
10158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10159 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10160 # Check whether --enable-artstd was given.
10161 if test "${enable_artstd+set}" = set; then
10162 enableval=$enable_artstd;
10163 if test "$enableval" = yes; then
10164 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10166 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10171 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10176 eval "$wx_cv_use_artstd"
10178 if test x"$enablestring" = xdisable; then
10179 if test $wxUSE_ARTPROVIDER_STD = no; then
10185 result=$wxUSE_ARTPROVIDER_STD
10188 { echo "$as_me:$LINENO: result: $result" >&5
10189 echo "${ECHO_T}$result" >&6; }
10193 defaultval=$wxUSE_ALL_FEATURES
10194 if test -z "$defaultval"; then
10195 if test x"$enablestring" = xdisable; then
10202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10203 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10204 # Check whether --enable-arttango was given.
10205 if test "${enable_arttango+set}" = set; then
10206 enableval=$enable_arttango;
10207 if test "$enableval" = yes; then
10208 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10210 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10215 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10220 eval "$wx_cv_use_arttango"
10222 if test x"$enablestring" = xdisable; then
10223 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10229 result=$wxUSE_ARTPROVIDER_TANGO
10232 { echo "$as_me:$LINENO: result: $result" >&5
10233 echo "${ECHO_T}$result" >&6; }
10237 defaultval=$wxUSE_ALL_FEATURES
10238 if test -z "$defaultval"; then
10239 if test x"$enablestring" = xdisable; then
10246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10248 # Check whether --enable-bmpbutton was given.
10249 if test "${enable_bmpbutton+set}" = set; then
10250 enableval=$enable_bmpbutton;
10251 if test "$enableval" = yes; then
10252 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10254 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10259 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10264 eval "$wx_cv_use_bmpbutton"
10266 if test x"$enablestring" = xdisable; then
10267 if test $wxUSE_BMPBUTTON = no; then
10273 result=$wxUSE_BMPBUTTON
10276 { echo "$as_me:$LINENO: result: $result" >&5
10277 echo "${ECHO_T}$result" >&6; }
10281 defaultval=$wxUSE_ALL_FEATURES
10282 if test -z "$defaultval"; then
10283 if test x"$enablestring" = xdisable; then
10290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10292 # Check whether --enable-bmpcombobox was given.
10293 if test "${enable_bmpcombobox+set}" = set; then
10294 enableval=$enable_bmpcombobox;
10295 if test "$enableval" = yes; then
10296 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10298 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10303 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10308 eval "$wx_cv_use_bmpcombobox"
10310 if test x"$enablestring" = xdisable; then
10311 if test $wxUSE_BITMAPCOMBOBOX = no; then
10317 result=$wxUSE_BITMAPCOMBOBOX
10320 { echo "$as_me:$LINENO: result: $result" >&5
10321 echo "${ECHO_T}$result" >&6; }
10325 defaultval=$wxUSE_ALL_FEATURES
10326 if test -z "$defaultval"; then
10327 if test x"$enablestring" = xdisable; then
10334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10335 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10336 # Check whether --enable-button was given.
10337 if test "${enable_button+set}" = set; then
10338 enableval=$enable_button;
10339 if test "$enableval" = yes; then
10340 wx_cv_use_button='wxUSE_BUTTON=yes'
10342 wx_cv_use_button='wxUSE_BUTTON=no'
10347 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10352 eval "$wx_cv_use_button"
10354 if test x"$enablestring" = xdisable; then
10355 if test $wxUSE_BUTTON = no; then
10361 result=$wxUSE_BUTTON
10364 { echo "$as_me:$LINENO: result: $result" >&5
10365 echo "${ECHO_T}$result" >&6; }
10369 defaultval=$wxUSE_ALL_FEATURES
10370 if test -z "$defaultval"; then
10371 if test x"$enablestring" = xdisable; then
10378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10379 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10380 # Check whether --enable-calendar was given.
10381 if test "${enable_calendar+set}" = set; then
10382 enableval=$enable_calendar;
10383 if test "$enableval" = yes; then
10384 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10386 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10391 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10396 eval "$wx_cv_use_calendar"
10398 if test x"$enablestring" = xdisable; then
10399 if test $wxUSE_CALCTRL = no; then
10405 result=$wxUSE_CALCTRL
10408 { echo "$as_me:$LINENO: result: $result" >&5
10409 echo "${ECHO_T}$result" >&6; }
10413 defaultval=$wxUSE_ALL_FEATURES
10414 if test -z "$defaultval"; then
10415 if test x"$enablestring" = xdisable; then
10422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10423 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10424 # Check whether --enable-caret was given.
10425 if test "${enable_caret+set}" = set; then
10426 enableval=$enable_caret;
10427 if test "$enableval" = yes; then
10428 wx_cv_use_caret='wxUSE_CARET=yes'
10430 wx_cv_use_caret='wxUSE_CARET=no'
10435 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10440 eval "$wx_cv_use_caret"
10442 if test x"$enablestring" = xdisable; then
10443 if test $wxUSE_CARET = no; then
10449 result=$wxUSE_CARET
10452 { echo "$as_me:$LINENO: result: $result" >&5
10453 echo "${ECHO_T}$result" >&6; }
10457 defaultval=$wxUSE_ALL_FEATURES
10458 if test -z "$defaultval"; then
10459 if test x"$enablestring" = xdisable; then
10466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10468 # Check whether --enable-checkbox was given.
10469 if test "${enable_checkbox+set}" = set; then
10470 enableval=$enable_checkbox;
10471 if test "$enableval" = yes; then
10472 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10474 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10479 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10484 eval "$wx_cv_use_checkbox"
10486 if test x"$enablestring" = xdisable; then
10487 if test $wxUSE_CHECKBOX = no; then
10493 result=$wxUSE_CHECKBOX
10496 { echo "$as_me:$LINENO: result: $result" >&5
10497 echo "${ECHO_T}$result" >&6; }
10501 defaultval=$wxUSE_ALL_FEATURES
10502 if test -z "$defaultval"; then
10503 if test x"$enablestring" = xdisable; then
10510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10511 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10512 # Check whether --enable-checklst was given.
10513 if test "${enable_checklst+set}" = set; then
10514 enableval=$enable_checklst;
10515 if test "$enableval" = yes; then
10516 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10518 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10523 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10528 eval "$wx_cv_use_checklst"
10530 if test x"$enablestring" = xdisable; then
10531 if test $wxUSE_CHECKLST = no; then
10537 result=$wxUSE_CHECKLST
10540 { echo "$as_me:$LINENO: result: $result" >&5
10541 echo "${ECHO_T}$result" >&6; }
10545 defaultval=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x"$enablestring" = xdisable; then
10554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10556 # Check whether --enable-choice was given.
10557 if test "${enable_choice+set}" = set; then
10558 enableval=$enable_choice;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_choice='wxUSE_CHOICE=yes'
10562 wx_cv_use_choice='wxUSE_CHOICE=no'
10567 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10572 eval "$wx_cv_use_choice"
10574 if test x"$enablestring" = xdisable; then
10575 if test $wxUSE_CHOICE = no; then
10581 result=$wxUSE_CHOICE
10584 { echo "$as_me:$LINENO: result: $result" >&5
10585 echo "${ECHO_T}$result" >&6; }
10589 defaultval=$wxUSE_ALL_FEATURES
10590 if test -z "$defaultval"; then
10591 if test x"$enablestring" = xdisable; then
10598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10600 # Check whether --enable-choicebook was given.
10601 if test "${enable_choicebook+set}" = set; then
10602 enableval=$enable_choicebook;
10603 if test "$enableval" = yes; then
10604 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10606 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10611 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10616 eval "$wx_cv_use_choicebook"
10618 if test x"$enablestring" = xdisable; then
10619 if test $wxUSE_CHOICEBOOK = no; then
10625 result=$wxUSE_CHOICEBOOK
10628 { echo "$as_me:$LINENO: result: $result" >&5
10629 echo "${ECHO_T}$result" >&6; }
10633 defaultval=$wxUSE_ALL_FEATURES
10634 if test -z "$defaultval"; then
10635 if test x"$enablestring" = xdisable; then
10642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10643 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10644 # Check whether --enable-collpane was given.
10645 if test "${enable_collpane+set}" = set; then
10646 enableval=$enable_collpane;
10647 if test "$enableval" = yes; then
10648 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10650 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10655 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10660 eval "$wx_cv_use_collpane"
10662 if test x"$enablestring" = xdisable; then
10663 if test $wxUSE_COLLPANE = no; then
10669 result=$wxUSE_COLLPANE
10672 { echo "$as_me:$LINENO: result: $result" >&5
10673 echo "${ECHO_T}$result" >&6; }
10677 defaultval=$wxUSE_ALL_FEATURES
10678 if test -z "$defaultval"; then
10679 if test x"$enablestring" = xdisable; then
10686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10687 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10688 # Check whether --enable-colourpicker was given.
10689 if test "${enable_colourpicker+set}" = set; then
10690 enableval=$enable_colourpicker;
10691 if test "$enableval" = yes; then
10692 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10694 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10699 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10704 eval "$wx_cv_use_colourpicker"
10706 if test x"$enablestring" = xdisable; then
10707 if test $wxUSE_COLOURPICKERCTRL = no; then
10713 result=$wxUSE_COLOURPICKERCTRL
10716 { echo "$as_me:$LINENO: result: $result" >&5
10717 echo "${ECHO_T}$result" >&6; }
10721 defaultval=$wxUSE_ALL_FEATURES
10722 if test -z "$defaultval"; then
10723 if test x"$enablestring" = xdisable; then
10730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10731 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10732 # Check whether --enable-combobox was given.
10733 if test "${enable_combobox+set}" = set; then
10734 enableval=$enable_combobox;
10735 if test "$enableval" = yes; then
10736 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10738 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10743 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10748 eval "$wx_cv_use_combobox"
10750 if test x"$enablestring" = xdisable; then
10751 if test $wxUSE_COMBOBOX = no; then
10757 result=$wxUSE_COMBOBOX
10760 { echo "$as_me:$LINENO: result: $result" >&5
10761 echo "${ECHO_T}$result" >&6; }
10765 defaultval=$wxUSE_ALL_FEATURES
10766 if test -z "$defaultval"; then
10767 if test x"$enablestring" = xdisable; then
10774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10775 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10776 # Check whether --enable-comboctrl was given.
10777 if test "${enable_comboctrl+set}" = set; then
10778 enableval=$enable_comboctrl;
10779 if test "$enableval" = yes; then
10780 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10782 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10787 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10792 eval "$wx_cv_use_comboctrl"
10794 if test x"$enablestring" = xdisable; then
10795 if test $wxUSE_COMBOCTRL = no; then
10801 result=$wxUSE_COMBOCTRL
10804 { echo "$as_me:$LINENO: result: $result" >&5
10805 echo "${ECHO_T}$result" >&6; }
10809 defaultval=$wxUSE_ALL_FEATURES
10810 if test -z "$defaultval"; then
10811 if test x"$enablestring" = xdisable; then
10818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10819 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10820 # Check whether --enable-commandlinkbutton was given.
10821 if test "${enable_commandlinkbutton+set}" = set; then
10822 enableval=$enable_commandlinkbutton;
10823 if test "$enableval" = yes; then
10824 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10826 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10831 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10836 eval "$wx_cv_use_commandlinkbutton"
10838 if test x"$enablestring" = xdisable; then
10839 if test $wxUSE_COMMANDLINKBUTTON = no; then
10845 result=$wxUSE_COMMANDLINKBUTTON
10848 { echo "$as_me:$LINENO: result: $result" >&5
10849 echo "${ECHO_T}$result" >&6; }
10853 defaultval=$wxUSE_ALL_FEATURES
10854 if test -z "$defaultval"; then
10855 if test x"$enablestring" = xdisable; then
10862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10863 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10864 # Check whether --enable-dataviewctrl was given.
10865 if test "${enable_dataviewctrl+set}" = set; then
10866 enableval=$enable_dataviewctrl;
10867 if test "$enableval" = yes; then
10868 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10870 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10875 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10880 eval "$wx_cv_use_dataviewctrl"
10882 if test x"$enablestring" = xdisable; then
10883 if test $wxUSE_DATAVIEWCTRL = no; then
10889 result=$wxUSE_DATAVIEWCTRL
10892 { echo "$as_me:$LINENO: result: $result" >&5
10893 echo "${ECHO_T}$result" >&6; }
10897 defaultval=$wxUSE_ALL_FEATURES
10898 if test -z "$defaultval"; then
10899 if test x"$enablestring" = xdisable; then
10906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10907 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10908 # Check whether --enable-datepick was given.
10909 if test "${enable_datepick+set}" = set; then
10910 enableval=$enable_datepick;
10911 if test "$enableval" = yes; then
10912 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10914 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10919 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10924 eval "$wx_cv_use_datepick"
10926 if test x"$enablestring" = xdisable; then
10927 if test $wxUSE_DATEPICKCTRL = no; then
10933 result=$wxUSE_DATEPICKCTRL
10936 { echo "$as_me:$LINENO: result: $result" >&5
10937 echo "${ECHO_T}$result" >&6; }
10941 defaultval=$wxUSE_ALL_FEATURES
10942 if test -z "$defaultval"; then
10943 if test x"$enablestring" = xdisable; then
10950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10951 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10952 # Check whether --enable-detect_sm was given.
10953 if test "${enable_detect_sm+set}" = set; then
10954 enableval=$enable_detect_sm;
10955 if test "$enableval" = yes; then
10956 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10958 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10963 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10968 eval "$wx_cv_use_detect_sm"
10970 if test x"$enablestring" = xdisable; then
10971 if test $wxUSE_DETECT_SM = no; then
10977 result=$wxUSE_DETECT_SM
10980 { echo "$as_me:$LINENO: result: $result" >&5
10981 echo "${ECHO_T}$result" >&6; }
10985 defaultval=$wxUSE_ALL_FEATURES
10986 if test -z "$defaultval"; then
10987 if test x"$enablestring" = xdisable; then
10994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10995 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10996 # Check whether --enable-dirpicker was given.
10997 if test "${enable_dirpicker+set}" = set; then
10998 enableval=$enable_dirpicker;
10999 if test "$enableval" = yes; then
11000 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11002 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11007 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11012 eval "$wx_cv_use_dirpicker"
11014 if test x"$enablestring" = xdisable; then
11015 if test $wxUSE_DIRPICKERCTRL = no; then
11021 result=$wxUSE_DIRPICKERCTRL
11024 { echo "$as_me:$LINENO: result: $result" >&5
11025 echo "${ECHO_T}$result" >&6; }
11029 defaultval=$wxUSE_ALL_FEATURES
11030 if test -z "$defaultval"; then
11031 if test x"$enablestring" = xdisable; then
11038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11039 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11040 # Check whether --enable-display was given.
11041 if test "${enable_display+set}" = set; then
11042 enableval=$enable_display;
11043 if test "$enableval" = yes; then
11044 wx_cv_use_display='wxUSE_DISPLAY=yes'
11046 wx_cv_use_display='wxUSE_DISPLAY=no'
11051 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11056 eval "$wx_cv_use_display"
11058 if test x"$enablestring" = xdisable; then
11059 if test $wxUSE_DISPLAY = no; then
11065 result=$wxUSE_DISPLAY
11068 { echo "$as_me:$LINENO: result: $result" >&5
11069 echo "${ECHO_T}$result" >&6; }
11073 defaultval=$wxUSE_ALL_FEATURES
11074 if test -z "$defaultval"; then
11075 if test x"$enablestring" = xdisable; then
11082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11083 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11084 # Check whether --enable-editablebox was given.
11085 if test "${enable_editablebox+set}" = set; then
11086 enableval=$enable_editablebox;
11087 if test "$enableval" = yes; then
11088 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11090 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11095 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11100 eval "$wx_cv_use_editablebox"
11102 if test x"$enablestring" = xdisable; then
11103 if test $wxUSE_EDITABLELISTBOX = no; then
11109 result=$wxUSE_EDITABLELISTBOX
11112 { echo "$as_me:$LINENO: result: $result" >&5
11113 echo "${ECHO_T}$result" >&6; }
11117 defaultval=$wxUSE_ALL_FEATURES
11118 if test -z "$defaultval"; then
11119 if test x"$enablestring" = xdisable; then
11126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11128 # Check whether --enable-filectrl was given.
11129 if test "${enable_filectrl+set}" = set; then
11130 enableval=$enable_filectrl;
11131 if test "$enableval" = yes; then
11132 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11134 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11139 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11144 eval "$wx_cv_use_filectrl"
11146 if test x"$enablestring" = xdisable; then
11147 if test $wxUSE_FILECTRL = no; then
11153 result=$wxUSE_FILECTRL
11156 { echo "$as_me:$LINENO: result: $result" >&5
11157 echo "${ECHO_T}$result" >&6; }
11161 defaultval=$wxUSE_ALL_FEATURES
11162 if test -z "$defaultval"; then
11163 if test x"$enablestring" = xdisable; then
11170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11171 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11172 # Check whether --enable-filepicker was given.
11173 if test "${enable_filepicker+set}" = set; then
11174 enableval=$enable_filepicker;
11175 if test "$enableval" = yes; then
11176 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11178 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11183 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11188 eval "$wx_cv_use_filepicker"
11190 if test x"$enablestring" = xdisable; then
11191 if test $wxUSE_FILEPICKERCTRL = no; then
11197 result=$wxUSE_FILEPICKERCTRL
11200 { echo "$as_me:$LINENO: result: $result" >&5
11201 echo "${ECHO_T}$result" >&6; }
11205 defaultval=$wxUSE_ALL_FEATURES
11206 if test -z "$defaultval"; then
11207 if test x"$enablestring" = xdisable; then
11214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11215 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11216 # Check whether --enable-fontpicker was given.
11217 if test "${enable_fontpicker+set}" = set; then
11218 enableval=$enable_fontpicker;
11219 if test "$enableval" = yes; then
11220 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11222 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11227 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11232 eval "$wx_cv_use_fontpicker"
11234 if test x"$enablestring" = xdisable; then
11235 if test $wxUSE_FONTPICKERCTRL = no; then
11241 result=$wxUSE_FONTPICKERCTRL
11244 { echo "$as_me:$LINENO: result: $result" >&5
11245 echo "${ECHO_T}$result" >&6; }
11249 defaultval=$wxUSE_ALL_FEATURES
11250 if test -z "$defaultval"; then
11251 if test x"$enablestring" = xdisable; then
11258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11259 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11260 # Check whether --enable-gauge was given.
11261 if test "${enable_gauge+set}" = set; then
11262 enableval=$enable_gauge;
11263 if test "$enableval" = yes; then
11264 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11266 wx_cv_use_gauge='wxUSE_GAUGE=no'
11271 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11276 eval "$wx_cv_use_gauge"
11278 if test x"$enablestring" = xdisable; then
11279 if test $wxUSE_GAUGE = no; then
11285 result=$wxUSE_GAUGE
11288 { echo "$as_me:$LINENO: result: $result" >&5
11289 echo "${ECHO_T}$result" >&6; }
11293 defaultval=$wxUSE_ALL_FEATURES
11294 if test -z "$defaultval"; then
11295 if test x"$enablestring" = xdisable; then
11302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11303 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11304 # Check whether --enable-grid was given.
11305 if test "${enable_grid+set}" = set; then
11306 enableval=$enable_grid;
11307 if test "$enableval" = yes; then
11308 wx_cv_use_grid='wxUSE_GRID=yes'
11310 wx_cv_use_grid='wxUSE_GRID=no'
11315 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11320 eval "$wx_cv_use_grid"
11322 if test x"$enablestring" = xdisable; then
11323 if test $wxUSE_GRID = no; then
11332 { echo "$as_me:$LINENO: result: $result" >&5
11333 echo "${ECHO_T}$result" >&6; }
11337 defaultval=$wxUSE_ALL_FEATURES
11338 if test -z "$defaultval"; then
11339 if test x"$enablestring" = xdisable; then
11346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11347 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11348 # Check whether --enable-headerctrl was given.
11349 if test "${enable_headerctrl+set}" = set; then
11350 enableval=$enable_headerctrl;
11351 if test "$enableval" = yes; then
11352 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11354 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11359 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11364 eval "$wx_cv_use_headerctrl"
11366 if test x"$enablestring" = xdisable; then
11367 if test $wxUSE_HEADERCTRL = no; then
11373 result=$wxUSE_HEADERCTRL
11376 { echo "$as_me:$LINENO: result: $result" >&5
11377 echo "${ECHO_T}$result" >&6; }
11381 defaultval=$wxUSE_ALL_FEATURES
11382 if test -z "$defaultval"; then
11383 if test x"$enablestring" = xdisable; then
11390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11391 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11392 # Check whether --enable-hyperlink was given.
11393 if test "${enable_hyperlink+set}" = set; then
11394 enableval=$enable_hyperlink;
11395 if test "$enableval" = yes; then
11396 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11398 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11403 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11408 eval "$wx_cv_use_hyperlink"
11410 if test x"$enablestring" = xdisable; then
11411 if test $wxUSE_HYPERLINKCTRL = no; then
11417 result=$wxUSE_HYPERLINKCTRL
11420 { echo "$as_me:$LINENO: result: $result" >&5
11421 echo "${ECHO_T}$result" >&6; }
11425 defaultval=$wxUSE_ALL_FEATURES
11426 if test -z "$defaultval"; then
11427 if test x"$enablestring" = xdisable; then
11434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11435 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11436 # Check whether --enable-imaglist was given.
11437 if test "${enable_imaglist+set}" = set; then
11438 enableval=$enable_imaglist;
11439 if test "$enableval" = yes; then
11440 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11442 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11447 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11452 eval "$wx_cv_use_imaglist"
11454 if test x"$enablestring" = xdisable; then
11455 if test $wxUSE_IMAGLIST = no; then
11461 result=$wxUSE_IMAGLIST
11464 { echo "$as_me:$LINENO: result: $result" >&5
11465 echo "${ECHO_T}$result" >&6; }
11469 defaultval=$wxUSE_ALL_FEATURES
11470 if test -z "$defaultval"; then
11471 if test x"$enablestring" = xdisable; then
11478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11479 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11480 # Check whether --enable-infobar was given.
11481 if test "${enable_infobar+set}" = set; then
11482 enableval=$enable_infobar;
11483 if test "$enableval" = yes; then
11484 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11486 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11491 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11496 eval "$wx_cv_use_infobar"
11498 if test x"$enablestring" = xdisable; then
11499 if test $wxUSE_INFOBAR = no; then
11505 result=$wxUSE_INFOBAR
11508 { echo "$as_me:$LINENO: result: $result" >&5
11509 echo "${ECHO_T}$result" >&6; }
11513 defaultval=$wxUSE_ALL_FEATURES
11514 if test -z "$defaultval"; then
11515 if test x"$enablestring" = xdisable; then
11522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11523 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11524 # Check whether --enable-listbook was given.
11525 if test "${enable_listbook+set}" = set; then
11526 enableval=$enable_listbook;
11527 if test "$enableval" = yes; then
11528 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11530 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11535 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11540 eval "$wx_cv_use_listbook"
11542 if test x"$enablestring" = xdisable; then
11543 if test $wxUSE_LISTBOOK = no; then
11549 result=$wxUSE_LISTBOOK
11552 { echo "$as_me:$LINENO: result: $result" >&5
11553 echo "${ECHO_T}$result" >&6; }
11557 defaultval=$wxUSE_ALL_FEATURES
11558 if test -z "$defaultval"; then
11559 if test x"$enablestring" = xdisable; then
11566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11567 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11568 # Check whether --enable-listbox was given.
11569 if test "${enable_listbox+set}" = set; then
11570 enableval=$enable_listbox;
11571 if test "$enableval" = yes; then
11572 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11574 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11579 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11584 eval "$wx_cv_use_listbox"
11586 if test x"$enablestring" = xdisable; then
11587 if test $wxUSE_LISTBOX = no; then
11593 result=$wxUSE_LISTBOX
11596 { echo "$as_me:$LINENO: result: $result" >&5
11597 echo "${ECHO_T}$result" >&6; }
11601 defaultval=$wxUSE_ALL_FEATURES
11602 if test -z "$defaultval"; then
11603 if test x"$enablestring" = xdisable; then
11610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11611 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11612 # Check whether --enable-listctrl was given.
11613 if test "${enable_listctrl+set}" = set; then
11614 enableval=$enable_listctrl;
11615 if test "$enableval" = yes; then
11616 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11618 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11623 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11628 eval "$wx_cv_use_listctrl"
11630 if test x"$enablestring" = xdisable; then
11631 if test $wxUSE_LISTCTRL = no; then
11637 result=$wxUSE_LISTCTRL
11640 { echo "$as_me:$LINENO: result: $result" >&5
11641 echo "${ECHO_T}$result" >&6; }
11645 defaultval=$wxUSE_ALL_FEATURES
11646 if test -z "$defaultval"; then
11647 if test x"$enablestring" = xdisable; then
11654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11655 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11656 # Check whether --enable-notebook was given.
11657 if test "${enable_notebook+set}" = set; then
11658 enableval=$enable_notebook;
11659 if test "$enableval" = yes; then
11660 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11662 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11667 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11672 eval "$wx_cv_use_notebook"
11674 if test x"$enablestring" = xdisable; then
11675 if test $wxUSE_NOTEBOOK = no; then
11681 result=$wxUSE_NOTEBOOK
11684 { echo "$as_me:$LINENO: result: $result" >&5
11685 echo "${ECHO_T}$result" >&6; }
11689 defaultval=$wxUSE_ALL_FEATURES
11690 if test -z "$defaultval"; then
11691 if test x"$enablestring" = xdisable; then
11698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11699 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11700 # Check whether --enable-notifmsg was given.
11701 if test "${enable_notifmsg+set}" = set; then
11702 enableval=$enable_notifmsg;
11703 if test "$enableval" = yes; then
11704 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11706 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11711 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11716 eval "$wx_cv_use_notifmsg"
11718 if test x"$enablestring" = xdisable; then
11719 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11725 result=$wxUSE_NOTIFICATION_MESSAGE
11728 { echo "$as_me:$LINENO: result: $result" >&5
11729 echo "${ECHO_T}$result" >&6; }
11733 defaultval=$wxUSE_ALL_FEATURES
11734 if test -z "$defaultval"; then
11735 if test x"$enablestring" = xdisable; then
11742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11743 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11744 # Check whether --enable-odcombobox was given.
11745 if test "${enable_odcombobox+set}" = set; then
11746 enableval=$enable_odcombobox;
11747 if test "$enableval" = yes; then
11748 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11750 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11755 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11760 eval "$wx_cv_use_odcombobox"
11762 if test x"$enablestring" = xdisable; then
11763 if test $wxUSE_ODCOMBOBOX = no; then
11769 result=$wxUSE_ODCOMBOBOX
11772 { echo "$as_me:$LINENO: result: $result" >&5
11773 echo "${ECHO_T}$result" >&6; }
11777 defaultval=$wxUSE_ALL_FEATURES
11778 if test -z "$defaultval"; then
11779 if test x"$enablestring" = xdisable; then
11786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11787 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11788 # Check whether --enable-popupwin was given.
11789 if test "${enable_popupwin+set}" = set; then
11790 enableval=$enable_popupwin;
11791 if test "$enableval" = yes; then
11792 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11794 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11799 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11804 eval "$wx_cv_use_popupwin"
11806 if test x"$enablestring" = xdisable; then
11807 if test $wxUSE_POPUPWIN = no; then
11813 result=$wxUSE_POPUPWIN
11816 { echo "$as_me:$LINENO: result: $result" >&5
11817 echo "${ECHO_T}$result" >&6; }
11821 defaultval=$wxUSE_ALL_FEATURES
11822 if test -z "$defaultval"; then
11823 if test x"$enablestring" = xdisable; then
11830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11831 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11832 # Check whether --enable-radiobox was given.
11833 if test "${enable_radiobox+set}" = set; then
11834 enableval=$enable_radiobox;
11835 if test "$enableval" = yes; then
11836 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11838 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11843 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11848 eval "$wx_cv_use_radiobox"
11850 if test x"$enablestring" = xdisable; then
11851 if test $wxUSE_RADIOBOX = no; then
11857 result=$wxUSE_RADIOBOX
11860 { echo "$as_me:$LINENO: result: $result" >&5
11861 echo "${ECHO_T}$result" >&6; }
11865 defaultval=$wxUSE_ALL_FEATURES
11866 if test -z "$defaultval"; then
11867 if test x"$enablestring" = xdisable; then
11874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11875 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11876 # Check whether --enable-radiobtn was given.
11877 if test "${enable_radiobtn+set}" = set; then
11878 enableval=$enable_radiobtn;
11879 if test "$enableval" = yes; then
11880 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11882 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11887 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11892 eval "$wx_cv_use_radiobtn"
11894 if test x"$enablestring" = xdisable; then
11895 if test $wxUSE_RADIOBTN = no; then
11901 result=$wxUSE_RADIOBTN
11904 { echo "$as_me:$LINENO: result: $result" >&5
11905 echo "${ECHO_T}$result" >&6; }
11909 defaultval=$wxUSE_ALL_FEATURES
11910 if test -z "$defaultval"; then
11911 if test x"$enablestring" = xdisable; then
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11920 # Check whether --enable-richmsgdlg was given.
11921 if test "${enable_richmsgdlg+set}" = set; then
11922 enableval=$enable_richmsgdlg;
11923 if test "$enableval" = yes; then
11924 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11926 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11931 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11936 eval "$wx_cv_use_richmsgdlg"
11938 if test x"$enablestring" = xdisable; then
11939 if test $wxUSE_RICHMSGDLG = no; then
11945 result=$wxUSE_RICHMSGDLG
11948 { echo "$as_me:$LINENO: result: $result" >&5
11949 echo "${ECHO_T}$result" >&6; }
11953 defaultval=$wxUSE_ALL_FEATURES
11954 if test -z "$defaultval"; then
11955 if test x"$enablestring" = xdisable; then
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtooltip" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-richtooltip... $ECHO_C" >&6; }
11964 # Check whether --enable-richtooltip was given.
11965 if test "${enable_richtooltip+set}" = set; then
11966 enableval=$enable_richtooltip;
11967 if test "$enableval" = yes; then
11968 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
11970 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
11975 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
11980 eval "$wx_cv_use_richtooltip"
11982 if test x"$enablestring" = xdisable; then
11983 if test $wxUSE_RICHTOOLTIP = no; then
11989 result=$wxUSE_RICHTOOLTIP
11992 { echo "$as_me:$LINENO: result: $result" >&5
11993 echo "${ECHO_T}$result" >&6; }
11997 defaultval=$wxUSE_ALL_FEATURES
11998 if test -z "$defaultval"; then
11999 if test x"$enablestring" = xdisable; then
12006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
12007 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
12008 # Check whether --enable-rearrangectrl was given.
12009 if test "${enable_rearrangectrl+set}" = set; then
12010 enableval=$enable_rearrangectrl;
12011 if test "$enableval" = yes; then
12012 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
12014 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
12019 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
12024 eval "$wx_cv_use_rearrangectrl"
12026 if test x"$enablestring" = xdisable; then
12027 if test $wxUSE_REARRANGECTRL = no; then
12033 result=$wxUSE_REARRANGECTRL
12036 { echo "$as_me:$LINENO: result: $result" >&5
12037 echo "${ECHO_T}$result" >&6; }
12041 defaultval=$wxUSE_ALL_FEATURES
12042 if test -z "$defaultval"; then
12043 if test x"$enablestring" = xdisable; then
12050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12051 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12052 # Check whether --enable-sash was given.
12053 if test "${enable_sash+set}" = set; then
12054 enableval=$enable_sash;
12055 if test "$enableval" = yes; then
12056 wx_cv_use_sash='wxUSE_SASH=yes'
12058 wx_cv_use_sash='wxUSE_SASH=no'
12063 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12068 eval "$wx_cv_use_sash"
12070 if test x"$enablestring" = xdisable; then
12071 if test $wxUSE_SASH = no; then
12080 { echo "$as_me:$LINENO: result: $result" >&5
12081 echo "${ECHO_T}$result" >&6; }
12085 defaultval=$wxUSE_ALL_FEATURES
12086 if test -z "$defaultval"; then
12087 if test x"$enablestring" = xdisable; then
12094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12095 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12096 # Check whether --enable-scrollbar was given.
12097 if test "${enable_scrollbar+set}" = set; then
12098 enableval=$enable_scrollbar;
12099 if test "$enableval" = yes; then
12100 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12102 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12107 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12112 eval "$wx_cv_use_scrollbar"
12114 if test x"$enablestring" = xdisable; then
12115 if test $wxUSE_SCROLLBAR = no; then
12121 result=$wxUSE_SCROLLBAR
12124 { echo "$as_me:$LINENO: result: $result" >&5
12125 echo "${ECHO_T}$result" >&6; }
12129 defaultval=$wxUSE_ALL_FEATURES
12130 if test -z "$defaultval"; then
12131 if test x"$enablestring" = xdisable; then
12138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12139 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12140 # Check whether --enable-searchctrl was given.
12141 if test "${enable_searchctrl+set}" = set; then
12142 enableval=$enable_searchctrl;
12143 if test "$enableval" = yes; then
12144 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12146 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12151 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12156 eval "$wx_cv_use_searchctrl"
12158 if test x"$enablestring" = xdisable; then
12159 if test $wxUSE_SEARCHCTRL = no; then
12165 result=$wxUSE_SEARCHCTRL
12168 { echo "$as_me:$LINENO: result: $result" >&5
12169 echo "${ECHO_T}$result" >&6; }
12173 defaultval=$wxUSE_ALL_FEATURES
12174 if test -z "$defaultval"; then
12175 if test x"$enablestring" = xdisable; then
12182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12184 # Check whether --enable-slider was given.
12185 if test "${enable_slider+set}" = set; then
12186 enableval=$enable_slider;
12187 if test "$enableval" = yes; then
12188 wx_cv_use_slider='wxUSE_SLIDER=yes'
12190 wx_cv_use_slider='wxUSE_SLIDER=no'
12195 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12200 eval "$wx_cv_use_slider"
12202 if test x"$enablestring" = xdisable; then
12203 if test $wxUSE_SLIDER = no; then
12209 result=$wxUSE_SLIDER
12212 { echo "$as_me:$LINENO: result: $result" >&5
12213 echo "${ECHO_T}$result" >&6; }
12217 defaultval=$wxUSE_ALL_FEATURES
12218 if test -z "$defaultval"; then
12219 if test x"$enablestring" = xdisable; then
12226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12227 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12228 # Check whether --enable-spinbtn was given.
12229 if test "${enable_spinbtn+set}" = set; then
12230 enableval=$enable_spinbtn;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12234 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12239 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12244 eval "$wx_cv_use_spinbtn"
12246 if test x"$enablestring" = xdisable; then
12247 if test $wxUSE_SPINBTN = no; then
12253 result=$wxUSE_SPINBTN
12256 { echo "$as_me:$LINENO: result: $result" >&5
12257 echo "${ECHO_T}$result" >&6; }
12261 defaultval=$wxUSE_ALL_FEATURES
12262 if test -z "$defaultval"; then
12263 if test x"$enablestring" = xdisable; then
12270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12271 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12272 # Check whether --enable-spinctrl was given.
12273 if test "${enable_spinctrl+set}" = set; then
12274 enableval=$enable_spinctrl;
12275 if test "$enableval" = yes; then
12276 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12278 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12283 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12288 eval "$wx_cv_use_spinctrl"
12290 if test x"$enablestring" = xdisable; then
12291 if test $wxUSE_SPINCTRL = no; then
12297 result=$wxUSE_SPINCTRL
12300 { echo "$as_me:$LINENO: result: $result" >&5
12301 echo "${ECHO_T}$result" >&6; }
12305 defaultval=$wxUSE_ALL_FEATURES
12306 if test -z "$defaultval"; then
12307 if test x"$enablestring" = xdisable; then
12314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12315 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12316 # Check whether --enable-splitter was given.
12317 if test "${enable_splitter+set}" = set; then
12318 enableval=$enable_splitter;
12319 if test "$enableval" = yes; then
12320 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12322 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12327 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12332 eval "$wx_cv_use_splitter"
12334 if test x"$enablestring" = xdisable; then
12335 if test $wxUSE_SPLITTER = no; then
12341 result=$wxUSE_SPLITTER
12344 { echo "$as_me:$LINENO: result: $result" >&5
12345 echo "${ECHO_T}$result" >&6; }
12349 defaultval=$wxUSE_ALL_FEATURES
12350 if test -z "$defaultval"; then
12351 if test x"$enablestring" = xdisable; then
12358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12359 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12360 # Check whether --enable-statbmp was given.
12361 if test "${enable_statbmp+set}" = set; then
12362 enableval=$enable_statbmp;
12363 if test "$enableval" = yes; then
12364 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12366 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12371 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12376 eval "$wx_cv_use_statbmp"
12378 if test x"$enablestring" = xdisable; then
12379 if test $wxUSE_STATBMP = no; then
12385 result=$wxUSE_STATBMP
12388 { echo "$as_me:$LINENO: result: $result" >&5
12389 echo "${ECHO_T}$result" >&6; }
12393 defaultval=$wxUSE_ALL_FEATURES
12394 if test -z "$defaultval"; then
12395 if test x"$enablestring" = xdisable; then
12402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12403 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12404 # Check whether --enable-statbox was given.
12405 if test "${enable_statbox+set}" = set; then
12406 enableval=$enable_statbox;
12407 if test "$enableval" = yes; then
12408 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12410 wx_cv_use_statbox='wxUSE_STATBOX=no'
12415 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12420 eval "$wx_cv_use_statbox"
12422 if test x"$enablestring" = xdisable; then
12423 if test $wxUSE_STATBOX = no; then
12429 result=$wxUSE_STATBOX
12432 { echo "$as_me:$LINENO: result: $result" >&5
12433 echo "${ECHO_T}$result" >&6; }
12437 defaultval=$wxUSE_ALL_FEATURES
12438 if test -z "$defaultval"; then
12439 if test x"$enablestring" = xdisable; then
12446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12447 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12448 # Check whether --enable-statline was given.
12449 if test "${enable_statline+set}" = set; then
12450 enableval=$enable_statline;
12451 if test "$enableval" = yes; then
12452 wx_cv_use_statline='wxUSE_STATLINE=yes'
12454 wx_cv_use_statline='wxUSE_STATLINE=no'
12459 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12464 eval "$wx_cv_use_statline"
12466 if test x"$enablestring" = xdisable; then
12467 if test $wxUSE_STATLINE = no; then
12473 result=$wxUSE_STATLINE
12476 { echo "$as_me:$LINENO: result: $result" >&5
12477 echo "${ECHO_T}$result" >&6; }
12481 defaultval=$wxUSE_ALL_FEATURES
12482 if test -z "$defaultval"; then
12483 if test x"$enablestring" = xdisable; then
12490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12491 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12492 # Check whether --enable-stattext was given.
12493 if test "${enable_stattext+set}" = set; then
12494 enableval=$enable_stattext;
12495 if test "$enableval" = yes; then
12496 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12498 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12503 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12508 eval "$wx_cv_use_stattext"
12510 if test x"$enablestring" = xdisable; then
12511 if test $wxUSE_STATTEXT = no; then
12517 result=$wxUSE_STATTEXT
12520 { echo "$as_me:$LINENO: result: $result" >&5
12521 echo "${ECHO_T}$result" >&6; }
12525 defaultval=$wxUSE_ALL_FEATURES
12526 if test -z "$defaultval"; then
12527 if test x"$enablestring" = xdisable; then
12534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12535 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12536 # Check whether --enable-statusbar was given.
12537 if test "${enable_statusbar+set}" = set; then
12538 enableval=$enable_statusbar;
12539 if test "$enableval" = yes; then
12540 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12542 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12547 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12552 eval "$wx_cv_use_statusbar"
12554 if test x"$enablestring" = xdisable; then
12555 if test $wxUSE_STATUSBAR = no; then
12561 result=$wxUSE_STATUSBAR
12564 { echo "$as_me:$LINENO: result: $result" >&5
12565 echo "${ECHO_T}$result" >&6; }
12569 defaultval=$wxUSE_ALL_FEATURES
12570 if test -z "$defaultval"; then
12571 if test x"$enablestring" = xdisable; then
12578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12579 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12580 # Check whether --enable-taskbaricon was given.
12581 if test "${enable_taskbaricon+set}" = set; then
12582 enableval=$enable_taskbaricon;
12583 if test "$enableval" = yes; then
12584 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12586 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12591 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12596 eval "$wx_cv_use_taskbaricon"
12598 if test x"$enablestring" = xdisable; then
12599 if test $wxUSE_TASKBARICON = no; then
12605 result=$wxUSE_TASKBARICON
12608 { echo "$as_me:$LINENO: result: $result" >&5
12609 echo "${ECHO_T}$result" >&6; }
12613 defaultval=$wxUSE_ALL_FEATURES
12614 if test -z "$defaultval"; then
12615 if test x"$enablestring" = xdisable; then
12622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12623 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12624 # Check whether --enable-tbarnative was given.
12625 if test "${enable_tbarnative+set}" = set; then
12626 enableval=$enable_tbarnative;
12627 if test "$enableval" = yes; then
12628 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12630 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12635 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12640 eval "$wx_cv_use_tbarnative"
12642 if test x"$enablestring" = xdisable; then
12643 if test $wxUSE_TOOLBAR_NATIVE = no; then
12649 result=$wxUSE_TOOLBAR_NATIVE
12652 { echo "$as_me:$LINENO: result: $result" >&5
12653 echo "${ECHO_T}$result" >&6; }
12657 defaultval=$wxUSE_ALL_FEATURES
12658 if test -z "$defaultval"; then
12659 if test x"$enablestring" = xdisable; then
12666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12667 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12668 # Check whether --enable-textctrl was given.
12669 if test "${enable_textctrl+set}" = set; then
12670 enableval=$enable_textctrl;
12671 if test "$enableval" = yes; then
12672 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12674 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12679 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12684 eval "$wx_cv_use_textctrl"
12686 if test x"$enablestring" = xdisable; then
12687 if test $wxUSE_TEXTCTRL = no; then
12693 result=$wxUSE_TEXTCTRL
12696 { echo "$as_me:$LINENO: result: $result" >&5
12697 echo "${ECHO_T}$result" >&6; }
12701 defaultval=$wxUSE_ALL_FEATURES
12702 if test -z "$defaultval"; then
12703 if test x"$enablestring" = xdisable; then
12710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
12711 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
12712 # Check whether --enable-datepick was given.
12713 if test "${enable_datepick+set}" = set; then
12714 enableval=$enable_datepick;
12715 if test "$enableval" = yes; then
12716 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
12718 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
12723 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12728 eval "$wx_cv_use_datepick"
12730 if test x"$enablestring" = xdisable; then
12731 if test $wxUSE_TIMEPICKCTRL = no; then
12737 result=$wxUSE_TIMEPICKCTRL
12740 { echo "$as_me:$LINENO: result: $result" >&5
12741 echo "${ECHO_T}$result" >&6; }
12745 defaultval=$wxUSE_ALL_FEATURES
12746 if test -z "$defaultval"; then
12747 if test x"$enablestring" = xdisable; then
12754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12755 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12756 # Check whether --enable-tipwindow was given.
12757 if test "${enable_tipwindow+set}" = set; then
12758 enableval=$enable_tipwindow;
12759 if test "$enableval" = yes; then
12760 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12762 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12767 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12772 eval "$wx_cv_use_tipwindow"
12774 if test x"$enablestring" = xdisable; then
12775 if test $wxUSE_TIPWINDOW = no; then
12781 result=$wxUSE_TIPWINDOW
12784 { echo "$as_me:$LINENO: result: $result" >&5
12785 echo "${ECHO_T}$result" >&6; }
12789 defaultval=$wxUSE_ALL_FEATURES
12790 if test -z "$defaultval"; then
12791 if test x"$enablestring" = xdisable; then
12798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12799 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12800 # Check whether --enable-togglebtn was given.
12801 if test "${enable_togglebtn+set}" = set; then
12802 enableval=$enable_togglebtn;
12803 if test "$enableval" = yes; then
12804 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12806 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12811 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12816 eval "$wx_cv_use_togglebtn"
12818 if test x"$enablestring" = xdisable; then
12819 if test $wxUSE_TOGGLEBTN = no; then
12825 result=$wxUSE_TOGGLEBTN
12828 { echo "$as_me:$LINENO: result: $result" >&5
12829 echo "${ECHO_T}$result" >&6; }
12833 defaultval=$wxUSE_ALL_FEATURES
12834 if test -z "$defaultval"; then
12835 if test x"$enablestring" = xdisable; then
12842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12843 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12844 # Check whether --enable-toolbar was given.
12845 if test "${enable_toolbar+set}" = set; then
12846 enableval=$enable_toolbar;
12847 if test "$enableval" = yes; then
12848 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12850 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12855 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12860 eval "$wx_cv_use_toolbar"
12862 if test x"$enablestring" = xdisable; then
12863 if test $wxUSE_TOOLBAR = no; then
12869 result=$wxUSE_TOOLBAR
12872 { echo "$as_me:$LINENO: result: $result" >&5
12873 echo "${ECHO_T}$result" >&6; }
12877 defaultval=$wxUSE_ALL_FEATURES
12878 if test -z "$defaultval"; then
12879 if test x"$enablestring" = xdisable; then
12886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12887 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12888 # Check whether --enable-toolbook was given.
12889 if test "${enable_toolbook+set}" = set; then
12890 enableval=$enable_toolbook;
12891 if test "$enableval" = yes; then
12892 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12894 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12899 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12904 eval "$wx_cv_use_toolbook"
12906 if test x"$enablestring" = xdisable; then
12907 if test $wxUSE_TOOLBOOK = no; then
12913 result=$wxUSE_TOOLBOOK
12916 { echo "$as_me:$LINENO: result: $result" >&5
12917 echo "${ECHO_T}$result" >&6; }
12921 defaultval=$wxUSE_ALL_FEATURES
12922 if test -z "$defaultval"; then
12923 if test x"$enablestring" = xdisable; then
12930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12931 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12932 # Check whether --enable-treebook was given.
12933 if test "${enable_treebook+set}" = set; then
12934 enableval=$enable_treebook;
12935 if test "$enableval" = yes; then
12936 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12938 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12943 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12948 eval "$wx_cv_use_treebook"
12950 if test x"$enablestring" = xdisable; then
12951 if test $wxUSE_TREEBOOK = no; then
12957 result=$wxUSE_TREEBOOK
12960 { echo "$as_me:$LINENO: result: $result" >&5
12961 echo "${ECHO_T}$result" >&6; }
12965 defaultval=$wxUSE_ALL_FEATURES
12966 if test -z "$defaultval"; then
12967 if test x"$enablestring" = xdisable; then
12974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12975 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12976 # Check whether --enable-treectrl was given.
12977 if test "${enable_treectrl+set}" = set; then
12978 enableval=$enable_treectrl;
12979 if test "$enableval" = yes; then
12980 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12982 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12987 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12992 eval "$wx_cv_use_treectrl"
12994 if test x"$enablestring" = xdisable; then
12995 if test $wxUSE_TREECTRL = no; then
13001 result=$wxUSE_TREECTRL
13004 { echo "$as_me:$LINENO: result: $result" >&5
13005 echo "${ECHO_T}$result" >&6; }
13009 defaultval=$wxUSE_ALL_FEATURES
13010 if test -z "$defaultval"; then
13011 if test x"$enablestring" = xdisable; then
13018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
13019 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
13020 # Check whether --enable-treelist was given.
13021 if test "${enable_treelist+set}" = set; then
13022 enableval=$enable_treelist;
13023 if test "$enableval" = yes; then
13024 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
13026 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
13031 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
13036 eval "$wx_cv_use_treelist"
13038 if test x"$enablestring" = xdisable; then
13039 if test $wxUSE_TREELISTCTRL = no; then
13045 result=$wxUSE_TREELISTCTRL
13048 { echo "$as_me:$LINENO: result: $result" >&5
13049 echo "${ECHO_T}$result" >&6; }
13055 defaultval=$wxUSE_ALL_FEATURES
13056 if test -z "$defaultval"; then
13057 if test x"$enablestring" = xdisable; then
13064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13065 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13066 # Check whether --enable-commondlg was given.
13067 if test "${enable_commondlg+set}" = set; then
13068 enableval=$enable_commondlg;
13069 if test "$enableval" = yes; then
13070 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13072 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13077 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13082 eval "$wx_cv_use_commondlg"
13084 if test x"$enablestring" = xdisable; then
13085 if test $wxUSE_COMMONDLGS = no; then
13091 result=$wxUSE_COMMONDLGS
13094 { echo "$as_me:$LINENO: result: $result" >&5
13095 echo "${ECHO_T}$result" >&6; }
13099 defaultval=$wxUSE_ALL_FEATURES
13100 if test -z "$defaultval"; then
13101 if test x"$enablestring" = xdisable; then
13108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13109 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13110 # Check whether --enable-aboutdlg was given.
13111 if test "${enable_aboutdlg+set}" = set; then
13112 enableval=$enable_aboutdlg;
13113 if test "$enableval" = yes; then
13114 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13116 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13121 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13126 eval "$wx_cv_use_aboutdlg"
13128 if test x"$enablestring" = xdisable; then
13129 if test $wxUSE_ABOUTDLG = no; then
13135 result=$wxUSE_ABOUTDLG
13138 { echo "$as_me:$LINENO: result: $result" >&5
13139 echo "${ECHO_T}$result" >&6; }
13143 defaultval=$wxUSE_ALL_FEATURES
13144 if test -z "$defaultval"; then
13145 if test x"$enablestring" = xdisable; then
13152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13153 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13154 # Check whether --enable-choicedlg was given.
13155 if test "${enable_choicedlg+set}" = set; then
13156 enableval=$enable_choicedlg;
13157 if test "$enableval" = yes; then
13158 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13160 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13165 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13170 eval "$wx_cv_use_choicedlg"
13172 if test x"$enablestring" = xdisable; then
13173 if test $wxUSE_CHOICEDLG = no; then
13179 result=$wxUSE_CHOICEDLG
13182 { echo "$as_me:$LINENO: result: $result" >&5
13183 echo "${ECHO_T}$result" >&6; }
13187 defaultval=$wxUSE_ALL_FEATURES
13188 if test -z "$defaultval"; then
13189 if test x"$enablestring" = xdisable; then
13196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13197 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13198 # Check whether --enable-coldlg was given.
13199 if test "${enable_coldlg+set}" = set; then
13200 enableval=$enable_coldlg;
13201 if test "$enableval" = yes; then
13202 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13204 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13209 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13214 eval "$wx_cv_use_coldlg"
13216 if test x"$enablestring" = xdisable; then
13217 if test $wxUSE_COLOURDLG = no; then
13223 result=$wxUSE_COLOURDLG
13226 { echo "$as_me:$LINENO: result: $result" >&5
13227 echo "${ECHO_T}$result" >&6; }
13231 defaultval=$wxUSE_ALL_FEATURES
13232 if test -z "$defaultval"; then
13233 if test x"$enablestring" = xdisable; then
13240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13241 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13242 # Check whether --enable-filedlg was given.
13243 if test "${enable_filedlg+set}" = set; then
13244 enableval=$enable_filedlg;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13248 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13253 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13258 eval "$wx_cv_use_filedlg"
13260 if test x"$enablestring" = xdisable; then
13261 if test $wxUSE_FILEDLG = no; then
13267 result=$wxUSE_FILEDLG
13270 { echo "$as_me:$LINENO: result: $result" >&5
13271 echo "${ECHO_T}$result" >&6; }
13275 defaultval=$wxUSE_ALL_FEATURES
13276 if test -z "$defaultval"; then
13277 if test x"$enablestring" = xdisable; then
13284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13285 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13286 # Check whether --enable-finddlg was given.
13287 if test "${enable_finddlg+set}" = set; then
13288 enableval=$enable_finddlg;
13289 if test "$enableval" = yes; then
13290 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13292 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13297 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13302 eval "$wx_cv_use_finddlg"
13304 if test x"$enablestring" = xdisable; then
13305 if test $wxUSE_FINDREPLDLG = no; then
13311 result=$wxUSE_FINDREPLDLG
13314 { echo "$as_me:$LINENO: result: $result" >&5
13315 echo "${ECHO_T}$result" >&6; }
13319 defaultval=$wxUSE_ALL_FEATURES
13320 if test -z "$defaultval"; then
13321 if test x"$enablestring" = xdisable; then
13328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13329 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13330 # Check whether --enable-fontdlg was given.
13331 if test "${enable_fontdlg+set}" = set; then
13332 enableval=$enable_fontdlg;
13333 if test "$enableval" = yes; then
13334 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13336 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13341 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13346 eval "$wx_cv_use_fontdlg"
13348 if test x"$enablestring" = xdisable; then
13349 if test $wxUSE_FONTDLG = no; then
13355 result=$wxUSE_FONTDLG
13358 { echo "$as_me:$LINENO: result: $result" >&5
13359 echo "${ECHO_T}$result" >&6; }
13363 defaultval=$wxUSE_ALL_FEATURES
13364 if test -z "$defaultval"; then
13365 if test x"$enablestring" = xdisable; then
13372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13373 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13374 # Check whether --enable-dirdlg was given.
13375 if test "${enable_dirdlg+set}" = set; then
13376 enableval=$enable_dirdlg;
13377 if test "$enableval" = yes; then
13378 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13380 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13385 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13390 eval "$wx_cv_use_dirdlg"
13392 if test x"$enablestring" = xdisable; then
13393 if test $wxUSE_DIRDLG = no; then
13399 result=$wxUSE_DIRDLG
13402 { echo "$as_me:$LINENO: result: $result" >&5
13403 echo "${ECHO_T}$result" >&6; }
13407 defaultval=$wxUSE_ALL_FEATURES
13408 if test -z "$defaultval"; then
13409 if test x"$enablestring" = xdisable; then
13416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13417 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13418 # Check whether --enable-msgdlg was given.
13419 if test "${enable_msgdlg+set}" = set; then
13420 enableval=$enable_msgdlg;
13421 if test "$enableval" = yes; then
13422 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13424 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13429 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13434 eval "$wx_cv_use_msgdlg"
13436 if test x"$enablestring" = xdisable; then
13437 if test $wxUSE_MSGDLG = no; then
13443 result=$wxUSE_MSGDLG
13446 { echo "$as_me:$LINENO: result: $result" >&5
13447 echo "${ECHO_T}$result" >&6; }
13451 defaultval=$wxUSE_ALL_FEATURES
13452 if test -z "$defaultval"; then
13453 if test x"$enablestring" = xdisable; then
13460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13461 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13462 # Check whether --enable-numberdlg was given.
13463 if test "${enable_numberdlg+set}" = set; then
13464 enableval=$enable_numberdlg;
13465 if test "$enableval" = yes; then
13466 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13468 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13473 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13478 eval "$wx_cv_use_numberdlg"
13480 if test x"$enablestring" = xdisable; then
13481 if test $wxUSE_NUMBERDLG = no; then
13487 result=$wxUSE_NUMBERDLG
13490 { echo "$as_me:$LINENO: result: $result" >&5
13491 echo "${ECHO_T}$result" >&6; }
13495 defaultval=$wxUSE_ALL_FEATURES
13496 if test -z "$defaultval"; then
13497 if test x"$enablestring" = xdisable; then
13504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13505 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13506 # Check whether --enable-splash was given.
13507 if test "${enable_splash+set}" = set; then
13508 enableval=$enable_splash;
13509 if test "$enableval" = yes; then
13510 wx_cv_use_splash='wxUSE_SPLASH=yes'
13512 wx_cv_use_splash='wxUSE_SPLASH=no'
13517 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13522 eval "$wx_cv_use_splash"
13524 if test x"$enablestring" = xdisable; then
13525 if test $wxUSE_SPLASH = no; then
13531 result=$wxUSE_SPLASH
13534 { echo "$as_me:$LINENO: result: $result" >&5
13535 echo "${ECHO_T}$result" >&6; }
13539 defaultval=$wxUSE_ALL_FEATURES
13540 if test -z "$defaultval"; then
13541 if test x"$enablestring" = xdisable; then
13548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13549 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13550 # Check whether --enable-textdlg was given.
13551 if test "${enable_textdlg+set}" = set; then
13552 enableval=$enable_textdlg;
13553 if test "$enableval" = yes; then
13554 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13556 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13561 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13566 eval "$wx_cv_use_textdlg"
13568 if test x"$enablestring" = xdisable; then
13569 if test $wxUSE_TEXTDLG = no; then
13575 result=$wxUSE_TEXTDLG
13578 { echo "$as_me:$LINENO: result: $result" >&5
13579 echo "${ECHO_T}$result" >&6; }
13583 defaultval=$wxUSE_ALL_FEATURES
13584 if test -z "$defaultval"; then
13585 if test x"$enablestring" = xdisable; then
13592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13593 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13594 # Check whether --enable-tipdlg was given.
13595 if test "${enable_tipdlg+set}" = set; then
13596 enableval=$enable_tipdlg;
13597 if test "$enableval" = yes; then
13598 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13600 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13605 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13610 eval "$wx_cv_use_tipdlg"
13612 if test x"$enablestring" = xdisable; then
13613 if test $wxUSE_STARTUP_TIPS = no; then
13619 result=$wxUSE_STARTUP_TIPS
13622 { echo "$as_me:$LINENO: result: $result" >&5
13623 echo "${ECHO_T}$result" >&6; }
13627 defaultval=$wxUSE_ALL_FEATURES
13628 if test -z "$defaultval"; then
13629 if test x"$enablestring" = xdisable; then
13636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13637 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13638 # Check whether --enable-progressdlg was given.
13639 if test "${enable_progressdlg+set}" = set; then
13640 enableval=$enable_progressdlg;
13641 if test "$enableval" = yes; then
13642 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13644 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13649 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13654 eval "$wx_cv_use_progressdlg"
13656 if test x"$enablestring" = xdisable; then
13657 if test $wxUSE_PROGRESSDLG = no; then
13663 result=$wxUSE_PROGRESSDLG
13666 { echo "$as_me:$LINENO: result: $result" >&5
13667 echo "${ECHO_T}$result" >&6; }
13671 defaultval=$wxUSE_ALL_FEATURES
13672 if test -z "$defaultval"; then
13673 if test x"$enablestring" = xdisable; then
13680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13681 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13682 # Check whether --enable-wizarddlg was given.
13683 if test "${enable_wizarddlg+set}" = set; then
13684 enableval=$enable_wizarddlg;
13685 if test "$enableval" = yes; then
13686 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13688 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13693 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13698 eval "$wx_cv_use_wizarddlg"
13700 if test x"$enablestring" = xdisable; then
13701 if test $wxUSE_WIZARDDLG = no; then
13707 result=$wxUSE_WIZARDDLG
13710 { echo "$as_me:$LINENO: result: $result" >&5
13711 echo "${ECHO_T}$result" >&6; }
13717 defaultval=$wxUSE_ALL_FEATURES
13718 if test -z "$defaultval"; then
13719 if test x"$enablestring" = xdisable; then
13726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13727 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13728 # Check whether --enable-menus was given.
13729 if test "${enable_menus+set}" = set; then
13730 enableval=$enable_menus;
13731 if test "$enableval" = yes; then
13732 wx_cv_use_menus='wxUSE_MENUS=yes'
13734 wx_cv_use_menus='wxUSE_MENUS=no'
13739 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13744 eval "$wx_cv_use_menus"
13746 if test x"$enablestring" = xdisable; then
13747 if test $wxUSE_MENUS = no; then
13753 result=$wxUSE_MENUS
13756 { echo "$as_me:$LINENO: result: $result" >&5
13757 echo "${ECHO_T}$result" >&6; }
13761 defaultval=$wxUSE_ALL_FEATURES
13762 if test -z "$defaultval"; then
13763 if test x"$enablestring" = xdisable; then
13770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13771 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13772 # Check whether --enable-miniframe was given.
13773 if test "${enable_miniframe+set}" = set; then
13774 enableval=$enable_miniframe;
13775 if test "$enableval" = yes; then
13776 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13778 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13783 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13788 eval "$wx_cv_use_miniframe"
13790 if test x"$enablestring" = xdisable; then
13791 if test $wxUSE_MINIFRAME = no; then
13797 result=$wxUSE_MINIFRAME
13800 { echo "$as_me:$LINENO: result: $result" >&5
13801 echo "${ECHO_T}$result" >&6; }
13805 defaultval=$wxUSE_ALL_FEATURES
13806 if test -z "$defaultval"; then
13807 if test x"$enablestring" = xdisable; then
13814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13815 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13816 # Check whether --enable-tooltips was given.
13817 if test "${enable_tooltips+set}" = set; then
13818 enableval=$enable_tooltips;
13819 if test "$enableval" = yes; then
13820 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13822 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13827 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13832 eval "$wx_cv_use_tooltips"
13834 if test x"$enablestring" = xdisable; then
13835 if test $wxUSE_TOOLTIPS = no; then
13841 result=$wxUSE_TOOLTIPS
13844 { echo "$as_me:$LINENO: result: $result" >&5
13845 echo "${ECHO_T}$result" >&6; }
13849 defaultval=$wxUSE_ALL_FEATURES
13850 if test -z "$defaultval"; then
13851 if test x"$enablestring" = xdisable; then
13858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13859 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13860 # Check whether --enable-splines was given.
13861 if test "${enable_splines+set}" = set; then
13862 enableval=$enable_splines;
13863 if test "$enableval" = yes; then
13864 wx_cv_use_splines='wxUSE_SPLINES=yes'
13866 wx_cv_use_splines='wxUSE_SPLINES=no'
13871 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13876 eval "$wx_cv_use_splines"
13878 if test x"$enablestring" = xdisable; then
13879 if test $wxUSE_SPLINES = no; then
13885 result=$wxUSE_SPLINES
13888 { echo "$as_me:$LINENO: result: $result" >&5
13889 echo "${ECHO_T}$result" >&6; }
13893 defaultval=$wxUSE_ALL_FEATURES
13894 if test -z "$defaultval"; then
13895 if test x"$enablestring" = xdisable; then
13902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13903 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13904 # Check whether --enable-mousewheel was given.
13905 if test "${enable_mousewheel+set}" = set; then
13906 enableval=$enable_mousewheel;
13907 if test "$enableval" = yes; then
13908 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13910 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13915 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13920 eval "$wx_cv_use_mousewheel"
13922 if test x"$enablestring" = xdisable; then
13923 if test $wxUSE_MOUSEWHEEL = no; then
13929 result=$wxUSE_MOUSEWHEEL
13932 { echo "$as_me:$LINENO: result: $result" >&5
13933 echo "${ECHO_T}$result" >&6; }
13937 defaultval=$wxUSE_ALL_FEATURES
13938 if test -z "$defaultval"; then
13939 if test x"$enablestring" = xdisable; then
13946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13947 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13948 # Check whether --enable-validators was given.
13949 if test "${enable_validators+set}" = set; then
13950 enableval=$enable_validators;
13951 if test "$enableval" = yes; then
13952 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13954 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13959 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13964 eval "$wx_cv_use_validators"
13966 if test x"$enablestring" = xdisable; then
13967 if test $wxUSE_VALIDATORS = no; then
13973 result=$wxUSE_VALIDATORS
13976 { echo "$as_me:$LINENO: result: $result" >&5
13977 echo "${ECHO_T}$result" >&6; }
13981 defaultval=$wxUSE_ALL_FEATURES
13982 if test -z "$defaultval"; then
13983 if test x"$enablestring" = xdisable; then
13990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13991 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13992 # Check whether --enable-busyinfo was given.
13993 if test "${enable_busyinfo+set}" = set; then
13994 enableval=$enable_busyinfo;
13995 if test "$enableval" = yes; then
13996 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13998 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14003 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14008 eval "$wx_cv_use_busyinfo"
14010 if test x"$enablestring" = xdisable; then
14011 if test $wxUSE_BUSYINFO = no; then
14017 result=$wxUSE_BUSYINFO
14020 { echo "$as_me:$LINENO: result: $result" >&5
14021 echo "${ECHO_T}$result" >&6; }
14025 defaultval=$wxUSE_ALL_FEATURES
14026 if test -z "$defaultval"; then
14027 if test x"$enablestring" = xdisable; then
14034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
14035 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
14036 # Check whether --enable-hotkey was given.
14037 if test "${enable_hotkey+set}" = set; then
14038 enableval=$enable_hotkey;
14039 if test "$enableval" = yes; then
14040 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
14042 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
14047 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
14052 eval "$wx_cv_use_hotkey"
14054 if test x"$enablestring" = xdisable; then
14055 if test $wxUSE_HOTKEY = no; then
14061 result=$wxUSE_HOTKEY
14064 { echo "$as_me:$LINENO: result: $result" >&5
14065 echo "${ECHO_T}$result" >&6; }
14069 defaultval=$wxUSE_ALL_FEATURES
14070 if test -z "$defaultval"; then
14071 if test x"$enablestring" = xdisable; then
14078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14079 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14080 # Check whether --enable-joystick was given.
14081 if test "${enable_joystick+set}" = set; then
14082 enableval=$enable_joystick;
14083 if test "$enableval" = yes; then
14084 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14086 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14091 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14096 eval "$wx_cv_use_joystick"
14098 if test x"$enablestring" = xdisable; then
14099 if test $wxUSE_JOYSTICK = no; then
14105 result=$wxUSE_JOYSTICK
14108 { echo "$as_me:$LINENO: result: $result" >&5
14109 echo "${ECHO_T}$result" >&6; }
14113 defaultval=$wxUSE_ALL_FEATURES
14114 if test -z "$defaultval"; then
14115 if test x"$enablestring" = xdisable; then
14122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14123 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14124 # Check whether --enable-metafile was given.
14125 if test "${enable_metafile+set}" = set; then
14126 enableval=$enable_metafile;
14127 if test "$enableval" = yes; then
14128 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14130 wx_cv_use_metafile='wxUSE_METAFILE=no'
14135 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14140 eval "$wx_cv_use_metafile"
14142 if test x"$enablestring" = xdisable; then
14143 if test $wxUSE_METAFILE = no; then
14149 result=$wxUSE_METAFILE
14152 { echo "$as_me:$LINENO: result: $result" >&5
14153 echo "${ECHO_T}$result" >&6; }
14157 defaultval=$wxUSE_ALL_FEATURES
14158 if test -z "$defaultval"; then
14159 if test x"$enablestring" = xdisable; then
14166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14167 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14168 # Check whether --enable-dragimage was given.
14169 if test "${enable_dragimage+set}" = set; then
14170 enableval=$enable_dragimage;
14171 if test "$enableval" = yes; then
14172 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14174 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14179 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14184 eval "$wx_cv_use_dragimage"
14186 if test x"$enablestring" = xdisable; then
14187 if test $wxUSE_DRAGIMAGE = no; then
14193 result=$wxUSE_DRAGIMAGE
14196 { echo "$as_me:$LINENO: result: $result" >&5
14197 echo "${ECHO_T}$result" >&6; }
14201 defaultval=$wxUSE_ALL_FEATURES
14202 if test -z "$defaultval"; then
14203 if test x"$enablestring" = xdisable; then
14210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14211 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14212 # Check whether --enable-accessibility was given.
14213 if test "${enable_accessibility+set}" = set; then
14214 enableval=$enable_accessibility;
14215 if test "$enableval" = yes; then
14216 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14218 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14223 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14228 eval "$wx_cv_use_accessibility"
14230 if test x"$enablestring" = xdisable; then
14231 if test $wxUSE_ACCESSIBILITY = no; then
14237 result=$wxUSE_ACCESSIBILITY
14240 { echo "$as_me:$LINENO: result: $result" >&5
14241 echo "${ECHO_T}$result" >&6; }
14245 defaultval=$wxUSE_ALL_FEATURES
14246 if test -z "$defaultval"; then
14247 if test x"$enablestring" = xdisable; then
14254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14255 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14256 # Check whether --enable-uiactionsim was given.
14257 if test "${enable_uiactionsim+set}" = set; then
14258 enableval=$enable_uiactionsim;
14259 if test "$enableval" = yes; then
14260 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14262 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14267 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14272 eval "$wx_cv_use_uiactionsim"
14274 if test x"$enablestring" = xdisable; then
14275 if test $wxUSE_UIACTIONSIMULATOR = no; then
14281 result=$wxUSE_UIACTIONSIMULATOR
14284 { echo "$as_me:$LINENO: result: $result" >&5
14285 echo "${ECHO_T}$result" >&6; }
14289 defaultval=$wxUSE_ALL_FEATURES
14290 if test -z "$defaultval"; then
14291 if test x"$enablestring" = xdisable; then
14298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14299 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14300 # Check whether --enable-dctransform was given.
14301 if test "${enable_dctransform+set}" = set; then
14302 enableval=$enable_dctransform;
14303 if test "$enableval" = yes; then
14304 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14306 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14311 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14316 eval "$wx_cv_use_dctransform"
14318 if test x"$enablestring" = xdisable; then
14319 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14325 result=$wxUSE_DC_TRANSFORM_MATRIX
14328 { echo "$as_me:$LINENO: result: $result" >&5
14329 echo "${ECHO_T}$result" >&6; }
14333 defaultval=$wxUSE_ALL_FEATURES
14334 if test -z "$defaultval"; then
14335 if test x"$enablestring" = xdisable; then
14342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14343 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14344 # Check whether --enable-webviewwebkit was given.
14345 if test "${enable_webviewwebkit+set}" = set; then
14346 enableval=$enable_webviewwebkit;
14347 if test "$enableval" = yes; then
14348 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
14350 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
14355 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14360 eval "$wx_cv_use_webviewwebkit"
14362 if test x"$enablestring" = xdisable; then
14363 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14369 result=$wxUSE_WEBVIEW_WEBKIT
14372 { echo "$as_me:$LINENO: result: $result" >&5
14373 echo "${ECHO_T}$result" >&6; }
14379 defaultval=$wxUSE_ALL_FEATURES
14380 if test -z "$defaultval"; then
14381 if test x"$enablestring" = xdisable; then
14388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14389 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14390 # Check whether --enable-palette was given.
14391 if test "${enable_palette+set}" = set; then
14392 enableval=$enable_palette;
14393 if test "$enableval" = yes; then
14394 wx_cv_use_palette='wxUSE_PALETTE=yes'
14396 wx_cv_use_palette='wxUSE_PALETTE=no'
14401 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14406 eval "$wx_cv_use_palette"
14408 if test x"$enablestring" = xdisable; then
14409 if test $wxUSE_PALETTE = no; then
14415 result=$wxUSE_PALETTE
14418 { echo "$as_me:$LINENO: result: $result" >&5
14419 echo "${ECHO_T}$result" >&6; }
14423 defaultval=$wxUSE_ALL_FEATURES
14424 if test -z "$defaultval"; then
14425 if test x"$enablestring" = xdisable; then
14432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14433 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14434 # Check whether --enable-image was given.
14435 if test "${enable_image+set}" = set; then
14436 enableval=$enable_image;
14437 if test "$enableval" = yes; then
14438 wx_cv_use_image='wxUSE_IMAGE=yes'
14440 wx_cv_use_image='wxUSE_IMAGE=no'
14445 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14450 eval "$wx_cv_use_image"
14452 if test x"$enablestring" = xdisable; then
14453 if test $wxUSE_IMAGE = no; then
14459 result=$wxUSE_IMAGE
14462 { echo "$as_me:$LINENO: result: $result" >&5
14463 echo "${ECHO_T}$result" >&6; }
14467 defaultval=$wxUSE_ALL_FEATURES
14468 if test -z "$defaultval"; then
14469 if test x"$enablestring" = xdisable; then
14476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14477 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14478 # Check whether --enable-gif was given.
14479 if test "${enable_gif+set}" = set; then
14480 enableval=$enable_gif;
14481 if test "$enableval" = yes; then
14482 wx_cv_use_gif='wxUSE_GIF=yes'
14484 wx_cv_use_gif='wxUSE_GIF=no'
14489 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14494 eval "$wx_cv_use_gif"
14496 if test x"$enablestring" = xdisable; then
14497 if test $wxUSE_GIF = no; then
14506 { echo "$as_me:$LINENO: result: $result" >&5
14507 echo "${ECHO_T}$result" >&6; }
14511 defaultval=$wxUSE_ALL_FEATURES
14512 if test -z "$defaultval"; then
14513 if test x"$enablestring" = xdisable; then
14520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14521 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14522 # Check whether --enable-pcx was given.
14523 if test "${enable_pcx+set}" = set; then
14524 enableval=$enable_pcx;
14525 if test "$enableval" = yes; then
14526 wx_cv_use_pcx='wxUSE_PCX=yes'
14528 wx_cv_use_pcx='wxUSE_PCX=no'
14533 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14538 eval "$wx_cv_use_pcx"
14540 if test x"$enablestring" = xdisable; then
14541 if test $wxUSE_PCX = no; then
14550 { echo "$as_me:$LINENO: result: $result" >&5
14551 echo "${ECHO_T}$result" >&6; }
14555 defaultval=$wxUSE_ALL_FEATURES
14556 if test -z "$defaultval"; then
14557 if test x"$enablestring" = xdisable; then
14564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14565 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14566 # Check whether --enable-tga was given.
14567 if test "${enable_tga+set}" = set; then
14568 enableval=$enable_tga;
14569 if test "$enableval" = yes; then
14570 wx_cv_use_tga='wxUSE_TGA=yes'
14572 wx_cv_use_tga='wxUSE_TGA=no'
14577 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14582 eval "$wx_cv_use_tga"
14584 if test x"$enablestring" = xdisable; then
14585 if test $wxUSE_TGA = no; then
14594 { echo "$as_me:$LINENO: result: $result" >&5
14595 echo "${ECHO_T}$result" >&6; }
14599 defaultval=$wxUSE_ALL_FEATURES
14600 if test -z "$defaultval"; then
14601 if test x"$enablestring" = xdisable; then
14608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14609 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14610 # Check whether --enable-iff was given.
14611 if test "${enable_iff+set}" = set; then
14612 enableval=$enable_iff;
14613 if test "$enableval" = yes; then
14614 wx_cv_use_iff='wxUSE_IFF=yes'
14616 wx_cv_use_iff='wxUSE_IFF=no'
14621 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14626 eval "$wx_cv_use_iff"
14628 if test x"$enablestring" = xdisable; then
14629 if test $wxUSE_IFF = no; then
14638 { echo "$as_me:$LINENO: result: $result" >&5
14639 echo "${ECHO_T}$result" >&6; }
14643 defaultval=$wxUSE_ALL_FEATURES
14644 if test -z "$defaultval"; then
14645 if test x"$enablestring" = xdisable; then
14652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14653 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14654 # Check whether --enable-pnm was given.
14655 if test "${enable_pnm+set}" = set; then
14656 enableval=$enable_pnm;
14657 if test "$enableval" = yes; then
14658 wx_cv_use_pnm='wxUSE_PNM=yes'
14660 wx_cv_use_pnm='wxUSE_PNM=no'
14665 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14670 eval "$wx_cv_use_pnm"
14672 if test x"$enablestring" = xdisable; then
14673 if test $wxUSE_PNM = no; then
14682 { echo "$as_me:$LINENO: result: $result" >&5
14683 echo "${ECHO_T}$result" >&6; }
14687 defaultval=$wxUSE_ALL_FEATURES
14688 if test -z "$defaultval"; then
14689 if test x"$enablestring" = xdisable; then
14696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14697 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14698 # Check whether --enable-xpm was given.
14699 if test "${enable_xpm+set}" = set; then
14700 enableval=$enable_xpm;
14701 if test "$enableval" = yes; then
14702 wx_cv_use_xpm='wxUSE_XPM=yes'
14704 wx_cv_use_xpm='wxUSE_XPM=no'
14709 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14714 eval "$wx_cv_use_xpm"
14716 if test x"$enablestring" = xdisable; then
14717 if test $wxUSE_XPM = no; then
14726 { echo "$as_me:$LINENO: result: $result" >&5
14727 echo "${ECHO_T}$result" >&6; }
14731 defaultval=$wxUSE_ALL_FEATURES
14732 if test -z "$defaultval"; then
14733 if test x"$enablestring" = xdisable; then
14740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14741 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14742 # Check whether --enable-ico_cur was given.
14743 if test "${enable_ico_cur+set}" = set; then
14744 enableval=$enable_ico_cur;
14745 if test "$enableval" = yes; then
14746 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14748 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14753 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14758 eval "$wx_cv_use_ico_cur"
14760 if test x"$enablestring" = xdisable; then
14761 if test $wxUSE_ICO_CUR = no; then
14767 result=$wxUSE_ICO_CUR
14770 { echo "$as_me:$LINENO: result: $result" >&5
14771 echo "${ECHO_T}$result" >&6; }
14777 defaultval=$wxUSE_ALL_FEATURES
14778 if test -z "$defaultval"; then
14779 if test x"$enablestring" = xdisable; then
14786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14787 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14788 # Check whether --enable-dccache was given.
14789 if test "${enable_dccache+set}" = set; then
14790 enableval=$enable_dccache;
14791 if test "$enableval" = yes; then
14792 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14794 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14799 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14804 eval "$wx_cv_use_dccache"
14806 if test x"$enablestring" = xdisable; then
14807 if test $wxUSE_DC_CACHEING = no; then
14813 result=$wxUSE_DC_CACHEING
14816 { echo "$as_me:$LINENO: result: $result" >&5
14817 echo "${ECHO_T}$result" >&6; }
14821 defaultval=$wxUSE_ALL_FEATURES
14822 if test -z "$defaultval"; then
14823 if test x"$enablestring" = xdisable; then
14830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14831 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14832 # Check whether --enable-ps-in-msw was given.
14833 if test "${enable_ps_in_msw+set}" = set; then
14834 enableval=$enable_ps_in_msw;
14835 if test "$enableval" = yes; then
14836 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14838 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14843 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14848 eval "$wx_cv_use_ps_in_msw"
14850 if test x"$enablestring" = xdisable; then
14851 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14857 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14860 { echo "$as_me:$LINENO: result: $result" >&5
14861 echo "${ECHO_T}$result" >&6; }
14865 defaultval=$wxUSE_ALL_FEATURES
14866 if test -z "$defaultval"; then
14867 if test x"$enablestring" = xdisable; then
14874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14875 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14876 # Check whether --enable-ownerdrawn was given.
14877 if test "${enable_ownerdrawn+set}" = set; then
14878 enableval=$enable_ownerdrawn;
14879 if test "$enableval" = yes; then
14880 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14882 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14887 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14892 eval "$wx_cv_use_ownerdrawn"
14894 if test x"$enablestring" = xdisable; then
14895 if test $wxUSE_OWNER_DRAWN = no; then
14901 result=$wxUSE_OWNER_DRAWN
14904 { echo "$as_me:$LINENO: result: $result" >&5
14905 echo "${ECHO_T}$result" >&6; }
14909 defaultval=$wxUSE_ALL_FEATURES
14910 if test -z "$defaultval"; then
14911 if test x"$enablestring" = xdisable; then
14918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14919 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14920 # Check whether --enable-uxtheme was given.
14921 if test "${enable_uxtheme+set}" = set; then
14922 enableval=$enable_uxtheme;
14923 if test "$enableval" = yes; then
14924 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14926 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14931 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14936 eval "$wx_cv_use_uxtheme"
14938 if test x"$enablestring" = xdisable; then
14939 if test $wxUSE_UXTHEME = no; then
14945 result=$wxUSE_UXTHEME
14948 { echo "$as_me:$LINENO: result: $result" >&5
14949 echo "${ECHO_T}$result" >&6; }
14953 defaultval=$wxUSE_ALL_FEATURES
14954 if test -z "$defaultval"; then
14955 if test x"$enablestring" = xdisable; then
14962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14963 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14964 # Check whether --enable-wxdib was given.
14965 if test "${enable_wxdib+set}" = set; then
14966 enableval=$enable_wxdib;
14967 if test "$enableval" = yes; then
14968 wx_cv_use_wxdib='wxUSE_DIB=yes'
14970 wx_cv_use_wxdib='wxUSE_DIB=no'
14975 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14980 eval "$wx_cv_use_wxdib"
14982 if test x"$enablestring" = xdisable; then
14983 if test $wxUSE_DIB = no; then
14992 { echo "$as_me:$LINENO: result: $result" >&5
14993 echo "${ECHO_T}$result" >&6; }
14997 defaultval=$wxUSE_ALL_FEATURES
14998 if test -z "$defaultval"; then
14999 if test x"$enablestring" = xdisable; then
15006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
15007 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
15008 # Check whether --enable-webviewie was given.
15009 if test "${enable_webviewie+set}" = set; then
15010 enableval=$enable_webviewie;
15011 if test "$enableval" = yes; then
15012 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
15014 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
15019 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
15024 eval "$wx_cv_use_webviewie"
15026 if test x"$enablestring" = xdisable; then
15027 if test $wxUSE_WEBVIEW_IE = no; then
15033 result=$wxUSE_WEBVIEW_IE
15036 { echo "$as_me:$LINENO: result: $result" >&5
15037 echo "${ECHO_T}$result" >&6; }
15040 if test "$wxUSE_MSW" != 1; then
15041 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
15046 defaultval=$wxUSE_ALL_FEATURES
15047 if test -z "$defaultval"; then
15048 if test x"$enablestring" = xdisable; then
15055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
15056 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
15057 # Check whether --enable-autoidman was given.
15058 if test "${enable_autoidman+set}" = set; then
15059 enableval=$enable_autoidman;
15060 if test "$enableval" = yes; then
15061 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
15063 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
15068 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
15073 eval "$wx_cv_use_autoidman"
15075 if test x"$enablestring" = xdisable; then
15076 if test $wxUSE_AUTOID_MANAGEMENT = no; then
15082 result=$wxUSE_AUTOID_MANAGEMENT
15085 { echo "$as_me:$LINENO: result: $result" >&5
15086 echo "${ECHO_T}$result" >&6; }
15092 cat >confcache <<\_ACEOF
15093 # This file is a shell script that caches the results of configure
15094 # tests run on this system so they can be shared between configure
15095 # scripts and configure runs, see configure's option --config-cache.
15096 # It is not useful on other systems. If it contains results you don't
15097 # want to keep, you may remove or edit it.
15099 # config.status only pays attention to the cache file if you give it
15100 # the --recheck option to rerun configure.
15102 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15103 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15104 # following values.
15108 # The following way of writing the cache mishandles newlines in values,
15109 # but we know of no workaround that is simple, portable, and efficient.
15110 # So, we kill variables containing newlines.
15111 # Ultrix sh set writes to stderr and can't be redirected directly,
15112 # and sets the high bit in the cache file unless we assign to the vars.
15114 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15115 eval ac_val=\$$ac_var
15119 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15120 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15123 _ | IFS | as_nl) ;; #(
15124 *) $as_unset $ac_var ;;
15130 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15131 *${as_nl}ac_space=\ *)
15132 # `set' does not quote correctly, so add quotes (double-quote
15133 # substitution turns \\\\ into \\, and sed turns \\ into \).
15136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15139 # `set' quotes correctly as required by POSIX, so do not add quotes.
15140 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15149 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15151 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15153 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15154 if test -w "$cache_file"; then
15155 test "x$cache_file" != "x/dev/null" &&
15156 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15157 echo "$as_me: updating cache $cache_file" >&6;}
15158 cat confcache >$cache_file
15160 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15161 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15168 ac_cpp='$CPP $CPPFLAGS'
15169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15172 if test -n "$ac_tool_prefix"; then
15173 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15174 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15177 if test "${ac_cv_prog_CC+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15180 if test -n "$CC"; then
15181 ac_cv_prog_CC="$CC" # Let the user override the test.
15183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15184 for as_dir in $PATH
15187 test -z "$as_dir" && as_dir=.
15188 for ac_exec_ext in '' $ac_executable_extensions; do
15189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15190 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15201 if test -n "$CC"; then
15202 { echo "$as_me:$LINENO: result: $CC" >&5
15203 echo "${ECHO_T}$CC" >&6; }
15205 { echo "$as_me:$LINENO: result: no" >&5
15206 echo "${ECHO_T}no" >&6; }
15211 if test -z "$ac_cv_prog_CC"; then
15213 # Extract the first word of "gcc", so it can be a program name with args.
15214 set dummy gcc; ac_word=$2
15215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15218 echo $ECHO_N "(cached) $ECHO_C" >&6
15220 if test -n "$ac_ct_CC"; then
15221 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15224 for as_dir in $PATH
15227 test -z "$as_dir" && as_dir=.
15228 for ac_exec_ext in '' $ac_executable_extensions; do
15229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15230 ac_cv_prog_ac_ct_CC="gcc"
15231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15240 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15241 if test -n "$ac_ct_CC"; then
15242 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15243 echo "${ECHO_T}$ac_ct_CC" >&6; }
15245 { echo "$as_me:$LINENO: result: no" >&5
15246 echo "${ECHO_T}no" >&6; }
15249 if test "x$ac_ct_CC" = x; then
15252 case $cross_compiling:$ac_tool_warned in
15254 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15255 whose name does not start with the host triplet. If you think this
15256 configuration is useful to you, please write to autoconf@gnu.org." >&5
15257 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15258 whose name does not start with the host triplet. If you think this
15259 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15260 ac_tool_warned=yes ;;
15265 CC="$ac_cv_prog_CC"
15268 if test -z "$CC"; then
15269 if test -n "$ac_tool_prefix"; then
15270 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15271 set dummy ${ac_tool_prefix}cc; ac_word=$2
15272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15274 if test "${ac_cv_prog_CC+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 if test -n "$CC"; then
15278 ac_cv_prog_CC="$CC" # Let the user override the test.
15280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15281 for as_dir in $PATH
15284 test -z "$as_dir" && as_dir=.
15285 for ac_exec_ext in '' $ac_executable_extensions; do
15286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15287 ac_cv_prog_CC="${ac_tool_prefix}cc"
15288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15298 if test -n "$CC"; then
15299 { echo "$as_me:$LINENO: result: $CC" >&5
15300 echo "${ECHO_T}$CC" >&6; }
15302 { echo "$as_me:$LINENO: result: no" >&5
15303 echo "${ECHO_T}no" >&6; }
15309 if test -z "$CC"; then
15310 # Extract the first word of "cc", so it can be a program name with args.
15311 set dummy cc; ac_word=$2
15312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15314 if test "${ac_cv_prog_CC+set}" = set; then
15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15317 if test -n "$CC"; then
15318 ac_cv_prog_CC="$CC" # Let the user override the test.
15320 ac_prog_rejected=no
15321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15322 for as_dir in $PATH
15325 test -z "$as_dir" && as_dir=.
15326 for ac_exec_ext in '' $ac_executable_extensions; do
15327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15328 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15329 ac_prog_rejected=yes
15333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15340 if test $ac_prog_rejected = yes; then
15341 # We found a bogon in the path, so make sure we never use it.
15342 set dummy $ac_cv_prog_CC
15344 if test $# != 0; then
15345 # We chose a different compiler from the bogus one.
15346 # However, it has the same basename, so the bogon will be chosen
15347 # first if we set CC to just the basename; use the full file name.
15349 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15355 if test -n "$CC"; then
15356 { echo "$as_me:$LINENO: result: $CC" >&5
15357 echo "${ECHO_T}$CC" >&6; }
15359 { echo "$as_me:$LINENO: result: no" >&5
15360 echo "${ECHO_T}no" >&6; }
15365 if test -z "$CC"; then
15366 if test -n "$ac_tool_prefix"; then
15367 for ac_prog in cl.exe
15369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15373 if test "${ac_cv_prog_CC+set}" = set; then
15374 echo $ECHO_N "(cached) $ECHO_C" >&6
15376 if test -n "$CC"; then
15377 ac_cv_prog_CC="$CC" # Let the user override the test.
15379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15380 for as_dir in $PATH
15383 test -z "$as_dir" && as_dir=.
15384 for ac_exec_ext in '' $ac_executable_extensions; do
15385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15386 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15397 if test -n "$CC"; then
15398 { echo "$as_me:$LINENO: result: $CC" >&5
15399 echo "${ECHO_T}$CC" >&6; }
15401 { echo "$as_me:$LINENO: result: no" >&5
15402 echo "${ECHO_T}no" >&6; }
15406 test -n "$CC" && break
15409 if test -z "$CC"; then
15411 for ac_prog in cl.exe
15413 # Extract the first word of "$ac_prog", so it can be a program name with args.
15414 set dummy $ac_prog; ac_word=$2
15415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15417 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15418 echo $ECHO_N "(cached) $ECHO_C" >&6
15420 if test -n "$ac_ct_CC"; then
15421 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15424 for as_dir in $PATH
15427 test -z "$as_dir" && as_dir=.
15428 for ac_exec_ext in '' $ac_executable_extensions; do
15429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15430 ac_cv_prog_ac_ct_CC="$ac_prog"
15431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15440 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15441 if test -n "$ac_ct_CC"; then
15442 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15443 echo "${ECHO_T}$ac_ct_CC" >&6; }
15445 { echo "$as_me:$LINENO: result: no" >&5
15446 echo "${ECHO_T}no" >&6; }
15450 test -n "$ac_ct_CC" && break
15453 if test "x$ac_ct_CC" = x; then
15456 case $cross_compiling:$ac_tool_warned in
15458 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15459 whose name does not start with the host triplet. If you think this
15460 configuration is useful to you, please write to autoconf@gnu.org." >&5
15461 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15462 whose name does not start with the host triplet. If you think this
15463 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15464 ac_tool_warned=yes ;;
15473 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15474 See \`config.log' for more details." >&5
15475 echo "$as_me: error: no acceptable C compiler found in \$PATH
15476 See \`config.log' for more details." >&2;}
15477 { (exit 1); exit 1; }; }
15479 # Provide some information about the compiler.
15480 echo "$as_me:$LINENO: checking for C compiler version" >&5
15481 ac_compiler=`set X $ac_compile; echo $2`
15482 { (ac_try="$ac_compiler --version >&5"
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_compiler --version >&5") 2>&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }
15492 { (ac_try="$ac_compiler -v >&5"
15493 case "(($ac_try" in
15494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15495 *) ac_try_echo=$ac_try;;
15497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15498 (eval "$ac_compiler -v >&5") 2>&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); }
15502 { (ac_try="$ac_compiler -V >&5"
15503 case "(($ac_try" in
15504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15505 *) ac_try_echo=$ac_try;;
15507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15508 (eval "$ac_compiler -V >&5") 2>&5
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }
15513 cat >conftest.$ac_ext <<_ACEOF
15516 cat confdefs.h >>conftest.$ac_ext
15517 cat >>conftest.$ac_ext <<_ACEOF
15518 /* end confdefs.h. */
15528 ac_clean_files_save=$ac_clean_files
15529 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15530 # Try to create an executable without -o first, disregard a.out.
15531 # It will help us diagnose broken compilers, and finding out an intuition
15533 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15534 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15535 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15537 # List of possible output files, starting from the most likely.
15538 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15539 # only as a last resort. b.out is created by i960 compilers.
15540 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15542 # The IRIX 6 linker writes into existing files which may not be
15543 # executable, retaining their permissions. Remove them first so a
15544 # subsequent execution test works.
15546 for ac_file in $ac_files
15549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15550 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15555 if { (ac_try="$ac_link_default"
15556 case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558 *) ac_try_echo=$ac_try;;
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_link_default") 2>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; then
15565 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15566 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15567 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15568 # so that the user can short-circuit this test for compilers unknown to
15570 for ac_file in $ac_files ''
15572 test -f "$ac_file" || continue
15574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15577 # We found the default executable, but exeext='' is most
15581 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15583 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15585 # We set ac_cv_exeext here because the later test for it is not
15586 # safe: cross compilers may not add the suffix if given an `-o'
15587 # argument, so we may need to know it at that point already.
15588 # Even if this section looks crufty: it has the advantage of
15589 # actually working.
15595 test "$ac_cv_exeext" = no && ac_cv_exeext=
15601 { echo "$as_me:$LINENO: result: $ac_file" >&5
15602 echo "${ECHO_T}$ac_file" >&6; }
15603 if test -z "$ac_file"; then
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.$ac_ext >&5
15607 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15608 See \`config.log' for more details." >&5
15609 echo "$as_me: error: C compiler cannot create executables
15610 See \`config.log' for more details." >&2;}
15611 { (exit 77); exit 77; }; }
15614 ac_exeext=$ac_cv_exeext
15616 # Check that the compiler produces executables we can run. If not, either
15617 # the compiler is broken, or we cross compile.
15618 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15619 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15620 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15621 # If not cross compiling, check that we can run a simple program.
15622 if test "$cross_compiling" != yes; then
15623 if { ac_try='./$ac_file'
15624 { (case "(($ac_try" in
15625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15626 *) ac_try_echo=$ac_try;;
15628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15629 (eval "$ac_try") 2>&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); }; }; then
15635 if test "$cross_compiling" = maybe; then
15636 cross_compiling=yes
15638 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15639 If you meant to cross compile, use \`--host'.
15640 See \`config.log' for more details." >&5
15641 echo "$as_me: error: cannot run C compiled programs.
15642 If you meant to cross compile, use \`--host'.
15643 See \`config.log' for more details." >&2;}
15644 { (exit 1); exit 1; }; }
15648 { echo "$as_me:$LINENO: result: yes" >&5
15649 echo "${ECHO_T}yes" >&6; }
15651 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15652 ac_clean_files=$ac_clean_files_save
15653 # Check that the compiler produces executables we can run. If not, either
15654 # the compiler is broken, or we cross compile.
15655 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15656 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15657 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15658 echo "${ECHO_T}$cross_compiling" >&6; }
15660 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15661 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15662 if { (ac_try="$ac_link"
15663 case "(($ac_try" in
15664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15665 *) ac_try_echo=$ac_try;;
15667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15668 (eval "$ac_link") 2>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; then
15672 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15673 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15674 # work properly (i.e., refer to `conftest.exe'), while it won't with
15676 for ac_file in conftest.exe conftest conftest.*; do
15677 test -f "$ac_file" || continue
15679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15680 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15686 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15687 See \`config.log' for more details." >&5
15688 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15689 See \`config.log' for more details." >&2;}
15690 { (exit 1); exit 1; }; }
15693 rm -f conftest$ac_cv_exeext
15694 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15695 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15697 rm -f conftest.$ac_ext
15698 EXEEXT=$ac_cv_exeext
15700 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15701 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15702 if test "${ac_cv_objext+set}" = set; then
15703 echo $ECHO_N "(cached) $ECHO_C" >&6
15705 cat >conftest.$ac_ext <<_ACEOF
15708 cat confdefs.h >>conftest.$ac_ext
15709 cat >>conftest.$ac_ext <<_ACEOF
15710 /* end confdefs.h. */
15720 rm -f conftest.o conftest.obj
15721 if { (ac_try="$ac_compile"
15722 case "(($ac_try" in
15723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15724 *) ac_try_echo=$ac_try;;
15726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15727 (eval "$ac_compile") 2>&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; then
15731 for ac_file in conftest.o conftest.obj conftest.*; do
15732 test -f "$ac_file" || continue;
15734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15735 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.$ac_ext >&5
15743 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15744 See \`config.log' for more details." >&5
15745 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15746 See \`config.log' for more details." >&2;}
15747 { (exit 1); exit 1; }; }
15750 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15752 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15753 echo "${ECHO_T}$ac_cv_objext" >&6; }
15754 OBJEXT=$ac_cv_objext
15756 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15757 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15758 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15759 echo $ECHO_N "(cached) $ECHO_C" >&6
15761 cat >conftest.$ac_ext <<_ACEOF
15764 cat confdefs.h >>conftest.$ac_ext
15765 cat >>conftest.$ac_ext <<_ACEOF
15766 /* end confdefs.h. */
15779 rm -f conftest.$ac_objext
15780 if { (ac_try="$ac_compile"
15781 case "(($ac_try" in
15782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15783 *) ac_try_echo=$ac_try;;
15785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15786 (eval "$ac_compile") 2>conftest.er1
15788 grep -v '^ *+' conftest.er1 >conftest.err
15790 cat conftest.err >&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); } && {
15793 test -z "$ac_c_werror_flag" ||
15794 test ! -s conftest.err
15795 } && test -s conftest.$ac_objext; then
15796 ac_compiler_gnu=yes
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.$ac_ext >&5
15804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15805 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15808 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15809 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15810 GCC=`test $ac_compiler_gnu = yes && echo yes`
15811 ac_test_CFLAGS=${CFLAGS+set}
15812 ac_save_CFLAGS=$CFLAGS
15813 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15814 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15815 if test "${ac_cv_prog_cc_g+set}" = set; then
15816 echo $ECHO_N "(cached) $ECHO_C" >&6
15818 ac_save_c_werror_flag=$ac_c_werror_flag
15819 ac_c_werror_flag=yes
15822 cat >conftest.$ac_ext <<_ACEOF
15825 cat confdefs.h >>conftest.$ac_ext
15826 cat >>conftest.$ac_ext <<_ACEOF
15827 /* end confdefs.h. */
15837 rm -f conftest.$ac_objext
15838 if { (ac_try="$ac_compile"
15839 case "(($ac_try" in
15840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15841 *) ac_try_echo=$ac_try;;
15843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15844 (eval "$ac_compile") 2>conftest.er1
15846 grep -v '^ *+' conftest.er1 >conftest.err
15848 cat conftest.err >&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); } && {
15851 test -z "$ac_c_werror_flag" ||
15852 test ! -s conftest.err
15853 } && test -s conftest.$ac_objext; then
15854 ac_cv_prog_cc_g=yes
15856 echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.$ac_ext >&5
15860 cat >conftest.$ac_ext <<_ACEOF
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15875 rm -f conftest.$ac_objext
15876 if { (ac_try="$ac_compile"
15877 case "(($ac_try" in
15878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15879 *) ac_try_echo=$ac_try;;
15881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15882 (eval "$ac_compile") 2>conftest.er1
15884 grep -v '^ *+' conftest.er1 >conftest.err
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } && {
15889 test -z "$ac_c_werror_flag" ||
15890 test ! -s conftest.err
15891 } && test -s conftest.$ac_objext; then
15894 echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15897 ac_c_werror_flag=$ac_save_c_werror_flag
15899 cat >conftest.$ac_ext <<_ACEOF
15902 cat confdefs.h >>conftest.$ac_ext
15903 cat >>conftest.$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15914 rm -f conftest.$ac_objext
15915 if { (ac_try="$ac_compile"
15916 case "(($ac_try" in
15917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15918 *) ac_try_echo=$ac_try;;
15920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15921 (eval "$ac_compile") 2>conftest.er1
15923 grep -v '^ *+' conftest.er1 >conftest.err
15925 cat conftest.err >&5
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); } && {
15928 test -z "$ac_c_werror_flag" ||
15929 test ! -s conftest.err
15930 } && test -s conftest.$ac_objext; then
15931 ac_cv_prog_cc_g=yes
15933 echo "$as_me: failed program was:" >&5
15934 sed 's/^/| /' conftest.$ac_ext >&5
15939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15946 ac_c_werror_flag=$ac_save_c_werror_flag
15948 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15949 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15950 if test "$ac_test_CFLAGS" = set; then
15951 CFLAGS=$ac_save_CFLAGS
15952 elif test $ac_cv_prog_cc_g = yes; then
15953 if test "$GCC" = yes; then
15959 if test "$GCC" = yes; then
15965 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15966 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15967 if test "${ac_cv_prog_cc_c89+set}" = set; then
15968 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 ac_cv_prog_cc_c89=no
15972 cat >conftest.$ac_ext <<_ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978 #include <stdarg.h>
15980 #include <sys/types.h>
15981 #include <sys/stat.h>
15982 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15983 struct buf { int x; };
15984 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15985 static char *e (p, i)
15991 static char *f (char * (*g) (char **, int), char **p, ...)
15996 s = g (p, va_arg (v,int));
16001 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16002 function prototypes and stuff, but not '\xHH' hex character constants.
16003 These don't provoke an error unfortunately, instead are silently treated
16004 as 'x'. The following induces an error, until -std is added to get
16005 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16006 array size at least. It's necessary to write '\x00'==0 to get something
16007 that's true only with -std. */
16008 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16010 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16011 inside strings and character constants. */
16013 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16015 int test (int i, double x);
16016 struct s1 {int (*f) (int a);};
16017 struct s2 {int (*f) (double a);};
16018 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16024 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16029 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16030 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16032 CC="$ac_save_CC $ac_arg"
16033 rm -f conftest.$ac_objext
16034 if { (ac_try="$ac_compile"
16035 case "(($ac_try" in
16036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16037 *) ac_try_echo=$ac_try;;
16039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16040 (eval "$ac_compile") 2>conftest.er1
16042 grep -v '^ *+' conftest.er1 >conftest.err
16044 cat conftest.err >&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); } && {
16047 test -z "$ac_c_werror_flag" ||
16048 test ! -s conftest.err
16049 } && test -s conftest.$ac_objext; then
16050 ac_cv_prog_cc_c89=$ac_arg
16052 echo "$as_me: failed program was:" >&5
16053 sed 's/^/| /' conftest.$ac_ext >&5
16058 rm -f core conftest.err conftest.$ac_objext
16059 test "x$ac_cv_prog_cc_c89" != "xno" && break
16061 rm -f conftest.$ac_ext
16066 case "x$ac_cv_prog_cc_c89" in
16068 { echo "$as_me:$LINENO: result: none needed" >&5
16069 echo "${ECHO_T}none needed" >&6; } ;;
16071 { echo "$as_me:$LINENO: result: unsupported" >&5
16072 echo "${ECHO_T}unsupported" >&6; } ;;
16074 CC="$CC $ac_cv_prog_cc_c89"
16075 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16076 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16081 ac_cpp='$CPP $CPPFLAGS'
16082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16094 ac_cpp='$CPP $CPPFLAGS'
16095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16099 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16100 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16101 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16104 cat >conftest.$ac_ext <<_ACEOF
16107 cat confdefs.h >>conftest.$ac_ext
16108 cat >>conftest.$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16115 #ifndef __INTEL_COMPILER
16123 rm -f conftest.$ac_objext
16124 if { (ac_try="$ac_compile"
16125 case "(($ac_try" in
16126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16127 *) ac_try_echo=$ac_try;;
16129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16130 (eval "$ac_compile") 2>conftest.er1
16132 grep -v '^ *+' conftest.er1 >conftest.err
16134 cat conftest.err >&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } && {
16137 test -z "$ac_c_werror_flag" ||
16138 test ! -s conftest.err
16139 } && test -s conftest.$ac_objext; then
16140 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.$ac_ext >&5
16145 bakefile_cv_c_compiler___INTEL_COMPILER=no
16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16153 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16154 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16155 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16161 ac_cpp='$CPP $CPPFLAGS'
16162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16169 if test "$INTELCC" = "yes"; then
16173 ac_cpp='$CPP $CPPFLAGS'
16174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16178 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
16179 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
16180 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16181 echo $ECHO_N "(cached) $ECHO_C" >&6
16183 cat >conftest.$ac_ext <<_ACEOF
16186 cat confdefs.h >>conftest.$ac_ext
16187 cat >>conftest.$ac_ext <<_ACEOF
16188 /* end confdefs.h. */
16194 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16202 rm -f conftest.$ac_objext
16203 if { (ac_try="$ac_compile"
16204 case "(($ac_try" in
16205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16206 *) ac_try_echo=$ac_try;;
16208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16209 (eval "$ac_compile") 2>conftest.er1
16211 grep -v '^ *+' conftest.er1 >conftest.err
16213 cat conftest.err >&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } && {
16216 test -z "$ac_c_werror_flag" ||
16217 test ! -s conftest.err
16218 } && test -s conftest.$ac_objext; then
16219 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16221 echo "$as_me: failed program was:" >&5
16222 sed 's/^/| /' conftest.$ac_ext >&5
16224 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16232 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16233 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16234 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16240 ac_cpp='$CPP $CPPFLAGS'
16241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16250 ac_cpp='$CPP $CPPFLAGS'
16251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16255 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
16256 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
16257 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16258 echo $ECHO_N "(cached) $ECHO_C" >&6
16260 cat >conftest.$ac_ext <<_ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16271 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16279 rm -f conftest.$ac_objext
16280 if { (ac_try="$ac_compile"
16281 case "(($ac_try" in
16282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16283 *) ac_try_echo=$ac_try;;
16285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16286 (eval "$ac_compile") 2>conftest.er1
16288 grep -v '^ *+' conftest.er1 >conftest.err
16290 cat conftest.err >&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); } && {
16293 test -z "$ac_c_werror_flag" ||
16294 test ! -s conftest.err
16295 } && test -s conftest.$ac_objext; then
16296 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16298 echo "$as_me: failed program was:" >&5
16299 sed 's/^/| /' conftest.$ac_ext >&5
16301 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16309 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16310 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16311 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16317 ac_cpp='$CPP $CPPFLAGS'
16318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16326 if test "x$GCC" != "xyes"; then
16327 if test "xCC" = "xC"; then
16328 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16329 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16330 if test "${bakefile_cv_c_exto+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 cat >conftest.$ac_ext <<_ACEOF
16336 cat confdefs.h >>conftest.$ac_ext
16337 cat >>conftest.$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16348 rm -f conftest.$ac_objext conftest.$ac_ext.o
16349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16350 (eval $ac_compile) 2>&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; then
16354 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16356 conftest.$ac_ext.o)
16357 bakefile_cv_c_exto="-ext o"
16364 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16365 See \`config.log' for more details." >&5
16366 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16367 See \`config.log' for more details." >&2;}
16368 { (exit 1); exit 1; }; }
16372 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16375 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16376 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16377 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16378 if test "c" = "c"; then
16379 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16381 if test "c" = "cxx"; then
16382 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16386 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16387 unset ac_cv_prog_cc_g
16388 ac_test_CFLAGS=${CFLAGS+set}
16389 ac_save_CFLAGS=$CFLAGS
16390 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16391 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16392 if test "${ac_cv_prog_cc_g+set}" = set; then
16393 echo $ECHO_N "(cached) $ECHO_C" >&6
16395 ac_save_c_werror_flag=$ac_c_werror_flag
16396 ac_c_werror_flag=yes
16399 cat >conftest.$ac_ext <<_ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16414 rm -f conftest.$ac_objext
16415 if { (ac_try="$ac_compile"
16416 case "(($ac_try" in
16417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16418 *) ac_try_echo=$ac_try;;
16420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16421 (eval "$ac_compile") 2>conftest.er1
16423 grep -v '^ *+' conftest.er1 >conftest.err
16425 cat conftest.err >&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); } && {
16428 test -z "$ac_c_werror_flag" ||
16429 test ! -s conftest.err
16430 } && test -s conftest.$ac_objext; then
16431 ac_cv_prog_cc_g=yes
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.$ac_ext >&5
16437 cat >conftest.$ac_ext <<_ACEOF
16440 cat confdefs.h >>conftest.$ac_ext
16441 cat >>conftest.$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16452 rm -f conftest.$ac_objext
16453 if { (ac_try="$ac_compile"
16454 case "(($ac_try" in
16455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16456 *) ac_try_echo=$ac_try;;
16458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16459 (eval "$ac_compile") 2>conftest.er1
16461 grep -v '^ *+' conftest.er1 >conftest.err
16463 cat conftest.err >&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); } && {
16466 test -z "$ac_c_werror_flag" ||
16467 test ! -s conftest.err
16468 } && test -s conftest.$ac_objext; then
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.$ac_ext >&5
16474 ac_c_werror_flag=$ac_save_c_werror_flag
16476 cat >conftest.$ac_ext <<_ACEOF
16479 cat confdefs.h >>conftest.$ac_ext
16480 cat >>conftest.$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16491 rm -f conftest.$ac_objext
16492 if { (ac_try="$ac_compile"
16493 case "(($ac_try" in
16494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16495 *) ac_try_echo=$ac_try;;
16497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16498 (eval "$ac_compile") 2>conftest.er1
16500 grep -v '^ *+' conftest.er1 >conftest.err
16502 cat conftest.err >&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); } && {
16505 test -z "$ac_c_werror_flag" ||
16506 test ! -s conftest.err
16507 } && test -s conftest.$ac_objext; then
16508 ac_cv_prog_cc_g=yes
16510 echo "$as_me: failed program was:" >&5
16511 sed 's/^/| /' conftest.$ac_ext >&5
16516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16523 ac_c_werror_flag=$ac_save_c_werror_flag
16525 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16526 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16527 if test "$ac_test_CFLAGS" = set; then
16528 CFLAGS=$ac_save_CFLAGS
16529 elif test $ac_cv_prog_cc_g = yes; then
16530 if test "$GCC" = yes; then
16536 if test "$GCC" = yes; then
16550 ac_cpp='$CPP $CPPFLAGS'
16551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16555 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16556 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16557 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16558 echo $ECHO_N "(cached) $ECHO_C" >&6
16560 cat >conftest.$ac_ext <<_ACEOF
16563 cat confdefs.h >>conftest.$ac_ext
16564 cat >>conftest.$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16579 rm -f conftest.$ac_objext
16580 if { (ac_try="$ac_compile"
16581 case "(($ac_try" in
16582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16583 *) ac_try_echo=$ac_try;;
16585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16586 (eval "$ac_compile") 2>conftest.er1
16588 grep -v '^ *+' conftest.er1 >conftest.err
16590 cat conftest.err >&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); } && {
16593 test -z "$ac_c_werror_flag" ||
16594 test ! -s conftest.err
16595 } && test -s conftest.$ac_objext; then
16596 bakefile_cv_c_compiler___xlC__=yes
16598 echo "$as_me: failed program was:" >&5
16599 sed 's/^/| /' conftest.$ac_ext >&5
16601 bakefile_cv_c_compiler___xlC__=no
16605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16609 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16610 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16611 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16617 ac_cpp='$CPP $CPPFLAGS'
16618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16630 ac_cpp='$CPP $CPPFLAGS'
16631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16635 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16636 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16637 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 cat >conftest.$ac_ext <<_ACEOF
16643 cat confdefs.h >>conftest.$ac_ext
16644 cat >>conftest.$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16659 rm -f conftest.$ac_objext
16660 if { (ac_try="$ac_compile"
16661 case "(($ac_try" in
16662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16663 *) ac_try_echo=$ac_try;;
16665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16666 (eval "$ac_compile") 2>conftest.er1
16668 grep -v '^ *+' conftest.er1 >conftest.err
16670 cat conftest.err >&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); } && {
16673 test -z "$ac_c_werror_flag" ||
16674 test ! -s conftest.err
16675 } && test -s conftest.$ac_objext; then
16676 bakefile_cv_c_compiler___MWERKS__=yes
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.$ac_ext >&5
16681 bakefile_cv_c_compiler___MWERKS__=no
16685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16689 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16690 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16691 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16697 ac_cpp='$CPP $CPPFLAGS'
16698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16704 if test "$MWCC" != "yes"; then
16708 ac_cpp='$CPP $CPPFLAGS'
16709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16713 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16714 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16715 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16716 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 cat >conftest.$ac_ext <<_ACEOF
16721 cat confdefs.h >>conftest.$ac_ext
16722 cat >>conftest.$ac_ext <<_ACEOF
16723 /* end confdefs.h. */
16737 rm -f conftest.$ac_objext
16738 if { (ac_try="$ac_compile"
16739 case "(($ac_try" in
16740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16741 *) ac_try_echo=$ac_try;;
16743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16744 (eval "$ac_compile") 2>conftest.er1
16746 grep -v '^ *+' conftest.er1 >conftest.err
16748 cat conftest.err >&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } && {
16751 test -z "$ac_c_werror_flag" ||
16752 test ! -s conftest.err
16753 } && test -s conftest.$ac_objext; then
16754 bakefile_cv_c_compiler___xlC__=yes
16756 echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.$ac_ext >&5
16759 bakefile_cv_c_compiler___xlC__=no
16763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16767 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16768 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16769 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16775 ac_cpp='$CPP $CPPFLAGS'
16776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16789 ac_cpp='$CPP $CPPFLAGS'
16790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16794 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16795 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16796 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16797 echo $ECHO_N "(cached) $ECHO_C" >&6
16799 cat >conftest.$ac_ext <<_ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16810 #ifndef _SGI_COMPILER_VERSION
16818 rm -f conftest.$ac_objext
16819 if { (ac_try="$ac_compile"
16820 case "(($ac_try" in
16821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16822 *) ac_try_echo=$ac_try;;
16824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16825 (eval "$ac_compile") 2>conftest.er1
16827 grep -v '^ *+' conftest.er1 >conftest.err
16829 cat conftest.err >&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } && {
16832 test -z "$ac_c_werror_flag" ||
16833 test ! -s conftest.err
16834 } && test -s conftest.$ac_objext; then
16835 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16837 echo "$as_me: failed program was:" >&5
16838 sed 's/^/| /' conftest.$ac_ext >&5
16840 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16848 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16849 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16850 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16856 ac_cpp='$CPP $CPPFLAGS'
16857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16866 if test "$INTELCC" != "yes"; then
16870 ac_cpp='$CPP $CPPFLAGS'
16871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16875 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16876 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16877 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 cat >conftest.$ac_ext <<_ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16899 rm -f conftest.$ac_objext
16900 if { (ac_try="$ac_compile"
16901 case "(($ac_try" in
16902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16903 *) ac_try_echo=$ac_try;;
16905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16906 (eval "$ac_compile") 2>conftest.er1
16908 grep -v '^ *+' conftest.er1 >conftest.err
16910 cat conftest.err >&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } && {
16913 test -z "$ac_c_werror_flag" ||
16914 test ! -s conftest.err
16915 } && test -s conftest.$ac_objext; then
16916 bakefile_cv_c_compiler___SUNPRO_C=yes
16918 echo "$as_me: failed program was:" >&5
16919 sed 's/^/| /' conftest.$ac_ext >&5
16921 bakefile_cv_c_compiler___SUNPRO_C=no
16925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16929 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16930 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16931 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16937 ac_cpp='$CPP $CPPFLAGS'
16938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16951 ac_cpp='$CPP $CPPFLAGS'
16952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16956 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16957 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16958 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16961 cat >conftest.$ac_ext <<_ACEOF
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16980 rm -f conftest.$ac_objext
16981 if { (ac_try="$ac_compile"
16982 case "(($ac_try" in
16983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16984 *) ac_try_echo=$ac_try;;
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_compile") 2>conftest.er1
16989 grep -v '^ *+' conftest.er1 >conftest.err
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_c_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest.$ac_objext; then
16997 bakefile_cv_c_compiler___HP_cc=yes
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.$ac_ext >&5
17002 bakefile_cv_c_compiler___HP_cc=no
17006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17010 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17011 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17012 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17018 ac_cpp='$CPP $CPPFLAGS'
17019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17031 ac_cpp='$CPP $CPPFLAGS'
17032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17036 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17037 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17038 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 cat >conftest.$ac_ext <<_ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17060 rm -f conftest.$ac_objext
17061 if { (ac_try="$ac_compile"
17062 case "(($ac_try" in
17063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17064 *) ac_try_echo=$ac_try;;
17066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17067 (eval "$ac_compile") 2>conftest.er1
17069 grep -v '^ *+' conftest.er1 >conftest.err
17071 cat conftest.err >&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } && {
17074 test -z "$ac_c_werror_flag" ||
17075 test ! -s conftest.err
17076 } && test -s conftest.$ac_objext; then
17077 bakefile_cv_c_compiler___DECC=yes
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17082 bakefile_cv_c_compiler___DECC=no
17086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17091 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17092 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17098 ac_cpp='$CPP $CPPFLAGS'
17099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17111 ac_cpp='$CPP $CPPFLAGS'
17112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17116 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17117 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17118 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 cat >conftest.$ac_ext <<_ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17140 rm -f conftest.$ac_objext
17141 if { (ac_try="$ac_compile"
17142 case "(($ac_try" in
17143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17144 *) ac_try_echo=$ac_try;;
17146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17147 (eval "$ac_compile") 2>conftest.er1
17149 grep -v '^ *+' conftest.er1 >conftest.err
17151 cat conftest.err >&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } && {
17154 test -z "$ac_c_werror_flag" ||
17155 test ! -s conftest.err
17156 } && test -s conftest.$ac_objext; then
17157 bakefile_cv_c_compiler___SUNPRO_C=yes
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.$ac_ext >&5
17162 bakefile_cv_c_compiler___SUNPRO_C=no
17166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17170 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17171 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17172 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17178 ac_cpp='$CPP $CPPFLAGS'
17179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17192 ac_cpp='$CPP $CPPFLAGS'
17193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17196 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17197 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17198 # On Suns, sometimes $CPP names a directory.
17199 if test -n "$CPP" && test -d "$CPP"; then
17202 if test -z "$CPP"; then
17203 if test "${ac_cv_prog_CPP+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 # Double quotes because CPP needs to be expanded
17207 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17209 ac_preproc_ok=false
17210 for ac_c_preproc_warn_flag in '' yes
17212 # Use a header file that comes with gcc, so configuring glibc
17213 # with a fresh cross-compiler works.
17214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17215 # <limits.h> exists even on freestanding compilers.
17216 # On the NeXT, cc -E runs the code through the compiler's parser,
17217 # not just through cpp. "Syntax error" is here to catch this case.
17218 cat >conftest.$ac_ext <<_ACEOF
17221 cat confdefs.h >>conftest.$ac_ext
17222 cat >>conftest.$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17225 # include <limits.h>
17227 # include <assert.h>
17231 if { (ac_try="$ac_cpp conftest.$ac_ext"
17232 case "(($ac_try" in
17233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17234 *) ac_try_echo=$ac_try;;
17236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17239 grep -v '^ *+' conftest.er1 >conftest.err
17241 cat conftest.err >&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } >/dev/null && {
17244 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17245 test ! -s conftest.err
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.$ac_ext >&5
17252 # Broken: fails on valid input.
17256 rm -f conftest.err conftest.$ac_ext
17258 # OK, works on sane cases. Now check whether nonexistent headers
17259 # can be detected and how.
17260 cat >conftest.$ac_ext <<_ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 #include <ac_nonexistent.h>
17268 if { (ac_try="$ac_cpp conftest.$ac_ext"
17269 case "(($ac_try" in
17270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17271 *) ac_try_echo=$ac_try;;
17273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17276 grep -v '^ *+' conftest.er1 >conftest.err
17278 cat conftest.err >&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } >/dev/null && {
17281 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17282 test ! -s conftest.err
17284 # Broken: success on invalid input.
17287 echo "$as_me: failed program was:" >&5
17288 sed 's/^/| /' conftest.$ac_ext >&5
17290 # Passes both tests.
17295 rm -f conftest.err conftest.$ac_ext
17298 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17299 rm -f conftest.err conftest.$ac_ext
17300 if $ac_preproc_ok; then
17305 ac_cv_prog_CPP=$CPP
17308 CPP=$ac_cv_prog_CPP
17310 ac_cv_prog_CPP=$CPP
17312 { echo "$as_me:$LINENO: result: $CPP" >&5
17313 echo "${ECHO_T}$CPP" >&6; }
17314 ac_preproc_ok=false
17315 for ac_c_preproc_warn_flag in '' yes
17317 # Use a header file that comes with gcc, so configuring glibc
17318 # with a fresh cross-compiler works.
17319 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17320 # <limits.h> exists even on freestanding compilers.
17321 # On the NeXT, cc -E runs the code through the compiler's parser,
17322 # not just through cpp. "Syntax error" is here to catch this case.
17323 cat >conftest.$ac_ext <<_ACEOF
17326 cat confdefs.h >>conftest.$ac_ext
17327 cat >>conftest.$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17330 # include <limits.h>
17332 # include <assert.h>
17336 if { (ac_try="$ac_cpp conftest.$ac_ext"
17337 case "(($ac_try" in
17338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17339 *) ac_try_echo=$ac_try;;
17341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17344 grep -v '^ *+' conftest.er1 >conftest.err
17346 cat conftest.err >&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } >/dev/null && {
17349 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17350 test ! -s conftest.err
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17357 # Broken: fails on valid input.
17361 rm -f conftest.err conftest.$ac_ext
17363 # OK, works on sane cases. Now check whether nonexistent headers
17364 # can be detected and how.
17365 cat >conftest.$ac_ext <<_ACEOF
17368 cat confdefs.h >>conftest.$ac_ext
17369 cat >>conftest.$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17371 #include <ac_nonexistent.h>
17373 if { (ac_try="$ac_cpp conftest.$ac_ext"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17381 grep -v '^ *+' conftest.er1 >conftest.err
17383 cat conftest.err >&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } >/dev/null && {
17386 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17387 test ! -s conftest.err
17389 # Broken: success on invalid input.
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17395 # Passes both tests.
17400 rm -f conftest.err conftest.$ac_ext
17403 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17404 rm -f conftest.err conftest.$ac_ext
17405 if $ac_preproc_ok; then
17408 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17409 See \`config.log' for more details." >&5
17410 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17411 See \`config.log' for more details." >&2;}
17412 { (exit 1); exit 1; }; }
17416 ac_cpp='$CPP $CPPFLAGS'
17417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17422 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17423 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17424 if test "${ac_cv_path_GREP+set}" = set; then
17425 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 # Extract the first word of "grep ggrep" to use in msg output
17428 if test -z "$GREP"; then
17429 set dummy grep ggrep; ac_prog_name=$2
17430 if test "${ac_cv_path_GREP+set}" = set; then
17431 echo $ECHO_N "(cached) $ECHO_C" >&6
17433 ac_path_GREP_found=false
17434 # Loop through the user's path and test for each of PROGNAME-LIST
17435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17436 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17439 test -z "$as_dir" && as_dir=.
17440 for ac_prog in grep ggrep; do
17441 for ac_exec_ext in '' $ac_executable_extensions; do
17442 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17443 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17444 # Check for GNU ac_path_GREP and select it if it is found.
17445 # Check for GNU $ac_path_GREP
17446 case `"$ac_path_GREP" --version 2>&1` in
17448 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17451 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17454 cat "conftest.in" "conftest.in" >"conftest.tmp"
17455 mv "conftest.tmp" "conftest.in"
17456 cp "conftest.in" "conftest.nl"
17457 echo 'GREP' >> "conftest.nl"
17458 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17459 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17460 ac_count=`expr $ac_count + 1`
17461 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17462 # Best one so far, save it but keep looking for a better one
17463 ac_cv_path_GREP="$ac_path_GREP"
17464 ac_path_GREP_max=$ac_count
17466 # 10*(2^10) chars as input seems more than enough
17467 test $ac_count -gt 10 && break
17469 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17473 $ac_path_GREP_found && break 3
17483 GREP="$ac_cv_path_GREP"
17484 if test -z "$GREP"; then
17485 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17486 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17487 { (exit 1); exit 1; }; }
17491 ac_cv_path_GREP=$GREP
17496 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17497 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17498 GREP="$ac_cv_path_GREP"
17501 { echo "$as_me:$LINENO: checking for egrep" >&5
17502 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17503 if test "${ac_cv_path_EGREP+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17506 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17507 then ac_cv_path_EGREP="$GREP -E"
17509 # Extract the first word of "egrep" to use in msg output
17510 if test -z "$EGREP"; then
17511 set dummy egrep; ac_prog_name=$2
17512 if test "${ac_cv_path_EGREP+set}" = set; then
17513 echo $ECHO_N "(cached) $ECHO_C" >&6
17515 ac_path_EGREP_found=false
17516 # Loop through the user's path and test for each of PROGNAME-LIST
17517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17518 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17521 test -z "$as_dir" && as_dir=.
17522 for ac_prog in egrep; do
17523 for ac_exec_ext in '' $ac_executable_extensions; do
17524 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17525 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17526 # Check for GNU ac_path_EGREP and select it if it is found.
17527 # Check for GNU $ac_path_EGREP
17528 case `"$ac_path_EGREP" --version 2>&1` in
17530 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17533 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17536 cat "conftest.in" "conftest.in" >"conftest.tmp"
17537 mv "conftest.tmp" "conftest.in"
17538 cp "conftest.in" "conftest.nl"
17539 echo 'EGREP' >> "conftest.nl"
17540 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17541 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17542 ac_count=`expr $ac_count + 1`
17543 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17544 # Best one so far, save it but keep looking for a better one
17545 ac_cv_path_EGREP="$ac_path_EGREP"
17546 ac_path_EGREP_max=$ac_count
17548 # 10*(2^10) chars as input seems more than enough
17549 test $ac_count -gt 10 && break
17551 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17555 $ac_path_EGREP_found && break 3
17565 EGREP="$ac_cv_path_EGREP"
17566 if test -z "$EGREP"; then
17567 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17568 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17569 { (exit 1); exit 1; }; }
17573 ac_cv_path_EGREP=$EGREP
17579 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17580 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17581 EGREP="$ac_cv_path_EGREP"
17584 if test $ac_cv_c_compiler_gnu = yes; then
17585 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17586 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17587 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17588 echo $ECHO_N "(cached) $ECHO_C" >&6
17590 ac_pattern="Autoconf.*'x'"
17591 cat >conftest.$ac_ext <<_ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17601 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17602 ac_cv_prog_gcc_traditional=yes
17604 ac_cv_prog_gcc_traditional=no
17609 if test $ac_cv_prog_gcc_traditional = no; then
17610 cat >conftest.$ac_ext <<_ACEOF
17613 cat confdefs.h >>conftest.$ac_ext
17614 cat >>conftest.$ac_ext <<_ACEOF
17615 /* end confdefs.h. */
17616 #include <termio.h>
17619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17620 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17621 ac_cv_prog_gcc_traditional=yes
17627 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17628 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17629 if test $ac_cv_prog_gcc_traditional = yes; then
17630 CC="$CC -traditional"
17635 CXXFLAGS=${CXXFLAGS:=}
17637 ac_cpp='$CXXCPP $CPPFLAGS'
17638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17641 if test -z "$CXX"; then
17642 if test -n "$CCC"; then
17645 if test -n "$ac_tool_prefix"; then
17646 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17648 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17649 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17652 if test "${ac_cv_prog_CXX+set}" = set; then
17653 echo $ECHO_N "(cached) $ECHO_C" >&6
17655 if test -n "$CXX"; then
17656 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17659 for as_dir in $PATH
17662 test -z "$as_dir" && as_dir=.
17663 for ac_exec_ext in '' $ac_executable_extensions; do
17664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17665 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17675 CXX=$ac_cv_prog_CXX
17676 if test -n "$CXX"; then
17677 { echo "$as_me:$LINENO: result: $CXX" >&5
17678 echo "${ECHO_T}$CXX" >&6; }
17680 { echo "$as_me:$LINENO: result: no" >&5
17681 echo "${ECHO_T}no" >&6; }
17685 test -n "$CXX" && break
17688 if test -z "$CXX"; then
17690 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17692 # Extract the first word of "$ac_prog", so it can be a program name with args.
17693 set dummy $ac_prog; 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_ac_ct_CXX+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17699 if test -n "$ac_ct_CXX"; then
17700 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_ac_ct_CXX="$ac_prog"
17710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17719 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17720 if test -n "$ac_ct_CXX"; then
17721 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17722 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17724 { echo "$as_me:$LINENO: result: no" >&5
17725 echo "${ECHO_T}no" >&6; }
17729 test -n "$ac_ct_CXX" && break
17732 if test "x$ac_ct_CXX" = x; then
17735 case $cross_compiling:$ac_tool_warned in
17737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17738 whose name does not start with the host triplet. If you think this
17739 configuration is useful to you, please write to autoconf@gnu.org." >&5
17740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17741 whose name does not start with the host triplet. If you think this
17742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17743 ac_tool_warned=yes ;;
17751 # Provide some information about the compiler.
17752 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17753 ac_compiler=`set X $ac_compile; echo $2`
17754 { (ac_try="$ac_compiler --version >&5"
17755 case "(($ac_try" in
17756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17757 *) ac_try_echo=$ac_try;;
17759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17760 (eval "$ac_compiler --version >&5") 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }
17764 { (ac_try="$ac_compiler -v >&5"
17765 case "(($ac_try" in
17766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17767 *) ac_try_echo=$ac_try;;
17769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17770 (eval "$ac_compiler -v >&5") 2>&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }
17774 { (ac_try="$ac_compiler -V >&5"
17775 case "(($ac_try" in
17776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17777 *) ac_try_echo=$ac_try;;
17779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17780 (eval "$ac_compiler -V >&5") 2>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }
17785 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17786 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17787 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17788 echo $ECHO_N "(cached) $ECHO_C" >&6
17790 cat >conftest.$ac_ext <<_ACEOF
17793 cat confdefs.h >>conftest.$ac_ext
17794 cat >>conftest.$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17808 rm -f conftest.$ac_objext
17809 if { (ac_try="$ac_compile"
17810 case "(($ac_try" in
17811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17812 *) ac_try_echo=$ac_try;;
17814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17815 (eval "$ac_compile") 2>conftest.er1
17817 grep -v '^ *+' conftest.er1 >conftest.err
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } && {
17822 test -z "$ac_cxx_werror_flag" ||
17823 test ! -s conftest.err
17824 } && test -s conftest.$ac_objext; then
17825 ac_compiler_gnu=yes
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17837 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17838 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17839 GXX=`test $ac_compiler_gnu = yes && echo yes`
17840 ac_test_CXXFLAGS=${CXXFLAGS+set}
17841 ac_save_CXXFLAGS=$CXXFLAGS
17842 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17843 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17844 if test "${ac_cv_prog_cxx_g+set}" = set; then
17845 echo $ECHO_N "(cached) $ECHO_C" >&6
17847 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17848 ac_cxx_werror_flag=yes
17849 ac_cv_prog_cxx_g=no
17851 cat >conftest.$ac_ext <<_ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17866 rm -f conftest.$ac_objext
17867 if { (ac_try="$ac_compile"
17868 case "(($ac_try" in
17869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17870 *) ac_try_echo=$ac_try;;
17872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17873 (eval "$ac_compile") 2>conftest.er1
17875 grep -v '^ *+' conftest.er1 >conftest.err
17877 cat conftest.err >&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } && {
17880 test -z "$ac_cxx_werror_flag" ||
17881 test ! -s conftest.err
17882 } && test -s conftest.$ac_objext; then
17883 ac_cv_prog_cxx_g=yes
17885 echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.$ac_ext >&5
17889 cat >conftest.$ac_ext <<_ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17904 rm -f conftest.$ac_objext
17905 if { (ac_try="$ac_compile"
17906 case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17908 *) ac_try_echo=$ac_try;;
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_compile") 2>conftest.er1
17913 grep -v '^ *+' conftest.er1 >conftest.err
17915 cat conftest.err >&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } && {
17918 test -z "$ac_cxx_werror_flag" ||
17919 test ! -s conftest.err
17920 } && test -s conftest.$ac_objext; then
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17926 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17928 cat >conftest.$ac_ext <<_ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17943 rm -f conftest.$ac_objext
17944 if { (ac_try="$ac_compile"
17945 case "(($ac_try" in
17946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17947 *) ac_try_echo=$ac_try;;
17949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17950 (eval "$ac_compile") 2>conftest.er1
17952 grep -v '^ *+' conftest.er1 >conftest.err
17954 cat conftest.err >&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } && {
17957 test -z "$ac_cxx_werror_flag" ||
17958 test ! -s conftest.err
17959 } && test -s conftest.$ac_objext; then
17960 ac_cv_prog_cxx_g=yes
17962 echo "$as_me: failed program was:" >&5
17963 sed 's/^/| /' conftest.$ac_ext >&5
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17977 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17978 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17979 if test "$ac_test_CXXFLAGS" = set; then
17980 CXXFLAGS=$ac_save_CXXFLAGS
17981 elif test $ac_cv_prog_cxx_g = yes; then
17982 if test "$GXX" = yes; then
17988 if test "$GXX" = yes; then
17995 ac_cpp='$CPP $CPPFLAGS'
17996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18008 ac_cpp='$CXXCPP $CPPFLAGS'
18009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18013 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18014 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18015 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18016 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 cat >conftest.$ac_ext <<_ACEOF
18021 cat confdefs.h >>conftest.$ac_ext
18022 cat >>conftest.$ac_ext <<_ACEOF
18023 /* end confdefs.h. */
18029 #ifndef __INTEL_COMPILER
18037 rm -f conftest.$ac_objext
18038 if { (ac_try="$ac_compile"
18039 case "(($ac_try" in
18040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18041 *) ac_try_echo=$ac_try;;
18043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18044 (eval "$ac_compile") 2>conftest.er1
18046 grep -v '^ *+' conftest.er1 >conftest.err
18048 cat conftest.err >&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && {
18051 test -z "$ac_cxx_werror_flag" ||
18052 test ! -s conftest.err
18053 } && test -s conftest.$ac_objext; then
18054 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.$ac_ext >&5
18059 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18067 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18068 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18069 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18075 ac_cpp='$CPP $CPPFLAGS'
18076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18083 if test "$INTELCXX" = "yes"; then
18087 ac_cpp='$CXXCPP $CPPFLAGS'
18088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18092 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18093 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18094 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18097 cat >conftest.$ac_ext <<_ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18108 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18116 rm -f conftest.$ac_objext
18117 if { (ac_try="$ac_compile"
18118 case "(($ac_try" in
18119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18120 *) ac_try_echo=$ac_try;;
18122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18123 (eval "$ac_compile") 2>conftest.er1
18125 grep -v '^ *+' conftest.er1 >conftest.err
18127 cat conftest.err >&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); } && {
18130 test -z "$ac_cxx_werror_flag" ||
18131 test ! -s conftest.err
18132 } && test -s conftest.$ac_objext; then
18133 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18135 echo "$as_me: failed program was:" >&5
18136 sed 's/^/| /' conftest.$ac_ext >&5
18138 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18146 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18147 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18148 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18154 ac_cpp='$CPP $CPPFLAGS'
18155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18164 ac_cpp='$CXXCPP $CPPFLAGS'
18165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18169 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18170 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18171 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6
18174 cat >conftest.$ac_ext <<_ACEOF
18177 cat confdefs.h >>conftest.$ac_ext
18178 cat >>conftest.$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18185 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18193 rm -f conftest.$ac_objext
18194 if { (ac_try="$ac_compile"
18195 case "(($ac_try" in
18196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18197 *) ac_try_echo=$ac_try;;
18199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18200 (eval "$ac_compile") 2>conftest.er1
18202 grep -v '^ *+' conftest.er1 >conftest.err
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } && {
18207 test -z "$ac_cxx_werror_flag" ||
18208 test ! -s conftest.err
18209 } && test -s conftest.$ac_objext; then
18210 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.$ac_ext >&5
18215 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18223 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18224 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18225 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18231 ac_cpp='$CPP $CPPFLAGS'
18232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18240 if test "x$GCXX" != "xyes"; then
18241 if test "xCXX" = "xC"; then
18242 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18243 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18244 if test "${bakefile_cv_c_exto+set}" = set; then
18245 echo $ECHO_N "(cached) $ECHO_C" >&6
18247 cat >conftest.$ac_ext <<_ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18262 rm -f conftest.$ac_objext conftest.$ac_ext.o
18263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18264 (eval $ac_compile) 2>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; then
18268 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18270 conftest.$ac_ext.o)
18271 bakefile_cv_c_exto="-ext o"
18278 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18279 See \`config.log' for more details." >&5
18280 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18281 See \`config.log' for more details." >&2;}
18282 { (exit 1); exit 1; }; }
18286 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18289 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18290 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18291 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18292 if test "c" = "c"; then
18293 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18295 if test "c" = "cxx"; then
18296 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18300 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18301 unset ac_cv_prog_cc_g
18302 ac_test_CFLAGS=${CFLAGS+set}
18303 ac_save_CFLAGS=$CFLAGS
18304 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18305 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18306 if test "${ac_cv_prog_cc_g+set}" = set; then
18307 echo $ECHO_N "(cached) $ECHO_C" >&6
18309 ac_save_c_werror_flag=$ac_c_werror_flag
18310 ac_c_werror_flag=yes
18313 cat >conftest.$ac_ext <<_ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18328 rm -f conftest.$ac_objext
18329 if { (ac_try="$ac_compile"
18330 case "(($ac_try" in
18331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18332 *) ac_try_echo=$ac_try;;
18334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18335 (eval "$ac_compile") 2>conftest.er1
18337 grep -v '^ *+' conftest.er1 >conftest.err
18339 cat conftest.err >&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } && {
18342 test -z "$ac_c_werror_flag" ||
18343 test ! -s conftest.err
18344 } && test -s conftest.$ac_objext; then
18345 ac_cv_prog_cc_g=yes
18347 echo "$as_me: failed program was:" >&5
18348 sed 's/^/| /' conftest.$ac_ext >&5
18351 cat >conftest.$ac_ext <<_ACEOF
18354 cat confdefs.h >>conftest.$ac_ext
18355 cat >>conftest.$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18366 rm -f conftest.$ac_objext
18367 if { (ac_try="$ac_compile"
18368 case "(($ac_try" in
18369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18370 *) ac_try_echo=$ac_try;;
18372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18373 (eval "$ac_compile") 2>conftest.er1
18375 grep -v '^ *+' conftest.er1 >conftest.err
18377 cat conftest.err >&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } && {
18380 test -z "$ac_c_werror_flag" ||
18381 test ! -s conftest.err
18382 } && test -s conftest.$ac_objext; then
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.$ac_ext >&5
18388 ac_c_werror_flag=$ac_save_c_werror_flag
18390 cat >conftest.$ac_ext <<_ACEOF
18393 cat confdefs.h >>conftest.$ac_ext
18394 cat >>conftest.$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18405 rm -f conftest.$ac_objext
18406 if { (ac_try="$ac_compile"
18407 case "(($ac_try" in
18408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18409 *) ac_try_echo=$ac_try;;
18411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18412 (eval "$ac_compile") 2>conftest.er1
18414 grep -v '^ *+' conftest.er1 >conftest.err
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } && {
18419 test -z "$ac_c_werror_flag" ||
18420 test ! -s conftest.err
18421 } && test -s conftest.$ac_objext; then
18422 ac_cv_prog_cc_g=yes
18424 echo "$as_me: failed program was:" >&5
18425 sed 's/^/| /' conftest.$ac_ext >&5
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18437 ac_c_werror_flag=$ac_save_c_werror_flag
18439 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18440 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18441 if test "$ac_test_CFLAGS" = set; then
18442 CFLAGS=$ac_save_CFLAGS
18443 elif test $ac_cv_prog_cc_g = yes; then
18444 if test "$GCC" = yes; then
18450 if test "$GCC" = yes; then
18464 ac_cpp='$CXXCPP $CPPFLAGS'
18465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18469 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18470 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18471 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18472 echo $ECHO_N "(cached) $ECHO_C" >&6
18474 cat >conftest.$ac_ext <<_ACEOF
18477 cat confdefs.h >>conftest.$ac_ext
18478 cat >>conftest.$ac_ext <<_ACEOF
18479 /* end confdefs.h. */
18493 rm -f conftest.$ac_objext
18494 if { (ac_try="$ac_compile"
18495 case "(($ac_try" in
18496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18497 *) ac_try_echo=$ac_try;;
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_compile") 2>conftest.er1
18502 grep -v '^ *+' conftest.er1 >conftest.err
18504 cat conftest.err >&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); } && {
18507 test -z "$ac_cxx_werror_flag" ||
18508 test ! -s conftest.err
18509 } && test -s conftest.$ac_objext; then
18510 bakefile_cv_cxx_compiler___xlC__=yes
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.$ac_ext >&5
18515 bakefile_cv_cxx_compiler___xlC__=no
18519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18523 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18524 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18525 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18531 ac_cpp='$CPP $CPPFLAGS'
18532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18544 ac_cpp='$CXXCPP $CPPFLAGS'
18545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18549 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18550 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18551 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 cat >conftest.$ac_ext <<_ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18573 rm -f conftest.$ac_objext
18574 if { (ac_try="$ac_compile"
18575 case "(($ac_try" in
18576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18577 *) ac_try_echo=$ac_try;;
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_compile") 2>conftest.er1
18582 grep -v '^ *+' conftest.er1 >conftest.err
18584 cat conftest.err >&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } && {
18587 test -z "$ac_cxx_werror_flag" ||
18588 test ! -s conftest.err
18589 } && test -s conftest.$ac_objext; then
18590 bakefile_cv_cxx_compiler___MWERKS__=yes
18592 echo "$as_me: failed program was:" >&5
18593 sed 's/^/| /' conftest.$ac_ext >&5
18595 bakefile_cv_cxx_compiler___MWERKS__=no
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18603 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18604 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18605 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18611 ac_cpp='$CPP $CPPFLAGS'
18612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18618 if test "$MWCXX" != "yes"; then
18622 ac_cpp='$CXXCPP $CPPFLAGS'
18623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18627 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18628 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18629 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18630 echo $ECHO_N "(cached) $ECHO_C" >&6
18632 cat >conftest.$ac_ext <<_ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18651 rm -f conftest.$ac_objext
18652 if { (ac_try="$ac_compile"
18653 case "(($ac_try" in
18654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18655 *) ac_try_echo=$ac_try;;
18657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18658 (eval "$ac_compile") 2>conftest.er1
18660 grep -v '^ *+' conftest.er1 >conftest.err
18662 cat conftest.err >&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } && {
18665 test -z "$ac_cxx_werror_flag" ||
18666 test ! -s conftest.err
18667 } && test -s conftest.$ac_objext; then
18668 bakefile_cv_cxx_compiler___xlC__=yes
18670 echo "$as_me: failed program was:" >&5
18671 sed 's/^/| /' conftest.$ac_ext >&5
18673 bakefile_cv_cxx_compiler___xlC__=no
18677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18681 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18682 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18683 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18689 ac_cpp='$CPP $CPPFLAGS'
18690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18703 ac_cpp='$CXXCPP $CPPFLAGS'
18704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18708 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18709 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18710 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 cat >conftest.$ac_ext <<_ACEOF
18716 cat confdefs.h >>conftest.$ac_ext
18717 cat >>conftest.$ac_ext <<_ACEOF
18718 /* end confdefs.h. */
18724 #ifndef _SGI_COMPILER_VERSION
18732 rm -f conftest.$ac_objext
18733 if { (ac_try="$ac_compile"
18734 case "(($ac_try" in
18735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18736 *) ac_try_echo=$ac_try;;
18738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_compile") 2>conftest.er1
18741 grep -v '^ *+' conftest.er1 >conftest.err
18743 cat conftest.err >&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } && {
18746 test -z "$ac_cxx_werror_flag" ||
18747 test ! -s conftest.err
18748 } && test -s conftest.$ac_objext; then
18749 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18754 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18762 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18763 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18764 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18770 ac_cpp='$CPP $CPPFLAGS'
18771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18780 if test "$INTELCXX" != "yes"; then
18784 ac_cpp='$CXXCPP $CPPFLAGS'
18785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18789 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18790 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18791 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18792 echo $ECHO_N "(cached) $ECHO_C" >&6
18794 cat >conftest.$ac_ext <<_ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18805 #ifndef __SUNPRO_CC
18813 rm -f conftest.$ac_objext
18814 if { (ac_try="$ac_compile"
18815 case "(($ac_try" in
18816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18817 *) ac_try_echo=$ac_try;;
18819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18820 (eval "$ac_compile") 2>conftest.er1
18822 grep -v '^ *+' conftest.er1 >conftest.err
18824 cat conftest.err >&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); } && {
18827 test -z "$ac_cxx_werror_flag" ||
18828 test ! -s conftest.err
18829 } && test -s conftest.$ac_objext; then
18830 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18832 echo "$as_me: failed program was:" >&5
18833 sed 's/^/| /' conftest.$ac_ext >&5
18835 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18843 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18844 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18845 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18851 ac_cpp='$CPP $CPPFLAGS'
18852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18865 ac_cpp='$CXXCPP $CPPFLAGS'
18866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18870 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18871 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18872 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 cat >conftest.$ac_ext <<_ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18894 rm -f conftest.$ac_objext
18895 if { (ac_try="$ac_compile"
18896 case "(($ac_try" in
18897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18898 *) ac_try_echo=$ac_try;;
18900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18901 (eval "$ac_compile") 2>conftest.er1
18903 grep -v '^ *+' conftest.er1 >conftest.err
18905 cat conftest.err >&5
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); } && {
18908 test -z "$ac_cxx_werror_flag" ||
18909 test ! -s conftest.err
18910 } && test -s conftest.$ac_objext; then
18911 bakefile_cv_cxx_compiler___HP_aCC=yes
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.$ac_ext >&5
18916 bakefile_cv_cxx_compiler___HP_aCC=no
18920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18924 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18925 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18926 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18932 ac_cpp='$CPP $CPPFLAGS'
18933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18945 ac_cpp='$CXXCPP $CPPFLAGS'
18946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18950 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18951 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18952 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18953 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 cat >conftest.$ac_ext <<_ACEOF
18958 cat confdefs.h >>conftest.$ac_ext
18959 cat >>conftest.$ac_ext <<_ACEOF
18960 /* end confdefs.h. */
18974 rm -f conftest.$ac_objext
18975 if { (ac_try="$ac_compile"
18976 case "(($ac_try" in
18977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18978 *) ac_try_echo=$ac_try;;
18980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18981 (eval "$ac_compile") 2>conftest.er1
18983 grep -v '^ *+' conftest.er1 >conftest.err
18985 cat conftest.err >&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); } && {
18988 test -z "$ac_cxx_werror_flag" ||
18989 test ! -s conftest.err
18990 } && test -s conftest.$ac_objext; then
18991 bakefile_cv_cxx_compiler___DECCXX=yes
18993 echo "$as_me: failed program was:" >&5
18994 sed 's/^/| /' conftest.$ac_ext >&5
18996 bakefile_cv_cxx_compiler___DECCXX=no
19000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19004 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19005 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19006 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19012 ac_cpp='$CPP $CPPFLAGS'
19013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19025 ac_cpp='$CXXCPP $CPPFLAGS'
19026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19030 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19031 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19032 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19035 cat >conftest.$ac_ext <<_ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19046 #ifndef __SUNPRO_CC
19054 rm -f conftest.$ac_objext
19055 if { (ac_try="$ac_compile"
19056 case "(($ac_try" in
19057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19058 *) ac_try_echo=$ac_try;;
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_compile") 2>conftest.er1
19063 grep -v '^ *+' conftest.er1 >conftest.err
19065 cat conftest.err >&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } && {
19068 test -z "$ac_cxx_werror_flag" ||
19069 test ! -s conftest.err
19070 } && test -s conftest.$ac_objext; then
19071 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19076 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19084 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19085 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19086 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19092 ac_cpp='$CPP $CPPFLAGS'
19093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19105 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19106 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19107 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19108 { (exit 1); exit 1; }; }
19111 if test "x$SUNCXX" != xyes; then
19112 if test -n "$ac_tool_prefix"; then
19113 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19114 set dummy ${ac_tool_prefix}ar; ac_word=$2
19115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19117 if test "${ac_cv_prog_AR+set}" = set; then
19118 echo $ECHO_N "(cached) $ECHO_C" >&6
19120 if test -n "$AR"; then
19121 ac_cv_prog_AR="$AR" # Let the user override the test.
19123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19124 for as_dir in $PATH
19127 test -z "$as_dir" && as_dir=.
19128 for ac_exec_ext in '' $ac_executable_extensions; do
19129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19130 ac_cv_prog_AR="${ac_tool_prefix}ar"
19131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19141 if test -n "$AR"; then
19142 { echo "$as_me:$LINENO: result: $AR" >&5
19143 echo "${ECHO_T}$AR" >&6; }
19145 { echo "$as_me:$LINENO: result: no" >&5
19146 echo "${ECHO_T}no" >&6; }
19151 if test -z "$ac_cv_prog_AR"; then
19153 # Extract the first word of "ar", so it can be a program name with args.
19154 set dummy ar; ac_word=$2
19155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19157 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19158 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 if test -n "$ac_ct_AR"; then
19161 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19164 for as_dir in $PATH
19167 test -z "$as_dir" && as_dir=.
19168 for ac_exec_ext in '' $ac_executable_extensions; do
19169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19170 ac_cv_prog_ac_ct_AR="ar"
19171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19180 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19181 if test -n "$ac_ct_AR"; then
19182 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19183 echo "${ECHO_T}$ac_ct_AR" >&6; }
19185 { echo "$as_me:$LINENO: result: no" >&5
19186 echo "${ECHO_T}no" >&6; }
19189 if test "x$ac_ct_AR" = x; then
19192 case $cross_compiling:$ac_tool_warned in
19194 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19195 whose name does not start with the host triplet. If you think this
19196 configuration is useful to you, please write to autoconf@gnu.org." >&5
19197 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19198 whose name does not start with the host triplet. If you think this
19199 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19200 ac_tool_warned=yes ;;
19205 AR="$ac_cv_prog_AR"
19208 if test "x$AR" = "x" ; then
19209 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19210 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19211 { (exit 1); exit 1; }; }
19216 if test "$wxUSE_MAC" = 1; then
19218 retest_macosx_linking=no
19221 if test "x$wxUSE_MAC_ARCH" != xno; then
19222 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
19225 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19226 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19227 # Implicitly turn on the new --with-macosx-sdk using the default
19228 # SDK which provides the behaviour this option has always had.
19229 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19230 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19231 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19232 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19233 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19234 wxUSE_MACOSX_SDK=yes
19237 # Complain to user if he specified an argument to --enable-universal_binary
19238 # and also 1) specified --with-macosx-sdk using the default (yes) or
19239 # 2) specified --with-macosx-sdk using a path or 3) specified
19240 # --without-macosx-sdk (no).
19241 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19242 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19243 See \`config.log' for more details." >&5
19244 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19245 See \`config.log' for more details." >&2;}
19246 { (exit 1); exit 1; }; }
19248 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19249 # special-case the empty string because the below test simply
19250 # converts "no" to the empty string anyway.
19251 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19252 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
19253 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
19256 OSX_ARCH_OPTS="-arch ppc -arch i386"
19257 if test "$wxUSE_OSX_COCOA" = 1; then
19258 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
19260 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
19261 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
19262 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
19263 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19265 retest_macosx_linking=yes
19267 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19268 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19272 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19273 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19274 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19275 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19276 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19278 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19280 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19281 # TODO: Search for most recent SDK and use it.
19282 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19286 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19287 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19288 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19289 if ! test -d "$wxUSE_MACOSX_SDK"; then
19290 { { echo "$as_me:$LINENO: error: not found
19291 See \`config.log' for more details." >&5
19292 echo "$as_me: error: not found
19293 See \`config.log' for more details." >&2;}
19294 { (exit 1); exit 1; }; }
19296 { echo "$as_me:$LINENO: result: exists" >&5
19297 echo "${ECHO_T}exists" >&6; }
19299 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19300 retest_macosx_linking=yes
19303 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19304 wxUSE_MACOSX_VERSION_MIN=
19305 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19306 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19307 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19308 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19310 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/'`
19312 # If that failed, try again with the new key
19313 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19315 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/'`
19319 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19320 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19321 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19322 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19324 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19325 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19326 wxUSE_MACOSX_VERSION_MIN=
19329 wxUSE_MACOSX_VERSION_MIN=
19331 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19332 for ac_prog in sw_vers
19334 # Extract the first word of "$ac_prog", so it can be a program name with args.
19335 set dummy $ac_prog; ac_word=$2
19336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19338 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19339 echo $ECHO_N "(cached) $ECHO_C" >&6
19341 if test -n "$OSX_SW_VERS"; then
19342 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19345 for as_dir in $PATH
19348 test -z "$as_dir" && as_dir=.
19349 for ac_exec_ext in '' $ac_executable_extensions; do
19350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19351 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19361 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19362 if test -n "$OSX_SW_VERS"; then
19363 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19364 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19366 { echo "$as_me:$LINENO: result: no" >&5
19367 echo "${ECHO_T}no" >&6; }
19371 test -n "$OSX_SW_VERS" && break
19374 if test "$OSX_SW_VERS" != ""; then
19375 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19377 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19378 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19382 case "$OSX_VERSION" in
19384 wxUSE_MACOSX_VERSION_MIN=10.4
19388 if test "$wxUSE_OSX_CARBON" = 1; then
19389 # otherwise configure stops on leopard for universal_binary
19390 wxUSE_MACOSX_VERSION_MIN=10.4
19392 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19393 wxUSE_MACOSX_VERSION_MIN=10.5
19400 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19404 if test "$wxUSE_OSX_CARBON" = 1; then
19408 if test "x$NEEDS_GCC40" == "xyes"; then
19409 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19410 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19411 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19412 if test "x$CC" = "xgcc"; then
19413 CCVERSION=`$CC --version | grep 4.[2-9].`
19414 if test "x$CCVERSION" != "x"; then
19415 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19420 if test "x$CXX" = "xg++"; then
19421 CCVERSION=`$CXX --version | grep 4.[2-9].`
19422 if test "x$CCVERSION" != "x"; then
19428 if test "x$MACOSX_SDK_OPTS" != "x"; then
19429 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19430 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19431 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19434 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19435 if test "$wxUSE_OSX_IPHONE" = 1; then
19436 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19438 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19440 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19441 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19442 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19443 retest_macosx_linking=yes
19446 if test "x$retest_macosx_linking" = "xyes"; then
19448 ac_cpp='$CPP $CPPFLAGS'
19449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19453 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19454 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19455 cat >conftest.$ac_ext <<_ACEOF
19458 cat confdefs.h >>conftest.$ac_ext
19459 cat >>conftest.$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19470 rm -f conftest.$ac_objext conftest$ac_exeext
19471 if { (ac_try="$ac_link"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_link") 2>conftest.er1
19479 grep -v '^ *+' conftest.er1 >conftest.err
19481 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } && {
19484 test -z "$ac_c_werror_flag" ||
19485 test ! -s conftest.err
19486 } && test -s conftest$ac_exeext &&
19487 $as_test_x conftest$ac_exeext; then
19488 { echo "$as_me:$LINENO: result: yes" >&5
19489 echo "${ECHO_T}yes" >&6; }
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.$ac_ext >&5
19494 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19495 See \`config.log' for more details." >&5
19496 echo "$as_me: error: no. Try a different SDK
19497 See \`config.log' for more details." >&2;}
19498 { (exit 1); exit 1; }; }; exit 1
19501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19502 conftest$ac_exeext conftest.$ac_ext
19504 ac_cpp='$CPP $CPPFLAGS'
19505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19511 ac_cpp='$CXXCPP $CPPFLAGS'
19512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19516 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19517 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19518 cat >conftest.$ac_ext <<_ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19533 rm -f conftest.$ac_objext conftest$ac_exeext
19534 if { (ac_try="$ac_link"
19535 case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_link") 2>conftest.er1
19542 grep -v '^ *+' conftest.er1 >conftest.err
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } && {
19547 test -z "$ac_cxx_werror_flag" ||
19548 test ! -s conftest.err
19549 } && test -s conftest$ac_exeext &&
19550 $as_test_x conftest$ac_exeext; then
19551 { echo "$as_me:$LINENO: result: yes" >&5
19552 echo "${ECHO_T}yes" >&6; }
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19557 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19558 See \`config.log' for more details." >&5
19559 echo "$as_me: error: no. Try a different SDK
19560 See \`config.log' for more details." >&2;}
19561 { (exit 1); exit 1; }; }; exit 1
19564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19565 conftest$ac_exeext conftest.$ac_ext
19567 ac_cpp='$CPP $CPPFLAGS'
19568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19578 INSTALL_PROGRAM="cp -fp"
19579 INSTALL_DATA="cp -fp"
19586 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19587 cat >>confdefs.h <<\_ACEOF
19588 #define _GNU_SOURCE 1
19593 if test "x$USE_AIX" = "x1"; then
19594 if test "x$XLCXX" = "xyes"; then
19595 CXXFLAGS="-qunique $CXXFLAGS"
19598 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19602 powerpc-*-darwin* )
19603 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19604 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19605 cat >conftest.$ac_ext <<_ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h. */
19615 #ifndef __POWERPC__
19616 choke me for lack of PowerPC
19623 rm -f conftest.$ac_objext
19624 if { (ac_try="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19632 grep -v '^ *+' conftest.er1 >conftest.err
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_c_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest.$ac_objext; then
19640 { echo "$as_me:$LINENO: result: yes" >&5
19641 echo "${ECHO_T}yes" >&6; }
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.$ac_ext >&5
19646 { echo "$as_me:$LINENO: result: no" >&5
19647 echo "${ECHO_T}no" >&6; }
19648 cat >>confdefs.h <<\_ACEOF
19649 #define __POWERPC__ 1
19655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19661 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19662 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19663 cat >conftest.$ac_ext <<_ACEOF
19666 cat confdefs.h >>conftest.$ac_ext
19667 cat >>conftest.$ac_ext <<_ACEOF
19668 /* end confdefs.h. */
19669 #include <CoreFoundation/CFBase.h>
19679 rm -f conftest.$ac_objext
19680 if { (ac_try="$ac_compile"
19681 case "(($ac_try" in
19682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19683 *) ac_try_echo=$ac_try;;
19685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19686 (eval "$ac_compile") 2>conftest.er1
19688 grep -v '^ *+' conftest.er1 >conftest.err
19690 cat conftest.err >&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); } && {
19693 test -z "$ac_c_werror_flag" ||
19694 test ! -s conftest.err
19695 } && test -s conftest.$ac_objext; then
19696 { echo "$as_me:$LINENO: result: yes" >&5
19697 echo "${ECHO_T}yes" >&6; }
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19702 { echo "$as_me:$LINENO: result: no" >&5
19703 echo "${ECHO_T}no" >&6; }
19704 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19705 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19706 cat >conftest.$ac_ext <<_ACEOF
19709 cat confdefs.h >>conftest.$ac_ext
19710 cat >>conftest.$ac_ext <<_ACEOF
19711 /* end confdefs.h. */
19712 #define __CF_USE_FRAMEWORK_INCLUDES__
19713 #include <CoreFoundation/CFBase.h>
19723 rm -f conftest.$ac_objext
19724 if { (ac_try="$ac_compile"
19725 case "(($ac_try" in
19726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19727 *) ac_try_echo=$ac_try;;
19729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19730 (eval "$ac_compile") 2>conftest.er1
19732 grep -v '^ *+' conftest.er1 >conftest.err
19734 cat conftest.err >&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } && {
19737 test -z "$ac_c_werror_flag" ||
19738 test ! -s conftest.err
19739 } && test -s conftest.$ac_objext; then
19740 { echo "$as_me:$LINENO: result: yes" >&5
19741 echo "${ECHO_T}yes" >&6; }
19742 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.$ac_ext >&5
19747 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19748 See \`config.log' for more details." >&5
19749 echo "$as_me: error: no. CoreFoundation not available.
19750 See \`config.log' for more details." >&2;}
19751 { (exit 1); exit 1; }; }
19755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19765 doesnt_want_win32=0
19768 if test "$wxUSE_MSW" = 1 ; then
19771 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19772 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19773 if test "${wx_cv_nocygwin+set}" = set; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19777 cat >conftest.$ac_ext <<_ACEOF
19780 cat confdefs.h >>conftest.$ac_ext
19781 cat >>conftest.$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19796 rm -f conftest.$ac_objext
19797 if { (ac_try="$ac_compile"
19798 case "(($ac_try" in
19799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19800 *) ac_try_echo=$ac_try;;
19802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19803 (eval "$ac_compile") 2>conftest.er1
19805 grep -v '^ *+' conftest.er1 >conftest.err
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } && {
19810 test -z "$ac_c_werror_flag" ||
19811 test ! -s conftest.err
19812 } && test -s conftest.$ac_objext; then
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19826 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19827 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19829 if test "$wx_cv_nocygwin" = "yes"; then
19832 doesnt_want_win32=1
19835 if test "$wants_win32" = 1 ; then
19836 BAKEFILE_FORCE_PLATFORM=win32
19844 if test "$wxUSE_WINE" = "yes"; then
19846 LDFLAGS_GUI="-mwindows"
19849 if test "$wants_win32" = 1 ; then
19852 cat >>confdefs.h <<\_ACEOF
19853 #define __WIN32__ 1
19856 cat >>confdefs.h <<\_ACEOF
19857 #define __WIN95__ 1
19860 cat >>confdefs.h <<\_ACEOF
19861 #define __WINDOWS__ 1
19864 cat >>confdefs.h <<\_ACEOF
19865 #define __GNUWIN32__ 1
19868 cat >>confdefs.h <<\_ACEOF
19873 if test "$doesnt_want_win32" = 1 ; then
19878 if test "$USE_UNIX" = 1 ; then
19880 cat >>confdefs.h <<\_ACEOF
19887 *-pc-os2_emx | *-pc-os2-emx )
19888 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19889 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19890 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19891 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19892 echo $ECHO_N "(cached) $ECHO_C" >&6
19894 ac_check_lib_save_LIBS=$LIBS
19895 LIBS="-lcExt $LIBS"
19896 cat >conftest.$ac_ext <<_ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19903 /* Override any GCC internal prototype to avoid an error.
19904 Use char because int might match the return type of a GCC
19905 builtin and then its argument prototype would still apply. */
19918 rm -f conftest.$ac_objext conftest$ac_exeext
19919 if { (ac_try="$ac_link"
19920 case "(($ac_try" in
19921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19922 *) ac_try_echo=$ac_try;;
19924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19925 (eval "$ac_link") 2>conftest.er1
19927 grep -v '^ *+' conftest.er1 >conftest.err
19929 cat conftest.err >&5
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); } && {
19932 test -z "$ac_c_werror_flag" ||
19933 test ! -s conftest.err
19934 } && test -s conftest$ac_exeext &&
19935 $as_test_x conftest$ac_exeext; then
19936 ac_cv_lib_cExt_drand48=yes
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.$ac_ext >&5
19941 ac_cv_lib_cExt_drand48=no
19944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19945 conftest$ac_exeext conftest.$ac_ext
19946 LIBS=$ac_check_lib_save_LIBS
19948 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19949 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19950 if test $ac_cv_lib_cExt_drand48 = yes; then
19951 LIBS="$LIBS -lcExt"
19955 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19957 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19958 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19959 if test "${wx_cv_gccversion+set}" = set; then
19960 echo $ECHO_N "(cached) $ECHO_C" >&6
19963 if test "$cross_compiling" = yes; then
19964 wx_cv_gccversion="EMX2"
19967 cat >conftest.$ac_ext <<_ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19978 FILE *f=fopen("conftestval", "w");
19983 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19985 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19995 rm -f conftest$ac_exeext
19996 if { (ac_try="$ac_link"
19997 case "(($ac_try" in
19998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19999 *) ac_try_echo=$ac_try;;
20001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20002 (eval "$ac_link") 2>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20006 { (case "(($ac_try" in
20007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20008 *) ac_try_echo=$ac_try;;
20010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20011 (eval "$ac_try") 2>&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; }; then
20015 wx_cv_gccversion=`cat conftestval`
20017 echo "$as_me: program exited with status $ac_status" >&5
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20021 ( exit $ac_status )
20022 wx_cv_gccversion="EMX2"
20024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20030 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20031 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20032 if test "$wx_cv_gccversion" = "EMX2"; then
20033 LIBS="$LIBS -lstdcpp"
20034 LDFLAGS="$LDFLAGS -Zsysv-signals"
20036 if test "$wx_cv_gccversion" = "EMX3"; then
20037 LIBS="$LIBS -lstdcxx -lgcc"
20038 LDFLAGS="$LDFLAGS -Zsysv-signals"
20040 LIBS="$LIBS -lstdc++"
20043 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20044 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20045 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20052 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20053 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20054 if test "${ac_cv_string_strcasecmp+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20058 cat >conftest.$ac_ext <<_ACEOF
20061 cat confdefs.h >>conftest.$ac_ext
20062 cat >>conftest.$ac_ext <<_ACEOF
20063 /* end confdefs.h. */
20065 #include <string.h>
20071 strcasecmp("foo", "bar");
20077 rm -f conftest.$ac_objext conftest$ac_exeext
20078 if { (ac_try="$ac_link"
20079 case "(($ac_try" in
20080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20081 *) ac_try_echo=$ac_try;;
20083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20084 (eval "$ac_link") 2>conftest.er1
20086 grep -v '^ *+' conftest.er1 >conftest.err
20088 cat conftest.err >&5
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); } && {
20091 test -z "$ac_c_werror_flag" ||
20092 test ! -s conftest.err
20093 } && test -s conftest$ac_exeext &&
20094 $as_test_x conftest$ac_exeext; then
20095 ac_cv_string_strcasecmp=yes
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.$ac_ext >&5
20100 ac_cv_string_strcasecmp=no
20104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20105 conftest$ac_exeext conftest.$ac_ext
20108 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20109 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20111 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20112 cat >>confdefs.h <<\_ACEOF
20113 #define HAVE_STRCASECMP_IN_STRING_H 1
20117 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20118 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20119 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20120 echo $ECHO_N "(cached) $ECHO_C" >&6
20123 cat >conftest.$ac_ext <<_ACEOF
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20130 #include <strings.h>
20136 strcasecmp("foo", "bar");
20142 rm -f conftest.$ac_objext conftest$ac_exeext
20143 if { (ac_try="$ac_link"
20144 case "(($ac_try" in
20145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20146 *) ac_try_echo=$ac_try;;
20148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20149 (eval "$ac_link") 2>conftest.er1
20151 grep -v '^ *+' conftest.er1 >conftest.err
20153 cat conftest.err >&5
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); } && {
20156 test -z "$ac_c_werror_flag" ||
20157 test ! -s conftest.err
20158 } && test -s conftest$ac_exeext &&
20159 $as_test_x conftest$ac_exeext; then
20160 ac_cv_strings_strcasecmp=yes
20162 echo "$as_me: failed program was:" >&5
20163 sed 's/^/| /' conftest.$ac_ext >&5
20165 ac_cv_strings_strcasecmp=no
20169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20170 conftest$ac_exeext conftest.$ac_ext
20173 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20174 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20176 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20177 cat >>confdefs.h <<\_ACEOF
20178 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20182 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20183 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20184 { (exit 1); exit 1; }; }
20192 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20193 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20194 if test "${ac_cv_header_stdc+set}" = set; then
20195 echo $ECHO_N "(cached) $ECHO_C" >&6
20197 cat >conftest.$ac_ext <<_ACEOF
20200 cat confdefs.h >>conftest.$ac_ext
20201 cat >>conftest.$ac_ext <<_ACEOF
20202 /* end confdefs.h. */
20203 #include <stdlib.h>
20204 #include <stdarg.h>
20205 #include <string.h>
20216 rm -f conftest.$ac_objext
20217 if { (ac_try="$ac_compile"
20218 case "(($ac_try" in
20219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20220 *) ac_try_echo=$ac_try;;
20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20223 (eval "$ac_compile") 2>conftest.er1
20225 grep -v '^ *+' conftest.er1 >conftest.err
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && {
20230 test -z "$ac_c_werror_flag" ||
20231 test ! -s conftest.err
20232 } && test -s conftest.$ac_objext; then
20233 ac_cv_header_stdc=yes
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.$ac_ext >&5
20238 ac_cv_header_stdc=no
20241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20243 if test $ac_cv_header_stdc = yes; then
20244 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20245 cat >conftest.$ac_ext <<_ACEOF
20248 cat confdefs.h >>conftest.$ac_ext
20249 cat >>conftest.$ac_ext <<_ACEOF
20250 /* end confdefs.h. */
20251 #include <string.h>
20254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20255 $EGREP "memchr" >/dev/null 2>&1; then
20258 ac_cv_header_stdc=no
20264 if test $ac_cv_header_stdc = yes; then
20265 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20266 cat >conftest.$ac_ext <<_ACEOF
20269 cat confdefs.h >>conftest.$ac_ext
20270 cat >>conftest.$ac_ext <<_ACEOF
20271 /* end confdefs.h. */
20272 #include <stdlib.h>
20275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20276 $EGREP "free" >/dev/null 2>&1; then
20279 ac_cv_header_stdc=no
20285 if test $ac_cv_header_stdc = yes; then
20286 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20287 if test "$cross_compiling" = yes; then
20290 cat >conftest.$ac_ext <<_ACEOF
20293 cat confdefs.h >>conftest.$ac_ext
20294 cat >>conftest.$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20297 #include <stdlib.h>
20298 #if ((' ' & 0x0FF) == 0x020)
20299 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20300 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20302 # define ISLOWER(c) \
20303 (('a' <= (c) && (c) <= 'i') \
20304 || ('j' <= (c) && (c) <= 'r') \
20305 || ('s' <= (c) && (c) <= 'z'))
20306 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20309 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20314 for (i = 0; i < 256; i++)
20315 if (XOR (islower (i), ISLOWER (i))
20316 || toupper (i) != TOUPPER (i))
20321 rm -f conftest$ac_exeext
20322 if { (ac_try="$ac_link"
20323 case "(($ac_try" in
20324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20325 *) ac_try_echo=$ac_try;;
20327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20328 (eval "$ac_link") 2>&5
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20332 { (case "(($ac_try" in
20333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20334 *) ac_try_echo=$ac_try;;
20336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20337 (eval "$ac_try") 2>&5
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; }; then
20343 echo "$as_me: program exited with status $ac_status" >&5
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.$ac_ext >&5
20347 ( exit $ac_status )
20348 ac_cv_header_stdc=no
20350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20356 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20357 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20358 if test $ac_cv_header_stdc = yes; then
20360 cat >>confdefs.h <<\_ACEOF
20361 #define STDC_HEADERS 1
20366 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20376 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20377 inttypes.h stdint.h unistd.h
20379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20380 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20383 echo $ECHO_N "(cached) $ECHO_C" >&6
20385 cat >conftest.$ac_ext <<_ACEOF
20388 cat confdefs.h >>conftest.$ac_ext
20389 cat >>conftest.$ac_ext <<_ACEOF
20390 /* end confdefs.h. */
20391 $ac_includes_default
20393 #include <$ac_header>
20395 rm -f conftest.$ac_objext
20396 if { (ac_try="$ac_compile"
20397 case "(($ac_try" in
20398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20399 *) ac_try_echo=$ac_try;;
20401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20402 (eval "$ac_compile") 2>conftest.er1
20404 grep -v '^ *+' conftest.er1 >conftest.err
20406 cat conftest.err >&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); } && {
20409 test -z "$ac_c_werror_flag" ||
20410 test ! -s conftest.err
20411 } && test -s conftest.$ac_objext; then
20412 eval "$as_ac_Header=yes"
20414 echo "$as_me: failed program was:" >&5
20415 sed 's/^/| /' conftest.$ac_ext >&5
20417 eval "$as_ac_Header=no"
20420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20422 ac_res=`eval echo '${'$as_ac_Header'}'`
20423 { echo "$as_me:$LINENO: result: $ac_res" >&5
20424 echo "${ECHO_T}$ac_res" >&6; }
20425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20426 cat >>confdefs.h <<_ACEOF
20427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20437 for ac_header in langinfo.h wchar.h
20439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20440 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20443 echo $ECHO_N "(cached) $ECHO_C" >&6
20445 cat >conftest.$ac_ext <<_ACEOF
20448 cat confdefs.h >>conftest.$ac_ext
20449 cat >>conftest.$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 $ac_includes_default
20453 #include <$ac_header>
20455 rm -f conftest.$ac_objext
20456 if { (ac_try="$ac_compile"
20457 case "(($ac_try" in
20458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20459 *) ac_try_echo=$ac_try;;
20461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20462 (eval "$ac_compile") 2>conftest.er1
20464 grep -v '^ *+' conftest.er1 >conftest.err
20466 cat conftest.err >&5
20467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); } && {
20469 test -z "$ac_c_werror_flag" ||
20470 test ! -s conftest.err
20471 } && test -s conftest.$ac_objext; then
20472 eval "$as_ac_Header=yes"
20474 echo "$as_me: failed program was:" >&5
20475 sed 's/^/| /' conftest.$ac_ext >&5
20477 eval "$as_ac_Header=no"
20480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20482 ac_res=`eval echo '${'$as_ac_Header'}'`
20483 { echo "$as_me:$LINENO: result: $ac_res" >&5
20484 echo "${ECHO_T}$ac_res" >&6; }
20485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20486 cat >>confdefs.h <<_ACEOF
20487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20495 if test "$ac_cv_header_wchar_h" != "yes"; then
20497 for ac_header in wcstr.h
20499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20500 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20503 echo $ECHO_N "(cached) $ECHO_C" >&6
20505 cat >conftest.$ac_ext <<_ACEOF
20508 cat confdefs.h >>conftest.$ac_ext
20509 cat >>conftest.$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20511 $ac_includes_default
20513 #include <$ac_header>
20515 rm -f conftest.$ac_objext
20516 if { (ac_try="$ac_compile"
20517 case "(($ac_try" in
20518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20519 *) ac_try_echo=$ac_try;;
20521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20522 (eval "$ac_compile") 2>conftest.er1
20524 grep -v '^ *+' conftest.er1 >conftest.err
20526 cat conftest.err >&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); } && {
20529 test -z "$ac_c_werror_flag" ||
20530 test ! -s conftest.err
20531 } && test -s conftest.$ac_objext; then
20532 eval "$as_ac_Header=yes"
20534 echo "$as_me: failed program was:" >&5
20535 sed 's/^/| /' conftest.$ac_ext >&5
20537 eval "$as_ac_Header=no"
20540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20542 ac_res=`eval echo '${'$as_ac_Header'}'`
20543 { echo "$as_me:$LINENO: result: $ac_res" >&5
20544 echo "${ECHO_T}$ac_res" >&6; }
20545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20546 cat >>confdefs.h <<_ACEOF
20547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20557 *-pc-os2_emx | *-pc-os2-emx )
20558 if test $ac_cv_header_langinfo_h = "yes" \
20559 -a \( "$wx_cv_gccversion" = "EMX2" \
20560 -o "$wx_cv_gccversion" = "EMX3" \
20561 -o "$wx_cv_gccversion" = "Innotek5" \); then
20562 LIBS="$LIBS -lintl"
20567 if test "$USE_UNIX" = 1 ; then
20569 for ac_header in sys/select.h
20571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20572 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20575 echo $ECHO_N "(cached) $ECHO_C" >&6
20577 cat >conftest.$ac_ext <<_ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20583 $ac_includes_default
20585 #include <$ac_header>
20587 rm -f conftest.$ac_objext
20588 if { (ac_try="$ac_compile"
20589 case "(($ac_try" in
20590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20591 *) ac_try_echo=$ac_try;;
20593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20594 (eval "$ac_compile") 2>conftest.er1
20596 grep -v '^ *+' conftest.er1 >conftest.err
20598 cat conftest.err >&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } && {
20601 test -z "$ac_c_werror_flag" ||
20602 test ! -s conftest.err
20603 } && test -s conftest.$ac_objext; then
20604 eval "$as_ac_Header=yes"
20606 echo "$as_me: failed program was:" >&5
20607 sed 's/^/| /' conftest.$ac_ext >&5
20609 eval "$as_ac_Header=no"
20612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20614 ac_res=`eval echo '${'$as_ac_Header'}'`
20615 { echo "$as_me:$LINENO: result: $ac_res" >&5
20616 echo "${ECHO_T}$ac_res" >&6; }
20617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20618 cat >>confdefs.h <<_ACEOF
20619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20629 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20630 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20631 if test "${ac_cv_c_const+set}" = set; then
20632 echo $ECHO_N "(cached) $ECHO_C" >&6
20634 cat >conftest.$ac_ext <<_ACEOF
20637 cat confdefs.h >>conftest.$ac_ext
20638 cat >>conftest.$ac_ext <<_ACEOF
20639 /* end confdefs.h. */
20644 /* FIXME: Include the comments suggested by Paul. */
20645 #ifndef __cplusplus
20646 /* Ultrix mips cc rejects this. */
20647 typedef int charset[2];
20649 /* SunOS 4.1.1 cc rejects this. */
20650 char const *const *pcpcc;
20652 /* NEC SVR4.0.2 mips cc rejects this. */
20653 struct point {int x, y;};
20654 static struct point const zero = {0,0};
20655 /* AIX XL C 1.02.0.0 rejects this.
20656 It does not let you subtract one const X* pointer from another in
20657 an arm of an if-expression whose if-part is not a constant
20659 const char *g = "string";
20660 pcpcc = &g + (g ? g-g : 0);
20661 /* HPUX 7.0 cc rejects these. */
20663 ppc = (char**) pcpcc;
20664 pcpcc = (char const *const *) ppc;
20665 { /* SCO 3.2v4 cc rejects this. */
20667 char const *s = 0 ? (char *) 0 : (char const *) 0;
20672 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20673 int x[] = {25, 17};
20674 const int *foo = &x[0];
20677 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20678 typedef const int *iptr;
20682 { /* AIX XL C 1.02.0.0 rejects this saying
20683 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20684 struct s { int j; const int *ap[3]; };
20685 struct s *b; b->j = 5;
20687 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20688 const int foo = 10;
20689 if (!foo) return 0;
20691 return !cs[0] && !zero.x;
20698 rm -f conftest.$ac_objext
20699 if { (ac_try="$ac_compile"
20700 case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_compile") 2>conftest.er1
20707 grep -v '^ *+' conftest.er1 >conftest.err
20709 cat conftest.err >&5
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); } && {
20712 test -z "$ac_c_werror_flag" ||
20713 test ! -s conftest.err
20714 } && test -s conftest.$ac_objext; then
20717 echo "$as_me: failed program was:" >&5
20718 sed 's/^/| /' conftest.$ac_ext >&5
20723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20725 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20726 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20727 if test $ac_cv_c_const = no; then
20729 cat >>confdefs.h <<\_ACEOF
20735 { echo "$as_me:$LINENO: checking for inline" >&5
20736 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20737 if test "${ac_cv_c_inline+set}" = set; then
20738 echo $ECHO_N "(cached) $ECHO_C" >&6
20741 for ac_kw in inline __inline__ __inline; do
20742 cat >conftest.$ac_ext <<_ACEOF
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20748 #ifndef __cplusplus
20750 static $ac_kw foo_t static_foo () {return 0; }
20751 $ac_kw foo_t foo () {return 0; }
20755 rm -f conftest.$ac_objext
20756 if { (ac_try="$ac_compile"
20757 case "(($ac_try" in
20758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20759 *) ac_try_echo=$ac_try;;
20761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20762 (eval "$ac_compile") 2>conftest.er1
20764 grep -v '^ *+' conftest.er1 >conftest.err
20766 cat conftest.err >&5
20767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20768 (exit $ac_status); } && {
20769 test -z "$ac_c_werror_flag" ||
20770 test ! -s conftest.err
20771 } && test -s conftest.$ac_objext; then
20772 ac_cv_c_inline=$ac_kw
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.$ac_ext >&5
20780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20781 test "$ac_cv_c_inline" != no && break
20785 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20786 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20789 case $ac_cv_c_inline in
20792 case $ac_cv_c_inline in
20794 *) ac_val=$ac_cv_c_inline;;
20796 cat >>confdefs.h <<_ACEOF
20797 #ifndef __cplusplus
20798 #define inline $ac_val
20805 { echo "$as_me:$LINENO: checking for short" >&5
20806 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20807 if test "${ac_cv_type_short+set}" = set; then
20808 echo $ECHO_N "(cached) $ECHO_C" >&6
20810 cat >conftest.$ac_ext <<_ACEOF
20813 cat confdefs.h >>conftest.$ac_ext
20814 cat >>conftest.$ac_ext <<_ACEOF
20815 /* end confdefs.h. */
20816 $ac_includes_default
20817 typedef short ac__type_new_;
20821 if ((ac__type_new_ *) 0)
20823 if (sizeof (ac__type_new_))
20829 rm -f conftest.$ac_objext
20830 if { (ac_try="$ac_compile"
20831 case "(($ac_try" in
20832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20833 *) ac_try_echo=$ac_try;;
20835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20836 (eval "$ac_compile") 2>conftest.er1
20838 grep -v '^ *+' conftest.er1 >conftest.err
20840 cat conftest.err >&5
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); } && {
20843 test -z "$ac_c_werror_flag" ||
20844 test ! -s conftest.err
20845 } && test -s conftest.$ac_objext; then
20846 ac_cv_type_short=yes
20848 echo "$as_me: failed program was:" >&5
20849 sed 's/^/| /' conftest.$ac_ext >&5
20851 ac_cv_type_short=no
20854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20856 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20857 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20859 # The cast to long int works around a bug in the HP C Compiler
20860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20862 # This bug is HP SR number 8606223364.
20863 { echo "$as_me:$LINENO: checking size of short" >&5
20864 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20865 if test "${ac_cv_sizeof_short+set}" = set; then
20866 echo $ECHO_N "(cached) $ECHO_C" >&6
20868 if test "$cross_compiling" = yes; then
20869 # Depending upon the size, compute the lo and hi bounds.
20870 cat >conftest.$ac_ext <<_ACEOF
20873 cat confdefs.h >>conftest.$ac_ext
20874 cat >>conftest.$ac_ext <<_ACEOF
20875 /* end confdefs.h. */
20876 $ac_includes_default
20877 typedef short ac__type_sizeof_;
20881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20888 rm -f conftest.$ac_objext
20889 if { (ac_try="$ac_compile"
20890 case "(($ac_try" in
20891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20892 *) ac_try_echo=$ac_try;;
20894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20895 (eval "$ac_compile") 2>conftest.er1
20897 grep -v '^ *+' conftest.er1 >conftest.err
20899 cat conftest.err >&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); } && {
20902 test -z "$ac_c_werror_flag" ||
20903 test ! -s conftest.err
20904 } && test -s conftest.$ac_objext; then
20907 cat >conftest.$ac_ext <<_ACEOF
20910 cat confdefs.h >>conftest.$ac_ext
20911 cat >>conftest.$ac_ext <<_ACEOF
20912 /* end confdefs.h. */
20913 $ac_includes_default
20914 typedef short ac__type_sizeof_;
20918 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20925 rm -f conftest.$ac_objext
20926 if { (ac_try="$ac_compile"
20927 case "(($ac_try" in
20928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20929 *) ac_try_echo=$ac_try;;
20931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20932 (eval "$ac_compile") 2>conftest.er1
20934 grep -v '^ *+' conftest.er1 >conftest.err
20936 cat conftest.err >&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); } && {
20939 test -z "$ac_c_werror_flag" ||
20940 test ! -s conftest.err
20941 } && test -s conftest.$ac_objext; then
20942 ac_hi=$ac_mid; break
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.$ac_ext >&5
20947 ac_lo=`expr $ac_mid + 1`
20948 if test $ac_lo -le $ac_mid; then
20952 ac_mid=`expr 2 '*' $ac_mid + 1`
20955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20958 echo "$as_me: failed program was:" >&5
20959 sed 's/^/| /' conftest.$ac_ext >&5
20961 cat >conftest.$ac_ext <<_ACEOF
20964 cat confdefs.h >>conftest.$ac_ext
20965 cat >>conftest.$ac_ext <<_ACEOF
20966 /* end confdefs.h. */
20967 $ac_includes_default
20968 typedef short ac__type_sizeof_;
20972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20979 rm -f conftest.$ac_objext
20980 if { (ac_try="$ac_compile"
20981 case "(($ac_try" in
20982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20983 *) ac_try_echo=$ac_try;;
20985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20986 (eval "$ac_compile") 2>conftest.er1
20988 grep -v '^ *+' conftest.er1 >conftest.err
20990 cat conftest.err >&5
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); } && {
20993 test -z "$ac_c_werror_flag" ||
20994 test ! -s conftest.err
20995 } && test -s conftest.$ac_objext; then
20998 cat >conftest.$ac_ext <<_ACEOF
21001 cat confdefs.h >>conftest.$ac_ext
21002 cat >>conftest.$ac_ext <<_ACEOF
21003 /* end confdefs.h. */
21004 $ac_includes_default
21005 typedef short ac__type_sizeof_;
21009 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21016 rm -f conftest.$ac_objext
21017 if { (ac_try="$ac_compile"
21018 case "(($ac_try" in
21019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21020 *) ac_try_echo=$ac_try;;
21022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21023 (eval "$ac_compile") 2>conftest.er1
21025 grep -v '^ *+' conftest.er1 >conftest.err
21027 cat conftest.err >&5
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); } && {
21030 test -z "$ac_c_werror_flag" ||
21031 test ! -s conftest.err
21032 } && test -s conftest.$ac_objext; then
21033 ac_lo=$ac_mid; break
21035 echo "$as_me: failed program was:" >&5
21036 sed 's/^/| /' conftest.$ac_ext >&5
21038 ac_hi=`expr '(' $ac_mid ')' - 1`
21039 if test $ac_mid -le $ac_hi; then
21043 ac_mid=`expr 2 '*' $ac_mid`
21046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21049 echo "$as_me: failed program was:" >&5
21050 sed 's/^/| /' conftest.$ac_ext >&5
21055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21059 # Binary search between lo and hi bounds.
21060 while test "x$ac_lo" != "x$ac_hi"; do
21061 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21062 cat >conftest.$ac_ext <<_ACEOF
21065 cat confdefs.h >>conftest.$ac_ext
21066 cat >>conftest.$ac_ext <<_ACEOF
21067 /* end confdefs.h. */
21068 $ac_includes_default
21069 typedef short ac__type_sizeof_;
21073 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21080 rm -f conftest.$ac_objext
21081 if { (ac_try="$ac_compile"
21082 case "(($ac_try" in
21083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21084 *) ac_try_echo=$ac_try;;
21086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21087 (eval "$ac_compile") 2>conftest.er1
21089 grep -v '^ *+' conftest.er1 >conftest.err
21091 cat conftest.err >&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } && {
21094 test -z "$ac_c_werror_flag" ||
21095 test ! -s conftest.err
21096 } && test -s conftest.$ac_objext; then
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.$ac_ext >&5
21102 ac_lo=`expr '(' $ac_mid ')' + 1`
21105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21108 ?*) ac_cv_sizeof_short=$ac_lo;;
21109 '') if test "$ac_cv_type_short" = yes; then
21110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21111 See \`config.log' for more details." >&5
21112 echo "$as_me: error: cannot compute sizeof (short)
21113 See \`config.log' for more details." >&2;}
21114 { (exit 77); exit 77; }; }
21116 ac_cv_sizeof_short=0
21120 cat >conftest.$ac_ext <<_ACEOF
21123 cat confdefs.h >>conftest.$ac_ext
21124 cat >>conftest.$ac_ext <<_ACEOF
21125 /* end confdefs.h. */
21126 $ac_includes_default
21127 typedef short ac__type_sizeof_;
21128 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21129 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21131 #include <stdlib.h>
21136 FILE *f = fopen ("conftest.val", "w");
21139 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21141 long int i = longval ();
21142 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21144 fprintf (f, "%ld\n", i);
21148 unsigned long int i = ulongval ();
21149 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21151 fprintf (f, "%lu\n", i);
21153 return ferror (f) || fclose (f) != 0;
21159 rm -f conftest$ac_exeext
21160 if { (ac_try="$ac_link"
21161 case "(($ac_try" in
21162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21163 *) ac_try_echo=$ac_try;;
21165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21166 (eval "$ac_link") 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21170 { (case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_try") 2>&5
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; }; then
21179 ac_cv_sizeof_short=`cat conftest.val`
21181 echo "$as_me: program exited with status $ac_status" >&5
21182 echo "$as_me: failed program was:" >&5
21183 sed 's/^/| /' conftest.$ac_ext >&5
21185 ( exit $ac_status )
21186 if test "$ac_cv_type_short" = yes; then
21187 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21188 See \`config.log' for more details." >&5
21189 echo "$as_me: error: cannot compute sizeof (short)
21190 See \`config.log' for more details." >&2;}
21191 { (exit 77); exit 77; }; }
21193 ac_cv_sizeof_short=0
21196 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21200 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21201 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21205 cat >>confdefs.h <<_ACEOF
21206 #define SIZEOF_SHORT $ac_cv_sizeof_short
21210 { echo "$as_me:$LINENO: checking for void *" >&5
21211 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21212 if test "${ac_cv_type_void_p+set}" = set; then
21213 echo $ECHO_N "(cached) $ECHO_C" >&6
21215 cat >conftest.$ac_ext <<_ACEOF
21218 cat confdefs.h >>conftest.$ac_ext
21219 cat >>conftest.$ac_ext <<_ACEOF
21220 /* end confdefs.h. */
21221 $ac_includes_default
21222 typedef void * ac__type_new_;
21226 if ((ac__type_new_ *) 0)
21228 if (sizeof (ac__type_new_))
21234 rm -f conftest.$ac_objext
21235 if { (ac_try="$ac_compile"
21236 case "(($ac_try" in
21237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21238 *) ac_try_echo=$ac_try;;
21240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21241 (eval "$ac_compile") 2>conftest.er1
21243 grep -v '^ *+' conftest.er1 >conftest.err
21245 cat conftest.err >&5
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); } && {
21248 test -z "$ac_c_werror_flag" ||
21249 test ! -s conftest.err
21250 } && test -s conftest.$ac_objext; then
21251 ac_cv_type_void_p=yes
21253 echo "$as_me: failed program was:" >&5
21254 sed 's/^/| /' conftest.$ac_ext >&5
21256 ac_cv_type_void_p=no
21259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21261 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21262 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21264 # The cast to long int works around a bug in the HP C Compiler
21265 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21266 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21267 # This bug is HP SR number 8606223364.
21268 { echo "$as_me:$LINENO: checking size of void *" >&5
21269 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21270 if test "${ac_cv_sizeof_void_p+set}" = set; then
21271 echo $ECHO_N "(cached) $ECHO_C" >&6
21273 if test "$cross_compiling" = yes; then
21274 # Depending upon the size, compute the lo and hi bounds.
21275 cat >conftest.$ac_ext <<_ACEOF
21278 cat confdefs.h >>conftest.$ac_ext
21279 cat >>conftest.$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21281 $ac_includes_default
21282 typedef void * ac__type_sizeof_;
21286 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21293 rm -f conftest.$ac_objext
21294 if { (ac_try="$ac_compile"
21295 case "(($ac_try" in
21296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21297 *) ac_try_echo=$ac_try;;
21299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21300 (eval "$ac_compile") 2>conftest.er1
21302 grep -v '^ *+' conftest.er1 >conftest.err
21304 cat conftest.err >&5
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); } && {
21307 test -z "$ac_c_werror_flag" ||
21308 test ! -s conftest.err
21309 } && test -s conftest.$ac_objext; then
21312 cat >conftest.$ac_ext <<_ACEOF
21315 cat confdefs.h >>conftest.$ac_ext
21316 cat >>conftest.$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 $ac_includes_default
21319 typedef void * ac__type_sizeof_;
21323 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21330 rm -f conftest.$ac_objext
21331 if { (ac_try="$ac_compile"
21332 case "(($ac_try" in
21333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21334 *) ac_try_echo=$ac_try;;
21336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21337 (eval "$ac_compile") 2>conftest.er1
21339 grep -v '^ *+' conftest.er1 >conftest.err
21341 cat conftest.err >&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } && {
21344 test -z "$ac_c_werror_flag" ||
21345 test ! -s conftest.err
21346 } && test -s conftest.$ac_objext; then
21347 ac_hi=$ac_mid; break
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21352 ac_lo=`expr $ac_mid + 1`
21353 if test $ac_lo -le $ac_mid; then
21357 ac_mid=`expr 2 '*' $ac_mid + 1`
21360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21363 echo "$as_me: failed program was:" >&5
21364 sed 's/^/| /' conftest.$ac_ext >&5
21366 cat >conftest.$ac_ext <<_ACEOF
21369 cat confdefs.h >>conftest.$ac_ext
21370 cat >>conftest.$ac_ext <<_ACEOF
21371 /* end confdefs.h. */
21372 $ac_includes_default
21373 typedef void * ac__type_sizeof_;
21377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21384 rm -f conftest.$ac_objext
21385 if { (ac_try="$ac_compile"
21386 case "(($ac_try" in
21387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21388 *) ac_try_echo=$ac_try;;
21390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21391 (eval "$ac_compile") 2>conftest.er1
21393 grep -v '^ *+' conftest.er1 >conftest.err
21395 cat conftest.err >&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); } && {
21398 test -z "$ac_c_werror_flag" ||
21399 test ! -s conftest.err
21400 } && test -s conftest.$ac_objext; then
21403 cat >conftest.$ac_ext <<_ACEOF
21406 cat confdefs.h >>conftest.$ac_ext
21407 cat >>conftest.$ac_ext <<_ACEOF
21408 /* end confdefs.h. */
21409 $ac_includes_default
21410 typedef void * ac__type_sizeof_;
21414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21421 rm -f conftest.$ac_objext
21422 if { (ac_try="$ac_compile"
21423 case "(($ac_try" in
21424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21425 *) ac_try_echo=$ac_try;;
21427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21428 (eval "$ac_compile") 2>conftest.er1
21430 grep -v '^ *+' conftest.er1 >conftest.err
21432 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } && {
21435 test -z "$ac_c_werror_flag" ||
21436 test ! -s conftest.err
21437 } && test -s conftest.$ac_objext; then
21438 ac_lo=$ac_mid; break
21440 echo "$as_me: failed program was:" >&5
21441 sed 's/^/| /' conftest.$ac_ext >&5
21443 ac_hi=`expr '(' $ac_mid ')' - 1`
21444 if test $ac_mid -le $ac_hi; then
21448 ac_mid=`expr 2 '*' $ac_mid`
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21454 echo "$as_me: failed program was:" >&5
21455 sed 's/^/| /' conftest.$ac_ext >&5
21460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21464 # Binary search between lo and hi bounds.
21465 while test "x$ac_lo" != "x$ac_hi"; do
21466 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21467 cat >conftest.$ac_ext <<_ACEOF
21470 cat confdefs.h >>conftest.$ac_ext
21471 cat >>conftest.$ac_ext <<_ACEOF
21472 /* end confdefs.h. */
21473 $ac_includes_default
21474 typedef void * ac__type_sizeof_;
21478 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21485 rm -f conftest.$ac_objext
21486 if { (ac_try="$ac_compile"
21487 case "(($ac_try" in
21488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21489 *) ac_try_echo=$ac_try;;
21491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21492 (eval "$ac_compile") 2>conftest.er1
21494 grep -v '^ *+' conftest.er1 >conftest.err
21496 cat conftest.err >&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); } && {
21499 test -z "$ac_c_werror_flag" ||
21500 test ! -s conftest.err
21501 } && test -s conftest.$ac_objext; then
21504 echo "$as_me: failed program was:" >&5
21505 sed 's/^/| /' conftest.$ac_ext >&5
21507 ac_lo=`expr '(' $ac_mid ')' + 1`
21510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21513 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21514 '') if test "$ac_cv_type_void_p" = yes; then
21515 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21516 See \`config.log' for more details." >&5
21517 echo "$as_me: error: cannot compute sizeof (void *)
21518 See \`config.log' for more details." >&2;}
21519 { (exit 77); exit 77; }; }
21521 ac_cv_sizeof_void_p=0
21525 cat >conftest.$ac_ext <<_ACEOF
21528 cat confdefs.h >>conftest.$ac_ext
21529 cat >>conftest.$ac_ext <<_ACEOF
21530 /* end confdefs.h. */
21531 $ac_includes_default
21532 typedef void * ac__type_sizeof_;
21533 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21534 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21536 #include <stdlib.h>
21541 FILE *f = fopen ("conftest.val", "w");
21544 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21546 long int i = longval ();
21547 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21549 fprintf (f, "%ld\n", i);
21553 unsigned long int i = ulongval ();
21554 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21556 fprintf (f, "%lu\n", i);
21558 return ferror (f) || fclose (f) != 0;
21564 rm -f conftest$ac_exeext
21565 if { (ac_try="$ac_link"
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_link") 2>&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21575 { (case "(($ac_try" in
21576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21577 *) ac_try_echo=$ac_try;;
21579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21580 (eval "$ac_try") 2>&5
21582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583 (exit $ac_status); }; }; then
21584 ac_cv_sizeof_void_p=`cat conftest.val`
21586 echo "$as_me: program exited with status $ac_status" >&5
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.$ac_ext >&5
21590 ( exit $ac_status )
21591 if test "$ac_cv_type_void_p" = yes; then
21592 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21593 See \`config.log' for more details." >&5
21594 echo "$as_me: error: cannot compute sizeof (void *)
21595 See \`config.log' for more details." >&2;}
21596 { (exit 77); exit 77; }; }
21598 ac_cv_sizeof_void_p=0
21601 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21605 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21606 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21610 cat >>confdefs.h <<_ACEOF
21611 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21615 { echo "$as_me:$LINENO: checking for int" >&5
21616 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21617 if test "${ac_cv_type_int+set}" = set; then
21618 echo $ECHO_N "(cached) $ECHO_C" >&6
21620 cat >conftest.$ac_ext <<_ACEOF
21623 cat confdefs.h >>conftest.$ac_ext
21624 cat >>conftest.$ac_ext <<_ACEOF
21625 /* end confdefs.h. */
21626 $ac_includes_default
21627 typedef int ac__type_new_;
21631 if ((ac__type_new_ *) 0)
21633 if (sizeof (ac__type_new_))
21639 rm -f conftest.$ac_objext
21640 if { (ac_try="$ac_compile"
21641 case "(($ac_try" in
21642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21643 *) ac_try_echo=$ac_try;;
21645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21646 (eval "$ac_compile") 2>conftest.er1
21648 grep -v '^ *+' conftest.er1 >conftest.err
21650 cat conftest.err >&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } && {
21653 test -z "$ac_c_werror_flag" ||
21654 test ! -s conftest.err
21655 } && test -s conftest.$ac_objext; then
21658 echo "$as_me: failed program was:" >&5
21659 sed 's/^/| /' conftest.$ac_ext >&5
21664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21666 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21667 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21669 # The cast to long int works around a bug in the HP C Compiler
21670 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21671 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21672 # This bug is HP SR number 8606223364.
21673 { echo "$as_me:$LINENO: checking size of int" >&5
21674 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21675 if test "${ac_cv_sizeof_int+set}" = set; then
21676 echo $ECHO_N "(cached) $ECHO_C" >&6
21678 if test "$cross_compiling" = yes; then
21679 # Depending upon the size, compute the lo and hi bounds.
21680 cat >conftest.$ac_ext <<_ACEOF
21683 cat confdefs.h >>conftest.$ac_ext
21684 cat >>conftest.$ac_ext <<_ACEOF
21685 /* end confdefs.h. */
21686 $ac_includes_default
21687 typedef int ac__type_sizeof_;
21691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21698 rm -f conftest.$ac_objext
21699 if { (ac_try="$ac_compile"
21700 case "(($ac_try" in
21701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21702 *) ac_try_echo=$ac_try;;
21704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21705 (eval "$ac_compile") 2>conftest.er1
21707 grep -v '^ *+' conftest.er1 >conftest.err
21709 cat conftest.err >&5
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); } && {
21712 test -z "$ac_c_werror_flag" ||
21713 test ! -s conftest.err
21714 } && test -s conftest.$ac_objext; then
21717 cat >conftest.$ac_ext <<_ACEOF
21720 cat confdefs.h >>conftest.$ac_ext
21721 cat >>conftest.$ac_ext <<_ACEOF
21722 /* end confdefs.h. */
21723 $ac_includes_default
21724 typedef int ac__type_sizeof_;
21728 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21735 rm -f conftest.$ac_objext
21736 if { (ac_try="$ac_compile"
21737 case "(($ac_try" in
21738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21739 *) ac_try_echo=$ac_try;;
21741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21742 (eval "$ac_compile") 2>conftest.er1
21744 grep -v '^ *+' conftest.er1 >conftest.err
21746 cat conftest.err >&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } && {
21749 test -z "$ac_c_werror_flag" ||
21750 test ! -s conftest.err
21751 } && test -s conftest.$ac_objext; then
21752 ac_hi=$ac_mid; break
21754 echo "$as_me: failed program was:" >&5
21755 sed 's/^/| /' conftest.$ac_ext >&5
21757 ac_lo=`expr $ac_mid + 1`
21758 if test $ac_lo -le $ac_mid; then
21762 ac_mid=`expr 2 '*' $ac_mid + 1`
21765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21768 echo "$as_me: failed program was:" >&5
21769 sed 's/^/| /' conftest.$ac_ext >&5
21771 cat >conftest.$ac_ext <<_ACEOF
21774 cat confdefs.h >>conftest.$ac_ext
21775 cat >>conftest.$ac_ext <<_ACEOF
21776 /* end confdefs.h. */
21777 $ac_includes_default
21778 typedef int ac__type_sizeof_;
21782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21789 rm -f conftest.$ac_objext
21790 if { (ac_try="$ac_compile"
21791 case "(($ac_try" in
21792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21793 *) ac_try_echo=$ac_try;;
21795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21796 (eval "$ac_compile") 2>conftest.er1
21798 grep -v '^ *+' conftest.er1 >conftest.err
21800 cat conftest.err >&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); } && {
21803 test -z "$ac_c_werror_flag" ||
21804 test ! -s conftest.err
21805 } && test -s conftest.$ac_objext; then
21808 cat >conftest.$ac_ext <<_ACEOF
21811 cat confdefs.h >>conftest.$ac_ext
21812 cat >>conftest.$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21814 $ac_includes_default
21815 typedef int ac__type_sizeof_;
21819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21826 rm -f conftest.$ac_objext
21827 if { (ac_try="$ac_compile"
21828 case "(($ac_try" in
21829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21830 *) ac_try_echo=$ac_try;;
21832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21833 (eval "$ac_compile") 2>conftest.er1
21835 grep -v '^ *+' conftest.er1 >conftest.err
21837 cat conftest.err >&5
21838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21839 (exit $ac_status); } && {
21840 test -z "$ac_c_werror_flag" ||
21841 test ! -s conftest.err
21842 } && test -s conftest.$ac_objext; then
21843 ac_lo=$ac_mid; break
21845 echo "$as_me: failed program was:" >&5
21846 sed 's/^/| /' conftest.$ac_ext >&5
21848 ac_hi=`expr '(' $ac_mid ')' - 1`
21849 if test $ac_mid -le $ac_hi; then
21853 ac_mid=`expr 2 '*' $ac_mid`
21856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 echo "$as_me: failed program was:" >&5
21860 sed 's/^/| /' conftest.$ac_ext >&5
21865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21869 # Binary search between lo and hi bounds.
21870 while test "x$ac_lo" != "x$ac_hi"; do
21871 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21872 cat >conftest.$ac_ext <<_ACEOF
21875 cat confdefs.h >>conftest.$ac_ext
21876 cat >>conftest.$ac_ext <<_ACEOF
21877 /* end confdefs.h. */
21878 $ac_includes_default
21879 typedef int ac__type_sizeof_;
21883 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21890 rm -f conftest.$ac_objext
21891 if { (ac_try="$ac_compile"
21892 case "(($ac_try" in
21893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21894 *) ac_try_echo=$ac_try;;
21896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21897 (eval "$ac_compile") 2>conftest.er1
21899 grep -v '^ *+' conftest.er1 >conftest.err
21901 cat conftest.err >&5
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); } && {
21904 test -z "$ac_c_werror_flag" ||
21905 test ! -s conftest.err
21906 } && test -s conftest.$ac_objext; then
21909 echo "$as_me: failed program was:" >&5
21910 sed 's/^/| /' conftest.$ac_ext >&5
21912 ac_lo=`expr '(' $ac_mid ')' + 1`
21915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21918 ?*) ac_cv_sizeof_int=$ac_lo;;
21919 '') if test "$ac_cv_type_int" = yes; then
21920 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21921 See \`config.log' for more details." >&5
21922 echo "$as_me: error: cannot compute sizeof (int)
21923 See \`config.log' for more details." >&2;}
21924 { (exit 77); exit 77; }; }
21930 cat >conftest.$ac_ext <<_ACEOF
21933 cat confdefs.h >>conftest.$ac_ext
21934 cat >>conftest.$ac_ext <<_ACEOF
21935 /* end confdefs.h. */
21936 $ac_includes_default
21937 typedef int ac__type_sizeof_;
21938 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21939 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21941 #include <stdlib.h>
21946 FILE *f = fopen ("conftest.val", "w");
21949 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21951 long int i = longval ();
21952 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21954 fprintf (f, "%ld\n", i);
21958 unsigned long int i = ulongval ();
21959 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21961 fprintf (f, "%lu\n", i);
21963 return ferror (f) || fclose (f) != 0;
21969 rm -f conftest$ac_exeext
21970 if { (ac_try="$ac_link"
21971 case "(($ac_try" in
21972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21973 *) ac_try_echo=$ac_try;;
21975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21976 (eval "$ac_link") 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21980 { (case "(($ac_try" in
21981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21982 *) ac_try_echo=$ac_try;;
21984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21985 (eval "$ac_try") 2>&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); }; }; then
21989 ac_cv_sizeof_int=`cat conftest.val`
21991 echo "$as_me: program exited with status $ac_status" >&5
21992 echo "$as_me: failed program was:" >&5
21993 sed 's/^/| /' conftest.$ac_ext >&5
21995 ( exit $ac_status )
21996 if test "$ac_cv_type_int" = yes; then
21997 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21998 See \`config.log' for more details." >&5
21999 echo "$as_me: error: cannot compute sizeof (int)
22000 See \`config.log' for more details." >&2;}
22001 { (exit 77); exit 77; }; }
22006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22010 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22011 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22015 cat >>confdefs.h <<_ACEOF
22016 #define SIZEOF_INT $ac_cv_sizeof_int
22020 { echo "$as_me:$LINENO: checking for long" >&5
22021 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22022 if test "${ac_cv_type_long+set}" = set; then
22023 echo $ECHO_N "(cached) $ECHO_C" >&6
22025 cat >conftest.$ac_ext <<_ACEOF
22028 cat confdefs.h >>conftest.$ac_ext
22029 cat >>conftest.$ac_ext <<_ACEOF
22030 /* end confdefs.h. */
22031 $ac_includes_default
22032 typedef long ac__type_new_;
22036 if ((ac__type_new_ *) 0)
22038 if (sizeof (ac__type_new_))
22044 rm -f conftest.$ac_objext
22045 if { (ac_try="$ac_compile"
22046 case "(($ac_try" in
22047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22048 *) ac_try_echo=$ac_try;;
22050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22051 (eval "$ac_compile") 2>conftest.er1
22053 grep -v '^ *+' conftest.er1 >conftest.err
22055 cat conftest.err >&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); } && {
22058 test -z "$ac_c_werror_flag" ||
22059 test ! -s conftest.err
22060 } && test -s conftest.$ac_objext; then
22061 ac_cv_type_long=yes
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22071 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22072 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22074 # The cast to long int works around a bug in the HP C Compiler
22075 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22076 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22077 # This bug is HP SR number 8606223364.
22078 { echo "$as_me:$LINENO: checking size of long" >&5
22079 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22080 if test "${ac_cv_sizeof_long+set}" = set; then
22081 echo $ECHO_N "(cached) $ECHO_C" >&6
22083 if test "$cross_compiling" = yes; then
22084 # Depending upon the size, compute the lo and hi bounds.
22085 cat >conftest.$ac_ext <<_ACEOF
22088 cat confdefs.h >>conftest.$ac_ext
22089 cat >>conftest.$ac_ext <<_ACEOF
22090 /* end confdefs.h. */
22091 $ac_includes_default
22092 typedef long ac__type_sizeof_;
22096 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22103 rm -f conftest.$ac_objext
22104 if { (ac_try="$ac_compile"
22105 case "(($ac_try" in
22106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22107 *) ac_try_echo=$ac_try;;
22109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22110 (eval "$ac_compile") 2>conftest.er1
22112 grep -v '^ *+' conftest.er1 >conftest.err
22114 cat conftest.err >&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); } && {
22117 test -z "$ac_c_werror_flag" ||
22118 test ! -s conftest.err
22119 } && test -s conftest.$ac_objext; then
22122 cat >conftest.$ac_ext <<_ACEOF
22125 cat confdefs.h >>conftest.$ac_ext
22126 cat >>conftest.$ac_ext <<_ACEOF
22127 /* end confdefs.h. */
22128 $ac_includes_default
22129 typedef long ac__type_sizeof_;
22133 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22140 rm -f conftest.$ac_objext
22141 if { (ac_try="$ac_compile"
22142 case "(($ac_try" in
22143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22144 *) ac_try_echo=$ac_try;;
22146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22147 (eval "$ac_compile") 2>conftest.er1
22149 grep -v '^ *+' conftest.er1 >conftest.err
22151 cat conftest.err >&5
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); } && {
22154 test -z "$ac_c_werror_flag" ||
22155 test ! -s conftest.err
22156 } && test -s conftest.$ac_objext; then
22157 ac_hi=$ac_mid; break
22159 echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.$ac_ext >&5
22162 ac_lo=`expr $ac_mid + 1`
22163 if test $ac_lo -le $ac_mid; then
22167 ac_mid=`expr 2 '*' $ac_mid + 1`
22170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22173 echo "$as_me: failed program was:" >&5
22174 sed 's/^/| /' conftest.$ac_ext >&5
22176 cat >conftest.$ac_ext <<_ACEOF
22179 cat confdefs.h >>conftest.$ac_ext
22180 cat >>conftest.$ac_ext <<_ACEOF
22181 /* end confdefs.h. */
22182 $ac_includes_default
22183 typedef long ac__type_sizeof_;
22187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22194 rm -f conftest.$ac_objext
22195 if { (ac_try="$ac_compile"
22196 case "(($ac_try" in
22197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22198 *) ac_try_echo=$ac_try;;
22200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22201 (eval "$ac_compile") 2>conftest.er1
22203 grep -v '^ *+' conftest.er1 >conftest.err
22205 cat conftest.err >&5
22206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22207 (exit $ac_status); } && {
22208 test -z "$ac_c_werror_flag" ||
22209 test ! -s conftest.err
22210 } && test -s conftest.$ac_objext; then
22213 cat >conftest.$ac_ext <<_ACEOF
22216 cat confdefs.h >>conftest.$ac_ext
22217 cat >>conftest.$ac_ext <<_ACEOF
22218 /* end confdefs.h. */
22219 $ac_includes_default
22220 typedef long ac__type_sizeof_;
22224 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22231 rm -f conftest.$ac_objext
22232 if { (ac_try="$ac_compile"
22233 case "(($ac_try" in
22234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22235 *) ac_try_echo=$ac_try;;
22237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22238 (eval "$ac_compile") 2>conftest.er1
22240 grep -v '^ *+' conftest.er1 >conftest.err
22242 cat conftest.err >&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); } && {
22245 test -z "$ac_c_werror_flag" ||
22246 test ! -s conftest.err
22247 } && test -s conftest.$ac_objext; then
22248 ac_lo=$ac_mid; break
22250 echo "$as_me: failed program was:" >&5
22251 sed 's/^/| /' conftest.$ac_ext >&5
22253 ac_hi=`expr '(' $ac_mid ')' - 1`
22254 if test $ac_mid -le $ac_hi; then
22258 ac_mid=`expr 2 '*' $ac_mid`
22261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22264 echo "$as_me: failed program was:" >&5
22265 sed 's/^/| /' conftest.$ac_ext >&5
22270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22274 # Binary search between lo and hi bounds.
22275 while test "x$ac_lo" != "x$ac_hi"; do
22276 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22277 cat >conftest.$ac_ext <<_ACEOF
22280 cat confdefs.h >>conftest.$ac_ext
22281 cat >>conftest.$ac_ext <<_ACEOF
22282 /* end confdefs.h. */
22283 $ac_includes_default
22284 typedef long ac__type_sizeof_;
22288 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22295 rm -f conftest.$ac_objext
22296 if { (ac_try="$ac_compile"
22297 case "(($ac_try" in
22298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22299 *) ac_try_echo=$ac_try;;
22301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22302 (eval "$ac_compile") 2>conftest.er1
22304 grep -v '^ *+' conftest.er1 >conftest.err
22306 cat conftest.err >&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); } && {
22309 test -z "$ac_c_werror_flag" ||
22310 test ! -s conftest.err
22311 } && test -s conftest.$ac_objext; then
22314 echo "$as_me: failed program was:" >&5
22315 sed 's/^/| /' conftest.$ac_ext >&5
22317 ac_lo=`expr '(' $ac_mid ')' + 1`
22320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22323 ?*) ac_cv_sizeof_long=$ac_lo;;
22324 '') if test "$ac_cv_type_long" = yes; then
22325 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22326 See \`config.log' for more details." >&5
22327 echo "$as_me: error: cannot compute sizeof (long)
22328 See \`config.log' for more details." >&2;}
22329 { (exit 77); exit 77; }; }
22331 ac_cv_sizeof_long=0
22335 cat >conftest.$ac_ext <<_ACEOF
22338 cat confdefs.h >>conftest.$ac_ext
22339 cat >>conftest.$ac_ext <<_ACEOF
22340 /* end confdefs.h. */
22341 $ac_includes_default
22342 typedef long ac__type_sizeof_;
22343 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22344 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22346 #include <stdlib.h>
22351 FILE *f = fopen ("conftest.val", "w");
22354 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22356 long int i = longval ();
22357 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22359 fprintf (f, "%ld\n", i);
22363 unsigned long int i = ulongval ();
22364 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22366 fprintf (f, "%lu\n", i);
22368 return ferror (f) || fclose (f) != 0;
22374 rm -f conftest$ac_exeext
22375 if { (ac_try="$ac_link"
22376 case "(($ac_try" in
22377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22378 *) ac_try_echo=$ac_try;;
22380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22381 (eval "$ac_link") 2>&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22385 { (case "(($ac_try" in
22386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22387 *) ac_try_echo=$ac_try;;
22389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22390 (eval "$ac_try") 2>&5
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); }; }; then
22394 ac_cv_sizeof_long=`cat conftest.val`
22396 echo "$as_me: program exited with status $ac_status" >&5
22397 echo "$as_me: failed program was:" >&5
22398 sed 's/^/| /' conftest.$ac_ext >&5
22400 ( exit $ac_status )
22401 if test "$ac_cv_type_long" = yes; then
22402 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22403 See \`config.log' for more details." >&5
22404 echo "$as_me: error: cannot compute sizeof (long)
22405 See \`config.log' for more details." >&2;}
22406 { (exit 77); exit 77; }; }
22408 ac_cv_sizeof_long=0
22411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22415 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22416 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22420 cat >>confdefs.h <<_ACEOF
22421 #define SIZEOF_LONG $ac_cv_sizeof_long
22425 { echo "$as_me:$LINENO: checking for size_t" >&5
22426 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22427 if test "${ac_cv_type_size_t+set}" = set; then
22428 echo $ECHO_N "(cached) $ECHO_C" >&6
22430 cat >conftest.$ac_ext <<_ACEOF
22433 cat confdefs.h >>conftest.$ac_ext
22434 cat >>conftest.$ac_ext <<_ACEOF
22435 /* end confdefs.h. */
22436 $ac_includes_default
22437 typedef size_t ac__type_new_;
22441 if ((ac__type_new_ *) 0)
22443 if (sizeof (ac__type_new_))
22449 rm -f conftest.$ac_objext
22450 if { (ac_try="$ac_compile"
22451 case "(($ac_try" in
22452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_compile") 2>conftest.er1
22458 grep -v '^ *+' conftest.er1 >conftest.err
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } && {
22463 test -z "$ac_c_werror_flag" ||
22464 test ! -s conftest.err
22465 } && test -s conftest.$ac_objext; then
22466 ac_cv_type_size_t=yes
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22471 ac_cv_type_size_t=no
22474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22477 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22479 # The cast to long int works around a bug in the HP C Compiler
22480 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22481 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22482 # This bug is HP SR number 8606223364.
22483 { echo "$as_me:$LINENO: checking size of size_t" >&5
22484 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22485 if test "${ac_cv_sizeof_size_t+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22488 if test "$cross_compiling" = yes; then
22489 # Depending upon the size, compute the lo and hi bounds.
22490 cat >conftest.$ac_ext <<_ACEOF
22493 cat confdefs.h >>conftest.$ac_ext
22494 cat >>conftest.$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22496 $ac_includes_default
22497 typedef size_t ac__type_sizeof_;
22501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22508 rm -f conftest.$ac_objext
22509 if { (ac_try="$ac_compile"
22510 case "(($ac_try" in
22511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22512 *) ac_try_echo=$ac_try;;
22514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22515 (eval "$ac_compile") 2>conftest.er1
22517 grep -v '^ *+' conftest.er1 >conftest.err
22519 cat conftest.err >&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } && {
22522 test -z "$ac_c_werror_flag" ||
22523 test ! -s conftest.err
22524 } && test -s conftest.$ac_objext; then
22527 cat >conftest.$ac_ext <<_ACEOF
22530 cat confdefs.h >>conftest.$ac_ext
22531 cat >>conftest.$ac_ext <<_ACEOF
22532 /* end confdefs.h. */
22533 $ac_includes_default
22534 typedef size_t ac__type_sizeof_;
22538 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22545 rm -f conftest.$ac_objext
22546 if { (ac_try="$ac_compile"
22547 case "(($ac_try" in
22548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22549 *) ac_try_echo=$ac_try;;
22551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22552 (eval "$ac_compile") 2>conftest.er1
22554 grep -v '^ *+' conftest.er1 >conftest.err
22556 cat conftest.err >&5
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); } && {
22559 test -z "$ac_c_werror_flag" ||
22560 test ! -s conftest.err
22561 } && test -s conftest.$ac_objext; then
22562 ac_hi=$ac_mid; break
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.$ac_ext >&5
22567 ac_lo=`expr $ac_mid + 1`
22568 if test $ac_lo -le $ac_mid; then
22572 ac_mid=`expr 2 '*' $ac_mid + 1`
22575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.$ac_ext >&5
22581 cat >conftest.$ac_ext <<_ACEOF
22584 cat confdefs.h >>conftest.$ac_ext
22585 cat >>conftest.$ac_ext <<_ACEOF
22586 /* end confdefs.h. */
22587 $ac_includes_default
22588 typedef size_t ac__type_sizeof_;
22592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22599 rm -f conftest.$ac_objext
22600 if { (ac_try="$ac_compile"
22601 case "(($ac_try" in
22602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22603 *) ac_try_echo=$ac_try;;
22605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22606 (eval "$ac_compile") 2>conftest.er1
22608 grep -v '^ *+' conftest.er1 >conftest.err
22610 cat conftest.err >&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); } && {
22613 test -z "$ac_c_werror_flag" ||
22614 test ! -s conftest.err
22615 } && test -s conftest.$ac_objext; then
22618 cat >conftest.$ac_ext <<_ACEOF
22621 cat confdefs.h >>conftest.$ac_ext
22622 cat >>conftest.$ac_ext <<_ACEOF
22623 /* end confdefs.h. */
22624 $ac_includes_default
22625 typedef size_t ac__type_sizeof_;
22629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22636 rm -f conftest.$ac_objext
22637 if { (ac_try="$ac_compile"
22638 case "(($ac_try" in
22639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22640 *) ac_try_echo=$ac_try;;
22642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22643 (eval "$ac_compile") 2>conftest.er1
22645 grep -v '^ *+' conftest.er1 >conftest.err
22647 cat conftest.err >&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } && {
22650 test -z "$ac_c_werror_flag" ||
22651 test ! -s conftest.err
22652 } && test -s conftest.$ac_objext; then
22653 ac_lo=$ac_mid; break
22655 echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.$ac_ext >&5
22658 ac_hi=`expr '(' $ac_mid ')' - 1`
22659 if test $ac_mid -le $ac_hi; then
22663 ac_mid=`expr 2 '*' $ac_mid`
22666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22669 echo "$as_me: failed program was:" >&5
22670 sed 's/^/| /' conftest.$ac_ext >&5
22675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22679 # Binary search between lo and hi bounds.
22680 while test "x$ac_lo" != "x$ac_hi"; do
22681 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22682 cat >conftest.$ac_ext <<_ACEOF
22685 cat confdefs.h >>conftest.$ac_ext
22686 cat >>conftest.$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22688 $ac_includes_default
22689 typedef size_t ac__type_sizeof_;
22693 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22700 rm -f conftest.$ac_objext
22701 if { (ac_try="$ac_compile"
22702 case "(($ac_try" in
22703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_compile") 2>conftest.er1
22709 grep -v '^ *+' conftest.er1 >conftest.err
22711 cat conftest.err >&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); } && {
22714 test -z "$ac_c_werror_flag" ||
22715 test ! -s conftest.err
22716 } && test -s conftest.$ac_objext; then
22719 echo "$as_me: failed program was:" >&5
22720 sed 's/^/| /' conftest.$ac_ext >&5
22722 ac_lo=`expr '(' $ac_mid ')' + 1`
22725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22728 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22729 '') if test "$ac_cv_type_size_t" = yes; then
22730 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22731 See \`config.log' for more details." >&5
22732 echo "$as_me: error: cannot compute sizeof (size_t)
22733 See \`config.log' for more details." >&2;}
22734 { (exit 77); exit 77; }; }
22736 ac_cv_sizeof_size_t=0
22740 cat >conftest.$ac_ext <<_ACEOF
22743 cat confdefs.h >>conftest.$ac_ext
22744 cat >>conftest.$ac_ext <<_ACEOF
22745 /* end confdefs.h. */
22746 $ac_includes_default
22747 typedef size_t ac__type_sizeof_;
22748 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22749 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22751 #include <stdlib.h>
22756 FILE *f = fopen ("conftest.val", "w");
22759 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22761 long int i = longval ();
22762 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22764 fprintf (f, "%ld\n", i);
22768 unsigned long int i = ulongval ();
22769 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22771 fprintf (f, "%lu\n", i);
22773 return ferror (f) || fclose (f) != 0;
22779 rm -f conftest$ac_exeext
22780 if { (ac_try="$ac_link"
22781 case "(($ac_try" in
22782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22783 *) ac_try_echo=$ac_try;;
22785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22786 (eval "$ac_link") 2>&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22790 { (case "(($ac_try" in
22791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22792 *) ac_try_echo=$ac_try;;
22794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22795 (eval "$ac_try") 2>&5
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); }; }; then
22799 ac_cv_sizeof_size_t=`cat conftest.val`
22801 echo "$as_me: program exited with status $ac_status" >&5
22802 echo "$as_me: failed program was:" >&5
22803 sed 's/^/| /' conftest.$ac_ext >&5
22805 ( exit $ac_status )
22806 if test "$ac_cv_type_size_t" = yes; then
22807 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22808 See \`config.log' for more details." >&5
22809 echo "$as_me: error: cannot compute sizeof (size_t)
22810 See \`config.log' for more details." >&2;}
22811 { (exit 77); exit 77; }; }
22813 ac_cv_sizeof_size_t=0
22816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22820 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22821 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22825 cat >>confdefs.h <<_ACEOF
22826 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22833 { echo "$as_me:$LINENO: checking for long long" >&5
22834 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22835 if test "${ac_cv_type_long_long+set}" = set; then
22836 echo $ECHO_N "(cached) $ECHO_C" >&6
22838 cat >conftest.$ac_ext <<_ACEOF
22841 cat confdefs.h >>conftest.$ac_ext
22842 cat >>conftest.$ac_ext <<_ACEOF
22843 /* end confdefs.h. */
22844 $ac_includes_default
22845 typedef long long ac__type_new_;
22849 if ((ac__type_new_ *) 0)
22851 if (sizeof (ac__type_new_))
22857 rm -f conftest.$ac_objext
22858 if { (ac_try="$ac_compile"
22859 case "(($ac_try" in
22860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22861 *) ac_try_echo=$ac_try;;
22863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22864 (eval "$ac_compile") 2>conftest.er1
22866 grep -v '^ *+' conftest.er1 >conftest.err
22868 cat conftest.err >&5
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); } && {
22871 test -z "$ac_c_werror_flag" ||
22872 test ! -s conftest.err
22873 } && test -s conftest.$ac_objext; then
22874 ac_cv_type_long_long=yes
22876 echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.$ac_ext >&5
22879 ac_cv_type_long_long=no
22882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22884 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22885 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22887 # The cast to long int works around a bug in the HP C Compiler
22888 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22889 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22890 # This bug is HP SR number 8606223364.
22891 { echo "$as_me:$LINENO: checking size of long long" >&5
22892 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22893 if test "${ac_cv_sizeof_long_long+set}" = set; then
22894 echo $ECHO_N "(cached) $ECHO_C" >&6
22896 if test "$cross_compiling" = yes; then
22897 # Depending upon the size, compute the lo and hi bounds.
22898 cat >conftest.$ac_ext <<_ACEOF
22901 cat confdefs.h >>conftest.$ac_ext
22902 cat >>conftest.$ac_ext <<_ACEOF
22903 /* end confdefs.h. */
22904 $ac_includes_default
22905 typedef long long ac__type_sizeof_;
22909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22916 rm -f conftest.$ac_objext
22917 if { (ac_try="$ac_compile"
22918 case "(($ac_try" in
22919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22920 *) ac_try_echo=$ac_try;;
22922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22923 (eval "$ac_compile") 2>conftest.er1
22925 grep -v '^ *+' conftest.er1 >conftest.err
22927 cat conftest.err >&5
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); } && {
22930 test -z "$ac_c_werror_flag" ||
22931 test ! -s conftest.err
22932 } && test -s conftest.$ac_objext; then
22935 cat >conftest.$ac_ext <<_ACEOF
22938 cat confdefs.h >>conftest.$ac_ext
22939 cat >>conftest.$ac_ext <<_ACEOF
22940 /* end confdefs.h. */
22941 $ac_includes_default
22942 typedef long long ac__type_sizeof_;
22946 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22953 rm -f conftest.$ac_objext
22954 if { (ac_try="$ac_compile"
22955 case "(($ac_try" in
22956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22957 *) ac_try_echo=$ac_try;;
22959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22960 (eval "$ac_compile") 2>conftest.er1
22962 grep -v '^ *+' conftest.er1 >conftest.err
22964 cat conftest.err >&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); } && {
22967 test -z "$ac_c_werror_flag" ||
22968 test ! -s conftest.err
22969 } && test -s conftest.$ac_objext; then
22970 ac_hi=$ac_mid; break
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.$ac_ext >&5
22975 ac_lo=`expr $ac_mid + 1`
22976 if test $ac_lo -le $ac_mid; then
22980 ac_mid=`expr 2 '*' $ac_mid + 1`
22983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.$ac_ext >&5
22989 cat >conftest.$ac_ext <<_ACEOF
22992 cat confdefs.h >>conftest.$ac_ext
22993 cat >>conftest.$ac_ext <<_ACEOF
22994 /* end confdefs.h. */
22995 $ac_includes_default
22996 typedef long long ac__type_sizeof_;
23000 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23007 rm -f conftest.$ac_objext
23008 if { (ac_try="$ac_compile"
23009 case "(($ac_try" in
23010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23011 *) ac_try_echo=$ac_try;;
23013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23014 (eval "$ac_compile") 2>conftest.er1
23016 grep -v '^ *+' conftest.er1 >conftest.err
23018 cat conftest.err >&5
23019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020 (exit $ac_status); } && {
23021 test -z "$ac_c_werror_flag" ||
23022 test ! -s conftest.err
23023 } && test -s conftest.$ac_objext; then
23026 cat >conftest.$ac_ext <<_ACEOF
23029 cat confdefs.h >>conftest.$ac_ext
23030 cat >>conftest.$ac_ext <<_ACEOF
23031 /* end confdefs.h. */
23032 $ac_includes_default
23033 typedef long long ac__type_sizeof_;
23037 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23044 rm -f conftest.$ac_objext
23045 if { (ac_try="$ac_compile"
23046 case "(($ac_try" in
23047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23048 *) ac_try_echo=$ac_try;;
23050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23051 (eval "$ac_compile") 2>conftest.er1
23053 grep -v '^ *+' conftest.er1 >conftest.err
23055 cat conftest.err >&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); } && {
23058 test -z "$ac_c_werror_flag" ||
23059 test ! -s conftest.err
23060 } && test -s conftest.$ac_objext; then
23061 ac_lo=$ac_mid; break
23063 echo "$as_me: failed program was:" >&5
23064 sed 's/^/| /' conftest.$ac_ext >&5
23066 ac_hi=`expr '(' $ac_mid ')' - 1`
23067 if test $ac_mid -le $ac_hi; then
23071 ac_mid=`expr 2 '*' $ac_mid`
23074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23077 echo "$as_me: failed program was:" >&5
23078 sed 's/^/| /' conftest.$ac_ext >&5
23083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23087 # Binary search between lo and hi bounds.
23088 while test "x$ac_lo" != "x$ac_hi"; do
23089 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23090 cat >conftest.$ac_ext <<_ACEOF
23093 cat confdefs.h >>conftest.$ac_ext
23094 cat >>conftest.$ac_ext <<_ACEOF
23095 /* end confdefs.h. */
23096 $ac_includes_default
23097 typedef long long ac__type_sizeof_;
23101 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23108 rm -f conftest.$ac_objext
23109 if { (ac_try="$ac_compile"
23110 case "(($ac_try" in
23111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23112 *) ac_try_echo=$ac_try;;
23114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23115 (eval "$ac_compile") 2>conftest.er1
23117 grep -v '^ *+' conftest.er1 >conftest.err
23119 cat conftest.err >&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); } && {
23122 test -z "$ac_c_werror_flag" ||
23123 test ! -s conftest.err
23124 } && test -s conftest.$ac_objext; then
23127 echo "$as_me: failed program was:" >&5
23128 sed 's/^/| /' conftest.$ac_ext >&5
23130 ac_lo=`expr '(' $ac_mid ')' + 1`
23133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23136 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23137 '') if test "$ac_cv_type_long_long" = yes; then
23138 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23139 See \`config.log' for more details." >&5
23140 echo "$as_me: error: cannot compute sizeof (long long)
23141 See \`config.log' for more details." >&2;}
23142 { (exit 77); exit 77; }; }
23144 ac_cv_sizeof_long_long=0
23148 cat >conftest.$ac_ext <<_ACEOF
23151 cat confdefs.h >>conftest.$ac_ext
23152 cat >>conftest.$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23154 $ac_includes_default
23155 typedef long long ac__type_sizeof_;
23156 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23157 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23159 #include <stdlib.h>
23164 FILE *f = fopen ("conftest.val", "w");
23167 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23169 long int i = longval ();
23170 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23172 fprintf (f, "%ld\n", i);
23176 unsigned long int i = ulongval ();
23177 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23179 fprintf (f, "%lu\n", i);
23181 return ferror (f) || fclose (f) != 0;
23187 rm -f conftest$ac_exeext
23188 if { (ac_try="$ac_link"
23189 case "(($ac_try" in
23190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23191 *) ac_try_echo=$ac_try;;
23193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23194 (eval "$ac_link") 2>&5
23196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23198 { (case "(($ac_try" in
23199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23200 *) ac_try_echo=$ac_try;;
23202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23203 (eval "$ac_try") 2>&5
23205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23206 (exit $ac_status); }; }; then
23207 ac_cv_sizeof_long_long=`cat conftest.val`
23209 echo "$as_me: program exited with status $ac_status" >&5
23210 echo "$as_me: failed program was:" >&5
23211 sed 's/^/| /' conftest.$ac_ext >&5
23213 ( exit $ac_status )
23214 if test "$ac_cv_type_long_long" = yes; then
23215 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23216 See \`config.log' for more details." >&5
23217 echo "$as_me: error: cannot compute sizeof (long long)
23218 See \`config.log' for more details." >&2;}
23219 { (exit 77); exit 77; }; }
23221 ac_cv_sizeof_long_long=0
23224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23228 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23229 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23233 cat >>confdefs.h <<_ACEOF
23234 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23240 { echo "$as_me:$LINENO: checking for long long" >&5
23241 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23242 if test "${ac_cv_type_long_long+set}" = set; then
23243 echo $ECHO_N "(cached) $ECHO_C" >&6
23245 cat >conftest.$ac_ext <<_ACEOF
23248 cat confdefs.h >>conftest.$ac_ext
23249 cat >>conftest.$ac_ext <<_ACEOF
23250 /* end confdefs.h. */
23251 $ac_includes_default
23252 typedef long long ac__type_new_;
23256 if ((ac__type_new_ *) 0)
23258 if (sizeof (ac__type_new_))
23264 rm -f conftest.$ac_objext
23265 if { (ac_try="$ac_compile"
23266 case "(($ac_try" in
23267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23268 *) ac_try_echo=$ac_try;;
23270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23271 (eval "$ac_compile") 2>conftest.er1
23273 grep -v '^ *+' conftest.er1 >conftest.err
23275 cat conftest.err >&5
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); } && {
23278 test -z "$ac_c_werror_flag" ||
23279 test ! -s conftest.err
23280 } && test -s conftest.$ac_objext; then
23281 ac_cv_type_long_long=yes
23283 echo "$as_me: failed program was:" >&5
23284 sed 's/^/| /' conftest.$ac_ext >&5
23286 ac_cv_type_long_long=no
23289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23291 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23292 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23294 # The cast to long int works around a bug in the HP C Compiler
23295 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23296 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23297 # This bug is HP SR number 8606223364.
23298 { echo "$as_me:$LINENO: checking size of long long" >&5
23299 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23300 if test "${ac_cv_sizeof_long_long+set}" = set; then
23301 echo $ECHO_N "(cached) $ECHO_C" >&6
23303 if test "$cross_compiling" = yes; then
23304 # Depending upon the size, compute the lo and hi bounds.
23305 cat >conftest.$ac_ext <<_ACEOF
23308 cat confdefs.h >>conftest.$ac_ext
23309 cat >>conftest.$ac_ext <<_ACEOF
23310 /* end confdefs.h. */
23311 $ac_includes_default
23312 typedef long long ac__type_sizeof_;
23316 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23323 rm -f conftest.$ac_objext
23324 if { (ac_try="$ac_compile"
23325 case "(($ac_try" in
23326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23327 *) ac_try_echo=$ac_try;;
23329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23330 (eval "$ac_compile") 2>conftest.er1
23332 grep -v '^ *+' conftest.er1 >conftest.err
23334 cat conftest.err >&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); } && {
23337 test -z "$ac_c_werror_flag" ||
23338 test ! -s conftest.err
23339 } && test -s conftest.$ac_objext; then
23342 cat >conftest.$ac_ext <<_ACEOF
23345 cat confdefs.h >>conftest.$ac_ext
23346 cat >>conftest.$ac_ext <<_ACEOF
23347 /* end confdefs.h. */
23348 $ac_includes_default
23349 typedef long long ac__type_sizeof_;
23353 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23360 rm -f conftest.$ac_objext
23361 if { (ac_try="$ac_compile"
23362 case "(($ac_try" in
23363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23364 *) ac_try_echo=$ac_try;;
23366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23367 (eval "$ac_compile") 2>conftest.er1
23369 grep -v '^ *+' conftest.er1 >conftest.err
23371 cat conftest.err >&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); } && {
23374 test -z "$ac_c_werror_flag" ||
23375 test ! -s conftest.err
23376 } && test -s conftest.$ac_objext; then
23377 ac_hi=$ac_mid; break
23379 echo "$as_me: failed program was:" >&5
23380 sed 's/^/| /' conftest.$ac_ext >&5
23382 ac_lo=`expr $ac_mid + 1`
23383 if test $ac_lo -le $ac_mid; then
23387 ac_mid=`expr 2 '*' $ac_mid + 1`
23390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23393 echo "$as_me: failed program was:" >&5
23394 sed 's/^/| /' conftest.$ac_ext >&5
23396 cat >conftest.$ac_ext <<_ACEOF
23399 cat confdefs.h >>conftest.$ac_ext
23400 cat >>conftest.$ac_ext <<_ACEOF
23401 /* end confdefs.h. */
23402 $ac_includes_default
23403 typedef long long ac__type_sizeof_;
23407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23414 rm -f conftest.$ac_objext
23415 if { (ac_try="$ac_compile"
23416 case "(($ac_try" in
23417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23418 *) ac_try_echo=$ac_try;;
23420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23421 (eval "$ac_compile") 2>conftest.er1
23423 grep -v '^ *+' conftest.er1 >conftest.err
23425 cat conftest.err >&5
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } && {
23428 test -z "$ac_c_werror_flag" ||
23429 test ! -s conftest.err
23430 } && test -s conftest.$ac_objext; then
23433 cat >conftest.$ac_ext <<_ACEOF
23436 cat confdefs.h >>conftest.$ac_ext
23437 cat >>conftest.$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439 $ac_includes_default
23440 typedef long long ac__type_sizeof_;
23444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23451 rm -f conftest.$ac_objext
23452 if { (ac_try="$ac_compile"
23453 case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455 *) ac_try_echo=$ac_try;;
23457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23458 (eval "$ac_compile") 2>conftest.er1
23460 grep -v '^ *+' conftest.er1 >conftest.err
23462 cat conftest.err >&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } && {
23465 test -z "$ac_c_werror_flag" ||
23466 test ! -s conftest.err
23467 } && test -s conftest.$ac_objext; then
23468 ac_lo=$ac_mid; break
23470 echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.$ac_ext >&5
23473 ac_hi=`expr '(' $ac_mid ')' - 1`
23474 if test $ac_mid -le $ac_hi; then
23478 ac_mid=`expr 2 '*' $ac_mid`
23481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.$ac_ext >&5
23490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23494 # Binary search between lo and hi bounds.
23495 while test "x$ac_lo" != "x$ac_hi"; do
23496 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23497 cat >conftest.$ac_ext <<_ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503 $ac_includes_default
23504 typedef long long ac__type_sizeof_;
23508 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23515 rm -f conftest.$ac_objext
23516 if { (ac_try="$ac_compile"
23517 case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_compile") 2>conftest.er1
23524 grep -v '^ *+' conftest.er1 >conftest.err
23526 cat conftest.err >&5
23527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } && {
23529 test -z "$ac_c_werror_flag" ||
23530 test ! -s conftest.err
23531 } && test -s conftest.$ac_objext; then
23534 echo "$as_me: failed program was:" >&5
23535 sed 's/^/| /' conftest.$ac_ext >&5
23537 ac_lo=`expr '(' $ac_mid ')' + 1`
23540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23543 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23544 '') if test "$ac_cv_type_long_long" = yes; then
23545 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23546 See \`config.log' for more details." >&5
23547 echo "$as_me: error: cannot compute sizeof (long long)
23548 See \`config.log' for more details." >&2;}
23549 { (exit 77); exit 77; }; }
23551 ac_cv_sizeof_long_long=0
23555 cat >conftest.$ac_ext <<_ACEOF
23558 cat confdefs.h >>conftest.$ac_ext
23559 cat >>conftest.$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23561 $ac_includes_default
23562 typedef long long ac__type_sizeof_;
23563 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23564 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23566 #include <stdlib.h>
23571 FILE *f = fopen ("conftest.val", "w");
23574 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23576 long int i = longval ();
23577 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23579 fprintf (f, "%ld\n", i);
23583 unsigned long int i = ulongval ();
23584 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23586 fprintf (f, "%lu\n", i);
23588 return ferror (f) || fclose (f) != 0;
23594 rm -f conftest$ac_exeext
23595 if { (ac_try="$ac_link"
23596 case "(($ac_try" in
23597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23598 *) ac_try_echo=$ac_try;;
23600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23601 (eval "$ac_link") 2>&5
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23605 { (case "(($ac_try" in
23606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23607 *) ac_try_echo=$ac_try;;
23609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23610 (eval "$ac_try") 2>&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; }; then
23614 ac_cv_sizeof_long_long=`cat conftest.val`
23616 echo "$as_me: program exited with status $ac_status" >&5
23617 echo "$as_me: failed program was:" >&5
23618 sed 's/^/| /' conftest.$ac_ext >&5
23620 ( exit $ac_status )
23621 if test "$ac_cv_type_long_long" = yes; then
23622 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23623 See \`config.log' for more details." >&5
23624 echo "$as_me: error: cannot compute sizeof (long long)
23625 See \`config.log' for more details." >&2;}
23626 { (exit 77); exit 77; }; }
23628 ac_cv_sizeof_long_long=0
23631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23635 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23636 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23640 cat >>confdefs.h <<_ACEOF
23641 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23645 if test "$ac_cv_sizeof_long_long" != 0; then
23646 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23650 { echo "$as_me:$LINENO: checking for long long" >&5
23651 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23652 if test "${ac_cv_type_long_long+set}" = set; then
23653 echo $ECHO_N "(cached) $ECHO_C" >&6
23655 cat >conftest.$ac_ext <<_ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23661 $ac_includes_default
23662 typedef long long ac__type_new_;
23666 if ((ac__type_new_ *) 0)
23668 if (sizeof (ac__type_new_))
23674 rm -f conftest.$ac_objext
23675 if { (ac_try="$ac_compile"
23676 case "(($ac_try" in
23677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23678 *) ac_try_echo=$ac_try;;
23680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23681 (eval "$ac_compile") 2>conftest.er1
23683 grep -v '^ *+' conftest.er1 >conftest.err
23685 cat conftest.err >&5
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); } && {
23688 test -z "$ac_c_werror_flag" ||
23689 test ! -s conftest.err
23690 } && test -s conftest.$ac_objext; then
23691 ac_cv_type_long_long=yes
23693 echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.$ac_ext >&5
23696 ac_cv_type_long_long=no
23699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23701 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23702 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23704 # The cast to long int works around a bug in the HP C Compiler
23705 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23706 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23707 # This bug is HP SR number 8606223364.
23708 { echo "$as_me:$LINENO: checking size of long long" >&5
23709 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23710 if test "${ac_cv_sizeof_long_long+set}" = set; then
23711 echo $ECHO_N "(cached) $ECHO_C" >&6
23713 if test "$cross_compiling" = yes; then
23714 # Depending upon the size, compute the lo and hi bounds.
23715 cat >conftest.$ac_ext <<_ACEOF
23718 cat confdefs.h >>conftest.$ac_ext
23719 cat >>conftest.$ac_ext <<_ACEOF
23720 /* end confdefs.h. */
23721 $ac_includes_default
23722 typedef long long ac__type_sizeof_;
23726 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23733 rm -f conftest.$ac_objext
23734 if { (ac_try="$ac_compile"
23735 case "(($ac_try" in
23736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23737 *) ac_try_echo=$ac_try;;
23739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23740 (eval "$ac_compile") 2>conftest.er1
23742 grep -v '^ *+' conftest.er1 >conftest.err
23744 cat conftest.err >&5
23745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23746 (exit $ac_status); } && {
23747 test -z "$ac_c_werror_flag" ||
23748 test ! -s conftest.err
23749 } && test -s conftest.$ac_objext; then
23752 cat >conftest.$ac_ext <<_ACEOF
23755 cat confdefs.h >>conftest.$ac_ext
23756 cat >>conftest.$ac_ext <<_ACEOF
23757 /* end confdefs.h. */
23758 $ac_includes_default
23759 typedef long long ac__type_sizeof_;
23763 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23770 rm -f conftest.$ac_objext
23771 if { (ac_try="$ac_compile"
23772 case "(($ac_try" in
23773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23774 *) ac_try_echo=$ac_try;;
23776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23777 (eval "$ac_compile") 2>conftest.er1
23779 grep -v '^ *+' conftest.er1 >conftest.err
23781 cat conftest.err >&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } && {
23784 test -z "$ac_c_werror_flag" ||
23785 test ! -s conftest.err
23786 } && test -s conftest.$ac_objext; then
23787 ac_hi=$ac_mid; break
23789 echo "$as_me: failed program was:" >&5
23790 sed 's/^/| /' conftest.$ac_ext >&5
23792 ac_lo=`expr $ac_mid + 1`
23793 if test $ac_lo -le $ac_mid; then
23797 ac_mid=`expr 2 '*' $ac_mid + 1`
23800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23803 echo "$as_me: failed program was:" >&5
23804 sed 's/^/| /' conftest.$ac_ext >&5
23806 cat >conftest.$ac_ext <<_ACEOF
23809 cat confdefs.h >>conftest.$ac_ext
23810 cat >>conftest.$ac_ext <<_ACEOF
23811 /* end confdefs.h. */
23812 $ac_includes_default
23813 typedef long long ac__type_sizeof_;
23817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23824 rm -f conftest.$ac_objext
23825 if { (ac_try="$ac_compile"
23826 case "(($ac_try" in
23827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23828 *) ac_try_echo=$ac_try;;
23830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23831 (eval "$ac_compile") 2>conftest.er1
23833 grep -v '^ *+' conftest.er1 >conftest.err
23835 cat conftest.err >&5
23836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23837 (exit $ac_status); } && {
23838 test -z "$ac_c_werror_flag" ||
23839 test ! -s conftest.err
23840 } && test -s conftest.$ac_objext; then
23843 cat >conftest.$ac_ext <<_ACEOF
23846 cat confdefs.h >>conftest.$ac_ext
23847 cat >>conftest.$ac_ext <<_ACEOF
23848 /* end confdefs.h. */
23849 $ac_includes_default
23850 typedef long long ac__type_sizeof_;
23854 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23861 rm -f conftest.$ac_objext
23862 if { (ac_try="$ac_compile"
23863 case "(($ac_try" in
23864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23865 *) ac_try_echo=$ac_try;;
23867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23868 (eval "$ac_compile") 2>conftest.er1
23870 grep -v '^ *+' conftest.er1 >conftest.err
23872 cat conftest.err >&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } && {
23875 test -z "$ac_c_werror_flag" ||
23876 test ! -s conftest.err
23877 } && test -s conftest.$ac_objext; then
23878 ac_lo=$ac_mid; break
23880 echo "$as_me: failed program was:" >&5
23881 sed 's/^/| /' conftest.$ac_ext >&5
23883 ac_hi=`expr '(' $ac_mid ')' - 1`
23884 if test $ac_mid -le $ac_hi; then
23888 ac_mid=`expr 2 '*' $ac_mid`
23891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23894 echo "$as_me: failed program was:" >&5
23895 sed 's/^/| /' conftest.$ac_ext >&5
23900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23904 # Binary search between lo and hi bounds.
23905 while test "x$ac_lo" != "x$ac_hi"; do
23906 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23907 cat >conftest.$ac_ext <<_ACEOF
23910 cat confdefs.h >>conftest.$ac_ext
23911 cat >>conftest.$ac_ext <<_ACEOF
23912 /* end confdefs.h. */
23913 $ac_includes_default
23914 typedef long long ac__type_sizeof_;
23918 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23925 rm -f conftest.$ac_objext
23926 if { (ac_try="$ac_compile"
23927 case "(($ac_try" in
23928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23929 *) ac_try_echo=$ac_try;;
23931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23932 (eval "$ac_compile") 2>conftest.er1
23934 grep -v '^ *+' conftest.er1 >conftest.err
23936 cat conftest.err >&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); } && {
23939 test -z "$ac_c_werror_flag" ||
23940 test ! -s conftest.err
23941 } && test -s conftest.$ac_objext; then
23944 echo "$as_me: failed program was:" >&5
23945 sed 's/^/| /' conftest.$ac_ext >&5
23947 ac_lo=`expr '(' $ac_mid ')' + 1`
23950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23953 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23954 '') if test "$ac_cv_type_long_long" = yes; then
23955 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23956 See \`config.log' for more details." >&5
23957 echo "$as_me: error: cannot compute sizeof (long long)
23958 See \`config.log' for more details." >&2;}
23959 { (exit 77); exit 77; }; }
23961 ac_cv_sizeof_long_long=0
23965 cat >conftest.$ac_ext <<_ACEOF
23968 cat confdefs.h >>conftest.$ac_ext
23969 cat >>conftest.$ac_ext <<_ACEOF
23970 /* end confdefs.h. */
23971 $ac_includes_default
23972 typedef long long ac__type_sizeof_;
23973 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23974 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23976 #include <stdlib.h>
23981 FILE *f = fopen ("conftest.val", "w");
23984 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23986 long int i = longval ();
23987 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23989 fprintf (f, "%ld\n", i);
23993 unsigned long int i = ulongval ();
23994 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23996 fprintf (f, "%lu\n", i);
23998 return ferror (f) || fclose (f) != 0;
24004 rm -f conftest$ac_exeext
24005 if { (ac_try="$ac_link"
24006 case "(($ac_try" in
24007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24008 *) ac_try_echo=$ac_try;;
24010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24011 (eval "$ac_link") 2>&5
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24015 { (case "(($ac_try" in
24016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24017 *) ac_try_echo=$ac_try;;
24019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24020 (eval "$ac_try") 2>&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); }; }; then
24024 ac_cv_sizeof_long_long=`cat conftest.val`
24026 echo "$as_me: program exited with status $ac_status" >&5
24027 echo "$as_me: failed program was:" >&5
24028 sed 's/^/| /' conftest.$ac_ext >&5
24030 ( exit $ac_status )
24031 if test "$ac_cv_type_long_long" = yes; then
24032 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24033 See \`config.log' for more details." >&5
24034 echo "$as_me: error: cannot compute sizeof (long long)
24035 See \`config.log' for more details." >&2;}
24036 { (exit 77); exit 77; }; }
24038 ac_cv_sizeof_long_long=0
24041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24045 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24046 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24050 cat >>confdefs.h <<_ACEOF
24051 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24057 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24058 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24059 if test "${ac_cv_type_wchar_t+set}" = set; then
24060 echo $ECHO_N "(cached) $ECHO_C" >&6
24062 cat >conftest.$ac_ext <<_ACEOF
24065 cat confdefs.h >>conftest.$ac_ext
24066 cat >>conftest.$ac_ext <<_ACEOF
24067 /* end confdefs.h. */
24069 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24070 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24071 # error "fake wchar_t"
24073 #ifdef HAVE_WCHAR_H
24075 # include <stddef.h>
24077 # include <wchar.h>
24079 #ifdef HAVE_STDLIB_H
24080 # include <stdlib.h>
24086 typedef wchar_t ac__type_new_;
24090 if ((ac__type_new_ *) 0)
24092 if (sizeof (ac__type_new_))
24098 rm -f conftest.$ac_objext
24099 if { (ac_try="$ac_compile"
24100 case "(($ac_try" in
24101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24102 *) ac_try_echo=$ac_try;;
24104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24105 (eval "$ac_compile") 2>conftest.er1
24107 grep -v '^ *+' conftest.er1 >conftest.err
24109 cat conftest.err >&5
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); } && {
24112 test -z "$ac_c_werror_flag" ||
24113 test ! -s conftest.err
24114 } && test -s conftest.$ac_objext; then
24115 ac_cv_type_wchar_t=yes
24117 echo "$as_me: failed program was:" >&5
24118 sed 's/^/| /' conftest.$ac_ext >&5
24120 ac_cv_type_wchar_t=no
24123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24125 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24126 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24128 # The cast to long int works around a bug in the HP C Compiler
24129 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24130 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24131 # This bug is HP SR number 8606223364.
24132 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24133 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24134 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24135 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 if test "$cross_compiling" = yes; then
24138 # Depending upon the size, compute the lo and hi bounds.
24139 cat >conftest.$ac_ext <<_ACEOF
24142 cat confdefs.h >>conftest.$ac_ext
24143 cat >>conftest.$ac_ext <<_ACEOF
24144 /* end confdefs.h. */
24146 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24147 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24148 # error "fake wchar_t"
24150 #ifdef HAVE_WCHAR_H
24152 # include <stddef.h>
24154 # include <wchar.h>
24156 #ifdef HAVE_STDLIB_H
24157 # include <stdlib.h>
24163 typedef wchar_t ac__type_sizeof_;
24167 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24174 rm -f conftest.$ac_objext
24175 if { (ac_try="$ac_compile"
24176 case "(($ac_try" in
24177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24178 *) ac_try_echo=$ac_try;;
24180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24181 (eval "$ac_compile") 2>conftest.er1
24183 grep -v '^ *+' conftest.er1 >conftest.err
24185 cat conftest.err >&5
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); } && {
24188 test -z "$ac_c_werror_flag" ||
24189 test ! -s conftest.err
24190 } && test -s conftest.$ac_objext; then
24193 cat >conftest.$ac_ext <<_ACEOF
24196 cat confdefs.h >>conftest.$ac_ext
24197 cat >>conftest.$ac_ext <<_ACEOF
24198 /* end confdefs.h. */
24200 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24201 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24202 # error "fake wchar_t"
24204 #ifdef HAVE_WCHAR_H
24206 # include <stddef.h>
24208 # include <wchar.h>
24210 #ifdef HAVE_STDLIB_H
24211 # include <stdlib.h>
24217 typedef wchar_t ac__type_sizeof_;
24221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24228 rm -f conftest.$ac_objext
24229 if { (ac_try="$ac_compile"
24230 case "(($ac_try" in
24231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24232 *) ac_try_echo=$ac_try;;
24234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24235 (eval "$ac_compile") 2>conftest.er1
24237 grep -v '^ *+' conftest.er1 >conftest.err
24239 cat conftest.err >&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); } && {
24242 test -z "$ac_c_werror_flag" ||
24243 test ! -s conftest.err
24244 } && test -s conftest.$ac_objext; then
24245 ac_hi=$ac_mid; break
24247 echo "$as_me: failed program was:" >&5
24248 sed 's/^/| /' conftest.$ac_ext >&5
24250 ac_lo=`expr $ac_mid + 1`
24251 if test $ac_lo -le $ac_mid; then
24255 ac_mid=`expr 2 '*' $ac_mid + 1`
24258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24261 echo "$as_me: failed program was:" >&5
24262 sed 's/^/| /' conftest.$ac_ext >&5
24264 cat >conftest.$ac_ext <<_ACEOF
24267 cat confdefs.h >>conftest.$ac_ext
24268 cat >>conftest.$ac_ext <<_ACEOF
24269 /* end confdefs.h. */
24271 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24272 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24273 # error "fake wchar_t"
24275 #ifdef HAVE_WCHAR_H
24277 # include <stddef.h>
24279 # include <wchar.h>
24281 #ifdef HAVE_STDLIB_H
24282 # include <stdlib.h>
24288 typedef wchar_t ac__type_sizeof_;
24292 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24299 rm -f conftest.$ac_objext
24300 if { (ac_try="$ac_compile"
24301 case "(($ac_try" in
24302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24303 *) ac_try_echo=$ac_try;;
24305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24306 (eval "$ac_compile") 2>conftest.er1
24308 grep -v '^ *+' conftest.er1 >conftest.err
24310 cat conftest.err >&5
24311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312 (exit $ac_status); } && {
24313 test -z "$ac_c_werror_flag" ||
24314 test ! -s conftest.err
24315 } && test -s conftest.$ac_objext; then
24318 cat >conftest.$ac_ext <<_ACEOF
24321 cat confdefs.h >>conftest.$ac_ext
24322 cat >>conftest.$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24325 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24326 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24327 # error "fake wchar_t"
24329 #ifdef HAVE_WCHAR_H
24331 # include <stddef.h>
24333 # include <wchar.h>
24335 #ifdef HAVE_STDLIB_H
24336 # include <stdlib.h>
24342 typedef wchar_t ac__type_sizeof_;
24346 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24353 rm -f conftest.$ac_objext
24354 if { (ac_try="$ac_compile"
24355 case "(($ac_try" in
24356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24357 *) ac_try_echo=$ac_try;;
24359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24360 (eval "$ac_compile") 2>conftest.er1
24362 grep -v '^ *+' conftest.er1 >conftest.err
24364 cat conftest.err >&5
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); } && {
24367 test -z "$ac_c_werror_flag" ||
24368 test ! -s conftest.err
24369 } && test -s conftest.$ac_objext; then
24370 ac_lo=$ac_mid; break
24372 echo "$as_me: failed program was:" >&5
24373 sed 's/^/| /' conftest.$ac_ext >&5
24375 ac_hi=`expr '(' $ac_mid ')' - 1`
24376 if test $ac_mid -le $ac_hi; then
24380 ac_mid=`expr 2 '*' $ac_mid`
24383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24386 echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.$ac_ext >&5
24392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24396 # Binary search between lo and hi bounds.
24397 while test "x$ac_lo" != "x$ac_hi"; do
24398 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24399 cat >conftest.$ac_ext <<_ACEOF
24402 cat confdefs.h >>conftest.$ac_ext
24403 cat >>conftest.$ac_ext <<_ACEOF
24404 /* end confdefs.h. */
24406 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24407 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24408 # error "fake wchar_t"
24410 #ifdef HAVE_WCHAR_H
24412 # include <stddef.h>
24414 # include <wchar.h>
24416 #ifdef HAVE_STDLIB_H
24417 # include <stdlib.h>
24423 typedef wchar_t ac__type_sizeof_;
24427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24434 rm -f conftest.$ac_objext
24435 if { (ac_try="$ac_compile"
24436 case "(($ac_try" in
24437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24438 *) ac_try_echo=$ac_try;;
24440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24441 (eval "$ac_compile") 2>conftest.er1
24443 grep -v '^ *+' conftest.er1 >conftest.err
24445 cat conftest.err >&5
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); } && {
24448 test -z "$ac_c_werror_flag" ||
24449 test ! -s conftest.err
24450 } && test -s conftest.$ac_objext; then
24453 echo "$as_me: failed program was:" >&5
24454 sed 's/^/| /' conftest.$ac_ext >&5
24456 ac_lo=`expr '(' $ac_mid ')' + 1`
24459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24462 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24463 '') if test "$ac_cv_type_wchar_t" = yes; then
24464 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24465 See \`config.log' for more details." >&5
24466 echo "$as_me: error: cannot compute sizeof (wchar_t)
24467 See \`config.log' for more details." >&2;}
24468 { (exit 77); exit 77; }; }
24470 ac_cv_sizeof_wchar_t=0
24474 cat >conftest.$ac_ext <<_ACEOF
24477 cat confdefs.h >>conftest.$ac_ext
24478 cat >>conftest.$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24481 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24482 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24483 # error "fake wchar_t"
24485 #ifdef HAVE_WCHAR_H
24487 # include <stddef.h>
24489 # include <wchar.h>
24491 #ifdef HAVE_STDLIB_H
24492 # include <stdlib.h>
24498 typedef wchar_t ac__type_sizeof_;
24499 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24500 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24502 #include <stdlib.h>
24507 FILE *f = fopen ("conftest.val", "w");
24510 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24512 long int i = longval ();
24513 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24515 fprintf (f, "%ld\n", i);
24519 unsigned long int i = ulongval ();
24520 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24522 fprintf (f, "%lu\n", i);
24524 return ferror (f) || fclose (f) != 0;
24530 rm -f conftest$ac_exeext
24531 if { (ac_try="$ac_link"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_link") 2>&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24541 { (case "(($ac_try" in
24542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24543 *) ac_try_echo=$ac_try;;
24545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24546 (eval "$ac_try") 2>&5
24548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549 (exit $ac_status); }; }; then
24550 ac_cv_sizeof_wchar_t=`cat conftest.val`
24552 echo "$as_me: program exited with status $ac_status" >&5
24553 echo "$as_me: failed program was:" >&5
24554 sed 's/^/| /' conftest.$ac_ext >&5
24556 ( exit $ac_status )
24557 if test "$ac_cv_type_wchar_t" = yes; then
24558 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24559 See \`config.log' for more details." >&5
24560 echo "$as_me: error: cannot compute sizeof (wchar_t)
24561 See \`config.log' for more details." >&2;}
24562 { (exit 77); exit 77; }; }
24564 ac_cv_sizeof_wchar_t=0
24567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24571 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24572 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24576 cat >>confdefs.h <<_ACEOF
24577 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24581 if test "$ac_cv_sizeof_wchar_t" = 0; then
24582 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24583 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24584 { (exit 1); exit 1; }; }
24586 cat >>confdefs.h <<\_ACEOF
24587 #define wxUSE_WCHAR_T 1
24591 { echo "$as_me:$LINENO: checking for va_copy" >&5
24592 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24593 if test "${wx_cv_func_va_copy+set}" = set; then
24594 echo $ECHO_N "(cached) $ECHO_C" >&6
24598 ac_cpp='$CXXCPP $CPPFLAGS'
24599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24603 cat >conftest.$ac_ext <<_ACEOF
24607 cat confdefs.h >>conftest.$ac_ext
24608 cat >>conftest.$ac_ext <<_ACEOF
24609 /* end confdefs.h. */
24611 #include <stdarg.h>
24612 void foo(char *f, ...)
24627 rm -f conftest.$ac_objext conftest$ac_exeext
24628 if { (ac_try="$ac_link"
24629 case "(($ac_try" in
24630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24631 *) ac_try_echo=$ac_try;;
24633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24634 (eval "$ac_link") 2>conftest.er1
24636 grep -v '^ *+' conftest.er1 >conftest.err
24638 cat conftest.err >&5
24639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24640 (exit $ac_status); } && {
24641 test -z "$ac_cxx_werror_flag" ||
24642 test ! -s conftest.err
24643 } && test -s conftest$ac_exeext &&
24644 $as_test_x conftest$ac_exeext; then
24645 wx_cv_func_va_copy=yes
24647 echo "$as_me: failed program was:" >&5
24648 sed 's/^/| /' conftest.$ac_ext >&5
24650 wx_cv_func_va_copy=no
24654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24655 conftest$ac_exeext conftest.$ac_ext
24657 ac_cpp='$CPP $CPPFLAGS'
24658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24665 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24666 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24668 if test $wx_cv_func_va_copy = "yes"; then
24669 cat >>confdefs.h <<\_ACEOF
24670 #define HAVE_VA_COPY 1
24674 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24675 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24676 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24680 if test "$cross_compiling" = yes; then
24681 wx_cv_type_va_list_lvalue=yes
24684 cat >conftest.$ac_ext <<_ACEOF
24688 cat confdefs.h >>conftest.$ac_ext
24689 cat >>conftest.$ac_ext <<_ACEOF
24690 /* end confdefs.h. */
24692 #include <stdarg.h>
24693 int foo(char *f, ...)
24698 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24706 return foo("hi", 17);
24710 rm -f conftest$ac_exeext
24711 if { (ac_try="$ac_link"
24712 case "(($ac_try" in
24713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24714 *) ac_try_echo=$ac_try;;
24716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24717 (eval "$ac_link") 2>&5
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24721 { (case "(($ac_try" in
24722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24723 *) ac_try_echo=$ac_try;;
24725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24726 (eval "$ac_try") 2>&5
24728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24729 (exit $ac_status); }; }; then
24730 wx_cv_type_va_list_lvalue=yes
24732 echo "$as_me: program exited with status $ac_status" >&5
24733 echo "$as_me: failed program was:" >&5
24734 sed 's/^/| /' conftest.$ac_ext >&5
24736 ( exit $ac_status )
24737 wx_cv_type_va_list_lvalue=no
24739 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24746 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24747 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24749 if test $wx_cv_type_va_list_lvalue != "yes"; then
24750 cat >>confdefs.h <<\_ACEOF
24751 #define VA_LIST_IS_ARRAY 1
24757 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24759 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24760 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24761 if test "${wx_cv_have_variadic_macros+set}" = set; then
24762 echo $ECHO_N "(cached) $ECHO_C" >&6
24766 ac_cpp='$CXXCPP $CPPFLAGS'
24767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24771 cat >conftest.$ac_ext <<_ACEOF
24775 cat confdefs.h >>conftest.$ac_ext
24776 cat >>conftest.$ac_ext <<_ACEOF
24777 /* end confdefs.h. */
24780 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24786 test("%s %d %p", "test", 1, 0);
24793 rm -f conftest.$ac_objext
24794 if { (ac_try="$ac_compile"
24795 case "(($ac_try" in
24796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24797 *) ac_try_echo=$ac_try;;
24799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24800 (eval "$ac_compile") 2>conftest.er1
24802 grep -v '^ *+' conftest.er1 >conftest.err
24804 cat conftest.err >&5
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); } && {
24807 test -z "$ac_cxx_werror_flag" ||
24808 test ! -s conftest.err
24809 } && test -s conftest.$ac_objext; then
24810 wx_cv_have_variadic_macros=yes
24812 echo "$as_me: failed program was:" >&5
24813 sed 's/^/| /' conftest.$ac_ext >&5
24815 wx_cv_have_variadic_macros=no
24819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24821 ac_cpp='$CPP $CPPFLAGS'
24822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24829 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24830 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24832 if test $wx_cv_have_variadic_macros = "yes"; then
24833 cat >>confdefs.h <<\_ACEOF
24834 #define HAVE_VARIADIC_MACROS 1
24841 LARGEFILE_CPPFLAGS=
24842 # Check whether --enable-largefile was given.
24843 if test "${enable_largefile+set}" = set; then
24844 enableval=$enable_largefile;
24847 if test "$enable_largefile" != no; then
24850 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24851 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24852 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24853 echo $ECHO_N "(cached) $ECHO_C" >&6
24856 cat >conftest.$ac_ext <<_ACEOF
24859 cat confdefs.h >>conftest.$ac_ext
24860 cat >>conftest.$ac_ext <<_ACEOF
24861 /* end confdefs.h. */
24862 #define _FILE_OFFSET_BITS 64
24863 #include <sys/types.h>
24868 unsigned int field: sizeof(off_t) == 8;
24875 rm -f conftest.$ac_objext
24876 if { (ac_try="$ac_compile"
24877 case "(($ac_try" in
24878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24879 *) ac_try_echo=$ac_try;;
24881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24882 (eval "$ac_compile") 2>conftest.er1
24884 grep -v '^ *+' conftest.er1 >conftest.err
24886 cat conftest.err >&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); } && {
24889 test -z "$ac_c_werror_flag" ||
24890 test ! -s conftest.err
24891 } && test -s conftest.$ac_objext; then
24892 ac_cv_sys_file_offset_bits=64
24894 echo "$as_me: failed program was:" >&5
24895 sed 's/^/| /' conftest.$ac_ext >&5
24897 ac_cv_sys_file_offset_bits=no
24900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24904 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24905 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24907 if test "$ac_cv_sys_file_offset_bits" != no; then
24909 cat >>confdefs.h <<_ACEOF
24910 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24915 if test "x$wx_largefile" != "xyes"; then
24917 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24918 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24919 if test "${ac_cv_sys_large_files+set}" = set; then
24920 echo $ECHO_N "(cached) $ECHO_C" >&6
24923 cat >conftest.$ac_ext <<_ACEOF
24926 cat confdefs.h >>conftest.$ac_ext
24927 cat >>conftest.$ac_ext <<_ACEOF
24928 /* end confdefs.h. */
24929 #define _LARGE_FILES 1
24930 #include <sys/types.h>
24935 unsigned int field: sizeof(off_t) == 8;
24942 rm -f conftest.$ac_objext
24943 if { (ac_try="$ac_compile"
24944 case "(($ac_try" in
24945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24946 *) ac_try_echo=$ac_try;;
24948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24949 (eval "$ac_compile") 2>conftest.er1
24951 grep -v '^ *+' conftest.er1 >conftest.err
24953 cat conftest.err >&5
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); } && {
24956 test -z "$ac_c_werror_flag" ||
24957 test ! -s conftest.err
24958 } && test -s conftest.$ac_objext; then
24959 ac_cv_sys_large_files=1
24961 echo "$as_me: failed program was:" >&5
24962 sed 's/^/| /' conftest.$ac_ext >&5
24964 ac_cv_sys_large_files=no
24967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24971 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24972 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24974 if test "$ac_cv_sys_large_files" != no; then
24976 cat >>confdefs.h <<_ACEOF
24977 #define _LARGE_FILES $ac_cv_sys_large_files
24984 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24985 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24986 if test "x$wx_largefile" = "xyes"; then
24987 cat >>confdefs.h <<\_ACEOF
24988 #define HAVE_LARGEFILE_SUPPORT 1
24992 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24993 echo "${ECHO_T}$wx_largefile" >&6; }
24996 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24997 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24998 elif test "$ac_cv_sys_large_files" = 1; then
24999 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
25002 if test -n "$LARGEFILE_CPPFLAGS"; then
25003 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
25005 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25006 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25007 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25008 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25009 echo $ECHO_N "(cached) $ECHO_C" >&6
25013 ac_cpp='$CXXCPP $CPPFLAGS'
25014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25018 cat >conftest.$ac_ext <<_ACEOF
25021 cat confdefs.h >>conftest.$ac_ext
25022 cat >>conftest.$ac_ext <<_ACEOF
25023 /* end confdefs.h. */
25029 #ifndef __STDC_EXT__
25037 rm -f conftest.$ac_objext
25038 if { (ac_try="$ac_compile"
25039 case "(($ac_try" in
25040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25041 *) ac_try_echo=$ac_try;;
25043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25044 (eval "$ac_compile") 2>conftest.er1
25046 grep -v '^ *+' conftest.er1 >conftest.err
25048 cat conftest.err >&5
25049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25050 (exit $ac_status); } && {
25051 test -z "$ac_cxx_werror_flag" ||
25052 test ! -s conftest.err
25053 } && test -s conftest.$ac_objext; then
25054 wx_cv_STDC_EXT_required=no
25056 echo "$as_me: failed program was:" >&5
25057 sed 's/^/| /' conftest.$ac_ext >&5
25059 wx_cv_STDC_EXT_required=yes
25063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25065 ac_cpp='$CPP $CPPFLAGS'
25066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25073 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25074 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25075 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25076 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25082 ac_cpp='$CXXCPP $CPPFLAGS'
25083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25087 old_CPPFLAGS="$CPPFLAGS"
25088 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25089 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25090 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25091 if test "${ac_cv_sys_largefile_source+set}" = set; then
25092 echo $ECHO_N "(cached) $ECHO_C" >&6
25095 cat >conftest.$ac_ext <<_ACEOF
25098 cat confdefs.h >>conftest.$ac_ext
25099 cat >>conftest.$ac_ext <<_ACEOF
25100 /* end confdefs.h. */
25101 #include <sys/types.h> /* for off_t */
25106 int (*fp) (FILE *, off_t, int) = fseeko;
25107 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25112 rm -f conftest.$ac_objext conftest$ac_exeext
25113 if { (ac_try="$ac_link"
25114 case "(($ac_try" in
25115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25116 *) ac_try_echo=$ac_try;;
25118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25119 (eval "$ac_link") 2>conftest.er1
25121 grep -v '^ *+' conftest.er1 >conftest.err
25123 cat conftest.err >&5
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); } && {
25126 test -z "$ac_cxx_werror_flag" ||
25127 test ! -s conftest.err
25128 } && test -s conftest$ac_exeext &&
25129 $as_test_x conftest$ac_exeext; then
25130 ac_cv_sys_largefile_source=no; break
25132 echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.$ac_ext >&5
25138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25139 conftest$ac_exeext conftest.$ac_ext
25140 cat >conftest.$ac_ext <<_ACEOF
25143 cat confdefs.h >>conftest.$ac_ext
25144 cat >>conftest.$ac_ext <<_ACEOF
25145 /* end confdefs.h. */
25146 #define _LARGEFILE_SOURCE 1
25147 #include <sys/types.h> /* for off_t */
25152 int (*fp) (FILE *, off_t, int) = fseeko;
25153 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25158 rm -f conftest.$ac_objext conftest$ac_exeext
25159 if { (ac_try="$ac_link"
25160 case "(($ac_try" in
25161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25162 *) ac_try_echo=$ac_try;;
25164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25165 (eval "$ac_link") 2>conftest.er1
25167 grep -v '^ *+' conftest.er1 >conftest.err
25169 cat conftest.err >&5
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); } && {
25172 test -z "$ac_cxx_werror_flag" ||
25173 test ! -s conftest.err
25174 } && test -s conftest$ac_exeext &&
25175 $as_test_x conftest$ac_exeext; then
25176 ac_cv_sys_largefile_source=1; break
25178 echo "$as_me: failed program was:" >&5
25179 sed 's/^/| /' conftest.$ac_ext >&5
25184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25185 conftest$ac_exeext conftest.$ac_ext
25186 ac_cv_sys_largefile_source=unknown
25190 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25191 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25192 case $ac_cv_sys_largefile_source in #(
25195 cat >>confdefs.h <<_ACEOF
25196 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25202 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25203 # in glibc 2.1.3, but that breaks too many other things.
25204 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25205 if test $ac_cv_sys_largefile_source != unknown; then
25207 cat >>confdefs.h <<\_ACEOF
25208 #define HAVE_FSEEKO 1
25213 CPPFLAGS="$old_CPPFLAGS"
25215 ac_cpp='$CPP $CPPFLAGS'
25216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25220 if test "$ac_cv_sys_largefile_source" != no; then
25221 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25224 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25225 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25226 if test "${ac_cv_c_bigendian+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25229 ac_cv_c_bigendian=unknown
25230 # See if sys/param.h defines the BYTE_ORDER macro.
25231 cat >conftest.$ac_ext <<_ACEOF
25234 cat confdefs.h >>conftest.$ac_ext
25235 cat >>conftest.$ac_ext <<_ACEOF
25236 /* end confdefs.h. */
25237 #include <sys/types.h>
25238 #include <sys/param.h>
25243 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25244 bogus endian macros
25250 rm -f conftest.$ac_objext
25251 if { (ac_try="$ac_compile"
25252 case "(($ac_try" in
25253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25254 *) ac_try_echo=$ac_try;;
25256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25257 (eval "$ac_compile") 2>conftest.er1
25259 grep -v '^ *+' conftest.er1 >conftest.err
25261 cat conftest.err >&5
25262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25263 (exit $ac_status); } && {
25264 test -z "$ac_c_werror_flag" ||
25265 test ! -s conftest.err
25266 } && test -s conftest.$ac_objext; then
25267 # It does; now see whether it defined to BIG_ENDIAN or not.
25268 cat >conftest.$ac_ext <<_ACEOF
25271 cat confdefs.h >>conftest.$ac_ext
25272 cat >>conftest.$ac_ext <<_ACEOF
25273 /* end confdefs.h. */
25274 #include <sys/types.h>
25275 #include <sys/param.h>
25280 #if BYTE_ORDER != BIG_ENDIAN
25287 rm -f conftest.$ac_objext
25288 if { (ac_try="$ac_compile"
25289 case "(($ac_try" in
25290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25291 *) ac_try_echo=$ac_try;;
25293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25294 (eval "$ac_compile") 2>conftest.er1
25296 grep -v '^ *+' conftest.er1 >conftest.err
25298 cat conftest.err >&5
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); } && {
25301 test -z "$ac_c_werror_flag" ||
25302 test ! -s conftest.err
25303 } && test -s conftest.$ac_objext; then
25304 ac_cv_c_bigendian=yes
25306 echo "$as_me: failed program was:" >&5
25307 sed 's/^/| /' conftest.$ac_ext >&5
25309 ac_cv_c_bigendian=no
25312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.$ac_ext >&5
25320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25321 if test $ac_cv_c_bigendian = unknown; then
25322 if test "$cross_compiling" = yes; then
25323 ac_cv_c_bigendian=unknown
25325 cat >conftest.$ac_ext <<_ACEOF
25328 cat confdefs.h >>conftest.$ac_ext
25329 cat >>conftest.$ac_ext <<_ACEOF
25330 /* end confdefs.h. */
25332 /* Are we little or big endian? From Harbison&Steele. */
25336 char c[sizeof (long)];
25339 exit (u.c[sizeof (long) - 1] == 1);
25342 rm -f conftest$ac_exeext
25343 if { (ac_try="$ac_link"
25344 case "(($ac_try" in
25345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25346 *) ac_try_echo=$ac_try;;
25348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25349 (eval "$ac_link") 2>&5
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25353 { (case "(($ac_try" in
25354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25355 *) ac_try_echo=$ac_try;;
25357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25358 (eval "$ac_try") 2>&5
25360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361 (exit $ac_status); }; }; then
25362 ac_cv_c_bigendian=no
25364 echo "$as_me: program exited with status $ac_status" >&5
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.$ac_ext >&5
25368 ( exit $ac_status )
25369 ac_cv_c_bigendian=yes
25371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25377 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25378 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25379 if test $ac_cv_c_bigendian = unknown; then
25380 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25381 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25383 if test $ac_cv_c_bigendian = yes; then
25384 cat >>confdefs.h <<\_ACEOF
25385 #define WORDS_BIGENDIAN 1
25394 ac_cpp='$CXXCPP $CPPFLAGS'
25395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25401 for ac_header in iostream
25403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25404 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25407 echo $ECHO_N "(cached) $ECHO_C" >&6
25409 cat >conftest.$ac_ext <<_ACEOF
25412 cat confdefs.h >>conftest.$ac_ext
25413 cat >>conftest.$ac_ext <<_ACEOF
25414 /* end confdefs.h. */
25417 #include <$ac_header>
25419 rm -f conftest.$ac_objext
25420 if { (ac_try="$ac_compile"
25421 case "(($ac_try" in
25422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25423 *) ac_try_echo=$ac_try;;
25425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25426 (eval "$ac_compile") 2>conftest.er1
25428 grep -v '^ *+' conftest.er1 >conftest.err
25430 cat conftest.err >&5
25431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25432 (exit $ac_status); } && {
25433 test -z "$ac_cxx_werror_flag" ||
25434 test ! -s conftest.err
25435 } && test -s conftest.$ac_objext; then
25436 eval "$as_ac_Header=yes"
25438 echo "$as_me: failed program was:" >&5
25439 sed 's/^/| /' conftest.$ac_ext >&5
25441 eval "$as_ac_Header=no"
25444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25446 ac_res=`eval echo '${'$as_ac_Header'}'`
25447 { echo "$as_me:$LINENO: result: $ac_res" >&5
25448 echo "${ECHO_T}$ac_res" >&6; }
25449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25450 cat >>confdefs.h <<_ACEOF
25451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25459 if test "$ac_cv_header_iostream" = "yes" ; then
25462 cat >>confdefs.h <<\_ACEOF
25463 #define wxUSE_IOSTREAMH 1
25469 ac_cpp='$CPP $CPPFLAGS'
25470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25477 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25478 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25479 if test "${wx_cv_explicit+set}" = set; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25485 ac_cpp='$CXXCPP $CPPFLAGS'
25486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25491 cat >conftest.$ac_ext <<_ACEOF
25494 cat confdefs.h >>conftest.$ac_ext
25495 cat >>conftest.$ac_ext <<_ACEOF
25496 /* end confdefs.h. */
25498 class Foo { public: explicit Foo(int) {} };
25510 rm -f conftest.$ac_objext
25511 if { (ac_try="$ac_compile"
25512 case "(($ac_try" in
25513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25514 *) ac_try_echo=$ac_try;;
25516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25517 (eval "$ac_compile") 2>conftest.er1
25519 grep -v '^ *+' conftest.er1 >conftest.err
25521 cat conftest.err >&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); } && {
25524 test -z "$ac_cxx_werror_flag" ||
25525 test ! -s conftest.err
25526 } && test -s conftest.$ac_objext; then
25528 cat >conftest.$ac_ext <<_ACEOF
25531 cat confdefs.h >>conftest.$ac_ext
25532 cat >>conftest.$ac_ext <<_ACEOF
25533 /* end confdefs.h. */
25535 class Foo { public: explicit Foo(int) {} };
25536 static void TakeFoo(const Foo& foo) { }
25549 rm -f conftest.$ac_objext
25550 if { (ac_try="$ac_compile"
25551 case "(($ac_try" in
25552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25553 *) ac_try_echo=$ac_try;;
25555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25556 (eval "$ac_compile") 2>conftest.er1
25558 grep -v '^ *+' conftest.er1 >conftest.err
25560 cat conftest.err >&5
25561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25562 (exit $ac_status); } && {
25563 test -z "$ac_cxx_werror_flag" ||
25564 test ! -s conftest.err
25565 } && test -s conftest.$ac_objext; then
25568 echo "$as_me: failed program was:" >&5
25569 sed 's/^/| /' conftest.$ac_ext >&5
25575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25578 echo "$as_me: failed program was:" >&5
25579 sed 's/^/| /' conftest.$ac_ext >&5
25585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25588 ac_cpp='$CPP $CPPFLAGS'
25589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25595 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25596 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25598 if test "$wx_cv_explicit" = "yes"; then
25599 cat >>confdefs.h <<\_ACEOF
25600 #define HAVE_EXPLICIT 1
25606 if test "x$SUNCXX" = xyes; then
25607 CXXFLAGS="-features=tmplife $CXXFLAGS"
25610 if test "x$SUNCC" = xyes; then
25611 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25614 if test "x$SGICC" = "xyes"; then
25615 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25616 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25617 if test "${wx_cv_prog_sgicc744+set}" = set; then
25618 echo $ECHO_N "(cached) $ECHO_C" >&6
25621 cat >conftest.$ac_ext <<_ACEOF
25624 cat confdefs.h >>conftest.$ac_ext
25625 cat >>conftest.$ac_ext <<_ACEOF
25626 /* end confdefs.h. */
25632 #if _SGI_COMPILER_VERSION >= 744
25633 chock me: mipsPro is 7.4.4 or later
25640 rm -f conftest.$ac_objext
25641 if { (ac_try="$ac_compile"
25642 case "(($ac_try" in
25643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25644 *) ac_try_echo=$ac_try;;
25646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25647 (eval "$ac_compile") 2>conftest.er1
25649 grep -v '^ *+' conftest.er1 >conftest.err
25651 cat conftest.err >&5
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); } && {
25654 test -z "$ac_c_werror_flag" ||
25655 test ! -s conftest.err
25656 } && test -s conftest.$ac_objext; then
25657 wx_cv_prog_sgicc744=no
25659 echo "$as_me: failed program was:" >&5
25660 sed 's/^/| /' conftest.$ac_ext >&5
25662 wx_cv_prog_sgicc744=yes
25666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25670 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25671 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25673 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25674 CFLAGS="-woff 3970 $CFLAGS"
25677 if test "x$SGICXX" = "xyes"; then
25678 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25679 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25680 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25681 echo $ECHO_N "(cached) $ECHO_C" >&6
25685 ac_cpp='$CXXCPP $CPPFLAGS'
25686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25690 cat >conftest.$ac_ext <<_ACEOF
25693 cat confdefs.h >>conftest.$ac_ext
25694 cat >>conftest.$ac_ext <<_ACEOF
25695 /* end confdefs.h. */
25701 #if _SGI_COMPILER_VERSION >= 744
25702 chock me: mipsPro is 7.4.4 or later
25709 rm -f conftest.$ac_objext
25710 if { (ac_try="$ac_compile"
25711 case "(($ac_try" in
25712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25713 *) ac_try_echo=$ac_try;;
25715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25716 (eval "$ac_compile") 2>conftest.er1
25718 grep -v '^ *+' conftest.er1 >conftest.err
25720 cat conftest.err >&5
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); } && {
25723 test -z "$ac_cxx_werror_flag" ||
25724 test ! -s conftest.err
25725 } && test -s conftest.$ac_objext; then
25726 wx_cv_prog_sgicxx744=no
25728 echo "$as_me: failed program was:" >&5
25729 sed 's/^/| /' conftest.$ac_ext >&5
25731 wx_cv_prog_sgicxx744=yes
25735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25737 ac_cpp='$CPP $CPPFLAGS'
25738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25745 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25746 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25748 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25749 CXXFLAGS="-woff 3970 $CXXFLAGS"
25753 if test "x$HPCC" = "xyes"; then
25754 CFLAGS="+W 2011,2450 $CFLAGS"
25756 if test "x$HPCXX" = "xyes"; then
25757 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25760 if test "x$COMPAQCXX" = "xyes"; then
25761 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25765 ac_cpp='$CXXCPP $CPPFLAGS'
25766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25771 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25772 if test "$wxUSE_UNICODE" = "yes"; then
25773 std_string="std::wstring"
25774 char_type="wchar_t"
25776 std_string="std::string"
25780 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25781 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25782 if test "${wx_cv_class_stdstring+set}" = set; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25786 cat >conftest.$ac_ext <<_ACEOF
25789 cat confdefs.h >>conftest.$ac_ext
25790 cat >>conftest.$ac_ext <<_ACEOF
25791 /* end confdefs.h. */
25801 rm -f conftest.$ac_objext
25802 if { (ac_try="$ac_compile"
25803 case "(($ac_try" in
25804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25805 *) ac_try_echo=$ac_try;;
25807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25808 (eval "$ac_compile") 2>conftest.er1
25810 grep -v '^ *+' conftest.er1 >conftest.err
25812 cat conftest.err >&5
25813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25814 (exit $ac_status); } && {
25815 test -z "$ac_cxx_werror_flag" ||
25816 test ! -s conftest.err
25817 } && test -s conftest.$ac_objext; then
25818 wx_cv_class_stdstring=yes
25820 echo "$as_me: failed program was:" >&5
25821 sed 's/^/| /' conftest.$ac_ext >&5
25823 wx_cv_class_stdstring=no
25827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25831 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25832 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25834 if test "$wx_cv_class_stdstring" = yes; then
25835 if test "$wxUSE_UNICODE" = "yes"; then
25836 cat >>confdefs.h <<\_ACEOF
25837 #define HAVE_STD_WSTRING 1
25842 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25843 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25844 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25845 echo $ECHO_N "(cached) $ECHO_C" >&6
25848 cat >conftest.$ac_ext <<_ACEOF
25851 cat confdefs.h >>conftest.$ac_ext
25852 cat >>conftest.$ac_ext <<_ACEOF
25853 /* end confdefs.h. */
25855 #ifdef HAVE_WCHAR_H
25857 # include <stddef.h>
25859 # include <wchar.h>
25861 #ifdef HAVE_STDLIB_H
25862 # include <stdlib.h>
25870 std::basic_string<$char_type> foo;
25871 const $char_type* dummy = foo.c_str();
25876 rm -f conftest.$ac_objext
25877 if { (ac_try="$ac_compile"
25878 case "(($ac_try" in
25879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25880 *) ac_try_echo=$ac_try;;
25882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25883 (eval "$ac_compile") 2>conftest.er1
25885 grep -v '^ *+' conftest.er1 >conftest.err
25887 cat conftest.err >&5
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); } && {
25890 test -z "$ac_cxx_werror_flag" ||
25891 test ! -s conftest.err
25892 } && test -s conftest.$ac_objext; then
25893 wx_cv_class_stdbasicstring=yes
25895 echo "$as_me: failed program was:" >&5
25896 sed 's/^/| /' conftest.$ac_ext >&5
25898 wx_cv_class_stdbasicstring=no
25902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25906 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25907 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25909 if test "$wx_cv_class_stdbasicstring" != yes; then
25910 if test "$wxUSE_STL" = "yes"; then
25911 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25912 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25913 { (exit 1); exit 1; }; }
25914 elif test "$wxUSE_STD_STRING" = "yes"; then
25915 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25916 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25917 { (exit 1); exit 1; }; }
25919 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25920 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25921 wxUSE_STD_STRING=no
25927 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25928 { echo "$as_me:$LINENO: checking for std::istream" >&5
25929 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25930 if test "${ac_cv_type_std__istream+set}" = set; then
25931 echo $ECHO_N "(cached) $ECHO_C" >&6
25933 cat >conftest.$ac_ext <<_ACEOF
25936 cat confdefs.h >>conftest.$ac_ext
25937 cat >>conftest.$ac_ext <<_ACEOF
25938 /* end confdefs.h. */
25939 #include <iostream>
25941 typedef std::istream ac__type_new_;
25945 if ((ac__type_new_ *) 0)
25947 if (sizeof (ac__type_new_))
25953 rm -f conftest.$ac_objext
25954 if { (ac_try="$ac_compile"
25955 case "(($ac_try" in
25956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25957 *) ac_try_echo=$ac_try;;
25959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25960 (eval "$ac_compile") 2>conftest.er1
25962 grep -v '^ *+' conftest.er1 >conftest.err
25964 cat conftest.err >&5
25965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 (exit $ac_status); } && {
25967 test -z "$ac_cxx_werror_flag" ||
25968 test ! -s conftest.err
25969 } && test -s conftest.$ac_objext; then
25970 ac_cv_type_std__istream=yes
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.$ac_ext >&5
25975 ac_cv_type_std__istream=no
25978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25980 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25981 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25982 if test $ac_cv_type_std__istream = yes; then
25984 cat >>confdefs.h <<_ACEOF
25985 #define HAVE_STD__ISTREAM 1
25990 wxUSE_STD_IOSTREAM=no
25992 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25993 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25994 if test "${ac_cv_type_std__ostream+set}" = set; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25997 cat >conftest.$ac_ext <<_ACEOF
26000 cat confdefs.h >>conftest.$ac_ext
26001 cat >>conftest.$ac_ext <<_ACEOF
26002 /* end confdefs.h. */
26003 #include <iostream>
26005 typedef std::ostream ac__type_new_;
26009 if ((ac__type_new_ *) 0)
26011 if (sizeof (ac__type_new_))
26017 rm -f conftest.$ac_objext
26018 if { (ac_try="$ac_compile"
26019 case "(($ac_try" in
26020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26021 *) ac_try_echo=$ac_try;;
26023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26024 (eval "$ac_compile") 2>conftest.er1
26026 grep -v '^ *+' conftest.er1 >conftest.err
26028 cat conftest.err >&5
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); } && {
26031 test -z "$ac_cxx_werror_flag" ||
26032 test ! -s conftest.err
26033 } && test -s conftest.$ac_objext; then
26034 ac_cv_type_std__ostream=yes
26036 echo "$as_me: failed program was:" >&5
26037 sed 's/^/| /' conftest.$ac_ext >&5
26039 ac_cv_type_std__ostream=no
26042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26044 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26045 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26046 if test $ac_cv_type_std__ostream = yes; then
26048 cat >>confdefs.h <<_ACEOF
26049 #define HAVE_STD__OSTREAM 1
26054 wxUSE_STD_IOSTREAM=no
26058 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26059 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26060 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26061 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26062 { (exit 1); exit 1; }; }
26064 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26065 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26070 if test "$wxUSE_STL" = "yes"; then
26071 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26072 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26073 if test "${wx_cv_lib_stl+set}" = set; then
26074 echo $ECHO_N "(cached) $ECHO_C" >&6
26076 cat >conftest.$ac_ext <<_ACEOF
26079 cat confdefs.h >>conftest.$ac_ext
26080 cat >>conftest.$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26083 #include <functional>
26084 #include <algorithm>
26090 std::vector<int> moo;
26091 std::list<int> foo;
26092 std::vector<int>::iterator it =
26093 std::find_if(moo.begin(), moo.end(),
26094 std::bind2nd(std::less<int>(), 3));
26099 rm -f conftest.$ac_objext
26100 if { (ac_try="$ac_compile"
26101 case "(($ac_try" in
26102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_compile") 2>conftest.er1
26108 grep -v '^ *+' conftest.er1 >conftest.err
26110 cat conftest.err >&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); } && {
26113 test -z "$ac_cxx_werror_flag" ||
26114 test ! -s conftest.err
26115 } && test -s conftest.$ac_objext; then
26118 echo "$as_me: failed program was:" >&5
26119 sed 's/^/| /' conftest.$ac_ext >&5
26125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26128 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26129 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26131 if test "$wx_cv_lib_stl" != yes; then
26132 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26133 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26134 { (exit 1); exit 1; }; }
26137 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26138 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26139 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26140 echo $ECHO_N "(cached) $ECHO_C" >&6
26142 cat >conftest.$ac_ext <<_ACEOF
26145 cat confdefs.h >>conftest.$ac_ext
26146 cat >>conftest.$ac_ext <<_ACEOF
26147 /* end confdefs.h. */
26152 std::string foo, bar;
26154 foo.compare(1, 1, bar);
26155 foo.compare(1, 1, bar, 1, 1);
26157 foo.compare(1, 1, "");
26158 foo.compare(1, 1, "", 2);
26163 rm -f conftest.$ac_objext
26164 if { (ac_try="$ac_compile"
26165 case "(($ac_try" in
26166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26167 *) ac_try_echo=$ac_try;;
26169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26170 (eval "$ac_compile") 2>conftest.er1
26172 grep -v '^ *+' conftest.er1 >conftest.err
26174 cat conftest.err >&5
26175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176 (exit $ac_status); } && {
26177 test -z "$ac_cxx_werror_flag" ||
26178 test ! -s conftest.err
26179 } && test -s conftest.$ac_objext; then
26180 wx_cv_func_stdstring_compare=yes
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26185 wx_cv_func_stdstring_compare=no
26189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26192 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26193 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26195 if test "$wx_cv_func_stdstring_compare" = yes; then
26196 cat >>confdefs.h <<\_ACEOF
26197 #define HAVE_STD_STRING_COMPARE 1
26202 if test "$wx_cv_class_gnuhashmapset" = yes; then
26203 cat >>confdefs.h <<\_ACEOF
26204 #define HAVE_EXT_HASH_MAP 1
26207 cat >>confdefs.h <<\_ACEOF
26208 #define HAVE_GNU_CXX_HASH_MAP 1
26213 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26214 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26215 if test "${ac_cv_header_unordered_map+set}" = set; then
26216 echo $ECHO_N "(cached) $ECHO_C" >&6
26218 cat >conftest.$ac_ext <<_ACEOF
26221 cat confdefs.h >>conftest.$ac_ext
26222 cat >>conftest.$ac_ext <<_ACEOF
26223 /* end confdefs.h. */
26227 #include <unordered_map>
26229 rm -f conftest.$ac_objext
26230 if { (ac_try="$ac_compile"
26231 case "(($ac_try" in
26232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26233 *) ac_try_echo=$ac_try;;
26235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26236 (eval "$ac_compile") 2>conftest.er1
26238 grep -v '^ *+' conftest.er1 >conftest.err
26240 cat conftest.err >&5
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); } && {
26243 test -z "$ac_cxx_werror_flag" ||
26244 test ! -s conftest.err
26245 } && test -s conftest.$ac_objext; then
26246 ac_cv_header_unordered_map=yes
26248 echo "$as_me: failed program was:" >&5
26249 sed 's/^/| /' conftest.$ac_ext >&5
26251 ac_cv_header_unordered_map=no
26254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26256 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26257 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26258 if test $ac_cv_header_unordered_map = yes; then
26259 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26260 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26261 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26262 echo $ECHO_N "(cached) $ECHO_C" >&6
26264 cat >conftest.$ac_ext <<_ACEOF
26267 cat confdefs.h >>conftest.$ac_ext
26268 cat >>conftest.$ac_ext <<_ACEOF
26269 /* end confdefs.h. */
26270 #include <unordered_map>
26271 #include <unordered_set>
26275 std::unordered_map<double*, char*> test1;
26276 std::unordered_set<char*> test2;
26281 rm -f conftest.$ac_objext
26282 if { (ac_try="$ac_compile"
26283 case "(($ac_try" in
26284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26285 *) ac_try_echo=$ac_try;;
26287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26288 (eval "$ac_compile") 2>conftest.er1
26290 grep -v '^ *+' conftest.er1 >conftest.err
26292 cat conftest.err >&5
26293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26294 (exit $ac_status); } && {
26295 test -z "$ac_cxx_werror_flag" ||
26296 test ! -s conftest.err
26297 } && test -s conftest.$ac_objext; then
26298 wx_cv_class_stdunorderedmapset=yes
26300 echo "$as_me: failed program was:" >&5
26301 sed 's/^/| /' conftest.$ac_ext >&5
26303 wx_cv_class_stdunorderedmapset=no
26306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26310 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26311 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26316 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26317 cat >>confdefs.h <<\_ACEOF
26318 #define HAVE_STD_UNORDERED_MAP 1
26321 cat >>confdefs.h <<\_ACEOF
26322 #define HAVE_STD_UNORDERED_SET 1
26326 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26327 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26328 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26329 echo $ECHO_N "(cached) $ECHO_C" >&6
26331 cat >conftest.$ac_ext <<_ACEOF
26334 cat confdefs.h >>conftest.$ac_ext
26335 cat >>conftest.$ac_ext <<_ACEOF
26336 /* end confdefs.h. */
26340 #include <tr1/unordered_map>
26342 rm -f conftest.$ac_objext
26343 if { (ac_try="$ac_compile"
26344 case "(($ac_try" in
26345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26346 *) ac_try_echo=$ac_try;;
26348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26349 (eval "$ac_compile") 2>conftest.er1
26351 grep -v '^ *+' conftest.er1 >conftest.err
26353 cat conftest.err >&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); } && {
26356 test -z "$ac_cxx_werror_flag" ||
26357 test ! -s conftest.err
26358 } && test -s conftest.$ac_objext; then
26359 ac_cv_header_tr1_unordered_map=yes
26361 echo "$as_me: failed program was:" >&5
26362 sed 's/^/| /' conftest.$ac_ext >&5
26364 ac_cv_header_tr1_unordered_map=no
26367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26369 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26370 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26371 if test $ac_cv_header_tr1_unordered_map = yes; then
26372 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26373 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26374 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26375 echo $ECHO_N "(cached) $ECHO_C" >&6
26377 cat >conftest.$ac_ext <<_ACEOF
26380 cat confdefs.h >>conftest.$ac_ext
26381 cat >>conftest.$ac_ext <<_ACEOF
26382 /* end confdefs.h. */
26383 #include <tr1/unordered_map>
26384 #include <tr1/unordered_set>
26388 std::tr1::unordered_map<double*, char*> test1;
26389 std::tr1::unordered_set<char*> test2;
26390 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26391 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26397 rm -f conftest.$ac_objext
26398 if { (ac_try="$ac_compile"
26399 case "(($ac_try" in
26400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26401 *) ac_try_echo=$ac_try;;
26403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26404 (eval "$ac_compile") 2>conftest.er1
26406 grep -v '^ *+' conftest.er1 >conftest.err
26408 cat conftest.err >&5
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); } && {
26411 test -z "$ac_cxx_werror_flag" ||
26412 test ! -s conftest.err
26413 } && test -s conftest.$ac_objext; then
26414 wx_cv_class_tr1unorderedmapset=yes
26416 echo "$as_me: failed program was:" >&5
26417 sed 's/^/| /' conftest.$ac_ext >&5
26419 wx_cv_class_tr1unorderedmapset=no
26422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26426 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26427 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26432 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26433 cat >>confdefs.h <<\_ACEOF
26434 #define HAVE_TR1_UNORDERED_MAP 1
26437 cat >>confdefs.h <<\_ACEOF
26438 #define HAVE_TR1_UNORDERED_SET 1
26442 { echo "$as_me:$LINENO: checking for hash_map" >&5
26443 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26444 if test "${ac_cv_header_hash_map+set}" = set; then
26445 echo $ECHO_N "(cached) $ECHO_C" >&6
26447 cat >conftest.$ac_ext <<_ACEOF
26450 cat confdefs.h >>conftest.$ac_ext
26451 cat >>conftest.$ac_ext <<_ACEOF
26452 /* end confdefs.h. */
26456 #include <hash_map>
26458 rm -f conftest.$ac_objext
26459 if { (ac_try="$ac_compile"
26460 case "(($ac_try" in
26461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26462 *) ac_try_echo=$ac_try;;
26464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26465 (eval "$ac_compile") 2>conftest.er1
26467 grep -v '^ *+' conftest.er1 >conftest.err
26469 cat conftest.err >&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); } && {
26472 test -z "$ac_cxx_werror_flag" ||
26473 test ! -s conftest.err
26474 } && test -s conftest.$ac_objext; then
26475 ac_cv_header_hash_map=yes
26477 echo "$as_me: failed program was:" >&5
26478 sed 's/^/| /' conftest.$ac_ext >&5
26480 ac_cv_header_hash_map=no
26483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26485 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26486 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26487 if test $ac_cv_header_hash_map = yes; then
26488 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26489 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26490 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26491 echo $ECHO_N "(cached) $ECHO_C" >&6
26493 cat >conftest.$ac_ext <<_ACEOF
26496 cat confdefs.h >>conftest.$ac_ext
26497 cat >>conftest.$ac_ext <<_ACEOF
26498 /* end confdefs.h. */
26499 #include <hash_map>
26500 #include <hash_set>
26504 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26505 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26510 rm -f conftest.$ac_objext
26511 if { (ac_try="$ac_compile"
26512 case "(($ac_try" in
26513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26514 *) ac_try_echo=$ac_try;;
26516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26517 (eval "$ac_compile") 2>conftest.er1
26519 grep -v '^ *+' conftest.er1 >conftest.err
26521 cat conftest.err >&5
26522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26523 (exit $ac_status); } && {
26524 test -z "$ac_cxx_werror_flag" ||
26525 test ! -s conftest.err
26526 } && test -s conftest.$ac_objext; then
26527 wx_cv_class_stdhashmapset=yes
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.$ac_ext >&5
26532 wx_cv_class_stdhashmapset=no
26535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26539 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26540 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26545 if test "$wx_cv_class_stdhashmapset" = yes; then
26546 cat >>confdefs.h <<\_ACEOF
26547 #define HAVE_HASH_MAP 1
26550 cat >>confdefs.h <<\_ACEOF
26551 #define HAVE_STD_HASH_MAP 1
26556 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26557 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26558 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26559 echo $ECHO_N "(cached) $ECHO_C" >&6
26561 cat >conftest.$ac_ext <<_ACEOF
26564 cat confdefs.h >>conftest.$ac_ext
26565 cat >>conftest.$ac_ext <<_ACEOF
26566 /* end confdefs.h. */
26570 #include <ext/hash_map>
26572 rm -f conftest.$ac_objext
26573 if { (ac_try="$ac_compile"
26574 case "(($ac_try" in
26575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26576 *) ac_try_echo=$ac_try;;
26578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26579 (eval "$ac_compile") 2>conftest.er1
26581 grep -v '^ *+' conftest.er1 >conftest.err
26583 cat conftest.err >&5
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); } && {
26586 test -z "$ac_cxx_werror_flag" ||
26587 test ! -s conftest.err
26588 } && test -s conftest.$ac_objext; then
26589 ac_cv_header_ext_hash_map=yes
26591 echo "$as_me: failed program was:" >&5
26592 sed 's/^/| /' conftest.$ac_ext >&5
26594 ac_cv_header_ext_hash_map=no
26597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26599 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26600 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26601 if test $ac_cv_header_ext_hash_map = yes; then
26602 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26603 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26604 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26605 echo $ECHO_N "(cached) $ECHO_C" >&6
26607 cat >conftest.$ac_ext <<_ACEOF
26610 cat confdefs.h >>conftest.$ac_ext
26611 cat >>conftest.$ac_ext <<_ACEOF
26612 /* end confdefs.h. */
26613 #include <ext/hash_map>
26614 #include <ext/hash_set>
26618 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26619 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26624 rm -f conftest.$ac_objext
26625 if { (ac_try="$ac_compile"
26626 case "(($ac_try" in
26627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26628 *) ac_try_echo=$ac_try;;
26630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26631 (eval "$ac_compile") 2>conftest.er1
26633 grep -v '^ *+' conftest.er1 >conftest.err
26635 cat conftest.err >&5
26636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26637 (exit $ac_status); } && {
26638 test -z "$ac_cxx_werror_flag" ||
26639 test ! -s conftest.err
26640 } && test -s conftest.$ac_objext; then
26641 wx_cv_class_gnuhashmapset=yes
26643 echo "$as_me: failed program was:" >&5
26644 sed 's/^/| /' conftest.$ac_ext >&5
26646 wx_cv_class_gnuhashmapset=no
26649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26653 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26654 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26664 ac_cpp='$CXXCPP $CPPFLAGS'
26665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26668 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26669 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26670 if test -z "$CXXCPP"; then
26671 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26672 echo $ECHO_N "(cached) $ECHO_C" >&6
26674 # Double quotes because CXXCPP needs to be expanded
26675 for CXXCPP in "$CXX -E" "/lib/cpp"
26677 ac_preproc_ok=false
26678 for ac_cxx_preproc_warn_flag in '' yes
26680 # Use a header file that comes with gcc, so configuring glibc
26681 # with a fresh cross-compiler works.
26682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26683 # <limits.h> exists even on freestanding compilers.
26684 # On the NeXT, cc -E runs the code through the compiler's parser,
26685 # not just through cpp. "Syntax error" is here to catch this case.
26686 cat >conftest.$ac_ext <<_ACEOF
26689 cat confdefs.h >>conftest.$ac_ext
26690 cat >>conftest.$ac_ext <<_ACEOF
26691 /* end confdefs.h. */
26693 # include <limits.h>
26695 # include <assert.h>
26699 if { (ac_try="$ac_cpp conftest.$ac_ext"
26700 case "(($ac_try" in
26701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26702 *) ac_try_echo=$ac_try;;
26704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26707 grep -v '^ *+' conftest.er1 >conftest.err
26709 cat conftest.err >&5
26710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26711 (exit $ac_status); } >/dev/null && {
26712 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26713 test ! -s conftest.err
26717 echo "$as_me: failed program was:" >&5
26718 sed 's/^/| /' conftest.$ac_ext >&5
26720 # Broken: fails on valid input.
26724 rm -f conftest.err conftest.$ac_ext
26726 # OK, works on sane cases. Now check whether nonexistent headers
26727 # can be detected and how.
26728 cat >conftest.$ac_ext <<_ACEOF
26731 cat confdefs.h >>conftest.$ac_ext
26732 cat >>conftest.$ac_ext <<_ACEOF
26733 /* end confdefs.h. */
26734 #include <ac_nonexistent.h>
26736 if { (ac_try="$ac_cpp conftest.$ac_ext"
26737 case "(($ac_try" in
26738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26739 *) ac_try_echo=$ac_try;;
26741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26744 grep -v '^ *+' conftest.er1 >conftest.err
26746 cat conftest.err >&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); } >/dev/null && {
26749 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26750 test ! -s conftest.err
26752 # Broken: success on invalid input.
26755 echo "$as_me: failed program was:" >&5
26756 sed 's/^/| /' conftest.$ac_ext >&5
26758 # Passes both tests.
26763 rm -f conftest.err conftest.$ac_ext
26766 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26767 rm -f conftest.err conftest.$ac_ext
26768 if $ac_preproc_ok; then
26773 ac_cv_prog_CXXCPP=$CXXCPP
26776 CXXCPP=$ac_cv_prog_CXXCPP
26778 ac_cv_prog_CXXCPP=$CXXCPP
26780 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26781 echo "${ECHO_T}$CXXCPP" >&6; }
26782 ac_preproc_ok=false
26783 for ac_cxx_preproc_warn_flag in '' yes
26785 # Use a header file that comes with gcc, so configuring glibc
26786 # with a fresh cross-compiler works.
26787 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26788 # <limits.h> exists even on freestanding compilers.
26789 # On the NeXT, cc -E runs the code through the compiler's parser,
26790 # not just through cpp. "Syntax error" is here to catch this case.
26791 cat >conftest.$ac_ext <<_ACEOF
26794 cat confdefs.h >>conftest.$ac_ext
26795 cat >>conftest.$ac_ext <<_ACEOF
26796 /* end confdefs.h. */
26798 # include <limits.h>
26800 # include <assert.h>
26804 if { (ac_try="$ac_cpp conftest.$ac_ext"
26805 case "(($ac_try" in
26806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26807 *) ac_try_echo=$ac_try;;
26809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26812 grep -v '^ *+' conftest.er1 >conftest.err
26814 cat conftest.err >&5
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); } >/dev/null && {
26817 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26818 test ! -s conftest.err
26822 echo "$as_me: failed program was:" >&5
26823 sed 's/^/| /' conftest.$ac_ext >&5
26825 # Broken: fails on valid input.
26829 rm -f conftest.err conftest.$ac_ext
26831 # OK, works on sane cases. Now check whether nonexistent headers
26832 # can be detected and how.
26833 cat >conftest.$ac_ext <<_ACEOF
26836 cat confdefs.h >>conftest.$ac_ext
26837 cat >>conftest.$ac_ext <<_ACEOF
26838 /* end confdefs.h. */
26839 #include <ac_nonexistent.h>
26841 if { (ac_try="$ac_cpp conftest.$ac_ext"
26842 case "(($ac_try" in
26843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26844 *) ac_try_echo=$ac_try;;
26846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26849 grep -v '^ *+' conftest.er1 >conftest.err
26851 cat conftest.err >&5
26852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26853 (exit $ac_status); } >/dev/null && {
26854 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26855 test ! -s conftest.err
26857 # Broken: success on invalid input.
26860 echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.$ac_ext >&5
26863 # Passes both tests.
26868 rm -f conftest.err conftest.$ac_ext
26871 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26872 rm -f conftest.err conftest.$ac_ext
26873 if $ac_preproc_ok; then
26876 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26877 See \`config.log' for more details." >&5
26878 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26879 See \`config.log' for more details." >&2;}
26880 { (exit 1); exit 1; }; }
26884 ac_cpp='$CXXCPP $CPPFLAGS'
26885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26892 for ac_header in type_traits tr1/type_traits
26894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26895 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26896 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26899 echo $ECHO_N "(cached) $ECHO_C" >&6
26901 ac_res=`eval echo '${'$as_ac_Header'}'`
26902 { echo "$as_me:$LINENO: result: $ac_res" >&5
26903 echo "${ECHO_T}$ac_res" >&6; }
26905 # Is the header compilable?
26906 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26907 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26908 cat >conftest.$ac_ext <<_ACEOF
26911 cat confdefs.h >>conftest.$ac_ext
26912 cat >>conftest.$ac_ext <<_ACEOF
26913 /* end confdefs.h. */
26914 $ac_includes_default
26915 #include <$ac_header>
26917 rm -f conftest.$ac_objext
26918 if { (ac_try="$ac_compile"
26919 case "(($ac_try" in
26920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26921 *) ac_try_echo=$ac_try;;
26923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26924 (eval "$ac_compile") 2>conftest.er1
26926 grep -v '^ *+' conftest.er1 >conftest.err
26928 cat conftest.err >&5
26929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26930 (exit $ac_status); } && {
26931 test -z "$ac_cxx_werror_flag" ||
26932 test ! -s conftest.err
26933 } && test -s conftest.$ac_objext; then
26934 ac_header_compiler=yes
26936 echo "$as_me: failed program was:" >&5
26937 sed 's/^/| /' conftest.$ac_ext >&5
26939 ac_header_compiler=no
26942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26943 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26944 echo "${ECHO_T}$ac_header_compiler" >&6; }
26946 # Is the header present?
26947 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26948 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26949 cat >conftest.$ac_ext <<_ACEOF
26952 cat confdefs.h >>conftest.$ac_ext
26953 cat >>conftest.$ac_ext <<_ACEOF
26954 /* end confdefs.h. */
26955 #include <$ac_header>
26957 if { (ac_try="$ac_cpp conftest.$ac_ext"
26958 case "(($ac_try" in
26959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26960 *) ac_try_echo=$ac_try;;
26962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26963 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26965 grep -v '^ *+' conftest.er1 >conftest.err
26967 cat conftest.err >&5
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); } >/dev/null && {
26970 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26971 test ! -s conftest.err
26973 ac_header_preproc=yes
26975 echo "$as_me: failed program was:" >&5
26976 sed 's/^/| /' conftest.$ac_ext >&5
26978 ac_header_preproc=no
26981 rm -f conftest.err conftest.$ac_ext
26982 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26983 echo "${ECHO_T}$ac_header_preproc" >&6; }
26985 # So? What about this header?
26986 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26988 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26989 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26991 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26992 ac_header_preproc=yes
26995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26999 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27000 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27001 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27002 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27005 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27006 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27008 ## ----------------------------------------- ##
27009 ## Report this to wx-dev@lists.wxwidgets.org ##
27010 ## ----------------------------------------- ##
27012 ) | sed "s/^/$as_me: WARNING: /" >&2
27015 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27018 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 eval "$as_ac_Header=\$ac_header_preproc"
27022 ac_res=`eval echo '${'$as_ac_Header'}'`
27023 { echo "$as_me:$LINENO: result: $ac_res" >&5
27024 echo "${ECHO_T}$ac_res" >&6; }
27027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27028 cat >>confdefs.h <<_ACEOF
27029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27039 if test -n "$GCC"; then
27040 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
27041 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
27042 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27043 echo $ECHO_N "(cached) $ECHO_C" >&6
27046 cat >conftest.$ac_ext <<_ACEOF
27049 cat confdefs.h >>conftest.$ac_ext
27050 cat >>conftest.$ac_ext <<_ACEOF
27051 /* end confdefs.h. */
27057 unsigned int value=0;
27058 /* wxAtomicInc doesn't use return value here */
27059 __sync_fetch_and_add(&value, 2);
27060 __sync_sub_and_fetch(&value, 1);
27061 /* but wxAtomicDec does, so mimic that: */
27062 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27068 rm -f conftest.$ac_objext conftest$ac_exeext
27069 if { (ac_try="$ac_link"
27070 case "(($ac_try" in
27071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27072 *) ac_try_echo=$ac_try;;
27074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27075 (eval "$ac_link") 2>conftest.er1
27077 grep -v '^ *+' conftest.er1 >conftest.err
27079 cat conftest.err >&5
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); } && {
27082 test -z "$ac_cxx_werror_flag" ||
27083 test ! -s conftest.err
27084 } && test -s conftest$ac_exeext &&
27085 $as_test_x conftest$ac_exeext; then
27086 wx_cv_cc_gcc_atomic_builtins=yes
27088 echo "$as_me: failed program was:" >&5
27089 sed 's/^/| /' conftest.$ac_ext >&5
27091 wx_cv_cc_gcc_atomic_builtins=no
27094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27095 conftest$ac_exeext conftest.$ac_ext
27099 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27100 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27101 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27102 cat >>confdefs.h <<\_ACEOF
27103 #define HAVE_GCC_ATOMIC_BUILTINS 1
27111 ac_cpp='$CPP $CPPFLAGS'
27112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27119 /usr/local/include \
27120 /usr/local/X11/include \
27121 /usr/local/include/X11 \
27122 /usr/local/X11R7/include \
27123 /usr/local/X11R6/include \
27124 /usr/local/include/X11R7 \
27125 /usr/local/include/X11R6 \
27127 /usr/Motif-2.1/include \
27128 /usr/Motif-1.2/include \
27129 /usr/include/Motif1.2 \
27132 /usr/openwin/include \
27136 /usr/X11R7/include \
27137 /usr/X11R6/include \
27138 /usr/X11R6.4/include \
27140 /usr/include/X11R7 \
27141 /usr/include/X11R6 \
27146 /usr/XFree86/include/X11 \
27149 /usr/local/X1R5/include \
27150 /usr/local/include/X11R5 \
27151 /usr/X11R5/include \
27152 /usr/include/X11R5 \
27154 /usr/local/X11R4/include \
27155 /usr/local/include/X11R4 \
27156 /usr/X11R4/include \
27157 /usr/include/X11R4 \
27159 /usr/openwin/share/include"
27161 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27162 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27166 if test "${wx_cv_std_libpath+set}" = set; then
27167 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27171 for e in a so sl dylib dll.a; do
27173 if test -f $libc; then
27176 cat >conftest.$ac_ext <<_ACEOF
27180 cat confdefs.h >>conftest.$ac_ext
27181 cat >>conftest.$ac_ext <<_ACEOF
27182 /* end confdefs.h. */
27183 int main() { return 0; }
27186 rm -f conftest.$ac_objext conftest$ac_exeext
27187 if { (ac_try="$ac_link"
27188 case "(($ac_try" in
27189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27190 *) ac_try_echo=$ac_try;;
27192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27193 (eval "$ac_link") 2>conftest.er1
27195 grep -v '^ *+' conftest.er1 >conftest.err
27197 cat conftest.err >&5
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); } && {
27200 test -z "$ac_c_werror_flag" ||
27201 test ! -s conftest.err
27202 } && test -s conftest$ac_exeext &&
27203 $as_test_x conftest$ac_exeext; then
27204 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27206 echo "$as_me: failed program was:" >&5
27207 sed 's/^/| /' conftest.$ac_ext >&5
27212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27213 conftest$ac_exeext conftest.$ac_ext
27215 if test "x$wx_cv_std_libpath" != "x"; then
27228 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27229 wx_cv_std_libpath="lib/64"
27234 if test "$ac_cv_sizeof_void_p" = 8; then
27235 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27236 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
27237 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27238 wx_cv_std_libpath="lib64"
27243 if test -d '/usr/lib/i386-linux-gnu'; then
27244 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
27249 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27250 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
27255 if test -z "$wx_cv_std_libpath"; then
27256 wx_cv_std_libpath="lib"
27259 if test -z "$wx_cv_std_libfullpath"; then
27260 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
27264 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27265 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27267 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27269 if test "$build" != "$host" -a "$GCC" = yes; then
27270 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27271 cross_root=`dirname $cross_root`
27272 cross_root=`dirname $cross_root`
27274 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27275 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27276 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27278 if test -z "$PKG_CONFIG_PATH"; then
27279 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27280 export PKG_CONFIG_PATH
27283 if test -z "$x_includes" -o "$x_includes" = NONE; then
27286 for ac_dir in $SEARCH_INCLUDE /usr/include
27288 if test -f "$ac_dir/X11/Intrinsic.h"; then
27289 ac_find_includes=$ac_dir
27294 x_includes=$ac_find_includes
27296 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27299 for ac_dir in $SEARCH_LIB
27301 for ac_extension in a so sl dylib dll.a; do
27302 if test -f "$ac_dir/libXt.$ac_extension"; then
27303 ac_find_libraries=$ac_dir
27309 x_libraries=$ac_find_libraries
27315 cat >confcache <<\_ACEOF
27316 # This file is a shell script that caches the results of configure
27317 # tests run on this system so they can be shared between configure
27318 # scripts and configure runs, see configure's option --config-cache.
27319 # It is not useful on other systems. If it contains results you don't
27320 # want to keep, you may remove or edit it.
27322 # config.status only pays attention to the cache file if you give it
27323 # the --recheck option to rerun configure.
27325 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27326 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27327 # following values.
27331 # The following way of writing the cache mishandles newlines in values,
27332 # but we know of no workaround that is simple, portable, and efficient.
27333 # So, we kill variables containing newlines.
27334 # Ultrix sh set writes to stderr and can't be redirected directly,
27335 # and sets the high bit in the cache file unless we assign to the vars.
27337 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27338 eval ac_val=\$$ac_var
27342 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27343 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27346 _ | IFS | as_nl) ;; #(
27347 *) $as_unset $ac_var ;;
27353 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27354 *${as_nl}ac_space=\ *)
27355 # `set' does not quote correctly, so add quotes (double-quote
27356 # substitution turns \\\\ into \\, and sed turns \\ into \).
27359 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27362 # `set' quotes correctly as required by POSIX, so do not add quotes.
27363 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27372 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27374 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27376 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27377 if test -w "$cache_file"; then
27378 test "x$cache_file" != "x/dev/null" &&
27379 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27380 echo "$as_me: updating cache $cache_file" >&6;}
27381 cat confcache >$cache_file
27383 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27384 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27395 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27397 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27398 echo $ECHO_N "(cached) $ECHO_C" >&6
27400 cat >conftest.$ac_ext <<_ACEOF
27403 cat confdefs.h >>conftest.$ac_ext
27404 cat >>conftest.$ac_ext <<_ACEOF
27405 /* end confdefs.h. */
27406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27408 #define $ac_func innocuous_$ac_func
27410 /* System header to define __stub macros and hopefully few prototypes,
27411 which can conflict with char $ac_func (); below.
27412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27413 <limits.h> exists even on freestanding compilers. */
27416 # include <limits.h>
27418 # include <assert.h>
27423 /* Override any GCC internal prototype to avoid an error.
27424 Use char because int might match the return type of a GCC
27425 builtin and then its argument prototype would still apply. */
27430 /* The GNU C library defines this for functions which it implements
27431 to always fail with ENOSYS. Some functions are actually named
27432 something starting with __ and the normal name is an alias. */
27433 #if defined __stub_$ac_func || defined __stub___$ac_func
27440 return $ac_func ();
27445 rm -f conftest.$ac_objext conftest$ac_exeext
27446 if { (ac_try="$ac_link"
27447 case "(($ac_try" in
27448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27449 *) ac_try_echo=$ac_try;;
27451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27452 (eval "$ac_link") 2>conftest.er1
27454 grep -v '^ *+' conftest.er1 >conftest.err
27456 cat conftest.err >&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } && {
27459 test -z "$ac_c_werror_flag" ||
27460 test ! -s conftest.err
27461 } && test -s conftest$ac_exeext &&
27462 $as_test_x conftest$ac_exeext; then
27463 eval "$as_ac_var=yes"
27465 echo "$as_me: failed program was:" >&5
27466 sed 's/^/| /' conftest.$ac_ext >&5
27468 eval "$as_ac_var=no"
27471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27472 conftest$ac_exeext conftest.$ac_ext
27474 ac_res=`eval echo '${'$as_ac_var'}'`
27475 { echo "$as_me:$LINENO: result: $ac_res" >&5
27476 echo "${ECHO_T}$ac_res" >&6; }
27477 if test `eval echo '${'$as_ac_var'}'` = yes; then
27478 cat >>confdefs.h <<_ACEOF
27479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27486 for ac_func in floor
27488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27489 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27491 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27492 echo $ECHO_N "(cached) $ECHO_C" >&6
27494 cat >conftest.$ac_ext <<_ACEOF
27497 cat confdefs.h >>conftest.$ac_ext
27498 cat >>conftest.$ac_ext <<_ACEOF
27499 /* end confdefs.h. */
27500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27502 #define $ac_func innocuous_$ac_func
27504 /* System header to define __stub macros and hopefully few prototypes,
27505 which can conflict with char $ac_func (); below.
27506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27507 <limits.h> exists even on freestanding compilers. */
27510 # include <limits.h>
27512 # include <assert.h>
27517 /* Override any GCC internal prototype to avoid an error.
27518 Use char because int might match the return type of a GCC
27519 builtin and then its argument prototype would still apply. */
27524 /* The GNU C library defines this for functions which it implements
27525 to always fail with ENOSYS. Some functions are actually named
27526 something starting with __ and the normal name is an alias. */
27527 #if defined __stub_$ac_func || defined __stub___$ac_func
27534 return $ac_func ();
27539 rm -f conftest.$ac_objext conftest$ac_exeext
27540 if { (ac_try="$ac_link"
27541 case "(($ac_try" in
27542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27543 *) ac_try_echo=$ac_try;;
27545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27546 (eval "$ac_link") 2>conftest.er1
27548 grep -v '^ *+' conftest.er1 >conftest.err
27550 cat conftest.err >&5
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); } && {
27553 test -z "$ac_c_werror_flag" ||
27554 test ! -s conftest.err
27555 } && test -s conftest$ac_exeext &&
27556 $as_test_x conftest$ac_exeext; then
27557 eval "$as_ac_var=yes"
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27562 eval "$as_ac_var=no"
27565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27566 conftest$ac_exeext conftest.$ac_ext
27568 ac_res=`eval echo '${'$as_ac_var'}'`
27569 { echo "$as_me:$LINENO: result: $ac_res" >&5
27570 echo "${ECHO_T}$ac_res" >&6; }
27571 if test `eval echo '${'$as_ac_var'}'` = yes; then
27572 cat >>confdefs.h <<_ACEOF
27573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27579 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27580 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27581 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27582 { echo "$as_me:$LINENO: result: yes" >&5
27583 echo "${ECHO_T}yes" >&6; }
27585 { echo "$as_me:$LINENO: result: no" >&5
27586 echo "${ECHO_T}no" >&6; }
27588 # use different functions to avoid configure caching
27594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27595 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27597 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27598 echo $ECHO_N "(cached) $ECHO_C" >&6
27600 cat >conftest.$ac_ext <<_ACEOF
27603 cat confdefs.h >>conftest.$ac_ext
27604 cat >>conftest.$ac_ext <<_ACEOF
27605 /* end confdefs.h. */
27606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27608 #define $ac_func innocuous_$ac_func
27610 /* System header to define __stub macros and hopefully few prototypes,
27611 which can conflict with char $ac_func (); below.
27612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27613 <limits.h> exists even on freestanding compilers. */
27616 # include <limits.h>
27618 # include <assert.h>
27623 /* Override any GCC internal prototype to avoid an error.
27624 Use char because int might match the return type of a GCC
27625 builtin and then its argument prototype would still apply. */
27630 /* The GNU C library defines this for functions which it implements
27631 to always fail with ENOSYS. Some functions are actually named
27632 something starting with __ and the normal name is an alias. */
27633 #if defined __stub_$ac_func || defined __stub___$ac_func
27640 return $ac_func ();
27645 rm -f conftest.$ac_objext conftest$ac_exeext
27646 if { (ac_try="$ac_link"
27647 case "(($ac_try" in
27648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27649 *) ac_try_echo=$ac_try;;
27651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27652 (eval "$ac_link") 2>conftest.er1
27654 grep -v '^ *+' conftest.er1 >conftest.err
27656 cat conftest.err >&5
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); } && {
27659 test -z "$ac_c_werror_flag" ||
27660 test ! -s conftest.err
27661 } && test -s conftest$ac_exeext &&
27662 $as_test_x conftest$ac_exeext; then
27663 eval "$as_ac_var=yes"
27665 echo "$as_me: failed program was:" >&5
27666 sed 's/^/| /' conftest.$ac_ext >&5
27668 eval "$as_ac_var=no"
27671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27672 conftest$ac_exeext conftest.$ac_ext
27674 ac_res=`eval echo '${'$as_ac_var'}'`
27675 { echo "$as_me:$LINENO: result: $ac_res" >&5
27676 echo "${ECHO_T}$ac_res" >&6; }
27677 if test `eval echo '${'$as_ac_var'}'` = yes; then
27678 cat >>confdefs.h <<_ACEOF
27679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27686 for ac_func in ceil
27688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27689 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27691 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 cat >conftest.$ac_ext <<_ACEOF
27697 cat confdefs.h >>conftest.$ac_ext
27698 cat >>conftest.$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27702 #define $ac_func innocuous_$ac_func
27704 /* System header to define __stub macros and hopefully few prototypes,
27705 which can conflict with char $ac_func (); below.
27706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27707 <limits.h> exists even on freestanding compilers. */
27710 # include <limits.h>
27712 # include <assert.h>
27717 /* Override any GCC internal prototype to avoid an error.
27718 Use char because int might match the return type of a GCC
27719 builtin and then its argument prototype would still apply. */
27724 /* The GNU C library defines this for functions which it implements
27725 to always fail with ENOSYS. Some functions are actually named
27726 something starting with __ and the normal name is an alias. */
27727 #if defined __stub_$ac_func || defined __stub___$ac_func
27734 return $ac_func ();
27739 rm -f conftest.$ac_objext conftest$ac_exeext
27740 if { (ac_try="$ac_link"
27741 case "(($ac_try" in
27742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27743 *) ac_try_echo=$ac_try;;
27745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27746 (eval "$ac_link") 2>conftest.er1
27748 grep -v '^ *+' conftest.er1 >conftest.err
27750 cat conftest.err >&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); } && {
27753 test -z "$ac_c_werror_flag" ||
27754 test ! -s conftest.err
27755 } && test -s conftest$ac_exeext &&
27756 $as_test_x conftest$ac_exeext; then
27757 eval "$as_ac_var=yes"
27759 echo "$as_me: failed program was:" >&5
27760 sed 's/^/| /' conftest.$ac_ext >&5
27762 eval "$as_ac_var=no"
27765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27766 conftest$ac_exeext conftest.$ac_ext
27768 ac_res=`eval echo '${'$as_ac_var'}'`
27769 { echo "$as_me:$LINENO: result: $ac_res" >&5
27770 echo "${ECHO_T}$ac_res" >&6; }
27771 if test `eval echo '${'$as_ac_var'}'` = yes; then
27772 cat >>confdefs.h <<_ACEOF
27773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27779 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27780 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27781 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27782 { echo "$as_me:$LINENO: result: yes" >&5
27783 echo "${ECHO_T}yes" >&6; }
27785 { echo "$as_me:$LINENO: result: no" >&5
27786 echo "${ECHO_T}no" >&6; }
27787 # not sure we should warn the user, crash, etc.
27792 ac_cpp='$CXXCPP $CPPFLAGS'
27793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27797 if test "wxUSE_UNICODE" = "yes"; then
27799 for wx_func in wcstoull
27801 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27802 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27803 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27804 echo $ECHO_N "(cached) $ECHO_C" >&6
27807 cat >conftest.$ac_ext <<_ACEOF
27811 cat confdefs.h >>conftest.$ac_ext
27812 cat >>conftest.$ac_ext <<_ACEOF
27813 /* end confdefs.h. */
27816 $ac_includes_default
27832 rm -f conftest.$ac_objext conftest$ac_exeext
27833 if { (ac_try="$ac_link"
27834 case "(($ac_try" in
27835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27836 *) ac_try_echo=$ac_try;;
27838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27839 (eval "$ac_link") 2>conftest.er1
27841 grep -v '^ *+' conftest.er1 >conftest.err
27843 cat conftest.err >&5
27844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 (exit $ac_status); } && {
27846 test -z "$ac_cxx_werror_flag" ||
27847 test ! -s conftest.err
27848 } && test -s conftest$ac_exeext &&
27849 $as_test_x conftest$ac_exeext; then
27850 eval wx_cv_func_$wx_func=yes
27852 echo "$as_me: failed program was:" >&5
27853 sed 's/^/| /' conftest.$ac_ext >&5
27855 eval wx_cv_func_$wx_func=no
27858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27859 conftest$ac_exeext conftest.$ac_ext
27862 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27863 { echo "$as_me:$LINENO: result: $ac_res" >&5
27864 echo "${ECHO_T}$ac_res" >&6; }
27866 if eval test \$wx_cv_func_$wx_func = yes
27868 cat >>confdefs.h <<_ACEOF
27869 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27881 for wx_func in strtoull
27883 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27884 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27885 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27886 echo $ECHO_N "(cached) $ECHO_C" >&6
27889 cat >conftest.$ac_ext <<_ACEOF
27893 cat confdefs.h >>conftest.$ac_ext
27894 cat >>conftest.$ac_ext <<_ACEOF
27895 /* end confdefs.h. */
27898 $ac_includes_default
27914 rm -f conftest.$ac_objext conftest$ac_exeext
27915 if { (ac_try="$ac_link"
27916 case "(($ac_try" in
27917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27918 *) ac_try_echo=$ac_try;;
27920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27921 (eval "$ac_link") 2>conftest.er1
27923 grep -v '^ *+' conftest.er1 >conftest.err
27925 cat conftest.err >&5
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); } && {
27928 test -z "$ac_cxx_werror_flag" ||
27929 test ! -s conftest.err
27930 } && test -s conftest$ac_exeext &&
27931 $as_test_x conftest$ac_exeext; then
27932 eval wx_cv_func_$wx_func=yes
27934 echo "$as_me: failed program was:" >&5
27935 sed 's/^/| /' conftest.$ac_ext >&5
27937 eval wx_cv_func_$wx_func=no
27940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27941 conftest$ac_exeext conftest.$ac_ext
27944 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27945 { echo "$as_me:$LINENO: result: $ac_res" >&5
27946 echo "${ECHO_T}$ac_res" >&6; }
27948 if eval test \$wx_cv_func_$wx_func = yes
27950 cat >>confdefs.h <<_ACEOF
27951 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27963 ac_cpp='$CPP $CPPFLAGS'
27964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27971 if test "$wxUSE_REGEX" != "no"; then
27972 cat >>confdefs.h <<\_ACEOF
27973 #define wxUSE_REGEX 1
27977 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27978 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27979 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27980 wxUSE_REGEX=builtin
27983 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27984 { echo "$as_me:$LINENO: checking for regex.h" >&5
27985 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27986 if test "${ac_cv_header_regex_h+set}" = set; then
27987 echo $ECHO_N "(cached) $ECHO_C" >&6
27989 cat >conftest.$ac_ext <<_ACEOF
27992 cat confdefs.h >>conftest.$ac_ext
27993 cat >>conftest.$ac_ext <<_ACEOF
27994 /* end confdefs.h. */
27999 rm -f conftest.$ac_objext
28000 if { (ac_try="$ac_compile"
28001 case "(($ac_try" in
28002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28003 *) ac_try_echo=$ac_try;;
28005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28006 (eval "$ac_compile") 2>conftest.er1
28008 grep -v '^ *+' conftest.er1 >conftest.err
28010 cat conftest.err >&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); } && {
28013 test -z "$ac_c_werror_flag" ||
28014 test ! -s conftest.err
28015 } && test -s conftest.$ac_objext; then
28016 ac_cv_header_regex_h=yes
28018 echo "$as_me: failed program was:" >&5
28019 sed 's/^/| /' conftest.$ac_ext >&5
28021 ac_cv_header_regex_h=no
28024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28026 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28027 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28028 if test $ac_cv_header_regex_h = yes; then
28031 for ac_func in regcomp re_search
28033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28034 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28036 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28037 echo $ECHO_N "(cached) $ECHO_C" >&6
28039 cat >conftest.$ac_ext <<_ACEOF
28042 cat confdefs.h >>conftest.$ac_ext
28043 cat >>conftest.$ac_ext <<_ACEOF
28044 /* end confdefs.h. */
28045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28047 #define $ac_func innocuous_$ac_func
28049 /* System header to define __stub macros and hopefully few prototypes,
28050 which can conflict with char $ac_func (); below.
28051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28052 <limits.h> exists even on freestanding compilers. */
28055 # include <limits.h>
28057 # include <assert.h>
28062 /* Override any GCC internal prototype to avoid an error.
28063 Use char because int might match the return type of a GCC
28064 builtin and then its argument prototype would still apply. */
28069 /* The GNU C library defines this for functions which it implements
28070 to always fail with ENOSYS. Some functions are actually named
28071 something starting with __ and the normal name is an alias. */
28072 #if defined __stub_$ac_func || defined __stub___$ac_func
28079 return $ac_func ();
28084 rm -f conftest.$ac_objext conftest$ac_exeext
28085 if { (ac_try="$ac_link"
28086 case "(($ac_try" in
28087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28088 *) ac_try_echo=$ac_try;;
28090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28091 (eval "$ac_link") 2>conftest.er1
28093 grep -v '^ *+' conftest.er1 >conftest.err
28095 cat conftest.err >&5
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); } && {
28098 test -z "$ac_c_werror_flag" ||
28099 test ! -s conftest.err
28100 } && test -s conftest$ac_exeext &&
28101 $as_test_x conftest$ac_exeext; then
28102 eval "$as_ac_var=yes"
28104 echo "$as_me: failed program was:" >&5
28105 sed 's/^/| /' conftest.$ac_ext >&5
28107 eval "$as_ac_var=no"
28110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28111 conftest$ac_exeext conftest.$ac_ext
28113 ac_res=`eval echo '${'$as_ac_var'}'`
28114 { echo "$as_me:$LINENO: result: $ac_res" >&5
28115 echo "${ECHO_T}$ac_res" >&6; }
28116 if test `eval echo '${'$as_ac_var'}'` = yes; then
28117 cat >>confdefs.h <<_ACEOF
28118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28128 if test "x$ac_cv_func_regcomp" != "xyes"; then
28129 if test "$wxUSE_REGEX" = "sys" ; then
28130 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28131 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28132 { (exit 1); exit 1; }; }
28134 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28135 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28136 wxUSE_REGEX=builtin
28140 cat >>confdefs.h <<\_ACEOF
28141 #define WX_NO_REGEX_ADVANCED 1
28150 if test "$wxUSE_ZLIB" != "no" ; then
28151 cat >>confdefs.h <<\_ACEOF
28152 #define wxUSE_ZLIB 1
28156 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28157 if test "$USE_DARWIN" = 1; then
28158 system_zlib_h_ok="yes"
28160 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28161 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28162 if test "${ac_cv_header_zlib_h+set}" = set; then
28163 echo $ECHO_N "(cached) $ECHO_C" >&6
28165 if test "$cross_compiling" = yes; then
28166 unset ac_cv_header_zlib_h
28169 cat >conftest.$ac_ext <<_ACEOF
28172 cat confdefs.h >>conftest.$ac_ext
28173 cat >>conftest.$ac_ext <<_ACEOF
28174 /* end confdefs.h. */
28181 FILE *f=fopen("conftestval", "w");
28184 ZLIB_VERSION[0] == '1' &&
28185 (ZLIB_VERSION[2] > '1' ||
28186 (ZLIB_VERSION[2] == '1' &&
28187 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28192 rm -f conftest$ac_exeext
28193 if { (ac_try="$ac_link"
28194 case "(($ac_try" in
28195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28196 *) ac_try_echo=$ac_try;;
28198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28199 (eval "$ac_link") 2>&5
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28203 { (case "(($ac_try" in
28204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28205 *) ac_try_echo=$ac_try;;
28207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28208 (eval "$ac_try") 2>&5
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); }; }; then
28212 ac_cv_header_zlib_h=`cat conftestval`
28214 echo "$as_me: program exited with status $ac_status" >&5
28215 echo "$as_me: failed program was:" >&5
28216 sed 's/^/| /' conftest.$ac_ext >&5
28218 ( exit $ac_status )
28219 ac_cv_header_zlib_h=no
28221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28227 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28228 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28229 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28230 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28231 if test "${ac_cv_header_zlib_h+set}" = set; then
28232 echo $ECHO_N "(cached) $ECHO_C" >&6
28234 cat >conftest.$ac_ext <<_ACEOF
28237 cat confdefs.h >>conftest.$ac_ext
28238 cat >>conftest.$ac_ext <<_ACEOF
28239 /* end confdefs.h. */
28244 rm -f conftest.$ac_objext
28245 if { (ac_try="$ac_compile"
28246 case "(($ac_try" in
28247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28248 *) ac_try_echo=$ac_try;;
28250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28251 (eval "$ac_compile") 2>conftest.er1
28253 grep -v '^ *+' conftest.er1 >conftest.err
28255 cat conftest.err >&5
28256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28257 (exit $ac_status); } && {
28258 test -z "$ac_c_werror_flag" ||
28259 test ! -s conftest.err
28260 } && test -s conftest.$ac_objext; then
28261 ac_cv_header_zlib_h=yes
28263 echo "$as_me: failed program was:" >&5
28264 sed 's/^/| /' conftest.$ac_ext >&5
28266 ac_cv_header_zlib_h=no
28269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28271 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28272 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28276 system_zlib_h_ok=$ac_cv_header_zlib_h
28279 if test "$system_zlib_h_ok" = "yes"; then
28280 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28281 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28282 if test "${ac_cv_lib_z_deflate+set}" = set; then
28283 echo $ECHO_N "(cached) $ECHO_C" >&6
28285 ac_check_lib_save_LIBS=$LIBS
28287 cat >conftest.$ac_ext <<_ACEOF
28290 cat confdefs.h >>conftest.$ac_ext
28291 cat >>conftest.$ac_ext <<_ACEOF
28292 /* end confdefs.h. */
28294 /* Override any GCC internal prototype to avoid an error.
28295 Use char because int might match the return type of a GCC
28296 builtin and then its argument prototype would still apply. */
28309 rm -f conftest.$ac_objext conftest$ac_exeext
28310 if { (ac_try="$ac_link"
28311 case "(($ac_try" in
28312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28313 *) ac_try_echo=$ac_try;;
28315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28316 (eval "$ac_link") 2>conftest.er1
28318 grep -v '^ *+' conftest.er1 >conftest.err
28320 cat conftest.err >&5
28321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322 (exit $ac_status); } && {
28323 test -z "$ac_c_werror_flag" ||
28324 test ! -s conftest.err
28325 } && test -s conftest$ac_exeext &&
28326 $as_test_x conftest$ac_exeext; then
28327 ac_cv_lib_z_deflate=yes
28329 echo "$as_me: failed program was:" >&5
28330 sed 's/^/| /' conftest.$ac_ext >&5
28332 ac_cv_lib_z_deflate=no
28335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28336 conftest$ac_exeext conftest.$ac_ext
28337 LIBS=$ac_check_lib_save_LIBS
28339 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28340 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28341 if test $ac_cv_lib_z_deflate = yes; then
28347 if test "x$ZLIB_LINK" = "x" ; then
28348 if test "$wxUSE_ZLIB" = "sys" ; then
28349 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28350 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28351 { (exit 1); exit 1; }; }
28353 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28354 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28365 if test "$wxUSE_LIBPNG" != "no" ; then
28366 cat >>confdefs.h <<\_ACEOF
28367 #define wxUSE_LIBPNG 1
28371 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28372 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28373 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28377 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28378 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28379 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28380 wxUSE_LIBPNG=builtin
28383 if test "$wxUSE_MGL" != 1 ; then
28384 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28385 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28386 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28387 if test "${ac_cv_header_png_h+set}" = set; then
28388 echo $ECHO_N "(cached) $ECHO_C" >&6
28390 if test "$cross_compiling" = yes; then
28391 unset ac_cv_header_png_h
28394 cat >conftest.$ac_ext <<_ACEOF
28397 cat confdefs.h >>conftest.$ac_ext
28398 cat >>conftest.$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28406 FILE *f=fopen("conftestval", "w");
28409 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28414 rm -f conftest$ac_exeext
28415 if { (ac_try="$ac_link"
28416 case "(($ac_try" in
28417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28418 *) ac_try_echo=$ac_try;;
28420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28421 (eval "$ac_link") 2>&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28425 { (case "(($ac_try" in
28426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28427 *) ac_try_echo=$ac_try;;
28429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28430 (eval "$ac_try") 2>&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); }; }; then
28434 ac_cv_header_png_h=`cat conftestval`
28436 echo "$as_me: program exited with status $ac_status" >&5
28437 echo "$as_me: failed program was:" >&5
28438 sed 's/^/| /' conftest.$ac_ext >&5
28440 ( exit $ac_status )
28441 ac_cv_header_png_h=no
28443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28449 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28450 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28451 { echo "$as_me:$LINENO: checking for png.h" >&5
28452 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28453 if test "${ac_cv_header_png_h+set}" = set; then
28454 echo $ECHO_N "(cached) $ECHO_C" >&6
28456 cat >conftest.$ac_ext <<_ACEOF
28459 cat confdefs.h >>conftest.$ac_ext
28460 cat >>conftest.$ac_ext <<_ACEOF
28461 /* end confdefs.h. */
28466 rm -f conftest.$ac_objext
28467 if { (ac_try="$ac_compile"
28468 case "(($ac_try" in
28469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28470 *) ac_try_echo=$ac_try;;
28472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28473 (eval "$ac_compile") 2>conftest.er1
28475 grep -v '^ *+' conftest.er1 >conftest.err
28477 cat conftest.err >&5
28478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28479 (exit $ac_status); } && {
28480 test -z "$ac_c_werror_flag" ||
28481 test ! -s conftest.err
28482 } && test -s conftest.$ac_objext; then
28483 ac_cv_header_png_h=yes
28485 echo "$as_me: failed program was:" >&5
28486 sed 's/^/| /' conftest.$ac_ext >&5
28488 ac_cv_header_png_h=no
28491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28493 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28494 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28498 if test "$ac_cv_header_png_h" = "yes"; then
28499 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28500 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28501 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28502 echo $ECHO_N "(cached) $ECHO_C" >&6
28504 ac_check_lib_save_LIBS=$LIBS
28505 LIBS="-lpng -lz -lm $LIBS"
28506 cat >conftest.$ac_ext <<_ACEOF
28509 cat confdefs.h >>conftest.$ac_ext
28510 cat >>conftest.$ac_ext <<_ACEOF
28511 /* end confdefs.h. */
28513 /* Override any GCC internal prototype to avoid an error.
28514 Use char because int might match the return type of a GCC
28515 builtin and then its argument prototype would still apply. */
28519 char png_sig_cmp ();
28523 return png_sig_cmp ();
28528 rm -f conftest.$ac_objext conftest$ac_exeext
28529 if { (ac_try="$ac_link"
28530 case "(($ac_try" in
28531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28532 *) ac_try_echo=$ac_try;;
28534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28535 (eval "$ac_link") 2>conftest.er1
28537 grep -v '^ *+' conftest.er1 >conftest.err
28539 cat conftest.err >&5
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); } && {
28542 test -z "$ac_c_werror_flag" ||
28543 test ! -s conftest.err
28544 } && test -s conftest$ac_exeext &&
28545 $as_test_x conftest$ac_exeext; then
28546 ac_cv_lib_png_png_sig_cmp=yes
28548 echo "$as_me: failed program was:" >&5
28549 sed 's/^/| /' conftest.$ac_ext >&5
28551 ac_cv_lib_png_png_sig_cmp=no
28554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28555 conftest$ac_exeext conftest.$ac_ext
28556 LIBS=$ac_check_lib_save_LIBS
28558 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28559 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28560 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28561 PNG_LINK=" -lpng -lz"
28566 if test "x$PNG_LINK" = "x" ; then
28567 if test "$wxUSE_LIBPNG" = "sys" ; then
28568 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28569 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28570 { (exit 1); exit 1; }; }
28572 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28573 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28574 wxUSE_LIBPNG=builtin
28585 if test "$wxUSE_LIBJPEG" != "no" ; then
28586 cat >>confdefs.h <<\_ACEOF
28587 #define wxUSE_LIBJPEG 1
28591 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28592 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28593 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28597 if test "$wxUSE_MGL" != 1 ; then
28598 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28599 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28600 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28601 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28602 echo $ECHO_N "(cached) $ECHO_C" >&6
28604 cat >conftest.$ac_ext <<_ACEOF
28607 cat confdefs.h >>conftest.$ac_ext
28608 cat >>conftest.$ac_ext <<_ACEOF
28609 /* end confdefs.h. */
28611 #undef HAVE_STDLIB_H
28613 #include <jpeglib.h>
28624 rm -f conftest.$ac_objext
28625 if { (ac_try="$ac_compile"
28626 case "(($ac_try" in
28627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28628 *) ac_try_echo=$ac_try;;
28630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28631 (eval "$ac_compile") 2>conftest.er1
28633 grep -v '^ *+' conftest.er1 >conftest.err
28635 cat conftest.err >&5
28636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28637 (exit $ac_status); } && {
28638 test -z "$ac_c_werror_flag" ||
28639 test ! -s conftest.err
28640 } && test -s conftest.$ac_objext; then
28641 ac_cv_header_jpeglib_h=yes
28643 echo "$as_me: failed program was:" >&5
28644 sed 's/^/| /' conftest.$ac_ext >&5
28646 ac_cv_header_jpeglib_h=no
28650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28654 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28655 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28657 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28658 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28659 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28660 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28661 echo $ECHO_N "(cached) $ECHO_C" >&6
28663 ac_check_lib_save_LIBS=$LIBS
28664 LIBS="-ljpeg $LIBS"
28665 cat >conftest.$ac_ext <<_ACEOF
28668 cat confdefs.h >>conftest.$ac_ext
28669 cat >>conftest.$ac_ext <<_ACEOF
28670 /* end confdefs.h. */
28672 /* Override any GCC internal prototype to avoid an error.
28673 Use char because int might match the return type of a GCC
28674 builtin and then its argument prototype would still apply. */
28678 char jpeg_read_header ();
28682 return jpeg_read_header ();
28687 rm -f conftest.$ac_objext conftest$ac_exeext
28688 if { (ac_try="$ac_link"
28689 case "(($ac_try" in
28690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28691 *) ac_try_echo=$ac_try;;
28693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28694 (eval "$ac_link") 2>conftest.er1
28696 grep -v '^ *+' conftest.er1 >conftest.err
28698 cat conftest.err >&5
28699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 (exit $ac_status); } && {
28701 test -z "$ac_c_werror_flag" ||
28702 test ! -s conftest.err
28703 } && test -s conftest$ac_exeext &&
28704 $as_test_x conftest$ac_exeext; then
28705 ac_cv_lib_jpeg_jpeg_read_header=yes
28707 echo "$as_me: failed program was:" >&5
28708 sed 's/^/| /' conftest.$ac_ext >&5
28710 ac_cv_lib_jpeg_jpeg_read_header=no
28713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28714 conftest$ac_exeext conftest.$ac_ext
28715 LIBS=$ac_check_lib_save_LIBS
28717 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28718 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28719 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28720 JPEG_LINK=" -ljpeg"
28725 if test "x$JPEG_LINK" = "x" ; then
28726 if test "$wxUSE_LIBJPEG" = "sys" ; then
28727 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28728 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28729 { (exit 1); exit 1; }; }
28731 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28732 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28733 wxUSE_LIBJPEG=builtin
28738 if test "$wxUSE_MSW" = 1; then
28739 { echo "$as_me:$LINENO: checking for boolean" >&5
28740 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28741 if test "${ac_cv_type_boolean+set}" = set; then
28742 echo $ECHO_N "(cached) $ECHO_C" >&6
28744 cat >conftest.$ac_ext <<_ACEOF
28747 cat confdefs.h >>conftest.$ac_ext
28748 cat >>conftest.$ac_ext <<_ACEOF
28749 /* end confdefs.h. */
28750 #include <windows.h>
28752 typedef boolean ac__type_new_;
28756 if ((ac__type_new_ *) 0)
28758 if (sizeof (ac__type_new_))
28764 rm -f conftest.$ac_objext
28765 if { (ac_try="$ac_compile"
28766 case "(($ac_try" in
28767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28768 *) ac_try_echo=$ac_try;;
28770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28771 (eval "$ac_compile") 2>conftest.er1
28773 grep -v '^ *+' conftest.er1 >conftest.err
28775 cat conftest.err >&5
28776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777 (exit $ac_status); } && {
28778 test -z "$ac_c_werror_flag" ||
28779 test ! -s conftest.err
28780 } && test -s conftest.$ac_objext; then
28781 ac_cv_type_boolean=yes
28783 echo "$as_me: failed program was:" >&5
28784 sed 's/^/| /' conftest.$ac_ext >&5
28786 ac_cv_type_boolean=no
28789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28791 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28792 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28793 if test $ac_cv_type_boolean = yes; then
28795 cat >>confdefs.h <<_ACEOF
28796 #define HAVE_BOOLEAN 1
28800 { echo "$as_me:$LINENO: checking for boolean" >&5
28801 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28802 if test "${ac_cv_type_boolean+set}" = set; then
28803 echo $ECHO_N "(cached) $ECHO_C" >&6
28805 cat >conftest.$ac_ext <<_ACEOF
28808 cat confdefs.h >>conftest.$ac_ext
28809 cat >>conftest.$ac_ext <<_ACEOF
28810 /* end confdefs.h. */
28812 #undef HAVE_BOOLEAN
28814 #include <jpeglib.h>
28817 typedef boolean ac__type_new_;
28821 if ((ac__type_new_ *) 0)
28823 if (sizeof (ac__type_new_))
28829 rm -f conftest.$ac_objext
28830 if { (ac_try="$ac_compile"
28831 case "(($ac_try" in
28832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28833 *) ac_try_echo=$ac_try;;
28835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28836 (eval "$ac_compile") 2>conftest.er1
28838 grep -v '^ *+' conftest.er1 >conftest.err
28840 cat conftest.err >&5
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); } && {
28843 test -z "$ac_c_werror_flag" ||
28844 test ! -s conftest.err
28845 } && test -s conftest.$ac_objext; then
28846 ac_cv_type_boolean=yes
28848 echo "$as_me: failed program was:" >&5
28849 sed 's/^/| /' conftest.$ac_ext >&5
28851 ac_cv_type_boolean=no
28854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28856 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28857 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28859 # The cast to long int works around a bug in the HP C Compiler
28860 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28861 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28862 # This bug is HP SR number 8606223364.
28863 { echo "$as_me:$LINENO: checking size of boolean" >&5
28864 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28865 if test "${ac_cv_sizeof_boolean+set}" = set; then
28866 echo $ECHO_N "(cached) $ECHO_C" >&6
28868 if test "$cross_compiling" = yes; then
28869 # Depending upon the size, compute the lo and hi bounds.
28870 cat >conftest.$ac_ext <<_ACEOF
28873 cat confdefs.h >>conftest.$ac_ext
28874 cat >>conftest.$ac_ext <<_ACEOF
28875 /* end confdefs.h. */
28877 #undef HAVE_BOOLEAN
28879 #include <jpeglib.h>
28882 typedef boolean ac__type_sizeof_;
28886 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28893 rm -f conftest.$ac_objext
28894 if { (ac_try="$ac_compile"
28895 case "(($ac_try" in
28896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28897 *) ac_try_echo=$ac_try;;
28899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28900 (eval "$ac_compile") 2>conftest.er1
28902 grep -v '^ *+' conftest.er1 >conftest.err
28904 cat conftest.err >&5
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); } && {
28907 test -z "$ac_c_werror_flag" ||
28908 test ! -s conftest.err
28909 } && test -s conftest.$ac_objext; then
28912 cat >conftest.$ac_ext <<_ACEOF
28915 cat confdefs.h >>conftest.$ac_ext
28916 cat >>conftest.$ac_ext <<_ACEOF
28917 /* end confdefs.h. */
28919 #undef HAVE_BOOLEAN
28921 #include <jpeglib.h>
28924 typedef boolean ac__type_sizeof_;
28928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28935 rm -f conftest.$ac_objext
28936 if { (ac_try="$ac_compile"
28937 case "(($ac_try" in
28938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28939 *) ac_try_echo=$ac_try;;
28941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28942 (eval "$ac_compile") 2>conftest.er1
28944 grep -v '^ *+' conftest.er1 >conftest.err
28946 cat conftest.err >&5
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); } && {
28949 test -z "$ac_c_werror_flag" ||
28950 test ! -s conftest.err
28951 } && test -s conftest.$ac_objext; then
28952 ac_hi=$ac_mid; break
28954 echo "$as_me: failed program was:" >&5
28955 sed 's/^/| /' conftest.$ac_ext >&5
28957 ac_lo=`expr $ac_mid + 1`
28958 if test $ac_lo -le $ac_mid; then
28962 ac_mid=`expr 2 '*' $ac_mid + 1`
28965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28968 echo "$as_me: failed program was:" >&5
28969 sed 's/^/| /' conftest.$ac_ext >&5
28971 cat >conftest.$ac_ext <<_ACEOF
28974 cat confdefs.h >>conftest.$ac_ext
28975 cat >>conftest.$ac_ext <<_ACEOF
28976 /* end confdefs.h. */
28978 #undef HAVE_BOOLEAN
28980 #include <jpeglib.h>
28983 typedef boolean ac__type_sizeof_;
28987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28994 rm -f conftest.$ac_objext
28995 if { (ac_try="$ac_compile"
28996 case "(($ac_try" in
28997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28998 *) ac_try_echo=$ac_try;;
29000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29001 (eval "$ac_compile") 2>conftest.er1
29003 grep -v '^ *+' conftest.er1 >conftest.err
29005 cat conftest.err >&5
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); } && {
29008 test -z "$ac_c_werror_flag" ||
29009 test ! -s conftest.err
29010 } && test -s conftest.$ac_objext; then
29013 cat >conftest.$ac_ext <<_ACEOF
29016 cat confdefs.h >>conftest.$ac_ext
29017 cat >>conftest.$ac_ext <<_ACEOF
29018 /* end confdefs.h. */
29020 #undef HAVE_BOOLEAN
29022 #include <jpeglib.h>
29025 typedef boolean ac__type_sizeof_;
29029 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29036 rm -f conftest.$ac_objext
29037 if { (ac_try="$ac_compile"
29038 case "(($ac_try" in
29039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29040 *) ac_try_echo=$ac_try;;
29042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29043 (eval "$ac_compile") 2>conftest.er1
29045 grep -v '^ *+' conftest.er1 >conftest.err
29047 cat conftest.err >&5
29048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29049 (exit $ac_status); } && {
29050 test -z "$ac_c_werror_flag" ||
29051 test ! -s conftest.err
29052 } && test -s conftest.$ac_objext; then
29053 ac_lo=$ac_mid; break
29055 echo "$as_me: failed program was:" >&5
29056 sed 's/^/| /' conftest.$ac_ext >&5
29058 ac_hi=`expr '(' $ac_mid ')' - 1`
29059 if test $ac_mid -le $ac_hi; then
29063 ac_mid=`expr 2 '*' $ac_mid`
29066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29069 echo "$as_me: failed program was:" >&5
29070 sed 's/^/| /' conftest.$ac_ext >&5
29075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29079 # Binary search between lo and hi bounds.
29080 while test "x$ac_lo" != "x$ac_hi"; do
29081 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29082 cat >conftest.$ac_ext <<_ACEOF
29085 cat confdefs.h >>conftest.$ac_ext
29086 cat >>conftest.$ac_ext <<_ACEOF
29087 /* end confdefs.h. */
29089 #undef HAVE_BOOLEAN
29091 #include <jpeglib.h>
29094 typedef boolean ac__type_sizeof_;
29098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29105 rm -f conftest.$ac_objext
29106 if { (ac_try="$ac_compile"
29107 case "(($ac_try" in
29108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29109 *) ac_try_echo=$ac_try;;
29111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29112 (eval "$ac_compile") 2>conftest.er1
29114 grep -v '^ *+' conftest.er1 >conftest.err
29116 cat conftest.err >&5
29117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29118 (exit $ac_status); } && {
29119 test -z "$ac_c_werror_flag" ||
29120 test ! -s conftest.err
29121 } && test -s conftest.$ac_objext; then
29124 echo "$as_me: failed program was:" >&5
29125 sed 's/^/| /' conftest.$ac_ext >&5
29127 ac_lo=`expr '(' $ac_mid ')' + 1`
29130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29133 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29134 '') if test "$ac_cv_type_boolean" = yes; then
29135 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29136 See \`config.log' for more details." >&5
29137 echo "$as_me: error: cannot compute sizeof (boolean)
29138 See \`config.log' for more details." >&2;}
29139 { (exit 77); exit 77; }; }
29141 ac_cv_sizeof_boolean=0
29145 cat >conftest.$ac_ext <<_ACEOF
29148 cat confdefs.h >>conftest.$ac_ext
29149 cat >>conftest.$ac_ext <<_ACEOF
29150 /* end confdefs.h. */
29152 #undef HAVE_BOOLEAN
29154 #include <jpeglib.h>
29157 typedef boolean ac__type_sizeof_;
29158 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29159 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29161 #include <stdlib.h>
29166 FILE *f = fopen ("conftest.val", "w");
29169 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29171 long int i = longval ();
29172 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29174 fprintf (f, "%ld\n", i);
29178 unsigned long int i = ulongval ();
29179 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29181 fprintf (f, "%lu\n", i);
29183 return ferror (f) || fclose (f) != 0;
29189 rm -f conftest$ac_exeext
29190 if { (ac_try="$ac_link"
29191 case "(($ac_try" in
29192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29193 *) ac_try_echo=$ac_try;;
29195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29196 (eval "$ac_link") 2>&5
29198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29200 { (case "(($ac_try" in
29201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29202 *) ac_try_echo=$ac_try;;
29204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29205 (eval "$ac_try") 2>&5
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); }; }; then
29209 ac_cv_sizeof_boolean=`cat conftest.val`
29211 echo "$as_me: program exited with status $ac_status" >&5
29212 echo "$as_me: failed program was:" >&5
29213 sed 's/^/| /' conftest.$ac_ext >&5
29215 ( exit $ac_status )
29216 if test "$ac_cv_type_boolean" = yes; then
29217 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29218 See \`config.log' for more details." >&5
29219 echo "$as_me: error: cannot compute sizeof (boolean)
29220 See \`config.log' for more details." >&2;}
29221 { (exit 77); exit 77; }; }
29223 ac_cv_sizeof_boolean=0
29226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29230 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29231 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29235 cat >>confdefs.h <<_ACEOF
29236 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29240 cat >>confdefs.h <<_ACEOF
29241 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29255 TIFF_PREREQ_LINKS=-lm
29256 if test "$wxUSE_LIBTIFF" != "no" ; then
29257 cat >>confdefs.h <<\_ACEOF
29258 #define wxUSE_LIBTIFF 1
29262 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29263 if test "$wxUSE_LIBJPEG" = "sys"; then
29264 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29266 if test "$wxUSE_ZLIB" = "sys"; then
29267 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29269 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29270 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29271 if test "${ac_cv_header_tiffio_h+set}" = set; then
29272 echo $ECHO_N "(cached) $ECHO_C" >&6
29274 cat >conftest.$ac_ext <<_ACEOF
29277 cat confdefs.h >>conftest.$ac_ext
29278 cat >>conftest.$ac_ext <<_ACEOF
29279 /* end confdefs.h. */
29283 #include <tiffio.h>
29285 rm -f conftest.$ac_objext
29286 if { (ac_try="$ac_compile"
29287 case "(($ac_try" in
29288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29289 *) ac_try_echo=$ac_try;;
29291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29292 (eval "$ac_compile") 2>conftest.er1
29294 grep -v '^ *+' conftest.er1 >conftest.err
29296 cat conftest.err >&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } && {
29299 test -z "$ac_c_werror_flag" ||
29300 test ! -s conftest.err
29301 } && test -s conftest.$ac_objext; then
29302 ac_cv_header_tiffio_h=yes
29304 echo "$as_me: failed program was:" >&5
29305 sed 's/^/| /' conftest.$ac_ext >&5
29307 ac_cv_header_tiffio_h=no
29310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29312 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29313 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29314 if test $ac_cv_header_tiffio_h = yes; then
29316 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29317 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29318 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29319 echo $ECHO_N "(cached) $ECHO_C" >&6
29321 ac_check_lib_save_LIBS=$LIBS
29322 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29323 cat >conftest.$ac_ext <<_ACEOF
29326 cat confdefs.h >>conftest.$ac_ext
29327 cat >>conftest.$ac_ext <<_ACEOF
29328 /* end confdefs.h. */
29330 /* Override any GCC internal prototype to avoid an error.
29331 Use char because int might match the return type of a GCC
29332 builtin and then its argument prototype would still apply. */
29340 return TIFFError ();
29345 rm -f conftest.$ac_objext conftest$ac_exeext
29346 if { (ac_try="$ac_link"
29347 case "(($ac_try" in
29348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29349 *) ac_try_echo=$ac_try;;
29351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29352 (eval "$ac_link") 2>conftest.er1
29354 grep -v '^ *+' conftest.er1 >conftest.err
29356 cat conftest.err >&5
29357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358 (exit $ac_status); } && {
29359 test -z "$ac_c_werror_flag" ||
29360 test ! -s conftest.err
29361 } && test -s conftest$ac_exeext &&
29362 $as_test_x conftest$ac_exeext; then
29363 ac_cv_lib_tiff_TIFFError=yes
29365 echo "$as_me: failed program was:" >&5
29366 sed 's/^/| /' conftest.$ac_ext >&5
29368 ac_cv_lib_tiff_TIFFError=no
29371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29372 conftest$ac_exeext conftest.$ac_ext
29373 LIBS=$ac_check_lib_save_LIBS
29375 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29376 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29377 if test $ac_cv_lib_tiff_TIFFError = yes; then
29378 TIFF_LINK=" -ltiff"
29386 if test "x$TIFF_LINK" = "x" ; then
29387 if test "$wxUSE_LIBTIFF" = "sys" ; then
29388 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29389 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29390 { (exit 1); exit 1; }; }
29392 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29393 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29394 wxUSE_LIBTIFF=builtin
29400 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29401 if test "$wxUSE_LIBJPEG" = "no"; then
29402 ac_configure_args="$ac_configure_args --disable-jpeg"
29404 subdirs="$subdirs src/tiff"
29410 if test "$wxUSE_EXPAT" != "no"; then
29412 cat >>confdefs.h <<\_ACEOF
29413 #define wxUSE_EXPAT 1
29416 cat >>confdefs.h <<\_ACEOF
29417 #define wxUSE_XML 1
29421 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29422 { echo "$as_me:$LINENO: checking for expat.h" >&5
29423 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29424 if test "${ac_cv_header_expat_h+set}" = set; then
29425 echo $ECHO_N "(cached) $ECHO_C" >&6
29427 cat >conftest.$ac_ext <<_ACEOF
29430 cat confdefs.h >>conftest.$ac_ext
29431 cat >>conftest.$ac_ext <<_ACEOF
29432 /* end confdefs.h. */
29437 rm -f conftest.$ac_objext
29438 if { (ac_try="$ac_compile"
29439 case "(($ac_try" in
29440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29441 *) ac_try_echo=$ac_try;;
29443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29444 (eval "$ac_compile") 2>conftest.er1
29446 grep -v '^ *+' conftest.er1 >conftest.err
29448 cat conftest.err >&5
29449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29450 (exit $ac_status); } && {
29451 test -z "$ac_c_werror_flag" ||
29452 test ! -s conftest.err
29453 } && test -s conftest.$ac_objext; then
29454 ac_cv_header_expat_h=yes
29456 echo "$as_me: failed program was:" >&5
29457 sed 's/^/| /' conftest.$ac_ext >&5
29459 ac_cv_header_expat_h=no
29462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29464 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29465 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29466 if test $ac_cv_header_expat_h = yes; then
29471 if test "x$found_expat_h" = "x1"; then
29472 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29473 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29474 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29475 echo $ECHO_N "(cached) $ECHO_C" >&6
29479 ac_cpp='$CXXCPP $CPPFLAGS'
29480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29484 cat >conftest.$ac_ext <<_ACEOF
29487 cat confdefs.h >>conftest.$ac_ext
29488 cat >>conftest.$ac_ext <<_ACEOF
29489 /* end confdefs.h. */
29499 rm -f conftest.$ac_objext
29500 if { (ac_try="$ac_compile"
29501 case "(($ac_try" in
29502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29503 *) ac_try_echo=$ac_try;;
29505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29506 (eval "$ac_compile") 2>conftest.er1
29508 grep -v '^ *+' conftest.er1 >conftest.err
29510 cat conftest.err >&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } && {
29513 test -z "$ac_cxx_werror_flag" ||
29514 test ! -s conftest.err
29515 } && test -s conftest.$ac_objext; then
29516 wx_cv_expat_is_not_broken=yes
29518 echo "$as_me: failed program was:" >&5
29519 sed 's/^/| /' conftest.$ac_ext >&5
29521 wx_cv_expat_is_not_broken=no
29525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29527 ac_cpp='$CPP $CPPFLAGS'
29528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29535 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29536 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29537 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29538 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29539 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29540 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29541 echo $ECHO_N "(cached) $ECHO_C" >&6
29543 ac_check_lib_save_LIBS=$LIBS
29544 LIBS="-lexpat $LIBS"
29545 cat >conftest.$ac_ext <<_ACEOF
29548 cat confdefs.h >>conftest.$ac_ext
29549 cat >>conftest.$ac_ext <<_ACEOF
29550 /* end confdefs.h. */
29552 /* Override any GCC internal prototype to avoid an error.
29553 Use char because int might match the return type of a GCC
29554 builtin and then its argument prototype would still apply. */
29558 char XML_ParserCreate ();
29562 return XML_ParserCreate ();
29567 rm -f conftest.$ac_objext conftest$ac_exeext
29568 if { (ac_try="$ac_link"
29569 case "(($ac_try" in
29570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29571 *) ac_try_echo=$ac_try;;
29573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29574 (eval "$ac_link") 2>conftest.er1
29576 grep -v '^ *+' conftest.er1 >conftest.err
29578 cat conftest.err >&5
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); } && {
29581 test -z "$ac_c_werror_flag" ||
29582 test ! -s conftest.err
29583 } && test -s conftest$ac_exeext &&
29584 $as_test_x conftest$ac_exeext; then
29585 ac_cv_lib_expat_XML_ParserCreate=yes
29587 echo "$as_me: failed program was:" >&5
29588 sed 's/^/| /' conftest.$ac_ext >&5
29590 ac_cv_lib_expat_XML_ParserCreate=no
29593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29594 conftest$ac_exeext conftest.$ac_ext
29595 LIBS=$ac_check_lib_save_LIBS
29597 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29598 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29599 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29600 EXPAT_LINK=" -lexpat"
29605 if test "x$EXPAT_LINK" = "x" ; then
29606 if test "$wxUSE_EXPAT" = "sys" ; then
29607 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29608 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29609 { (exit 1); exit 1; }; }
29611 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29612 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29613 wxUSE_EXPAT=builtin
29619 if test "$wxUSE_EXPAT" = "builtin" ; then
29620 subdirs="$subdirs src/expat"
29627 if test "$wxUSE_LIBMSPACK" != "no"; then
29628 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29629 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29630 if test "${ac_cv_header_mspack_h+set}" = set; then
29631 echo $ECHO_N "(cached) $ECHO_C" >&6
29633 cat >conftest.$ac_ext <<_ACEOF
29636 cat confdefs.h >>conftest.$ac_ext
29637 cat >>conftest.$ac_ext <<_ACEOF
29638 /* end confdefs.h. */
29641 #include <mspack.h>
29643 rm -f conftest.$ac_objext
29644 if { (ac_try="$ac_compile"
29645 case "(($ac_try" in
29646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29647 *) ac_try_echo=$ac_try;;
29649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29650 (eval "$ac_compile") 2>conftest.er1
29652 grep -v '^ *+' conftest.er1 >conftest.err
29654 cat conftest.err >&5
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); } && {
29657 test -z "$ac_c_werror_flag" ||
29658 test ! -s conftest.err
29659 } && test -s conftest.$ac_objext; then
29660 ac_cv_header_mspack_h=yes
29662 echo "$as_me: failed program was:" >&5
29663 sed 's/^/| /' conftest.$ac_ext >&5
29665 ac_cv_header_mspack_h=no
29668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29670 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29671 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29672 if test $ac_cv_header_mspack_h = yes; then
29677 if test "x$found_mspack_h" = "x1"; then
29678 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29679 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29680 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29681 echo $ECHO_N "(cached) $ECHO_C" >&6
29683 ac_check_lib_save_LIBS=$LIBS
29684 LIBS="-lmspack $LIBS"
29685 cat >conftest.$ac_ext <<_ACEOF
29688 cat confdefs.h >>conftest.$ac_ext
29689 cat >>conftest.$ac_ext <<_ACEOF
29690 /* end confdefs.h. */
29692 /* Override any GCC internal prototype to avoid an error.
29693 Use char because int might match the return type of a GCC
29694 builtin and then its argument prototype would still apply. */
29698 char mspack_create_chm_decompressor ();
29702 return mspack_create_chm_decompressor ();
29707 rm -f conftest.$ac_objext conftest$ac_exeext
29708 if { (ac_try="$ac_link"
29709 case "(($ac_try" in
29710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29711 *) ac_try_echo=$ac_try;;
29713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29714 (eval "$ac_link") 2>conftest.er1
29716 grep -v '^ *+' conftest.er1 >conftest.err
29718 cat conftest.err >&5
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); } && {
29721 test -z "$ac_c_werror_flag" ||
29722 test ! -s conftest.err
29723 } && test -s conftest$ac_exeext &&
29724 $as_test_x conftest$ac_exeext; then
29725 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29727 echo "$as_me: failed program was:" >&5
29728 sed 's/^/| /' conftest.$ac_ext >&5
29730 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29734 conftest$ac_exeext conftest.$ac_ext
29735 LIBS=$ac_check_lib_save_LIBS
29737 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29738 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29739 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29740 MSPACK_LINK=" -lmspack"
29744 if test "x$MSPACK_LINK" = "x" ; then
29749 if test "$wxUSE_LIBMSPACK" != "no"; then
29750 cat >>confdefs.h <<\_ACEOF
29751 #define wxUSE_LIBMSPACK 1
29765 if test "$USE_WIN32" = 1 ; then
29767 for ac_header in w32api.h
29769 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29770 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29773 echo $ECHO_N "(cached) $ECHO_C" >&6
29775 cat >conftest.$ac_ext <<_ACEOF
29778 cat confdefs.h >>conftest.$ac_ext
29779 cat >>conftest.$ac_ext <<_ACEOF
29780 /* end confdefs.h. */
29783 #include <$ac_header>
29785 rm -f conftest.$ac_objext
29786 if { (ac_try="$ac_compile"
29787 case "(($ac_try" in
29788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29789 *) ac_try_echo=$ac_try;;
29791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29792 (eval "$ac_compile") 2>conftest.er1
29794 grep -v '^ *+' conftest.er1 >conftest.err
29796 cat conftest.err >&5
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); } && {
29799 test -z "$ac_c_werror_flag" ||
29800 test ! -s conftest.err
29801 } && test -s conftest.$ac_objext; then
29802 eval "$as_ac_Header=yes"
29804 echo "$as_me: failed program was:" >&5
29805 sed 's/^/| /' conftest.$ac_ext >&5
29807 eval "$as_ac_Header=no"
29810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29812 ac_res=`eval echo '${'$as_ac_Header'}'`
29813 { echo "$as_me:$LINENO: result: $ac_res" >&5
29814 echo "${ECHO_T}$ac_res" >&6; }
29815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29816 cat >>confdefs.h <<_ACEOF
29817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29824 { echo "$as_me:$LINENO: checking for windows.h" >&5
29825 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29826 if test "${ac_cv_header_windows_h+set}" = set; then
29827 echo $ECHO_N "(cached) $ECHO_C" >&6
29829 cat >conftest.$ac_ext <<_ACEOF
29832 cat confdefs.h >>conftest.$ac_ext
29833 cat >>conftest.$ac_ext <<_ACEOF
29834 /* end confdefs.h. */
29837 #include <windows.h>
29839 rm -f conftest.$ac_objext
29840 if { (ac_try="$ac_compile"
29841 case "(($ac_try" in
29842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29843 *) ac_try_echo=$ac_try;;
29845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29846 (eval "$ac_compile") 2>conftest.er1
29848 grep -v '^ *+' conftest.er1 >conftest.err
29850 cat conftest.err >&5
29851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852 (exit $ac_status); } && {
29853 test -z "$ac_c_werror_flag" ||
29854 test ! -s conftest.err
29855 } && test -s conftest.$ac_objext; then
29856 ac_cv_header_windows_h=yes
29858 echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.$ac_ext >&5
29861 ac_cv_header_windows_h=no
29864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29866 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29867 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29868 if test $ac_cv_header_windows_h = yes; then
29872 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29873 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29874 { (exit 1); exit 1; }; }
29880 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29882 x86_64-*-mingw32* )
29883 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29886 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29887 LIBS="$LIBS -loleacc"
29892 LIBS="$LIBS -lkernel32 -luser32"
29895 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29896 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29898 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29900 WIN32INSTALL=win32install
29903 if test "$wxUSE_GUI" = "yes"; then
29912 if test "$wxUSE_OLD_COCOA" = 1 ; then
29913 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29914 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29915 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29916 wxUSE_PRINTING_ARCHITECTURE=no
29918 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29919 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29920 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29921 wxUSE_DRAG_AND_DROP=no
29923 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29924 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29925 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29930 if test "$wxUSE_MSW" = 1 ; then
29936 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29940 if test "$wxUSE_GTK" = 1; then
29941 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29942 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29944 gtk_version_cached=1
29945 if test "${wx_cv_lib_gtk+set}" = set; then
29946 echo $ECHO_N "(cached) $ECHO_C" >&6
29949 gtk_version_cached=0
29950 { echo "$as_me:$LINENO: result: " >&5
29951 echo "${ECHO_T}" >&6; }
29954 if test "$wxUSE_THREADS" = "yes"; then
29955 GTK_MODULES=gthread
29959 if test "x$wxGTK_VERSION" != "x1"
29963 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29968 # Check whether --enable-gtktest was given.
29969 if test "${enable_gtktest+set}" = set; then
29970 enableval=$enable_gtktest;
29976 pkg_config_args=gtk+-2.0
29977 for module in . $GTK_MODULES
29981 pkg_config_args="$pkg_config_args gthread-2.0"
29988 # Extract the first word of "pkg-config", so it can be a program name with args.
29989 set dummy pkg-config; ac_word=$2
29990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29992 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29993 echo $ECHO_N "(cached) $ECHO_C" >&6
29995 case $PKG_CONFIG in
29997 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30001 for as_dir in $PATH
30004 test -z "$as_dir" && as_dir=.
30005 for ac_exec_ext in '' $ac_executable_extensions; do
30006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30007 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30015 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30019 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30020 if test -n "$PKG_CONFIG"; then
30021 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30022 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30024 { echo "$as_me:$LINENO: result: no" >&5
30025 echo "${ECHO_T}no" >&6; }
30030 if test x$PKG_CONFIG != xno ; then
30031 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30034 echo "*** pkg-config too old; version 0.7 or better required."
30042 min_gtk_version=2.4.0
30043 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30044 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30046 if test x$PKG_CONFIG != xno ; then
30047 ## don't try to run the test against uninstalled libtool libs
30048 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30049 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30053 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30060 if test x"$no_gtk" = x ; then
30061 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30062 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30063 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30064 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30065 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30067 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30068 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30069 if test "x$enable_gtktest" = "xyes" ; then
30070 ac_save_CFLAGS="$CFLAGS"
30071 ac_save_LIBS="$LIBS"
30072 CFLAGS="$CFLAGS $GTK_CFLAGS"
30073 LIBS="$GTK_LIBS $LIBS"
30075 if test "$cross_compiling" = yes; then
30076 echo $ac_n "cross compiling; assumed OK... $ac_c"
30078 cat >conftest.$ac_ext <<_ACEOF
30081 cat confdefs.h >>conftest.$ac_ext
30082 cat >>conftest.$ac_ext <<_ACEOF
30083 /* end confdefs.h. */
30085 #include <gtk/gtk.h>
30087 #include <stdlib.h>
30092 int major, minor, micro;
30095 system ("touch conf.gtktest");
30097 /* HP/UX 9 (%@#!) writes to sscanf strings */
30098 tmp_version = g_strdup("$min_gtk_version");
30099 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30100 printf("%s, bad version string\n", "$min_gtk_version");
30104 if ((gtk_major_version != $gtk_config_major_version) ||
30105 (gtk_minor_version != $gtk_config_minor_version) ||
30106 (gtk_micro_version != $gtk_config_micro_version))
30108 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30109 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30110 gtk_major_version, gtk_minor_version, gtk_micro_version);
30111 printf ("*** was found! If pkg-config was correct, then it is best\n");
30112 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30113 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30114 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30115 printf("*** required on your system.\n");
30116 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30117 printf("*** to point to the correct configuration files\n");
30119 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30120 (gtk_minor_version != GTK_MINOR_VERSION) ||
30121 (gtk_micro_version != GTK_MICRO_VERSION))
30123 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30124 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30125 printf("*** library (version %d.%d.%d)\n",
30126 gtk_major_version, gtk_minor_version, gtk_micro_version);
30130 if ((gtk_major_version > major) ||
30131 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30132 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30138 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30139 gtk_major_version, gtk_minor_version, gtk_micro_version);
30140 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30141 major, minor, micro);
30142 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30144 printf("*** If you have already installed a sufficiently new version, this error\n");
30145 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30146 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30147 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30148 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30149 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30150 printf("*** so that the correct libraries are found at run-time))\n");
30157 rm -f conftest$ac_exeext
30158 if { (ac_try="$ac_link"
30159 case "(($ac_try" in
30160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30161 *) ac_try_echo=$ac_try;;
30163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30164 (eval "$ac_link") 2>&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30168 { (case "(($ac_try" in
30169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30170 *) ac_try_echo=$ac_try;;
30172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30173 (eval "$ac_try") 2>&5
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); }; }; then
30179 echo "$as_me: program exited with status $ac_status" >&5
30180 echo "$as_me: failed program was:" >&5
30181 sed 's/^/| /' conftest.$ac_ext >&5
30183 ( exit $ac_status )
30186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30190 CFLAGS="$ac_save_CFLAGS"
30191 LIBS="$ac_save_LIBS"
30194 if test "x$no_gtk" = x ; then
30195 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30196 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30199 { echo "$as_me:$LINENO: result: no" >&5
30200 echo "${ECHO_T}no" >&6; }
30201 if test "$PKG_CONFIG" = "no" ; then
30202 echo "*** A new enough version of pkg-config was not found."
30203 echo "*** See http://pkgconfig.sourceforge.net"
30205 if test -f conf.gtktest ; then
30208 echo "*** Could not run GTK+ test program, checking why..."
30209 ac_save_CFLAGS="$CFLAGS"
30210 ac_save_LIBS="$LIBS"
30211 CFLAGS="$CFLAGS $GTK_CFLAGS"
30212 LIBS="$LIBS $GTK_LIBS"
30213 cat >conftest.$ac_ext <<_ACEOF
30216 cat confdefs.h >>conftest.$ac_ext
30217 cat >>conftest.$ac_ext <<_ACEOF
30218 /* end confdefs.h. */
30220 #include <gtk/gtk.h>
30226 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30231 rm -f conftest.$ac_objext conftest$ac_exeext
30232 if { (ac_try="$ac_link"
30233 case "(($ac_try" in
30234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30235 *) ac_try_echo=$ac_try;;
30237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30238 (eval "$ac_link") 2>conftest.er1
30240 grep -v '^ *+' conftest.er1 >conftest.err
30242 cat conftest.err >&5
30243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244 (exit $ac_status); } && {
30245 test -z "$ac_c_werror_flag" ||
30246 test ! -s conftest.err
30247 } && test -s conftest$ac_exeext &&
30248 $as_test_x conftest$ac_exeext; then
30249 echo "*** The test program compiled, but did not run. This usually means"
30250 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30251 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30252 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30253 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30254 echo "*** is required on your system"
30256 echo "*** If you have an old version installed, it is best to remove it, although"
30257 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30259 echo "$as_me: failed program was:" >&5
30260 sed 's/^/| /' conftest.$ac_ext >&5
30262 echo "*** The test program failed to compile or link. See the file config.log for the"
30263 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30267 conftest$ac_exeext conftest.$ac_ext
30268 CFLAGS="$ac_save_CFLAGS"
30269 LIBS="$ac_save_LIBS"
30282 if test -z "$wx_cv_lib_gtk"; then
30283 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30285 # Check whether --with-gtk-prefix was given.
30286 if test "${with_gtk_prefix+set}" = set; then
30287 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30289 gtk_config_prefix=""
30293 # Check whether --with-gtk-exec-prefix was given.
30294 if test "${with_gtk_exec_prefix+set}" = set; then
30295 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30297 gtk_config_exec_prefix=""
30300 # Check whether --enable-gtktest was given.
30301 if test "${enable_gtktest+set}" = set; then
30302 enableval=$enable_gtktest;
30308 for module in . $GTK_MODULES
30312 gtk_config_args="$gtk_config_args gthread"
30317 if test x$gtk_config_exec_prefix != x ; then
30318 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30319 if test x${GTK_CONFIG+set} != xset ; then
30320 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30323 if test x$gtk_config_prefix != x ; then
30324 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30325 if test x${GTK_CONFIG+set} != xset ; then
30326 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30330 # Extract the first word of "gtk-config", so it can be a program name with args.
30331 set dummy gtk-config; ac_word=$2
30332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30334 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30335 echo $ECHO_N "(cached) $ECHO_C" >&6
30337 case $GTK_CONFIG in
30339 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30343 for as_dir in $PATH
30346 test -z "$as_dir" && as_dir=.
30347 for ac_exec_ext in '' $ac_executable_extensions; do
30348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30349 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30357 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30361 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30362 if test -n "$GTK_CONFIG"; then
30363 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30364 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30366 { echo "$as_me:$LINENO: result: no" >&5
30367 echo "${ECHO_T}no" >&6; }
30371 min_gtk_version=1.2.7
30372 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30373 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30375 if test "$GTK_CONFIG" = "no" ; then
30378 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30379 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30380 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30381 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30382 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30383 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30384 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30385 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30386 if test "x$enable_gtktest" = "xyes" ; then
30387 ac_save_CFLAGS="$CFLAGS"
30388 ac_save_LIBS="$LIBS"
30389 CFLAGS="$CFLAGS $GTK_CFLAGS"
30390 LIBS="$GTK_LIBS $LIBS"
30392 if test "$cross_compiling" = yes; then
30393 echo $ac_n "cross compiling; assumed OK... $ac_c"
30395 cat >conftest.$ac_ext <<_ACEOF
30398 cat confdefs.h >>conftest.$ac_ext
30399 cat >>conftest.$ac_ext <<_ACEOF
30400 /* end confdefs.h. */
30402 #include <gtk/gtk.h>
30404 #include <stdlib.h>
30409 int major, minor, micro;
30412 system ("touch conf.gtktest");
30414 /* HP/UX 9 (%@#!) writes to sscanf strings */
30415 tmp_version = g_strdup("$min_gtk_version");
30416 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30417 printf("%s, bad version string\n", "$min_gtk_version");
30421 if ((gtk_major_version != $gtk_config_major_version) ||
30422 (gtk_minor_version != $gtk_config_minor_version) ||
30423 (gtk_micro_version != $gtk_config_micro_version))
30425 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30426 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30427 gtk_major_version, gtk_minor_version, gtk_micro_version);
30428 printf ("*** was found! If gtk-config was correct, then it is best\n");
30429 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30430 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30431 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30432 printf("*** required on your system.\n");
30433 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30434 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30435 printf("*** before re-running configure\n");
30437 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30438 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30439 (gtk_minor_version != GTK_MINOR_VERSION) ||
30440 (gtk_micro_version != GTK_MICRO_VERSION))
30442 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30443 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30444 printf("*** library (version %d.%d.%d)\n",
30445 gtk_major_version, gtk_minor_version, gtk_micro_version);
30447 #endif /* defined (GTK_MAJOR_VERSION) ... */
30450 if ((gtk_major_version > major) ||
30451 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30452 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30458 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30459 gtk_major_version, gtk_minor_version, gtk_micro_version);
30460 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30461 major, minor, micro);
30462 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30464 printf("*** If you have already installed a sufficiently new version, this error\n");
30465 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30466 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30467 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30468 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30469 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30470 printf("*** so that the correct libraries are found at run-time))\n");
30477 rm -f conftest$ac_exeext
30478 if { (ac_try="$ac_link"
30479 case "(($ac_try" in
30480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30481 *) ac_try_echo=$ac_try;;
30483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30484 (eval "$ac_link") 2>&5
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30488 { (case "(($ac_try" in
30489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30490 *) ac_try_echo=$ac_try;;
30492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30493 (eval "$ac_try") 2>&5
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); }; }; then
30499 echo "$as_me: program exited with status $ac_status" >&5
30500 echo "$as_me: failed program was:" >&5
30501 sed 's/^/| /' conftest.$ac_ext >&5
30503 ( exit $ac_status )
30506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30510 CFLAGS="$ac_save_CFLAGS"
30511 LIBS="$ac_save_LIBS"
30514 if test "x$no_gtk" = x ; then
30515 { echo "$as_me:$LINENO: result: yes" >&5
30516 echo "${ECHO_T}yes" >&6; }
30517 wx_cv_lib_gtk=1.2.7
30519 { echo "$as_me:$LINENO: result: no" >&5
30520 echo "${ECHO_T}no" >&6; }
30521 if test "$GTK_CONFIG" = "no" ; then
30522 echo "*** The gtk-config script installed by GTK could not be found"
30523 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30524 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30525 echo "*** full path to gtk-config."
30527 if test -f conf.gtktest ; then
30530 echo "*** Could not run GTK test program, checking why..."
30531 CFLAGS="$CFLAGS $GTK_CFLAGS"
30532 LIBS="$LIBS $GTK_LIBS"
30533 cat >conftest.$ac_ext <<_ACEOF
30536 cat confdefs.h >>conftest.$ac_ext
30537 cat >>conftest.$ac_ext <<_ACEOF
30538 /* end confdefs.h. */
30540 #include <gtk/gtk.h>
30546 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30551 rm -f conftest.$ac_objext conftest$ac_exeext
30552 if { (ac_try="$ac_link"
30553 case "(($ac_try" in
30554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30555 *) ac_try_echo=$ac_try;;
30557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30558 (eval "$ac_link") 2>conftest.er1
30560 grep -v '^ *+' conftest.er1 >conftest.err
30562 cat conftest.err >&5
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } && {
30565 test -z "$ac_c_werror_flag" ||
30566 test ! -s conftest.err
30567 } && test -s conftest$ac_exeext &&
30568 $as_test_x conftest$ac_exeext; then
30569 echo "*** The test program compiled, but did not run. This usually means"
30570 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30571 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30572 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30573 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30574 echo "*** is required on your system"
30576 echo "*** If you have an old version installed, it is best to remove it, although"
30577 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30579 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30580 echo "*** came with the system with the command"
30582 echo "*** rpm --erase --nodeps gtk gtk-devel"
30584 echo "$as_me: failed program was:" >&5
30585 sed 's/^/| /' conftest.$ac_ext >&5
30587 echo "*** The test program failed to compile or link. See the file config.log for the"
30588 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30589 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30590 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30594 conftest$ac_exeext conftest.$ac_ext
30595 CFLAGS="$ac_save_CFLAGS"
30596 LIBS="$ac_save_LIBS"
30608 if test -z "$wx_cv_lib_gtk"; then
30610 # Check whether --with-gtk-prefix was given.
30611 if test "${with_gtk_prefix+set}" = set; then
30612 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30614 gtk_config_prefix=""
30618 # Check whether --with-gtk-exec-prefix was given.
30619 if test "${with_gtk_exec_prefix+set}" = set; then
30620 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30622 gtk_config_exec_prefix=""
30625 # Check whether --enable-gtktest was given.
30626 if test "${enable_gtktest+set}" = set; then
30627 enableval=$enable_gtktest;
30633 for module in . $GTK_MODULES
30637 gtk_config_args="$gtk_config_args gthread"
30642 if test x$gtk_config_exec_prefix != x ; then
30643 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30644 if test x${GTK_CONFIG+set} != xset ; then
30645 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30648 if test x$gtk_config_prefix != x ; then
30649 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30650 if test x${GTK_CONFIG+set} != xset ; then
30651 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30655 # Extract the first word of "gtk-config", so it can be a program name with args.
30656 set dummy gtk-config; ac_word=$2
30657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30659 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30660 echo $ECHO_N "(cached) $ECHO_C" >&6
30662 case $GTK_CONFIG in
30664 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30668 for as_dir in $PATH
30671 test -z "$as_dir" && as_dir=.
30672 for ac_exec_ext in '' $ac_executable_extensions; do
30673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30674 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30682 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30686 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30687 if test -n "$GTK_CONFIG"; then
30688 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30689 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30691 { echo "$as_me:$LINENO: result: no" >&5
30692 echo "${ECHO_T}no" >&6; }
30696 min_gtk_version=1.2.3
30697 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30698 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30700 if test "$GTK_CONFIG" = "no" ; then
30703 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30704 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30705 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30707 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30708 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30709 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30710 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30711 if test "x$enable_gtktest" = "xyes" ; then
30712 ac_save_CFLAGS="$CFLAGS"
30713 ac_save_LIBS="$LIBS"
30714 CFLAGS="$CFLAGS $GTK_CFLAGS"
30715 LIBS="$GTK_LIBS $LIBS"
30717 if test "$cross_compiling" = yes; then
30718 echo $ac_n "cross compiling; assumed OK... $ac_c"
30720 cat >conftest.$ac_ext <<_ACEOF
30723 cat confdefs.h >>conftest.$ac_ext
30724 cat >>conftest.$ac_ext <<_ACEOF
30725 /* end confdefs.h. */
30727 #include <gtk/gtk.h>
30729 #include <stdlib.h>
30734 int major, minor, micro;
30737 system ("touch conf.gtktest");
30739 /* HP/UX 9 (%@#!) writes to sscanf strings */
30740 tmp_version = g_strdup("$min_gtk_version");
30741 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30742 printf("%s, bad version string\n", "$min_gtk_version");
30746 if ((gtk_major_version != $gtk_config_major_version) ||
30747 (gtk_minor_version != $gtk_config_minor_version) ||
30748 (gtk_micro_version != $gtk_config_micro_version))
30750 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30751 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30752 gtk_major_version, gtk_minor_version, gtk_micro_version);
30753 printf ("*** was found! If gtk-config was correct, then it is best\n");
30754 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30755 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30756 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30757 printf("*** required on your system.\n");
30758 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30759 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30760 printf("*** before re-running configure\n");
30762 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30763 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30764 (gtk_minor_version != GTK_MINOR_VERSION) ||
30765 (gtk_micro_version != GTK_MICRO_VERSION))
30767 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30768 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30769 printf("*** library (version %d.%d.%d)\n",
30770 gtk_major_version, gtk_minor_version, gtk_micro_version);
30772 #endif /* defined (GTK_MAJOR_VERSION) ... */
30775 if ((gtk_major_version > major) ||
30776 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30777 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30783 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30784 gtk_major_version, gtk_minor_version, gtk_micro_version);
30785 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30786 major, minor, micro);
30787 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30789 printf("*** If you have already installed a sufficiently new version, this error\n");
30790 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30791 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30792 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30793 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30794 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30795 printf("*** so that the correct libraries are found at run-time))\n");
30802 rm -f conftest$ac_exeext
30803 if { (ac_try="$ac_link"
30804 case "(($ac_try" in
30805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30806 *) ac_try_echo=$ac_try;;
30808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30809 (eval "$ac_link") 2>&5
30811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30812 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30813 { (case "(($ac_try" in
30814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30815 *) ac_try_echo=$ac_try;;
30817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30818 (eval "$ac_try") 2>&5
30820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821 (exit $ac_status); }; }; then
30824 echo "$as_me: program exited with status $ac_status" >&5
30825 echo "$as_me: failed program was:" >&5
30826 sed 's/^/| /' conftest.$ac_ext >&5
30828 ( exit $ac_status )
30831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30835 CFLAGS="$ac_save_CFLAGS"
30836 LIBS="$ac_save_LIBS"
30839 if test "x$no_gtk" = x ; then
30840 { echo "$as_me:$LINENO: result: yes" >&5
30841 echo "${ECHO_T}yes" >&6; }
30842 wx_cv_lib_gtk=1.2.3
30844 { echo "$as_me:$LINENO: result: no" >&5
30845 echo "${ECHO_T}no" >&6; }
30846 if test "$GTK_CONFIG" = "no" ; then
30847 echo "*** The gtk-config script installed by GTK could not be found"
30848 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30849 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30850 echo "*** full path to gtk-config."
30852 if test -f conf.gtktest ; then
30855 echo "*** Could not run GTK test program, checking why..."
30856 CFLAGS="$CFLAGS $GTK_CFLAGS"
30857 LIBS="$LIBS $GTK_LIBS"
30858 cat >conftest.$ac_ext <<_ACEOF
30861 cat confdefs.h >>conftest.$ac_ext
30862 cat >>conftest.$ac_ext <<_ACEOF
30863 /* end confdefs.h. */
30865 #include <gtk/gtk.h>
30871 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30876 rm -f conftest.$ac_objext conftest$ac_exeext
30877 if { (ac_try="$ac_link"
30878 case "(($ac_try" in
30879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30880 *) ac_try_echo=$ac_try;;
30882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30883 (eval "$ac_link") 2>conftest.er1
30885 grep -v '^ *+' conftest.er1 >conftest.err
30887 cat conftest.err >&5
30888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30889 (exit $ac_status); } && {
30890 test -z "$ac_c_werror_flag" ||
30891 test ! -s conftest.err
30892 } && test -s conftest$ac_exeext &&
30893 $as_test_x conftest$ac_exeext; then
30894 echo "*** The test program compiled, but did not run. This usually means"
30895 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30896 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30897 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30898 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30899 echo "*** is required on your system"
30901 echo "*** If you have an old version installed, it is best to remove it, although"
30902 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30904 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30905 echo "*** came with the system with the command"
30907 echo "*** rpm --erase --nodeps gtk gtk-devel"
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30912 echo "*** The test program failed to compile or link. See the file config.log for the"
30913 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30914 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30915 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30919 conftest$ac_exeext conftest.$ac_ext
30920 CFLAGS="$ac_save_CFLAGS"
30921 LIBS="$ac_save_LIBS"
30936 if test -z "$wx_cv_lib_gtk"; then
30939 GTK_LIBS="$GTK_LIBS -lX11"
30941 wx_cv_cflags_gtk=$GTK_CFLAGS
30942 wx_cv_libs_gtk=$GTK_LIBS
30949 if test "$gtk_version_cached" = 1; then
30950 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30951 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30954 case "$wx_cv_lib_gtk" in
30961 *) { { echo "$as_me:$LINENO: error:
30962 The development files for GTK+ were not found. For GTK+ 2, please
30963 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30964 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30965 and that the version is 1.2.3 or above. Also check that the
30966 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30967 --libs' are in the LD_LIBRARY_PATH or equivalent.
30969 echo "$as_me: error:
30970 The development files for GTK+ were not found. For GTK+ 2, please
30971 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30972 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30973 and that the version is 1.2.3 or above. Also check that the
30974 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30975 --libs' are in the LD_LIBRARY_PATH or equivalent.
30977 { (exit 1); exit 1; }; }
30981 if test "$WXGTK2" = 1; then
30982 save_CFLAGS="$CFLAGS"
30984 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30985 LIBS="$LIBS $wx_cv_libs_gtk"
30987 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30988 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30989 cat >conftest.$ac_ext <<_ACEOF
30992 cat confdefs.h >>conftest.$ac_ext
30993 cat >>conftest.$ac_ext <<_ACEOF
30994 /* end confdefs.h. */
30996 #include <gtk/gtk.h>
31002 #if !GTK_CHECK_VERSION(2,18,0)
31010 rm -f conftest.$ac_objext
31011 if { (ac_try="$ac_compile"
31012 case "(($ac_try" in
31013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31014 *) ac_try_echo=$ac_try;;
31016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31017 (eval "$ac_compile") 2>conftest.er1
31019 grep -v '^ *+' conftest.er1 >conftest.err
31021 cat conftest.err >&5
31022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31023 (exit $ac_status); } && {
31024 test -z "$ac_c_werror_flag" ||
31025 test ! -s conftest.err
31026 } && test -s conftest.$ac_objext; then
31028 cat >>confdefs.h <<\_ACEOF
31029 #define __WXGTK218__ 1
31032 cat >>confdefs.h <<\_ACEOF
31033 #define __WXGTK210__ 1
31036 cat >>confdefs.h <<\_ACEOF
31037 #define __WXGTK26__ 1
31040 { echo "$as_me:$LINENO: result: yes" >&5
31041 echo "${ECHO_T}yes" >&6; }
31045 echo "$as_me: failed program was:" >&5
31046 sed 's/^/| /' conftest.$ac_ext >&5
31049 { echo "$as_me:$LINENO: result: no" >&5
31050 echo "${ECHO_T}no" >&6; }
31055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31057 if test "$ac_wxgtk218" = 0; then
31058 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31059 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31060 cat >conftest.$ac_ext <<_ACEOF
31063 cat confdefs.h >>conftest.$ac_ext
31064 cat >>conftest.$ac_ext <<_ACEOF
31065 /* end confdefs.h. */
31067 #include <gtk/gtk.h>
31073 #if !GTK_CHECK_VERSION(2,10,0)
31081 rm -f conftest.$ac_objext
31082 if { (ac_try="$ac_compile"
31083 case "(($ac_try" in
31084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31085 *) ac_try_echo=$ac_try;;
31087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31088 (eval "$ac_compile") 2>conftest.er1
31090 grep -v '^ *+' conftest.er1 >conftest.err
31092 cat conftest.err >&5
31093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31094 (exit $ac_status); } && {
31095 test -z "$ac_c_werror_flag" ||
31096 test ! -s conftest.err
31097 } && test -s conftest.$ac_objext; then
31099 cat >>confdefs.h <<\_ACEOF
31100 #define __WXGTK210__ 1
31103 cat >>confdefs.h <<\_ACEOF
31104 #define __WXGTK26__ 1
31107 { echo "$as_me:$LINENO: result: yes" >&5
31108 echo "${ECHO_T}yes" >&6; }
31112 echo "$as_me: failed program was:" >&5
31113 sed 's/^/| /' conftest.$ac_ext >&5
31116 { echo "$as_me:$LINENO: result: no" >&5
31117 echo "${ECHO_T}no" >&6; }
31122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31124 if test "$ac_wxgtk210" = 0; then
31125 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31126 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31127 cat >conftest.$ac_ext <<_ACEOF
31130 cat confdefs.h >>conftest.$ac_ext
31131 cat >>conftest.$ac_ext <<_ACEOF
31132 /* end confdefs.h. */
31134 #include <gtk/gtk.h>
31140 #if !GTK_CHECK_VERSION(2,6,0)
31148 rm -f conftest.$ac_objext
31149 if { (ac_try="$ac_compile"
31150 case "(($ac_try" in
31151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31152 *) ac_try_echo=$ac_try;;
31154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31155 (eval "$ac_compile") 2>conftest.er1
31157 grep -v '^ *+' conftest.er1 >conftest.err
31159 cat conftest.err >&5
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); } && {
31162 test -z "$ac_c_werror_flag" ||
31163 test ! -s conftest.err
31164 } && test -s conftest.$ac_objext; then
31166 cat >>confdefs.h <<\_ACEOF
31167 #define __WXGTK26__ 1
31170 { echo "$as_me:$LINENO: result: yes" >&5
31171 echo "${ECHO_T}yes" >&6; }
31175 echo "$as_me: failed program was:" >&5
31176 sed 's/^/| /' conftest.$ac_ext >&5
31179 { echo "$as_me:$LINENO: result: no" >&5
31180 echo "${ECHO_T}no" >&6; }
31185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31189 CFLAGS="$save_CFLAGS"
31192 if test "$wxUSE_UNICODE" = "yes"; then
31193 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31194 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31198 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31199 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31200 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31201 echo $ECHO_N "(cached) $ECHO_C" >&6
31203 ac_check_lib_save_LIBS=$LIBS
31205 cat >conftest.$ac_ext <<_ACEOF
31208 cat confdefs.h >>conftest.$ac_ext
31209 cat >>conftest.$ac_ext <<_ACEOF
31210 /* end confdefs.h. */
31212 /* Override any GCC internal prototype to avoid an error.
31213 Use char because int might match the return type of a GCC
31214 builtin and then its argument prototype would still apply. */
31218 char gdk_im_open ();
31222 return gdk_im_open ();
31227 rm -f conftest.$ac_objext conftest$ac_exeext
31228 if { (ac_try="$ac_link"
31229 case "(($ac_try" in
31230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31231 *) ac_try_echo=$ac_try;;
31233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31234 (eval "$ac_link") 2>conftest.er1
31236 grep -v '^ *+' conftest.er1 >conftest.err
31238 cat conftest.err >&5
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); } && {
31241 test -z "$ac_c_werror_flag" ||
31242 test ! -s conftest.err
31243 } && test -s conftest$ac_exeext &&
31244 $as_test_x conftest$ac_exeext; then
31245 ac_cv_lib_gdk_gdk_im_open=yes
31247 echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.$ac_ext >&5
31250 ac_cv_lib_gdk_gdk_im_open=no
31253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31254 conftest$ac_exeext conftest.$ac_ext
31255 LIBS=$ac_check_lib_save_LIBS
31257 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31258 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31259 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31260 cat >>confdefs.h <<\_ACEOF
31267 if test "$USE_DARWIN" != 1; then
31269 for ac_func in poll
31271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31272 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31275 echo $ECHO_N "(cached) $ECHO_C" >&6
31277 cat >conftest.$ac_ext <<_ACEOF
31280 cat confdefs.h >>conftest.$ac_ext
31281 cat >>conftest.$ac_ext <<_ACEOF
31282 /* end confdefs.h. */
31283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31285 #define $ac_func innocuous_$ac_func
31287 /* System header to define __stub macros and hopefully few prototypes,
31288 which can conflict with char $ac_func (); below.
31289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31290 <limits.h> exists even on freestanding compilers. */
31293 # include <limits.h>
31295 # include <assert.h>
31300 /* Override any GCC internal prototype to avoid an error.
31301 Use char because int might match the return type of a GCC
31302 builtin and then its argument prototype would still apply. */
31307 /* The GNU C library defines this for functions which it implements
31308 to always fail with ENOSYS. Some functions are actually named
31309 something starting with __ and the normal name is an alias. */
31310 #if defined __stub_$ac_func || defined __stub___$ac_func
31317 return $ac_func ();
31322 rm -f conftest.$ac_objext conftest$ac_exeext
31323 if { (ac_try="$ac_link"
31324 case "(($ac_try" in
31325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31326 *) ac_try_echo=$ac_try;;
31328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31329 (eval "$ac_link") 2>conftest.er1
31331 grep -v '^ *+' conftest.er1 >conftest.err
31333 cat conftest.err >&5
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); } && {
31336 test -z "$ac_c_werror_flag" ||
31337 test ! -s conftest.err
31338 } && test -s conftest$ac_exeext &&
31339 $as_test_x conftest$ac_exeext; then
31340 eval "$as_ac_var=yes"
31342 echo "$as_me: failed program was:" >&5
31343 sed 's/^/| /' conftest.$ac_ext >&5
31345 eval "$as_ac_var=no"
31348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31349 conftest$ac_exeext conftest.$ac_ext
31351 ac_res=`eval echo '${'$as_ac_var'}'`
31352 { echo "$as_me:$LINENO: result: $ac_res" >&5
31353 echo "${ECHO_T}$ac_res" >&6; }
31354 if test `eval echo '${'$as_ac_var'}'` = yes; then
31355 cat >>confdefs.h <<_ACEOF
31356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31365 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31366 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31367 AFMINSTALL=afminstall
31371 if test "$wxUSE_GPE" = "yes"; then
31372 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31373 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31376 for ac_dir in $SEARCH_LIB
31378 for ac_extension in a so sl dylib dll.a; do
31379 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31380 ac_find_libraries=$ac_dir
31386 if test "$ac_find_libraries" != "" ; then
31388 if test "$ac_find_libraries" = "default location"; then
31391 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31393 if test $result = 0; then
31396 ac_path_to_link=" -L$ac_find_libraries"
31400 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31402 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31403 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31405 { echo "$as_me:$LINENO: result: not found" >&5
31406 echo "${ECHO_T}not found" >&6; }
31412 if test "$wxUSE_MGL" = 1; then
31413 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31414 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31415 if test "x$MGL_ROOT" = x ; then
31416 { echo "$as_me:$LINENO: result: not found" >&5
31417 echo "${ECHO_T}not found" >&6; }
31418 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31419 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31420 { (exit 1); exit 1; }; }
31422 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31423 echo "${ECHO_T}$MGL_ROOT" >&6; }
31426 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31427 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31430 if test "x$wxUSE_SHARED" = xyes ; then
31431 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31433 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31437 mgl_os_candidates="dos32/dj2"
31440 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31441 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31442 { (exit 1); exit 1; }; }
31448 for mgl_os_i in $mgl_os_candidates ; do
31449 if test "x$mgl_os" = x ; then
31450 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31451 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31452 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31457 if test "x$mgl_lib_type" = x ; then
31458 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31459 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31460 mgl_lib_type=release
31467 if test "x$mgl_os" = x ; then
31468 { echo "$as_me:$LINENO: result: not found" >&5
31469 echo "${ECHO_T}not found" >&6; }
31470 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31471 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31472 { (exit 1); exit 1; }; }
31474 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31475 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31477 wxUSE_UNIVERSAL="yes"
31479 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31480 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31482 AFMINSTALL=afminstall
31487 if test "$wxUSE_DFB" = 1; then
31490 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31491 if test -n "$ac_tool_prefix"; then
31492 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31493 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31496 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31497 echo $ECHO_N "(cached) $ECHO_C" >&6
31499 case $PKG_CONFIG in
31501 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31505 for as_dir in $PATH
31508 test -z "$as_dir" && as_dir=.
31509 for ac_exec_ext in '' $ac_executable_extensions; do
31510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31511 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31522 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31523 if test -n "$PKG_CONFIG"; then
31524 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31525 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31527 { echo "$as_me:$LINENO: result: no" >&5
31528 echo "${ECHO_T}no" >&6; }
31533 if test -z "$ac_cv_path_PKG_CONFIG"; then
31534 ac_pt_PKG_CONFIG=$PKG_CONFIG
31535 # Extract the first word of "pkg-config", so it can be a program name with args.
31536 set dummy pkg-config; ac_word=$2
31537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31539 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31540 echo $ECHO_N "(cached) $ECHO_C" >&6
31542 case $ac_pt_PKG_CONFIG in
31544 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31548 for as_dir in $PATH
31551 test -z "$as_dir" && as_dir=.
31552 for ac_exec_ext in '' $ac_executable_extensions; do
31553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31554 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31565 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31566 if test -n "$ac_pt_PKG_CONFIG"; then
31567 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31568 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31570 { echo "$as_me:$LINENO: result: no" >&5
31571 echo "${ECHO_T}no" >&6; }
31574 if test "x$ac_pt_PKG_CONFIG" = x; then
31577 case $cross_compiling:$ac_tool_warned in
31579 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31580 whose name does not start with the host triplet. If you think this
31581 configuration is useful to you, please write to autoconf@gnu.org." >&5
31582 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31583 whose name does not start with the host triplet. If you think this
31584 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31585 ac_tool_warned=yes ;;
31587 PKG_CONFIG=$ac_pt_PKG_CONFIG
31590 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31594 if test -n "$PKG_CONFIG"; then
31595 _pkg_min_version=0.9.0
31596 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31597 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31598 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31599 { echo "$as_me:$LINENO: result: yes" >&5
31600 echo "${ECHO_T}yes" >&6; }
31602 { echo "$as_me:$LINENO: result: no" >&5
31603 echo "${ECHO_T}no" >&6; }
31611 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31612 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31614 if test -n "$PKG_CONFIG"; then
31615 if test -n "$DIRECTFB_CFLAGS"; then
31616 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31618 if test -n "$PKG_CONFIG" && \
31619 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31620 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); }; then
31624 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31632 if test -n "$PKG_CONFIG"; then
31633 if test -n "$DIRECTFB_LIBS"; then
31634 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31636 if test -n "$PKG_CONFIG" && \
31637 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31638 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641 (exit $ac_status); }; then
31642 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31653 if test $pkg_failed = yes; then
31655 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31656 _pkg_short_errors_supported=yes
31658 _pkg_short_errors_supported=no
31660 if test $_pkg_short_errors_supported = yes; then
31661 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31663 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31665 # Put the nasty error message in config.log where it belongs
31666 echo "$DIRECTFB_PKG_ERRORS" >&5
31669 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31670 echo "$as_me: error: DirectFB not found." >&2;}
31671 { (exit 1); exit 1; }; }
31674 elif test $pkg_failed = untried; then
31676 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31677 echo "$as_me: error: DirectFB not found." >&2;}
31678 { (exit 1); exit 1; }; }
31682 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31683 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31684 { echo "$as_me:$LINENO: result: yes" >&5
31685 echo "${ECHO_T}yes" >&6; }
31687 wxUSE_UNIVERSAL="yes"
31688 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31689 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31696 if test "$wxUSE_MICROWIN" = 1; then
31697 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31698 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31699 if test "x$MICROWINDOWS" = x ; then
31700 { echo "$as_me:$LINENO: result: not found" >&5
31701 echo "${ECHO_T}not found" >&6; }
31702 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31703 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31704 { (exit 1); exit 1; }; }
31706 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31707 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31710 if test -f $MICROWINDOWS/lib/libmwin.a; then
31711 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31712 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31714 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31715 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31716 { (exit 1); exit 1; }; }
31719 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31720 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31722 wxUSE_UNIVERSAL="yes"
31724 AFMINSTALL=afminstall
31726 GUIDIST=MICROWIN_DIST
31728 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31731 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31732 { echo "$as_me:$LINENO: checking for X" >&5
31733 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31736 # Check whether --with-x was given.
31737 if test "${with_x+set}" = set; then
31741 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31742 if test "x$with_x" = xno; then
31743 # The user explicitly disabled X.
31746 case $x_includes,$x_libraries in #(
31747 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31748 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31749 { (exit 1); exit 1; }; };; #(
31750 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31751 echo $ECHO_N "(cached) $ECHO_C" >&6
31753 # One or both of the vars are not set, and there is no cached value.
31754 ac_x_includes=no ac_x_libraries=no
31755 rm -f -r conftest.dir
31756 if mkdir conftest.dir; then
31758 cat >Imakefile <<'_ACEOF'
31760 @echo incroot='${INCROOT}'
31762 @echo usrlibdir='${USRLIBDIR}'
31764 @echo libdir='${LIBDIR}'
31766 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31767 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31768 for ac_var in incroot usrlibdir libdir; do
31769 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31771 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31772 for ac_extension in a so sl; do
31773 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31774 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31775 ac_im_usrlibdir=$ac_im_libdir; break
31778 # Screen out bogus values from the imake configuration. They are
31779 # bogus both because they are the default anyway, and because
31780 # using them would break gcc on systems where it needs fixed includes.
31781 case $ac_im_incroot in
31782 /usr/include) ac_x_includes= ;;
31783 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31785 case $ac_im_usrlibdir in
31786 /usr/lib | /lib) ;;
31787 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31791 rm -f -r conftest.dir
31794 # Standard set of common directories for X headers.
31795 # Check X11 before X11Rn because it is often a symlink to the current release.
31807 /usr/local/X11/include
31808 /usr/local/X11R6/include
31809 /usr/local/X11R5/include
31810 /usr/local/X11R4/include
31812 /usr/local/include/X11
31813 /usr/local/include/X11R6
31814 /usr/local/include/X11R5
31815 /usr/local/include/X11R4
31819 /usr/XFree86/include/X11
31823 /usr/unsupported/include
31824 /usr/athena/include
31825 /usr/local/x11r5/include
31826 /usr/lpp/Xamples/include
31828 /usr/openwin/include
31829 /usr/openwin/share/include'
31831 if test "$ac_x_includes" = no; then
31832 # Guess where to find include files, by looking for Xlib.h.
31833 # First, try using that file with no special directory specified.
31834 cat >conftest.$ac_ext <<_ACEOF
31837 cat confdefs.h >>conftest.$ac_ext
31838 cat >>conftest.$ac_ext <<_ACEOF
31839 /* end confdefs.h. */
31840 #include <X11/Xlib.h>
31842 if { (ac_try="$ac_cpp conftest.$ac_ext"
31843 case "(($ac_try" in
31844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31845 *) ac_try_echo=$ac_try;;
31847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31850 grep -v '^ *+' conftest.er1 >conftest.err
31852 cat conftest.err >&5
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); } >/dev/null && {
31855 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31856 test ! -s conftest.err
31858 # We can compile using X headers with no special include directory.
31861 echo "$as_me: failed program was:" >&5
31862 sed 's/^/| /' conftest.$ac_ext >&5
31864 for ac_dir in $ac_x_header_dirs; do
31865 if test -r "$ac_dir/X11/Xlib.h"; then
31866 ac_x_includes=$ac_dir
31872 rm -f conftest.err conftest.$ac_ext
31873 fi # $ac_x_includes = no
31875 if test "$ac_x_libraries" = no; then
31876 # Check for the libraries.
31877 # See if we find them without any special options.
31878 # Don't add to $LIBS permanently.
31881 cat >conftest.$ac_ext <<_ACEOF
31884 cat confdefs.h >>conftest.$ac_ext
31885 cat >>conftest.$ac_ext <<_ACEOF
31886 /* end confdefs.h. */
31887 #include <X11/Xlib.h>
31896 rm -f conftest.$ac_objext conftest$ac_exeext
31897 if { (ac_try="$ac_link"
31898 case "(($ac_try" in
31899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31900 *) ac_try_echo=$ac_try;;
31902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31903 (eval "$ac_link") 2>conftest.er1
31905 grep -v '^ *+' conftest.er1 >conftest.err
31907 cat conftest.err >&5
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); } && {
31910 test -z "$ac_c_werror_flag" ||
31911 test ! -s conftest.err
31912 } && test -s conftest$ac_exeext &&
31913 $as_test_x conftest$ac_exeext; then
31915 # We can link X programs with no special library path.
31918 echo "$as_me: failed program was:" >&5
31919 sed 's/^/| /' conftest.$ac_ext >&5
31922 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31924 # Don't even attempt the hair of trying to link an X program!
31925 for ac_extension in a so sl; do
31926 if test -r "$ac_dir/libX11.$ac_extension"; then
31927 ac_x_libraries=$ac_dir
31934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31935 conftest$ac_exeext conftest.$ac_ext
31936 fi # $ac_x_libraries = no
31938 case $ac_x_includes,$ac_x_libraries in #(
31939 no,* | *,no | *\'*)
31940 # Didn't find X, or a directory has "'" in its name.
31941 ac_cv_have_x="have_x=no";; #(
31943 # Record where we found X for the cache.
31944 ac_cv_have_x="have_x=yes\
31945 ac_x_includes='$ac_x_includes'\
31946 ac_x_libraries='$ac_x_libraries'"
31952 eval "$ac_cv_have_x"
31955 if test "$have_x" != yes; then
31956 { echo "$as_me:$LINENO: result: $have_x" >&5
31957 echo "${ECHO_T}$have_x" >&6; }
31960 # If each of the values was on the command line, it overrides each guess.
31961 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31962 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31963 # Update the cache value to reflect the command line values.
31964 ac_cv_have_x="have_x=yes\
31965 ac_x_includes='$x_includes'\
31966 ac_x_libraries='$x_libraries'"
31967 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31968 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31971 if test "$no_x" = yes; then
31972 # Not all programs may use this symbol, but it does not hurt to define it.
31974 cat >>confdefs.h <<\_ACEOF
31975 #define X_DISPLAY_MISSING 1
31978 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31980 if test -n "$x_includes"; then
31981 X_CFLAGS="$X_CFLAGS -I$x_includes"
31984 # It would also be nice to do this for all -L options, not just this one.
31985 if test -n "$x_libraries"; then
31986 X_LIBS="$X_LIBS -L$x_libraries"
31987 # For Solaris; some versions of Sun CC require a space after -R and
31988 # others require no space. Words are not sufficient . . . .
31989 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31990 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31991 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31992 ac_xsave_c_werror_flag=$ac_c_werror_flag
31993 ac_c_werror_flag=yes
31994 cat >conftest.$ac_ext <<_ACEOF
31997 cat confdefs.h >>conftest.$ac_ext
31998 cat >>conftest.$ac_ext <<_ACEOF
31999 /* end confdefs.h. */
32009 rm -f conftest.$ac_objext conftest$ac_exeext
32010 if { (ac_try="$ac_link"
32011 case "(($ac_try" in
32012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32013 *) ac_try_echo=$ac_try;;
32015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32016 (eval "$ac_link") 2>conftest.er1
32018 grep -v '^ *+' conftest.er1 >conftest.err
32020 cat conftest.err >&5
32021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32022 (exit $ac_status); } && {
32023 test -z "$ac_c_werror_flag" ||
32024 test ! -s conftest.err
32025 } && test -s conftest$ac_exeext &&
32026 $as_test_x conftest$ac_exeext; then
32027 { echo "$as_me:$LINENO: result: no" >&5
32028 echo "${ECHO_T}no" >&6; }
32029 X_LIBS="$X_LIBS -R$x_libraries"
32031 echo "$as_me: failed program was:" >&5
32032 sed 's/^/| /' conftest.$ac_ext >&5
32034 LIBS="$ac_xsave_LIBS -R $x_libraries"
32035 cat >conftest.$ac_ext <<_ACEOF
32038 cat confdefs.h >>conftest.$ac_ext
32039 cat >>conftest.$ac_ext <<_ACEOF
32040 /* end confdefs.h. */
32050 rm -f conftest.$ac_objext conftest$ac_exeext
32051 if { (ac_try="$ac_link"
32052 case "(($ac_try" in
32053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32054 *) ac_try_echo=$ac_try;;
32056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32057 (eval "$ac_link") 2>conftest.er1
32059 grep -v '^ *+' conftest.er1 >conftest.err
32061 cat conftest.err >&5
32062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32063 (exit $ac_status); } && {
32064 test -z "$ac_c_werror_flag" ||
32065 test ! -s conftest.err
32066 } && test -s conftest$ac_exeext &&
32067 $as_test_x conftest$ac_exeext; then
32068 { echo "$as_me:$LINENO: result: yes" >&5
32069 echo "${ECHO_T}yes" >&6; }
32070 X_LIBS="$X_LIBS -R $x_libraries"
32072 echo "$as_me: failed program was:" >&5
32073 sed 's/^/| /' conftest.$ac_ext >&5
32075 { echo "$as_me:$LINENO: result: neither works" >&5
32076 echo "${ECHO_T}neither works" >&6; }
32079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32080 conftest$ac_exeext conftest.$ac_ext
32083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32084 conftest$ac_exeext conftest.$ac_ext
32085 ac_c_werror_flag=$ac_xsave_c_werror_flag
32086 LIBS=$ac_xsave_LIBS
32089 # Check for system-dependent libraries X programs must link with.
32090 # Do this before checking for the system-independent R6 libraries
32091 # (-lICE), since we may need -lsocket or whatever for X linking.
32093 if test "$ISC" = yes; then
32094 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32096 # Martyn Johnson says this is needed for Ultrix, if the X
32097 # libraries were built with DECnet support. And Karl Berry says
32098 # the Alpha needs dnet_stub (dnet does not exist).
32099 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32100 cat >conftest.$ac_ext <<_ACEOF
32103 cat confdefs.h >>conftest.$ac_ext
32104 cat >>conftest.$ac_ext <<_ACEOF
32105 /* end confdefs.h. */
32107 /* Override any GCC internal prototype to avoid an error.
32108 Use char because int might match the return type of a GCC
32109 builtin and then its argument prototype would still apply. */
32113 char XOpenDisplay ();
32117 return XOpenDisplay ();
32122 rm -f conftest.$ac_objext conftest$ac_exeext
32123 if { (ac_try="$ac_link"
32124 case "(($ac_try" in
32125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32126 *) ac_try_echo=$ac_try;;
32128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32129 (eval "$ac_link") 2>conftest.er1
32131 grep -v '^ *+' conftest.er1 >conftest.err
32133 cat conftest.err >&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); } && {
32136 test -z "$ac_c_werror_flag" ||
32137 test ! -s conftest.err
32138 } && test -s conftest$ac_exeext &&
32139 $as_test_x conftest$ac_exeext; then
32142 echo "$as_me: failed program was:" >&5
32143 sed 's/^/| /' conftest.$ac_ext >&5
32145 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32146 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32147 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32148 echo $ECHO_N "(cached) $ECHO_C" >&6
32150 ac_check_lib_save_LIBS=$LIBS
32151 LIBS="-ldnet $LIBS"
32152 cat >conftest.$ac_ext <<_ACEOF
32155 cat confdefs.h >>conftest.$ac_ext
32156 cat >>conftest.$ac_ext <<_ACEOF
32157 /* end confdefs.h. */
32159 /* Override any GCC internal prototype to avoid an error.
32160 Use char because int might match the return type of a GCC
32161 builtin and then its argument prototype would still apply. */
32169 return dnet_ntoa ();
32174 rm -f conftest.$ac_objext conftest$ac_exeext
32175 if { (ac_try="$ac_link"
32176 case "(($ac_try" in
32177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32178 *) ac_try_echo=$ac_try;;
32180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32181 (eval "$ac_link") 2>conftest.er1
32183 grep -v '^ *+' conftest.er1 >conftest.err
32185 cat conftest.err >&5
32186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32187 (exit $ac_status); } && {
32188 test -z "$ac_c_werror_flag" ||
32189 test ! -s conftest.err
32190 } && test -s conftest$ac_exeext &&
32191 $as_test_x conftest$ac_exeext; then
32192 ac_cv_lib_dnet_dnet_ntoa=yes
32194 echo "$as_me: failed program was:" >&5
32195 sed 's/^/| /' conftest.$ac_ext >&5
32197 ac_cv_lib_dnet_dnet_ntoa=no
32200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32201 conftest$ac_exeext conftest.$ac_ext
32202 LIBS=$ac_check_lib_save_LIBS
32204 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32205 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32206 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32207 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32210 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32211 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32212 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32213 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32214 echo $ECHO_N "(cached) $ECHO_C" >&6
32216 ac_check_lib_save_LIBS=$LIBS
32217 LIBS="-ldnet_stub $LIBS"
32218 cat >conftest.$ac_ext <<_ACEOF
32221 cat confdefs.h >>conftest.$ac_ext
32222 cat >>conftest.$ac_ext <<_ACEOF
32223 /* end confdefs.h. */
32225 /* Override any GCC internal prototype to avoid an error.
32226 Use char because int might match the return type of a GCC
32227 builtin and then its argument prototype would still apply. */
32235 return dnet_ntoa ();
32240 rm -f conftest.$ac_objext conftest$ac_exeext
32241 if { (ac_try="$ac_link"
32242 case "(($ac_try" in
32243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32244 *) ac_try_echo=$ac_try;;
32246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32247 (eval "$ac_link") 2>conftest.er1
32249 grep -v '^ *+' conftest.er1 >conftest.err
32251 cat conftest.err >&5
32252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32253 (exit $ac_status); } && {
32254 test -z "$ac_c_werror_flag" ||
32255 test ! -s conftest.err
32256 } && test -s conftest$ac_exeext &&
32257 $as_test_x conftest$ac_exeext; then
32258 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32260 echo "$as_me: failed program was:" >&5
32261 sed 's/^/| /' conftest.$ac_ext >&5
32263 ac_cv_lib_dnet_stub_dnet_ntoa=no
32266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32267 conftest$ac_exeext conftest.$ac_ext
32268 LIBS=$ac_check_lib_save_LIBS
32270 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32271 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32272 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32273 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32280 conftest$ac_exeext conftest.$ac_ext
32281 LIBS="$ac_xsave_LIBS"
32283 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32284 # to get the SysV transport functions.
32285 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32287 # The nsl library prevents programs from opening the X display
32288 # on Irix 5.2, according to T.E. Dickey.
32289 # The functions gethostbyname, getservbyname, and inet_addr are
32290 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32291 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32292 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32293 if test "${ac_cv_func_gethostbyname+set}" = set; then
32294 echo $ECHO_N "(cached) $ECHO_C" >&6
32296 cat >conftest.$ac_ext <<_ACEOF
32299 cat confdefs.h >>conftest.$ac_ext
32300 cat >>conftest.$ac_ext <<_ACEOF
32301 /* end confdefs.h. */
32302 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32304 #define gethostbyname innocuous_gethostbyname
32306 /* System header to define __stub macros and hopefully few prototypes,
32307 which can conflict with char gethostbyname (); below.
32308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32309 <limits.h> exists even on freestanding compilers. */
32312 # include <limits.h>
32314 # include <assert.h>
32317 #undef gethostbyname
32319 /* Override any GCC internal prototype to avoid an error.
32320 Use char because int might match the return type of a GCC
32321 builtin and then its argument prototype would still apply. */
32325 char gethostbyname ();
32326 /* The GNU C library defines this for functions which it implements
32327 to always fail with ENOSYS. Some functions are actually named
32328 something starting with __ and the normal name is an alias. */
32329 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32336 return gethostbyname ();
32341 rm -f conftest.$ac_objext conftest$ac_exeext
32342 if { (ac_try="$ac_link"
32343 case "(($ac_try" in
32344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32345 *) ac_try_echo=$ac_try;;
32347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32348 (eval "$ac_link") 2>conftest.er1
32350 grep -v '^ *+' conftest.er1 >conftest.err
32352 cat conftest.err >&5
32353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32354 (exit $ac_status); } && {
32355 test -z "$ac_c_werror_flag" ||
32356 test ! -s conftest.err
32357 } && test -s conftest$ac_exeext &&
32358 $as_test_x conftest$ac_exeext; then
32359 ac_cv_func_gethostbyname=yes
32361 echo "$as_me: failed program was:" >&5
32362 sed 's/^/| /' conftest.$ac_ext >&5
32364 ac_cv_func_gethostbyname=no
32367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32368 conftest$ac_exeext conftest.$ac_ext
32370 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32371 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32373 if test $ac_cv_func_gethostbyname = no; then
32374 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32375 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32376 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32377 echo $ECHO_N "(cached) $ECHO_C" >&6
32379 ac_check_lib_save_LIBS=$LIBS
32381 cat >conftest.$ac_ext <<_ACEOF
32384 cat confdefs.h >>conftest.$ac_ext
32385 cat >>conftest.$ac_ext <<_ACEOF
32386 /* end confdefs.h. */
32388 /* Override any GCC internal prototype to avoid an error.
32389 Use char because int might match the return type of a GCC
32390 builtin and then its argument prototype would still apply. */
32394 char gethostbyname ();
32398 return gethostbyname ();
32403 rm -f conftest.$ac_objext conftest$ac_exeext
32404 if { (ac_try="$ac_link"
32405 case "(($ac_try" in
32406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32407 *) ac_try_echo=$ac_try;;
32409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32410 (eval "$ac_link") 2>conftest.er1
32412 grep -v '^ *+' conftest.er1 >conftest.err
32414 cat conftest.err >&5
32415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32416 (exit $ac_status); } && {
32417 test -z "$ac_c_werror_flag" ||
32418 test ! -s conftest.err
32419 } && test -s conftest$ac_exeext &&
32420 $as_test_x conftest$ac_exeext; then
32421 ac_cv_lib_nsl_gethostbyname=yes
32423 echo "$as_me: failed program was:" >&5
32424 sed 's/^/| /' conftest.$ac_ext >&5
32426 ac_cv_lib_nsl_gethostbyname=no
32429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32430 conftest$ac_exeext conftest.$ac_ext
32431 LIBS=$ac_check_lib_save_LIBS
32433 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32434 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32435 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32436 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32439 if test $ac_cv_lib_nsl_gethostbyname = no; then
32440 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32441 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32442 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32443 echo $ECHO_N "(cached) $ECHO_C" >&6
32445 ac_check_lib_save_LIBS=$LIBS
32447 cat >conftest.$ac_ext <<_ACEOF
32450 cat confdefs.h >>conftest.$ac_ext
32451 cat >>conftest.$ac_ext <<_ACEOF
32452 /* end confdefs.h. */
32454 /* Override any GCC internal prototype to avoid an error.
32455 Use char because int might match the return type of a GCC
32456 builtin and then its argument prototype would still apply. */
32460 char gethostbyname ();
32464 return gethostbyname ();
32469 rm -f conftest.$ac_objext conftest$ac_exeext
32470 if { (ac_try="$ac_link"
32471 case "(($ac_try" in
32472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32473 *) ac_try_echo=$ac_try;;
32475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32476 (eval "$ac_link") 2>conftest.er1
32478 grep -v '^ *+' conftest.er1 >conftest.err
32480 cat conftest.err >&5
32481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482 (exit $ac_status); } && {
32483 test -z "$ac_c_werror_flag" ||
32484 test ! -s conftest.err
32485 } && test -s conftest$ac_exeext &&
32486 $as_test_x conftest$ac_exeext; then
32487 ac_cv_lib_bsd_gethostbyname=yes
32489 echo "$as_me: failed program was:" >&5
32490 sed 's/^/| /' conftest.$ac_ext >&5
32492 ac_cv_lib_bsd_gethostbyname=no
32495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32496 conftest$ac_exeext conftest.$ac_ext
32497 LIBS=$ac_check_lib_save_LIBS
32499 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32500 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32501 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32502 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32508 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32509 # socket/setsockopt and other routines are undefined under SCO ODT
32510 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32511 # on later versions), says Simon Leinen: it contains gethostby*
32512 # variants that don't use the name server (or something). -lsocket
32513 # must be given before -lnsl if both are needed. We assume that
32514 # if connect needs -lnsl, so does gethostbyname.
32515 { echo "$as_me:$LINENO: checking for connect" >&5
32516 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32517 if test "${ac_cv_func_connect+set}" = set; then
32518 echo $ECHO_N "(cached) $ECHO_C" >&6
32520 cat >conftest.$ac_ext <<_ACEOF
32523 cat confdefs.h >>conftest.$ac_ext
32524 cat >>conftest.$ac_ext <<_ACEOF
32525 /* end confdefs.h. */
32526 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32528 #define connect innocuous_connect
32530 /* System header to define __stub macros and hopefully few prototypes,
32531 which can conflict with char connect (); below.
32532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32533 <limits.h> exists even on freestanding compilers. */
32536 # include <limits.h>
32538 # include <assert.h>
32543 /* Override any GCC internal prototype to avoid an error.
32544 Use char because int might match the return type of a GCC
32545 builtin and then its argument prototype would still apply. */
32550 /* The GNU C library defines this for functions which it implements
32551 to always fail with ENOSYS. Some functions are actually named
32552 something starting with __ and the normal name is an alias. */
32553 #if defined __stub_connect || defined __stub___connect
32565 rm -f conftest.$ac_objext conftest$ac_exeext
32566 if { (ac_try="$ac_link"
32567 case "(($ac_try" in
32568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32569 *) ac_try_echo=$ac_try;;
32571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32572 (eval "$ac_link") 2>conftest.er1
32574 grep -v '^ *+' conftest.er1 >conftest.err
32576 cat conftest.err >&5
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); } && {
32579 test -z "$ac_c_werror_flag" ||
32580 test ! -s conftest.err
32581 } && test -s conftest$ac_exeext &&
32582 $as_test_x conftest$ac_exeext; then
32583 ac_cv_func_connect=yes
32585 echo "$as_me: failed program was:" >&5
32586 sed 's/^/| /' conftest.$ac_ext >&5
32588 ac_cv_func_connect=no
32591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32592 conftest$ac_exeext conftest.$ac_ext
32594 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32595 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32597 if test $ac_cv_func_connect = no; then
32598 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32599 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32600 if test "${ac_cv_lib_socket_connect+set}" = set; then
32601 echo $ECHO_N "(cached) $ECHO_C" >&6
32603 ac_check_lib_save_LIBS=$LIBS
32604 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32605 cat >conftest.$ac_ext <<_ACEOF
32608 cat confdefs.h >>conftest.$ac_ext
32609 cat >>conftest.$ac_ext <<_ACEOF
32610 /* end confdefs.h. */
32612 /* Override any GCC internal prototype to avoid an error.
32613 Use char because int might match the return type of a GCC
32614 builtin and then its argument prototype would still apply. */
32627 rm -f conftest.$ac_objext conftest$ac_exeext
32628 if { (ac_try="$ac_link"
32629 case "(($ac_try" in
32630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32631 *) ac_try_echo=$ac_try;;
32633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32634 (eval "$ac_link") 2>conftest.er1
32636 grep -v '^ *+' conftest.er1 >conftest.err
32638 cat conftest.err >&5
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); } && {
32641 test -z "$ac_c_werror_flag" ||
32642 test ! -s conftest.err
32643 } && test -s conftest$ac_exeext &&
32644 $as_test_x conftest$ac_exeext; then
32645 ac_cv_lib_socket_connect=yes
32647 echo "$as_me: failed program was:" >&5
32648 sed 's/^/| /' conftest.$ac_ext >&5
32650 ac_cv_lib_socket_connect=no
32653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32654 conftest$ac_exeext conftest.$ac_ext
32655 LIBS=$ac_check_lib_save_LIBS
32657 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32658 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32659 if test $ac_cv_lib_socket_connect = yes; then
32660 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32665 # Guillermo Gomez says -lposix is necessary on A/UX.
32666 { echo "$as_me:$LINENO: checking for remove" >&5
32667 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32668 if test "${ac_cv_func_remove+set}" = set; then
32669 echo $ECHO_N "(cached) $ECHO_C" >&6
32671 cat >conftest.$ac_ext <<_ACEOF
32674 cat confdefs.h >>conftest.$ac_ext
32675 cat >>conftest.$ac_ext <<_ACEOF
32676 /* end confdefs.h. */
32677 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32679 #define remove innocuous_remove
32681 /* System header to define __stub macros and hopefully few prototypes,
32682 which can conflict with char remove (); below.
32683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32684 <limits.h> exists even on freestanding compilers. */
32687 # include <limits.h>
32689 # include <assert.h>
32694 /* Override any GCC internal prototype to avoid an error.
32695 Use char because int might match the return type of a GCC
32696 builtin and then its argument prototype would still apply. */
32701 /* The GNU C library defines this for functions which it implements
32702 to always fail with ENOSYS. Some functions are actually named
32703 something starting with __ and the normal name is an alias. */
32704 #if defined __stub_remove || defined __stub___remove
32716 rm -f conftest.$ac_objext conftest$ac_exeext
32717 if { (ac_try="$ac_link"
32718 case "(($ac_try" in
32719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32720 *) ac_try_echo=$ac_try;;
32722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32723 (eval "$ac_link") 2>conftest.er1
32725 grep -v '^ *+' conftest.er1 >conftest.err
32727 cat conftest.err >&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); } && {
32730 test -z "$ac_c_werror_flag" ||
32731 test ! -s conftest.err
32732 } && test -s conftest$ac_exeext &&
32733 $as_test_x conftest$ac_exeext; then
32734 ac_cv_func_remove=yes
32736 echo "$as_me: failed program was:" >&5
32737 sed 's/^/| /' conftest.$ac_ext >&5
32739 ac_cv_func_remove=no
32742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32743 conftest$ac_exeext conftest.$ac_ext
32745 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32746 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32748 if test $ac_cv_func_remove = no; then
32749 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32750 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32751 if test "${ac_cv_lib_posix_remove+set}" = set; then
32752 echo $ECHO_N "(cached) $ECHO_C" >&6
32754 ac_check_lib_save_LIBS=$LIBS
32755 LIBS="-lposix $LIBS"
32756 cat >conftest.$ac_ext <<_ACEOF
32759 cat confdefs.h >>conftest.$ac_ext
32760 cat >>conftest.$ac_ext <<_ACEOF
32761 /* end confdefs.h. */
32763 /* Override any GCC internal prototype to avoid an error.
32764 Use char because int might match the return type of a GCC
32765 builtin and then its argument prototype would still apply. */
32778 rm -f conftest.$ac_objext conftest$ac_exeext
32779 if { (ac_try="$ac_link"
32780 case "(($ac_try" in
32781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32782 *) ac_try_echo=$ac_try;;
32784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32785 (eval "$ac_link") 2>conftest.er1
32787 grep -v '^ *+' conftest.er1 >conftest.err
32789 cat conftest.err >&5
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); } && {
32792 test -z "$ac_c_werror_flag" ||
32793 test ! -s conftest.err
32794 } && test -s conftest$ac_exeext &&
32795 $as_test_x conftest$ac_exeext; then
32796 ac_cv_lib_posix_remove=yes
32798 echo "$as_me: failed program was:" >&5
32799 sed 's/^/| /' conftest.$ac_ext >&5
32801 ac_cv_lib_posix_remove=no
32804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32805 conftest$ac_exeext conftest.$ac_ext
32806 LIBS=$ac_check_lib_save_LIBS
32808 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32809 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32810 if test $ac_cv_lib_posix_remove = yes; then
32811 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32816 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32817 { echo "$as_me:$LINENO: checking for shmat" >&5
32818 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32819 if test "${ac_cv_func_shmat+set}" = set; then
32820 echo $ECHO_N "(cached) $ECHO_C" >&6
32822 cat >conftest.$ac_ext <<_ACEOF
32825 cat confdefs.h >>conftest.$ac_ext
32826 cat >>conftest.$ac_ext <<_ACEOF
32827 /* end confdefs.h. */
32828 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32830 #define shmat innocuous_shmat
32832 /* System header to define __stub macros and hopefully few prototypes,
32833 which can conflict with char shmat (); below.
32834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32835 <limits.h> exists even on freestanding compilers. */
32838 # include <limits.h>
32840 # include <assert.h>
32845 /* Override any GCC internal prototype to avoid an error.
32846 Use char because int might match the return type of a GCC
32847 builtin and then its argument prototype would still apply. */
32852 /* The GNU C library defines this for functions which it implements
32853 to always fail with ENOSYS. Some functions are actually named
32854 something starting with __ and the normal name is an alias. */
32855 #if defined __stub_shmat || defined __stub___shmat
32867 rm -f conftest.$ac_objext conftest$ac_exeext
32868 if { (ac_try="$ac_link"
32869 case "(($ac_try" in
32870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32871 *) ac_try_echo=$ac_try;;
32873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32874 (eval "$ac_link") 2>conftest.er1
32876 grep -v '^ *+' conftest.er1 >conftest.err
32878 cat conftest.err >&5
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); } && {
32881 test -z "$ac_c_werror_flag" ||
32882 test ! -s conftest.err
32883 } && test -s conftest$ac_exeext &&
32884 $as_test_x conftest$ac_exeext; then
32885 ac_cv_func_shmat=yes
32887 echo "$as_me: failed program was:" >&5
32888 sed 's/^/| /' conftest.$ac_ext >&5
32890 ac_cv_func_shmat=no
32893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32894 conftest$ac_exeext conftest.$ac_ext
32896 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32897 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32899 if test $ac_cv_func_shmat = no; then
32900 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32901 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32902 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32903 echo $ECHO_N "(cached) $ECHO_C" >&6
32905 ac_check_lib_save_LIBS=$LIBS
32907 cat >conftest.$ac_ext <<_ACEOF
32910 cat confdefs.h >>conftest.$ac_ext
32911 cat >>conftest.$ac_ext <<_ACEOF
32912 /* end confdefs.h. */
32914 /* Override any GCC internal prototype to avoid an error.
32915 Use char because int might match the return type of a GCC
32916 builtin and then its argument prototype would still apply. */
32929 rm -f conftest.$ac_objext conftest$ac_exeext
32930 if { (ac_try="$ac_link"
32931 case "(($ac_try" in
32932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32933 *) ac_try_echo=$ac_try;;
32935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32936 (eval "$ac_link") 2>conftest.er1
32938 grep -v '^ *+' conftest.er1 >conftest.err
32940 cat conftest.err >&5
32941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942 (exit $ac_status); } && {
32943 test -z "$ac_c_werror_flag" ||
32944 test ! -s conftest.err
32945 } && test -s conftest$ac_exeext &&
32946 $as_test_x conftest$ac_exeext; then
32947 ac_cv_lib_ipc_shmat=yes
32949 echo "$as_me: failed program was:" >&5
32950 sed 's/^/| /' conftest.$ac_ext >&5
32952 ac_cv_lib_ipc_shmat=no
32955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32956 conftest$ac_exeext conftest.$ac_ext
32957 LIBS=$ac_check_lib_save_LIBS
32959 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32960 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32961 if test $ac_cv_lib_ipc_shmat = yes; then
32962 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32968 # Check for libraries that X11R6 Xt/Xaw programs need.
32969 ac_save_LDFLAGS=$LDFLAGS
32970 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32971 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32972 # check for ICE first), but we must link in the order -lSM -lICE or
32973 # we get undefined symbols. So assume we have SM if we have ICE.
32974 # These have to be linked with before -lX11, unlike the other
32975 # libraries we check for below, so use a different variable.
32976 # John Interrante, Karl Berry
32977 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32978 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32979 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32980 echo $ECHO_N "(cached) $ECHO_C" >&6
32982 ac_check_lib_save_LIBS=$LIBS
32983 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32984 cat >conftest.$ac_ext <<_ACEOF
32987 cat confdefs.h >>conftest.$ac_ext
32988 cat >>conftest.$ac_ext <<_ACEOF
32989 /* end confdefs.h. */
32991 /* Override any GCC internal prototype to avoid an error.
32992 Use char because int might match the return type of a GCC
32993 builtin and then its argument prototype would still apply. */
32997 char IceConnectionNumber ();
33001 return IceConnectionNumber ();
33006 rm -f conftest.$ac_objext conftest$ac_exeext
33007 if { (ac_try="$ac_link"
33008 case "(($ac_try" in
33009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33010 *) ac_try_echo=$ac_try;;
33012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33013 (eval "$ac_link") 2>conftest.er1
33015 grep -v '^ *+' conftest.er1 >conftest.err
33017 cat conftest.err >&5
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); } && {
33020 test -z "$ac_c_werror_flag" ||
33021 test ! -s conftest.err
33022 } && test -s conftest$ac_exeext &&
33023 $as_test_x conftest$ac_exeext; then
33024 ac_cv_lib_ICE_IceConnectionNumber=yes
33026 echo "$as_me: failed program was:" >&5
33027 sed 's/^/| /' conftest.$ac_ext >&5
33029 ac_cv_lib_ICE_IceConnectionNumber=no
33032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33033 conftest$ac_exeext conftest.$ac_ext
33034 LIBS=$ac_check_lib_save_LIBS
33036 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33037 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33038 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33039 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33042 LDFLAGS=$ac_save_LDFLAGS
33047 if test "$no_x" = "yes"; then
33048 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33049 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33050 { (exit 1); exit 1; }; }
33053 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33054 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33055 AFMINSTALL=afminstall
33056 COMPILED_X_PROGRAM=0
33060 if test "$wxUSE_X11" = 1; then
33061 if test "$wxUSE_NANOX" = "yes"; then
33062 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33063 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33064 if test "x$MICROWIN" = x ; then
33065 { echo "$as_me:$LINENO: result: not found" >&5
33066 echo "${ECHO_T}not found" >&6; }
33067 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33068 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33069 { (exit 1); exit 1; }; }
33071 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33072 echo "${ECHO_T}$MICROWIN" >&6; }
33073 cat >>confdefs.h <<\_ACEOF
33074 #define wxUSE_NANOX 1
33080 if test "$wxUSE_UNICODE" = "yes"; then
33083 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33084 if test -n "$ac_tool_prefix"; then
33085 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33086 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33089 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33090 echo $ECHO_N "(cached) $ECHO_C" >&6
33092 case $PKG_CONFIG in
33094 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33098 for as_dir in $PATH
33101 test -z "$as_dir" && as_dir=.
33102 for ac_exec_ext in '' $ac_executable_extensions; do
33103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33104 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33115 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33116 if test -n "$PKG_CONFIG"; then
33117 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33118 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33120 { echo "$as_me:$LINENO: result: no" >&5
33121 echo "${ECHO_T}no" >&6; }
33126 if test -z "$ac_cv_path_PKG_CONFIG"; then
33127 ac_pt_PKG_CONFIG=$PKG_CONFIG
33128 # Extract the first word of "pkg-config", so it can be a program name with args.
33129 set dummy pkg-config; ac_word=$2
33130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33132 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33133 echo $ECHO_N "(cached) $ECHO_C" >&6
33135 case $ac_pt_PKG_CONFIG in
33137 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33141 for as_dir in $PATH
33144 test -z "$as_dir" && as_dir=.
33145 for ac_exec_ext in '' $ac_executable_extensions; do
33146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33147 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33158 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33159 if test -n "$ac_pt_PKG_CONFIG"; then
33160 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33161 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33163 { echo "$as_me:$LINENO: result: no" >&5
33164 echo "${ECHO_T}no" >&6; }
33167 if test "x$ac_pt_PKG_CONFIG" = x; then
33170 case $cross_compiling:$ac_tool_warned in
33172 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33173 whose name does not start with the host triplet. If you think this
33174 configuration is useful to you, please write to autoconf@gnu.org." >&5
33175 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33176 whose name does not start with the host triplet. If you think this
33177 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33178 ac_tool_warned=yes ;;
33180 PKG_CONFIG=$ac_pt_PKG_CONFIG
33183 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33187 if test -n "$PKG_CONFIG"; then
33188 _pkg_min_version=0.9.0
33189 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33190 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33191 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33192 { echo "$as_me:$LINENO: result: yes" >&5
33193 echo "${ECHO_T}yes" >&6; }
33195 { echo "$as_me:$LINENO: result: no" >&5
33196 echo "${ECHO_T}no" >&6; }
33204 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33205 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33207 if test -n "$PKG_CONFIG"; then
33208 if test -n "$PANGOX_CFLAGS"; then
33209 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33211 if test -n "$PKG_CONFIG" && \
33212 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33213 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); }; then
33217 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33225 if test -n "$PKG_CONFIG"; then
33226 if test -n "$PANGOX_LIBS"; then
33227 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33229 if test -n "$PKG_CONFIG" && \
33230 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33231 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 (exit $ac_status); }; then
33235 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33246 if test $pkg_failed = yes; then
33248 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33249 _pkg_short_errors_supported=yes
33251 _pkg_short_errors_supported=no
33253 if test $_pkg_short_errors_supported = yes; then
33254 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33256 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33258 # Put the nasty error message in config.log where it belongs
33259 echo "$PANGOX_PKG_ERRORS" >&5
33262 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33263 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33264 { (exit 1); exit 1; }; }
33267 elif test $pkg_failed = untried; then
33269 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33270 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33271 { (exit 1); exit 1; }; }
33275 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33276 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33277 { echo "$as_me:$LINENO: result: yes" >&5
33278 echo "${ECHO_T}yes" >&6; }
33280 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33281 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33282 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33287 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33288 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33290 if test -n "$PKG_CONFIG"; then
33291 if test -n "$PANGOFT2_CFLAGS"; then
33292 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33294 if test -n "$PKG_CONFIG" && \
33295 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33296 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33299 (exit $ac_status); }; then
33300 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33308 if test -n "$PKG_CONFIG"; then
33309 if test -n "$PANGOFT2_LIBS"; then
33310 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33312 if test -n "$PKG_CONFIG" && \
33313 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33314 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33317 (exit $ac_status); }; then
33318 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33329 if test $pkg_failed = yes; then
33331 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33332 _pkg_short_errors_supported=yes
33334 _pkg_short_errors_supported=no
33336 if test $_pkg_short_errors_supported = yes; then
33337 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33339 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33341 # Put the nasty error message in config.log where it belongs
33342 echo "$PANGOFT2_PKG_ERRORS" >&5
33345 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33346 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33347 wxUSE_PRINTING_ARCHITECTURE="no"
33350 elif test $pkg_failed = untried; then
33352 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33353 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33354 wxUSE_PRINTING_ARCHITECTURE="no"
33358 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33359 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33360 { echo "$as_me:$LINENO: result: yes" >&5
33361 echo "${ECHO_T}yes" >&6; }
33363 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33364 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33365 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33370 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33371 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33373 if test -n "$PKG_CONFIG"; then
33374 if test -n "$PANGOXFT_CFLAGS"; then
33375 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33377 if test -n "$PKG_CONFIG" && \
33378 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33379 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; then
33383 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33391 if test -n "$PKG_CONFIG"; then
33392 if test -n "$PANGOXFT_LIBS"; then
33393 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33395 if test -n "$PKG_CONFIG" && \
33396 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33397 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); }; then
33401 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33412 if test $pkg_failed = yes; then
33414 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33415 _pkg_short_errors_supported=yes
33417 _pkg_short_errors_supported=no
33419 if test $_pkg_short_errors_supported = yes; then
33420 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33422 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33424 # Put the nasty error message in config.log where it belongs
33425 echo "$PANGOXFT_PKG_ERRORS" >&5
33428 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33429 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33432 elif test $pkg_failed = untried; then
33434 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33435 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33439 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33440 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33441 { echo "$as_me:$LINENO: result: yes" >&5
33442 echo "${ECHO_T}yes" >&6; }
33444 cat >>confdefs.h <<\_ACEOF
33445 #define HAVE_PANGO_XFT 1
33448 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33449 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33450 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33454 LIBS="$LIBS $PANGOX_LIBS"
33456 for ac_func in pango_font_family_is_monospace
33458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33459 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33461 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33462 echo $ECHO_N "(cached) $ECHO_C" >&6
33464 cat >conftest.$ac_ext <<_ACEOF
33467 cat confdefs.h >>conftest.$ac_ext
33468 cat >>conftest.$ac_ext <<_ACEOF
33469 /* end confdefs.h. */
33470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33472 #define $ac_func innocuous_$ac_func
33474 /* System header to define __stub macros and hopefully few prototypes,
33475 which can conflict with char $ac_func (); below.
33476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33477 <limits.h> exists even on freestanding compilers. */
33480 # include <limits.h>
33482 # include <assert.h>
33487 /* Override any GCC internal prototype to avoid an error.
33488 Use char because int might match the return type of a GCC
33489 builtin and then its argument prototype would still apply. */
33494 /* The GNU C library defines this for functions which it implements
33495 to always fail with ENOSYS. Some functions are actually named
33496 something starting with __ and the normal name is an alias. */
33497 #if defined __stub_$ac_func || defined __stub___$ac_func
33504 return $ac_func ();
33509 rm -f conftest.$ac_objext conftest$ac_exeext
33510 if { (ac_try="$ac_link"
33511 case "(($ac_try" in
33512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33513 *) ac_try_echo=$ac_try;;
33515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33516 (eval "$ac_link") 2>conftest.er1
33518 grep -v '^ *+' conftest.er1 >conftest.err
33520 cat conftest.err >&5
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); } && {
33523 test -z "$ac_c_werror_flag" ||
33524 test ! -s conftest.err
33525 } && test -s conftest$ac_exeext &&
33526 $as_test_x conftest$ac_exeext; then
33527 eval "$as_ac_var=yes"
33529 echo "$as_me: failed program was:" >&5
33530 sed 's/^/| /' conftest.$ac_ext >&5
33532 eval "$as_ac_var=no"
33535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33536 conftest$ac_exeext conftest.$ac_ext
33538 ac_res=`eval echo '${'$as_ac_var'}'`
33539 { echo "$as_me:$LINENO: result: $ac_res" >&5
33540 echo "${ECHO_T}$ac_res" >&6; }
33541 if test `eval echo '${'$as_ac_var'}'` = yes; then
33542 cat >>confdefs.h <<_ACEOF
33543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33552 wxUSE_UNIVERSAL="yes"
33554 if test "$wxUSE_NANOX" = "yes"; then
33555 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33556 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"
33557 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33559 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33566 if test "$wxUSE_MOTIF" = 1; then
33567 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33568 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33571 for ac_dir in $SEARCH_INCLUDE /usr/include
33573 if test -f "$ac_dir/Xm/Xm.h"; then
33574 ac_find_includes=$ac_dir
33579 if test "$ac_find_includes" != "" ; then
33580 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33581 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33583 if test "x$ac_find_includes" = "x/usr/include"; then
33584 ac_path_to_include=""
33586 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33588 if test $result = 0; then
33589 ac_path_to_include=""
33591 ac_path_to_include=" -I$ac_find_includes"
33595 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33597 save_CFLAGS=$CFLAGS
33598 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33600 cat >conftest.$ac_ext <<_ACEOF
33603 cat confdefs.h >>conftest.$ac_ext
33604 cat >>conftest.$ac_ext <<_ACEOF
33605 /* end confdefs.h. */
33614 version = xmUseVersion;
33620 rm -f conftest.$ac_objext
33621 if { (ac_try="$ac_compile"
33622 case "(($ac_try" in
33623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33624 *) ac_try_echo=$ac_try;;
33626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33627 (eval "$ac_compile") 2>conftest.er1
33629 grep -v '^ *+' conftest.er1 >conftest.err
33631 cat conftest.err >&5
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); } && {
33634 test -z "$ac_c_werror_flag" ||
33635 test ! -s conftest.err
33636 } && test -s conftest.$ac_objext; then
33638 { echo "$as_me:$LINENO: result: found in default search path" >&5
33639 echo "${ECHO_T}found in default search path" >&6; }
33640 COMPILED_X_PROGRAM=1
33643 echo "$as_me: failed program was:" >&5
33644 sed 's/^/| /' conftest.$ac_ext >&5
33647 { echo "$as_me:$LINENO: result: no" >&5
33648 echo "${ECHO_T}no" >&6; }
33649 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33650 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33651 { (exit 1); exit 1; }; }
33656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658 CFLAGS=$save_CFLAGS
33662 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33663 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33666 for ac_dir in $SEARCH_LIB
33668 for ac_extension in a so sl dylib dll.a; do
33669 if test -f "$ac_dir/libXm.$ac_extension"; then
33670 ac_find_libraries=$ac_dir
33677 if test "x$ac_find_libraries" != "x" ; then
33678 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33679 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33682 if test "$ac_find_libraries" = "default location"; then
33685 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33687 if test $result = 0; then
33690 ac_path_to_link=" -L$ac_find_libraries"
33694 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33696 save_CFLAGS=$CFLAGS
33697 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33699 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33701 cat >conftest.$ac_ext <<_ACEOF
33704 cat confdefs.h >>conftest.$ac_ext
33705 cat >>conftest.$ac_ext <<_ACEOF
33706 /* end confdefs.h. */
33715 version = xmUseVersion;
33721 rm -f conftest.$ac_objext conftest$ac_exeext
33722 if { (ac_try="$ac_link"
33723 case "(($ac_try" in
33724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33725 *) ac_try_echo=$ac_try;;
33727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33728 (eval "$ac_link") 2>conftest.er1
33730 grep -v '^ *+' conftest.er1 >conftest.err
33732 cat conftest.err >&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); } && {
33735 test -z "$ac_c_werror_flag" ||
33736 test ! -s conftest.err
33737 } && test -s conftest$ac_exeext &&
33738 $as_test_x conftest$ac_exeext; then
33740 { echo "$as_me:$LINENO: result: found in default search path" >&5
33741 echo "${ECHO_T}found in default search path" >&6; }
33742 COMPILED_X_PROGRAM=1
33745 echo "$as_me: failed program was:" >&5
33746 sed 's/^/| /' conftest.$ac_ext >&5
33749 { echo "$as_me:$LINENO: result: no" >&5
33750 echo "${ECHO_T}no" >&6; }
33751 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33752 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33753 { (exit 1); exit 1; }; }
33758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33759 conftest$ac_exeext conftest.$ac_ext
33761 CFLAGS=$save_CFLAGS
33765 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33766 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33770 for libp in "" " -lXp"; do
33771 if test "$libs_found" = 0; then
33772 for libsm_ice in "" " -lSM -lICE"; do
33773 if test "$libs_found" = 0; then
33775 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33776 save_CFLAGS=$CFLAGS
33777 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33779 cat >conftest.$ac_ext <<_ACEOF
33782 cat confdefs.h >>conftest.$ac_ext
33783 cat >>conftest.$ac_ext <<_ACEOF
33784 /* end confdefs.h. */
33787 #include <Xm/List.h>
33793 XmString string = NULL;
33796 XmListAddItem(w, string, position);
33802 rm -f conftest.$ac_objext conftest$ac_exeext
33803 if { (ac_try="$ac_link"
33804 case "(($ac_try" in
33805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33806 *) ac_try_echo=$ac_try;;
33808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33809 (eval "$ac_link") 2>conftest.er1
33811 grep -v '^ *+' conftest.er1 >conftest.err
33813 cat conftest.err >&5
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); } && {
33816 test -z "$ac_c_werror_flag" ||
33817 test ! -s conftest.err
33818 } && test -s conftest$ac_exeext &&
33819 $as_test_x conftest$ac_exeext; then
33822 libsm_ice_link="$libsm_ice"
33823 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33824 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33828 echo "$as_me: failed program was:" >&5
33829 sed 's/^/| /' conftest.$ac_ext >&5
33835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33836 conftest$ac_exeext conftest.$ac_ext
33839 CFLAGS=$save_CFLAGS
33845 if test "$libs_found" = 0; then
33846 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33847 echo "${ECHO_T}can't find the right libraries" >&6; }
33848 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33849 echo "$as_me: error: can't link a simple motif program" >&2;}
33850 { (exit 1); exit 1; }; }
33853 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33854 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33855 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33856 echo $ECHO_N "(cached) $ECHO_C" >&6
33858 ac_check_lib_save_LIBS=$LIBS
33860 cat >conftest.$ac_ext <<_ACEOF
33863 cat confdefs.h >>conftest.$ac_ext
33864 cat >>conftest.$ac_ext <<_ACEOF
33865 /* end confdefs.h. */
33867 /* Override any GCC internal prototype to avoid an error.
33868 Use char because int might match the return type of a GCC
33869 builtin and then its argument prototype would still apply. */
33873 char SgCreateList ();
33877 return SgCreateList ();
33882 rm -f conftest.$ac_objext conftest$ac_exeext
33883 if { (ac_try="$ac_link"
33884 case "(($ac_try" in
33885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33886 *) ac_try_echo=$ac_try;;
33888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33889 (eval "$ac_link") 2>conftest.er1
33891 grep -v '^ *+' conftest.er1 >conftest.err
33893 cat conftest.err >&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } && {
33896 test -z "$ac_c_werror_flag" ||
33897 test ! -s conftest.err
33898 } && test -s conftest$ac_exeext &&
33899 $as_test_x conftest$ac_exeext; then
33900 ac_cv_lib_Sgm_SgCreateList=yes
33902 echo "$as_me: failed program was:" >&5
33903 sed 's/^/| /' conftest.$ac_ext >&5
33905 ac_cv_lib_Sgm_SgCreateList=no
33908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33909 conftest$ac_exeext conftest.$ac_ext
33910 LIBS=$ac_check_lib_save_LIBS
33912 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33913 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33914 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33915 libsgm_link=" -lSgm"
33919 save_CFLAGS=$CFLAGS
33920 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33922 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33923 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33924 if test "${wx_cv_lib_motif2+set}" = set; then
33925 echo $ECHO_N "(cached) $ECHO_C" >&6
33927 cat >conftest.$ac_ext <<_ACEOF
33930 cat confdefs.h >>conftest.$ac_ext
33931 cat >>conftest.$ac_ext <<_ACEOF
33932 /* end confdefs.h. */
33940 #if XmVersion < 2000
33948 rm -f conftest.$ac_objext
33949 if { (ac_try="$ac_compile"
33950 case "(($ac_try" in
33951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33952 *) ac_try_echo=$ac_try;;
33954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33955 (eval "$ac_compile") 2>conftest.er1
33957 grep -v '^ *+' conftest.er1 >conftest.err
33959 cat conftest.err >&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } && {
33962 test -z "$ac_c_werror_flag" ||
33963 test ! -s conftest.err
33964 } && test -s conftest.$ac_objext; then
33965 wx_cv_lib_motif2="yes"
33967 echo "$as_me: failed program was:" >&5
33968 sed 's/^/| /' conftest.$ac_ext >&5
33970 wx_cv_lib_motif2="no"
33973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33975 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33976 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33977 if test "$wx_cv_lib_motif2" = "yes"; then
33978 cat >>confdefs.h <<\_ACEOF
33979 #define __WXMOTIF20__ 1
33983 cat >>confdefs.h <<\_ACEOF
33984 #define __WXMOTIF20__ 0
33989 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33990 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33991 if test "${wx_cv_lib_lesstif+set}" = set; then
33992 echo $ECHO_N "(cached) $ECHO_C" >&6
33994 cat >conftest.$ac_ext <<_ACEOF
33997 cat confdefs.h >>conftest.$ac_ext
33998 cat >>conftest.$ac_ext <<_ACEOF
33999 /* end confdefs.h. */
34007 #if !defined(LesstifVersion) || LesstifVersion <= 0
34015 rm -f conftest.$ac_objext
34016 if { (ac_try="$ac_compile"
34017 case "(($ac_try" in
34018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34019 *) ac_try_echo=$ac_try;;
34021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34022 (eval "$ac_compile") 2>conftest.er1
34024 grep -v '^ *+' conftest.er1 >conftest.err
34026 cat conftest.err >&5
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); } && {
34029 test -z "$ac_c_werror_flag" ||
34030 test ! -s conftest.err
34031 } && test -s conftest.$ac_objext; then
34032 wx_cv_lib_lesstif="yes"
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.$ac_ext >&5
34037 wx_cv_lib_lesstif="no"
34040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34043 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34044 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34045 if test "$wx_cv_lib_lesstif" = "yes"; then
34046 cat >>confdefs.h <<\_ACEOF
34047 #define __WXLESSTIF__ 1
34051 cat >>confdefs.h <<\_ACEOF
34052 #define __WXLESSTIF__ 0
34057 CFLAGS=$save_CFLAGS
34059 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34064 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34065 if test "$wxUSE_LIBXPM" = "sys"; then
34066 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34067 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34070 for ac_dir in $SEARCH_LIB
34072 for ac_extension in a so sl dylib dll.a; do
34073 if test -f "$ac_dir/libXpm.$ac_extension"; then
34074 ac_find_libraries=$ac_dir
34080 if test "$ac_find_libraries" != "" ; then
34082 if test "$ac_find_libraries" = "default location"; then
34085 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34087 if test $result = 0; then
34090 ac_path_to_link=" -L$ac_find_libraries"
34094 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34095 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34096 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34098 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34099 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34100 if test "${wx_cv_x11_xpm_h+set}" = set; then
34101 echo $ECHO_N "(cached) $ECHO_C" >&6
34104 save_CFLAGS=$CFLAGS
34105 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34107 cat >conftest.$ac_ext <<_ACEOF
34110 cat confdefs.h >>conftest.$ac_ext
34111 cat >>conftest.$ac_ext <<_ACEOF
34112 /* end confdefs.h. */
34114 #include <X11/xpm.h>
34121 version = XpmLibraryVersion();
34127 rm -f conftest.$ac_objext
34128 if { (ac_try="$ac_compile"
34129 case "(($ac_try" in
34130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34131 *) ac_try_echo=$ac_try;;
34133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34134 (eval "$ac_compile") 2>conftest.er1
34136 grep -v '^ *+' conftest.er1 >conftest.err
34138 cat conftest.err >&5
34139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34140 (exit $ac_status); } && {
34141 test -z "$ac_c_werror_flag" ||
34142 test ! -s conftest.err
34143 } && test -s conftest.$ac_objext; then
34144 wx_cv_x11_xpm_h=yes
34146 echo "$as_me: failed program was:" >&5
34147 sed 's/^/| /' conftest.$ac_ext >&5
34153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34155 CFLAGS=$save_CFLAGS
34159 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34160 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34162 if test $wx_cv_x11_xpm_h = "yes"; then
34163 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34164 cat >>confdefs.h <<\_ACEOF
34165 #define wxHAVE_LIB_XPM 1
34169 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34170 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34176 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34177 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34178 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34179 echo $ECHO_N "(cached) $ECHO_C" >&6
34181 ac_check_lib_save_LIBS=$LIBS
34182 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34183 cat >conftest.$ac_ext <<_ACEOF
34186 cat confdefs.h >>conftest.$ac_ext
34187 cat >>conftest.$ac_ext <<_ACEOF
34188 /* end confdefs.h. */
34190 /* Override any GCC internal prototype to avoid an error.
34191 Use char because int might match the return type of a GCC
34192 builtin and then its argument prototype would still apply. */
34196 char XShapeQueryExtension ();
34200 return XShapeQueryExtension ();
34205 rm -f conftest.$ac_objext conftest$ac_exeext
34206 if { (ac_try="$ac_link"
34207 case "(($ac_try" in
34208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34209 *) ac_try_echo=$ac_try;;
34211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34212 (eval "$ac_link") 2>conftest.er1
34214 grep -v '^ *+' conftest.er1 >conftest.err
34216 cat conftest.err >&5
34217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34218 (exit $ac_status); } && {
34219 test -z "$ac_c_werror_flag" ||
34220 test ! -s conftest.err
34221 } && test -s conftest$ac_exeext &&
34222 $as_test_x conftest$ac_exeext; then
34223 ac_cv_lib_Xext_XShapeQueryExtension=yes
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.$ac_ext >&5
34228 ac_cv_lib_Xext_XShapeQueryExtension=no
34231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34232 conftest$ac_exeext conftest.$ac_ext
34233 LIBS=$ac_check_lib_save_LIBS
34235 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34236 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34237 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34239 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34245 if test "$wxHAVE_XEXT_LIB" = 1; then
34246 save_CFLAGS="$CFLAGS"
34247 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34249 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34250 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34251 cat >conftest.$ac_ext <<_ACEOF
34254 cat confdefs.h >>conftest.$ac_ext
34255 cat >>conftest.$ac_ext <<_ACEOF
34256 /* end confdefs.h. */
34258 #include <X11/Xlib.h>
34259 #include <X11/extensions/shape.h>
34265 int dummy1, dummy2;
34266 XShapeQueryExtension((Display*)NULL,
34267 (int*)NULL, (int*)NULL);
34273 rm -f conftest.$ac_objext
34274 if { (ac_try="$ac_compile"
34275 case "(($ac_try" in
34276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34277 *) ac_try_echo=$ac_try;;
34279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34280 (eval "$ac_compile") 2>conftest.er1
34282 grep -v '^ *+' conftest.er1 >conftest.err
34284 cat conftest.err >&5
34285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34286 (exit $ac_status); } && {
34287 test -z "$ac_c_werror_flag" ||
34288 test ! -s conftest.err
34289 } && test -s conftest.$ac_objext; then
34291 cat >>confdefs.h <<\_ACEOF
34292 #define HAVE_XSHAPE 1
34295 { echo "$as_me:$LINENO: result: found" >&5
34296 echo "${ECHO_T}found" >&6; }
34299 echo "$as_me: failed program was:" >&5
34300 sed 's/^/| /' conftest.$ac_ext >&5
34303 { echo "$as_me:$LINENO: result: not found" >&5
34304 echo "${ECHO_T}not found" >&6; }
34308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34309 CFLAGS="$save_CFLAGS"
34314 if test "$wxUSE_OSX_CARBON" = 1; then
34315 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34316 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34317 if test "$GCC" = yes; then
34318 { echo "$as_me:$LINENO: result: gcc" >&5
34319 echo "${ECHO_T}gcc" >&6; }
34320 CPPFLAGS_PASCAL="-fpascal-strings"
34321 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34322 { echo "$as_me:$LINENO: result: xlc" >&5
34323 echo "${ECHO_T}xlc" >&6; }
34324 CPPFLAGS_PASCAL="-qmacpstr"
34326 { echo "$as_me:$LINENO: result: none" >&5
34327 echo "${ECHO_T}none" >&6; }
34330 if test "x$wxUSE_UNIX" = "xyes"; then
34331 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34333 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34337 GUIDIST=OSX_CARBON_DIST
34338 WXBASEPORT="_carbon"
34340 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34343 if test "$wxUSE_OSX_COCOA" = 1; then
34345 GUIDIST=OSX_COCOA_DIST
34347 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34350 if test "$wxUSE_OSX_IPHONE" = 1; then
34354 if test "$wxUSE_OLD_COCOA" = 1; then
34359 if test "$wxUSE_PM" = 1; then
34362 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34363 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34364 if test "${wx_cv_spbcdata+set}" = set; then
34365 echo $ECHO_N "(cached) $ECHO_C" >&6
34368 cat >conftest.$ac_ext <<_ACEOF
34371 cat confdefs.h >>conftest.$ac_ext
34372 cat >>conftest.$ac_ext <<_ACEOF
34373 /* end confdefs.h. */
34388 rm -f conftest.$ac_objext
34389 if { (ac_try="$ac_compile"
34390 case "(($ac_try" in
34391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34392 *) ac_try_echo=$ac_try;;
34394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34395 (eval "$ac_compile") 2>conftest.er1
34397 grep -v '^ *+' conftest.er1 >conftest.err
34399 cat conftest.err >&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); } && {
34402 test -z "$ac_c_werror_flag" ||
34403 test ! -s conftest.err
34404 } && test -s conftest.$ac_objext; then
34407 echo "$as_me: failed program was:" >&5
34408 sed 's/^/| /' conftest.$ac_ext >&5
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34418 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34419 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34421 if test $wx_cv_spbcdata = "yes"; then
34422 cat >>confdefs.h <<\_ACEOF
34423 #define HAVE_SPBCDATA 1
34429 if test "$TOOLKIT" = "PM" ; then
34432 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34435 if test "$wxUSE_UNIVERSAL" = "yes"; then
34436 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34440 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34441 DISTDIR="wx\$(TOOLKIT)"
34447 if test "$USE_WIN32" = 1 ; then
34451 GUIDIST="BASE_DIST"
34457 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34458 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34459 wxUSE_UNICODE_UTF8=yes
34460 elif test "$USE_OS2" = 1 ; then
34461 wxUSE_UNICODE_UTF8=yes
34463 wxUSE_UNICODE_UTF8=no
34468 if test "$wxUSE_GUI" = "yes"; then
34469 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34471 for ac_header in X11/Xlib.h
34473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34477 echo $ECHO_N "(cached) $ECHO_C" >&6
34479 cat >conftest.$ac_ext <<_ACEOF
34482 cat confdefs.h >>conftest.$ac_ext
34483 cat >>conftest.$ac_ext <<_ACEOF
34484 /* end confdefs.h. */
34487 #include <$ac_header>
34489 rm -f conftest.$ac_objext
34490 if { (ac_try="$ac_compile"
34491 case "(($ac_try" in
34492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34493 *) ac_try_echo=$ac_try;;
34495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34496 (eval "$ac_compile") 2>conftest.er1
34498 grep -v '^ *+' conftest.er1 >conftest.err
34500 cat conftest.err >&5
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); } && {
34503 test -z "$ac_c_werror_flag" ||
34504 test ! -s conftest.err
34505 } && test -s conftest.$ac_objext; then
34506 eval "$as_ac_Header=yes"
34508 echo "$as_me: failed program was:" >&5
34509 sed 's/^/| /' conftest.$ac_ext >&5
34511 eval "$as_ac_Header=no"
34514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34516 ac_res=`eval echo '${'$as_ac_Header'}'`
34517 { echo "$as_me:$LINENO: result: $ac_res" >&5
34518 echo "${ECHO_T}$ac_res" >&6; }
34519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34520 cat >>confdefs.h <<_ACEOF
34521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34529 for ac_header in X11/XKBlib.h
34531 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34532 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34534 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34535 echo $ECHO_N "(cached) $ECHO_C" >&6
34537 cat >conftest.$ac_ext <<_ACEOF
34540 cat confdefs.h >>conftest.$ac_ext
34541 cat >>conftest.$ac_ext <<_ACEOF
34542 /* end confdefs.h. */
34544 #if HAVE_X11_XLIB_H
34545 #include <X11/Xlib.h>
34549 #include <$ac_header>
34551 rm -f conftest.$ac_objext
34552 if { (ac_try="$ac_compile"
34553 case "(($ac_try" in
34554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34555 *) ac_try_echo=$ac_try;;
34557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34558 (eval "$ac_compile") 2>conftest.er1
34560 grep -v '^ *+' conftest.er1 >conftest.err
34562 cat conftest.err >&5
34563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564 (exit $ac_status); } && {
34565 test -z "$ac_c_werror_flag" ||
34566 test ! -s conftest.err
34567 } && test -s conftest.$ac_objext; then
34568 eval "$as_ac_Header=yes"
34570 echo "$as_me: failed program was:" >&5
34571 sed 's/^/| /' conftest.$ac_ext >&5
34573 eval "$as_ac_Header=no"
34576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34578 ac_res=`eval echo '${'$as_ac_Header'}'`
34579 { echo "$as_me:$LINENO: result: $ac_res" >&5
34580 echo "${ECHO_T}$ac_res" >&6; }
34581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34582 cat >>confdefs.h <<_ACEOF
34583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34596 if test "$wxUSE_DISPLAY" = "yes"; then
34597 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34601 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
34604 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34605 if test -n "$ac_tool_prefix"; then
34606 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34607 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34610 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34611 echo $ECHO_N "(cached) $ECHO_C" >&6
34613 case $PKG_CONFIG in
34615 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34619 for as_dir in $PATH
34622 test -z "$as_dir" && as_dir=.
34623 for ac_exec_ext in '' $ac_executable_extensions; do
34624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34625 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34636 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34637 if test -n "$PKG_CONFIG"; then
34638 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34639 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34641 { echo "$as_me:$LINENO: result: no" >&5
34642 echo "${ECHO_T}no" >&6; }
34647 if test -z "$ac_cv_path_PKG_CONFIG"; then
34648 ac_pt_PKG_CONFIG=$PKG_CONFIG
34649 # Extract the first word of "pkg-config", so it can be a program name with args.
34650 set dummy pkg-config; ac_word=$2
34651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34653 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34654 echo $ECHO_N "(cached) $ECHO_C" >&6
34656 case $ac_pt_PKG_CONFIG in
34658 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34662 for as_dir in $PATH
34665 test -z "$as_dir" && as_dir=.
34666 for ac_exec_ext in '' $ac_executable_extensions; do
34667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34668 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34679 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34680 if test -n "$ac_pt_PKG_CONFIG"; then
34681 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34682 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34684 { echo "$as_me:$LINENO: result: no" >&5
34685 echo "${ECHO_T}no" >&6; }
34688 if test "x$ac_pt_PKG_CONFIG" = x; then
34691 case $cross_compiling:$ac_tool_warned in
34693 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34694 whose name does not start with the host triplet. If you think this
34695 configuration is useful to you, please write to autoconf@gnu.org." >&5
34696 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34697 whose name does not start with the host triplet. If you think this
34698 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34699 ac_tool_warned=yes ;;
34701 PKG_CONFIG=$ac_pt_PKG_CONFIG
34704 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34708 if test -n "$PKG_CONFIG"; then
34709 _pkg_min_version=0.9.0
34710 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34711 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34712 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34713 { echo "$as_me:$LINENO: result: yes" >&5
34714 echo "${ECHO_T}yes" >&6; }
34716 { echo "$as_me:$LINENO: result: no" >&5
34717 echo "${ECHO_T}no" >&6; }
34724 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34725 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34727 if test -n "$PKG_CONFIG"; then
34728 if test -n "$Xinerama_CFLAGS"; then
34729 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
34731 if test -n "$PKG_CONFIG" && \
34732 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34733 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736 (exit $ac_status); }; then
34737 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
34745 if test -n "$PKG_CONFIG"; then
34746 if test -n "$Xinerama_LIBS"; then
34747 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
34749 if test -n "$PKG_CONFIG" && \
34750 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34751 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754 (exit $ac_status); }; then
34755 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
34766 if test $pkg_failed = yes; then
34768 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34769 _pkg_short_errors_supported=yes
34771 _pkg_short_errors_supported=no
34773 if test $_pkg_short_errors_supported = yes; then
34774 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
34776 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
34778 # Put the nasty error message in config.log where it belongs
34779 echo "$Xinerama_PKG_ERRORS" >&5
34782 if test "x$ac_find_libraries" = "x"; then
34783 if test "xXineramaQueryScreens" != "x"; then
34784 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34785 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34786 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34787 echo $ECHO_N "(cached) $ECHO_C" >&6
34789 ac_check_lib_save_LIBS=$LIBS
34790 LIBS="-lXinerama $LIBS"
34791 cat >conftest.$ac_ext <<_ACEOF
34794 cat confdefs.h >>conftest.$ac_ext
34795 cat >>conftest.$ac_ext <<_ACEOF
34796 /* end confdefs.h. */
34798 /* Override any GCC internal prototype to avoid an error.
34799 Use char because int might match the return type of a GCC
34800 builtin and then its argument prototype would still apply. */
34804 char XineramaQueryScreens ();
34808 return XineramaQueryScreens ();
34813 rm -f conftest.$ac_objext conftest$ac_exeext
34814 if { (ac_try="$ac_link"
34815 case "(($ac_try" in
34816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34817 *) ac_try_echo=$ac_try;;
34819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34820 (eval "$ac_link") 2>conftest.er1
34822 grep -v '^ *+' conftest.er1 >conftest.err
34824 cat conftest.err >&5
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); } && {
34827 test -z "$ac_c_werror_flag" ||
34828 test ! -s conftest.err
34829 } && test -s conftest$ac_exeext &&
34830 $as_test_x conftest$ac_exeext; then
34831 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34833 echo "$as_me: failed program was:" >&5
34834 sed 's/^/| /' conftest.$ac_ext >&5
34836 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34840 conftest$ac_exeext conftest.$ac_ext
34841 LIBS=$ac_check_lib_save_LIBS
34843 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34844 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34845 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34846 ac_find_libraries="std"
34852 if test "x$ac_find_libraries" = "x"; then
34853 { echo "$as_me:$LINENO: checking elsewhere" >&5
34854 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34857 for ac_dir in $SEARCH_LIB
34859 for ac_extension in a so sl dylib dll.a; do
34860 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34861 ac_find_libraries=$ac_dir
34867 if test "x$ac_find_libraries" != "x"; then
34868 { echo "$as_me:$LINENO: result: yes" >&5
34869 echo "${ECHO_T}yes" >&6; }
34871 { echo "$as_me:$LINENO: result: no" >&5
34872 echo "${ECHO_T}no" >&6; }
34876 elif test $pkg_failed = untried; then
34878 if test "x$ac_find_libraries" = "x"; then
34879 if test "xXineramaQueryScreens" != "x"; then
34880 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34881 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34882 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34883 echo $ECHO_N "(cached) $ECHO_C" >&6
34885 ac_check_lib_save_LIBS=$LIBS
34886 LIBS="-lXinerama $LIBS"
34887 cat >conftest.$ac_ext <<_ACEOF
34890 cat confdefs.h >>conftest.$ac_ext
34891 cat >>conftest.$ac_ext <<_ACEOF
34892 /* end confdefs.h. */
34894 /* Override any GCC internal prototype to avoid an error.
34895 Use char because int might match the return type of a GCC
34896 builtin and then its argument prototype would still apply. */
34900 char XineramaQueryScreens ();
34904 return XineramaQueryScreens ();
34909 rm -f conftest.$ac_objext conftest$ac_exeext
34910 if { (ac_try="$ac_link"
34911 case "(($ac_try" in
34912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34913 *) ac_try_echo=$ac_try;;
34915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34916 (eval "$ac_link") 2>conftest.er1
34918 grep -v '^ *+' conftest.er1 >conftest.err
34920 cat conftest.err >&5
34921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34922 (exit $ac_status); } && {
34923 test -z "$ac_c_werror_flag" ||
34924 test ! -s conftest.err
34925 } && test -s conftest$ac_exeext &&
34926 $as_test_x conftest$ac_exeext; then
34927 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34929 echo "$as_me: failed program was:" >&5
34930 sed 's/^/| /' conftest.$ac_ext >&5
34932 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34936 conftest$ac_exeext conftest.$ac_ext
34937 LIBS=$ac_check_lib_save_LIBS
34939 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34940 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34941 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34942 ac_find_libraries="std"
34948 if test "x$ac_find_libraries" = "x"; then
34949 { echo "$as_me:$LINENO: checking elsewhere" >&5
34950 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34953 for ac_dir in $SEARCH_LIB
34955 for ac_extension in a so sl dylib dll.a; do
34956 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34957 ac_find_libraries=$ac_dir
34963 if test "x$ac_find_libraries" != "x"; then
34964 { echo "$as_me:$LINENO: result: yes" >&5
34965 echo "${ECHO_T}yes" >&6; }
34967 { echo "$as_me:$LINENO: result: no" >&5
34968 echo "${ECHO_T}no" >&6; }
34973 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
34974 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
34975 { echo "$as_me:$LINENO: result: yes" >&5
34976 echo "${ECHO_T}yes" >&6; }
34978 ac_find_libraries="std"
34980 eval ac_find_cflags=\$Xinerama_CFLAGS
34981 eval fl_libs=\$Xinerama_LIBS
34983 for fl_path in $fl_libs
34985 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
34986 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
34992 if test "$ac_find_libraries" != "" ; then
34993 if test "$ac_find_libraries" != "std" ; then
34995 if test "$ac_find_libraries" = "default location"; then
34998 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35000 if test $result = 0; then
35003 ac_path_to_link=" -L$ac_find_libraries"
35007 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35008 LDFLAGS="$LDFLAGS $ac_path_to_link"
35012 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35014 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35015 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35018 elif test "$wxUSE_MSW" = 1; then
35019 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35020 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35021 if test "${ac_cv_header_ddraw_h+set}" = set; then
35022 echo $ECHO_N "(cached) $ECHO_C" >&6
35024 cat >conftest.$ac_ext <<_ACEOF
35027 cat confdefs.h >>conftest.$ac_ext
35028 cat >>conftest.$ac_ext <<_ACEOF
35029 /* end confdefs.h. */
35030 #include <windows.h>
35034 rm -f conftest.$ac_objext
35035 if { (ac_try="$ac_compile"
35036 case "(($ac_try" in
35037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35038 *) ac_try_echo=$ac_try;;
35040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35041 (eval "$ac_compile") 2>conftest.er1
35043 grep -v '^ *+' conftest.er1 >conftest.err
35045 cat conftest.err >&5
35046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35047 (exit $ac_status); } && {
35048 test -z "$ac_c_werror_flag" ||
35049 test ! -s conftest.err
35050 } && test -s conftest.$ac_objext; then
35051 ac_cv_header_ddraw_h=yes
35053 echo "$as_me: failed program was:" >&5
35054 sed 's/^/| /' conftest.$ac_ext >&5
35056 ac_cv_header_ddraw_h=no
35059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35061 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35062 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35068 if test "$wxUSE_DISPLAY" = "yes"; then
35069 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
35073 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
35076 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35077 if test -n "$ac_tool_prefix"; then
35078 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35079 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35082 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35083 echo $ECHO_N "(cached) $ECHO_C" >&6
35085 case $PKG_CONFIG in
35087 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35091 for as_dir in $PATH
35094 test -z "$as_dir" && as_dir=.
35095 for ac_exec_ext in '' $ac_executable_extensions; do
35096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35097 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35108 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35109 if test -n "$PKG_CONFIG"; then
35110 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35111 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35113 { echo "$as_me:$LINENO: result: no" >&5
35114 echo "${ECHO_T}no" >&6; }
35119 if test -z "$ac_cv_path_PKG_CONFIG"; then
35120 ac_pt_PKG_CONFIG=$PKG_CONFIG
35121 # Extract the first word of "pkg-config", so it can be a program name with args.
35122 set dummy pkg-config; ac_word=$2
35123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35125 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35126 echo $ECHO_N "(cached) $ECHO_C" >&6
35128 case $ac_pt_PKG_CONFIG in
35130 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35134 for as_dir in $PATH
35137 test -z "$as_dir" && as_dir=.
35138 for ac_exec_ext in '' $ac_executable_extensions; do
35139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35140 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35151 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35152 if test -n "$ac_pt_PKG_CONFIG"; then
35153 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35154 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35156 { echo "$as_me:$LINENO: result: no" >&5
35157 echo "${ECHO_T}no" >&6; }
35160 if test "x$ac_pt_PKG_CONFIG" = x; then
35163 case $cross_compiling:$ac_tool_warned in
35165 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35166 whose name does not start with the host triplet. If you think this
35167 configuration is useful to you, please write to autoconf@gnu.org." >&5
35168 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35169 whose name does not start with the host triplet. If you think this
35170 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35171 ac_tool_warned=yes ;;
35173 PKG_CONFIG=$ac_pt_PKG_CONFIG
35176 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35180 if test -n "$PKG_CONFIG"; then
35181 _pkg_min_version=0.9.0
35182 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35183 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35184 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35185 { echo "$as_me:$LINENO: result: yes" >&5
35186 echo "${ECHO_T}yes" >&6; }
35188 { echo "$as_me:$LINENO: result: no" >&5
35189 echo "${ECHO_T}no" >&6; }
35196 { echo "$as_me:$LINENO: checking for Xxf86vm" >&5
35197 echo $ECHO_N "checking for Xxf86vm... $ECHO_C" >&6; }
35199 if test -n "$PKG_CONFIG"; then
35200 if test -n "$Xxf86vm_CFLAGS"; then
35201 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
35203 if test -n "$PKG_CONFIG" && \
35204 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35205 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); }; then
35209 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35217 if test -n "$PKG_CONFIG"; then
35218 if test -n "$Xxf86vm_LIBS"; then
35219 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
35221 if test -n "$PKG_CONFIG" && \
35222 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35223 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); }; then
35227 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35238 if test $pkg_failed = yes; then
35240 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35241 _pkg_short_errors_supported=yes
35243 _pkg_short_errors_supported=no
35245 if test $_pkg_short_errors_supported = yes; then
35246 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35248 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35250 # Put the nasty error message in config.log where it belongs
35251 echo "$Xxf86vm_PKG_ERRORS" >&5
35254 if test "x$ac_find_libraries" = "x"; then
35255 if test "xXF86VidModeQueryExtension" != "x"; then
35256 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35257 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35258 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35259 echo $ECHO_N "(cached) $ECHO_C" >&6
35261 ac_check_lib_save_LIBS=$LIBS
35262 LIBS="-lXxf86vm $LIBS"
35263 cat >conftest.$ac_ext <<_ACEOF
35266 cat confdefs.h >>conftest.$ac_ext
35267 cat >>conftest.$ac_ext <<_ACEOF
35268 /* end confdefs.h. */
35270 /* Override any GCC internal prototype to avoid an error.
35271 Use char because int might match the return type of a GCC
35272 builtin and then its argument prototype would still apply. */
35276 char XF86VidModeQueryExtension ();
35280 return XF86VidModeQueryExtension ();
35285 rm -f conftest.$ac_objext conftest$ac_exeext
35286 if { (ac_try="$ac_link"
35287 case "(($ac_try" in
35288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35289 *) ac_try_echo=$ac_try;;
35291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35292 (eval "$ac_link") 2>conftest.er1
35294 grep -v '^ *+' conftest.er1 >conftest.err
35296 cat conftest.err >&5
35297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35298 (exit $ac_status); } && {
35299 test -z "$ac_c_werror_flag" ||
35300 test ! -s conftest.err
35301 } && test -s conftest$ac_exeext &&
35302 $as_test_x conftest$ac_exeext; then
35303 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35305 echo "$as_me: failed program was:" >&5
35306 sed 's/^/| /' conftest.$ac_ext >&5
35308 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35312 conftest$ac_exeext conftest.$ac_ext
35313 LIBS=$ac_check_lib_save_LIBS
35315 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35316 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35317 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35318 ac_find_libraries="std"
35324 if test "x$ac_find_libraries" = "x"; then
35325 { echo "$as_me:$LINENO: checking elsewhere" >&5
35326 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35329 for ac_dir in $SEARCH_LIB
35331 for ac_extension in a so sl dylib dll.a; do
35332 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35333 ac_find_libraries=$ac_dir
35339 if test "x$ac_find_libraries" != "x"; then
35340 { echo "$as_me:$LINENO: result: yes" >&5
35341 echo "${ECHO_T}yes" >&6; }
35343 { echo "$as_me:$LINENO: result: no" >&5
35344 echo "${ECHO_T}no" >&6; }
35348 elif test $pkg_failed = untried; then
35350 if test "x$ac_find_libraries" = "x"; then
35351 if test "xXF86VidModeQueryExtension" != "x"; then
35352 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35353 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35354 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35355 echo $ECHO_N "(cached) $ECHO_C" >&6
35357 ac_check_lib_save_LIBS=$LIBS
35358 LIBS="-lXxf86vm $LIBS"
35359 cat >conftest.$ac_ext <<_ACEOF
35362 cat confdefs.h >>conftest.$ac_ext
35363 cat >>conftest.$ac_ext <<_ACEOF
35364 /* end confdefs.h. */
35366 /* Override any GCC internal prototype to avoid an error.
35367 Use char because int might match the return type of a GCC
35368 builtin and then its argument prototype would still apply. */
35372 char XF86VidModeQueryExtension ();
35376 return XF86VidModeQueryExtension ();
35381 rm -f conftest.$ac_objext conftest$ac_exeext
35382 if { (ac_try="$ac_link"
35383 case "(($ac_try" in
35384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35385 *) ac_try_echo=$ac_try;;
35387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35388 (eval "$ac_link") 2>conftest.er1
35390 grep -v '^ *+' conftest.er1 >conftest.err
35392 cat conftest.err >&5
35393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35394 (exit $ac_status); } && {
35395 test -z "$ac_c_werror_flag" ||
35396 test ! -s conftest.err
35397 } && test -s conftest$ac_exeext &&
35398 $as_test_x conftest$ac_exeext; then
35399 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35401 echo "$as_me: failed program was:" >&5
35402 sed 's/^/| /' conftest.$ac_ext >&5
35404 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35408 conftest$ac_exeext conftest.$ac_ext
35409 LIBS=$ac_check_lib_save_LIBS
35411 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35412 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35413 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35414 ac_find_libraries="std"
35420 if test "x$ac_find_libraries" = "x"; then
35421 { echo "$as_me:$LINENO: checking elsewhere" >&5
35422 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35425 for ac_dir in $SEARCH_LIB
35427 for ac_extension in a so sl dylib dll.a; do
35428 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35429 ac_find_libraries=$ac_dir
35435 if test "x$ac_find_libraries" != "x"; then
35436 { echo "$as_me:$LINENO: result: yes" >&5
35437 echo "${ECHO_T}yes" >&6; }
35439 { echo "$as_me:$LINENO: result: no" >&5
35440 echo "${ECHO_T}no" >&6; }
35445 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
35446 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
35447 { echo "$as_me:$LINENO: result: yes" >&5
35448 echo "${ECHO_T}yes" >&6; }
35450 ac_find_libraries="std"
35452 eval ac_find_cflags=\$Xxf86vm_CFLAGS
35453 eval fl_libs=\$Xxf86vm_LIBS
35455 for fl_path in $fl_libs
35457 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35458 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35464 if test "$ac_find_libraries" != "" ; then
35466 for ac_header in X11/extensions/xf86vmode.h
35468 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35472 echo $ECHO_N "(cached) $ECHO_C" >&6
35474 cat >conftest.$ac_ext <<_ACEOF
35477 cat confdefs.h >>conftest.$ac_ext
35478 cat >>conftest.$ac_ext <<_ACEOF
35479 /* end confdefs.h. */
35481 #if HAVE_X11_XLIB_H
35482 #include <X11/Xlib.h>
35486 #include <$ac_header>
35488 rm -f conftest.$ac_objext
35489 if { (ac_try="$ac_compile"
35490 case "(($ac_try" in
35491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35492 *) ac_try_echo=$ac_try;;
35494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35495 (eval "$ac_compile") 2>conftest.er1
35497 grep -v '^ *+' conftest.er1 >conftest.err
35499 cat conftest.err >&5
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); } && {
35502 test -z "$ac_c_werror_flag" ||
35503 test ! -s conftest.err
35504 } && test -s conftest.$ac_objext; then
35505 eval "$as_ac_Header=yes"
35507 echo "$as_me: failed program was:" >&5
35508 sed 's/^/| /' conftest.$ac_ext >&5
35510 eval "$as_ac_Header=no"
35513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35515 ac_res=`eval echo '${'$as_ac_Header'}'`
35516 { echo "$as_me:$LINENO: result: $ac_res" >&5
35517 echo "${ECHO_T}$ac_res" >&6; }
35518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35519 cat >>confdefs.h <<_ACEOF
35520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35523 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35533 if test "$wxUSE_DETECT_SM" = "yes"; then
35534 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
35538 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
35541 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35542 if test -n "$ac_tool_prefix"; then
35543 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35544 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35547 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35548 echo $ECHO_N "(cached) $ECHO_C" >&6
35550 case $PKG_CONFIG in
35552 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35556 for as_dir in $PATH
35559 test -z "$as_dir" && as_dir=.
35560 for ac_exec_ext in '' $ac_executable_extensions; do
35561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35562 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35573 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35574 if test -n "$PKG_CONFIG"; then
35575 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35576 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35578 { echo "$as_me:$LINENO: result: no" >&5
35579 echo "${ECHO_T}no" >&6; }
35584 if test -z "$ac_cv_path_PKG_CONFIG"; then
35585 ac_pt_PKG_CONFIG=$PKG_CONFIG
35586 # Extract the first word of "pkg-config", so it can be a program name with args.
35587 set dummy pkg-config; ac_word=$2
35588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35590 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35591 echo $ECHO_N "(cached) $ECHO_C" >&6
35593 case $ac_pt_PKG_CONFIG in
35595 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35599 for as_dir in $PATH
35602 test -z "$as_dir" && as_dir=.
35603 for ac_exec_ext in '' $ac_executable_extensions; do
35604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35605 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35616 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35617 if test -n "$ac_pt_PKG_CONFIG"; then
35618 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35619 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35621 { echo "$as_me:$LINENO: result: no" >&5
35622 echo "${ECHO_T}no" >&6; }
35625 if test "x$ac_pt_PKG_CONFIG" = x; then
35628 case $cross_compiling:$ac_tool_warned in
35630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35631 whose name does not start with the host triplet. If you think this
35632 configuration is useful to you, please write to autoconf@gnu.org." >&5
35633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35634 whose name does not start with the host triplet. If you think this
35635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35636 ac_tool_warned=yes ;;
35638 PKG_CONFIG=$ac_pt_PKG_CONFIG
35641 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35645 if test -n "$PKG_CONFIG"; then
35646 _pkg_min_version=0.9.0
35647 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35648 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35649 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35650 { echo "$as_me:$LINENO: result: yes" >&5
35651 echo "${ECHO_T}yes" >&6; }
35653 { echo "$as_me:$LINENO: result: no" >&5
35654 echo "${ECHO_T}no" >&6; }
35661 { echo "$as_me:$LINENO: checking for SM" >&5
35662 echo $ECHO_N "checking for SM... $ECHO_C" >&6; }
35664 if test -n "$PKG_CONFIG"; then
35665 if test -n "$SM_CFLAGS"; then
35666 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
35668 if test -n "$PKG_CONFIG" && \
35669 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35670 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35673 (exit $ac_status); }; then
35674 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35682 if test -n "$PKG_CONFIG"; then
35683 if test -n "$SM_LIBS"; then
35684 pkg_cv_SM_LIBS="$SM_LIBS"
35686 if test -n "$PKG_CONFIG" && \
35687 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35688 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); }; then
35692 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35703 if test $pkg_failed = yes; then
35705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35706 _pkg_short_errors_supported=yes
35708 _pkg_short_errors_supported=no
35710 if test $_pkg_short_errors_supported = yes; then
35711 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35713 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35715 # Put the nasty error message in config.log where it belongs
35716 echo "$SM_PKG_ERRORS" >&5
35719 if test "x$ac_find_libraries" = "x"; then
35720 if test "xSmcOpenConnection" != "x"; then
35721 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35722 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35723 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35724 echo $ECHO_N "(cached) $ECHO_C" >&6
35726 ac_check_lib_save_LIBS=$LIBS
35728 cat >conftest.$ac_ext <<_ACEOF
35731 cat confdefs.h >>conftest.$ac_ext
35732 cat >>conftest.$ac_ext <<_ACEOF
35733 /* end confdefs.h. */
35735 /* Override any GCC internal prototype to avoid an error.
35736 Use char because int might match the return type of a GCC
35737 builtin and then its argument prototype would still apply. */
35741 char SmcOpenConnection ();
35745 return SmcOpenConnection ();
35750 rm -f conftest.$ac_objext conftest$ac_exeext
35751 if { (ac_try="$ac_link"
35752 case "(($ac_try" in
35753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35754 *) ac_try_echo=$ac_try;;
35756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35757 (eval "$ac_link") 2>conftest.er1
35759 grep -v '^ *+' conftest.er1 >conftest.err
35761 cat conftest.err >&5
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); } && {
35764 test -z "$ac_c_werror_flag" ||
35765 test ! -s conftest.err
35766 } && test -s conftest$ac_exeext &&
35767 $as_test_x conftest$ac_exeext; then
35768 ac_cv_lib_SM_SmcOpenConnection=yes
35770 echo "$as_me: failed program was:" >&5
35771 sed 's/^/| /' conftest.$ac_ext >&5
35773 ac_cv_lib_SM_SmcOpenConnection=no
35776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35777 conftest$ac_exeext conftest.$ac_ext
35778 LIBS=$ac_check_lib_save_LIBS
35780 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35781 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35782 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35783 ac_find_libraries="std"
35789 if test "x$ac_find_libraries" = "x"; then
35790 { echo "$as_me:$LINENO: checking elsewhere" >&5
35791 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35794 for ac_dir in $SEARCH_LIB
35796 for ac_extension in a so sl dylib dll.a; do
35797 if test -f "$ac_dir/libSM.$ac_extension"; then
35798 ac_find_libraries=$ac_dir
35804 if test "x$ac_find_libraries" != "x"; then
35805 { echo "$as_me:$LINENO: result: yes" >&5
35806 echo "${ECHO_T}yes" >&6; }
35808 { echo "$as_me:$LINENO: result: no" >&5
35809 echo "${ECHO_T}no" >&6; }
35813 elif test $pkg_failed = untried; then
35815 if test "x$ac_find_libraries" = "x"; then
35816 if test "xSmcOpenConnection" != "x"; then
35817 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35818 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35819 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35820 echo $ECHO_N "(cached) $ECHO_C" >&6
35822 ac_check_lib_save_LIBS=$LIBS
35824 cat >conftest.$ac_ext <<_ACEOF
35827 cat confdefs.h >>conftest.$ac_ext
35828 cat >>conftest.$ac_ext <<_ACEOF
35829 /* end confdefs.h. */
35831 /* Override any GCC internal prototype to avoid an error.
35832 Use char because int might match the return type of a GCC
35833 builtin and then its argument prototype would still apply. */
35837 char SmcOpenConnection ();
35841 return SmcOpenConnection ();
35846 rm -f conftest.$ac_objext conftest$ac_exeext
35847 if { (ac_try="$ac_link"
35848 case "(($ac_try" in
35849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35850 *) ac_try_echo=$ac_try;;
35852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35853 (eval "$ac_link") 2>conftest.er1
35855 grep -v '^ *+' conftest.er1 >conftest.err
35857 cat conftest.err >&5
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); } && {
35860 test -z "$ac_c_werror_flag" ||
35861 test ! -s conftest.err
35862 } && test -s conftest$ac_exeext &&
35863 $as_test_x conftest$ac_exeext; then
35864 ac_cv_lib_SM_SmcOpenConnection=yes
35866 echo "$as_me: failed program was:" >&5
35867 sed 's/^/| /' conftest.$ac_ext >&5
35869 ac_cv_lib_SM_SmcOpenConnection=no
35872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35873 conftest$ac_exeext conftest.$ac_ext
35874 LIBS=$ac_check_lib_save_LIBS
35876 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35877 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35878 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35879 ac_find_libraries="std"
35885 if test "x$ac_find_libraries" = "x"; then
35886 { echo "$as_me:$LINENO: checking elsewhere" >&5
35887 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35890 for ac_dir in $SEARCH_LIB
35892 for ac_extension in a so sl dylib dll.a; do
35893 if test -f "$ac_dir/libSM.$ac_extension"; then
35894 ac_find_libraries=$ac_dir
35900 if test "x$ac_find_libraries" != "x"; then
35901 { echo "$as_me:$LINENO: result: yes" >&5
35902 echo "${ECHO_T}yes" >&6; }
35904 { echo "$as_me:$LINENO: result: no" >&5
35905 echo "${ECHO_T}no" >&6; }
35910 SM_CFLAGS=$pkg_cv_SM_CFLAGS
35911 SM_LIBS=$pkg_cv_SM_LIBS
35912 { echo "$as_me:$LINENO: result: yes" >&5
35913 echo "${ECHO_T}yes" >&6; }
35915 ac_find_libraries="std"
35917 eval ac_find_cflags=\$SM_CFLAGS
35918 eval fl_libs=\$SM_LIBS
35920 for fl_path in $fl_libs
35922 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35923 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35929 if test "$ac_find_libraries" != "" ; then
35930 if test "$ac_find_libraries" != "std" ; then
35932 if test "$ac_find_libraries" = "default location"; then
35935 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35937 if test $result = 0; then
35940 ac_path_to_link=" -L$ac_find_libraries"
35944 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35945 LDFLAGS="$LDFLAGS $ac_path_to_link"
35948 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35950 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35951 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35952 wxUSE_DETECT_SM="no"
35955 wxUSE_DETECT_SM="no"
35962 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
35965 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35966 OPENGL_LIBS="-framework OpenGL -framework AGL"
35967 elif test "$wxUSE_MSW" = 1; then
35968 OPENGL_LIBS="-lopengl32 -lglu32"
35969 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
35971 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35972 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35975 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
35977 if test -f "$ac_dir/GL/gl.h"; then
35978 ac_find_includes=$ac_dir
35983 if test "$ac_find_includes" != "" ; then
35984 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35985 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35987 if test "x$ac_find_includes" = "x/usr/include"; then
35988 ac_path_to_include=""
35990 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35992 if test $result = 0; then
35993 ac_path_to_include=""
35995 ac_path_to_include=" -I$ac_find_includes"
35999 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
36001 { echo "$as_me:$LINENO: result: not found" >&5
36002 echo "${ECHO_T}not found" >&6; }
36005 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
36006 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
36007 if test "${ac_cv_header_GL_gl_h+set}" = set; then
36008 echo $ECHO_N "(cached) $ECHO_C" >&6
36010 cat >conftest.$ac_ext <<_ACEOF
36013 cat confdefs.h >>conftest.$ac_ext
36014 cat >>conftest.$ac_ext <<_ACEOF
36015 /* end confdefs.h. */
36020 rm -f conftest.$ac_objext
36021 if { (ac_try="$ac_compile"
36022 case "(($ac_try" in
36023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36024 *) ac_try_echo=$ac_try;;
36026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36027 (eval "$ac_compile") 2>conftest.er1
36029 grep -v '^ *+' conftest.er1 >conftest.err
36031 cat conftest.err >&5
36032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36033 (exit $ac_status); } && {
36034 test -z "$ac_c_werror_flag" ||
36035 test ! -s conftest.err
36036 } && test -s conftest.$ac_objext; then
36037 ac_cv_header_GL_gl_h=yes
36039 echo "$as_me: failed program was:" >&5
36040 sed 's/^/| /' conftest.$ac_ext >&5
36042 ac_cv_header_GL_gl_h=no
36045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36047 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36048 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36049 if test $ac_cv_header_GL_gl_h = yes; then
36051 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36052 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36053 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36054 echo $ECHO_N "(cached) $ECHO_C" >&6
36056 cat >conftest.$ac_ext <<_ACEOF
36059 cat confdefs.h >>conftest.$ac_ext
36060 cat >>conftest.$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36064 #include <GL/glu.h>
36066 rm -f conftest.$ac_objext
36067 if { (ac_try="$ac_compile"
36068 case "(($ac_try" in
36069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36070 *) ac_try_echo=$ac_try;;
36072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36073 (eval "$ac_compile") 2>conftest.er1
36075 grep -v '^ *+' conftest.er1 >conftest.err
36077 cat conftest.err >&5
36078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36079 (exit $ac_status); } && {
36080 test -z "$ac_c_werror_flag" ||
36081 test ! -s conftest.err
36082 } && test -s conftest.$ac_objext; then
36083 ac_cv_header_GL_glu_h=yes
36085 echo "$as_me: failed program was:" >&5
36086 sed 's/^/| /' conftest.$ac_ext >&5
36088 ac_cv_header_GL_glu_h=no
36091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36093 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36094 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36095 if test $ac_cv_header_GL_glu_h = yes; then
36102 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
36105 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36106 if test -n "$ac_tool_prefix"; then
36107 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36108 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36111 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36112 echo $ECHO_N "(cached) $ECHO_C" >&6
36114 case $PKG_CONFIG in
36116 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36120 for as_dir in $PATH
36123 test -z "$as_dir" && as_dir=.
36124 for ac_exec_ext in '' $ac_executable_extensions; do
36125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36126 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36137 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36138 if test -n "$PKG_CONFIG"; then
36139 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36140 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36142 { echo "$as_me:$LINENO: result: no" >&5
36143 echo "${ECHO_T}no" >&6; }
36148 if test -z "$ac_cv_path_PKG_CONFIG"; then
36149 ac_pt_PKG_CONFIG=$PKG_CONFIG
36150 # Extract the first word of "pkg-config", so it can be a program name with args.
36151 set dummy pkg-config; ac_word=$2
36152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36154 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36155 echo $ECHO_N "(cached) $ECHO_C" >&6
36157 case $ac_pt_PKG_CONFIG in
36159 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36163 for as_dir in $PATH
36166 test -z "$as_dir" && as_dir=.
36167 for ac_exec_ext in '' $ac_executable_extensions; do
36168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36169 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36180 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36181 if test -n "$ac_pt_PKG_CONFIG"; then
36182 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36183 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36185 { echo "$as_me:$LINENO: result: no" >&5
36186 echo "${ECHO_T}no" >&6; }
36189 if test "x$ac_pt_PKG_CONFIG" = x; then
36192 case $cross_compiling:$ac_tool_warned in
36194 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36195 whose name does not start with the host triplet. If you think this
36196 configuration is useful to you, please write to autoconf@gnu.org." >&5
36197 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36198 whose name does not start with the host triplet. If you think this
36199 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36200 ac_tool_warned=yes ;;
36202 PKG_CONFIG=$ac_pt_PKG_CONFIG
36205 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36209 if test -n "$PKG_CONFIG"; then
36210 _pkg_min_version=0.9.0
36211 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36212 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36213 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36214 { echo "$as_me:$LINENO: result: yes" >&5
36215 echo "${ECHO_T}yes" >&6; }
36217 { echo "$as_me:$LINENO: result: no" >&5
36218 echo "${ECHO_T}no" >&6; }
36225 { echo "$as_me:$LINENO: checking for GL" >&5
36226 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
36228 if test -n "$PKG_CONFIG"; then
36229 if test -n "$GL_CFLAGS"; then
36230 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
36232 if test -n "$PKG_CONFIG" && \
36233 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36234 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); }; then
36238 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36246 if test -n "$PKG_CONFIG"; then
36247 if test -n "$GL_LIBS"; then
36248 pkg_cv_GL_LIBS="$GL_LIBS"
36250 if test -n "$PKG_CONFIG" && \
36251 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36252 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); }; then
36256 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36267 if test $pkg_failed = yes; then
36269 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36270 _pkg_short_errors_supported=yes
36272 _pkg_short_errors_supported=no
36274 if test $_pkg_short_errors_supported = yes; then
36275 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36277 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36279 # Put the nasty error message in config.log where it belongs
36280 echo "$GL_PKG_ERRORS" >&5
36283 if test "x$ac_find_libraries" = "x"; then
36284 if test "xglBegin" != "x"; then
36285 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36286 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36287 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36288 echo $ECHO_N "(cached) $ECHO_C" >&6
36290 ac_check_lib_save_LIBS=$LIBS
36292 cat >conftest.$ac_ext <<_ACEOF
36295 cat confdefs.h >>conftest.$ac_ext
36296 cat >>conftest.$ac_ext <<_ACEOF
36297 /* end confdefs.h. */
36299 /* Override any GCC internal prototype to avoid an error.
36300 Use char because int might match the return type of a GCC
36301 builtin and then its argument prototype would still apply. */
36314 rm -f conftest.$ac_objext conftest$ac_exeext
36315 if { (ac_try="$ac_link"
36316 case "(($ac_try" in
36317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36318 *) ac_try_echo=$ac_try;;
36320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36321 (eval "$ac_link") 2>conftest.er1
36323 grep -v '^ *+' conftest.er1 >conftest.err
36325 cat conftest.err >&5
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); } && {
36328 test -z "$ac_c_werror_flag" ||
36329 test ! -s conftest.err
36330 } && test -s conftest$ac_exeext &&
36331 $as_test_x conftest$ac_exeext; then
36332 ac_cv_lib_GL_glBegin=yes
36334 echo "$as_me: failed program was:" >&5
36335 sed 's/^/| /' conftest.$ac_ext >&5
36337 ac_cv_lib_GL_glBegin=no
36340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36341 conftest$ac_exeext conftest.$ac_ext
36342 LIBS=$ac_check_lib_save_LIBS
36344 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36345 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36346 if test $ac_cv_lib_GL_glBegin = yes; then
36347 ac_find_libraries="std"
36353 if test "x$ac_find_libraries" = "x"; then
36354 { echo "$as_me:$LINENO: checking elsewhere" >&5
36355 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36358 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36360 for ac_extension in a so sl dylib dll.a; do
36361 if test -f "$ac_dir/libGL.$ac_extension"; then
36362 ac_find_libraries=$ac_dir
36368 if test "x$ac_find_libraries" != "x"; then
36369 { echo "$as_me:$LINENO: result: yes" >&5
36370 echo "${ECHO_T}yes" >&6; }
36372 { echo "$as_me:$LINENO: result: no" >&5
36373 echo "${ECHO_T}no" >&6; }
36377 elif test $pkg_failed = untried; then
36379 if test "x$ac_find_libraries" = "x"; then
36380 if test "xglBegin" != "x"; then
36381 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36382 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36383 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36384 echo $ECHO_N "(cached) $ECHO_C" >&6
36386 ac_check_lib_save_LIBS=$LIBS
36388 cat >conftest.$ac_ext <<_ACEOF
36391 cat confdefs.h >>conftest.$ac_ext
36392 cat >>conftest.$ac_ext <<_ACEOF
36393 /* end confdefs.h. */
36395 /* Override any GCC internal prototype to avoid an error.
36396 Use char because int might match the return type of a GCC
36397 builtin and then its argument prototype would still apply. */
36410 rm -f conftest.$ac_objext conftest$ac_exeext
36411 if { (ac_try="$ac_link"
36412 case "(($ac_try" in
36413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36414 *) ac_try_echo=$ac_try;;
36416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36417 (eval "$ac_link") 2>conftest.er1
36419 grep -v '^ *+' conftest.er1 >conftest.err
36421 cat conftest.err >&5
36422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423 (exit $ac_status); } && {
36424 test -z "$ac_c_werror_flag" ||
36425 test ! -s conftest.err
36426 } && test -s conftest$ac_exeext &&
36427 $as_test_x conftest$ac_exeext; then
36428 ac_cv_lib_GL_glBegin=yes
36430 echo "$as_me: failed program was:" >&5
36431 sed 's/^/| /' conftest.$ac_ext >&5
36433 ac_cv_lib_GL_glBegin=no
36436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36437 conftest$ac_exeext conftest.$ac_ext
36438 LIBS=$ac_check_lib_save_LIBS
36440 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36441 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36442 if test $ac_cv_lib_GL_glBegin = yes; then
36443 ac_find_libraries="std"
36449 if test "x$ac_find_libraries" = "x"; then
36450 { echo "$as_me:$LINENO: checking elsewhere" >&5
36451 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36454 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36456 for ac_extension in a so sl dylib dll.a; do
36457 if test -f "$ac_dir/libGL.$ac_extension"; then
36458 ac_find_libraries=$ac_dir
36464 if test "x$ac_find_libraries" != "x"; then
36465 { echo "$as_me:$LINENO: result: yes" >&5
36466 echo "${ECHO_T}yes" >&6; }
36468 { echo "$as_me:$LINENO: result: no" >&5
36469 echo "${ECHO_T}no" >&6; }
36474 GL_CFLAGS=$pkg_cv_GL_CFLAGS
36475 GL_LIBS=$pkg_cv_GL_LIBS
36476 { echo "$as_me:$LINENO: result: yes" >&5
36477 echo "${ECHO_T}yes" >&6; }
36479 ac_find_libraries="std"
36481 eval ac_find_cflags=\$GL_CFLAGS
36482 eval fl_libs=\$GL_LIBS
36484 for fl_path in $fl_libs
36486 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36487 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36493 if test "$ac_find_libraries" != "" ; then
36494 if test "$ac_find_libraries" != "std" ; then
36496 if test "$ac_find_libraries" = "default location"; then
36499 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36501 if test $result = 0; then
36504 ac_path_to_link=" -L$ac_find_libraries"
36508 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36509 LDFLAGS_GL="$ac_path_to_link"
36516 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
36519 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36520 if test -n "$ac_tool_prefix"; then
36521 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36522 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36525 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36526 echo $ECHO_N "(cached) $ECHO_C" >&6
36528 case $PKG_CONFIG in
36530 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36534 for as_dir in $PATH
36537 test -z "$as_dir" && as_dir=.
36538 for ac_exec_ext in '' $ac_executable_extensions; do
36539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36540 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36551 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36552 if test -n "$PKG_CONFIG"; then
36553 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36554 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36556 { echo "$as_me:$LINENO: result: no" >&5
36557 echo "${ECHO_T}no" >&6; }
36562 if test -z "$ac_cv_path_PKG_CONFIG"; then
36563 ac_pt_PKG_CONFIG=$PKG_CONFIG
36564 # Extract the first word of "pkg-config", so it can be a program name with args.
36565 set dummy pkg-config; ac_word=$2
36566 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36568 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36569 echo $ECHO_N "(cached) $ECHO_C" >&6
36571 case $ac_pt_PKG_CONFIG in
36573 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36577 for as_dir in $PATH
36580 test -z "$as_dir" && as_dir=.
36581 for ac_exec_ext in '' $ac_executable_extensions; do
36582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36583 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36594 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36595 if test -n "$ac_pt_PKG_CONFIG"; then
36596 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36597 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36599 { echo "$as_me:$LINENO: result: no" >&5
36600 echo "${ECHO_T}no" >&6; }
36603 if test "x$ac_pt_PKG_CONFIG" = x; then
36606 case $cross_compiling:$ac_tool_warned in
36608 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36609 whose name does not start with the host triplet. If you think this
36610 configuration is useful to you, please write to autoconf@gnu.org." >&5
36611 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36612 whose name does not start with the host triplet. If you think this
36613 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36614 ac_tool_warned=yes ;;
36616 PKG_CONFIG=$ac_pt_PKG_CONFIG
36619 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36623 if test -n "$PKG_CONFIG"; then
36624 _pkg_min_version=0.9.0
36625 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36626 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36627 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36628 { echo "$as_me:$LINENO: result: yes" >&5
36629 echo "${ECHO_T}yes" >&6; }
36631 { echo "$as_me:$LINENO: result: no" >&5
36632 echo "${ECHO_T}no" >&6; }
36639 { echo "$as_me:$LINENO: checking for GLU" >&5
36640 echo $ECHO_N "checking for GLU... $ECHO_C" >&6; }
36642 if test -n "$PKG_CONFIG"; then
36643 if test -n "$GLU_CFLAGS"; then
36644 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
36646 if test -n "$PKG_CONFIG" && \
36647 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36648 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36651 (exit $ac_status); }; then
36652 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36660 if test -n "$PKG_CONFIG"; then
36661 if test -n "$GLU_LIBS"; then
36662 pkg_cv_GLU_LIBS="$GLU_LIBS"
36664 if test -n "$PKG_CONFIG" && \
36665 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36666 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36669 (exit $ac_status); }; then
36670 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36681 if test $pkg_failed = yes; then
36683 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36684 _pkg_short_errors_supported=yes
36686 _pkg_short_errors_supported=no
36688 if test $_pkg_short_errors_supported = yes; then
36689 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36691 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36693 # Put the nasty error message in config.log where it belongs
36694 echo "$GLU_PKG_ERRORS" >&5
36697 if test "x$ac_find_libraries" = "x"; then
36698 if test "xgluBeginCurve" != "x"; then
36699 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36700 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36701 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36702 echo $ECHO_N "(cached) $ECHO_C" >&6
36704 ac_check_lib_save_LIBS=$LIBS
36706 cat >conftest.$ac_ext <<_ACEOF
36709 cat confdefs.h >>conftest.$ac_ext
36710 cat >>conftest.$ac_ext <<_ACEOF
36711 /* end confdefs.h. */
36713 /* Override any GCC internal prototype to avoid an error.
36714 Use char because int might match the return type of a GCC
36715 builtin and then its argument prototype would still apply. */
36719 char gluBeginCurve ();
36723 return gluBeginCurve ();
36728 rm -f conftest.$ac_objext conftest$ac_exeext
36729 if { (ac_try="$ac_link"
36730 case "(($ac_try" in
36731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36732 *) ac_try_echo=$ac_try;;
36734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36735 (eval "$ac_link") 2>conftest.er1
36737 grep -v '^ *+' conftest.er1 >conftest.err
36739 cat conftest.err >&5
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); } && {
36742 test -z "$ac_c_werror_flag" ||
36743 test ! -s conftest.err
36744 } && test -s conftest$ac_exeext &&
36745 $as_test_x conftest$ac_exeext; then
36746 ac_cv_lib_GLU_gluBeginCurve=yes
36748 echo "$as_me: failed program was:" >&5
36749 sed 's/^/| /' conftest.$ac_ext >&5
36751 ac_cv_lib_GLU_gluBeginCurve=no
36754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36755 conftest$ac_exeext conftest.$ac_ext
36756 LIBS=$ac_check_lib_save_LIBS
36758 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36759 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36760 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36761 ac_find_libraries="std"
36767 if test "x$ac_find_libraries" = "x"; then
36768 { echo "$as_me:$LINENO: checking elsewhere" >&5
36769 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36772 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36774 for ac_extension in a so sl dylib dll.a; do
36775 if test -f "$ac_dir/libGLU.$ac_extension"; then
36776 ac_find_libraries=$ac_dir
36782 if test "x$ac_find_libraries" != "x"; then
36783 { echo "$as_me:$LINENO: result: yes" >&5
36784 echo "${ECHO_T}yes" >&6; }
36786 { echo "$as_me:$LINENO: result: no" >&5
36787 echo "${ECHO_T}no" >&6; }
36791 elif test $pkg_failed = untried; then
36793 if test "x$ac_find_libraries" = "x"; then
36794 if test "xgluBeginCurve" != "x"; then
36795 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36796 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36797 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36798 echo $ECHO_N "(cached) $ECHO_C" >&6
36800 ac_check_lib_save_LIBS=$LIBS
36802 cat >conftest.$ac_ext <<_ACEOF
36805 cat confdefs.h >>conftest.$ac_ext
36806 cat >>conftest.$ac_ext <<_ACEOF
36807 /* end confdefs.h. */
36809 /* Override any GCC internal prototype to avoid an error.
36810 Use char because int might match the return type of a GCC
36811 builtin and then its argument prototype would still apply. */
36815 char gluBeginCurve ();
36819 return gluBeginCurve ();
36824 rm -f conftest.$ac_objext conftest$ac_exeext
36825 if { (ac_try="$ac_link"
36826 case "(($ac_try" in
36827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36828 *) ac_try_echo=$ac_try;;
36830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36831 (eval "$ac_link") 2>conftest.er1
36833 grep -v '^ *+' conftest.er1 >conftest.err
36835 cat conftest.err >&5
36836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837 (exit $ac_status); } && {
36838 test -z "$ac_c_werror_flag" ||
36839 test ! -s conftest.err
36840 } && test -s conftest$ac_exeext &&
36841 $as_test_x conftest$ac_exeext; then
36842 ac_cv_lib_GLU_gluBeginCurve=yes
36844 echo "$as_me: failed program was:" >&5
36845 sed 's/^/| /' conftest.$ac_ext >&5
36847 ac_cv_lib_GLU_gluBeginCurve=no
36850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36851 conftest$ac_exeext conftest.$ac_ext
36852 LIBS=$ac_check_lib_save_LIBS
36854 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36855 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36856 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36857 ac_find_libraries="std"
36863 if test "x$ac_find_libraries" = "x"; then
36864 { echo "$as_me:$LINENO: checking elsewhere" >&5
36865 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36868 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36870 for ac_extension in a so sl dylib dll.a; do
36871 if test -f "$ac_dir/libGLU.$ac_extension"; then
36872 ac_find_libraries=$ac_dir
36878 if test "x$ac_find_libraries" != "x"; then
36879 { echo "$as_me:$LINENO: result: yes" >&5
36880 echo "${ECHO_T}yes" >&6; }
36882 { echo "$as_me:$LINENO: result: no" >&5
36883 echo "${ECHO_T}no" >&6; }
36888 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
36889 GLU_LIBS=$pkg_cv_GLU_LIBS
36890 { echo "$as_me:$LINENO: result: yes" >&5
36891 echo "${ECHO_T}yes" >&6; }
36893 ac_find_libraries="std"
36895 eval ac_find_cflags=\$GLU_CFLAGS
36896 eval fl_libs=\$GLU_LIBS
36898 for fl_path in $fl_libs
36900 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36901 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36907 if test "$ac_find_libraries" != "" ; then
36908 if test "$ac_find_libraries" != "std" ; then
36910 if test "$ac_find_libraries" = "default location"; then
36913 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36915 if test $result = 0; then
36918 ac_path_to_link=" -L$ac_find_libraries"
36922 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36923 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
36924 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
36929 OPENGL_LIBS="-lGL -lGLU"
36933 if test "$found_gl" != 1; then
36937 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
36940 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36941 if test -n "$ac_tool_prefix"; then
36942 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36943 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36946 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36947 echo $ECHO_N "(cached) $ECHO_C" >&6
36949 case $PKG_CONFIG in
36951 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36955 for as_dir in $PATH
36958 test -z "$as_dir" && as_dir=.
36959 for ac_exec_ext in '' $ac_executable_extensions; do
36960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36961 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36972 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36973 if test -n "$PKG_CONFIG"; then
36974 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36975 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36977 { echo "$as_me:$LINENO: result: no" >&5
36978 echo "${ECHO_T}no" >&6; }
36983 if test -z "$ac_cv_path_PKG_CONFIG"; then
36984 ac_pt_PKG_CONFIG=$PKG_CONFIG
36985 # Extract the first word of "pkg-config", so it can be a program name with args.
36986 set dummy pkg-config; ac_word=$2
36987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36989 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36990 echo $ECHO_N "(cached) $ECHO_C" >&6
36992 case $ac_pt_PKG_CONFIG in
36994 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36998 for as_dir in $PATH
37001 test -z "$as_dir" && as_dir=.
37002 for ac_exec_ext in '' $ac_executable_extensions; do
37003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37004 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37015 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
37016 if test -n "$ac_pt_PKG_CONFIG"; then
37017 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
37018 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
37020 { echo "$as_me:$LINENO: result: no" >&5
37021 echo "${ECHO_T}no" >&6; }
37024 if test "x$ac_pt_PKG_CONFIG" = x; then
37027 case $cross_compiling:$ac_tool_warned in
37029 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
37030 whose name does not start with the host triplet. If you think this
37031 configuration is useful to you, please write to autoconf@gnu.org." >&5
37032 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
37033 whose name does not start with the host triplet. If you think this
37034 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
37035 ac_tool_warned=yes ;;
37037 PKG_CONFIG=$ac_pt_PKG_CONFIG
37040 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
37044 if test -n "$PKG_CONFIG"; then
37045 _pkg_min_version=0.9.0
37046 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
37047 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
37048 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
37049 { echo "$as_me:$LINENO: result: yes" >&5
37050 echo "${ECHO_T}yes" >&6; }
37052 { echo "$as_me:$LINENO: result: no" >&5
37053 echo "${ECHO_T}no" >&6; }
37060 { echo "$as_me:$LINENO: checking for MesaGL" >&5
37061 echo $ECHO_N "checking for MesaGL... $ECHO_C" >&6; }
37063 if test -n "$PKG_CONFIG"; then
37064 if test -n "$MesaGL_CFLAGS"; then
37065 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
37067 if test -n "$PKG_CONFIG" && \
37068 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
37069 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
37071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37072 (exit $ac_status); }; then
37073 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
37081 if test -n "$PKG_CONFIG"; then
37082 if test -n "$MesaGL_LIBS"; then
37083 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
37085 if test -n "$PKG_CONFIG" && \
37086 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
37087 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
37089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37090 (exit $ac_status); }; then
37091 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
37102 if test $pkg_failed = yes; then
37104 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37105 _pkg_short_errors_supported=yes
37107 _pkg_short_errors_supported=no
37109 if test $_pkg_short_errors_supported = yes; then
37110 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
37112 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
37114 # Put the nasty error message in config.log where it belongs
37115 echo "$MesaGL_PKG_ERRORS" >&5
37118 if test "x$ac_find_libraries" = "x"; then
37119 if test "xglEnable" != "x"; then
37120 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37121 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37122 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37123 echo $ECHO_N "(cached) $ECHO_C" >&6
37125 ac_check_lib_save_LIBS=$LIBS
37126 LIBS="-lMesaGL $LIBS"
37127 cat >conftest.$ac_ext <<_ACEOF
37130 cat confdefs.h >>conftest.$ac_ext
37131 cat >>conftest.$ac_ext <<_ACEOF
37132 /* end confdefs.h. */
37134 /* Override any GCC internal prototype to avoid an error.
37135 Use char because int might match the return type of a GCC
37136 builtin and then its argument prototype would still apply. */
37144 return glEnable ();
37149 rm -f conftest.$ac_objext conftest$ac_exeext
37150 if { (ac_try="$ac_link"
37151 case "(($ac_try" in
37152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37153 *) ac_try_echo=$ac_try;;
37155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37156 (eval "$ac_link") 2>conftest.er1
37158 grep -v '^ *+' conftest.er1 >conftest.err
37160 cat conftest.err >&5
37161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37162 (exit $ac_status); } && {
37163 test -z "$ac_c_werror_flag" ||
37164 test ! -s conftest.err
37165 } && test -s conftest$ac_exeext &&
37166 $as_test_x conftest$ac_exeext; then
37167 ac_cv_lib_MesaGL_glEnable=yes
37169 echo "$as_me: failed program was:" >&5
37170 sed 's/^/| /' conftest.$ac_ext >&5
37172 ac_cv_lib_MesaGL_glEnable=no
37175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37176 conftest$ac_exeext conftest.$ac_ext
37177 LIBS=$ac_check_lib_save_LIBS
37179 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37180 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37181 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37182 ac_find_libraries="std"
37188 if test "x$ac_find_libraries" = "x"; then
37189 { echo "$as_me:$LINENO: checking elsewhere" >&5
37190 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37193 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37195 for ac_extension in a so sl dylib dll.a; do
37196 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37197 ac_find_libraries=$ac_dir
37203 if test "x$ac_find_libraries" != "x"; then
37204 { echo "$as_me:$LINENO: result: yes" >&5
37205 echo "${ECHO_T}yes" >&6; }
37207 { echo "$as_me:$LINENO: result: no" >&5
37208 echo "${ECHO_T}no" >&6; }
37212 elif test $pkg_failed = untried; then
37214 if test "x$ac_find_libraries" = "x"; then
37215 if test "xglEnable" != "x"; then
37216 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37217 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37218 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37219 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 ac_check_lib_save_LIBS=$LIBS
37222 LIBS="-lMesaGL $LIBS"
37223 cat >conftest.$ac_ext <<_ACEOF
37226 cat confdefs.h >>conftest.$ac_ext
37227 cat >>conftest.$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37230 /* Override any GCC internal prototype to avoid an error.
37231 Use char because int might match the return type of a GCC
37232 builtin and then its argument prototype would still apply. */
37240 return glEnable ();
37245 rm -f conftest.$ac_objext conftest$ac_exeext
37246 if { (ac_try="$ac_link"
37247 case "(($ac_try" in
37248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37249 *) ac_try_echo=$ac_try;;
37251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37252 (eval "$ac_link") 2>conftest.er1
37254 grep -v '^ *+' conftest.er1 >conftest.err
37256 cat conftest.err >&5
37257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37258 (exit $ac_status); } && {
37259 test -z "$ac_c_werror_flag" ||
37260 test ! -s conftest.err
37261 } && test -s conftest$ac_exeext &&
37262 $as_test_x conftest$ac_exeext; then
37263 ac_cv_lib_MesaGL_glEnable=yes
37265 echo "$as_me: failed program was:" >&5
37266 sed 's/^/| /' conftest.$ac_ext >&5
37268 ac_cv_lib_MesaGL_glEnable=no
37271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37272 conftest$ac_exeext conftest.$ac_ext
37273 LIBS=$ac_check_lib_save_LIBS
37275 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37276 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37277 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37278 ac_find_libraries="std"
37284 if test "x$ac_find_libraries" = "x"; then
37285 { echo "$as_me:$LINENO: checking elsewhere" >&5
37286 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37289 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37291 for ac_extension in a so sl dylib dll.a; do
37292 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37293 ac_find_libraries=$ac_dir
37299 if test "x$ac_find_libraries" != "x"; then
37300 { echo "$as_me:$LINENO: result: yes" >&5
37301 echo "${ECHO_T}yes" >&6; }
37303 { echo "$as_me:$LINENO: result: no" >&5
37304 echo "${ECHO_T}no" >&6; }
37309 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
37310 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
37311 { echo "$as_me:$LINENO: result: yes" >&5
37312 echo "${ECHO_T}yes" >&6; }
37314 ac_find_libraries="std"
37316 eval ac_find_cflags=\$MesaGL_CFLAGS
37317 eval fl_libs=\$MesaGL_LIBS
37319 for fl_path in $fl_libs
37321 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
37322 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
37328 if test "$ac_find_libraries" != "" ; then
37329 if test "$ac_find_libraries" != "std" ; then
37331 if test "$ac_find_libraries" = "default location"; then
37334 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
37336 if test $result = 0; then
37339 ac_path_to_link=" -L$ac_find_libraries"
37343 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37344 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
37347 OPENGL_LIBS="-lMesaGL -lMesaGLU"
37359 if test "x$OPENGL_LIBS" = "x"; then
37360 if test "$wxUSE_OPENGL" = "yes"; then
37361 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
37362 echo "$as_me: error: OpenGL libraries not available" >&2;}
37363 { (exit 1); exit 1; }; }
37365 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
37366 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
37372 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37373 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37377 if test "$wxUSE_OPENGL" = "auto"; then
37381 if test "$wxUSE_OPENGL" = "yes"; then
37383 cat >>confdefs.h <<\_ACEOF
37384 #define wxUSE_OPENGL 1
37387 cat >>confdefs.h <<\_ACEOF
37388 #define wxUSE_GLCANVAS 1
37391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
37396 if test -n "$TOOLKIT" ; then
37397 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
37402 if test "$wxUSE_SHARED" = "yes"; then
37406 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
37407 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
37412 if test "$wxUSE_SHARED" = "yes"; then
37416 *-*-cygwin* | *-*-mingw* )
37417 wx_cv_version_script=no
37421 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
37422 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
37423 if test "${wx_cv_version_script+set}" = set; then
37424 echo $ECHO_N "(cached) $ECHO_C" >&6
37427 echo "VER_1 { *; };" >conftest.sym
37428 echo "int main() { return 0; }" >conftest.cpp
37431 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37432 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
37433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37434 (eval $ac_try) 2>&5
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); }; } ; then
37438 if test -s conftest.stderr ; then
37439 wx_cv_version_script=no
37441 wx_cv_version_script=yes
37444 wx_cv_version_script=no
37447 if test $wx_cv_version_script = yes
37449 echo "struct B { virtual ~B() { } }; \
37450 struct D : public B { }; \
37451 void F() { D d; }" > conftest.cpp
37454 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37455 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
37456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37457 (eval $ac_try) 2>&5
37459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37460 (exit $ac_status); }; } &&
37462 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37463 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
37464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37465 (eval $ac_try) 2>&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); }; }
37471 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37472 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
37473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37474 (eval $ac_try) 2>&5
37476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37477 (exit $ac_status); }; }
37479 wx_cv_version_script=yes
37481 wx_cv_version_script=no
37486 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
37487 rm -f conftest1.output conftest2.output conftest3.output
37490 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
37491 echo "${ECHO_T}$wx_cv_version_script" >&6; }
37493 if test $wx_cv_version_script = yes ; then
37494 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
37500 if test "$wxUSE_VISIBILITY" != "no"; then
37503 if test -n "$GCC"; then
37504 CFLAGS_VISIBILITY="-fvisibility=hidden"
37505 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
37506 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
37507 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
37508 if test "${wx_cv_cc_visibility+set}" = set; then
37509 echo $ECHO_N "(cached) $ECHO_C" >&6
37512 wx_save_CXXFLAGS="$CXXFLAGS"
37513 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37515 ac_cpp='$CXXCPP $CPPFLAGS'
37516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37520 cat >conftest.$ac_ext <<_ACEOF
37523 cat confdefs.h >>conftest.$ac_ext
37524 cat >>conftest.$ac_ext <<_ACEOF
37525 /* end confdefs.h. */
37527 /* we need gcc >= 4.0, older versions with visibility support
37528 didn't have class visibility: */
37529 #if defined(__GNUC__) && __GNUC__ < 4
37530 error this gcc is too old;
37533 /* visibility only makes sense for ELF shared libs: */
37534 #if !defined(__ELF__) && !defined(__APPLE__)
37535 error this platform has no visibility;
37538 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
37539 #if defined(__clang__)
37540 clang compiler is still broken w.r.t. visibility;
37543 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
37544 extern __attribute__((__visibility__("default"))) int exportedvar;
37545 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
37546 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
37547 class __attribute__((__visibility__("default"))) Foo {
37559 rm -f conftest.$ac_objext
37560 if { (ac_try="$ac_compile"
37561 case "(($ac_try" in
37562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37563 *) ac_try_echo=$ac_try;;
37565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37566 (eval "$ac_compile") 2>conftest.er1
37568 grep -v '^ *+' conftest.er1 >conftest.err
37570 cat conftest.err >&5
37571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37572 (exit $ac_status); } && {
37573 test -z "$ac_cxx_werror_flag" ||
37574 test ! -s conftest.err
37575 } && test -s conftest.$ac_objext; then
37576 wx_cv_cc_visibility=yes
37578 echo "$as_me: failed program was:" >&5
37579 sed 's/^/| /' conftest.$ac_ext >&5
37581 wx_cv_cc_visibility=no
37584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37586 ac_cpp='$CPP $CPPFLAGS'
37587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37591 CXXFLAGS="$wx_save_CXXFLAGS"
37594 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
37595 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
37596 if test $wx_cv_cc_visibility = yes; then
37597 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
37598 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
37599 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
37600 echo $ECHO_N "(cached) $ECHO_C" >&6
37603 wx_save_CXXFLAGS="$CXXFLAGS"
37604 wx_save_LDFLAGS="$LDFLAGS"
37605 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37606 LDFLAGS="$LDFLAGS -shared -fPIC"
37608 ac_cpp='$CXXCPP $CPPFLAGS'
37609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37613 cat >conftest.$ac_ext <<_ACEOF
37616 cat confdefs.h >>conftest.$ac_ext
37617 cat >>conftest.$ac_ext <<_ACEOF
37618 /* end confdefs.h. */
37626 std::string s("hello");
37633 rm -f conftest.$ac_objext conftest$ac_exeext
37634 if { (ac_try="$ac_link"
37635 case "(($ac_try" in
37636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37637 *) ac_try_echo=$ac_try;;
37639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37640 (eval "$ac_link") 2>conftest.er1
37642 grep -v '^ *+' conftest.er1 >conftest.err
37644 cat conftest.err >&5
37645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646 (exit $ac_status); } && {
37647 test -z "$ac_cxx_werror_flag" ||
37648 test ! -s conftest.err
37649 } && test -s conftest$ac_exeext &&
37650 $as_test_x conftest$ac_exeext; then
37651 wx_cv_cc_broken_libstdcxx_visibility=no
37653 echo "$as_me: failed program was:" >&5
37654 sed 's/^/| /' conftest.$ac_ext >&5
37656 wx_cv_cc_broken_libstdcxx_visibility=yes
37659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37660 conftest$ac_exeext conftest.$ac_ext
37662 ac_cpp='$CPP $CPPFLAGS'
37663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37667 CXXFLAGS="$wx_save_CXXFLAGS"
37668 LDFLAGS="$wx_save_LDFLAGS"
37671 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
37672 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
37674 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37675 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
37676 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
37677 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
37678 echo $ECHO_N "(cached) $ECHO_C" >&6
37682 ac_cpp='$CXXCPP $CPPFLAGS'
37683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37687 cat >conftest.$ac_ext <<_ACEOF
37690 cat confdefs.h >>conftest.$ac_ext
37691 cat >>conftest.$ac_ext <<_ACEOF
37692 /* end confdefs.h. */
37694 #pragma GCC visibility push(default)
37696 #pragma GCC visibility pop
37702 std::string s("hello");
37709 rm -f conftest.$ac_objext conftest$ac_exeext
37710 if { (ac_try="$ac_link"
37711 case "(($ac_try" in
37712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37713 *) ac_try_echo=$ac_try;;
37715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37716 (eval "$ac_link") 2>conftest.er1
37718 grep -v '^ *+' conftest.er1 >conftest.err
37720 cat conftest.err >&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); } && {
37723 test -z "$ac_cxx_werror_flag" ||
37724 test ! -s conftest.err
37725 } && test -s conftest$ac_exeext &&
37726 $as_test_x conftest$ac_exeext; then
37727 wx_cv_cc_visibility_workaround=no
37729 echo "$as_me: failed program was:" >&5
37730 sed 's/^/| /' conftest.$ac_ext >&5
37732 wx_cv_cc_visibility_workaround=yes
37735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37736 conftest$ac_exeext conftest.$ac_ext
37738 ac_cpp='$CPP $CPPFLAGS'
37739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37746 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
37747 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
37749 if test $wx_cv_cc_visibility_workaround = no; then
37750 wx_cv_cc_visibility=no
37755 if test $wx_cv_cc_visibility = yes; then
37756 cat >>confdefs.h <<\_ACEOF
37757 #define HAVE_VISIBILITY 1
37760 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37761 cat >>confdefs.h <<\_ACEOF
37762 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
37767 CFLAGS_VISIBILITY=""
37768 CXXFLAGS_VISIBILITY=""
37776 if test "x$SUNCXX" = xyes; then
37777 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
37778 WXCONFIG_RPATH="-R\$libdir"
37781 *-*-linux* | *-*-gnu* )
37782 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37783 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37788 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
37790 saveLdflags="$LDFLAGS"
37791 LDFLAGS="$saveLdflags -Wl,-rpath,/"
37792 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
37793 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
37794 cat >conftest.$ac_ext <<_ACEOF
37797 cat confdefs.h >>conftest.$ac_ext
37798 cat >>conftest.$ac_ext <<_ACEOF
37799 /* end confdefs.h. */
37809 rm -f conftest.$ac_objext conftest$ac_exeext
37810 if { (ac_try="$ac_link"
37811 case "(($ac_try" in
37812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37813 *) ac_try_echo=$ac_try;;
37815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37816 (eval "$ac_link") 2>conftest.er1
37818 grep -v '^ *+' conftest.er1 >conftest.err
37820 cat conftest.err >&5
37821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822 (exit $ac_status); } && {
37823 test -z "$ac_c_werror_flag" ||
37824 test ! -s conftest.err
37825 } && test -s conftest$ac_exeext &&
37826 $as_test_x conftest$ac_exeext; then
37828 { echo "$as_me:$LINENO: result: yes" >&5
37829 echo "${ECHO_T}yes" >&6; }
37830 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37831 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37834 echo "$as_me: failed program was:" >&5
37835 sed 's/^/| /' conftest.$ac_ext >&5
37838 { echo "$as_me:$LINENO: result: no" >&5
37839 echo "${ECHO_T}no" >&6; }
37840 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37841 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37842 LDFLAGS="$saveLdflags -Wl,-R,/"
37843 cat >conftest.$ac_ext <<_ACEOF
37846 cat confdefs.h >>conftest.$ac_ext
37847 cat >>conftest.$ac_ext <<_ACEOF
37848 /* end confdefs.h. */
37858 rm -f conftest.$ac_objext conftest$ac_exeext
37859 if { (ac_try="$ac_link"
37860 case "(($ac_try" in
37861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37862 *) ac_try_echo=$ac_try;;
37864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37865 (eval "$ac_link") 2>conftest.er1
37867 grep -v '^ *+' conftest.er1 >conftest.err
37869 cat conftest.err >&5
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); } && {
37872 test -z "$ac_c_werror_flag" ||
37873 test ! -s conftest.err
37874 } && test -s conftest$ac_exeext &&
37875 $as_test_x conftest$ac_exeext; then
37877 { echo "$as_me:$LINENO: result: yes" >&5
37878 echo "${ECHO_T}yes" >&6; }
37879 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
37880 WXCONFIG_RPATH="-Wl,-R,\$libdir"
37883 echo "$as_me: failed program was:" >&5
37884 sed 's/^/| /' conftest.$ac_ext >&5
37887 { echo "$as_me:$LINENO: result: no" >&5
37888 echo "${ECHO_T}no" >&6; }
37892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37893 conftest$ac_exeext conftest.$ac_ext
37897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37898 conftest$ac_exeext conftest.$ac_ext
37899 LDFLAGS="$saveLdflags"
37903 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
37904 if test "$install_name_tool" -a -x "$install_name_tool"; then
37905 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
37906 cat <<EOF >change-install-names
37908 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
37909 for i in \${libnames} ; do
37910 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
37911 for dep in \${libnames} ; do
37912 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
37916 chmod +x change-install-names
37917 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
37920 HEADER_PAD_OPTION="-headerpad_max_install_names"
37923 *-*-cygwin* | *-*-mingw32* )
37927 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
37928 WXCONFIG_RPATH="-Wl,+b,\$libdir"
37934 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
37936 if test $wxUSE_RPATH = "no"; then
37937 SAMPLES_RPATH_FLAG=''
37938 DYLIB_PATH_POSTLINK=''
37946 config_linkage_component="-static"
37953 lib_unicode_suffix=
37955 if test "$wxUSE_UNICODE" = "yes"; then
37956 lib_unicode_suffix=u
37957 WX_CHARTYPE="unicode"
37961 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
37962 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
37965 if test "$wxUSE_DEBUG_INFO" = "yes"; then
37969 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
37971 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37973 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
37976 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
37977 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37979 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37981 if test "${TOOLKIT_DIR}" = "os2"; then
37982 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37984 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37989 if test "$wxUSE_OLD_COCOA" = 1; then
37992 ac_cpp='$CPP $CPPFLAGS'
37993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37999 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
38000 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
38001 cat >conftest.$ac_ext <<_ACEOF
38004 cat confdefs.h >>conftest.$ac_ext
38005 cat >>conftest.$ac_ext <<_ACEOF
38006 /* end confdefs.h. */
38007 #include <AppKit/NSEvent.h>
38008 #include <CoreFoundation/CoreFoundation.h>
38018 rm -f conftest.$ac_objext
38019 if { (ac_try="$ac_compile"
38020 case "(($ac_try" in
38021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38022 *) ac_try_echo=$ac_try;;
38024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38025 (eval "$ac_compile") 2>conftest.er1
38027 grep -v '^ *+' conftest.er1 >conftest.err
38029 cat conftest.err >&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } && {
38032 test -z "$ac_c_werror_flag" ||
38033 test ! -s conftest.err
38034 } && test -s conftest.$ac_objext; then
38035 { echo "$as_me:$LINENO: result: no" >&5
38036 echo "${ECHO_T}no" >&6; }
38038 echo "$as_me: failed program was:" >&5
38039 sed 's/^/| /' conftest.$ac_ext >&5
38041 { echo "$as_me:$LINENO: result: yes" >&5
38042 echo "${ECHO_T}yes" >&6; }
38043 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
38044 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
38045 cat >conftest.$ac_ext <<_ACEOF
38048 cat confdefs.h >>conftest.$ac_ext
38049 cat >>conftest.$ac_ext <<_ACEOF
38050 /* end confdefs.h. */
38051 #define __Point__ 1
38052 #include <AppKit/NSEvent.h>
38053 #include <CoreFoundation/CoreFoundation.h>
38063 rm -f conftest.$ac_objext
38064 if { (ac_try="$ac_compile"
38065 case "(($ac_try" in
38066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38067 *) ac_try_echo=$ac_try;;
38069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38070 (eval "$ac_compile") 2>conftest.er1
38072 grep -v '^ *+' conftest.er1 >conftest.err
38074 cat conftest.err >&5
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); } && {
38077 test -z "$ac_c_werror_flag" ||
38078 test ! -s conftest.err
38079 } && test -s conftest.$ac_objext; then
38080 { echo "$as_me:$LINENO: result: yes" >&5
38081 echo "${ECHO_T}yes" >&6; }
38082 cat >>confdefs.h <<\_ACEOF
38083 #define __Point__ 1
38088 echo "$as_me: failed program was:" >&5
38089 sed 's/^/| /' conftest.$ac_ext >&5
38091 { { echo "$as_me:$LINENO: error: no
38092 See \`config.log' for more details." >&5
38093 echo "$as_me: error: no
38094 See \`config.log' for more details." >&2;}
38095 { (exit 1); exit 1; }; }
38099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38105 ac_cpp='$CPP $CPPFLAGS'
38106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38113 { echo "$as_me:$LINENO: checking for mode_t" >&5
38114 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
38115 if test "${ac_cv_type_mode_t+set}" = set; then
38116 echo $ECHO_N "(cached) $ECHO_C" >&6
38118 cat >conftest.$ac_ext <<_ACEOF
38121 cat confdefs.h >>conftest.$ac_ext
38122 cat >>conftest.$ac_ext <<_ACEOF
38123 /* end confdefs.h. */
38124 $ac_includes_default
38125 typedef mode_t ac__type_new_;
38129 if ((ac__type_new_ *) 0)
38131 if (sizeof (ac__type_new_))
38137 rm -f conftest.$ac_objext
38138 if { (ac_try="$ac_compile"
38139 case "(($ac_try" in
38140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38141 *) ac_try_echo=$ac_try;;
38143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38144 (eval "$ac_compile") 2>conftest.er1
38146 grep -v '^ *+' conftest.er1 >conftest.err
38148 cat conftest.err >&5
38149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38150 (exit $ac_status); } && {
38151 test -z "$ac_c_werror_flag" ||
38152 test ! -s conftest.err
38153 } && test -s conftest.$ac_objext; then
38154 ac_cv_type_mode_t=yes
38156 echo "$as_me: failed program was:" >&5
38157 sed 's/^/| /' conftest.$ac_ext >&5
38159 ac_cv_type_mode_t=no
38162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38164 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
38165 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
38166 if test $ac_cv_type_mode_t = yes; then
38170 cat >>confdefs.h <<_ACEOF
38176 { echo "$as_me:$LINENO: checking for off_t" >&5
38177 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
38178 if test "${ac_cv_type_off_t+set}" = set; then
38179 echo $ECHO_N "(cached) $ECHO_C" >&6
38181 cat >conftest.$ac_ext <<_ACEOF
38184 cat confdefs.h >>conftest.$ac_ext
38185 cat >>conftest.$ac_ext <<_ACEOF
38186 /* end confdefs.h. */
38187 $ac_includes_default
38188 typedef off_t ac__type_new_;
38192 if ((ac__type_new_ *) 0)
38194 if (sizeof (ac__type_new_))
38200 rm -f conftest.$ac_objext
38201 if { (ac_try="$ac_compile"
38202 case "(($ac_try" in
38203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38204 *) ac_try_echo=$ac_try;;
38206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38207 (eval "$ac_compile") 2>conftest.er1
38209 grep -v '^ *+' conftest.er1 >conftest.err
38211 cat conftest.err >&5
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); } && {
38214 test -z "$ac_c_werror_flag" ||
38215 test ! -s conftest.err
38216 } && test -s conftest.$ac_objext; then
38217 ac_cv_type_off_t=yes
38219 echo "$as_me: failed program was:" >&5
38220 sed 's/^/| /' conftest.$ac_ext >&5
38222 ac_cv_type_off_t=no
38225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38227 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
38228 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
38229 if test $ac_cv_type_off_t = yes; then
38233 cat >>confdefs.h <<_ACEOF
38234 #define off_t long int
38239 { echo "$as_me:$LINENO: checking for pid_t" >&5
38240 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
38241 if test "${ac_cv_type_pid_t+set}" = set; then
38242 echo $ECHO_N "(cached) $ECHO_C" >&6
38244 cat >conftest.$ac_ext <<_ACEOF
38247 cat confdefs.h >>conftest.$ac_ext
38248 cat >>conftest.$ac_ext <<_ACEOF
38249 /* end confdefs.h. */
38250 $ac_includes_default
38251 typedef pid_t ac__type_new_;
38255 if ((ac__type_new_ *) 0)
38257 if (sizeof (ac__type_new_))
38263 rm -f conftest.$ac_objext
38264 if { (ac_try="$ac_compile"
38265 case "(($ac_try" in
38266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38267 *) ac_try_echo=$ac_try;;
38269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38270 (eval "$ac_compile") 2>conftest.er1
38272 grep -v '^ *+' conftest.er1 >conftest.err
38274 cat conftest.err >&5
38275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276 (exit $ac_status); } && {
38277 test -z "$ac_c_werror_flag" ||
38278 test ! -s conftest.err
38279 } && test -s conftest.$ac_objext; then
38280 ac_cv_type_pid_t=yes
38282 echo "$as_me: failed program was:" >&5
38283 sed 's/^/| /' conftest.$ac_ext >&5
38285 ac_cv_type_pid_t=no
38288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38290 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
38291 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
38292 if test $ac_cv_type_pid_t = yes; then
38296 cat >>confdefs.h <<_ACEOF
38302 { echo "$as_me:$LINENO: checking for size_t" >&5
38303 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
38304 if test "${ac_cv_type_size_t+set}" = set; then
38305 echo $ECHO_N "(cached) $ECHO_C" >&6
38307 cat >conftest.$ac_ext <<_ACEOF
38310 cat confdefs.h >>conftest.$ac_ext
38311 cat >>conftest.$ac_ext <<_ACEOF
38312 /* end confdefs.h. */
38313 $ac_includes_default
38314 typedef size_t ac__type_new_;
38318 if ((ac__type_new_ *) 0)
38320 if (sizeof (ac__type_new_))
38326 rm -f conftest.$ac_objext
38327 if { (ac_try="$ac_compile"
38328 case "(($ac_try" in
38329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38330 *) ac_try_echo=$ac_try;;
38332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38333 (eval "$ac_compile") 2>conftest.er1
38335 grep -v '^ *+' conftest.er1 >conftest.err
38337 cat conftest.err >&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); } && {
38340 test -z "$ac_c_werror_flag" ||
38341 test ! -s conftest.err
38342 } && test -s conftest.$ac_objext; then
38343 ac_cv_type_size_t=yes
38345 echo "$as_me: failed program was:" >&5
38346 sed 's/^/| /' conftest.$ac_ext >&5
38348 ac_cv_type_size_t=no
38351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38353 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
38354 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
38355 if test $ac_cv_type_size_t = yes; then
38359 cat >>confdefs.h <<_ACEOF
38360 #define size_t unsigned int
38366 { echo "$as_me:$LINENO: checking for ssize_t" >&5
38367 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
38368 if test "${ac_cv_type_ssize_t+set}" = set; then
38369 echo $ECHO_N "(cached) $ECHO_C" >&6
38371 cat >conftest.$ac_ext <<_ACEOF
38374 cat confdefs.h >>conftest.$ac_ext
38375 cat >>conftest.$ac_ext <<_ACEOF
38376 /* end confdefs.h. */
38377 $ac_includes_default
38378 typedef ssize_t ac__type_new_;
38382 if ((ac__type_new_ *) 0)
38384 if (sizeof (ac__type_new_))
38390 rm -f conftest.$ac_objext
38391 if { (ac_try="$ac_compile"
38392 case "(($ac_try" in
38393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38394 *) ac_try_echo=$ac_try;;
38396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38397 (eval "$ac_compile") 2>conftest.er1
38399 grep -v '^ *+' conftest.er1 >conftest.err
38401 cat conftest.err >&5
38402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38403 (exit $ac_status); } && {
38404 test -z "$ac_c_werror_flag" ||
38405 test ! -s conftest.err
38406 } && test -s conftest.$ac_objext; then
38407 ac_cv_type_ssize_t=yes
38409 echo "$as_me: failed program was:" >&5
38410 sed 's/^/| /' conftest.$ac_ext >&5
38412 ac_cv_type_ssize_t=no
38415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38417 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
38418 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
38419 if test $ac_cv_type_ssize_t = yes; then
38421 cat >>confdefs.h <<_ACEOF
38422 #define HAVE_SSIZE_T 1
38430 ac_cpp='$CXXCPP $CPPFLAGS'
38431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38434 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
38435 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
38436 if test "${wx_cv_size_t_is_uint+set}" = set; then
38437 echo $ECHO_N "(cached) $ECHO_C" >&6
38440 cat >conftest.$ac_ext <<_ACEOF
38443 cat confdefs.h >>conftest.$ac_ext
38444 cat >>conftest.$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38446 #include <stddef.h>
38453 struct Foo { void foo(size_t); void foo(unsigned int); };
38461 rm -f conftest.$ac_objext
38462 if { (ac_try="$ac_compile"
38463 case "(($ac_try" in
38464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38465 *) ac_try_echo=$ac_try;;
38467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38468 (eval "$ac_compile") 2>conftest.er1
38470 grep -v '^ *+' conftest.er1 >conftest.err
38472 cat conftest.err >&5
38473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38474 (exit $ac_status); } && {
38475 test -z "$ac_cxx_werror_flag" ||
38476 test ! -s conftest.err
38477 } && test -s conftest.$ac_objext; then
38478 wx_cv_size_t_is_uint=no
38480 echo "$as_me: failed program was:" >&5
38481 sed 's/^/| /' conftest.$ac_ext >&5
38483 wx_cv_size_t_is_uint=yes
38487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38491 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
38492 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
38494 if test "$wx_cv_size_t_is_uint" = "yes"; then
38495 cat >>confdefs.h <<\_ACEOF
38496 #define wxSIZE_T_IS_UINT 1
38500 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
38501 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
38502 if test "${wx_cv_size_t_is_ulong+set}" = set; then
38503 echo $ECHO_N "(cached) $ECHO_C" >&6
38505 cat >conftest.$ac_ext <<_ACEOF
38508 cat confdefs.h >>conftest.$ac_ext
38509 cat >>conftest.$ac_ext <<_ACEOF
38510 /* end confdefs.h. */
38511 #include <stddef.h>
38518 struct Foo { void foo(size_t); void foo(unsigned long); };
38526 rm -f conftest.$ac_objext
38527 if { (ac_try="$ac_compile"
38528 case "(($ac_try" in
38529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38530 *) ac_try_echo=$ac_try;;
38532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38533 (eval "$ac_compile") 2>conftest.er1
38535 grep -v '^ *+' conftest.er1 >conftest.err
38537 cat conftest.err >&5
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); } && {
38540 test -z "$ac_cxx_werror_flag" ||
38541 test ! -s conftest.err
38542 } && test -s conftest.$ac_objext; then
38543 wx_cv_size_t_is_ulong=no
38545 echo "$as_me: failed program was:" >&5
38546 sed 's/^/| /' conftest.$ac_ext >&5
38548 wx_cv_size_t_is_ulong=yes
38552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38555 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
38556 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
38558 if test "$wx_cv_size_t_is_ulong" = "yes"; then
38559 cat >>confdefs.h <<\_ACEOF
38560 #define wxSIZE_T_IS_ULONG 1
38566 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
38567 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
38568 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
38569 echo $ECHO_N "(cached) $ECHO_C" >&6
38571 cat >conftest.$ac_ext <<_ACEOF
38574 cat confdefs.h >>conftest.$ac_ext
38575 cat >>conftest.$ac_ext <<_ACEOF
38576 /* end confdefs.h. */
38584 struct Foo { void foo(wchar_t);
38585 void foo(unsigned short);
38586 void foo(unsigned int);
38587 void foo(unsigned long); };
38595 rm -f conftest.$ac_objext
38596 if { (ac_try="$ac_compile"
38597 case "(($ac_try" in
38598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38599 *) ac_try_echo=$ac_try;;
38601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38602 (eval "$ac_compile") 2>conftest.er1
38604 grep -v '^ *+' conftest.er1 >conftest.err
38606 cat conftest.err >&5
38607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38608 (exit $ac_status); } && {
38609 test -z "$ac_cxx_werror_flag" ||
38610 test ! -s conftest.err
38611 } && test -s conftest.$ac_objext; then
38612 wx_cv_wchar_t_is_separate_type=yes
38614 echo "$as_me: failed program was:" >&5
38615 sed 's/^/| /' conftest.$ac_ext >&5
38617 wx_cv_wchar_t_is_separate_type=no
38621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38624 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
38625 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38627 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38628 cat >>confdefs.h <<\_ACEOF
38629 #define wxWCHAR_T_IS_REAL_TYPE 1
38633 cat >>confdefs.h <<\_ACEOF
38634 #define wxWCHAR_T_IS_REAL_TYPE 0
38640 ac_cpp='$CPP $CPPFLAGS'
38641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38646 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
38647 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
38648 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38649 echo $ECHO_N "(cached) $ECHO_C" >&6
38652 cat >conftest.$ac_ext <<_ACEOF
38655 cat confdefs.h >>conftest.$ac_ext
38656 cat >>conftest.$ac_ext <<_ACEOF
38657 /* end confdefs.h. */
38671 rm -f conftest.$ac_objext
38672 if { (ac_try="$ac_compile"
38673 case "(($ac_try" in
38674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38675 *) ac_try_echo=$ac_try;;
38677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38678 (eval "$ac_compile") 2>conftest.er1
38680 grep -v '^ *+' conftest.er1 >conftest.err
38682 cat conftest.err >&5
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); } && {
38685 test -z "$ac_c_werror_flag" ||
38686 test ! -s conftest.err
38687 } && test -s conftest.$ac_objext; then
38689 wx_cv_struct_pw_gecos=yes
38692 echo "$as_me: failed program was:" >&5
38693 sed 's/^/| /' conftest.$ac_ext >&5
38696 wx_cv_struct_pw_gecos=no
38701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38705 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
38706 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38708 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38709 cat >>confdefs.h <<\_ACEOF
38710 #define HAVE_PW_GECOS 1
38719 for ac_func in wcslen
38721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38722 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38724 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38725 echo $ECHO_N "(cached) $ECHO_C" >&6
38727 cat >conftest.$ac_ext <<_ACEOF
38730 cat confdefs.h >>conftest.$ac_ext
38731 cat >>conftest.$ac_ext <<_ACEOF
38732 /* end confdefs.h. */
38733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38735 #define $ac_func innocuous_$ac_func
38737 /* System header to define __stub macros and hopefully few prototypes,
38738 which can conflict with char $ac_func (); below.
38739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38740 <limits.h> exists even on freestanding compilers. */
38743 # include <limits.h>
38745 # include <assert.h>
38750 /* Override any GCC internal prototype to avoid an error.
38751 Use char because int might match the return type of a GCC
38752 builtin and then its argument prototype would still apply. */
38757 /* The GNU C library defines this for functions which it implements
38758 to always fail with ENOSYS. Some functions are actually named
38759 something starting with __ and the normal name is an alias. */
38760 #if defined __stub_$ac_func || defined __stub___$ac_func
38767 return $ac_func ();
38772 rm -f conftest.$ac_objext conftest$ac_exeext
38773 if { (ac_try="$ac_link"
38774 case "(($ac_try" in
38775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38776 *) ac_try_echo=$ac_try;;
38778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38779 (eval "$ac_link") 2>conftest.er1
38781 grep -v '^ *+' conftest.er1 >conftest.err
38783 cat conftest.err >&5
38784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38785 (exit $ac_status); } && {
38786 test -z "$ac_c_werror_flag" ||
38787 test ! -s conftest.err
38788 } && test -s conftest$ac_exeext &&
38789 $as_test_x conftest$ac_exeext; then
38790 eval "$as_ac_var=yes"
38792 echo "$as_me: failed program was:" >&5
38793 sed 's/^/| /' conftest.$ac_ext >&5
38795 eval "$as_ac_var=no"
38798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38799 conftest$ac_exeext conftest.$ac_ext
38801 ac_res=`eval echo '${'$as_ac_var'}'`
38802 { echo "$as_me:$LINENO: result: $ac_res" >&5
38803 echo "${ECHO_T}$ac_res" >&6; }
38804 if test `eval echo '${'$as_ac_var'}'` = yes; then
38805 cat >>confdefs.h <<_ACEOF
38806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38813 if test "$WCSLEN_FOUND" = 0; then
38814 if test "$TOOLKIT" = "MSW"; then
38815 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
38816 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
38817 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38818 echo $ECHO_N "(cached) $ECHO_C" >&6
38820 ac_check_lib_save_LIBS=$LIBS
38821 LIBS="-lmsvcrt $LIBS"
38822 cat >conftest.$ac_ext <<_ACEOF
38825 cat confdefs.h >>conftest.$ac_ext
38826 cat >>conftest.$ac_ext <<_ACEOF
38827 /* end confdefs.h. */
38829 /* Override any GCC internal prototype to avoid an error.
38830 Use char because int might match the return type of a GCC
38831 builtin and then its argument prototype would still apply. */
38844 rm -f conftest.$ac_objext conftest$ac_exeext
38845 if { (ac_try="$ac_link"
38846 case "(($ac_try" in
38847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38848 *) ac_try_echo=$ac_try;;
38850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38851 (eval "$ac_link") 2>conftest.er1
38853 grep -v '^ *+' conftest.er1 >conftest.err
38855 cat conftest.err >&5
38856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38857 (exit $ac_status); } && {
38858 test -z "$ac_c_werror_flag" ||
38859 test ! -s conftest.err
38860 } && test -s conftest$ac_exeext &&
38861 $as_test_x conftest$ac_exeext; then
38862 ac_cv_lib_msvcrt_wcslen=yes
38864 echo "$as_me: failed program was:" >&5
38865 sed 's/^/| /' conftest.$ac_ext >&5
38867 ac_cv_lib_msvcrt_wcslen=no
38870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38871 conftest$ac_exeext conftest.$ac_ext
38872 LIBS=$ac_check_lib_save_LIBS
38874 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
38875 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
38876 if test $ac_cv_lib_msvcrt_wcslen = yes; then
38881 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
38882 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
38883 if test "${ac_cv_lib_w_wcslen+set}" = set; then
38884 echo $ECHO_N "(cached) $ECHO_C" >&6
38886 ac_check_lib_save_LIBS=$LIBS
38888 cat >conftest.$ac_ext <<_ACEOF
38891 cat confdefs.h >>conftest.$ac_ext
38892 cat >>conftest.$ac_ext <<_ACEOF
38893 /* end confdefs.h. */
38895 /* Override any GCC internal prototype to avoid an error.
38896 Use char because int might match the return type of a GCC
38897 builtin and then its argument prototype would still apply. */
38910 rm -f conftest.$ac_objext conftest$ac_exeext
38911 if { (ac_try="$ac_link"
38912 case "(($ac_try" in
38913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38914 *) ac_try_echo=$ac_try;;
38916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38917 (eval "$ac_link") 2>conftest.er1
38919 grep -v '^ *+' conftest.er1 >conftest.err
38921 cat conftest.err >&5
38922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38923 (exit $ac_status); } && {
38924 test -z "$ac_c_werror_flag" ||
38925 test ! -s conftest.err
38926 } && test -s conftest$ac_exeext &&
38927 $as_test_x conftest$ac_exeext; then
38928 ac_cv_lib_w_wcslen=yes
38930 echo "$as_me: failed program was:" >&5
38931 sed 's/^/| /' conftest.$ac_ext >&5
38933 ac_cv_lib_w_wcslen=no
38936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38937 conftest$ac_exeext conftest.$ac_ext
38938 LIBS=$ac_check_lib_save_LIBS
38940 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
38941 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
38942 if test $ac_cv_lib_w_wcslen = yes; then
38952 if test "$WCSLEN_FOUND" = 1; then
38953 cat >>confdefs.h <<\_ACEOF
38954 #define HAVE_WCSLEN 1
38965 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
38967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38968 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38970 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38971 echo $ECHO_N "(cached) $ECHO_C" >&6
38973 cat >conftest.$ac_ext <<_ACEOF
38976 cat confdefs.h >>conftest.$ac_ext
38977 cat >>conftest.$ac_ext <<_ACEOF
38978 /* end confdefs.h. */
38979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38981 #define $ac_func innocuous_$ac_func
38983 /* System header to define __stub macros and hopefully few prototypes,
38984 which can conflict with char $ac_func (); below.
38985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38986 <limits.h> exists even on freestanding compilers. */
38989 # include <limits.h>
38991 # include <assert.h>
38996 /* Override any GCC internal prototype to avoid an error.
38997 Use char because int might match the return type of a GCC
38998 builtin and then its argument prototype would still apply. */
39003 /* The GNU C library defines this for functions which it implements
39004 to always fail with ENOSYS. Some functions are actually named
39005 something starting with __ and the normal name is an alias. */
39006 #if defined __stub_$ac_func || defined __stub___$ac_func
39013 return $ac_func ();
39018 rm -f conftest.$ac_objext conftest$ac_exeext
39019 if { (ac_try="$ac_link"
39020 case "(($ac_try" in
39021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39022 *) ac_try_echo=$ac_try;;
39024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39025 (eval "$ac_link") 2>conftest.er1
39027 grep -v '^ *+' conftest.er1 >conftest.err
39029 cat conftest.err >&5
39030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39031 (exit $ac_status); } && {
39032 test -z "$ac_c_werror_flag" ||
39033 test ! -s conftest.err
39034 } && test -s conftest$ac_exeext &&
39035 $as_test_x conftest$ac_exeext; then
39036 eval "$as_ac_var=yes"
39038 echo "$as_me: failed program was:" >&5
39039 sed 's/^/| /' conftest.$ac_ext >&5
39041 eval "$as_ac_var=no"
39044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39045 conftest$ac_exeext conftest.$ac_ext
39047 ac_res=`eval echo '${'$as_ac_var'}'`
39048 { echo "$as_me:$LINENO: result: $ac_res" >&5
39049 echo "${ECHO_T}$ac_res" >&6; }
39050 if test `eval echo '${'$as_ac_var'}'` = yes; then
39051 cat >>confdefs.h <<_ACEOF
39052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39059 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
39060 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
39063 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
39064 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
39065 if test "${ac_cv_type_mbstate_t+set}" = set; then
39066 echo $ECHO_N "(cached) $ECHO_C" >&6
39068 cat >conftest.$ac_ext <<_ACEOF
39071 cat confdefs.h >>conftest.$ac_ext
39072 cat >>conftest.$ac_ext <<_ACEOF
39073 /* end confdefs.h. */
39076 typedef mbstate_t ac__type_new_;
39080 if ((ac__type_new_ *) 0)
39082 if (sizeof (ac__type_new_))
39088 rm -f conftest.$ac_objext
39089 if { (ac_try="$ac_compile"
39090 case "(($ac_try" in
39091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39092 *) ac_try_echo=$ac_try;;
39094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39095 (eval "$ac_compile") 2>conftest.er1
39097 grep -v '^ *+' conftest.er1 >conftest.err
39099 cat conftest.err >&5
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); } && {
39102 test -z "$ac_c_werror_flag" ||
39103 test ! -s conftest.err
39104 } && test -s conftest.$ac_objext; then
39105 ac_cv_type_mbstate_t=yes
39107 echo "$as_me: failed program was:" >&5
39108 sed 's/^/| /' conftest.$ac_ext >&5
39110 ac_cv_type_mbstate_t=no
39113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39115 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
39116 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
39117 if test $ac_cv_type_mbstate_t = yes; then
39119 cat >>confdefs.h <<_ACEOF
39120 #define HAVE_MBSTATE_T 1
39124 for ac_func in wcsrtombs
39126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39129 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39130 echo $ECHO_N "(cached) $ECHO_C" >&6
39132 cat >conftest.$ac_ext <<_ACEOF
39135 cat confdefs.h >>conftest.$ac_ext
39136 cat >>conftest.$ac_ext <<_ACEOF
39137 /* end confdefs.h. */
39138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39140 #define $ac_func innocuous_$ac_func
39142 /* System header to define __stub macros and hopefully few prototypes,
39143 which can conflict with char $ac_func (); below.
39144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39145 <limits.h> exists even on freestanding compilers. */
39148 # include <limits.h>
39150 # include <assert.h>
39155 /* Override any GCC internal prototype to avoid an error.
39156 Use char because int might match the return type of a GCC
39157 builtin and then its argument prototype would still apply. */
39162 /* The GNU C library defines this for functions which it implements
39163 to always fail with ENOSYS. Some functions are actually named
39164 something starting with __ and the normal name is an alias. */
39165 #if defined __stub_$ac_func || defined __stub___$ac_func
39172 return $ac_func ();
39177 rm -f conftest.$ac_objext conftest$ac_exeext
39178 if { (ac_try="$ac_link"
39179 case "(($ac_try" in
39180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39181 *) ac_try_echo=$ac_try;;
39183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39184 (eval "$ac_link") 2>conftest.er1
39186 grep -v '^ *+' conftest.er1 >conftest.err
39188 cat conftest.err >&5
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); } && {
39191 test -z "$ac_c_werror_flag" ||
39192 test ! -s conftest.err
39193 } && test -s conftest$ac_exeext &&
39194 $as_test_x conftest$ac_exeext; then
39195 eval "$as_ac_var=yes"
39197 echo "$as_me: failed program was:" >&5
39198 sed 's/^/| /' conftest.$ac_ext >&5
39200 eval "$as_ac_var=no"
39203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39204 conftest$ac_exeext conftest.$ac_ext
39206 ac_res=`eval echo '${'$as_ac_var'}'`
39207 { echo "$as_me:$LINENO: result: $ac_res" >&5
39208 echo "${ECHO_T}$ac_res" >&6; }
39209 if test `eval echo '${'$as_ac_var'}'` = yes; then
39210 cat >>confdefs.h <<_ACEOF
39211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39223 for ac_func in snprintf vsnprintf vsscanf
39225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39226 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39228 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39229 echo $ECHO_N "(cached) $ECHO_C" >&6
39231 cat >conftest.$ac_ext <<_ACEOF
39234 cat confdefs.h >>conftest.$ac_ext
39235 cat >>conftest.$ac_ext <<_ACEOF
39236 /* end confdefs.h. */
39237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39239 #define $ac_func innocuous_$ac_func
39241 /* System header to define __stub macros and hopefully few prototypes,
39242 which can conflict with char $ac_func (); below.
39243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39244 <limits.h> exists even on freestanding compilers. */
39247 # include <limits.h>
39249 # include <assert.h>
39254 /* Override any GCC internal prototype to avoid an error.
39255 Use char because int might match the return type of a GCC
39256 builtin and then its argument prototype would still apply. */
39261 /* The GNU C library defines this for functions which it implements
39262 to always fail with ENOSYS. Some functions are actually named
39263 something starting with __ and the normal name is an alias. */
39264 #if defined __stub_$ac_func || defined __stub___$ac_func
39271 return $ac_func ();
39276 rm -f conftest.$ac_objext conftest$ac_exeext
39277 if { (ac_try="$ac_link"
39278 case "(($ac_try" in
39279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39280 *) ac_try_echo=$ac_try;;
39282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39283 (eval "$ac_link") 2>conftest.er1
39285 grep -v '^ *+' conftest.er1 >conftest.err
39287 cat conftest.err >&5
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); } && {
39290 test -z "$ac_c_werror_flag" ||
39291 test ! -s conftest.err
39292 } && test -s conftest$ac_exeext &&
39293 $as_test_x conftest$ac_exeext; then
39294 eval "$as_ac_var=yes"
39296 echo "$as_me: failed program was:" >&5
39297 sed 's/^/| /' conftest.$ac_ext >&5
39299 eval "$as_ac_var=no"
39302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39303 conftest$ac_exeext conftest.$ac_ext
39305 ac_res=`eval echo '${'$as_ac_var'}'`
39306 { echo "$as_me:$LINENO: result: $ac_res" >&5
39307 echo "${ECHO_T}$ac_res" >&6; }
39308 if test `eval echo '${'$as_ac_var'}'` = yes; then
39309 cat >>confdefs.h <<_ACEOF
39310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39318 ac_cpp='$CXXCPP $CPPFLAGS'
39319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39323 if test "$ac_cv_func_vsnprintf" = "yes"; then
39324 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
39325 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
39326 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
39327 echo $ECHO_N "(cached) $ECHO_C" >&6
39330 cat >conftest.$ac_ext <<_ACEOF
39333 cat confdefs.h >>conftest.$ac_ext
39334 cat >>conftest.$ac_ext <<_ACEOF
39335 /* end confdefs.h. */
39338 #include <stdarg.h>
39340 #if __MSL__ >= 0x6000
39342 using namespace std;
39352 vsnprintf(buf, 10u, "%s", ap);
39358 rm -f conftest.$ac_objext
39359 if { (ac_try="$ac_compile"
39360 case "(($ac_try" in
39361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39362 *) ac_try_echo=$ac_try;;
39364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39365 (eval "$ac_compile") 2>conftest.er1
39367 grep -v '^ *+' conftest.er1 >conftest.err
39369 cat conftest.err >&5
39370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371 (exit $ac_status); } && {
39372 test -z "$ac_cxx_werror_flag" ||
39373 test ! -s conftest.err
39374 } && test -s conftest.$ac_objext; then
39375 wx_cv_func_vsnprintf_decl=yes
39377 echo "$as_me: failed program was:" >&5
39378 sed 's/^/| /' conftest.$ac_ext >&5
39380 wx_cv_func_vsnprintf_decl=no
39384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39388 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
39389 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
39391 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
39392 cat >>confdefs.h <<\_ACEOF
39393 #define HAVE_VSNPRINTF_DECL 1
39397 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
39398 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
39399 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
39400 echo $ECHO_N "(cached) $ECHO_C" >&6
39403 cat >conftest.$ac_ext <<_ACEOF
39406 cat confdefs.h >>conftest.$ac_ext
39407 cat >>conftest.$ac_ext <<_ACEOF
39408 /* end confdefs.h. */
39411 #include <stdarg.h>
39413 #if __MSL__ >= 0x6000
39415 using namespace std;
39425 const char *fmt = "%s";
39426 vsnprintf(buf, 10u, fmt, ap);
39432 rm -f conftest.$ac_objext
39433 if { (ac_try="$ac_compile"
39434 case "(($ac_try" in
39435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39436 *) ac_try_echo=$ac_try;;
39438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39439 (eval "$ac_compile") 2>conftest.er1
39441 grep -v '^ *+' conftest.er1 >conftest.err
39443 cat conftest.err >&5
39444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39445 (exit $ac_status); } && {
39446 test -z "$ac_cxx_werror_flag" ||
39447 test ! -s conftest.err
39448 } && test -s conftest.$ac_objext; then
39449 wx_cv_func_broken_vsnprintf_decl=no
39451 echo "$as_me: failed program was:" >&5
39452 sed 's/^/| /' conftest.$ac_ext >&5
39454 wx_cv_func_broken_vsnprintf_decl=yes
39458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39462 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
39463 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
39465 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
39466 cat >>confdefs.h <<\_ACEOF
39467 #define HAVE_BROKEN_VSNPRINTF_DECL 1
39474 if test "$ac_cv_func_snprintf" = "yes"; then
39475 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
39476 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
39477 if test "${wx_cv_func_snprintf_decl+set}" = set; then
39478 echo $ECHO_N "(cached) $ECHO_C" >&6
39481 cat >conftest.$ac_ext <<_ACEOF
39484 cat confdefs.h >>conftest.$ac_ext
39485 cat >>conftest.$ac_ext <<_ACEOF
39486 /* end confdefs.h. */
39489 #include <stdarg.h>
39491 #if __MSL__ >= 0x6000
39493 using namespace std;
39502 snprintf(buf, 10u, "%s", "wx");
39508 rm -f conftest.$ac_objext
39509 if { (ac_try="$ac_compile"
39510 case "(($ac_try" in
39511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39512 *) ac_try_echo=$ac_try;;
39514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39515 (eval "$ac_compile") 2>conftest.er1
39517 grep -v '^ *+' conftest.er1 >conftest.err
39519 cat conftest.err >&5
39520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39521 (exit $ac_status); } && {
39522 test -z "$ac_cxx_werror_flag" ||
39523 test ! -s conftest.err
39524 } && test -s conftest.$ac_objext; then
39525 wx_cv_func_snprintf_decl=yes
39527 echo "$as_me: failed program was:" >&5
39528 sed 's/^/| /' conftest.$ac_ext >&5
39530 wx_cv_func_snprintf_decl=no
39534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39538 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
39539 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
39541 if test "$wx_cv_func_snprintf_decl" = "yes"; then
39542 cat >>confdefs.h <<\_ACEOF
39543 #define HAVE_SNPRINTF_DECL 1
39548 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39550 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
39551 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
39552 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39553 echo $ECHO_N "(cached) $ECHO_C" >&6
39556 if test "$cross_compiling" = yes; then
39558 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
39559 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
39560 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
39561 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
39562 wx_cv_func_snprintf_pos_params=no
39566 cat >conftest.$ac_ext <<_ACEOF
39569 cat confdefs.h >>conftest.$ac_ext
39570 cat >>conftest.$ac_ext <<_ACEOF
39571 /* end confdefs.h. */
39578 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39579 if (strcmp ("2 3 1", buffer) == 0)
39585 rm -f conftest$ac_exeext
39586 if { (ac_try="$ac_link"
39587 case "(($ac_try" in
39588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39589 *) ac_try_echo=$ac_try;;
39591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39592 (eval "$ac_link") 2>&5
39594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39596 { (case "(($ac_try" in
39597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39598 *) ac_try_echo=$ac_try;;
39600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39601 (eval "$ac_try") 2>&5
39603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39604 (exit $ac_status); }; }; then
39605 wx_cv_func_snprintf_pos_params=no
39607 echo "$as_me: program exited with status $ac_status" >&5
39608 echo "$as_me: failed program was:" >&5
39609 sed 's/^/| /' conftest.$ac_ext >&5
39611 ( exit $ac_status )
39612 wx_cv_func_snprintf_pos_params=yes
39614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39621 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
39622 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39624 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39625 cat >>confdefs.h <<\_ACEOF
39626 #define HAVE_UNIX98_PRINTF 1
39633 if test "$ac_cv_func_vsscanf" = "yes"; then
39634 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
39635 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
39636 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
39637 echo $ECHO_N "(cached) $ECHO_C" >&6
39640 cat >conftest.$ac_ext <<_ACEOF
39643 cat confdefs.h >>conftest.$ac_ext
39644 cat >>conftest.$ac_ext <<_ACEOF
39645 /* end confdefs.h. */
39648 #include <stdarg.h>
39650 #if __MSL__ >= 0x6000
39652 using namespace std;
39662 vsscanf(buf, "%s", args);
39668 rm -f conftest.$ac_objext
39669 if { (ac_try="$ac_compile"
39670 case "(($ac_try" in
39671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39672 *) ac_try_echo=$ac_try;;
39674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39675 (eval "$ac_compile") 2>conftest.er1
39677 grep -v '^ *+' conftest.er1 >conftest.err
39679 cat conftest.err >&5
39680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39681 (exit $ac_status); } && {
39682 test -z "$ac_cxx_werror_flag" ||
39683 test ! -s conftest.err
39684 } && test -s conftest.$ac_objext; then
39685 wx_cv_func_vsscanf_decl=yes
39687 echo "$as_me: failed program was:" >&5
39688 sed 's/^/| /' conftest.$ac_ext >&5
39690 wx_cv_func_vsscanf_decl=no
39694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39698 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
39699 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
39701 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
39702 cat >>confdefs.h <<\_ACEOF
39703 #define HAVE_VSSCANF_DECL 1
39709 ac_cpp='$CPP $CPPFLAGS'
39710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39715 if test "$wxUSE_UNICODE" = yes; then
39717 wchar_headers="#include <stdio.h>
39718 #include <wchar.h>"
39722 for ac_header in widec.h
39724 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39725 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39727 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39728 echo $ECHO_N "(cached) $ECHO_C" >&6
39730 cat >conftest.$ac_ext <<_ACEOF
39733 cat confdefs.h >>conftest.$ac_ext
39734 cat >>conftest.$ac_ext <<_ACEOF
39735 /* end confdefs.h. */
39736 $ac_includes_default
39738 #include <$ac_header>
39740 rm -f conftest.$ac_objext
39741 if { (ac_try="$ac_compile"
39742 case "(($ac_try" in
39743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39744 *) ac_try_echo=$ac_try;;
39746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39747 (eval "$ac_compile") 2>conftest.er1
39749 grep -v '^ *+' conftest.er1 >conftest.err
39751 cat conftest.err >&5
39752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39753 (exit $ac_status); } && {
39754 test -z "$ac_c_werror_flag" ||
39755 test ! -s conftest.err
39756 } && test -s conftest.$ac_objext; then
39757 eval "$as_ac_Header=yes"
39759 echo "$as_me: failed program was:" >&5
39760 sed 's/^/| /' conftest.$ac_ext >&5
39762 eval "$as_ac_Header=no"
39765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39767 ac_res=`eval echo '${'$as_ac_Header'}'`
39768 { echo "$as_me:$LINENO: result: $ac_res" >&5
39769 echo "${ECHO_T}$ac_res" >&6; }
39770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39771 cat >>confdefs.h <<_ACEOF
39772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39779 if test "$ac_cv_header_widec_h" = "yes"; then
39780 wchar_headers="$wchar_headers
39781 #include <widec.h>"
39786 for wx_func in putws fputws wprintf vswprintf vswscanf
39788 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39789 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39790 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39791 echo $ECHO_N "(cached) $ECHO_C" >&6
39794 cat >conftest.$ac_ext <<_ACEOF
39798 cat confdefs.h >>conftest.$ac_ext
39799 cat >>conftest.$ac_ext <<_ACEOF
39800 /* end confdefs.h. */
39803 $ac_includes_default
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 eval wx_cv_func_$wx_func=yes
39839 echo "$as_me: failed program was:" >&5
39840 sed 's/^/| /' conftest.$ac_ext >&5
39842 eval wx_cv_func_$wx_func=no
39845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39846 conftest$ac_exeext conftest.$ac_ext
39849 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39850 { echo "$as_me:$LINENO: result: $ac_res" >&5
39851 echo "${ECHO_T}$ac_res" >&6; }
39853 if eval test \$wx_cv_func_$wx_func = yes
39855 cat >>confdefs.h <<_ACEOF
39856 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39867 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39868 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39869 cat >conftest.$ac_ext <<_ACEOF
39872 cat confdefs.h >>conftest.$ac_ext
39873 cat >>conftest.$ac_ext <<_ACEOF
39874 /* end confdefs.h. */
39884 rm -f conftest.$ac_objext
39885 if { (ac_try="$ac_compile"
39886 case "(($ac_try" in
39887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39888 *) ac_try_echo=$ac_try;;
39890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39891 (eval "$ac_compile") 2>conftest.er1
39893 grep -v '^ *+' conftest.er1 >conftest.err
39895 cat conftest.err >&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); } && {
39898 test -z "$ac_c_werror_flag" ||
39899 test ! -s conftest.err
39900 } && test -s conftest.$ac_objext; then
39901 { echo "$as_me:$LINENO: result: yes" >&5
39902 echo "${ECHO_T}yes" >&6; }
39903 cat >>confdefs.h <<\_ACEOF
39904 #define HAVE__VSNWPRINTF 1
39908 echo "$as_me: failed program was:" >&5
39909 sed 's/^/| /' conftest.$ac_ext >&5
39911 { echo "$as_me:$LINENO: result: no" >&5
39912 echo "${ECHO_T}no" >&6; }
39915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39918 if test "$wxUSE_FILE" = "yes"; then
39920 for wx_func in fsync
39922 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39923 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39924 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39925 echo $ECHO_N "(cached) $ECHO_C" >&6
39928 cat >conftest.$ac_ext <<_ACEOF
39932 cat confdefs.h >>conftest.$ac_ext
39933 cat >>conftest.$ac_ext <<_ACEOF
39934 /* end confdefs.h. */
39937 $ac_includes_default
39953 rm -f conftest.$ac_objext conftest$ac_exeext
39954 if { (ac_try="$ac_link"
39955 case "(($ac_try" in
39956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39957 *) ac_try_echo=$ac_try;;
39959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39960 (eval "$ac_link") 2>conftest.er1
39962 grep -v '^ *+' conftest.er1 >conftest.err
39964 cat conftest.err >&5
39965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39966 (exit $ac_status); } && {
39967 test -z "$ac_c_werror_flag" ||
39968 test ! -s conftest.err
39969 } && test -s conftest$ac_exeext &&
39970 $as_test_x conftest$ac_exeext; then
39971 eval wx_cv_func_$wx_func=yes
39973 echo "$as_me: failed program was:" >&5
39974 sed 's/^/| /' conftest.$ac_ext >&5
39976 eval wx_cv_func_$wx_func=no
39979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39980 conftest$ac_exeext conftest.$ac_ext
39983 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39984 { echo "$as_me:$LINENO: result: $ac_res" >&5
39985 echo "${ECHO_T}$ac_res" >&6; }
39987 if eval test \$wx_cv_func_$wx_func = yes
39989 cat >>confdefs.h <<_ACEOF
39990 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40003 ac_cpp='$CXXCPP $CPPFLAGS'
40004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40009 for wx_func in round
40011 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40012 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40013 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40014 echo $ECHO_N "(cached) $ECHO_C" >&6
40017 cat >conftest.$ac_ext <<_ACEOF
40021 cat confdefs.h >>conftest.$ac_ext
40022 cat >>conftest.$ac_ext <<_ACEOF
40023 /* end confdefs.h. */
40026 $ac_includes_default
40042 rm -f conftest.$ac_objext conftest$ac_exeext
40043 if { (ac_try="$ac_link"
40044 case "(($ac_try" in
40045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40046 *) ac_try_echo=$ac_try;;
40048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40049 (eval "$ac_link") 2>conftest.er1
40051 grep -v '^ *+' conftest.er1 >conftest.err
40053 cat conftest.err >&5
40054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40055 (exit $ac_status); } && {
40056 test -z "$ac_cxx_werror_flag" ||
40057 test ! -s conftest.err
40058 } && test -s conftest$ac_exeext &&
40059 $as_test_x conftest$ac_exeext; then
40060 eval wx_cv_func_$wx_func=yes
40062 echo "$as_me: failed program was:" >&5
40063 sed 's/^/| /' conftest.$ac_ext >&5
40065 eval wx_cv_func_$wx_func=no
40068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40069 conftest$ac_exeext conftest.$ac_ext
40072 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40073 { echo "$as_me:$LINENO: result: $ac_res" >&5
40074 echo "${ECHO_T}$ac_res" >&6; }
40076 if eval test \$wx_cv_func_$wx_func = yes
40078 cat >>confdefs.h <<_ACEOF
40079 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40090 ac_cpp='$CPP $CPPFLAGS'
40091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40096 if test "$TOOLKIT" != "MSW"; then
40098 if test "$wxUSE_LIBICONV" != "no" ; then
40102 # Check whether --with-libiconv-prefix was given.
40103 if test "${with_libiconv_prefix+set}" = set; then
40104 withval=$with_libiconv_prefix;
40105 for dir in `echo "$withval" | tr : ' '`; do
40106 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
40107 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
40113 { echo "$as_me:$LINENO: checking for iconv" >&5
40114 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
40115 if test "${am_cv_func_iconv+set}" = set; then
40116 echo $ECHO_N "(cached) $ECHO_C" >&6
40119 am_cv_func_iconv="no, consider installing GNU libiconv"
40121 cat >conftest.$ac_ext <<_ACEOF
40124 cat confdefs.h >>conftest.$ac_ext
40125 cat >>conftest.$ac_ext <<_ACEOF
40126 /* end confdefs.h. */
40127 #include <stdlib.h>
40132 iconv_t cd = iconv_open("","");
40133 iconv(cd,NULL,NULL,NULL,NULL);
40139 rm -f conftest.$ac_objext conftest$ac_exeext
40140 if { (ac_try="$ac_link"
40141 case "(($ac_try" in
40142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40143 *) ac_try_echo=$ac_try;;
40145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40146 (eval "$ac_link") 2>conftest.er1
40148 grep -v '^ *+' conftest.er1 >conftest.err
40150 cat conftest.err >&5
40151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40152 (exit $ac_status); } && {
40153 test -z "$ac_c_werror_flag" ||
40154 test ! -s conftest.err
40155 } && test -s conftest$ac_exeext &&
40156 $as_test_x conftest$ac_exeext; then
40157 am_cv_func_iconv=yes
40159 echo "$as_me: failed program was:" >&5
40160 sed 's/^/| /' conftest.$ac_ext >&5
40165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40166 conftest$ac_exeext conftest.$ac_ext
40167 if test "$am_cv_func_iconv" != yes; then
40168 am_save_LIBS="$LIBS"
40169 LIBS="$LIBS -liconv"
40170 cat >conftest.$ac_ext <<_ACEOF
40173 cat confdefs.h >>conftest.$ac_ext
40174 cat >>conftest.$ac_ext <<_ACEOF
40175 /* end confdefs.h. */
40176 #include <stdlib.h>
40181 iconv_t cd = iconv_open("","");
40182 iconv(cd,NULL,NULL,NULL,NULL);
40188 rm -f conftest.$ac_objext conftest$ac_exeext
40189 if { (ac_try="$ac_link"
40190 case "(($ac_try" in
40191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40192 *) ac_try_echo=$ac_try;;
40194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40195 (eval "$ac_link") 2>conftest.er1
40197 grep -v '^ *+' conftest.er1 >conftest.err
40199 cat conftest.err >&5
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); } && {
40202 test -z "$ac_c_werror_flag" ||
40203 test ! -s conftest.err
40204 } && test -s conftest$ac_exeext &&
40205 $as_test_x conftest$ac_exeext; then
40206 am_cv_lib_iconv=yes
40207 am_cv_func_iconv=yes
40209 echo "$as_me: failed program was:" >&5
40210 sed 's/^/| /' conftest.$ac_ext >&5
40215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40216 conftest$ac_exeext conftest.$ac_ext
40217 LIBS="$am_save_LIBS"
40221 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
40222 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
40223 if test "$am_cv_func_iconv" = yes; then
40225 cat >>confdefs.h <<\_ACEOF
40226 #define HAVE_ICONV 1
40229 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
40230 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
40231 if test "${wx_cv_func_iconv_const+set}" = set; then
40232 echo $ECHO_N "(cached) $ECHO_C" >&6
40234 cat >conftest.$ac_ext <<_ACEOF
40237 cat confdefs.h >>conftest.$ac_ext
40238 cat >>conftest.$ac_ext <<_ACEOF
40239 /* end confdefs.h. */
40241 #include <stdlib.h>
40247 #if defined(__STDC__) || defined(__cplusplus)
40248 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40261 rm -f conftest.$ac_objext
40262 if { (ac_try="$ac_compile"
40263 case "(($ac_try" in
40264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40265 *) ac_try_echo=$ac_try;;
40267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40268 (eval "$ac_compile") 2>conftest.er1
40270 grep -v '^ *+' conftest.er1 >conftest.err
40272 cat conftest.err >&5
40273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40274 (exit $ac_status); } && {
40275 test -z "$ac_c_werror_flag" ||
40276 test ! -s conftest.err
40277 } && test -s conftest.$ac_objext; then
40278 wx_cv_func_iconv_const="no"
40280 echo "$as_me: failed program was:" >&5
40281 sed 's/^/| /' conftest.$ac_ext >&5
40283 wx_cv_func_iconv_const="yes"
40287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40290 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
40291 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
40294 if test "x$wx_cv_func_iconv_const" = "xyes"; then
40295 iconv_const="const"
40299 cat >>confdefs.h <<_ACEOF
40300 #define ICONV_CONST $iconv_const
40305 if test "$am_cv_lib_iconv" = yes; then
40310 LIBS="$LIBICONV $LIBS"
40313 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40315 for ac_func in sigaction
40317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40318 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40320 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40321 echo $ECHO_N "(cached) $ECHO_C" >&6
40323 cat >conftest.$ac_ext <<_ACEOF
40326 cat confdefs.h >>conftest.$ac_ext
40327 cat >>conftest.$ac_ext <<_ACEOF
40328 /* end confdefs.h. */
40329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40331 #define $ac_func innocuous_$ac_func
40333 /* System header to define __stub macros and hopefully few prototypes,
40334 which can conflict with char $ac_func (); below.
40335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40336 <limits.h> exists even on freestanding compilers. */
40339 # include <limits.h>
40341 # include <assert.h>
40346 /* Override any GCC internal prototype to avoid an error.
40347 Use char because int might match the return type of a GCC
40348 builtin and then its argument prototype would still apply. */
40353 /* The GNU C library defines this for functions which it implements
40354 to always fail with ENOSYS. Some functions are actually named
40355 something starting with __ and the normal name is an alias. */
40356 #if defined __stub_$ac_func || defined __stub___$ac_func
40363 return $ac_func ();
40368 rm -f conftest.$ac_objext conftest$ac_exeext
40369 if { (ac_try="$ac_link"
40370 case "(($ac_try" in
40371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40372 *) ac_try_echo=$ac_try;;
40374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40375 (eval "$ac_link") 2>conftest.er1
40377 grep -v '^ *+' conftest.er1 >conftest.err
40379 cat conftest.err >&5
40380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40381 (exit $ac_status); } && {
40382 test -z "$ac_c_werror_flag" ||
40383 test ! -s conftest.err
40384 } && test -s conftest$ac_exeext &&
40385 $as_test_x conftest$ac_exeext; then
40386 eval "$as_ac_var=yes"
40388 echo "$as_me: failed program was:" >&5
40389 sed 's/^/| /' conftest.$ac_ext >&5
40391 eval "$as_ac_var=no"
40394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40395 conftest$ac_exeext conftest.$ac_ext
40397 ac_res=`eval echo '${'$as_ac_var'}'`
40398 { echo "$as_me:$LINENO: result: $ac_res" >&5
40399 echo "${ECHO_T}$ac_res" >&6; }
40400 if test `eval echo '${'$as_ac_var'}'` = yes; then
40401 cat >>confdefs.h <<_ACEOF
40402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40409 if test "$ac_cv_func_sigaction" = "no"; then
40410 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40411 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40412 wxUSE_ON_FATAL_EXCEPTION=no
40415 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40416 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40417 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40418 if test "${wx_cv_type_sa_handler+set}" = set; then
40419 echo $ECHO_N "(cached) $ECHO_C" >&6
40423 ac_cpp='$CXXCPP $CPPFLAGS'
40424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40428 cat >conftest.$ac_ext <<_ACEOF
40431 cat confdefs.h >>conftest.$ac_ext
40432 cat >>conftest.$ac_ext <<_ACEOF
40433 /* end confdefs.h. */
40434 #include <signal.h>
40439 extern void testSigHandler(int);
40441 struct sigaction sa;
40442 sa.sa_handler = testSigHandler;
40448 rm -f conftest.$ac_objext
40449 if { (ac_try="$ac_compile"
40450 case "(($ac_try" in
40451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40452 *) ac_try_echo=$ac_try;;
40454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40455 (eval "$ac_compile") 2>conftest.er1
40457 grep -v '^ *+' conftest.er1 >conftest.err
40459 cat conftest.err >&5
40460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40461 (exit $ac_status); } && {
40462 test -z "$ac_cxx_werror_flag" ||
40463 test ! -s conftest.err
40464 } && test -s conftest.$ac_objext; then
40466 wx_cv_type_sa_handler=int
40469 echo "$as_me: failed program was:" >&5
40470 sed 's/^/| /' conftest.$ac_ext >&5
40473 wx_cv_type_sa_handler=void
40477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40479 ac_cpp='$CPP $CPPFLAGS'
40480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40486 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40487 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40489 cat >>confdefs.h <<_ACEOF
40490 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40496 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40497 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40498 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40499 if test "${wx_cv_func_backtrace+set}" = set; then
40500 echo $ECHO_N "(cached) $ECHO_C" >&6
40504 ac_cpp='$CXXCPP $CPPFLAGS'
40505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40509 cat >conftest.$ac_ext <<_ACEOF
40512 cat confdefs.h >>conftest.$ac_ext
40513 cat >>conftest.$ac_ext <<_ACEOF
40514 /* end confdefs.h. */
40515 #include <execinfo.h>
40523 backtrace(trace, 1);
40524 messages = backtrace_symbols(trace, 1);
40530 rm -f conftest.$ac_objext
40531 if { (ac_try="$ac_compile"
40532 case "(($ac_try" in
40533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40534 *) ac_try_echo=$ac_try;;
40536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40537 (eval "$ac_compile") 2>conftest.er1
40539 grep -v '^ *+' conftest.er1 >conftest.err
40541 cat conftest.err >&5
40542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 (exit $ac_status); } && {
40544 test -z "$ac_cxx_werror_flag" ||
40545 test ! -s conftest.err
40546 } && test -s conftest.$ac_objext; then
40547 wx_cv_func_backtrace=yes
40549 echo "$as_me: failed program was:" >&5
40550 sed 's/^/| /' conftest.$ac_ext >&5
40552 wx_cv_func_backtrace=no
40556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40558 ac_cpp='$CPP $CPPFLAGS'
40559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40566 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40567 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40570 if test "$wx_cv_func_backtrace" = "no"; then
40571 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40572 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40573 wxUSE_STACKWALKER=no
40575 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40576 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40577 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40578 echo $ECHO_N "(cached) $ECHO_C" >&6
40582 ac_cpp='$CXXCPP $CPPFLAGS'
40583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40587 cat >conftest.$ac_ext <<_ACEOF
40590 cat confdefs.h >>conftest.$ac_ext
40591 cat >>conftest.$ac_ext <<_ACEOF
40592 /* end confdefs.h. */
40593 #include <cxxabi.h>
40599 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40605 rm -f conftest.$ac_objext conftest$ac_exeext
40606 if { (ac_try="$ac_link"
40607 case "(($ac_try" in
40608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40609 *) ac_try_echo=$ac_try;;
40611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40612 (eval "$ac_link") 2>conftest.er1
40614 grep -v '^ *+' conftest.er1 >conftest.err
40616 cat conftest.err >&5
40617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40618 (exit $ac_status); } && {
40619 test -z "$ac_cxx_werror_flag" ||
40620 test ! -s conftest.err
40621 } && test -s conftest$ac_exeext &&
40622 $as_test_x conftest$ac_exeext; then
40623 wx_cv_func_cxa_demangle=yes
40625 echo "$as_me: failed program was:" >&5
40626 sed 's/^/| /' conftest.$ac_ext >&5
40628 wx_cv_func_cxa_demangle=no
40632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40633 conftest$ac_exeext conftest.$ac_ext
40635 ac_cpp='$CPP $CPPFLAGS'
40636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40643 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40644 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40646 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40647 cat >>confdefs.h <<\_ACEOF
40648 #define HAVE_CXA_DEMANGLE 1
40655 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
40656 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40657 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40658 wxUSE_STACKWALKER=no
40664 for ac_func in mkstemp mktemp
40666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40667 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40670 echo $ECHO_N "(cached) $ECHO_C" >&6
40672 cat >conftest.$ac_ext <<_ACEOF
40675 cat confdefs.h >>conftest.$ac_ext
40676 cat >>conftest.$ac_ext <<_ACEOF
40677 /* end confdefs.h. */
40678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40680 #define $ac_func innocuous_$ac_func
40682 /* System header to define __stub macros and hopefully few prototypes,
40683 which can conflict with char $ac_func (); below.
40684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40685 <limits.h> exists even on freestanding compilers. */
40688 # include <limits.h>
40690 # include <assert.h>
40695 /* Override any GCC internal prototype to avoid an error.
40696 Use char because int might match the return type of a GCC
40697 builtin and then its argument prototype would still apply. */
40702 /* The GNU C library defines this for functions which it implements
40703 to always fail with ENOSYS. Some functions are actually named
40704 something starting with __ and the normal name is an alias. */
40705 #if defined __stub_$ac_func || defined __stub___$ac_func
40712 return $ac_func ();
40717 rm -f conftest.$ac_objext conftest$ac_exeext
40718 if { (ac_try="$ac_link"
40719 case "(($ac_try" in
40720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40721 *) ac_try_echo=$ac_try;;
40723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40724 (eval "$ac_link") 2>conftest.er1
40726 grep -v '^ *+' conftest.er1 >conftest.err
40728 cat conftest.err >&5
40729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40730 (exit $ac_status); } && {
40731 test -z "$ac_c_werror_flag" ||
40732 test ! -s conftest.err
40733 } && test -s conftest$ac_exeext &&
40734 $as_test_x conftest$ac_exeext; then
40735 eval "$as_ac_var=yes"
40737 echo "$as_me: failed program was:" >&5
40738 sed 's/^/| /' conftest.$ac_ext >&5
40740 eval "$as_ac_var=no"
40743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40744 conftest$ac_exeext conftest.$ac_ext
40746 ac_res=`eval echo '${'$as_ac_var'}'`
40747 { echo "$as_me:$LINENO: result: $ac_res" >&5
40748 echo "${ECHO_T}$ac_res" >&6; }
40749 if test `eval echo '${'$as_ac_var'}'` = yes; then
40750 cat >>confdefs.h <<_ACEOF
40751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40758 { echo "$as_me:$LINENO: checking for statfs" >&5
40759 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40760 if test "${wx_cv_func_statfs+set}" = set; then
40761 echo $ECHO_N "(cached) $ECHO_C" >&6
40763 cat >conftest.$ac_ext <<_ACEOF
40766 cat confdefs.h >>conftest.$ac_ext
40767 cat >>conftest.$ac_ext <<_ACEOF
40768 /* end confdefs.h. */
40770 #if defined(__BSD__)
40771 #include <sys/param.h>
40772 #include <sys/mount.h>
40774 #include <sys/vfs.h>
40792 rm -f conftest.$ac_objext
40793 if { (ac_try="$ac_compile"
40794 case "(($ac_try" in
40795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40796 *) ac_try_echo=$ac_try;;
40798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40799 (eval "$ac_compile") 2>conftest.er1
40801 grep -v '^ *+' conftest.er1 >conftest.err
40803 cat conftest.err >&5
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); } && {
40806 test -z "$ac_c_werror_flag" ||
40807 test ! -s conftest.err
40808 } && test -s conftest.$ac_objext; then
40809 wx_cv_func_statfs=yes
40811 echo "$as_me: failed program was:" >&5
40812 sed 's/^/| /' conftest.$ac_ext >&5
40814 wx_cv_func_statfs=no
40818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40821 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40822 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40824 if test "$wx_cv_func_statfs" = "yes"; then
40825 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40826 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40827 if test "${wx_cv_func_statfs_decl+set}" = set; then
40828 echo $ECHO_N "(cached) $ECHO_C" >&6
40831 ac_cpp='$CXXCPP $CPPFLAGS'
40832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40836 cat >conftest.$ac_ext <<_ACEOF
40839 cat confdefs.h >>conftest.$ac_ext
40840 cat >>conftest.$ac_ext <<_ACEOF
40841 /* end confdefs.h. */
40843 #if defined(__BSD__)
40844 #include <sys/param.h>
40845 #include <sys/mount.h>
40847 #include <sys/vfs.h>
40861 rm -f conftest.$ac_objext
40862 if { (ac_try="$ac_compile"
40863 case "(($ac_try" in
40864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40865 *) ac_try_echo=$ac_try;;
40867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40868 (eval "$ac_compile") 2>conftest.er1
40870 grep -v '^ *+' conftest.er1 >conftest.err
40872 cat conftest.err >&5
40873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40874 (exit $ac_status); } && {
40875 test -z "$ac_cxx_werror_flag" ||
40876 test ! -s conftest.err
40877 } && test -s conftest.$ac_objext; then
40878 wx_cv_func_statfs_decl=yes
40880 echo "$as_me: failed program was:" >&5
40881 sed 's/^/| /' conftest.$ac_ext >&5
40883 wx_cv_func_statfs_decl=no
40887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40889 ac_cpp='$CPP $CPPFLAGS'
40890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40896 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40897 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40899 if test "$wx_cv_func_statfs_decl" = "yes"; then
40900 cat >>confdefs.h <<\_ACEOF
40901 #define HAVE_STATFS_DECL 1
40906 wx_cv_type_statvfs_t="struct statfs"
40907 cat >>confdefs.h <<\_ACEOF
40908 #define HAVE_STATFS 1
40912 { echo "$as_me:$LINENO: checking for statvfs" >&5
40913 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40914 if test "${wx_cv_func_statvfs+set}" = set; then
40915 echo $ECHO_N "(cached) $ECHO_C" >&6
40917 cat >conftest.$ac_ext <<_ACEOF
40920 cat confdefs.h >>conftest.$ac_ext
40921 cat >>conftest.$ac_ext <<_ACEOF
40922 /* end confdefs.h. */
40924 #include <stddef.h>
40925 #include <sys/statvfs.h>
40931 statvfs("/", NULL);
40937 rm -f conftest.$ac_objext
40938 if { (ac_try="$ac_compile"
40939 case "(($ac_try" in
40940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40941 *) ac_try_echo=$ac_try;;
40943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40944 (eval "$ac_compile") 2>conftest.er1
40946 grep -v '^ *+' conftest.er1 >conftest.err
40948 cat conftest.err >&5
40949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950 (exit $ac_status); } && {
40951 test -z "$ac_c_werror_flag" ||
40952 test ! -s conftest.err
40953 } && test -s conftest.$ac_objext; then
40954 wx_cv_func_statvfs=yes
40956 echo "$as_me: failed program was:" >&5
40957 sed 's/^/| /' conftest.$ac_ext >&5
40959 wx_cv_func_statvfs=no
40963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40966 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40967 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40969 if test "$wx_cv_func_statvfs" = "yes"; then
40970 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40971 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40972 if test "${wx_cv_type_statvfs_t+set}" = set; then
40973 echo $ECHO_N "(cached) $ECHO_C" >&6
40976 ac_cpp='$CXXCPP $CPPFLAGS'
40977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40981 cat >conftest.$ac_ext <<_ACEOF
40984 cat confdefs.h >>conftest.$ac_ext
40985 cat >>conftest.$ac_ext <<_ACEOF
40986 /* end confdefs.h. */
40988 #include <sys/statvfs.h>
41005 rm -f conftest.$ac_objext
41006 if { (ac_try="$ac_compile"
41007 case "(($ac_try" in
41008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41009 *) ac_try_echo=$ac_try;;
41011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41012 (eval "$ac_compile") 2>conftest.er1
41014 grep -v '^ *+' conftest.er1 >conftest.err
41016 cat conftest.err >&5
41017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41018 (exit $ac_status); } && {
41019 test -z "$ac_cxx_werror_flag" ||
41020 test ! -s conftest.err
41021 } && test -s conftest.$ac_objext; then
41022 wx_cv_type_statvfs_t=statvfs_t
41024 echo "$as_me: failed program was:" >&5
41025 sed 's/^/| /' conftest.$ac_ext >&5
41028 cat >conftest.$ac_ext <<_ACEOF
41031 cat confdefs.h >>conftest.$ac_ext
41032 cat >>conftest.$ac_ext <<_ACEOF
41033 /* end confdefs.h. */
41035 #include <sys/statvfs.h>
41052 rm -f conftest.$ac_objext
41053 if { (ac_try="$ac_compile"
41054 case "(($ac_try" in
41055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41056 *) ac_try_echo=$ac_try;;
41058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41059 (eval "$ac_compile") 2>conftest.er1
41061 grep -v '^ *+' conftest.er1 >conftest.err
41063 cat conftest.err >&5
41064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41065 (exit $ac_status); } && {
41066 test -z "$ac_cxx_werror_flag" ||
41067 test ! -s conftest.err
41068 } && test -s conftest.$ac_objext; then
41069 wx_cv_type_statvfs_t="struct statvfs"
41071 echo "$as_me: failed program was:" >&5
41072 sed 's/^/| /' conftest.$ac_ext >&5
41074 wx_cv_type_statvfs_t="unknown"
41078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41085 ac_cpp='$CPP $CPPFLAGS'
41086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41092 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
41093 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
41095 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41096 cat >>confdefs.h <<\_ACEOF
41097 #define HAVE_STATVFS 1
41102 wx_cv_type_statvfs_t="unknown"
41106 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41107 cat >>confdefs.h <<_ACEOF
41108 #define WX_STATFS_T $wx_cv_type_statvfs_t
41112 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
41113 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
41116 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41119 for ac_func in fcntl flock
41121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41122 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41124 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41125 echo $ECHO_N "(cached) $ECHO_C" >&6
41127 cat >conftest.$ac_ext <<_ACEOF
41130 cat confdefs.h >>conftest.$ac_ext
41131 cat >>conftest.$ac_ext <<_ACEOF
41132 /* end confdefs.h. */
41133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41135 #define $ac_func innocuous_$ac_func
41137 /* System header to define __stub macros and hopefully few prototypes,
41138 which can conflict with char $ac_func (); below.
41139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41140 <limits.h> exists even on freestanding compilers. */
41143 # include <limits.h>
41145 # include <assert.h>
41150 /* Override any GCC internal prototype to avoid an error.
41151 Use char because int might match the return type of a GCC
41152 builtin and then its argument prototype would still apply. */
41157 /* The GNU C library defines this for functions which it implements
41158 to always fail with ENOSYS. Some functions are actually named
41159 something starting with __ and the normal name is an alias. */
41160 #if defined __stub_$ac_func || defined __stub___$ac_func
41167 return $ac_func ();
41172 rm -f conftest.$ac_objext conftest$ac_exeext
41173 if { (ac_try="$ac_link"
41174 case "(($ac_try" in
41175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41176 *) ac_try_echo=$ac_try;;
41178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41179 (eval "$ac_link") 2>conftest.er1
41181 grep -v '^ *+' conftest.er1 >conftest.err
41183 cat conftest.err >&5
41184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41185 (exit $ac_status); } && {
41186 test -z "$ac_c_werror_flag" ||
41187 test ! -s conftest.err
41188 } && test -s conftest$ac_exeext &&
41189 $as_test_x conftest$ac_exeext; then
41190 eval "$as_ac_var=yes"
41192 echo "$as_me: failed program was:" >&5
41193 sed 's/^/| /' conftest.$ac_ext >&5
41195 eval "$as_ac_var=no"
41198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41199 conftest$ac_exeext conftest.$ac_ext
41201 ac_res=`eval echo '${'$as_ac_var'}'`
41202 { echo "$as_me:$LINENO: result: $ac_res" >&5
41203 echo "${ECHO_T}$ac_res" >&6; }
41204 if test `eval echo '${'$as_ac_var'}'` = yes; then
41205 cat >>confdefs.h <<_ACEOF
41206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41213 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
41214 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
41215 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
41216 wxUSE_SNGLINST_CHECKER=no
41222 for ac_func in setenv putenv
41224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41225 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41227 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41228 echo $ECHO_N "(cached) $ECHO_C" >&6
41230 cat >conftest.$ac_ext <<_ACEOF
41233 cat confdefs.h >>conftest.$ac_ext
41234 cat >>conftest.$ac_ext <<_ACEOF
41235 /* end confdefs.h. */
41236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41238 #define $ac_func innocuous_$ac_func
41240 /* System header to define __stub macros and hopefully few prototypes,
41241 which can conflict with char $ac_func (); below.
41242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41243 <limits.h> exists even on freestanding compilers. */
41246 # include <limits.h>
41248 # include <assert.h>
41253 /* Override any GCC internal prototype to avoid an error.
41254 Use char because int might match the return type of a GCC
41255 builtin and then its argument prototype would still apply. */
41260 /* The GNU C library defines this for functions which it implements
41261 to always fail with ENOSYS. Some functions are actually named
41262 something starting with __ and the normal name is an alias. */
41263 #if defined __stub_$ac_func || defined __stub___$ac_func
41270 return $ac_func ();
41275 rm -f conftest.$ac_objext conftest$ac_exeext
41276 if { (ac_try="$ac_link"
41277 case "(($ac_try" in
41278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41279 *) ac_try_echo=$ac_try;;
41281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41282 (eval "$ac_link") 2>conftest.er1
41284 grep -v '^ *+' conftest.er1 >conftest.err
41286 cat conftest.err >&5
41287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41288 (exit $ac_status); } && {
41289 test -z "$ac_c_werror_flag" ||
41290 test ! -s conftest.err
41291 } && test -s conftest$ac_exeext &&
41292 $as_test_x conftest$ac_exeext; then
41293 eval "$as_ac_var=yes"
41295 echo "$as_me: failed program was:" >&5
41296 sed 's/^/| /' conftest.$ac_ext >&5
41298 eval "$as_ac_var=no"
41301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41302 conftest$ac_exeext conftest.$ac_ext
41304 ac_res=`eval echo '${'$as_ac_var'}'`
41305 { echo "$as_me:$LINENO: result: $ac_res" >&5
41306 echo "${ECHO_T}$ac_res" >&6; }
41307 if test `eval echo '${'$as_ac_var'}'` = yes; then
41308 cat >>confdefs.h <<_ACEOF
41309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41315 if test "$ac_cv_func_setenv" = "yes"; then
41317 for ac_func in unsetenv
41319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41320 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41322 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41323 echo $ECHO_N "(cached) $ECHO_C" >&6
41325 cat >conftest.$ac_ext <<_ACEOF
41328 cat confdefs.h >>conftest.$ac_ext
41329 cat >>conftest.$ac_ext <<_ACEOF
41330 /* end confdefs.h. */
41331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41333 #define $ac_func innocuous_$ac_func
41335 /* System header to define __stub macros and hopefully few prototypes,
41336 which can conflict with char $ac_func (); below.
41337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41338 <limits.h> exists even on freestanding compilers. */
41341 # include <limits.h>
41343 # include <assert.h>
41348 /* Override any GCC internal prototype to avoid an error.
41349 Use char because int might match the return type of a GCC
41350 builtin and then its argument prototype would still apply. */
41355 /* The GNU C library defines this for functions which it implements
41356 to always fail with ENOSYS. Some functions are actually named
41357 something starting with __ and the normal name is an alias. */
41358 #if defined __stub_$ac_func || defined __stub___$ac_func
41365 return $ac_func ();
41370 rm -f conftest.$ac_objext conftest$ac_exeext
41371 if { (ac_try="$ac_link"
41372 case "(($ac_try" in
41373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41374 *) ac_try_echo=$ac_try;;
41376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41377 (eval "$ac_link") 2>conftest.er1
41379 grep -v '^ *+' conftest.er1 >conftest.err
41381 cat conftest.err >&5
41382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41383 (exit $ac_status); } && {
41384 test -z "$ac_c_werror_flag" ||
41385 test ! -s conftest.err
41386 } && test -s conftest$ac_exeext &&
41387 $as_test_x conftest$ac_exeext; then
41388 eval "$as_ac_var=yes"
41390 echo "$as_me: failed program was:" >&5
41391 sed 's/^/| /' conftest.$ac_ext >&5
41393 eval "$as_ac_var=no"
41396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41397 conftest$ac_exeext conftest.$ac_ext
41399 ac_res=`eval echo '${'$as_ac_var'}'`
41400 { echo "$as_me:$LINENO: result: $ac_res" >&5
41401 echo "${ECHO_T}$ac_res" >&6; }
41402 if test `eval echo '${'$as_ac_var'}'` = yes; then
41403 cat >>confdefs.h <<_ACEOF
41404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41412 HAVE_SOME_SLEEP_FUNC=0
41413 if test "$USE_BEOS" = 1; then
41414 cat >>confdefs.h <<\_ACEOF
41415 #define HAVE_SLEEP 1
41418 HAVE_SOME_SLEEP_FUNC=1
41421 if test "$USE_DARWIN" = 1; then
41422 cat >>confdefs.h <<\_ACEOF
41423 #define HAVE_USLEEP 1
41426 HAVE_SOME_SLEEP_FUNC=1
41429 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41432 for ac_func in nanosleep
41434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41435 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41437 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41438 echo $ECHO_N "(cached) $ECHO_C" >&6
41440 cat >conftest.$ac_ext <<_ACEOF
41443 cat confdefs.h >>conftest.$ac_ext
41444 cat >>conftest.$ac_ext <<_ACEOF
41445 /* end confdefs.h. */
41446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41448 #define $ac_func innocuous_$ac_func
41450 /* System header to define __stub macros and hopefully few prototypes,
41451 which can conflict with char $ac_func (); below.
41452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41453 <limits.h> exists even on freestanding compilers. */
41456 # include <limits.h>
41458 # include <assert.h>
41463 /* Override any GCC internal prototype to avoid an error.
41464 Use char because int might match the return type of a GCC
41465 builtin and then its argument prototype would still apply. */
41470 /* The GNU C library defines this for functions which it implements
41471 to always fail with ENOSYS. Some functions are actually named
41472 something starting with __ and the normal name is an alias. */
41473 #if defined __stub_$ac_func || defined __stub___$ac_func
41480 return $ac_func ();
41485 rm -f conftest.$ac_objext conftest$ac_exeext
41486 if { (ac_try="$ac_link"
41487 case "(($ac_try" in
41488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41489 *) ac_try_echo=$ac_try;;
41491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41492 (eval "$ac_link") 2>conftest.er1
41494 grep -v '^ *+' conftest.er1 >conftest.err
41496 cat conftest.err >&5
41497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41498 (exit $ac_status); } && {
41499 test -z "$ac_c_werror_flag" ||
41500 test ! -s conftest.err
41501 } && test -s conftest$ac_exeext &&
41502 $as_test_x conftest$ac_exeext; then
41503 eval "$as_ac_var=yes"
41505 echo "$as_me: failed program was:" >&5
41506 sed 's/^/| /' conftest.$ac_ext >&5
41508 eval "$as_ac_var=no"
41511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41512 conftest$ac_exeext conftest.$ac_ext
41514 ac_res=`eval echo '${'$as_ac_var'}'`
41515 { echo "$as_me:$LINENO: result: $ac_res" >&5
41516 echo "${ECHO_T}$ac_res" >&6; }
41517 if test `eval echo '${'$as_ac_var'}'` = yes; then
41518 cat >>confdefs.h <<_ACEOF
41519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41521 cat >>confdefs.h <<\_ACEOF
41522 #define HAVE_NANOSLEEP 1
41527 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41528 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41529 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41530 echo $ECHO_N "(cached) $ECHO_C" >&6
41532 ac_check_lib_save_LIBS=$LIBS
41533 LIBS="-lposix4 $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. */
41551 return nanosleep ();
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_posix4_nanosleep=yes
41576 echo "$as_me: failed program was:" >&5
41577 sed 's/^/| /' conftest.$ac_ext >&5
41579 ac_cv_lib_posix4_nanosleep=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_posix4_nanosleep" >&5
41587 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41588 if test $ac_cv_lib_posix4_nanosleep = yes; then
41590 cat >>confdefs.h <<\_ACEOF
41591 #define HAVE_NANOSLEEP 1
41594 POSIX4_LINK=" -lposix4"
41599 for wx_func in usleep
41601 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41602 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41603 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41604 echo $ECHO_N "(cached) $ECHO_C" >&6
41607 cat >conftest.$ac_ext <<_ACEOF
41611 cat confdefs.h >>conftest.$ac_ext
41612 cat >>conftest.$ac_ext <<_ACEOF
41613 /* end confdefs.h. */
41616 $ac_includes_default
41632 rm -f conftest.$ac_objext conftest$ac_exeext
41633 if { (ac_try="$ac_link"
41634 case "(($ac_try" in
41635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41636 *) ac_try_echo=$ac_try;;
41638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41639 (eval "$ac_link") 2>conftest.er1
41641 grep -v '^ *+' conftest.er1 >conftest.err
41643 cat conftest.err >&5
41644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41645 (exit $ac_status); } && {
41646 test -z "$ac_c_werror_flag" ||
41647 test ! -s conftest.err
41648 } && test -s conftest$ac_exeext &&
41649 $as_test_x conftest$ac_exeext; then
41650 eval wx_cv_func_$wx_func=yes
41652 echo "$as_me: failed program was:" >&5
41653 sed 's/^/| /' conftest.$ac_ext >&5
41655 eval wx_cv_func_$wx_func=no
41658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41659 conftest$ac_exeext conftest.$ac_ext
41662 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41663 { echo "$as_me:$LINENO: result: $ac_res" >&5
41664 echo "${ECHO_T}$ac_res" >&6; }
41666 if eval test \$wx_cv_func_$wx_func = yes
41668 cat >>confdefs.h <<_ACEOF
41669 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41675 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41676 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41693 for wx_func in uname
41695 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41696 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41697 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41698 echo $ECHO_N "(cached) $ECHO_C" >&6
41701 cat >conftest.$ac_ext <<_ACEOF
41705 cat confdefs.h >>conftest.$ac_ext
41706 cat >>conftest.$ac_ext <<_ACEOF
41707 /* end confdefs.h. */
41709 #include <sys/utsname.h>
41710 $ac_includes_default
41726 rm -f conftest.$ac_objext conftest$ac_exeext
41727 if { (ac_try="$ac_link"
41728 case "(($ac_try" in
41729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41730 *) ac_try_echo=$ac_try;;
41732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41733 (eval "$ac_link") 2>conftest.er1
41735 grep -v '^ *+' conftest.er1 >conftest.err
41737 cat conftest.err >&5
41738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41739 (exit $ac_status); } && {
41740 test -z "$ac_c_werror_flag" ||
41741 test ! -s conftest.err
41742 } && test -s conftest$ac_exeext &&
41743 $as_test_x conftest$ac_exeext; then
41744 eval wx_cv_func_$wx_func=yes
41746 echo "$as_me: failed program was:" >&5
41747 sed 's/^/| /' conftest.$ac_ext >&5
41749 eval wx_cv_func_$wx_func=no
41752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41753 conftest$ac_exeext conftest.$ac_ext
41756 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41757 { echo "$as_me:$LINENO: result: $ac_res" >&5
41758 echo "${ECHO_T}$ac_res" >&6; }
41760 if eval test \$wx_cv_func_$wx_func = yes
41762 cat >>confdefs.h <<_ACEOF
41763 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41773 if test "$wx_cv_func_uname" != yes; then
41775 for wx_func in gethostname
41777 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41778 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41779 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41780 echo $ECHO_N "(cached) $ECHO_C" >&6
41783 cat >conftest.$ac_ext <<_ACEOF
41787 cat confdefs.h >>conftest.$ac_ext
41788 cat >>conftest.$ac_ext <<_ACEOF
41789 /* end confdefs.h. */
41792 $ac_includes_default
41808 rm -f conftest.$ac_objext conftest$ac_exeext
41809 if { (ac_try="$ac_link"
41810 case "(($ac_try" in
41811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41812 *) ac_try_echo=$ac_try;;
41814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41815 (eval "$ac_link") 2>conftest.er1
41817 grep -v '^ *+' conftest.er1 >conftest.err
41819 cat conftest.err >&5
41820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41821 (exit $ac_status); } && {
41822 test -z "$ac_c_werror_flag" ||
41823 test ! -s conftest.err
41824 } && test -s conftest$ac_exeext &&
41825 $as_test_x conftest$ac_exeext; then
41826 eval wx_cv_func_$wx_func=yes
41828 echo "$as_me: failed program was:" >&5
41829 sed 's/^/| /' conftest.$ac_ext >&5
41831 eval wx_cv_func_$wx_func=no
41834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41835 conftest$ac_exeext conftest.$ac_ext
41838 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41839 { echo "$as_me:$LINENO: result: $ac_res" >&5
41840 echo "${ECHO_T}$ac_res" >&6; }
41842 if eval test \$wx_cv_func_$wx_func = yes
41844 cat >>confdefs.h <<_ACEOF
41845 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41858 for wx_func in strtok_r
41860 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41861 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41862 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41863 echo $ECHO_N "(cached) $ECHO_C" >&6
41866 cat >conftest.$ac_ext <<_ACEOF
41870 cat confdefs.h >>conftest.$ac_ext
41871 cat >>conftest.$ac_ext <<_ACEOF
41872 /* end confdefs.h. */
41875 $ac_includes_default
41891 rm -f conftest.$ac_objext conftest$ac_exeext
41892 if { (ac_try="$ac_link"
41893 case "(($ac_try" in
41894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41895 *) ac_try_echo=$ac_try;;
41897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41898 (eval "$ac_link") 2>conftest.er1
41900 grep -v '^ *+' conftest.er1 >conftest.err
41902 cat conftest.err >&5
41903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41904 (exit $ac_status); } && {
41905 test -z "$ac_c_werror_flag" ||
41906 test ! -s conftest.err
41907 } && test -s conftest$ac_exeext &&
41908 $as_test_x conftest$ac_exeext; then
41909 eval wx_cv_func_$wx_func=yes
41911 echo "$as_me: failed program was:" >&5
41912 sed 's/^/| /' conftest.$ac_ext >&5
41914 eval wx_cv_func_$wx_func=no
41917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41918 conftest$ac_exeext conftest.$ac_ext
41921 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41922 { echo "$as_me:$LINENO: result: $ac_res" >&5
41923 echo "${ECHO_T}$ac_res" >&6; }
41925 if eval test \$wx_cv_func_$wx_func = yes
41927 cat >>confdefs.h <<_ACEOF
41928 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41941 for ac_func in inet_addr
41943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41944 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41946 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41947 echo $ECHO_N "(cached) $ECHO_C" >&6
41949 cat >conftest.$ac_ext <<_ACEOF
41952 cat confdefs.h >>conftest.$ac_ext
41953 cat >>conftest.$ac_ext <<_ACEOF
41954 /* end confdefs.h. */
41955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41957 #define $ac_func innocuous_$ac_func
41959 /* System header to define __stub macros and hopefully few prototypes,
41960 which can conflict with char $ac_func (); below.
41961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41962 <limits.h> exists even on freestanding compilers. */
41965 # include <limits.h>
41967 # include <assert.h>
41972 /* Override any GCC internal prototype to avoid an error.
41973 Use char because int might match the return type of a GCC
41974 builtin and then its argument prototype would still apply. */
41979 /* The GNU C library defines this for functions which it implements
41980 to always fail with ENOSYS. Some functions are actually named
41981 something starting with __ and the normal name is an alias. */
41982 #if defined __stub_$ac_func || defined __stub___$ac_func
41989 return $ac_func ();
41994 rm -f conftest.$ac_objext conftest$ac_exeext
41995 if { (ac_try="$ac_link"
41996 case "(($ac_try" in
41997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41998 *) ac_try_echo=$ac_try;;
42000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42001 (eval "$ac_link") 2>conftest.er1
42003 grep -v '^ *+' conftest.er1 >conftest.err
42005 cat conftest.err >&5
42006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42007 (exit $ac_status); } && {
42008 test -z "$ac_c_werror_flag" ||
42009 test ! -s conftest.err
42010 } && test -s conftest$ac_exeext &&
42011 $as_test_x conftest$ac_exeext; then
42012 eval "$as_ac_var=yes"
42014 echo "$as_me: failed program was:" >&5
42015 sed 's/^/| /' conftest.$ac_ext >&5
42017 eval "$as_ac_var=no"
42020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42021 conftest$ac_exeext conftest.$ac_ext
42023 ac_res=`eval echo '${'$as_ac_var'}'`
42024 { echo "$as_me:$LINENO: result: $ac_res" >&5
42025 echo "${ECHO_T}$ac_res" >&6; }
42026 if test `eval echo '${'$as_ac_var'}'` = yes; then
42027 cat >>confdefs.h <<_ACEOF
42028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42030 cat >>confdefs.h <<\_ACEOF
42031 #define HAVE_INET_ADDR 1
42036 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
42037 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
42038 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
42039 echo $ECHO_N "(cached) $ECHO_C" >&6
42041 ac_check_lib_save_LIBS=$LIBS
42043 cat >conftest.$ac_ext <<_ACEOF
42046 cat confdefs.h >>conftest.$ac_ext
42047 cat >>conftest.$ac_ext <<_ACEOF
42048 /* end confdefs.h. */
42050 /* Override any GCC internal prototype to avoid an error.
42051 Use char because int might match the return type of a GCC
42052 builtin and then its argument prototype would still apply. */
42060 return inet_addr ();
42065 rm -f conftest.$ac_objext conftest$ac_exeext
42066 if { (ac_try="$ac_link"
42067 case "(($ac_try" in
42068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42069 *) ac_try_echo=$ac_try;;
42071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42072 (eval "$ac_link") 2>conftest.er1
42074 grep -v '^ *+' conftest.er1 >conftest.err
42076 cat conftest.err >&5
42077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42078 (exit $ac_status); } && {
42079 test -z "$ac_c_werror_flag" ||
42080 test ! -s conftest.err
42081 } && test -s conftest$ac_exeext &&
42082 $as_test_x conftest$ac_exeext; then
42083 ac_cv_lib_nsl_inet_addr=yes
42085 echo "$as_me: failed program was:" >&5
42086 sed 's/^/| /' conftest.$ac_ext >&5
42088 ac_cv_lib_nsl_inet_addr=no
42091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42092 conftest$ac_exeext conftest.$ac_ext
42093 LIBS=$ac_check_lib_save_LIBS
42095 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
42096 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
42097 if test $ac_cv_lib_nsl_inet_addr = yes; then
42101 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
42102 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
42103 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
42104 echo $ECHO_N "(cached) $ECHO_C" >&6
42106 ac_check_lib_save_LIBS=$LIBS
42107 LIBS="-lresolv $LIBS"
42108 cat >conftest.$ac_ext <<_ACEOF
42111 cat confdefs.h >>conftest.$ac_ext
42112 cat >>conftest.$ac_ext <<_ACEOF
42113 /* end confdefs.h. */
42115 /* Override any GCC internal prototype to avoid an error.
42116 Use char because int might match the return type of a GCC
42117 builtin and then its argument prototype would still apply. */
42125 return inet_addr ();
42130 rm -f conftest.$ac_objext conftest$ac_exeext
42131 if { (ac_try="$ac_link"
42132 case "(($ac_try" in
42133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42134 *) ac_try_echo=$ac_try;;
42136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42137 (eval "$ac_link") 2>conftest.er1
42139 grep -v '^ *+' conftest.er1 >conftest.err
42141 cat conftest.err >&5
42142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42143 (exit $ac_status); } && {
42144 test -z "$ac_c_werror_flag" ||
42145 test ! -s conftest.err
42146 } && test -s conftest$ac_exeext &&
42147 $as_test_x conftest$ac_exeext; then
42148 ac_cv_lib_resolv_inet_addr=yes
42150 echo "$as_me: failed program was:" >&5
42151 sed 's/^/| /' conftest.$ac_ext >&5
42153 ac_cv_lib_resolv_inet_addr=no
42156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42157 conftest$ac_exeext conftest.$ac_ext
42158 LIBS=$ac_check_lib_save_LIBS
42160 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
42161 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
42162 if test $ac_cv_lib_resolv_inet_addr = yes; then
42166 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
42167 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
42168 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
42169 echo $ECHO_N "(cached) $ECHO_C" >&6
42171 ac_check_lib_save_LIBS=$LIBS
42172 LIBS="-lsocket $LIBS"
42173 cat >conftest.$ac_ext <<_ACEOF
42176 cat confdefs.h >>conftest.$ac_ext
42177 cat >>conftest.$ac_ext <<_ACEOF
42178 /* end confdefs.h. */
42180 /* Override any GCC internal prototype to avoid an error.
42181 Use char because int might match the return type of a GCC
42182 builtin and then its argument prototype would still apply. */
42190 return inet_addr ();
42195 rm -f conftest.$ac_objext conftest$ac_exeext
42196 if { (ac_try="$ac_link"
42197 case "(($ac_try" in
42198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42199 *) ac_try_echo=$ac_try;;
42201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42202 (eval "$ac_link") 2>conftest.er1
42204 grep -v '^ *+' conftest.er1 >conftest.err
42206 cat conftest.err >&5
42207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42208 (exit $ac_status); } && {
42209 test -z "$ac_c_werror_flag" ||
42210 test ! -s conftest.err
42211 } && test -s conftest$ac_exeext &&
42212 $as_test_x conftest$ac_exeext; then
42213 ac_cv_lib_socket_inet_addr=yes
42215 echo "$as_me: failed program was:" >&5
42216 sed 's/^/| /' conftest.$ac_ext >&5
42218 ac_cv_lib_socket_inet_addr=no
42221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42222 conftest$ac_exeext conftest.$ac_ext
42223 LIBS=$ac_check_lib_save_LIBS
42225 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
42226 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
42227 if test $ac_cv_lib_socket_inet_addr = yes; then
42247 for ac_func in inet_aton
42249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42252 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42253 echo $ECHO_N "(cached) $ECHO_C" >&6
42255 cat >conftest.$ac_ext <<_ACEOF
42258 cat confdefs.h >>conftest.$ac_ext
42259 cat >>conftest.$ac_ext <<_ACEOF
42260 /* end confdefs.h. */
42261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42263 #define $ac_func innocuous_$ac_func
42265 /* System header to define __stub macros and hopefully few prototypes,
42266 which can conflict with char $ac_func (); below.
42267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42268 <limits.h> exists even on freestanding compilers. */
42271 # include <limits.h>
42273 # include <assert.h>
42278 /* Override any GCC internal prototype to avoid an error.
42279 Use char because int might match the return type of a GCC
42280 builtin and then its argument prototype would still apply. */
42285 /* The GNU C library defines this for functions which it implements
42286 to always fail with ENOSYS. Some functions are actually named
42287 something starting with __ and the normal name is an alias. */
42288 #if defined __stub_$ac_func || defined __stub___$ac_func
42295 return $ac_func ();
42300 rm -f conftest.$ac_objext conftest$ac_exeext
42301 if { (ac_try="$ac_link"
42302 case "(($ac_try" in
42303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42304 *) ac_try_echo=$ac_try;;
42306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42307 (eval "$ac_link") 2>conftest.er1
42309 grep -v '^ *+' conftest.er1 >conftest.err
42311 cat conftest.err >&5
42312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42313 (exit $ac_status); } && {
42314 test -z "$ac_c_werror_flag" ||
42315 test ! -s conftest.err
42316 } && test -s conftest$ac_exeext &&
42317 $as_test_x conftest$ac_exeext; then
42318 eval "$as_ac_var=yes"
42320 echo "$as_me: failed program was:" >&5
42321 sed 's/^/| /' conftest.$ac_ext >&5
42323 eval "$as_ac_var=no"
42326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42327 conftest$ac_exeext conftest.$ac_ext
42329 ac_res=`eval echo '${'$as_ac_var'}'`
42330 { echo "$as_me:$LINENO: result: $ac_res" >&5
42331 echo "${ECHO_T}$ac_res" >&6; }
42332 if test `eval echo '${'$as_ac_var'}'` = yes; then
42333 cat >>confdefs.h <<_ACEOF
42334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42336 cat >>confdefs.h <<\_ACEOF
42337 #define HAVE_INET_ATON 1
42342 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
42343 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
42344 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
42345 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
42346 echo $ECHO_N "(cached) $ECHO_C" >&6
42348 ac_check_lib_save_LIBS=$LIBS
42349 LIBS="-l$INET_LINK $LIBS"
42350 cat >conftest.$ac_ext <<_ACEOF
42353 cat confdefs.h >>conftest.$ac_ext
42354 cat >>conftest.$ac_ext <<_ACEOF
42355 /* end confdefs.h. */
42357 /* Override any GCC internal prototype to avoid an error.
42358 Use char because int might match the return type of a GCC
42359 builtin and then its argument prototype would still apply. */
42367 return inet_aton ();
42372 rm -f conftest.$ac_objext conftest$ac_exeext
42373 if { (ac_try="$ac_link"
42374 case "(($ac_try" in
42375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42376 *) ac_try_echo=$ac_try;;
42378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42379 (eval "$ac_link") 2>conftest.er1
42381 grep -v '^ *+' conftest.er1 >conftest.err
42383 cat conftest.err >&5
42384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42385 (exit $ac_status); } && {
42386 test -z "$ac_c_werror_flag" ||
42387 test ! -s conftest.err
42388 } && test -s conftest$ac_exeext &&
42389 $as_test_x conftest$ac_exeext; then
42390 eval "$as_ac_Lib=yes"
42392 echo "$as_me: failed program was:" >&5
42393 sed 's/^/| /' conftest.$ac_ext >&5
42395 eval "$as_ac_Lib=no"
42398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42399 conftest$ac_exeext conftest.$ac_ext
42400 LIBS=$ac_check_lib_save_LIBS
42402 ac_res=`eval echo '${'$as_ac_Lib'}'`
42403 { echo "$as_me:$LINENO: result: $ac_res" >&5
42404 echo "${ECHO_T}$ac_res" >&6; }
42405 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42406 cat >>confdefs.h <<\_ACEOF
42407 #define HAVE_INET_ATON 1
42417 if test "x$INET_LINK" != "x"; then
42418 cat >>confdefs.h <<\_ACEOF
42419 #define HAVE_INET_ADDR 1
42422 INET_LINK=" -l$INET_LINK"
42426 for wx_func in fdopen
42428 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42429 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42430 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42431 echo $ECHO_N "(cached) $ECHO_C" >&6
42434 cat >conftest.$ac_ext <<_ACEOF
42438 cat confdefs.h >>conftest.$ac_ext
42439 cat >>conftest.$ac_ext <<_ACEOF
42440 /* end confdefs.h. */
42443 $ac_includes_default
42459 rm -f conftest.$ac_objext conftest$ac_exeext
42460 if { (ac_try="$ac_link"
42461 case "(($ac_try" in
42462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42463 *) ac_try_echo=$ac_try;;
42465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42466 (eval "$ac_link") 2>conftest.er1
42468 grep -v '^ *+' conftest.er1 >conftest.err
42470 cat conftest.err >&5
42471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42472 (exit $ac_status); } && {
42473 test -z "$ac_c_werror_flag" ||
42474 test ! -s conftest.err
42475 } && test -s conftest$ac_exeext &&
42476 $as_test_x conftest$ac_exeext; then
42477 eval wx_cv_func_$wx_func=yes
42479 echo "$as_me: failed program was:" >&5
42480 sed 's/^/| /' conftest.$ac_ext >&5
42482 eval wx_cv_func_$wx_func=no
42485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42486 conftest$ac_exeext conftest.$ac_ext
42489 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42490 { echo "$as_me:$LINENO: result: $ac_res" >&5
42491 echo "${ECHO_T}$ac_res" >&6; }
42493 if eval test \$wx_cv_func_$wx_func = yes
42495 cat >>confdefs.h <<_ACEOF
42496 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42507 if test "$wxUSE_TARSTREAM" = "yes"; then
42509 for wx_func in sysconf
42511 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42512 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42513 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42514 echo $ECHO_N "(cached) $ECHO_C" >&6
42517 cat >conftest.$ac_ext <<_ACEOF
42521 cat confdefs.h >>conftest.$ac_ext
42522 cat >>conftest.$ac_ext <<_ACEOF
42523 /* end confdefs.h. */
42526 $ac_includes_default
42542 rm -f conftest.$ac_objext conftest$ac_exeext
42543 if { (ac_try="$ac_link"
42544 case "(($ac_try" in
42545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42546 *) ac_try_echo=$ac_try;;
42548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42549 (eval "$ac_link") 2>conftest.er1
42551 grep -v '^ *+' conftest.er1 >conftest.err
42553 cat conftest.err >&5
42554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42555 (exit $ac_status); } && {
42556 test -z "$ac_c_werror_flag" ||
42557 test ! -s conftest.err
42558 } && test -s conftest$ac_exeext &&
42559 $as_test_x conftest$ac_exeext; then
42560 eval wx_cv_func_$wx_func=yes
42562 echo "$as_me: failed program was:" >&5
42563 sed 's/^/| /' conftest.$ac_ext >&5
42565 eval wx_cv_func_$wx_func=no
42568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42569 conftest$ac_exeext conftest.$ac_ext
42572 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42573 { echo "$as_me:$LINENO: result: $ac_res" >&5
42574 echo "${ECHO_T}$ac_res" >&6; }
42576 if eval test \$wx_cv_func_$wx_func = yes
42578 cat >>confdefs.h <<_ACEOF
42579 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42591 for wx_func in getpwuid_r
42593 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42594 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42595 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42596 echo $ECHO_N "(cached) $ECHO_C" >&6
42599 cat >conftest.$ac_ext <<_ACEOF
42603 cat confdefs.h >>conftest.$ac_ext
42604 cat >>conftest.$ac_ext <<_ACEOF
42605 /* end confdefs.h. */
42611 $ac_includes_default
42621 struct passwd pw, *ppw;
42623 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
42631 rm -f conftest.$ac_objext conftest$ac_exeext
42632 if { (ac_try="$ac_link"
42633 case "(($ac_try" in
42634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42635 *) ac_try_echo=$ac_try;;
42637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42638 (eval "$ac_link") 2>conftest.er1
42640 grep -v '^ *+' conftest.er1 >conftest.err
42642 cat conftest.err >&5
42643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42644 (exit $ac_status); } && {
42645 test -z "$ac_c_werror_flag" ||
42646 test ! -s conftest.err
42647 } && test -s conftest$ac_exeext &&
42648 $as_test_x conftest$ac_exeext; then
42649 eval wx_cv_func_$wx_func=yes
42651 echo "$as_me: failed program was:" >&5
42652 sed 's/^/| /' conftest.$ac_ext >&5
42654 eval wx_cv_func_$wx_func=no
42657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42658 conftest$ac_exeext conftest.$ac_ext
42661 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42662 { echo "$as_me:$LINENO: result: $ac_res" >&5
42663 echo "${ECHO_T}$ac_res" >&6; }
42665 if eval test \$wx_cv_func_$wx_func = yes
42667 cat >>confdefs.h <<_ACEOF
42668 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42680 for wx_func in getgrgid_r
42682 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42683 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42684 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42685 echo $ECHO_N "(cached) $ECHO_C" >&6
42688 cat >conftest.$ac_ext <<_ACEOF
42692 cat confdefs.h >>conftest.$ac_ext
42693 cat >>conftest.$ac_ext <<_ACEOF
42694 /* end confdefs.h. */
42700 $ac_includes_default
42710 struct group grp, *pgrp;
42712 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
42720 rm -f conftest.$ac_objext conftest$ac_exeext
42721 if { (ac_try="$ac_link"
42722 case "(($ac_try" in
42723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42724 *) ac_try_echo=$ac_try;;
42726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42727 (eval "$ac_link") 2>conftest.er1
42729 grep -v '^ *+' conftest.er1 >conftest.err
42731 cat conftest.err >&5
42732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42733 (exit $ac_status); } && {
42734 test -z "$ac_c_werror_flag" ||
42735 test ! -s conftest.err
42736 } && test -s conftest$ac_exeext &&
42737 $as_test_x conftest$ac_exeext; then
42738 eval wx_cv_func_$wx_func=yes
42740 echo "$as_me: failed program was:" >&5
42741 sed 's/^/| /' conftest.$ac_ext >&5
42743 eval wx_cv_func_$wx_func=no
42746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42747 conftest$ac_exeext conftest.$ac_ext
42750 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42751 { echo "$as_me:$LINENO: result: $ac_res" >&5
42752 echo "${ECHO_T}$ac_res" >&6; }
42754 if eval test \$wx_cv_func_$wx_func = yes
42756 cat >>confdefs.h <<_ACEOF
42757 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42773 cat >confcache <<\_ACEOF
42774 # This file is a shell script that caches the results of configure
42775 # tests run on this system so they can be shared between configure
42776 # scripts and configure runs, see configure's option --config-cache.
42777 # It is not useful on other systems. If it contains results you don't
42778 # want to keep, you may remove or edit it.
42780 # config.status only pays attention to the cache file if you give it
42781 # the --recheck option to rerun configure.
42783 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42784 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42785 # following values.
42789 # The following way of writing the cache mishandles newlines in values,
42790 # but we know of no workaround that is simple, portable, and efficient.
42791 # So, we kill variables containing newlines.
42792 # Ultrix sh set writes to stderr and can't be redirected directly,
42793 # and sets the high bit in the cache file unless we assign to the vars.
42795 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42796 eval ac_val=\$$ac_var
42800 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42801 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42804 _ | IFS | as_nl) ;; #(
42805 *) $as_unset $ac_var ;;
42811 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42812 *${as_nl}ac_space=\ *)
42813 # `set' does not quote correctly, so add quotes (double-quote
42814 # substitution turns \\\\ into \\, and sed turns \\ into \).
42817 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42820 # `set' quotes correctly as required by POSIX, so do not add quotes.
42821 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42830 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42832 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42834 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
42835 if test -w "$cache_file"; then
42836 test "x$cache_file" != "x/dev/null" &&
42837 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42838 echo "$as_me: updating cache $cache_file" >&6;}
42839 cat confcache >$cache_file
42841 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42842 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42848 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42854 if test "$wxUSE_THREADS" = "yes" ; then
42855 if test "$USE_BEOS" = 1; then
42856 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42857 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42862 if test "$wxUSE_THREADS" = "yes" ; then
42865 THREAD_OPTS="-pthread"
42866 if test "x$SUNCXX" = xyes; then
42867 THREAD_OPTS="-mt lthread $THREAD_OPTS"
42871 *-*-solaris2* | *-*-sunos4* )
42872 if test "x$GCC" = "xyes"; then
42873 THREAD_OPTS="-pthreads $THREAD_OPTS"
42877 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
42879 *-*-darwin* | *-*-cygwin* )
42883 THREAD_OPTS="pthreads"
42886 if test "x$GCC" = "xyes"; then
42887 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
42895 if test "x$GCC" = "xyes"; then
42905 if test "x$GCC" != "xyes"; then
42906 THREAD_OPTS="-Ethread"
42913 THREAD_OPTS="none pthread"
42917 THREAD_OPTS="$THREAD_OPTS pthread none"
42922 for flag in $THREAD_OPTS; do
42925 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42926 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42930 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42931 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42932 THREADS_CFLAGS="$flag"
42936 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42937 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42938 THREADS_LINK="-l$flag"
42943 save_CFLAGS="$CFLAGS"
42944 LIBS="$THREADS_LINK $LIBS"
42945 CFLAGS="$THREADS_CFLAGS $CFLAGS"
42947 cat >conftest.$ac_ext <<_ACEOF
42950 cat confdefs.h >>conftest.$ac_ext
42951 cat >>conftest.$ac_ext <<_ACEOF
42952 /* end confdefs.h. */
42953 #include <pthread.h>
42957 pthread_create(0,0,0,0);
42962 rm -f conftest.$ac_objext conftest$ac_exeext
42963 if { (ac_try="$ac_link"
42964 case "(($ac_try" in
42965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42966 *) ac_try_echo=$ac_try;;
42968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42969 (eval "$ac_link") 2>conftest.er1
42971 grep -v '^ *+' conftest.er1 >conftest.err
42973 cat conftest.err >&5
42974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42975 (exit $ac_status); } && {
42976 test -z "$ac_c_werror_flag" ||
42977 test ! -s conftest.err
42978 } && test -s conftest$ac_exeext &&
42979 $as_test_x conftest$ac_exeext; then
42982 echo "$as_me: failed program was:" >&5
42983 sed 's/^/| /' conftest.$ac_ext >&5
42988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42989 conftest$ac_exeext conftest.$ac_ext
42992 CFLAGS="$save_CFLAGS"
42994 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
42995 echo "${ECHO_T}$THREADS_OK" >&6; }
42996 if test "x$THREADS_OK" = "xyes"; then
43004 if test "x$THREADS_OK" != "xyes"; then
43006 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
43007 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
43009 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
43010 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
43011 LIBS="$THREADS_LINK $LIBS"
43013 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
43014 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
43018 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
43019 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
43020 flag="-D_THREAD_SAFE"
43023 flag="-D_THREAD_SAFE"
43026 flag="-D_REENTRANT"
43027 if test "x$GCC" != "xyes"; then
43028 flag="$flag -D_RWSTD_MULTI_THREAD"
43031 *solaris* | alpha*-osf*)
43032 flag="-D_REENTRANT"
43035 { echo "$as_me:$LINENO: result: ${flag}" >&5
43036 echo "${ECHO_T}${flag}" >&6; }
43037 if test "x$flag" != xno; then
43038 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
43041 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
43045 if test "$wxUSE_THREADS" = "yes" ; then
43047 for ac_func in thr_setconcurrency
43049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43050 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43052 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43053 echo $ECHO_N "(cached) $ECHO_C" >&6
43055 cat >conftest.$ac_ext <<_ACEOF
43058 cat confdefs.h >>conftest.$ac_ext
43059 cat >>conftest.$ac_ext <<_ACEOF
43060 /* end confdefs.h. */
43061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43063 #define $ac_func innocuous_$ac_func
43065 /* System header to define __stub macros and hopefully few prototypes,
43066 which can conflict with char $ac_func (); below.
43067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43068 <limits.h> exists even on freestanding compilers. */
43071 # include <limits.h>
43073 # include <assert.h>
43078 /* Override any GCC internal prototype to avoid an error.
43079 Use char because int might match the return type of a GCC
43080 builtin and then its argument prototype would still apply. */
43085 /* The GNU C library defines this for functions which it implements
43086 to always fail with ENOSYS. Some functions are actually named
43087 something starting with __ and the normal name is an alias. */
43088 #if defined __stub_$ac_func || defined __stub___$ac_func
43095 return $ac_func ();
43100 rm -f conftest.$ac_objext conftest$ac_exeext
43101 if { (ac_try="$ac_link"
43102 case "(($ac_try" in
43103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43104 *) ac_try_echo=$ac_try;;
43106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43107 (eval "$ac_link") 2>conftest.er1
43109 grep -v '^ *+' conftest.er1 >conftest.err
43111 cat conftest.err >&5
43112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43113 (exit $ac_status); } && {
43114 test -z "$ac_c_werror_flag" ||
43115 test ! -s conftest.err
43116 } && test -s conftest$ac_exeext &&
43117 $as_test_x conftest$ac_exeext; then
43118 eval "$as_ac_var=yes"
43120 echo "$as_me: failed program was:" >&5
43121 sed 's/^/| /' conftest.$ac_ext >&5
43123 eval "$as_ac_var=no"
43126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43127 conftest$ac_exeext conftest.$ac_ext
43129 ac_res=`eval echo '${'$as_ac_var'}'`
43130 { echo "$as_me:$LINENO: result: $ac_res" >&5
43131 echo "${ECHO_T}$ac_res" >&6; }
43132 if test `eval echo '${'$as_ac_var'}'` = yes; then
43133 cat >>confdefs.h <<_ACEOF
43134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43141 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
43142 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
43143 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
43144 echo $ECHO_N "(cached) $ECHO_C" >&6
43148 ac_cpp='$CXXCPP $CPPFLAGS'
43149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43153 cat >conftest.$ac_ext <<_ACEOF
43156 cat confdefs.h >>conftest.$ac_ext
43157 cat >>conftest.$ac_ext <<_ACEOF
43158 /* end confdefs.h. */
43159 #include <pthread.h>
43160 void ThreadCleanupFunc(void *p);
43167 pthread_cleanup_push(ThreadCleanupFunc, p);
43168 pthread_cleanup_pop(0);
43174 rm -f conftest.$ac_objext
43175 if { (ac_try="$ac_compile"
43176 case "(($ac_try" in
43177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43178 *) ac_try_echo=$ac_try;;
43180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43181 (eval "$ac_compile") 2>conftest.er1
43183 grep -v '^ *+' conftest.er1 >conftest.err
43185 cat conftest.err >&5
43186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43187 (exit $ac_status); } && {
43188 test -z "$ac_cxx_werror_flag" ||
43189 test ! -s conftest.err
43190 } && test -s conftest.$ac_objext; then
43192 wx_cv_func_pthread_cleanup=yes
43195 echo "$as_me: failed program was:" >&5
43196 sed 's/^/| /' conftest.$ac_ext >&5
43199 wx_cv_func_pthread_cleanup=no
43204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43206 ac_cpp='$CPP $CPPFLAGS'
43207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43213 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
43214 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
43215 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
43216 cat >>confdefs.h <<\_ACEOF
43217 #define wxHAVE_PTHREAD_CLEANUP 1
43223 for ac_header in sched.h
43225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43226 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43229 echo $ECHO_N "(cached) $ECHO_C" >&6
43231 cat >conftest.$ac_ext <<_ACEOF
43234 cat confdefs.h >>conftest.$ac_ext
43235 cat >>conftest.$ac_ext <<_ACEOF
43236 /* end confdefs.h. */
43237 $ac_includes_default
43239 #include <$ac_header>
43241 rm -f conftest.$ac_objext
43242 if { (ac_try="$ac_compile"
43243 case "(($ac_try" in
43244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43245 *) ac_try_echo=$ac_try;;
43247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43248 (eval "$ac_compile") 2>conftest.er1
43250 grep -v '^ *+' conftest.er1 >conftest.err
43252 cat conftest.err >&5
43253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254 (exit $ac_status); } && {
43255 test -z "$ac_c_werror_flag" ||
43256 test ! -s conftest.err
43257 } && test -s conftest.$ac_objext; then
43258 eval "$as_ac_Header=yes"
43260 echo "$as_me: failed program was:" >&5
43261 sed 's/^/| /' conftest.$ac_ext >&5
43263 eval "$as_ac_Header=no"
43266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43268 ac_res=`eval echo '${'$as_ac_Header'}'`
43269 { echo "$as_me:$LINENO: result: $ac_res" >&5
43270 echo "${ECHO_T}$ac_res" >&6; }
43271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43272 cat >>confdefs.h <<_ACEOF
43273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43280 if test "$ac_cv_header_sched_h" = "yes"; then
43281 { echo "$as_me:$LINENO: checking for sched_yield" >&5
43282 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
43283 if test "${ac_cv_func_sched_yield+set}" = set; then
43284 echo $ECHO_N "(cached) $ECHO_C" >&6
43286 cat >conftest.$ac_ext <<_ACEOF
43289 cat confdefs.h >>conftest.$ac_ext
43290 cat >>conftest.$ac_ext <<_ACEOF
43291 /* end confdefs.h. */
43292 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
43293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43294 #define sched_yield innocuous_sched_yield
43296 /* System header to define __stub macros and hopefully few prototypes,
43297 which can conflict with char sched_yield (); below.
43298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43299 <limits.h> exists even on freestanding compilers. */
43302 # include <limits.h>
43304 # include <assert.h>
43309 /* Override any GCC internal prototype to avoid an error.
43310 Use char because int might match the return type of a GCC
43311 builtin and then its argument prototype would still apply. */
43315 char sched_yield ();
43316 /* The GNU C library defines this for functions which it implements
43317 to always fail with ENOSYS. Some functions are actually named
43318 something starting with __ and the normal name is an alias. */
43319 #if defined __stub_sched_yield || defined __stub___sched_yield
43326 return sched_yield ();
43331 rm -f conftest.$ac_objext conftest$ac_exeext
43332 if { (ac_try="$ac_link"
43333 case "(($ac_try" in
43334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43335 *) ac_try_echo=$ac_try;;
43337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43338 (eval "$ac_link") 2>conftest.er1
43340 grep -v '^ *+' conftest.er1 >conftest.err
43342 cat conftest.err >&5
43343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43344 (exit $ac_status); } && {
43345 test -z "$ac_c_werror_flag" ||
43346 test ! -s conftest.err
43347 } && test -s conftest$ac_exeext &&
43348 $as_test_x conftest$ac_exeext; then
43349 ac_cv_func_sched_yield=yes
43351 echo "$as_me: failed program was:" >&5
43352 sed 's/^/| /' conftest.$ac_ext >&5
43354 ac_cv_func_sched_yield=no
43357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43358 conftest$ac_exeext conftest.$ac_ext
43360 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
43361 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
43362 if test $ac_cv_func_sched_yield = yes; then
43363 cat >>confdefs.h <<\_ACEOF
43364 #define HAVE_SCHED_YIELD 1
43369 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
43370 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
43371 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
43372 echo $ECHO_N "(cached) $ECHO_C" >&6
43374 ac_check_lib_save_LIBS=$LIBS
43375 LIBS="-lposix4 $LIBS"
43376 cat >conftest.$ac_ext <<_ACEOF
43379 cat confdefs.h >>conftest.$ac_ext
43380 cat >>conftest.$ac_ext <<_ACEOF
43381 /* end confdefs.h. */
43383 /* Override any GCC internal prototype to avoid an error.
43384 Use char because int might match the return type of a GCC
43385 builtin and then its argument prototype would still apply. */
43389 char sched_yield ();
43393 return sched_yield ();
43398 rm -f conftest.$ac_objext conftest$ac_exeext
43399 if { (ac_try="$ac_link"
43400 case "(($ac_try" in
43401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43402 *) ac_try_echo=$ac_try;;
43404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43405 (eval "$ac_link") 2>conftest.er1
43407 grep -v '^ *+' conftest.er1 >conftest.err
43409 cat conftest.err >&5
43410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43411 (exit $ac_status); } && {
43412 test -z "$ac_c_werror_flag" ||
43413 test ! -s conftest.err
43414 } && test -s conftest$ac_exeext &&
43415 $as_test_x conftest$ac_exeext; then
43416 ac_cv_lib_posix4_sched_yield=yes
43418 echo "$as_me: failed program was:" >&5
43419 sed 's/^/| /' conftest.$ac_ext >&5
43421 ac_cv_lib_posix4_sched_yield=no
43424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43425 conftest$ac_exeext conftest.$ac_ext
43426 LIBS=$ac_check_lib_save_LIBS
43428 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
43429 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
43430 if test $ac_cv_lib_posix4_sched_yield = yes; then
43431 cat >>confdefs.h <<\_ACEOF
43432 #define HAVE_SCHED_YIELD 1
43434 POSIX4_LINK=" -lposix4"
43436 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
43437 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
43448 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
43449 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
43450 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
43451 echo $ECHO_N "(cached) $ECHO_C" >&6
43453 cat >conftest.$ac_ext <<_ACEOF
43456 cat confdefs.h >>conftest.$ac_ext
43457 cat >>conftest.$ac_ext <<_ACEOF
43458 /* end confdefs.h. */
43459 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
43460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43461 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
43463 /* System header to define __stub macros and hopefully few prototypes,
43464 which can conflict with char pthread_attr_getschedpolicy (); below.
43465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43466 <limits.h> exists even on freestanding compilers. */
43469 # include <limits.h>
43471 # include <assert.h>
43474 #undef pthread_attr_getschedpolicy
43476 /* Override any GCC internal prototype to avoid an error.
43477 Use char because int might match the return type of a GCC
43478 builtin and then its argument prototype would still apply. */
43482 char pthread_attr_getschedpolicy ();
43483 /* The GNU C library defines this for functions which it implements
43484 to always fail with ENOSYS. Some functions are actually named
43485 something starting with __ and the normal name is an alias. */
43486 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
43493 return pthread_attr_getschedpolicy ();
43498 rm -f conftest.$ac_objext conftest$ac_exeext
43499 if { (ac_try="$ac_link"
43500 case "(($ac_try" in
43501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43502 *) ac_try_echo=$ac_try;;
43504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43505 (eval "$ac_link") 2>conftest.er1
43507 grep -v '^ *+' conftest.er1 >conftest.err
43509 cat conftest.err >&5
43510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511 (exit $ac_status); } && {
43512 test -z "$ac_c_werror_flag" ||
43513 test ! -s conftest.err
43514 } && test -s conftest$ac_exeext &&
43515 $as_test_x conftest$ac_exeext; then
43516 ac_cv_func_pthread_attr_getschedpolicy=yes
43518 echo "$as_me: failed program was:" >&5
43519 sed 's/^/| /' conftest.$ac_ext >&5
43521 ac_cv_func_pthread_attr_getschedpolicy=no
43524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43525 conftest$ac_exeext conftest.$ac_ext
43527 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43528 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43529 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43530 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43531 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43532 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43533 echo $ECHO_N "(cached) $ECHO_C" >&6
43535 cat >conftest.$ac_ext <<_ACEOF
43538 cat confdefs.h >>conftest.$ac_ext
43539 cat >>conftest.$ac_ext <<_ACEOF
43540 /* end confdefs.h. */
43541 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43543 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43545 /* System header to define __stub macros and hopefully few prototypes,
43546 which can conflict with char pthread_attr_setschedparam (); below.
43547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43548 <limits.h> exists even on freestanding compilers. */
43551 # include <limits.h>
43553 # include <assert.h>
43556 #undef pthread_attr_setschedparam
43558 /* Override any GCC internal prototype to avoid an error.
43559 Use char because int might match the return type of a GCC
43560 builtin and then its argument prototype would still apply. */
43564 char pthread_attr_setschedparam ();
43565 /* The GNU C library defines this for functions which it implements
43566 to always fail with ENOSYS. Some functions are actually named
43567 something starting with __ and the normal name is an alias. */
43568 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43575 return pthread_attr_setschedparam ();
43580 rm -f conftest.$ac_objext conftest$ac_exeext
43581 if { (ac_try="$ac_link"
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_link") 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_exeext &&
43597 $as_test_x conftest$ac_exeext; then
43598 ac_cv_func_pthread_attr_setschedparam=yes
43600 echo "$as_me: failed program was:" >&5
43601 sed 's/^/| /' conftest.$ac_ext >&5
43603 ac_cv_func_pthread_attr_setschedparam=no
43606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43607 conftest$ac_exeext conftest.$ac_ext
43609 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43610 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43611 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43612 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43613 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43614 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43615 echo $ECHO_N "(cached) $ECHO_C" >&6
43617 cat >conftest.$ac_ext <<_ACEOF
43620 cat confdefs.h >>conftest.$ac_ext
43621 cat >>conftest.$ac_ext <<_ACEOF
43622 /* end confdefs.h. */
43623 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43625 #define sched_get_priority_max innocuous_sched_get_priority_max
43627 /* System header to define __stub macros and hopefully few prototypes,
43628 which can conflict with char sched_get_priority_max (); below.
43629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43630 <limits.h> exists even on freestanding compilers. */
43633 # include <limits.h>
43635 # include <assert.h>
43638 #undef sched_get_priority_max
43640 /* Override any GCC internal prototype to avoid an error.
43641 Use char because int might match the return type of a GCC
43642 builtin and then its argument prototype would still apply. */
43646 char sched_get_priority_max ();
43647 /* The GNU C library defines this for functions which it implements
43648 to always fail with ENOSYS. Some functions are actually named
43649 something starting with __ and the normal name is an alias. */
43650 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43657 return sched_get_priority_max ();
43662 rm -f conftest.$ac_objext conftest$ac_exeext
43663 if { (ac_try="$ac_link"
43664 case "(($ac_try" in
43665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43666 *) ac_try_echo=$ac_try;;
43668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43669 (eval "$ac_link") 2>conftest.er1
43671 grep -v '^ *+' conftest.er1 >conftest.err
43673 cat conftest.err >&5
43674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43675 (exit $ac_status); } && {
43676 test -z "$ac_c_werror_flag" ||
43677 test ! -s conftest.err
43678 } && test -s conftest$ac_exeext &&
43679 $as_test_x conftest$ac_exeext; then
43680 ac_cv_func_sched_get_priority_max=yes
43682 echo "$as_me: failed program was:" >&5
43683 sed 's/^/| /' conftest.$ac_ext >&5
43685 ac_cv_func_sched_get_priority_max=no
43688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43689 conftest$ac_exeext conftest.$ac_ext
43691 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43692 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43693 if test $ac_cv_func_sched_get_priority_max = yes; then
43696 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43697 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43698 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43699 echo $ECHO_N "(cached) $ECHO_C" >&6
43701 ac_check_lib_save_LIBS=$LIBS
43702 LIBS="-lposix4 $LIBS"
43703 cat >conftest.$ac_ext <<_ACEOF
43706 cat confdefs.h >>conftest.$ac_ext
43707 cat >>conftest.$ac_ext <<_ACEOF
43708 /* end confdefs.h. */
43710 /* Override any GCC internal prototype to avoid an error.
43711 Use char because int might match the return type of a GCC
43712 builtin and then its argument prototype would still apply. */
43716 char sched_get_priority_max ();
43720 return sched_get_priority_max ();
43725 rm -f conftest.$ac_objext conftest$ac_exeext
43726 if { (ac_try="$ac_link"
43727 case "(($ac_try" in
43728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43729 *) ac_try_echo=$ac_try;;
43731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43732 (eval "$ac_link") 2>conftest.er1
43734 grep -v '^ *+' conftest.er1 >conftest.err
43736 cat conftest.err >&5
43737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738 (exit $ac_status); } && {
43739 test -z "$ac_c_werror_flag" ||
43740 test ! -s conftest.err
43741 } && test -s conftest$ac_exeext &&
43742 $as_test_x conftest$ac_exeext; then
43743 ac_cv_lib_posix4_sched_get_priority_max=yes
43745 echo "$as_me: failed program was:" >&5
43746 sed 's/^/| /' conftest.$ac_ext >&5
43748 ac_cv_lib_posix4_sched_get_priority_max=no
43751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43752 conftest$ac_exeext conftest.$ac_ext
43753 LIBS=$ac_check_lib_save_LIBS
43755 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43756 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43757 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43760 POSIX4_LINK=" -lposix4"
43774 if test "$HAVE_PRIOR_FUNCS" = 1; then
43775 cat >>confdefs.h <<\_ACEOF
43776 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43780 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43781 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43784 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43785 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43786 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43787 echo $ECHO_N "(cached) $ECHO_C" >&6
43789 cat >conftest.$ac_ext <<_ACEOF
43792 cat confdefs.h >>conftest.$ac_ext
43793 cat >>conftest.$ac_ext <<_ACEOF
43794 /* end confdefs.h. */
43795 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43797 #define pthread_cancel innocuous_pthread_cancel
43799 /* System header to define __stub macros and hopefully few prototypes,
43800 which can conflict with char pthread_cancel (); below.
43801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43802 <limits.h> exists even on freestanding compilers. */
43805 # include <limits.h>
43807 # include <assert.h>
43810 #undef pthread_cancel
43812 /* Override any GCC internal prototype to avoid an error.
43813 Use char because int might match the return type of a GCC
43814 builtin and then its argument prototype would still apply. */
43818 char pthread_cancel ();
43819 /* The GNU C library defines this for functions which it implements
43820 to always fail with ENOSYS. Some functions are actually named
43821 something starting with __ and the normal name is an alias. */
43822 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43829 return pthread_cancel ();
43834 rm -f conftest.$ac_objext conftest$ac_exeext
43835 if { (ac_try="$ac_link"
43836 case "(($ac_try" in
43837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43838 *) ac_try_echo=$ac_try;;
43840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43841 (eval "$ac_link") 2>conftest.er1
43843 grep -v '^ *+' conftest.er1 >conftest.err
43845 cat conftest.err >&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } && {
43848 test -z "$ac_c_werror_flag" ||
43849 test ! -s conftest.err
43850 } && test -s conftest$ac_exeext &&
43851 $as_test_x conftest$ac_exeext; then
43852 ac_cv_func_pthread_cancel=yes
43854 echo "$as_me: failed program was:" >&5
43855 sed 's/^/| /' conftest.$ac_ext >&5
43857 ac_cv_func_pthread_cancel=no
43860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43861 conftest$ac_exeext conftest.$ac_ext
43863 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43864 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43865 if test $ac_cv_func_pthread_cancel = yes; then
43866 cat >>confdefs.h <<\_ACEOF
43867 #define HAVE_PTHREAD_CANCEL 1
43871 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43872 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43876 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43877 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43878 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43879 echo $ECHO_N "(cached) $ECHO_C" >&6
43881 cat >conftest.$ac_ext <<_ACEOF
43884 cat confdefs.h >>conftest.$ac_ext
43885 cat >>conftest.$ac_ext <<_ACEOF
43886 /* end confdefs.h. */
43887 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43889 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43891 /* System header to define __stub macros and hopefully few prototypes,
43892 which can conflict with char pthread_mutex_timedlock (); below.
43893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43894 <limits.h> exists even on freestanding compilers. */
43897 # include <limits.h>
43899 # include <assert.h>
43902 #undef pthread_mutex_timedlock
43904 /* Override any GCC internal prototype to avoid an error.
43905 Use char because int might match the return type of a GCC
43906 builtin and then its argument prototype would still apply. */
43910 char pthread_mutex_timedlock ();
43911 /* The GNU C library defines this for functions which it implements
43912 to always fail with ENOSYS. Some functions are actually named
43913 something starting with __ and the normal name is an alias. */
43914 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43921 return pthread_mutex_timedlock ();
43926 rm -f conftest.$ac_objext conftest$ac_exeext
43927 if { (ac_try="$ac_link"
43928 case "(($ac_try" in
43929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43930 *) ac_try_echo=$ac_try;;
43932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43933 (eval "$ac_link") 2>conftest.er1
43935 grep -v '^ *+' conftest.er1 >conftest.err
43937 cat conftest.err >&5
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); } && {
43940 test -z "$ac_c_werror_flag" ||
43941 test ! -s conftest.err
43942 } && test -s conftest$ac_exeext &&
43943 $as_test_x conftest$ac_exeext; then
43944 ac_cv_func_pthread_mutex_timedlock=yes
43946 echo "$as_me: failed program was:" >&5
43947 sed 's/^/| /' conftest.$ac_ext >&5
43949 ac_cv_func_pthread_mutex_timedlock=no
43952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43953 conftest$ac_exeext conftest.$ac_ext
43955 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43956 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43957 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43958 cat >>confdefs.h <<\_ACEOF
43959 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43963 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43964 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43968 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43969 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43970 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43971 echo $ECHO_N "(cached) $ECHO_C" >&6
43973 cat >conftest.$ac_ext <<_ACEOF
43976 cat confdefs.h >>conftest.$ac_ext
43977 cat >>conftest.$ac_ext <<_ACEOF
43978 /* end confdefs.h. */
43979 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43981 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43983 /* System header to define __stub macros and hopefully few prototypes,
43984 which can conflict with char pthread_attr_setstacksize (); below.
43985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43986 <limits.h> exists even on freestanding compilers. */
43989 # include <limits.h>
43991 # include <assert.h>
43994 #undef pthread_attr_setstacksize
43996 /* Override any GCC internal prototype to avoid an error.
43997 Use char because int might match the return type of a GCC
43998 builtin and then its argument prototype would still apply. */
44002 char pthread_attr_setstacksize ();
44003 /* The GNU C library defines this for functions which it implements
44004 to always fail with ENOSYS. Some functions are actually named
44005 something starting with __ and the normal name is an alias. */
44006 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
44013 return pthread_attr_setstacksize ();
44018 rm -f conftest.$ac_objext conftest$ac_exeext
44019 if { (ac_try="$ac_link"
44020 case "(($ac_try" in
44021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44022 *) ac_try_echo=$ac_try;;
44024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44025 (eval "$ac_link") 2>conftest.er1
44027 grep -v '^ *+' conftest.er1 >conftest.err
44029 cat conftest.err >&5
44030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44031 (exit $ac_status); } && {
44032 test -z "$ac_c_werror_flag" ||
44033 test ! -s conftest.err
44034 } && test -s conftest$ac_exeext &&
44035 $as_test_x conftest$ac_exeext; then
44036 ac_cv_func_pthread_attr_setstacksize=yes
44038 echo "$as_me: failed program was:" >&5
44039 sed 's/^/| /' conftest.$ac_ext >&5
44041 ac_cv_func_pthread_attr_setstacksize=no
44044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44045 conftest$ac_exeext conftest.$ac_ext
44047 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
44048 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
44049 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
44050 cat >>confdefs.h <<\_ACEOF
44051 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
44058 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
44059 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
44060 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
44061 echo $ECHO_N "(cached) $ECHO_C" >&6
44064 cat >conftest.$ac_ext <<_ACEOF
44067 cat confdefs.h >>conftest.$ac_ext
44068 cat >>conftest.$ac_ext <<_ACEOF
44069 /* end confdefs.h. */
44070 #include <pthread.h>
44075 pthread_mutexattr_t attr;
44076 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44082 rm -f conftest.$ac_objext
44083 if { (ac_try="$ac_compile"
44084 case "(($ac_try" in
44085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44086 *) ac_try_echo=$ac_try;;
44088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44089 (eval "$ac_compile") 2>conftest.er1
44091 grep -v '^ *+' conftest.er1 >conftest.err
44093 cat conftest.err >&5
44094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44095 (exit $ac_status); } && {
44096 test -z "$ac_c_werror_flag" ||
44097 test ! -s conftest.err
44098 } && test -s conftest.$ac_objext; then
44099 wx_cv_type_pthread_mutexattr_t=yes
44101 echo "$as_me: failed program was:" >&5
44102 sed 's/^/| /' conftest.$ac_ext >&5
44104 wx_cv_type_pthread_mutexattr_t=no
44108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44111 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
44112 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
44114 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
44115 cat >>confdefs.h <<\_ACEOF
44116 #define HAVE_PTHREAD_MUTEXATTR_T 1
44120 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
44121 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
44122 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
44123 echo $ECHO_N "(cached) $ECHO_C" >&6
44126 cat >conftest.$ac_ext <<_ACEOF
44129 cat confdefs.h >>conftest.$ac_ext
44130 cat >>conftest.$ac_ext <<_ACEOF
44131 /* end confdefs.h. */
44132 #include <pthread.h>
44137 pthread_mutexattr_t attr;
44138 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44144 rm -f conftest.$ac_objext
44145 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
44161 wx_cv_func_pthread_mutexattr_settype_decl=yes
44163 echo "$as_me: failed program was:" >&5
44164 sed 's/^/| /' conftest.$ac_ext >&5
44166 wx_cv_func_pthread_mutexattr_settype_decl=no
44170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44173 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
44174 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
44175 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
44176 cat >>confdefs.h <<\_ACEOF
44177 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
44182 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
44183 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
44184 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
44185 echo $ECHO_N "(cached) $ECHO_C" >&6
44188 cat >conftest.$ac_ext <<_ACEOF
44191 cat confdefs.h >>conftest.$ac_ext
44192 cat >>conftest.$ac_ext <<_ACEOF
44193 /* end confdefs.h. */
44194 #include <pthread.h>
44199 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
44205 rm -f conftest.$ac_objext
44206 if { (ac_try="$ac_compile"
44207 case "(($ac_try" in
44208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44209 *) ac_try_echo=$ac_try;;
44211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44212 (eval "$ac_compile") 2>conftest.er1
44214 grep -v '^ *+' conftest.er1 >conftest.err
44216 cat conftest.err >&5
44217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44218 (exit $ac_status); } && {
44219 test -z "$ac_c_werror_flag" ||
44220 test ! -s conftest.err
44221 } && test -s conftest.$ac_objext; then
44223 wx_cv_type_pthread_rec_mutex_init=yes
44226 echo "$as_me: failed program was:" >&5
44227 sed 's/^/| /' conftest.$ac_ext >&5
44230 wx_cv_type_pthread_rec_mutex_init=no
44235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44238 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
44239 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
44240 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
44241 cat >>confdefs.h <<\_ACEOF
44242 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
44246 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
44247 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
44251 if test "$wxUSE_COMPILER_TLS" = "auto"; then
44252 if test "$USE_NETBSD" = 1; then
44253 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
44254 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
44255 wxUSE_COMPILER_TLS=no
44257 wxUSE_COMPILER_TLS=yes
44261 if test "$wxUSE_COMPILER_TLS" = "yes"; then
44262 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
44263 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
44264 if test "${wx_cv_cc___thread+set}" = set; then
44265 echo $ECHO_N "(cached) $ECHO_C" >&6
44268 cat >conftest.$ac_ext <<_ACEOF
44271 cat confdefs.h >>conftest.$ac_ext
44272 cat >>conftest.$ac_ext <<_ACEOF
44273 /* end confdefs.h. */
44274 #include <pthread.h>
44279 static __thread int n = 0;
44280 static __thread int *p = 0;
44286 rm -f conftest.$ac_objext
44287 if { (ac_try="$ac_compile"
44288 case "(($ac_try" in
44289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44290 *) ac_try_echo=$ac_try;;
44292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44293 (eval "$ac_compile") 2>conftest.er1
44295 grep -v '^ *+' conftest.er1 >conftest.err
44297 cat conftest.err >&5
44298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44299 (exit $ac_status); } && {
44300 test -z "$ac_c_werror_flag" ||
44301 test ! -s conftest.err
44302 } && test -s conftest.$ac_objext; then
44303 wx_cv_cc___thread=yes
44305 echo "$as_me: failed program was:" >&5
44306 sed 's/^/| /' conftest.$ac_ext >&5
44308 wx_cv_cc___thread=no
44312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44316 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
44317 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
44319 if test "$wx_cv_cc___thread" = "yes"; then
44325 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
44326 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
44328 if test "x$GCC" = "xyes" ; then
44330 if test -z "" ; then
44332 ax_gcc_option_test="int main()
44339 ax_gcc_option_test=""
44344 # Dump the test program to file
44345 cat <<EOF > conftest.c
44346 $ax_gcc_option_test
44349 # Dump back the file to the log, useful for debugging purposes
44350 { ac_try='cat conftest.c 1>&5'
44351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44352 (eval $ac_try) 2>&5
44354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44355 (exit $ac_status); }; }
44357 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
44358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44359 (eval $ac_try) 2>&5
44361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44362 (exit $ac_status); }; } ; then
44364 { echo "$as_me:$LINENO: result: yes" >&5
44365 echo "${ECHO_T}yes" >&6; }
44367 ax_gcc_version_option=yes
44372 { echo "$as_me:$LINENO: result: no" >&5
44373 echo "${ECHO_T}no" >&6; }
44375 ax_gcc_version_option=no
44383 { echo "$as_me:$LINENO: result: no gcc available" >&5
44384 echo "${ECHO_T}no gcc available" >&6; }
44389 if test "x$GXX" = "xyes"; then
44391 if test "x$ax_gxx_version_option" != "no"; then
44393 { echo "$as_me:$LINENO: checking gxx version" >&5
44394 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
44395 if test "${ax_cv_gxx_version+set}" = set; then
44396 echo $ECHO_N "(cached) $ECHO_C" >&6
44399 ax_cv_gxx_version="`$CXX -dumpversion`"
44400 if test "x$ax_cv_gxx_version" = "x"; then
44402 ax_cv_gxx_version=""
44408 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
44409 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
44410 GXX_VERSION=$ax_cv_gxx_version
44419 if test -n "$ax_cv_gxx_version"; then
44420 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
44421 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
44422 case "$ax_cv_gxx_version" in
44424 { echo "$as_me:$LINENO: result: no, it's broken" >&5
44425 echo "${ECHO_T}no, it's broken" >&6; }
44426 wx_cv_cc___thread=no
44429 { echo "$as_me:$LINENO: result: yes, it works" >&5
44430 echo "${ECHO_T}yes, it works" >&6; }
44436 if test "$wx_cv_cc___thread" = "yes"; then
44437 cat >>confdefs.h <<\_ACEOF
44438 #define HAVE___THREAD_KEYWORD 1
44446 if test "$wxUSE_THREADS" = "yes" ; then
44448 x86_64-*-mingw32* )
44451 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
44452 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
44453 if test "${wx_cv_cflags_mthread+set}" = set; then
44454 echo $ECHO_N "(cached) $ECHO_C" >&6
44457 CFLAGS_OLD="$CFLAGS"
44458 CFLAGS="-mthreads $CFLAGS"
44459 cat >conftest.$ac_ext <<_ACEOF
44462 cat confdefs.h >>conftest.$ac_ext
44463 cat >>conftest.$ac_ext <<_ACEOF
44464 /* end confdefs.h. */
44474 rm -f conftest.$ac_objext
44475 if { (ac_try="$ac_compile"
44476 case "(($ac_try" in
44477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44478 *) ac_try_echo=$ac_try;;
44480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44481 (eval "$ac_compile") 2>conftest.er1
44483 grep -v '^ *+' conftest.er1 >conftest.err
44485 cat conftest.err >&5
44486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487 (exit $ac_status); } && {
44488 test -z "$ac_c_werror_flag" ||
44489 test ! -s conftest.err
44490 } && test -s conftest.$ac_objext; then
44491 wx_cv_cflags_mthread=yes
44493 echo "$as_me: failed program was:" >&5
44494 sed 's/^/| /' conftest.$ac_ext >&5
44496 wx_cv_cflags_mthread=no
44500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44504 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
44505 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
44507 if test "$wx_cv_cflags_mthread" = "yes"; then
44508 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
44509 LDFLAGS="$LDFLAGS -mthreads"
44511 CFLAGS="$CFLAGS_OLD"
44515 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
44516 LDFLAGS="$LDFLAGS -Zmt"
44522 { echo "$as_me:$LINENO: checking for localtime_r" >&5
44523 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
44524 if test "${ac_cv_func_localtime_r+set}" = set; then
44525 echo $ECHO_N "(cached) $ECHO_C" >&6
44527 cat >conftest.$ac_ext <<_ACEOF
44530 cat confdefs.h >>conftest.$ac_ext
44531 cat >>conftest.$ac_ext <<_ACEOF
44532 /* end confdefs.h. */
44533 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44535 #define localtime_r innocuous_localtime_r
44537 /* System header to define __stub macros and hopefully few prototypes,
44538 which can conflict with char localtime_r (); below.
44539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44540 <limits.h> exists even on freestanding compilers. */
44543 # include <limits.h>
44545 # include <assert.h>
44550 /* Override any GCC internal prototype to avoid an error.
44551 Use char because int might match the return type of a GCC
44552 builtin and then its argument prototype would still apply. */
44556 char localtime_r ();
44557 /* The GNU C library defines this for functions which it implements
44558 to always fail with ENOSYS. Some functions are actually named
44559 something starting with __ and the normal name is an alias. */
44560 #if defined __stub_localtime_r || defined __stub___localtime_r
44567 return localtime_r ();
44572 rm -f conftest.$ac_objext conftest$ac_exeext
44573 if { (ac_try="$ac_link"
44574 case "(($ac_try" in
44575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44576 *) ac_try_echo=$ac_try;;
44578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44579 (eval "$ac_link") 2>conftest.er1
44581 grep -v '^ *+' conftest.er1 >conftest.err
44583 cat conftest.err >&5
44584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44585 (exit $ac_status); } && {
44586 test -z "$ac_c_werror_flag" ||
44587 test ! -s conftest.err
44588 } && test -s conftest$ac_exeext &&
44589 $as_test_x conftest$ac_exeext; then
44590 ac_cv_func_localtime_r=yes
44592 echo "$as_me: failed program was:" >&5
44593 sed 's/^/| /' conftest.$ac_ext >&5
44595 ac_cv_func_localtime_r=no
44598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44599 conftest$ac_exeext conftest.$ac_ext
44601 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44602 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44603 if test $ac_cv_func_localtime_r = yes; then
44604 cat >>confdefs.h <<\_ACEOF
44605 #define HAVE_LOCALTIME_R 1
44610 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44611 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44612 if test "${ac_cv_func_gmtime_r+set}" = set; then
44613 echo $ECHO_N "(cached) $ECHO_C" >&6
44615 cat >conftest.$ac_ext <<_ACEOF
44618 cat confdefs.h >>conftest.$ac_ext
44619 cat >>conftest.$ac_ext <<_ACEOF
44620 /* end confdefs.h. */
44621 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44623 #define gmtime_r innocuous_gmtime_r
44625 /* System header to define __stub macros and hopefully few prototypes,
44626 which can conflict with char gmtime_r (); below.
44627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44628 <limits.h> exists even on freestanding compilers. */
44631 # include <limits.h>
44633 # include <assert.h>
44638 /* Override any GCC internal prototype to avoid an error.
44639 Use char because int might match the return type of a GCC
44640 builtin and then its argument prototype would still apply. */
44645 /* The GNU C library defines this for functions which it implements
44646 to always fail with ENOSYS. Some functions are actually named
44647 something starting with __ and the normal name is an alias. */
44648 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44655 return gmtime_r ();
44660 rm -f conftest.$ac_objext conftest$ac_exeext
44661 if { (ac_try="$ac_link"
44662 case "(($ac_try" in
44663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44664 *) ac_try_echo=$ac_try;;
44666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44667 (eval "$ac_link") 2>conftest.er1
44669 grep -v '^ *+' conftest.er1 >conftest.err
44671 cat conftest.err >&5
44672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44673 (exit $ac_status); } && {
44674 test -z "$ac_c_werror_flag" ||
44675 test ! -s conftest.err
44676 } && test -s conftest$ac_exeext &&
44677 $as_test_x conftest$ac_exeext; then
44678 ac_cv_func_gmtime_r=yes
44680 echo "$as_me: failed program was:" >&5
44681 sed 's/^/| /' conftest.$ac_ext >&5
44683 ac_cv_func_gmtime_r=no
44686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44687 conftest$ac_exeext conftest.$ac_ext
44689 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44690 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44691 if test $ac_cv_func_gmtime_r = yes; then
44692 cat >>confdefs.h <<\_ACEOF
44693 #define HAVE_GMTIME_R 1
44702 ac_cpp='$CPP $CPPFLAGS'
44703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44707 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44708 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44710 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44711 echo $ECHO_N "(cached) $ECHO_C" >&6
44715 ################################################################
44717 ac_cv_func_which_gethostbyname_r=unknown
44720 # ONE ARGUMENT (sanity check)
44723 # This should fail, as there is no variant of gethostbyname_r() that takes
44724 # a single argument. If it actually compiles, then we can assume that
44725 # netdb.h is not declaring the function, and the compiler is thereby
44726 # assuming an implicit prototype. In which case, we're out of luck.
44728 cat >conftest.$ac_ext <<_ACEOF
44731 cat confdefs.h >>conftest.$ac_ext
44732 cat >>conftest.$ac_ext <<_ACEOF
44733 /* end confdefs.h. */
44739 char *name = "www.gnu.org";
44740 (void)gethostbyname_r(name) /* ; */
44747 rm -f conftest.$ac_objext
44748 if { (ac_try="$ac_compile"
44749 case "(($ac_try" in
44750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44751 *) ac_try_echo=$ac_try;;
44753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44754 (eval "$ac_compile") 2>conftest.er1
44756 grep -v '^ *+' conftest.er1 >conftest.err
44758 cat conftest.err >&5
44759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44760 (exit $ac_status); } && {
44761 test -z "$ac_c_werror_flag" ||
44762 test ! -s conftest.err
44763 } && test -s conftest.$ac_objext; then
44764 ac_cv_func_which_gethostbyname_r=no
44767 echo "$as_me: failed program was:" >&5
44768 sed 's/^/| /' conftest.$ac_ext >&5
44773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44780 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44782 cat >conftest.$ac_ext <<_ACEOF
44785 cat confdefs.h >>conftest.$ac_ext
44786 cat >>conftest.$ac_ext <<_ACEOF
44787 /* end confdefs.h. */
44793 char *name = "www.gnu.org";
44794 struct hostent ret, *retp;
44798 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44805 rm -f conftest.$ac_objext
44806 if { (ac_try="$ac_compile"
44807 case "(($ac_try" in
44808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44809 *) ac_try_echo=$ac_try;;
44811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44812 (eval "$ac_compile") 2>conftest.er1
44814 grep -v '^ *+' conftest.er1 >conftest.err
44816 cat conftest.err >&5
44817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44818 (exit $ac_status); } && {
44819 test -z "$ac_c_werror_flag" ||
44820 test ! -s conftest.err
44821 } && test -s conftest.$ac_objext; then
44822 ac_cv_func_which_gethostbyname_r=six
44825 echo "$as_me: failed program was:" >&5
44826 sed 's/^/| /' conftest.$ac_ext >&5
44831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44840 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44842 cat >conftest.$ac_ext <<_ACEOF
44845 cat confdefs.h >>conftest.$ac_ext
44846 cat >>conftest.$ac_ext <<_ACEOF
44847 /* end confdefs.h. */
44853 char *name = "www.gnu.org";
44854 struct hostent ret;
44858 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44865 rm -f conftest.$ac_objext
44866 if { (ac_try="$ac_compile"
44867 case "(($ac_try" in
44868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44869 *) ac_try_echo=$ac_try;;
44871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44872 (eval "$ac_compile") 2>conftest.er1
44874 grep -v '^ *+' conftest.er1 >conftest.err
44876 cat conftest.err >&5
44877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44878 (exit $ac_status); } && {
44879 test -z "$ac_c_werror_flag" ||
44880 test ! -s conftest.err
44881 } && test -s conftest.$ac_objext; then
44882 ac_cv_func_which_gethostbyname_r=five
44885 echo "$as_me: failed program was:" >&5
44886 sed 's/^/| /' conftest.$ac_ext >&5
44891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44897 # (e.g. AIX, HP-UX, Tru64)
44900 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44902 cat >conftest.$ac_ext <<_ACEOF
44905 cat confdefs.h >>conftest.$ac_ext
44906 cat >>conftest.$ac_ext <<_ACEOF
44907 /* end confdefs.h. */
44913 char *name = "www.gnu.org";
44914 struct hostent ret;
44915 struct hostent_data data;
44916 (void)gethostbyname_r(name, &ret, &data) /* ; */
44923 rm -f conftest.$ac_objext
44924 if { (ac_try="$ac_compile"
44925 case "(($ac_try" in
44926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44927 *) ac_try_echo=$ac_try;;
44929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44930 (eval "$ac_compile") 2>conftest.er1
44932 grep -v '^ *+' conftest.er1 >conftest.err
44934 cat conftest.err >&5
44935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44936 (exit $ac_status); } && {
44937 test -z "$ac_c_werror_flag" ||
44938 test ! -s conftest.err
44939 } && test -s conftest.$ac_objext; then
44940 ac_cv_func_which_gethostbyname_r=three
44943 echo "$as_me: failed program was:" >&5
44944 sed 's/^/| /' conftest.$ac_ext >&5
44949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44953 ################################################################
44958 case "$ac_cv_func_which_gethostbyname_r" in
44960 { echo "$as_me:$LINENO: result: three" >&5
44961 echo "${ECHO_T}three" >&6; }
44962 cat >>confdefs.h <<\_ACEOF
44963 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44969 { echo "$as_me:$LINENO: result: five" >&5
44970 echo "${ECHO_T}five" >&6; }
44971 cat >>confdefs.h <<\_ACEOF
44972 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44978 { echo "$as_me:$LINENO: result: six" >&5
44979 echo "${ECHO_T}six" >&6; }
44980 cat >>confdefs.h <<\_ACEOF
44981 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44987 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44988 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44992 { echo "$as_me:$LINENO: result: can't tell" >&5
44993 echo "${ECHO_T}can't tell" >&6; }
44997 { { echo "$as_me:$LINENO: error: internal error" >&5
44998 echo "$as_me: error: internal error" >&2;}
44999 { (exit 1); exit 1; }; }
45004 ac_cpp='$CPP $CPPFLAGS'
45005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45011 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
45012 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
45013 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
45014 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
45015 if test "${ac_cv_func_gethostbyname+set}" = set; then
45016 echo $ECHO_N "(cached) $ECHO_C" >&6
45018 cat >conftest.$ac_ext <<_ACEOF
45021 cat confdefs.h >>conftest.$ac_ext
45022 cat >>conftest.$ac_ext <<_ACEOF
45023 /* end confdefs.h. */
45024 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
45025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45026 #define gethostbyname innocuous_gethostbyname
45028 /* System header to define __stub macros and hopefully few prototypes,
45029 which can conflict with char gethostbyname (); below.
45030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45031 <limits.h> exists even on freestanding compilers. */
45034 # include <limits.h>
45036 # include <assert.h>
45039 #undef gethostbyname
45041 /* Override any GCC internal prototype to avoid an error.
45042 Use char because int might match the return type of a GCC
45043 builtin and then its argument prototype would still apply. */
45047 char gethostbyname ();
45048 /* The GNU C library defines this for functions which it implements
45049 to always fail with ENOSYS. Some functions are actually named
45050 something starting with __ and the normal name is an alias. */
45051 #if defined __stub_gethostbyname || defined __stub___gethostbyname
45058 return gethostbyname ();
45063 rm -f conftest.$ac_objext conftest$ac_exeext
45064 if { (ac_try="$ac_link"
45065 case "(($ac_try" in
45066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45067 *) ac_try_echo=$ac_try;;
45069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45070 (eval "$ac_link") 2>conftest.er1
45072 grep -v '^ *+' conftest.er1 >conftest.err
45074 cat conftest.err >&5
45075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45076 (exit $ac_status); } && {
45077 test -z "$ac_c_werror_flag" ||
45078 test ! -s conftest.err
45079 } && test -s conftest$ac_exeext &&
45080 $as_test_x conftest$ac_exeext; then
45081 ac_cv_func_gethostbyname=yes
45083 echo "$as_me: failed program was:" >&5
45084 sed 's/^/| /' conftest.$ac_ext >&5
45086 ac_cv_func_gethostbyname=no
45089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45090 conftest$ac_exeext conftest.$ac_ext
45092 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
45093 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
45094 if test $ac_cv_func_gethostbyname = yes; then
45095 cat >>confdefs.h <<\_ACEOF
45096 #define HAVE_GETHOSTBYNAME 1
45103 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
45104 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
45105 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
45106 echo $ECHO_N "(cached) $ECHO_C" >&6
45110 ac_cpp='$CXXCPP $CPPFLAGS'
45111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45116 cat >conftest.$ac_ext <<_ACEOF
45119 cat confdefs.h >>conftest.$ac_ext
45120 cat >>conftest.$ac_ext <<_ACEOF
45121 /* end confdefs.h. */
45129 struct servent *se, *res;
45132 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
45138 rm -f conftest.$ac_objext
45139 if { (ac_try="$ac_compile"
45140 case "(($ac_try" in
45141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45142 *) ac_try_echo=$ac_try;;
45144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45145 (eval "$ac_compile") 2>conftest.er1
45147 grep -v '^ *+' conftest.er1 >conftest.err
45149 cat conftest.err >&5
45150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45151 (exit $ac_status); } && {
45152 test -z "$ac_cxx_werror_flag" ||
45153 test ! -s conftest.err
45154 } && test -s conftest.$ac_objext; then
45155 ac_cv_func_which_getservbyname_r=six
45157 echo "$as_me: failed program was:" >&5
45158 sed 's/^/| /' conftest.$ac_ext >&5
45161 cat >conftest.$ac_ext <<_ACEOF
45164 cat confdefs.h >>conftest.$ac_ext
45165 cat >>conftest.$ac_ext <<_ACEOF
45166 /* end confdefs.h. */
45174 struct servent *se;
45177 (void) getservbyname_r(name, proto, se, buffer, buflen)
45183 rm -f conftest.$ac_objext
45184 if { (ac_try="$ac_compile"
45185 case "(($ac_try" in
45186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45187 *) ac_try_echo=$ac_try;;
45189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45190 (eval "$ac_compile") 2>conftest.er1
45192 grep -v '^ *+' conftest.er1 >conftest.err
45194 cat conftest.err >&5
45195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45196 (exit $ac_status); } && {
45197 test -z "$ac_cxx_werror_flag" ||
45198 test ! -s conftest.err
45199 } && test -s conftest.$ac_objext; then
45200 ac_cv_func_which_getservbyname_r=five
45202 echo "$as_me: failed program was:" >&5
45203 sed 's/^/| /' conftest.$ac_ext >&5
45206 cat >conftest.$ac_ext <<_ACEOF
45209 cat confdefs.h >>conftest.$ac_ext
45210 cat >>conftest.$ac_ext <<_ACEOF
45211 /* end confdefs.h. */
45219 struct servent *se;
45220 struct servent_data data;
45221 (void) getservbyname_r(name, proto, se, &data);
45227 rm -f conftest.$ac_objext
45228 if { (ac_try="$ac_compile"
45229 case "(($ac_try" in
45230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45231 *) ac_try_echo=$ac_try;;
45233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45234 (eval "$ac_compile") 2>conftest.er1
45236 grep -v '^ *+' conftest.er1 >conftest.err
45238 cat conftest.err >&5
45239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45240 (exit $ac_status); } && {
45241 test -z "$ac_cxx_werror_flag" ||
45242 test ! -s conftest.err
45243 } && test -s conftest.$ac_objext; then
45244 ac_cv_func_which_getservbyname_r=four
45246 echo "$as_me: failed program was:" >&5
45247 sed 's/^/| /' conftest.$ac_ext >&5
45249 ac_cv_func_which_getservbyname_r=no
45253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45265 ac_cpp='$CPP $CPPFLAGS'
45266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45273 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45274 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45276 if test $ac_cv_func_which_getservbyname_r = six; then
45277 cat >>confdefs.h <<\_ACEOF
45278 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45281 elif test $ac_cv_func_which_getservbyname_r = five; then
45282 cat >>confdefs.h <<\_ACEOF
45283 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45286 elif test $ac_cv_func_which_getservbyname_r = four; then
45287 cat >>confdefs.h <<\_ACEOF
45288 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45294 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45295 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45297 for ac_func in getservbyname
45299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45303 echo $ECHO_N "(cached) $ECHO_C" >&6
45305 cat >conftest.$ac_ext <<_ACEOF
45308 cat confdefs.h >>conftest.$ac_ext
45309 cat >>conftest.$ac_ext <<_ACEOF
45310 /* end confdefs.h. */
45311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45313 #define $ac_func innocuous_$ac_func
45315 /* System header to define __stub macros and hopefully few prototypes,
45316 which can conflict with char $ac_func (); below.
45317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45318 <limits.h> exists even on freestanding compilers. */
45321 # include <limits.h>
45323 # include <assert.h>
45328 /* Override any GCC internal prototype to avoid an error.
45329 Use char because int might match the return type of a GCC
45330 builtin and then its argument prototype would still apply. */
45335 /* The GNU C library defines this for functions which it implements
45336 to always fail with ENOSYS. Some functions are actually named
45337 something starting with __ and the normal name is an alias. */
45338 #if defined __stub_$ac_func || defined __stub___$ac_func
45345 return $ac_func ();
45350 rm -f conftest.$ac_objext conftest$ac_exeext
45351 if { (ac_try="$ac_link"
45352 case "(($ac_try" in
45353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45354 *) ac_try_echo=$ac_try;;
45356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45357 (eval "$ac_link") 2>conftest.er1
45359 grep -v '^ *+' conftest.er1 >conftest.err
45361 cat conftest.err >&5
45362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45363 (exit $ac_status); } && {
45364 test -z "$ac_c_werror_flag" ||
45365 test ! -s conftest.err
45366 } && test -s conftest$ac_exeext &&
45367 $as_test_x conftest$ac_exeext; then
45368 eval "$as_ac_var=yes"
45370 echo "$as_me: failed program was:" >&5
45371 sed 's/^/| /' conftest.$ac_ext >&5
45373 eval "$as_ac_var=no"
45376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45377 conftest$ac_exeext conftest.$ac_ext
45379 ac_res=`eval echo '${'$as_ac_var'}'`
45380 { echo "$as_me:$LINENO: result: $ac_res" >&5
45381 echo "${ECHO_T}$ac_res" >&6; }
45382 if test `eval echo '${'$as_ac_var'}'` = yes; then
45383 cat >>confdefs.h <<_ACEOF
45384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45386 cat >>confdefs.h <<\_ACEOF
45387 #define HAVE_GETSERVBYNAME 1
45395 if test "$wxUSE_THREADS" = "yes"; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_THREADS 1
45401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45403 if test "$wx_cv_func_strtok_r" = "yes"; then
45404 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45405 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45406 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45407 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45408 { echo "$as_me:$LINENO: result: yes" >&5
45409 echo "${ECHO_T}yes" >&6; }
45411 { echo "$as_me:$LINENO: result: no" >&5
45412 echo "${ECHO_T}no" >&6; }
45417 if test "$WXGTK2" = 1 ; then
45418 cat >>confdefs.h <<_ACEOF
45419 #define __WXGTK20__ $WXGTK2
45424 if test "$WXGTK127" = 1 ; then
45425 cat >>confdefs.h <<_ACEOF
45426 #define __WXGTK127__ $WXGTK127
45431 if test "$WXGPE" = 1 ; then
45432 cat >>confdefs.h <<_ACEOF
45433 #define __WXGPE__ $WXGPE
45439 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
45440 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
45441 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
45442 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
45446 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45447 wxUSE_DEBUG_INFO=yes
45448 if test "$GCC" = yes; then
45449 DEBUG_CFLAGS="-ggdb"
45453 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
45454 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
45456 if test "$wxUSE_GTK" = 1 ; then
45457 if test "x$wxGTK_VERSION" = "x1" ; then
45458 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45460 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
45465 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45466 cat >>confdefs.h <<\_ACEOF
45467 #define wxUSE_MEMORY_TRACING 1
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45474 cat >>confdefs.h <<\_ACEOF
45475 #define wxUSE_DEBUG_NEW_ALWAYS 1
45478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45481 if test "$wxUSE_DMALLOC" = "yes" ; then
45482 DMALLOC_LIBS="-ldmallocthcxx"
45486 if test "$wxUSE_PROFILE" = "yes" ; then
45487 PROFILE_FLAGS=" -pg"
45490 if test "$GCC" = "yes" ; then
45491 if test "$wxUSE_NO_RTTI" = "yes" ; then
45492 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
45494 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45495 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45497 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45498 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45503 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45506 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45512 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
45513 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
45514 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
45516 if test "$wxUSE_OPTIMISE" = "no" ; then
45517 if test "$GCC" = yes ; then
45518 OPTIMISE_CFLAGS="-O0"
45521 if test "$GCC" = yes ; then
45523 *-pc-os2_emx | *-pc-os2-emx )
45524 OPTIMISE_CFLAGS="-O2"
45527 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45531 OPTIMISE_CFLAGS="-O"
45537 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45538 cat >>confdefs.h <<\_ACEOF
45539 #define WXWIN_COMPATIBILITY_2_6 1
45543 WXWIN_COMPATIBILITY_2_8="yes"
45546 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45547 cat >>confdefs.h <<\_ACEOF
45548 #define WXWIN_COMPATIBILITY_2_8 1
45554 if test "$wxUSE_GUI" = "yes"; then
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_GUI 1
45563 if test "$wxUSE_UNIX" = "yes"; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_UNIX 1
45571 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45575 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45576 if test "$USE_DOS" = 1; then
45580 for ac_func in dlopen
45582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45583 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45585 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45586 echo $ECHO_N "(cached) $ECHO_C" >&6
45588 cat >conftest.$ac_ext <<_ACEOF
45591 cat confdefs.h >>conftest.$ac_ext
45592 cat >>conftest.$ac_ext <<_ACEOF
45593 /* end confdefs.h. */
45594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45596 #define $ac_func innocuous_$ac_func
45598 /* System header to define __stub macros and hopefully few prototypes,
45599 which can conflict with char $ac_func (); below.
45600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45601 <limits.h> exists even on freestanding compilers. */
45604 # include <limits.h>
45606 # include <assert.h>
45611 /* Override any GCC internal prototype to avoid an error.
45612 Use char because int might match the return type of a GCC
45613 builtin and then its argument prototype would still apply. */
45618 /* The GNU C library defines this for functions which it implements
45619 to always fail with ENOSYS. Some functions are actually named
45620 something starting with __ and the normal name is an alias. */
45621 #if defined __stub_$ac_func || defined __stub___$ac_func
45628 return $ac_func ();
45633 rm -f conftest.$ac_objext conftest$ac_exeext
45634 if { (ac_try="$ac_link"
45635 case "(($ac_try" in
45636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45637 *) ac_try_echo=$ac_try;;
45639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45640 (eval "$ac_link") 2>conftest.er1
45642 grep -v '^ *+' conftest.er1 >conftest.err
45644 cat conftest.err >&5
45645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45646 (exit $ac_status); } && {
45647 test -z "$ac_c_werror_flag" ||
45648 test ! -s conftest.err
45649 } && test -s conftest$ac_exeext &&
45650 $as_test_x conftest$ac_exeext; then
45651 eval "$as_ac_var=yes"
45653 echo "$as_me: failed program was:" >&5
45654 sed 's/^/| /' conftest.$ac_ext >&5
45656 eval "$as_ac_var=no"
45659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45660 conftest$ac_exeext conftest.$ac_ext
45662 ac_res=`eval echo '${'$as_ac_var'}'`
45663 { echo "$as_me:$LINENO: result: $ac_res" >&5
45664 echo "${ECHO_T}$ac_res" >&6; }
45665 if test `eval echo '${'$as_ac_var'}'` = yes; then
45666 cat >>confdefs.h <<_ACEOF
45667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45670 cat >>confdefs.h <<\_ACEOF
45671 #define HAVE_DLOPEN 1
45678 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45679 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45680 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45681 echo $ECHO_N "(cached) $ECHO_C" >&6
45683 ac_check_lib_save_LIBS=$LIBS
45685 cat >conftest.$ac_ext <<_ACEOF
45688 cat confdefs.h >>conftest.$ac_ext
45689 cat >>conftest.$ac_ext <<_ACEOF
45690 /* end confdefs.h. */
45692 /* Override any GCC internal prototype to avoid an error.
45693 Use char because int might match the return type of a GCC
45694 builtin and then its argument prototype would still apply. */
45707 rm -f conftest.$ac_objext conftest$ac_exeext
45708 if { (ac_try="$ac_link"
45709 case "(($ac_try" in
45710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45711 *) ac_try_echo=$ac_try;;
45713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45714 (eval "$ac_link") 2>conftest.er1
45716 grep -v '^ *+' conftest.er1 >conftest.err
45718 cat conftest.err >&5
45719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45720 (exit $ac_status); } && {
45721 test -z "$ac_c_werror_flag" ||
45722 test ! -s conftest.err
45723 } && test -s conftest$ac_exeext &&
45724 $as_test_x conftest$ac_exeext; then
45725 ac_cv_lib_dl_dlopen=yes
45727 echo "$as_me: failed program was:" >&5
45728 sed 's/^/| /' conftest.$ac_ext >&5
45730 ac_cv_lib_dl_dlopen=no
45733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45734 conftest$ac_exeext conftest.$ac_ext
45735 LIBS=$ac_check_lib_save_LIBS
45737 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45738 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45739 if test $ac_cv_lib_dl_dlopen = yes; then
45741 cat >>confdefs.h <<\_ACEOF
45742 #define HAVE_DLOPEN 1
45746 DL_LINK=" -ldl$DL_LINK"
45751 for ac_func in shl_load
45753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45754 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45756 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45757 echo $ECHO_N "(cached) $ECHO_C" >&6
45759 cat >conftest.$ac_ext <<_ACEOF
45762 cat confdefs.h >>conftest.$ac_ext
45763 cat >>conftest.$ac_ext <<_ACEOF
45764 /* end confdefs.h. */
45765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45767 #define $ac_func innocuous_$ac_func
45769 /* System header to define __stub macros and hopefully few prototypes,
45770 which can conflict with char $ac_func (); below.
45771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45772 <limits.h> exists even on freestanding compilers. */
45775 # include <limits.h>
45777 # include <assert.h>
45782 /* Override any GCC internal prototype to avoid an error.
45783 Use char because int might match the return type of a GCC
45784 builtin and then its argument prototype would still apply. */
45789 /* The GNU C library defines this for functions which it implements
45790 to always fail with ENOSYS. Some functions are actually named
45791 something starting with __ and the normal name is an alias. */
45792 #if defined __stub_$ac_func || defined __stub___$ac_func
45799 return $ac_func ();
45804 rm -f conftest.$ac_objext conftest$ac_exeext
45805 if { (ac_try="$ac_link"
45806 case "(($ac_try" in
45807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45808 *) ac_try_echo=$ac_try;;
45810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45811 (eval "$ac_link") 2>conftest.er1
45813 grep -v '^ *+' conftest.er1 >conftest.err
45815 cat conftest.err >&5
45816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45817 (exit $ac_status); } && {
45818 test -z "$ac_c_werror_flag" ||
45819 test ! -s conftest.err
45820 } && test -s conftest$ac_exeext &&
45821 $as_test_x conftest$ac_exeext; then
45822 eval "$as_ac_var=yes"
45824 echo "$as_me: failed program was:" >&5
45825 sed 's/^/| /' conftest.$ac_ext >&5
45827 eval "$as_ac_var=no"
45830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45831 conftest$ac_exeext conftest.$ac_ext
45833 ac_res=`eval echo '${'$as_ac_var'}'`
45834 { echo "$as_me:$LINENO: result: $ac_res" >&5
45835 echo "${ECHO_T}$ac_res" >&6; }
45836 if test `eval echo '${'$as_ac_var'}'` = yes; then
45837 cat >>confdefs.h <<_ACEOF
45838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45841 cat >>confdefs.h <<\_ACEOF
45842 #define HAVE_SHL_LOAD 1
45849 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45850 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45851 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45852 echo $ECHO_N "(cached) $ECHO_C" >&6
45854 ac_check_lib_save_LIBS=$LIBS
45855 LIBS="-lshl_load $LIBS"
45856 cat >conftest.$ac_ext <<_ACEOF
45859 cat confdefs.h >>conftest.$ac_ext
45860 cat >>conftest.$ac_ext <<_ACEOF
45861 /* end confdefs.h. */
45863 /* Override any GCC internal prototype to avoid an error.
45864 Use char because int might match the return type of a GCC
45865 builtin and then its argument prototype would still apply. */
45878 rm -f conftest.$ac_objext conftest$ac_exeext
45879 if { (ac_try="$ac_link"
45880 case "(($ac_try" in
45881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45882 *) ac_try_echo=$ac_try;;
45884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45885 (eval "$ac_link") 2>conftest.er1
45887 grep -v '^ *+' conftest.er1 >conftest.err
45889 cat conftest.err >&5
45890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45891 (exit $ac_status); } && {
45892 test -z "$ac_c_werror_flag" ||
45893 test ! -s conftest.err
45894 } && test -s conftest$ac_exeext &&
45895 $as_test_x conftest$ac_exeext; then
45896 ac_cv_lib_shl_load_dld=yes
45898 echo "$as_me: failed program was:" >&5
45899 sed 's/^/| /' conftest.$ac_ext >&5
45901 ac_cv_lib_shl_load_dld=no
45904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45905 conftest$ac_exeext conftest.$ac_ext
45906 LIBS=$ac_check_lib_save_LIBS
45908 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45909 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45910 if test $ac_cv_lib_shl_load_dld = yes; then
45913 DL_LINK=" -ldld$DL_LINK"
45929 if test "$HAVE_DL_FUNCS" = 1; then
45931 for ac_func in dlerror
45933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45934 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45936 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45937 echo $ECHO_N "(cached) $ECHO_C" >&6
45939 cat >conftest.$ac_ext <<_ACEOF
45942 cat confdefs.h >>conftest.$ac_ext
45943 cat >>conftest.$ac_ext <<_ACEOF
45944 /* end confdefs.h. */
45945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45947 #define $ac_func innocuous_$ac_func
45949 /* System header to define __stub macros and hopefully few prototypes,
45950 which can conflict with char $ac_func (); below.
45951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45952 <limits.h> exists even on freestanding compilers. */
45955 # include <limits.h>
45957 # include <assert.h>
45962 /* Override any GCC internal prototype to avoid an error.
45963 Use char because int might match the return type of a GCC
45964 builtin and then its argument prototype would still apply. */
45969 /* The GNU C library defines this for functions which it implements
45970 to always fail with ENOSYS. Some functions are actually named
45971 something starting with __ and the normal name is an alias. */
45972 #if defined __stub_$ac_func || defined __stub___$ac_func
45979 return $ac_func ();
45984 rm -f conftest.$ac_objext conftest$ac_exeext
45985 if { (ac_try="$ac_link"
45986 case "(($ac_try" in
45987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45988 *) ac_try_echo=$ac_try;;
45990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45991 (eval "$ac_link") 2>conftest.er1
45993 grep -v '^ *+' conftest.er1 >conftest.err
45995 cat conftest.err >&5
45996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997 (exit $ac_status); } && {
45998 test -z "$ac_c_werror_flag" ||
45999 test ! -s conftest.err
46000 } && test -s conftest$ac_exeext &&
46001 $as_test_x conftest$ac_exeext; then
46002 eval "$as_ac_var=yes"
46004 echo "$as_me: failed program was:" >&5
46005 sed 's/^/| /' conftest.$ac_ext >&5
46007 eval "$as_ac_var=no"
46010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46011 conftest$ac_exeext conftest.$ac_ext
46013 ac_res=`eval echo '${'$as_ac_var'}'`
46014 { echo "$as_me:$LINENO: result: $ac_res" >&5
46015 echo "${ECHO_T}$ac_res" >&6; }
46016 if test `eval echo '${'$as_ac_var'}'` = yes; then
46017 cat >>confdefs.h <<_ACEOF
46018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46020 cat >>confdefs.h <<\_ACEOF
46021 #define HAVE_DLERROR 1
46026 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
46027 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
46028 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
46029 echo $ECHO_N "(cached) $ECHO_C" >&6
46031 ac_check_lib_save_LIBS=$LIBS
46033 cat >conftest.$ac_ext <<_ACEOF
46036 cat confdefs.h >>conftest.$ac_ext
46037 cat >>conftest.$ac_ext <<_ACEOF
46038 /* end confdefs.h. */
46040 /* Override any GCC internal prototype to avoid an error.
46041 Use char because int might match the return type of a GCC
46042 builtin and then its argument prototype would still apply. */
46055 rm -f conftest.$ac_objext conftest$ac_exeext
46056 if { (ac_try="$ac_link"
46057 case "(($ac_try" in
46058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46059 *) ac_try_echo=$ac_try;;
46061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46062 (eval "$ac_link") 2>conftest.er1
46064 grep -v '^ *+' conftest.er1 >conftest.err
46066 cat conftest.err >&5
46067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46068 (exit $ac_status); } && {
46069 test -z "$ac_c_werror_flag" ||
46070 test ! -s conftest.err
46071 } && test -s conftest$ac_exeext &&
46072 $as_test_x conftest$ac_exeext; then
46073 ac_cv_lib_dl_dlerror=yes
46075 echo "$as_me: failed program was:" >&5
46076 sed 's/^/| /' conftest.$ac_ext >&5
46078 ac_cv_lib_dl_dlerror=no
46081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46082 conftest$ac_exeext conftest.$ac_ext
46083 LIBS=$ac_check_lib_save_LIBS
46085 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
46086 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
46087 if test $ac_cv_lib_dl_dlerror = yes; then
46088 cat >>confdefs.h <<\_ACEOF
46089 #define HAVE_DLERROR 1
46102 if test "$USE_DARWIN" = 1; then
46106 if test "$HAVE_DL_FUNCS" = 0; then
46107 if test "$HAVE_SHL_FUNCS" = 0; then
46108 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
46109 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
46110 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
46111 wxUSE_DYNAMIC_LOADER=no
46112 wxUSE_DYNLIB_CLASS=no
46114 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
46115 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
46122 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
46123 cat >>confdefs.h <<\_ACEOF
46124 #define wxUSE_DYNAMIC_LOADER 1
46128 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
46129 cat >>confdefs.h <<\_ACEOF
46130 #define wxUSE_DYNLIB_CLASS 1
46137 if test "$wxUSE_PLUGINS" = "yes" ; then
46138 if test "$wxUSE_SHARED" = "no" ; then
46139 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
46140 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
46143 if test "$wxUSE_MONOLITHIC" = "yes" ; then
46144 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
46145 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
46148 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
46149 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
46150 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46153 if test "$wxUSE_PLUGINS" = "yes" ; then
46154 cat >>confdefs.h <<\_ACEOF
46155 #define wxUSE_PLUGINS 1
46162 if test "$wxUSE_FSWATCHER" = "yes"; then
46163 if test "$wxUSE_MSW" != "1"; then
46164 if test "$wxUSE_UNIX" = "yes"; then
46166 for ac_header in sys/inotify.h
46168 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46169 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46172 echo $ECHO_N "(cached) $ECHO_C" >&6
46174 cat >conftest.$ac_ext <<_ACEOF
46177 cat confdefs.h >>conftest.$ac_ext
46178 cat >>conftest.$ac_ext <<_ACEOF
46179 /* end confdefs.h. */
46180 $ac_includes_default
46182 #include <$ac_header>
46184 rm -f conftest.$ac_objext
46185 if { (ac_try="$ac_compile"
46186 case "(($ac_try" in
46187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46188 *) ac_try_echo=$ac_try;;
46190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46191 (eval "$ac_compile") 2>conftest.er1
46193 grep -v '^ *+' conftest.er1 >conftest.err
46195 cat conftest.err >&5
46196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46197 (exit $ac_status); } && {
46198 test -z "$ac_c_werror_flag" ||
46199 test ! -s conftest.err
46200 } && test -s conftest.$ac_objext; then
46201 eval "$as_ac_Header=yes"
46203 echo "$as_me: failed program was:" >&5
46204 sed 's/^/| /' conftest.$ac_ext >&5
46206 eval "$as_ac_Header=no"
46209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46211 ac_res=`eval echo '${'$as_ac_Header'}'`
46212 { echo "$as_me:$LINENO: result: $ac_res" >&5
46213 echo "${ECHO_T}$ac_res" >&6; }
46214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46215 cat >>confdefs.h <<_ACEOF
46216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46223 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
46224 cat >>confdefs.h <<\_ACEOF
46225 #define wxHAS_INOTIFY 1
46230 for ac_header in sys/event.h
46232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46233 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46236 echo $ECHO_N "(cached) $ECHO_C" >&6
46238 cat >conftest.$ac_ext <<_ACEOF
46241 cat confdefs.h >>conftest.$ac_ext
46242 cat >>conftest.$ac_ext <<_ACEOF
46243 /* end confdefs.h. */
46244 $ac_includes_default
46246 #include <$ac_header>
46248 rm -f conftest.$ac_objext
46249 if { (ac_try="$ac_compile"
46250 case "(($ac_try" in
46251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46252 *) ac_try_echo=$ac_try;;
46254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46255 (eval "$ac_compile") 2>conftest.er1
46257 grep -v '^ *+' conftest.er1 >conftest.err
46259 cat conftest.err >&5
46260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46261 (exit $ac_status); } && {
46262 test -z "$ac_c_werror_flag" ||
46263 test ! -s conftest.err
46264 } && test -s conftest.$ac_objext; then
46265 eval "$as_ac_Header=yes"
46267 echo "$as_me: failed program was:" >&5
46268 sed 's/^/| /' conftest.$ac_ext >&5
46270 eval "$as_ac_Header=no"
46273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46275 ac_res=`eval echo '${'$as_ac_Header'}'`
46276 { echo "$as_me:$LINENO: result: $ac_res" >&5
46277 echo "${ECHO_T}$ac_res" >&6; }
46278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46279 cat >>confdefs.h <<_ACEOF
46280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46287 if test "$ac_cv_header_sys_event_h" = "yes"; then
46288 cat >>confdefs.h <<\_ACEOF
46289 #define wxHAS_KQUEUE 1
46300 if test "$wxUSE_THREADS" != "yes"; then
46301 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
46302 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
46307 if test "$wxUSE_FSWATCHER" = "yes"; then
46308 cat >>confdefs.h <<\_ACEOF
46309 #define wxUSE_FSWATCHER 1
46312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
46314 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
46315 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
46320 if test "$wxUSE_STL" = "yes"; then
46321 cat >>confdefs.h <<\_ACEOF
46322 #define wxUSE_STL 1
46327 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
46328 cat >>confdefs.h <<\_ACEOF
46329 #define wxUSE_EXTENDED_RTTI 1
46334 if test "$wxUSE_ANY" = "yes"; then
46335 cat >>confdefs.h <<\_ACEOF
46336 #define wxUSE_ANY 1
46341 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46342 cat >>confdefs.h <<\_ACEOF
46343 #define wxUSE_APPLE_IEEE 1
46348 if test "$wxUSE_TIMER" = "yes"; then
46349 cat >>confdefs.h <<\_ACEOF
46350 #define wxUSE_TIMER 1
46355 if test "$USE_UNIX" = 1 ; then
46356 if test "$wxUSE_MGL" != 1; then
46357 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46358 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46359 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46360 echo $ECHO_N "(cached) $ECHO_C" >&6
46363 cat >conftest.$ac_ext <<_ACEOF
46366 cat confdefs.h >>conftest.$ac_ext
46367 cat >>conftest.$ac_ext <<_ACEOF
46368 /* end confdefs.h. */
46370 #include <sys/ioctl.h>
46371 #include <sys/soundcard.h>
46377 ioctl(0, SNDCTL_DSP_SPEED, 0);
46383 rm -f conftest.$ac_objext conftest$ac_exeext
46384 if { (ac_try="$ac_link"
46385 case "(($ac_try" in
46386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46387 *) ac_try_echo=$ac_try;;
46389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46390 (eval "$ac_link") 2>conftest.er1
46392 grep -v '^ *+' conftest.er1 >conftest.err
46394 cat conftest.err >&5
46395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46396 (exit $ac_status); } && {
46397 test -z "$ac_c_werror_flag" ||
46398 test ! -s conftest.err
46399 } && test -s conftest$ac_exeext &&
46400 $as_test_x conftest$ac_exeext; then
46401 ac_cv_header_sys_soundcard=yes
46403 echo "$as_me: failed program was:" >&5
46404 sed 's/^/| /' conftest.$ac_ext >&5
46408 LIBS="$saveLibs -lossaudio"
46409 cat >conftest.$ac_ext <<_ACEOF
46412 cat confdefs.h >>conftest.$ac_ext
46413 cat >>conftest.$ac_ext <<_ACEOF
46414 /* end confdefs.h. */
46416 #include <sys/ioctl.h>
46417 #include <sys/soundcard.h>
46423 ioctl(0, SNDCTL_DSP_SPEED, 0);
46429 rm -f conftest.$ac_objext conftest$ac_exeext
46430 if { (ac_try="$ac_link"
46431 case "(($ac_try" in
46432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46433 *) ac_try_echo=$ac_try;;
46435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46436 (eval "$ac_link") 2>conftest.er1
46438 grep -v '^ *+' conftest.er1 >conftest.err
46440 cat conftest.err >&5
46441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46442 (exit $ac_status); } && {
46443 test -z "$ac_c_werror_flag" ||
46444 test ! -s conftest.err
46445 } && test -s conftest$ac_exeext &&
46446 $as_test_x conftest$ac_exeext; then
46447 ac_cv_header_sys_soundcard=yes
46449 echo "$as_me: failed program was:" >&5
46450 sed 's/^/| /' conftest.$ac_ext >&5
46454 ac_cv_header_sys_soundcard=no
46459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46460 conftest$ac_exeext conftest.$ac_ext
46465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46466 conftest$ac_exeext conftest.$ac_ext
46469 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46470 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46473 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46474 cat >>confdefs.h <<\_ACEOF
46475 #define HAVE_SYS_SOUNDCARD_H 1
46482 if test "$wxUSE_SOUND" = "yes"; then
46483 if test "$USE_UNIX" = 1 ; then
46484 if test "$wxUSE_LIBSDL" != "no"; then
46486 # Check whether --with-sdl-prefix was given.
46487 if test "${with_sdl_prefix+set}" = set; then
46488 withval=$with_sdl_prefix; sdl_prefix="$withval"
46494 # Check whether --with-sdl-exec-prefix was given.
46495 if test "${with_sdl_exec_prefix+set}" = set; then
46496 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46501 # Check whether --enable-sdltest was given.
46502 if test "${enable_sdltest+set}" = set; then
46503 enableval=$enable_sdltest;
46509 if test x$sdl_exec_prefix != x ; then
46510 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46511 if test x${SDL_CONFIG+set} != xset ; then
46512 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46515 if test x$sdl_prefix != x ; then
46516 sdl_args="$sdl_args --prefix=$sdl_prefix"
46517 if test x${SDL_CONFIG+set} != xset ; then
46518 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46522 if test "x$prefix" != xNONE; then
46523 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46525 # Extract the first word of "sdl-config", so it can be a program name with args.
46526 set dummy sdl-config; ac_word=$2
46527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46529 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46530 echo $ECHO_N "(cached) $ECHO_C" >&6
46532 case $SDL_CONFIG in
46534 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46538 for as_dir in $PATH
46541 test -z "$as_dir" && as_dir=.
46542 for ac_exec_ext in '' $ac_executable_extensions; do
46543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46544 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46552 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46556 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46557 if test -n "$SDL_CONFIG"; then
46558 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46559 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46561 { echo "$as_me:$LINENO: result: no" >&5
46562 echo "${ECHO_T}no" >&6; }
46566 min_sdl_version=1.2.0
46567 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46568 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46570 if test "$SDL_CONFIG" = "no" ; then
46573 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46574 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46576 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46578 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46580 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46582 if test "x$enable_sdltest" = "xyes" ; then
46583 ac_save_CFLAGS="$CFLAGS"
46584 ac_save_CXXFLAGS="$CXXFLAGS"
46585 ac_save_LIBS="$LIBS"
46586 CFLAGS="$CFLAGS $SDL_CFLAGS"
46587 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46588 LIBS="$LIBS $SDL_LIBS"
46590 if test "$cross_compiling" = yes; then
46591 echo $ac_n "cross compiling; assumed OK... $ac_c"
46593 cat >conftest.$ac_ext <<_ACEOF
46596 cat confdefs.h >>conftest.$ac_ext
46597 cat >>conftest.$ac_ext <<_ACEOF
46598 /* end confdefs.h. */
46601 #include <stdlib.h>
46602 #include <string.h>
46606 my_strdup (char *str)
46612 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46613 strcpy (new_str, str);
46621 int main (int argc, char *argv[])
46623 int major, minor, micro;
46626 /* This hangs on some systems (?)
46627 system ("touch conf.sdltest");
46629 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46631 /* HP/UX 9 (%@#!) writes to sscanf strings */
46632 tmp_version = my_strdup("$min_sdl_version");
46633 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
46634 printf("%s, bad version string\n", "$min_sdl_version");
46638 if (($sdl_major_version > major) ||
46639 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46640 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46646 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46647 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46648 printf("*** best to upgrade to the required version.\n");
46649 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46650 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46651 printf("*** config.cache before re-running configure\n");
46658 rm -f conftest$ac_exeext
46659 if { (ac_try="$ac_link"
46660 case "(($ac_try" in
46661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46662 *) ac_try_echo=$ac_try;;
46664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46665 (eval "$ac_link") 2>&5
46667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46668 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46669 { (case "(($ac_try" in
46670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46671 *) ac_try_echo=$ac_try;;
46673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46674 (eval "$ac_try") 2>&5
46676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46677 (exit $ac_status); }; }; then
46680 echo "$as_me: program exited with status $ac_status" >&5
46681 echo "$as_me: failed program was:" >&5
46682 sed 's/^/| /' conftest.$ac_ext >&5
46684 ( exit $ac_status )
46687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46691 CFLAGS="$ac_save_CFLAGS"
46692 CXXFLAGS="$ac_save_CXXFLAGS"
46693 LIBS="$ac_save_LIBS"
46696 if test "x$no_sdl" = x ; then
46697 { echo "$as_me:$LINENO: result: yes" >&5
46698 echo "${ECHO_T}yes" >&6; }
46700 EXTRALIBS_SDL="$SDL_LIBS"
46701 CFLAGS="$SDL_CFLAGS $CFLAGS"
46702 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46703 cat >>confdefs.h <<\_ACEOF
46704 #define wxUSE_LIBSDL 1
46709 { echo "$as_me:$LINENO: result: no" >&5
46710 echo "${ECHO_T}no" >&6; }
46711 if test "$SDL_CONFIG" = "no" ; then
46712 echo "*** The sdl-config script installed by SDL could not be found"
46713 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46714 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46715 echo "*** full path to sdl-config."
46717 if test -f conf.sdltest ; then
46720 echo "*** Could not run SDL test program, checking why..."
46721 CFLAGS="$CFLAGS $SDL_CFLAGS"
46722 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46723 LIBS="$LIBS $SDL_LIBS"
46724 cat >conftest.$ac_ext <<_ACEOF
46727 cat confdefs.h >>conftest.$ac_ext
46728 cat >>conftest.$ac_ext <<_ACEOF
46729 /* end confdefs.h. */
46734 int main(int argc, char *argv[])
46737 #define main K_and_R_C_main
46747 rm -f conftest.$ac_objext conftest$ac_exeext
46748 if { (ac_try="$ac_link"
46749 case "(($ac_try" in
46750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46751 *) ac_try_echo=$ac_try;;
46753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46754 (eval "$ac_link") 2>conftest.er1
46756 grep -v '^ *+' conftest.er1 >conftest.err
46758 cat conftest.err >&5
46759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46760 (exit $ac_status); } && {
46761 test -z "$ac_c_werror_flag" ||
46762 test ! -s conftest.err
46763 } && test -s conftest$ac_exeext &&
46764 $as_test_x conftest$ac_exeext; then
46765 echo "*** The test program compiled, but did not run. This usually means"
46766 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46767 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46768 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46769 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46770 echo "*** is required on your system"
46772 echo "*** If you have an old version installed, it is best to remove it, although"
46773 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46775 echo "$as_me: failed program was:" >&5
46776 sed 's/^/| /' conftest.$ac_ext >&5
46778 echo "*** The test program failed to compile or link. See the file config.log for the"
46779 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
46780 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46781 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46785 conftest$ac_exeext conftest.$ac_ext
46786 CFLAGS="$ac_save_CFLAGS"
46787 CXXFLAGS="$ac_save_CXXFLAGS"
46788 LIBS="$ac_save_LIBS"
46799 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46804 if test "$wxUSE_MGL" = 1; then
46805 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
46806 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
46812 if test "$wxUSE_SOUND" = "yes"; then
46813 cat >>confdefs.h <<\_ACEOF
46814 #define wxUSE_SOUND 1
46817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
46820 if test "$WXGTK2" = 1; then
46823 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46824 if test -n "$ac_tool_prefix"; then
46825 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46826 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
46827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46829 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46830 echo $ECHO_N "(cached) $ECHO_C" >&6
46832 case $PKG_CONFIG in
46834 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
46837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46838 for as_dir in $PATH
46841 test -z "$as_dir" && as_dir=.
46842 for ac_exec_ext in '' $ac_executable_extensions; do
46843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46844 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46855 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
46856 if test -n "$PKG_CONFIG"; then
46857 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46858 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46860 { echo "$as_me:$LINENO: result: no" >&5
46861 echo "${ECHO_T}no" >&6; }
46866 if test -z "$ac_cv_path_PKG_CONFIG"; then
46867 ac_pt_PKG_CONFIG=$PKG_CONFIG
46868 # Extract the first word of "pkg-config", so it can be a program name with args.
46869 set dummy pkg-config; ac_word=$2
46870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46872 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46873 echo $ECHO_N "(cached) $ECHO_C" >&6
46875 case $ac_pt_PKG_CONFIG in
46877 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46881 for as_dir in $PATH
46884 test -z "$as_dir" && as_dir=.
46885 for ac_exec_ext in '' $ac_executable_extensions; do
46886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46887 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46898 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
46899 if test -n "$ac_pt_PKG_CONFIG"; then
46900 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46901 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46903 { echo "$as_me:$LINENO: result: no" >&5
46904 echo "${ECHO_T}no" >&6; }
46907 if test "x$ac_pt_PKG_CONFIG" = x; then
46910 case $cross_compiling:$ac_tool_warned in
46912 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46913 whose name does not start with the host triplet. If you think this
46914 configuration is useful to you, please write to autoconf@gnu.org." >&5
46915 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46916 whose name does not start with the host triplet. If you think this
46917 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46918 ac_tool_warned=yes ;;
46920 PKG_CONFIG=$ac_pt_PKG_CONFIG
46923 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
46927 if test -n "$PKG_CONFIG"; then
46928 _pkg_min_version=0.9.0
46929 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46930 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46931 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46932 { echo "$as_me:$LINENO: result: yes" >&5
46933 echo "${ECHO_T}yes" >&6; }
46935 { echo "$as_me:$LINENO: result: no" >&5
46936 echo "${ECHO_T}no" >&6; }
46942 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46944 if test "$wxUSE_GTKPRINT" = "yes" ; then
46948 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
46949 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
46951 if test -n "$PKG_CONFIG"; then
46952 if test -n "$GTKPRINT_CFLAGS"; then
46953 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
46955 if test -n "$PKG_CONFIG" && \
46956 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46957 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46960 (exit $ac_status); }; then
46961 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46969 if test -n "$PKG_CONFIG"; then
46970 if test -n "$GTKPRINT_LIBS"; then
46971 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
46973 if test -n "$PKG_CONFIG" && \
46974 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46975 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46978 (exit $ac_status); }; then
46979 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46990 if test $pkg_failed = yes; then
46992 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46993 _pkg_short_errors_supported=yes
46995 _pkg_short_errors_supported=no
46997 if test $_pkg_short_errors_supported = yes; then
46998 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
47000 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
47002 # Put the nasty error message in config.log where it belongs
47003 echo "$GTKPRINT_PKG_ERRORS" >&5
47006 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
47007 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
47008 wxUSE_GTKPRINT="no"
47011 elif test $pkg_failed = untried; then
47013 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
47014 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
47015 wxUSE_GTKPRINT="no"
47019 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
47020 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
47021 { echo "$as_me:$LINENO: result: yes" >&5
47022 echo "${ECHO_T}yes" >&6; }
47024 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
47025 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
47026 cat >>confdefs.h <<\_ACEOF
47027 #define wxUSE_GTKPRINT 1
47034 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47038 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
47039 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
47041 if test -n "$PKG_CONFIG"; then
47042 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
47043 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
47045 if test -n "$PKG_CONFIG" && \
47046 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47047 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47050 (exit $ac_status); }; then
47051 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47059 if test -n "$PKG_CONFIG"; then
47060 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
47061 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
47063 if test -n "$PKG_CONFIG" && \
47064 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47065 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47068 (exit $ac_status); }; then
47069 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47080 if test $pkg_failed = yes; then
47082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47083 _pkg_short_errors_supported=yes
47085 _pkg_short_errors_supported=no
47087 if test $_pkg_short_errors_supported = yes; then
47088 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47090 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47092 # Put the nasty error message in config.log where it belongs
47093 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
47096 if test "$wxUSE_GTKPRINT" = yes; then
47097 { echo "$as_me:$LINENO: result: no" >&5
47098 echo "${ECHO_T}no" >&6; }
47100 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47101 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47103 wxUSE_LIBGNOMEPRINT="no"
47106 elif test $pkg_failed = untried; then
47108 if test "$wxUSE_GTKPRINT" = yes; then
47109 { echo "$as_me:$LINENO: result: no" >&5
47110 echo "${ECHO_T}no" >&6; }
47112 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47113 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47115 wxUSE_LIBGNOMEPRINT="no"
47119 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
47120 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
47121 { echo "$as_me:$LINENO: result: yes" >&5
47122 echo "${ECHO_T}yes" >&6; }
47124 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
47125 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
47126 cat >>confdefs.h <<\_ACEOF
47127 #define wxUSE_LIBGNOMEPRINT 1
47135 if test "$wxUSE_MIMETYPE" = "yes" ; then
47136 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47140 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
47141 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
47143 if test -n "$PKG_CONFIG"; then
47144 if test -n "$GNOMEVFS_CFLAGS"; then
47145 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
47147 if test -n "$PKG_CONFIG" && \
47148 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47149 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47152 (exit $ac_status); }; then
47153 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47161 if test -n "$PKG_CONFIG"; then
47162 if test -n "$GNOMEVFS_LIBS"; then
47163 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
47165 if test -n "$PKG_CONFIG" && \
47166 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47167 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47170 (exit $ac_status); }; then
47171 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47182 if test $pkg_failed = yes; then
47184 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47185 _pkg_short_errors_supported=yes
47187 _pkg_short_errors_supported=no
47189 if test $_pkg_short_errors_supported = yes; then
47190 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47192 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47194 # Put the nasty error message in config.log where it belongs
47195 echo "$GNOMEVFS_PKG_ERRORS" >&5
47198 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47199 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47200 wxUSE_LIBGNOMEVFS="no"
47203 elif test $pkg_failed = untried; then
47205 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47206 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47207 wxUSE_LIBGNOMEVFS="no"
47211 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
47212 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
47213 { echo "$as_me:$LINENO: result: yes" >&5
47214 echo "${ECHO_T}yes" >&6; }
47216 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
47217 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
47218 cat >>confdefs.h <<\_ACEOF
47219 #define wxUSE_LIBGNOMEVFS 1
47227 if test "$wxUSE_LIBHILDON" = "yes" ; then
47230 { echo "$as_me:$LINENO: checking for HILDON" >&5
47231 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
47233 if test -n "$PKG_CONFIG"; then
47234 if test -n "$HILDON_CFLAGS"; then
47235 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
47237 if test -n "$PKG_CONFIG" && \
47238 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47239 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47242 (exit $ac_status); }; then
47243 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
47251 if test -n "$PKG_CONFIG"; then
47252 if test -n "$HILDON_LIBS"; then
47253 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
47255 if test -n "$PKG_CONFIG" && \
47256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47257 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47260 (exit $ac_status); }; then
47261 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
47272 if test $pkg_failed = yes; then
47274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47275 _pkg_short_errors_supported=yes
47277 _pkg_short_errors_supported=no
47279 if test $_pkg_short_errors_supported = yes; then
47280 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47282 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47284 # Put the nasty error message in config.log where it belongs
47285 echo "$HILDON_PKG_ERRORS" >&5
47288 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47289 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47290 wxUSE_LIBHILDON="no"
47294 elif test $pkg_failed = untried; then
47296 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47297 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47298 wxUSE_LIBHILDON="no"
47303 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
47304 HILDON_LIBS=$pkg_cv_HILDON_LIBS
47305 { echo "$as_me:$LINENO: result: yes" >&5
47306 echo "${ECHO_T}yes" >&6; }
47308 EXTRALIBS_HILDON="$HILDON_LIBS"
47309 CFLAGS="$CFLAGS $HILDON_CFLAGS"
47310 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
47311 cat >>confdefs.h <<\_ACEOF
47312 #define wxUSE_LIBHILDON 1
47319 if test "$ac_hildon_lgpl" = 0 ; then
47322 { echo "$as_me:$LINENO: checking for HILDON2" >&5
47323 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
47325 if test -n "$PKG_CONFIG"; then
47326 if test -n "$HILDON2_CFLAGS"; then
47327 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
47329 if test -n "$PKG_CONFIG" && \
47330 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47331 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47334 (exit $ac_status); }; then
47335 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
47343 if test -n "$PKG_CONFIG"; then
47344 if test -n "$HILDON2_LIBS"; then
47345 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
47347 if test -n "$PKG_CONFIG" && \
47348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47349 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47352 (exit $ac_status); }; then
47353 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
47364 if test $pkg_failed = yes; then
47366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47367 _pkg_short_errors_supported=yes
47369 _pkg_short_errors_supported=no
47371 if test $_pkg_short_errors_supported = yes; then
47372 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47374 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47376 # Put the nasty error message in config.log where it belongs
47377 echo "$HILDON2_PKG_ERRORS" >&5
47380 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47381 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47382 wxUSE_LIBHILDON2="no"
47385 elif test $pkg_failed = untried; then
47387 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47388 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47389 wxUSE_LIBHILDON2="no"
47393 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
47394 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
47395 { echo "$as_me:$LINENO: result: yes" >&5
47396 echo "${ECHO_T}yes" >&6; }
47398 EXTRALIBS_HILDON="$HILDON2_LIBS"
47399 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
47400 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
47401 cat >>confdefs.h <<\_ACEOF
47402 #define wxUSE_LIBHILDON2 1
47411 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
47412 cat >>confdefs.h <<\_ACEOF
47413 #define wxUSE_CMDLINE_PARSER 1
47418 if test "$wxUSE_STOPWATCH" = "yes"; then
47419 cat >>confdefs.h <<\_ACEOF
47420 #define wxUSE_STOPWATCH 1
47425 if test "$wxUSE_DATETIME" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_DATETIME 1
47432 if test "$wxUSE_FILE" = "yes"; then
47433 cat >>confdefs.h <<\_ACEOF
47434 #define wxUSE_FILE 1
47439 if test "$wxUSE_FFILE" = "yes"; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_FFILE 1
47446 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
47447 if test "$wxUSE_STREAMS" != yes; then
47448 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
47449 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
47450 wxUSE_ARCHIVE_STREAMS=no
47452 cat >>confdefs.h <<\_ACEOF
47453 #define wxUSE_ARCHIVE_STREAMS 1
47459 if test "$wxUSE_ZIPSTREAM" = "yes"; then
47460 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47461 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
47462 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
47463 elif test "$wxUSE_ZLIB" = "no"; then
47464 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
47465 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
47467 cat >>confdefs.h <<\_ACEOF
47468 #define wxUSE_ZIPSTREAM 1
47474 if test "$wxUSE_TARSTREAM" = "yes"; then
47475 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47476 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47477 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_TARSTREAM 1
47486 if test "$wxUSE_FILE_HISTORY" = "yes"; then
47487 cat >>confdefs.h <<\_ACEOF
47488 #define wxUSE_FILE_HISTORY 1
47493 if test "$wxUSE_FILESYSTEM" = "yes"; then
47494 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
47495 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47496 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47497 wxUSE_FILESYSTEM=no
47499 cat >>confdefs.h <<\_ACEOF
47500 #define wxUSE_FILESYSTEM 1
47506 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47507 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47508 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47509 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_FS_ARCHIVE 1
47518 if test "$wxUSE_FS_ZIP" = "yes"; then
47519 if test "$wxUSE_FS_ARCHIVE" != yes; then
47520 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47521 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47523 cat >>confdefs.h <<\_ACEOF
47524 #define wxUSE_FS_ZIP 1
47530 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47531 if test "$USE_UNIX" != 1; then
47532 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47533 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47534 wxUSE_ON_FATAL_EXCEPTION=no
47536 cat >>confdefs.h <<\_ACEOF
47537 #define wxUSE_ON_FATAL_EXCEPTION 1
47543 if test "$wxUSE_STACKWALKER" = "yes"; then
47544 cat >>confdefs.h <<\_ACEOF
47545 #define wxUSE_STACKWALKER 1
47550 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47551 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
47552 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47553 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47554 wxUSE_DEBUGREPORT=no
47556 cat >>confdefs.h <<\_ACEOF
47557 #define wxUSE_DEBUGREPORT 1
47560 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
47566 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47567 cat >>confdefs.h <<\_ACEOF
47568 #define wxUSE_SNGLINST_CHECKER 1
47573 if test "$wxUSE_BUSYINFO" = "yes"; then
47574 cat >>confdefs.h <<\_ACEOF
47575 #define wxUSE_BUSYINFO 1
47580 if test "$wxUSE_HOTKEY" = "yes"; then
47581 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
47582 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
47583 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
47586 elif test "$wxUSE_HOTKEY" = "auto"; then
47587 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
47591 if test "$wxUSE_HOTKEY" = "yes"; then
47592 cat >>confdefs.h <<\_ACEOF
47593 #define wxUSE_HOTKEY 1
47598 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
47599 cat >>confdefs.h <<\_ACEOF
47600 #define wxUSE_STD_CONTAINERS 1
47605 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47606 cat >>confdefs.h <<\_ACEOF
47607 #define wxUSE_STD_IOSTREAM 1
47612 if test "$wxUSE_STD_STRING" = "yes"; then
47613 cat >>confdefs.h <<\_ACEOF
47614 #define wxUSE_STD_STRING 1
47619 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
47620 cat >>confdefs.h <<\_ACEOF
47621 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
47626 if test "$wxUSE_STDPATHS" = "yes"; then
47627 cat >>confdefs.h <<\_ACEOF
47628 #define wxUSE_STDPATHS 1
47633 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47634 cat >>confdefs.h <<\_ACEOF
47635 #define wxUSE_TEXTBUFFER 1
47640 if test "$wxUSE_TEXTFILE" = "yes"; then
47641 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47642 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47643 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_TEXTFILE 1
47652 if test "$wxUSE_CONFIG" = "yes" ; then
47653 if test "$wxUSE_TEXTFILE" != "yes"; then
47654 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47655 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47657 cat >>confdefs.h <<\_ACEOF
47658 #define wxUSE_CONFIG 1
47661 cat >>confdefs.h <<\_ACEOF
47662 #define wxUSE_CONFIG_NATIVE 1
47665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
47669 if test "$wxUSE_INTL" = "yes" ; then
47670 if test "$wxUSE_FILE" != "yes"; then
47671 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47672 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47674 cat >>confdefs.h <<\_ACEOF
47675 #define wxUSE_INTL 1
47678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
47679 GUIDIST="$GUIDIST INTL_DIST"
47683 if test "$wxUSE_XLOCALE" = "yes" ; then
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_XLOCALE 1
47688 { echo "$as_me:$LINENO: checking for locale_t" >&5
47689 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
47690 if test "${ac_cv_type_locale_t+set}" = set; then
47691 echo $ECHO_N "(cached) $ECHO_C" >&6
47693 cat >conftest.$ac_ext <<_ACEOF
47696 cat confdefs.h >>conftest.$ac_ext
47697 cat >>conftest.$ac_ext <<_ACEOF
47698 /* end confdefs.h. */
47699 #include <xlocale.h>
47700 #include <locale.h>
47702 typedef locale_t ac__type_new_;
47706 if ((ac__type_new_ *) 0)
47708 if (sizeof (ac__type_new_))
47714 rm -f conftest.$ac_objext
47715 if { (ac_try="$ac_compile"
47716 case "(($ac_try" in
47717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47718 *) ac_try_echo=$ac_try;;
47720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47721 (eval "$ac_compile") 2>conftest.er1
47723 grep -v '^ *+' conftest.er1 >conftest.err
47725 cat conftest.err >&5
47726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47727 (exit $ac_status); } && {
47728 test -z "$ac_c_werror_flag" ||
47729 test ! -s conftest.err
47730 } && test -s conftest.$ac_objext; then
47731 ac_cv_type_locale_t=yes
47733 echo "$as_me: failed program was:" >&5
47734 sed 's/^/| /' conftest.$ac_ext >&5
47736 ac_cv_type_locale_t=no
47739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47741 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
47742 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
47743 if test $ac_cv_type_locale_t = yes; then
47745 cat >>confdefs.h <<_ACEOF
47746 #define HAVE_LOCALE_T 1
47754 if test "$wxUSE_LOG" = "yes"; then
47755 cat >>confdefs.h <<\_ACEOF
47756 #define wxUSE_LOG 1
47760 if test "$wxUSE_LOGGUI" = "yes"; then
47761 cat >>confdefs.h <<\_ACEOF
47762 #define wxUSE_LOGGUI 1
47767 if test "$wxUSE_LOGWINDOW" = "yes"; then
47768 cat >>confdefs.h <<\_ACEOF
47769 #define wxUSE_LOGWINDOW 1
47774 if test "$wxUSE_LOGDIALOG" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_LOG_DIALOG 1
47781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47784 if test "$wxUSE_LONGLONG" = "yes"; then
47785 cat >>confdefs.h <<\_ACEOF
47786 #define wxUSE_LONGLONG 1
47791 if test "$wxUSE_GEOMETRY" = "yes"; then
47792 cat >>confdefs.h <<\_ACEOF
47793 #define wxUSE_GEOMETRY 1
47798 if test "$wxUSE_BASE64" = "yes"; then
47799 cat >>confdefs.h <<\_ACEOF
47800 #define wxUSE_BASE64 1
47805 if test "$wxUSE_STREAMS" = "yes" ; then
47806 cat >>confdefs.h <<\_ACEOF
47807 #define wxUSE_STREAMS 1
47812 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47813 cat >>confdefs.h <<\_ACEOF
47814 #define wxUSE_PRINTF_POS_PARAMS 1
47819 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
47820 cat >>confdefs.h <<\_ACEOF
47821 #define wxUSE_OBJC_UNIQUIFYING 1
47827 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
47828 cat >>confdefs.h <<\_ACEOF
47829 #define wxUSE_CONSOLE_EVENTLOOP 1
47833 if test "$wxUSE_UNIX" = "yes"; then
47834 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
47835 cat >>confdefs.h <<\_ACEOF
47836 #define wxUSE_SELECT_DISPATCHER 1
47841 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
47843 for ac_header in sys/epoll.h
47845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47846 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47848 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47849 echo $ECHO_N "(cached) $ECHO_C" >&6
47851 cat >conftest.$ac_ext <<_ACEOF
47854 cat confdefs.h >>conftest.$ac_ext
47855 cat >>conftest.$ac_ext <<_ACEOF
47856 /* end confdefs.h. */
47857 $ac_includes_default
47859 #include <$ac_header>
47861 rm -f conftest.$ac_objext
47862 if { (ac_try="$ac_compile"
47863 case "(($ac_try" in
47864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47865 *) ac_try_echo=$ac_try;;
47867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47868 (eval "$ac_compile") 2>conftest.er1
47870 grep -v '^ *+' conftest.er1 >conftest.err
47872 cat conftest.err >&5
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); } && {
47875 test -z "$ac_c_werror_flag" ||
47876 test ! -s conftest.err
47877 } && test -s conftest.$ac_objext; then
47878 eval "$as_ac_Header=yes"
47880 echo "$as_me: failed program was:" >&5
47881 sed 's/^/| /' conftest.$ac_ext >&5
47883 eval "$as_ac_Header=no"
47886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47888 ac_res=`eval echo '${'$as_ac_Header'}'`
47889 { echo "$as_me:$LINENO: result: $ac_res" >&5
47890 echo "${ECHO_T}$ac_res" >&6; }
47891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47892 cat >>confdefs.h <<_ACEOF
47893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47900 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
47901 cat >>confdefs.h <<\_ACEOF
47902 #define wxUSE_EPOLL_DISPATCHER 1
47906 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
47907 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
47916 for ac_func in gettimeofday ftime
47918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47919 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47921 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47922 echo $ECHO_N "(cached) $ECHO_C" >&6
47924 cat >conftest.$ac_ext <<_ACEOF
47927 cat confdefs.h >>conftest.$ac_ext
47928 cat >>conftest.$ac_ext <<_ACEOF
47929 /* end confdefs.h. */
47930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47932 #define $ac_func innocuous_$ac_func
47934 /* System header to define __stub macros and hopefully few prototypes,
47935 which can conflict with char $ac_func (); below.
47936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47937 <limits.h> exists even on freestanding compilers. */
47940 # include <limits.h>
47942 # include <assert.h>
47947 /* Override any GCC internal prototype to avoid an error.
47948 Use char because int might match the return type of a GCC
47949 builtin and then its argument prototype would still apply. */
47954 /* The GNU C library defines this for functions which it implements
47955 to always fail with ENOSYS. Some functions are actually named
47956 something starting with __ and the normal name is an alias. */
47957 #if defined __stub_$ac_func || defined __stub___$ac_func
47964 return $ac_func ();
47969 rm -f conftest.$ac_objext conftest$ac_exeext
47970 if { (ac_try="$ac_link"
47971 case "(($ac_try" in
47972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47973 *) ac_try_echo=$ac_try;;
47975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47976 (eval "$ac_link") 2>conftest.er1
47978 grep -v '^ *+' conftest.er1 >conftest.err
47980 cat conftest.err >&5
47981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47982 (exit $ac_status); } && {
47983 test -z "$ac_c_werror_flag" ||
47984 test ! -s conftest.err
47985 } && test -s conftest$ac_exeext &&
47986 $as_test_x conftest$ac_exeext; then
47987 eval "$as_ac_var=yes"
47989 echo "$as_me: failed program was:" >&5
47990 sed 's/^/| /' conftest.$ac_ext >&5
47992 eval "$as_ac_var=no"
47995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47996 conftest$ac_exeext conftest.$ac_ext
47998 ac_res=`eval echo '${'$as_ac_var'}'`
47999 { echo "$as_me:$LINENO: result: $ac_res" >&5
48000 echo "${ECHO_T}$ac_res" >&6; }
48001 if test `eval echo '${'$as_ac_var'}'` = yes; then
48002 cat >>confdefs.h <<_ACEOF
48003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48010 if test "$ac_cv_func_gettimeofday" = "yes"; then
48011 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
48012 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
48013 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
48014 echo $ECHO_N "(cached) $ECHO_C" >&6
48017 cat >conftest.$ac_ext <<_ACEOF
48020 cat confdefs.h >>conftest.$ac_ext
48021 cat >>conftest.$ac_ext <<_ACEOF
48022 /* end confdefs.h. */
48024 #include <sys/time.h>
48025 #include <unistd.h>
48032 gettimeofday(&tv, NULL);
48038 rm -f conftest.$ac_objext
48039 if { (ac_try="$ac_compile"
48040 case "(($ac_try" in
48041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48042 *) ac_try_echo=$ac_try;;
48044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48045 (eval "$ac_compile") 2>conftest.er1
48047 grep -v '^ *+' conftest.er1 >conftest.err
48049 cat conftest.err >&5
48050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48051 (exit $ac_status); } && {
48052 test -z "$ac_c_werror_flag" ||
48053 test ! -s conftest.err
48054 } && test -s conftest.$ac_objext; then
48055 wx_cv_func_gettimeofday_has_2_args=yes
48057 echo "$as_me: failed program was:" >&5
48058 sed 's/^/| /' conftest.$ac_ext >&5
48060 cat >conftest.$ac_ext <<_ACEOF
48063 cat confdefs.h >>conftest.$ac_ext
48064 cat >>conftest.$ac_ext <<_ACEOF
48065 /* end confdefs.h. */
48067 #include <sys/time.h>
48068 #include <unistd.h>
48081 rm -f conftest.$ac_objext
48082 if { (ac_try="$ac_compile"
48083 case "(($ac_try" in
48084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48085 *) ac_try_echo=$ac_try;;
48087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48088 (eval "$ac_compile") 2>conftest.er1
48090 grep -v '^ *+' conftest.er1 >conftest.err
48092 cat conftest.err >&5
48093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48094 (exit $ac_status); } && {
48095 test -z "$ac_c_werror_flag" ||
48096 test ! -s conftest.err
48097 } && test -s conftest.$ac_objext; then
48098 wx_cv_func_gettimeofday_has_2_args=no
48100 echo "$as_me: failed program was:" >&5
48101 sed 's/^/| /' conftest.$ac_ext >&5
48104 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
48105 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
48106 wx_cv_func_gettimeofday_has_2_args=unknown
48111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48118 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48119 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48121 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48122 cat >>confdefs.h <<\_ACEOF
48123 #define WX_GETTIMEOFDAY_NO_TZ 1
48129 if test "$wxUSE_DATETIME" = "yes"; then
48130 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
48131 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
48132 if test "${wx_cv_var_timezone+set}" = set; then
48133 echo $ECHO_N "(cached) $ECHO_C" >&6
48137 ac_cpp='$CXXCPP $CPPFLAGS'
48138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48142 cat >conftest.$ac_ext <<_ACEOF
48145 cat confdefs.h >>conftest.$ac_ext
48146 cat >>conftest.$ac_ext <<_ACEOF
48147 /* end confdefs.h. */
48162 rm -f conftest.$ac_objext
48163 if { (ac_try="$ac_compile"
48164 case "(($ac_try" in
48165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48166 *) ac_try_echo=$ac_try;;
48168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48169 (eval "$ac_compile") 2>conftest.er1
48171 grep -v '^ *+' conftest.er1 >conftest.err
48173 cat conftest.err >&5
48174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48175 (exit $ac_status); } && {
48176 test -z "$ac_cxx_werror_flag" ||
48177 test ! -s conftest.err
48178 } && test -s conftest.$ac_objext; then
48180 wx_cv_var_timezone=timezone
48183 echo "$as_me: failed program was:" >&5
48184 sed 's/^/| /' conftest.$ac_ext >&5
48187 cat >conftest.$ac_ext <<_ACEOF
48190 cat confdefs.h >>conftest.$ac_ext
48191 cat >>conftest.$ac_ext <<_ACEOF
48192 /* end confdefs.h. */
48207 rm -f conftest.$ac_objext
48208 if { (ac_try="$ac_compile"
48209 case "(($ac_try" in
48210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48211 *) ac_try_echo=$ac_try;;
48213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48214 (eval "$ac_compile") 2>conftest.er1
48216 grep -v '^ *+' conftest.er1 >conftest.err
48218 cat conftest.err >&5
48219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48220 (exit $ac_status); } && {
48221 test -z "$ac_cxx_werror_flag" ||
48222 test ! -s conftest.err
48223 } && test -s conftest.$ac_objext; then
48225 wx_cv_var_timezone=_timezone
48228 echo "$as_me: failed program was:" >&5
48229 sed 's/^/| /' conftest.$ac_ext >&5
48232 cat >conftest.$ac_ext <<_ACEOF
48235 cat confdefs.h >>conftest.$ac_ext
48236 cat >>conftest.$ac_ext <<_ACEOF
48237 /* end confdefs.h. */
48252 rm -f conftest.$ac_objext
48253 if { (ac_try="$ac_compile"
48254 case "(($ac_try" in
48255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48256 *) ac_try_echo=$ac_try;;
48258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48259 (eval "$ac_compile") 2>conftest.er1
48261 grep -v '^ *+' conftest.er1 >conftest.err
48263 cat conftest.err >&5
48264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48265 (exit $ac_status); } && {
48266 test -z "$ac_cxx_werror_flag" ||
48267 test ! -s conftest.err
48268 } && test -s conftest.$ac_objext; then
48270 wx_cv_var_timezone=__timezone
48273 echo "$as_me: failed program was:" >&5
48274 sed 's/^/| /' conftest.$ac_ext >&5
48277 if test "$USE_DOS" = 0 ; then
48278 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
48279 echo "$as_me: WARNING: no timezone variable" >&2;}
48285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48297 ac_cpp='$CPP $CPPFLAGS'
48298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48305 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
48306 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
48308 if test "x$wx_cv_var_timezone" != x ; then
48309 cat >>confdefs.h <<_ACEOF
48310 #define WX_TIMEZONE $wx_cv_var_timezone
48316 for ac_func in localtime
48318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48319 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48321 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48322 echo $ECHO_N "(cached) $ECHO_C" >&6
48324 cat >conftest.$ac_ext <<_ACEOF
48327 cat confdefs.h >>conftest.$ac_ext
48328 cat >>conftest.$ac_ext <<_ACEOF
48329 /* end confdefs.h. */
48330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48332 #define $ac_func innocuous_$ac_func
48334 /* System header to define __stub macros and hopefully few prototypes,
48335 which can conflict with char $ac_func (); below.
48336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48337 <limits.h> exists even on freestanding compilers. */
48340 # include <limits.h>
48342 # include <assert.h>
48347 /* Override any GCC internal prototype to avoid an error.
48348 Use char because int might match the return type of a GCC
48349 builtin and then its argument prototype would still apply. */
48354 /* The GNU C library defines this for functions which it implements
48355 to always fail with ENOSYS. Some functions are actually named
48356 something starting with __ and the normal name is an alias. */
48357 #if defined __stub_$ac_func || defined __stub___$ac_func
48364 return $ac_func ();
48369 rm -f conftest.$ac_objext conftest$ac_exeext
48370 if { (ac_try="$ac_link"
48371 case "(($ac_try" in
48372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48373 *) ac_try_echo=$ac_try;;
48375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48376 (eval "$ac_link") 2>conftest.er1
48378 grep -v '^ *+' conftest.er1 >conftest.err
48380 cat conftest.err >&5
48381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48382 (exit $ac_status); } && {
48383 test -z "$ac_c_werror_flag" ||
48384 test ! -s conftest.err
48385 } && test -s conftest$ac_exeext &&
48386 $as_test_x conftest$ac_exeext; then
48387 eval "$as_ac_var=yes"
48389 echo "$as_me: failed program was:" >&5
48390 sed 's/^/| /' conftest.$ac_ext >&5
48392 eval "$as_ac_var=no"
48395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48396 conftest$ac_exeext conftest.$ac_ext
48398 ac_res=`eval echo '${'$as_ac_var'}'`
48399 { echo "$as_me:$LINENO: result: $ac_res" >&5
48400 echo "${ECHO_T}$ac_res" >&6; }
48401 if test `eval echo '${'$as_ac_var'}'` = yes; then
48402 cat >>confdefs.h <<_ACEOF
48403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48410 if test "$ac_cv_func_localtime" = "yes"; then
48411 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
48412 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
48413 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
48414 echo $ECHO_N "(cached) $ECHO_C" >&6
48417 cat >conftest.$ac_ext <<_ACEOF
48420 cat confdefs.h >>conftest.$ac_ext
48421 cat >>conftest.$ac_ext <<_ACEOF
48422 /* end confdefs.h. */
48437 rm -f conftest.$ac_objext
48438 if { (ac_try="$ac_compile"
48439 case "(($ac_try" in
48440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48441 *) ac_try_echo=$ac_try;;
48443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48444 (eval "$ac_compile") 2>conftest.er1
48446 grep -v '^ *+' conftest.er1 >conftest.err
48448 cat conftest.err >&5
48449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48450 (exit $ac_status); } && {
48451 test -z "$ac_c_werror_flag" ||
48452 test ! -s conftest.err
48453 } && test -s conftest.$ac_objext; then
48455 wx_cv_struct_tm_has_gmtoff=yes
48458 echo "$as_me: failed program was:" >&5
48459 sed 's/^/| /' conftest.$ac_ext >&5
48461 wx_cv_struct_tm_has_gmtoff=no
48465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48468 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
48469 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
48472 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
48473 cat >>confdefs.h <<\_ACEOF
48474 #define WX_GMTOFF_IN_TM 1
48479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
48483 if test "$wxUSE_SOCKETS" = "yes"; then
48484 if test "$wxUSE_MGL" = 1; then
48485 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
48486 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
48491 if test "$wxUSE_SOCKETS" = "yes"; then
48492 if test "$TOOLKIT" != "MSW"; then
48493 { echo "$as_me:$LINENO: checking for socket" >&5
48494 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48495 if test "${ac_cv_func_socket+set}" = set; then
48496 echo $ECHO_N "(cached) $ECHO_C" >&6
48498 cat >conftest.$ac_ext <<_ACEOF
48501 cat confdefs.h >>conftest.$ac_ext
48502 cat >>conftest.$ac_ext <<_ACEOF
48503 /* end confdefs.h. */
48504 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48506 #define socket innocuous_socket
48508 /* System header to define __stub macros and hopefully few prototypes,
48509 which can conflict with char socket (); below.
48510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48511 <limits.h> exists even on freestanding compilers. */
48514 # include <limits.h>
48516 # include <assert.h>
48521 /* Override any GCC internal prototype to avoid an error.
48522 Use char because int might match the return type of a GCC
48523 builtin and then its argument prototype would still apply. */
48528 /* The GNU C library defines this for functions which it implements
48529 to always fail with ENOSYS. Some functions are actually named
48530 something starting with __ and the normal name is an alias. */
48531 #if defined __stub_socket || defined __stub___socket
48543 rm -f conftest.$ac_objext conftest$ac_exeext
48544 if { (ac_try="$ac_link"
48545 case "(($ac_try" in
48546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48547 *) ac_try_echo=$ac_try;;
48549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48550 (eval "$ac_link") 2>conftest.er1
48552 grep -v '^ *+' conftest.er1 >conftest.err
48554 cat conftest.err >&5
48555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48556 (exit $ac_status); } && {
48557 test -z "$ac_c_werror_flag" ||
48558 test ! -s conftest.err
48559 } && test -s conftest$ac_exeext &&
48560 $as_test_x conftest$ac_exeext; then
48561 ac_cv_func_socket=yes
48563 echo "$as_me: failed program was:" >&5
48564 sed 's/^/| /' conftest.$ac_ext >&5
48566 ac_cv_func_socket=no
48569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48570 conftest$ac_exeext conftest.$ac_ext
48572 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48573 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48574 if test $ac_cv_func_socket = yes; then
48578 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48579 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48580 if test "${ac_cv_lib_socket_socket+set}" = set; then
48581 echo $ECHO_N "(cached) $ECHO_C" >&6
48583 ac_check_lib_save_LIBS=$LIBS
48584 LIBS="-lsocket $LIBS"
48585 cat >conftest.$ac_ext <<_ACEOF
48588 cat confdefs.h >>conftest.$ac_ext
48589 cat >>conftest.$ac_ext <<_ACEOF
48590 /* end confdefs.h. */
48592 /* Override any GCC internal prototype to avoid an error.
48593 Use char because int might match the return type of a GCC
48594 builtin and then its argument prototype would still apply. */
48607 rm -f conftest.$ac_objext conftest$ac_exeext
48608 if { (ac_try="$ac_link"
48609 case "(($ac_try" in
48610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48611 *) ac_try_echo=$ac_try;;
48613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48614 (eval "$ac_link") 2>conftest.er1
48616 grep -v '^ *+' conftest.er1 >conftest.err
48618 cat conftest.err >&5
48619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48620 (exit $ac_status); } && {
48621 test -z "$ac_c_werror_flag" ||
48622 test ! -s conftest.err
48623 } && test -s conftest$ac_exeext &&
48624 $as_test_x conftest$ac_exeext; then
48625 ac_cv_lib_socket_socket=yes
48627 echo "$as_me: failed program was:" >&5
48628 sed 's/^/| /' conftest.$ac_ext >&5
48630 ac_cv_lib_socket_socket=no
48633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48634 conftest$ac_exeext conftest.$ac_ext
48635 LIBS=$ac_check_lib_save_LIBS
48637 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48638 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48639 if test $ac_cv_lib_socket_socket = yes; then
48640 if test "$INET_LINK" != " -lsocket"; then
48641 INET_LINK="$INET_LINK -lsocket"
48645 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48646 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48659 if test "$wxUSE_SOCKETS" = "yes" ; then
48660 if test "$TOOLKIT" != "MSW"; then
48661 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48662 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48663 if test "${wx_cv_type_getsockname3+set}" = set; then
48664 echo $ECHO_N "(cached) $ECHO_C" >&6
48668 ac_cpp='$CXXCPP $CPPFLAGS'
48669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48673 cat >conftest.$ac_ext <<_ACEOF
48676 cat confdefs.h >>conftest.$ac_ext
48677 cat >>conftest.$ac_ext <<_ACEOF
48678 /* end confdefs.h. */
48680 #include <sys/types.h>
48681 #include <sys/socket.h>
48688 getsockname(0, 0, &len);
48694 rm -f conftest.$ac_objext
48695 if { (ac_try="$ac_compile"
48696 case "(($ac_try" in
48697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48698 *) ac_try_echo=$ac_try;;
48700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48701 (eval "$ac_compile") 2>conftest.er1
48703 grep -v '^ *+' conftest.er1 >conftest.err
48705 cat conftest.err >&5
48706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48707 (exit $ac_status); } && {
48708 test -z "$ac_cxx_werror_flag" ||
48709 test ! -s conftest.err
48710 } && test -s conftest.$ac_objext; then
48711 wx_cv_type_getsockname3=socklen_t
48713 echo "$as_me: failed program was:" >&5
48714 sed 's/^/| /' conftest.$ac_ext >&5
48717 CFLAGS_OLD="$CFLAGS"
48718 if test "$GCC" = yes ; then
48719 CFLAGS="-Werror $CFLAGS"
48722 cat >conftest.$ac_ext <<_ACEOF
48725 cat confdefs.h >>conftest.$ac_ext
48726 cat >>conftest.$ac_ext <<_ACEOF
48727 /* end confdefs.h. */
48729 #include <sys/types.h>
48730 #include <sys/socket.h>
48737 getsockname(0, 0, &len);
48743 rm -f conftest.$ac_objext
48744 if { (ac_try="$ac_compile"
48745 case "(($ac_try" in
48746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48747 *) ac_try_echo=$ac_try;;
48749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48750 (eval "$ac_compile") 2>conftest.er1
48752 grep -v '^ *+' conftest.er1 >conftest.err
48754 cat conftest.err >&5
48755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48756 (exit $ac_status); } && {
48757 test -z "$ac_cxx_werror_flag" ||
48758 test ! -s conftest.err
48759 } && test -s conftest.$ac_objext; then
48760 wx_cv_type_getsockname3=size_t
48762 echo "$as_me: failed program was:" >&5
48763 sed 's/^/| /' conftest.$ac_ext >&5
48765 cat >conftest.$ac_ext <<_ACEOF
48768 cat confdefs.h >>conftest.$ac_ext
48769 cat >>conftest.$ac_ext <<_ACEOF
48770 /* end confdefs.h. */
48772 #include <sys/types.h>
48773 #include <sys/socket.h>
48780 getsockname(0, 0, &len);
48786 rm -f conftest.$ac_objext
48787 if { (ac_try="$ac_compile"
48788 case "(($ac_try" in
48789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48790 *) ac_try_echo=$ac_try;;
48792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48793 (eval "$ac_compile") 2>conftest.er1
48795 grep -v '^ *+' conftest.er1 >conftest.err
48797 cat conftest.err >&5
48798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48799 (exit $ac_status); } && {
48800 test -z "$ac_cxx_werror_flag" ||
48801 test ! -s conftest.err
48802 } && test -s conftest.$ac_objext; then
48803 wx_cv_type_getsockname3=int
48805 echo "$as_me: failed program was:" >&5
48806 sed 's/^/| /' conftest.$ac_ext >&5
48808 wx_cv_type_getsockname3=unknown
48812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48818 CFLAGS="$CFLAGS_OLD"
48823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48825 ac_cpp='$CPP $CPPFLAGS'
48826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48832 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48833 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48835 if test "$wx_cv_type_getsockname3" = "unknown"; then
48837 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48838 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48840 cat >>confdefs.h <<_ACEOF
48841 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48845 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48846 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48847 if test "${wx_cv_type_getsockopt5+set}" = set; then
48848 echo $ECHO_N "(cached) $ECHO_C" >&6
48852 ac_cpp='$CXXCPP $CPPFLAGS'
48853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48857 cat >conftest.$ac_ext <<_ACEOF
48860 cat confdefs.h >>conftest.$ac_ext
48861 cat >>conftest.$ac_ext <<_ACEOF
48862 /* end confdefs.h. */
48864 #include <sys/types.h>
48865 #include <sys/socket.h>
48872 getsockopt(0, 0, 0, 0, &len);
48878 rm -f conftest.$ac_objext
48879 if { (ac_try="$ac_compile"
48880 case "(($ac_try" in
48881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48882 *) ac_try_echo=$ac_try;;
48884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48885 (eval "$ac_compile") 2>conftest.er1
48887 grep -v '^ *+' conftest.er1 >conftest.err
48889 cat conftest.err >&5
48890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48891 (exit $ac_status); } && {
48892 test -z "$ac_cxx_werror_flag" ||
48893 test ! -s conftest.err
48894 } && test -s conftest.$ac_objext; then
48895 wx_cv_type_getsockopt5=socklen_t
48897 echo "$as_me: failed program was:" >&5
48898 sed 's/^/| /' conftest.$ac_ext >&5
48901 cat >conftest.$ac_ext <<_ACEOF
48904 cat confdefs.h >>conftest.$ac_ext
48905 cat >>conftest.$ac_ext <<_ACEOF
48906 /* end confdefs.h. */
48908 #include <sys/types.h>
48909 #include <sys/socket.h>
48916 getsockopt(0, 0, 0, 0, &len);
48922 rm -f conftest.$ac_objext
48923 if { (ac_try="$ac_compile"
48924 case "(($ac_try" in
48925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48926 *) ac_try_echo=$ac_try;;
48928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48929 (eval "$ac_compile") 2>conftest.er1
48931 grep -v '^ *+' conftest.er1 >conftest.err
48933 cat conftest.err >&5
48934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48935 (exit $ac_status); } && {
48936 test -z "$ac_cxx_werror_flag" ||
48937 test ! -s conftest.err
48938 } && test -s conftest.$ac_objext; then
48939 wx_cv_type_getsockopt5=size_t
48941 echo "$as_me: failed program was:" >&5
48942 sed 's/^/| /' conftest.$ac_ext >&5
48944 cat >conftest.$ac_ext <<_ACEOF
48947 cat confdefs.h >>conftest.$ac_ext
48948 cat >>conftest.$ac_ext <<_ACEOF
48949 /* end confdefs.h. */
48951 #include <sys/types.h>
48952 #include <sys/socket.h>
48959 getsockopt(0, 0, 0, 0, &len);
48965 rm -f conftest.$ac_objext
48966 if { (ac_try="$ac_compile"
48967 case "(($ac_try" in
48968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48969 *) ac_try_echo=$ac_try;;
48971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48972 (eval "$ac_compile") 2>conftest.er1
48974 grep -v '^ *+' conftest.er1 >conftest.err
48976 cat conftest.err >&5
48977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48978 (exit $ac_status); } && {
48979 test -z "$ac_cxx_werror_flag" ||
48980 test ! -s conftest.err
48981 } && test -s conftest.$ac_objext; then
48982 wx_cv_type_getsockopt5=int
48984 echo "$as_me: failed program was:" >&5
48985 sed 's/^/| /' conftest.$ac_ext >&5
48987 wx_cv_type_getsockopt5=unknown
48991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49002 ac_cpp='$CPP $CPPFLAGS'
49003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49009 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
49010 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
49012 if test "$wx_cv_type_getsockopt5" = "unknown"; then
49014 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
49015 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
49017 cat >>confdefs.h <<_ACEOF
49018 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
49025 if test "$wxUSE_SOCKETS" = "yes" ; then
49026 if test "$wxUSE_IPV6" = "yes"; then
49027 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
49028 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
49029 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
49030 echo $ECHO_N "(cached) $ECHO_C" >&6
49033 cat >conftest.$ac_ext <<_ACEOF
49036 cat confdefs.h >>conftest.$ac_ext
49037 cat >>conftest.$ac_ext <<_ACEOF
49038 /* end confdefs.h. */
49040 #include <sys/types.h>
49041 #include <sys/socket.h>
49042 #include <netinet/in.h>
49048 struct sockaddr_in6 sa6;
49054 rm -f conftest.$ac_objext
49055 if { (ac_try="$ac_compile"
49056 case "(($ac_try" in
49057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49058 *) ac_try_echo=$ac_try;;
49060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49061 (eval "$ac_compile") 2>conftest.er1
49063 grep -v '^ *+' conftest.er1 >conftest.err
49065 cat conftest.err >&5
49066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49067 (exit $ac_status); } && {
49068 test -z "$ac_c_werror_flag" ||
49069 test ! -s conftest.err
49070 } && test -s conftest.$ac_objext; then
49071 wx_cv_type_sockaddr_in6=yes
49073 echo "$as_me: failed program was:" >&5
49074 sed 's/^/| /' conftest.$ac_ext >&5
49076 wx_cv_type_sockaddr_in6=no
49080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49084 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
49085 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
49087 if test "$wx_cv_type_sockaddr_in6"="yes"; then
49088 cat >>confdefs.h <<\_ACEOF
49089 #define wxUSE_IPV6 1
49093 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
49094 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
49098 cat >>confdefs.h <<\_ACEOF
49099 #define wxUSE_SOCKETS 1
49102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49105 if test "$wxUSE_PROTOCOL" = "yes"; then
49106 if test "$wxUSE_SOCKETS" != "yes"; then
49107 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
49108 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
49113 if test "$wxUSE_PROTOCOL" = "yes"; then
49114 cat >>confdefs.h <<\_ACEOF
49115 #define wxUSE_PROTOCOL 1
49119 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
49120 cat >>confdefs.h <<\_ACEOF
49121 #define wxUSE_PROTOCOL_HTTP 1
49125 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
49126 cat >>confdefs.h <<\_ACEOF
49127 #define wxUSE_PROTOCOL_FTP 1
49131 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
49132 cat >>confdefs.h <<\_ACEOF
49133 #define wxUSE_PROTOCOL_FILE 1
49138 if test "$wxUSE_FS_INET" = "yes"; then
49139 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
49140 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
49145 if test "$wxUSE_URL" = "yes"; then
49146 if test "$wxUSE_PROTOCOL" != "yes"; then
49147 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
49148 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
49151 if test "$wxUSE_URL" = "yes"; then
49152 cat >>confdefs.h <<\_ACEOF
49153 #define wxUSE_URL 1
49159 if test "$wxUSE_VARIANT" = "yes"; then
49160 cat >>confdefs.h <<\_ACEOF
49161 #define wxUSE_VARIANT 1
49166 if test "$wxUSE_FS_INET" = "yes"; then
49167 cat >>confdefs.h <<\_ACEOF
49168 #define wxUSE_FS_INET 1
49174 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
49177 if test "$TOOLKIT" = "MSW"; then
49180 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
49181 if test "$USE_DARWIN" = 1; then
49182 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
49183 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
49185 ac_cpp='$CXXCPP $CPPFLAGS'
49186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49190 cat >conftest.$ac_ext <<_ACEOF
49193 cat confdefs.h >>conftest.$ac_ext
49194 cat >>conftest.$ac_ext <<_ACEOF
49195 /* end confdefs.h. */
49196 #include <IOKit/hid/IOHIDLib.h>
49200 IOHIDQueueInterface *qi = NULL;
49201 IOHIDCallbackFunction cb = NULL;
49202 qi->setEventCallout(NULL, cb, NULL, NULL);
49207 rm -f conftest.$ac_objext
49208 if { (ac_try="$ac_compile"
49209 case "(($ac_try" in
49210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49211 *) ac_try_echo=$ac_try;;
49213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49214 (eval "$ac_compile") 2>conftest.er1
49216 grep -v '^ *+' conftest.er1 >conftest.err
49218 cat conftest.err >&5
49219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49220 (exit $ac_status); } && {
49221 test -z "$ac_cxx_werror_flag" ||
49222 test ! -s conftest.err
49223 } && test -s conftest.$ac_objext; then
49227 echo "$as_me: failed program was:" >&5
49228 sed 's/^/| /' conftest.$ac_ext >&5
49233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49235 ac_cpp='$CPP $CPPFLAGS'
49236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49240 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
49241 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
49245 if test "$wxUSE_MGL" != 1; then
49247 for ac_header in linux/joystick.h
49249 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
49251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
49252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49253 echo $ECHO_N "(cached) $ECHO_C" >&6
49255 cat >conftest.$ac_ext <<_ACEOF
49258 cat confdefs.h >>conftest.$ac_ext
49259 cat >>conftest.$ac_ext <<_ACEOF
49260 /* end confdefs.h. */
49261 $ac_includes_default
49263 #include <$ac_header>
49265 rm -f conftest.$ac_objext
49266 if { (ac_try="$ac_compile"
49267 case "(($ac_try" in
49268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49269 *) ac_try_echo=$ac_try;;
49271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49272 (eval "$ac_compile") 2>conftest.er1
49274 grep -v '^ *+' conftest.er1 >conftest.err
49276 cat conftest.err >&5
49277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49278 (exit $ac_status); } && {
49279 test -z "$ac_c_werror_flag" ||
49280 test ! -s conftest.err
49281 } && test -s conftest.$ac_objext; then
49282 eval "$as_ac_Header=yes"
49284 echo "$as_me: failed program was:" >&5
49285 sed 's/^/| /' conftest.$ac_ext >&5
49287 eval "$as_ac_Header=no"
49290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49292 ac_res=`eval echo '${'$as_ac_Header'}'`
49293 { echo "$as_me:$LINENO: result: $ac_res" >&5
49294 echo "${ECHO_T}$ac_res" >&6; }
49295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49296 cat >>confdefs.h <<_ACEOF
49297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49307 if test "$wxUSE_JOYSTICK" = "yes"; then
49308 cat >>confdefs.h <<\_ACEOF
49309 #define wxUSE_JOYSTICK 1
49312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49314 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49315 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49321 if test "$wxUSE_FONTENUM" = "yes" ; then
49322 cat >>confdefs.h <<\_ACEOF
49323 #define wxUSE_FONTENUM 1
49328 if test "$wxUSE_FONTMAP" = "yes" ; then
49329 cat >>confdefs.h <<\_ACEOF
49330 #define wxUSE_FONTMAP 1
49335 if test "$wxUSE_UNICODE" = "yes" ; then
49336 cat >>confdefs.h <<\_ACEOF
49337 #define wxUSE_UNICODE 1
49341 if test "$USE_WIN32" != 1; then
49342 wxUSE_UNICODE_MSLU=no
49345 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49346 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49347 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49348 if test "${ac_cv_lib_unicows_main+set}" = set; then
49349 echo $ECHO_N "(cached) $ECHO_C" >&6
49351 ac_check_lib_save_LIBS=$LIBS
49352 LIBS="-lunicows $LIBS"
49353 cat >conftest.$ac_ext <<_ACEOF
49356 cat confdefs.h >>conftest.$ac_ext
49357 cat >>conftest.$ac_ext <<_ACEOF
49358 /* end confdefs.h. */
49369 rm -f conftest.$ac_objext conftest$ac_exeext
49370 if { (ac_try="$ac_link"
49371 case "(($ac_try" in
49372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49373 *) ac_try_echo=$ac_try;;
49375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49376 (eval "$ac_link") 2>conftest.er1
49378 grep -v '^ *+' conftest.er1 >conftest.err
49380 cat conftest.err >&5
49381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49382 (exit $ac_status); } && {
49383 test -z "$ac_c_werror_flag" ||
49384 test ! -s conftest.err
49385 } && test -s conftest$ac_exeext &&
49386 $as_test_x conftest$ac_exeext; then
49387 ac_cv_lib_unicows_main=yes
49389 echo "$as_me: failed program was:" >&5
49390 sed 's/^/| /' conftest.$ac_ext >&5
49392 ac_cv_lib_unicows_main=no
49395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49396 conftest$ac_exeext conftest.$ac_ext
49397 LIBS=$ac_check_lib_save_LIBS
49399 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49400 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49401 if test $ac_cv_lib_unicows_main = yes; then
49403 cat >>confdefs.h <<\_ACEOF
49404 #define wxUSE_UNICODE_MSLU 1
49410 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49411 Applications will only run on Windows NT/2000/XP!" >&5
49412 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49413 Applications will only run on Windows NT/2000/XP!" >&2;}
49414 wxUSE_UNICODE_MSLU=no
49421 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
49422 cat >>confdefs.h <<\_ACEOF
49423 #define wxUSE_UNICODE_UTF8 1
49427 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
49428 cat >>confdefs.h <<\_ACEOF
49429 #define wxUSE_UTF8_LOCALE_ONLY 1
49436 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49437 cat >>confdefs.h <<\_ACEOF
49438 #define wxUSE_CONSTRAINTS 1
49441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
49444 if test "$wxUSE_MDI" = "yes"; then
49445 cat >>confdefs.h <<\_ACEOF
49446 #define wxUSE_MDI 1
49450 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49451 cat >>confdefs.h <<\_ACEOF
49452 #define wxUSE_MDI_ARCHITECTURE 1
49455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
49459 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49460 cat >>confdefs.h <<\_ACEOF
49461 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
49467 if test "$wxUSE_HELP" = "yes"; then
49468 cat >>confdefs.h <<\_ACEOF
49469 #define wxUSE_HELP 1
49472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
49474 if test "$wxUSE_MSW" = 1; then
49475 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49476 cat >>confdefs.h <<\_ACEOF
49477 #define wxUSE_MS_HTML_HELP 1
49483 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49484 if test "$wxUSE_HTML" = "yes"; then
49485 cat >>confdefs.h <<\_ACEOF
49486 #define wxUSE_WXHTML_HELP 1
49490 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49491 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49492 wxUSE_WXHTML_HELP=no
49497 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49498 cat >>confdefs.h <<\_ACEOF
49499 #define wxUSE_PRINTING_ARCHITECTURE 1
49502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
49505 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49506 cat >>confdefs.h <<\_ACEOF
49507 #define wxUSE_POSTSCRIPT 1
49512 cat >>confdefs.h <<\_ACEOF
49513 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49517 if test "$wxUSE_SVG" = "yes"; then
49518 cat >>confdefs.h <<\_ACEOF
49519 #define wxUSE_SVG 1
49525 if test "$wxUSE_METAFILE" = "yes"; then
49526 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49527 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49528 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49531 elif test "$wxUSE_METAFILE" = "auto"; then
49532 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
49537 if test "$wxUSE_METAFILE" = "yes"; then
49538 cat >>confdefs.h <<\_ACEOF
49539 #define wxUSE_METAFILE 1
49542 if test "$wxUSE_MSW" = 1; then
49543 cat >>confdefs.h <<\_ACEOF
49544 #define wxUSE_ENH_METAFILE 1
49551 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
49552 -o "$wxUSE_CLIPBOARD" = "yes" \
49553 -o "$wxUSE_OLE" = "yes" \
49554 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
49555 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49556 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49557 if test "${ac_cv_header_ole2_h+set}" = set; then
49558 echo $ECHO_N "(cached) $ECHO_C" >&6
49560 cat >conftest.$ac_ext <<_ACEOF
49563 cat confdefs.h >>conftest.$ac_ext
49564 cat >>conftest.$ac_ext <<_ACEOF
49565 /* end confdefs.h. */
49570 rm -f conftest.$ac_objext
49571 if { (ac_try="$ac_compile"
49572 case "(($ac_try" in
49573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49574 *) ac_try_echo=$ac_try;;
49576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49577 (eval "$ac_compile") 2>conftest.er1
49579 grep -v '^ *+' conftest.er1 >conftest.err
49581 cat conftest.err >&5
49582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49583 (exit $ac_status); } && {
49584 test -z "$ac_c_werror_flag" ||
49585 test ! -s conftest.err
49586 } && test -s conftest.$ac_objext; then
49587 ac_cv_header_ole2_h=yes
49589 echo "$as_me: failed program was:" >&5
49590 sed 's/^/| /' conftest.$ac_ext >&5
49592 ac_cv_header_ole2_h=no
49595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49597 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49598 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49602 if test "$ac_cv_header_ole2_h" = "yes" ; then
49603 if test "$GCC" = yes ; then
49604 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49605 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49606 cat >conftest.$ac_ext <<_ACEOF
49609 cat confdefs.h >>conftest.$ac_ext
49610 cat >>conftest.$ac_ext <<_ACEOF
49611 /* end confdefs.h. */
49612 #include <windows.h>
49622 rm -f conftest.$ac_objext
49623 if { (ac_try="$ac_compile"
49624 case "(($ac_try" in
49625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49626 *) ac_try_echo=$ac_try;;
49628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49629 (eval "$ac_compile") 2>conftest.er1
49631 grep -v '^ *+' conftest.er1 >conftest.err
49633 cat conftest.err >&5
49634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49635 (exit $ac_status); } && {
49636 test -z "$ac_c_werror_flag" ||
49637 test ! -s conftest.err
49638 } && test -s conftest.$ac_objext; then
49639 { echo "$as_me:$LINENO: result: no" >&5
49640 echo "${ECHO_T}no" >&6; }
49642 echo "$as_me: failed program was:" >&5
49643 sed 's/^/| /' conftest.$ac_ext >&5
49645 { echo "$as_me:$LINENO: result: yes" >&5
49646 echo "${ECHO_T}yes" >&6; }
49647 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49651 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49652 if test "$wxUSE_OLE" = "yes" ; then
49653 cat >>confdefs.h <<\_ACEOF
49654 #define wxUSE_OLE 1
49657 cat >>confdefs.h <<\_ACEOF
49658 #define wxUSE_OLE_AUTOMATION 1
49661 cat >>confdefs.h <<\_ACEOF
49662 #define wxUSE_ACTIVEX 1
49665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
49669 if test "$wxUSE_DATAOBJ" = "yes" ; then
49670 cat >>confdefs.h <<\_ACEOF
49671 #define wxUSE_DATAOBJ 1
49676 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49677 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49680 wxUSE_DRAG_AND_DROP=no
49686 if test "$wxUSE_IPC" = "yes"; then
49687 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49688 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49689 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49693 if test "$wxUSE_IPC" = "yes"; then
49694 cat >>confdefs.h <<\_ACEOF
49695 #define wxUSE_IPC 1
49698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49702 if test "$wxUSE_DATAOBJ" = "yes"; then
49703 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49704 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
49705 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
49708 cat >>confdefs.h <<\_ACEOF
49709 #define wxUSE_DATAOBJ 1
49714 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49715 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49717 wxUSE_DRAG_AND_DROP=no
49720 if test "$wxUSE_CLIPBOARD" = "yes"; then
49721 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49722 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49723 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49727 if test "$wxUSE_CLIPBOARD" = "yes"; then
49728 cat >>confdefs.h <<\_ACEOF
49729 #define wxUSE_CLIPBOARD 1
49735 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49736 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
49737 "$wxUSE_DFB" = 1; then
49738 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49739 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49740 wxUSE_DRAG_AND_DROP=no
49743 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49744 cat >>confdefs.h <<\_ACEOF
49745 #define wxUSE_DRAG_AND_DROP 1
49752 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
49756 if test "$wxUSE_CLIPBOARD" = "yes"; then
49757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
49760 if test "$wxUSE_SPLINES" = "yes" ; then
49761 cat >>confdefs.h <<\_ACEOF
49762 #define wxUSE_SPLINES 1
49767 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49768 cat >>confdefs.h <<\_ACEOF
49769 #define wxUSE_MOUSEWHEEL 1
49774 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
49775 cat >>confdefs.h <<\_ACEOF
49776 #define wxUSE_UIACTIONSIMULATOR 1
49779 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
49782 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
49783 cat >>confdefs.h <<\_ACEOF
49784 #define wxUSE_DC_TRANSFORM_MATRIX 1
49791 if test "$wxUSE_CONTROLS" = "yes"; then
49795 if test "$wxUSE_MARKUP" = "yes"; then
49796 cat >>confdefs.h <<\_ACEOF
49797 #define wxUSE_MARKUP 1
49802 if test "$wxUSE_ACCEL" = "yes"; then
49803 cat >>confdefs.h <<\_ACEOF
49804 #define wxUSE_ACCEL 1
49810 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49811 cat >>confdefs.h <<\_ACEOF
49812 #define wxUSE_ANIMATIONCTRL 1
49816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
49819 if test "$wxUSE_BANNERWINDOW" = "yes"; then
49820 cat >>confdefs.h <<\_ACEOF
49821 #define wxUSE_BANNERWINDOW 1
49826 if test "$wxUSE_BUTTON" = "yes"; then
49827 cat >>confdefs.h <<\_ACEOF
49828 #define wxUSE_BUTTON 1
49834 if test "$wxUSE_BMPBUTTON" = "yes"; then
49835 cat >>confdefs.h <<\_ACEOF
49836 #define wxUSE_BMPBUTTON 1
49842 if test "$wxUSE_CALCTRL" = "yes"; then
49843 cat >>confdefs.h <<\_ACEOF
49844 #define wxUSE_CALENDARCTRL 1
49848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
49851 if test "$wxUSE_CARET" = "yes"; then
49852 cat >>confdefs.h <<\_ACEOF
49853 #define wxUSE_CARET 1
49857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
49860 if test "$wxUSE_COLLPANE" = "yes"; then
49861 cat >>confdefs.h <<\_ACEOF
49862 #define wxUSE_COLLPANE 1
49866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
49869 if test "$wxUSE_COMBOBOX" = "yes"; then
49870 cat >>confdefs.h <<\_ACEOF
49871 #define wxUSE_COMBOBOX 1
49877 if test "$wxUSE_COMBOCTRL" = "yes"; then
49878 cat >>confdefs.h <<\_ACEOF
49879 #define wxUSE_COMBOCTRL 1
49885 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
49886 cat >>confdefs.h <<\_ACEOF
49887 #define wxUSE_COMMANDLINKBUTTON 1
49893 if test "$wxUSE_CHOICE" = "yes"; then
49894 cat >>confdefs.h <<\_ACEOF
49895 #define wxUSE_CHOICE 1
49901 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49902 cat >>confdefs.h <<\_ACEOF
49903 #define wxUSE_CHOICEBOOK 1
49909 if test "$wxUSE_CHECKBOX" = "yes"; then
49910 cat >>confdefs.h <<\_ACEOF
49911 #define wxUSE_CHECKBOX 1
49917 if test "$wxUSE_CHECKLST" = "yes"; then
49918 cat >>confdefs.h <<\_ACEOF
49919 #define wxUSE_CHECKLISTBOX 1
49925 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49926 cat >>confdefs.h <<\_ACEOF
49927 #define wxUSE_COLOURPICKERCTRL 1
49933 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49934 cat >>confdefs.h <<\_ACEOF
49935 #define wxUSE_DATEPICKCTRL 1
49941 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49942 cat >>confdefs.h <<\_ACEOF
49943 #define wxUSE_DIRPICKERCTRL 1
49949 if test "$wxUSE_FILECTRL" = "yes"; then
49950 cat >>confdefs.h <<\_ACEOF
49951 #define wxUSE_FILECTRL 1
49957 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49958 cat >>confdefs.h <<\_ACEOF
49959 #define wxUSE_FILEPICKERCTRL 1
49965 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49966 cat >>confdefs.h <<\_ACEOF
49967 #define wxUSE_FONTPICKERCTRL 1
49973 if test "$wxUSE_DISPLAY" = "yes"; then
49974 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
49975 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49976 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49979 cat >>confdefs.h <<\_ACEOF
49980 #define wxUSE_DISPLAY 1
49983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
49987 if test "$wxUSE_DETECT_SM" = "yes"; then
49988 cat >>confdefs.h <<\_ACEOF
49989 #define wxUSE_DETECT_SM 1
49994 if test "$wxUSE_GAUGE" = "yes"; then
49995 cat >>confdefs.h <<\_ACEOF
49996 #define wxUSE_GAUGE 1
50002 if test "$wxUSE_GRID" = "yes"; then
50003 cat >>confdefs.h <<\_ACEOF
50004 #define wxUSE_GRID 1
50008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
50011 if test "$wxUSE_HEADERCTRL" = "yes"; then
50012 cat >>confdefs.h <<\_ACEOF
50013 #define wxUSE_HEADERCTRL 1
50019 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
50020 cat >>confdefs.h <<\_ACEOF
50021 #define wxUSE_HYPERLINKCTRL 1
50027 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
50028 cat >>confdefs.h <<\_ACEOF
50029 #define wxUSE_BITMAPCOMBOBOX 1
50035 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
50036 cat >>confdefs.h <<\_ACEOF
50037 #define wxUSE_DATAVIEWCTRL 1
50041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
50044 if test "$wxUSE_IMAGLIST" = "yes"; then
50045 cat >>confdefs.h <<\_ACEOF
50046 #define wxUSE_IMAGLIST 1
50051 if test "$wxUSE_INFOBAR" = "yes"; then
50052 cat >>confdefs.h <<\_ACEOF
50053 #define wxUSE_INFOBAR 1
50058 if test "$wxUSE_LISTBOOK" = "yes"; then
50059 cat >>confdefs.h <<\_ACEOF
50060 #define wxUSE_LISTBOOK 1
50066 if test "$wxUSE_LISTBOX" = "yes"; then
50067 cat >>confdefs.h <<\_ACEOF
50068 #define wxUSE_LISTBOX 1
50074 if test "$wxUSE_LISTCTRL" = "yes"; then
50075 if test "$wxUSE_IMAGLIST" = "yes"; then
50076 cat >>confdefs.h <<\_ACEOF
50077 #define wxUSE_LISTCTRL 1
50081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
50083 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
50084 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
50088 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
50089 cat >>confdefs.h <<\_ACEOF
50090 #define wxUSE_EDITABLELISTBOX 1
50096 if test "$wxUSE_NOTEBOOK" = "yes"; then
50097 cat >>confdefs.h <<\_ACEOF
50098 #define wxUSE_NOTEBOOK 1
50102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
50105 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
50106 cat >>confdefs.h <<\_ACEOF
50107 #define wxUSE_NOTIFICATION_MESSAGE 1
50112 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
50113 cat >>confdefs.h <<\_ACEOF
50114 #define wxUSE_ODCOMBOBOX 1
50118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
50121 if test "$wxUSE_RADIOBOX" = "yes"; then
50122 cat >>confdefs.h <<\_ACEOF
50123 #define wxUSE_RADIOBOX 1
50129 if test "$wxUSE_RADIOBTN" = "yes"; then
50130 cat >>confdefs.h <<\_ACEOF
50131 #define wxUSE_RADIOBTN 1
50137 if test "$wxUSE_REARRANGECTRL" = "yes"; then
50138 cat >>confdefs.h <<\_ACEOF
50139 #define wxUSE_REARRANGECTRL 1
50144 if test "$wxUSE_RICHMSGDLG" = "yes"; then
50145 cat >>confdefs.h <<\_ACEOF
50146 #define wxUSE_RICHMSGDLG 1
50151 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
50152 cat >>confdefs.h <<\_ACEOF
50153 #define wxUSE_RICHTOOLTIP 1
50158 if test "$wxUSE_SASH" = "yes"; then
50159 cat >>confdefs.h <<\_ACEOF
50160 #define wxUSE_SASH 1
50163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
50166 if test "$wxUSE_SCROLLBAR" = "yes"; then
50167 cat >>confdefs.h <<\_ACEOF
50168 #define wxUSE_SCROLLBAR 1
50172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
50175 if test "$wxUSE_SEARCHCTRL" = "yes"; then
50176 cat >>confdefs.h <<\_ACEOF
50177 #define wxUSE_SEARCHCTRL 1
50183 if test "$wxUSE_SLIDER" = "yes"; then
50184 cat >>confdefs.h <<\_ACEOF
50185 #define wxUSE_SLIDER 1
50191 if test "$wxUSE_SPINBTN" = "yes"; then
50192 cat >>confdefs.h <<\_ACEOF
50193 #define wxUSE_SPINBTN 1
50199 if test "$wxUSE_SPINCTRL" = "yes"; then
50200 cat >>confdefs.h <<\_ACEOF
50201 #define wxUSE_SPINCTRL 1
50207 if test "$wxUSE_SPLITTER" = "yes"; then
50208 cat >>confdefs.h <<\_ACEOF
50209 #define wxUSE_SPLITTER 1
50212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
50215 if test "$wxUSE_STATBMP" = "yes"; then
50216 cat >>confdefs.h <<\_ACEOF
50217 #define wxUSE_STATBMP 1
50223 if test "$wxUSE_STATBOX" = "yes"; then
50224 cat >>confdefs.h <<\_ACEOF
50225 #define wxUSE_STATBOX 1
50231 if test "$wxUSE_STATTEXT" = "yes"; then
50232 cat >>confdefs.h <<\_ACEOF
50233 #define wxUSE_STATTEXT 1
50239 if test "$wxUSE_STATLINE" = "yes"; then
50240 cat >>confdefs.h <<\_ACEOF
50241 #define wxUSE_STATLINE 1
50247 if test "$wxUSE_STATUSBAR" = "yes"; then
50248 cat >>confdefs.h <<\_ACEOF
50249 #define wxUSE_NATIVE_STATUSBAR 1
50252 cat >>confdefs.h <<\_ACEOF
50253 #define wxUSE_STATUSBAR 1
50258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
50261 if test "$wxUSE_TEXTCTRL" = "yes"; then
50262 cat >>confdefs.h <<\_ACEOF
50263 #define wxUSE_TEXTCTRL 1
50267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
50269 cat >>confdefs.h <<\_ACEOF
50270 #define wxUSE_RICHEDIT 1
50273 cat >>confdefs.h <<\_ACEOF
50274 #define wxUSE_RICHEDIT2 1
50279 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
50280 cat >>confdefs.h <<\_ACEOF
50281 #define wxUSE_TIMEPICKCTRL 1
50287 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50288 if test "$wxUSE_OLD_COCOA" = 1 ; then
50289 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
50290 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
50294 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50295 cat >>confdefs.h <<\_ACEOF
50296 #define wxUSE_TOGGLEBTN 1
50303 if test "$wxUSE_TOOLBAR" = "yes"; then
50304 cat >>confdefs.h <<\_ACEOF
50305 #define wxUSE_TOOLBAR 1
50310 if test "$wxUSE_UNIVERSAL" = "yes"; then
50311 wxUSE_TOOLBAR_NATIVE="no"
50313 wxUSE_TOOLBAR_NATIVE="yes"
50314 cat >>confdefs.h <<\_ACEOF
50315 #define wxUSE_TOOLBAR_NATIVE 1
50320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
50323 if test "$wxUSE_TOOLTIPS" = "yes"; then
50324 if test "$wxUSE_MOTIF" = 1; then
50325 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50326 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50328 if test "$wxUSE_UNIVERSAL" = "yes"; then
50329 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50330 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50332 cat >>confdefs.h <<\_ACEOF
50333 #define wxUSE_TOOLTIPS 1
50340 if test "$wxUSE_TREEBOOK" = "yes"; then
50341 cat >>confdefs.h <<\_ACEOF
50342 #define wxUSE_TREEBOOK 1
50348 if test "$wxUSE_TOOLBOOK" = "yes"; then
50349 cat >>confdefs.h <<\_ACEOF
50350 #define wxUSE_TOOLBOOK 1
50356 if test "$wxUSE_TREECTRL" = "yes"; then
50357 if test "$wxUSE_IMAGLIST" = "yes"; then
50358 cat >>confdefs.h <<\_ACEOF
50359 #define wxUSE_TREECTRL 1
50363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
50365 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50366 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50370 if test "$wxUSE_TREELISTCTRL" = "yes"; then
50371 cat >>confdefs.h <<\_ACEOF
50372 #define wxUSE_TREELISTCTRL 1
50376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
50379 if test "$wxUSE_POPUPWIN" = "yes"; then
50380 if test "$wxUSE_OLD_COCOA" = 1 ; then
50381 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50382 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50384 if test "$wxUSE_PM" = 1; then
50385 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50386 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50388 cat >>confdefs.h <<\_ACEOF
50389 #define wxUSE_POPUPWIN 1
50392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
50399 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50400 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
50401 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50402 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50404 cat >>confdefs.h <<\_ACEOF
50405 #define wxUSE_DIALUP_MANAGER 1
50408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
50412 if test "$wxUSE_TIPWINDOW" = "yes"; then
50413 if test "$wxUSE_PM" = 1; then
50414 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50415 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50417 cat >>confdefs.h <<\_ACEOF
50418 #define wxUSE_TIPWINDOW 1
50424 if test "$USES_CONTROLS" = 1; then
50425 cat >>confdefs.h <<\_ACEOF
50426 #define wxUSE_CONTROLS 1
50432 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50433 cat >>confdefs.h <<\_ACEOF
50434 #define wxUSE_ACCESSIBILITY 1
50437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
50440 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
50441 cat >>confdefs.h <<\_ACEOF
50442 #define wxUSE_ARTPROVIDER_STD 1
50447 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
50448 if test "$wxUSE_GTK" != 1; then
50449 if test "$wxUSE_LIBPNG" != no -a \
50450 "$wxUSE_IMAGE" = yes -a \
50451 "$wxUSE_STREAMS" = yes; then
50452 wxUSE_ARTPROVIDER_TANGO="yes"
50457 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
50458 cat >>confdefs.h <<\_ACEOF
50459 #define wxUSE_ARTPROVIDER_TANGO 1
50464 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50465 cat >>confdefs.h <<\_ACEOF
50466 #define wxUSE_DRAGIMAGE 1
50469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
50472 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50473 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50474 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50475 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50477 cat >>confdefs.h <<\_ACEOF
50478 #define wxUSE_EXCEPTIONS 1
50481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
50486 if test "$wxUSE_HTML" = "yes"; then
50487 cat >>confdefs.h <<\_ACEOF
50488 #define wxUSE_HTML 1
50492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50494 if test "$wxUSE_WEBKIT" = "yes"; then
50495 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50496 old_CPPFLAGS="$CPPFLAGS"
50497 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50498 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50499 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50500 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50501 echo $ECHO_N "(cached) $ECHO_C" >&6
50503 cat >conftest.$ac_ext <<_ACEOF
50506 cat confdefs.h >>conftest.$ac_ext
50507 cat >>conftest.$ac_ext <<_ACEOF
50508 /* end confdefs.h. */
50510 #include <Carbon/Carbon.h>
50511 #include <WebKit/WebKit.h>
50514 #include <WebKit/HIWebView.h>
50516 rm -f conftest.$ac_objext
50517 if { (ac_try="$ac_compile"
50518 case "(($ac_try" in
50519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50520 *) ac_try_echo=$ac_try;;
50522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50523 (eval "$ac_compile") 2>conftest.er1
50525 grep -v '^ *+' conftest.er1 >conftest.err
50527 cat conftest.err >&5
50528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50529 (exit $ac_status); } && {
50530 test -z "$ac_c_werror_flag" ||
50531 test ! -s conftest.err
50532 } && test -s conftest.$ac_objext; then
50533 ac_cv_header_WebKit_HIWebView_h=yes
50535 echo "$as_me: failed program was:" >&5
50536 sed 's/^/| /' conftest.$ac_ext >&5
50538 ac_cv_header_WebKit_HIWebView_h=no
50541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50543 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50544 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50545 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50547 cat >>confdefs.h <<\_ACEOF
50548 #define wxUSE_WEBKIT 1
50551 WEBKIT_LINK="-framework WebKit"
50555 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50556 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50562 CPPFLAGS="$old_CPPFLAGS"
50563 elif test "$wxUSE_OLD_COCOA" = 1; then
50564 cat >>confdefs.h <<\_ACEOF
50565 #define wxUSE_WEBKIT 1
50571 if test "$wxUSE_WEBKIT" = "yes"; then
50572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50577 if test "$wxUSE_XRC" = "yes"; then
50578 if test "$wxUSE_XML" != "yes"; then
50579 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50580 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50583 cat >>confdefs.h <<\_ACEOF
50584 #define wxUSE_XRC 1
50588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50593 if test "$wxUSE_AUI" = "yes"; then
50594 cat >>confdefs.h <<\_ACEOF
50595 #define wxUSE_AUI 1
50599 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50603 if test "$wxUSE_PROPGRID" = "yes"; then
50604 cat >>confdefs.h <<\_ACEOF
50605 #define wxUSE_PROPGRID 1
50609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
50613 if test "$wxUSE_RIBBON" = "yes"; then
50614 cat >>confdefs.h <<\_ACEOF
50615 #define wxUSE_RIBBON 1
50619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
50623 if test "$wxUSE_STC" = "yes"; then
50624 cat >>confdefs.h <<\_ACEOF
50625 #define wxUSE_STC 1
50629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50631 # Extract the first word of "python", so it can be a program name with args.
50632 set dummy python; ac_word=$2
50633 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50635 if test "${ac_cv_path_PYTHON+set}" = set; then
50636 echo $ECHO_N "(cached) $ECHO_C" >&6
50640 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
50643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50644 for as_dir in $PATH
50647 test -z "$as_dir" && as_dir=.
50648 for ac_exec_ext in '' $ac_executable_extensions; do
50649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50650 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
50651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50661 PYTHON=$ac_cv_path_PYTHON
50662 if test -n "$PYTHON"; then
50663 { echo "$as_me:$LINENO: result: $PYTHON" >&5
50664 echo "${ECHO_T}$PYTHON" >&6; }
50666 { echo "$as_me:$LINENO: result: no" >&5
50667 echo "${ECHO_T}no" >&6; }
50671 if test "x$PYTHON" = "x"; then
50677 if test "$wxUSE_MENUS" = "yes"; then
50678 cat >>confdefs.h <<\_ACEOF
50679 #define wxUSE_MENUS 1
50682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50685 if test "$wxUSE_MIMETYPE" = "yes"; then
50686 cat >>confdefs.h <<\_ACEOF
50687 #define wxUSE_MIMETYPE 1
50692 if test "$wxUSE_MINIFRAME" = "yes"; then
50693 cat >>confdefs.h <<\_ACEOF
50694 #define wxUSE_MINIFRAME 1
50699 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50700 cat >>confdefs.h <<\_ACEOF
50701 #define wxUSE_SYSTEM_OPTIONS 1
50706 if test "$wxUSE_TASKBARICON" = "yes"; then
50707 cat >>confdefs.h <<\_ACEOF
50708 #define wxUSE_TASKBARICON 1
50711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50715 if test "$wxUSE_VALIDATORS" = "yes"; then
50716 cat >>confdefs.h <<\_ACEOF
50717 #define wxUSE_VALIDATORS 1
50720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50723 if test "$wxUSE_PALETTE" = "yes" ; then
50724 if test "$wxUSE_DFB" = 1; then
50725 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50726 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50729 cat >>confdefs.h <<\_ACEOF
50730 #define wxUSE_PALETTE 1
50736 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50737 LIBS=" -lunicows $LIBS"
50741 if test "$wxUSE_RICHTEXT" = "yes"; then
50742 cat >>confdefs.h <<\_ACEOF
50743 #define wxUSE_RICHTEXT 1
50747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50750 if test "$wxUSE_WEBVIEW" = "yes"; then
50751 USE_WEBVIEW_WEBKIT=0
50752 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
50753 if test "$wxUSE_GTK" = 1; then
50754 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
50755 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
50758 for ac_dir in $SEARCH_LIB
50760 for ac_extension in a so sl dylib dll.a; do
50761 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
50762 ac_find_libraries=$ac_dir
50768 if test "$ac_find_libraries" != "" ; then
50770 if test "$ac_find_libraries" = "default location"; then
50773 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
50775 if test $result = 0; then
50778 ac_path_to_link=" -L$ac_find_libraries"
50782 if test "$ac_path_to_link" != " -L/usr/lib" ; then
50783 LDFLAGS="$LDFLAGS $ac_path_to_link"
50785 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
50786 { echo "$as_me:$LINENO: result: yes" >&5
50787 echo "${ECHO_T}yes" >&6; }
50789 { echo "$as_me:$LINENO: checking for webkitgtk headers" >&5
50790 echo $ECHO_N "checking for webkitgtk headers... $ECHO_C" >&6; }
50793 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
50795 if test -f "$ac_dir/webkit/webkit.h"; then
50796 ac_find_includes=$ac_dir
50801 if test "$ac_find_includes" != "" ; then
50802 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50803 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50805 if test "x$ac_find_includes" = "x/usr/include"; then
50806 ac_path_to_include=""
50808 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50810 if test $result = 0; then
50811 ac_path_to_include=""
50813 ac_path_to_include=" -I$ac_find_includes"
50817 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50819 { echo "$as_me:$LINENO: checking for libsoup headers" >&5
50820 echo $ECHO_N "checking for libsoup headers... $ECHO_C" >&6; }
50823 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
50825 if test -f "$ac_dir/libsoup/soup.h"; then
50826 ac_find_includes=$ac_dir
50831 if test "$ac_find_includes" != "" ; then
50832 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50833 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50835 if test "x$ac_find_includes" = "x/usr/include"; then
50836 ac_path_to_include=""
50838 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50840 if test $result = 0; then
50841 ac_path_to_include=""
50843 ac_path_to_include=" -I$ac_find_includes"
50847 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50849 USE_WEBVIEW_WEBKIT=1
50851 { echo "$as_me:$LINENO: result: not found" >&5
50852 echo "${ECHO_T}not found" >&6; }
50853 { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling WebKit backend" >&5
50854 echo "$as_me: WARNING: libsoup headers not found; disabling WebKit backend" >&2;}
50857 { echo "$as_me:$LINENO: result: not found" >&5
50858 echo "${ECHO_T}not found" >&6; }
50859 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling WebKit backend" >&5
50860 echo "$as_me: WARNING: WebKit headers not found; disabling WebKit backend" >&2;}
50863 { echo "$as_me:$LINENO: result: no" >&5
50864 echo "${ECHO_T}no" >&6; }
50865 { echo "$as_me:$LINENO: WARNING: WebKit libraries not found; disabling WebKit backend" >&5
50866 echo "$as_me: WARNING: WebKit libraries not found; disabling WebKit backend" >&2;}
50868 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50869 old_CPPFLAGS="$CPPFLAGS"
50870 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50871 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50872 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50873 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50874 echo $ECHO_N "(cached) $ECHO_C" >&6
50876 cat >conftest.$ac_ext <<_ACEOF
50879 cat confdefs.h >>conftest.$ac_ext
50880 cat >>conftest.$ac_ext <<_ACEOF
50881 /* end confdefs.h. */
50883 #include <Carbon/Carbon.h>
50884 #include <WebKit/WebKit.h>
50887 #include <WebKit/HIWebView.h>
50889 rm -f conftest.$ac_objext
50890 if { (ac_try="$ac_compile"
50891 case "(($ac_try" in
50892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50893 *) ac_try_echo=$ac_try;;
50895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50896 (eval "$ac_compile") 2>conftest.er1
50898 grep -v '^ *+' conftest.er1 >conftest.err
50900 cat conftest.err >&5
50901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50902 (exit $ac_status); } && {
50903 test -z "$ac_c_werror_flag" ||
50904 test ! -s conftest.err
50905 } && test -s conftest.$ac_objext; then
50906 ac_cv_header_WebKit_HIWebView_h=yes
50908 echo "$as_me: failed program was:" >&5
50909 sed 's/^/| /' conftest.$ac_ext >&5
50911 ac_cv_header_WebKit_HIWebView_h=no
50914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50916 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50917 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50918 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50920 USE_WEBVIEW_WEBKIT=1
50921 WEBKIT_LINK="-framework WebKit"
50925 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
50926 echo "$as_me: WARNING: WebKit headers not found" >&2;}
50931 CPPFLAGS="$old_CPPFLAGS"
50936 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
50937 if test "$USE_WEBVIEW_WEBKIT" = 1; then
50938 wxUSE_WEBVIEW="yes"
50939 cat >>confdefs.h <<\_ACEOF
50940 #define wxUSE_WEBVIEW_WEBKIT 1
50944 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
50945 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
50947 elif test "$wxUSE_MSW" = 1; then
50948 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
50949 wxUSE_WEBVIEW="yes"
50950 cat >>confdefs.h <<\_ACEOF
50951 #define wxUSE_WEBVIEW_IE 1
50958 if test "$wxUSE_WEBVIEW" = "yes"; then
50960 cat >>confdefs.h <<\_ACEOF
50961 #define wxUSE_WEBVIEW 1
50964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
50970 if test "$wxUSE_IMAGE" = "yes" ; then
50971 cat >>confdefs.h <<\_ACEOF
50972 #define wxUSE_IMAGE 1
50976 if test "$wxUSE_GIF" = "yes" ; then
50977 cat >>confdefs.h <<\_ACEOF
50978 #define wxUSE_GIF 1
50983 if test "$wxUSE_PCX" = "yes" ; then
50984 cat >>confdefs.h <<\_ACEOF
50985 #define wxUSE_PCX 1
50990 if test "$wxUSE_TGA" = "yes" ; then
50991 cat >>confdefs.h <<\_ACEOF
50992 #define wxUSE_TGA 1
50997 if test "$wxUSE_IFF" = "yes" ; then
50998 cat >>confdefs.h <<\_ACEOF
50999 #define wxUSE_IFF 1
51004 if test "$wxUSE_PNM" = "yes" ; then
51005 cat >>confdefs.h <<\_ACEOF
51006 #define wxUSE_PNM 1
51011 if test "$wxUSE_XPM" = "yes" ; then
51012 cat >>confdefs.h <<\_ACEOF
51013 #define wxUSE_XPM 1
51018 if test "$wxUSE_ICO_CUR" = "yes" ; then
51019 cat >>confdefs.h <<\_ACEOF
51020 #define wxUSE_ICO_CUR 1
51027 if test "$wxUSE_ABOUTDLG" = "yes"; then
51028 cat >>confdefs.h <<\_ACEOF
51029 #define wxUSE_ABOUTDLG 1
51034 if test "$wxUSE_CHOICEDLG" = "yes"; then
51035 cat >>confdefs.h <<\_ACEOF
51036 #define wxUSE_CHOICEDLG 1
51041 if test "$wxUSE_COLOURDLG" = "yes"; then
51042 cat >>confdefs.h <<\_ACEOF
51043 #define wxUSE_COLOURDLG 1
51048 if test "$wxUSE_FILEDLG" = "yes"; then
51049 cat >>confdefs.h <<\_ACEOF
51050 #define wxUSE_FILEDLG 1
51055 if test "$wxUSE_FINDREPLDLG" = "yes"; then
51056 cat >>confdefs.h <<\_ACEOF
51057 #define wxUSE_FINDREPLDLG 1
51062 if test "$wxUSE_FONTDLG" = "yes"; then
51063 cat >>confdefs.h <<\_ACEOF
51064 #define wxUSE_FONTDLG 1
51069 if test "$wxUSE_DIRDLG" = "yes"; then
51070 if test "$wxUSE_TREECTRL" != "yes"; then
51071 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
51072 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
51074 cat >>confdefs.h <<\_ACEOF
51075 #define wxUSE_DIRDLG 1
51081 if test "$wxUSE_MSGDLG" = "yes"; then
51082 cat >>confdefs.h <<\_ACEOF
51083 #define wxUSE_MSGDLG 1
51088 if test "$wxUSE_NUMBERDLG" = "yes"; then
51089 cat >>confdefs.h <<\_ACEOF
51090 #define wxUSE_NUMBERDLG 1
51095 if test "$wxUSE_PROGRESSDLG" = "yes"; then
51096 cat >>confdefs.h <<\_ACEOF
51097 #define wxUSE_PROGRESSDLG 1
51102 if test "$wxUSE_SPLASH" = "yes"; then
51103 cat >>confdefs.h <<\_ACEOF
51104 #define wxUSE_SPLASH 1
51107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
51110 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
51111 cat >>confdefs.h <<\_ACEOF
51112 #define wxUSE_STARTUP_TIPS 1
51117 if test "$wxUSE_TEXTDLG" = "yes"; then
51118 cat >>confdefs.h <<\_ACEOF
51119 #define wxUSE_TEXTDLG 1
51124 if test "$wxUSE_WIZARDDLG" = "yes"; then
51125 cat >>confdefs.h <<\_ACEOF
51126 #define wxUSE_WIZARDDLG 1
51129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
51133 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
51134 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
51135 cat >>confdefs.h <<\_ACEOF
51136 #define wxUSE_OWNER_DRAWN 1
51143 if test "$wxUSE_MSW" = 1 ; then
51145 if test "$wxUSE_DC_CACHEING" = "yes"; then
51146 cat >>confdefs.h <<\_ACEOF
51147 #define wxUSE_DC_CACHEING 1
51152 if test "$wxUSE_DIB" = "yes"; then
51153 cat >>confdefs.h <<\_ACEOF
51154 #define wxUSE_WXDIB 1
51159 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
51160 cat >>confdefs.h <<\_ACEOF
51161 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
51166 if test "$wxUSE_UXTHEME" = "yes"; then
51167 cat >>confdefs.h <<\_ACEOF
51168 #define wxUSE_UXTHEME 1
51175 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
51176 cat >>confdefs.h <<\_ACEOF
51177 #define wxUSE_AUTOID_MANAGEMENT 1
51182 if test "$USE_WIN32" = 1 ; then
51183 if test "$wxUSE_INICONF" = "yes"; then
51184 cat >>confdefs.h <<\_ACEOF
51185 #define wxUSE_INICONF 1
51190 if test "$wxUSE_REGKEY" = "yes"; then
51191 cat >>confdefs.h <<\_ACEOF
51192 #define wxUSE_REGKEY 1
51199 if test "$wxUSE_MAC" = 1; then
51200 wxUSE_GRAPHICS_CONTEXT="yes"
51203 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
51205 if test "$wxUSE_MSW" = 1; then
51206 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
51207 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
51208 if test "${wx_cv_lib_gdiplus+set}" = set; then
51209 echo $ECHO_N "(cached) $ECHO_C" >&6
51213 ac_cpp='$CXXCPP $CPPFLAGS'
51214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51218 cat >conftest.$ac_ext <<_ACEOF
51221 cat confdefs.h >>conftest.$ac_ext
51222 cat >>conftest.$ac_ext <<_ACEOF
51223 /* end confdefs.h. */
51224 #include <windows.h>
51225 #include <gdiplus.h>
51230 using namespace Gdiplus;
51236 rm -f conftest.$ac_objext
51237 if { (ac_try="$ac_compile"
51238 case "(($ac_try" in
51239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51240 *) ac_try_echo=$ac_try;;
51242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51243 (eval "$ac_compile") 2>conftest.er1
51245 grep -v '^ *+' conftest.er1 >conftest.err
51247 cat conftest.err >&5
51248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51249 (exit $ac_status); } && {
51250 test -z "$ac_cxx_werror_flag" ||
51251 test ! -s conftest.err
51252 } && test -s conftest.$ac_objext; then
51253 wx_cv_lib_gdiplus=yes
51255 echo "$as_me: failed program was:" >&5
51256 sed 's/^/| /' conftest.$ac_ext >&5
51258 wx_cv_lib_gdiplus=no
51262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51264 ac_cpp='$CPP $CPPFLAGS'
51265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51272 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
51273 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
51274 if test "$wx_cv_lib_gdiplus" = "yes"; then
51277 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
51280 { echo "$as_me:$LINENO: checking for CAIRO" >&5
51281 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
51283 if test -n "$PKG_CONFIG"; then
51284 if test -n "$CAIRO_CFLAGS"; then
51285 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
51287 if test -n "$PKG_CONFIG" && \
51288 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51289 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51292 (exit $ac_status); }; then
51293 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
51301 if test -n "$PKG_CONFIG"; then
51302 if test -n "$CAIRO_LIBS"; then
51303 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
51305 if test -n "$PKG_CONFIG" && \
51306 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51307 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51310 (exit $ac_status); }; then
51311 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
51322 if test $pkg_failed = yes; then
51324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51325 _pkg_short_errors_supported=yes
51327 _pkg_short_errors_supported=no
51329 if test $_pkg_short_errors_supported = yes; then
51330 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
51332 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
51334 # Put the nasty error message in config.log where it belongs
51335 echo "$CAIRO_PKG_ERRORS" >&5
51337 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51338 echo "$as_me: WARNING: Cairo library not found" >&2;}
51340 elif test $pkg_failed = untried; then
51341 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51342 echo "$as_me: WARNING: Cairo library not found" >&2;}
51345 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
51346 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
51347 { echo "$as_me:$LINENO: result: yes" >&5
51348 echo "${ECHO_T}yes" >&6; }
51351 if test "$wx_has_graphics" = 1; then
51353 LIBS="$LIBS $CAIRO_LIBS"
51355 for ac_func in cairo_push_group
51357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51358 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51360 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51361 echo $ECHO_N "(cached) $ECHO_C" >&6
51363 cat >conftest.$ac_ext <<_ACEOF
51366 cat confdefs.h >>conftest.$ac_ext
51367 cat >>conftest.$ac_ext <<_ACEOF
51368 /* end confdefs.h. */
51369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51371 #define $ac_func innocuous_$ac_func
51373 /* System header to define __stub macros and hopefully few prototypes,
51374 which can conflict with char $ac_func (); below.
51375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51376 <limits.h> exists even on freestanding compilers. */
51379 # include <limits.h>
51381 # include <assert.h>
51386 /* Override any GCC internal prototype to avoid an error.
51387 Use char because int might match the return type of a GCC
51388 builtin and then its argument prototype would still apply. */
51393 /* The GNU C library defines this for functions which it implements
51394 to always fail with ENOSYS. Some functions are actually named
51395 something starting with __ and the normal name is an alias. */
51396 #if defined __stub_$ac_func || defined __stub___$ac_func
51403 return $ac_func ();
51408 rm -f conftest.$ac_objext conftest$ac_exeext
51409 if { (ac_try="$ac_link"
51410 case "(($ac_try" in
51411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51412 *) ac_try_echo=$ac_try;;
51414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51415 (eval "$ac_link") 2>conftest.er1
51417 grep -v '^ *+' conftest.er1 >conftest.err
51419 cat conftest.err >&5
51420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51421 (exit $ac_status); } && {
51422 test -z "$ac_c_werror_flag" ||
51423 test ! -s conftest.err
51424 } && test -s conftest$ac_exeext &&
51425 $as_test_x conftest$ac_exeext; then
51426 eval "$as_ac_var=yes"
51428 echo "$as_me: failed program was:" >&5
51429 sed 's/^/| /' conftest.$ac_ext >&5
51431 eval "$as_ac_var=no"
51434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51435 conftest$ac_exeext conftest.$ac_ext
51437 ac_res=`eval echo '${'$as_ac_var'}'`
51438 { echo "$as_me:$LINENO: result: $ac_res" >&5
51439 echo "${ECHO_T}$ac_res" >&6; }
51440 if test `eval echo '${'$as_ac_var'}'` = yes; then
51441 cat >>confdefs.h <<_ACEOF
51442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51449 if test "$ac_cv_func_cairo_push_group" = "no"; then
51451 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
51452 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
51454 cat >>confdefs.h <<\_ACEOF
51455 #define wxUSE_CAIRO 1
51459 if test "$wxUSE_GTK" != 1; then
51460 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
51461 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
51469 if test "$wx_has_graphics" = 1; then
51470 cat >>confdefs.h <<\_ACEOF
51471 #define wxUSE_GRAPHICS_CONTEXT 1
51475 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
51476 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
51483 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
51486 if test "$wxUSE_GTK" = 1; then
51487 wxUSE_GSTREAMER="no"
51489 GST_VERSION_MAJOR=0
51490 GST_VERSION_MINOR=10
51491 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51493 if test "$wxUSE_GSTREAMER8" = "no"; then
51496 { echo "$as_me:$LINENO: checking for GST" >&5
51497 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51499 if test -n "$PKG_CONFIG"; then
51500 if test -n "$GST_CFLAGS"; then
51501 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51503 if test -n "$PKG_CONFIG" && \
51504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51505 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51508 (exit $ac_status); }; then
51509 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51517 if test -n "$PKG_CONFIG"; then
51518 if test -n "$GST_LIBS"; then
51519 pkg_cv_GST_LIBS="$GST_LIBS"
51521 if test -n "$PKG_CONFIG" && \
51522 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51523 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51526 (exit $ac_status); }; then
51527 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51538 if test $pkg_failed = yes; then
51540 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51541 _pkg_short_errors_supported=yes
51543 _pkg_short_errors_supported=no
51545 if test $_pkg_short_errors_supported = yes; then
51546 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51548 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51550 # Put the nasty error message in config.log where it belongs
51551 echo "$GST_PKG_ERRORS" >&5
51554 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51555 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51556 GST_VERSION_MINOR=8
51559 elif test $pkg_failed = untried; then
51561 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51562 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51563 GST_VERSION_MINOR=8
51567 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51568 GST_LIBS=$pkg_cv_GST_LIBS
51569 { echo "$as_me:$LINENO: result: yes" >&5
51570 echo "${ECHO_T}yes" >&6; }
51572 wxUSE_GSTREAMER="yes"
51573 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
51577 GST_VERSION_MINOR=8
51580 if test $GST_VERSION_MINOR = "8"; then
51581 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51584 { echo "$as_me:$LINENO: checking for GST" >&5
51585 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51587 if test -n "$PKG_CONFIG"; then
51588 if test -n "$GST_CFLAGS"; then
51589 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51591 if test -n "$PKG_CONFIG" && \
51592 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51593 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51596 (exit $ac_status); }; then
51597 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51605 if test -n "$PKG_CONFIG"; then
51606 if test -n "$GST_LIBS"; then
51607 pkg_cv_GST_LIBS="$GST_LIBS"
51609 if test -n "$PKG_CONFIG" && \
51610 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51611 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51614 (exit $ac_status); }; then
51615 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51626 if test $pkg_failed = yes; then
51628 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51629 _pkg_short_errors_supported=yes
51631 _pkg_short_errors_supported=no
51633 if test $_pkg_short_errors_supported = yes; then
51634 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51636 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51638 # Put the nasty error message in config.log where it belongs
51639 echo "$GST_PKG_ERRORS" >&5
51642 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51643 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51645 elif test $pkg_failed = untried; then
51647 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51648 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51651 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51652 GST_LIBS=$pkg_cv_GST_LIBS
51653 { echo "$as_me:$LINENO: result: yes" >&5
51654 echo "${ECHO_T}yes" >&6; }
51655 wxUSE_GSTREAMER="yes"
51660 if test "$wxUSE_GSTREAMER" = "yes"; then
51661 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
51662 EXTRALIBS_MEDIA="$GST_LIBS"
51664 cat >>confdefs.h <<\_ACEOF
51665 #define wxUSE_GSTREAMER 1
51673 if test $USE_MEDIA = 1; then
51674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
51675 cat >>confdefs.h <<\_ACEOF
51676 #define wxUSE_MEDIACTRL 1
51680 if test "$wxUSE_MEDIACTRL" = "yes"; then
51681 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
51682 echo "$as_me: error: GStreamer not available" >&2;}
51683 { (exit 1); exit 1; }; }
51685 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
51686 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
51692 if test "$cross_compiling" != "no"; then
51695 OSINFO=`uname -s -r -m`
51696 OSINFO="\"$OSINFO\""
51699 cat >>confdefs.h <<_ACEOF
51700 #define WXWIN_OS_DESCRIPTION $OSINFO
51705 if test "x$prefix" != "xNONE"; then
51708 wxPREFIX=$ac_default_prefix
51711 cat >>confdefs.h <<_ACEOF
51712 #define wxINSTALL_PREFIX "$wxPREFIX"
51718 STD_BASE_LIBS="base"
51720 BUILT_WX_LIBS="base"
51721 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
51723 if test "$wxUSE_SOCKETS" = "yes" ; then
51724 STD_BASE_LIBS="net $STD_BASE_LIBS"
51725 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
51727 if test "$wxUSE_XML" = "yes" ; then
51728 STD_BASE_LIBS="xml $STD_BASE_LIBS"
51729 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
51732 if test "$wxUSE_GUI" = "yes"; then
51733 STD_GUI_LIBS="adv core"
51734 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
51736 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51737 STD_GUI_LIBS="qa $STD_GUI_LIBS"
51738 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
51740 if test "$wxUSE_HTML" = "yes" ; then
51741 STD_GUI_LIBS="html $STD_GUI_LIBS"
51742 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
51744 if test "$wxUSE_MEDIACTRL" = "yes" ; then
51745 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
51747 if test "$wxUSE_OPENGL" = "yes" ; then
51748 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
51750 if test "$wxUSE_AUI" = "yes" ; then
51751 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
51753 if test "$wxUSE_PROPGRID" = "yes" ; then
51754 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
51756 if test "$wxUSE_RIBBON" = "yes" ; then
51757 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
51759 if test "$wxUSE_RICHTEXT" = "yes" ; then
51760 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
51762 if test "$wxUSE_STC" = "yes" ; then
51763 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
51765 if test "$wxUSE_WEBVIEW" = "yes" ; then
51766 STD_GUI_LIBS="webview $STD_GUI_LIBS"
51767 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
51769 if test "$wxUSE_XRC" = "yes" ; then
51770 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
51771 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
51782 if test "$wxUSE_MAC" = 1 ; then
51783 if test "$USE_DARWIN" = 1; then
51784 if test "$wxUSE_OSX_IPHONE" = 1; then
51785 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
51787 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
51791 if test "$wxUSE_OLD_COCOA" = 1 ; then
51792 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
51793 if test "$wxUSE_MEDIACTRL" = "yes"; then
51794 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
51797 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
51798 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
51801 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
51802 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
51804 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
51806 if test "$wxUSE_GUI" = "yes"; then
51809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
51810 erase event exec font image minimal render \
51811 shaped svg taborder vscroll widgets wrapsizer"
51813 if test "$wxUSE_MONOLITHIC" != "yes"; then
51814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
51816 if test "$TOOLKIT" = "MSW"; then
51817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
51818 if test "$wxUSE_UNIVERSAL" != "yes"; then
51819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
51822 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
51823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
51826 SAMPLES_SUBDIRS="console"
51827 if test "$wxUSE_SOCKETS" = "yes" ; then
51828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
51830 if test "$wxUSE_IPC" = "yes" ; then
51831 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
51836 if test "x$INTELCC" = "xyes" ; then
51837 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
51838 elif test "$GCC" = yes ; then
51839 CWARNINGS="-Wall -Wundef"
51842 if test "x$INTELCXX" = "xyes" ; then
51843 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
51844 elif test "$GXX" = yes ; then
51845 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
51846 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
51847 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
51848 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
51849 echo $ECHO_N "(cached) $ECHO_C" >&6
51851 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
51854 ac_cpp='$CXXCPP $CPPFLAGS'
51855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51859 ac_save_CXXFLAGS="$CXXFLAGS"
51860 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
51861 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
51862 cat >conftest.$ac_ext <<_ACEOF
51865 cat confdefs.h >>conftest.$ac_ext
51866 cat >>conftest.$ac_ext <<_ACEOF
51867 /* end confdefs.h. */
51877 rm -f conftest.$ac_objext
51878 if { (ac_try="$ac_compile"
51879 case "(($ac_try" in
51880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51881 *) ac_try_echo=$ac_try;;
51883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51884 (eval "$ac_compile") 2>conftest.er1
51886 grep -v '^ *+' conftest.er1 >conftest.err
51888 cat conftest.err >&5
51889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51890 (exit $ac_status); } && {
51891 test -z "$ac_cxx_werror_flag" ||
51892 test ! -s conftest.err
51893 } && test -s conftest.$ac_objext; then
51894 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
51896 echo "$as_me: failed program was:" >&5
51897 sed 's/^/| /' conftest.$ac_ext >&5
51902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51904 CXXFLAGS="$ac_save_CXXFLAGS"
51906 ac_cpp='$CPP $CPPFLAGS'
51907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51913 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
51914 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
51915 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
51919 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
51920 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
51921 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
51923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51924 (exit $ac_status); }
51925 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
51926 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
51928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51929 (exit $ac_status); }
51930 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
51936 if test "$wxUSE_MAC" = 1 ; then
51937 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
51942 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
51943 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
51946 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
51947 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
51948 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
51951 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
51952 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
51953 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
51954 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
51955 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
51957 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
51960 if test "x$MWCC" = "xyes"; then
51962 CC="$CC -cwd source -I-"
51963 CXX="$CXX -cwd source -I-"
51968 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
51969 EXTRALIBS_XML="$EXPAT_LINK"
51970 EXTRALIBS_HTML="$MSPACK_LINK"
51971 EXTRALIBS_MEDIA="$GST_LIBS"
51972 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
51973 if test "$wxUSE_GUI" = "yes"; then
51974 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
51976 if test "$wxUSE_OPENGL" = "yes"; then
51977 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
51980 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
51982 WXCONFIG_LIBS="$LIBS"
51984 if test "$wxUSE_REGEX" = "builtin" ; then
51985 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
51987 if test "$wxUSE_EXPAT" = "builtin" ; then
51988 wxconfig_3rdparty="expat $wxconfig_3rdparty"
51990 if test "$wxUSE_LIBTIFF" = "builtin" ; then
51991 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
51993 if test "$wxUSE_LIBJPEG" = "builtin" ; then
51994 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
51996 if test "$wxUSE_LIBPNG" = "builtin" ; then
51997 wxconfig_3rdparty="png $wxconfig_3rdparty"
51999 if test "$wxUSE_ZLIB" = "builtin" ; then
52000 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
52003 for i in $wxconfig_3rdparty ; do
52004 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
52008 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
52011 case "$wxUNIV_THEMES" in
52013 cat >>confdefs.h <<\_ACEOF
52014 #define wxUSE_ALL_THEMES 1
52020 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
52021 cat >>confdefs.h <<_ACEOF
52022 #define wxUSE_THEME_$t 1
52038 if test $wxUSE_MONOLITHIC = "yes" ; then
52044 if test $wxUSE_PLUGINS = "yes" ; then
52050 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
52056 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
52088 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
52101 TOOLKIT_DESC="GTK+"
52102 if test "$WXGTK2" = 1; then
52103 TOOLKIT_DESC="$TOOLKIT_DESC 2"
52104 if test "$wxUSE_GTKPRINT" = "yes" ; then
52105 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
52107 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
52108 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
52110 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
52111 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
52113 if test "$wxUSE_LIBHILDON" = "yes"; then
52114 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52116 if test "$wxUSE_LIBHILDON2" = "yes"; then
52117 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52120 if test "$TOOLKIT_EXTRA" != ""; then
52121 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
52127 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
52131 TOOLKIT_DESC="base only"
52135 if test "$wxUSE_WINE" = "yes"; then
52136 BAKEFILE_FORCE_PLATFORM=win32
52139 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
52141 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
52142 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
52143 if test "${wx_cv_gcc_pch_bug+set}" = set; then
52144 echo $ECHO_N "(cached) $ECHO_C" >&6
52147 echo '#include <stdio.h>
52148 const wchar_t test_var[] = L"awidetest";' > conftest.h
52150 echo '#include "conftest.h"
52153 printf("%ls", test_var);
52157 wx_cv_gcc_pch_bug="pch not supported"
52159 if $CXX conftest.h >/dev/null 2>&1
52163 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
52165 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
52166 grep awidetest >/dev/null
52168 wx_cv_gcc_pch_bug=no
52170 wx_cv_gcc_pch_bug=yes
52175 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
52178 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
52179 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
52181 if test "$wx_cv_gcc_pch_bug" = yes; then
52192 if test "x$BAKEFILE_HOST" = "x"; then
52193 if test "x${host}" = "x" ; then
52194 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
52195 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
52196 { (exit 1); exit 1; }; }
52199 BAKEFILE_HOST="${host}"
52202 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
52204 if test -n "$ac_tool_prefix"; then
52205 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
52206 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
52207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52209 if test "${ac_cv_prog_RANLIB+set}" = set; then
52210 echo $ECHO_N "(cached) $ECHO_C" >&6
52212 if test -n "$RANLIB"; then
52213 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
52215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52216 for as_dir in $PATH
52219 test -z "$as_dir" && as_dir=.
52220 for ac_exec_ext in '' $ac_executable_extensions; do
52221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52222 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
52223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52232 RANLIB=$ac_cv_prog_RANLIB
52233 if test -n "$RANLIB"; then
52234 { echo "$as_me:$LINENO: result: $RANLIB" >&5
52235 echo "${ECHO_T}$RANLIB" >&6; }
52237 { echo "$as_me:$LINENO: result: no" >&5
52238 echo "${ECHO_T}no" >&6; }
52243 if test -z "$ac_cv_prog_RANLIB"; then
52244 ac_ct_RANLIB=$RANLIB
52245 # Extract the first word of "ranlib", so it can be a program name with args.
52246 set dummy ranlib; ac_word=$2
52247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52249 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
52250 echo $ECHO_N "(cached) $ECHO_C" >&6
52252 if test -n "$ac_ct_RANLIB"; then
52253 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
52255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52256 for as_dir in $PATH
52259 test -z "$as_dir" && as_dir=.
52260 for ac_exec_ext in '' $ac_executable_extensions; do
52261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52262 ac_cv_prog_ac_ct_RANLIB="ranlib"
52263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52272 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
52273 if test -n "$ac_ct_RANLIB"; then
52274 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
52275 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
52277 { echo "$as_me:$LINENO: result: no" >&5
52278 echo "${ECHO_T}no" >&6; }
52281 if test "x$ac_ct_RANLIB" = x; then
52284 case $cross_compiling:$ac_tool_warned in
52286 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52287 whose name does not start with the host triplet. If you think this
52288 configuration is useful to you, please write to autoconf@gnu.org." >&5
52289 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52290 whose name does not start with the host triplet. If you think this
52291 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52292 ac_tool_warned=yes ;;
52294 RANLIB=$ac_ct_RANLIB
52297 RANLIB="$ac_cv_prog_RANLIB"
52300 # Find a good install program. We prefer a C program (faster),
52301 # so one script is as good as another. But avoid the broken or
52302 # incompatible versions:
52303 # SysV /etc/install, /usr/sbin/install
52304 # SunOS /usr/etc/install
52305 # IRIX /sbin/install
52307 # AmigaOS /C/install, which installs bootblocks on floppy discs
52308 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
52309 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
52310 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
52311 # OS/2's system install, which has a completely different semantic
52312 # ./install, which can be erroneously created by make from ./install.sh.
52313 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
52314 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
52315 if test -z "$INSTALL"; then
52316 if test "${ac_cv_path_install+set}" = set; then
52317 echo $ECHO_N "(cached) $ECHO_C" >&6
52319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52320 for as_dir in $PATH
52323 test -z "$as_dir" && as_dir=.
52324 # Account for people who put trailing slashes in PATH elements.
52326 ./ | .// | /cC/* | \
52327 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
52328 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
52331 # OSF1 and SCO ODT 3.0 have their own names for install.
52332 # Don't use installbsd from OSF since it installs stuff as root
52334 for ac_prog in ginstall scoinst install; do
52335 for ac_exec_ext in '' $ac_executable_extensions; do
52336 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
52337 if test $ac_prog = install &&
52338 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52339 # AIX install. It has an incompatible calling convention.
52341 elif test $ac_prog = install &&
52342 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52343 # program-specific install script used by HP pwplus--don't use.
52346 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
52359 if test "${ac_cv_path_install+set}" = set; then
52360 INSTALL=$ac_cv_path_install
52362 # As a last resort, use the slow shell script. Don't cache a
52363 # value for INSTALL within a source directory, because that will
52364 # break other packages using the cache if that directory is
52365 # removed, or if the value is a relative name.
52366 INSTALL=$ac_install_sh
52369 { echo "$as_me:$LINENO: result: $INSTALL" >&5
52370 echo "${ECHO_T}$INSTALL" >&6; }
52372 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
52373 # It thinks the first close brace ends the variable substitution.
52374 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
52376 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
52378 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
52380 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
52381 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
52383 if test "$LN_S" = "ln -s"; then
52384 { echo "$as_me:$LINENO: result: yes" >&5
52385 echo "${ECHO_T}yes" >&6; }
52387 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
52388 echo "${ECHO_T}no, using $LN_S" >&6; }
52392 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52393 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52394 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52395 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52396 echo $ECHO_N "(cached) $ECHO_C" >&6
52398 cat >conftest.make <<\_ACEOF
52401 @echo '@@@%%%=$(MAKE)=@@@%%%'
52403 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52404 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52405 *@@@%%%=?*=@@@%%%*)
52406 eval ac_cv_prog_make_${ac_make}_set=yes;;
52408 eval ac_cv_prog_make_${ac_make}_set=no;;
52410 rm -f conftest.make
52412 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52413 { echo "$as_me:$LINENO: result: yes" >&5
52414 echo "${ECHO_T}yes" >&6; }
52417 { echo "$as_me:$LINENO: result: no" >&5
52418 echo "${ECHO_T}no" >&6; }
52419 SET_MAKE="MAKE=${MAKE-make}"
52424 if test "x$SUNCXX" = "xyes"; then
52426 AROPTIONS="-xar -o"
52428 elif test "x$SGICC" = "xyes"; then
52433 if test -n "$ac_tool_prefix"; then
52434 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
52435 set dummy ${ac_tool_prefix}ar; ac_word=$2
52436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52438 if test "${ac_cv_prog_AR+set}" = set; then
52439 echo $ECHO_N "(cached) $ECHO_C" >&6
52441 if test -n "$AR"; then
52442 ac_cv_prog_AR="$AR" # Let the user override the test.
52444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52445 for as_dir in $PATH
52448 test -z "$as_dir" && as_dir=.
52449 for ac_exec_ext in '' $ac_executable_extensions; do
52450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52451 ac_cv_prog_AR="${ac_tool_prefix}ar"
52452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52462 if test -n "$AR"; then
52463 { echo "$as_me:$LINENO: result: $AR" >&5
52464 echo "${ECHO_T}$AR" >&6; }
52466 { echo "$as_me:$LINENO: result: no" >&5
52467 echo "${ECHO_T}no" >&6; }
52472 if test -z "$ac_cv_prog_AR"; then
52474 # Extract the first word of "ar", so it can be a program name with args.
52475 set dummy ar; ac_word=$2
52476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52478 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
52479 echo $ECHO_N "(cached) $ECHO_C" >&6
52481 if test -n "$ac_ct_AR"; then
52482 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
52484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52485 for as_dir in $PATH
52488 test -z "$as_dir" && as_dir=.
52489 for ac_exec_ext in '' $ac_executable_extensions; do
52490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52491 ac_cv_prog_ac_ct_AR="ar"
52492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52501 ac_ct_AR=$ac_cv_prog_ac_ct_AR
52502 if test -n "$ac_ct_AR"; then
52503 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
52504 echo "${ECHO_T}$ac_ct_AR" >&6; }
52506 { echo "$as_me:$LINENO: result: no" >&5
52507 echo "${ECHO_T}no" >&6; }
52510 if test "x$ac_ct_AR" = x; then
52513 case $cross_compiling:$ac_tool_warned in
52515 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52516 whose name does not start with the host triplet. If you think this
52517 configuration is useful to you, please write to autoconf@gnu.org." >&5
52518 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52519 whose name does not start with the host triplet. If you think this
52520 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52521 ac_tool_warned=yes ;;
52526 AR="$ac_cv_prog_AR"
52533 if test -n "$ac_tool_prefix"; then
52534 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
52535 set dummy ${ac_tool_prefix}strip; ac_word=$2
52536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52538 if test "${ac_cv_prog_STRIP+set}" = set; then
52539 echo $ECHO_N "(cached) $ECHO_C" >&6
52541 if test -n "$STRIP"; then
52542 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
52544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52545 for as_dir in $PATH
52548 test -z "$as_dir" && as_dir=.
52549 for ac_exec_ext in '' $ac_executable_extensions; do
52550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52551 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
52552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52561 STRIP=$ac_cv_prog_STRIP
52562 if test -n "$STRIP"; then
52563 { echo "$as_me:$LINENO: result: $STRIP" >&5
52564 echo "${ECHO_T}$STRIP" >&6; }
52566 { echo "$as_me:$LINENO: result: no" >&5
52567 echo "${ECHO_T}no" >&6; }
52572 if test -z "$ac_cv_prog_STRIP"; then
52574 # Extract the first word of "strip", so it can be a program name with args.
52575 set dummy strip; ac_word=$2
52576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52578 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
52579 echo $ECHO_N "(cached) $ECHO_C" >&6
52581 if test -n "$ac_ct_STRIP"; then
52582 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
52584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52585 for as_dir in $PATH
52588 test -z "$as_dir" && as_dir=.
52589 for ac_exec_ext in '' $ac_executable_extensions; do
52590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52591 ac_cv_prog_ac_ct_STRIP="strip"
52592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52601 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
52602 if test -n "$ac_ct_STRIP"; then
52603 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
52604 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
52606 { echo "$as_me:$LINENO: result: no" >&5
52607 echo "${ECHO_T}no" >&6; }
52610 if test "x$ac_ct_STRIP" = x; then
52613 case $cross_compiling:$ac_tool_warned in
52615 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52616 whose name does not start with the host triplet. If you think this
52617 configuration is useful to you, please write to autoconf@gnu.org." >&5
52618 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52619 whose name does not start with the host triplet. If you think this
52620 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52621 ac_tool_warned=yes ;;
52626 STRIP="$ac_cv_prog_STRIP"
52629 if test -n "$ac_tool_prefix"; then
52630 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
52631 set dummy ${ac_tool_prefix}nm; ac_word=$2
52632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52634 if test "${ac_cv_prog_NM+set}" = set; then
52635 echo $ECHO_N "(cached) $ECHO_C" >&6
52637 if test -n "$NM"; then
52638 ac_cv_prog_NM="$NM" # Let the user override the test.
52640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52641 for as_dir in $PATH
52644 test -z "$as_dir" && as_dir=.
52645 for ac_exec_ext in '' $ac_executable_extensions; do
52646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52647 ac_cv_prog_NM="${ac_tool_prefix}nm"
52648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52658 if test -n "$NM"; then
52659 { echo "$as_me:$LINENO: result: $NM" >&5
52660 echo "${ECHO_T}$NM" >&6; }
52662 { echo "$as_me:$LINENO: result: no" >&5
52663 echo "${ECHO_T}no" >&6; }
52668 if test -z "$ac_cv_prog_NM"; then
52670 # Extract the first word of "nm", so it can be a program name with args.
52671 set dummy nm; ac_word=$2
52672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52674 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
52675 echo $ECHO_N "(cached) $ECHO_C" >&6
52677 if test -n "$ac_ct_NM"; then
52678 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
52680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52681 for as_dir in $PATH
52684 test -z "$as_dir" && as_dir=.
52685 for ac_exec_ext in '' $ac_executable_extensions; do
52686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52687 ac_cv_prog_ac_ct_NM="nm"
52688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52697 ac_ct_NM=$ac_cv_prog_ac_ct_NM
52698 if test -n "$ac_ct_NM"; then
52699 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
52700 echo "${ECHO_T}$ac_ct_NM" >&6; }
52702 { echo "$as_me:$LINENO: result: no" >&5
52703 echo "${ECHO_T}no" >&6; }
52706 if test "x$ac_ct_NM" = x; then
52709 case $cross_compiling:$ac_tool_warned in
52711 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52712 whose name does not start with the host triplet. If you think this
52713 configuration is useful to you, please write to autoconf@gnu.org." >&5
52714 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52715 whose name does not start with the host triplet. If you think this
52716 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52717 ac_tool_warned=yes ;;
52722 NM="$ac_cv_prog_NM"
52726 INSTALL_DIR="mkdir -p"
52730 case ${BAKEFILE_HOST} in
52731 *-*-cygwin* | *-*-mingw32* )
52732 LDFLAGS_GUI="-mwindows"
52738 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
52739 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
52740 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
52741 echo $ECHO_N "(cached) $ECHO_C" >&6
52744 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
52745 egrep -s GNU > /dev/null); then
52746 bakefile_cv_prog_makeisgnu="yes"
52748 bakefile_cv_prog_makeisgnu="no"
52752 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
52753 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
52755 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
52772 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
52773 case "${BAKEFILE_HOST}" in
52780 *-pc-os2_emx | *-pc-os2-emx )
52790 powerpc-apple-macos* )
52799 case "$BAKEFILE_FORCE_PLATFORM" in
52820 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
52821 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
52822 { (exit 1); exit 1; }; }
52837 # Check whether --enable-omf was given.
52838 if test "${enable_omf+set}" = set; then
52839 enableval=$enable_omf; bk_os2_use_omf="$enableval"
52843 case "${BAKEFILE_HOST}" in
52845 if test "x$GCC" = "xyes"; then
52846 CFLAGS="$CFLAGS -fno-common"
52847 CXXFLAGS="$CXXFLAGS -fno-common"
52849 if test "x$XLCC" = "xyes"; then
52850 CFLAGS="$CFLAGS -qnocommon"
52851 CXXFLAGS="$CXXFLAGS -qnocommon"
52855 *-pc-os2_emx | *-pc-os2-emx )
52856 if test "x$bk_os2_use_omf" = "xyes" ; then
52859 LDFLAGS="-Zomf $LDFLAGS"
52860 CFLAGS="-Zomf $CFLAGS"
52861 CXXFLAGS="-Zomf $CXXFLAGS"
52869 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
52875 SO_SUFFIX_MODULE="so"
52880 DLLPREFIX_MODULE=""
52884 case "${BAKEFILE_HOST}" in
52889 SO_SUFFIX_MODULE="sl"
52893 SO_SUFFIX_MODULE="a"
52897 SO_SUFFIX_MODULE="dll"
52898 DLLIMP_SUFFIX="dll.a"
52905 SO_SUFFIX_MODULE="dll"
52906 DLLIMP_SUFFIX="dll.a"
52916 *-pc-os2_emx | *-pc-os2-emx )
52918 SO_SUFFIX_MODULE="dll"
52919 DLLIMP_SUFFIX=$OS2_LIBEXT
52923 LIBEXT=".$OS2_LIBEXT"
52928 SO_SUFFIX_MODULE="bundle"
52932 if test "x$DLLIMP_SUFFIX" = "x" ; then
52933 DLLIMP_SUFFIX="$SO_SUFFIX"
52948 if test "x$GCC" = "xyes"; then
52952 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
52953 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
52956 case "${BAKEFILE_HOST}" in
52958 if test "x$GCC" != "xyes"; then
52959 LDFLAGS="$LDFLAGS -L/usr/lib"
52961 SHARED_LD_CC="${CC} -b -o"
52962 SHARED_LD_CXX="${CXX} -b -o"
52968 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
52970 elif test "x$SUNCXX" = "xyes"; then
52971 SHARED_LD_CC="${CC} -G -o"
52972 SHARED_LD_CXX="${CXX} -G -o"
52978 if test "x$SUNCXX" = xyes ; then
52979 SHARED_LD_CC="${CC} -G -o"
52980 SHARED_LD_CXX="${CXX} -G -o"
52988 cat <<EOF >shared-ld-sh
52990 #-----------------------------------------------------------------------------
52991 #-- Name: distrib/mac/shared-ld-sh
52992 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
52993 #-- Author: Gilles Depeyrot
52994 #-- Copyright: (c) 2002 Gilles Depeyrot
52995 #-- Licence: any use permitted
52996 #-----------------------------------------------------------------------------
53001 linking_flag="-dynamiclib"
53002 ldargs="-r -keep_private_externs -nostdlib"
53004 if test "x${D}CXX" = "x"; then
53008 while test ${D}# -gt 0; do
53015 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
53016 # collect these options and values
53017 args="${D}{args} ${D}1 ${D}2"
53022 # collect these options and values
53023 ldargs="${D}{ldargs} ${D}1 ${D}2"
53028 # collect these load args
53029 ldargs="${D}{ldargs} ${D}1"
53032 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
53033 # collect these options
53034 args="${D}{args} ${D}1"
53037 -dynamiclib|-bundle)
53038 linking_flag="${D}1"
53042 echo "shared-ld: unhandled option '${D}1'"
53046 *.o | *.a | *.dylib)
53047 # collect object files
53048 objects="${D}{objects} ${D}1"
53052 echo "shared-ld: unhandled argument '${D}1'"
53063 # Link one module containing all the others
53065 if test ${D}{verbose} = 1; then
53066 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
53068 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
53072 # Link the shared library from the single module created, but only if the
53073 # previous command didn't fail:
53075 if test ${D}{status} = 0; then
53076 if test ${D}{verbose} = 1; then
53077 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
53079 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
53084 # Remove intermediate module
53086 rm -f master.${D}${D}.o
53091 chmod +x shared-ld-sh
53093 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
53094 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
53097 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
53098 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
53099 if test "${bakefile_cv_gcc31+set}" = set; then
53100 echo $ECHO_N "(cached) $ECHO_C" >&6
53103 cat >conftest.$ac_ext <<_ACEOF
53106 cat confdefs.h >>conftest.$ac_ext
53107 cat >>conftest.$ac_ext <<_ACEOF
53108 /* end confdefs.h. */
53114 #if (__GNUC__ < 3) || \
53115 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
53123 rm -f conftest.$ac_objext
53124 if { (ac_try="$ac_compile"
53125 case "(($ac_try" in
53126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53127 *) ac_try_echo=$ac_try;;
53129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53130 (eval "$ac_compile") 2>conftest.er1
53132 grep -v '^ *+' conftest.er1 >conftest.err
53134 cat conftest.err >&5
53135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53136 (exit $ac_status); } && {
53137 test -z "$ac_c_werror_flag" ||
53138 test ! -s conftest.err
53139 } && test -s conftest.$ac_objext; then
53141 bakefile_cv_gcc31=yes
53144 echo "$as_me: failed program was:" >&5
53145 sed 's/^/| /' conftest.$ac_ext >&5
53148 bakefile_cv_gcc31=no
53153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53156 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
53157 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
53158 if test "$bakefile_cv_gcc31" = "no"; then
53159 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
53160 SHARED_LD_CXX="$SHARED_LD_CC"
53162 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
53163 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
53166 if test "x$GCC" == "xyes"; then
53167 PIC_FLAG="-dynamic -fPIC"
53169 if test "x$XLCC" = "xyes"; then
53170 PIC_FLAG="-dynamic -DPIC"
53175 if test "x$GCC" = "xyes"; then
53178 case "${BAKEFILE_HOST}" in
53180 LD_EXPFULL="-Wl,-bexpfull"
53184 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
53185 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
53187 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
53188 set dummy makeC++SharedLib; ac_word=$2
53189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53191 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
53192 echo $ECHO_N "(cached) $ECHO_C" >&6
53194 if test -n "$AIX_CXX_LD"; then
53195 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
53197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53198 for as_dir in $PATH
53201 test -z "$as_dir" && as_dir=.
53202 for ac_exec_ext in '' $ac_executable_extensions; do
53203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53204 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
53205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53212 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
53215 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
53216 if test -n "$AIX_CXX_LD"; then
53217 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
53218 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
53220 { echo "$as_me:$LINENO: result: no" >&5
53221 echo "${ECHO_T}no" >&6; }
53225 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
53226 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
53231 SHARED_LD_CC="${LD} -nostart -o"
53232 SHARED_LD_CXX="${LD} -nostart -o"
53236 if test "x$GCC" != "xyes"; then
53241 *-*-cygwin* | *-*-mingw32* )
53243 SHARED_LD_CC="\$(CC) -shared -o"
53244 SHARED_LD_CXX="\$(CXX) -shared -o"
53248 *-pc-os2_emx | *-pc-os2-emx )
53249 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53250 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53254 cat <<EOF >dllar.sh
53257 # dllar - a tool to build both a .dll and an .a file
53258 # from a set of object (.o) files for EMX/OS2.
53260 # Written by Andrew Zabolotny, bit@freya.etu.ru
53261 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
53263 # This script will accept a set of files on the command line.
53264 # All the public symbols from the .o files will be exported into
53265 # a .DEF file, then linker will be run (through gcc) against them to
53266 # build a shared library consisting of all given .o files. All libraries
53267 # (.a) will be first decompressed into component .o files then act as
53268 # described above. You can optionally give a description (-d "description")
53269 # which will be put into .DLL. To see the list of accepted options (as well
53270 # as command-line format) simply run this program without options. The .DLL
53271 # is built to be imported by name (there is no guarantee that new versions
53272 # of the library you build will have same ordinals for same symbols).
53274 # dllar is free software; you can redistribute it and/or modify
53275 # it under the terms of the GNU General Public License as published by
53276 # the Free Software Foundation; either version 2, or (at your option)
53277 # any later version.
53279 # dllar is distributed in the hope that it will be useful,
53280 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53281 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53282 # GNU General Public License for more details.
53284 # You should have received a copy of the GNU General Public License
53285 # along with dllar; see the file COPYING. If not, write to the Free
53286 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
53289 # To successfuly run this program you will need:
53290 # - Current drive should have LFN support (HPFS, ext2, network, etc)
53291 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
53293 # (used to build the .dll)
53295 # (used to create .def file from .o files)
53297 # (used to create .a file from .def file)
53298 # - GNU text utilites (cat, sort, uniq)
53299 # used to process emxexp output
53300 # - GNU file utilities (mv, rm)
53302 # - lxlite (optional, see flag below)
53303 # (used for general .dll cleanup)
53310 # basnam, variant of basename, which does _not_ remove the path, _iff_
53311 # second argument (suffix to remove) is given
53315 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
53318 echo ${D}1 | sed 's/'${D}2'${D}//'
53321 echo "error in basnam ${D}*"
53327 # Cleanup temporary files and output
53330 for i in ${D}inputFiles ; do
53333 rm -rf \`basnam ${D}i !\`
53340 # Kill result in case of failure as there is just to many stupid make/nmake
53341 # things out there which doesn't do this.
53342 if [ ${D}# -eq 0 ]; then
53343 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
53347 # Print usage and exit script with rc=1.
53349 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
53350 echo ' [-name-mangler-script script.sh]'
53351 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
53352 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
53353 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
53354 echo ' [*.o] [*.a]'
53355 echo '*> "output_file" should have no extension.'
53356 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
53357 echo ' The import library name is derived from this and is set to "name".a,'
53358 echo ' unless overridden by -import'
53359 echo '*> "importlib_name" should have no extension.'
53360 echo ' If it has the .o, or .a extension, it is automatically removed.'
53361 echo ' This name is used as the import library name and may be longer and'
53362 echo ' more descriptive than the DLL name which has to follow the old '
53363 echo ' 8.3 convention of FAT.'
53364 echo '*> "script.sh may be given to override the output_file name by a'
53365 echo ' different name. It is mainly useful if the regular make process'
53366 echo ' of some package does not take into account OS/2 restriction of'
53367 echo ' DLL name lengths. It takes the importlib name as input and is'
53368 echo ' supposed to procude a shorter name as output. The script should'
53369 echo ' expect to get importlib_name without extension and should produce'
53370 echo ' a (max.) 8 letter name without extension.'
53371 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
53372 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
53373 echo ' These flags will be put at the start of GCC command line.'
53374 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
53375 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
53376 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
53377 echo ' If the last character of a symbol is "*", all symbols beginning'
53378 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
53379 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
53380 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
53381 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
53382 echo ' C runtime DLLs.'
53383 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
53384 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
53385 echo ' unchanged to GCC at the end of command line.'
53386 echo '*> If you create a DLL from a library and you do not specify -o,'
53387 echo ' the basename for DLL and import library will be set to library name,'
53388 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
53389 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
53390 echo ' library will be renamed into gcc_s.a.'
53393 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
53394 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
53399 # Execute a command.
53400 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
53401 # @Uses Whatever CleanUp() uses.
53407 if [ ${D}rcCmd -ne 0 ]; then
53408 echo "command failed, exit code="${D}rcCmd
53423 CFLAGS="-s -Zcrtdll"
53425 EXPORT_BY_ORDINALS=0
53430 case ${D}curDirS in
53434 curDirS=${D}{curDirS}"/"
53437 # Parse commandline
53440 while [ ${D}1 ]; do
53443 EXPORT_BY_ORDINALS=1;
53453 -name-mangler-script)
53474 exclude_symbols=${D}{exclude_symbols}${D}1" "
53478 library_flags=${D}{library_flags}${D}1" "
53497 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53500 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
53501 if [ ${D}omfLinking -eq 1 ]; then
53502 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
53504 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
53509 if [ ${D}libsToLink -ne 0 ]; then
53510 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53512 for file in ${D}1 ; do
53513 if [ -f ${D}file ]; then
53514 inputFiles="${D}{inputFiles} ${D}file"
53518 if [ ${D}found -eq 0 ]; then
53519 echo "ERROR: No file(s) found: "${D}1
53526 done # iterate cmdline words
53529 if [ -z "${D}inputFiles" ]; then
53530 echo "dllar: no input files"
53534 # Now extract all .o files from .a files
53536 for file in ${D}inputFiles ; do
53547 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
53552 dirname=\`basnam ${D}file ${D}suffix\`"_%"
53554 if [ ${D}? -ne 0 ]; then
53555 echo "Failed to create subdirectory ./${D}dirname"
53559 # Append '!' to indicate archive
53560 newInputFiles="${D}newInputFiles ${D}{dirname}!"
53561 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
53564 for subfile in ${D}dirname/*.o* ; do
53565 if [ -f ${D}subfile ]; then
53567 if [ -s ${D}subfile ]; then
53568 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
53569 newInputFiles="${D}newInputFiles ${D}subfile"
53573 if [ ${D}found -eq 0 ]; then
53574 echo "WARNING: there are no files in archive \\'${D}file\\'"
53578 newInputFiles="${D}{newInputFiles} ${D}file"
53582 inputFiles="${D}newInputFiles"
53584 # Output filename(s).
53586 if [ -z ${D}outFile ]; then
53588 set outFile ${D}inputFiles; outFile=${D}2
53591 # If it is an archive, remove the '!' and the '_%' suffixes
53592 case ${D}outFile in
53594 outFile=\`basnam ${D}outFile _%!\`
53599 case ${D}outFile in
53601 outFile=\`basnam ${D}outFile .dll\`
53604 outFile=\`basnam ${D}outFile .DLL\`
53607 outFile=\`basnam ${D}outFile .o\`
53610 outFile=\`basnam ${D}outFile .obj\`
53613 outFile=\`basnam ${D}outFile .a\`
53616 outFile=\`basnam ${D}outFile .lib\`
53621 case ${D}outimpFile in
53623 outimpFile=\`basnam ${D}outimpFile .a\`
53626 outimpFile=\`basnam ${D}outimpFile .lib\`
53631 if [ -z ${D}outimpFile ]; then
53632 outimpFile=${D}outFile
53634 defFile="${D}{outFile}.def"
53635 arcFile="${D}{outimpFile}.a"
53636 arcFile2="${D}{outimpFile}.lib"
53638 #create ${D}dllFile as something matching 8.3 restrictions,
53639 if [ -z ${D}renameScript ] ; then
53640 dllFile="${D}outFile"
53642 dllFile=\`${D}renameScript ${D}outimpFile\`
53645 if [ ${D}do_backup -ne 0 ] ; then
53646 if [ -f ${D}arcFile ] ; then
53647 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
53649 if [ -f ${D}arcFile2 ] ; then
53650 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
53654 # Extract public symbols from all the object files.
53655 tmpdefFile=${D}{defFile}_%
53656 rm -f ${D}tmpdefFile
53657 for file in ${D}inputFiles ; do
53662 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
53667 # Create the def file.
53669 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
53670 dllFile="${D}{dllFile}.dll"
53671 if [ ! -z ${D}description ]; then
53672 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
53674 echo "EXPORTS" >> ${D}defFile
53676 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
53677 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
53679 # Checks if the export is ok or not.
53680 for word in ${D}exclude_symbols; do
53681 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
53682 mv ${D}{tmpdefFile}% ${D}tmpdefFile
53686 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53687 sed "=" < ${D}tmpdefFile | \\
53691 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
53693 ' > ${D}{tmpdefFile}%
53694 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
53696 rm -f ${D}{tmpdefFile}%
53698 cat ${D}tmpdefFile >> ${D}defFile
53699 rm -f ${D}tmpdefFile
53701 # Do linking, create implib, and apply lxlite.
53703 for file in ${D}inputFiles ; do
53708 gccCmdl="${D}gccCmdl ${D}file"
53712 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
53713 touch "${D}{outFile}.dll"
53715 doCommand "emximp -o ${D}arcFile ${D}defFile"
53716 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
53718 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53721 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
53723 doCommand "emxomf -s -l ${D}arcFile"
53733 powerpc-apple-macos* | \
53734 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
53744 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
53745 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
53746 { (exit 1); exit 1; }; }
53749 if test "x$PIC_FLAG" != "x" ; then
53750 PIC_FLAG="$PIC_FLAG -DPIC"
53753 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
53754 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
53756 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
53757 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
53772 USE_SOTWOSYMLINKS=0
53776 case "${BAKEFILE_HOST}" in
53777 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
53778 *-*-k*bsd*-gnu | *-*-mirbsd* )
53779 if test "x$SUNCXX" = "xyes"; then
53782 SONAME_FLAG="-Wl,-soname,"
53786 USE_SOTWOSYMLINKS=1
53798 USE_SOTWOSYMLINKS=1
53816 # Check whether --enable-dependency-tracking was given.
53817 if test "${enable_dependency_tracking+set}" = set; then
53818 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
53822 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
53823 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
53826 if test "x$bk_use_trackdeps" = "xno" ; then
53828 { echo "$as_me:$LINENO: result: disabled" >&5
53829 echo "${ECHO_T}disabled" >&6; }
53833 if test "x$GCC" = "xyes"; then
53835 case "${BAKEFILE_HOST}" in
53837 DEPSFLAG="-no-cpp-precomp -MMD"
53843 { echo "$as_me:$LINENO: result: gcc" >&5
53844 echo "${ECHO_T}gcc" >&6; }
53845 elif test "x$MWCC" = "xyes"; then
53848 { echo "$as_me:$LINENO: result: mwcc" >&5
53849 echo "${ECHO_T}mwcc" >&6; }
53850 elif test "x$SUNCC" = "xyes"; then
53853 { echo "$as_me:$LINENO: result: Sun cc" >&5
53854 echo "${ECHO_T}Sun cc" >&6; }
53855 elif test "x$SGICC" = "xyes"; then
53858 { echo "$as_me:$LINENO: result: SGI cc" >&5
53859 echo "${ECHO_T}SGI cc" >&6; }
53860 elif test "x$HPCC" = "xyes"; then
53863 { echo "$as_me:$LINENO: result: HP cc" >&5
53864 echo "${ECHO_T}HP cc" >&6; }
53865 elif test "x$COMPAQCC" = "xyes"; then
53868 { echo "$as_me:$LINENO: result: Compaq cc" >&5
53869 echo "${ECHO_T}Compaq cc" >&6; }
53872 { echo "$as_me:$LINENO: result: none" >&5
53873 echo "${ECHO_T}none" >&6; }
53876 if test $DEPS_TRACKING = 1 ; then
53882 # This script is part of Bakefile (http://www.bakefile.org) autoconf
53883 # script. It is used to track C/C++ files dependencies in portable way.
53885 # Permission is given to use this file in any way.
53887 DEPSMODE=${DEPSMODE}
53888 DEPSFLAG="${DEPSFLAG}"
53891 if test ${D}DEPSMODE = gcc ; then
53892 ${D}* ${D}{DEPSFLAG}
53895 # determine location of created files:
53896 while test ${D}# -gt 0; do
53910 objfilebase=\`basename ${D}objfile\`
53911 builddir=\`dirname ${D}objfile\`
53912 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
53913 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
53914 depsdir=${D}builddir/${D}DEPSDIRBASE
53915 mkdir -p ${D}depsdir
53917 # if the compiler failed, we're done:
53918 if test ${D}{status} != 0 ; then
53923 # move created file to the location we want it in:
53924 if test -f ${D}depfile ; then
53925 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53928 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
53929 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
53930 if test ! -f ${D}depfile ; then
53931 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
53932 depfile="${D}objfile.d"
53934 if test -f ${D}depfile ; then
53935 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53941 elif test ${D}DEPSMODE = mwcc ; then
53942 ${D}* || exit ${D}?
53943 # Run mwcc again with -MM and redirect into the dep file we want
53944 # NOTE: We can't use shift here because we need ${D}* to be valid
53946 for arg in ${D}* ; do
53947 if test "${D}prevarg" = "-o"; then
53961 objfilebase=\`basename ${D}objfile\`
53962 builddir=\`dirname ${D}objfile\`
53963 depsdir=${D}builddir/${D}DEPSDIRBASE
53964 mkdir -p ${D}depsdir
53966 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
53969 elif test ${D}DEPSMODE = unixcc; then
53970 ${D}* || exit ${D}?
53971 # Run compiler again with deps flag and redirect into the dep file.
53972 # It doesn't work if the '-o FILE' option is used, but without it the
53973 # dependency file will contain the wrong name for the object. So it is
53974 # removed from the command line, and the dep file is fixed with sed.
53976 while test ${D}# -gt 0; do
53983 eval arg${D}#=\\${D}1
53984 cmd="${D}cmd \\${D}arg${D}#"
53990 objfilebase=\`basename ${D}objfile\`
53991 builddir=\`dirname ${D}objfile\`
53992 depsdir=${D}builddir/${D}DEPSDIRBASE
53993 mkdir -p ${D}depsdir
53995 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
54005 BK_DEPS="`pwd`/bk-deps"
54013 case ${BAKEFILE_HOST} in
54014 *-*-cygwin* | *-*-mingw32* )
54015 if test -n "$ac_tool_prefix"; then
54016 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
54017 set dummy ${ac_tool_prefix}windres; ac_word=$2
54018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54020 if test "${ac_cv_prog_WINDRES+set}" = set; then
54021 echo $ECHO_N "(cached) $ECHO_C" >&6
54023 if test -n "$WINDRES"; then
54024 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
54026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54027 for as_dir in $PATH
54030 test -z "$as_dir" && as_dir=.
54031 for ac_exec_ext in '' $ac_executable_extensions; do
54032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54033 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
54034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54043 WINDRES=$ac_cv_prog_WINDRES
54044 if test -n "$WINDRES"; then
54045 { echo "$as_me:$LINENO: result: $WINDRES" >&5
54046 echo "${ECHO_T}$WINDRES" >&6; }
54048 { echo "$as_me:$LINENO: result: no" >&5
54049 echo "${ECHO_T}no" >&6; }
54054 if test -z "$ac_cv_prog_WINDRES"; then
54055 ac_ct_WINDRES=$WINDRES
54056 # Extract the first word of "windres", so it can be a program name with args.
54057 set dummy windres; ac_word=$2
54058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54060 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
54061 echo $ECHO_N "(cached) $ECHO_C" >&6
54063 if test -n "$ac_ct_WINDRES"; then
54064 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
54066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54067 for as_dir in $PATH
54070 test -z "$as_dir" && as_dir=.
54071 for ac_exec_ext in '' $ac_executable_extensions; do
54072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54073 ac_cv_prog_ac_ct_WINDRES="windres"
54074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54083 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
54084 if test -n "$ac_ct_WINDRES"; then
54085 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
54086 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
54088 { echo "$as_me:$LINENO: result: no" >&5
54089 echo "${ECHO_T}no" >&6; }
54092 if test "x$ac_ct_WINDRES" = x; then
54095 case $cross_compiling:$ac_tool_warned in
54097 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54098 whose name does not start with the host triplet. If you think this
54099 configuration is useful to you, please write to autoconf@gnu.org." >&5
54100 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54101 whose name does not start with the host triplet. If you think this
54102 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54103 ac_tool_warned=yes ;;
54105 WINDRES=$ac_ct_WINDRES
54108 WINDRES="$ac_cv_prog_WINDRES"
54113 *-*-darwin* | powerpc-apple-macos* )
54114 # Extract the first word of "Rez", so it can be a program name with args.
54115 set dummy Rez; ac_word=$2
54116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54118 if test "${ac_cv_prog_REZ+set}" = set; then
54119 echo $ECHO_N "(cached) $ECHO_C" >&6
54121 if test -n "$REZ"; then
54122 ac_cv_prog_REZ="$REZ" # Let the user override the test.
54124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54125 for as_dir in $PATH
54128 test -z "$as_dir" && as_dir=.
54129 for ac_exec_ext in '' $ac_executable_extensions; do
54130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54131 ac_cv_prog_REZ="Rez"
54132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54139 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
54142 REZ=$ac_cv_prog_REZ
54143 if test -n "$REZ"; then
54144 { echo "$as_me:$LINENO: result: $REZ" >&5
54145 echo "${ECHO_T}$REZ" >&6; }
54147 { echo "$as_me:$LINENO: result: no" >&5
54148 echo "${ECHO_T}no" >&6; }
54152 # Extract the first word of "SetFile", so it can be a program name with args.
54153 set dummy SetFile; ac_word=$2
54154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54156 if test "${ac_cv_prog_SETFILE+set}" = set; then
54157 echo $ECHO_N "(cached) $ECHO_C" >&6
54159 if test -n "$SETFILE"; then
54160 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
54162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54163 for as_dir in $PATH
54166 test -z "$as_dir" && as_dir=.
54167 for ac_exec_ext in '' $ac_executable_extensions; do
54168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54169 ac_cv_prog_SETFILE="SetFile"
54170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54177 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
54180 SETFILE=$ac_cv_prog_SETFILE
54181 if test -n "$SETFILE"; then
54182 { echo "$as_me:$LINENO: result: $SETFILE" >&5
54183 echo "${ECHO_T}$SETFILE" >&6; }
54185 { echo "$as_me:$LINENO: result: no" >&5
54186 echo "${ECHO_T}no" >&6; }
54201 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
54204 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
54208 # Check whether --enable-precomp-headers was given.
54209 if test "${enable_precomp_headers+set}" = set; then
54210 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
54219 case ${BAKEFILE_HOST} in
54225 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
54226 if test "x$GCC" = "xyes"; then
54227 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
54228 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
54229 cat >conftest.$ac_ext <<_ACEOF
54232 cat confdefs.h >>conftest.$ac_ext
54233 cat >>conftest.$ac_ext <<_ACEOF
54234 /* end confdefs.h. */
54240 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
54241 There is no PCH support
54244 There is no PCH support
54246 #if (__GNUC__ == 3) && \
54247 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
54248 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
54249 ( defined(__INTEL_COMPILER) )
54250 There is no PCH support
54257 rm -f conftest.$ac_objext
54258 if { (ac_try="$ac_compile"
54259 case "(($ac_try" in
54260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54261 *) ac_try_echo=$ac_try;;
54263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54264 (eval "$ac_compile") 2>conftest.er1
54266 grep -v '^ *+' conftest.er1 >conftest.err
54268 cat conftest.err >&5
54269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54270 (exit $ac_status); } && {
54271 test -z "$ac_c_werror_flag" ||
54272 test ! -s conftest.err
54273 } && test -s conftest.$ac_objext; then
54275 { echo "$as_me:$LINENO: result: yes" >&5
54276 echo "${ECHO_T}yes" >&6; }
54280 echo "$as_me: failed program was:" >&5
54281 sed 's/^/| /' conftest.$ac_ext >&5
54284 if test "$INTELCXX8" = "yes"; then
54285 { echo "$as_me:$LINENO: result: yes" >&5
54286 echo "${ECHO_T}yes" >&6; }
54288 if test "$INTELCXX10" = "yes"; then
54289 ICC_PCH_CREATE_SWITCH="-pch-create"
54290 ICC_PCH_USE_SWITCH="-pch-use"
54292 ICC_PCH_CREATE_SWITCH="-create-pch"
54293 ICC_PCH_USE_SWITCH="-use-pch"
54296 { echo "$as_me:$LINENO: result: no" >&5
54297 echo "${ECHO_T}no" >&6; }
54302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54303 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
54307 cat <<EOF >bk-make-pch
54310 # This script is part of Bakefile (http://www.bakefile.org) autoconf
54311 # script. It is used to generated precompiled headers.
54313 # Permission is given to use this file in any way.
54320 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
54325 while test ${D}{#} -gt 0; do
54329 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
54330 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
54331 headerfile="${D}{incdir}/${D}{header}"
54334 -use-pch|-use_pch|-pch-use )
54339 if test ${D}add_to_cmdline = 1 ; then
54340 compiler="${D}{compiler} ${D}{1}"
54345 if test "x${D}{headerfile}" = "x" ; then
54346 echo "error: can't find header ${D}{header} in include paths" >&2
54348 if test -f ${D}{outfile} ; then
54349 rm -f ${D}{outfile}
54351 mkdir -p \`dirname ${D}{outfile}\`
54353 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
54354 mkdir -p ${D}{builddir}/.deps
54355 if test "x${GCC_PCH}" = "x1" ; then
54356 # can do this because gcc is >= 3.4:
54357 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
54358 elif test "x${ICC_PCH}" = "x1" ; then
54359 filename=pch_gen-${D}${D}
54360 file=${D}{filename}.c
54361 dfile=${D}{filename}.d
54362 cat > ${D}file <<EOT
54363 #include "${D}header"
54365 # using -MF icc complains about differing command lines in creation/use
54366 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
54367 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
54368 rm -f ${D}file ${D}dfile ${D}{filename}.o
54374 chmod +x bk-make-pch
54375 BK_MAKE_PCH="`pwd`/bk-make-pch"
54386 COND_BUILD_DEBUG="#"
54387 if test "x$BUILD" = "xdebug" ; then
54388 COND_BUILD_DEBUG=""
54391 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
54392 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54393 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
54396 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
54397 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54398 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
54401 COND_BUILD_DEBUG_UNICODE_0="#"
54402 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54403 COND_BUILD_DEBUG_UNICODE_0=""
54406 COND_BUILD_DEBUG_UNICODE_1="#"
54407 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54408 COND_BUILD_DEBUG_UNICODE_1=""
54411 COND_BUILD_RELEASE="#"
54412 if test "x$BUILD" = "xrelease" ; then
54413 COND_BUILD_RELEASE=""
54416 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
54417 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54418 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
54421 COND_BUILD_RELEASE_UNICODE_0="#"
54422 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54423 COND_BUILD_RELEASE_UNICODE_0=""
54426 COND_BUILD_RELEASE_UNICODE_1="#"
54427 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54428 COND_BUILD_RELEASE_UNICODE_1=""
54431 COND_BUILD_debug="#"
54432 if test "x$BUILD" = "xdebug" ; then
54433 COND_BUILD_debug=""
54436 COND_BUILD_debug_DEBUG_FLAG_default="#"
54437 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54438 COND_BUILD_debug_DEBUG_FLAG_default=""
54441 COND_BUILD_debug_DEBUG_INFO_default="#"
54442 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54443 COND_BUILD_debug_DEBUG_INFO_default=""
54446 COND_BUILD_debug_UNICODE_0="#"
54447 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54448 COND_BUILD_debug_UNICODE_0=""
54451 COND_BUILD_debug_UNICODE_1="#"
54452 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54453 COND_BUILD_debug_UNICODE_1=""
54456 COND_BUILD_release="#"
54457 if test "x$BUILD" = "xrelease" ; then
54458 COND_BUILD_release=""
54461 COND_BUILD_release_DEBUG_INFO_default="#"
54462 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54463 COND_BUILD_release_DEBUG_INFO_default=""
54466 COND_BUILD_release_UNICODE_0="#"
54467 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54468 COND_BUILD_release_UNICODE_0=""
54471 COND_BUILD_release_UNICODE_1="#"
54472 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54473 COND_BUILD_release_UNICODE_1=""
54476 COND_DEBUG_FLAG_0="#"
54477 if test "x$DEBUG_FLAG" = "x0" ; then
54478 COND_DEBUG_FLAG_0=""
54481 COND_DEBUG_FLAG_1="#"
54482 if test "x$DEBUG_FLAG" = "x1" ; then
54483 COND_DEBUG_FLAG_1=""
54486 COND_DEBUG_INFO_0="#"
54487 if test "x$DEBUG_INFO" = "x0" ; then
54488 COND_DEBUG_INFO_0=""
54491 COND_DEBUG_INFO_1="#"
54492 if test "x$DEBUG_INFO" = "x1" ; then
54493 COND_DEBUG_INFO_1=""
54496 COND_DEPS_TRACKING_0="#"
54497 if test "x$DEPS_TRACKING" = "x0" ; then
54498 COND_DEPS_TRACKING_0=""
54501 COND_DEPS_TRACKING_1="#"
54502 if test "x$DEPS_TRACKING" = "x1" ; then
54503 COND_DEPS_TRACKING_1=""
54507 if test "x$GCC_PCH" = "x1" ; then
54512 if test "x$ICC_PCH" = "x1" ; then
54516 COND_MONOLITHIC_0="#"
54517 if test "x$MONOLITHIC" = "x0" ; then
54518 COND_MONOLITHIC_0=""
54521 COND_MONOLITHIC_0_SHARED_0="#"
54522 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
54523 COND_MONOLITHIC_0_SHARED_0=""
54526 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
54527 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
54528 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
54531 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
54532 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
54533 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
54536 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
54537 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54538 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
54541 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
54542 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54543 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
54546 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
54547 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54548 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
54551 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
54552 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54553 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
54556 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
54557 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54558 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
54561 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
54562 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54563 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
54566 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
54567 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54568 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
54571 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
54572 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54573 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
54576 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
54577 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
54578 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
54581 COND_MONOLITHIC_0_SHARED_1="#"
54582 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
54583 COND_MONOLITHIC_0_SHARED_1=""
54586 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
54587 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
54588 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
54591 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
54592 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
54593 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
54596 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
54597 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54598 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
54601 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
54602 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54603 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
54606 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
54607 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54608 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
54611 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
54612 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54613 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
54616 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
54617 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
54618 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
54621 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
54622 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
54623 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
54626 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
54627 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
54628 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
54631 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
54632 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
54633 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
54636 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
54637 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54638 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
54641 COND_MONOLITHIC_0_USE_AUI_1="#"
54642 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
54643 COND_MONOLITHIC_0_USE_AUI_1=""
54646 COND_MONOLITHIC_0_USE_GUI_1="#"
54647 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
54648 COND_MONOLITHIC_0_USE_GUI_1=""
54651 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
54652 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54653 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
54656 COND_MONOLITHIC_0_USE_HTML_1="#"
54657 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
54658 COND_MONOLITHIC_0_USE_HTML_1=""
54661 COND_MONOLITHIC_0_USE_MEDIA_1="#"
54662 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
54663 COND_MONOLITHIC_0_USE_MEDIA_1=""
54666 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
54667 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54668 COND_MONOLITHIC_0_USE_PROPGRID_1=""
54671 COND_MONOLITHIC_0_USE_QA_1="#"
54672 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
54673 COND_MONOLITHIC_0_USE_QA_1=""
54676 COND_MONOLITHIC_0_USE_RIBBON_1="#"
54677 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54678 COND_MONOLITHIC_0_USE_RIBBON_1=""
54681 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
54682 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54683 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
54686 COND_MONOLITHIC_0_USE_STC_1="#"
54687 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
54688 COND_MONOLITHIC_0_USE_STC_1=""
54691 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
54692 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
54693 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
54696 COND_MONOLITHIC_0_USE_XRC_1="#"
54697 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
54698 COND_MONOLITHIC_0_USE_XRC_1=""
54701 COND_MONOLITHIC_1="#"
54702 if test "x$MONOLITHIC" = "x1" ; then
54703 COND_MONOLITHIC_1=""
54706 COND_MONOLITHIC_1_SHARED_0="#"
54707 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
54708 COND_MONOLITHIC_1_SHARED_0=""
54711 COND_MONOLITHIC_1_SHARED_1="#"
54712 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
54713 COND_MONOLITHIC_1_SHARED_1=""
54716 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
54717 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
54718 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
54721 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
54722 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
54723 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
54726 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
54727 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54728 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
54731 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
54732 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54733 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
54736 COND_PLATFORM_MACOSX_1="#"
54737 if test "x$PLATFORM_MACOSX" = "x1" ; then
54738 COND_PLATFORM_MACOSX_1=""
54741 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
54742 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
54743 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
54746 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
54747 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54748 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
54751 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54752 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54753 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54756 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
54757 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54758 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
54761 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54762 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54763 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54766 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
54767 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54768 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
54771 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54772 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54773 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54776 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54777 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54778 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54781 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
54782 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
54783 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
54786 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
54787 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54788 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
54791 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
54792 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54793 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
54796 COND_PLATFORM_MACOS_1="#"
54797 if test "x$PLATFORM_MACOS" = "x1" ; then
54798 COND_PLATFORM_MACOS_1=""
54801 COND_PLATFORM_MAC_0="#"
54802 if test "x$PLATFORM_MAC" = "x0" ; then
54803 COND_PLATFORM_MAC_0=""
54806 COND_PLATFORM_MAC_1="#"
54807 if test "x$PLATFORM_MAC" = "x1" ; then
54808 COND_PLATFORM_MAC_1=""
54811 COND_PLATFORM_MSDOS_0="#"
54812 if test "x$PLATFORM_MSDOS" = "x0" ; then
54813 COND_PLATFORM_MSDOS_0=""
54816 COND_PLATFORM_MSDOS_1="#"
54817 if test "x$PLATFORM_MSDOS" = "x1" ; then
54818 COND_PLATFORM_MSDOS_1=""
54821 COND_PLATFORM_OS2_1="#"
54822 if test "x$PLATFORM_OS2" = "x1" ; then
54823 COND_PLATFORM_OS2_1=""
54826 COND_PLATFORM_UNIX_0="#"
54827 if test "x$PLATFORM_UNIX" = "x0" ; then
54828 COND_PLATFORM_UNIX_0=""
54831 COND_PLATFORM_UNIX_1="#"
54832 if test "x$PLATFORM_UNIX" = "x1" ; then
54833 COND_PLATFORM_UNIX_1=""
54836 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
54837 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
54838 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
54841 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
54842 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
54843 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
54846 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
54847 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
54848 COND_PLATFORM_UNIX_1_USE_GUI_1=""
54851 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
54852 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
54853 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
54856 COND_PLATFORM_WIN32_0="#"
54857 if test "x$PLATFORM_WIN32" = "x0" ; then
54858 COND_PLATFORM_WIN32_0=""
54861 COND_PLATFORM_WIN32_1="#"
54862 if test "x$PLATFORM_WIN32" = "x1" ; then
54863 COND_PLATFORM_WIN32_1=""
54866 COND_PLATFORM_WIN32_1_SHARED_0="#"
54867 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54868 COND_PLATFORM_WIN32_1_SHARED_0=""
54872 if test "x$SHARED" = "x0" ; then
54876 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
54877 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
54878 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
54881 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
54882 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54883 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
54886 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
54887 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
54888 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
54891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
54892 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
54896 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
54897 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54898 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
54901 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
54902 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54903 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
54906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
54907 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
54911 COND_SHARED_0_USE_STC_1="#"
54912 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54913 COND_SHARED_0_USE_STC_1=""
54916 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
54917 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
54918 COND_SHARED_0_wxUSE_EXPAT_builtin=""
54921 COND_SHARED_0_wxUSE_REGEX_builtin="#"
54922 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
54923 COND_SHARED_0_wxUSE_REGEX_builtin=""
54926 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
54927 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
54928 COND_SHARED_0_wxUSE_ZLIB_builtin=""
54932 if test "x$SHARED" = "x1" ; then
54936 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
54937 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54938 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
54942 if test "x$TOOLKIT" = "x" ; then
54946 COND_TOOLKIT_COCOA="#"
54947 if test "x$TOOLKIT" = "xCOCOA" ; then
54948 COND_TOOLKIT_COCOA=""
54951 COND_TOOLKIT_COCOA_USE_GUI_1="#"
54952 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
54953 COND_TOOLKIT_COCOA_USE_GUI_1=""
54956 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
54957 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54958 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
54961 COND_TOOLKIT_DFB="#"
54962 if test "x$TOOLKIT" = "xDFB" ; then
54963 COND_TOOLKIT_DFB=""
54966 COND_TOOLKIT_DFB_USE_GUI_1="#"
54967 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
54968 COND_TOOLKIT_DFB_USE_GUI_1=""
54971 COND_TOOLKIT_GTK="#"
54972 if test "x$TOOLKIT" = "xGTK" ; then
54973 COND_TOOLKIT_GTK=""
54976 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
54977 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
54978 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
54981 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
54982 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
54983 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
54986 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
54987 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
54988 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
54991 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
54992 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54993 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
54996 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
54997 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
54998 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
55001 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
55002 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55003 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
55006 COND_TOOLKIT_GTK_USE_GUI_1="#"
55007 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
55008 COND_TOOLKIT_GTK_USE_GUI_1=""
55011 COND_TOOLKIT_MAC="#"
55012 if test "x$TOOLKIT" = "xMAC" ; then
55013 COND_TOOLKIT_MAC=""
55016 COND_TOOLKIT_MGL="#"
55017 if test "x$TOOLKIT" = "xMGL" ; then
55018 COND_TOOLKIT_MGL=""
55021 COND_TOOLKIT_MGL_USE_GUI_1="#"
55022 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
55023 COND_TOOLKIT_MGL_USE_GUI_1=""
55026 COND_TOOLKIT_MOTIF="#"
55027 if test "x$TOOLKIT" = "xMOTIF" ; then
55028 COND_TOOLKIT_MOTIF=""
55031 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
55032 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
55033 COND_TOOLKIT_MOTIF_USE_GUI_1=""
55036 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
55037 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55038 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
55041 COND_TOOLKIT_MSW="#"
55042 if test "x$TOOLKIT" = "xMSW" ; then
55043 COND_TOOLKIT_MSW=""
55046 COND_TOOLKIT_MSW_USE_GUI_1="#"
55047 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
55048 COND_TOOLKIT_MSW_USE_GUI_1=""
55051 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
55052 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55053 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
55056 COND_TOOLKIT_MSW_WXUNIV_0="#"
55057 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
55058 COND_TOOLKIT_MSW_WXUNIV_0=""
55061 COND_TOOLKIT_OSX_CARBON="#"
55062 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
55063 COND_TOOLKIT_OSX_CARBON=""
55066 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
55067 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
55068 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
55071 COND_TOOLKIT_OSX_COCOA="#"
55072 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
55073 COND_TOOLKIT_OSX_COCOA=""
55076 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
55077 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
55078 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
55081 COND_TOOLKIT_OSX_IPHONE="#"
55082 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
55083 COND_TOOLKIT_OSX_IPHONE=""
55086 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
55087 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
55088 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
55091 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
55092 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55093 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
55096 COND_TOOLKIT_PM="#"
55097 if test "x$TOOLKIT" = "xPM" ; then
55101 COND_TOOLKIT_PM_USE_GUI_1="#"
55102 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
55103 COND_TOOLKIT_PM_USE_GUI_1=""
55106 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
55107 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55108 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
55111 COND_TOOLKIT_WINCE="#"
55112 if test "x$TOOLKIT" = "xWINCE" ; then
55113 COND_TOOLKIT_WINCE=""
55116 COND_TOOLKIT_WINCE_USE_GUI_1="#"
55117 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
55118 COND_TOOLKIT_WINCE_USE_GUI_1=""
55121 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
55122 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55123 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
55126 COND_TOOLKIT_WINCE_WXUNIV_0="#"
55127 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
55128 COND_TOOLKIT_WINCE_WXUNIV_0=""
55131 COND_TOOLKIT_X11="#"
55132 if test "x$TOOLKIT" = "xX11" ; then
55133 COND_TOOLKIT_X11=""
55136 COND_TOOLKIT_X11_USE_GUI_1="#"
55137 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
55138 COND_TOOLKIT_X11_USE_GUI_1=""
55142 if test "x$UNICODE" = "x1" ; then
55146 COND_USE_CAIRO_1="#"
55147 if test "x$USE_CAIRO" = "x1" ; then
55148 COND_USE_CAIRO_1=""
55151 COND_USE_EXCEPTIONS_0="#"
55152 if test "x$USE_EXCEPTIONS" = "x0" ; then
55153 COND_USE_EXCEPTIONS_0=""
55156 COND_USE_EXCEPTIONS_1="#"
55157 if test "x$USE_EXCEPTIONS" = "x1" ; then
55158 COND_USE_EXCEPTIONS_1=""
55162 if test "x$USE_GUI" = "x0" ; then
55167 if test "x$USE_GUI" = "x1" ; then
55171 COND_USE_GUI_1_USE_OPENGL_1="#"
55172 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55173 COND_USE_GUI_1_USE_OPENGL_1=""
55176 COND_USE_GUI_1_WXUNIV_0="#"
55177 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55178 COND_USE_GUI_1_WXUNIV_0=""
55181 COND_USE_GUI_1_WXUNIV_1="#"
55182 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
55183 COND_USE_GUI_1_WXUNIV_1=""
55186 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
55187 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55188 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
55191 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
55192 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55193 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
55196 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
55197 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55198 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
55201 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55202 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55203 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55206 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55207 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55208 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55211 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55212 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55213 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55216 COND_USE_OPENGL_1="#"
55217 if test "x$USE_OPENGL" = "x1" ; then
55218 COND_USE_OPENGL_1=""
55222 if test "x$USE_PCH" = "x1" ; then
55226 COND_USE_PLUGINS_0="#"
55227 if test "x$USE_PLUGINS" = "x0" ; then
55228 COND_USE_PLUGINS_0=""
55231 COND_USE_RTTI_0="#"
55232 if test "x$USE_RTTI" = "x0" ; then
55236 COND_USE_RTTI_1="#"
55237 if test "x$USE_RTTI" = "x1" ; then
55241 COND_USE_SOTWOSYMLINKS_1="#"
55242 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
55243 COND_USE_SOTWOSYMLINKS_1=""
55246 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
55247 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
55248 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
55251 COND_USE_SOVERLINUX_1="#"
55252 if test "x$USE_SOVERLINUX" = "x1" ; then
55253 COND_USE_SOVERLINUX_1=""
55256 COND_USE_SOVERSION_0="#"
55257 if test "x$USE_SOVERSION" = "x0" ; then
55258 COND_USE_SOVERSION_0=""
55261 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
55262 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
55263 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
55266 COND_USE_SOVERSOLARIS_1="#"
55267 if test "x$USE_SOVERSOLARIS" = "x1" ; then
55268 COND_USE_SOVERSOLARIS_1=""
55272 if test "x$USE_STC" = "x1" ; then
55276 COND_USE_THREADS_0="#"
55277 if test "x$USE_THREADS" = "x0" ; then
55278 COND_USE_THREADS_0=""
55281 COND_USE_THREADS_1="#"
55282 if test "x$USE_THREADS" = "x1" ; then
55283 COND_USE_THREADS_1=""
55287 if test "x$USE_XRC" = "x1" ; then
55291 COND_WINDOWS_IMPLIB_1="#"
55292 if test "x$WINDOWS_IMPLIB" = "x1" ; then
55293 COND_WINDOWS_IMPLIB_1=""
55296 COND_WITH_PLUGIN_SDL_1="#"
55297 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
55298 COND_WITH_PLUGIN_SDL_1=""
55302 if test "x$WXUNIV" = "x0" ; then
55307 if test "x$WXUNIV" = "x1" ; then
55311 COND_WXUSE_EXPAT_BUILTIN="#"
55312 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55313 COND_WXUSE_EXPAT_BUILTIN=""
55316 COND_WXUSE_LIBJPEG_BUILTIN="#"
55317 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55318 COND_WXUSE_LIBJPEG_BUILTIN=""
55321 COND_WXUSE_LIBPNG_BUILTIN="#"
55322 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55323 COND_WXUSE_LIBPNG_BUILTIN=""
55326 COND_WXUSE_LIBTIFF_BUILTIN="#"
55327 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55328 COND_WXUSE_LIBTIFF_BUILTIN=""
55331 COND_WXUSE_REGEX_BUILTIN="#"
55332 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55333 COND_WXUSE_REGEX_BUILTIN=""
55336 COND_WXUSE_ZLIB_BUILTIN="#"
55337 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55338 COND_WXUSE_ZLIB_BUILTIN=""
55341 COND_wxUSE_EXPAT_builtin="#"
55342 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55343 COND_wxUSE_EXPAT_builtin=""
55346 COND_wxUSE_LIBJPEG_builtin="#"
55347 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55348 COND_wxUSE_LIBJPEG_builtin=""
55351 COND_wxUSE_LIBPNG_builtin="#"
55352 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55353 COND_wxUSE_LIBPNG_builtin=""
55356 COND_wxUSE_LIBTIFF_builtin="#"
55357 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55358 COND_wxUSE_LIBTIFF_builtin=""
55361 COND_wxUSE_REGEX_builtin="#"
55362 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55363 COND_wxUSE_REGEX_builtin=""
55366 COND_wxUSE_ZLIB_builtin="#"
55367 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55368 COND_wxUSE_ZLIB_builtin=""
55373 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
55374 { { 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
55375 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;}
55376 { (exit 1); exit 1; }; }
55379 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
55380 { { 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
55381 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;}
55382 { (exit 1); exit 1; }; }
55389 ?:* ) # Drive letter, considered as absolute.
55392 INSTALL=`pwd`/${INSTALL} ;;
55395 if test "$wxUSE_GUI" = "yes"; then
55397 if test "$wxUSE_MSW" = 1 ; then
55398 if test "x$WINDRES" = "x"; then
55399 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
55400 echo "$as_me: error: Required windres program not found" >&2;}
55401 { (exit 1); exit 1; }; }
55407 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
55408 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
55409 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
55411 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
55413 # Extract the first word of "DeRez", so it can be a program name with args.
55414 set dummy DeRez; ac_word=$2
55415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55417 if test "${ac_cv_prog_DEREZ+set}" = set; then
55418 echo $ECHO_N "(cached) $ECHO_C" >&6
55420 if test -n "$DEREZ"; then
55421 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
55423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55424 for as_dir in $PATH
55427 test -z "$as_dir" && as_dir=.
55428 for ac_exec_ext in '' $ac_executable_extensions; do
55429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55430 ac_cv_prog_DEREZ="DeRez"
55431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55438 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
55441 DEREZ=$ac_cv_prog_DEREZ
55442 if test -n "$DEREZ"; then
55443 { echo "$as_me:$LINENO: result: $DEREZ" >&5
55444 echo "${ECHO_T}$DEREZ" >&6; }
55446 { echo "$as_me:$LINENO: result: no" >&5
55447 echo "${ECHO_T}no" >&6; }
55452 MACSETFILE="\$(SETFILE)"
55454 if test "$wxUSE_OSX_CARBON" = 1; then
55455 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
55457 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
55459 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
55460 RESCOMP="cat /dev/null \| $REZ"
55461 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
55467 if test "$wxUSE_PM" = 1; then
55469 WXCONFIG_RESFLAGS="-ep"
55471 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
55473 POSTLINK_COMMAND="@true"
55480 if test $GCC_PCH = 1
55482 if test "$wx_cv_gcc_pch_bug" = yes; then
55483 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
55484 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
55485 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
55486 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
55487 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
55488 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
55491 # Our WX_PRECOMP flag does not make sense for any language except C++ because
55492 # the headers that benefit from precompilation are mostly C++ headers.
55493 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55494 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
55495 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55499 if test "$wxUSE_MAC" = 1 ; then
55500 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
55501 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
55507 if test "$wxUSE_SHARED" = "yes"; then
55509 *-pc-os2_emx | *-pc-os2-emx )
55510 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55511 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55512 cp -p ${srcdir}/src/os2/dllnames.sh .
55513 cp -p ${srcdir}/src/os2/dllar.sh .
55517 if test "$wxUSE_OMF" = "yes"; then
55519 *-pc-os2_emx | *-pc-os2-emx )
55520 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
55521 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55522 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55527 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
55532 if test "$GCC" = yes; then
55533 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
55534 LIBS=`echo $LIBS | sed 's/-mt//g'`
55535 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
55540 if test "x$SUNCXX" = xyes; then
55541 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
55542 LIBS=`echo $LIBS | sed 's/-pthread//g'`
55543 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
55548 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
55549 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
55550 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
55551 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
55553 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
55614 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
55615 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
55616 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
55617 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
55618 echo $ECHO_N "(cached) $ECHO_C" >&6
55620 cat >conftest.make <<\_ACEOF
55623 @echo '@@@%%%=$(MAKE)=@@@%%%'
55625 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
55626 case `${MAKE-make} -f conftest.make 2>/dev/null` in
55627 *@@@%%%=?*=@@@%%%*)
55628 eval ac_cv_prog_make_${ac_make}_set=yes;;
55630 eval ac_cv_prog_make_${ac_make}_set=no;;
55632 rm -f conftest.make
55634 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
55635 { echo "$as_me:$LINENO: result: yes" >&5
55636 echo "${ECHO_T}yes" >&6; }
55639 { echo "$as_me:$LINENO: result: no" >&5
55640 echo "${ECHO_T}no" >&6; }
55641 SET_MAKE="MAKE=${MAKE-make}"
55646 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
55649 if test "$USE_WIN32" = 1; then
55650 ac_config_commands="$ac_config_commands rcdefs.h"
55654 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
55657 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
55660 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
55663 if test "$wx_cv_version_script" = "yes"; then
55664 ac_config_files="$ac_config_files version-script"
55667 ac_config_files="$ac_config_files Makefile"
55670 ac_config_commands="$ac_config_commands wx-config"
55674 if test "$wxWITH_SUBDIRS" != "no"; then
55675 if test "$wxUSE_GUI" = "yes"; then
55676 SUBDIRS="samples demos utils"
55678 SUBDIRS="samples utils"
55683 # Check whether --with-cppunit-prefix was given.
55684 if test "${with_cppunit_prefix+set}" = set; then
55685 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
55687 cppunit_config_prefix=""
55691 # Check whether --with-cppunit-exec-prefix was given.
55692 if test "${with_cppunit_exec_prefix+set}" = set; then
55693 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
55695 cppunit_config_exec_prefix=""
55699 if test x$cppunit_config_exec_prefix != x ; then
55700 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
55701 if test x${CPPUNIT_CONFIG+set} != xset ; then
55702 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
55705 if test x$cppunit_config_prefix != x ; then
55706 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
55707 if test x${CPPUNIT_CONFIG+set} != xset ; then
55708 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
55712 # Extract the first word of "cppunit-config", so it can be a program name with args.
55713 set dummy cppunit-config; ac_word=$2
55714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55716 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
55717 echo $ECHO_N "(cached) $ECHO_C" >&6
55719 case $CPPUNIT_CONFIG in
55721 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
55724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55725 for as_dir in $PATH
55728 test -z "$as_dir" && as_dir=.
55729 for ac_exec_ext in '' $ac_executable_extensions; do
55730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55731 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
55732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55739 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
55743 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
55744 if test -n "$CPPUNIT_CONFIG"; then
55745 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
55746 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
55748 { echo "$as_me:$LINENO: result: no" >&5
55749 echo "${ECHO_T}no" >&6; }
55753 cppunit_version_min=1.8.0
55755 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
55756 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
55758 if test "$CPPUNIT_CONFIG" = "no" ; then
55759 { echo "$as_me:$LINENO: result: no" >&5
55760 echo "${ECHO_T}no" >&6; }
55763 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
55764 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
55765 cppunit_version=`$CPPUNIT_CONFIG --version`
55767 cppunit_major_version=`echo $cppunit_version | \
55768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55769 cppunit_minor_version=`echo $cppunit_version | \
55770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55771 cppunit_micro_version=`echo $cppunit_version | \
55772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55774 cppunit_major_min=`echo $cppunit_version_min | \
55775 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55776 cppunit_minor_min=`echo $cppunit_version_min | \
55777 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55778 cppunit_micro_min=`echo $cppunit_version_min | \
55779 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55781 cppunit_version_proper=`expr \
55782 $cppunit_major_version \> $cppunit_major_min \| \
55783 $cppunit_major_version \= $cppunit_major_min \& \
55784 $cppunit_minor_version \> $cppunit_minor_min \| \
55785 $cppunit_major_version \= $cppunit_major_min \& \
55786 $cppunit_minor_version \= $cppunit_minor_min \& \
55787 $cppunit_micro_version \>= $cppunit_micro_min `
55789 if test "$cppunit_version_proper" = "1" ; then
55790 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
55791 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
55793 { echo "$as_me:$LINENO: result: no" >&5
55794 echo "${ECHO_T}no" >&6; }
55799 if test "x$no_cppunit" = x ; then
55800 SUBDIRS="$SUBDIRS tests"
55811 for subdir in $SUBDIRS; do
55812 if test -d ${srcdir}/${subdir} ; then
55813 if test "$wxUSE_GUI" = "yes"; then
55814 if test ${subdir} = "samples"; then
55815 makefiles="samples/Makefile.in $makefiles"
55816 for sample in $SAMPLES_SUBDIRS; do
55817 if test -d $srcdir/samples/$sample; then
55818 makefiles="samples/$sample/Makefile.in $makefiles"
55822 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
55823 eval "disabled=\$$disabled_var"
55824 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
55825 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
55828 if test ${subdir} = "samples"; then
55829 makefiles="samples/Makefile.in $makefiles"
55830 for sample in `echo $SAMPLES_SUBDIRS`; do
55831 if test -d $srcdir/samples/$sample; then
55832 makefiles="samples/$sample/Makefile.in $makefiles"
55835 elif test ${subdir} = "utils"; then
55837 for util in ifacecheck ; do
55838 if test -d $srcdir/utils/$util ; then
55839 makefiles="utils/$util/src/Makefile.in \
55844 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
55848 for mkin in $makefiles ; do
55849 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
55850 ac_config_files="$ac_config_files $mk"
55856 cat >confcache <<\_ACEOF
55857 # This file is a shell script that caches the results of configure
55858 # tests run on this system so they can be shared between configure
55859 # scripts and configure runs, see configure's option --config-cache.
55860 # It is not useful on other systems. If it contains results you don't
55861 # want to keep, you may remove or edit it.
55863 # config.status only pays attention to the cache file if you give it
55864 # the --recheck option to rerun configure.
55866 # `ac_cv_env_foo' variables (set or unset) will be overridden when
55867 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55868 # following values.
55872 # The following way of writing the cache mishandles newlines in values,
55873 # but we know of no workaround that is simple, portable, and efficient.
55874 # So, we kill variables containing newlines.
55875 # Ultrix sh set writes to stderr and can't be redirected directly,
55876 # and sets the high bit in the cache file unless we assign to the vars.
55878 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55879 eval ac_val=\$$ac_var
55883 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55884 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55887 _ | IFS | as_nl) ;; #(
55888 *) $as_unset $ac_var ;;
55894 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55895 *${as_nl}ac_space=\ *)
55896 # `set' does not quote correctly, so add quotes (double-quote
55897 # substitution turns \\\\ into \\, and sed turns \\ into \).
55900 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55903 # `set' quotes correctly as required by POSIX, so do not add quotes.
55904 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55913 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55915 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55917 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
55918 if test -w "$cache_file"; then
55919 test "x$cache_file" != "x/dev/null" &&
55920 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
55921 echo "$as_me: updating cache $cache_file" >&6;}
55922 cat confcache >$cache_file
55924 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
55925 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55930 test "x$prefix" = xNONE && prefix=$ac_default_prefix
55931 # Let make expand exec_prefix.
55932 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
55934 DEFS=-DHAVE_CONFIG_H
55938 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
55939 # 1. Remove the extension, and $U if already installed.
55940 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
55941 ac_i=`echo "$ac_i" | sed "$ac_script"`
55942 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55943 # will be set to the directory where LIBOBJS objects are built.
55944 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55945 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
55947 LIBOBJS=$ac_libobjs
55949 LTLIBOBJS=$ac_ltlibobjs
55953 : ${CONFIG_STATUS=./config.status}
55954 ac_clean_files_save=$ac_clean_files
55955 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
55956 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
55957 echo "$as_me: creating $CONFIG_STATUS" >&6;}
55958 cat >$CONFIG_STATUS <<_ACEOF
55960 # Generated by $as_me.
55961 # Run this file to recreate the current configuration.
55962 # Compiler output produced by configure, useful for debugging
55963 # configure, is in config.log if it exists.
55966 ac_cs_recheck=false
55968 SHELL=\${CONFIG_SHELL-$SHELL}
55971 cat >>$CONFIG_STATUS <<\_ACEOF
55972 ## --------------------- ##
55973 ## M4sh Initialization. ##
55974 ## --------------------- ##
55976 # Be more Bourne compatible
55977 DUALCASE=1; export DUALCASE # for MKS sh
55978 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55981 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55982 # is contrary to our usage. Disable this feature.
55983 alias -g '${1+"$@"}'='"$@"'
55984 setopt NO_GLOB_SUBST
55986 case `(set -o) 2>/dev/null` in
55987 *posix*) set -o posix ;;
55996 # Avoid depending upon Character Ranges.
55997 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55998 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55999 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
56000 as_cr_digits='0123456789'
56001 as_cr_alnum=$as_cr_Letters$as_cr_digits
56003 # The user is always right.
56004 if test "${PATH_SEPARATOR+set}" != set; then
56005 echo "#! /bin/sh" >conf$$.sh
56006 echo "exit 0" >>conf$$.sh
56008 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56016 # Support unset when possible.
56017 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
56025 # We need space, tab and new line, in precisely that order. Quoting is
56026 # there to prevent editors from complaining about space-tab.
56027 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
56028 # splitting by setting IFS to empty value.)
56033 # Find who we are. Look in the path if we contain no directory separator.
56035 *[\\/]* ) as_myself=$0 ;;
56036 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
56037 for as_dir in $PATH
56040 test -z "$as_dir" && as_dir=.
56041 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
56047 # We did not find ourselves, most probably we were run as `sh COMMAND'
56048 # in which case we are not to be found in the path.
56049 if test "x$as_myself" = x; then
56052 if test ! -f "$as_myself"; then
56053 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
56054 { (exit 1); exit 1; }
56057 # Work around bugs in pre-3.0 UWIN ksh.
56058 for as_var in ENV MAIL MAILPATH
56059 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56067 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
56068 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
56069 LC_TELEPHONE LC_TIME
56071 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
56072 eval $as_var=C; export $as_var
56074 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56078 # Required to use basename.
56079 if expr a : '\(a\)' >/dev/null 2>&1 &&
56080 test "X`expr 00001 : '.*\(...\)'`" = X001; then
56086 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
56087 as_basename=basename
56093 # Name of the executable.
56094 as_me=`$as_basename -- "$0" ||
56095 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
56096 X"$0" : 'X\(//\)$' \| \
56097 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56099 sed '/^.*\/\([^/][^/]*\)\/*$/{
56118 as_lineno_1=$LINENO
56119 as_lineno_2=$LINENO
56120 test "x$as_lineno_1" != "x$as_lineno_2" &&
56121 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
56123 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
56124 # uniformly replaced by the line number. The first 'sed' inserts a
56125 # line-number line after each line using $LINENO; the second 'sed'
56126 # does the real work. The second script uses 'N' to pair each
56127 # line-number line with the line containing $LINENO, and appends
56128 # trailing '-' during substitution so that $LINENO is not a special
56129 # case at line end.
56130 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
56131 # scripts with optimization help from Paolo Bonzini. Blame Lee
56132 # E. McMahon (1931-1989) for sed's syntax. :-)
56144 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
56147 ' >$as_me.lineno &&
56148 chmod +x "$as_me.lineno" ||
56149 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
56150 { (exit 1); exit 1; }; }
56152 # Don't try to exec as it changes $[0], causing all sort of problems
56153 # (the dirname of $[0] is not the place where we might find the
56154 # original and so on. Autoconf is especially sensitive to this).
56155 . "./$as_me.lineno"
56156 # Exit status is that of the last command.
56161 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
56167 ECHO_C= ECHO_N= ECHO_T=
56168 case `echo -n x` in
56170 case `echo 'x\c'` in
56171 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
56178 if expr a : '\(a\)' >/dev/null 2>&1 &&
56179 test "X`expr 00001 : '.*\(...\)'`" = X001; then
56185 rm -f conf$$ conf$$.exe conf$$.file
56186 if test -d conf$$.dir; then
56187 rm -f conf$$.dir/conf$$.file
56193 if ln -s conf$$.file conf$$ 2>/dev/null; then
56195 # ... but there are two gotchas:
56196 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56197 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56198 # In both cases, we have to default to `cp -p'.
56199 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
56201 elif ln conf$$.file conf$$ 2>/dev/null; then
56206 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
56207 rmdir conf$$.dir 2>/dev/null
56209 if mkdir -p . 2>/dev/null; then
56212 test -d ./-p && rmdir ./-p
56216 if test -x / >/dev/null 2>&1; then
56217 as_test_x='test -x'
56219 if ls -dL / >/dev/null 2>&1; then
56226 if test -d "$1"; then
56232 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56233 ???[sx]*):;;*)false;;esac;fi
56237 as_executable_p=$as_test_x
56239 # Sed expression to map a string onto a valid CPP name.
56240 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56242 # Sed expression to map a string onto a valid variable name.
56243 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56248 # Save the log message, to keep $[0] and so on meaningful, and to
56249 # report actual input values of CONFIG_FILES etc. instead of their
56250 # values after options handling.
56252 This file was extended by wxWidgets $as_me 2.9.3, which was
56253 generated by GNU Autoconf 2.61. Invocation command line was
56255 CONFIG_FILES = $CONFIG_FILES
56256 CONFIG_HEADERS = $CONFIG_HEADERS
56257 CONFIG_LINKS = $CONFIG_LINKS
56258 CONFIG_COMMANDS = $CONFIG_COMMANDS
56261 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56266 cat >>$CONFIG_STATUS <<_ACEOF
56267 # Files that config.status was made for.
56268 config_files="$ac_config_files"
56269 config_headers="$ac_config_headers"
56270 config_commands="$ac_config_commands"
56274 cat >>$CONFIG_STATUS <<\_ACEOF
56276 \`$as_me' instantiates files from templates according to the
56277 current configuration.
56279 Usage: $0 [OPTIONS] [FILE]...
56281 -h, --help print this help, then exit
56282 -V, --version print version number and configuration settings, then exit
56283 -q, --quiet do not print progress messages
56284 -d, --debug don't remove temporary files
56285 --recheck update $as_me by reconfiguring in the same conditions
56286 --file=FILE[:TEMPLATE]
56287 instantiate the configuration file FILE
56288 --header=FILE[:TEMPLATE]
56289 instantiate the configuration header FILE
56291 Configuration files:
56294 Configuration headers:
56297 Configuration commands:
56300 Report bugs to <bug-autoconf@gnu.org>."
56303 cat >>$CONFIG_STATUS <<_ACEOF
56305 wxWidgets config.status 2.9.3
56306 configured by $0, generated by GNU Autoconf 2.61,
56307 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
56309 Copyright (C) 2006 Free Software Foundation, Inc.
56310 This config.status script is free software; the Free Software Foundation
56311 gives unlimited permission to copy, distribute and modify it."
56318 cat >>$CONFIG_STATUS <<\_ACEOF
56319 # If no file are specified by the user, then we need to provide default
56320 # value. By we need to know if files were specified by the user.
56326 ac_option=`expr "X$1" : 'X\([^=]*\)='`
56327 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
56338 # Handling of the options.
56339 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56341 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56342 echo "$ac_cs_version"; exit ;;
56343 --debug | --debu | --deb | --de | --d | -d )
56345 --file | --fil | --fi | --f )
56347 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
56348 ac_need_defaults=false;;
56349 --header | --heade | --head | --hea )
56351 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
56352 ac_need_defaults=false;;
56354 # Conflict between --help and --header
56355 { echo "$as_me: error: ambiguous option: $1
56356 Try \`$0 --help' for more information." >&2
56357 { (exit 1); exit 1; }; };;
56358 --help | --hel | -h )
56359 echo "$ac_cs_usage"; exit ;;
56360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56361 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56364 # This is an error.
56365 -*) { echo "$as_me: error: unrecognized option: $1
56366 Try \`$0 --help' for more information." >&2
56367 { (exit 1); exit 1; }; } ;;
56369 *) ac_config_targets="$ac_config_targets $1"
56370 ac_need_defaults=false ;;
56376 ac_configure_extra_args=
56378 if $ac_cs_silent; then
56380 ac_configure_extra_args="$ac_configure_extra_args --silent"
56384 cat >>$CONFIG_STATUS <<_ACEOF
56385 if \$ac_cs_recheck; then
56386 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56387 CONFIG_SHELL=$SHELL
56388 export CONFIG_SHELL
56389 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56393 cat >>$CONFIG_STATUS <<\_ACEOF
56397 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56398 ## Running $as_me. ##
56404 cat >>$CONFIG_STATUS <<_ACEOF
56410 infile="$srcdir/include/wx/msw/genrcdefs.h"
56411 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
56414 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56415 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56416 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56422 cat >>$CONFIG_STATUS <<\_ACEOF
56424 # Handling of arguments.
56425 for ac_config_target in $ac_config_targets
56427 case $ac_config_target in
56428 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
56429 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
56430 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
56431 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
56432 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
56433 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
56434 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
56435 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
56436 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
56438 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56439 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56440 { (exit 1); exit 1; }; };;
56445 # If the user did not use the arguments to specify the items to instantiate,
56446 # then the envvar interface is used. Set only those that are not.
56447 # We use the long form for the default assignment because of an extremely
56448 # bizarre bug on SunOS 4.1.3.
56449 if $ac_need_defaults; then
56450 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
56451 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
56452 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
56455 # Have a temporary directory for convenience. Make it in the build tree
56456 # simply because there is no reason against having it here, and in addition,
56457 # creating and moving files from /tmp can sometimes cause problems.
56458 # Hook for its removal unless debugging.
56459 # Note that there is a small window in which the directory will not be cleaned:
56460 # after its creation but before its name has been assigned to `$tmp'.
56464 trap 'exit_status=$?
56465 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56467 trap '{ (exit 1); exit 1; }' 1 2 13 15
56469 # Create a (secure) tmp directory for tmp files.
56472 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56473 test -n "$tmp" && test -d "$tmp"
56476 tmp=./conf$$-$RANDOM
56477 (umask 077 && mkdir "$tmp")
56480 echo "$me: cannot create a temporary directory in ." >&2
56481 { (exit 1); exit 1; }
56485 # Set up the sed scripts for CONFIG_FILES section.
56488 # No need to generate the scripts if there are no CONFIG_FILES.
56489 # This happens for instance when ./config.status config.h
56490 if test -n "$CONFIG_FILES"; then
56497 for ac_last_try in false false false false false :; do
56498 cat >conf$$subs.sed <<_ACEOF
56499 SHELL!$SHELL$ac_delim
56500 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56501 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56502 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56503 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56504 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56505 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56506 exec_prefix!$exec_prefix$ac_delim
56507 prefix!$prefix$ac_delim
56508 program_transform_name!$program_transform_name$ac_delim
56509 bindir!$bindir$ac_delim
56510 sbindir!$sbindir$ac_delim
56511 libexecdir!$libexecdir$ac_delim
56512 datarootdir!$datarootdir$ac_delim
56513 datadir!$datadir$ac_delim
56514 sysconfdir!$sysconfdir$ac_delim
56515 sharedstatedir!$sharedstatedir$ac_delim
56516 localstatedir!$localstatedir$ac_delim
56517 includedir!$includedir$ac_delim
56518 oldincludedir!$oldincludedir$ac_delim
56519 docdir!$docdir$ac_delim
56520 infodir!$infodir$ac_delim
56521 htmldir!$htmldir$ac_delim
56522 dvidir!$dvidir$ac_delim
56523 pdfdir!$pdfdir$ac_delim
56524 psdir!$psdir$ac_delim
56525 libdir!$libdir$ac_delim
56526 localedir!$localedir$ac_delim
56527 mandir!$mandir$ac_delim
56528 DEFS!$DEFS$ac_delim
56529 ECHO_C!$ECHO_C$ac_delim
56530 ECHO_N!$ECHO_N$ac_delim
56531 ECHO_T!$ECHO_T$ac_delim
56532 LIBS!$LIBS$ac_delim
56533 build_alias!$build_alias$ac_delim
56534 host_alias!$host_alias$ac_delim
56535 target_alias!$target_alias$ac_delim
56536 build!$build$ac_delim
56537 build_cpu!$build_cpu$ac_delim
56538 build_vendor!$build_vendor$ac_delim
56539 build_os!$build_os$ac_delim
56540 host!$host$ac_delim
56541 host_cpu!$host_cpu$ac_delim
56542 host_vendor!$host_vendor$ac_delim
56543 host_os!$host_os$ac_delim
56544 wx_top_builddir!$wx_top_builddir$ac_delim
56546 CFLAGS!$CFLAGS$ac_delim
56547 LDFLAGS!$LDFLAGS$ac_delim
56548 CPPFLAGS!$CPPFLAGS$ac_delim
56549 ac_ct_CC!$ac_ct_CC$ac_delim
56550 EXEEXT!$EXEEXT$ac_delim
56551 OBJEXT!$OBJEXT$ac_delim
56553 GREP!$GREP$ac_delim
56554 EGREP!$EGREP$ac_delim
56556 CXXFLAGS!$CXXFLAGS$ac_delim
56557 ac_ct_CXX!$ac_ct_CXX$ac_delim
56559 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
56560 CXXCPP!$CXXCPP$ac_delim
56561 subdirs!$subdirs$ac_delim
56562 PKG_CONFIG!$PKG_CONFIG$ac_delim
56563 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
56564 GTK_LIBS!$GTK_LIBS$ac_delim
56565 GTK_CONFIG!$GTK_CONFIG$ac_delim
56566 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
56567 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
56568 XMKMF!$XMKMF$ac_delim
56569 X_CFLAGS!$X_CFLAGS$ac_delim
56570 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
56571 X_LIBS!$X_LIBS$ac_delim
56572 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
56573 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
56574 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
56575 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
56576 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
56577 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
56578 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
56579 Xinerama_CFLAGS!$Xinerama_CFLAGS$ac_delim
56580 Xinerama_LIBS!$Xinerama_LIBS$ac_delim
56581 Xxf86vm_CFLAGS!$Xxf86vm_CFLAGS$ac_delim
56582 Xxf86vm_LIBS!$Xxf86vm_LIBS$ac_delim
56583 SM_CFLAGS!$SM_CFLAGS$ac_delim
56584 SM_LIBS!$SM_LIBS$ac_delim
56585 GL_CFLAGS!$GL_CFLAGS$ac_delim
56586 GL_LIBS!$GL_LIBS$ac_delim
56587 GLU_CFLAGS!$GLU_CFLAGS$ac_delim
56588 GLU_LIBS!$GLU_LIBS$ac_delim
56589 MesaGL_CFLAGS!$MesaGL_CFLAGS$ac_delim
56590 MesaGL_LIBS!$MesaGL_LIBS$ac_delim
56591 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
56592 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
56593 LIBICONV!$LIBICONV$ac_delim
56594 GXX_VERSION!$GXX_VERSION$ac_delim
56595 SDL_CONFIG!$SDL_CONFIG$ac_delim
56598 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56600 elif $ac_last_try; then
56601 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56602 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56603 { (exit 1); exit 1; }; }
56605 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56609 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56610 if test -n "$ac_eof"; then
56611 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56612 ac_eof=`expr $ac_eof + 1`
56615 cat >>$CONFIG_STATUS <<_ACEOF
56616 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56620 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56621 s/^/s,@/; s/!/@,|#_!!_#|/
56624 s/'"$ac_delim"'$/,g/; t
56626 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56627 ' >>$CONFIG_STATUS <conf$$subs.sed
56628 rm -f conf$$subs.sed
56629 cat >>$CONFIG_STATUS <<_ACEOF
56635 for ac_last_try in false false false false false :; do
56636 cat >conf$$subs.sed <<_ACEOF
56637 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
56638 SDL_LIBS!$SDL_LIBS$ac_delim
56639 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
56640 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
56641 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
56642 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
56643 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
56644 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
56645 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
56646 HILDON_LIBS!$HILDON_LIBS$ac_delim
56647 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
56648 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
56649 PYTHON!$PYTHON$ac_delim
56650 COND_PYTHON!$COND_PYTHON$ac_delim
56651 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
56652 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
56653 GST_CFLAGS!$GST_CFLAGS$ac_delim
56654 GST_LIBS!$GST_LIBS$ac_delim
56655 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
56656 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
56657 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
56658 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
56659 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
56660 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
56661 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
56662 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
56663 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
56664 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
56665 VENDOR!$VENDOR$ac_delim
56666 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
56667 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
56668 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
56669 WXUNIV!$WXUNIV$ac_delim
56670 MONOLITHIC!$MONOLITHIC$ac_delim
56671 USE_PLUGINS!$USE_PLUGINS$ac_delim
56672 CXXWARNINGS!$CXXWARNINGS$ac_delim
56673 EXTRALIBS!$EXTRALIBS$ac_delim
56674 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
56675 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
56676 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
56677 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
56678 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
56679 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
56680 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
56681 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
56682 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
56683 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
56684 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
56685 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
56686 UNICODE!$UNICODE$ac_delim
56687 DEBUG_INFO!$DEBUG_INFO$ac_delim
56688 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
56689 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
56690 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
56691 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
56692 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
56693 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
56694 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
56695 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
56696 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
56697 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
56698 RANLIB!$RANLIB$ac_delim
56699 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56700 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56701 INSTALL_DATA!$INSTALL_DATA$ac_delim
56702 LN_S!$LN_S$ac_delim
56703 SET_MAKE!$SET_MAKE$ac_delim
56704 MAKE_SET!$MAKE_SET$ac_delim
56705 AROPTIONS!$AROPTIONS$ac_delim
56706 STRIP!$STRIP$ac_delim
56708 INSTALL_DIR!$INSTALL_DIR$ac_delim
56709 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
56710 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
56711 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
56712 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
56713 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
56714 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
56715 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
56716 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
56717 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
56718 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
56719 SO_SUFFIX!$SO_SUFFIX$ac_delim
56720 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
56721 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
56722 LIBPREFIX!$LIBPREFIX$ac_delim
56723 LIBEXT!$LIBEXT$ac_delim
56724 DLLPREFIX!$DLLPREFIX$ac_delim
56725 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
56726 dlldir!$dlldir$ac_delim
56727 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
56728 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
56729 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
56730 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
56731 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
56732 PIC_FLAG!$PIC_FLAG$ac_delim
56733 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
56736 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56738 elif $ac_last_try; then
56739 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56740 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56741 { (exit 1); exit 1; }; }
56743 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56747 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56748 if test -n "$ac_eof"; then
56749 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56750 ac_eof=`expr $ac_eof + 1`
56753 cat >>$CONFIG_STATUS <<_ACEOF
56754 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56755 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56758 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56759 s/^/s,@/; s/!/@,|#_!!_#|/
56762 s/'"$ac_delim"'$/,g/; t
56764 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56765 ' >>$CONFIG_STATUS <conf$$subs.sed
56766 rm -f conf$$subs.sed
56767 cat >>$CONFIG_STATUS <<_ACEOF
56773 for ac_last_try in false false false false false :; do
56774 cat >conf$$subs.sed <<_ACEOF
56775 USE_SOVERSION!$USE_SOVERSION$ac_delim
56776 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
56777 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
56778 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
56779 USE_MACVERSION!$USE_MACVERSION$ac_delim
56780 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
56781 SONAME_FLAG!$SONAME_FLAG$ac_delim
56782 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
56783 BK_DEPS!$BK_DEPS$ac_delim
56784 WINDRES!$WINDRES$ac_delim
56786 SETFILE!$SETFILE$ac_delim
56787 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
56788 GCC_PCH!$GCC_PCH$ac_delim
56789 ICC_PCH!$ICC_PCH$ac_delim
56790 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
56791 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
56792 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
56793 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
56794 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
56795 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
56796 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
56797 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
56798 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
56799 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
56800 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
56801 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
56802 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
56803 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
56804 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
56805 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
56806 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
56807 COND_BUILD_release!$COND_BUILD_release$ac_delim
56808 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
56809 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
56810 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
56811 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
56812 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
56813 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
56814 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
56815 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
56816 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
56817 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
56818 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
56819 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
56820 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
56821 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
56822 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
56823 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
56824 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
56826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56827 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
56828 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
56829 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
56830 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
56831 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
56832 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
56833 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
56834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
56835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
56836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
56837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
56838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56839 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
56840 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
56841 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
56842 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
56843 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
56844 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
56845 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
56846 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56847 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
56848 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
56849 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
56850 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
56851 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
56852 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
56853 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
56854 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
56855 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
56856 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
56857 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
56858 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
56859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
56860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
56861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
56862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
56863 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
56864 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
56865 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
56866 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56867 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
56868 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56869 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
56870 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56871 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56874 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56876 elif $ac_last_try; then
56877 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56878 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56879 { (exit 1); exit 1; }; }
56881 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56885 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56886 if test -n "$ac_eof"; then
56887 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56888 ac_eof=`expr $ac_eof + 1`
56891 cat >>$CONFIG_STATUS <<_ACEOF
56892 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
56893 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56896 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56897 s/^/s,@/; s/!/@,|#_!!_#|/
56900 s/'"$ac_delim"'$/,g/; t
56902 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56903 ' >>$CONFIG_STATUS <conf$$subs.sed
56904 rm -f conf$$subs.sed
56905 cat >>$CONFIG_STATUS <<_ACEOF
56911 for ac_last_try in false false false false false :; do
56912 cat >conf$$subs.sed <<_ACEOF
56913 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
56914 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
56915 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
56916 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
56917 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
56918 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
56919 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
56920 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
56921 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
56922 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
56923 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
56924 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
56925 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
56926 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
56927 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
56928 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
56929 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
56930 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
56931 COND_SHARED_0!$COND_SHARED_0$ac_delim
56932 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
56933 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
56934 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
56935 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
56936 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56937 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56938 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56939 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
56940 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
56941 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
56942 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
56943 COND_SHARED_1!$COND_SHARED_1$ac_delim
56944 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
56945 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
56946 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
56947 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
56948 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
56949 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
56950 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
56951 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
56952 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
56953 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
56954 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
56955 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
56956 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
56957 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
56958 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
56959 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
56960 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
56961 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
56962 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
56963 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
56964 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
56965 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
56966 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
56967 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
56968 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
56969 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
56970 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56971 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
56972 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56973 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
56974 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56975 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56976 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
56977 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
56978 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
56979 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
56980 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
56981 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
56982 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
56983 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
56984 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
56985 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
56986 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
56987 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
56988 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
56989 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
56990 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
56991 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
56992 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
56993 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
56994 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
56995 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
56996 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
56997 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56998 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56999 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
57000 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
57001 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
57002 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
57003 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
57004 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
57005 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
57006 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
57007 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
57008 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
57009 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
57012 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
57014 elif $ac_last_try; then
57015 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57016 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57017 { (exit 1); exit 1; }; }
57019 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
57023 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57024 if test -n "$ac_eof"; then
57025 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
57026 ac_eof=`expr $ac_eof + 1`
57029 cat >>$CONFIG_STATUS <<_ACEOF
57030 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
57031 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57034 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57035 s/^/s,@/; s/!/@,|#_!!_#|/
57038 s/'"$ac_delim"'$/,g/; t
57040 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57041 ' >>$CONFIG_STATUS <conf$$subs.sed
57042 rm -f conf$$subs.sed
57043 cat >>$CONFIG_STATUS <<_ACEOF
57049 for ac_last_try in false false false false false :; do
57050 cat >conf$$subs.sed <<_ACEOF
57051 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
57052 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
57053 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
57054 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
57055 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
57056 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
57057 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
57058 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
57059 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
57060 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
57061 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
57062 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
57063 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
57064 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
57065 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
57066 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
57067 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
57068 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
57069 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
57070 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
57071 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
57072 DEREZ!$DEREZ$ac_delim
57073 SHARED!$SHARED$ac_delim
57074 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
57075 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
57076 USE_GUI!$USE_GUI$ac_delim
57077 AFMINSTALL!$AFMINSTALL$ac_delim
57078 WIN32INSTALL!$WIN32INSTALL$ac_delim
57079 TOOLKIT!$TOOLKIT$ac_delim
57080 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
57081 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
57082 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
57083 cross_compiling!$cross_compiling$ac_delim
57084 WIDGET_SET!$WIDGET_SET$ac_delim
57085 WX_RELEASE!$WX_RELEASE$ac_delim
57086 WX_VERSION!$WX_VERSION$ac_delim
57087 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
57088 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
57089 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
57090 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
57091 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
57092 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
57093 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
57094 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
57095 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
57096 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
57097 GUIDIST!$GUIDIST$ac_delim
57098 DISTDIR!$DISTDIR$ac_delim
57099 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
57100 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
57101 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
57102 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
57103 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
57104 RESCOMP!$RESCOMP$ac_delim
57105 RESFLAGS!$RESFLAGS$ac_delim
57106 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
57107 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
57108 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
57109 LIBWXMACRES!$LIBWXMACRES$ac_delim
57110 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
57111 MACSETFILE!$MACSETFILE$ac_delim
57113 DLLTOOL!$DLLTOOL$ac_delim
57114 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
57115 LIBOBJS!$LIBOBJS$ac_delim
57116 LTLIBOBJS!$LTLIBOBJS$ac_delim
57119 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
57121 elif $ac_last_try; then
57122 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57123 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57124 { (exit 1); exit 1; }; }
57126 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
57130 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57131 if test -n "$ac_eof"; then
57132 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
57133 ac_eof=`expr $ac_eof + 1`
57136 cat >>$CONFIG_STATUS <<_ACEOF
57137 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
57138 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
57141 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57142 s/^/s,@/; s/!/@,|#_!!_#|/
57145 s/'"$ac_delim"'$/,g/; t
57147 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57148 ' >>$CONFIG_STATUS <conf$$subs.sed
57149 rm -f conf$$subs.sed
57150 cat >>$CONFIG_STATUS <<_ACEOF
57157 # VPATH may cause trouble with some makes, so we remove $(srcdir),
57158 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
57159 # trailing colons and then remove the whole line if VPATH becomes empty
57160 # (actually we leave an empty line to preserve line numbers).
57161 if test "x$srcdir" = x.; then
57162 ac_vpsub='/^[ ]*VPATH[ ]*=/{
57163 s/:*\$(srcdir):*/:/
57164 s/:*\${srcdir}:*/:/
57166 s/^\([^=]*=[ ]*\):*/\1/
57172 cat >>$CONFIG_STATUS <<\_ACEOF
57173 fi # test -n "$CONFIG_FILES"
57176 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
57179 :[FHLC]) ac_mode=$ac_tag; continue;;
57181 case $ac_mode$ac_tag in
57183 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
57184 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
57185 { (exit 1); exit 1; }; };;
57186 :[FH]-) ac_tag=-:-;;
57187 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
57204 -) ac_f="$tmp/stdin";;
57205 *) # Look for the file first in the build tree, then in the source tree
57206 # (if the path is not absolute). The absolute path cannot be DOS-style,
57207 # because $ac_f cannot contain `:'.
57211 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
57213 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57214 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
57215 { (exit 1); exit 1; }; };;
57217 ac_file_inputs="$ac_file_inputs $ac_f"
57220 # Let's still pretend it is `configure' which instantiates (i.e., don't
57221 # use $as_me), people would be surprised to read:
57222 # /* config.h. Generated by config.status. */
57223 configure_input="Generated from "`IFS=:
57224 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57225 if test x"$ac_file" != x-; then
57226 configure_input="$ac_file. $configure_input"
57227 { echo "$as_me:$LINENO: creating $ac_file" >&5
57228 echo "$as_me: creating $ac_file" >&6;}
57232 *:-:* | *:-) cat >"$tmp/stdin";;
57237 ac_dir=`$as_dirname -- "$ac_file" ||
57238 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57239 X"$ac_file" : 'X\(//\)[^/]' \| \
57240 X"$ac_file" : 'X\(//\)$' \| \
57241 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57247 /^X\(\/\/\)[^/].*/{
57262 -*) as_dir=./$as_dir;;
57264 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57268 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57269 *) as_qdir=$as_dir;;
57271 as_dirs="'$as_qdir' $as_dirs"
57272 as_dir=`$as_dirname -- "$as_dir" ||
57273 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57274 X"$as_dir" : 'X\(//\)[^/]' \| \
57275 X"$as_dir" : 'X\(//\)$' \| \
57276 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57282 /^X\(\/\/\)[^/].*/{
57295 test -d "$as_dir" && break
57297 test -z "$as_dirs" || eval "mkdir $as_dirs"
57298 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57299 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57300 { (exit 1); exit 1; }; }; }
57304 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57306 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57307 # A ".." for each directory in $ac_dir_suffix.
57308 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57309 case $ac_top_builddir_sub in
57310 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57311 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57314 ac_abs_top_builddir=$ac_pwd
57315 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57316 # for backward compatibility:
57317 ac_top_builddir=$ac_top_build_prefix
57320 .) # We are building in place.
57322 ac_top_srcdir=$ac_top_builddir_sub
57323 ac_abs_top_srcdir=$ac_pwd ;;
57324 [\\/]* | ?:[\\/]* ) # Absolute name.
57325 ac_srcdir=$srcdir$ac_dir_suffix;
57326 ac_top_srcdir=$srcdir
57327 ac_abs_top_srcdir=$srcdir ;;
57328 *) # Relative name.
57329 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57330 ac_top_srcdir=$ac_top_build_prefix$srcdir
57331 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57333 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57343 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
57344 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
57348 cat >>$CONFIG_STATUS <<\_ACEOF
57349 # If the template does not know about datarootdir, expand it.
57350 # FIXME: This hack should be removed a few years after 2.60.
57351 ac_datarootdir_hack=; ac_datarootdir_seen=
57353 case `sed -n '/datarootdir/ {
57362 ' $ac_file_inputs` in
57363 *datarootdir*) ac_datarootdir_seen=yes;;
57364 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
57365 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57366 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57368 cat >>$CONFIG_STATUS <<_ACEOF
57369 ac_datarootdir_hack='
57370 s&@datadir@&$datadir&g
57371 s&@docdir@&$docdir&g
57372 s&@infodir@&$infodir&g
57373 s&@localedir@&$localedir&g
57374 s&@mandir@&$mandir&g
57375 s&\\\${datarootdir}&$datarootdir&g' ;;
57379 # Neutralize VPATH when `$srcdir' = `.'.
57380 # Shell code in configure.ac might set extrasub.
57381 # FIXME: do we really want to maintain this feature?
57382 cat >>$CONFIG_STATUS <<_ACEOF
57386 cat >>$CONFIG_STATUS <<\_ACEOF
57388 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57389 s&@configure_input@&$configure_input&;t t
57390 s&@top_builddir@&$ac_top_builddir_sub&;t t
57391 s&@srcdir@&$ac_srcdir&;t t
57392 s&@abs_srcdir@&$ac_abs_srcdir&;t t
57393 s&@top_srcdir@&$ac_top_srcdir&;t t
57394 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
57395 s&@builddir@&$ac_builddir&;t t
57396 s&@abs_builddir@&$ac_abs_builddir&;t t
57397 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
57398 s&@INSTALL@&$ac_INSTALL&;t t
57399 $ac_datarootdir_hack
57400 " $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
57402 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57403 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
57404 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
57405 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57406 which seems to be undefined. Please make sure it is defined." >&5
57407 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57408 which seems to be undefined. Please make sure it is defined." >&2;}
57412 -) cat "$tmp/out"; rm -f "$tmp/out";;
57413 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57422 # Transform confdefs.h into a sed script `conftest.defines', that
57423 # substitutes the proper values into config.h.in to produce config.h.
57424 rm -f conftest.defines conftest.tail
57425 # First, append a space to every undef/define line, to ease matching.
57426 echo 's/$/ /' >conftest.defines
57427 # Then, protect against being on the right side of a sed subst, or in
57428 # an unquoted here document, in config.status. If some macros were
57429 # called several times there might be several #defines for the same
57430 # symbol, which is useless. But do not sort them, since the last
57431 # AC_DEFINE must be honored.
57432 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
57433 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57434 # NAME is the cpp macro being defined, VALUE is the value it is being given.
57435 # PARAMS is the parameter list in the macro definition--in most cases, it's
57436 # just an empty string.
57437 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57438 ac_dB='\\)[ (].*,\\1define\\2'
57446 s/^[ ]*#[ ]*define[ ][ ]*//
57451 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57452 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57453 ' >>conftest.defines
57455 # Remove the space that was appended to ease matching.
57456 # Then replace #undef with comments. This is necessary, for
57457 # example, in the case of _POSIX_SOURCE, which is predefined and required
57458 # on some systems where configure will not decide to define it.
57459 # (The regexp can be short, since the line contains either #define or #undef.)
57461 s,^[ #]*u.*,/* & */,' >>conftest.defines
57463 # Break up conftest.defines:
57464 ac_max_sed_lines=50
57466 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57467 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57468 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57470 ac_in='$ac_file_inputs'
57471 ac_out='"$tmp/out1"'
57472 ac_nxt='"$tmp/out2"'
57476 # Write a here document:
57477 cat >>$CONFIG_STATUS <<_ACEOF
57478 # First, check the format of the line:
57479 cat >"\$tmp/defines.sed" <<\\CEOF
57480 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57481 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57485 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
57487 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57488 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
57489 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
57490 grep . conftest.tail >/dev/null || break
57491 rm -f conftest.defines
57492 mv conftest.tail conftest.defines
57494 rm -f conftest.defines conftest.tail
57496 echo "ac_result=$ac_in" >>$CONFIG_STATUS
57497 cat >>$CONFIG_STATUS <<\_ACEOF
57498 if test x"$ac_file" != x-; then
57499 echo "/* $configure_input */" >"$tmp/config.h"
57500 cat "$ac_result" >>"$tmp/config.h"
57501 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
57502 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57503 echo "$as_me: $ac_file is unchanged" >&6;}
57506 mv "$tmp/config.h" $ac_file
57509 echo "/* $configure_input */"
57515 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57516 echo "$as_me: executing $ac_file commands" >&6;}
57521 case $ac_file$ac_mode in
57523 mkdir -p $outdir &&
57524 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
57526 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
57527 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
57528 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
57529 "wx-config":C) rm -f wx-config
57530 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
57537 { (exit 0); exit 0; }
57539 chmod +x $CONFIG_STATUS
57540 ac_clean_files=$ac_clean_files_save
57543 # configure is writing to config.log, and then calls config.status.
57544 # config.status does its own redirection, appending to config.log.
57545 # Unfortunately, on DOS this fails, as config.log is still kept open
57546 # by configure, so config.status won't be able to write to it; its
57547 # output is simply discarded. So we exec the FD to /dev/null,
57548 # effectively closing config.log, so it can be properly (re)opened and
57549 # appended to by config.status. When coming back to configure, we
57550 # need to make the FD available again.
57551 if test "$no_create" != yes; then
57553 ac_config_status_args=
57554 test "$silent" = yes &&
57555 ac_config_status_args="$ac_config_status_args --quiet"
57557 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
57559 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57560 # would make configure fail if this is the last instruction.
57561 $ac_cs_success || { (exit 1); exit 1; }
57565 # CONFIG_SUBDIRS section.
57567 if test "$no_recursion" != yes; then
57569 # Remove --cache-file and --srcdir arguments so they do not pile up.
57570 ac_sub_configure_args=
57572 eval "set x $ac_configure_args"
57576 if test -n "$ac_prev"; then
57581 -cache-file | --cache-file | --cache-fil | --cache-fi \
57582 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
57583 ac_prev=cache_file ;;
57584 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
57585 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
57588 --config-cache | -C)
57590 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
57592 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
57594 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
57596 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
57600 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57602 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
57606 # Always prepend --prefix to ensure using the same prefix
57607 # in subdir configurations.
57608 ac_arg="--prefix=$prefix"
57610 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57612 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
57615 if test "$silent" = yes; then
57616 ac_sub_configure_args="--silent $ac_sub_configure_args"
57620 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
57622 # Do not complain, so a configure script can configure whichever
57623 # parts of a large source tree are present.
57624 test -d "$srcdir/$ac_dir" || continue
57626 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
57627 echo "$as_me:$LINENO: $ac_msg" >&5
57631 -*) as_dir=./$as_dir;;
57633 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57637 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57638 *) as_qdir=$as_dir;;
57640 as_dirs="'$as_qdir' $as_dirs"
57641 as_dir=`$as_dirname -- "$as_dir" ||
57642 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57643 X"$as_dir" : 'X\(//\)[^/]' \| \
57644 X"$as_dir" : 'X\(//\)$' \| \
57645 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57651 /^X\(\/\/\)[^/].*/{
57664 test -d "$as_dir" && break
57666 test -z "$as_dirs" || eval "mkdir $as_dirs"
57667 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57668 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57669 { (exit 1); exit 1; }; }; }
57673 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57675 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57676 # A ".." for each directory in $ac_dir_suffix.
57677 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57678 case $ac_top_builddir_sub in
57679 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57680 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57683 ac_abs_top_builddir=$ac_pwd
57684 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57685 # for backward compatibility:
57686 ac_top_builddir=$ac_top_build_prefix
57689 .) # We are building in place.
57691 ac_top_srcdir=$ac_top_builddir_sub
57692 ac_abs_top_srcdir=$ac_pwd ;;
57693 [\\/]* | ?:[\\/]* ) # Absolute name.
57694 ac_srcdir=$srcdir$ac_dir_suffix;
57695 ac_top_srcdir=$srcdir
57696 ac_abs_top_srcdir=$srcdir ;;
57697 *) # Relative name.
57698 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57699 ac_top_srcdir=$ac_top_build_prefix$srcdir
57700 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57702 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57707 # Check for guested configure; otherwise get Cygnus style configure.
57708 if test -f "$ac_srcdir/configure.gnu"; then
57709 ac_sub_configure=$ac_srcdir/configure.gnu
57710 elif test -f "$ac_srcdir/configure"; then
57711 ac_sub_configure=$ac_srcdir/configure
57712 elif test -f "$ac_srcdir/configure.in"; then
57713 # This should be Cygnus configure.
57714 ac_sub_configure=$ac_aux_dir/configure
57716 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
57717 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
57721 # The recursion is here.
57722 if test -n "$ac_sub_configure"; then
57723 # Make the cache file name correct relative to the subdirectory.
57724 case $cache_file in
57725 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
57726 *) # Relative name.
57727 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
57730 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
57731 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
57732 # The eval makes quoting arguments work.
57733 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
57734 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
57735 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
57736 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
57737 { (exit 1); exit 1; }; }
57746 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
57748 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
57749 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
57750 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
57751 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
57752 if test "$wxUSE_UNICODE" = "yes"; then
57753 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
57754 echo " (using UTF-8)"
57756 echo " (using wchar_t)"
57762 echo " What level of wxWidgets compatibility should be enabled?"
57763 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
57764 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
57766 echo " Which libraries should wxWidgets use?"
57767 echo " STL ${wxUSE_STL}"
57768 echo " jpeg ${wxUSE_LIBJPEG-none}"
57769 echo " png ${wxUSE_LIBPNG-none}"
57770 echo " regex ${wxUSE_REGEX}"
57771 echo " tiff ${wxUSE_LIBTIFF-none}"
57772 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
57773 echo " xpm ${wxUSE_LIBXPM-none}"
57775 echo " zlib ${wxUSE_ZLIB}"
57776 echo " expat ${wxUSE_EXPAT}"
57777 echo " libmspack ${wxUSE_LIBMSPACK}"
57778 echo " sdl ${wxUSE_LIBSDL}"