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 "x$USE_AIX" = "x1"; then
19587 if test "x$XLCXX" = "xyes"; then
19588 CXXFLAGS="-qunique $CXXFLAGS"
19591 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19595 powerpc-*-darwin* )
19596 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19597 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19598 cat >conftest.$ac_ext <<_ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19608 #ifndef __POWERPC__
19609 choke me for lack of PowerPC
19616 rm -f conftest.$ac_objext
19617 if { (ac_try="$ac_compile"
19618 case "(($ac_try" in
19619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19620 *) ac_try_echo=$ac_try;;
19622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19623 (eval "$ac_compile") 2>conftest.er1
19625 grep -v '^ *+' conftest.er1 >conftest.err
19627 cat conftest.err >&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } && {
19630 test -z "$ac_c_werror_flag" ||
19631 test ! -s conftest.err
19632 } && test -s conftest.$ac_objext; then
19633 { echo "$as_me:$LINENO: result: yes" >&5
19634 echo "${ECHO_T}yes" >&6; }
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.$ac_ext >&5
19639 { echo "$as_me:$LINENO: result: no" >&5
19640 echo "${ECHO_T}no" >&6; }
19641 cat >>confdefs.h <<\_ACEOF
19642 #define __POWERPC__ 1
19648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19654 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19655 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19656 cat >conftest.$ac_ext <<_ACEOF
19659 cat confdefs.h >>conftest.$ac_ext
19660 cat >>conftest.$ac_ext <<_ACEOF
19661 /* end confdefs.h. */
19662 #include <CoreFoundation/CFBase.h>
19672 rm -f conftest.$ac_objext
19673 if { (ac_try="$ac_compile"
19674 case "(($ac_try" in
19675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19676 *) ac_try_echo=$ac_try;;
19678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19679 (eval "$ac_compile") 2>conftest.er1
19681 grep -v '^ *+' conftest.er1 >conftest.err
19683 cat conftest.err >&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } && {
19686 test -z "$ac_c_werror_flag" ||
19687 test ! -s conftest.err
19688 } && test -s conftest.$ac_objext; then
19689 { echo "$as_me:$LINENO: result: yes" >&5
19690 echo "${ECHO_T}yes" >&6; }
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.$ac_ext >&5
19695 { echo "$as_me:$LINENO: result: no" >&5
19696 echo "${ECHO_T}no" >&6; }
19697 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19698 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19699 cat >conftest.$ac_ext <<_ACEOF
19702 cat confdefs.h >>conftest.$ac_ext
19703 cat >>conftest.$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19705 #define __CF_USE_FRAMEWORK_INCLUDES__
19706 #include <CoreFoundation/CFBase.h>
19716 rm -f conftest.$ac_objext
19717 if { (ac_try="$ac_compile"
19718 case "(($ac_try" in
19719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19720 *) ac_try_echo=$ac_try;;
19722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19723 (eval "$ac_compile") 2>conftest.er1
19725 grep -v '^ *+' conftest.er1 >conftest.err
19727 cat conftest.err >&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } && {
19730 test -z "$ac_c_werror_flag" ||
19731 test ! -s conftest.err
19732 } && test -s conftest.$ac_objext; then
19733 { echo "$as_me:$LINENO: result: yes" >&5
19734 echo "${ECHO_T}yes" >&6; }
19735 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19740 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19741 See \`config.log' for more details." >&5
19742 echo "$as_me: error: no. CoreFoundation not available.
19743 See \`config.log' for more details." >&2;}
19744 { (exit 1); exit 1; }; }
19748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19758 doesnt_want_win32=0
19761 if test "$wxUSE_MSW" = 1 ; then
19764 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19765 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19766 if test "${wx_cv_nocygwin+set}" = set; then
19767 echo $ECHO_N "(cached) $ECHO_C" >&6
19770 cat >conftest.$ac_ext <<_ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19789 rm -f conftest.$ac_objext
19790 if { (ac_try="$ac_compile"
19791 case "(($ac_try" in
19792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_compile") 2>conftest.er1
19798 grep -v '^ *+' conftest.er1 >conftest.err
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } && {
19803 test -z "$ac_c_werror_flag" ||
19804 test ! -s conftest.err
19805 } && test -s conftest.$ac_objext; then
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.$ac_ext >&5
19815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19820 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19822 if test "$wx_cv_nocygwin" = "yes"; then
19825 doesnt_want_win32=1
19828 if test "$wants_win32" = 1 ; then
19829 BAKEFILE_FORCE_PLATFORM=win32
19837 if test "$wxUSE_WINE" = "yes"; then
19839 LDFLAGS_GUI="-mwindows"
19842 if test "$wants_win32" = 1 ; then
19845 cat >>confdefs.h <<\_ACEOF
19846 #define __WIN32__ 1
19849 cat >>confdefs.h <<\_ACEOF
19850 #define __WIN95__ 1
19853 cat >>confdefs.h <<\_ACEOF
19854 #define __WINDOWS__ 1
19857 cat >>confdefs.h <<\_ACEOF
19858 #define __GNUWIN32__ 1
19861 cat >>confdefs.h <<\_ACEOF
19866 if test "$doesnt_want_win32" = 1 ; then
19871 if test "$USE_UNIX" = 1 ; then
19873 cat >>confdefs.h <<\_ACEOF
19880 *-pc-os2_emx | *-pc-os2-emx )
19881 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19882 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19883 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19884 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 ac_check_lib_save_LIBS=$LIBS
19888 LIBS="-lcExt $LIBS"
19889 cat >conftest.$ac_ext <<_ACEOF
19892 cat confdefs.h >>conftest.$ac_ext
19893 cat >>conftest.$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19896 /* Override any GCC internal prototype to avoid an error.
19897 Use char because int might match the return type of a GCC
19898 builtin and then its argument prototype would still apply. */
19911 rm -f conftest.$ac_objext conftest$ac_exeext
19912 if { (ac_try="$ac_link"
19913 case "(($ac_try" in
19914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19915 *) ac_try_echo=$ac_try;;
19917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19918 (eval "$ac_link") 2>conftest.er1
19920 grep -v '^ *+' conftest.er1 >conftest.err
19922 cat conftest.err >&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); } && {
19925 test -z "$ac_c_werror_flag" ||
19926 test ! -s conftest.err
19927 } && test -s conftest$ac_exeext &&
19928 $as_test_x conftest$ac_exeext; then
19929 ac_cv_lib_cExt_drand48=yes
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19934 ac_cv_lib_cExt_drand48=no
19937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19938 conftest$ac_exeext conftest.$ac_ext
19939 LIBS=$ac_check_lib_save_LIBS
19941 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19942 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19943 if test $ac_cv_lib_cExt_drand48 = yes; then
19944 LIBS="$LIBS -lcExt"
19948 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19950 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19951 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19952 if test "${wx_cv_gccversion+set}" = set; then
19953 echo $ECHO_N "(cached) $ECHO_C" >&6
19956 if test "$cross_compiling" = yes; then
19957 wx_cv_gccversion="EMX2"
19960 cat >conftest.$ac_ext <<_ACEOF
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19971 FILE *f=fopen("conftestval", "w");
19976 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19978 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19988 rm -f conftest$ac_exeext
19989 if { (ac_try="$ac_link"
19990 case "(($ac_try" in
19991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19992 *) ac_try_echo=$ac_try;;
19994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19995 (eval "$ac_link") 2>&5
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19999 { (case "(($ac_try" in
20000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20001 *) ac_try_echo=$ac_try;;
20003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20004 (eval "$ac_try") 2>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); }; }; then
20008 wx_cv_gccversion=`cat conftestval`
20010 echo "$as_me: program exited with status $ac_status" >&5
20011 echo "$as_me: failed program was:" >&5
20012 sed 's/^/| /' conftest.$ac_ext >&5
20014 ( exit $ac_status )
20015 wx_cv_gccversion="EMX2"
20017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20023 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20024 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20025 if test "$wx_cv_gccversion" = "EMX2"; then
20026 LIBS="$LIBS -lstdcpp"
20027 LDFLAGS="$LDFLAGS -Zsysv-signals"
20029 if test "$wx_cv_gccversion" = "EMX3"; then
20030 LIBS="$LIBS -lstdcxx -lgcc"
20031 LDFLAGS="$LDFLAGS -Zsysv-signals"
20033 LIBS="$LIBS -lstdc++"
20036 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20037 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20038 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20045 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20046 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20047 if test "${ac_cv_string_strcasecmp+set}" = set; then
20048 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 cat >conftest.$ac_ext <<_ACEOF
20054 cat confdefs.h >>conftest.$ac_ext
20055 cat >>conftest.$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20058 #include <string.h>
20064 strcasecmp("foo", "bar");
20070 rm -f conftest.$ac_objext conftest$ac_exeext
20071 if { (ac_try="$ac_link"
20072 case "(($ac_try" in
20073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20074 *) ac_try_echo=$ac_try;;
20076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20077 (eval "$ac_link") 2>conftest.er1
20079 grep -v '^ *+' conftest.er1 >conftest.err
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } && {
20084 test -z "$ac_c_werror_flag" ||
20085 test ! -s conftest.err
20086 } && test -s conftest$ac_exeext &&
20087 $as_test_x conftest$ac_exeext; then
20088 ac_cv_string_strcasecmp=yes
20090 echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20093 ac_cv_string_strcasecmp=no
20097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20098 conftest$ac_exeext conftest.$ac_ext
20101 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20102 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20104 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20105 cat >>confdefs.h <<\_ACEOF
20106 #define HAVE_STRCASECMP_IN_STRING_H 1
20110 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20111 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20112 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20113 echo $ECHO_N "(cached) $ECHO_C" >&6
20116 cat >conftest.$ac_ext <<_ACEOF
20119 cat confdefs.h >>conftest.$ac_ext
20120 cat >>conftest.$ac_ext <<_ACEOF
20121 /* end confdefs.h. */
20123 #include <strings.h>
20129 strcasecmp("foo", "bar");
20135 rm -f conftest.$ac_objext conftest$ac_exeext
20136 if { (ac_try="$ac_link"
20137 case "(($ac_try" in
20138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20139 *) ac_try_echo=$ac_try;;
20141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20142 (eval "$ac_link") 2>conftest.er1
20144 grep -v '^ *+' conftest.er1 >conftest.err
20146 cat conftest.err >&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } && {
20149 test -z "$ac_c_werror_flag" ||
20150 test ! -s conftest.err
20151 } && test -s conftest$ac_exeext &&
20152 $as_test_x conftest$ac_exeext; then
20153 ac_cv_strings_strcasecmp=yes
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20158 ac_cv_strings_strcasecmp=no
20162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20163 conftest$ac_exeext conftest.$ac_ext
20166 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20167 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20169 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20170 cat >>confdefs.h <<\_ACEOF
20171 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20175 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20176 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20177 { (exit 1); exit 1; }; }
20185 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20186 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20187 if test "${ac_cv_header_stdc+set}" = set; then
20188 echo $ECHO_N "(cached) $ECHO_C" >&6
20190 cat >conftest.$ac_ext <<_ACEOF
20193 cat confdefs.h >>conftest.$ac_ext
20194 cat >>conftest.$ac_ext <<_ACEOF
20195 /* end confdefs.h. */
20196 #include <stdlib.h>
20197 #include <stdarg.h>
20198 #include <string.h>
20209 rm -f conftest.$ac_objext
20210 if { (ac_try="$ac_compile"
20211 case "(($ac_try" in
20212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20213 *) ac_try_echo=$ac_try;;
20215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20216 (eval "$ac_compile") 2>conftest.er1
20218 grep -v '^ *+' conftest.er1 >conftest.err
20220 cat conftest.err >&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); } && {
20223 test -z "$ac_c_werror_flag" ||
20224 test ! -s conftest.err
20225 } && test -s conftest.$ac_objext; then
20226 ac_cv_header_stdc=yes
20228 echo "$as_me: failed program was:" >&5
20229 sed 's/^/| /' conftest.$ac_ext >&5
20231 ac_cv_header_stdc=no
20234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20236 if test $ac_cv_header_stdc = yes; then
20237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20238 cat >conftest.$ac_ext <<_ACEOF
20241 cat confdefs.h >>conftest.$ac_ext
20242 cat >>conftest.$ac_ext <<_ACEOF
20243 /* end confdefs.h. */
20244 #include <string.h>
20247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20248 $EGREP "memchr" >/dev/null 2>&1; then
20251 ac_cv_header_stdc=no
20257 if test $ac_cv_header_stdc = yes; then
20258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20259 cat >conftest.$ac_ext <<_ACEOF
20262 cat confdefs.h >>conftest.$ac_ext
20263 cat >>conftest.$ac_ext <<_ACEOF
20264 /* end confdefs.h. */
20265 #include <stdlib.h>
20268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20269 $EGREP "free" >/dev/null 2>&1; then
20272 ac_cv_header_stdc=no
20278 if test $ac_cv_header_stdc = yes; then
20279 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20280 if test "$cross_compiling" = yes; then
20283 cat >conftest.$ac_ext <<_ACEOF
20286 cat confdefs.h >>conftest.$ac_ext
20287 cat >>conftest.$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20290 #include <stdlib.h>
20291 #if ((' ' & 0x0FF) == 0x020)
20292 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20293 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20295 # define ISLOWER(c) \
20296 (('a' <= (c) && (c) <= 'i') \
20297 || ('j' <= (c) && (c) <= 'r') \
20298 || ('s' <= (c) && (c) <= 'z'))
20299 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20302 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20307 for (i = 0; i < 256; i++)
20308 if (XOR (islower (i), ISLOWER (i))
20309 || toupper (i) != TOUPPER (i))
20314 rm -f conftest$ac_exeext
20315 if { (ac_try="$ac_link"
20316 case "(($ac_try" in
20317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20318 *) ac_try_echo=$ac_try;;
20320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20321 (eval "$ac_link") 2>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20325 { (case "(($ac_try" in
20326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20327 *) ac_try_echo=$ac_try;;
20329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20330 (eval "$ac_try") 2>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; }; then
20336 echo "$as_me: program exited with status $ac_status" >&5
20337 echo "$as_me: failed program was:" >&5
20338 sed 's/^/| /' conftest.$ac_ext >&5
20340 ( exit $ac_status )
20341 ac_cv_header_stdc=no
20343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20349 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20350 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20351 if test $ac_cv_header_stdc = yes; then
20353 cat >>confdefs.h <<\_ACEOF
20354 #define STDC_HEADERS 1
20359 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20369 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20370 inttypes.h stdint.h unistd.h
20372 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20373 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20375 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20376 echo $ECHO_N "(cached) $ECHO_C" >&6
20378 cat >conftest.$ac_ext <<_ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 $ac_includes_default
20386 #include <$ac_header>
20388 rm -f conftest.$ac_objext
20389 if { (ac_try="$ac_compile"
20390 case "(($ac_try" in
20391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20392 *) ac_try_echo=$ac_try;;
20394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20395 (eval "$ac_compile") 2>conftest.er1
20397 grep -v '^ *+' conftest.er1 >conftest.err
20399 cat conftest.err >&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } && {
20402 test -z "$ac_c_werror_flag" ||
20403 test ! -s conftest.err
20404 } && test -s conftest.$ac_objext; then
20405 eval "$as_ac_Header=yes"
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.$ac_ext >&5
20410 eval "$as_ac_Header=no"
20413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20415 ac_res=`eval echo '${'$as_ac_Header'}'`
20416 { echo "$as_me:$LINENO: result: $ac_res" >&5
20417 echo "${ECHO_T}$ac_res" >&6; }
20418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20419 cat >>confdefs.h <<_ACEOF
20420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20430 for ac_header in langinfo.h wchar.h
20432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20433 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20435 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20436 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 cat >conftest.$ac_ext <<_ACEOF
20441 cat confdefs.h >>conftest.$ac_ext
20442 cat >>conftest.$ac_ext <<_ACEOF
20443 /* end confdefs.h. */
20444 $ac_includes_default
20446 #include <$ac_header>
20448 rm -f conftest.$ac_objext
20449 if { (ac_try="$ac_compile"
20450 case "(($ac_try" in
20451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20452 *) ac_try_echo=$ac_try;;
20454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20455 (eval "$ac_compile") 2>conftest.er1
20457 grep -v '^ *+' conftest.er1 >conftest.err
20459 cat conftest.err >&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); } && {
20462 test -z "$ac_c_werror_flag" ||
20463 test ! -s conftest.err
20464 } && test -s conftest.$ac_objext; then
20465 eval "$as_ac_Header=yes"
20467 echo "$as_me: failed program was:" >&5
20468 sed 's/^/| /' conftest.$ac_ext >&5
20470 eval "$as_ac_Header=no"
20473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20475 ac_res=`eval echo '${'$as_ac_Header'}'`
20476 { echo "$as_me:$LINENO: result: $ac_res" >&5
20477 echo "${ECHO_T}$ac_res" >&6; }
20478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20479 cat >>confdefs.h <<_ACEOF
20480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20488 if test "$ac_cv_header_wchar_h" != "yes"; then
20490 for ac_header in wcstr.h
20492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20493 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20496 echo $ECHO_N "(cached) $ECHO_C" >&6
20498 cat >conftest.$ac_ext <<_ACEOF
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20504 $ac_includes_default
20506 #include <$ac_header>
20508 rm -f conftest.$ac_objext
20509 if { (ac_try="$ac_compile"
20510 case "(($ac_try" in
20511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_compile") 2>conftest.er1
20517 grep -v '^ *+' conftest.er1 >conftest.err
20519 cat conftest.err >&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } && {
20522 test -z "$ac_c_werror_flag" ||
20523 test ! -s conftest.err
20524 } && test -s conftest.$ac_objext; then
20525 eval "$as_ac_Header=yes"
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.$ac_ext >&5
20530 eval "$as_ac_Header=no"
20533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20535 ac_res=`eval echo '${'$as_ac_Header'}'`
20536 { echo "$as_me:$LINENO: result: $ac_res" >&5
20537 echo "${ECHO_T}$ac_res" >&6; }
20538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20539 cat >>confdefs.h <<_ACEOF
20540 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20550 *-pc-os2_emx | *-pc-os2-emx )
20551 if test $ac_cv_header_langinfo_h = "yes" \
20552 -a \( "$wx_cv_gccversion" = "EMX2" \
20553 -o "$wx_cv_gccversion" = "EMX3" \
20554 -o "$wx_cv_gccversion" = "Innotek5" \); then
20555 LIBS="$LIBS -lintl"
20560 if test "$USE_UNIX" = 1 ; then
20562 for ac_header in sys/select.h
20564 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20565 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20567 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20568 echo $ECHO_N "(cached) $ECHO_C" >&6
20570 cat >conftest.$ac_ext <<_ACEOF
20573 cat confdefs.h >>conftest.$ac_ext
20574 cat >>conftest.$ac_ext <<_ACEOF
20575 /* end confdefs.h. */
20576 $ac_includes_default
20578 #include <$ac_header>
20580 rm -f conftest.$ac_objext
20581 if { (ac_try="$ac_compile"
20582 case "(($ac_try" in
20583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20584 *) ac_try_echo=$ac_try;;
20586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20587 (eval "$ac_compile") 2>conftest.er1
20589 grep -v '^ *+' conftest.er1 >conftest.err
20591 cat conftest.err >&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } && {
20594 test -z "$ac_c_werror_flag" ||
20595 test ! -s conftest.err
20596 } && test -s conftest.$ac_objext; then
20597 eval "$as_ac_Header=yes"
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20602 eval "$as_ac_Header=no"
20605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20607 ac_res=`eval echo '${'$as_ac_Header'}'`
20608 { echo "$as_me:$LINENO: result: $ac_res" >&5
20609 echo "${ECHO_T}$ac_res" >&6; }
20610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20611 cat >>confdefs.h <<_ACEOF
20612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20622 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20623 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20624 if test "${ac_cv_c_const+set}" = set; then
20625 echo $ECHO_N "(cached) $ECHO_C" >&6
20627 cat >conftest.$ac_ext <<_ACEOF
20630 cat confdefs.h >>conftest.$ac_ext
20631 cat >>conftest.$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20637 /* FIXME: Include the comments suggested by Paul. */
20638 #ifndef __cplusplus
20639 /* Ultrix mips cc rejects this. */
20640 typedef int charset[2];
20642 /* SunOS 4.1.1 cc rejects this. */
20643 char const *const *pcpcc;
20645 /* NEC SVR4.0.2 mips cc rejects this. */
20646 struct point {int x, y;};
20647 static struct point const zero = {0,0};
20648 /* AIX XL C 1.02.0.0 rejects this.
20649 It does not let you subtract one const X* pointer from another in
20650 an arm of an if-expression whose if-part is not a constant
20652 const char *g = "string";
20653 pcpcc = &g + (g ? g-g : 0);
20654 /* HPUX 7.0 cc rejects these. */
20656 ppc = (char**) pcpcc;
20657 pcpcc = (char const *const *) ppc;
20658 { /* SCO 3.2v4 cc rejects this. */
20660 char const *s = 0 ? (char *) 0 : (char const *) 0;
20665 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20666 int x[] = {25, 17};
20667 const int *foo = &x[0];
20670 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20671 typedef const int *iptr;
20675 { /* AIX XL C 1.02.0.0 rejects this saying
20676 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20677 struct s { int j; const int *ap[3]; };
20678 struct s *b; b->j = 5;
20680 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20681 const int foo = 10;
20682 if (!foo) return 0;
20684 return !cs[0] && !zero.x;
20691 rm -f conftest.$ac_objext
20692 if { (ac_try="$ac_compile"
20693 case "(($ac_try" in
20694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20695 *) ac_try_echo=$ac_try;;
20697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20698 (eval "$ac_compile") 2>conftest.er1
20700 grep -v '^ *+' conftest.er1 >conftest.err
20702 cat conftest.err >&5
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); } && {
20705 test -z "$ac_c_werror_flag" ||
20706 test ! -s conftest.err
20707 } && test -s conftest.$ac_objext; then
20710 echo "$as_me: failed program was:" >&5
20711 sed 's/^/| /' conftest.$ac_ext >&5
20716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20718 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20719 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20720 if test $ac_cv_c_const = no; then
20722 cat >>confdefs.h <<\_ACEOF
20728 { echo "$as_me:$LINENO: checking for inline" >&5
20729 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20730 if test "${ac_cv_c_inline+set}" = set; then
20731 echo $ECHO_N "(cached) $ECHO_C" >&6
20734 for ac_kw in inline __inline__ __inline; do
20735 cat >conftest.$ac_ext <<_ACEOF
20738 cat confdefs.h >>conftest.$ac_ext
20739 cat >>conftest.$ac_ext <<_ACEOF
20740 /* end confdefs.h. */
20741 #ifndef __cplusplus
20743 static $ac_kw foo_t static_foo () {return 0; }
20744 $ac_kw foo_t foo () {return 0; }
20748 rm -f conftest.$ac_objext
20749 if { (ac_try="$ac_compile"
20750 case "(($ac_try" in
20751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20752 *) ac_try_echo=$ac_try;;
20754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20755 (eval "$ac_compile") 2>conftest.er1
20757 grep -v '^ *+' conftest.er1 >conftest.err
20759 cat conftest.err >&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); } && {
20762 test -z "$ac_c_werror_flag" ||
20763 test ! -s conftest.err
20764 } && test -s conftest.$ac_objext; then
20765 ac_cv_c_inline=$ac_kw
20767 echo "$as_me: failed program was:" >&5
20768 sed 's/^/| /' conftest.$ac_ext >&5
20773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20774 test "$ac_cv_c_inline" != no && break
20778 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20779 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20782 case $ac_cv_c_inline in
20785 case $ac_cv_c_inline in
20787 *) ac_val=$ac_cv_c_inline;;
20789 cat >>confdefs.h <<_ACEOF
20790 #ifndef __cplusplus
20791 #define inline $ac_val
20798 { echo "$as_me:$LINENO: checking for short" >&5
20799 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20800 if test "${ac_cv_type_short+set}" = set; then
20801 echo $ECHO_N "(cached) $ECHO_C" >&6
20803 cat >conftest.$ac_ext <<_ACEOF
20806 cat confdefs.h >>conftest.$ac_ext
20807 cat >>conftest.$ac_ext <<_ACEOF
20808 /* end confdefs.h. */
20809 $ac_includes_default
20810 typedef short ac__type_new_;
20814 if ((ac__type_new_ *) 0)
20816 if (sizeof (ac__type_new_))
20822 rm -f conftest.$ac_objext
20823 if { (ac_try="$ac_compile"
20824 case "(($ac_try" in
20825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20826 *) ac_try_echo=$ac_try;;
20828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20829 (eval "$ac_compile") 2>conftest.er1
20831 grep -v '^ *+' conftest.er1 >conftest.err
20833 cat conftest.err >&5
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); } && {
20836 test -z "$ac_c_werror_flag" ||
20837 test ! -s conftest.err
20838 } && test -s conftest.$ac_objext; then
20839 ac_cv_type_short=yes
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20844 ac_cv_type_short=no
20847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20849 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20850 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20852 # The cast to long int works around a bug in the HP C Compiler
20853 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20854 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20855 # This bug is HP SR number 8606223364.
20856 { echo "$as_me:$LINENO: checking size of short" >&5
20857 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20858 if test "${ac_cv_sizeof_short+set}" = set; then
20859 echo $ECHO_N "(cached) $ECHO_C" >&6
20861 if test "$cross_compiling" = yes; then
20862 # Depending upon the size, compute the lo and hi bounds.
20863 cat >conftest.$ac_ext <<_ACEOF
20866 cat confdefs.h >>conftest.$ac_ext
20867 cat >>conftest.$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20869 $ac_includes_default
20870 typedef short ac__type_sizeof_;
20874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20881 rm -f conftest.$ac_objext
20882 if { (ac_try="$ac_compile"
20883 case "(($ac_try" in
20884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20885 *) ac_try_echo=$ac_try;;
20887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20888 (eval "$ac_compile") 2>conftest.er1
20890 grep -v '^ *+' conftest.er1 >conftest.err
20892 cat conftest.err >&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); } && {
20895 test -z "$ac_c_werror_flag" ||
20896 test ! -s conftest.err
20897 } && test -s conftest.$ac_objext; then
20900 cat >conftest.$ac_ext <<_ACEOF
20903 cat confdefs.h >>conftest.$ac_ext
20904 cat >>conftest.$ac_ext <<_ACEOF
20905 /* end confdefs.h. */
20906 $ac_includes_default
20907 typedef short ac__type_sizeof_;
20911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20918 rm -f conftest.$ac_objext
20919 if { (ac_try="$ac_compile"
20920 case "(($ac_try" in
20921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20922 *) ac_try_echo=$ac_try;;
20924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20925 (eval "$ac_compile") 2>conftest.er1
20927 grep -v '^ *+' conftest.er1 >conftest.err
20929 cat conftest.err >&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } && {
20932 test -z "$ac_c_werror_flag" ||
20933 test ! -s conftest.err
20934 } && test -s conftest.$ac_objext; then
20935 ac_hi=$ac_mid; break
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20940 ac_lo=`expr $ac_mid + 1`
20941 if test $ac_lo -le $ac_mid; then
20945 ac_mid=`expr 2 '*' $ac_mid + 1`
20948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.$ac_ext >&5
20954 cat >conftest.$ac_ext <<_ACEOF
20957 cat confdefs.h >>conftest.$ac_ext
20958 cat >>conftest.$ac_ext <<_ACEOF
20959 /* end confdefs.h. */
20960 $ac_includes_default
20961 typedef short ac__type_sizeof_;
20965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20972 rm -f conftest.$ac_objext
20973 if { (ac_try="$ac_compile"
20974 case "(($ac_try" in
20975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20976 *) ac_try_echo=$ac_try;;
20978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20979 (eval "$ac_compile") 2>conftest.er1
20981 grep -v '^ *+' conftest.er1 >conftest.err
20983 cat conftest.err >&5
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); } && {
20986 test -z "$ac_c_werror_flag" ||
20987 test ! -s conftest.err
20988 } && test -s conftest.$ac_objext; then
20991 cat >conftest.$ac_ext <<_ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 $ac_includes_default
20998 typedef short ac__type_sizeof_;
21002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21009 rm -f conftest.$ac_objext
21010 if { (ac_try="$ac_compile"
21011 case "(($ac_try" in
21012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21013 *) ac_try_echo=$ac_try;;
21015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21016 (eval "$ac_compile") 2>conftest.er1
21018 grep -v '^ *+' conftest.er1 >conftest.err
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } && {
21023 test -z "$ac_c_werror_flag" ||
21024 test ! -s conftest.err
21025 } && test -s conftest.$ac_objext; then
21026 ac_lo=$ac_mid; break
21028 echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.$ac_ext >&5
21031 ac_hi=`expr '(' $ac_mid ')' - 1`
21032 if test $ac_mid -le $ac_hi; then
21036 ac_mid=`expr 2 '*' $ac_mid`
21039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052 # Binary search between lo and hi bounds.
21053 while test "x$ac_lo" != "x$ac_hi"; do
21054 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21055 cat >conftest.$ac_ext <<_ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 $ac_includes_default
21062 typedef short ac__type_sizeof_;
21066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21073 rm -f conftest.$ac_objext
21074 if { (ac_try="$ac_compile"
21075 case "(($ac_try" in
21076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077 *) ac_try_echo=$ac_try;;
21079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21080 (eval "$ac_compile") 2>conftest.er1
21082 grep -v '^ *+' conftest.er1 >conftest.err
21084 cat conftest.err >&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } && {
21087 test -z "$ac_c_werror_flag" ||
21088 test ! -s conftest.err
21089 } && test -s conftest.$ac_objext; then
21092 echo "$as_me: failed program was:" >&5
21093 sed 's/^/| /' conftest.$ac_ext >&5
21095 ac_lo=`expr '(' $ac_mid ')' + 1`
21098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21101 ?*) ac_cv_sizeof_short=$ac_lo;;
21102 '') if test "$ac_cv_type_short" = yes; then
21103 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21104 See \`config.log' for more details." >&5
21105 echo "$as_me: error: cannot compute sizeof (short)
21106 See \`config.log' for more details." >&2;}
21107 { (exit 77); exit 77; }; }
21109 ac_cv_sizeof_short=0
21113 cat >conftest.$ac_ext <<_ACEOF
21116 cat confdefs.h >>conftest.$ac_ext
21117 cat >>conftest.$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21119 $ac_includes_default
21120 typedef short ac__type_sizeof_;
21121 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21122 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21124 #include <stdlib.h>
21129 FILE *f = fopen ("conftest.val", "w");
21132 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21134 long int i = longval ();
21135 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21137 fprintf (f, "%ld\n", i);
21141 unsigned long int i = ulongval ();
21142 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21144 fprintf (f, "%lu\n", i);
21146 return ferror (f) || fclose (f) != 0;
21152 rm -f conftest$ac_exeext
21153 if { (ac_try="$ac_link"
21154 case "(($ac_try" in
21155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21156 *) ac_try_echo=$ac_try;;
21158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21159 (eval "$ac_link") 2>&5
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21163 { (case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_try") 2>&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); }; }; then
21172 ac_cv_sizeof_short=`cat conftest.val`
21174 echo "$as_me: program exited with status $ac_status" >&5
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21178 ( exit $ac_status )
21179 if test "$ac_cv_type_short" = yes; then
21180 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21181 See \`config.log' for more details." >&5
21182 echo "$as_me: error: cannot compute sizeof (short)
21183 See \`config.log' for more details." >&2;}
21184 { (exit 77); exit 77; }; }
21186 ac_cv_sizeof_short=0
21189 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21193 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21194 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21198 cat >>confdefs.h <<_ACEOF
21199 #define SIZEOF_SHORT $ac_cv_sizeof_short
21203 { echo "$as_me:$LINENO: checking for void *" >&5
21204 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21205 if test "${ac_cv_type_void_p+set}" = set; then
21206 echo $ECHO_N "(cached) $ECHO_C" >&6
21208 cat >conftest.$ac_ext <<_ACEOF
21211 cat confdefs.h >>conftest.$ac_ext
21212 cat >>conftest.$ac_ext <<_ACEOF
21213 /* end confdefs.h. */
21214 $ac_includes_default
21215 typedef void * ac__type_new_;
21219 if ((ac__type_new_ *) 0)
21221 if (sizeof (ac__type_new_))
21227 rm -f conftest.$ac_objext
21228 if { (ac_try="$ac_compile"
21229 case "(($ac_try" in
21230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21231 *) ac_try_echo=$ac_try;;
21233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21234 (eval "$ac_compile") 2>conftest.er1
21236 grep -v '^ *+' conftest.er1 >conftest.err
21238 cat conftest.err >&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); } && {
21241 test -z "$ac_c_werror_flag" ||
21242 test ! -s conftest.err
21243 } && test -s conftest.$ac_objext; then
21244 ac_cv_type_void_p=yes
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.$ac_ext >&5
21249 ac_cv_type_void_p=no
21252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21254 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21255 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21257 # The cast to long int works around a bug in the HP C Compiler
21258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21260 # This bug is HP SR number 8606223364.
21261 { echo "$as_me:$LINENO: checking size of void *" >&5
21262 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21263 if test "${ac_cv_sizeof_void_p+set}" = set; then
21264 echo $ECHO_N "(cached) $ECHO_C" >&6
21266 if test "$cross_compiling" = yes; then
21267 # Depending upon the size, compute the lo and hi bounds.
21268 cat >conftest.$ac_ext <<_ACEOF
21271 cat confdefs.h >>conftest.$ac_ext
21272 cat >>conftest.$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 $ac_includes_default
21275 typedef void * ac__type_sizeof_;
21279 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21286 rm -f conftest.$ac_objext
21287 if { (ac_try="$ac_compile"
21288 case "(($ac_try" in
21289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21290 *) ac_try_echo=$ac_try;;
21292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21293 (eval "$ac_compile") 2>conftest.er1
21295 grep -v '^ *+' conftest.er1 >conftest.err
21297 cat conftest.err >&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); } && {
21300 test -z "$ac_c_werror_flag" ||
21301 test ! -s conftest.err
21302 } && test -s conftest.$ac_objext; then
21305 cat >conftest.$ac_ext <<_ACEOF
21308 cat confdefs.h >>conftest.$ac_ext
21309 cat >>conftest.$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21311 $ac_includes_default
21312 typedef void * ac__type_sizeof_;
21316 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21323 rm -f conftest.$ac_objext
21324 if { (ac_try="$ac_compile"
21325 case "(($ac_try" in
21326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21327 *) ac_try_echo=$ac_try;;
21329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21330 (eval "$ac_compile") 2>conftest.er1
21332 grep -v '^ *+' conftest.er1 >conftest.err
21334 cat conftest.err >&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); } && {
21337 test -z "$ac_c_werror_flag" ||
21338 test ! -s conftest.err
21339 } && test -s conftest.$ac_objext; then
21340 ac_hi=$ac_mid; break
21342 echo "$as_me: failed program was:" >&5
21343 sed 's/^/| /' conftest.$ac_ext >&5
21345 ac_lo=`expr $ac_mid + 1`
21346 if test $ac_lo -le $ac_mid; then
21350 ac_mid=`expr 2 '*' $ac_mid + 1`
21353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21356 echo "$as_me: failed program was:" >&5
21357 sed 's/^/| /' conftest.$ac_ext >&5
21359 cat >conftest.$ac_ext <<_ACEOF
21362 cat confdefs.h >>conftest.$ac_ext
21363 cat >>conftest.$ac_ext <<_ACEOF
21364 /* end confdefs.h. */
21365 $ac_includes_default
21366 typedef void * ac__type_sizeof_;
21370 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21377 rm -f conftest.$ac_objext
21378 if { (ac_try="$ac_compile"
21379 case "(($ac_try" in
21380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21381 *) ac_try_echo=$ac_try;;
21383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21384 (eval "$ac_compile") 2>conftest.er1
21386 grep -v '^ *+' conftest.er1 >conftest.err
21388 cat conftest.err >&5
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); } && {
21391 test -z "$ac_c_werror_flag" ||
21392 test ! -s conftest.err
21393 } && test -s conftest.$ac_objext; then
21396 cat >conftest.$ac_ext <<_ACEOF
21399 cat confdefs.h >>conftest.$ac_ext
21400 cat >>conftest.$ac_ext <<_ACEOF
21401 /* end confdefs.h. */
21402 $ac_includes_default
21403 typedef void * ac__type_sizeof_;
21407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21414 rm -f conftest.$ac_objext
21415 if { (ac_try="$ac_compile"
21416 case "(($ac_try" in
21417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21418 *) ac_try_echo=$ac_try;;
21420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21421 (eval "$ac_compile") 2>conftest.er1
21423 grep -v '^ *+' conftest.er1 >conftest.err
21425 cat conftest.err >&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } && {
21428 test -z "$ac_c_werror_flag" ||
21429 test ! -s conftest.err
21430 } && test -s conftest.$ac_objext; then
21431 ac_lo=$ac_mid; break
21433 echo "$as_me: failed program was:" >&5
21434 sed 's/^/| /' conftest.$ac_ext >&5
21436 ac_hi=`expr '(' $ac_mid ')' - 1`
21437 if test $ac_mid -le $ac_hi; then
21441 ac_mid=`expr 2 '*' $ac_mid`
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21457 # Binary search between lo and hi bounds.
21458 while test "x$ac_lo" != "x$ac_hi"; do
21459 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21460 cat >conftest.$ac_ext <<_ACEOF
21463 cat confdefs.h >>conftest.$ac_ext
21464 cat >>conftest.$ac_ext <<_ACEOF
21465 /* end confdefs.h. */
21466 $ac_includes_default
21467 typedef void * ac__type_sizeof_;
21471 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21478 rm -f conftest.$ac_objext
21479 if { (ac_try="$ac_compile"
21480 case "(($ac_try" in
21481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21482 *) ac_try_echo=$ac_try;;
21484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21485 (eval "$ac_compile") 2>conftest.er1
21487 grep -v '^ *+' conftest.er1 >conftest.err
21489 cat conftest.err >&5
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); } && {
21492 test -z "$ac_c_werror_flag" ||
21493 test ! -s conftest.err
21494 } && test -s conftest.$ac_objext; then
21497 echo "$as_me: failed program was:" >&5
21498 sed 's/^/| /' conftest.$ac_ext >&5
21500 ac_lo=`expr '(' $ac_mid ')' + 1`
21503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21506 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21507 '') if test "$ac_cv_type_void_p" = yes; then
21508 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21509 See \`config.log' for more details." >&5
21510 echo "$as_me: error: cannot compute sizeof (void *)
21511 See \`config.log' for more details." >&2;}
21512 { (exit 77); exit 77; }; }
21514 ac_cv_sizeof_void_p=0
21518 cat >conftest.$ac_ext <<_ACEOF
21521 cat confdefs.h >>conftest.$ac_ext
21522 cat >>conftest.$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21524 $ac_includes_default
21525 typedef void * ac__type_sizeof_;
21526 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21527 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21529 #include <stdlib.h>
21534 FILE *f = fopen ("conftest.val", "w");
21537 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21539 long int i = longval ();
21540 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21542 fprintf (f, "%ld\n", i);
21546 unsigned long int i = ulongval ();
21547 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21549 fprintf (f, "%lu\n", i);
21551 return ferror (f) || fclose (f) != 0;
21557 rm -f conftest$ac_exeext
21558 if { (ac_try="$ac_link"
21559 case "(($ac_try" in
21560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21561 *) ac_try_echo=$ac_try;;
21563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21564 (eval "$ac_link") 2>&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21568 { (case "(($ac_try" in
21569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21570 *) ac_try_echo=$ac_try;;
21572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21573 (eval "$ac_try") 2>&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; }; then
21577 ac_cv_sizeof_void_p=`cat conftest.val`
21579 echo "$as_me: program exited with status $ac_status" >&5
21580 echo "$as_me: failed program was:" >&5
21581 sed 's/^/| /' conftest.$ac_ext >&5
21583 ( exit $ac_status )
21584 if test "$ac_cv_type_void_p" = yes; then
21585 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21586 See \`config.log' for more details." >&5
21587 echo "$as_me: error: cannot compute sizeof (void *)
21588 See \`config.log' for more details." >&2;}
21589 { (exit 77); exit 77; }; }
21591 ac_cv_sizeof_void_p=0
21594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21598 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21599 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21603 cat >>confdefs.h <<_ACEOF
21604 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21608 { echo "$as_me:$LINENO: checking for int" >&5
21609 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21610 if test "${ac_cv_type_int+set}" = set; then
21611 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 cat >conftest.$ac_ext <<_ACEOF
21616 cat confdefs.h >>conftest.$ac_ext
21617 cat >>conftest.$ac_ext <<_ACEOF
21618 /* end confdefs.h. */
21619 $ac_includes_default
21620 typedef int ac__type_new_;
21624 if ((ac__type_new_ *) 0)
21626 if (sizeof (ac__type_new_))
21632 rm -f conftest.$ac_objext
21633 if { (ac_try="$ac_compile"
21634 case "(($ac_try" in
21635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21636 *) ac_try_echo=$ac_try;;
21638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21639 (eval "$ac_compile") 2>conftest.er1
21641 grep -v '^ *+' conftest.er1 >conftest.err
21643 cat conftest.err >&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } && {
21646 test -z "$ac_c_werror_flag" ||
21647 test ! -s conftest.err
21648 } && test -s conftest.$ac_objext; then
21651 echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.$ac_ext >&5
21657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21659 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21660 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21662 # The cast to long int works around a bug in the HP C Compiler
21663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21665 # This bug is HP SR number 8606223364.
21666 { echo "$as_me:$LINENO: checking size of int" >&5
21667 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21668 if test "${ac_cv_sizeof_int+set}" = set; then
21669 echo $ECHO_N "(cached) $ECHO_C" >&6
21671 if test "$cross_compiling" = yes; then
21672 # Depending upon the size, compute the lo and hi bounds.
21673 cat >conftest.$ac_ext <<_ACEOF
21676 cat confdefs.h >>conftest.$ac_ext
21677 cat >>conftest.$ac_ext <<_ACEOF
21678 /* end confdefs.h. */
21679 $ac_includes_default
21680 typedef int ac__type_sizeof_;
21684 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21691 rm -f conftest.$ac_objext
21692 if { (ac_try="$ac_compile"
21693 case "(($ac_try" in
21694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21695 *) ac_try_echo=$ac_try;;
21697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21698 (eval "$ac_compile") 2>conftest.er1
21700 grep -v '^ *+' conftest.er1 >conftest.err
21702 cat conftest.err >&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } && {
21705 test -z "$ac_c_werror_flag" ||
21706 test ! -s conftest.err
21707 } && test -s conftest.$ac_objext; then
21710 cat >conftest.$ac_ext <<_ACEOF
21713 cat confdefs.h >>conftest.$ac_ext
21714 cat >>conftest.$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 $ac_includes_default
21717 typedef int ac__type_sizeof_;
21721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21728 rm -f conftest.$ac_objext
21729 if { (ac_try="$ac_compile"
21730 case "(($ac_try" in
21731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21732 *) ac_try_echo=$ac_try;;
21734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21735 (eval "$ac_compile") 2>conftest.er1
21737 grep -v '^ *+' conftest.er1 >conftest.err
21739 cat conftest.err >&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && {
21742 test -z "$ac_c_werror_flag" ||
21743 test ! -s conftest.err
21744 } && test -s conftest.$ac_objext; then
21745 ac_hi=$ac_mid; break
21747 echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.$ac_ext >&5
21750 ac_lo=`expr $ac_mid + 1`
21751 if test $ac_lo -le $ac_mid; then
21755 ac_mid=`expr 2 '*' $ac_mid + 1`
21758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21764 cat >conftest.$ac_ext <<_ACEOF
21767 cat confdefs.h >>conftest.$ac_ext
21768 cat >>conftest.$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770 $ac_includes_default
21771 typedef int ac__type_sizeof_;
21775 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21782 rm -f conftest.$ac_objext
21783 if { (ac_try="$ac_compile"
21784 case "(($ac_try" in
21785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21786 *) ac_try_echo=$ac_try;;
21788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21789 (eval "$ac_compile") 2>conftest.er1
21791 grep -v '^ *+' conftest.er1 >conftest.err
21793 cat conftest.err >&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } && {
21796 test -z "$ac_c_werror_flag" ||
21797 test ! -s conftest.err
21798 } && test -s conftest.$ac_objext; then
21801 cat >conftest.$ac_ext <<_ACEOF
21804 cat confdefs.h >>conftest.$ac_ext
21805 cat >>conftest.$ac_ext <<_ACEOF
21806 /* end confdefs.h. */
21807 $ac_includes_default
21808 typedef int ac__type_sizeof_;
21812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21819 rm -f conftest.$ac_objext
21820 if { (ac_try="$ac_compile"
21821 case "(($ac_try" in
21822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21823 *) ac_try_echo=$ac_try;;
21825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21826 (eval "$ac_compile") 2>conftest.er1
21828 grep -v '^ *+' conftest.er1 >conftest.err
21830 cat conftest.err >&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); } && {
21833 test -z "$ac_c_werror_flag" ||
21834 test ! -s conftest.err
21835 } && test -s conftest.$ac_objext; then
21836 ac_lo=$ac_mid; break
21838 echo "$as_me: failed program was:" >&5
21839 sed 's/^/| /' conftest.$ac_ext >&5
21841 ac_hi=`expr '(' $ac_mid ')' - 1`
21842 if test $ac_mid -le $ac_hi; then
21846 ac_mid=`expr 2 '*' $ac_mid`
21849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.$ac_ext >&5
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21862 # Binary search between lo and hi bounds.
21863 while test "x$ac_lo" != "x$ac_hi"; do
21864 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21865 cat >conftest.$ac_ext <<_ACEOF
21868 cat confdefs.h >>conftest.$ac_ext
21869 cat >>conftest.$ac_ext <<_ACEOF
21870 /* end confdefs.h. */
21871 $ac_includes_default
21872 typedef int ac__type_sizeof_;
21876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21883 rm -f conftest.$ac_objext
21884 if { (ac_try="$ac_compile"
21885 case "(($ac_try" in
21886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21887 *) ac_try_echo=$ac_try;;
21889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21890 (eval "$ac_compile") 2>conftest.er1
21892 grep -v '^ *+' conftest.er1 >conftest.err
21894 cat conftest.err >&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } && {
21897 test -z "$ac_c_werror_flag" ||
21898 test ! -s conftest.err
21899 } && test -s conftest.$ac_objext; then
21902 echo "$as_me: failed program was:" >&5
21903 sed 's/^/| /' conftest.$ac_ext >&5
21905 ac_lo=`expr '(' $ac_mid ')' + 1`
21908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21911 ?*) ac_cv_sizeof_int=$ac_lo;;
21912 '') if test "$ac_cv_type_int" = yes; then
21913 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21914 See \`config.log' for more details." >&5
21915 echo "$as_me: error: cannot compute sizeof (int)
21916 See \`config.log' for more details." >&2;}
21917 { (exit 77); exit 77; }; }
21923 cat >conftest.$ac_ext <<_ACEOF
21926 cat confdefs.h >>conftest.$ac_ext
21927 cat >>conftest.$ac_ext <<_ACEOF
21928 /* end confdefs.h. */
21929 $ac_includes_default
21930 typedef int ac__type_sizeof_;
21931 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21932 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21934 #include <stdlib.h>
21939 FILE *f = fopen ("conftest.val", "w");
21942 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21944 long int i = longval ();
21945 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21947 fprintf (f, "%ld\n", i);
21951 unsigned long int i = ulongval ();
21952 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21954 fprintf (f, "%lu\n", i);
21956 return ferror (f) || fclose (f) != 0;
21962 rm -f conftest$ac_exeext
21963 if { (ac_try="$ac_link"
21964 case "(($ac_try" in
21965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21966 *) ac_try_echo=$ac_try;;
21968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21969 (eval "$ac_link") 2>&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21973 { (case "(($ac_try" in
21974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21975 *) ac_try_echo=$ac_try;;
21977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21978 (eval "$ac_try") 2>&5
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); }; }; then
21982 ac_cv_sizeof_int=`cat conftest.val`
21984 echo "$as_me: program exited with status $ac_status" >&5
21985 echo "$as_me: failed program was:" >&5
21986 sed 's/^/| /' conftest.$ac_ext >&5
21988 ( exit $ac_status )
21989 if test "$ac_cv_type_int" = yes; then
21990 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21991 See \`config.log' for more details." >&5
21992 echo "$as_me: error: cannot compute sizeof (int)
21993 See \`config.log' for more details." >&2;}
21994 { (exit 77); exit 77; }; }
21999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22003 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22004 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22008 cat >>confdefs.h <<_ACEOF
22009 #define SIZEOF_INT $ac_cv_sizeof_int
22013 { echo "$as_me:$LINENO: checking for long" >&5
22014 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22015 if test "${ac_cv_type_long+set}" = set; then
22016 echo $ECHO_N "(cached) $ECHO_C" >&6
22018 cat >conftest.$ac_ext <<_ACEOF
22021 cat confdefs.h >>conftest.$ac_ext
22022 cat >>conftest.$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22024 $ac_includes_default
22025 typedef long ac__type_new_;
22029 if ((ac__type_new_ *) 0)
22031 if (sizeof (ac__type_new_))
22037 rm -f conftest.$ac_objext
22038 if { (ac_try="$ac_compile"
22039 case "(($ac_try" in
22040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22041 *) ac_try_echo=$ac_try;;
22043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22044 (eval "$ac_compile") 2>conftest.er1
22046 grep -v '^ *+' conftest.er1 >conftest.err
22048 cat conftest.err >&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } && {
22051 test -z "$ac_c_werror_flag" ||
22052 test ! -s conftest.err
22053 } && test -s conftest.$ac_objext; then
22054 ac_cv_type_long=yes
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22064 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22065 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22067 # The cast to long int works around a bug in the HP C Compiler
22068 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22070 # This bug is HP SR number 8606223364.
22071 { echo "$as_me:$LINENO: checking size of long" >&5
22072 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22073 if test "${ac_cv_sizeof_long+set}" = set; then
22074 echo $ECHO_N "(cached) $ECHO_C" >&6
22076 if test "$cross_compiling" = yes; then
22077 # Depending upon the size, compute the lo and hi bounds.
22078 cat >conftest.$ac_ext <<_ACEOF
22081 cat confdefs.h >>conftest.$ac_ext
22082 cat >>conftest.$ac_ext <<_ACEOF
22083 /* end confdefs.h. */
22084 $ac_includes_default
22085 typedef long ac__type_sizeof_;
22089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22096 rm -f conftest.$ac_objext
22097 if { (ac_try="$ac_compile"
22098 case "(($ac_try" in
22099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22100 *) ac_try_echo=$ac_try;;
22102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22103 (eval "$ac_compile") 2>conftest.er1
22105 grep -v '^ *+' conftest.er1 >conftest.err
22107 cat conftest.err >&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); } && {
22110 test -z "$ac_c_werror_flag" ||
22111 test ! -s conftest.err
22112 } && test -s conftest.$ac_objext; then
22115 cat >conftest.$ac_ext <<_ACEOF
22118 cat confdefs.h >>conftest.$ac_ext
22119 cat >>conftest.$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22121 $ac_includes_default
22122 typedef long ac__type_sizeof_;
22126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22133 rm -f conftest.$ac_objext
22134 if { (ac_try="$ac_compile"
22135 case "(($ac_try" in
22136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_compile") 2>conftest.er1
22142 grep -v '^ *+' conftest.er1 >conftest.err
22144 cat conftest.err >&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && {
22147 test -z "$ac_c_werror_flag" ||
22148 test ! -s conftest.err
22149 } && test -s conftest.$ac_objext; then
22150 ac_hi=$ac_mid; break
22152 echo "$as_me: failed program was:" >&5
22153 sed 's/^/| /' conftest.$ac_ext >&5
22155 ac_lo=`expr $ac_mid + 1`
22156 if test $ac_lo -le $ac_mid; then
22160 ac_mid=`expr 2 '*' $ac_mid + 1`
22163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.$ac_ext >&5
22169 cat >conftest.$ac_ext <<_ACEOF
22172 cat confdefs.h >>conftest.$ac_ext
22173 cat >>conftest.$ac_ext <<_ACEOF
22174 /* end confdefs.h. */
22175 $ac_includes_default
22176 typedef long ac__type_sizeof_;
22180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22187 rm -f conftest.$ac_objext
22188 if { (ac_try="$ac_compile"
22189 case "(($ac_try" in
22190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22191 *) ac_try_echo=$ac_try;;
22193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22194 (eval "$ac_compile") 2>conftest.er1
22196 grep -v '^ *+' conftest.er1 >conftest.err
22198 cat conftest.err >&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); } && {
22201 test -z "$ac_c_werror_flag" ||
22202 test ! -s conftest.err
22203 } && test -s conftest.$ac_objext; then
22206 cat >conftest.$ac_ext <<_ACEOF
22209 cat confdefs.h >>conftest.$ac_ext
22210 cat >>conftest.$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22212 $ac_includes_default
22213 typedef long ac__type_sizeof_;
22217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22224 rm -f conftest.$ac_objext
22225 if { (ac_try="$ac_compile"
22226 case "(($ac_try" in
22227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22228 *) ac_try_echo=$ac_try;;
22230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22231 (eval "$ac_compile") 2>conftest.er1
22233 grep -v '^ *+' conftest.er1 >conftest.err
22235 cat conftest.err >&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); } && {
22238 test -z "$ac_c_werror_flag" ||
22239 test ! -s conftest.err
22240 } && test -s conftest.$ac_objext; then
22241 ac_lo=$ac_mid; break
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22246 ac_hi=`expr '(' $ac_mid ')' - 1`
22247 if test $ac_mid -le $ac_hi; then
22251 ac_mid=`expr 2 '*' $ac_mid`
22254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.$ac_ext >&5
22263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22267 # Binary search between lo and hi bounds.
22268 while test "x$ac_lo" != "x$ac_hi"; do
22269 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22270 cat >conftest.$ac_ext <<_ACEOF
22273 cat confdefs.h >>conftest.$ac_ext
22274 cat >>conftest.$ac_ext <<_ACEOF
22275 /* end confdefs.h. */
22276 $ac_includes_default
22277 typedef long ac__type_sizeof_;
22281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22288 rm -f conftest.$ac_objext
22289 if { (ac_try="$ac_compile"
22290 case "(($ac_try" in
22291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22292 *) ac_try_echo=$ac_try;;
22294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22295 (eval "$ac_compile") 2>conftest.er1
22297 grep -v '^ *+' conftest.er1 >conftest.err
22299 cat conftest.err >&5
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); } && {
22302 test -z "$ac_c_werror_flag" ||
22303 test ! -s conftest.err
22304 } && test -s conftest.$ac_objext; then
22307 echo "$as_me: failed program was:" >&5
22308 sed 's/^/| /' conftest.$ac_ext >&5
22310 ac_lo=`expr '(' $ac_mid ')' + 1`
22313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22316 ?*) ac_cv_sizeof_long=$ac_lo;;
22317 '') if test "$ac_cv_type_long" = yes; then
22318 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22319 See \`config.log' for more details." >&5
22320 echo "$as_me: error: cannot compute sizeof (long)
22321 See \`config.log' for more details." >&2;}
22322 { (exit 77); exit 77; }; }
22324 ac_cv_sizeof_long=0
22328 cat >conftest.$ac_ext <<_ACEOF
22331 cat confdefs.h >>conftest.$ac_ext
22332 cat >>conftest.$ac_ext <<_ACEOF
22333 /* end confdefs.h. */
22334 $ac_includes_default
22335 typedef long ac__type_sizeof_;
22336 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22337 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22339 #include <stdlib.h>
22344 FILE *f = fopen ("conftest.val", "w");
22347 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22349 long int i = longval ();
22350 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22352 fprintf (f, "%ld\n", i);
22356 unsigned long int i = ulongval ();
22357 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22359 fprintf (f, "%lu\n", i);
22361 return ferror (f) || fclose (f) != 0;
22367 rm -f conftest$ac_exeext
22368 if { (ac_try="$ac_link"
22369 case "(($ac_try" in
22370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22371 *) ac_try_echo=$ac_try;;
22373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22374 (eval "$ac_link") 2>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22378 { (case "(($ac_try" in
22379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_try") 2>&5
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); }; }; then
22387 ac_cv_sizeof_long=`cat conftest.val`
22389 echo "$as_me: program exited with status $ac_status" >&5
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.$ac_ext >&5
22393 ( exit $ac_status )
22394 if test "$ac_cv_type_long" = yes; then
22395 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22396 See \`config.log' for more details." >&5
22397 echo "$as_me: error: cannot compute sizeof (long)
22398 See \`config.log' for more details." >&2;}
22399 { (exit 77); exit 77; }; }
22401 ac_cv_sizeof_long=0
22404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22408 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22409 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22413 cat >>confdefs.h <<_ACEOF
22414 #define SIZEOF_LONG $ac_cv_sizeof_long
22418 { echo "$as_me:$LINENO: checking for size_t" >&5
22419 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22420 if test "${ac_cv_type_size_t+set}" = set; then
22421 echo $ECHO_N "(cached) $ECHO_C" >&6
22423 cat >conftest.$ac_ext <<_ACEOF
22426 cat confdefs.h >>conftest.$ac_ext
22427 cat >>conftest.$ac_ext <<_ACEOF
22428 /* end confdefs.h. */
22429 $ac_includes_default
22430 typedef size_t ac__type_new_;
22434 if ((ac__type_new_ *) 0)
22436 if (sizeof (ac__type_new_))
22442 rm -f conftest.$ac_objext
22443 if { (ac_try="$ac_compile"
22444 case "(($ac_try" in
22445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22446 *) ac_try_echo=$ac_try;;
22448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22449 (eval "$ac_compile") 2>conftest.er1
22451 grep -v '^ *+' conftest.er1 >conftest.err
22453 cat conftest.err >&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); } && {
22456 test -z "$ac_c_werror_flag" ||
22457 test ! -s conftest.err
22458 } && test -s conftest.$ac_objext; then
22459 ac_cv_type_size_t=yes
22461 echo "$as_me: failed program was:" >&5
22462 sed 's/^/| /' conftest.$ac_ext >&5
22464 ac_cv_type_size_t=no
22467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22469 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22470 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22472 # The cast to long int works around a bug in the HP C Compiler
22473 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22474 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22475 # This bug is HP SR number 8606223364.
22476 { echo "$as_me:$LINENO: checking size of size_t" >&5
22477 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22478 if test "${ac_cv_sizeof_size_t+set}" = set; then
22479 echo $ECHO_N "(cached) $ECHO_C" >&6
22481 if test "$cross_compiling" = yes; then
22482 # Depending upon the size, compute the lo and hi bounds.
22483 cat >conftest.$ac_ext <<_ACEOF
22486 cat confdefs.h >>conftest.$ac_ext
22487 cat >>conftest.$ac_ext <<_ACEOF
22488 /* end confdefs.h. */
22489 $ac_includes_default
22490 typedef size_t ac__type_sizeof_;
22494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22501 rm -f conftest.$ac_objext
22502 if { (ac_try="$ac_compile"
22503 case "(($ac_try" in
22504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_compile") 2>conftest.er1
22510 grep -v '^ *+' conftest.er1 >conftest.err
22512 cat conftest.err >&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && {
22515 test -z "$ac_c_werror_flag" ||
22516 test ! -s conftest.err
22517 } && test -s conftest.$ac_objext; then
22520 cat >conftest.$ac_ext <<_ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526 $ac_includes_default
22527 typedef size_t ac__type_sizeof_;
22531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22538 rm -f conftest.$ac_objext
22539 if { (ac_try="$ac_compile"
22540 case "(($ac_try" in
22541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22542 *) ac_try_echo=$ac_try;;
22544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22545 (eval "$ac_compile") 2>conftest.er1
22547 grep -v '^ *+' conftest.er1 >conftest.err
22549 cat conftest.err >&5
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); } && {
22552 test -z "$ac_c_werror_flag" ||
22553 test ! -s conftest.err
22554 } && test -s conftest.$ac_objext; then
22555 ac_hi=$ac_mid; break
22557 echo "$as_me: failed program was:" >&5
22558 sed 's/^/| /' conftest.$ac_ext >&5
22560 ac_lo=`expr $ac_mid + 1`
22561 if test $ac_lo -le $ac_mid; then
22565 ac_mid=`expr 2 '*' $ac_mid + 1`
22568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22571 echo "$as_me: failed program was:" >&5
22572 sed 's/^/| /' conftest.$ac_ext >&5
22574 cat >conftest.$ac_ext <<_ACEOF
22577 cat confdefs.h >>conftest.$ac_ext
22578 cat >>conftest.$ac_ext <<_ACEOF
22579 /* end confdefs.h. */
22580 $ac_includes_default
22581 typedef size_t ac__type_sizeof_;
22585 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22592 rm -f conftest.$ac_objext
22593 if { (ac_try="$ac_compile"
22594 case "(($ac_try" in
22595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22596 *) ac_try_echo=$ac_try;;
22598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22599 (eval "$ac_compile") 2>conftest.er1
22601 grep -v '^ *+' conftest.er1 >conftest.err
22603 cat conftest.err >&5
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 (exit $ac_status); } && {
22606 test -z "$ac_c_werror_flag" ||
22607 test ! -s conftest.err
22608 } && test -s conftest.$ac_objext; then
22611 cat >conftest.$ac_ext <<_ACEOF
22614 cat confdefs.h >>conftest.$ac_ext
22615 cat >>conftest.$ac_ext <<_ACEOF
22616 /* end confdefs.h. */
22617 $ac_includes_default
22618 typedef size_t ac__type_sizeof_;
22622 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22629 rm -f conftest.$ac_objext
22630 if { (ac_try="$ac_compile"
22631 case "(($ac_try" in
22632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22633 *) ac_try_echo=$ac_try;;
22635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22636 (eval "$ac_compile") 2>conftest.er1
22638 grep -v '^ *+' conftest.er1 >conftest.err
22640 cat conftest.err >&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); } && {
22643 test -z "$ac_c_werror_flag" ||
22644 test ! -s conftest.err
22645 } && test -s conftest.$ac_objext; then
22646 ac_lo=$ac_mid; break
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.$ac_ext >&5
22651 ac_hi=`expr '(' $ac_mid ')' - 1`
22652 if test $ac_mid -le $ac_hi; then
22656 ac_mid=`expr 2 '*' $ac_mid`
22659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22662 echo "$as_me: failed program was:" >&5
22663 sed 's/^/| /' conftest.$ac_ext >&5
22668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22672 # Binary search between lo and hi bounds.
22673 while test "x$ac_lo" != "x$ac_hi"; do
22674 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22675 cat >conftest.$ac_ext <<_ACEOF
22678 cat confdefs.h >>conftest.$ac_ext
22679 cat >>conftest.$ac_ext <<_ACEOF
22680 /* end confdefs.h. */
22681 $ac_includes_default
22682 typedef size_t ac__type_sizeof_;
22686 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22693 rm -f conftest.$ac_objext
22694 if { (ac_try="$ac_compile"
22695 case "(($ac_try" in
22696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22697 *) ac_try_echo=$ac_try;;
22699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22700 (eval "$ac_compile") 2>conftest.er1
22702 grep -v '^ *+' conftest.er1 >conftest.err
22704 cat conftest.err >&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); } && {
22707 test -z "$ac_c_werror_flag" ||
22708 test ! -s conftest.err
22709 } && test -s conftest.$ac_objext; then
22712 echo "$as_me: failed program was:" >&5
22713 sed 's/^/| /' conftest.$ac_ext >&5
22715 ac_lo=`expr '(' $ac_mid ')' + 1`
22718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22721 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22722 '') if test "$ac_cv_type_size_t" = yes; then
22723 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22724 See \`config.log' for more details." >&5
22725 echo "$as_me: error: cannot compute sizeof (size_t)
22726 See \`config.log' for more details." >&2;}
22727 { (exit 77); exit 77; }; }
22729 ac_cv_sizeof_size_t=0
22733 cat >conftest.$ac_ext <<_ACEOF
22736 cat confdefs.h >>conftest.$ac_ext
22737 cat >>conftest.$ac_ext <<_ACEOF
22738 /* end confdefs.h. */
22739 $ac_includes_default
22740 typedef size_t ac__type_sizeof_;
22741 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22742 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22744 #include <stdlib.h>
22749 FILE *f = fopen ("conftest.val", "w");
22752 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22754 long int i = longval ();
22755 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22757 fprintf (f, "%ld\n", i);
22761 unsigned long int i = ulongval ();
22762 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22764 fprintf (f, "%lu\n", i);
22766 return ferror (f) || fclose (f) != 0;
22772 rm -f conftest$ac_exeext
22773 if { (ac_try="$ac_link"
22774 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_link") 2>&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22783 { (case "(($ac_try" in
22784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22785 *) ac_try_echo=$ac_try;;
22787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22788 (eval "$ac_try") 2>&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); }; }; then
22792 ac_cv_sizeof_size_t=`cat conftest.val`
22794 echo "$as_me: program exited with status $ac_status" >&5
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22798 ( exit $ac_status )
22799 if test "$ac_cv_type_size_t" = yes; then
22800 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22801 See \`config.log' for more details." >&5
22802 echo "$as_me: error: cannot compute sizeof (size_t)
22803 See \`config.log' for more details." >&2;}
22804 { (exit 77); exit 77; }; }
22806 ac_cv_sizeof_size_t=0
22809 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22813 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22814 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22818 cat >>confdefs.h <<_ACEOF
22819 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22826 { echo "$as_me:$LINENO: checking for long long" >&5
22827 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22828 if test "${ac_cv_type_long_long+set}" = set; then
22829 echo $ECHO_N "(cached) $ECHO_C" >&6
22831 cat >conftest.$ac_ext <<_ACEOF
22834 cat confdefs.h >>conftest.$ac_ext
22835 cat >>conftest.$ac_ext <<_ACEOF
22836 /* end confdefs.h. */
22837 $ac_includes_default
22838 typedef long long ac__type_new_;
22842 if ((ac__type_new_ *) 0)
22844 if (sizeof (ac__type_new_))
22850 rm -f conftest.$ac_objext
22851 if { (ac_try="$ac_compile"
22852 case "(($ac_try" in
22853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22854 *) ac_try_echo=$ac_try;;
22856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22857 (eval "$ac_compile") 2>conftest.er1
22859 grep -v '^ *+' conftest.er1 >conftest.err
22861 cat conftest.err >&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); } && {
22864 test -z "$ac_c_werror_flag" ||
22865 test ! -s conftest.err
22866 } && test -s conftest.$ac_objext; then
22867 ac_cv_type_long_long=yes
22869 echo "$as_me: failed program was:" >&5
22870 sed 's/^/| /' conftest.$ac_ext >&5
22872 ac_cv_type_long_long=no
22875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22877 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22878 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22880 # The cast to long int works around a bug in the HP C Compiler
22881 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22882 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22883 # This bug is HP SR number 8606223364.
22884 { echo "$as_me:$LINENO: checking size of long long" >&5
22885 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22886 if test "${ac_cv_sizeof_long_long+set}" = set; then
22887 echo $ECHO_N "(cached) $ECHO_C" >&6
22889 if test "$cross_compiling" = yes; then
22890 # Depending upon the size, compute the lo and hi bounds.
22891 cat >conftest.$ac_ext <<_ACEOF
22894 cat confdefs.h >>conftest.$ac_ext
22895 cat >>conftest.$ac_ext <<_ACEOF
22896 /* end confdefs.h. */
22897 $ac_includes_default
22898 typedef long long ac__type_sizeof_;
22902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22909 rm -f conftest.$ac_objext
22910 if { (ac_try="$ac_compile"
22911 case "(($ac_try" in
22912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22913 *) ac_try_echo=$ac_try;;
22915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22916 (eval "$ac_compile") 2>conftest.er1
22918 grep -v '^ *+' conftest.er1 >conftest.err
22920 cat conftest.err >&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } && {
22923 test -z "$ac_c_werror_flag" ||
22924 test ! -s conftest.err
22925 } && test -s conftest.$ac_objext; then
22928 cat >conftest.$ac_ext <<_ACEOF
22931 cat confdefs.h >>conftest.$ac_ext
22932 cat >>conftest.$ac_ext <<_ACEOF
22933 /* end confdefs.h. */
22934 $ac_includes_default
22935 typedef long long ac__type_sizeof_;
22939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22946 rm -f conftest.$ac_objext
22947 if { (ac_try="$ac_compile"
22948 case "(($ac_try" in
22949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22950 *) ac_try_echo=$ac_try;;
22952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22953 (eval "$ac_compile") 2>conftest.er1
22955 grep -v '^ *+' conftest.er1 >conftest.err
22957 cat conftest.err >&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && {
22960 test -z "$ac_c_werror_flag" ||
22961 test ! -s conftest.err
22962 } && test -s conftest.$ac_objext; then
22963 ac_hi=$ac_mid; break
22965 echo "$as_me: failed program was:" >&5
22966 sed 's/^/| /' conftest.$ac_ext >&5
22968 ac_lo=`expr $ac_mid + 1`
22969 if test $ac_lo -le $ac_mid; then
22973 ac_mid=`expr 2 '*' $ac_mid + 1`
22976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.$ac_ext >&5
22982 cat >conftest.$ac_ext <<_ACEOF
22985 cat confdefs.h >>conftest.$ac_ext
22986 cat >>conftest.$ac_ext <<_ACEOF
22987 /* end confdefs.h. */
22988 $ac_includes_default
22989 typedef long long ac__type_sizeof_;
22993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23000 rm -f conftest.$ac_objext
23001 if { (ac_try="$ac_compile"
23002 case "(($ac_try" in
23003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23004 *) ac_try_echo=$ac_try;;
23006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23007 (eval "$ac_compile") 2>conftest.er1
23009 grep -v '^ *+' conftest.er1 >conftest.err
23011 cat conftest.err >&5
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } && {
23014 test -z "$ac_c_werror_flag" ||
23015 test ! -s conftest.err
23016 } && test -s conftest.$ac_objext; then
23019 cat >conftest.$ac_ext <<_ACEOF
23022 cat confdefs.h >>conftest.$ac_ext
23023 cat >>conftest.$ac_ext <<_ACEOF
23024 /* end confdefs.h. */
23025 $ac_includes_default
23026 typedef long long ac__type_sizeof_;
23030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23037 rm -f conftest.$ac_objext
23038 if { (ac_try="$ac_compile"
23039 case "(($ac_try" in
23040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23041 *) ac_try_echo=$ac_try;;
23043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23044 (eval "$ac_compile") 2>conftest.er1
23046 grep -v '^ *+' conftest.er1 >conftest.err
23048 cat conftest.err >&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); } && {
23051 test -z "$ac_c_werror_flag" ||
23052 test ! -s conftest.err
23053 } && test -s conftest.$ac_objext; then
23054 ac_lo=$ac_mid; break
23056 echo "$as_me: failed program was:" >&5
23057 sed 's/^/| /' conftest.$ac_ext >&5
23059 ac_hi=`expr '(' $ac_mid ')' - 1`
23060 if test $ac_mid -le $ac_hi; then
23064 ac_mid=`expr 2 '*' $ac_mid`
23067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23070 echo "$as_me: failed program was:" >&5
23071 sed 's/^/| /' conftest.$ac_ext >&5
23076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23080 # Binary search between lo and hi bounds.
23081 while test "x$ac_lo" != "x$ac_hi"; do
23082 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23083 cat >conftest.$ac_ext <<_ACEOF
23086 cat confdefs.h >>conftest.$ac_ext
23087 cat >>conftest.$ac_ext <<_ACEOF
23088 /* end confdefs.h. */
23089 $ac_includes_default
23090 typedef long long ac__type_sizeof_;
23094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23101 rm -f conftest.$ac_objext
23102 if { (ac_try="$ac_compile"
23103 case "(($ac_try" in
23104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23105 *) ac_try_echo=$ac_try;;
23107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23108 (eval "$ac_compile") 2>conftest.er1
23110 grep -v '^ *+' conftest.er1 >conftest.err
23112 cat conftest.err >&5
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); } && {
23115 test -z "$ac_c_werror_flag" ||
23116 test ! -s conftest.err
23117 } && test -s conftest.$ac_objext; then
23120 echo "$as_me: failed program was:" >&5
23121 sed 's/^/| /' conftest.$ac_ext >&5
23123 ac_lo=`expr '(' $ac_mid ')' + 1`
23126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23129 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23130 '') if test "$ac_cv_type_long_long" = yes; then
23131 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23132 See \`config.log' for more details." >&5
23133 echo "$as_me: error: cannot compute sizeof (long long)
23134 See \`config.log' for more details." >&2;}
23135 { (exit 77); exit 77; }; }
23137 ac_cv_sizeof_long_long=0
23141 cat >conftest.$ac_ext <<_ACEOF
23144 cat confdefs.h >>conftest.$ac_ext
23145 cat >>conftest.$ac_ext <<_ACEOF
23146 /* end confdefs.h. */
23147 $ac_includes_default
23148 typedef long long ac__type_sizeof_;
23149 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23150 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23152 #include <stdlib.h>
23157 FILE *f = fopen ("conftest.val", "w");
23160 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23162 long int i = longval ();
23163 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23165 fprintf (f, "%ld\n", i);
23169 unsigned long int i = ulongval ();
23170 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23172 fprintf (f, "%lu\n", i);
23174 return ferror (f) || fclose (f) != 0;
23180 rm -f conftest$ac_exeext
23181 if { (ac_try="$ac_link"
23182 case "(($ac_try" in
23183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23184 *) ac_try_echo=$ac_try;;
23186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23187 (eval "$ac_link") 2>&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23191 { (case "(($ac_try" in
23192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23193 *) ac_try_echo=$ac_try;;
23195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23196 (eval "$ac_try") 2>&5
23198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199 (exit $ac_status); }; }; then
23200 ac_cv_sizeof_long_long=`cat conftest.val`
23202 echo "$as_me: program exited with status $ac_status" >&5
23203 echo "$as_me: failed program was:" >&5
23204 sed 's/^/| /' conftest.$ac_ext >&5
23206 ( exit $ac_status )
23207 if test "$ac_cv_type_long_long" = yes; then
23208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23209 See \`config.log' for more details." >&5
23210 echo "$as_me: error: cannot compute sizeof (long long)
23211 See \`config.log' for more details." >&2;}
23212 { (exit 77); exit 77; }; }
23214 ac_cv_sizeof_long_long=0
23217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23221 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23222 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23226 cat >>confdefs.h <<_ACEOF
23227 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23233 { echo "$as_me:$LINENO: checking for long long" >&5
23234 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23235 if test "${ac_cv_type_long_long+set}" = set; then
23236 echo $ECHO_N "(cached) $ECHO_C" >&6
23238 cat >conftest.$ac_ext <<_ACEOF
23241 cat confdefs.h >>conftest.$ac_ext
23242 cat >>conftest.$ac_ext <<_ACEOF
23243 /* end confdefs.h. */
23244 $ac_includes_default
23245 typedef long long ac__type_new_;
23249 if ((ac__type_new_ *) 0)
23251 if (sizeof (ac__type_new_))
23257 rm -f conftest.$ac_objext
23258 if { (ac_try="$ac_compile"
23259 case "(($ac_try" in
23260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23261 *) ac_try_echo=$ac_try;;
23263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264 (eval "$ac_compile") 2>conftest.er1
23266 grep -v '^ *+' conftest.er1 >conftest.err
23268 cat conftest.err >&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } && {
23271 test -z "$ac_c_werror_flag" ||
23272 test ! -s conftest.err
23273 } && test -s conftest.$ac_objext; then
23274 ac_cv_type_long_long=yes
23276 echo "$as_me: failed program was:" >&5
23277 sed 's/^/| /' conftest.$ac_ext >&5
23279 ac_cv_type_long_long=no
23282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23284 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23285 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23287 # The cast to long int works around a bug in the HP C Compiler
23288 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23289 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23290 # This bug is HP SR number 8606223364.
23291 { echo "$as_me:$LINENO: checking size of long long" >&5
23292 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23293 if test "${ac_cv_sizeof_long_long+set}" = set; then
23294 echo $ECHO_N "(cached) $ECHO_C" >&6
23296 if test "$cross_compiling" = yes; then
23297 # Depending upon the size, compute the lo and hi bounds.
23298 cat >conftest.$ac_ext <<_ACEOF
23301 cat confdefs.h >>conftest.$ac_ext
23302 cat >>conftest.$ac_ext <<_ACEOF
23303 /* end confdefs.h. */
23304 $ac_includes_default
23305 typedef long long ac__type_sizeof_;
23309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23316 rm -f conftest.$ac_objext
23317 if { (ac_try="$ac_compile"
23318 case "(($ac_try" in
23319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23320 *) ac_try_echo=$ac_try;;
23322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23323 (eval "$ac_compile") 2>conftest.er1
23325 grep -v '^ *+' conftest.er1 >conftest.err
23327 cat conftest.err >&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); } && {
23330 test -z "$ac_c_werror_flag" ||
23331 test ! -s conftest.err
23332 } && test -s conftest.$ac_objext; then
23335 cat >conftest.$ac_ext <<_ACEOF
23338 cat confdefs.h >>conftest.$ac_ext
23339 cat >>conftest.$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23341 $ac_includes_default
23342 typedef long long ac__type_sizeof_;
23346 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23353 rm -f conftest.$ac_objext
23354 if { (ac_try="$ac_compile"
23355 case "(($ac_try" in
23356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23357 *) ac_try_echo=$ac_try;;
23359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23360 (eval "$ac_compile") 2>conftest.er1
23362 grep -v '^ *+' conftest.er1 >conftest.err
23364 cat conftest.err >&5
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); } && {
23367 test -z "$ac_c_werror_flag" ||
23368 test ! -s conftest.err
23369 } && test -s conftest.$ac_objext; then
23370 ac_hi=$ac_mid; break
23372 echo "$as_me: failed program was:" >&5
23373 sed 's/^/| /' conftest.$ac_ext >&5
23375 ac_lo=`expr $ac_mid + 1`
23376 if test $ac_lo -le $ac_mid; then
23380 ac_mid=`expr 2 '*' $ac_mid + 1`
23383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23386 echo "$as_me: failed program was:" >&5
23387 sed 's/^/| /' conftest.$ac_ext >&5
23389 cat >conftest.$ac_ext <<_ACEOF
23392 cat confdefs.h >>conftest.$ac_ext
23393 cat >>conftest.$ac_ext <<_ACEOF
23394 /* end confdefs.h. */
23395 $ac_includes_default
23396 typedef long long ac__type_sizeof_;
23400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23407 rm -f conftest.$ac_objext
23408 if { (ac_try="$ac_compile"
23409 case "(($ac_try" in
23410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23411 *) ac_try_echo=$ac_try;;
23413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23414 (eval "$ac_compile") 2>conftest.er1
23416 grep -v '^ *+' conftest.er1 >conftest.err
23418 cat conftest.err >&5
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); } && {
23421 test -z "$ac_c_werror_flag" ||
23422 test ! -s conftest.err
23423 } && test -s conftest.$ac_objext; then
23426 cat >conftest.$ac_ext <<_ACEOF
23429 cat confdefs.h >>conftest.$ac_ext
23430 cat >>conftest.$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23432 $ac_includes_default
23433 typedef long long ac__type_sizeof_;
23437 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23444 rm -f conftest.$ac_objext
23445 if { (ac_try="$ac_compile"
23446 case "(($ac_try" in
23447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23448 *) ac_try_echo=$ac_try;;
23450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23451 (eval "$ac_compile") 2>conftest.er1
23453 grep -v '^ *+' conftest.er1 >conftest.err
23455 cat conftest.err >&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); } && {
23458 test -z "$ac_c_werror_flag" ||
23459 test ! -s conftest.err
23460 } && test -s conftest.$ac_objext; then
23461 ac_lo=$ac_mid; break
23463 echo "$as_me: failed program was:" >&5
23464 sed 's/^/| /' conftest.$ac_ext >&5
23466 ac_hi=`expr '(' $ac_mid ')' - 1`
23467 if test $ac_mid -le $ac_hi; then
23471 ac_mid=`expr 2 '*' $ac_mid`
23474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23477 echo "$as_me: failed program was:" >&5
23478 sed 's/^/| /' conftest.$ac_ext >&5
23483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23487 # Binary search between lo and hi bounds.
23488 while test "x$ac_lo" != "x$ac_hi"; do
23489 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23490 cat >conftest.$ac_ext <<_ACEOF
23493 cat confdefs.h >>conftest.$ac_ext
23494 cat >>conftest.$ac_ext <<_ACEOF
23495 /* end confdefs.h. */
23496 $ac_includes_default
23497 typedef long long ac__type_sizeof_;
23501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23508 rm -f conftest.$ac_objext
23509 if { (ac_try="$ac_compile"
23510 case "(($ac_try" in
23511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23512 *) ac_try_echo=$ac_try;;
23514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23515 (eval "$ac_compile") 2>conftest.er1
23517 grep -v '^ *+' conftest.er1 >conftest.err
23519 cat conftest.err >&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } && {
23522 test -z "$ac_c_werror_flag" ||
23523 test ! -s conftest.err
23524 } && test -s conftest.$ac_objext; then
23527 echo "$as_me: failed program was:" >&5
23528 sed 's/^/| /' conftest.$ac_ext >&5
23530 ac_lo=`expr '(' $ac_mid ')' + 1`
23533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23536 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23537 '') if test "$ac_cv_type_long_long" = yes; then
23538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23539 See \`config.log' for more details." >&5
23540 echo "$as_me: error: cannot compute sizeof (long long)
23541 See \`config.log' for more details." >&2;}
23542 { (exit 77); exit 77; }; }
23544 ac_cv_sizeof_long_long=0
23548 cat >conftest.$ac_ext <<_ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23554 $ac_includes_default
23555 typedef long long ac__type_sizeof_;
23556 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23557 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23559 #include <stdlib.h>
23564 FILE *f = fopen ("conftest.val", "w");
23567 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23569 long int i = longval ();
23570 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23572 fprintf (f, "%ld\n", i);
23576 unsigned long int i = ulongval ();
23577 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23579 fprintf (f, "%lu\n", i);
23581 return ferror (f) || fclose (f) != 0;
23587 rm -f conftest$ac_exeext
23588 if { (ac_try="$ac_link"
23589 case "(($ac_try" in
23590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23591 *) ac_try_echo=$ac_try;;
23593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23594 (eval "$ac_link") 2>&5
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23598 { (case "(($ac_try" in
23599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23600 *) ac_try_echo=$ac_try;;
23602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23603 (eval "$ac_try") 2>&5
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); }; }; then
23607 ac_cv_sizeof_long_long=`cat conftest.val`
23609 echo "$as_me: program exited with status $ac_status" >&5
23610 echo "$as_me: failed program was:" >&5
23611 sed 's/^/| /' conftest.$ac_ext >&5
23613 ( exit $ac_status )
23614 if test "$ac_cv_type_long_long" = yes; then
23615 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23616 See \`config.log' for more details." >&5
23617 echo "$as_me: error: cannot compute sizeof (long long)
23618 See \`config.log' for more details." >&2;}
23619 { (exit 77); exit 77; }; }
23621 ac_cv_sizeof_long_long=0
23624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23628 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23629 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23633 cat >>confdefs.h <<_ACEOF
23634 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23638 if test "$ac_cv_sizeof_long_long" != 0; then
23639 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23643 { echo "$as_me:$LINENO: checking for long long" >&5
23644 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23645 if test "${ac_cv_type_long_long+set}" = set; then
23646 echo $ECHO_N "(cached) $ECHO_C" >&6
23648 cat >conftest.$ac_ext <<_ACEOF
23651 cat confdefs.h >>conftest.$ac_ext
23652 cat >>conftest.$ac_ext <<_ACEOF
23653 /* end confdefs.h. */
23654 $ac_includes_default
23655 typedef long long ac__type_new_;
23659 if ((ac__type_new_ *) 0)
23661 if (sizeof (ac__type_new_))
23667 rm -f conftest.$ac_objext
23668 if { (ac_try="$ac_compile"
23669 case "(($ac_try" in
23670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23671 *) ac_try_echo=$ac_try;;
23673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23674 (eval "$ac_compile") 2>conftest.er1
23676 grep -v '^ *+' conftest.er1 >conftest.err
23678 cat conftest.err >&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } && {
23681 test -z "$ac_c_werror_flag" ||
23682 test ! -s conftest.err
23683 } && test -s conftest.$ac_objext; then
23684 ac_cv_type_long_long=yes
23686 echo "$as_me: failed program was:" >&5
23687 sed 's/^/| /' conftest.$ac_ext >&5
23689 ac_cv_type_long_long=no
23692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23694 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23695 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23697 # The cast to long int works around a bug in the HP C Compiler
23698 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23699 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23700 # This bug is HP SR number 8606223364.
23701 { echo "$as_me:$LINENO: checking size of long long" >&5
23702 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23703 if test "${ac_cv_sizeof_long_long+set}" = set; then
23704 echo $ECHO_N "(cached) $ECHO_C" >&6
23706 if test "$cross_compiling" = yes; then
23707 # Depending upon the size, compute the lo and hi bounds.
23708 cat >conftest.$ac_ext <<_ACEOF
23711 cat confdefs.h >>conftest.$ac_ext
23712 cat >>conftest.$ac_ext <<_ACEOF
23713 /* end confdefs.h. */
23714 $ac_includes_default
23715 typedef long long ac__type_sizeof_;
23719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23726 rm -f conftest.$ac_objext
23727 if { (ac_try="$ac_compile"
23728 case "(($ac_try" in
23729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23730 *) ac_try_echo=$ac_try;;
23732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23733 (eval "$ac_compile") 2>conftest.er1
23735 grep -v '^ *+' conftest.er1 >conftest.err
23737 cat conftest.err >&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } && {
23740 test -z "$ac_c_werror_flag" ||
23741 test ! -s conftest.err
23742 } && test -s conftest.$ac_objext; then
23745 cat >conftest.$ac_ext <<_ACEOF
23748 cat confdefs.h >>conftest.$ac_ext
23749 cat >>conftest.$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23751 $ac_includes_default
23752 typedef long long ac__type_sizeof_;
23756 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23763 rm -f conftest.$ac_objext
23764 if { (ac_try="$ac_compile"
23765 case "(($ac_try" in
23766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23767 *) ac_try_echo=$ac_try;;
23769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23770 (eval "$ac_compile") 2>conftest.er1
23772 grep -v '^ *+' conftest.er1 >conftest.err
23774 cat conftest.err >&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } && {
23777 test -z "$ac_c_werror_flag" ||
23778 test ! -s conftest.err
23779 } && test -s conftest.$ac_objext; then
23780 ac_hi=$ac_mid; break
23782 echo "$as_me: failed program was:" >&5
23783 sed 's/^/| /' conftest.$ac_ext >&5
23785 ac_lo=`expr $ac_mid + 1`
23786 if test $ac_lo -le $ac_mid; then
23790 ac_mid=`expr 2 '*' $ac_mid + 1`
23793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23796 echo "$as_me: failed program was:" >&5
23797 sed 's/^/| /' conftest.$ac_ext >&5
23799 cat >conftest.$ac_ext <<_ACEOF
23802 cat confdefs.h >>conftest.$ac_ext
23803 cat >>conftest.$ac_ext <<_ACEOF
23804 /* end confdefs.h. */
23805 $ac_includes_default
23806 typedef long long ac__type_sizeof_;
23810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23817 rm -f conftest.$ac_objext
23818 if { (ac_try="$ac_compile"
23819 case "(($ac_try" in
23820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23821 *) ac_try_echo=$ac_try;;
23823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23824 (eval "$ac_compile") 2>conftest.er1
23826 grep -v '^ *+' conftest.er1 >conftest.err
23828 cat conftest.err >&5
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); } && {
23831 test -z "$ac_c_werror_flag" ||
23832 test ! -s conftest.err
23833 } && test -s conftest.$ac_objext; then
23836 cat >conftest.$ac_ext <<_ACEOF
23839 cat confdefs.h >>conftest.$ac_ext
23840 cat >>conftest.$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 $ac_includes_default
23843 typedef long long ac__type_sizeof_;
23847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23854 rm -f conftest.$ac_objext
23855 if { (ac_try="$ac_compile"
23856 case "(($ac_try" in
23857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23858 *) ac_try_echo=$ac_try;;
23860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23861 (eval "$ac_compile") 2>conftest.er1
23863 grep -v '^ *+' conftest.er1 >conftest.err
23865 cat conftest.err >&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } && {
23868 test -z "$ac_c_werror_flag" ||
23869 test ! -s conftest.err
23870 } && test -s conftest.$ac_objext; then
23871 ac_lo=$ac_mid; break
23873 echo "$as_me: failed program was:" >&5
23874 sed 's/^/| /' conftest.$ac_ext >&5
23876 ac_hi=`expr '(' $ac_mid ')' - 1`
23877 if test $ac_mid -le $ac_hi; then
23881 ac_mid=`expr 2 '*' $ac_mid`
23884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23887 echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.$ac_ext >&5
23893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23897 # Binary search between lo and hi bounds.
23898 while test "x$ac_lo" != "x$ac_hi"; do
23899 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23900 cat >conftest.$ac_ext <<_ACEOF
23903 cat confdefs.h >>conftest.$ac_ext
23904 cat >>conftest.$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23906 $ac_includes_default
23907 typedef long long ac__type_sizeof_;
23911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23918 rm -f conftest.$ac_objext
23919 if { (ac_try="$ac_compile"
23920 case "(($ac_try" in
23921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23922 *) ac_try_echo=$ac_try;;
23924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23925 (eval "$ac_compile") 2>conftest.er1
23927 grep -v '^ *+' conftest.er1 >conftest.err
23929 cat conftest.err >&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } && {
23932 test -z "$ac_c_werror_flag" ||
23933 test ! -s conftest.err
23934 } && test -s conftest.$ac_objext; then
23937 echo "$as_me: failed program was:" >&5
23938 sed 's/^/| /' conftest.$ac_ext >&5
23940 ac_lo=`expr '(' $ac_mid ')' + 1`
23943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23946 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23947 '') if test "$ac_cv_type_long_long" = yes; then
23948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23949 See \`config.log' for more details." >&5
23950 echo "$as_me: error: cannot compute sizeof (long long)
23951 See \`config.log' for more details." >&2;}
23952 { (exit 77); exit 77; }; }
23954 ac_cv_sizeof_long_long=0
23958 cat >conftest.$ac_ext <<_ACEOF
23961 cat confdefs.h >>conftest.$ac_ext
23962 cat >>conftest.$ac_ext <<_ACEOF
23963 /* end confdefs.h. */
23964 $ac_includes_default
23965 typedef long long ac__type_sizeof_;
23966 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23967 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23969 #include <stdlib.h>
23974 FILE *f = fopen ("conftest.val", "w");
23977 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23979 long int i = longval ();
23980 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23982 fprintf (f, "%ld\n", i);
23986 unsigned long int i = ulongval ();
23987 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23989 fprintf (f, "%lu\n", i);
23991 return ferror (f) || fclose (f) != 0;
23997 rm -f conftest$ac_exeext
23998 if { (ac_try="$ac_link"
23999 case "(($ac_try" in
24000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24001 *) ac_try_echo=$ac_try;;
24003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24004 (eval "$ac_link") 2>&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24008 { (case "(($ac_try" in
24009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24010 *) ac_try_echo=$ac_try;;
24012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24013 (eval "$ac_try") 2>&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); }; }; then
24017 ac_cv_sizeof_long_long=`cat conftest.val`
24019 echo "$as_me: program exited with status $ac_status" >&5
24020 echo "$as_me: failed program was:" >&5
24021 sed 's/^/| /' conftest.$ac_ext >&5
24023 ( exit $ac_status )
24024 if test "$ac_cv_type_long_long" = yes; then
24025 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24026 See \`config.log' for more details." >&5
24027 echo "$as_me: error: cannot compute sizeof (long long)
24028 See \`config.log' for more details." >&2;}
24029 { (exit 77); exit 77; }; }
24031 ac_cv_sizeof_long_long=0
24034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24038 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24039 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24043 cat >>confdefs.h <<_ACEOF
24044 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24050 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24051 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24052 if test "${ac_cv_type_wchar_t+set}" = set; then
24053 echo $ECHO_N "(cached) $ECHO_C" >&6
24055 cat >conftest.$ac_ext <<_ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24062 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24063 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24064 # error "fake wchar_t"
24066 #ifdef HAVE_WCHAR_H
24068 # include <stddef.h>
24070 # include <wchar.h>
24072 #ifdef HAVE_STDLIB_H
24073 # include <stdlib.h>
24079 typedef wchar_t ac__type_new_;
24083 if ((ac__type_new_ *) 0)
24085 if (sizeof (ac__type_new_))
24091 rm -f conftest.$ac_objext
24092 if { (ac_try="$ac_compile"
24093 case "(($ac_try" in
24094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24095 *) ac_try_echo=$ac_try;;
24097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24098 (eval "$ac_compile") 2>conftest.er1
24100 grep -v '^ *+' conftest.er1 >conftest.err
24102 cat conftest.err >&5
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); } && {
24105 test -z "$ac_c_werror_flag" ||
24106 test ! -s conftest.err
24107 } && test -s conftest.$ac_objext; then
24108 ac_cv_type_wchar_t=yes
24110 echo "$as_me: failed program was:" >&5
24111 sed 's/^/| /' conftest.$ac_ext >&5
24113 ac_cv_type_wchar_t=no
24116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24118 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24119 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24121 # The cast to long int works around a bug in the HP C Compiler
24122 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24123 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24124 # This bug is HP SR number 8606223364.
24125 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24126 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24127 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24128 echo $ECHO_N "(cached) $ECHO_C" >&6
24130 if test "$cross_compiling" = yes; then
24131 # Depending upon the size, compute the lo and hi bounds.
24132 cat >conftest.$ac_ext <<_ACEOF
24135 cat confdefs.h >>conftest.$ac_ext
24136 cat >>conftest.$ac_ext <<_ACEOF
24137 /* end confdefs.h. */
24139 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24140 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24141 # error "fake wchar_t"
24143 #ifdef HAVE_WCHAR_H
24145 # include <stddef.h>
24147 # include <wchar.h>
24149 #ifdef HAVE_STDLIB_H
24150 # include <stdlib.h>
24156 typedef wchar_t ac__type_sizeof_;
24160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24167 rm -f conftest.$ac_objext
24168 if { (ac_try="$ac_compile"
24169 case "(($ac_try" in
24170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24171 *) ac_try_echo=$ac_try;;
24173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24174 (eval "$ac_compile") 2>conftest.er1
24176 grep -v '^ *+' conftest.er1 >conftest.err
24178 cat conftest.err >&5
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); } && {
24181 test -z "$ac_c_werror_flag" ||
24182 test ! -s conftest.err
24183 } && test -s conftest.$ac_objext; then
24186 cat >conftest.$ac_ext <<_ACEOF
24189 cat confdefs.h >>conftest.$ac_ext
24190 cat >>conftest.$ac_ext <<_ACEOF
24191 /* end confdefs.h. */
24193 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24194 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24195 # error "fake wchar_t"
24197 #ifdef HAVE_WCHAR_H
24199 # include <stddef.h>
24201 # include <wchar.h>
24203 #ifdef HAVE_STDLIB_H
24204 # include <stdlib.h>
24210 typedef wchar_t ac__type_sizeof_;
24214 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24221 rm -f conftest.$ac_objext
24222 if { (ac_try="$ac_compile"
24223 case "(($ac_try" in
24224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24225 *) ac_try_echo=$ac_try;;
24227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24228 (eval "$ac_compile") 2>conftest.er1
24230 grep -v '^ *+' conftest.er1 >conftest.err
24232 cat conftest.err >&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); } && {
24235 test -z "$ac_c_werror_flag" ||
24236 test ! -s conftest.err
24237 } && test -s conftest.$ac_objext; then
24238 ac_hi=$ac_mid; break
24240 echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.$ac_ext >&5
24243 ac_lo=`expr $ac_mid + 1`
24244 if test $ac_lo -le $ac_mid; then
24248 ac_mid=`expr 2 '*' $ac_mid + 1`
24251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24254 echo "$as_me: failed program was:" >&5
24255 sed 's/^/| /' conftest.$ac_ext >&5
24257 cat >conftest.$ac_ext <<_ACEOF
24260 cat confdefs.h >>conftest.$ac_ext
24261 cat >>conftest.$ac_ext <<_ACEOF
24262 /* end confdefs.h. */
24264 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24265 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24266 # error "fake wchar_t"
24268 #ifdef HAVE_WCHAR_H
24270 # include <stddef.h>
24272 # include <wchar.h>
24274 #ifdef HAVE_STDLIB_H
24275 # include <stdlib.h>
24281 typedef wchar_t ac__type_sizeof_;
24285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24292 rm -f conftest.$ac_objext
24293 if { (ac_try="$ac_compile"
24294 case "(($ac_try" in
24295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24296 *) ac_try_echo=$ac_try;;
24298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24299 (eval "$ac_compile") 2>conftest.er1
24301 grep -v '^ *+' conftest.er1 >conftest.err
24303 cat conftest.err >&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); } && {
24306 test -z "$ac_c_werror_flag" ||
24307 test ! -s conftest.err
24308 } && test -s conftest.$ac_objext; then
24311 cat >conftest.$ac_ext <<_ACEOF
24314 cat confdefs.h >>conftest.$ac_ext
24315 cat >>conftest.$ac_ext <<_ACEOF
24316 /* end confdefs.h. */
24318 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24319 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24320 # error "fake wchar_t"
24322 #ifdef HAVE_WCHAR_H
24324 # include <stddef.h>
24326 # include <wchar.h>
24328 #ifdef HAVE_STDLIB_H
24329 # include <stdlib.h>
24335 typedef wchar_t ac__type_sizeof_;
24339 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24346 rm -f conftest.$ac_objext
24347 if { (ac_try="$ac_compile"
24348 case "(($ac_try" in
24349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24350 *) ac_try_echo=$ac_try;;
24352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24353 (eval "$ac_compile") 2>conftest.er1
24355 grep -v '^ *+' conftest.er1 >conftest.err
24357 cat conftest.err >&5
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); } && {
24360 test -z "$ac_c_werror_flag" ||
24361 test ! -s conftest.err
24362 } && test -s conftest.$ac_objext; then
24363 ac_lo=$ac_mid; break
24365 echo "$as_me: failed program was:" >&5
24366 sed 's/^/| /' conftest.$ac_ext >&5
24368 ac_hi=`expr '(' $ac_mid ')' - 1`
24369 if test $ac_mid -le $ac_hi; then
24373 ac_mid=`expr 2 '*' $ac_mid`
24376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24379 echo "$as_me: failed program was:" >&5
24380 sed 's/^/| /' conftest.$ac_ext >&5
24385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24389 # Binary search between lo and hi bounds.
24390 while test "x$ac_lo" != "x$ac_hi"; do
24391 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24392 cat >conftest.$ac_ext <<_ACEOF
24395 cat confdefs.h >>conftest.$ac_ext
24396 cat >>conftest.$ac_ext <<_ACEOF
24397 /* end confdefs.h. */
24399 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24400 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24401 # error "fake wchar_t"
24403 #ifdef HAVE_WCHAR_H
24405 # include <stddef.h>
24407 # include <wchar.h>
24409 #ifdef HAVE_STDLIB_H
24410 # include <stdlib.h>
24416 typedef wchar_t ac__type_sizeof_;
24420 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24427 rm -f conftest.$ac_objext
24428 if { (ac_try="$ac_compile"
24429 case "(($ac_try" in
24430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24431 *) ac_try_echo=$ac_try;;
24433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24434 (eval "$ac_compile") 2>conftest.er1
24436 grep -v '^ *+' conftest.er1 >conftest.err
24438 cat conftest.err >&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } && {
24441 test -z "$ac_c_werror_flag" ||
24442 test ! -s conftest.err
24443 } && test -s conftest.$ac_objext; then
24446 echo "$as_me: failed program was:" >&5
24447 sed 's/^/| /' conftest.$ac_ext >&5
24449 ac_lo=`expr '(' $ac_mid ')' + 1`
24452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24455 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24456 '') if test "$ac_cv_type_wchar_t" = yes; then
24457 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24458 See \`config.log' for more details." >&5
24459 echo "$as_me: error: cannot compute sizeof (wchar_t)
24460 See \`config.log' for more details." >&2;}
24461 { (exit 77); exit 77; }; }
24463 ac_cv_sizeof_wchar_t=0
24467 cat >conftest.$ac_ext <<_ACEOF
24470 cat confdefs.h >>conftest.$ac_ext
24471 cat >>conftest.$ac_ext <<_ACEOF
24472 /* end confdefs.h. */
24474 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24475 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24476 # error "fake wchar_t"
24478 #ifdef HAVE_WCHAR_H
24480 # include <stddef.h>
24482 # include <wchar.h>
24484 #ifdef HAVE_STDLIB_H
24485 # include <stdlib.h>
24491 typedef wchar_t ac__type_sizeof_;
24492 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24493 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24495 #include <stdlib.h>
24500 FILE *f = fopen ("conftest.val", "w");
24503 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24505 long int i = longval ();
24506 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24508 fprintf (f, "%ld\n", i);
24512 unsigned long int i = ulongval ();
24513 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24515 fprintf (f, "%lu\n", i);
24517 return ferror (f) || fclose (f) != 0;
24523 rm -f conftest$ac_exeext
24524 if { (ac_try="$ac_link"
24525 case "(($ac_try" in
24526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24527 *) ac_try_echo=$ac_try;;
24529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24530 (eval "$ac_link") 2>&5
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24534 { (case "(($ac_try" in
24535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24536 *) ac_try_echo=$ac_try;;
24538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24539 (eval "$ac_try") 2>&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); }; }; then
24543 ac_cv_sizeof_wchar_t=`cat conftest.val`
24545 echo "$as_me: program exited with status $ac_status" >&5
24546 echo "$as_me: failed program was:" >&5
24547 sed 's/^/| /' conftest.$ac_ext >&5
24549 ( exit $ac_status )
24550 if test "$ac_cv_type_wchar_t" = yes; then
24551 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24552 See \`config.log' for more details." >&5
24553 echo "$as_me: error: cannot compute sizeof (wchar_t)
24554 See \`config.log' for more details." >&2;}
24555 { (exit 77); exit 77; }; }
24557 ac_cv_sizeof_wchar_t=0
24560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24564 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24565 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24569 cat >>confdefs.h <<_ACEOF
24570 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24574 if test "$ac_cv_sizeof_wchar_t" = 0; then
24575 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24576 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24577 { (exit 1); exit 1; }; }
24579 cat >>confdefs.h <<\_ACEOF
24580 #define wxUSE_WCHAR_T 1
24584 { echo "$as_me:$LINENO: checking for va_copy" >&5
24585 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24586 if test "${wx_cv_func_va_copy+set}" = set; then
24587 echo $ECHO_N "(cached) $ECHO_C" >&6
24591 ac_cpp='$CXXCPP $CPPFLAGS'
24592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24596 cat >conftest.$ac_ext <<_ACEOF
24600 cat confdefs.h >>conftest.$ac_ext
24601 cat >>conftest.$ac_ext <<_ACEOF
24602 /* end confdefs.h. */
24604 #include <stdarg.h>
24605 void foo(char *f, ...)
24620 rm -f conftest.$ac_objext conftest$ac_exeext
24621 if { (ac_try="$ac_link"
24622 case "(($ac_try" in
24623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24624 *) ac_try_echo=$ac_try;;
24626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24627 (eval "$ac_link") 2>conftest.er1
24629 grep -v '^ *+' conftest.er1 >conftest.err
24631 cat conftest.err >&5
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); } && {
24634 test -z "$ac_cxx_werror_flag" ||
24635 test ! -s conftest.err
24636 } && test -s conftest$ac_exeext &&
24637 $as_test_x conftest$ac_exeext; then
24638 wx_cv_func_va_copy=yes
24640 echo "$as_me: failed program was:" >&5
24641 sed 's/^/| /' conftest.$ac_ext >&5
24643 wx_cv_func_va_copy=no
24647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24648 conftest$ac_exeext conftest.$ac_ext
24650 ac_cpp='$CPP $CPPFLAGS'
24651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24658 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24659 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24661 if test $wx_cv_func_va_copy = "yes"; then
24662 cat >>confdefs.h <<\_ACEOF
24663 #define HAVE_VA_COPY 1
24667 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24668 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24669 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24670 echo $ECHO_N "(cached) $ECHO_C" >&6
24673 if test "$cross_compiling" = yes; then
24674 wx_cv_type_va_list_lvalue=yes
24677 cat >conftest.$ac_ext <<_ACEOF
24681 cat confdefs.h >>conftest.$ac_ext
24682 cat >>conftest.$ac_ext <<_ACEOF
24683 /* end confdefs.h. */
24685 #include <stdarg.h>
24686 int foo(char *f, ...)
24691 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24699 return foo("hi", 17);
24703 rm -f conftest$ac_exeext
24704 if { (ac_try="$ac_link"
24705 case "(($ac_try" in
24706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24707 *) ac_try_echo=$ac_try;;
24709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24710 (eval "$ac_link") 2>&5
24712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24713 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24714 { (case "(($ac_try" in
24715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24716 *) ac_try_echo=$ac_try;;
24718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24719 (eval "$ac_try") 2>&5
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); }; }; then
24723 wx_cv_type_va_list_lvalue=yes
24725 echo "$as_me: program exited with status $ac_status" >&5
24726 echo "$as_me: failed program was:" >&5
24727 sed 's/^/| /' conftest.$ac_ext >&5
24729 ( exit $ac_status )
24730 wx_cv_type_va_list_lvalue=no
24732 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24739 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24740 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24742 if test $wx_cv_type_va_list_lvalue != "yes"; then
24743 cat >>confdefs.h <<\_ACEOF
24744 #define VA_LIST_IS_ARRAY 1
24750 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24752 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24753 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24754 if test "${wx_cv_have_variadic_macros+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24759 ac_cpp='$CXXCPP $CPPFLAGS'
24760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24764 cat >conftest.$ac_ext <<_ACEOF
24768 cat confdefs.h >>conftest.$ac_ext
24769 cat >>conftest.$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24773 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24779 test("%s %d %p", "test", 1, 0);
24786 rm -f conftest.$ac_objext
24787 if { (ac_try="$ac_compile"
24788 case "(($ac_try" in
24789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24790 *) ac_try_echo=$ac_try;;
24792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24793 (eval "$ac_compile") 2>conftest.er1
24795 grep -v '^ *+' conftest.er1 >conftest.err
24797 cat conftest.err >&5
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); } && {
24800 test -z "$ac_cxx_werror_flag" ||
24801 test ! -s conftest.err
24802 } && test -s conftest.$ac_objext; then
24803 wx_cv_have_variadic_macros=yes
24805 echo "$as_me: failed program was:" >&5
24806 sed 's/^/| /' conftest.$ac_ext >&5
24808 wx_cv_have_variadic_macros=no
24812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24814 ac_cpp='$CPP $CPPFLAGS'
24815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24822 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24823 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24825 if test $wx_cv_have_variadic_macros = "yes"; then
24826 cat >>confdefs.h <<\_ACEOF
24827 #define HAVE_VARIADIC_MACROS 1
24834 LARGEFILE_CPPFLAGS=
24835 # Check whether --enable-largefile was given.
24836 if test "${enable_largefile+set}" = set; then
24837 enableval=$enable_largefile;
24840 if test "$enable_largefile" != no; then
24843 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24844 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24845 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24846 echo $ECHO_N "(cached) $ECHO_C" >&6
24849 cat >conftest.$ac_ext <<_ACEOF
24852 cat confdefs.h >>conftest.$ac_ext
24853 cat >>conftest.$ac_ext <<_ACEOF
24854 /* end confdefs.h. */
24855 #define _FILE_OFFSET_BITS 64
24856 #include <sys/types.h>
24861 unsigned int field: sizeof(off_t) == 8;
24868 rm -f conftest.$ac_objext
24869 if { (ac_try="$ac_compile"
24870 case "(($ac_try" in
24871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24872 *) ac_try_echo=$ac_try;;
24874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24875 (eval "$ac_compile") 2>conftest.er1
24877 grep -v '^ *+' conftest.er1 >conftest.err
24879 cat conftest.err >&5
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); } && {
24882 test -z "$ac_c_werror_flag" ||
24883 test ! -s conftest.err
24884 } && test -s conftest.$ac_objext; then
24885 ac_cv_sys_file_offset_bits=64
24887 echo "$as_me: failed program was:" >&5
24888 sed 's/^/| /' conftest.$ac_ext >&5
24890 ac_cv_sys_file_offset_bits=no
24893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24897 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24898 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24900 if test "$ac_cv_sys_file_offset_bits" != no; then
24902 cat >>confdefs.h <<_ACEOF
24903 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24908 if test "x$wx_largefile" != "xyes"; then
24910 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24911 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24912 if test "${ac_cv_sys_large_files+set}" = set; then
24913 echo $ECHO_N "(cached) $ECHO_C" >&6
24916 cat >conftest.$ac_ext <<_ACEOF
24919 cat confdefs.h >>conftest.$ac_ext
24920 cat >>conftest.$ac_ext <<_ACEOF
24921 /* end confdefs.h. */
24922 #define _LARGE_FILES 1
24923 #include <sys/types.h>
24928 unsigned int field: sizeof(off_t) == 8;
24935 rm -f conftest.$ac_objext
24936 if { (ac_try="$ac_compile"
24937 case "(($ac_try" in
24938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24939 *) ac_try_echo=$ac_try;;
24941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24942 (eval "$ac_compile") 2>conftest.er1
24944 grep -v '^ *+' conftest.er1 >conftest.err
24946 cat conftest.err >&5
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); } && {
24949 test -z "$ac_c_werror_flag" ||
24950 test ! -s conftest.err
24951 } && test -s conftest.$ac_objext; then
24952 ac_cv_sys_large_files=1
24954 echo "$as_me: failed program was:" >&5
24955 sed 's/^/| /' conftest.$ac_ext >&5
24957 ac_cv_sys_large_files=no
24960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24964 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24965 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24967 if test "$ac_cv_sys_large_files" != no; then
24969 cat >>confdefs.h <<_ACEOF
24970 #define _LARGE_FILES $ac_cv_sys_large_files
24977 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24978 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24979 if test "x$wx_largefile" = "xyes"; then
24980 cat >>confdefs.h <<\_ACEOF
24981 #define HAVE_LARGEFILE_SUPPORT 1
24985 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24986 echo "${ECHO_T}$wx_largefile" >&6; }
24989 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24990 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24991 elif test "$ac_cv_sys_large_files" = 1; then
24992 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24995 if test -n "$LARGEFILE_CPPFLAGS"; then
24996 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24998 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24999 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25000 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25001 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25002 echo $ECHO_N "(cached) $ECHO_C" >&6
25006 ac_cpp='$CXXCPP $CPPFLAGS'
25007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25011 cat >conftest.$ac_ext <<_ACEOF
25014 cat confdefs.h >>conftest.$ac_ext
25015 cat >>conftest.$ac_ext <<_ACEOF
25016 /* end confdefs.h. */
25022 #ifndef __STDC_EXT__
25030 rm -f conftest.$ac_objext
25031 if { (ac_try="$ac_compile"
25032 case "(($ac_try" in
25033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25034 *) ac_try_echo=$ac_try;;
25036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25037 (eval "$ac_compile") 2>conftest.er1
25039 grep -v '^ *+' conftest.er1 >conftest.err
25041 cat conftest.err >&5
25042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25043 (exit $ac_status); } && {
25044 test -z "$ac_cxx_werror_flag" ||
25045 test ! -s conftest.err
25046 } && test -s conftest.$ac_objext; then
25047 wx_cv_STDC_EXT_required=no
25049 echo "$as_me: failed program was:" >&5
25050 sed 's/^/| /' conftest.$ac_ext >&5
25052 wx_cv_STDC_EXT_required=yes
25056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25058 ac_cpp='$CPP $CPPFLAGS'
25059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25066 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25067 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25068 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25069 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25075 ac_cpp='$CXXCPP $CPPFLAGS'
25076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25080 old_CPPFLAGS="$CPPFLAGS"
25081 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25082 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25083 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25084 if test "${ac_cv_sys_largefile_source+set}" = set; then
25085 echo $ECHO_N "(cached) $ECHO_C" >&6
25088 cat >conftest.$ac_ext <<_ACEOF
25091 cat confdefs.h >>conftest.$ac_ext
25092 cat >>conftest.$ac_ext <<_ACEOF
25093 /* end confdefs.h. */
25094 #include <sys/types.h> /* for off_t */
25099 int (*fp) (FILE *, off_t, int) = fseeko;
25100 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25105 rm -f conftest.$ac_objext conftest$ac_exeext
25106 if { (ac_try="$ac_link"
25107 case "(($ac_try" in
25108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25109 *) ac_try_echo=$ac_try;;
25111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25112 (eval "$ac_link") 2>conftest.er1
25114 grep -v '^ *+' conftest.er1 >conftest.err
25116 cat conftest.err >&5
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); } && {
25119 test -z "$ac_cxx_werror_flag" ||
25120 test ! -s conftest.err
25121 } && test -s conftest$ac_exeext &&
25122 $as_test_x conftest$ac_exeext; then
25123 ac_cv_sys_largefile_source=no; break
25125 echo "$as_me: failed program was:" >&5
25126 sed 's/^/| /' conftest.$ac_ext >&5
25131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25132 conftest$ac_exeext conftest.$ac_ext
25133 cat >conftest.$ac_ext <<_ACEOF
25136 cat confdefs.h >>conftest.$ac_ext
25137 cat >>conftest.$ac_ext <<_ACEOF
25138 /* end confdefs.h. */
25139 #define _LARGEFILE_SOURCE 1
25140 #include <sys/types.h> /* for off_t */
25145 int (*fp) (FILE *, off_t, int) = fseeko;
25146 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25151 rm -f conftest.$ac_objext conftest$ac_exeext
25152 if { (ac_try="$ac_link"
25153 case "(($ac_try" in
25154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25155 *) ac_try_echo=$ac_try;;
25157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25158 (eval "$ac_link") 2>conftest.er1
25160 grep -v '^ *+' conftest.er1 >conftest.err
25162 cat conftest.err >&5
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); } && {
25165 test -z "$ac_cxx_werror_flag" ||
25166 test ! -s conftest.err
25167 } && test -s conftest$ac_exeext &&
25168 $as_test_x conftest$ac_exeext; then
25169 ac_cv_sys_largefile_source=1; break
25171 echo "$as_me: failed program was:" >&5
25172 sed 's/^/| /' conftest.$ac_ext >&5
25177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25178 conftest$ac_exeext conftest.$ac_ext
25179 ac_cv_sys_largefile_source=unknown
25183 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25184 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25185 case $ac_cv_sys_largefile_source in #(
25188 cat >>confdefs.h <<_ACEOF
25189 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25195 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25196 # in glibc 2.1.3, but that breaks too many other things.
25197 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25198 if test $ac_cv_sys_largefile_source != unknown; then
25200 cat >>confdefs.h <<\_ACEOF
25201 #define HAVE_FSEEKO 1
25206 CPPFLAGS="$old_CPPFLAGS"
25208 ac_cpp='$CPP $CPPFLAGS'
25209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25213 if test "$ac_cv_sys_largefile_source" != no; then
25214 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25217 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25218 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25219 if test "${ac_cv_c_bigendian+set}" = set; then
25220 echo $ECHO_N "(cached) $ECHO_C" >&6
25222 ac_cv_c_bigendian=unknown
25223 # See if sys/param.h defines the BYTE_ORDER macro.
25224 cat >conftest.$ac_ext <<_ACEOF
25227 cat confdefs.h >>conftest.$ac_ext
25228 cat >>conftest.$ac_ext <<_ACEOF
25229 /* end confdefs.h. */
25230 #include <sys/types.h>
25231 #include <sys/param.h>
25236 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25237 bogus endian macros
25243 rm -f conftest.$ac_objext
25244 if { (ac_try="$ac_compile"
25245 case "(($ac_try" in
25246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25247 *) ac_try_echo=$ac_try;;
25249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25250 (eval "$ac_compile") 2>conftest.er1
25252 grep -v '^ *+' conftest.er1 >conftest.err
25254 cat conftest.err >&5
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); } && {
25257 test -z "$ac_c_werror_flag" ||
25258 test ! -s conftest.err
25259 } && test -s conftest.$ac_objext; then
25260 # It does; now see whether it defined to BIG_ENDIAN or not.
25261 cat >conftest.$ac_ext <<_ACEOF
25264 cat confdefs.h >>conftest.$ac_ext
25265 cat >>conftest.$ac_ext <<_ACEOF
25266 /* end confdefs.h. */
25267 #include <sys/types.h>
25268 #include <sys/param.h>
25273 #if BYTE_ORDER != BIG_ENDIAN
25280 rm -f conftest.$ac_objext
25281 if { (ac_try="$ac_compile"
25282 case "(($ac_try" in
25283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25284 *) ac_try_echo=$ac_try;;
25286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25287 (eval "$ac_compile") 2>conftest.er1
25289 grep -v '^ *+' conftest.er1 >conftest.err
25291 cat conftest.err >&5
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); } && {
25294 test -z "$ac_c_werror_flag" ||
25295 test ! -s conftest.err
25296 } && test -s conftest.$ac_objext; then
25297 ac_cv_c_bigendian=yes
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25302 ac_cv_c_bigendian=no
25305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25307 echo "$as_me: failed program was:" >&5
25308 sed 's/^/| /' conftest.$ac_ext >&5
25313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25314 if test $ac_cv_c_bigendian = unknown; then
25315 if test "$cross_compiling" = yes; then
25316 ac_cv_c_bigendian=unknown
25318 cat >conftest.$ac_ext <<_ACEOF
25321 cat confdefs.h >>conftest.$ac_ext
25322 cat >>conftest.$ac_ext <<_ACEOF
25323 /* end confdefs.h. */
25325 /* Are we little or big endian? From Harbison&Steele. */
25329 char c[sizeof (long)];
25332 exit (u.c[sizeof (long) - 1] == 1);
25335 rm -f conftest$ac_exeext
25336 if { (ac_try="$ac_link"
25337 case "(($ac_try" in
25338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25339 *) ac_try_echo=$ac_try;;
25341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25342 (eval "$ac_link") 2>&5
25344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25346 { (case "(($ac_try" in
25347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25348 *) ac_try_echo=$ac_try;;
25350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25351 (eval "$ac_try") 2>&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25355 ac_cv_c_bigendian=no
25357 echo "$as_me: program exited with status $ac_status" >&5
25358 echo "$as_me: failed program was:" >&5
25359 sed 's/^/| /' conftest.$ac_ext >&5
25361 ( exit $ac_status )
25362 ac_cv_c_bigendian=yes
25364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25370 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25371 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25372 if test $ac_cv_c_bigendian = unknown; then
25373 { 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
25374 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;}
25376 if test $ac_cv_c_bigendian = yes; then
25377 cat >>confdefs.h <<\_ACEOF
25378 #define WORDS_BIGENDIAN 1
25387 ac_cpp='$CXXCPP $CPPFLAGS'
25388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25394 for ac_header in iostream
25396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25397 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25400 echo $ECHO_N "(cached) $ECHO_C" >&6
25402 cat >conftest.$ac_ext <<_ACEOF
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25410 #include <$ac_header>
25412 rm -f conftest.$ac_objext
25413 if { (ac_try="$ac_compile"
25414 case "(($ac_try" in
25415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25416 *) ac_try_echo=$ac_try;;
25418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25419 (eval "$ac_compile") 2>conftest.er1
25421 grep -v '^ *+' conftest.er1 >conftest.err
25423 cat conftest.err >&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); } && {
25426 test -z "$ac_cxx_werror_flag" ||
25427 test ! -s conftest.err
25428 } && test -s conftest.$ac_objext; then
25429 eval "$as_ac_Header=yes"
25431 echo "$as_me: failed program was:" >&5
25432 sed 's/^/| /' conftest.$ac_ext >&5
25434 eval "$as_ac_Header=no"
25437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25439 ac_res=`eval echo '${'$as_ac_Header'}'`
25440 { echo "$as_me:$LINENO: result: $ac_res" >&5
25441 echo "${ECHO_T}$ac_res" >&6; }
25442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25443 cat >>confdefs.h <<_ACEOF
25444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25452 if test "$ac_cv_header_iostream" = "yes" ; then
25455 cat >>confdefs.h <<\_ACEOF
25456 #define wxUSE_IOSTREAMH 1
25462 ac_cpp='$CPP $CPPFLAGS'
25463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25470 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25471 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25472 if test "${wx_cv_explicit+set}" = set; then
25473 echo $ECHO_N "(cached) $ECHO_C" >&6
25478 ac_cpp='$CXXCPP $CPPFLAGS'
25479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25484 cat >conftest.$ac_ext <<_ACEOF
25487 cat confdefs.h >>conftest.$ac_ext
25488 cat >>conftest.$ac_ext <<_ACEOF
25489 /* end confdefs.h. */
25491 class Foo { public: explicit Foo(int) {} };
25503 rm -f conftest.$ac_objext
25504 if { (ac_try="$ac_compile"
25505 case "(($ac_try" in
25506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25507 *) ac_try_echo=$ac_try;;
25509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25510 (eval "$ac_compile") 2>conftest.er1
25512 grep -v '^ *+' conftest.er1 >conftest.err
25514 cat conftest.err >&5
25515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516 (exit $ac_status); } && {
25517 test -z "$ac_cxx_werror_flag" ||
25518 test ! -s conftest.err
25519 } && test -s conftest.$ac_objext; then
25521 cat >conftest.$ac_ext <<_ACEOF
25524 cat confdefs.h >>conftest.$ac_ext
25525 cat >>conftest.$ac_ext <<_ACEOF
25526 /* end confdefs.h. */
25528 class Foo { public: explicit Foo(int) {} };
25529 static void TakeFoo(const Foo& foo) { }
25542 rm -f conftest.$ac_objext
25543 if { (ac_try="$ac_compile"
25544 case "(($ac_try" in
25545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25546 *) ac_try_echo=$ac_try;;
25548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25549 (eval "$ac_compile") 2>conftest.er1
25551 grep -v '^ *+' conftest.er1 >conftest.err
25553 cat conftest.err >&5
25554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555 (exit $ac_status); } && {
25556 test -z "$ac_cxx_werror_flag" ||
25557 test ! -s conftest.err
25558 } && test -s conftest.$ac_objext; then
25561 echo "$as_me: failed program was:" >&5
25562 sed 's/^/| /' conftest.$ac_ext >&5
25568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25571 echo "$as_me: failed program was:" >&5
25572 sed 's/^/| /' conftest.$ac_ext >&5
25578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25581 ac_cpp='$CPP $CPPFLAGS'
25582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25588 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25589 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25591 if test "$wx_cv_explicit" = "yes"; then
25592 cat >>confdefs.h <<\_ACEOF
25593 #define HAVE_EXPLICIT 1
25599 if test "x$SUNCXX" = xyes; then
25600 CXXFLAGS="-features=tmplife $CXXFLAGS"
25603 if test "x$SUNCC" = xyes; then
25604 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25607 if test "x$SGICC" = "xyes"; then
25608 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25609 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25610 if test "${wx_cv_prog_sgicc744+set}" = set; then
25611 echo $ECHO_N "(cached) $ECHO_C" >&6
25614 cat >conftest.$ac_ext <<_ACEOF
25617 cat confdefs.h >>conftest.$ac_ext
25618 cat >>conftest.$ac_ext <<_ACEOF
25619 /* end confdefs.h. */
25625 #if _SGI_COMPILER_VERSION >= 744
25626 chock me: mipsPro is 7.4.4 or later
25633 rm -f conftest.$ac_objext
25634 if { (ac_try="$ac_compile"
25635 case "(($ac_try" in
25636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25637 *) ac_try_echo=$ac_try;;
25639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25640 (eval "$ac_compile") 2>conftest.er1
25642 grep -v '^ *+' conftest.er1 >conftest.err
25644 cat conftest.err >&5
25645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25646 (exit $ac_status); } && {
25647 test -z "$ac_c_werror_flag" ||
25648 test ! -s conftest.err
25649 } && test -s conftest.$ac_objext; then
25650 wx_cv_prog_sgicc744=no
25652 echo "$as_me: failed program was:" >&5
25653 sed 's/^/| /' conftest.$ac_ext >&5
25655 wx_cv_prog_sgicc744=yes
25659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25663 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25664 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25666 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25667 CFLAGS="-woff 3970 $CFLAGS"
25670 if test "x$SGICXX" = "xyes"; then
25671 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25672 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25673 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25678 ac_cpp='$CXXCPP $CPPFLAGS'
25679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25683 cat >conftest.$ac_ext <<_ACEOF
25686 cat confdefs.h >>conftest.$ac_ext
25687 cat >>conftest.$ac_ext <<_ACEOF
25688 /* end confdefs.h. */
25694 #if _SGI_COMPILER_VERSION >= 744
25695 chock me: mipsPro is 7.4.4 or later
25702 rm -f conftest.$ac_objext
25703 if { (ac_try="$ac_compile"
25704 case "(($ac_try" in
25705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25706 *) ac_try_echo=$ac_try;;
25708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25709 (eval "$ac_compile") 2>conftest.er1
25711 grep -v '^ *+' conftest.er1 >conftest.err
25713 cat conftest.err >&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } && {
25716 test -z "$ac_cxx_werror_flag" ||
25717 test ! -s conftest.err
25718 } && test -s conftest.$ac_objext; then
25719 wx_cv_prog_sgicxx744=no
25721 echo "$as_me: failed program was:" >&5
25722 sed 's/^/| /' conftest.$ac_ext >&5
25724 wx_cv_prog_sgicxx744=yes
25728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25730 ac_cpp='$CPP $CPPFLAGS'
25731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25738 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25739 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25741 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25742 CXXFLAGS="-woff 3970 $CXXFLAGS"
25746 if test "x$HPCC" = "xyes"; then
25747 CFLAGS="+W 2011,2450 $CFLAGS"
25749 if test "x$HPCXX" = "xyes"; then
25750 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25753 if test "x$COMPAQCXX" = "xyes"; then
25754 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25758 ac_cpp='$CXXCPP $CPPFLAGS'
25759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25764 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25765 if test "$wxUSE_UNICODE" = "yes"; then
25766 std_string="std::wstring"
25767 char_type="wchar_t"
25769 std_string="std::string"
25773 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25774 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25775 if test "${wx_cv_class_stdstring+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25779 cat >conftest.$ac_ext <<_ACEOF
25782 cat confdefs.h >>conftest.$ac_ext
25783 cat >>conftest.$ac_ext <<_ACEOF
25784 /* end confdefs.h. */
25794 rm -f conftest.$ac_objext
25795 if { (ac_try="$ac_compile"
25796 case "(($ac_try" in
25797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_compile") 2>conftest.er1
25803 grep -v '^ *+' conftest.er1 >conftest.err
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); } && {
25808 test -z "$ac_cxx_werror_flag" ||
25809 test ! -s conftest.err
25810 } && test -s conftest.$ac_objext; then
25811 wx_cv_class_stdstring=yes
25813 echo "$as_me: failed program was:" >&5
25814 sed 's/^/| /' conftest.$ac_ext >&5
25816 wx_cv_class_stdstring=no
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25824 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25825 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25827 if test "$wx_cv_class_stdstring" = yes; then
25828 if test "$wxUSE_UNICODE" = "yes"; then
25829 cat >>confdefs.h <<\_ACEOF
25830 #define HAVE_STD_WSTRING 1
25835 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25836 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25837 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25838 echo $ECHO_N "(cached) $ECHO_C" >&6
25841 cat >conftest.$ac_ext <<_ACEOF
25844 cat confdefs.h >>conftest.$ac_ext
25845 cat >>conftest.$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25848 #ifdef HAVE_WCHAR_H
25850 # include <stddef.h>
25852 # include <wchar.h>
25854 #ifdef HAVE_STDLIB_H
25855 # include <stdlib.h>
25863 std::basic_string<$char_type> foo;
25864 const $char_type* dummy = foo.c_str();
25869 rm -f conftest.$ac_objext
25870 if { (ac_try="$ac_compile"
25871 case "(($ac_try" in
25872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25873 *) ac_try_echo=$ac_try;;
25875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25876 (eval "$ac_compile") 2>conftest.er1
25878 grep -v '^ *+' conftest.er1 >conftest.err
25880 cat conftest.err >&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); } && {
25883 test -z "$ac_cxx_werror_flag" ||
25884 test ! -s conftest.err
25885 } && test -s conftest.$ac_objext; then
25886 wx_cv_class_stdbasicstring=yes
25888 echo "$as_me: failed program was:" >&5
25889 sed 's/^/| /' conftest.$ac_ext >&5
25891 wx_cv_class_stdbasicstring=no
25895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25899 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25900 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25902 if test "$wx_cv_class_stdbasicstring" != yes; then
25903 if test "$wxUSE_STL" = "yes"; then
25904 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25905 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25906 { (exit 1); exit 1; }; }
25907 elif test "$wxUSE_STD_STRING" = "yes"; then
25908 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25909 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25910 { (exit 1); exit 1; }; }
25912 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25913 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25914 wxUSE_STD_STRING=no
25920 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25921 { echo "$as_me:$LINENO: checking for std::istream" >&5
25922 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25923 if test "${ac_cv_type_std__istream+set}" = set; then
25924 echo $ECHO_N "(cached) $ECHO_C" >&6
25926 cat >conftest.$ac_ext <<_ACEOF
25929 cat confdefs.h >>conftest.$ac_ext
25930 cat >>conftest.$ac_ext <<_ACEOF
25931 /* end confdefs.h. */
25932 #include <iostream>
25934 typedef std::istream ac__type_new_;
25938 if ((ac__type_new_ *) 0)
25940 if (sizeof (ac__type_new_))
25946 rm -f conftest.$ac_objext
25947 if { (ac_try="$ac_compile"
25948 case "(($ac_try" in
25949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25950 *) ac_try_echo=$ac_try;;
25952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25953 (eval "$ac_compile") 2>conftest.er1
25955 grep -v '^ *+' conftest.er1 >conftest.err
25957 cat conftest.err >&5
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); } && {
25960 test -z "$ac_cxx_werror_flag" ||
25961 test ! -s conftest.err
25962 } && test -s conftest.$ac_objext; then
25963 ac_cv_type_std__istream=yes
25965 echo "$as_me: failed program was:" >&5
25966 sed 's/^/| /' conftest.$ac_ext >&5
25968 ac_cv_type_std__istream=no
25971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25973 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25974 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25975 if test $ac_cv_type_std__istream = yes; then
25977 cat >>confdefs.h <<_ACEOF
25978 #define HAVE_STD__ISTREAM 1
25983 wxUSE_STD_IOSTREAM=no
25985 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25986 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25987 if test "${ac_cv_type_std__ostream+set}" = set; then
25988 echo $ECHO_N "(cached) $ECHO_C" >&6
25990 cat >conftest.$ac_ext <<_ACEOF
25993 cat confdefs.h >>conftest.$ac_ext
25994 cat >>conftest.$ac_ext <<_ACEOF
25995 /* end confdefs.h. */
25996 #include <iostream>
25998 typedef std::ostream ac__type_new_;
26002 if ((ac__type_new_ *) 0)
26004 if (sizeof (ac__type_new_))
26010 rm -f conftest.$ac_objext
26011 if { (ac_try="$ac_compile"
26012 case "(($ac_try" in
26013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26014 *) ac_try_echo=$ac_try;;
26016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26017 (eval "$ac_compile") 2>conftest.er1
26019 grep -v '^ *+' conftest.er1 >conftest.err
26021 cat conftest.err >&5
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); } && {
26024 test -z "$ac_cxx_werror_flag" ||
26025 test ! -s conftest.err
26026 } && test -s conftest.$ac_objext; then
26027 ac_cv_type_std__ostream=yes
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.$ac_ext >&5
26032 ac_cv_type_std__ostream=no
26035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26037 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26038 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26039 if test $ac_cv_type_std__ostream = yes; then
26041 cat >>confdefs.h <<_ACEOF
26042 #define HAVE_STD__OSTREAM 1
26047 wxUSE_STD_IOSTREAM=no
26051 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26052 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26053 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26054 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26055 { (exit 1); exit 1; }; }
26057 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26058 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26063 if test "$wxUSE_STL" = "yes"; then
26064 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26065 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26066 if test "${wx_cv_lib_stl+set}" = set; then
26067 echo $ECHO_N "(cached) $ECHO_C" >&6
26069 cat >conftest.$ac_ext <<_ACEOF
26072 cat confdefs.h >>conftest.$ac_ext
26073 cat >>conftest.$ac_ext <<_ACEOF
26074 /* end confdefs.h. */
26076 #include <functional>
26077 #include <algorithm>
26083 std::vector<int> moo;
26084 std::list<int> foo;
26085 std::vector<int>::iterator it =
26086 std::find_if(moo.begin(), moo.end(),
26087 std::bind2nd(std::less<int>(), 3));
26092 rm -f conftest.$ac_objext
26093 if { (ac_try="$ac_compile"
26094 case "(($ac_try" in
26095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26096 *) ac_try_echo=$ac_try;;
26098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26099 (eval "$ac_compile") 2>conftest.er1
26101 grep -v '^ *+' conftest.er1 >conftest.err
26103 cat conftest.err >&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); } && {
26106 test -z "$ac_cxx_werror_flag" ||
26107 test ! -s conftest.err
26108 } && test -s conftest.$ac_objext; then
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.$ac_ext >&5
26118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26121 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26122 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26124 if test "$wx_cv_lib_stl" != yes; then
26125 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26126 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26127 { (exit 1); exit 1; }; }
26130 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26131 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26132 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26133 echo $ECHO_N "(cached) $ECHO_C" >&6
26135 cat >conftest.$ac_ext <<_ACEOF
26138 cat confdefs.h >>conftest.$ac_ext
26139 cat >>conftest.$ac_ext <<_ACEOF
26140 /* end confdefs.h. */
26145 std::string foo, bar;
26147 foo.compare(1, 1, bar);
26148 foo.compare(1, 1, bar, 1, 1);
26150 foo.compare(1, 1, "");
26151 foo.compare(1, 1, "", 2);
26156 rm -f conftest.$ac_objext
26157 if { (ac_try="$ac_compile"
26158 case "(($ac_try" in
26159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26160 *) ac_try_echo=$ac_try;;
26162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26163 (eval "$ac_compile") 2>conftest.er1
26165 grep -v '^ *+' conftest.er1 >conftest.err
26167 cat conftest.err >&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } && {
26170 test -z "$ac_cxx_werror_flag" ||
26171 test ! -s conftest.err
26172 } && test -s conftest.$ac_objext; then
26173 wx_cv_func_stdstring_compare=yes
26175 echo "$as_me: failed program was:" >&5
26176 sed 's/^/| /' conftest.$ac_ext >&5
26178 wx_cv_func_stdstring_compare=no
26182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26185 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26186 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26188 if test "$wx_cv_func_stdstring_compare" = yes; then
26189 cat >>confdefs.h <<\_ACEOF
26190 #define HAVE_STD_STRING_COMPARE 1
26195 if test "$wx_cv_class_gnuhashmapset" = yes; then
26196 cat >>confdefs.h <<\_ACEOF
26197 #define HAVE_EXT_HASH_MAP 1
26200 cat >>confdefs.h <<\_ACEOF
26201 #define HAVE_GNU_CXX_HASH_MAP 1
26206 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26207 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26208 if test "${ac_cv_header_unordered_map+set}" = set; then
26209 echo $ECHO_N "(cached) $ECHO_C" >&6
26211 cat >conftest.$ac_ext <<_ACEOF
26214 cat confdefs.h >>conftest.$ac_ext
26215 cat >>conftest.$ac_ext <<_ACEOF
26216 /* end confdefs.h. */
26220 #include <unordered_map>
26222 rm -f conftest.$ac_objext
26223 if { (ac_try="$ac_compile"
26224 case "(($ac_try" in
26225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26226 *) ac_try_echo=$ac_try;;
26228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26229 (eval "$ac_compile") 2>conftest.er1
26231 grep -v '^ *+' conftest.er1 >conftest.err
26233 cat conftest.err >&5
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); } && {
26236 test -z "$ac_cxx_werror_flag" ||
26237 test ! -s conftest.err
26238 } && test -s conftest.$ac_objext; then
26239 ac_cv_header_unordered_map=yes
26241 echo "$as_me: failed program was:" >&5
26242 sed 's/^/| /' conftest.$ac_ext >&5
26244 ac_cv_header_unordered_map=no
26247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26249 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26250 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26251 if test $ac_cv_header_unordered_map = yes; then
26252 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26253 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26254 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26255 echo $ECHO_N "(cached) $ECHO_C" >&6
26257 cat >conftest.$ac_ext <<_ACEOF
26260 cat confdefs.h >>conftest.$ac_ext
26261 cat >>conftest.$ac_ext <<_ACEOF
26262 /* end confdefs.h. */
26263 #include <unordered_map>
26264 #include <unordered_set>
26268 std::unordered_map<double*, char*> test1;
26269 std::unordered_set<char*> test2;
26274 rm -f conftest.$ac_objext
26275 if { (ac_try="$ac_compile"
26276 case "(($ac_try" in
26277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26278 *) ac_try_echo=$ac_try;;
26280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26281 (eval "$ac_compile") 2>conftest.er1
26283 grep -v '^ *+' conftest.er1 >conftest.err
26285 cat conftest.err >&5
26286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26287 (exit $ac_status); } && {
26288 test -z "$ac_cxx_werror_flag" ||
26289 test ! -s conftest.err
26290 } && test -s conftest.$ac_objext; then
26291 wx_cv_class_stdunorderedmapset=yes
26293 echo "$as_me: failed program was:" >&5
26294 sed 's/^/| /' conftest.$ac_ext >&5
26296 wx_cv_class_stdunorderedmapset=no
26299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26303 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26304 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26309 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26310 cat >>confdefs.h <<\_ACEOF
26311 #define HAVE_STD_UNORDERED_MAP 1
26314 cat >>confdefs.h <<\_ACEOF
26315 #define HAVE_STD_UNORDERED_SET 1
26319 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26320 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26321 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26322 echo $ECHO_N "(cached) $ECHO_C" >&6
26324 cat >conftest.$ac_ext <<_ACEOF
26327 cat confdefs.h >>conftest.$ac_ext
26328 cat >>conftest.$ac_ext <<_ACEOF
26329 /* end confdefs.h. */
26333 #include <tr1/unordered_map>
26335 rm -f conftest.$ac_objext
26336 if { (ac_try="$ac_compile"
26337 case "(($ac_try" in
26338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26339 *) ac_try_echo=$ac_try;;
26341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26342 (eval "$ac_compile") 2>conftest.er1
26344 grep -v '^ *+' conftest.er1 >conftest.err
26346 cat conftest.err >&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } && {
26349 test -z "$ac_cxx_werror_flag" ||
26350 test ! -s conftest.err
26351 } && test -s conftest.$ac_objext; then
26352 ac_cv_header_tr1_unordered_map=yes
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26357 ac_cv_header_tr1_unordered_map=no
26360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26362 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26363 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26364 if test $ac_cv_header_tr1_unordered_map = yes; then
26365 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26366 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26367 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26370 cat >conftest.$ac_ext <<_ACEOF
26373 cat confdefs.h >>conftest.$ac_ext
26374 cat >>conftest.$ac_ext <<_ACEOF
26375 /* end confdefs.h. */
26376 #include <tr1/unordered_map>
26377 #include <tr1/unordered_set>
26381 std::tr1::unordered_map<double*, char*> test1;
26382 std::tr1::unordered_set<char*> test2;
26383 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26384 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26390 rm -f conftest.$ac_objext
26391 if { (ac_try="$ac_compile"
26392 case "(($ac_try" in
26393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26394 *) ac_try_echo=$ac_try;;
26396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26397 (eval "$ac_compile") 2>conftest.er1
26399 grep -v '^ *+' conftest.er1 >conftest.err
26401 cat conftest.err >&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } && {
26404 test -z "$ac_cxx_werror_flag" ||
26405 test ! -s conftest.err
26406 } && test -s conftest.$ac_objext; then
26407 wx_cv_class_tr1unorderedmapset=yes
26409 echo "$as_me: failed program was:" >&5
26410 sed 's/^/| /' conftest.$ac_ext >&5
26412 wx_cv_class_tr1unorderedmapset=no
26415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26419 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26420 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26425 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26426 cat >>confdefs.h <<\_ACEOF
26427 #define HAVE_TR1_UNORDERED_MAP 1
26430 cat >>confdefs.h <<\_ACEOF
26431 #define HAVE_TR1_UNORDERED_SET 1
26435 { echo "$as_me:$LINENO: checking for hash_map" >&5
26436 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26437 if test "${ac_cv_header_hash_map+set}" = set; then
26438 echo $ECHO_N "(cached) $ECHO_C" >&6
26440 cat >conftest.$ac_ext <<_ACEOF
26443 cat confdefs.h >>conftest.$ac_ext
26444 cat >>conftest.$ac_ext <<_ACEOF
26445 /* end confdefs.h. */
26449 #include <hash_map>
26451 rm -f conftest.$ac_objext
26452 if { (ac_try="$ac_compile"
26453 case "(($ac_try" in
26454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26455 *) ac_try_echo=$ac_try;;
26457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26458 (eval "$ac_compile") 2>conftest.er1
26460 grep -v '^ *+' conftest.er1 >conftest.err
26462 cat conftest.err >&5
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); } && {
26465 test -z "$ac_cxx_werror_flag" ||
26466 test ! -s conftest.err
26467 } && test -s conftest.$ac_objext; then
26468 ac_cv_header_hash_map=yes
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.$ac_ext >&5
26473 ac_cv_header_hash_map=no
26476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26478 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26479 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26480 if test $ac_cv_header_hash_map = yes; then
26481 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26482 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26483 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26484 echo $ECHO_N "(cached) $ECHO_C" >&6
26486 cat >conftest.$ac_ext <<_ACEOF
26489 cat confdefs.h >>conftest.$ac_ext
26490 cat >>conftest.$ac_ext <<_ACEOF
26491 /* end confdefs.h. */
26492 #include <hash_map>
26493 #include <hash_set>
26497 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26498 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26503 rm -f conftest.$ac_objext
26504 if { (ac_try="$ac_compile"
26505 case "(($ac_try" in
26506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26507 *) ac_try_echo=$ac_try;;
26509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26510 (eval "$ac_compile") 2>conftest.er1
26512 grep -v '^ *+' conftest.er1 >conftest.err
26514 cat conftest.err >&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); } && {
26517 test -z "$ac_cxx_werror_flag" ||
26518 test ! -s conftest.err
26519 } && test -s conftest.$ac_objext; then
26520 wx_cv_class_stdhashmapset=yes
26522 echo "$as_me: failed program was:" >&5
26523 sed 's/^/| /' conftest.$ac_ext >&5
26525 wx_cv_class_stdhashmapset=no
26528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26532 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26533 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26538 if test "$wx_cv_class_stdhashmapset" = yes; then
26539 cat >>confdefs.h <<\_ACEOF
26540 #define HAVE_HASH_MAP 1
26543 cat >>confdefs.h <<\_ACEOF
26544 #define HAVE_STD_HASH_MAP 1
26549 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26550 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26551 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26552 echo $ECHO_N "(cached) $ECHO_C" >&6
26554 cat >conftest.$ac_ext <<_ACEOF
26557 cat confdefs.h >>conftest.$ac_ext
26558 cat >>conftest.$ac_ext <<_ACEOF
26559 /* end confdefs.h. */
26563 #include <ext/hash_map>
26565 rm -f conftest.$ac_objext
26566 if { (ac_try="$ac_compile"
26567 case "(($ac_try" in
26568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26569 *) ac_try_echo=$ac_try;;
26571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26572 (eval "$ac_compile") 2>conftest.er1
26574 grep -v '^ *+' conftest.er1 >conftest.err
26576 cat conftest.err >&5
26577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26578 (exit $ac_status); } && {
26579 test -z "$ac_cxx_werror_flag" ||
26580 test ! -s conftest.err
26581 } && test -s conftest.$ac_objext; then
26582 ac_cv_header_ext_hash_map=yes
26584 echo "$as_me: failed program was:" >&5
26585 sed 's/^/| /' conftest.$ac_ext >&5
26587 ac_cv_header_ext_hash_map=no
26590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26592 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26593 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26594 if test $ac_cv_header_ext_hash_map = yes; then
26595 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26596 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26597 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26598 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 cat >conftest.$ac_ext <<_ACEOF
26603 cat confdefs.h >>conftest.$ac_ext
26604 cat >>conftest.$ac_ext <<_ACEOF
26605 /* end confdefs.h. */
26606 #include <ext/hash_map>
26607 #include <ext/hash_set>
26611 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26612 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26617 rm -f conftest.$ac_objext
26618 if { (ac_try="$ac_compile"
26619 case "(($ac_try" in
26620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26621 *) ac_try_echo=$ac_try;;
26623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26624 (eval "$ac_compile") 2>conftest.er1
26626 grep -v '^ *+' conftest.er1 >conftest.err
26628 cat conftest.err >&5
26629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26630 (exit $ac_status); } && {
26631 test -z "$ac_cxx_werror_flag" ||
26632 test ! -s conftest.err
26633 } && test -s conftest.$ac_objext; then
26634 wx_cv_class_gnuhashmapset=yes
26636 echo "$as_me: failed program was:" >&5
26637 sed 's/^/| /' conftest.$ac_ext >&5
26639 wx_cv_class_gnuhashmapset=no
26642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26646 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26647 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26657 ac_cpp='$CXXCPP $CPPFLAGS'
26658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26661 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26662 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26663 if test -z "$CXXCPP"; then
26664 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26665 echo $ECHO_N "(cached) $ECHO_C" >&6
26667 # Double quotes because CXXCPP needs to be expanded
26668 for CXXCPP in "$CXX -E" "/lib/cpp"
26670 ac_preproc_ok=false
26671 for ac_cxx_preproc_warn_flag in '' yes
26673 # Use a header file that comes with gcc, so configuring glibc
26674 # with a fresh cross-compiler works.
26675 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26676 # <limits.h> exists even on freestanding compilers.
26677 # On the NeXT, cc -E runs the code through the compiler's parser,
26678 # not just through cpp. "Syntax error" is here to catch this case.
26679 cat >conftest.$ac_ext <<_ACEOF
26682 cat confdefs.h >>conftest.$ac_ext
26683 cat >>conftest.$ac_ext <<_ACEOF
26684 /* end confdefs.h. */
26686 # include <limits.h>
26688 # include <assert.h>
26692 if { (ac_try="$ac_cpp conftest.$ac_ext"
26693 case "(($ac_try" in
26694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26695 *) ac_try_echo=$ac_try;;
26697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26700 grep -v '^ *+' conftest.er1 >conftest.err
26702 cat conftest.err >&5
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); } >/dev/null && {
26705 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26706 test ! -s conftest.err
26710 echo "$as_me: failed program was:" >&5
26711 sed 's/^/| /' conftest.$ac_ext >&5
26713 # Broken: fails on valid input.
26717 rm -f conftest.err conftest.$ac_ext
26719 # OK, works on sane cases. Now check whether nonexistent headers
26720 # can be detected and how.
26721 cat >conftest.$ac_ext <<_ACEOF
26724 cat confdefs.h >>conftest.$ac_ext
26725 cat >>conftest.$ac_ext <<_ACEOF
26726 /* end confdefs.h. */
26727 #include <ac_nonexistent.h>
26729 if { (ac_try="$ac_cpp conftest.$ac_ext"
26730 case "(($ac_try" in
26731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26732 *) ac_try_echo=$ac_try;;
26734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26737 grep -v '^ *+' conftest.er1 >conftest.err
26739 cat conftest.err >&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } >/dev/null && {
26742 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26743 test ! -s conftest.err
26745 # Broken: success on invalid input.
26748 echo "$as_me: failed program was:" >&5
26749 sed 's/^/| /' conftest.$ac_ext >&5
26751 # Passes both tests.
26756 rm -f conftest.err conftest.$ac_ext
26759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26760 rm -f conftest.err conftest.$ac_ext
26761 if $ac_preproc_ok; then
26766 ac_cv_prog_CXXCPP=$CXXCPP
26769 CXXCPP=$ac_cv_prog_CXXCPP
26771 ac_cv_prog_CXXCPP=$CXXCPP
26773 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26774 echo "${ECHO_T}$CXXCPP" >&6; }
26775 ac_preproc_ok=false
26776 for ac_cxx_preproc_warn_flag in '' yes
26778 # Use a header file that comes with gcc, so configuring glibc
26779 # with a fresh cross-compiler works.
26780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26781 # <limits.h> exists even on freestanding compilers.
26782 # On the NeXT, cc -E runs the code through the compiler's parser,
26783 # not just through cpp. "Syntax error" is here to catch this case.
26784 cat >conftest.$ac_ext <<_ACEOF
26787 cat confdefs.h >>conftest.$ac_ext
26788 cat >>conftest.$ac_ext <<_ACEOF
26789 /* end confdefs.h. */
26791 # include <limits.h>
26793 # include <assert.h>
26797 if { (ac_try="$ac_cpp conftest.$ac_ext"
26798 case "(($ac_try" in
26799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26800 *) ac_try_echo=$ac_try;;
26802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26805 grep -v '^ *+' conftest.er1 >conftest.err
26807 cat conftest.err >&5
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); } >/dev/null && {
26810 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26811 test ! -s conftest.err
26815 echo "$as_me: failed program was:" >&5
26816 sed 's/^/| /' conftest.$ac_ext >&5
26818 # Broken: fails on valid input.
26822 rm -f conftest.err conftest.$ac_ext
26824 # OK, works on sane cases. Now check whether nonexistent headers
26825 # can be detected and how.
26826 cat >conftest.$ac_ext <<_ACEOF
26829 cat confdefs.h >>conftest.$ac_ext
26830 cat >>conftest.$ac_ext <<_ACEOF
26831 /* end confdefs.h. */
26832 #include <ac_nonexistent.h>
26834 if { (ac_try="$ac_cpp conftest.$ac_ext"
26835 case "(($ac_try" in
26836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26842 grep -v '^ *+' conftest.er1 >conftest.err
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } >/dev/null && {
26847 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26848 test ! -s conftest.err
26850 # Broken: success on invalid input.
26853 echo "$as_me: failed program was:" >&5
26854 sed 's/^/| /' conftest.$ac_ext >&5
26856 # Passes both tests.
26861 rm -f conftest.err conftest.$ac_ext
26864 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26865 rm -f conftest.err conftest.$ac_ext
26866 if $ac_preproc_ok; then
26869 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26870 See \`config.log' for more details." >&5
26871 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26872 See \`config.log' for more details." >&2;}
26873 { (exit 1); exit 1; }; }
26877 ac_cpp='$CXXCPP $CPPFLAGS'
26878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26885 for ac_header in type_traits tr1/type_traits
26887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26892 echo $ECHO_N "(cached) $ECHO_C" >&6
26894 ac_res=`eval echo '${'$as_ac_Header'}'`
26895 { echo "$as_me:$LINENO: result: $ac_res" >&5
26896 echo "${ECHO_T}$ac_res" >&6; }
26898 # Is the header compilable?
26899 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26901 cat >conftest.$ac_ext <<_ACEOF
26904 cat confdefs.h >>conftest.$ac_ext
26905 cat >>conftest.$ac_ext <<_ACEOF
26906 /* end confdefs.h. */
26907 $ac_includes_default
26908 #include <$ac_header>
26910 rm -f conftest.$ac_objext
26911 if { (ac_try="$ac_compile"
26912 case "(($ac_try" in
26913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26914 *) ac_try_echo=$ac_try;;
26916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26917 (eval "$ac_compile") 2>conftest.er1
26919 grep -v '^ *+' conftest.er1 >conftest.err
26921 cat conftest.err >&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } && {
26924 test -z "$ac_cxx_werror_flag" ||
26925 test ! -s conftest.err
26926 } && test -s conftest.$ac_objext; then
26927 ac_header_compiler=yes
26929 echo "$as_me: failed program was:" >&5
26930 sed 's/^/| /' conftest.$ac_ext >&5
26932 ac_header_compiler=no
26935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26936 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26937 echo "${ECHO_T}$ac_header_compiler" >&6; }
26939 # Is the header present?
26940 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26942 cat >conftest.$ac_ext <<_ACEOF
26945 cat confdefs.h >>conftest.$ac_ext
26946 cat >>conftest.$ac_ext <<_ACEOF
26947 /* end confdefs.h. */
26948 #include <$ac_header>
26950 if { (ac_try="$ac_cpp conftest.$ac_ext"
26951 case "(($ac_try" in
26952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26953 *) ac_try_echo=$ac_try;;
26955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26958 grep -v '^ *+' conftest.er1 >conftest.err
26960 cat conftest.err >&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } >/dev/null && {
26963 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26964 test ! -s conftest.err
26966 ac_header_preproc=yes
26968 echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.$ac_ext >&5
26971 ac_header_preproc=no
26974 rm -f conftest.err conftest.$ac_ext
26975 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26976 echo "${ECHO_T}$ac_header_preproc" >&6; }
26978 # So? What about this header?
26979 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26984 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26985 ac_header_preproc=yes
26988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26993 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26995 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26999 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27001 ## ----------------------------------------- ##
27002 ## Report this to wx-dev@lists.wxwidgets.org ##
27003 ## ----------------------------------------- ##
27005 ) | sed "s/^/$as_me: WARNING: /" >&2
27008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27011 echo $ECHO_N "(cached) $ECHO_C" >&6
27013 eval "$as_ac_Header=\$ac_header_preproc"
27015 ac_res=`eval echo '${'$as_ac_Header'}'`
27016 { echo "$as_me:$LINENO: result: $ac_res" >&5
27017 echo "${ECHO_T}$ac_res" >&6; }
27020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27021 cat >>confdefs.h <<_ACEOF
27022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27032 if test -n "$GCC"; then
27033 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
27034 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
27035 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27036 echo $ECHO_N "(cached) $ECHO_C" >&6
27039 cat >conftest.$ac_ext <<_ACEOF
27042 cat confdefs.h >>conftest.$ac_ext
27043 cat >>conftest.$ac_ext <<_ACEOF
27044 /* end confdefs.h. */
27050 unsigned int value=0;
27051 /* wxAtomicInc doesn't use return value here */
27052 __sync_fetch_and_add(&value, 2);
27053 __sync_sub_and_fetch(&value, 1);
27054 /* but wxAtomicDec does, so mimic that: */
27055 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27061 rm -f conftest.$ac_objext conftest$ac_exeext
27062 if { (ac_try="$ac_link"
27063 case "(($ac_try" in
27064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27065 *) ac_try_echo=$ac_try;;
27067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27068 (eval "$ac_link") 2>conftest.er1
27070 grep -v '^ *+' conftest.er1 >conftest.err
27072 cat conftest.err >&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); } && {
27075 test -z "$ac_cxx_werror_flag" ||
27076 test ! -s conftest.err
27077 } && test -s conftest$ac_exeext &&
27078 $as_test_x conftest$ac_exeext; then
27079 wx_cv_cc_gcc_atomic_builtins=yes
27081 echo "$as_me: failed program was:" >&5
27082 sed 's/^/| /' conftest.$ac_ext >&5
27084 wx_cv_cc_gcc_atomic_builtins=no
27087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27088 conftest$ac_exeext conftest.$ac_ext
27092 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27093 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27094 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27095 cat >>confdefs.h <<\_ACEOF
27096 #define HAVE_GCC_ATOMIC_BUILTINS 1
27104 ac_cpp='$CPP $CPPFLAGS'
27105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27112 /usr/local/include \
27113 /usr/local/X11/include \
27114 /usr/local/include/X11 \
27115 /usr/local/X11R7/include \
27116 /usr/local/X11R6/include \
27117 /usr/local/include/X11R7 \
27118 /usr/local/include/X11R6 \
27120 /usr/Motif-2.1/include \
27121 /usr/Motif-1.2/include \
27122 /usr/include/Motif1.2 \
27125 /usr/openwin/include \
27129 /usr/X11R7/include \
27130 /usr/X11R6/include \
27131 /usr/X11R6.4/include \
27133 /usr/include/X11R7 \
27134 /usr/include/X11R6 \
27139 /usr/XFree86/include/X11 \
27142 /usr/local/X1R5/include \
27143 /usr/local/include/X11R5 \
27144 /usr/X11R5/include \
27145 /usr/include/X11R5 \
27147 /usr/local/X11R4/include \
27148 /usr/local/include/X11R4 \
27149 /usr/X11R4/include \
27150 /usr/include/X11R4 \
27152 /usr/openwin/share/include"
27154 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27155 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27159 if test "${wx_cv_std_libpath+set}" = set; then
27160 echo $ECHO_N "(cached) $ECHO_C" >&6
27163 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27164 for e in a so sl dylib dll.a; do
27166 if test -f $libc; then
27169 cat >conftest.$ac_ext <<_ACEOF
27173 cat confdefs.h >>conftest.$ac_ext
27174 cat >>conftest.$ac_ext <<_ACEOF
27175 /* end confdefs.h. */
27176 int main() { return 0; }
27179 rm -f conftest.$ac_objext conftest$ac_exeext
27180 if { (ac_try="$ac_link"
27181 case "(($ac_try" in
27182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27183 *) ac_try_echo=$ac_try;;
27185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27186 (eval "$ac_link") 2>conftest.er1
27188 grep -v '^ *+' conftest.er1 >conftest.err
27190 cat conftest.err >&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); } && {
27193 test -z "$ac_c_werror_flag" ||
27194 test ! -s conftest.err
27195 } && test -s conftest$ac_exeext &&
27196 $as_test_x conftest$ac_exeext; then
27197 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27199 echo "$as_me: failed program was:" >&5
27200 sed 's/^/| /' conftest.$ac_ext >&5
27205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27206 conftest$ac_exeext conftest.$ac_ext
27208 if test "x$wx_cv_std_libpath" != "x"; then
27221 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27222 wx_cv_std_libpath="lib/64"
27227 if test "$ac_cv_sizeof_void_p" = 8; then
27228 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27229 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
27230 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27231 wx_cv_std_libpath="lib64"
27236 if test -d '/usr/lib/i386-linux-gnu'; then
27237 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
27242 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27243 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
27248 if test -z "$wx_cv_std_libpath"; then
27249 wx_cv_std_libpath="lib"
27252 if test -z "$wx_cv_std_libfullpath"; then
27253 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
27257 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27258 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27260 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27262 if test "$build" != "$host" -a "$GCC" = yes; then
27263 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27264 cross_root=`dirname $cross_root`
27265 cross_root=`dirname $cross_root`
27267 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27268 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27269 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27271 if test -z "$PKG_CONFIG_PATH"; then
27272 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27273 export PKG_CONFIG_PATH
27276 if test -z "$x_includes" -o "$x_includes" = NONE; then
27279 for ac_dir in $SEARCH_INCLUDE /usr/include
27281 if test -f "$ac_dir/X11/Intrinsic.h"; then
27282 ac_find_includes=$ac_dir
27287 x_includes=$ac_find_includes
27289 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27292 for ac_dir in $SEARCH_LIB
27294 for ac_extension in a so sl dylib dll.a; do
27295 if test -f "$ac_dir/libXt.$ac_extension"; then
27296 ac_find_libraries=$ac_dir
27302 x_libraries=$ac_find_libraries
27308 cat >confcache <<\_ACEOF
27309 # This file is a shell script that caches the results of configure
27310 # tests run on this system so they can be shared between configure
27311 # scripts and configure runs, see configure's option --config-cache.
27312 # It is not useful on other systems. If it contains results you don't
27313 # want to keep, you may remove or edit it.
27315 # config.status only pays attention to the cache file if you give it
27316 # the --recheck option to rerun configure.
27318 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27319 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27320 # following values.
27324 # The following way of writing the cache mishandles newlines in values,
27325 # but we know of no workaround that is simple, portable, and efficient.
27326 # So, we kill variables containing newlines.
27327 # Ultrix sh set writes to stderr and can't be redirected directly,
27328 # and sets the high bit in the cache file unless we assign to the vars.
27330 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27331 eval ac_val=\$$ac_var
27335 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27336 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27339 _ | IFS | as_nl) ;; #(
27340 *) $as_unset $ac_var ;;
27346 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27347 *${as_nl}ac_space=\ *)
27348 # `set' does not quote correctly, so add quotes (double-quote
27349 # substitution turns \\\\ into \\, and sed turns \\ into \).
27352 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27355 # `set' quotes correctly as required by POSIX, so do not add quotes.
27356 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27365 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27367 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27369 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27370 if test -w "$cache_file"; then
27371 test "x$cache_file" != "x/dev/null" &&
27372 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27373 echo "$as_me: updating cache $cache_file" >&6;}
27374 cat confcache >$cache_file
27376 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27377 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27382 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27383 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27384 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27385 if test "${wx_cv_lib_glibc21+set}" = set; then
27386 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 cat >conftest.$ac_ext <<_ACEOF
27392 cat confdefs.h >>conftest.$ac_ext
27393 cat >>conftest.$ac_ext <<_ACEOF
27394 /* end confdefs.h. */
27395 #include <features.h>
27400 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27408 rm -f conftest.$ac_objext
27409 if { (ac_try="$ac_compile"
27410 case "(($ac_try" in
27411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27412 *) ac_try_echo=$ac_try;;
27414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27415 (eval "$ac_compile") 2>conftest.er1
27417 grep -v '^ *+' conftest.er1 >conftest.err
27419 cat conftest.err >&5
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); } && {
27422 test -z "$ac_c_werror_flag" ||
27423 test ! -s conftest.err
27424 } && test -s conftest.$ac_objext; then
27426 wx_cv_lib_glibc21=yes
27429 echo "$as_me: failed program was:" >&5
27430 sed 's/^/| /' conftest.$ac_ext >&5
27433 wx_cv_lib_glibc21=no
27438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27441 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27442 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27443 if test "$wx_cv_lib_glibc21" = "yes"; then
27444 cat >>confdefs.h <<\_ACEOF
27445 #define wxHAVE_GLIBC2 1
27451 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27452 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27453 cat >>confdefs.h <<\_ACEOF
27454 #define _GNU_SOURCE 1
27465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27466 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27468 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27469 echo $ECHO_N "(cached) $ECHO_C" >&6
27471 cat >conftest.$ac_ext <<_ACEOF
27474 cat confdefs.h >>conftest.$ac_ext
27475 cat >>conftest.$ac_ext <<_ACEOF
27476 /* end confdefs.h. */
27477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27479 #define $ac_func innocuous_$ac_func
27481 /* System header to define __stub macros and hopefully few prototypes,
27482 which can conflict with char $ac_func (); below.
27483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27484 <limits.h> exists even on freestanding compilers. */
27487 # include <limits.h>
27489 # include <assert.h>
27494 /* Override any GCC internal prototype to avoid an error.
27495 Use char because int might match the return type of a GCC
27496 builtin and then its argument prototype would still apply. */
27501 /* The GNU C library defines this for functions which it implements
27502 to always fail with ENOSYS. Some functions are actually named
27503 something starting with __ and the normal name is an alias. */
27504 #if defined __stub_$ac_func || defined __stub___$ac_func
27511 return $ac_func ();
27516 rm -f conftest.$ac_objext conftest$ac_exeext
27517 if { (ac_try="$ac_link"
27518 case "(($ac_try" in
27519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27520 *) ac_try_echo=$ac_try;;
27522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27523 (eval "$ac_link") 2>conftest.er1
27525 grep -v '^ *+' conftest.er1 >conftest.err
27527 cat conftest.err >&5
27528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529 (exit $ac_status); } && {
27530 test -z "$ac_c_werror_flag" ||
27531 test ! -s conftest.err
27532 } && test -s conftest$ac_exeext &&
27533 $as_test_x conftest$ac_exeext; then
27534 eval "$as_ac_var=yes"
27536 echo "$as_me: failed program was:" >&5
27537 sed 's/^/| /' conftest.$ac_ext >&5
27539 eval "$as_ac_var=no"
27542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27543 conftest$ac_exeext conftest.$ac_ext
27545 ac_res=`eval echo '${'$as_ac_var'}'`
27546 { echo "$as_me:$LINENO: result: $ac_res" >&5
27547 echo "${ECHO_T}$ac_res" >&6; }
27548 if test `eval echo '${'$as_ac_var'}'` = yes; then
27549 cat >>confdefs.h <<_ACEOF
27550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27557 for ac_func in floor
27559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27560 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27562 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27563 echo $ECHO_N "(cached) $ECHO_C" >&6
27565 cat >conftest.$ac_ext <<_ACEOF
27568 cat confdefs.h >>conftest.$ac_ext
27569 cat >>conftest.$ac_ext <<_ACEOF
27570 /* end confdefs.h. */
27571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27573 #define $ac_func innocuous_$ac_func
27575 /* System header to define __stub macros and hopefully few prototypes,
27576 which can conflict with char $ac_func (); below.
27577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27578 <limits.h> exists even on freestanding compilers. */
27581 # include <limits.h>
27583 # include <assert.h>
27588 /* Override any GCC internal prototype to avoid an error.
27589 Use char because int might match the return type of a GCC
27590 builtin and then its argument prototype would still apply. */
27595 /* The GNU C library defines this for functions which it implements
27596 to always fail with ENOSYS. Some functions are actually named
27597 something starting with __ and the normal name is an alias. */
27598 #if defined __stub_$ac_func || defined __stub___$ac_func
27605 return $ac_func ();
27610 rm -f conftest.$ac_objext conftest$ac_exeext
27611 if { (ac_try="$ac_link"
27612 case "(($ac_try" in
27613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27614 *) ac_try_echo=$ac_try;;
27616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27617 (eval "$ac_link") 2>conftest.er1
27619 grep -v '^ *+' conftest.er1 >conftest.err
27621 cat conftest.err >&5
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); } && {
27624 test -z "$ac_c_werror_flag" ||
27625 test ! -s conftest.err
27626 } && test -s conftest$ac_exeext &&
27627 $as_test_x conftest$ac_exeext; then
27628 eval "$as_ac_var=yes"
27630 echo "$as_me: failed program was:" >&5
27631 sed 's/^/| /' conftest.$ac_ext >&5
27633 eval "$as_ac_var=no"
27636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27637 conftest$ac_exeext conftest.$ac_ext
27639 ac_res=`eval echo '${'$as_ac_var'}'`
27640 { echo "$as_me:$LINENO: result: $ac_res" >&5
27641 echo "${ECHO_T}$ac_res" >&6; }
27642 if test `eval echo '${'$as_ac_var'}'` = yes; then
27643 cat >>confdefs.h <<_ACEOF
27644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27650 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27651 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27652 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27653 { echo "$as_me:$LINENO: result: yes" >&5
27654 echo "${ECHO_T}yes" >&6; }
27656 { echo "$as_me:$LINENO: result: no" >&5
27657 echo "${ECHO_T}no" >&6; }
27659 # use different functions to avoid configure caching
27665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27666 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27668 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27669 echo $ECHO_N "(cached) $ECHO_C" >&6
27671 cat >conftest.$ac_ext <<_ACEOF
27674 cat confdefs.h >>conftest.$ac_ext
27675 cat >>conftest.$ac_ext <<_ACEOF
27676 /* end confdefs.h. */
27677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27679 #define $ac_func innocuous_$ac_func
27681 /* System header to define __stub macros and hopefully few prototypes,
27682 which can conflict with char $ac_func (); below.
27683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27684 <limits.h> exists even on freestanding compilers. */
27687 # include <limits.h>
27689 # include <assert.h>
27694 /* Override any GCC internal prototype to avoid an error.
27695 Use char because int might match the return type of a GCC
27696 builtin and then its argument prototype would still apply. */
27701 /* The GNU C library defines this for functions which it implements
27702 to always fail with ENOSYS. Some functions are actually named
27703 something starting with __ and the normal name is an alias. */
27704 #if defined __stub_$ac_func || defined __stub___$ac_func
27711 return $ac_func ();
27716 rm -f conftest.$ac_objext conftest$ac_exeext
27717 if { (ac_try="$ac_link"
27718 case "(($ac_try" in
27719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27720 *) ac_try_echo=$ac_try;;
27722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27723 (eval "$ac_link") 2>conftest.er1
27725 grep -v '^ *+' conftest.er1 >conftest.err
27727 cat conftest.err >&5
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); } && {
27730 test -z "$ac_c_werror_flag" ||
27731 test ! -s conftest.err
27732 } && test -s conftest$ac_exeext &&
27733 $as_test_x conftest$ac_exeext; then
27734 eval "$as_ac_var=yes"
27736 echo "$as_me: failed program was:" >&5
27737 sed 's/^/| /' conftest.$ac_ext >&5
27739 eval "$as_ac_var=no"
27742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27743 conftest$ac_exeext conftest.$ac_ext
27745 ac_res=`eval echo '${'$as_ac_var'}'`
27746 { echo "$as_me:$LINENO: result: $ac_res" >&5
27747 echo "${ECHO_T}$ac_res" >&6; }
27748 if test `eval echo '${'$as_ac_var'}'` = yes; then
27749 cat >>confdefs.h <<_ACEOF
27750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27757 for ac_func in ceil
27759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27760 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27762 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27763 echo $ECHO_N "(cached) $ECHO_C" >&6
27765 cat >conftest.$ac_ext <<_ACEOF
27768 cat confdefs.h >>conftest.$ac_ext
27769 cat >>conftest.$ac_ext <<_ACEOF
27770 /* end confdefs.h. */
27771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27773 #define $ac_func innocuous_$ac_func
27775 /* System header to define __stub macros and hopefully few prototypes,
27776 which can conflict with char $ac_func (); below.
27777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27778 <limits.h> exists even on freestanding compilers. */
27781 # include <limits.h>
27783 # include <assert.h>
27788 /* Override any GCC internal prototype to avoid an error.
27789 Use char because int might match the return type of a GCC
27790 builtin and then its argument prototype would still apply. */
27795 /* The GNU C library defines this for functions which it implements
27796 to always fail with ENOSYS. Some functions are actually named
27797 something starting with __ and the normal name is an alias. */
27798 #if defined __stub_$ac_func || defined __stub___$ac_func
27805 return $ac_func ();
27810 rm -f conftest.$ac_objext conftest$ac_exeext
27811 if { (ac_try="$ac_link"
27812 case "(($ac_try" in
27813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27814 *) ac_try_echo=$ac_try;;
27816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27817 (eval "$ac_link") 2>conftest.er1
27819 grep -v '^ *+' conftest.er1 >conftest.err
27821 cat conftest.err >&5
27822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27823 (exit $ac_status); } && {
27824 test -z "$ac_c_werror_flag" ||
27825 test ! -s conftest.err
27826 } && test -s conftest$ac_exeext &&
27827 $as_test_x conftest$ac_exeext; then
27828 eval "$as_ac_var=yes"
27830 echo "$as_me: failed program was:" >&5
27831 sed 's/^/| /' conftest.$ac_ext >&5
27833 eval "$as_ac_var=no"
27836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27837 conftest$ac_exeext conftest.$ac_ext
27839 ac_res=`eval echo '${'$as_ac_var'}'`
27840 { echo "$as_me:$LINENO: result: $ac_res" >&5
27841 echo "${ECHO_T}$ac_res" >&6; }
27842 if test `eval echo '${'$as_ac_var'}'` = yes; then
27843 cat >>confdefs.h <<_ACEOF
27844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27850 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27851 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27852 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27853 { echo "$as_me:$LINENO: result: yes" >&5
27854 echo "${ECHO_T}yes" >&6; }
27856 { echo "$as_me:$LINENO: result: no" >&5
27857 echo "${ECHO_T}no" >&6; }
27858 # not sure we should warn the user, crash, etc.
27863 ac_cpp='$CXXCPP $CPPFLAGS'
27864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27868 if test "wxUSE_UNICODE" = "yes"; then
27870 for wx_func in wcstoull
27872 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27873 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27874 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27875 echo $ECHO_N "(cached) $ECHO_C" >&6
27878 cat >conftest.$ac_ext <<_ACEOF
27882 cat confdefs.h >>conftest.$ac_ext
27883 cat >>conftest.$ac_ext <<_ACEOF
27884 /* end confdefs.h. */
27887 $ac_includes_default
27903 rm -f conftest.$ac_objext conftest$ac_exeext
27904 if { (ac_try="$ac_link"
27905 case "(($ac_try" in
27906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27907 *) ac_try_echo=$ac_try;;
27909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27910 (eval "$ac_link") 2>conftest.er1
27912 grep -v '^ *+' conftest.er1 >conftest.err
27914 cat conftest.err >&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); } && {
27917 test -z "$ac_cxx_werror_flag" ||
27918 test ! -s conftest.err
27919 } && test -s conftest$ac_exeext &&
27920 $as_test_x conftest$ac_exeext; then
27921 eval wx_cv_func_$wx_func=yes
27923 echo "$as_me: failed program was:" >&5
27924 sed 's/^/| /' conftest.$ac_ext >&5
27926 eval wx_cv_func_$wx_func=no
27929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27930 conftest$ac_exeext conftest.$ac_ext
27933 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27934 { echo "$as_me:$LINENO: result: $ac_res" >&5
27935 echo "${ECHO_T}$ac_res" >&6; }
27937 if eval test \$wx_cv_func_$wx_func = yes
27939 cat >>confdefs.h <<_ACEOF
27940 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27952 for wx_func in strtoull
27954 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27955 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27956 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27960 cat >conftest.$ac_ext <<_ACEOF
27964 cat confdefs.h >>conftest.$ac_ext
27965 cat >>conftest.$ac_ext <<_ACEOF
27966 /* end confdefs.h. */
27969 $ac_includes_default
27985 rm -f conftest.$ac_objext conftest$ac_exeext
27986 if { (ac_try="$ac_link"
27987 case "(($ac_try" in
27988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27989 *) ac_try_echo=$ac_try;;
27991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27992 (eval "$ac_link") 2>conftest.er1
27994 grep -v '^ *+' conftest.er1 >conftest.err
27996 cat conftest.err >&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); } && {
27999 test -z "$ac_cxx_werror_flag" ||
28000 test ! -s conftest.err
28001 } && test -s conftest$ac_exeext &&
28002 $as_test_x conftest$ac_exeext; then
28003 eval wx_cv_func_$wx_func=yes
28005 echo "$as_me: failed program was:" >&5
28006 sed 's/^/| /' conftest.$ac_ext >&5
28008 eval wx_cv_func_$wx_func=no
28011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28012 conftest$ac_exeext conftest.$ac_ext
28015 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28016 { echo "$as_me:$LINENO: result: $ac_res" >&5
28017 echo "${ECHO_T}$ac_res" >&6; }
28019 if eval test \$wx_cv_func_$wx_func = yes
28021 cat >>confdefs.h <<_ACEOF
28022 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28034 ac_cpp='$CPP $CPPFLAGS'
28035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28042 if test "$wxUSE_REGEX" != "no"; then
28043 cat >>confdefs.h <<\_ACEOF
28044 #define wxUSE_REGEX 1
28048 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28049 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
28050 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
28051 wxUSE_REGEX=builtin
28054 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28055 { echo "$as_me:$LINENO: checking for regex.h" >&5
28056 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28057 if test "${ac_cv_header_regex_h+set}" = set; then
28058 echo $ECHO_N "(cached) $ECHO_C" >&6
28060 cat >conftest.$ac_ext <<_ACEOF
28063 cat confdefs.h >>conftest.$ac_ext
28064 cat >>conftest.$ac_ext <<_ACEOF
28065 /* end confdefs.h. */
28070 rm -f conftest.$ac_objext
28071 if { (ac_try="$ac_compile"
28072 case "(($ac_try" in
28073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28074 *) ac_try_echo=$ac_try;;
28076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28077 (eval "$ac_compile") 2>conftest.er1
28079 grep -v '^ *+' conftest.er1 >conftest.err
28081 cat conftest.err >&5
28082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083 (exit $ac_status); } && {
28084 test -z "$ac_c_werror_flag" ||
28085 test ! -s conftest.err
28086 } && test -s conftest.$ac_objext; then
28087 ac_cv_header_regex_h=yes
28089 echo "$as_me: failed program was:" >&5
28090 sed 's/^/| /' conftest.$ac_ext >&5
28092 ac_cv_header_regex_h=no
28095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28097 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28098 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28099 if test $ac_cv_header_regex_h = yes; then
28102 for ac_func in regcomp re_search
28104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28105 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28107 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28108 echo $ECHO_N "(cached) $ECHO_C" >&6
28110 cat >conftest.$ac_ext <<_ACEOF
28113 cat confdefs.h >>conftest.$ac_ext
28114 cat >>conftest.$ac_ext <<_ACEOF
28115 /* end confdefs.h. */
28116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28118 #define $ac_func innocuous_$ac_func
28120 /* System header to define __stub macros and hopefully few prototypes,
28121 which can conflict with char $ac_func (); below.
28122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28123 <limits.h> exists even on freestanding compilers. */
28126 # include <limits.h>
28128 # include <assert.h>
28133 /* Override any GCC internal prototype to avoid an error.
28134 Use char because int might match the return type of a GCC
28135 builtin and then its argument prototype would still apply. */
28140 /* The GNU C library defines this for functions which it implements
28141 to always fail with ENOSYS. Some functions are actually named
28142 something starting with __ and the normal name is an alias. */
28143 #if defined __stub_$ac_func || defined __stub___$ac_func
28150 return $ac_func ();
28155 rm -f conftest.$ac_objext conftest$ac_exeext
28156 if { (ac_try="$ac_link"
28157 case "(($ac_try" in
28158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28159 *) ac_try_echo=$ac_try;;
28161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28162 (eval "$ac_link") 2>conftest.er1
28164 grep -v '^ *+' conftest.er1 >conftest.err
28166 cat conftest.err >&5
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); } && {
28169 test -z "$ac_c_werror_flag" ||
28170 test ! -s conftest.err
28171 } && test -s conftest$ac_exeext &&
28172 $as_test_x conftest$ac_exeext; then
28173 eval "$as_ac_var=yes"
28175 echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.$ac_ext >&5
28178 eval "$as_ac_var=no"
28181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28182 conftest$ac_exeext conftest.$ac_ext
28184 ac_res=`eval echo '${'$as_ac_var'}'`
28185 { echo "$as_me:$LINENO: result: $ac_res" >&5
28186 echo "${ECHO_T}$ac_res" >&6; }
28187 if test `eval echo '${'$as_ac_var'}'` = yes; then
28188 cat >>confdefs.h <<_ACEOF
28189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28199 if test "x$ac_cv_func_regcomp" != "xyes"; then
28200 if test "$wxUSE_REGEX" = "sys" ; then
28201 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28202 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28203 { (exit 1); exit 1; }; }
28205 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28206 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28207 wxUSE_REGEX=builtin
28211 cat >>confdefs.h <<\_ACEOF
28212 #define WX_NO_REGEX_ADVANCED 1
28221 if test "$wxUSE_ZLIB" != "no" ; then
28222 cat >>confdefs.h <<\_ACEOF
28223 #define wxUSE_ZLIB 1
28227 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28228 if test "$USE_DARWIN" = 1; then
28229 system_zlib_h_ok="yes"
28231 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28232 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28233 if test "${ac_cv_header_zlib_h+set}" = set; then
28234 echo $ECHO_N "(cached) $ECHO_C" >&6
28236 if test "$cross_compiling" = yes; then
28237 unset ac_cv_header_zlib_h
28240 cat >conftest.$ac_ext <<_ACEOF
28243 cat confdefs.h >>conftest.$ac_ext
28244 cat >>conftest.$ac_ext <<_ACEOF
28245 /* end confdefs.h. */
28252 FILE *f=fopen("conftestval", "w");
28255 ZLIB_VERSION[0] == '1' &&
28256 (ZLIB_VERSION[2] > '1' ||
28257 (ZLIB_VERSION[2] == '1' &&
28258 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28263 rm -f conftest$ac_exeext
28264 if { (ac_try="$ac_link"
28265 case "(($ac_try" in
28266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28267 *) ac_try_echo=$ac_try;;
28269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28270 (eval "$ac_link") 2>&5
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28274 { (case "(($ac_try" in
28275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28276 *) ac_try_echo=$ac_try;;
28278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28279 (eval "$ac_try") 2>&5
28281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28282 (exit $ac_status); }; }; then
28283 ac_cv_header_zlib_h=`cat conftestval`
28285 echo "$as_me: program exited with status $ac_status" >&5
28286 echo "$as_me: failed program was:" >&5
28287 sed 's/^/| /' conftest.$ac_ext >&5
28289 ( exit $ac_status )
28290 ac_cv_header_zlib_h=no
28292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28298 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28299 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28300 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28301 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28302 if test "${ac_cv_header_zlib_h+set}" = set; then
28303 echo $ECHO_N "(cached) $ECHO_C" >&6
28305 cat >conftest.$ac_ext <<_ACEOF
28308 cat confdefs.h >>conftest.$ac_ext
28309 cat >>conftest.$ac_ext <<_ACEOF
28310 /* end confdefs.h. */
28315 rm -f conftest.$ac_objext
28316 if { (ac_try="$ac_compile"
28317 case "(($ac_try" in
28318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28319 *) ac_try_echo=$ac_try;;
28321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28322 (eval "$ac_compile") 2>conftest.er1
28324 grep -v '^ *+' conftest.er1 >conftest.err
28326 cat conftest.err >&5
28327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28328 (exit $ac_status); } && {
28329 test -z "$ac_c_werror_flag" ||
28330 test ! -s conftest.err
28331 } && test -s conftest.$ac_objext; then
28332 ac_cv_header_zlib_h=yes
28334 echo "$as_me: failed program was:" >&5
28335 sed 's/^/| /' conftest.$ac_ext >&5
28337 ac_cv_header_zlib_h=no
28340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28342 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28343 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28347 system_zlib_h_ok=$ac_cv_header_zlib_h
28350 if test "$system_zlib_h_ok" = "yes"; then
28351 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28352 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28353 if test "${ac_cv_lib_z_deflate+set}" = set; then
28354 echo $ECHO_N "(cached) $ECHO_C" >&6
28356 ac_check_lib_save_LIBS=$LIBS
28358 cat >conftest.$ac_ext <<_ACEOF
28361 cat confdefs.h >>conftest.$ac_ext
28362 cat >>conftest.$ac_ext <<_ACEOF
28363 /* end confdefs.h. */
28365 /* Override any GCC internal prototype to avoid an error.
28366 Use char because int might match the return type of a GCC
28367 builtin and then its argument prototype would still apply. */
28380 rm -f conftest.$ac_objext conftest$ac_exeext
28381 if { (ac_try="$ac_link"
28382 case "(($ac_try" in
28383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28384 *) ac_try_echo=$ac_try;;
28386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28387 (eval "$ac_link") 2>conftest.er1
28389 grep -v '^ *+' conftest.er1 >conftest.err
28391 cat conftest.err >&5
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); } && {
28394 test -z "$ac_c_werror_flag" ||
28395 test ! -s conftest.err
28396 } && test -s conftest$ac_exeext &&
28397 $as_test_x conftest$ac_exeext; then
28398 ac_cv_lib_z_deflate=yes
28400 echo "$as_me: failed program was:" >&5
28401 sed 's/^/| /' conftest.$ac_ext >&5
28403 ac_cv_lib_z_deflate=no
28406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28407 conftest$ac_exeext conftest.$ac_ext
28408 LIBS=$ac_check_lib_save_LIBS
28410 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28411 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28412 if test $ac_cv_lib_z_deflate = yes; then
28418 if test "x$ZLIB_LINK" = "x" ; then
28419 if test "$wxUSE_ZLIB" = "sys" ; then
28420 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28421 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28422 { (exit 1); exit 1; }; }
28424 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28425 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28436 if test "$wxUSE_LIBPNG" != "no" ; then
28437 cat >>confdefs.h <<\_ACEOF
28438 #define wxUSE_LIBPNG 1
28442 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28443 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28444 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28448 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28449 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28450 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28451 wxUSE_LIBPNG=builtin
28454 if test "$wxUSE_MGL" != 1 ; then
28455 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28456 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28457 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28458 if test "${ac_cv_header_png_h+set}" = set; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28461 if test "$cross_compiling" = yes; then
28462 unset ac_cv_header_png_h
28465 cat >conftest.$ac_ext <<_ACEOF
28468 cat confdefs.h >>conftest.$ac_ext
28469 cat >>conftest.$ac_ext <<_ACEOF
28470 /* end confdefs.h. */
28477 FILE *f=fopen("conftestval", "w");
28480 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28485 rm -f conftest$ac_exeext
28486 if { (ac_try="$ac_link"
28487 case "(($ac_try" in
28488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28489 *) ac_try_echo=$ac_try;;
28491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28492 (eval "$ac_link") 2>&5
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28496 { (case "(($ac_try" in
28497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28498 *) ac_try_echo=$ac_try;;
28500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28501 (eval "$ac_try") 2>&5
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); }; }; then
28505 ac_cv_header_png_h=`cat conftestval`
28507 echo "$as_me: program exited with status $ac_status" >&5
28508 echo "$as_me: failed program was:" >&5
28509 sed 's/^/| /' conftest.$ac_ext >&5
28511 ( exit $ac_status )
28512 ac_cv_header_png_h=no
28514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28520 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28521 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28522 { echo "$as_me:$LINENO: checking for png.h" >&5
28523 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28524 if test "${ac_cv_header_png_h+set}" = set; then
28525 echo $ECHO_N "(cached) $ECHO_C" >&6
28527 cat >conftest.$ac_ext <<_ACEOF
28530 cat confdefs.h >>conftest.$ac_ext
28531 cat >>conftest.$ac_ext <<_ACEOF
28532 /* end confdefs.h. */
28537 rm -f conftest.$ac_objext
28538 if { (ac_try="$ac_compile"
28539 case "(($ac_try" in
28540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28541 *) ac_try_echo=$ac_try;;
28543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28544 (eval "$ac_compile") 2>conftest.er1
28546 grep -v '^ *+' conftest.er1 >conftest.err
28548 cat conftest.err >&5
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); } && {
28551 test -z "$ac_c_werror_flag" ||
28552 test ! -s conftest.err
28553 } && test -s conftest.$ac_objext; then
28554 ac_cv_header_png_h=yes
28556 echo "$as_me: failed program was:" >&5
28557 sed 's/^/| /' conftest.$ac_ext >&5
28559 ac_cv_header_png_h=no
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28564 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28565 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28569 if test "$ac_cv_header_png_h" = "yes"; then
28570 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28571 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28572 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28573 echo $ECHO_N "(cached) $ECHO_C" >&6
28575 ac_check_lib_save_LIBS=$LIBS
28576 LIBS="-lpng -lz -lm $LIBS"
28577 cat >conftest.$ac_ext <<_ACEOF
28580 cat confdefs.h >>conftest.$ac_ext
28581 cat >>conftest.$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28584 /* Override any GCC internal prototype to avoid an error.
28585 Use char because int might match the return type of a GCC
28586 builtin and then its argument prototype would still apply. */
28590 char png_sig_cmp ();
28594 return png_sig_cmp ();
28599 rm -f conftest.$ac_objext conftest$ac_exeext
28600 if { (ac_try="$ac_link"
28601 case "(($ac_try" in
28602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28603 *) ac_try_echo=$ac_try;;
28605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28606 (eval "$ac_link") 2>conftest.er1
28608 grep -v '^ *+' conftest.er1 >conftest.err
28610 cat conftest.err >&5
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); } && {
28613 test -z "$ac_c_werror_flag" ||
28614 test ! -s conftest.err
28615 } && test -s conftest$ac_exeext &&
28616 $as_test_x conftest$ac_exeext; then
28617 ac_cv_lib_png_png_sig_cmp=yes
28619 echo "$as_me: failed program was:" >&5
28620 sed 's/^/| /' conftest.$ac_ext >&5
28622 ac_cv_lib_png_png_sig_cmp=no
28625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28626 conftest$ac_exeext conftest.$ac_ext
28627 LIBS=$ac_check_lib_save_LIBS
28629 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28630 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28631 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28632 PNG_LINK=" -lpng -lz"
28637 if test "x$PNG_LINK" = "x" ; then
28638 if test "$wxUSE_LIBPNG" = "sys" ; then
28639 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28640 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28641 { (exit 1); exit 1; }; }
28643 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28644 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28645 wxUSE_LIBPNG=builtin
28656 if test "$wxUSE_LIBJPEG" != "no" ; then
28657 cat >>confdefs.h <<\_ACEOF
28658 #define wxUSE_LIBJPEG 1
28662 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28663 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28664 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28668 if test "$wxUSE_MGL" != 1 ; then
28669 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28670 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28671 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28672 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28673 echo $ECHO_N "(cached) $ECHO_C" >&6
28675 cat >conftest.$ac_ext <<_ACEOF
28678 cat confdefs.h >>conftest.$ac_ext
28679 cat >>conftest.$ac_ext <<_ACEOF
28680 /* end confdefs.h. */
28682 #undef HAVE_STDLIB_H
28684 #include <jpeglib.h>
28695 rm -f conftest.$ac_objext
28696 if { (ac_try="$ac_compile"
28697 case "(($ac_try" in
28698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28699 *) ac_try_echo=$ac_try;;
28701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28702 (eval "$ac_compile") 2>conftest.er1
28704 grep -v '^ *+' conftest.er1 >conftest.err
28706 cat conftest.err >&5
28707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28708 (exit $ac_status); } && {
28709 test -z "$ac_c_werror_flag" ||
28710 test ! -s conftest.err
28711 } && test -s conftest.$ac_objext; then
28712 ac_cv_header_jpeglib_h=yes
28714 echo "$as_me: failed program was:" >&5
28715 sed 's/^/| /' conftest.$ac_ext >&5
28717 ac_cv_header_jpeglib_h=no
28721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28725 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28726 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28728 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28729 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28730 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28731 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28732 echo $ECHO_N "(cached) $ECHO_C" >&6
28734 ac_check_lib_save_LIBS=$LIBS
28735 LIBS="-ljpeg $LIBS"
28736 cat >conftest.$ac_ext <<_ACEOF
28739 cat confdefs.h >>conftest.$ac_ext
28740 cat >>conftest.$ac_ext <<_ACEOF
28741 /* end confdefs.h. */
28743 /* Override any GCC internal prototype to avoid an error.
28744 Use char because int might match the return type of a GCC
28745 builtin and then its argument prototype would still apply. */
28749 char jpeg_read_header ();
28753 return jpeg_read_header ();
28758 rm -f conftest.$ac_objext conftest$ac_exeext
28759 if { (ac_try="$ac_link"
28760 case "(($ac_try" in
28761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28762 *) ac_try_echo=$ac_try;;
28764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28765 (eval "$ac_link") 2>conftest.er1
28767 grep -v '^ *+' conftest.er1 >conftest.err
28769 cat conftest.err >&5
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); } && {
28772 test -z "$ac_c_werror_flag" ||
28773 test ! -s conftest.err
28774 } && test -s conftest$ac_exeext &&
28775 $as_test_x conftest$ac_exeext; then
28776 ac_cv_lib_jpeg_jpeg_read_header=yes
28778 echo "$as_me: failed program was:" >&5
28779 sed 's/^/| /' conftest.$ac_ext >&5
28781 ac_cv_lib_jpeg_jpeg_read_header=no
28784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28785 conftest$ac_exeext conftest.$ac_ext
28786 LIBS=$ac_check_lib_save_LIBS
28788 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28789 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28790 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28791 JPEG_LINK=" -ljpeg"
28796 if test "x$JPEG_LINK" = "x" ; then
28797 if test "$wxUSE_LIBJPEG" = "sys" ; then
28798 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28799 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28800 { (exit 1); exit 1; }; }
28802 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28803 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28804 wxUSE_LIBJPEG=builtin
28809 if test "$wxUSE_MSW" = 1; then
28810 { echo "$as_me:$LINENO: checking for boolean" >&5
28811 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28812 if test "${ac_cv_type_boolean+set}" = set; then
28813 echo $ECHO_N "(cached) $ECHO_C" >&6
28815 cat >conftest.$ac_ext <<_ACEOF
28818 cat confdefs.h >>conftest.$ac_ext
28819 cat >>conftest.$ac_ext <<_ACEOF
28820 /* end confdefs.h. */
28821 #include <windows.h>
28823 typedef boolean ac__type_new_;
28827 if ((ac__type_new_ *) 0)
28829 if (sizeof (ac__type_new_))
28835 rm -f conftest.$ac_objext
28836 if { (ac_try="$ac_compile"
28837 case "(($ac_try" in
28838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28839 *) ac_try_echo=$ac_try;;
28841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28842 (eval "$ac_compile") 2>conftest.er1
28844 grep -v '^ *+' conftest.er1 >conftest.err
28846 cat conftest.err >&5
28847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28848 (exit $ac_status); } && {
28849 test -z "$ac_c_werror_flag" ||
28850 test ! -s conftest.err
28851 } && test -s conftest.$ac_objext; then
28852 ac_cv_type_boolean=yes
28854 echo "$as_me: failed program was:" >&5
28855 sed 's/^/| /' conftest.$ac_ext >&5
28857 ac_cv_type_boolean=no
28860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28862 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28863 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28864 if test $ac_cv_type_boolean = yes; then
28866 cat >>confdefs.h <<_ACEOF
28867 #define HAVE_BOOLEAN 1
28871 { echo "$as_me:$LINENO: checking for boolean" >&5
28872 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28873 if test "${ac_cv_type_boolean+set}" = set; then
28874 echo $ECHO_N "(cached) $ECHO_C" >&6
28876 cat >conftest.$ac_ext <<_ACEOF
28879 cat confdefs.h >>conftest.$ac_ext
28880 cat >>conftest.$ac_ext <<_ACEOF
28881 /* end confdefs.h. */
28883 #undef HAVE_BOOLEAN
28885 #include <jpeglib.h>
28888 typedef boolean ac__type_new_;
28892 if ((ac__type_new_ *) 0)
28894 if (sizeof (ac__type_new_))
28900 rm -f conftest.$ac_objext
28901 if { (ac_try="$ac_compile"
28902 case "(($ac_try" in
28903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28904 *) ac_try_echo=$ac_try;;
28906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28907 (eval "$ac_compile") 2>conftest.er1
28909 grep -v '^ *+' conftest.er1 >conftest.err
28911 cat conftest.err >&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); } && {
28914 test -z "$ac_c_werror_flag" ||
28915 test ! -s conftest.err
28916 } && test -s conftest.$ac_objext; then
28917 ac_cv_type_boolean=yes
28919 echo "$as_me: failed program was:" >&5
28920 sed 's/^/| /' conftest.$ac_ext >&5
28922 ac_cv_type_boolean=no
28925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28927 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28928 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28930 # The cast to long int works around a bug in the HP C Compiler
28931 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28932 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28933 # This bug is HP SR number 8606223364.
28934 { echo "$as_me:$LINENO: checking size of boolean" >&5
28935 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28936 if test "${ac_cv_sizeof_boolean+set}" = set; then
28937 echo $ECHO_N "(cached) $ECHO_C" >&6
28939 if test "$cross_compiling" = yes; then
28940 # Depending upon the size, compute the lo and hi bounds.
28941 cat >conftest.$ac_ext <<_ACEOF
28944 cat confdefs.h >>conftest.$ac_ext
28945 cat >>conftest.$ac_ext <<_ACEOF
28946 /* end confdefs.h. */
28948 #undef HAVE_BOOLEAN
28950 #include <jpeglib.h>
28953 typedef boolean ac__type_sizeof_;
28957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28964 rm -f conftest.$ac_objext
28965 if { (ac_try="$ac_compile"
28966 case "(($ac_try" in
28967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28968 *) ac_try_echo=$ac_try;;
28970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28971 (eval "$ac_compile") 2>conftest.er1
28973 grep -v '^ *+' conftest.er1 >conftest.err
28975 cat conftest.err >&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); } && {
28978 test -z "$ac_c_werror_flag" ||
28979 test ! -s conftest.err
28980 } && test -s conftest.$ac_objext; then
28983 cat >conftest.$ac_ext <<_ACEOF
28986 cat confdefs.h >>conftest.$ac_ext
28987 cat >>conftest.$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28990 #undef HAVE_BOOLEAN
28992 #include <jpeglib.h>
28995 typedef boolean ac__type_sizeof_;
28999 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29006 rm -f conftest.$ac_objext
29007 if { (ac_try="$ac_compile"
29008 case "(($ac_try" in
29009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29010 *) ac_try_echo=$ac_try;;
29012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29013 (eval "$ac_compile") 2>conftest.er1
29015 grep -v '^ *+' conftest.er1 >conftest.err
29017 cat conftest.err >&5
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); } && {
29020 test -z "$ac_c_werror_flag" ||
29021 test ! -s conftest.err
29022 } && test -s conftest.$ac_objext; then
29023 ac_hi=$ac_mid; break
29025 echo "$as_me: failed program was:" >&5
29026 sed 's/^/| /' conftest.$ac_ext >&5
29028 ac_lo=`expr $ac_mid + 1`
29029 if test $ac_lo -le $ac_mid; then
29033 ac_mid=`expr 2 '*' $ac_mid + 1`
29036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29039 echo "$as_me: failed program was:" >&5
29040 sed 's/^/| /' conftest.$ac_ext >&5
29042 cat >conftest.$ac_ext <<_ACEOF
29045 cat confdefs.h >>conftest.$ac_ext
29046 cat >>conftest.$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29049 #undef HAVE_BOOLEAN
29051 #include <jpeglib.h>
29054 typedef boolean ac__type_sizeof_;
29058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29065 rm -f conftest.$ac_objext
29066 if { (ac_try="$ac_compile"
29067 case "(($ac_try" in
29068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29069 *) ac_try_echo=$ac_try;;
29071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29072 (eval "$ac_compile") 2>conftest.er1
29074 grep -v '^ *+' conftest.er1 >conftest.err
29076 cat conftest.err >&5
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); } && {
29079 test -z "$ac_c_werror_flag" ||
29080 test ! -s conftest.err
29081 } && test -s conftest.$ac_objext; then
29084 cat >conftest.$ac_ext <<_ACEOF
29087 cat confdefs.h >>conftest.$ac_ext
29088 cat >>conftest.$ac_ext <<_ACEOF
29089 /* end confdefs.h. */
29091 #undef HAVE_BOOLEAN
29093 #include <jpeglib.h>
29096 typedef boolean ac__type_sizeof_;
29100 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29107 rm -f conftest.$ac_objext
29108 if { (ac_try="$ac_compile"
29109 case "(($ac_try" in
29110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29111 *) ac_try_echo=$ac_try;;
29113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29114 (eval "$ac_compile") 2>conftest.er1
29116 grep -v '^ *+' conftest.er1 >conftest.err
29118 cat conftest.err >&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } && {
29121 test -z "$ac_c_werror_flag" ||
29122 test ! -s conftest.err
29123 } && test -s conftest.$ac_objext; then
29124 ac_lo=$ac_mid; break
29126 echo "$as_me: failed program was:" >&5
29127 sed 's/^/| /' conftest.$ac_ext >&5
29129 ac_hi=`expr '(' $ac_mid ')' - 1`
29130 if test $ac_mid -le $ac_hi; then
29134 ac_mid=`expr 2 '*' $ac_mid`
29137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29140 echo "$as_me: failed program was:" >&5
29141 sed 's/^/| /' conftest.$ac_ext >&5
29146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29150 # Binary search between lo and hi bounds.
29151 while test "x$ac_lo" != "x$ac_hi"; do
29152 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29153 cat >conftest.$ac_ext <<_ACEOF
29156 cat confdefs.h >>conftest.$ac_ext
29157 cat >>conftest.$ac_ext <<_ACEOF
29158 /* end confdefs.h. */
29160 #undef HAVE_BOOLEAN
29162 #include <jpeglib.h>
29165 typedef boolean ac__type_sizeof_;
29169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29176 rm -f conftest.$ac_objext
29177 if { (ac_try="$ac_compile"
29178 case "(($ac_try" in
29179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29180 *) ac_try_echo=$ac_try;;
29182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29183 (eval "$ac_compile") 2>conftest.er1
29185 grep -v '^ *+' conftest.er1 >conftest.err
29187 cat conftest.err >&5
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); } && {
29190 test -z "$ac_c_werror_flag" ||
29191 test ! -s conftest.err
29192 } && test -s conftest.$ac_objext; then
29195 echo "$as_me: failed program was:" >&5
29196 sed 's/^/| /' conftest.$ac_ext >&5
29198 ac_lo=`expr '(' $ac_mid ')' + 1`
29201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29204 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29205 '') if test "$ac_cv_type_boolean" = yes; then
29206 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29207 See \`config.log' for more details." >&5
29208 echo "$as_me: error: cannot compute sizeof (boolean)
29209 See \`config.log' for more details." >&2;}
29210 { (exit 77); exit 77; }; }
29212 ac_cv_sizeof_boolean=0
29216 cat >conftest.$ac_ext <<_ACEOF
29219 cat confdefs.h >>conftest.$ac_ext
29220 cat >>conftest.$ac_ext <<_ACEOF
29221 /* end confdefs.h. */
29223 #undef HAVE_BOOLEAN
29225 #include <jpeglib.h>
29228 typedef boolean ac__type_sizeof_;
29229 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29230 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29232 #include <stdlib.h>
29237 FILE *f = fopen ("conftest.val", "w");
29240 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29242 long int i = longval ();
29243 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29245 fprintf (f, "%ld\n", i);
29249 unsigned long int i = ulongval ();
29250 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29252 fprintf (f, "%lu\n", i);
29254 return ferror (f) || fclose (f) != 0;
29260 rm -f conftest$ac_exeext
29261 if { (ac_try="$ac_link"
29262 case "(($ac_try" in
29263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29264 *) ac_try_echo=$ac_try;;
29266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29267 (eval "$ac_link") 2>&5
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29271 { (case "(($ac_try" in
29272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29273 *) ac_try_echo=$ac_try;;
29275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29276 (eval "$ac_try") 2>&5
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); }; }; then
29280 ac_cv_sizeof_boolean=`cat conftest.val`
29282 echo "$as_me: program exited with status $ac_status" >&5
29283 echo "$as_me: failed program was:" >&5
29284 sed 's/^/| /' conftest.$ac_ext >&5
29286 ( exit $ac_status )
29287 if test "$ac_cv_type_boolean" = yes; then
29288 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29289 See \`config.log' for more details." >&5
29290 echo "$as_me: error: cannot compute sizeof (boolean)
29291 See \`config.log' for more details." >&2;}
29292 { (exit 77); exit 77; }; }
29294 ac_cv_sizeof_boolean=0
29297 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29301 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29302 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29306 cat >>confdefs.h <<_ACEOF
29307 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29311 cat >>confdefs.h <<_ACEOF
29312 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29326 TIFF_PREREQ_LINKS=-lm
29327 if test "$wxUSE_LIBTIFF" != "no" ; then
29328 cat >>confdefs.h <<\_ACEOF
29329 #define wxUSE_LIBTIFF 1
29333 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29334 if test "$wxUSE_LIBJPEG" = "sys"; then
29335 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29337 if test "$wxUSE_ZLIB" = "sys"; then
29338 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29340 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29341 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29342 if test "${ac_cv_header_tiffio_h+set}" = set; then
29343 echo $ECHO_N "(cached) $ECHO_C" >&6
29345 cat >conftest.$ac_ext <<_ACEOF
29348 cat confdefs.h >>conftest.$ac_ext
29349 cat >>conftest.$ac_ext <<_ACEOF
29350 /* end confdefs.h. */
29354 #include <tiffio.h>
29356 rm -f conftest.$ac_objext
29357 if { (ac_try="$ac_compile"
29358 case "(($ac_try" in
29359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29360 *) ac_try_echo=$ac_try;;
29362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29363 (eval "$ac_compile") 2>conftest.er1
29365 grep -v '^ *+' conftest.er1 >conftest.err
29367 cat conftest.err >&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); } && {
29370 test -z "$ac_c_werror_flag" ||
29371 test ! -s conftest.err
29372 } && test -s conftest.$ac_objext; then
29373 ac_cv_header_tiffio_h=yes
29375 echo "$as_me: failed program was:" >&5
29376 sed 's/^/| /' conftest.$ac_ext >&5
29378 ac_cv_header_tiffio_h=no
29381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29383 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29384 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29385 if test $ac_cv_header_tiffio_h = yes; then
29387 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29388 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29389 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29390 echo $ECHO_N "(cached) $ECHO_C" >&6
29392 ac_check_lib_save_LIBS=$LIBS
29393 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29394 cat >conftest.$ac_ext <<_ACEOF
29397 cat confdefs.h >>conftest.$ac_ext
29398 cat >>conftest.$ac_ext <<_ACEOF
29399 /* end confdefs.h. */
29401 /* Override any GCC internal prototype to avoid an error.
29402 Use char because int might match the return type of a GCC
29403 builtin and then its argument prototype would still apply. */
29411 return TIFFError ();
29416 rm -f conftest.$ac_objext conftest$ac_exeext
29417 if { (ac_try="$ac_link"
29418 case "(($ac_try" in
29419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29420 *) ac_try_echo=$ac_try;;
29422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29423 (eval "$ac_link") 2>conftest.er1
29425 grep -v '^ *+' conftest.er1 >conftest.err
29427 cat conftest.err >&5
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); } && {
29430 test -z "$ac_c_werror_flag" ||
29431 test ! -s conftest.err
29432 } && test -s conftest$ac_exeext &&
29433 $as_test_x conftest$ac_exeext; then
29434 ac_cv_lib_tiff_TIFFError=yes
29436 echo "$as_me: failed program was:" >&5
29437 sed 's/^/| /' conftest.$ac_ext >&5
29439 ac_cv_lib_tiff_TIFFError=no
29442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29443 conftest$ac_exeext conftest.$ac_ext
29444 LIBS=$ac_check_lib_save_LIBS
29446 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29447 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29448 if test $ac_cv_lib_tiff_TIFFError = yes; then
29449 TIFF_LINK=" -ltiff"
29457 if test "x$TIFF_LINK" = "x" ; then
29458 if test "$wxUSE_LIBTIFF" = "sys" ; then
29459 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29460 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29461 { (exit 1); exit 1; }; }
29463 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29464 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29465 wxUSE_LIBTIFF=builtin
29471 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29472 if test "$wxUSE_LIBJPEG" = "no"; then
29473 ac_configure_args="$ac_configure_args --disable-jpeg"
29475 subdirs="$subdirs src/tiff"
29481 if test "$wxUSE_EXPAT" != "no"; then
29483 cat >>confdefs.h <<\_ACEOF
29484 #define wxUSE_EXPAT 1
29487 cat >>confdefs.h <<\_ACEOF
29488 #define wxUSE_XML 1
29492 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29493 { echo "$as_me:$LINENO: checking for expat.h" >&5
29494 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29495 if test "${ac_cv_header_expat_h+set}" = set; then
29496 echo $ECHO_N "(cached) $ECHO_C" >&6
29498 cat >conftest.$ac_ext <<_ACEOF
29501 cat confdefs.h >>conftest.$ac_ext
29502 cat >>conftest.$ac_ext <<_ACEOF
29503 /* end confdefs.h. */
29508 rm -f conftest.$ac_objext
29509 if { (ac_try="$ac_compile"
29510 case "(($ac_try" in
29511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29512 *) ac_try_echo=$ac_try;;
29514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29515 (eval "$ac_compile") 2>conftest.er1
29517 grep -v '^ *+' conftest.er1 >conftest.err
29519 cat conftest.err >&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); } && {
29522 test -z "$ac_c_werror_flag" ||
29523 test ! -s conftest.err
29524 } && test -s conftest.$ac_objext; then
29525 ac_cv_header_expat_h=yes
29527 echo "$as_me: failed program was:" >&5
29528 sed 's/^/| /' conftest.$ac_ext >&5
29530 ac_cv_header_expat_h=no
29533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29535 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29536 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29537 if test $ac_cv_header_expat_h = yes; then
29542 if test "x$found_expat_h" = "x1"; then
29543 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29544 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29545 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29546 echo $ECHO_N "(cached) $ECHO_C" >&6
29550 ac_cpp='$CXXCPP $CPPFLAGS'
29551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29555 cat >conftest.$ac_ext <<_ACEOF
29558 cat confdefs.h >>conftest.$ac_ext
29559 cat >>conftest.$ac_ext <<_ACEOF
29560 /* end confdefs.h. */
29570 rm -f conftest.$ac_objext
29571 if { (ac_try="$ac_compile"
29572 case "(($ac_try" in
29573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29574 *) ac_try_echo=$ac_try;;
29576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29577 (eval "$ac_compile") 2>conftest.er1
29579 grep -v '^ *+' conftest.er1 >conftest.err
29581 cat conftest.err >&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } && {
29584 test -z "$ac_cxx_werror_flag" ||
29585 test ! -s conftest.err
29586 } && test -s conftest.$ac_objext; then
29587 wx_cv_expat_is_not_broken=yes
29589 echo "$as_me: failed program was:" >&5
29590 sed 's/^/| /' conftest.$ac_ext >&5
29592 wx_cv_expat_is_not_broken=no
29596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29598 ac_cpp='$CPP $CPPFLAGS'
29599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29606 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29607 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29608 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29609 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29610 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29611 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29612 echo $ECHO_N "(cached) $ECHO_C" >&6
29614 ac_check_lib_save_LIBS=$LIBS
29615 LIBS="-lexpat $LIBS"
29616 cat >conftest.$ac_ext <<_ACEOF
29619 cat confdefs.h >>conftest.$ac_ext
29620 cat >>conftest.$ac_ext <<_ACEOF
29621 /* end confdefs.h. */
29623 /* Override any GCC internal prototype to avoid an error.
29624 Use char because int might match the return type of a GCC
29625 builtin and then its argument prototype would still apply. */
29629 char XML_ParserCreate ();
29633 return XML_ParserCreate ();
29638 rm -f conftest.$ac_objext conftest$ac_exeext
29639 if { (ac_try="$ac_link"
29640 case "(($ac_try" in
29641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29642 *) ac_try_echo=$ac_try;;
29644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29645 (eval "$ac_link") 2>conftest.er1
29647 grep -v '^ *+' conftest.er1 >conftest.err
29649 cat conftest.err >&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } && {
29652 test -z "$ac_c_werror_flag" ||
29653 test ! -s conftest.err
29654 } && test -s conftest$ac_exeext &&
29655 $as_test_x conftest$ac_exeext; then
29656 ac_cv_lib_expat_XML_ParserCreate=yes
29658 echo "$as_me: failed program was:" >&5
29659 sed 's/^/| /' conftest.$ac_ext >&5
29661 ac_cv_lib_expat_XML_ParserCreate=no
29664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29665 conftest$ac_exeext conftest.$ac_ext
29666 LIBS=$ac_check_lib_save_LIBS
29668 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29669 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29670 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29671 EXPAT_LINK=" -lexpat"
29676 if test "x$EXPAT_LINK" = "x" ; then
29677 if test "$wxUSE_EXPAT" = "sys" ; then
29678 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29679 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29680 { (exit 1); exit 1; }; }
29682 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29683 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29684 wxUSE_EXPAT=builtin
29690 if test "$wxUSE_EXPAT" = "builtin" ; then
29691 subdirs="$subdirs src/expat"
29698 if test "$wxUSE_LIBMSPACK" != "no"; then
29699 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29700 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29701 if test "${ac_cv_header_mspack_h+set}" = set; then
29702 echo $ECHO_N "(cached) $ECHO_C" >&6
29704 cat >conftest.$ac_ext <<_ACEOF
29707 cat confdefs.h >>conftest.$ac_ext
29708 cat >>conftest.$ac_ext <<_ACEOF
29709 /* end confdefs.h. */
29712 #include <mspack.h>
29714 rm -f conftest.$ac_objext
29715 if { (ac_try="$ac_compile"
29716 case "(($ac_try" in
29717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29718 *) ac_try_echo=$ac_try;;
29720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29721 (eval "$ac_compile") 2>conftest.er1
29723 grep -v '^ *+' conftest.er1 >conftest.err
29725 cat conftest.err >&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); } && {
29728 test -z "$ac_c_werror_flag" ||
29729 test ! -s conftest.err
29730 } && test -s conftest.$ac_objext; then
29731 ac_cv_header_mspack_h=yes
29733 echo "$as_me: failed program was:" >&5
29734 sed 's/^/| /' conftest.$ac_ext >&5
29736 ac_cv_header_mspack_h=no
29739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29741 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29742 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29743 if test $ac_cv_header_mspack_h = yes; then
29748 if test "x$found_mspack_h" = "x1"; then
29749 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29750 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29751 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29752 echo $ECHO_N "(cached) $ECHO_C" >&6
29754 ac_check_lib_save_LIBS=$LIBS
29755 LIBS="-lmspack $LIBS"
29756 cat >conftest.$ac_ext <<_ACEOF
29759 cat confdefs.h >>conftest.$ac_ext
29760 cat >>conftest.$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29763 /* Override any GCC internal prototype to avoid an error.
29764 Use char because int might match the return type of a GCC
29765 builtin and then its argument prototype would still apply. */
29769 char mspack_create_chm_decompressor ();
29773 return mspack_create_chm_decompressor ();
29778 rm -f conftest.$ac_objext conftest$ac_exeext
29779 if { (ac_try="$ac_link"
29780 case "(($ac_try" in
29781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29782 *) ac_try_echo=$ac_try;;
29784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29785 (eval "$ac_link") 2>conftest.er1
29787 grep -v '^ *+' conftest.er1 >conftest.err
29789 cat conftest.err >&5
29790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791 (exit $ac_status); } && {
29792 test -z "$ac_c_werror_flag" ||
29793 test ! -s conftest.err
29794 } && test -s conftest$ac_exeext &&
29795 $as_test_x conftest$ac_exeext; then
29796 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29801 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29805 conftest$ac_exeext conftest.$ac_ext
29806 LIBS=$ac_check_lib_save_LIBS
29808 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29809 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29810 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29811 MSPACK_LINK=" -lmspack"
29815 if test "x$MSPACK_LINK" = "x" ; then
29820 if test "$wxUSE_LIBMSPACK" != "no"; then
29821 cat >>confdefs.h <<\_ACEOF
29822 #define wxUSE_LIBMSPACK 1
29836 if test "$USE_WIN32" = 1 ; then
29838 for ac_header in w32api.h
29840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29841 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29843 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29844 echo $ECHO_N "(cached) $ECHO_C" >&6
29846 cat >conftest.$ac_ext <<_ACEOF
29849 cat confdefs.h >>conftest.$ac_ext
29850 cat >>conftest.$ac_ext <<_ACEOF
29851 /* end confdefs.h. */
29854 #include <$ac_header>
29856 rm -f conftest.$ac_objext
29857 if { (ac_try="$ac_compile"
29858 case "(($ac_try" in
29859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29860 *) ac_try_echo=$ac_try;;
29862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29863 (eval "$ac_compile") 2>conftest.er1
29865 grep -v '^ *+' conftest.er1 >conftest.err
29867 cat conftest.err >&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); } && {
29870 test -z "$ac_c_werror_flag" ||
29871 test ! -s conftest.err
29872 } && test -s conftest.$ac_objext; then
29873 eval "$as_ac_Header=yes"
29875 echo "$as_me: failed program was:" >&5
29876 sed 's/^/| /' conftest.$ac_ext >&5
29878 eval "$as_ac_Header=no"
29881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29883 ac_res=`eval echo '${'$as_ac_Header'}'`
29884 { echo "$as_me:$LINENO: result: $ac_res" >&5
29885 echo "${ECHO_T}$ac_res" >&6; }
29886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29887 cat >>confdefs.h <<_ACEOF
29888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29895 { echo "$as_me:$LINENO: checking for windows.h" >&5
29896 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29897 if test "${ac_cv_header_windows_h+set}" = set; then
29898 echo $ECHO_N "(cached) $ECHO_C" >&6
29900 cat >conftest.$ac_ext <<_ACEOF
29903 cat confdefs.h >>conftest.$ac_ext
29904 cat >>conftest.$ac_ext <<_ACEOF
29905 /* end confdefs.h. */
29908 #include <windows.h>
29910 rm -f conftest.$ac_objext
29911 if { (ac_try="$ac_compile"
29912 case "(($ac_try" in
29913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29914 *) ac_try_echo=$ac_try;;
29916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29917 (eval "$ac_compile") 2>conftest.er1
29919 grep -v '^ *+' conftest.er1 >conftest.err
29921 cat conftest.err >&5
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); } && {
29924 test -z "$ac_c_werror_flag" ||
29925 test ! -s conftest.err
29926 } && test -s conftest.$ac_objext; then
29927 ac_cv_header_windows_h=yes
29929 echo "$as_me: failed program was:" >&5
29930 sed 's/^/| /' conftest.$ac_ext >&5
29932 ac_cv_header_windows_h=no
29935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29937 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29938 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29939 if test $ac_cv_header_windows_h = yes; then
29943 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29944 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29945 { (exit 1); exit 1; }; }
29951 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29953 x86_64-*-mingw32* )
29954 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29957 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29958 LIBS="$LIBS -loleacc"
29963 LIBS="$LIBS -lkernel32 -luser32"
29966 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29967 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29969 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29971 WIN32INSTALL=win32install
29974 if test "$wxUSE_GUI" = "yes"; then
29983 if test "$wxUSE_OLD_COCOA" = 1 ; then
29984 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29985 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29986 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29987 wxUSE_PRINTING_ARCHITECTURE=no
29989 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29990 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29991 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29992 wxUSE_DRAG_AND_DROP=no
29994 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29995 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29996 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30001 if test "$wxUSE_MSW" = 1 ; then
30007 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30011 if test "$wxUSE_GTK" = 1; then
30012 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30013 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30015 gtk_version_cached=1
30016 if test "${wx_cv_lib_gtk+set}" = set; then
30017 echo $ECHO_N "(cached) $ECHO_C" >&6
30020 gtk_version_cached=0
30021 { echo "$as_me:$LINENO: result: " >&5
30022 echo "${ECHO_T}" >&6; }
30025 if test "$wxUSE_THREADS" = "yes"; then
30026 GTK_MODULES=gthread
30030 if test "x$wxGTK_VERSION" != "x1"
30034 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30039 # Check whether --enable-gtktest was given.
30040 if test "${enable_gtktest+set}" = set; then
30041 enableval=$enable_gtktest;
30047 pkg_config_args=gtk+-2.0
30048 for module in . $GTK_MODULES
30052 pkg_config_args="$pkg_config_args gthread-2.0"
30059 # Extract the first word of "pkg-config", so it can be a program name with args.
30060 set dummy pkg-config; ac_word=$2
30061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30063 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30064 echo $ECHO_N "(cached) $ECHO_C" >&6
30066 case $PKG_CONFIG in
30068 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30072 for as_dir in $PATH
30075 test -z "$as_dir" && as_dir=.
30076 for ac_exec_ext in '' $ac_executable_extensions; do
30077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30078 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30086 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30090 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30091 if test -n "$PKG_CONFIG"; then
30092 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30093 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30095 { echo "$as_me:$LINENO: result: no" >&5
30096 echo "${ECHO_T}no" >&6; }
30101 if test x$PKG_CONFIG != xno ; then
30102 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30105 echo "*** pkg-config too old; version 0.7 or better required."
30113 min_gtk_version=2.4.0
30114 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30115 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30117 if test x$PKG_CONFIG != xno ; then
30118 ## don't try to run the test against uninstalled libtool libs
30119 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30120 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30124 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30131 if test x"$no_gtk" = x ; then
30132 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30133 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30134 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30136 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30138 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30140 if test "x$enable_gtktest" = "xyes" ; then
30141 ac_save_CFLAGS="$CFLAGS"
30142 ac_save_LIBS="$LIBS"
30143 CFLAGS="$CFLAGS $GTK_CFLAGS"
30144 LIBS="$GTK_LIBS $LIBS"
30146 if test "$cross_compiling" = yes; then
30147 echo $ac_n "cross compiling; assumed OK... $ac_c"
30149 cat >conftest.$ac_ext <<_ACEOF
30152 cat confdefs.h >>conftest.$ac_ext
30153 cat >>conftest.$ac_ext <<_ACEOF
30154 /* end confdefs.h. */
30156 #include <gtk/gtk.h>
30158 #include <stdlib.h>
30163 int major, minor, micro;
30166 system ("touch conf.gtktest");
30168 /* HP/UX 9 (%@#!) writes to sscanf strings */
30169 tmp_version = g_strdup("$min_gtk_version");
30170 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30171 printf("%s, bad version string\n", "$min_gtk_version");
30175 if ((gtk_major_version != $gtk_config_major_version) ||
30176 (gtk_minor_version != $gtk_config_minor_version) ||
30177 (gtk_micro_version != $gtk_config_micro_version))
30179 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30180 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30181 gtk_major_version, gtk_minor_version, gtk_micro_version);
30182 printf ("*** was found! If pkg-config was correct, then it is best\n");
30183 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30184 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30185 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30186 printf("*** required on your system.\n");
30187 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30188 printf("*** to point to the correct configuration files\n");
30190 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30191 (gtk_minor_version != GTK_MINOR_VERSION) ||
30192 (gtk_micro_version != GTK_MICRO_VERSION))
30194 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30195 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30196 printf("*** library (version %d.%d.%d)\n",
30197 gtk_major_version, gtk_minor_version, gtk_micro_version);
30201 if ((gtk_major_version > major) ||
30202 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30203 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30209 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30210 gtk_major_version, gtk_minor_version, gtk_micro_version);
30211 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30212 major, minor, micro);
30213 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30215 printf("*** If you have already installed a sufficiently new version, this error\n");
30216 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30217 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30218 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30219 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30220 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30221 printf("*** so that the correct libraries are found at run-time))\n");
30228 rm -f conftest$ac_exeext
30229 if { (ac_try="$ac_link"
30230 case "(($ac_try" in
30231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30232 *) ac_try_echo=$ac_try;;
30234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30235 (eval "$ac_link") 2>&5
30237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30239 { (case "(($ac_try" in
30240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30241 *) ac_try_echo=$ac_try;;
30243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30244 (eval "$ac_try") 2>&5
30246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 (exit $ac_status); }; }; then
30250 echo "$as_me: program exited with status $ac_status" >&5
30251 echo "$as_me: failed program was:" >&5
30252 sed 's/^/| /' conftest.$ac_ext >&5
30254 ( exit $ac_status )
30257 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30261 CFLAGS="$ac_save_CFLAGS"
30262 LIBS="$ac_save_LIBS"
30265 if test "x$no_gtk" = x ; then
30266 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30267 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30270 { echo "$as_me:$LINENO: result: no" >&5
30271 echo "${ECHO_T}no" >&6; }
30272 if test "$PKG_CONFIG" = "no" ; then
30273 echo "*** A new enough version of pkg-config was not found."
30274 echo "*** See http://pkgconfig.sourceforge.net"
30276 if test -f conf.gtktest ; then
30279 echo "*** Could not run GTK+ test program, checking why..."
30280 ac_save_CFLAGS="$CFLAGS"
30281 ac_save_LIBS="$LIBS"
30282 CFLAGS="$CFLAGS $GTK_CFLAGS"
30283 LIBS="$LIBS $GTK_LIBS"
30284 cat >conftest.$ac_ext <<_ACEOF
30287 cat confdefs.h >>conftest.$ac_ext
30288 cat >>conftest.$ac_ext <<_ACEOF
30289 /* end confdefs.h. */
30291 #include <gtk/gtk.h>
30297 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30302 rm -f conftest.$ac_objext conftest$ac_exeext
30303 if { (ac_try="$ac_link"
30304 case "(($ac_try" in
30305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30306 *) ac_try_echo=$ac_try;;
30308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30309 (eval "$ac_link") 2>conftest.er1
30311 grep -v '^ *+' conftest.er1 >conftest.err
30313 cat conftest.err >&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); } && {
30316 test -z "$ac_c_werror_flag" ||
30317 test ! -s conftest.err
30318 } && test -s conftest$ac_exeext &&
30319 $as_test_x conftest$ac_exeext; then
30320 echo "*** The test program compiled, but did not run. This usually means"
30321 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30322 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30323 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30324 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30325 echo "*** is required on your system"
30327 echo "*** If you have an old version installed, it is best to remove it, although"
30328 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30330 echo "$as_me: failed program was:" >&5
30331 sed 's/^/| /' conftest.$ac_ext >&5
30333 echo "*** The test program failed to compile or link. See the file config.log for the"
30334 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30338 conftest$ac_exeext conftest.$ac_ext
30339 CFLAGS="$ac_save_CFLAGS"
30340 LIBS="$ac_save_LIBS"
30353 if test -z "$wx_cv_lib_gtk"; then
30354 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30356 # Check whether --with-gtk-prefix was given.
30357 if test "${with_gtk_prefix+set}" = set; then
30358 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30360 gtk_config_prefix=""
30364 # Check whether --with-gtk-exec-prefix was given.
30365 if test "${with_gtk_exec_prefix+set}" = set; then
30366 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30368 gtk_config_exec_prefix=""
30371 # Check whether --enable-gtktest was given.
30372 if test "${enable_gtktest+set}" = set; then
30373 enableval=$enable_gtktest;
30379 for module in . $GTK_MODULES
30383 gtk_config_args="$gtk_config_args gthread"
30388 if test x$gtk_config_exec_prefix != x ; then
30389 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30390 if test x${GTK_CONFIG+set} != xset ; then
30391 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30394 if test x$gtk_config_prefix != x ; then
30395 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30396 if test x${GTK_CONFIG+set} != xset ; then
30397 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30401 # Extract the first word of "gtk-config", so it can be a program name with args.
30402 set dummy gtk-config; ac_word=$2
30403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30405 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30406 echo $ECHO_N "(cached) $ECHO_C" >&6
30408 case $GTK_CONFIG in
30410 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30414 for as_dir in $PATH
30417 test -z "$as_dir" && as_dir=.
30418 for ac_exec_ext in '' $ac_executable_extensions; do
30419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30420 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30428 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30432 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30433 if test -n "$GTK_CONFIG"; then
30434 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30435 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30437 { echo "$as_me:$LINENO: result: no" >&5
30438 echo "${ECHO_T}no" >&6; }
30442 min_gtk_version=1.2.7
30443 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30444 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30446 if test "$GTK_CONFIG" = "no" ; then
30449 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30450 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30451 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30452 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30453 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30454 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30455 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30456 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30457 if test "x$enable_gtktest" = "xyes" ; then
30458 ac_save_CFLAGS="$CFLAGS"
30459 ac_save_LIBS="$LIBS"
30460 CFLAGS="$CFLAGS $GTK_CFLAGS"
30461 LIBS="$GTK_LIBS $LIBS"
30463 if test "$cross_compiling" = yes; then
30464 echo $ac_n "cross compiling; assumed OK... $ac_c"
30466 cat >conftest.$ac_ext <<_ACEOF
30469 cat confdefs.h >>conftest.$ac_ext
30470 cat >>conftest.$ac_ext <<_ACEOF
30471 /* end confdefs.h. */
30473 #include <gtk/gtk.h>
30475 #include <stdlib.h>
30480 int major, minor, micro;
30483 system ("touch conf.gtktest");
30485 /* HP/UX 9 (%@#!) writes to sscanf strings */
30486 tmp_version = g_strdup("$min_gtk_version");
30487 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30488 printf("%s, bad version string\n", "$min_gtk_version");
30492 if ((gtk_major_version != $gtk_config_major_version) ||
30493 (gtk_minor_version != $gtk_config_minor_version) ||
30494 (gtk_micro_version != $gtk_config_micro_version))
30496 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30497 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30498 gtk_major_version, gtk_minor_version, gtk_micro_version);
30499 printf ("*** was found! If gtk-config was correct, then it is best\n");
30500 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30501 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30502 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30503 printf("*** required on your system.\n");
30504 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30505 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30506 printf("*** before re-running configure\n");
30508 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30509 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30510 (gtk_minor_version != GTK_MINOR_VERSION) ||
30511 (gtk_micro_version != GTK_MICRO_VERSION))
30513 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30514 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30515 printf("*** library (version %d.%d.%d)\n",
30516 gtk_major_version, gtk_minor_version, gtk_micro_version);
30518 #endif /* defined (GTK_MAJOR_VERSION) ... */
30521 if ((gtk_major_version > major) ||
30522 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30523 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30529 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30530 gtk_major_version, gtk_minor_version, gtk_micro_version);
30531 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30532 major, minor, micro);
30533 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30535 printf("*** If you have already installed a sufficiently new version, this error\n");
30536 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30537 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30538 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30539 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30540 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30541 printf("*** so that the correct libraries are found at run-time))\n");
30548 rm -f conftest$ac_exeext
30549 if { (ac_try="$ac_link"
30550 case "(($ac_try" in
30551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30552 *) ac_try_echo=$ac_try;;
30554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30555 (eval "$ac_link") 2>&5
30557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30559 { (case "(($ac_try" in
30560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30561 *) ac_try_echo=$ac_try;;
30563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30564 (eval "$ac_try") 2>&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); }; }; then
30570 echo "$as_me: program exited with status $ac_status" >&5
30571 echo "$as_me: failed program was:" >&5
30572 sed 's/^/| /' conftest.$ac_ext >&5
30574 ( exit $ac_status )
30577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30581 CFLAGS="$ac_save_CFLAGS"
30582 LIBS="$ac_save_LIBS"
30585 if test "x$no_gtk" = x ; then
30586 { echo "$as_me:$LINENO: result: yes" >&5
30587 echo "${ECHO_T}yes" >&6; }
30588 wx_cv_lib_gtk=1.2.7
30590 { echo "$as_me:$LINENO: result: no" >&5
30591 echo "${ECHO_T}no" >&6; }
30592 if test "$GTK_CONFIG" = "no" ; then
30593 echo "*** The gtk-config script installed by GTK could not be found"
30594 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30595 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30596 echo "*** full path to gtk-config."
30598 if test -f conf.gtktest ; then
30601 echo "*** Could not run GTK test program, checking why..."
30602 CFLAGS="$CFLAGS $GTK_CFLAGS"
30603 LIBS="$LIBS $GTK_LIBS"
30604 cat >conftest.$ac_ext <<_ACEOF
30607 cat confdefs.h >>conftest.$ac_ext
30608 cat >>conftest.$ac_ext <<_ACEOF
30609 /* end confdefs.h. */
30611 #include <gtk/gtk.h>
30617 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30622 rm -f conftest.$ac_objext conftest$ac_exeext
30623 if { (ac_try="$ac_link"
30624 case "(($ac_try" in
30625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30626 *) ac_try_echo=$ac_try;;
30628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30629 (eval "$ac_link") 2>conftest.er1
30631 grep -v '^ *+' conftest.er1 >conftest.err
30633 cat conftest.err >&5
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); } && {
30636 test -z "$ac_c_werror_flag" ||
30637 test ! -s conftest.err
30638 } && test -s conftest$ac_exeext &&
30639 $as_test_x conftest$ac_exeext; then
30640 echo "*** The test program compiled, but did not run. This usually means"
30641 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30642 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30643 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30644 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30645 echo "*** is required on your system"
30647 echo "*** If you have an old version installed, it is best to remove it, although"
30648 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30650 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30651 echo "*** came with the system with the command"
30653 echo "*** rpm --erase --nodeps gtk gtk-devel"
30655 echo "$as_me: failed program was:" >&5
30656 sed 's/^/| /' conftest.$ac_ext >&5
30658 echo "*** The test program failed to compile or link. See the file config.log for the"
30659 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30660 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30661 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30665 conftest$ac_exeext conftest.$ac_ext
30666 CFLAGS="$ac_save_CFLAGS"
30667 LIBS="$ac_save_LIBS"
30679 if test -z "$wx_cv_lib_gtk"; then
30681 # Check whether --with-gtk-prefix was given.
30682 if test "${with_gtk_prefix+set}" = set; then
30683 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30685 gtk_config_prefix=""
30689 # Check whether --with-gtk-exec-prefix was given.
30690 if test "${with_gtk_exec_prefix+set}" = set; then
30691 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30693 gtk_config_exec_prefix=""
30696 # Check whether --enable-gtktest was given.
30697 if test "${enable_gtktest+set}" = set; then
30698 enableval=$enable_gtktest;
30704 for module in . $GTK_MODULES
30708 gtk_config_args="$gtk_config_args gthread"
30713 if test x$gtk_config_exec_prefix != x ; then
30714 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30715 if test x${GTK_CONFIG+set} != xset ; then
30716 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30719 if test x$gtk_config_prefix != x ; then
30720 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30721 if test x${GTK_CONFIG+set} != xset ; then
30722 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30726 # Extract the first word of "gtk-config", so it can be a program name with args.
30727 set dummy gtk-config; ac_word=$2
30728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30730 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30731 echo $ECHO_N "(cached) $ECHO_C" >&6
30733 case $GTK_CONFIG in
30735 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30739 for as_dir in $PATH
30742 test -z "$as_dir" && as_dir=.
30743 for ac_exec_ext in '' $ac_executable_extensions; do
30744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30745 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30753 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30757 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30758 if test -n "$GTK_CONFIG"; then
30759 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30760 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30762 { echo "$as_me:$LINENO: result: no" >&5
30763 echo "${ECHO_T}no" >&6; }
30767 min_gtk_version=1.2.3
30768 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30769 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30771 if test "$GTK_CONFIG" = "no" ; then
30774 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30775 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30776 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30777 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30778 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30779 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30780 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30781 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30782 if test "x$enable_gtktest" = "xyes" ; then
30783 ac_save_CFLAGS="$CFLAGS"
30784 ac_save_LIBS="$LIBS"
30785 CFLAGS="$CFLAGS $GTK_CFLAGS"
30786 LIBS="$GTK_LIBS $LIBS"
30788 if test "$cross_compiling" = yes; then
30789 echo $ac_n "cross compiling; assumed OK... $ac_c"
30791 cat >conftest.$ac_ext <<_ACEOF
30794 cat confdefs.h >>conftest.$ac_ext
30795 cat >>conftest.$ac_ext <<_ACEOF
30796 /* end confdefs.h. */
30798 #include <gtk/gtk.h>
30800 #include <stdlib.h>
30805 int major, minor, micro;
30808 system ("touch conf.gtktest");
30810 /* HP/UX 9 (%@#!) writes to sscanf strings */
30811 tmp_version = g_strdup("$min_gtk_version");
30812 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30813 printf("%s, bad version string\n", "$min_gtk_version");
30817 if ((gtk_major_version != $gtk_config_major_version) ||
30818 (gtk_minor_version != $gtk_config_minor_version) ||
30819 (gtk_micro_version != $gtk_config_micro_version))
30821 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30822 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30823 gtk_major_version, gtk_minor_version, gtk_micro_version);
30824 printf ("*** was found! If gtk-config was correct, then it is best\n");
30825 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30826 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30827 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30828 printf("*** required on your system.\n");
30829 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30830 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30831 printf("*** before re-running configure\n");
30833 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30834 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30835 (gtk_minor_version != GTK_MINOR_VERSION) ||
30836 (gtk_micro_version != GTK_MICRO_VERSION))
30838 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30839 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30840 printf("*** library (version %d.%d.%d)\n",
30841 gtk_major_version, gtk_minor_version, gtk_micro_version);
30843 #endif /* defined (GTK_MAJOR_VERSION) ... */
30846 if ((gtk_major_version > major) ||
30847 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30848 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30854 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30855 gtk_major_version, gtk_minor_version, gtk_micro_version);
30856 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30857 major, minor, micro);
30858 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30860 printf("*** If you have already installed a sufficiently new version, this error\n");
30861 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30862 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30863 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30864 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30865 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30866 printf("*** so that the correct libraries are found at run-time))\n");
30873 rm -f conftest$ac_exeext
30874 if { (ac_try="$ac_link"
30875 case "(($ac_try" in
30876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30877 *) ac_try_echo=$ac_try;;
30879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30880 (eval "$ac_link") 2>&5
30882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30884 { (case "(($ac_try" in
30885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30886 *) ac_try_echo=$ac_try;;
30888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30889 (eval "$ac_try") 2>&5
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); }; }; then
30895 echo "$as_me: program exited with status $ac_status" >&5
30896 echo "$as_me: failed program was:" >&5
30897 sed 's/^/| /' conftest.$ac_ext >&5
30899 ( exit $ac_status )
30902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30906 CFLAGS="$ac_save_CFLAGS"
30907 LIBS="$ac_save_LIBS"
30910 if test "x$no_gtk" = x ; then
30911 { echo "$as_me:$LINENO: result: yes" >&5
30912 echo "${ECHO_T}yes" >&6; }
30913 wx_cv_lib_gtk=1.2.3
30915 { echo "$as_me:$LINENO: result: no" >&5
30916 echo "${ECHO_T}no" >&6; }
30917 if test "$GTK_CONFIG" = "no" ; then
30918 echo "*** The gtk-config script installed by GTK could not be found"
30919 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30920 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30921 echo "*** full path to gtk-config."
30923 if test -f conf.gtktest ; then
30926 echo "*** Could not run GTK test program, checking why..."
30927 CFLAGS="$CFLAGS $GTK_CFLAGS"
30928 LIBS="$LIBS $GTK_LIBS"
30929 cat >conftest.$ac_ext <<_ACEOF
30932 cat confdefs.h >>conftest.$ac_ext
30933 cat >>conftest.$ac_ext <<_ACEOF
30934 /* end confdefs.h. */
30936 #include <gtk/gtk.h>
30942 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30947 rm -f conftest.$ac_objext conftest$ac_exeext
30948 if { (ac_try="$ac_link"
30949 case "(($ac_try" in
30950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30951 *) ac_try_echo=$ac_try;;
30953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30954 (eval "$ac_link") 2>conftest.er1
30956 grep -v '^ *+' conftest.er1 >conftest.err
30958 cat conftest.err >&5
30959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30960 (exit $ac_status); } && {
30961 test -z "$ac_c_werror_flag" ||
30962 test ! -s conftest.err
30963 } && test -s conftest$ac_exeext &&
30964 $as_test_x conftest$ac_exeext; then
30965 echo "*** The test program compiled, but did not run. This usually means"
30966 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30967 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30968 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30969 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30970 echo "*** is required on your system"
30972 echo "*** If you have an old version installed, it is best to remove it, although"
30973 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30975 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30976 echo "*** came with the system with the command"
30978 echo "*** rpm --erase --nodeps gtk gtk-devel"
30980 echo "$as_me: failed program was:" >&5
30981 sed 's/^/| /' conftest.$ac_ext >&5
30983 echo "*** The test program failed to compile or link. See the file config.log for the"
30984 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30985 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30986 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30990 conftest$ac_exeext conftest.$ac_ext
30991 CFLAGS="$ac_save_CFLAGS"
30992 LIBS="$ac_save_LIBS"
31007 if test -z "$wx_cv_lib_gtk"; then
31010 GTK_LIBS="$GTK_LIBS -lX11"
31012 wx_cv_cflags_gtk=$GTK_CFLAGS
31013 wx_cv_libs_gtk=$GTK_LIBS
31020 if test "$gtk_version_cached" = 1; then
31021 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31022 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31025 case "$wx_cv_lib_gtk" in
31032 *) { { echo "$as_me:$LINENO: error:
31033 The development files for GTK+ were not found. For GTK+ 2, please
31034 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31035 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31036 and that the version is 1.2.3 or above. Also check that the
31037 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31038 --libs' are in the LD_LIBRARY_PATH or equivalent.
31040 echo "$as_me: error:
31041 The development files for GTK+ were not found. For GTK+ 2, please
31042 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31043 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31044 and that the version is 1.2.3 or above. Also check that the
31045 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31046 --libs' are in the LD_LIBRARY_PATH or equivalent.
31048 { (exit 1); exit 1; }; }
31052 if test "$WXGTK2" = 1; then
31053 save_CFLAGS="$CFLAGS"
31055 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31056 LIBS="$LIBS $wx_cv_libs_gtk"
31058 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
31059 echo $ECHO_N "checking if GTK+ is version >= 2.18... $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,18,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 __WXGTK218__ 1
31103 cat >>confdefs.h <<\_ACEOF
31104 #define __WXGTK210__ 1
31107 cat >>confdefs.h <<\_ACEOF
31108 #define __WXGTK26__ 1
31111 { echo "$as_me:$LINENO: result: yes" >&5
31112 echo "${ECHO_T}yes" >&6; }
31116 echo "$as_me: failed program was:" >&5
31117 sed 's/^/| /' conftest.$ac_ext >&5
31120 { echo "$as_me:$LINENO: result: no" >&5
31121 echo "${ECHO_T}no" >&6; }
31126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31128 if test "$ac_wxgtk218" = 0; then
31129 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31130 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31131 cat >conftest.$ac_ext <<_ACEOF
31134 cat confdefs.h >>conftest.$ac_ext
31135 cat >>conftest.$ac_ext <<_ACEOF
31136 /* end confdefs.h. */
31138 #include <gtk/gtk.h>
31144 #if !GTK_CHECK_VERSION(2,10,0)
31152 rm -f conftest.$ac_objext
31153 if { (ac_try="$ac_compile"
31154 case "(($ac_try" in
31155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31156 *) ac_try_echo=$ac_try;;
31158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31159 (eval "$ac_compile") 2>conftest.er1
31161 grep -v '^ *+' conftest.er1 >conftest.err
31163 cat conftest.err >&5
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); } && {
31166 test -z "$ac_c_werror_flag" ||
31167 test ! -s conftest.err
31168 } && test -s conftest.$ac_objext; then
31170 cat >>confdefs.h <<\_ACEOF
31171 #define __WXGTK210__ 1
31174 cat >>confdefs.h <<\_ACEOF
31175 #define __WXGTK26__ 1
31178 { echo "$as_me:$LINENO: result: yes" >&5
31179 echo "${ECHO_T}yes" >&6; }
31183 echo "$as_me: failed program was:" >&5
31184 sed 's/^/| /' conftest.$ac_ext >&5
31187 { echo "$as_me:$LINENO: result: no" >&5
31188 echo "${ECHO_T}no" >&6; }
31193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31195 if test "$ac_wxgtk210" = 0; then
31196 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31197 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31198 cat >conftest.$ac_ext <<_ACEOF
31201 cat confdefs.h >>conftest.$ac_ext
31202 cat >>conftest.$ac_ext <<_ACEOF
31203 /* end confdefs.h. */
31205 #include <gtk/gtk.h>
31211 #if !GTK_CHECK_VERSION(2,6,0)
31219 rm -f conftest.$ac_objext
31220 if { (ac_try="$ac_compile"
31221 case "(($ac_try" in
31222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31223 *) ac_try_echo=$ac_try;;
31225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31226 (eval "$ac_compile") 2>conftest.er1
31228 grep -v '^ *+' conftest.er1 >conftest.err
31230 cat conftest.err >&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); } && {
31233 test -z "$ac_c_werror_flag" ||
31234 test ! -s conftest.err
31235 } && test -s conftest.$ac_objext; then
31237 cat >>confdefs.h <<\_ACEOF
31238 #define __WXGTK26__ 1
31241 { echo "$as_me:$LINENO: result: yes" >&5
31242 echo "${ECHO_T}yes" >&6; }
31246 echo "$as_me: failed program was:" >&5
31247 sed 's/^/| /' conftest.$ac_ext >&5
31250 { echo "$as_me:$LINENO: result: no" >&5
31251 echo "${ECHO_T}no" >&6; }
31256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31260 CFLAGS="$save_CFLAGS"
31263 if test "$wxUSE_UNICODE" = "yes"; then
31264 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31265 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31269 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31270 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31271 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31272 echo $ECHO_N "(cached) $ECHO_C" >&6
31274 ac_check_lib_save_LIBS=$LIBS
31276 cat >conftest.$ac_ext <<_ACEOF
31279 cat confdefs.h >>conftest.$ac_ext
31280 cat >>conftest.$ac_ext <<_ACEOF
31281 /* end confdefs.h. */
31283 /* Override any GCC internal prototype to avoid an error.
31284 Use char because int might match the return type of a GCC
31285 builtin and then its argument prototype would still apply. */
31289 char gdk_im_open ();
31293 return gdk_im_open ();
31298 rm -f conftest.$ac_objext conftest$ac_exeext
31299 if { (ac_try="$ac_link"
31300 case "(($ac_try" in
31301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31302 *) ac_try_echo=$ac_try;;
31304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31305 (eval "$ac_link") 2>conftest.er1
31307 grep -v '^ *+' conftest.er1 >conftest.err
31309 cat conftest.err >&5
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); } && {
31312 test -z "$ac_c_werror_flag" ||
31313 test ! -s conftest.err
31314 } && test -s conftest$ac_exeext &&
31315 $as_test_x conftest$ac_exeext; then
31316 ac_cv_lib_gdk_gdk_im_open=yes
31318 echo "$as_me: failed program was:" >&5
31319 sed 's/^/| /' conftest.$ac_ext >&5
31321 ac_cv_lib_gdk_gdk_im_open=no
31324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31325 conftest$ac_exeext conftest.$ac_ext
31326 LIBS=$ac_check_lib_save_LIBS
31328 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31329 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31330 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31331 cat >>confdefs.h <<\_ACEOF
31338 if test "$USE_DARWIN" != 1; then
31340 for ac_func in poll
31342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31343 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31345 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31346 echo $ECHO_N "(cached) $ECHO_C" >&6
31348 cat >conftest.$ac_ext <<_ACEOF
31351 cat confdefs.h >>conftest.$ac_ext
31352 cat >>conftest.$ac_ext <<_ACEOF
31353 /* end confdefs.h. */
31354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31356 #define $ac_func innocuous_$ac_func
31358 /* System header to define __stub macros and hopefully few prototypes,
31359 which can conflict with char $ac_func (); below.
31360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31361 <limits.h> exists even on freestanding compilers. */
31364 # include <limits.h>
31366 # include <assert.h>
31371 /* Override any GCC internal prototype to avoid an error.
31372 Use char because int might match the return type of a GCC
31373 builtin and then its argument prototype would still apply. */
31378 /* The GNU C library defines this for functions which it implements
31379 to always fail with ENOSYS. Some functions are actually named
31380 something starting with __ and the normal name is an alias. */
31381 #if defined __stub_$ac_func || defined __stub___$ac_func
31388 return $ac_func ();
31393 rm -f conftest.$ac_objext conftest$ac_exeext
31394 if { (ac_try="$ac_link"
31395 case "(($ac_try" in
31396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31397 *) ac_try_echo=$ac_try;;
31399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31400 (eval "$ac_link") 2>conftest.er1
31402 grep -v '^ *+' conftest.er1 >conftest.err
31404 cat conftest.err >&5
31405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406 (exit $ac_status); } && {
31407 test -z "$ac_c_werror_flag" ||
31408 test ! -s conftest.err
31409 } && test -s conftest$ac_exeext &&
31410 $as_test_x conftest$ac_exeext; then
31411 eval "$as_ac_var=yes"
31413 echo "$as_me: failed program was:" >&5
31414 sed 's/^/| /' conftest.$ac_ext >&5
31416 eval "$as_ac_var=no"
31419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31420 conftest$ac_exeext conftest.$ac_ext
31422 ac_res=`eval echo '${'$as_ac_var'}'`
31423 { echo "$as_me:$LINENO: result: $ac_res" >&5
31424 echo "${ECHO_T}$ac_res" >&6; }
31425 if test `eval echo '${'$as_ac_var'}'` = yes; then
31426 cat >>confdefs.h <<_ACEOF
31427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31436 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31437 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31438 AFMINSTALL=afminstall
31442 if test "$wxUSE_GPE" = "yes"; then
31443 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31444 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31447 for ac_dir in $SEARCH_LIB
31449 for ac_extension in a so sl dylib dll.a; do
31450 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31451 ac_find_libraries=$ac_dir
31457 if test "$ac_find_libraries" != "" ; then
31459 if test "$ac_find_libraries" = "default location"; then
31462 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31464 if test $result = 0; then
31467 ac_path_to_link=" -L$ac_find_libraries"
31471 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31473 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31474 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31476 { echo "$as_me:$LINENO: result: not found" >&5
31477 echo "${ECHO_T}not found" >&6; }
31483 if test "$wxUSE_MGL" = 1; then
31484 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31485 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31486 if test "x$MGL_ROOT" = x ; then
31487 { echo "$as_me:$LINENO: result: not found" >&5
31488 echo "${ECHO_T}not found" >&6; }
31489 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31490 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31491 { (exit 1); exit 1; }; }
31493 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31494 echo "${ECHO_T}$MGL_ROOT" >&6; }
31497 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31498 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31501 if test "x$wxUSE_SHARED" = xyes ; then
31502 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31504 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31508 mgl_os_candidates="dos32/dj2"
31511 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31512 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31513 { (exit 1); exit 1; }; }
31519 for mgl_os_i in $mgl_os_candidates ; do
31520 if test "x$mgl_os" = x ; then
31521 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31522 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31523 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31528 if test "x$mgl_lib_type" = x ; then
31529 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31530 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31531 mgl_lib_type=release
31538 if test "x$mgl_os" = x ; then
31539 { echo "$as_me:$LINENO: result: not found" >&5
31540 echo "${ECHO_T}not found" >&6; }
31541 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31542 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31543 { (exit 1); exit 1; }; }
31545 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31546 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31548 wxUSE_UNIVERSAL="yes"
31550 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31551 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31553 AFMINSTALL=afminstall
31558 if test "$wxUSE_DFB" = 1; then
31561 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31562 if test -n "$ac_tool_prefix"; then
31563 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31564 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31567 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31568 echo $ECHO_N "(cached) $ECHO_C" >&6
31570 case $PKG_CONFIG in
31572 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31576 for as_dir in $PATH
31579 test -z "$as_dir" && as_dir=.
31580 for ac_exec_ext in '' $ac_executable_extensions; do
31581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31582 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31593 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31594 if test -n "$PKG_CONFIG"; then
31595 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31596 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31598 { echo "$as_me:$LINENO: result: no" >&5
31599 echo "${ECHO_T}no" >&6; }
31604 if test -z "$ac_cv_path_PKG_CONFIG"; then
31605 ac_pt_PKG_CONFIG=$PKG_CONFIG
31606 # Extract the first word of "pkg-config", so it can be a program name with args.
31607 set dummy pkg-config; ac_word=$2
31608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31610 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31611 echo $ECHO_N "(cached) $ECHO_C" >&6
31613 case $ac_pt_PKG_CONFIG in
31615 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31619 for as_dir in $PATH
31622 test -z "$as_dir" && as_dir=.
31623 for ac_exec_ext in '' $ac_executable_extensions; do
31624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31625 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31636 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31637 if test -n "$ac_pt_PKG_CONFIG"; then
31638 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31639 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31641 { echo "$as_me:$LINENO: result: no" >&5
31642 echo "${ECHO_T}no" >&6; }
31645 if test "x$ac_pt_PKG_CONFIG" = x; then
31648 case $cross_compiling:$ac_tool_warned in
31650 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31651 whose name does not start with the host triplet. If you think this
31652 configuration is useful to you, please write to autoconf@gnu.org." >&5
31653 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31654 whose name does not start with the host triplet. If you think this
31655 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31656 ac_tool_warned=yes ;;
31658 PKG_CONFIG=$ac_pt_PKG_CONFIG
31661 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31665 if test -n "$PKG_CONFIG"; then
31666 _pkg_min_version=0.9.0
31667 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31668 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31669 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31670 { echo "$as_me:$LINENO: result: yes" >&5
31671 echo "${ECHO_T}yes" >&6; }
31673 { echo "$as_me:$LINENO: result: no" >&5
31674 echo "${ECHO_T}no" >&6; }
31682 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31683 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31685 if test -n "$PKG_CONFIG"; then
31686 if test -n "$DIRECTFB_CFLAGS"; then
31687 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31689 if test -n "$PKG_CONFIG" && \
31690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31691 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); }; then
31695 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31703 if test -n "$PKG_CONFIG"; then
31704 if test -n "$DIRECTFB_LIBS"; then
31705 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31707 if test -n "$PKG_CONFIG" && \
31708 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31709 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); }; then
31713 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31724 if test $pkg_failed = yes; then
31726 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31727 _pkg_short_errors_supported=yes
31729 _pkg_short_errors_supported=no
31731 if test $_pkg_short_errors_supported = yes; then
31732 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31734 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31736 # Put the nasty error message in config.log where it belongs
31737 echo "$DIRECTFB_PKG_ERRORS" >&5
31740 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31741 echo "$as_me: error: DirectFB not found." >&2;}
31742 { (exit 1); exit 1; }; }
31745 elif test $pkg_failed = untried; then
31747 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31748 echo "$as_me: error: DirectFB not found." >&2;}
31749 { (exit 1); exit 1; }; }
31753 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31754 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31755 { echo "$as_me:$LINENO: result: yes" >&5
31756 echo "${ECHO_T}yes" >&6; }
31758 wxUSE_UNIVERSAL="yes"
31759 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31760 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31767 if test "$wxUSE_MICROWIN" = 1; then
31768 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31769 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31770 if test "x$MICROWINDOWS" = x ; then
31771 { echo "$as_me:$LINENO: result: not found" >&5
31772 echo "${ECHO_T}not found" >&6; }
31773 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31774 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31775 { (exit 1); exit 1; }; }
31777 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31778 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31781 if test -f $MICROWINDOWS/lib/libmwin.a; then
31782 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31783 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31785 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31786 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31787 { (exit 1); exit 1; }; }
31790 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31791 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31793 wxUSE_UNIVERSAL="yes"
31795 AFMINSTALL=afminstall
31797 GUIDIST=MICROWIN_DIST
31799 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31802 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31803 { echo "$as_me:$LINENO: checking for X" >&5
31804 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31807 # Check whether --with-x was given.
31808 if test "${with_x+set}" = set; then
31812 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31813 if test "x$with_x" = xno; then
31814 # The user explicitly disabled X.
31817 case $x_includes,$x_libraries in #(
31818 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31819 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31820 { (exit 1); exit 1; }; };; #(
31821 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31822 echo $ECHO_N "(cached) $ECHO_C" >&6
31824 # One or both of the vars are not set, and there is no cached value.
31825 ac_x_includes=no ac_x_libraries=no
31826 rm -f -r conftest.dir
31827 if mkdir conftest.dir; then
31829 cat >Imakefile <<'_ACEOF'
31831 @echo incroot='${INCROOT}'
31833 @echo usrlibdir='${USRLIBDIR}'
31835 @echo libdir='${LIBDIR}'
31837 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31838 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31839 for ac_var in incroot usrlibdir libdir; do
31840 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31842 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31843 for ac_extension in a so sl; do
31844 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31845 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31846 ac_im_usrlibdir=$ac_im_libdir; break
31849 # Screen out bogus values from the imake configuration. They are
31850 # bogus both because they are the default anyway, and because
31851 # using them would break gcc on systems where it needs fixed includes.
31852 case $ac_im_incroot in
31853 /usr/include) ac_x_includes= ;;
31854 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31856 case $ac_im_usrlibdir in
31857 /usr/lib | /lib) ;;
31858 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31862 rm -f -r conftest.dir
31865 # Standard set of common directories for X headers.
31866 # Check X11 before X11Rn because it is often a symlink to the current release.
31878 /usr/local/X11/include
31879 /usr/local/X11R6/include
31880 /usr/local/X11R5/include
31881 /usr/local/X11R4/include
31883 /usr/local/include/X11
31884 /usr/local/include/X11R6
31885 /usr/local/include/X11R5
31886 /usr/local/include/X11R4
31890 /usr/XFree86/include/X11
31894 /usr/unsupported/include
31895 /usr/athena/include
31896 /usr/local/x11r5/include
31897 /usr/lpp/Xamples/include
31899 /usr/openwin/include
31900 /usr/openwin/share/include'
31902 if test "$ac_x_includes" = no; then
31903 # Guess where to find include files, by looking for Xlib.h.
31904 # First, try using that file with no special directory specified.
31905 cat >conftest.$ac_ext <<_ACEOF
31908 cat confdefs.h >>conftest.$ac_ext
31909 cat >>conftest.$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31911 #include <X11/Xlib.h>
31913 if { (ac_try="$ac_cpp conftest.$ac_ext"
31914 case "(($ac_try" in
31915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31916 *) ac_try_echo=$ac_try;;
31918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31921 grep -v '^ *+' conftest.er1 >conftest.err
31923 cat conftest.err >&5
31924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31925 (exit $ac_status); } >/dev/null && {
31926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31927 test ! -s conftest.err
31929 # We can compile using X headers with no special include directory.
31932 echo "$as_me: failed program was:" >&5
31933 sed 's/^/| /' conftest.$ac_ext >&5
31935 for ac_dir in $ac_x_header_dirs; do
31936 if test -r "$ac_dir/X11/Xlib.h"; then
31937 ac_x_includes=$ac_dir
31943 rm -f conftest.err conftest.$ac_ext
31944 fi # $ac_x_includes = no
31946 if test "$ac_x_libraries" = no; then
31947 # Check for the libraries.
31948 # See if we find them without any special options.
31949 # Don't add to $LIBS permanently.
31952 cat >conftest.$ac_ext <<_ACEOF
31955 cat confdefs.h >>conftest.$ac_ext
31956 cat >>conftest.$ac_ext <<_ACEOF
31957 /* end confdefs.h. */
31958 #include <X11/Xlib.h>
31967 rm -f conftest.$ac_objext conftest$ac_exeext
31968 if { (ac_try="$ac_link"
31969 case "(($ac_try" in
31970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31971 *) ac_try_echo=$ac_try;;
31973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31974 (eval "$ac_link") 2>conftest.er1
31976 grep -v '^ *+' conftest.er1 >conftest.err
31978 cat conftest.err >&5
31979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980 (exit $ac_status); } && {
31981 test -z "$ac_c_werror_flag" ||
31982 test ! -s conftest.err
31983 } && test -s conftest$ac_exeext &&
31984 $as_test_x conftest$ac_exeext; then
31986 # We can link X programs with no special library path.
31989 echo "$as_me: failed program was:" >&5
31990 sed 's/^/| /' conftest.$ac_ext >&5
31993 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31995 # Don't even attempt the hair of trying to link an X program!
31996 for ac_extension in a so sl; do
31997 if test -r "$ac_dir/libX11.$ac_extension"; then
31998 ac_x_libraries=$ac_dir
32005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32006 conftest$ac_exeext conftest.$ac_ext
32007 fi # $ac_x_libraries = no
32009 case $ac_x_includes,$ac_x_libraries in #(
32010 no,* | *,no | *\'*)
32011 # Didn't find X, or a directory has "'" in its name.
32012 ac_cv_have_x="have_x=no";; #(
32014 # Record where we found X for the cache.
32015 ac_cv_have_x="have_x=yes\
32016 ac_x_includes='$ac_x_includes'\
32017 ac_x_libraries='$ac_x_libraries'"
32023 eval "$ac_cv_have_x"
32026 if test "$have_x" != yes; then
32027 { echo "$as_me:$LINENO: result: $have_x" >&5
32028 echo "${ECHO_T}$have_x" >&6; }
32031 # If each of the values was on the command line, it overrides each guess.
32032 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32033 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32034 # Update the cache value to reflect the command line values.
32035 ac_cv_have_x="have_x=yes\
32036 ac_x_includes='$x_includes'\
32037 ac_x_libraries='$x_libraries'"
32038 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32039 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32042 if test "$no_x" = yes; then
32043 # Not all programs may use this symbol, but it does not hurt to define it.
32045 cat >>confdefs.h <<\_ACEOF
32046 #define X_DISPLAY_MISSING 1
32049 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32051 if test -n "$x_includes"; then
32052 X_CFLAGS="$X_CFLAGS -I$x_includes"
32055 # It would also be nice to do this for all -L options, not just this one.
32056 if test -n "$x_libraries"; then
32057 X_LIBS="$X_LIBS -L$x_libraries"
32058 # For Solaris; some versions of Sun CC require a space after -R and
32059 # others require no space. Words are not sufficient . . . .
32060 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32061 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32062 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32063 ac_xsave_c_werror_flag=$ac_c_werror_flag
32064 ac_c_werror_flag=yes
32065 cat >conftest.$ac_ext <<_ACEOF
32068 cat confdefs.h >>conftest.$ac_ext
32069 cat >>conftest.$ac_ext <<_ACEOF
32070 /* end confdefs.h. */
32080 rm -f conftest.$ac_objext conftest$ac_exeext
32081 if { (ac_try="$ac_link"
32082 case "(($ac_try" in
32083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32084 *) ac_try_echo=$ac_try;;
32086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32087 (eval "$ac_link") 2>conftest.er1
32089 grep -v '^ *+' conftest.er1 >conftest.err
32091 cat conftest.err >&5
32092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093 (exit $ac_status); } && {
32094 test -z "$ac_c_werror_flag" ||
32095 test ! -s conftest.err
32096 } && test -s conftest$ac_exeext &&
32097 $as_test_x conftest$ac_exeext; then
32098 { echo "$as_me:$LINENO: result: no" >&5
32099 echo "${ECHO_T}no" >&6; }
32100 X_LIBS="$X_LIBS -R$x_libraries"
32102 echo "$as_me: failed program was:" >&5
32103 sed 's/^/| /' conftest.$ac_ext >&5
32105 LIBS="$ac_xsave_LIBS -R $x_libraries"
32106 cat >conftest.$ac_ext <<_ACEOF
32109 cat confdefs.h >>conftest.$ac_ext
32110 cat >>conftest.$ac_ext <<_ACEOF
32111 /* end confdefs.h. */
32121 rm -f conftest.$ac_objext conftest$ac_exeext
32122 if { (ac_try="$ac_link"
32123 case "(($ac_try" in
32124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32125 *) ac_try_echo=$ac_try;;
32127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32128 (eval "$ac_link") 2>conftest.er1
32130 grep -v '^ *+' conftest.er1 >conftest.err
32132 cat conftest.err >&5
32133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134 (exit $ac_status); } && {
32135 test -z "$ac_c_werror_flag" ||
32136 test ! -s conftest.err
32137 } && test -s conftest$ac_exeext &&
32138 $as_test_x conftest$ac_exeext; then
32139 { echo "$as_me:$LINENO: result: yes" >&5
32140 echo "${ECHO_T}yes" >&6; }
32141 X_LIBS="$X_LIBS -R $x_libraries"
32143 echo "$as_me: failed program was:" >&5
32144 sed 's/^/| /' conftest.$ac_ext >&5
32146 { echo "$as_me:$LINENO: result: neither works" >&5
32147 echo "${ECHO_T}neither works" >&6; }
32150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32151 conftest$ac_exeext conftest.$ac_ext
32154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32155 conftest$ac_exeext conftest.$ac_ext
32156 ac_c_werror_flag=$ac_xsave_c_werror_flag
32157 LIBS=$ac_xsave_LIBS
32160 # Check for system-dependent libraries X programs must link with.
32161 # Do this before checking for the system-independent R6 libraries
32162 # (-lICE), since we may need -lsocket or whatever for X linking.
32164 if test "$ISC" = yes; then
32165 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32167 # Martyn Johnson says this is needed for Ultrix, if the X
32168 # libraries were built with DECnet support. And Karl Berry says
32169 # the Alpha needs dnet_stub (dnet does not exist).
32170 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32171 cat >conftest.$ac_ext <<_ACEOF
32174 cat confdefs.h >>conftest.$ac_ext
32175 cat >>conftest.$ac_ext <<_ACEOF
32176 /* end confdefs.h. */
32178 /* Override any GCC internal prototype to avoid an error.
32179 Use char because int might match the return type of a GCC
32180 builtin and then its argument prototype would still apply. */
32184 char XOpenDisplay ();
32188 return XOpenDisplay ();
32193 rm -f conftest.$ac_objext conftest$ac_exeext
32194 if { (ac_try="$ac_link"
32195 case "(($ac_try" in
32196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32197 *) ac_try_echo=$ac_try;;
32199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32200 (eval "$ac_link") 2>conftest.er1
32202 grep -v '^ *+' conftest.er1 >conftest.err
32204 cat conftest.err >&5
32205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32206 (exit $ac_status); } && {
32207 test -z "$ac_c_werror_flag" ||
32208 test ! -s conftest.err
32209 } && test -s conftest$ac_exeext &&
32210 $as_test_x conftest$ac_exeext; then
32213 echo "$as_me: failed program was:" >&5
32214 sed 's/^/| /' conftest.$ac_ext >&5
32216 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32217 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32218 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32219 echo $ECHO_N "(cached) $ECHO_C" >&6
32221 ac_check_lib_save_LIBS=$LIBS
32222 LIBS="-ldnet $LIBS"
32223 cat >conftest.$ac_ext <<_ACEOF
32226 cat confdefs.h >>conftest.$ac_ext
32227 cat >>conftest.$ac_ext <<_ACEOF
32228 /* end confdefs.h. */
32230 /* Override any GCC internal prototype to avoid an error.
32231 Use char because int might match the return type of a GCC
32232 builtin and then its argument prototype would still apply. */
32240 return dnet_ntoa ();
32245 rm -f conftest.$ac_objext conftest$ac_exeext
32246 if { (ac_try="$ac_link"
32247 case "(($ac_try" in
32248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32249 *) ac_try_echo=$ac_try;;
32251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32252 (eval "$ac_link") 2>conftest.er1
32254 grep -v '^ *+' conftest.er1 >conftest.err
32256 cat conftest.err >&5
32257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32258 (exit $ac_status); } && {
32259 test -z "$ac_c_werror_flag" ||
32260 test ! -s conftest.err
32261 } && test -s conftest$ac_exeext &&
32262 $as_test_x conftest$ac_exeext; then
32263 ac_cv_lib_dnet_dnet_ntoa=yes
32265 echo "$as_me: failed program was:" >&5
32266 sed 's/^/| /' conftest.$ac_ext >&5
32268 ac_cv_lib_dnet_dnet_ntoa=no
32271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32272 conftest$ac_exeext conftest.$ac_ext
32273 LIBS=$ac_check_lib_save_LIBS
32275 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32276 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32277 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32278 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32281 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32282 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32283 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32284 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32285 echo $ECHO_N "(cached) $ECHO_C" >&6
32287 ac_check_lib_save_LIBS=$LIBS
32288 LIBS="-ldnet_stub $LIBS"
32289 cat >conftest.$ac_ext <<_ACEOF
32292 cat confdefs.h >>conftest.$ac_ext
32293 cat >>conftest.$ac_ext <<_ACEOF
32294 /* end confdefs.h. */
32296 /* Override any GCC internal prototype to avoid an error.
32297 Use char because int might match the return type of a GCC
32298 builtin and then its argument prototype would still apply. */
32306 return dnet_ntoa ();
32311 rm -f conftest.$ac_objext conftest$ac_exeext
32312 if { (ac_try="$ac_link"
32313 case "(($ac_try" in
32314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32315 *) ac_try_echo=$ac_try;;
32317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32318 (eval "$ac_link") 2>conftest.er1
32320 grep -v '^ *+' conftest.er1 >conftest.err
32322 cat conftest.err >&5
32323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324 (exit $ac_status); } && {
32325 test -z "$ac_c_werror_flag" ||
32326 test ! -s conftest.err
32327 } && test -s conftest$ac_exeext &&
32328 $as_test_x conftest$ac_exeext; then
32329 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32331 echo "$as_me: failed program was:" >&5
32332 sed 's/^/| /' conftest.$ac_ext >&5
32334 ac_cv_lib_dnet_stub_dnet_ntoa=no
32337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32338 conftest$ac_exeext conftest.$ac_ext
32339 LIBS=$ac_check_lib_save_LIBS
32341 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32342 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32343 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32344 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32351 conftest$ac_exeext conftest.$ac_ext
32352 LIBS="$ac_xsave_LIBS"
32354 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32355 # to get the SysV transport functions.
32356 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32358 # The nsl library prevents programs from opening the X display
32359 # on Irix 5.2, according to T.E. Dickey.
32360 # The functions gethostbyname, getservbyname, and inet_addr are
32361 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32362 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32363 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32364 if test "${ac_cv_func_gethostbyname+set}" = set; then
32365 echo $ECHO_N "(cached) $ECHO_C" >&6
32367 cat >conftest.$ac_ext <<_ACEOF
32370 cat confdefs.h >>conftest.$ac_ext
32371 cat >>conftest.$ac_ext <<_ACEOF
32372 /* end confdefs.h. */
32373 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32375 #define gethostbyname innocuous_gethostbyname
32377 /* System header to define __stub macros and hopefully few prototypes,
32378 which can conflict with char gethostbyname (); below.
32379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32380 <limits.h> exists even on freestanding compilers. */
32383 # include <limits.h>
32385 # include <assert.h>
32388 #undef gethostbyname
32390 /* Override any GCC internal prototype to avoid an error.
32391 Use char because int might match the return type of a GCC
32392 builtin and then its argument prototype would still apply. */
32396 char gethostbyname ();
32397 /* The GNU C library defines this for functions which it implements
32398 to always fail with ENOSYS. Some functions are actually named
32399 something starting with __ and the normal name is an alias. */
32400 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32407 return gethostbyname ();
32412 rm -f conftest.$ac_objext conftest$ac_exeext
32413 if { (ac_try="$ac_link"
32414 case "(($ac_try" in
32415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32416 *) ac_try_echo=$ac_try;;
32418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32419 (eval "$ac_link") 2>conftest.er1
32421 grep -v '^ *+' conftest.er1 >conftest.err
32423 cat conftest.err >&5
32424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32425 (exit $ac_status); } && {
32426 test -z "$ac_c_werror_flag" ||
32427 test ! -s conftest.err
32428 } && test -s conftest$ac_exeext &&
32429 $as_test_x conftest$ac_exeext; then
32430 ac_cv_func_gethostbyname=yes
32432 echo "$as_me: failed program was:" >&5
32433 sed 's/^/| /' conftest.$ac_ext >&5
32435 ac_cv_func_gethostbyname=no
32438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32439 conftest$ac_exeext conftest.$ac_ext
32441 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32442 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32444 if test $ac_cv_func_gethostbyname = no; then
32445 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32446 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32447 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32448 echo $ECHO_N "(cached) $ECHO_C" >&6
32450 ac_check_lib_save_LIBS=$LIBS
32452 cat >conftest.$ac_ext <<_ACEOF
32455 cat confdefs.h >>conftest.$ac_ext
32456 cat >>conftest.$ac_ext <<_ACEOF
32457 /* end confdefs.h. */
32459 /* Override any GCC internal prototype to avoid an error.
32460 Use char because int might match the return type of a GCC
32461 builtin and then its argument prototype would still apply. */
32465 char gethostbyname ();
32469 return gethostbyname ();
32474 rm -f conftest.$ac_objext conftest$ac_exeext
32475 if { (ac_try="$ac_link"
32476 case "(($ac_try" in
32477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32478 *) ac_try_echo=$ac_try;;
32480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32481 (eval "$ac_link") 2>conftest.er1
32483 grep -v '^ *+' conftest.er1 >conftest.err
32485 cat conftest.err >&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); } && {
32488 test -z "$ac_c_werror_flag" ||
32489 test ! -s conftest.err
32490 } && test -s conftest$ac_exeext &&
32491 $as_test_x conftest$ac_exeext; then
32492 ac_cv_lib_nsl_gethostbyname=yes
32494 echo "$as_me: failed program was:" >&5
32495 sed 's/^/| /' conftest.$ac_ext >&5
32497 ac_cv_lib_nsl_gethostbyname=no
32500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32501 conftest$ac_exeext conftest.$ac_ext
32502 LIBS=$ac_check_lib_save_LIBS
32504 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32505 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32506 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32507 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32510 if test $ac_cv_lib_nsl_gethostbyname = no; then
32511 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32512 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32513 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32516 ac_check_lib_save_LIBS=$LIBS
32518 cat >conftest.$ac_ext <<_ACEOF
32521 cat confdefs.h >>conftest.$ac_ext
32522 cat >>conftest.$ac_ext <<_ACEOF
32523 /* end confdefs.h. */
32525 /* Override any GCC internal prototype to avoid an error.
32526 Use char because int might match the return type of a GCC
32527 builtin and then its argument prototype would still apply. */
32531 char gethostbyname ();
32535 return gethostbyname ();
32540 rm -f conftest.$ac_objext conftest$ac_exeext
32541 if { (ac_try="$ac_link"
32542 case "(($ac_try" in
32543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32544 *) ac_try_echo=$ac_try;;
32546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32547 (eval "$ac_link") 2>conftest.er1
32549 grep -v '^ *+' conftest.er1 >conftest.err
32551 cat conftest.err >&5
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); } && {
32554 test -z "$ac_c_werror_flag" ||
32555 test ! -s conftest.err
32556 } && test -s conftest$ac_exeext &&
32557 $as_test_x conftest$ac_exeext; then
32558 ac_cv_lib_bsd_gethostbyname=yes
32560 echo "$as_me: failed program was:" >&5
32561 sed 's/^/| /' conftest.$ac_ext >&5
32563 ac_cv_lib_bsd_gethostbyname=no
32566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32567 conftest$ac_exeext conftest.$ac_ext
32568 LIBS=$ac_check_lib_save_LIBS
32570 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32571 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32572 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32573 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32579 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32580 # socket/setsockopt and other routines are undefined under SCO ODT
32581 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32582 # on later versions), says Simon Leinen: it contains gethostby*
32583 # variants that don't use the name server (or something). -lsocket
32584 # must be given before -lnsl if both are needed. We assume that
32585 # if connect needs -lnsl, so does gethostbyname.
32586 { echo "$as_me:$LINENO: checking for connect" >&5
32587 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32588 if test "${ac_cv_func_connect+set}" = set; then
32589 echo $ECHO_N "(cached) $ECHO_C" >&6
32591 cat >conftest.$ac_ext <<_ACEOF
32594 cat confdefs.h >>conftest.$ac_ext
32595 cat >>conftest.$ac_ext <<_ACEOF
32596 /* end confdefs.h. */
32597 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32599 #define connect innocuous_connect
32601 /* System header to define __stub macros and hopefully few prototypes,
32602 which can conflict with char connect (); below.
32603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32604 <limits.h> exists even on freestanding compilers. */
32607 # include <limits.h>
32609 # include <assert.h>
32614 /* Override any GCC internal prototype to avoid an error.
32615 Use char because int might match the return type of a GCC
32616 builtin and then its argument prototype would still apply. */
32621 /* The GNU C library defines this for functions which it implements
32622 to always fail with ENOSYS. Some functions are actually named
32623 something starting with __ and the normal name is an alias. */
32624 #if defined __stub_connect || defined __stub___connect
32636 rm -f conftest.$ac_objext conftest$ac_exeext
32637 if { (ac_try="$ac_link"
32638 case "(($ac_try" in
32639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32640 *) ac_try_echo=$ac_try;;
32642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32643 (eval "$ac_link") 2>conftest.er1
32645 grep -v '^ *+' conftest.er1 >conftest.err
32647 cat conftest.err >&5
32648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32649 (exit $ac_status); } && {
32650 test -z "$ac_c_werror_flag" ||
32651 test ! -s conftest.err
32652 } && test -s conftest$ac_exeext &&
32653 $as_test_x conftest$ac_exeext; then
32654 ac_cv_func_connect=yes
32656 echo "$as_me: failed program was:" >&5
32657 sed 's/^/| /' conftest.$ac_ext >&5
32659 ac_cv_func_connect=no
32662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32663 conftest$ac_exeext conftest.$ac_ext
32665 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32666 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32668 if test $ac_cv_func_connect = no; then
32669 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32670 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32671 if test "${ac_cv_lib_socket_connect+set}" = set; then
32672 echo $ECHO_N "(cached) $ECHO_C" >&6
32674 ac_check_lib_save_LIBS=$LIBS
32675 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32676 cat >conftest.$ac_ext <<_ACEOF
32679 cat confdefs.h >>conftest.$ac_ext
32680 cat >>conftest.$ac_ext <<_ACEOF
32681 /* end confdefs.h. */
32683 /* Override any GCC internal prototype to avoid an error.
32684 Use char because int might match the return type of a GCC
32685 builtin and then its argument prototype would still apply. */
32698 rm -f conftest.$ac_objext conftest$ac_exeext
32699 if { (ac_try="$ac_link"
32700 case "(($ac_try" in
32701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32702 *) ac_try_echo=$ac_try;;
32704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32705 (eval "$ac_link") 2>conftest.er1
32707 grep -v '^ *+' conftest.er1 >conftest.err
32709 cat conftest.err >&5
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); } && {
32712 test -z "$ac_c_werror_flag" ||
32713 test ! -s conftest.err
32714 } && test -s conftest$ac_exeext &&
32715 $as_test_x conftest$ac_exeext; then
32716 ac_cv_lib_socket_connect=yes
32718 echo "$as_me: failed program was:" >&5
32719 sed 's/^/| /' conftest.$ac_ext >&5
32721 ac_cv_lib_socket_connect=no
32724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32725 conftest$ac_exeext conftest.$ac_ext
32726 LIBS=$ac_check_lib_save_LIBS
32728 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32729 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32730 if test $ac_cv_lib_socket_connect = yes; then
32731 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32736 # Guillermo Gomez says -lposix is necessary on A/UX.
32737 { echo "$as_me:$LINENO: checking for remove" >&5
32738 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32739 if test "${ac_cv_func_remove+set}" = set; then
32740 echo $ECHO_N "(cached) $ECHO_C" >&6
32742 cat >conftest.$ac_ext <<_ACEOF
32745 cat confdefs.h >>conftest.$ac_ext
32746 cat >>conftest.$ac_ext <<_ACEOF
32747 /* end confdefs.h. */
32748 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32750 #define remove innocuous_remove
32752 /* System header to define __stub macros and hopefully few prototypes,
32753 which can conflict with char remove (); below.
32754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32755 <limits.h> exists even on freestanding compilers. */
32758 # include <limits.h>
32760 # include <assert.h>
32765 /* Override any GCC internal prototype to avoid an error.
32766 Use char because int might match the return type of a GCC
32767 builtin and then its argument prototype would still apply. */
32772 /* The GNU C library defines this for functions which it implements
32773 to always fail with ENOSYS. Some functions are actually named
32774 something starting with __ and the normal name is an alias. */
32775 #if defined __stub_remove || defined __stub___remove
32787 rm -f conftest.$ac_objext conftest$ac_exeext
32788 if { (ac_try="$ac_link"
32789 case "(($ac_try" in
32790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32791 *) ac_try_echo=$ac_try;;
32793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32794 (eval "$ac_link") 2>conftest.er1
32796 grep -v '^ *+' conftest.er1 >conftest.err
32798 cat conftest.err >&5
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); } && {
32801 test -z "$ac_c_werror_flag" ||
32802 test ! -s conftest.err
32803 } && test -s conftest$ac_exeext &&
32804 $as_test_x conftest$ac_exeext; then
32805 ac_cv_func_remove=yes
32807 echo "$as_me: failed program was:" >&5
32808 sed 's/^/| /' conftest.$ac_ext >&5
32810 ac_cv_func_remove=no
32813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32814 conftest$ac_exeext conftest.$ac_ext
32816 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32817 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32819 if test $ac_cv_func_remove = no; then
32820 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32821 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32822 if test "${ac_cv_lib_posix_remove+set}" = set; then
32823 echo $ECHO_N "(cached) $ECHO_C" >&6
32825 ac_check_lib_save_LIBS=$LIBS
32826 LIBS="-lposix $LIBS"
32827 cat >conftest.$ac_ext <<_ACEOF
32830 cat confdefs.h >>conftest.$ac_ext
32831 cat >>conftest.$ac_ext <<_ACEOF
32832 /* end confdefs.h. */
32834 /* Override any GCC internal prototype to avoid an error.
32835 Use char because int might match the return type of a GCC
32836 builtin and then its argument prototype would still apply. */
32849 rm -f conftest.$ac_objext conftest$ac_exeext
32850 if { (ac_try="$ac_link"
32851 case "(($ac_try" in
32852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32853 *) ac_try_echo=$ac_try;;
32855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32856 (eval "$ac_link") 2>conftest.er1
32858 grep -v '^ *+' conftest.er1 >conftest.err
32860 cat conftest.err >&5
32861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32862 (exit $ac_status); } && {
32863 test -z "$ac_c_werror_flag" ||
32864 test ! -s conftest.err
32865 } && test -s conftest$ac_exeext &&
32866 $as_test_x conftest$ac_exeext; then
32867 ac_cv_lib_posix_remove=yes
32869 echo "$as_me: failed program was:" >&5
32870 sed 's/^/| /' conftest.$ac_ext >&5
32872 ac_cv_lib_posix_remove=no
32875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32876 conftest$ac_exeext conftest.$ac_ext
32877 LIBS=$ac_check_lib_save_LIBS
32879 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32880 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32881 if test $ac_cv_lib_posix_remove = yes; then
32882 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32887 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32888 { echo "$as_me:$LINENO: checking for shmat" >&5
32889 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32890 if test "${ac_cv_func_shmat+set}" = set; then
32891 echo $ECHO_N "(cached) $ECHO_C" >&6
32893 cat >conftest.$ac_ext <<_ACEOF
32896 cat confdefs.h >>conftest.$ac_ext
32897 cat >>conftest.$ac_ext <<_ACEOF
32898 /* end confdefs.h. */
32899 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32901 #define shmat innocuous_shmat
32903 /* System header to define __stub macros and hopefully few prototypes,
32904 which can conflict with char shmat (); below.
32905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32906 <limits.h> exists even on freestanding compilers. */
32909 # include <limits.h>
32911 # include <assert.h>
32916 /* Override any GCC internal prototype to avoid an error.
32917 Use char because int might match the return type of a GCC
32918 builtin and then its argument prototype would still apply. */
32923 /* The GNU C library defines this for functions which it implements
32924 to always fail with ENOSYS. Some functions are actually named
32925 something starting with __ and the normal name is an alias. */
32926 #if defined __stub_shmat || defined __stub___shmat
32938 rm -f conftest.$ac_objext conftest$ac_exeext
32939 if { (ac_try="$ac_link"
32940 case "(($ac_try" in
32941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32942 *) ac_try_echo=$ac_try;;
32944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32945 (eval "$ac_link") 2>conftest.er1
32947 grep -v '^ *+' conftest.er1 >conftest.err
32949 cat conftest.err >&5
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); } && {
32952 test -z "$ac_c_werror_flag" ||
32953 test ! -s conftest.err
32954 } && test -s conftest$ac_exeext &&
32955 $as_test_x conftest$ac_exeext; then
32956 ac_cv_func_shmat=yes
32958 echo "$as_me: failed program was:" >&5
32959 sed 's/^/| /' conftest.$ac_ext >&5
32961 ac_cv_func_shmat=no
32964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32965 conftest$ac_exeext conftest.$ac_ext
32967 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32968 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32970 if test $ac_cv_func_shmat = no; then
32971 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32972 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32973 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32974 echo $ECHO_N "(cached) $ECHO_C" >&6
32976 ac_check_lib_save_LIBS=$LIBS
32978 cat >conftest.$ac_ext <<_ACEOF
32981 cat confdefs.h >>conftest.$ac_ext
32982 cat >>conftest.$ac_ext <<_ACEOF
32983 /* end confdefs.h. */
32985 /* Override any GCC internal prototype to avoid an error.
32986 Use char because int might match the return type of a GCC
32987 builtin and then its argument prototype would still apply. */
33000 rm -f conftest.$ac_objext conftest$ac_exeext
33001 if { (ac_try="$ac_link"
33002 case "(($ac_try" in
33003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33004 *) ac_try_echo=$ac_try;;
33006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33007 (eval "$ac_link") 2>conftest.er1
33009 grep -v '^ *+' conftest.er1 >conftest.err
33011 cat conftest.err >&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); } && {
33014 test -z "$ac_c_werror_flag" ||
33015 test ! -s conftest.err
33016 } && test -s conftest$ac_exeext &&
33017 $as_test_x conftest$ac_exeext; then
33018 ac_cv_lib_ipc_shmat=yes
33020 echo "$as_me: failed program was:" >&5
33021 sed 's/^/| /' conftest.$ac_ext >&5
33023 ac_cv_lib_ipc_shmat=no
33026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33027 conftest$ac_exeext conftest.$ac_ext
33028 LIBS=$ac_check_lib_save_LIBS
33030 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33031 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33032 if test $ac_cv_lib_ipc_shmat = yes; then
33033 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33039 # Check for libraries that X11R6 Xt/Xaw programs need.
33040 ac_save_LDFLAGS=$LDFLAGS
33041 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33042 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33043 # check for ICE first), but we must link in the order -lSM -lICE or
33044 # we get undefined symbols. So assume we have SM if we have ICE.
33045 # These have to be linked with before -lX11, unlike the other
33046 # libraries we check for below, so use a different variable.
33047 # John Interrante, Karl Berry
33048 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33049 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33050 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33051 echo $ECHO_N "(cached) $ECHO_C" >&6
33053 ac_check_lib_save_LIBS=$LIBS
33054 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33055 cat >conftest.$ac_ext <<_ACEOF
33058 cat confdefs.h >>conftest.$ac_ext
33059 cat >>conftest.$ac_ext <<_ACEOF
33060 /* end confdefs.h. */
33062 /* Override any GCC internal prototype to avoid an error.
33063 Use char because int might match the return type of a GCC
33064 builtin and then its argument prototype would still apply. */
33068 char IceConnectionNumber ();
33072 return IceConnectionNumber ();
33077 rm -f conftest.$ac_objext conftest$ac_exeext
33078 if { (ac_try="$ac_link"
33079 case "(($ac_try" in
33080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33081 *) ac_try_echo=$ac_try;;
33083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33084 (eval "$ac_link") 2>conftest.er1
33086 grep -v '^ *+' conftest.er1 >conftest.err
33088 cat conftest.err >&5
33089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33090 (exit $ac_status); } && {
33091 test -z "$ac_c_werror_flag" ||
33092 test ! -s conftest.err
33093 } && test -s conftest$ac_exeext &&
33094 $as_test_x conftest$ac_exeext; then
33095 ac_cv_lib_ICE_IceConnectionNumber=yes
33097 echo "$as_me: failed program was:" >&5
33098 sed 's/^/| /' conftest.$ac_ext >&5
33100 ac_cv_lib_ICE_IceConnectionNumber=no
33103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33104 conftest$ac_exeext conftest.$ac_ext
33105 LIBS=$ac_check_lib_save_LIBS
33107 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33108 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33109 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33110 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33113 LDFLAGS=$ac_save_LDFLAGS
33118 if test "$no_x" = "yes"; then
33119 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33120 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33121 { (exit 1); exit 1; }; }
33124 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33125 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33126 AFMINSTALL=afminstall
33127 COMPILED_X_PROGRAM=0
33131 if test "$wxUSE_X11" = 1; then
33132 if test "$wxUSE_NANOX" = "yes"; then
33133 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33134 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33135 if test "x$MICROWIN" = x ; then
33136 { echo "$as_me:$LINENO: result: not found" >&5
33137 echo "${ECHO_T}not found" >&6; }
33138 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33139 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33140 { (exit 1); exit 1; }; }
33142 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33143 echo "${ECHO_T}$MICROWIN" >&6; }
33144 cat >>confdefs.h <<\_ACEOF
33145 #define wxUSE_NANOX 1
33151 if test "$wxUSE_UNICODE" = "yes"; then
33154 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33155 if test -n "$ac_tool_prefix"; then
33156 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33157 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33160 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33161 echo $ECHO_N "(cached) $ECHO_C" >&6
33163 case $PKG_CONFIG in
33165 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33169 for as_dir in $PATH
33172 test -z "$as_dir" && as_dir=.
33173 for ac_exec_ext in '' $ac_executable_extensions; do
33174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33175 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33186 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33187 if test -n "$PKG_CONFIG"; then
33188 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33189 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33191 { echo "$as_me:$LINENO: result: no" >&5
33192 echo "${ECHO_T}no" >&6; }
33197 if test -z "$ac_cv_path_PKG_CONFIG"; then
33198 ac_pt_PKG_CONFIG=$PKG_CONFIG
33199 # Extract the first word of "pkg-config", so it can be a program name with args.
33200 set dummy pkg-config; ac_word=$2
33201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33203 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33204 echo $ECHO_N "(cached) $ECHO_C" >&6
33206 case $ac_pt_PKG_CONFIG in
33208 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33212 for as_dir in $PATH
33215 test -z "$as_dir" && as_dir=.
33216 for ac_exec_ext in '' $ac_executable_extensions; do
33217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33218 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33229 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33230 if test -n "$ac_pt_PKG_CONFIG"; then
33231 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33232 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33234 { echo "$as_me:$LINENO: result: no" >&5
33235 echo "${ECHO_T}no" >&6; }
33238 if test "x$ac_pt_PKG_CONFIG" = x; then
33241 case $cross_compiling:$ac_tool_warned in
33243 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33244 whose name does not start with the host triplet. If you think this
33245 configuration is useful to you, please write to autoconf@gnu.org." >&5
33246 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33247 whose name does not start with the host triplet. If you think this
33248 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33249 ac_tool_warned=yes ;;
33251 PKG_CONFIG=$ac_pt_PKG_CONFIG
33254 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33258 if test -n "$PKG_CONFIG"; then
33259 _pkg_min_version=0.9.0
33260 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33261 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33262 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33263 { echo "$as_me:$LINENO: result: yes" >&5
33264 echo "${ECHO_T}yes" >&6; }
33266 { echo "$as_me:$LINENO: result: no" >&5
33267 echo "${ECHO_T}no" >&6; }
33275 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33276 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33278 if test -n "$PKG_CONFIG"; then
33279 if test -n "$PANGOX_CFLAGS"; then
33280 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33282 if test -n "$PKG_CONFIG" && \
33283 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33284 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); }; then
33288 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33296 if test -n "$PKG_CONFIG"; then
33297 if test -n "$PANGOX_LIBS"; then
33298 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33300 if test -n "$PKG_CONFIG" && \
33301 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33302 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33305 (exit $ac_status); }; then
33306 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33317 if test $pkg_failed = yes; then
33319 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33320 _pkg_short_errors_supported=yes
33322 _pkg_short_errors_supported=no
33324 if test $_pkg_short_errors_supported = yes; then
33325 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33327 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33329 # Put the nasty error message in config.log where it belongs
33330 echo "$PANGOX_PKG_ERRORS" >&5
33333 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33334 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33335 { (exit 1); exit 1; }; }
33338 elif test $pkg_failed = untried; then
33340 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33341 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33342 { (exit 1); exit 1; }; }
33346 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33347 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33348 { echo "$as_me:$LINENO: result: yes" >&5
33349 echo "${ECHO_T}yes" >&6; }
33351 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33352 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33353 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33358 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33359 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33361 if test -n "$PKG_CONFIG"; then
33362 if test -n "$PANGOFT2_CFLAGS"; then
33363 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33365 if test -n "$PKG_CONFIG" && \
33366 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33367 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); }; then
33371 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33379 if test -n "$PKG_CONFIG"; then
33380 if test -n "$PANGOFT2_LIBS"; then
33381 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33383 if test -n "$PKG_CONFIG" && \
33384 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33385 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); }; then
33389 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33400 if test $pkg_failed = yes; then
33402 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33403 _pkg_short_errors_supported=yes
33405 _pkg_short_errors_supported=no
33407 if test $_pkg_short_errors_supported = yes; then
33408 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33410 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33412 # Put the nasty error message in config.log where it belongs
33413 echo "$PANGOFT2_PKG_ERRORS" >&5
33416 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33417 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33418 wxUSE_PRINTING_ARCHITECTURE="no"
33421 elif test $pkg_failed = untried; then
33423 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33424 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33425 wxUSE_PRINTING_ARCHITECTURE="no"
33429 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33430 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33431 { echo "$as_me:$LINENO: result: yes" >&5
33432 echo "${ECHO_T}yes" >&6; }
33434 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33435 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33436 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33441 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33442 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33444 if test -n "$PKG_CONFIG"; then
33445 if test -n "$PANGOXFT_CFLAGS"; then
33446 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33448 if test -n "$PKG_CONFIG" && \
33449 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33450 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); }; then
33454 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33462 if test -n "$PKG_CONFIG"; then
33463 if test -n "$PANGOXFT_LIBS"; then
33464 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33466 if test -n "$PKG_CONFIG" && \
33467 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33468 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); }; then
33472 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33483 if test $pkg_failed = yes; then
33485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33486 _pkg_short_errors_supported=yes
33488 _pkg_short_errors_supported=no
33490 if test $_pkg_short_errors_supported = yes; then
33491 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33493 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33495 # Put the nasty error message in config.log where it belongs
33496 echo "$PANGOXFT_PKG_ERRORS" >&5
33499 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33500 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33503 elif test $pkg_failed = untried; then
33505 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33506 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33510 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33511 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33512 { echo "$as_me:$LINENO: result: yes" >&5
33513 echo "${ECHO_T}yes" >&6; }
33515 cat >>confdefs.h <<\_ACEOF
33516 #define HAVE_PANGO_XFT 1
33519 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33520 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33521 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33525 LIBS="$LIBS $PANGOX_LIBS"
33527 for ac_func in pango_font_family_is_monospace
33529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33530 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33532 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33533 echo $ECHO_N "(cached) $ECHO_C" >&6
33535 cat >conftest.$ac_ext <<_ACEOF
33538 cat confdefs.h >>conftest.$ac_ext
33539 cat >>conftest.$ac_ext <<_ACEOF
33540 /* end confdefs.h. */
33541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33543 #define $ac_func innocuous_$ac_func
33545 /* System header to define __stub macros and hopefully few prototypes,
33546 which can conflict with char $ac_func (); below.
33547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33548 <limits.h> exists even on freestanding compilers. */
33551 # include <limits.h>
33553 # include <assert.h>
33558 /* Override any GCC internal prototype to avoid an error.
33559 Use char because int might match the return type of a GCC
33560 builtin and then its argument prototype would still apply. */
33565 /* The GNU C library defines this for functions which it implements
33566 to always fail with ENOSYS. Some functions are actually named
33567 something starting with __ and the normal name is an alias. */
33568 #if defined __stub_$ac_func || defined __stub___$ac_func
33575 return $ac_func ();
33580 rm -f conftest.$ac_objext conftest$ac_exeext
33581 if { (ac_try="$ac_link"
33582 case "(($ac_try" in
33583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33584 *) ac_try_echo=$ac_try;;
33586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33587 (eval "$ac_link") 2>conftest.er1
33589 grep -v '^ *+' conftest.er1 >conftest.err
33591 cat conftest.err >&5
33592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593 (exit $ac_status); } && {
33594 test -z "$ac_c_werror_flag" ||
33595 test ! -s conftest.err
33596 } && test -s conftest$ac_exeext &&
33597 $as_test_x conftest$ac_exeext; then
33598 eval "$as_ac_var=yes"
33600 echo "$as_me: failed program was:" >&5
33601 sed 's/^/| /' conftest.$ac_ext >&5
33603 eval "$as_ac_var=no"
33606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33607 conftest$ac_exeext conftest.$ac_ext
33609 ac_res=`eval echo '${'$as_ac_var'}'`
33610 { echo "$as_me:$LINENO: result: $ac_res" >&5
33611 echo "${ECHO_T}$ac_res" >&6; }
33612 if test `eval echo '${'$as_ac_var'}'` = yes; then
33613 cat >>confdefs.h <<_ACEOF
33614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33623 wxUSE_UNIVERSAL="yes"
33625 if test "$wxUSE_NANOX" = "yes"; then
33626 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33627 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"
33628 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33630 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33637 if test "$wxUSE_MOTIF" = 1; then
33638 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33639 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33642 for ac_dir in $SEARCH_INCLUDE /usr/include
33644 if test -f "$ac_dir/Xm/Xm.h"; then
33645 ac_find_includes=$ac_dir
33650 if test "$ac_find_includes" != "" ; then
33651 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33652 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33654 if test "x$ac_find_includes" = "x/usr/include"; then
33655 ac_path_to_include=""
33657 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33659 if test $result = 0; then
33660 ac_path_to_include=""
33662 ac_path_to_include=" -I$ac_find_includes"
33666 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33668 save_CFLAGS=$CFLAGS
33669 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33671 cat >conftest.$ac_ext <<_ACEOF
33674 cat confdefs.h >>conftest.$ac_ext
33675 cat >>conftest.$ac_ext <<_ACEOF
33676 /* end confdefs.h. */
33685 version = xmUseVersion;
33691 rm -f conftest.$ac_objext
33692 if { (ac_try="$ac_compile"
33693 case "(($ac_try" in
33694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33695 *) ac_try_echo=$ac_try;;
33697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33698 (eval "$ac_compile") 2>conftest.er1
33700 grep -v '^ *+' conftest.er1 >conftest.err
33702 cat conftest.err >&5
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); } && {
33705 test -z "$ac_c_werror_flag" ||
33706 test ! -s conftest.err
33707 } && test -s conftest.$ac_objext; then
33709 { echo "$as_me:$LINENO: result: found in default search path" >&5
33710 echo "${ECHO_T}found in default search path" >&6; }
33711 COMPILED_X_PROGRAM=1
33714 echo "$as_me: failed program was:" >&5
33715 sed 's/^/| /' conftest.$ac_ext >&5
33718 { echo "$as_me:$LINENO: result: no" >&5
33719 echo "${ECHO_T}no" >&6; }
33720 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33721 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33722 { (exit 1); exit 1; }; }
33727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33729 CFLAGS=$save_CFLAGS
33733 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33734 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33737 for ac_dir in $SEARCH_LIB
33739 for ac_extension in a so sl dylib dll.a; do
33740 if test -f "$ac_dir/libXm.$ac_extension"; then
33741 ac_find_libraries=$ac_dir
33748 if test "x$ac_find_libraries" != "x" ; then
33749 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33750 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33753 if test "$ac_find_libraries" = "default location"; then
33756 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33758 if test $result = 0; then
33761 ac_path_to_link=" -L$ac_find_libraries"
33765 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33767 save_CFLAGS=$CFLAGS
33768 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33770 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33772 cat >conftest.$ac_ext <<_ACEOF
33775 cat confdefs.h >>conftest.$ac_ext
33776 cat >>conftest.$ac_ext <<_ACEOF
33777 /* end confdefs.h. */
33786 version = xmUseVersion;
33792 rm -f conftest.$ac_objext conftest$ac_exeext
33793 if { (ac_try="$ac_link"
33794 case "(($ac_try" in
33795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33796 *) ac_try_echo=$ac_try;;
33798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33799 (eval "$ac_link") 2>conftest.er1
33801 grep -v '^ *+' conftest.er1 >conftest.err
33803 cat conftest.err >&5
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); } && {
33806 test -z "$ac_c_werror_flag" ||
33807 test ! -s conftest.err
33808 } && test -s conftest$ac_exeext &&
33809 $as_test_x conftest$ac_exeext; then
33811 { echo "$as_me:$LINENO: result: found in default search path" >&5
33812 echo "${ECHO_T}found in default search path" >&6; }
33813 COMPILED_X_PROGRAM=1
33816 echo "$as_me: failed program was:" >&5
33817 sed 's/^/| /' conftest.$ac_ext >&5
33820 { echo "$as_me:$LINENO: result: no" >&5
33821 echo "${ECHO_T}no" >&6; }
33822 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33823 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33824 { (exit 1); exit 1; }; }
33829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33830 conftest$ac_exeext conftest.$ac_ext
33832 CFLAGS=$save_CFLAGS
33836 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33837 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33841 for libp in "" " -lXp"; do
33842 if test "$libs_found" = 0; then
33843 for libsm_ice in "" " -lSM -lICE"; do
33844 if test "$libs_found" = 0; then
33846 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33847 save_CFLAGS=$CFLAGS
33848 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33850 cat >conftest.$ac_ext <<_ACEOF
33853 cat confdefs.h >>conftest.$ac_ext
33854 cat >>conftest.$ac_ext <<_ACEOF
33855 /* end confdefs.h. */
33858 #include <Xm/List.h>
33864 XmString string = NULL;
33867 XmListAddItem(w, string, position);
33873 rm -f conftest.$ac_objext conftest$ac_exeext
33874 if { (ac_try="$ac_link"
33875 case "(($ac_try" in
33876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33877 *) ac_try_echo=$ac_try;;
33879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33880 (eval "$ac_link") 2>conftest.er1
33882 grep -v '^ *+' conftest.er1 >conftest.err
33884 cat conftest.err >&5
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); } && {
33887 test -z "$ac_c_werror_flag" ||
33888 test ! -s conftest.err
33889 } && test -s conftest$ac_exeext &&
33890 $as_test_x conftest$ac_exeext; then
33893 libsm_ice_link="$libsm_ice"
33894 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33895 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.$ac_ext >&5
33906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33907 conftest$ac_exeext conftest.$ac_ext
33910 CFLAGS=$save_CFLAGS
33916 if test "$libs_found" = 0; then
33917 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33918 echo "${ECHO_T}can't find the right libraries" >&6; }
33919 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33920 echo "$as_me: error: can't link a simple motif program" >&2;}
33921 { (exit 1); exit 1; }; }
33924 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33925 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33926 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33929 ac_check_lib_save_LIBS=$LIBS
33931 cat >conftest.$ac_ext <<_ACEOF
33934 cat confdefs.h >>conftest.$ac_ext
33935 cat >>conftest.$ac_ext <<_ACEOF
33936 /* end confdefs.h. */
33938 /* Override any GCC internal prototype to avoid an error.
33939 Use char because int might match the return type of a GCC
33940 builtin and then its argument prototype would still apply. */
33944 char SgCreateList ();
33948 return SgCreateList ();
33953 rm -f conftest.$ac_objext conftest$ac_exeext
33954 if { (ac_try="$ac_link"
33955 case "(($ac_try" in
33956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33957 *) ac_try_echo=$ac_try;;
33959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33960 (eval "$ac_link") 2>conftest.er1
33962 grep -v '^ *+' conftest.er1 >conftest.err
33964 cat conftest.err >&5
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); } && {
33967 test -z "$ac_c_werror_flag" ||
33968 test ! -s conftest.err
33969 } && test -s conftest$ac_exeext &&
33970 $as_test_x conftest$ac_exeext; then
33971 ac_cv_lib_Sgm_SgCreateList=yes
33973 echo "$as_me: failed program was:" >&5
33974 sed 's/^/| /' conftest.$ac_ext >&5
33976 ac_cv_lib_Sgm_SgCreateList=no
33979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33980 conftest$ac_exeext conftest.$ac_ext
33981 LIBS=$ac_check_lib_save_LIBS
33983 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33984 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33985 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33986 libsgm_link=" -lSgm"
33990 save_CFLAGS=$CFLAGS
33991 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33993 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33994 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33995 if test "${wx_cv_lib_motif2+set}" = set; then
33996 echo $ECHO_N "(cached) $ECHO_C" >&6
33998 cat >conftest.$ac_ext <<_ACEOF
34001 cat confdefs.h >>conftest.$ac_ext
34002 cat >>conftest.$ac_ext <<_ACEOF
34003 /* end confdefs.h. */
34011 #if XmVersion < 2000
34019 rm -f conftest.$ac_objext
34020 if { (ac_try="$ac_compile"
34021 case "(($ac_try" in
34022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34023 *) ac_try_echo=$ac_try;;
34025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34026 (eval "$ac_compile") 2>conftest.er1
34028 grep -v '^ *+' conftest.er1 >conftest.err
34030 cat conftest.err >&5
34031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34032 (exit $ac_status); } && {
34033 test -z "$ac_c_werror_flag" ||
34034 test ! -s conftest.err
34035 } && test -s conftest.$ac_objext; then
34036 wx_cv_lib_motif2="yes"
34038 echo "$as_me: failed program was:" >&5
34039 sed 's/^/| /' conftest.$ac_ext >&5
34041 wx_cv_lib_motif2="no"
34044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34046 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34047 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34048 if test "$wx_cv_lib_motif2" = "yes"; then
34049 cat >>confdefs.h <<\_ACEOF
34050 #define __WXMOTIF20__ 1
34054 cat >>confdefs.h <<\_ACEOF
34055 #define __WXMOTIF20__ 0
34060 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34061 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34062 if test "${wx_cv_lib_lesstif+set}" = set; then
34063 echo $ECHO_N "(cached) $ECHO_C" >&6
34065 cat >conftest.$ac_ext <<_ACEOF
34068 cat confdefs.h >>conftest.$ac_ext
34069 cat >>conftest.$ac_ext <<_ACEOF
34070 /* end confdefs.h. */
34078 #if !defined(LesstifVersion) || LesstifVersion <= 0
34086 rm -f conftest.$ac_objext
34087 if { (ac_try="$ac_compile"
34088 case "(($ac_try" in
34089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34090 *) ac_try_echo=$ac_try;;
34092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34093 (eval "$ac_compile") 2>conftest.er1
34095 grep -v '^ *+' conftest.er1 >conftest.err
34097 cat conftest.err >&5
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); } && {
34100 test -z "$ac_c_werror_flag" ||
34101 test ! -s conftest.err
34102 } && test -s conftest.$ac_objext; then
34103 wx_cv_lib_lesstif="yes"
34105 echo "$as_me: failed program was:" >&5
34106 sed 's/^/| /' conftest.$ac_ext >&5
34108 wx_cv_lib_lesstif="no"
34111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34114 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34115 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34116 if test "$wx_cv_lib_lesstif" = "yes"; then
34117 cat >>confdefs.h <<\_ACEOF
34118 #define __WXLESSTIF__ 1
34122 cat >>confdefs.h <<\_ACEOF
34123 #define __WXLESSTIF__ 0
34128 CFLAGS=$save_CFLAGS
34130 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34135 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34136 if test "$wxUSE_LIBXPM" = "sys"; then
34137 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34138 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34141 for ac_dir in $SEARCH_LIB
34143 for ac_extension in a so sl dylib dll.a; do
34144 if test -f "$ac_dir/libXpm.$ac_extension"; then
34145 ac_find_libraries=$ac_dir
34151 if test "$ac_find_libraries" != "" ; then
34153 if test "$ac_find_libraries" = "default location"; then
34156 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34158 if test $result = 0; then
34161 ac_path_to_link=" -L$ac_find_libraries"
34165 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34166 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34167 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34169 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34170 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34171 if test "${wx_cv_x11_xpm_h+set}" = set; then
34172 echo $ECHO_N "(cached) $ECHO_C" >&6
34175 save_CFLAGS=$CFLAGS
34176 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34178 cat >conftest.$ac_ext <<_ACEOF
34181 cat confdefs.h >>conftest.$ac_ext
34182 cat >>conftest.$ac_ext <<_ACEOF
34183 /* end confdefs.h. */
34185 #include <X11/xpm.h>
34192 version = XpmLibraryVersion();
34198 rm -f conftest.$ac_objext
34199 if { (ac_try="$ac_compile"
34200 case "(($ac_try" in
34201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34202 *) ac_try_echo=$ac_try;;
34204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34205 (eval "$ac_compile") 2>conftest.er1
34207 grep -v '^ *+' conftest.er1 >conftest.err
34209 cat conftest.err >&5
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); } && {
34212 test -z "$ac_c_werror_flag" ||
34213 test ! -s conftest.err
34214 } && test -s conftest.$ac_objext; then
34215 wx_cv_x11_xpm_h=yes
34217 echo "$as_me: failed program was:" >&5
34218 sed 's/^/| /' conftest.$ac_ext >&5
34224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34226 CFLAGS=$save_CFLAGS
34230 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34231 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34233 if test $wx_cv_x11_xpm_h = "yes"; then
34234 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34235 cat >>confdefs.h <<\_ACEOF
34236 #define wxHAVE_LIB_XPM 1
34240 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34241 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34247 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34248 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34249 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34250 echo $ECHO_N "(cached) $ECHO_C" >&6
34252 ac_check_lib_save_LIBS=$LIBS
34253 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34254 cat >conftest.$ac_ext <<_ACEOF
34257 cat confdefs.h >>conftest.$ac_ext
34258 cat >>conftest.$ac_ext <<_ACEOF
34259 /* end confdefs.h. */
34261 /* Override any GCC internal prototype to avoid an error.
34262 Use char because int might match the return type of a GCC
34263 builtin and then its argument prototype would still apply. */
34267 char XShapeQueryExtension ();
34271 return XShapeQueryExtension ();
34276 rm -f conftest.$ac_objext conftest$ac_exeext
34277 if { (ac_try="$ac_link"
34278 case "(($ac_try" in
34279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34280 *) ac_try_echo=$ac_try;;
34282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34283 (eval "$ac_link") 2>conftest.er1
34285 grep -v '^ *+' conftest.er1 >conftest.err
34287 cat conftest.err >&5
34288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34289 (exit $ac_status); } && {
34290 test -z "$ac_c_werror_flag" ||
34291 test ! -s conftest.err
34292 } && test -s conftest$ac_exeext &&
34293 $as_test_x conftest$ac_exeext; then
34294 ac_cv_lib_Xext_XShapeQueryExtension=yes
34296 echo "$as_me: failed program was:" >&5
34297 sed 's/^/| /' conftest.$ac_ext >&5
34299 ac_cv_lib_Xext_XShapeQueryExtension=no
34302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34303 conftest$ac_exeext conftest.$ac_ext
34304 LIBS=$ac_check_lib_save_LIBS
34306 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34307 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34308 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34310 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34316 if test "$wxHAVE_XEXT_LIB" = 1; then
34317 save_CFLAGS="$CFLAGS"
34318 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34320 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34321 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34322 cat >conftest.$ac_ext <<_ACEOF
34325 cat confdefs.h >>conftest.$ac_ext
34326 cat >>conftest.$ac_ext <<_ACEOF
34327 /* end confdefs.h. */
34329 #include <X11/Xlib.h>
34330 #include <X11/extensions/shape.h>
34336 int dummy1, dummy2;
34337 XShapeQueryExtension((Display*)NULL,
34338 (int*)NULL, (int*)NULL);
34344 rm -f conftest.$ac_objext
34345 if { (ac_try="$ac_compile"
34346 case "(($ac_try" in
34347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34348 *) ac_try_echo=$ac_try;;
34350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34351 (eval "$ac_compile") 2>conftest.er1
34353 grep -v '^ *+' conftest.er1 >conftest.err
34355 cat conftest.err >&5
34356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34357 (exit $ac_status); } && {
34358 test -z "$ac_c_werror_flag" ||
34359 test ! -s conftest.err
34360 } && test -s conftest.$ac_objext; then
34362 cat >>confdefs.h <<\_ACEOF
34363 #define HAVE_XSHAPE 1
34366 { echo "$as_me:$LINENO: result: found" >&5
34367 echo "${ECHO_T}found" >&6; }
34370 echo "$as_me: failed program was:" >&5
34371 sed 's/^/| /' conftest.$ac_ext >&5
34374 { echo "$as_me:$LINENO: result: not found" >&5
34375 echo "${ECHO_T}not found" >&6; }
34379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34380 CFLAGS="$save_CFLAGS"
34385 if test "$wxUSE_OSX_CARBON" = 1; then
34386 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34387 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34388 if test "$GCC" = yes; then
34389 { echo "$as_me:$LINENO: result: gcc" >&5
34390 echo "${ECHO_T}gcc" >&6; }
34391 CPPFLAGS_PASCAL="-fpascal-strings"
34392 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34393 { echo "$as_me:$LINENO: result: xlc" >&5
34394 echo "${ECHO_T}xlc" >&6; }
34395 CPPFLAGS_PASCAL="-qmacpstr"
34397 { echo "$as_me:$LINENO: result: none" >&5
34398 echo "${ECHO_T}none" >&6; }
34401 if test "x$wxUSE_UNIX" = "xyes"; then
34402 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34404 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34408 GUIDIST=OSX_CARBON_DIST
34409 WXBASEPORT="_carbon"
34411 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34414 if test "$wxUSE_OSX_COCOA" = 1; then
34416 GUIDIST=OSX_COCOA_DIST
34418 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34421 if test "$wxUSE_OSX_IPHONE" = 1; then
34425 if test "$wxUSE_OLD_COCOA" = 1; then
34430 if test "$wxUSE_PM" = 1; then
34433 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34434 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34435 if test "${wx_cv_spbcdata+set}" = set; then
34436 echo $ECHO_N "(cached) $ECHO_C" >&6
34439 cat >conftest.$ac_ext <<_ACEOF
34442 cat confdefs.h >>conftest.$ac_ext
34443 cat >>conftest.$ac_ext <<_ACEOF
34444 /* end confdefs.h. */
34459 rm -f conftest.$ac_objext
34460 if { (ac_try="$ac_compile"
34461 case "(($ac_try" in
34462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34463 *) ac_try_echo=$ac_try;;
34465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34466 (eval "$ac_compile") 2>conftest.er1
34468 grep -v '^ *+' conftest.er1 >conftest.err
34470 cat conftest.err >&5
34471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472 (exit $ac_status); } && {
34473 test -z "$ac_c_werror_flag" ||
34474 test ! -s conftest.err
34475 } && test -s conftest.$ac_objext; then
34478 echo "$as_me: failed program was:" >&5
34479 sed 's/^/| /' conftest.$ac_ext >&5
34485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34489 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34490 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34492 if test $wx_cv_spbcdata = "yes"; then
34493 cat >>confdefs.h <<\_ACEOF
34494 #define HAVE_SPBCDATA 1
34500 if test "$TOOLKIT" = "PM" ; then
34503 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34506 if test "$wxUSE_UNIVERSAL" = "yes"; then
34507 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34511 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34512 DISTDIR="wx\$(TOOLKIT)"
34518 if test "$USE_WIN32" = 1 ; then
34522 GUIDIST="BASE_DIST"
34528 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34529 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34530 wxUSE_UNICODE_UTF8=yes
34531 elif test "$USE_OS2" = 1 ; then
34532 wxUSE_UNICODE_UTF8=yes
34534 wxUSE_UNICODE_UTF8=no
34539 if test "$wxUSE_GUI" = "yes"; then
34540 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34542 for ac_header in X11/Xlib.h
34544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34545 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34547 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34548 echo $ECHO_N "(cached) $ECHO_C" >&6
34550 cat >conftest.$ac_ext <<_ACEOF
34553 cat confdefs.h >>conftest.$ac_ext
34554 cat >>conftest.$ac_ext <<_ACEOF
34555 /* end confdefs.h. */
34558 #include <$ac_header>
34560 rm -f conftest.$ac_objext
34561 if { (ac_try="$ac_compile"
34562 case "(($ac_try" in
34563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34564 *) ac_try_echo=$ac_try;;
34566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34567 (eval "$ac_compile") 2>conftest.er1
34569 grep -v '^ *+' conftest.er1 >conftest.err
34571 cat conftest.err >&5
34572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34573 (exit $ac_status); } && {
34574 test -z "$ac_c_werror_flag" ||
34575 test ! -s conftest.err
34576 } && test -s conftest.$ac_objext; then
34577 eval "$as_ac_Header=yes"
34579 echo "$as_me: failed program was:" >&5
34580 sed 's/^/| /' conftest.$ac_ext >&5
34582 eval "$as_ac_Header=no"
34585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34587 ac_res=`eval echo '${'$as_ac_Header'}'`
34588 { echo "$as_me:$LINENO: result: $ac_res" >&5
34589 echo "${ECHO_T}$ac_res" >&6; }
34590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34591 cat >>confdefs.h <<_ACEOF
34592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34600 for ac_header in X11/XKBlib.h
34602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34606 echo $ECHO_N "(cached) $ECHO_C" >&6
34608 cat >conftest.$ac_ext <<_ACEOF
34611 cat confdefs.h >>conftest.$ac_ext
34612 cat >>conftest.$ac_ext <<_ACEOF
34613 /* end confdefs.h. */
34615 #if HAVE_X11_XLIB_H
34616 #include <X11/Xlib.h>
34620 #include <$ac_header>
34622 rm -f conftest.$ac_objext
34623 if { (ac_try="$ac_compile"
34624 case "(($ac_try" in
34625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34626 *) ac_try_echo=$ac_try;;
34628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34629 (eval "$ac_compile") 2>conftest.er1
34631 grep -v '^ *+' conftest.er1 >conftest.err
34633 cat conftest.err >&5
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); } && {
34636 test -z "$ac_c_werror_flag" ||
34637 test ! -s conftest.err
34638 } && test -s conftest.$ac_objext; then
34639 eval "$as_ac_Header=yes"
34641 echo "$as_me: failed program was:" >&5
34642 sed 's/^/| /' conftest.$ac_ext >&5
34644 eval "$as_ac_Header=no"
34647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34649 ac_res=`eval echo '${'$as_ac_Header'}'`
34650 { echo "$as_me:$LINENO: result: $ac_res" >&5
34651 echo "${ECHO_T}$ac_res" >&6; }
34652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34653 cat >>confdefs.h <<_ACEOF
34654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34667 if test "$wxUSE_DISPLAY" = "yes"; then
34668 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34672 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
34675 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34676 if test -n "$ac_tool_prefix"; then
34677 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34678 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34681 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34682 echo $ECHO_N "(cached) $ECHO_C" >&6
34684 case $PKG_CONFIG in
34686 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34690 for as_dir in $PATH
34693 test -z "$as_dir" && as_dir=.
34694 for ac_exec_ext in '' $ac_executable_extensions; do
34695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34696 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34707 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34708 if test -n "$PKG_CONFIG"; then
34709 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34710 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34712 { echo "$as_me:$LINENO: result: no" >&5
34713 echo "${ECHO_T}no" >&6; }
34718 if test -z "$ac_cv_path_PKG_CONFIG"; then
34719 ac_pt_PKG_CONFIG=$PKG_CONFIG
34720 # Extract the first word of "pkg-config", so it can be a program name with args.
34721 set dummy pkg-config; ac_word=$2
34722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34724 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34727 case $ac_pt_PKG_CONFIG in
34729 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34733 for as_dir in $PATH
34736 test -z "$as_dir" && as_dir=.
34737 for ac_exec_ext in '' $ac_executable_extensions; do
34738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34739 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34750 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34751 if test -n "$ac_pt_PKG_CONFIG"; then
34752 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34753 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34755 { echo "$as_me:$LINENO: result: no" >&5
34756 echo "${ECHO_T}no" >&6; }
34759 if test "x$ac_pt_PKG_CONFIG" = x; then
34762 case $cross_compiling:$ac_tool_warned in
34764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34765 whose name does not start with the host triplet. If you think this
34766 configuration is useful to you, please write to autoconf@gnu.org." >&5
34767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34768 whose name does not start with the host triplet. If you think this
34769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34770 ac_tool_warned=yes ;;
34772 PKG_CONFIG=$ac_pt_PKG_CONFIG
34775 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34779 if test -n "$PKG_CONFIG"; then
34780 _pkg_min_version=0.9.0
34781 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34782 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34783 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34784 { echo "$as_me:$LINENO: result: yes" >&5
34785 echo "${ECHO_T}yes" >&6; }
34787 { echo "$as_me:$LINENO: result: no" >&5
34788 echo "${ECHO_T}no" >&6; }
34795 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34796 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34798 if test -n "$PKG_CONFIG"; then
34799 if test -n "$Xinerama_CFLAGS"; then
34800 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
34802 if test -n "$PKG_CONFIG" && \
34803 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34804 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34807 (exit $ac_status); }; then
34808 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
34816 if test -n "$PKG_CONFIG"; then
34817 if test -n "$Xinerama_LIBS"; then
34818 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
34820 if test -n "$PKG_CONFIG" && \
34821 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34822 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825 (exit $ac_status); }; then
34826 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
34837 if test $pkg_failed = yes; then
34839 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34840 _pkg_short_errors_supported=yes
34842 _pkg_short_errors_supported=no
34844 if test $_pkg_short_errors_supported = yes; then
34845 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
34847 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
34849 # Put the nasty error message in config.log where it belongs
34850 echo "$Xinerama_PKG_ERRORS" >&5
34853 if test "x$ac_find_libraries" = "x"; then
34854 if test "xXineramaQueryScreens" != "x"; then
34855 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34856 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34857 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34858 echo $ECHO_N "(cached) $ECHO_C" >&6
34860 ac_check_lib_save_LIBS=$LIBS
34861 LIBS="-lXinerama $LIBS"
34862 cat >conftest.$ac_ext <<_ACEOF
34865 cat confdefs.h >>conftest.$ac_ext
34866 cat >>conftest.$ac_ext <<_ACEOF
34867 /* end confdefs.h. */
34869 /* Override any GCC internal prototype to avoid an error.
34870 Use char because int might match the return type of a GCC
34871 builtin and then its argument prototype would still apply. */
34875 char XineramaQueryScreens ();
34879 return XineramaQueryScreens ();
34884 rm -f conftest.$ac_objext conftest$ac_exeext
34885 if { (ac_try="$ac_link"
34886 case "(($ac_try" in
34887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34888 *) ac_try_echo=$ac_try;;
34890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34891 (eval "$ac_link") 2>conftest.er1
34893 grep -v '^ *+' conftest.er1 >conftest.err
34895 cat conftest.err >&5
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); } && {
34898 test -z "$ac_c_werror_flag" ||
34899 test ! -s conftest.err
34900 } && test -s conftest$ac_exeext &&
34901 $as_test_x conftest$ac_exeext; then
34902 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34904 echo "$as_me: failed program was:" >&5
34905 sed 's/^/| /' conftest.$ac_ext >&5
34907 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34911 conftest$ac_exeext conftest.$ac_ext
34912 LIBS=$ac_check_lib_save_LIBS
34914 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34915 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34916 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34917 ac_find_libraries="std"
34923 if test "x$ac_find_libraries" = "x"; then
34924 { echo "$as_me:$LINENO: checking elsewhere" >&5
34925 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34928 for ac_dir in $SEARCH_LIB
34930 for ac_extension in a so sl dylib dll.a; do
34931 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34932 ac_find_libraries=$ac_dir
34938 if test "x$ac_find_libraries" != "x"; then
34939 { echo "$as_me:$LINENO: result: yes" >&5
34940 echo "${ECHO_T}yes" >&6; }
34942 { echo "$as_me:$LINENO: result: no" >&5
34943 echo "${ECHO_T}no" >&6; }
34947 elif test $pkg_failed = untried; then
34949 if test "x$ac_find_libraries" = "x"; then
34950 if test "xXineramaQueryScreens" != "x"; then
34951 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34952 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34953 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34954 echo $ECHO_N "(cached) $ECHO_C" >&6
34956 ac_check_lib_save_LIBS=$LIBS
34957 LIBS="-lXinerama $LIBS"
34958 cat >conftest.$ac_ext <<_ACEOF
34961 cat confdefs.h >>conftest.$ac_ext
34962 cat >>conftest.$ac_ext <<_ACEOF
34963 /* end confdefs.h. */
34965 /* Override any GCC internal prototype to avoid an error.
34966 Use char because int might match the return type of a GCC
34967 builtin and then its argument prototype would still apply. */
34971 char XineramaQueryScreens ();
34975 return XineramaQueryScreens ();
34980 rm -f conftest.$ac_objext conftest$ac_exeext
34981 if { (ac_try="$ac_link"
34982 case "(($ac_try" in
34983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34984 *) ac_try_echo=$ac_try;;
34986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34987 (eval "$ac_link") 2>conftest.er1
34989 grep -v '^ *+' conftest.er1 >conftest.err
34991 cat conftest.err >&5
34992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34993 (exit $ac_status); } && {
34994 test -z "$ac_c_werror_flag" ||
34995 test ! -s conftest.err
34996 } && test -s conftest$ac_exeext &&
34997 $as_test_x conftest$ac_exeext; then
34998 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.$ac_ext >&5
35003 ac_cv_lib_Xinerama_XineramaQueryScreens=no
35006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35007 conftest$ac_exeext conftest.$ac_ext
35008 LIBS=$ac_check_lib_save_LIBS
35010 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
35011 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
35012 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
35013 ac_find_libraries="std"
35019 if test "x$ac_find_libraries" = "x"; then
35020 { echo "$as_me:$LINENO: checking elsewhere" >&5
35021 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35024 for ac_dir in $SEARCH_LIB
35026 for ac_extension in a so sl dylib dll.a; do
35027 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35028 ac_find_libraries=$ac_dir
35034 if test "x$ac_find_libraries" != "x"; then
35035 { echo "$as_me:$LINENO: result: yes" >&5
35036 echo "${ECHO_T}yes" >&6; }
35038 { echo "$as_me:$LINENO: result: no" >&5
35039 echo "${ECHO_T}no" >&6; }
35044 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
35045 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
35046 { echo "$as_me:$LINENO: result: yes" >&5
35047 echo "${ECHO_T}yes" >&6; }
35049 ac_find_libraries="std"
35051 eval ac_find_cflags=\$Xinerama_CFLAGS
35052 eval fl_libs=\$Xinerama_LIBS
35054 for fl_path in $fl_libs
35056 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35057 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35063 if test "$ac_find_libraries" != "" ; then
35064 if test "$ac_find_libraries" != "std" ; then
35066 if test "$ac_find_libraries" = "default location"; then
35069 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35071 if test $result = 0; then
35074 ac_path_to_link=" -L$ac_find_libraries"
35078 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35079 LDFLAGS="$LDFLAGS $ac_path_to_link"
35083 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35085 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35086 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35089 elif test "$wxUSE_MSW" = 1; then
35090 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35091 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35092 if test "${ac_cv_header_ddraw_h+set}" = set; then
35093 echo $ECHO_N "(cached) $ECHO_C" >&6
35095 cat >conftest.$ac_ext <<_ACEOF
35098 cat confdefs.h >>conftest.$ac_ext
35099 cat >>conftest.$ac_ext <<_ACEOF
35100 /* end confdefs.h. */
35101 #include <windows.h>
35105 rm -f conftest.$ac_objext
35106 if { (ac_try="$ac_compile"
35107 case "(($ac_try" in
35108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35109 *) ac_try_echo=$ac_try;;
35111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35112 (eval "$ac_compile") 2>conftest.er1
35114 grep -v '^ *+' conftest.er1 >conftest.err
35116 cat conftest.err >&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } && {
35119 test -z "$ac_c_werror_flag" ||
35120 test ! -s conftest.err
35121 } && test -s conftest.$ac_objext; then
35122 ac_cv_header_ddraw_h=yes
35124 echo "$as_me: failed program was:" >&5
35125 sed 's/^/| /' conftest.$ac_ext >&5
35127 ac_cv_header_ddraw_h=no
35130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35132 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35133 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35139 if test "$wxUSE_DISPLAY" = "yes"; then
35140 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
35144 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
35147 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35148 if test -n "$ac_tool_prefix"; then
35149 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35150 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35153 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35154 echo $ECHO_N "(cached) $ECHO_C" >&6
35156 case $PKG_CONFIG in
35158 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35162 for as_dir in $PATH
35165 test -z "$as_dir" && as_dir=.
35166 for ac_exec_ext in '' $ac_executable_extensions; do
35167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35168 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35179 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35180 if test -n "$PKG_CONFIG"; then
35181 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35182 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35184 { echo "$as_me:$LINENO: result: no" >&5
35185 echo "${ECHO_T}no" >&6; }
35190 if test -z "$ac_cv_path_PKG_CONFIG"; then
35191 ac_pt_PKG_CONFIG=$PKG_CONFIG
35192 # Extract the first word of "pkg-config", so it can be a program name with args.
35193 set dummy pkg-config; ac_word=$2
35194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35196 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35197 echo $ECHO_N "(cached) $ECHO_C" >&6
35199 case $ac_pt_PKG_CONFIG in
35201 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35205 for as_dir in $PATH
35208 test -z "$as_dir" && as_dir=.
35209 for ac_exec_ext in '' $ac_executable_extensions; do
35210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35211 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35222 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35223 if test -n "$ac_pt_PKG_CONFIG"; then
35224 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35225 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35227 { echo "$as_me:$LINENO: result: no" >&5
35228 echo "${ECHO_T}no" >&6; }
35231 if test "x$ac_pt_PKG_CONFIG" = x; then
35234 case $cross_compiling:$ac_tool_warned in
35236 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35237 whose name does not start with the host triplet. If you think this
35238 configuration is useful to you, please write to autoconf@gnu.org." >&5
35239 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35240 whose name does not start with the host triplet. If you think this
35241 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35242 ac_tool_warned=yes ;;
35244 PKG_CONFIG=$ac_pt_PKG_CONFIG
35247 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35251 if test -n "$PKG_CONFIG"; then
35252 _pkg_min_version=0.9.0
35253 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35254 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35255 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35256 { echo "$as_me:$LINENO: result: yes" >&5
35257 echo "${ECHO_T}yes" >&6; }
35259 { echo "$as_me:$LINENO: result: no" >&5
35260 echo "${ECHO_T}no" >&6; }
35267 { echo "$as_me:$LINENO: checking for Xxf86vm" >&5
35268 echo $ECHO_N "checking for Xxf86vm... $ECHO_C" >&6; }
35270 if test -n "$PKG_CONFIG"; then
35271 if test -n "$Xxf86vm_CFLAGS"; then
35272 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
35274 if test -n "$PKG_CONFIG" && \
35275 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35276 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35279 (exit $ac_status); }; then
35280 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35288 if test -n "$PKG_CONFIG"; then
35289 if test -n "$Xxf86vm_LIBS"; then
35290 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
35292 if test -n "$PKG_CONFIG" && \
35293 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35294 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35297 (exit $ac_status); }; then
35298 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35309 if test $pkg_failed = yes; then
35311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35312 _pkg_short_errors_supported=yes
35314 _pkg_short_errors_supported=no
35316 if test $_pkg_short_errors_supported = yes; then
35317 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35319 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35321 # Put the nasty error message in config.log where it belongs
35322 echo "$Xxf86vm_PKG_ERRORS" >&5
35325 if test "x$ac_find_libraries" = "x"; then
35326 if test "xXF86VidModeQueryExtension" != "x"; then
35327 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35328 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35329 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35330 echo $ECHO_N "(cached) $ECHO_C" >&6
35332 ac_check_lib_save_LIBS=$LIBS
35333 LIBS="-lXxf86vm $LIBS"
35334 cat >conftest.$ac_ext <<_ACEOF
35337 cat confdefs.h >>conftest.$ac_ext
35338 cat >>conftest.$ac_ext <<_ACEOF
35339 /* end confdefs.h. */
35341 /* Override any GCC internal prototype to avoid an error.
35342 Use char because int might match the return type of a GCC
35343 builtin and then its argument prototype would still apply. */
35347 char XF86VidModeQueryExtension ();
35351 return XF86VidModeQueryExtension ();
35356 rm -f conftest.$ac_objext conftest$ac_exeext
35357 if { (ac_try="$ac_link"
35358 case "(($ac_try" in
35359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35360 *) ac_try_echo=$ac_try;;
35362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35363 (eval "$ac_link") 2>conftest.er1
35365 grep -v '^ *+' conftest.er1 >conftest.err
35367 cat conftest.err >&5
35368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35369 (exit $ac_status); } && {
35370 test -z "$ac_c_werror_flag" ||
35371 test ! -s conftest.err
35372 } && test -s conftest$ac_exeext &&
35373 $as_test_x conftest$ac_exeext; then
35374 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35376 echo "$as_me: failed program was:" >&5
35377 sed 's/^/| /' conftest.$ac_ext >&5
35379 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35383 conftest$ac_exeext conftest.$ac_ext
35384 LIBS=$ac_check_lib_save_LIBS
35386 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35387 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35388 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35389 ac_find_libraries="std"
35395 if test "x$ac_find_libraries" = "x"; then
35396 { echo "$as_me:$LINENO: checking elsewhere" >&5
35397 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35400 for ac_dir in $SEARCH_LIB
35402 for ac_extension in a so sl dylib dll.a; do
35403 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35404 ac_find_libraries=$ac_dir
35410 if test "x$ac_find_libraries" != "x"; then
35411 { echo "$as_me:$LINENO: result: yes" >&5
35412 echo "${ECHO_T}yes" >&6; }
35414 { echo "$as_me:$LINENO: result: no" >&5
35415 echo "${ECHO_T}no" >&6; }
35419 elif test $pkg_failed = untried; then
35421 if test "x$ac_find_libraries" = "x"; then
35422 if test "xXF86VidModeQueryExtension" != "x"; then
35423 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35424 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35425 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35426 echo $ECHO_N "(cached) $ECHO_C" >&6
35428 ac_check_lib_save_LIBS=$LIBS
35429 LIBS="-lXxf86vm $LIBS"
35430 cat >conftest.$ac_ext <<_ACEOF
35433 cat confdefs.h >>conftest.$ac_ext
35434 cat >>conftest.$ac_ext <<_ACEOF
35435 /* end confdefs.h. */
35437 /* Override any GCC internal prototype to avoid an error.
35438 Use char because int might match the return type of a GCC
35439 builtin and then its argument prototype would still apply. */
35443 char XF86VidModeQueryExtension ();
35447 return XF86VidModeQueryExtension ();
35452 rm -f conftest.$ac_objext conftest$ac_exeext
35453 if { (ac_try="$ac_link"
35454 case "(($ac_try" in
35455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35456 *) ac_try_echo=$ac_try;;
35458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35459 (eval "$ac_link") 2>conftest.er1
35461 grep -v '^ *+' conftest.er1 >conftest.err
35463 cat conftest.err >&5
35464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35465 (exit $ac_status); } && {
35466 test -z "$ac_c_werror_flag" ||
35467 test ! -s conftest.err
35468 } && test -s conftest$ac_exeext &&
35469 $as_test_x conftest$ac_exeext; then
35470 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35472 echo "$as_me: failed program was:" >&5
35473 sed 's/^/| /' conftest.$ac_ext >&5
35475 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35479 conftest$ac_exeext conftest.$ac_ext
35480 LIBS=$ac_check_lib_save_LIBS
35482 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35483 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35484 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35485 ac_find_libraries="std"
35491 if test "x$ac_find_libraries" = "x"; then
35492 { echo "$as_me:$LINENO: checking elsewhere" >&5
35493 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35496 for ac_dir in $SEARCH_LIB
35498 for ac_extension in a so sl dylib dll.a; do
35499 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35500 ac_find_libraries=$ac_dir
35506 if test "x$ac_find_libraries" != "x"; then
35507 { echo "$as_me:$LINENO: result: yes" >&5
35508 echo "${ECHO_T}yes" >&6; }
35510 { echo "$as_me:$LINENO: result: no" >&5
35511 echo "${ECHO_T}no" >&6; }
35516 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
35517 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
35518 { echo "$as_me:$LINENO: result: yes" >&5
35519 echo "${ECHO_T}yes" >&6; }
35521 ac_find_libraries="std"
35523 eval ac_find_cflags=\$Xxf86vm_CFLAGS
35524 eval fl_libs=\$Xxf86vm_LIBS
35526 for fl_path in $fl_libs
35528 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35529 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35535 if test "$ac_find_libraries" != "" ; then
35537 for ac_header in X11/extensions/xf86vmode.h
35539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35540 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35543 echo $ECHO_N "(cached) $ECHO_C" >&6
35545 cat >conftest.$ac_ext <<_ACEOF
35548 cat confdefs.h >>conftest.$ac_ext
35549 cat >>conftest.$ac_ext <<_ACEOF
35550 /* end confdefs.h. */
35552 #if HAVE_X11_XLIB_H
35553 #include <X11/Xlib.h>
35557 #include <$ac_header>
35559 rm -f conftest.$ac_objext
35560 if { (ac_try="$ac_compile"
35561 case "(($ac_try" in
35562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35563 *) ac_try_echo=$ac_try;;
35565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35566 (eval "$ac_compile") 2>conftest.er1
35568 grep -v '^ *+' conftest.er1 >conftest.err
35570 cat conftest.err >&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); } && {
35573 test -z "$ac_c_werror_flag" ||
35574 test ! -s conftest.err
35575 } && test -s conftest.$ac_objext; then
35576 eval "$as_ac_Header=yes"
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35581 eval "$as_ac_Header=no"
35584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35586 ac_res=`eval echo '${'$as_ac_Header'}'`
35587 { echo "$as_me:$LINENO: result: $ac_res" >&5
35588 echo "${ECHO_T}$ac_res" >&6; }
35589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35590 cat >>confdefs.h <<_ACEOF
35591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35594 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35604 if test "$wxUSE_DETECT_SM" = "yes"; then
35605 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
35609 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
35612 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35613 if test -n "$ac_tool_prefix"; then
35614 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35615 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35618 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35619 echo $ECHO_N "(cached) $ECHO_C" >&6
35621 case $PKG_CONFIG in
35623 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35627 for as_dir in $PATH
35630 test -z "$as_dir" && as_dir=.
35631 for ac_exec_ext in '' $ac_executable_extensions; do
35632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35633 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35644 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35645 if test -n "$PKG_CONFIG"; then
35646 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35647 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35649 { echo "$as_me:$LINENO: result: no" >&5
35650 echo "${ECHO_T}no" >&6; }
35655 if test -z "$ac_cv_path_PKG_CONFIG"; then
35656 ac_pt_PKG_CONFIG=$PKG_CONFIG
35657 # Extract the first word of "pkg-config", so it can be a program name with args.
35658 set dummy pkg-config; ac_word=$2
35659 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35661 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35662 echo $ECHO_N "(cached) $ECHO_C" >&6
35664 case $ac_pt_PKG_CONFIG in
35666 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35670 for as_dir in $PATH
35673 test -z "$as_dir" && as_dir=.
35674 for ac_exec_ext in '' $ac_executable_extensions; do
35675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35676 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35687 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35688 if test -n "$ac_pt_PKG_CONFIG"; then
35689 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35690 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35692 { echo "$as_me:$LINENO: result: no" >&5
35693 echo "${ECHO_T}no" >&6; }
35696 if test "x$ac_pt_PKG_CONFIG" = x; then
35699 case $cross_compiling:$ac_tool_warned in
35701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35702 whose name does not start with the host triplet. If you think this
35703 configuration is useful to you, please write to autoconf@gnu.org." >&5
35704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35705 whose name does not start with the host triplet. If you think this
35706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35707 ac_tool_warned=yes ;;
35709 PKG_CONFIG=$ac_pt_PKG_CONFIG
35712 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35716 if test -n "$PKG_CONFIG"; then
35717 _pkg_min_version=0.9.0
35718 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35719 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35720 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35721 { echo "$as_me:$LINENO: result: yes" >&5
35722 echo "${ECHO_T}yes" >&6; }
35724 { echo "$as_me:$LINENO: result: no" >&5
35725 echo "${ECHO_T}no" >&6; }
35732 { echo "$as_me:$LINENO: checking for SM" >&5
35733 echo $ECHO_N "checking for SM... $ECHO_C" >&6; }
35735 if test -n "$PKG_CONFIG"; then
35736 if test -n "$SM_CFLAGS"; then
35737 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
35739 if test -n "$PKG_CONFIG" && \
35740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35741 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35744 (exit $ac_status); }; then
35745 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35753 if test -n "$PKG_CONFIG"; then
35754 if test -n "$SM_LIBS"; then
35755 pkg_cv_SM_LIBS="$SM_LIBS"
35757 if test -n "$PKG_CONFIG" && \
35758 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35759 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); }; then
35763 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35774 if test $pkg_failed = yes; then
35776 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35777 _pkg_short_errors_supported=yes
35779 _pkg_short_errors_supported=no
35781 if test $_pkg_short_errors_supported = yes; then
35782 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35784 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35786 # Put the nasty error message in config.log where it belongs
35787 echo "$SM_PKG_ERRORS" >&5
35790 if test "x$ac_find_libraries" = "x"; then
35791 if test "xSmcOpenConnection" != "x"; then
35792 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35793 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35794 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35795 echo $ECHO_N "(cached) $ECHO_C" >&6
35797 ac_check_lib_save_LIBS=$LIBS
35799 cat >conftest.$ac_ext <<_ACEOF
35802 cat confdefs.h >>conftest.$ac_ext
35803 cat >>conftest.$ac_ext <<_ACEOF
35804 /* end confdefs.h. */
35806 /* Override any GCC internal prototype to avoid an error.
35807 Use char because int might match the return type of a GCC
35808 builtin and then its argument prototype would still apply. */
35812 char SmcOpenConnection ();
35816 return SmcOpenConnection ();
35821 rm -f conftest.$ac_objext conftest$ac_exeext
35822 if { (ac_try="$ac_link"
35823 case "(($ac_try" in
35824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35825 *) ac_try_echo=$ac_try;;
35827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35828 (eval "$ac_link") 2>conftest.er1
35830 grep -v '^ *+' conftest.er1 >conftest.err
35832 cat conftest.err >&5
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); } && {
35835 test -z "$ac_c_werror_flag" ||
35836 test ! -s conftest.err
35837 } && test -s conftest$ac_exeext &&
35838 $as_test_x conftest$ac_exeext; then
35839 ac_cv_lib_SM_SmcOpenConnection=yes
35841 echo "$as_me: failed program was:" >&5
35842 sed 's/^/| /' conftest.$ac_ext >&5
35844 ac_cv_lib_SM_SmcOpenConnection=no
35847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35848 conftest$ac_exeext conftest.$ac_ext
35849 LIBS=$ac_check_lib_save_LIBS
35851 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35852 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35853 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35854 ac_find_libraries="std"
35860 if test "x$ac_find_libraries" = "x"; then
35861 { echo "$as_me:$LINENO: checking elsewhere" >&5
35862 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35865 for ac_dir in $SEARCH_LIB
35867 for ac_extension in a so sl dylib dll.a; do
35868 if test -f "$ac_dir/libSM.$ac_extension"; then
35869 ac_find_libraries=$ac_dir
35875 if test "x$ac_find_libraries" != "x"; then
35876 { echo "$as_me:$LINENO: result: yes" >&5
35877 echo "${ECHO_T}yes" >&6; }
35879 { echo "$as_me:$LINENO: result: no" >&5
35880 echo "${ECHO_T}no" >&6; }
35884 elif test $pkg_failed = untried; then
35886 if test "x$ac_find_libraries" = "x"; then
35887 if test "xSmcOpenConnection" != "x"; then
35888 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35889 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35890 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35891 echo $ECHO_N "(cached) $ECHO_C" >&6
35893 ac_check_lib_save_LIBS=$LIBS
35895 cat >conftest.$ac_ext <<_ACEOF
35898 cat confdefs.h >>conftest.$ac_ext
35899 cat >>conftest.$ac_ext <<_ACEOF
35900 /* end confdefs.h. */
35902 /* Override any GCC internal prototype to avoid an error.
35903 Use char because int might match the return type of a GCC
35904 builtin and then its argument prototype would still apply. */
35908 char SmcOpenConnection ();
35912 return SmcOpenConnection ();
35917 rm -f conftest.$ac_objext conftest$ac_exeext
35918 if { (ac_try="$ac_link"
35919 case "(($ac_try" in
35920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35921 *) ac_try_echo=$ac_try;;
35923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35924 (eval "$ac_link") 2>conftest.er1
35926 grep -v '^ *+' conftest.er1 >conftest.err
35928 cat conftest.err >&5
35929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930 (exit $ac_status); } && {
35931 test -z "$ac_c_werror_flag" ||
35932 test ! -s conftest.err
35933 } && test -s conftest$ac_exeext &&
35934 $as_test_x conftest$ac_exeext; then
35935 ac_cv_lib_SM_SmcOpenConnection=yes
35937 echo "$as_me: failed program was:" >&5
35938 sed 's/^/| /' conftest.$ac_ext >&5
35940 ac_cv_lib_SM_SmcOpenConnection=no
35943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35944 conftest$ac_exeext conftest.$ac_ext
35945 LIBS=$ac_check_lib_save_LIBS
35947 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35948 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35949 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35950 ac_find_libraries="std"
35956 if test "x$ac_find_libraries" = "x"; then
35957 { echo "$as_me:$LINENO: checking elsewhere" >&5
35958 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35961 for ac_dir in $SEARCH_LIB
35963 for ac_extension in a so sl dylib dll.a; do
35964 if test -f "$ac_dir/libSM.$ac_extension"; then
35965 ac_find_libraries=$ac_dir
35971 if test "x$ac_find_libraries" != "x"; then
35972 { echo "$as_me:$LINENO: result: yes" >&5
35973 echo "${ECHO_T}yes" >&6; }
35975 { echo "$as_me:$LINENO: result: no" >&5
35976 echo "${ECHO_T}no" >&6; }
35981 SM_CFLAGS=$pkg_cv_SM_CFLAGS
35982 SM_LIBS=$pkg_cv_SM_LIBS
35983 { echo "$as_me:$LINENO: result: yes" >&5
35984 echo "${ECHO_T}yes" >&6; }
35986 ac_find_libraries="std"
35988 eval ac_find_cflags=\$SM_CFLAGS
35989 eval fl_libs=\$SM_LIBS
35991 for fl_path in $fl_libs
35993 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35994 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36000 if test "$ac_find_libraries" != "" ; then
36001 if test "$ac_find_libraries" != "std" ; then
36003 if test "$ac_find_libraries" = "default location"; then
36006 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36008 if test $result = 0; then
36011 ac_path_to_link=" -L$ac_find_libraries"
36015 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36016 LDFLAGS="$LDFLAGS $ac_path_to_link"
36019 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
36021 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
36022 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
36023 wxUSE_DETECT_SM="no"
36026 wxUSE_DETECT_SM="no"
36033 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
36036 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36037 OPENGL_LIBS="-framework OpenGL -framework AGL"
36038 elif test "$wxUSE_MSW" = 1; then
36039 OPENGL_LIBS="-lopengl32 -lglu32"
36040 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
36042 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
36043 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
36046 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
36048 if test -f "$ac_dir/GL/gl.h"; then
36049 ac_find_includes=$ac_dir
36054 if test "$ac_find_includes" != "" ; then
36055 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
36056 echo "${ECHO_T}found in $ac_find_includes" >&6; }
36058 if test "x$ac_find_includes" = "x/usr/include"; then
36059 ac_path_to_include=""
36061 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
36063 if test $result = 0; then
36064 ac_path_to_include=""
36066 ac_path_to_include=" -I$ac_find_includes"
36070 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
36072 { echo "$as_me:$LINENO: result: not found" >&5
36073 echo "${ECHO_T}not found" >&6; }
36076 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
36077 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
36078 if test "${ac_cv_header_GL_gl_h+set}" = set; then
36079 echo $ECHO_N "(cached) $ECHO_C" >&6
36081 cat >conftest.$ac_ext <<_ACEOF
36084 cat confdefs.h >>conftest.$ac_ext
36085 cat >>conftest.$ac_ext <<_ACEOF
36086 /* end confdefs.h. */
36091 rm -f conftest.$ac_objext
36092 if { (ac_try="$ac_compile"
36093 case "(($ac_try" in
36094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36095 *) ac_try_echo=$ac_try;;
36097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36098 (eval "$ac_compile") 2>conftest.er1
36100 grep -v '^ *+' conftest.er1 >conftest.err
36102 cat conftest.err >&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); } && {
36105 test -z "$ac_c_werror_flag" ||
36106 test ! -s conftest.err
36107 } && test -s conftest.$ac_objext; then
36108 ac_cv_header_GL_gl_h=yes
36110 echo "$as_me: failed program was:" >&5
36111 sed 's/^/| /' conftest.$ac_ext >&5
36113 ac_cv_header_GL_gl_h=no
36116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36118 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36119 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36120 if test $ac_cv_header_GL_gl_h = yes; then
36122 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36123 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36124 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36125 echo $ECHO_N "(cached) $ECHO_C" >&6
36127 cat >conftest.$ac_ext <<_ACEOF
36130 cat confdefs.h >>conftest.$ac_ext
36131 cat >>conftest.$ac_ext <<_ACEOF
36132 /* end confdefs.h. */
36135 #include <GL/glu.h>
36137 rm -f conftest.$ac_objext
36138 if { (ac_try="$ac_compile"
36139 case "(($ac_try" in
36140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36141 *) ac_try_echo=$ac_try;;
36143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36144 (eval "$ac_compile") 2>conftest.er1
36146 grep -v '^ *+' conftest.er1 >conftest.err
36148 cat conftest.err >&5
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); } && {
36151 test -z "$ac_c_werror_flag" ||
36152 test ! -s conftest.err
36153 } && test -s conftest.$ac_objext; then
36154 ac_cv_header_GL_glu_h=yes
36156 echo "$as_me: failed program was:" >&5
36157 sed 's/^/| /' conftest.$ac_ext >&5
36159 ac_cv_header_GL_glu_h=no
36162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36164 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36165 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36166 if test $ac_cv_header_GL_glu_h = yes; then
36173 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
36176 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36177 if test -n "$ac_tool_prefix"; then
36178 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36179 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36182 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36183 echo $ECHO_N "(cached) $ECHO_C" >&6
36185 case $PKG_CONFIG in
36187 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36191 for as_dir in $PATH
36194 test -z "$as_dir" && as_dir=.
36195 for ac_exec_ext in '' $ac_executable_extensions; do
36196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36197 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36208 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36209 if test -n "$PKG_CONFIG"; then
36210 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36211 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36213 { echo "$as_me:$LINENO: result: no" >&5
36214 echo "${ECHO_T}no" >&6; }
36219 if test -z "$ac_cv_path_PKG_CONFIG"; then
36220 ac_pt_PKG_CONFIG=$PKG_CONFIG
36221 # Extract the first word of "pkg-config", so it can be a program name with args.
36222 set dummy pkg-config; ac_word=$2
36223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36225 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36226 echo $ECHO_N "(cached) $ECHO_C" >&6
36228 case $ac_pt_PKG_CONFIG in
36230 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36234 for as_dir in $PATH
36237 test -z "$as_dir" && as_dir=.
36238 for ac_exec_ext in '' $ac_executable_extensions; do
36239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36240 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36251 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36252 if test -n "$ac_pt_PKG_CONFIG"; then
36253 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36254 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36256 { echo "$as_me:$LINENO: result: no" >&5
36257 echo "${ECHO_T}no" >&6; }
36260 if test "x$ac_pt_PKG_CONFIG" = x; then
36263 case $cross_compiling:$ac_tool_warned in
36265 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36266 whose name does not start with the host triplet. If you think this
36267 configuration is useful to you, please write to autoconf@gnu.org." >&5
36268 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36269 whose name does not start with the host triplet. If you think this
36270 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36271 ac_tool_warned=yes ;;
36273 PKG_CONFIG=$ac_pt_PKG_CONFIG
36276 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36280 if test -n "$PKG_CONFIG"; then
36281 _pkg_min_version=0.9.0
36282 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36283 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36284 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36285 { echo "$as_me:$LINENO: result: yes" >&5
36286 echo "${ECHO_T}yes" >&6; }
36288 { echo "$as_me:$LINENO: result: no" >&5
36289 echo "${ECHO_T}no" >&6; }
36296 { echo "$as_me:$LINENO: checking for GL" >&5
36297 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
36299 if test -n "$PKG_CONFIG"; then
36300 if test -n "$GL_CFLAGS"; then
36301 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
36303 if test -n "$PKG_CONFIG" && \
36304 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36305 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308 (exit $ac_status); }; then
36309 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36317 if test -n "$PKG_CONFIG"; then
36318 if test -n "$GL_LIBS"; then
36319 pkg_cv_GL_LIBS="$GL_LIBS"
36321 if test -n "$PKG_CONFIG" && \
36322 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36323 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); }; then
36327 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36338 if test $pkg_failed = yes; then
36340 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36341 _pkg_short_errors_supported=yes
36343 _pkg_short_errors_supported=no
36345 if test $_pkg_short_errors_supported = yes; then
36346 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36348 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36350 # Put the nasty error message in config.log where it belongs
36351 echo "$GL_PKG_ERRORS" >&5
36354 if test "x$ac_find_libraries" = "x"; then
36355 if test "xglBegin" != "x"; then
36356 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36357 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36358 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36359 echo $ECHO_N "(cached) $ECHO_C" >&6
36361 ac_check_lib_save_LIBS=$LIBS
36363 cat >conftest.$ac_ext <<_ACEOF
36366 cat confdefs.h >>conftest.$ac_ext
36367 cat >>conftest.$ac_ext <<_ACEOF
36368 /* end confdefs.h. */
36370 /* Override any GCC internal prototype to avoid an error.
36371 Use char because int might match the return type of a GCC
36372 builtin and then its argument prototype would still apply. */
36385 rm -f conftest.$ac_objext conftest$ac_exeext
36386 if { (ac_try="$ac_link"
36387 case "(($ac_try" in
36388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36389 *) ac_try_echo=$ac_try;;
36391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36392 (eval "$ac_link") 2>conftest.er1
36394 grep -v '^ *+' conftest.er1 >conftest.err
36396 cat conftest.err >&5
36397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36398 (exit $ac_status); } && {
36399 test -z "$ac_c_werror_flag" ||
36400 test ! -s conftest.err
36401 } && test -s conftest$ac_exeext &&
36402 $as_test_x conftest$ac_exeext; then
36403 ac_cv_lib_GL_glBegin=yes
36405 echo "$as_me: failed program was:" >&5
36406 sed 's/^/| /' conftest.$ac_ext >&5
36408 ac_cv_lib_GL_glBegin=no
36411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36412 conftest$ac_exeext conftest.$ac_ext
36413 LIBS=$ac_check_lib_save_LIBS
36415 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36416 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36417 if test $ac_cv_lib_GL_glBegin = yes; then
36418 ac_find_libraries="std"
36424 if test "x$ac_find_libraries" = "x"; then
36425 { echo "$as_me:$LINENO: checking elsewhere" >&5
36426 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36429 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36431 for ac_extension in a so sl dylib dll.a; do
36432 if test -f "$ac_dir/libGL.$ac_extension"; then
36433 ac_find_libraries=$ac_dir
36439 if test "x$ac_find_libraries" != "x"; then
36440 { echo "$as_me:$LINENO: result: yes" >&5
36441 echo "${ECHO_T}yes" >&6; }
36443 { echo "$as_me:$LINENO: result: no" >&5
36444 echo "${ECHO_T}no" >&6; }
36448 elif test $pkg_failed = untried; then
36450 if test "x$ac_find_libraries" = "x"; then
36451 if test "xglBegin" != "x"; then
36452 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36453 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36454 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36455 echo $ECHO_N "(cached) $ECHO_C" >&6
36457 ac_check_lib_save_LIBS=$LIBS
36459 cat >conftest.$ac_ext <<_ACEOF
36462 cat confdefs.h >>conftest.$ac_ext
36463 cat >>conftest.$ac_ext <<_ACEOF
36464 /* end confdefs.h. */
36466 /* Override any GCC internal prototype to avoid an error.
36467 Use char because int might match the return type of a GCC
36468 builtin and then its argument prototype would still apply. */
36481 rm -f conftest.$ac_objext conftest$ac_exeext
36482 if { (ac_try="$ac_link"
36483 case "(($ac_try" in
36484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36485 *) ac_try_echo=$ac_try;;
36487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36488 (eval "$ac_link") 2>conftest.er1
36490 grep -v '^ *+' conftest.er1 >conftest.err
36492 cat conftest.err >&5
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); } && {
36495 test -z "$ac_c_werror_flag" ||
36496 test ! -s conftest.err
36497 } && test -s conftest$ac_exeext &&
36498 $as_test_x conftest$ac_exeext; then
36499 ac_cv_lib_GL_glBegin=yes
36501 echo "$as_me: failed program was:" >&5
36502 sed 's/^/| /' conftest.$ac_ext >&5
36504 ac_cv_lib_GL_glBegin=no
36507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36508 conftest$ac_exeext conftest.$ac_ext
36509 LIBS=$ac_check_lib_save_LIBS
36511 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36512 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36513 if test $ac_cv_lib_GL_glBegin = yes; then
36514 ac_find_libraries="std"
36520 if test "x$ac_find_libraries" = "x"; then
36521 { echo "$as_me:$LINENO: checking elsewhere" >&5
36522 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36525 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36527 for ac_extension in a so sl dylib dll.a; do
36528 if test -f "$ac_dir/libGL.$ac_extension"; then
36529 ac_find_libraries=$ac_dir
36535 if test "x$ac_find_libraries" != "x"; then
36536 { echo "$as_me:$LINENO: result: yes" >&5
36537 echo "${ECHO_T}yes" >&6; }
36539 { echo "$as_me:$LINENO: result: no" >&5
36540 echo "${ECHO_T}no" >&6; }
36545 GL_CFLAGS=$pkg_cv_GL_CFLAGS
36546 GL_LIBS=$pkg_cv_GL_LIBS
36547 { echo "$as_me:$LINENO: result: yes" >&5
36548 echo "${ECHO_T}yes" >&6; }
36550 ac_find_libraries="std"
36552 eval ac_find_cflags=\$GL_CFLAGS
36553 eval fl_libs=\$GL_LIBS
36555 for fl_path in $fl_libs
36557 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36558 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36564 if test "$ac_find_libraries" != "" ; then
36565 if test "$ac_find_libraries" != "std" ; then
36567 if test "$ac_find_libraries" = "default location"; then
36570 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36572 if test $result = 0; then
36575 ac_path_to_link=" -L$ac_find_libraries"
36579 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36580 LDFLAGS_GL="$ac_path_to_link"
36587 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
36590 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36591 if test -n "$ac_tool_prefix"; then
36592 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36593 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36596 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36597 echo $ECHO_N "(cached) $ECHO_C" >&6
36599 case $PKG_CONFIG in
36601 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36605 for as_dir in $PATH
36608 test -z "$as_dir" && as_dir=.
36609 for ac_exec_ext in '' $ac_executable_extensions; do
36610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36611 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36622 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36623 if test -n "$PKG_CONFIG"; then
36624 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36625 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36627 { echo "$as_me:$LINENO: result: no" >&5
36628 echo "${ECHO_T}no" >&6; }
36633 if test -z "$ac_cv_path_PKG_CONFIG"; then
36634 ac_pt_PKG_CONFIG=$PKG_CONFIG
36635 # Extract the first word of "pkg-config", so it can be a program name with args.
36636 set dummy pkg-config; ac_word=$2
36637 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36639 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36640 echo $ECHO_N "(cached) $ECHO_C" >&6
36642 case $ac_pt_PKG_CONFIG in
36644 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36648 for as_dir in $PATH
36651 test -z "$as_dir" && as_dir=.
36652 for ac_exec_ext in '' $ac_executable_extensions; do
36653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36654 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36665 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36666 if test -n "$ac_pt_PKG_CONFIG"; then
36667 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36668 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36670 { echo "$as_me:$LINENO: result: no" >&5
36671 echo "${ECHO_T}no" >&6; }
36674 if test "x$ac_pt_PKG_CONFIG" = x; then
36677 case $cross_compiling:$ac_tool_warned in
36679 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36680 whose name does not start with the host triplet. If you think this
36681 configuration is useful to you, please write to autoconf@gnu.org." >&5
36682 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36683 whose name does not start with the host triplet. If you think this
36684 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36685 ac_tool_warned=yes ;;
36687 PKG_CONFIG=$ac_pt_PKG_CONFIG
36690 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36694 if test -n "$PKG_CONFIG"; then
36695 _pkg_min_version=0.9.0
36696 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36697 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36698 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36699 { echo "$as_me:$LINENO: result: yes" >&5
36700 echo "${ECHO_T}yes" >&6; }
36702 { echo "$as_me:$LINENO: result: no" >&5
36703 echo "${ECHO_T}no" >&6; }
36710 { echo "$as_me:$LINENO: checking for GLU" >&5
36711 echo $ECHO_N "checking for GLU... $ECHO_C" >&6; }
36713 if test -n "$PKG_CONFIG"; then
36714 if test -n "$GLU_CFLAGS"; then
36715 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
36717 if test -n "$PKG_CONFIG" && \
36718 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36719 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); }; then
36723 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36731 if test -n "$PKG_CONFIG"; then
36732 if test -n "$GLU_LIBS"; then
36733 pkg_cv_GLU_LIBS="$GLU_LIBS"
36735 if test -n "$PKG_CONFIG" && \
36736 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36737 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36740 (exit $ac_status); }; then
36741 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36752 if test $pkg_failed = yes; then
36754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36755 _pkg_short_errors_supported=yes
36757 _pkg_short_errors_supported=no
36759 if test $_pkg_short_errors_supported = yes; then
36760 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36762 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36764 # Put the nasty error message in config.log where it belongs
36765 echo "$GLU_PKG_ERRORS" >&5
36768 if test "x$ac_find_libraries" = "x"; then
36769 if test "xgluBeginCurve" != "x"; then
36770 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36771 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36772 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36773 echo $ECHO_N "(cached) $ECHO_C" >&6
36775 ac_check_lib_save_LIBS=$LIBS
36777 cat >conftest.$ac_ext <<_ACEOF
36780 cat confdefs.h >>conftest.$ac_ext
36781 cat >>conftest.$ac_ext <<_ACEOF
36782 /* end confdefs.h. */
36784 /* Override any GCC internal prototype to avoid an error.
36785 Use char because int might match the return type of a GCC
36786 builtin and then its argument prototype would still apply. */
36790 char gluBeginCurve ();
36794 return gluBeginCurve ();
36799 rm -f conftest.$ac_objext conftest$ac_exeext
36800 if { (ac_try="$ac_link"
36801 case "(($ac_try" in
36802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36803 *) ac_try_echo=$ac_try;;
36805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36806 (eval "$ac_link") 2>conftest.er1
36808 grep -v '^ *+' conftest.er1 >conftest.err
36810 cat conftest.err >&5
36811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36812 (exit $ac_status); } && {
36813 test -z "$ac_c_werror_flag" ||
36814 test ! -s conftest.err
36815 } && test -s conftest$ac_exeext &&
36816 $as_test_x conftest$ac_exeext; then
36817 ac_cv_lib_GLU_gluBeginCurve=yes
36819 echo "$as_me: failed program was:" >&5
36820 sed 's/^/| /' conftest.$ac_ext >&5
36822 ac_cv_lib_GLU_gluBeginCurve=no
36825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36826 conftest$ac_exeext conftest.$ac_ext
36827 LIBS=$ac_check_lib_save_LIBS
36829 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36830 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36831 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36832 ac_find_libraries="std"
36838 if test "x$ac_find_libraries" = "x"; then
36839 { echo "$as_me:$LINENO: checking elsewhere" >&5
36840 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36843 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36845 for ac_extension in a so sl dylib dll.a; do
36846 if test -f "$ac_dir/libGLU.$ac_extension"; then
36847 ac_find_libraries=$ac_dir
36853 if test "x$ac_find_libraries" != "x"; then
36854 { echo "$as_me:$LINENO: result: yes" >&5
36855 echo "${ECHO_T}yes" >&6; }
36857 { echo "$as_me:$LINENO: result: no" >&5
36858 echo "${ECHO_T}no" >&6; }
36862 elif test $pkg_failed = untried; then
36864 if test "x$ac_find_libraries" = "x"; then
36865 if test "xgluBeginCurve" != "x"; then
36866 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36867 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36868 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36869 echo $ECHO_N "(cached) $ECHO_C" >&6
36871 ac_check_lib_save_LIBS=$LIBS
36873 cat >conftest.$ac_ext <<_ACEOF
36876 cat confdefs.h >>conftest.$ac_ext
36877 cat >>conftest.$ac_ext <<_ACEOF
36878 /* end confdefs.h. */
36880 /* Override any GCC internal prototype to avoid an error.
36881 Use char because int might match the return type of a GCC
36882 builtin and then its argument prototype would still apply. */
36886 char gluBeginCurve ();
36890 return gluBeginCurve ();
36895 rm -f conftest.$ac_objext conftest$ac_exeext
36896 if { (ac_try="$ac_link"
36897 case "(($ac_try" in
36898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36899 *) ac_try_echo=$ac_try;;
36901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36902 (eval "$ac_link") 2>conftest.er1
36904 grep -v '^ *+' conftest.er1 >conftest.err
36906 cat conftest.err >&5
36907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36908 (exit $ac_status); } && {
36909 test -z "$ac_c_werror_flag" ||
36910 test ! -s conftest.err
36911 } && test -s conftest$ac_exeext &&
36912 $as_test_x conftest$ac_exeext; then
36913 ac_cv_lib_GLU_gluBeginCurve=yes
36915 echo "$as_me: failed program was:" >&5
36916 sed 's/^/| /' conftest.$ac_ext >&5
36918 ac_cv_lib_GLU_gluBeginCurve=no
36921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36922 conftest$ac_exeext conftest.$ac_ext
36923 LIBS=$ac_check_lib_save_LIBS
36925 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36926 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36927 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36928 ac_find_libraries="std"
36934 if test "x$ac_find_libraries" = "x"; then
36935 { echo "$as_me:$LINENO: checking elsewhere" >&5
36936 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36939 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36941 for ac_extension in a so sl dylib dll.a; do
36942 if test -f "$ac_dir/libGLU.$ac_extension"; then
36943 ac_find_libraries=$ac_dir
36949 if test "x$ac_find_libraries" != "x"; then
36950 { echo "$as_me:$LINENO: result: yes" >&5
36951 echo "${ECHO_T}yes" >&6; }
36953 { echo "$as_me:$LINENO: result: no" >&5
36954 echo "${ECHO_T}no" >&6; }
36959 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
36960 GLU_LIBS=$pkg_cv_GLU_LIBS
36961 { echo "$as_me:$LINENO: result: yes" >&5
36962 echo "${ECHO_T}yes" >&6; }
36964 ac_find_libraries="std"
36966 eval ac_find_cflags=\$GLU_CFLAGS
36967 eval fl_libs=\$GLU_LIBS
36969 for fl_path in $fl_libs
36971 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36972 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36978 if test "$ac_find_libraries" != "" ; then
36979 if test "$ac_find_libraries" != "std" ; then
36981 if test "$ac_find_libraries" = "default location"; then
36984 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36986 if test $result = 0; then
36989 ac_path_to_link=" -L$ac_find_libraries"
36993 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36994 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
36995 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
37000 OPENGL_LIBS="-lGL -lGLU"
37004 if test "$found_gl" != 1; then
37008 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
37011 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
37012 if test -n "$ac_tool_prefix"; then
37013 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
37014 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
37015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
37016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37017 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37018 echo $ECHO_N "(cached) $ECHO_C" >&6
37020 case $PKG_CONFIG in
37022 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37026 for as_dir in $PATH
37029 test -z "$as_dir" && as_dir=.
37030 for ac_exec_ext in '' $ac_executable_extensions; do
37031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37032 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37043 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37044 if test -n "$PKG_CONFIG"; then
37045 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37046 echo "${ECHO_T}$PKG_CONFIG" >&6; }
37048 { echo "$as_me:$LINENO: result: no" >&5
37049 echo "${ECHO_T}no" >&6; }
37054 if test -z "$ac_cv_path_PKG_CONFIG"; then
37055 ac_pt_PKG_CONFIG=$PKG_CONFIG
37056 # Extract the first word of "pkg-config", so it can be a program name with args.
37057 set dummy pkg-config; ac_word=$2
37058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
37059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37060 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
37061 echo $ECHO_N "(cached) $ECHO_C" >&6
37063 case $ac_pt_PKG_CONFIG in
37065 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
37068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37069 for as_dir in $PATH
37072 test -z "$as_dir" && as_dir=.
37073 for ac_exec_ext in '' $ac_executable_extensions; do
37074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37075 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37086 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
37087 if test -n "$ac_pt_PKG_CONFIG"; then
37088 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
37089 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
37091 { echo "$as_me:$LINENO: result: no" >&5
37092 echo "${ECHO_T}no" >&6; }
37095 if test "x$ac_pt_PKG_CONFIG" = x; then
37098 case $cross_compiling:$ac_tool_warned in
37100 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
37101 whose name does not start with the host triplet. If you think this
37102 configuration is useful to you, please write to autoconf@gnu.org." >&5
37103 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
37104 whose name does not start with the host triplet. If you think this
37105 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
37106 ac_tool_warned=yes ;;
37108 PKG_CONFIG=$ac_pt_PKG_CONFIG
37111 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
37115 if test -n "$PKG_CONFIG"; then
37116 _pkg_min_version=0.9.0
37117 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
37118 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
37119 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
37120 { echo "$as_me:$LINENO: result: yes" >&5
37121 echo "${ECHO_T}yes" >&6; }
37123 { echo "$as_me:$LINENO: result: no" >&5
37124 echo "${ECHO_T}no" >&6; }
37131 { echo "$as_me:$LINENO: checking for MesaGL" >&5
37132 echo $ECHO_N "checking for MesaGL... $ECHO_C" >&6; }
37134 if test -n "$PKG_CONFIG"; then
37135 if test -n "$MesaGL_CFLAGS"; then
37136 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
37138 if test -n "$PKG_CONFIG" && \
37139 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
37140 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
37142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37143 (exit $ac_status); }; then
37144 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
37152 if test -n "$PKG_CONFIG"; then
37153 if test -n "$MesaGL_LIBS"; then
37154 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
37156 if test -n "$PKG_CONFIG" && \
37157 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
37158 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
37160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37161 (exit $ac_status); }; then
37162 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
37173 if test $pkg_failed = yes; then
37175 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37176 _pkg_short_errors_supported=yes
37178 _pkg_short_errors_supported=no
37180 if test $_pkg_short_errors_supported = yes; then
37181 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
37183 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
37185 # Put the nasty error message in config.log where it belongs
37186 echo "$MesaGL_PKG_ERRORS" >&5
37189 if test "x$ac_find_libraries" = "x"; then
37190 if test "xglEnable" != "x"; then
37191 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37192 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37193 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37194 echo $ECHO_N "(cached) $ECHO_C" >&6
37196 ac_check_lib_save_LIBS=$LIBS
37197 LIBS="-lMesaGL $LIBS"
37198 cat >conftest.$ac_ext <<_ACEOF
37201 cat confdefs.h >>conftest.$ac_ext
37202 cat >>conftest.$ac_ext <<_ACEOF
37203 /* end confdefs.h. */
37205 /* Override any GCC internal prototype to avoid an error.
37206 Use char because int might match the return type of a GCC
37207 builtin and then its argument prototype would still apply. */
37215 return glEnable ();
37220 rm -f conftest.$ac_objext conftest$ac_exeext
37221 if { (ac_try="$ac_link"
37222 case "(($ac_try" in
37223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37224 *) ac_try_echo=$ac_try;;
37226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37227 (eval "$ac_link") 2>conftest.er1
37229 grep -v '^ *+' conftest.er1 >conftest.err
37231 cat conftest.err >&5
37232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37233 (exit $ac_status); } && {
37234 test -z "$ac_c_werror_flag" ||
37235 test ! -s conftest.err
37236 } && test -s conftest$ac_exeext &&
37237 $as_test_x conftest$ac_exeext; then
37238 ac_cv_lib_MesaGL_glEnable=yes
37240 echo "$as_me: failed program was:" >&5
37241 sed 's/^/| /' conftest.$ac_ext >&5
37243 ac_cv_lib_MesaGL_glEnable=no
37246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37247 conftest$ac_exeext conftest.$ac_ext
37248 LIBS=$ac_check_lib_save_LIBS
37250 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37251 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37252 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37253 ac_find_libraries="std"
37259 if test "x$ac_find_libraries" = "x"; then
37260 { echo "$as_me:$LINENO: checking elsewhere" >&5
37261 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37264 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37266 for ac_extension in a so sl dylib dll.a; do
37267 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37268 ac_find_libraries=$ac_dir
37274 if test "x$ac_find_libraries" != "x"; then
37275 { echo "$as_me:$LINENO: result: yes" >&5
37276 echo "${ECHO_T}yes" >&6; }
37278 { echo "$as_me:$LINENO: result: no" >&5
37279 echo "${ECHO_T}no" >&6; }
37283 elif test $pkg_failed = untried; then
37285 if test "x$ac_find_libraries" = "x"; then
37286 if test "xglEnable" != "x"; then
37287 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37288 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37289 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37290 echo $ECHO_N "(cached) $ECHO_C" >&6
37292 ac_check_lib_save_LIBS=$LIBS
37293 LIBS="-lMesaGL $LIBS"
37294 cat >conftest.$ac_ext <<_ACEOF
37297 cat confdefs.h >>conftest.$ac_ext
37298 cat >>conftest.$ac_ext <<_ACEOF
37299 /* end confdefs.h. */
37301 /* Override any GCC internal prototype to avoid an error.
37302 Use char because int might match the return type of a GCC
37303 builtin and then its argument prototype would still apply. */
37311 return glEnable ();
37316 rm -f conftest.$ac_objext conftest$ac_exeext
37317 if { (ac_try="$ac_link"
37318 case "(($ac_try" in
37319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37320 *) ac_try_echo=$ac_try;;
37322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37323 (eval "$ac_link") 2>conftest.er1
37325 grep -v '^ *+' conftest.er1 >conftest.err
37327 cat conftest.err >&5
37328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37329 (exit $ac_status); } && {
37330 test -z "$ac_c_werror_flag" ||
37331 test ! -s conftest.err
37332 } && test -s conftest$ac_exeext &&
37333 $as_test_x conftest$ac_exeext; then
37334 ac_cv_lib_MesaGL_glEnable=yes
37336 echo "$as_me: failed program was:" >&5
37337 sed 's/^/| /' conftest.$ac_ext >&5
37339 ac_cv_lib_MesaGL_glEnable=no
37342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37343 conftest$ac_exeext conftest.$ac_ext
37344 LIBS=$ac_check_lib_save_LIBS
37346 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37347 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37348 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37349 ac_find_libraries="std"
37355 if test "x$ac_find_libraries" = "x"; then
37356 { echo "$as_me:$LINENO: checking elsewhere" >&5
37357 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37360 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37362 for ac_extension in a so sl dylib dll.a; do
37363 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37364 ac_find_libraries=$ac_dir
37370 if test "x$ac_find_libraries" != "x"; then
37371 { echo "$as_me:$LINENO: result: yes" >&5
37372 echo "${ECHO_T}yes" >&6; }
37374 { echo "$as_me:$LINENO: result: no" >&5
37375 echo "${ECHO_T}no" >&6; }
37380 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
37381 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
37382 { echo "$as_me:$LINENO: result: yes" >&5
37383 echo "${ECHO_T}yes" >&6; }
37385 ac_find_libraries="std"
37387 eval ac_find_cflags=\$MesaGL_CFLAGS
37388 eval fl_libs=\$MesaGL_LIBS
37390 for fl_path in $fl_libs
37392 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
37393 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
37399 if test "$ac_find_libraries" != "" ; then
37400 if test "$ac_find_libraries" != "std" ; then
37402 if test "$ac_find_libraries" = "default location"; then
37405 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
37407 if test $result = 0; then
37410 ac_path_to_link=" -L$ac_find_libraries"
37414 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37415 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
37418 OPENGL_LIBS="-lMesaGL -lMesaGLU"
37430 if test "x$OPENGL_LIBS" = "x"; then
37431 if test "$wxUSE_OPENGL" = "yes"; then
37432 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
37433 echo "$as_me: error: OpenGL libraries not available" >&2;}
37434 { (exit 1); exit 1; }; }
37436 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
37437 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
37443 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37444 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37448 if test "$wxUSE_OPENGL" = "auto"; then
37452 if test "$wxUSE_OPENGL" = "yes"; then
37454 cat >>confdefs.h <<\_ACEOF
37455 #define wxUSE_OPENGL 1
37458 cat >>confdefs.h <<\_ACEOF
37459 #define wxUSE_GLCANVAS 1
37462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
37467 if test -n "$TOOLKIT" ; then
37468 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
37473 if test "$wxUSE_SHARED" = "yes"; then
37477 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
37478 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
37483 if test "$wxUSE_SHARED" = "yes"; then
37487 *-*-cygwin* | *-*-mingw* )
37488 wx_cv_version_script=no
37492 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
37493 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
37494 if test "${wx_cv_version_script+set}" = set; then
37495 echo $ECHO_N "(cached) $ECHO_C" >&6
37498 echo "VER_1 { *; };" >conftest.sym
37499 echo "int main() { return 0; }" >conftest.cpp
37502 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37503 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
37504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37505 (eval $ac_try) 2>&5
37507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37508 (exit $ac_status); }; } ; then
37509 if test -s conftest.stderr ; then
37510 wx_cv_version_script=no
37512 wx_cv_version_script=yes
37515 wx_cv_version_script=no
37518 if test $wx_cv_version_script = yes
37520 echo "struct B { virtual ~B() { } }; \
37521 struct D : public B { }; \
37522 void F() { D d; }" > conftest.cpp
37525 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37526 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
37527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37528 (eval $ac_try) 2>&5
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); }; } &&
37533 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37534 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
37535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37536 (eval $ac_try) 2>&5
37538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37539 (exit $ac_status); }; }
37542 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37543 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
37544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37545 (eval $ac_try) 2>&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); }; }
37550 wx_cv_version_script=yes
37552 wx_cv_version_script=no
37557 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
37558 rm -f conftest1.output conftest2.output conftest3.output
37561 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
37562 echo "${ECHO_T}$wx_cv_version_script" >&6; }
37564 if test $wx_cv_version_script = yes ; then
37565 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
37571 if test "$wxUSE_VISIBILITY" != "no"; then
37574 if test -n "$GCC"; then
37575 CFLAGS_VISIBILITY="-fvisibility=hidden"
37576 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
37577 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
37578 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
37579 if test "${wx_cv_cc_visibility+set}" = set; then
37580 echo $ECHO_N "(cached) $ECHO_C" >&6
37583 wx_save_CXXFLAGS="$CXXFLAGS"
37584 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37586 ac_cpp='$CXXCPP $CPPFLAGS'
37587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37591 cat >conftest.$ac_ext <<_ACEOF
37594 cat confdefs.h >>conftest.$ac_ext
37595 cat >>conftest.$ac_ext <<_ACEOF
37596 /* end confdefs.h. */
37598 /* we need gcc >= 4.0, older versions with visibility support
37599 didn't have class visibility: */
37600 #if defined(__GNUC__) && __GNUC__ < 4
37601 error this gcc is too old;
37604 /* visibility only makes sense for ELF shared libs: */
37605 #if !defined(__ELF__) && !defined(__APPLE__)
37606 error this platform has no visibility;
37609 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
37610 #if defined(__clang__)
37611 clang compiler is still broken w.r.t. visibility;
37614 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
37615 extern __attribute__((__visibility__("default"))) int exportedvar;
37616 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
37617 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
37618 class __attribute__((__visibility__("default"))) Foo {
37630 rm -f conftest.$ac_objext
37631 if { (ac_try="$ac_compile"
37632 case "(($ac_try" in
37633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37634 *) ac_try_echo=$ac_try;;
37636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37637 (eval "$ac_compile") 2>conftest.er1
37639 grep -v '^ *+' conftest.er1 >conftest.err
37641 cat conftest.err >&5
37642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37643 (exit $ac_status); } && {
37644 test -z "$ac_cxx_werror_flag" ||
37645 test ! -s conftest.err
37646 } && test -s conftest.$ac_objext; then
37647 wx_cv_cc_visibility=yes
37649 echo "$as_me: failed program was:" >&5
37650 sed 's/^/| /' conftest.$ac_ext >&5
37652 wx_cv_cc_visibility=no
37655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37657 ac_cpp='$CPP $CPPFLAGS'
37658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37662 CXXFLAGS="$wx_save_CXXFLAGS"
37665 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
37666 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
37667 if test $wx_cv_cc_visibility = yes; then
37668 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
37669 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
37670 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
37671 echo $ECHO_N "(cached) $ECHO_C" >&6
37674 wx_save_CXXFLAGS="$CXXFLAGS"
37675 wx_save_LDFLAGS="$LDFLAGS"
37676 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37677 LDFLAGS="$LDFLAGS -shared -fPIC"
37679 ac_cpp='$CXXCPP $CPPFLAGS'
37680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37684 cat >conftest.$ac_ext <<_ACEOF
37687 cat confdefs.h >>conftest.$ac_ext
37688 cat >>conftest.$ac_ext <<_ACEOF
37689 /* end confdefs.h. */
37697 std::string s("hello");
37704 rm -f conftest.$ac_objext conftest$ac_exeext
37705 if { (ac_try="$ac_link"
37706 case "(($ac_try" in
37707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37708 *) ac_try_echo=$ac_try;;
37710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37711 (eval "$ac_link") 2>conftest.er1
37713 grep -v '^ *+' conftest.er1 >conftest.err
37715 cat conftest.err >&5
37716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37717 (exit $ac_status); } && {
37718 test -z "$ac_cxx_werror_flag" ||
37719 test ! -s conftest.err
37720 } && test -s conftest$ac_exeext &&
37721 $as_test_x conftest$ac_exeext; then
37722 wx_cv_cc_broken_libstdcxx_visibility=no
37724 echo "$as_me: failed program was:" >&5
37725 sed 's/^/| /' conftest.$ac_ext >&5
37727 wx_cv_cc_broken_libstdcxx_visibility=yes
37730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37731 conftest$ac_exeext conftest.$ac_ext
37733 ac_cpp='$CPP $CPPFLAGS'
37734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37738 CXXFLAGS="$wx_save_CXXFLAGS"
37739 LDFLAGS="$wx_save_LDFLAGS"
37742 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
37743 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
37745 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37746 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
37747 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
37748 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
37749 echo $ECHO_N "(cached) $ECHO_C" >&6
37753 ac_cpp='$CXXCPP $CPPFLAGS'
37754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37758 cat >conftest.$ac_ext <<_ACEOF
37761 cat confdefs.h >>conftest.$ac_ext
37762 cat >>conftest.$ac_ext <<_ACEOF
37763 /* end confdefs.h. */
37765 #pragma GCC visibility push(default)
37767 #pragma GCC visibility pop
37773 std::string s("hello");
37780 rm -f conftest.$ac_objext conftest$ac_exeext
37781 if { (ac_try="$ac_link"
37782 case "(($ac_try" in
37783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37784 *) ac_try_echo=$ac_try;;
37786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37787 (eval "$ac_link") 2>conftest.er1
37789 grep -v '^ *+' conftest.er1 >conftest.err
37791 cat conftest.err >&5
37792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37793 (exit $ac_status); } && {
37794 test -z "$ac_cxx_werror_flag" ||
37795 test ! -s conftest.err
37796 } && test -s conftest$ac_exeext &&
37797 $as_test_x conftest$ac_exeext; then
37798 wx_cv_cc_visibility_workaround=no
37800 echo "$as_me: failed program was:" >&5
37801 sed 's/^/| /' conftest.$ac_ext >&5
37803 wx_cv_cc_visibility_workaround=yes
37806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37807 conftest$ac_exeext conftest.$ac_ext
37809 ac_cpp='$CPP $CPPFLAGS'
37810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37817 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
37818 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
37820 if test $wx_cv_cc_visibility_workaround = no; then
37821 wx_cv_cc_visibility=no
37826 if test $wx_cv_cc_visibility = yes; then
37827 cat >>confdefs.h <<\_ACEOF
37828 #define HAVE_VISIBILITY 1
37831 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37832 cat >>confdefs.h <<\_ACEOF
37833 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
37838 CFLAGS_VISIBILITY=""
37839 CXXFLAGS_VISIBILITY=""
37847 if test "x$SUNCXX" = xyes; then
37848 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
37849 WXCONFIG_RPATH="-R\$libdir"
37852 *-*-linux* | *-*-gnu* )
37853 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37854 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37859 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
37861 saveLdflags="$LDFLAGS"
37862 LDFLAGS="$saveLdflags -Wl,-rpath,/"
37863 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
37864 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
37865 cat >conftest.$ac_ext <<_ACEOF
37868 cat confdefs.h >>conftest.$ac_ext
37869 cat >>conftest.$ac_ext <<_ACEOF
37870 /* end confdefs.h. */
37880 rm -f conftest.$ac_objext conftest$ac_exeext
37881 if { (ac_try="$ac_link"
37882 case "(($ac_try" in
37883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37884 *) ac_try_echo=$ac_try;;
37886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37887 (eval "$ac_link") 2>conftest.er1
37889 grep -v '^ *+' conftest.er1 >conftest.err
37891 cat conftest.err >&5
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); } && {
37894 test -z "$ac_c_werror_flag" ||
37895 test ! -s conftest.err
37896 } && test -s conftest$ac_exeext &&
37897 $as_test_x conftest$ac_exeext; then
37899 { echo "$as_me:$LINENO: result: yes" >&5
37900 echo "${ECHO_T}yes" >&6; }
37901 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37902 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37905 echo "$as_me: failed program was:" >&5
37906 sed 's/^/| /' conftest.$ac_ext >&5
37909 { echo "$as_me:$LINENO: result: no" >&5
37910 echo "${ECHO_T}no" >&6; }
37911 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37912 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37913 LDFLAGS="$saveLdflags -Wl,-R,/"
37914 cat >conftest.$ac_ext <<_ACEOF
37917 cat confdefs.h >>conftest.$ac_ext
37918 cat >>conftest.$ac_ext <<_ACEOF
37919 /* end confdefs.h. */
37929 rm -f conftest.$ac_objext conftest$ac_exeext
37930 if { (ac_try="$ac_link"
37931 case "(($ac_try" in
37932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37933 *) ac_try_echo=$ac_try;;
37935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37936 (eval "$ac_link") 2>conftest.er1
37938 grep -v '^ *+' conftest.er1 >conftest.err
37940 cat conftest.err >&5
37941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37942 (exit $ac_status); } && {
37943 test -z "$ac_c_werror_flag" ||
37944 test ! -s conftest.err
37945 } && test -s conftest$ac_exeext &&
37946 $as_test_x conftest$ac_exeext; then
37948 { echo "$as_me:$LINENO: result: yes" >&5
37949 echo "${ECHO_T}yes" >&6; }
37950 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
37951 WXCONFIG_RPATH="-Wl,-R,\$libdir"
37954 echo "$as_me: failed program was:" >&5
37955 sed 's/^/| /' conftest.$ac_ext >&5
37958 { echo "$as_me:$LINENO: result: no" >&5
37959 echo "${ECHO_T}no" >&6; }
37963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37964 conftest$ac_exeext conftest.$ac_ext
37968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37969 conftest$ac_exeext conftest.$ac_ext
37970 LDFLAGS="$saveLdflags"
37974 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
37975 if test "$install_name_tool" -a -x "$install_name_tool"; then
37976 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
37977 cat <<EOF >change-install-names
37979 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
37980 for i in \${libnames} ; do
37981 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
37982 for dep in \${libnames} ; do
37983 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
37987 chmod +x change-install-names
37988 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
37991 HEADER_PAD_OPTION="-headerpad_max_install_names"
37994 *-*-cygwin* | *-*-mingw32* )
37998 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
37999 WXCONFIG_RPATH="-Wl,+b,\$libdir"
38005 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
38007 if test $wxUSE_RPATH = "no"; then
38008 SAMPLES_RPATH_FLAG=''
38009 DYLIB_PATH_POSTLINK=''
38017 config_linkage_component="-static"
38024 lib_unicode_suffix=
38026 if test "$wxUSE_UNICODE" = "yes"; then
38027 lib_unicode_suffix=u
38028 WX_CHARTYPE="unicode"
38032 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
38033 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
38036 if test "$wxUSE_DEBUG_INFO" = "yes"; then
38040 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
38042 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38044 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
38047 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
38048 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
38050 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
38052 if test "${TOOLKIT_DIR}" = "os2"; then
38053 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
38055 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
38060 if test "$wxUSE_OLD_COCOA" = 1; then
38063 ac_cpp='$CPP $CPPFLAGS'
38064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38070 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
38071 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
38072 cat >conftest.$ac_ext <<_ACEOF
38075 cat confdefs.h >>conftest.$ac_ext
38076 cat >>conftest.$ac_ext <<_ACEOF
38077 /* end confdefs.h. */
38078 #include <AppKit/NSEvent.h>
38079 #include <CoreFoundation/CoreFoundation.h>
38089 rm -f conftest.$ac_objext
38090 if { (ac_try="$ac_compile"
38091 case "(($ac_try" in
38092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38093 *) ac_try_echo=$ac_try;;
38095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38096 (eval "$ac_compile") 2>conftest.er1
38098 grep -v '^ *+' conftest.er1 >conftest.err
38100 cat conftest.err >&5
38101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38102 (exit $ac_status); } && {
38103 test -z "$ac_c_werror_flag" ||
38104 test ! -s conftest.err
38105 } && test -s conftest.$ac_objext; then
38106 { echo "$as_me:$LINENO: result: no" >&5
38107 echo "${ECHO_T}no" >&6; }
38109 echo "$as_me: failed program was:" >&5
38110 sed 's/^/| /' conftest.$ac_ext >&5
38112 { echo "$as_me:$LINENO: result: yes" >&5
38113 echo "${ECHO_T}yes" >&6; }
38114 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
38115 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
38116 cat >conftest.$ac_ext <<_ACEOF
38119 cat confdefs.h >>conftest.$ac_ext
38120 cat >>conftest.$ac_ext <<_ACEOF
38121 /* end confdefs.h. */
38122 #define __Point__ 1
38123 #include <AppKit/NSEvent.h>
38124 #include <CoreFoundation/CoreFoundation.h>
38134 rm -f conftest.$ac_objext
38135 if { (ac_try="$ac_compile"
38136 case "(($ac_try" in
38137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38138 *) ac_try_echo=$ac_try;;
38140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38141 (eval "$ac_compile") 2>conftest.er1
38143 grep -v '^ *+' conftest.er1 >conftest.err
38145 cat conftest.err >&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); } && {
38148 test -z "$ac_c_werror_flag" ||
38149 test ! -s conftest.err
38150 } && test -s conftest.$ac_objext; then
38151 { echo "$as_me:$LINENO: result: yes" >&5
38152 echo "${ECHO_T}yes" >&6; }
38153 cat >>confdefs.h <<\_ACEOF
38154 #define __Point__ 1
38159 echo "$as_me: failed program was:" >&5
38160 sed 's/^/| /' conftest.$ac_ext >&5
38162 { { echo "$as_me:$LINENO: error: no
38163 See \`config.log' for more details." >&5
38164 echo "$as_me: error: no
38165 See \`config.log' for more details." >&2;}
38166 { (exit 1); exit 1; }; }
38170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38176 ac_cpp='$CPP $CPPFLAGS'
38177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38184 { echo "$as_me:$LINENO: checking for mode_t" >&5
38185 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
38186 if test "${ac_cv_type_mode_t+set}" = set; then
38187 echo $ECHO_N "(cached) $ECHO_C" >&6
38189 cat >conftest.$ac_ext <<_ACEOF
38192 cat confdefs.h >>conftest.$ac_ext
38193 cat >>conftest.$ac_ext <<_ACEOF
38194 /* end confdefs.h. */
38195 $ac_includes_default
38196 typedef mode_t ac__type_new_;
38200 if ((ac__type_new_ *) 0)
38202 if (sizeof (ac__type_new_))
38208 rm -f conftest.$ac_objext
38209 if { (ac_try="$ac_compile"
38210 case "(($ac_try" in
38211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38212 *) ac_try_echo=$ac_try;;
38214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38215 (eval "$ac_compile") 2>conftest.er1
38217 grep -v '^ *+' conftest.er1 >conftest.err
38219 cat conftest.err >&5
38220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38221 (exit $ac_status); } && {
38222 test -z "$ac_c_werror_flag" ||
38223 test ! -s conftest.err
38224 } && test -s conftest.$ac_objext; then
38225 ac_cv_type_mode_t=yes
38227 echo "$as_me: failed program was:" >&5
38228 sed 's/^/| /' conftest.$ac_ext >&5
38230 ac_cv_type_mode_t=no
38233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38235 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
38236 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
38237 if test $ac_cv_type_mode_t = yes; then
38241 cat >>confdefs.h <<_ACEOF
38247 { echo "$as_me:$LINENO: checking for off_t" >&5
38248 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
38249 if test "${ac_cv_type_off_t+set}" = set; then
38250 echo $ECHO_N "(cached) $ECHO_C" >&6
38252 cat >conftest.$ac_ext <<_ACEOF
38255 cat confdefs.h >>conftest.$ac_ext
38256 cat >>conftest.$ac_ext <<_ACEOF
38257 /* end confdefs.h. */
38258 $ac_includes_default
38259 typedef off_t ac__type_new_;
38263 if ((ac__type_new_ *) 0)
38265 if (sizeof (ac__type_new_))
38271 rm -f conftest.$ac_objext
38272 if { (ac_try="$ac_compile"
38273 case "(($ac_try" in
38274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38275 *) ac_try_echo=$ac_try;;
38277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38278 (eval "$ac_compile") 2>conftest.er1
38280 grep -v '^ *+' conftest.er1 >conftest.err
38282 cat conftest.err >&5
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); } && {
38285 test -z "$ac_c_werror_flag" ||
38286 test ! -s conftest.err
38287 } && test -s conftest.$ac_objext; then
38288 ac_cv_type_off_t=yes
38290 echo "$as_me: failed program was:" >&5
38291 sed 's/^/| /' conftest.$ac_ext >&5
38293 ac_cv_type_off_t=no
38296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38298 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
38299 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
38300 if test $ac_cv_type_off_t = yes; then
38304 cat >>confdefs.h <<_ACEOF
38305 #define off_t long int
38310 { echo "$as_me:$LINENO: checking for pid_t" >&5
38311 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
38312 if test "${ac_cv_type_pid_t+set}" = set; then
38313 echo $ECHO_N "(cached) $ECHO_C" >&6
38315 cat >conftest.$ac_ext <<_ACEOF
38318 cat confdefs.h >>conftest.$ac_ext
38319 cat >>conftest.$ac_ext <<_ACEOF
38320 /* end confdefs.h. */
38321 $ac_includes_default
38322 typedef pid_t ac__type_new_;
38326 if ((ac__type_new_ *) 0)
38328 if (sizeof (ac__type_new_))
38334 rm -f conftest.$ac_objext
38335 if { (ac_try="$ac_compile"
38336 case "(($ac_try" in
38337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38338 *) ac_try_echo=$ac_try;;
38340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38341 (eval "$ac_compile") 2>conftest.er1
38343 grep -v '^ *+' conftest.er1 >conftest.err
38345 cat conftest.err >&5
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); } && {
38348 test -z "$ac_c_werror_flag" ||
38349 test ! -s conftest.err
38350 } && test -s conftest.$ac_objext; then
38351 ac_cv_type_pid_t=yes
38353 echo "$as_me: failed program was:" >&5
38354 sed 's/^/| /' conftest.$ac_ext >&5
38356 ac_cv_type_pid_t=no
38359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38361 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
38362 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
38363 if test $ac_cv_type_pid_t = yes; then
38367 cat >>confdefs.h <<_ACEOF
38373 { echo "$as_me:$LINENO: checking for size_t" >&5
38374 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
38375 if test "${ac_cv_type_size_t+set}" = set; then
38376 echo $ECHO_N "(cached) $ECHO_C" >&6
38378 cat >conftest.$ac_ext <<_ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38384 $ac_includes_default
38385 typedef size_t ac__type_new_;
38389 if ((ac__type_new_ *) 0)
38391 if (sizeof (ac__type_new_))
38397 rm -f conftest.$ac_objext
38398 if { (ac_try="$ac_compile"
38399 case "(($ac_try" in
38400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38401 *) ac_try_echo=$ac_try;;
38403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38404 (eval "$ac_compile") 2>conftest.er1
38406 grep -v '^ *+' conftest.er1 >conftest.err
38408 cat conftest.err >&5
38409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38410 (exit $ac_status); } && {
38411 test -z "$ac_c_werror_flag" ||
38412 test ! -s conftest.err
38413 } && test -s conftest.$ac_objext; then
38414 ac_cv_type_size_t=yes
38416 echo "$as_me: failed program was:" >&5
38417 sed 's/^/| /' conftest.$ac_ext >&5
38419 ac_cv_type_size_t=no
38422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38424 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
38425 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
38426 if test $ac_cv_type_size_t = yes; then
38430 cat >>confdefs.h <<_ACEOF
38431 #define size_t unsigned int
38437 { echo "$as_me:$LINENO: checking for ssize_t" >&5
38438 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
38439 if test "${ac_cv_type_ssize_t+set}" = set; then
38440 echo $ECHO_N "(cached) $ECHO_C" >&6
38442 cat >conftest.$ac_ext <<_ACEOF
38445 cat confdefs.h >>conftest.$ac_ext
38446 cat >>conftest.$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38448 $ac_includes_default
38449 typedef ssize_t ac__type_new_;
38453 if ((ac__type_new_ *) 0)
38455 if (sizeof (ac__type_new_))
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_c_werror_flag" ||
38476 test ! -s conftest.err
38477 } && test -s conftest.$ac_objext; then
38478 ac_cv_type_ssize_t=yes
38480 echo "$as_me: failed program was:" >&5
38481 sed 's/^/| /' conftest.$ac_ext >&5
38483 ac_cv_type_ssize_t=no
38486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38488 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
38489 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
38490 if test $ac_cv_type_ssize_t = yes; then
38492 cat >>confdefs.h <<_ACEOF
38493 #define HAVE_SSIZE_T 1
38501 ac_cpp='$CXXCPP $CPPFLAGS'
38502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38505 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
38506 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
38507 if test "${wx_cv_size_t_is_uint+set}" = set; then
38508 echo $ECHO_N "(cached) $ECHO_C" >&6
38511 cat >conftest.$ac_ext <<_ACEOF
38514 cat confdefs.h >>conftest.$ac_ext
38515 cat >>conftest.$ac_ext <<_ACEOF
38516 /* end confdefs.h. */
38517 #include <stddef.h>
38524 struct Foo { void foo(size_t); void foo(unsigned int); };
38532 rm -f conftest.$ac_objext
38533 if { (ac_try="$ac_compile"
38534 case "(($ac_try" in
38535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38536 *) ac_try_echo=$ac_try;;
38538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38539 (eval "$ac_compile") 2>conftest.er1
38541 grep -v '^ *+' conftest.er1 >conftest.err
38543 cat conftest.err >&5
38544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38545 (exit $ac_status); } && {
38546 test -z "$ac_cxx_werror_flag" ||
38547 test ! -s conftest.err
38548 } && test -s conftest.$ac_objext; then
38549 wx_cv_size_t_is_uint=no
38551 echo "$as_me: failed program was:" >&5
38552 sed 's/^/| /' conftest.$ac_ext >&5
38554 wx_cv_size_t_is_uint=yes
38558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38562 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
38563 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
38565 if test "$wx_cv_size_t_is_uint" = "yes"; then
38566 cat >>confdefs.h <<\_ACEOF
38567 #define wxSIZE_T_IS_UINT 1
38571 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
38572 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
38573 if test "${wx_cv_size_t_is_ulong+set}" = set; then
38574 echo $ECHO_N "(cached) $ECHO_C" >&6
38576 cat >conftest.$ac_ext <<_ACEOF
38579 cat confdefs.h >>conftest.$ac_ext
38580 cat >>conftest.$ac_ext <<_ACEOF
38581 /* end confdefs.h. */
38582 #include <stddef.h>
38589 struct Foo { void foo(size_t); void foo(unsigned long); };
38597 rm -f conftest.$ac_objext
38598 if { (ac_try="$ac_compile"
38599 case "(($ac_try" in
38600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38601 *) ac_try_echo=$ac_try;;
38603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38604 (eval "$ac_compile") 2>conftest.er1
38606 grep -v '^ *+' conftest.er1 >conftest.err
38608 cat conftest.err >&5
38609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38610 (exit $ac_status); } && {
38611 test -z "$ac_cxx_werror_flag" ||
38612 test ! -s conftest.err
38613 } && test -s conftest.$ac_objext; then
38614 wx_cv_size_t_is_ulong=no
38616 echo "$as_me: failed program was:" >&5
38617 sed 's/^/| /' conftest.$ac_ext >&5
38619 wx_cv_size_t_is_ulong=yes
38623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38626 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
38627 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
38629 if test "$wx_cv_size_t_is_ulong" = "yes"; then
38630 cat >>confdefs.h <<\_ACEOF
38631 #define wxSIZE_T_IS_ULONG 1
38637 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
38638 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
38639 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
38640 echo $ECHO_N "(cached) $ECHO_C" >&6
38642 cat >conftest.$ac_ext <<_ACEOF
38645 cat confdefs.h >>conftest.$ac_ext
38646 cat >>conftest.$ac_ext <<_ACEOF
38647 /* end confdefs.h. */
38655 struct Foo { void foo(wchar_t);
38656 void foo(unsigned short);
38657 void foo(unsigned int);
38658 void foo(unsigned long); };
38666 rm -f conftest.$ac_objext
38667 if { (ac_try="$ac_compile"
38668 case "(($ac_try" in
38669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38670 *) ac_try_echo=$ac_try;;
38672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38673 (eval "$ac_compile") 2>conftest.er1
38675 grep -v '^ *+' conftest.er1 >conftest.err
38677 cat conftest.err >&5
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); } && {
38680 test -z "$ac_cxx_werror_flag" ||
38681 test ! -s conftest.err
38682 } && test -s conftest.$ac_objext; then
38683 wx_cv_wchar_t_is_separate_type=yes
38685 echo "$as_me: failed program was:" >&5
38686 sed 's/^/| /' conftest.$ac_ext >&5
38688 wx_cv_wchar_t_is_separate_type=no
38692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38695 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
38696 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38698 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38699 cat >>confdefs.h <<\_ACEOF
38700 #define wxWCHAR_T_IS_REAL_TYPE 1
38704 cat >>confdefs.h <<\_ACEOF
38705 #define wxWCHAR_T_IS_REAL_TYPE 0
38711 ac_cpp='$CPP $CPPFLAGS'
38712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38717 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
38718 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
38719 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38720 echo $ECHO_N "(cached) $ECHO_C" >&6
38723 cat >conftest.$ac_ext <<_ACEOF
38726 cat confdefs.h >>conftest.$ac_ext
38727 cat >>conftest.$ac_ext <<_ACEOF
38728 /* end confdefs.h. */
38742 rm -f conftest.$ac_objext
38743 if { (ac_try="$ac_compile"
38744 case "(($ac_try" in
38745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38746 *) ac_try_echo=$ac_try;;
38748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38749 (eval "$ac_compile") 2>conftest.er1
38751 grep -v '^ *+' conftest.er1 >conftest.err
38753 cat conftest.err >&5
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); } && {
38756 test -z "$ac_c_werror_flag" ||
38757 test ! -s conftest.err
38758 } && test -s conftest.$ac_objext; then
38760 wx_cv_struct_pw_gecos=yes
38763 echo "$as_me: failed program was:" >&5
38764 sed 's/^/| /' conftest.$ac_ext >&5
38767 wx_cv_struct_pw_gecos=no
38772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38776 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
38777 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38779 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38780 cat >>confdefs.h <<\_ACEOF
38781 #define HAVE_PW_GECOS 1
38790 for ac_func in wcslen
38792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38793 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38795 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38796 echo $ECHO_N "(cached) $ECHO_C" >&6
38798 cat >conftest.$ac_ext <<_ACEOF
38801 cat confdefs.h >>conftest.$ac_ext
38802 cat >>conftest.$ac_ext <<_ACEOF
38803 /* end confdefs.h. */
38804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38806 #define $ac_func innocuous_$ac_func
38808 /* System header to define __stub macros and hopefully few prototypes,
38809 which can conflict with char $ac_func (); below.
38810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38811 <limits.h> exists even on freestanding compilers. */
38814 # include <limits.h>
38816 # include <assert.h>
38821 /* Override any GCC internal prototype to avoid an error.
38822 Use char because int might match the return type of a GCC
38823 builtin and then its argument prototype would still apply. */
38828 /* The GNU C library defines this for functions which it implements
38829 to always fail with ENOSYS. Some functions are actually named
38830 something starting with __ and the normal name is an alias. */
38831 #if defined __stub_$ac_func || defined __stub___$ac_func
38838 return $ac_func ();
38843 rm -f conftest.$ac_objext conftest$ac_exeext
38844 if { (ac_try="$ac_link"
38845 case "(($ac_try" in
38846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38847 *) ac_try_echo=$ac_try;;
38849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38850 (eval "$ac_link") 2>conftest.er1
38852 grep -v '^ *+' conftest.er1 >conftest.err
38854 cat conftest.err >&5
38855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38856 (exit $ac_status); } && {
38857 test -z "$ac_c_werror_flag" ||
38858 test ! -s conftest.err
38859 } && test -s conftest$ac_exeext &&
38860 $as_test_x conftest$ac_exeext; then
38861 eval "$as_ac_var=yes"
38863 echo "$as_me: failed program was:" >&5
38864 sed 's/^/| /' conftest.$ac_ext >&5
38866 eval "$as_ac_var=no"
38869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38870 conftest$ac_exeext conftest.$ac_ext
38872 ac_res=`eval echo '${'$as_ac_var'}'`
38873 { echo "$as_me:$LINENO: result: $ac_res" >&5
38874 echo "${ECHO_T}$ac_res" >&6; }
38875 if test `eval echo '${'$as_ac_var'}'` = yes; then
38876 cat >>confdefs.h <<_ACEOF
38877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38884 if test "$WCSLEN_FOUND" = 0; then
38885 if test "$TOOLKIT" = "MSW"; then
38886 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
38887 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
38888 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38889 echo $ECHO_N "(cached) $ECHO_C" >&6
38891 ac_check_lib_save_LIBS=$LIBS
38892 LIBS="-lmsvcrt $LIBS"
38893 cat >conftest.$ac_ext <<_ACEOF
38896 cat confdefs.h >>conftest.$ac_ext
38897 cat >>conftest.$ac_ext <<_ACEOF
38898 /* end confdefs.h. */
38900 /* Override any GCC internal prototype to avoid an error.
38901 Use char because int might match the return type of a GCC
38902 builtin and then its argument prototype would still apply. */
38915 rm -f conftest.$ac_objext conftest$ac_exeext
38916 if { (ac_try="$ac_link"
38917 case "(($ac_try" in
38918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38919 *) ac_try_echo=$ac_try;;
38921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38922 (eval "$ac_link") 2>conftest.er1
38924 grep -v '^ *+' conftest.er1 >conftest.err
38926 cat conftest.err >&5
38927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38928 (exit $ac_status); } && {
38929 test -z "$ac_c_werror_flag" ||
38930 test ! -s conftest.err
38931 } && test -s conftest$ac_exeext &&
38932 $as_test_x conftest$ac_exeext; then
38933 ac_cv_lib_msvcrt_wcslen=yes
38935 echo "$as_me: failed program was:" >&5
38936 sed 's/^/| /' conftest.$ac_ext >&5
38938 ac_cv_lib_msvcrt_wcslen=no
38941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38942 conftest$ac_exeext conftest.$ac_ext
38943 LIBS=$ac_check_lib_save_LIBS
38945 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
38946 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
38947 if test $ac_cv_lib_msvcrt_wcslen = yes; then
38952 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
38953 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
38954 if test "${ac_cv_lib_w_wcslen+set}" = set; then
38955 echo $ECHO_N "(cached) $ECHO_C" >&6
38957 ac_check_lib_save_LIBS=$LIBS
38959 cat >conftest.$ac_ext <<_ACEOF
38962 cat confdefs.h >>conftest.$ac_ext
38963 cat >>conftest.$ac_ext <<_ACEOF
38964 /* end confdefs.h. */
38966 /* Override any GCC internal prototype to avoid an error.
38967 Use char because int might match the return type of a GCC
38968 builtin and then its argument prototype would still apply. */
38981 rm -f conftest.$ac_objext conftest$ac_exeext
38982 if { (ac_try="$ac_link"
38983 case "(($ac_try" in
38984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38985 *) ac_try_echo=$ac_try;;
38987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38988 (eval "$ac_link") 2>conftest.er1
38990 grep -v '^ *+' conftest.er1 >conftest.err
38992 cat conftest.err >&5
38993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38994 (exit $ac_status); } && {
38995 test -z "$ac_c_werror_flag" ||
38996 test ! -s conftest.err
38997 } && test -s conftest$ac_exeext &&
38998 $as_test_x conftest$ac_exeext; then
38999 ac_cv_lib_w_wcslen=yes
39001 echo "$as_me: failed program was:" >&5
39002 sed 's/^/| /' conftest.$ac_ext >&5
39004 ac_cv_lib_w_wcslen=no
39007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39008 conftest$ac_exeext conftest.$ac_ext
39009 LIBS=$ac_check_lib_save_LIBS
39011 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
39012 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
39013 if test $ac_cv_lib_w_wcslen = yes; then
39023 if test "$WCSLEN_FOUND" = 1; then
39024 cat >>confdefs.h <<\_ACEOF
39025 #define HAVE_WCSLEN 1
39036 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
39038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39039 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39041 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39042 echo $ECHO_N "(cached) $ECHO_C" >&6
39044 cat >conftest.$ac_ext <<_ACEOF
39047 cat confdefs.h >>conftest.$ac_ext
39048 cat >>conftest.$ac_ext <<_ACEOF
39049 /* end confdefs.h. */
39050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39052 #define $ac_func innocuous_$ac_func
39054 /* System header to define __stub macros and hopefully few prototypes,
39055 which can conflict with char $ac_func (); below.
39056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39057 <limits.h> exists even on freestanding compilers. */
39060 # include <limits.h>
39062 # include <assert.h>
39067 /* Override any GCC internal prototype to avoid an error.
39068 Use char because int might match the return type of a GCC
39069 builtin and then its argument prototype would still apply. */
39074 /* The GNU C library defines this for functions which it implements
39075 to always fail with ENOSYS. Some functions are actually named
39076 something starting with __ and the normal name is an alias. */
39077 #if defined __stub_$ac_func || defined __stub___$ac_func
39084 return $ac_func ();
39089 rm -f conftest.$ac_objext conftest$ac_exeext
39090 if { (ac_try="$ac_link"
39091 case "(($ac_try" in
39092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39093 *) ac_try_echo=$ac_try;;
39095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39096 (eval "$ac_link") 2>conftest.er1
39098 grep -v '^ *+' conftest.er1 >conftest.err
39100 cat conftest.err >&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); } && {
39103 test -z "$ac_c_werror_flag" ||
39104 test ! -s conftest.err
39105 } && test -s conftest$ac_exeext &&
39106 $as_test_x conftest$ac_exeext; then
39107 eval "$as_ac_var=yes"
39109 echo "$as_me: failed program was:" >&5
39110 sed 's/^/| /' conftest.$ac_ext >&5
39112 eval "$as_ac_var=no"
39115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39116 conftest$ac_exeext conftest.$ac_ext
39118 ac_res=`eval echo '${'$as_ac_var'}'`
39119 { echo "$as_me:$LINENO: result: $ac_res" >&5
39120 echo "${ECHO_T}$ac_res" >&6; }
39121 if test `eval echo '${'$as_ac_var'}'` = yes; then
39122 cat >>confdefs.h <<_ACEOF
39123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39130 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
39131 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
39134 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
39135 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
39136 if test "${ac_cv_type_mbstate_t+set}" = set; then
39137 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 cat >conftest.$ac_ext <<_ACEOF
39142 cat confdefs.h >>conftest.$ac_ext
39143 cat >>conftest.$ac_ext <<_ACEOF
39144 /* end confdefs.h. */
39147 typedef mbstate_t ac__type_new_;
39151 if ((ac__type_new_ *) 0)
39153 if (sizeof (ac__type_new_))
39159 rm -f conftest.$ac_objext
39160 if { (ac_try="$ac_compile"
39161 case "(($ac_try" in
39162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39163 *) ac_try_echo=$ac_try;;
39165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39166 (eval "$ac_compile") 2>conftest.er1
39168 grep -v '^ *+' conftest.er1 >conftest.err
39170 cat conftest.err >&5
39171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39172 (exit $ac_status); } && {
39173 test -z "$ac_c_werror_flag" ||
39174 test ! -s conftest.err
39175 } && test -s conftest.$ac_objext; then
39176 ac_cv_type_mbstate_t=yes
39178 echo "$as_me: failed program was:" >&5
39179 sed 's/^/| /' conftest.$ac_ext >&5
39181 ac_cv_type_mbstate_t=no
39184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39186 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
39187 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
39188 if test $ac_cv_type_mbstate_t = yes; then
39190 cat >>confdefs.h <<_ACEOF
39191 #define HAVE_MBSTATE_T 1
39195 for ac_func in wcsrtombs
39197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39198 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39200 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39201 echo $ECHO_N "(cached) $ECHO_C" >&6
39203 cat >conftest.$ac_ext <<_ACEOF
39206 cat confdefs.h >>conftest.$ac_ext
39207 cat >>conftest.$ac_ext <<_ACEOF
39208 /* end confdefs.h. */
39209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39211 #define $ac_func innocuous_$ac_func
39213 /* System header to define __stub macros and hopefully few prototypes,
39214 which can conflict with char $ac_func (); below.
39215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39216 <limits.h> exists even on freestanding compilers. */
39219 # include <limits.h>
39221 # include <assert.h>
39226 /* Override any GCC internal prototype to avoid an error.
39227 Use char because int might match the return type of a GCC
39228 builtin and then its argument prototype would still apply. */
39233 /* The GNU C library defines this for functions which it implements
39234 to always fail with ENOSYS. Some functions are actually named
39235 something starting with __ and the normal name is an alias. */
39236 #if defined __stub_$ac_func || defined __stub___$ac_func
39243 return $ac_func ();
39248 rm -f conftest.$ac_objext conftest$ac_exeext
39249 if { (ac_try="$ac_link"
39250 case "(($ac_try" in
39251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39252 *) ac_try_echo=$ac_try;;
39254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39255 (eval "$ac_link") 2>conftest.er1
39257 grep -v '^ *+' conftest.er1 >conftest.err
39259 cat conftest.err >&5
39260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39261 (exit $ac_status); } && {
39262 test -z "$ac_c_werror_flag" ||
39263 test ! -s conftest.err
39264 } && test -s conftest$ac_exeext &&
39265 $as_test_x conftest$ac_exeext; then
39266 eval "$as_ac_var=yes"
39268 echo "$as_me: failed program was:" >&5
39269 sed 's/^/| /' conftest.$ac_ext >&5
39271 eval "$as_ac_var=no"
39274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39275 conftest$ac_exeext conftest.$ac_ext
39277 ac_res=`eval echo '${'$as_ac_var'}'`
39278 { echo "$as_me:$LINENO: result: $ac_res" >&5
39279 echo "${ECHO_T}$ac_res" >&6; }
39280 if test `eval echo '${'$as_ac_var'}'` = yes; then
39281 cat >>confdefs.h <<_ACEOF
39282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39294 for ac_func in snprintf vsnprintf vsscanf
39296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39300 echo $ECHO_N "(cached) $ECHO_C" >&6
39302 cat >conftest.$ac_ext <<_ACEOF
39305 cat confdefs.h >>conftest.$ac_ext
39306 cat >>conftest.$ac_ext <<_ACEOF
39307 /* end confdefs.h. */
39308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39310 #define $ac_func innocuous_$ac_func
39312 /* System header to define __stub macros and hopefully few prototypes,
39313 which can conflict with char $ac_func (); below.
39314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39315 <limits.h> exists even on freestanding compilers. */
39318 # include <limits.h>
39320 # include <assert.h>
39325 /* Override any GCC internal prototype to avoid an error.
39326 Use char because int might match the return type of a GCC
39327 builtin and then its argument prototype would still apply. */
39332 /* The GNU C library defines this for functions which it implements
39333 to always fail with ENOSYS. Some functions are actually named
39334 something starting with __ and the normal name is an alias. */
39335 #if defined __stub_$ac_func || defined __stub___$ac_func
39342 return $ac_func ();
39347 rm -f conftest.$ac_objext conftest$ac_exeext
39348 if { (ac_try="$ac_link"
39349 case "(($ac_try" in
39350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39351 *) ac_try_echo=$ac_try;;
39353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39354 (eval "$ac_link") 2>conftest.er1
39356 grep -v '^ *+' conftest.er1 >conftest.err
39358 cat conftest.err >&5
39359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39360 (exit $ac_status); } && {
39361 test -z "$ac_c_werror_flag" ||
39362 test ! -s conftest.err
39363 } && test -s conftest$ac_exeext &&
39364 $as_test_x conftest$ac_exeext; then
39365 eval "$as_ac_var=yes"
39367 echo "$as_me: failed program was:" >&5
39368 sed 's/^/| /' conftest.$ac_ext >&5
39370 eval "$as_ac_var=no"
39373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39374 conftest$ac_exeext conftest.$ac_ext
39376 ac_res=`eval echo '${'$as_ac_var'}'`
39377 { echo "$as_me:$LINENO: result: $ac_res" >&5
39378 echo "${ECHO_T}$ac_res" >&6; }
39379 if test `eval echo '${'$as_ac_var'}'` = yes; then
39380 cat >>confdefs.h <<_ACEOF
39381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39389 ac_cpp='$CXXCPP $CPPFLAGS'
39390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39394 if test "$ac_cv_func_vsnprintf" = "yes"; then
39395 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
39396 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
39397 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
39398 echo $ECHO_N "(cached) $ECHO_C" >&6
39401 cat >conftest.$ac_ext <<_ACEOF
39404 cat confdefs.h >>conftest.$ac_ext
39405 cat >>conftest.$ac_ext <<_ACEOF
39406 /* end confdefs.h. */
39409 #include <stdarg.h>
39411 #if __MSL__ >= 0x6000
39413 using namespace std;
39423 vsnprintf(buf, 10u, "%s", ap);
39429 rm -f conftest.$ac_objext
39430 if { (ac_try="$ac_compile"
39431 case "(($ac_try" in
39432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39433 *) ac_try_echo=$ac_try;;
39435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39436 (eval "$ac_compile") 2>conftest.er1
39438 grep -v '^ *+' conftest.er1 >conftest.err
39440 cat conftest.err >&5
39441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39442 (exit $ac_status); } && {
39443 test -z "$ac_cxx_werror_flag" ||
39444 test ! -s conftest.err
39445 } && test -s conftest.$ac_objext; then
39446 wx_cv_func_vsnprintf_decl=yes
39448 echo "$as_me: failed program was:" >&5
39449 sed 's/^/| /' conftest.$ac_ext >&5
39451 wx_cv_func_vsnprintf_decl=no
39455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39459 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
39460 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
39462 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
39463 cat >>confdefs.h <<\_ACEOF
39464 #define HAVE_VSNPRINTF_DECL 1
39468 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
39469 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
39470 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
39471 echo $ECHO_N "(cached) $ECHO_C" >&6
39474 cat >conftest.$ac_ext <<_ACEOF
39477 cat confdefs.h >>conftest.$ac_ext
39478 cat >>conftest.$ac_ext <<_ACEOF
39479 /* end confdefs.h. */
39482 #include <stdarg.h>
39484 #if __MSL__ >= 0x6000
39486 using namespace std;
39496 const char *fmt = "%s";
39497 vsnprintf(buf, 10u, fmt, ap);
39503 rm -f conftest.$ac_objext
39504 if { (ac_try="$ac_compile"
39505 case "(($ac_try" in
39506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39507 *) ac_try_echo=$ac_try;;
39509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39510 (eval "$ac_compile") 2>conftest.er1
39512 grep -v '^ *+' conftest.er1 >conftest.err
39514 cat conftest.err >&5
39515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39516 (exit $ac_status); } && {
39517 test -z "$ac_cxx_werror_flag" ||
39518 test ! -s conftest.err
39519 } && test -s conftest.$ac_objext; then
39520 wx_cv_func_broken_vsnprintf_decl=no
39522 echo "$as_me: failed program was:" >&5
39523 sed 's/^/| /' conftest.$ac_ext >&5
39525 wx_cv_func_broken_vsnprintf_decl=yes
39529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39533 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
39534 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
39536 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
39537 cat >>confdefs.h <<\_ACEOF
39538 #define HAVE_BROKEN_VSNPRINTF_DECL 1
39545 if test "$ac_cv_func_snprintf" = "yes"; then
39546 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
39547 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
39548 if test "${wx_cv_func_snprintf_decl+set}" = set; then
39549 echo $ECHO_N "(cached) $ECHO_C" >&6
39552 cat >conftest.$ac_ext <<_ACEOF
39555 cat confdefs.h >>conftest.$ac_ext
39556 cat >>conftest.$ac_ext <<_ACEOF
39557 /* end confdefs.h. */
39560 #include <stdarg.h>
39562 #if __MSL__ >= 0x6000
39564 using namespace std;
39573 snprintf(buf, 10u, "%s", "wx");
39579 rm -f conftest.$ac_objext
39580 if { (ac_try="$ac_compile"
39581 case "(($ac_try" in
39582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39583 *) ac_try_echo=$ac_try;;
39585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39586 (eval "$ac_compile") 2>conftest.er1
39588 grep -v '^ *+' conftest.er1 >conftest.err
39590 cat conftest.err >&5
39591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39592 (exit $ac_status); } && {
39593 test -z "$ac_cxx_werror_flag" ||
39594 test ! -s conftest.err
39595 } && test -s conftest.$ac_objext; then
39596 wx_cv_func_snprintf_decl=yes
39598 echo "$as_me: failed program was:" >&5
39599 sed 's/^/| /' conftest.$ac_ext >&5
39601 wx_cv_func_snprintf_decl=no
39605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39609 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
39610 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
39612 if test "$wx_cv_func_snprintf_decl" = "yes"; then
39613 cat >>confdefs.h <<\_ACEOF
39614 #define HAVE_SNPRINTF_DECL 1
39619 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39621 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
39622 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
39623 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39624 echo $ECHO_N "(cached) $ECHO_C" >&6
39627 if test "$cross_compiling" = yes; then
39629 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
39630 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
39631 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
39632 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
39633 wx_cv_func_snprintf_pos_params=no
39637 cat >conftest.$ac_ext <<_ACEOF
39640 cat confdefs.h >>conftest.$ac_ext
39641 cat >>conftest.$ac_ext <<_ACEOF
39642 /* end confdefs.h. */
39649 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39650 if (strcmp ("2 3 1", buffer) == 0)
39656 rm -f conftest$ac_exeext
39657 if { (ac_try="$ac_link"
39658 case "(($ac_try" in
39659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39660 *) ac_try_echo=$ac_try;;
39662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39663 (eval "$ac_link") 2>&5
39665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39666 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39667 { (case "(($ac_try" in
39668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39669 *) ac_try_echo=$ac_try;;
39671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39672 (eval "$ac_try") 2>&5
39674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39675 (exit $ac_status); }; }; then
39676 wx_cv_func_snprintf_pos_params=no
39678 echo "$as_me: program exited with status $ac_status" >&5
39679 echo "$as_me: failed program was:" >&5
39680 sed 's/^/| /' conftest.$ac_ext >&5
39682 ( exit $ac_status )
39683 wx_cv_func_snprintf_pos_params=yes
39685 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39692 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
39693 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39695 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39696 cat >>confdefs.h <<\_ACEOF
39697 #define HAVE_UNIX98_PRINTF 1
39704 if test "$ac_cv_func_vsscanf" = "yes"; then
39705 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
39706 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
39707 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
39708 echo $ECHO_N "(cached) $ECHO_C" >&6
39711 cat >conftest.$ac_ext <<_ACEOF
39714 cat confdefs.h >>conftest.$ac_ext
39715 cat >>conftest.$ac_ext <<_ACEOF
39716 /* end confdefs.h. */
39719 #include <stdarg.h>
39721 #if __MSL__ >= 0x6000
39723 using namespace std;
39733 vsscanf(buf, "%s", args);
39739 rm -f conftest.$ac_objext
39740 if { (ac_try="$ac_compile"
39741 case "(($ac_try" in
39742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39743 *) ac_try_echo=$ac_try;;
39745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39746 (eval "$ac_compile") 2>conftest.er1
39748 grep -v '^ *+' conftest.er1 >conftest.err
39750 cat conftest.err >&5
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); } && {
39753 test -z "$ac_cxx_werror_flag" ||
39754 test ! -s conftest.err
39755 } && test -s conftest.$ac_objext; then
39756 wx_cv_func_vsscanf_decl=yes
39758 echo "$as_me: failed program was:" >&5
39759 sed 's/^/| /' conftest.$ac_ext >&5
39761 wx_cv_func_vsscanf_decl=no
39765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39769 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
39770 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
39772 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
39773 cat >>confdefs.h <<\_ACEOF
39774 #define HAVE_VSSCANF_DECL 1
39780 ac_cpp='$CPP $CPPFLAGS'
39781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39786 if test "$wxUSE_UNICODE" = yes; then
39788 wchar_headers="#include <stdio.h>
39789 #include <wchar.h>"
39793 for ac_header in widec.h
39795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39796 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39798 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39799 echo $ECHO_N "(cached) $ECHO_C" >&6
39801 cat >conftest.$ac_ext <<_ACEOF
39804 cat confdefs.h >>conftest.$ac_ext
39805 cat >>conftest.$ac_ext <<_ACEOF
39806 /* end confdefs.h. */
39807 $ac_includes_default
39809 #include <$ac_header>
39811 rm -f conftest.$ac_objext
39812 if { (ac_try="$ac_compile"
39813 case "(($ac_try" in
39814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39815 *) ac_try_echo=$ac_try;;
39817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39818 (eval "$ac_compile") 2>conftest.er1
39820 grep -v '^ *+' conftest.er1 >conftest.err
39822 cat conftest.err >&5
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); } && {
39825 test -z "$ac_c_werror_flag" ||
39826 test ! -s conftest.err
39827 } && test -s conftest.$ac_objext; then
39828 eval "$as_ac_Header=yes"
39830 echo "$as_me: failed program was:" >&5
39831 sed 's/^/| /' conftest.$ac_ext >&5
39833 eval "$as_ac_Header=no"
39836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39838 ac_res=`eval echo '${'$as_ac_Header'}'`
39839 { echo "$as_me:$LINENO: result: $ac_res" >&5
39840 echo "${ECHO_T}$ac_res" >&6; }
39841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39842 cat >>confdefs.h <<_ACEOF
39843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39850 if test "$ac_cv_header_widec_h" = "yes"; then
39851 wchar_headers="$wchar_headers
39852 #include <widec.h>"
39857 for wx_func in putws fputws wprintf vswprintf vswscanf
39859 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39860 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39861 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39862 echo $ECHO_N "(cached) $ECHO_C" >&6
39865 cat >conftest.$ac_ext <<_ACEOF
39869 cat confdefs.h >>conftest.$ac_ext
39870 cat >>conftest.$ac_ext <<_ACEOF
39871 /* end confdefs.h. */
39874 $ac_includes_default
39890 rm -f conftest.$ac_objext conftest$ac_exeext
39891 if { (ac_try="$ac_link"
39892 case "(($ac_try" in
39893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39894 *) ac_try_echo=$ac_try;;
39896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39897 (eval "$ac_link") 2>conftest.er1
39899 grep -v '^ *+' conftest.er1 >conftest.err
39901 cat conftest.err >&5
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); } && {
39904 test -z "$ac_c_werror_flag" ||
39905 test ! -s conftest.err
39906 } && test -s conftest$ac_exeext &&
39907 $as_test_x conftest$ac_exeext; then
39908 eval wx_cv_func_$wx_func=yes
39910 echo "$as_me: failed program was:" >&5
39911 sed 's/^/| /' conftest.$ac_ext >&5
39913 eval wx_cv_func_$wx_func=no
39916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39917 conftest$ac_exeext conftest.$ac_ext
39920 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39921 { echo "$as_me:$LINENO: result: $ac_res" >&5
39922 echo "${ECHO_T}$ac_res" >&6; }
39924 if eval test \$wx_cv_func_$wx_func = yes
39926 cat >>confdefs.h <<_ACEOF
39927 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39938 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39939 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39940 cat >conftest.$ac_ext <<_ACEOF
39943 cat confdefs.h >>conftest.$ac_ext
39944 cat >>conftest.$ac_ext <<_ACEOF
39945 /* end confdefs.h. */
39955 rm -f conftest.$ac_objext
39956 if { (ac_try="$ac_compile"
39957 case "(($ac_try" in
39958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39959 *) ac_try_echo=$ac_try;;
39961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39962 (eval "$ac_compile") 2>conftest.er1
39964 grep -v '^ *+' conftest.er1 >conftest.err
39966 cat conftest.err >&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } && {
39969 test -z "$ac_c_werror_flag" ||
39970 test ! -s conftest.err
39971 } && test -s conftest.$ac_objext; then
39972 { echo "$as_me:$LINENO: result: yes" >&5
39973 echo "${ECHO_T}yes" >&6; }
39974 cat >>confdefs.h <<\_ACEOF
39975 #define HAVE__VSNWPRINTF 1
39979 echo "$as_me: failed program was:" >&5
39980 sed 's/^/| /' conftest.$ac_ext >&5
39982 { echo "$as_me:$LINENO: result: no" >&5
39983 echo "${ECHO_T}no" >&6; }
39986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39989 if test "$wxUSE_FILE" = "yes"; then
39991 for wx_func in fsync
39993 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39994 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39995 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39996 echo $ECHO_N "(cached) $ECHO_C" >&6
39999 cat >conftest.$ac_ext <<_ACEOF
40003 cat confdefs.h >>conftest.$ac_ext
40004 cat >>conftest.$ac_ext <<_ACEOF
40005 /* end confdefs.h. */
40008 $ac_includes_default
40024 rm -f conftest.$ac_objext conftest$ac_exeext
40025 if { (ac_try="$ac_link"
40026 case "(($ac_try" in
40027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40028 *) ac_try_echo=$ac_try;;
40030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40031 (eval "$ac_link") 2>conftest.er1
40033 grep -v '^ *+' conftest.er1 >conftest.err
40035 cat conftest.err >&5
40036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037 (exit $ac_status); } && {
40038 test -z "$ac_c_werror_flag" ||
40039 test ! -s conftest.err
40040 } && test -s conftest$ac_exeext &&
40041 $as_test_x conftest$ac_exeext; then
40042 eval wx_cv_func_$wx_func=yes
40044 echo "$as_me: failed program was:" >&5
40045 sed 's/^/| /' conftest.$ac_ext >&5
40047 eval wx_cv_func_$wx_func=no
40050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40051 conftest$ac_exeext conftest.$ac_ext
40054 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40055 { echo "$as_me:$LINENO: result: $ac_res" >&5
40056 echo "${ECHO_T}$ac_res" >&6; }
40058 if eval test \$wx_cv_func_$wx_func = yes
40060 cat >>confdefs.h <<_ACEOF
40061 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40074 ac_cpp='$CXXCPP $CPPFLAGS'
40075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40080 for wx_func in round
40082 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40083 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40084 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40085 echo $ECHO_N "(cached) $ECHO_C" >&6
40088 cat >conftest.$ac_ext <<_ACEOF
40092 cat confdefs.h >>conftest.$ac_ext
40093 cat >>conftest.$ac_ext <<_ACEOF
40094 /* end confdefs.h. */
40097 $ac_includes_default
40113 rm -f conftest.$ac_objext conftest$ac_exeext
40114 if { (ac_try="$ac_link"
40115 case "(($ac_try" in
40116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40117 *) ac_try_echo=$ac_try;;
40119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40120 (eval "$ac_link") 2>conftest.er1
40122 grep -v '^ *+' conftest.er1 >conftest.err
40124 cat conftest.err >&5
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); } && {
40127 test -z "$ac_cxx_werror_flag" ||
40128 test ! -s conftest.err
40129 } && test -s conftest$ac_exeext &&
40130 $as_test_x conftest$ac_exeext; then
40131 eval wx_cv_func_$wx_func=yes
40133 echo "$as_me: failed program was:" >&5
40134 sed 's/^/| /' conftest.$ac_ext >&5
40136 eval wx_cv_func_$wx_func=no
40139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40140 conftest$ac_exeext conftest.$ac_ext
40143 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40144 { echo "$as_me:$LINENO: result: $ac_res" >&5
40145 echo "${ECHO_T}$ac_res" >&6; }
40147 if eval test \$wx_cv_func_$wx_func = yes
40149 cat >>confdefs.h <<_ACEOF
40150 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40161 ac_cpp='$CPP $CPPFLAGS'
40162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40167 if test "$TOOLKIT" != "MSW"; then
40169 if test "$wxUSE_LIBICONV" != "no" ; then
40173 # Check whether --with-libiconv-prefix was given.
40174 if test "${with_libiconv_prefix+set}" = set; then
40175 withval=$with_libiconv_prefix;
40176 for dir in `echo "$withval" | tr : ' '`; do
40177 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
40178 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
40184 { echo "$as_me:$LINENO: checking for iconv" >&5
40185 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
40186 if test "${am_cv_func_iconv+set}" = set; then
40187 echo $ECHO_N "(cached) $ECHO_C" >&6
40190 am_cv_func_iconv="no, consider installing GNU libiconv"
40192 cat >conftest.$ac_ext <<_ACEOF
40195 cat confdefs.h >>conftest.$ac_ext
40196 cat >>conftest.$ac_ext <<_ACEOF
40197 /* end confdefs.h. */
40198 #include <stdlib.h>
40203 iconv_t cd = iconv_open("","");
40204 iconv(cd,NULL,NULL,NULL,NULL);
40210 rm -f conftest.$ac_objext conftest$ac_exeext
40211 if { (ac_try="$ac_link"
40212 case "(($ac_try" in
40213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40214 *) ac_try_echo=$ac_try;;
40216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40217 (eval "$ac_link") 2>conftest.er1
40219 grep -v '^ *+' conftest.er1 >conftest.err
40221 cat conftest.err >&5
40222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40223 (exit $ac_status); } && {
40224 test -z "$ac_c_werror_flag" ||
40225 test ! -s conftest.err
40226 } && test -s conftest$ac_exeext &&
40227 $as_test_x conftest$ac_exeext; then
40228 am_cv_func_iconv=yes
40230 echo "$as_me: failed program was:" >&5
40231 sed 's/^/| /' conftest.$ac_ext >&5
40236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40237 conftest$ac_exeext conftest.$ac_ext
40238 if test "$am_cv_func_iconv" != yes; then
40239 am_save_LIBS="$LIBS"
40240 LIBS="$LIBS -liconv"
40241 cat >conftest.$ac_ext <<_ACEOF
40244 cat confdefs.h >>conftest.$ac_ext
40245 cat >>conftest.$ac_ext <<_ACEOF
40246 /* end confdefs.h. */
40247 #include <stdlib.h>
40252 iconv_t cd = iconv_open("","");
40253 iconv(cd,NULL,NULL,NULL,NULL);
40259 rm -f conftest.$ac_objext conftest$ac_exeext
40260 if { (ac_try="$ac_link"
40261 case "(($ac_try" in
40262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40263 *) ac_try_echo=$ac_try;;
40265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40266 (eval "$ac_link") 2>conftest.er1
40268 grep -v '^ *+' conftest.er1 >conftest.err
40270 cat conftest.err >&5
40271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40272 (exit $ac_status); } && {
40273 test -z "$ac_c_werror_flag" ||
40274 test ! -s conftest.err
40275 } && test -s conftest$ac_exeext &&
40276 $as_test_x conftest$ac_exeext; then
40277 am_cv_lib_iconv=yes
40278 am_cv_func_iconv=yes
40280 echo "$as_me: failed program was:" >&5
40281 sed 's/^/| /' conftest.$ac_ext >&5
40286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40287 conftest$ac_exeext conftest.$ac_ext
40288 LIBS="$am_save_LIBS"
40292 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
40293 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
40294 if test "$am_cv_func_iconv" = yes; then
40296 cat >>confdefs.h <<\_ACEOF
40297 #define HAVE_ICONV 1
40300 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
40301 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
40302 if test "${wx_cv_func_iconv_const+set}" = set; then
40303 echo $ECHO_N "(cached) $ECHO_C" >&6
40305 cat >conftest.$ac_ext <<_ACEOF
40308 cat confdefs.h >>conftest.$ac_ext
40309 cat >>conftest.$ac_ext <<_ACEOF
40310 /* end confdefs.h. */
40312 #include <stdlib.h>
40318 #if defined(__STDC__) || defined(__cplusplus)
40319 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40332 rm -f conftest.$ac_objext
40333 if { (ac_try="$ac_compile"
40334 case "(($ac_try" in
40335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40336 *) ac_try_echo=$ac_try;;
40338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40339 (eval "$ac_compile") 2>conftest.er1
40341 grep -v '^ *+' conftest.er1 >conftest.err
40343 cat conftest.err >&5
40344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40345 (exit $ac_status); } && {
40346 test -z "$ac_c_werror_flag" ||
40347 test ! -s conftest.err
40348 } && test -s conftest.$ac_objext; then
40349 wx_cv_func_iconv_const="no"
40351 echo "$as_me: failed program was:" >&5
40352 sed 's/^/| /' conftest.$ac_ext >&5
40354 wx_cv_func_iconv_const="yes"
40358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40361 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
40362 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
40365 if test "x$wx_cv_func_iconv_const" = "xyes"; then
40366 iconv_const="const"
40370 cat >>confdefs.h <<_ACEOF
40371 #define ICONV_CONST $iconv_const
40376 if test "$am_cv_lib_iconv" = yes; then
40381 LIBS="$LIBICONV $LIBS"
40384 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40386 for ac_func in sigaction
40388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40389 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40391 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40392 echo $ECHO_N "(cached) $ECHO_C" >&6
40394 cat >conftest.$ac_ext <<_ACEOF
40397 cat confdefs.h >>conftest.$ac_ext
40398 cat >>conftest.$ac_ext <<_ACEOF
40399 /* end confdefs.h. */
40400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40402 #define $ac_func innocuous_$ac_func
40404 /* System header to define __stub macros and hopefully few prototypes,
40405 which can conflict with char $ac_func (); below.
40406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40407 <limits.h> exists even on freestanding compilers. */
40410 # include <limits.h>
40412 # include <assert.h>
40417 /* Override any GCC internal prototype to avoid an error.
40418 Use char because int might match the return type of a GCC
40419 builtin and then its argument prototype would still apply. */
40424 /* The GNU C library defines this for functions which it implements
40425 to always fail with ENOSYS. Some functions are actually named
40426 something starting with __ and the normal name is an alias. */
40427 #if defined __stub_$ac_func || defined __stub___$ac_func
40434 return $ac_func ();
40439 rm -f conftest.$ac_objext conftest$ac_exeext
40440 if { (ac_try="$ac_link"
40441 case "(($ac_try" in
40442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40443 *) ac_try_echo=$ac_try;;
40445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40446 (eval "$ac_link") 2>conftest.er1
40448 grep -v '^ *+' conftest.er1 >conftest.err
40450 cat conftest.err >&5
40451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40452 (exit $ac_status); } && {
40453 test -z "$ac_c_werror_flag" ||
40454 test ! -s conftest.err
40455 } && test -s conftest$ac_exeext &&
40456 $as_test_x conftest$ac_exeext; then
40457 eval "$as_ac_var=yes"
40459 echo "$as_me: failed program was:" >&5
40460 sed 's/^/| /' conftest.$ac_ext >&5
40462 eval "$as_ac_var=no"
40465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40466 conftest$ac_exeext conftest.$ac_ext
40468 ac_res=`eval echo '${'$as_ac_var'}'`
40469 { echo "$as_me:$LINENO: result: $ac_res" >&5
40470 echo "${ECHO_T}$ac_res" >&6; }
40471 if test `eval echo '${'$as_ac_var'}'` = yes; then
40472 cat >>confdefs.h <<_ACEOF
40473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40480 if test "$ac_cv_func_sigaction" = "no"; then
40481 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40482 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40483 wxUSE_ON_FATAL_EXCEPTION=no
40486 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40487 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40488 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40489 if test "${wx_cv_type_sa_handler+set}" = set; then
40490 echo $ECHO_N "(cached) $ECHO_C" >&6
40494 ac_cpp='$CXXCPP $CPPFLAGS'
40495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40499 cat >conftest.$ac_ext <<_ACEOF
40502 cat confdefs.h >>conftest.$ac_ext
40503 cat >>conftest.$ac_ext <<_ACEOF
40504 /* end confdefs.h. */
40505 #include <signal.h>
40510 extern void testSigHandler(int);
40512 struct sigaction sa;
40513 sa.sa_handler = testSigHandler;
40519 rm -f conftest.$ac_objext
40520 if { (ac_try="$ac_compile"
40521 case "(($ac_try" in
40522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40523 *) ac_try_echo=$ac_try;;
40525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40526 (eval "$ac_compile") 2>conftest.er1
40528 grep -v '^ *+' conftest.er1 >conftest.err
40530 cat conftest.err >&5
40531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40532 (exit $ac_status); } && {
40533 test -z "$ac_cxx_werror_flag" ||
40534 test ! -s conftest.err
40535 } && test -s conftest.$ac_objext; then
40537 wx_cv_type_sa_handler=int
40540 echo "$as_me: failed program was:" >&5
40541 sed 's/^/| /' conftest.$ac_ext >&5
40544 wx_cv_type_sa_handler=void
40548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40550 ac_cpp='$CPP $CPPFLAGS'
40551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40557 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40558 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40560 cat >>confdefs.h <<_ACEOF
40561 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40567 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40568 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40569 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40570 if test "${wx_cv_func_backtrace+set}" = set; then
40571 echo $ECHO_N "(cached) $ECHO_C" >&6
40575 ac_cpp='$CXXCPP $CPPFLAGS'
40576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40580 cat >conftest.$ac_ext <<_ACEOF
40583 cat confdefs.h >>conftest.$ac_ext
40584 cat >>conftest.$ac_ext <<_ACEOF
40585 /* end confdefs.h. */
40586 #include <execinfo.h>
40594 backtrace(trace, 1);
40595 messages = backtrace_symbols(trace, 1);
40601 rm -f conftest.$ac_objext
40602 if { (ac_try="$ac_compile"
40603 case "(($ac_try" in
40604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40605 *) ac_try_echo=$ac_try;;
40607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40608 (eval "$ac_compile") 2>conftest.er1
40610 grep -v '^ *+' conftest.er1 >conftest.err
40612 cat conftest.err >&5
40613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40614 (exit $ac_status); } && {
40615 test -z "$ac_cxx_werror_flag" ||
40616 test ! -s conftest.err
40617 } && test -s conftest.$ac_objext; then
40618 wx_cv_func_backtrace=yes
40620 echo "$as_me: failed program was:" >&5
40621 sed 's/^/| /' conftest.$ac_ext >&5
40623 wx_cv_func_backtrace=no
40627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40629 ac_cpp='$CPP $CPPFLAGS'
40630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40637 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40638 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40641 if test "$wx_cv_func_backtrace" = "no"; then
40642 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40643 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40644 wxUSE_STACKWALKER=no
40646 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40647 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40648 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40649 echo $ECHO_N "(cached) $ECHO_C" >&6
40653 ac_cpp='$CXXCPP $CPPFLAGS'
40654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40658 cat >conftest.$ac_ext <<_ACEOF
40661 cat confdefs.h >>conftest.$ac_ext
40662 cat >>conftest.$ac_ext <<_ACEOF
40663 /* end confdefs.h. */
40664 #include <cxxabi.h>
40670 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40676 rm -f conftest.$ac_objext conftest$ac_exeext
40677 if { (ac_try="$ac_link"
40678 case "(($ac_try" in
40679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40680 *) ac_try_echo=$ac_try;;
40682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40683 (eval "$ac_link") 2>conftest.er1
40685 grep -v '^ *+' conftest.er1 >conftest.err
40687 cat conftest.err >&5
40688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40689 (exit $ac_status); } && {
40690 test -z "$ac_cxx_werror_flag" ||
40691 test ! -s conftest.err
40692 } && test -s conftest$ac_exeext &&
40693 $as_test_x conftest$ac_exeext; then
40694 wx_cv_func_cxa_demangle=yes
40696 echo "$as_me: failed program was:" >&5
40697 sed 's/^/| /' conftest.$ac_ext >&5
40699 wx_cv_func_cxa_demangle=no
40703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40704 conftest$ac_exeext conftest.$ac_ext
40706 ac_cpp='$CPP $CPPFLAGS'
40707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40714 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40715 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40717 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40718 cat >>confdefs.h <<\_ACEOF
40719 #define HAVE_CXA_DEMANGLE 1
40726 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
40727 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40728 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40729 wxUSE_STACKWALKER=no
40735 for ac_func in mkstemp mktemp
40737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40741 echo $ECHO_N "(cached) $ECHO_C" >&6
40743 cat >conftest.$ac_ext <<_ACEOF
40746 cat confdefs.h >>conftest.$ac_ext
40747 cat >>conftest.$ac_ext <<_ACEOF
40748 /* end confdefs.h. */
40749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40751 #define $ac_func innocuous_$ac_func
40753 /* System header to define __stub macros and hopefully few prototypes,
40754 which can conflict with char $ac_func (); below.
40755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40756 <limits.h> exists even on freestanding compilers. */
40759 # include <limits.h>
40761 # include <assert.h>
40766 /* Override any GCC internal prototype to avoid an error.
40767 Use char because int might match the return type of a GCC
40768 builtin and then its argument prototype would still apply. */
40773 /* The GNU C library defines this for functions which it implements
40774 to always fail with ENOSYS. Some functions are actually named
40775 something starting with __ and the normal name is an alias. */
40776 #if defined __stub_$ac_func || defined __stub___$ac_func
40783 return $ac_func ();
40788 rm -f conftest.$ac_objext conftest$ac_exeext
40789 if { (ac_try="$ac_link"
40790 case "(($ac_try" in
40791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40792 *) ac_try_echo=$ac_try;;
40794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40795 (eval "$ac_link") 2>conftest.er1
40797 grep -v '^ *+' conftest.er1 >conftest.err
40799 cat conftest.err >&5
40800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40801 (exit $ac_status); } && {
40802 test -z "$ac_c_werror_flag" ||
40803 test ! -s conftest.err
40804 } && test -s conftest$ac_exeext &&
40805 $as_test_x conftest$ac_exeext; then
40806 eval "$as_ac_var=yes"
40808 echo "$as_me: failed program was:" >&5
40809 sed 's/^/| /' conftest.$ac_ext >&5
40811 eval "$as_ac_var=no"
40814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40815 conftest$ac_exeext conftest.$ac_ext
40817 ac_res=`eval echo '${'$as_ac_var'}'`
40818 { echo "$as_me:$LINENO: result: $ac_res" >&5
40819 echo "${ECHO_T}$ac_res" >&6; }
40820 if test `eval echo '${'$as_ac_var'}'` = yes; then
40821 cat >>confdefs.h <<_ACEOF
40822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40829 { echo "$as_me:$LINENO: checking for statfs" >&5
40830 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40831 if test "${wx_cv_func_statfs+set}" = set; then
40832 echo $ECHO_N "(cached) $ECHO_C" >&6
40834 cat >conftest.$ac_ext <<_ACEOF
40837 cat confdefs.h >>conftest.$ac_ext
40838 cat >>conftest.$ac_ext <<_ACEOF
40839 /* end confdefs.h. */
40841 #if defined(__BSD__)
40842 #include <sys/param.h>
40843 #include <sys/mount.h>
40845 #include <sys/vfs.h>
40863 rm -f conftest.$ac_objext
40864 if { (ac_try="$ac_compile"
40865 case "(($ac_try" in
40866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40867 *) ac_try_echo=$ac_try;;
40869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40870 (eval "$ac_compile") 2>conftest.er1
40872 grep -v '^ *+' conftest.er1 >conftest.err
40874 cat conftest.err >&5
40875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40876 (exit $ac_status); } && {
40877 test -z "$ac_c_werror_flag" ||
40878 test ! -s conftest.err
40879 } && test -s conftest.$ac_objext; then
40880 wx_cv_func_statfs=yes
40882 echo "$as_me: failed program was:" >&5
40883 sed 's/^/| /' conftest.$ac_ext >&5
40885 wx_cv_func_statfs=no
40889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40892 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40893 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40895 if test "$wx_cv_func_statfs" = "yes"; then
40896 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40897 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40898 if test "${wx_cv_func_statfs_decl+set}" = set; then
40899 echo $ECHO_N "(cached) $ECHO_C" >&6
40902 ac_cpp='$CXXCPP $CPPFLAGS'
40903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40907 cat >conftest.$ac_ext <<_ACEOF
40910 cat confdefs.h >>conftest.$ac_ext
40911 cat >>conftest.$ac_ext <<_ACEOF
40912 /* end confdefs.h. */
40914 #if defined(__BSD__)
40915 #include <sys/param.h>
40916 #include <sys/mount.h>
40918 #include <sys/vfs.h>
40932 rm -f conftest.$ac_objext
40933 if { (ac_try="$ac_compile"
40934 case "(($ac_try" in
40935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40936 *) ac_try_echo=$ac_try;;
40938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40939 (eval "$ac_compile") 2>conftest.er1
40941 grep -v '^ *+' conftest.er1 >conftest.err
40943 cat conftest.err >&5
40944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40945 (exit $ac_status); } && {
40946 test -z "$ac_cxx_werror_flag" ||
40947 test ! -s conftest.err
40948 } && test -s conftest.$ac_objext; then
40949 wx_cv_func_statfs_decl=yes
40951 echo "$as_me: failed program was:" >&5
40952 sed 's/^/| /' conftest.$ac_ext >&5
40954 wx_cv_func_statfs_decl=no
40958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40960 ac_cpp='$CPP $CPPFLAGS'
40961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40967 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40968 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40970 if test "$wx_cv_func_statfs_decl" = "yes"; then
40971 cat >>confdefs.h <<\_ACEOF
40972 #define HAVE_STATFS_DECL 1
40977 wx_cv_type_statvfs_t="struct statfs"
40978 cat >>confdefs.h <<\_ACEOF
40979 #define HAVE_STATFS 1
40983 { echo "$as_me:$LINENO: checking for statvfs" >&5
40984 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40985 if test "${wx_cv_func_statvfs+set}" = set; then
40986 echo $ECHO_N "(cached) $ECHO_C" >&6
40988 cat >conftest.$ac_ext <<_ACEOF
40991 cat confdefs.h >>conftest.$ac_ext
40992 cat >>conftest.$ac_ext <<_ACEOF
40993 /* end confdefs.h. */
40995 #include <stddef.h>
40996 #include <sys/statvfs.h>
41002 statvfs("/", NULL);
41008 rm -f conftest.$ac_objext
41009 if { (ac_try="$ac_compile"
41010 case "(($ac_try" in
41011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41012 *) ac_try_echo=$ac_try;;
41014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41015 (eval "$ac_compile") 2>conftest.er1
41017 grep -v '^ *+' conftest.er1 >conftest.err
41019 cat conftest.err >&5
41020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41021 (exit $ac_status); } && {
41022 test -z "$ac_c_werror_flag" ||
41023 test ! -s conftest.err
41024 } && test -s conftest.$ac_objext; then
41025 wx_cv_func_statvfs=yes
41027 echo "$as_me: failed program was:" >&5
41028 sed 's/^/| /' conftest.$ac_ext >&5
41030 wx_cv_func_statvfs=no
41034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41037 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
41038 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
41040 if test "$wx_cv_func_statvfs" = "yes"; then
41041 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
41042 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
41043 if test "${wx_cv_type_statvfs_t+set}" = set; then
41044 echo $ECHO_N "(cached) $ECHO_C" >&6
41047 ac_cpp='$CXXCPP $CPPFLAGS'
41048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41052 cat >conftest.$ac_ext <<_ACEOF
41055 cat confdefs.h >>conftest.$ac_ext
41056 cat >>conftest.$ac_ext <<_ACEOF
41057 /* end confdefs.h. */
41059 #include <sys/statvfs.h>
41076 rm -f conftest.$ac_objext
41077 if { (ac_try="$ac_compile"
41078 case "(($ac_try" in
41079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41080 *) ac_try_echo=$ac_try;;
41082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41083 (eval "$ac_compile") 2>conftest.er1
41085 grep -v '^ *+' conftest.er1 >conftest.err
41087 cat conftest.err >&5
41088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41089 (exit $ac_status); } && {
41090 test -z "$ac_cxx_werror_flag" ||
41091 test ! -s conftest.err
41092 } && test -s conftest.$ac_objext; then
41093 wx_cv_type_statvfs_t=statvfs_t
41095 echo "$as_me: failed program was:" >&5
41096 sed 's/^/| /' conftest.$ac_ext >&5
41099 cat >conftest.$ac_ext <<_ACEOF
41102 cat confdefs.h >>conftest.$ac_ext
41103 cat >>conftest.$ac_ext <<_ACEOF
41104 /* end confdefs.h. */
41106 #include <sys/statvfs.h>
41123 rm -f conftest.$ac_objext
41124 if { (ac_try="$ac_compile"
41125 case "(($ac_try" in
41126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41127 *) ac_try_echo=$ac_try;;
41129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41130 (eval "$ac_compile") 2>conftest.er1
41132 grep -v '^ *+' conftest.er1 >conftest.err
41134 cat conftest.err >&5
41135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41136 (exit $ac_status); } && {
41137 test -z "$ac_cxx_werror_flag" ||
41138 test ! -s conftest.err
41139 } && test -s conftest.$ac_objext; then
41140 wx_cv_type_statvfs_t="struct statvfs"
41142 echo "$as_me: failed program was:" >&5
41143 sed 's/^/| /' conftest.$ac_ext >&5
41145 wx_cv_type_statvfs_t="unknown"
41149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41156 ac_cpp='$CPP $CPPFLAGS'
41157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41163 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
41164 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
41166 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41167 cat >>confdefs.h <<\_ACEOF
41168 #define HAVE_STATVFS 1
41173 wx_cv_type_statvfs_t="unknown"
41177 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41178 cat >>confdefs.h <<_ACEOF
41179 #define WX_STATFS_T $wx_cv_type_statvfs_t
41183 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
41184 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
41187 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41190 for ac_func in fcntl flock
41192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41193 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41195 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41196 echo $ECHO_N "(cached) $ECHO_C" >&6
41198 cat >conftest.$ac_ext <<_ACEOF
41201 cat confdefs.h >>conftest.$ac_ext
41202 cat >>conftest.$ac_ext <<_ACEOF
41203 /* end confdefs.h. */
41204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41206 #define $ac_func innocuous_$ac_func
41208 /* System header to define __stub macros and hopefully few prototypes,
41209 which can conflict with char $ac_func (); below.
41210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41211 <limits.h> exists even on freestanding compilers. */
41214 # include <limits.h>
41216 # include <assert.h>
41221 /* Override any GCC internal prototype to avoid an error.
41222 Use char because int might match the return type of a GCC
41223 builtin and then its argument prototype would still apply. */
41228 /* The GNU C library defines this for functions which it implements
41229 to always fail with ENOSYS. Some functions are actually named
41230 something starting with __ and the normal name is an alias. */
41231 #if defined __stub_$ac_func || defined __stub___$ac_func
41238 return $ac_func ();
41243 rm -f conftest.$ac_objext conftest$ac_exeext
41244 if { (ac_try="$ac_link"
41245 case "(($ac_try" in
41246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41247 *) ac_try_echo=$ac_try;;
41249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41250 (eval "$ac_link") 2>conftest.er1
41252 grep -v '^ *+' conftest.er1 >conftest.err
41254 cat conftest.err >&5
41255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256 (exit $ac_status); } && {
41257 test -z "$ac_c_werror_flag" ||
41258 test ! -s conftest.err
41259 } && test -s conftest$ac_exeext &&
41260 $as_test_x conftest$ac_exeext; then
41261 eval "$as_ac_var=yes"
41263 echo "$as_me: failed program was:" >&5
41264 sed 's/^/| /' conftest.$ac_ext >&5
41266 eval "$as_ac_var=no"
41269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41270 conftest$ac_exeext conftest.$ac_ext
41272 ac_res=`eval echo '${'$as_ac_var'}'`
41273 { echo "$as_me:$LINENO: result: $ac_res" >&5
41274 echo "${ECHO_T}$ac_res" >&6; }
41275 if test `eval echo '${'$as_ac_var'}'` = yes; then
41276 cat >>confdefs.h <<_ACEOF
41277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41284 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
41285 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
41286 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
41287 wxUSE_SNGLINST_CHECKER=no
41293 for ac_func in setenv putenv
41295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41299 echo $ECHO_N "(cached) $ECHO_C" >&6
41301 cat >conftest.$ac_ext <<_ACEOF
41304 cat confdefs.h >>conftest.$ac_ext
41305 cat >>conftest.$ac_ext <<_ACEOF
41306 /* end confdefs.h. */
41307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41309 #define $ac_func innocuous_$ac_func
41311 /* System header to define __stub macros and hopefully few prototypes,
41312 which can conflict with char $ac_func (); below.
41313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41314 <limits.h> exists even on freestanding compilers. */
41317 # include <limits.h>
41319 # include <assert.h>
41324 /* Override any GCC internal prototype to avoid an error.
41325 Use char because int might match the return type of a GCC
41326 builtin and then its argument prototype would still apply. */
41331 /* The GNU C library defines this for functions which it implements
41332 to always fail with ENOSYS. Some functions are actually named
41333 something starting with __ and the normal name is an alias. */
41334 #if defined __stub_$ac_func || defined __stub___$ac_func
41341 return $ac_func ();
41346 rm -f conftest.$ac_objext conftest$ac_exeext
41347 if { (ac_try="$ac_link"
41348 case "(($ac_try" in
41349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41350 *) ac_try_echo=$ac_try;;
41352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41353 (eval "$ac_link") 2>conftest.er1
41355 grep -v '^ *+' conftest.er1 >conftest.err
41357 cat conftest.err >&5
41358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41359 (exit $ac_status); } && {
41360 test -z "$ac_c_werror_flag" ||
41361 test ! -s conftest.err
41362 } && test -s conftest$ac_exeext &&
41363 $as_test_x conftest$ac_exeext; then
41364 eval "$as_ac_var=yes"
41366 echo "$as_me: failed program was:" >&5
41367 sed 's/^/| /' conftest.$ac_ext >&5
41369 eval "$as_ac_var=no"
41372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41373 conftest$ac_exeext conftest.$ac_ext
41375 ac_res=`eval echo '${'$as_ac_var'}'`
41376 { echo "$as_me:$LINENO: result: $ac_res" >&5
41377 echo "${ECHO_T}$ac_res" >&6; }
41378 if test `eval echo '${'$as_ac_var'}'` = yes; then
41379 cat >>confdefs.h <<_ACEOF
41380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41386 if test "$ac_cv_func_setenv" = "yes"; then
41388 for ac_func in unsetenv
41390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41391 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41393 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41394 echo $ECHO_N "(cached) $ECHO_C" >&6
41396 cat >conftest.$ac_ext <<_ACEOF
41399 cat confdefs.h >>conftest.$ac_ext
41400 cat >>conftest.$ac_ext <<_ACEOF
41401 /* end confdefs.h. */
41402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41404 #define $ac_func innocuous_$ac_func
41406 /* System header to define __stub macros and hopefully few prototypes,
41407 which can conflict with char $ac_func (); below.
41408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41409 <limits.h> exists even on freestanding compilers. */
41412 # include <limits.h>
41414 # include <assert.h>
41419 /* Override any GCC internal prototype to avoid an error.
41420 Use char because int might match the return type of a GCC
41421 builtin and then its argument prototype would still apply. */
41426 /* The GNU C library defines this for functions which it implements
41427 to always fail with ENOSYS. Some functions are actually named
41428 something starting with __ and the normal name is an alias. */
41429 #if defined __stub_$ac_func || defined __stub___$ac_func
41436 return $ac_func ();
41441 rm -f conftest.$ac_objext conftest$ac_exeext
41442 if { (ac_try="$ac_link"
41443 case "(($ac_try" in
41444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41445 *) ac_try_echo=$ac_try;;
41447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41448 (eval "$ac_link") 2>conftest.er1
41450 grep -v '^ *+' conftest.er1 >conftest.err
41452 cat conftest.err >&5
41453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454 (exit $ac_status); } && {
41455 test -z "$ac_c_werror_flag" ||
41456 test ! -s conftest.err
41457 } && test -s conftest$ac_exeext &&
41458 $as_test_x conftest$ac_exeext; then
41459 eval "$as_ac_var=yes"
41461 echo "$as_me: failed program was:" >&5
41462 sed 's/^/| /' conftest.$ac_ext >&5
41464 eval "$as_ac_var=no"
41467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41468 conftest$ac_exeext conftest.$ac_ext
41470 ac_res=`eval echo '${'$as_ac_var'}'`
41471 { echo "$as_me:$LINENO: result: $ac_res" >&5
41472 echo "${ECHO_T}$ac_res" >&6; }
41473 if test `eval echo '${'$as_ac_var'}'` = yes; then
41474 cat >>confdefs.h <<_ACEOF
41475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41483 HAVE_SOME_SLEEP_FUNC=0
41484 if test "$USE_BEOS" = 1; then
41485 cat >>confdefs.h <<\_ACEOF
41486 #define HAVE_SLEEP 1
41489 HAVE_SOME_SLEEP_FUNC=1
41492 if test "$USE_DARWIN" = 1; then
41493 cat >>confdefs.h <<\_ACEOF
41494 #define HAVE_USLEEP 1
41497 HAVE_SOME_SLEEP_FUNC=1
41500 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41503 for ac_func in nanosleep
41505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41506 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41508 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41509 echo $ECHO_N "(cached) $ECHO_C" >&6
41511 cat >conftest.$ac_ext <<_ACEOF
41514 cat confdefs.h >>conftest.$ac_ext
41515 cat >>conftest.$ac_ext <<_ACEOF
41516 /* end confdefs.h. */
41517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41519 #define $ac_func innocuous_$ac_func
41521 /* System header to define __stub macros and hopefully few prototypes,
41522 which can conflict with char $ac_func (); below.
41523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41524 <limits.h> exists even on freestanding compilers. */
41527 # include <limits.h>
41529 # include <assert.h>
41534 /* Override any GCC internal prototype to avoid an error.
41535 Use char because int might match the return type of a GCC
41536 builtin and then its argument prototype would still apply. */
41541 /* The GNU C library defines this for functions which it implements
41542 to always fail with ENOSYS. Some functions are actually named
41543 something starting with __ and the normal name is an alias. */
41544 #if defined __stub_$ac_func || defined __stub___$ac_func
41551 return $ac_func ();
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 eval "$as_ac_var=yes"
41576 echo "$as_me: failed program was:" >&5
41577 sed 's/^/| /' conftest.$ac_ext >&5
41579 eval "$as_ac_var=no"
41582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41583 conftest$ac_exeext conftest.$ac_ext
41585 ac_res=`eval echo '${'$as_ac_var'}'`
41586 { echo "$as_me:$LINENO: result: $ac_res" >&5
41587 echo "${ECHO_T}$ac_res" >&6; }
41588 if test `eval echo '${'$as_ac_var'}'` = yes; then
41589 cat >>confdefs.h <<_ACEOF
41590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41592 cat >>confdefs.h <<\_ACEOF
41593 #define HAVE_NANOSLEEP 1
41598 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41599 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41600 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41601 echo $ECHO_N "(cached) $ECHO_C" >&6
41603 ac_check_lib_save_LIBS=$LIBS
41604 LIBS="-lposix4 $LIBS"
41605 cat >conftest.$ac_ext <<_ACEOF
41608 cat confdefs.h >>conftest.$ac_ext
41609 cat >>conftest.$ac_ext <<_ACEOF
41610 /* end confdefs.h. */
41612 /* Override any GCC internal prototype to avoid an error.
41613 Use char because int might match the return type of a GCC
41614 builtin and then its argument prototype would still apply. */
41622 return nanosleep ();
41627 rm -f conftest.$ac_objext conftest$ac_exeext
41628 if { (ac_try="$ac_link"
41629 case "(($ac_try" in
41630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41631 *) ac_try_echo=$ac_try;;
41633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41634 (eval "$ac_link") 2>conftest.er1
41636 grep -v '^ *+' conftest.er1 >conftest.err
41638 cat conftest.err >&5
41639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41640 (exit $ac_status); } && {
41641 test -z "$ac_c_werror_flag" ||
41642 test ! -s conftest.err
41643 } && test -s conftest$ac_exeext &&
41644 $as_test_x conftest$ac_exeext; then
41645 ac_cv_lib_posix4_nanosleep=yes
41647 echo "$as_me: failed program was:" >&5
41648 sed 's/^/| /' conftest.$ac_ext >&5
41650 ac_cv_lib_posix4_nanosleep=no
41653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41654 conftest$ac_exeext conftest.$ac_ext
41655 LIBS=$ac_check_lib_save_LIBS
41657 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
41658 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41659 if test $ac_cv_lib_posix4_nanosleep = yes; then
41661 cat >>confdefs.h <<\_ACEOF
41662 #define HAVE_NANOSLEEP 1
41665 POSIX4_LINK=" -lposix4"
41670 for wx_func in usleep
41672 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41673 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41674 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41675 echo $ECHO_N "(cached) $ECHO_C" >&6
41678 cat >conftest.$ac_ext <<_ACEOF
41682 cat confdefs.h >>conftest.$ac_ext
41683 cat >>conftest.$ac_ext <<_ACEOF
41684 /* end confdefs.h. */
41687 $ac_includes_default
41703 rm -f conftest.$ac_objext conftest$ac_exeext
41704 if { (ac_try="$ac_link"
41705 case "(($ac_try" in
41706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41707 *) ac_try_echo=$ac_try;;
41709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41710 (eval "$ac_link") 2>conftest.er1
41712 grep -v '^ *+' conftest.er1 >conftest.err
41714 cat conftest.err >&5
41715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41716 (exit $ac_status); } && {
41717 test -z "$ac_c_werror_flag" ||
41718 test ! -s conftest.err
41719 } && test -s conftest$ac_exeext &&
41720 $as_test_x conftest$ac_exeext; then
41721 eval wx_cv_func_$wx_func=yes
41723 echo "$as_me: failed program was:" >&5
41724 sed 's/^/| /' conftest.$ac_ext >&5
41726 eval wx_cv_func_$wx_func=no
41729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41730 conftest$ac_exeext conftest.$ac_ext
41733 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41734 { echo "$as_me:$LINENO: result: $ac_res" >&5
41735 echo "${ECHO_T}$ac_res" >&6; }
41737 if eval test \$wx_cv_func_$wx_func = yes
41739 cat >>confdefs.h <<_ACEOF
41740 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41746 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41747 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41764 for wx_func in uname
41766 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41767 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41768 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41769 echo $ECHO_N "(cached) $ECHO_C" >&6
41772 cat >conftest.$ac_ext <<_ACEOF
41776 cat confdefs.h >>conftest.$ac_ext
41777 cat >>conftest.$ac_ext <<_ACEOF
41778 /* end confdefs.h. */
41780 #include <sys/utsname.h>
41781 $ac_includes_default
41797 rm -f conftest.$ac_objext conftest$ac_exeext
41798 if { (ac_try="$ac_link"
41799 case "(($ac_try" in
41800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41801 *) ac_try_echo=$ac_try;;
41803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41804 (eval "$ac_link") 2>conftest.er1
41806 grep -v '^ *+' conftest.er1 >conftest.err
41808 cat conftest.err >&5
41809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41810 (exit $ac_status); } && {
41811 test -z "$ac_c_werror_flag" ||
41812 test ! -s conftest.err
41813 } && test -s conftest$ac_exeext &&
41814 $as_test_x conftest$ac_exeext; then
41815 eval wx_cv_func_$wx_func=yes
41817 echo "$as_me: failed program was:" >&5
41818 sed 's/^/| /' conftest.$ac_ext >&5
41820 eval wx_cv_func_$wx_func=no
41823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41824 conftest$ac_exeext conftest.$ac_ext
41827 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41828 { echo "$as_me:$LINENO: result: $ac_res" >&5
41829 echo "${ECHO_T}$ac_res" >&6; }
41831 if eval test \$wx_cv_func_$wx_func = yes
41833 cat >>confdefs.h <<_ACEOF
41834 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41844 if test "$wx_cv_func_uname" != yes; then
41846 for wx_func in gethostname
41848 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41849 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41850 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41851 echo $ECHO_N "(cached) $ECHO_C" >&6
41854 cat >conftest.$ac_ext <<_ACEOF
41858 cat confdefs.h >>conftest.$ac_ext
41859 cat >>conftest.$ac_ext <<_ACEOF
41860 /* end confdefs.h. */
41863 $ac_includes_default
41879 rm -f conftest.$ac_objext conftest$ac_exeext
41880 if { (ac_try="$ac_link"
41881 case "(($ac_try" in
41882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41883 *) ac_try_echo=$ac_try;;
41885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41886 (eval "$ac_link") 2>conftest.er1
41888 grep -v '^ *+' conftest.er1 >conftest.err
41890 cat conftest.err >&5
41891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41892 (exit $ac_status); } && {
41893 test -z "$ac_c_werror_flag" ||
41894 test ! -s conftest.err
41895 } && test -s conftest$ac_exeext &&
41896 $as_test_x conftest$ac_exeext; then
41897 eval wx_cv_func_$wx_func=yes
41899 echo "$as_me: failed program was:" >&5
41900 sed 's/^/| /' conftest.$ac_ext >&5
41902 eval wx_cv_func_$wx_func=no
41905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41906 conftest$ac_exeext conftest.$ac_ext
41909 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41910 { echo "$as_me:$LINENO: result: $ac_res" >&5
41911 echo "${ECHO_T}$ac_res" >&6; }
41913 if eval test \$wx_cv_func_$wx_func = yes
41915 cat >>confdefs.h <<_ACEOF
41916 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41929 for wx_func in strtok_r
41931 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41932 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41933 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41934 echo $ECHO_N "(cached) $ECHO_C" >&6
41937 cat >conftest.$ac_ext <<_ACEOF
41941 cat confdefs.h >>conftest.$ac_ext
41942 cat >>conftest.$ac_ext <<_ACEOF
41943 /* end confdefs.h. */
41946 $ac_includes_default
41962 rm -f conftest.$ac_objext conftest$ac_exeext
41963 if { (ac_try="$ac_link"
41964 case "(($ac_try" in
41965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41966 *) ac_try_echo=$ac_try;;
41968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41969 (eval "$ac_link") 2>conftest.er1
41971 grep -v '^ *+' conftest.er1 >conftest.err
41973 cat conftest.err >&5
41974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41975 (exit $ac_status); } && {
41976 test -z "$ac_c_werror_flag" ||
41977 test ! -s conftest.err
41978 } && test -s conftest$ac_exeext &&
41979 $as_test_x conftest$ac_exeext; then
41980 eval wx_cv_func_$wx_func=yes
41982 echo "$as_me: failed program was:" >&5
41983 sed 's/^/| /' conftest.$ac_ext >&5
41985 eval wx_cv_func_$wx_func=no
41988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41989 conftest$ac_exeext conftest.$ac_ext
41992 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41993 { echo "$as_me:$LINENO: result: $ac_res" >&5
41994 echo "${ECHO_T}$ac_res" >&6; }
41996 if eval test \$wx_cv_func_$wx_func = yes
41998 cat >>confdefs.h <<_ACEOF
41999 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42012 for ac_func in inet_addr
42014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42015 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42017 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42018 echo $ECHO_N "(cached) $ECHO_C" >&6
42020 cat >conftest.$ac_ext <<_ACEOF
42023 cat confdefs.h >>conftest.$ac_ext
42024 cat >>conftest.$ac_ext <<_ACEOF
42025 /* end confdefs.h. */
42026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42028 #define $ac_func innocuous_$ac_func
42030 /* System header to define __stub macros and hopefully few prototypes,
42031 which can conflict with char $ac_func (); below.
42032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42033 <limits.h> exists even on freestanding compilers. */
42036 # include <limits.h>
42038 # include <assert.h>
42043 /* Override any GCC internal prototype to avoid an error.
42044 Use char because int might match the return type of a GCC
42045 builtin and then its argument prototype would still apply. */
42050 /* The GNU C library defines this for functions which it implements
42051 to always fail with ENOSYS. Some functions are actually named
42052 something starting with __ and the normal name is an alias. */
42053 #if defined __stub_$ac_func || defined __stub___$ac_func
42060 return $ac_func ();
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 eval "$as_ac_var=yes"
42085 echo "$as_me: failed program was:" >&5
42086 sed 's/^/| /' conftest.$ac_ext >&5
42088 eval "$as_ac_var=no"
42091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42092 conftest$ac_exeext conftest.$ac_ext
42094 ac_res=`eval echo '${'$as_ac_var'}'`
42095 { echo "$as_me:$LINENO: result: $ac_res" >&5
42096 echo "${ECHO_T}$ac_res" >&6; }
42097 if test `eval echo '${'$as_ac_var'}'` = yes; then
42098 cat >>confdefs.h <<_ACEOF
42099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42101 cat >>confdefs.h <<\_ACEOF
42102 #define HAVE_INET_ADDR 1
42107 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
42108 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
42109 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
42110 echo $ECHO_N "(cached) $ECHO_C" >&6
42112 ac_check_lib_save_LIBS=$LIBS
42114 cat >conftest.$ac_ext <<_ACEOF
42117 cat confdefs.h >>conftest.$ac_ext
42118 cat >>conftest.$ac_ext <<_ACEOF
42119 /* end confdefs.h. */
42121 /* Override any GCC internal prototype to avoid an error.
42122 Use char because int might match the return type of a GCC
42123 builtin and then its argument prototype would still apply. */
42131 return inet_addr ();
42136 rm -f conftest.$ac_objext conftest$ac_exeext
42137 if { (ac_try="$ac_link"
42138 case "(($ac_try" in
42139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42140 *) ac_try_echo=$ac_try;;
42142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42143 (eval "$ac_link") 2>conftest.er1
42145 grep -v '^ *+' conftest.er1 >conftest.err
42147 cat conftest.err >&5
42148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42149 (exit $ac_status); } && {
42150 test -z "$ac_c_werror_flag" ||
42151 test ! -s conftest.err
42152 } && test -s conftest$ac_exeext &&
42153 $as_test_x conftest$ac_exeext; then
42154 ac_cv_lib_nsl_inet_addr=yes
42156 echo "$as_me: failed program was:" >&5
42157 sed 's/^/| /' conftest.$ac_ext >&5
42159 ac_cv_lib_nsl_inet_addr=no
42162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42163 conftest$ac_exeext conftest.$ac_ext
42164 LIBS=$ac_check_lib_save_LIBS
42166 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
42167 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
42168 if test $ac_cv_lib_nsl_inet_addr = yes; then
42172 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
42173 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
42174 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
42175 echo $ECHO_N "(cached) $ECHO_C" >&6
42177 ac_check_lib_save_LIBS=$LIBS
42178 LIBS="-lresolv $LIBS"
42179 cat >conftest.$ac_ext <<_ACEOF
42182 cat confdefs.h >>conftest.$ac_ext
42183 cat >>conftest.$ac_ext <<_ACEOF
42184 /* end confdefs.h. */
42186 /* Override any GCC internal prototype to avoid an error.
42187 Use char because int might match the return type of a GCC
42188 builtin and then its argument prototype would still apply. */
42196 return inet_addr ();
42201 rm -f conftest.$ac_objext conftest$ac_exeext
42202 if { (ac_try="$ac_link"
42203 case "(($ac_try" in
42204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42205 *) ac_try_echo=$ac_try;;
42207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42208 (eval "$ac_link") 2>conftest.er1
42210 grep -v '^ *+' conftest.er1 >conftest.err
42212 cat conftest.err >&5
42213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42214 (exit $ac_status); } && {
42215 test -z "$ac_c_werror_flag" ||
42216 test ! -s conftest.err
42217 } && test -s conftest$ac_exeext &&
42218 $as_test_x conftest$ac_exeext; then
42219 ac_cv_lib_resolv_inet_addr=yes
42221 echo "$as_me: failed program was:" >&5
42222 sed 's/^/| /' conftest.$ac_ext >&5
42224 ac_cv_lib_resolv_inet_addr=no
42227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42228 conftest$ac_exeext conftest.$ac_ext
42229 LIBS=$ac_check_lib_save_LIBS
42231 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
42232 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
42233 if test $ac_cv_lib_resolv_inet_addr = yes; then
42237 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
42238 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
42239 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
42240 echo $ECHO_N "(cached) $ECHO_C" >&6
42242 ac_check_lib_save_LIBS=$LIBS
42243 LIBS="-lsocket $LIBS"
42244 cat >conftest.$ac_ext <<_ACEOF
42247 cat confdefs.h >>conftest.$ac_ext
42248 cat >>conftest.$ac_ext <<_ACEOF
42249 /* end confdefs.h. */
42251 /* Override any GCC internal prototype to avoid an error.
42252 Use char because int might match the return type of a GCC
42253 builtin and then its argument prototype would still apply. */
42261 return inet_addr ();
42266 rm -f conftest.$ac_objext conftest$ac_exeext
42267 if { (ac_try="$ac_link"
42268 case "(($ac_try" in
42269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42270 *) ac_try_echo=$ac_try;;
42272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42273 (eval "$ac_link") 2>conftest.er1
42275 grep -v '^ *+' conftest.er1 >conftest.err
42277 cat conftest.err >&5
42278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42279 (exit $ac_status); } && {
42280 test -z "$ac_c_werror_flag" ||
42281 test ! -s conftest.err
42282 } && test -s conftest$ac_exeext &&
42283 $as_test_x conftest$ac_exeext; then
42284 ac_cv_lib_socket_inet_addr=yes
42286 echo "$as_me: failed program was:" >&5
42287 sed 's/^/| /' conftest.$ac_ext >&5
42289 ac_cv_lib_socket_inet_addr=no
42292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42293 conftest$ac_exeext conftest.$ac_ext
42294 LIBS=$ac_check_lib_save_LIBS
42296 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
42297 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
42298 if test $ac_cv_lib_socket_inet_addr = yes; then
42318 for ac_func in inet_aton
42320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42321 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42323 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42324 echo $ECHO_N "(cached) $ECHO_C" >&6
42326 cat >conftest.$ac_ext <<_ACEOF
42329 cat confdefs.h >>conftest.$ac_ext
42330 cat >>conftest.$ac_ext <<_ACEOF
42331 /* end confdefs.h. */
42332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42334 #define $ac_func innocuous_$ac_func
42336 /* System header to define __stub macros and hopefully few prototypes,
42337 which can conflict with char $ac_func (); below.
42338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42339 <limits.h> exists even on freestanding compilers. */
42342 # include <limits.h>
42344 # include <assert.h>
42349 /* Override any GCC internal prototype to avoid an error.
42350 Use char because int might match the return type of a GCC
42351 builtin and then its argument prototype would still apply. */
42356 /* The GNU C library defines this for functions which it implements
42357 to always fail with ENOSYS. Some functions are actually named
42358 something starting with __ and the normal name is an alias. */
42359 #if defined __stub_$ac_func || defined __stub___$ac_func
42366 return $ac_func ();
42371 rm -f conftest.$ac_objext conftest$ac_exeext
42372 if { (ac_try="$ac_link"
42373 case "(($ac_try" in
42374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42375 *) ac_try_echo=$ac_try;;
42377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42378 (eval "$ac_link") 2>conftest.er1
42380 grep -v '^ *+' conftest.er1 >conftest.err
42382 cat conftest.err >&5
42383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42384 (exit $ac_status); } && {
42385 test -z "$ac_c_werror_flag" ||
42386 test ! -s conftest.err
42387 } && test -s conftest$ac_exeext &&
42388 $as_test_x conftest$ac_exeext; then
42389 eval "$as_ac_var=yes"
42391 echo "$as_me: failed program was:" >&5
42392 sed 's/^/| /' conftest.$ac_ext >&5
42394 eval "$as_ac_var=no"
42397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42398 conftest$ac_exeext conftest.$ac_ext
42400 ac_res=`eval echo '${'$as_ac_var'}'`
42401 { echo "$as_me:$LINENO: result: $ac_res" >&5
42402 echo "${ECHO_T}$ac_res" >&6; }
42403 if test `eval echo '${'$as_ac_var'}'` = yes; then
42404 cat >>confdefs.h <<_ACEOF
42405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42407 cat >>confdefs.h <<\_ACEOF
42408 #define HAVE_INET_ATON 1
42413 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
42414 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
42415 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
42416 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
42417 echo $ECHO_N "(cached) $ECHO_C" >&6
42419 ac_check_lib_save_LIBS=$LIBS
42420 LIBS="-l$INET_LINK $LIBS"
42421 cat >conftest.$ac_ext <<_ACEOF
42424 cat confdefs.h >>conftest.$ac_ext
42425 cat >>conftest.$ac_ext <<_ACEOF
42426 /* end confdefs.h. */
42428 /* Override any GCC internal prototype to avoid an error.
42429 Use char because int might match the return type of a GCC
42430 builtin and then its argument prototype would still apply. */
42438 return inet_aton ();
42443 rm -f conftest.$ac_objext conftest$ac_exeext
42444 if { (ac_try="$ac_link"
42445 case "(($ac_try" in
42446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42447 *) ac_try_echo=$ac_try;;
42449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42450 (eval "$ac_link") 2>conftest.er1
42452 grep -v '^ *+' conftest.er1 >conftest.err
42454 cat conftest.err >&5
42455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42456 (exit $ac_status); } && {
42457 test -z "$ac_c_werror_flag" ||
42458 test ! -s conftest.err
42459 } && test -s conftest$ac_exeext &&
42460 $as_test_x conftest$ac_exeext; then
42461 eval "$as_ac_Lib=yes"
42463 echo "$as_me: failed program was:" >&5
42464 sed 's/^/| /' conftest.$ac_ext >&5
42466 eval "$as_ac_Lib=no"
42469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42470 conftest$ac_exeext conftest.$ac_ext
42471 LIBS=$ac_check_lib_save_LIBS
42473 ac_res=`eval echo '${'$as_ac_Lib'}'`
42474 { echo "$as_me:$LINENO: result: $ac_res" >&5
42475 echo "${ECHO_T}$ac_res" >&6; }
42476 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42477 cat >>confdefs.h <<\_ACEOF
42478 #define HAVE_INET_ATON 1
42488 if test "x$INET_LINK" != "x"; then
42489 cat >>confdefs.h <<\_ACEOF
42490 #define HAVE_INET_ADDR 1
42493 INET_LINK=" -l$INET_LINK"
42497 for wx_func in fdopen
42499 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42500 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42501 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42502 echo $ECHO_N "(cached) $ECHO_C" >&6
42505 cat >conftest.$ac_ext <<_ACEOF
42509 cat confdefs.h >>conftest.$ac_ext
42510 cat >>conftest.$ac_ext <<_ACEOF
42511 /* end confdefs.h. */
42514 $ac_includes_default
42530 rm -f conftest.$ac_objext conftest$ac_exeext
42531 if { (ac_try="$ac_link"
42532 case "(($ac_try" in
42533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42534 *) ac_try_echo=$ac_try;;
42536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42537 (eval "$ac_link") 2>conftest.er1
42539 grep -v '^ *+' conftest.er1 >conftest.err
42541 cat conftest.err >&5
42542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42543 (exit $ac_status); } && {
42544 test -z "$ac_c_werror_flag" ||
42545 test ! -s conftest.err
42546 } && test -s conftest$ac_exeext &&
42547 $as_test_x conftest$ac_exeext; then
42548 eval wx_cv_func_$wx_func=yes
42550 echo "$as_me: failed program was:" >&5
42551 sed 's/^/| /' conftest.$ac_ext >&5
42553 eval wx_cv_func_$wx_func=no
42556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42557 conftest$ac_exeext conftest.$ac_ext
42560 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42561 { echo "$as_me:$LINENO: result: $ac_res" >&5
42562 echo "${ECHO_T}$ac_res" >&6; }
42564 if eval test \$wx_cv_func_$wx_func = yes
42566 cat >>confdefs.h <<_ACEOF
42567 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42578 if test "$wxUSE_TARSTREAM" = "yes"; then
42580 for wx_func in sysconf
42582 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42583 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42584 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42585 echo $ECHO_N "(cached) $ECHO_C" >&6
42588 cat >conftest.$ac_ext <<_ACEOF
42592 cat confdefs.h >>conftest.$ac_ext
42593 cat >>conftest.$ac_ext <<_ACEOF
42594 /* end confdefs.h. */
42597 $ac_includes_default
42613 rm -f conftest.$ac_objext conftest$ac_exeext
42614 if { (ac_try="$ac_link"
42615 case "(($ac_try" in
42616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42617 *) ac_try_echo=$ac_try;;
42619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42620 (eval "$ac_link") 2>conftest.er1
42622 grep -v '^ *+' conftest.er1 >conftest.err
42624 cat conftest.err >&5
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); } && {
42627 test -z "$ac_c_werror_flag" ||
42628 test ! -s conftest.err
42629 } && test -s conftest$ac_exeext &&
42630 $as_test_x conftest$ac_exeext; then
42631 eval wx_cv_func_$wx_func=yes
42633 echo "$as_me: failed program was:" >&5
42634 sed 's/^/| /' conftest.$ac_ext >&5
42636 eval wx_cv_func_$wx_func=no
42639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42640 conftest$ac_exeext conftest.$ac_ext
42643 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42644 { echo "$as_me:$LINENO: result: $ac_res" >&5
42645 echo "${ECHO_T}$ac_res" >&6; }
42647 if eval test \$wx_cv_func_$wx_func = yes
42649 cat >>confdefs.h <<_ACEOF
42650 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42662 for wx_func in getpwuid_r
42664 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42665 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42666 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42667 echo $ECHO_N "(cached) $ECHO_C" >&6
42670 cat >conftest.$ac_ext <<_ACEOF
42674 cat confdefs.h >>conftest.$ac_ext
42675 cat >>conftest.$ac_ext <<_ACEOF
42676 /* end confdefs.h. */
42682 $ac_includes_default
42692 struct passwd pw, *ppw;
42694 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
42702 rm -f conftest.$ac_objext conftest$ac_exeext
42703 if { (ac_try="$ac_link"
42704 case "(($ac_try" in
42705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42706 *) ac_try_echo=$ac_try;;
42708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42709 (eval "$ac_link") 2>conftest.er1
42711 grep -v '^ *+' conftest.er1 >conftest.err
42713 cat conftest.err >&5
42714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42715 (exit $ac_status); } && {
42716 test -z "$ac_c_werror_flag" ||
42717 test ! -s conftest.err
42718 } && test -s conftest$ac_exeext &&
42719 $as_test_x conftest$ac_exeext; then
42720 eval wx_cv_func_$wx_func=yes
42722 echo "$as_me: failed program was:" >&5
42723 sed 's/^/| /' conftest.$ac_ext >&5
42725 eval wx_cv_func_$wx_func=no
42728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42729 conftest$ac_exeext conftest.$ac_ext
42732 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42733 { echo "$as_me:$LINENO: result: $ac_res" >&5
42734 echo "${ECHO_T}$ac_res" >&6; }
42736 if eval test \$wx_cv_func_$wx_func = yes
42738 cat >>confdefs.h <<_ACEOF
42739 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42751 for wx_func in getgrgid_r
42753 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42754 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42755 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42756 echo $ECHO_N "(cached) $ECHO_C" >&6
42759 cat >conftest.$ac_ext <<_ACEOF
42763 cat confdefs.h >>conftest.$ac_ext
42764 cat >>conftest.$ac_ext <<_ACEOF
42765 /* end confdefs.h. */
42771 $ac_includes_default
42781 struct group grp, *pgrp;
42783 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
42791 rm -f conftest.$ac_objext conftest$ac_exeext
42792 if { (ac_try="$ac_link"
42793 case "(($ac_try" in
42794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42795 *) ac_try_echo=$ac_try;;
42797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42798 (eval "$ac_link") 2>conftest.er1
42800 grep -v '^ *+' conftest.er1 >conftest.err
42802 cat conftest.err >&5
42803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42804 (exit $ac_status); } && {
42805 test -z "$ac_c_werror_flag" ||
42806 test ! -s conftest.err
42807 } && test -s conftest$ac_exeext &&
42808 $as_test_x conftest$ac_exeext; then
42809 eval wx_cv_func_$wx_func=yes
42811 echo "$as_me: failed program was:" >&5
42812 sed 's/^/| /' conftest.$ac_ext >&5
42814 eval wx_cv_func_$wx_func=no
42817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42818 conftest$ac_exeext conftest.$ac_ext
42821 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42822 { echo "$as_me:$LINENO: result: $ac_res" >&5
42823 echo "${ECHO_T}$ac_res" >&6; }
42825 if eval test \$wx_cv_func_$wx_func = yes
42827 cat >>confdefs.h <<_ACEOF
42828 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42844 cat >confcache <<\_ACEOF
42845 # This file is a shell script that caches the results of configure
42846 # tests run on this system so they can be shared between configure
42847 # scripts and configure runs, see configure's option --config-cache.
42848 # It is not useful on other systems. If it contains results you don't
42849 # want to keep, you may remove or edit it.
42851 # config.status only pays attention to the cache file if you give it
42852 # the --recheck option to rerun configure.
42854 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42855 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42856 # following values.
42860 # The following way of writing the cache mishandles newlines in values,
42861 # but we know of no workaround that is simple, portable, and efficient.
42862 # So, we kill variables containing newlines.
42863 # Ultrix sh set writes to stderr and can't be redirected directly,
42864 # and sets the high bit in the cache file unless we assign to the vars.
42866 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42867 eval ac_val=\$$ac_var
42871 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42872 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42875 _ | IFS | as_nl) ;; #(
42876 *) $as_unset $ac_var ;;
42882 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42883 *${as_nl}ac_space=\ *)
42884 # `set' does not quote correctly, so add quotes (double-quote
42885 # substitution turns \\\\ into \\, and sed turns \\ into \).
42888 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42891 # `set' quotes correctly as required by POSIX, so do not add quotes.
42892 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42901 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42903 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42905 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
42906 if test -w "$cache_file"; then
42907 test "x$cache_file" != "x/dev/null" &&
42908 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42909 echo "$as_me: updating cache $cache_file" >&6;}
42910 cat confcache >$cache_file
42912 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42913 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42919 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42925 if test "$wxUSE_THREADS" = "yes" ; then
42926 if test "$USE_BEOS" = 1; then
42927 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42928 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42933 if test "$wxUSE_THREADS" = "yes" ; then
42936 THREAD_OPTS="-pthread"
42937 if test "x$SUNCXX" = xyes; then
42938 THREAD_OPTS="-mt lthread $THREAD_OPTS"
42942 *-*-solaris2* | *-*-sunos4* )
42943 if test "x$GCC" = "xyes"; then
42944 THREAD_OPTS="-pthreads $THREAD_OPTS"
42948 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
42950 *-*-darwin* | *-*-cygwin* )
42954 THREAD_OPTS="pthreads"
42957 if test "x$GCC" = "xyes"; then
42958 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
42966 if test "x$GCC" = "xyes"; then
42976 if test "x$GCC" != "xyes"; then
42977 THREAD_OPTS="-Ethread"
42984 THREAD_OPTS="none pthread"
42988 THREAD_OPTS="$THREAD_OPTS pthread none"
42993 for flag in $THREAD_OPTS; do
42996 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42997 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
43001 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
43002 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
43003 THREADS_CFLAGS="$flag"
43007 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
43008 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
43009 THREADS_LINK="-l$flag"
43014 save_CFLAGS="$CFLAGS"
43015 LIBS="$THREADS_LINK $LIBS"
43016 CFLAGS="$THREADS_CFLAGS $CFLAGS"
43018 cat >conftest.$ac_ext <<_ACEOF
43021 cat confdefs.h >>conftest.$ac_ext
43022 cat >>conftest.$ac_ext <<_ACEOF
43023 /* end confdefs.h. */
43024 #include <pthread.h>
43028 pthread_create(0,0,0,0);
43033 rm -f conftest.$ac_objext conftest$ac_exeext
43034 if { (ac_try="$ac_link"
43035 case "(($ac_try" in
43036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43037 *) ac_try_echo=$ac_try;;
43039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43040 (eval "$ac_link") 2>conftest.er1
43042 grep -v '^ *+' conftest.er1 >conftest.err
43044 cat conftest.err >&5
43045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43046 (exit $ac_status); } && {
43047 test -z "$ac_c_werror_flag" ||
43048 test ! -s conftest.err
43049 } && test -s conftest$ac_exeext &&
43050 $as_test_x conftest$ac_exeext; then
43053 echo "$as_me: failed program was:" >&5
43054 sed 's/^/| /' conftest.$ac_ext >&5
43059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43060 conftest$ac_exeext conftest.$ac_ext
43063 CFLAGS="$save_CFLAGS"
43065 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
43066 echo "${ECHO_T}$THREADS_OK" >&6; }
43067 if test "x$THREADS_OK" = "xyes"; then
43075 if test "x$THREADS_OK" != "xyes"; then
43077 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
43078 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
43080 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
43081 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
43082 LIBS="$THREADS_LINK $LIBS"
43084 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
43085 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
43089 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
43090 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
43091 flag="-D_THREAD_SAFE"
43094 flag="-D_THREAD_SAFE"
43097 flag="-D_REENTRANT"
43098 if test "x$GCC" != "xyes"; then
43099 flag="$flag -D_RWSTD_MULTI_THREAD"
43102 *solaris* | alpha*-osf*)
43103 flag="-D_REENTRANT"
43106 { echo "$as_me:$LINENO: result: ${flag}" >&5
43107 echo "${ECHO_T}${flag}" >&6; }
43108 if test "x$flag" != xno; then
43109 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
43112 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
43116 if test "$wxUSE_THREADS" = "yes" ; then
43118 for ac_func in thr_setconcurrency
43120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43121 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43123 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43124 echo $ECHO_N "(cached) $ECHO_C" >&6
43126 cat >conftest.$ac_ext <<_ACEOF
43129 cat confdefs.h >>conftest.$ac_ext
43130 cat >>conftest.$ac_ext <<_ACEOF
43131 /* end confdefs.h. */
43132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43134 #define $ac_func innocuous_$ac_func
43136 /* System header to define __stub macros and hopefully few prototypes,
43137 which can conflict with char $ac_func (); below.
43138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43139 <limits.h> exists even on freestanding compilers. */
43142 # include <limits.h>
43144 # include <assert.h>
43149 /* Override any GCC internal prototype to avoid an error.
43150 Use char because int might match the return type of a GCC
43151 builtin and then its argument prototype would still apply. */
43156 /* The GNU C library defines this for functions which it implements
43157 to always fail with ENOSYS. Some functions are actually named
43158 something starting with __ and the normal name is an alias. */
43159 #if defined __stub_$ac_func || defined __stub___$ac_func
43166 return $ac_func ();
43171 rm -f conftest.$ac_objext conftest$ac_exeext
43172 if { (ac_try="$ac_link"
43173 case "(($ac_try" in
43174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43175 *) ac_try_echo=$ac_try;;
43177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43178 (eval "$ac_link") 2>conftest.er1
43180 grep -v '^ *+' conftest.er1 >conftest.err
43182 cat conftest.err >&5
43183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43184 (exit $ac_status); } && {
43185 test -z "$ac_c_werror_flag" ||
43186 test ! -s conftest.err
43187 } && test -s conftest$ac_exeext &&
43188 $as_test_x conftest$ac_exeext; then
43189 eval "$as_ac_var=yes"
43191 echo "$as_me: failed program was:" >&5
43192 sed 's/^/| /' conftest.$ac_ext >&5
43194 eval "$as_ac_var=no"
43197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43198 conftest$ac_exeext conftest.$ac_ext
43200 ac_res=`eval echo '${'$as_ac_var'}'`
43201 { echo "$as_me:$LINENO: result: $ac_res" >&5
43202 echo "${ECHO_T}$ac_res" >&6; }
43203 if test `eval echo '${'$as_ac_var'}'` = yes; then
43204 cat >>confdefs.h <<_ACEOF
43205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43212 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
43213 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
43214 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
43215 echo $ECHO_N "(cached) $ECHO_C" >&6
43219 ac_cpp='$CXXCPP $CPPFLAGS'
43220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43224 cat >conftest.$ac_ext <<_ACEOF
43227 cat confdefs.h >>conftest.$ac_ext
43228 cat >>conftest.$ac_ext <<_ACEOF
43229 /* end confdefs.h. */
43230 #include <pthread.h>
43231 void ThreadCleanupFunc(void *p);
43238 pthread_cleanup_push(ThreadCleanupFunc, p);
43239 pthread_cleanup_pop(0);
43245 rm -f conftest.$ac_objext
43246 if { (ac_try="$ac_compile"
43247 case "(($ac_try" in
43248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43249 *) ac_try_echo=$ac_try;;
43251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43252 (eval "$ac_compile") 2>conftest.er1
43254 grep -v '^ *+' conftest.er1 >conftest.err
43256 cat conftest.err >&5
43257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43258 (exit $ac_status); } && {
43259 test -z "$ac_cxx_werror_flag" ||
43260 test ! -s conftest.err
43261 } && test -s conftest.$ac_objext; then
43263 wx_cv_func_pthread_cleanup=yes
43266 echo "$as_me: failed program was:" >&5
43267 sed 's/^/| /' conftest.$ac_ext >&5
43270 wx_cv_func_pthread_cleanup=no
43275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43277 ac_cpp='$CPP $CPPFLAGS'
43278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43284 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
43285 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
43286 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
43287 cat >>confdefs.h <<\_ACEOF
43288 #define wxHAVE_PTHREAD_CLEANUP 1
43294 for ac_header in sched.h
43296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43297 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43299 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43300 echo $ECHO_N "(cached) $ECHO_C" >&6
43302 cat >conftest.$ac_ext <<_ACEOF
43305 cat confdefs.h >>conftest.$ac_ext
43306 cat >>conftest.$ac_ext <<_ACEOF
43307 /* end confdefs.h. */
43308 $ac_includes_default
43310 #include <$ac_header>
43312 rm -f conftest.$ac_objext
43313 if { (ac_try="$ac_compile"
43314 case "(($ac_try" in
43315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43316 *) ac_try_echo=$ac_try;;
43318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43319 (eval "$ac_compile") 2>conftest.er1
43321 grep -v '^ *+' conftest.er1 >conftest.err
43323 cat conftest.err >&5
43324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43325 (exit $ac_status); } && {
43326 test -z "$ac_c_werror_flag" ||
43327 test ! -s conftest.err
43328 } && test -s conftest.$ac_objext; then
43329 eval "$as_ac_Header=yes"
43331 echo "$as_me: failed program was:" >&5
43332 sed 's/^/| /' conftest.$ac_ext >&5
43334 eval "$as_ac_Header=no"
43337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43339 ac_res=`eval echo '${'$as_ac_Header'}'`
43340 { echo "$as_me:$LINENO: result: $ac_res" >&5
43341 echo "${ECHO_T}$ac_res" >&6; }
43342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43343 cat >>confdefs.h <<_ACEOF
43344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43351 if test "$ac_cv_header_sched_h" = "yes"; then
43352 { echo "$as_me:$LINENO: checking for sched_yield" >&5
43353 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
43354 if test "${ac_cv_func_sched_yield+set}" = set; then
43355 echo $ECHO_N "(cached) $ECHO_C" >&6
43357 cat >conftest.$ac_ext <<_ACEOF
43360 cat confdefs.h >>conftest.$ac_ext
43361 cat >>conftest.$ac_ext <<_ACEOF
43362 /* end confdefs.h. */
43363 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
43364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43365 #define sched_yield innocuous_sched_yield
43367 /* System header to define __stub macros and hopefully few prototypes,
43368 which can conflict with char sched_yield (); below.
43369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43370 <limits.h> exists even on freestanding compilers. */
43373 # include <limits.h>
43375 # include <assert.h>
43380 /* Override any GCC internal prototype to avoid an error.
43381 Use char because int might match the return type of a GCC
43382 builtin and then its argument prototype would still apply. */
43386 char sched_yield ();
43387 /* The GNU C library defines this for functions which it implements
43388 to always fail with ENOSYS. Some functions are actually named
43389 something starting with __ and the normal name is an alias. */
43390 #if defined __stub_sched_yield || defined __stub___sched_yield
43397 return sched_yield ();
43402 rm -f conftest.$ac_objext conftest$ac_exeext
43403 if { (ac_try="$ac_link"
43404 case "(($ac_try" in
43405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43406 *) ac_try_echo=$ac_try;;
43408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43409 (eval "$ac_link") 2>conftest.er1
43411 grep -v '^ *+' conftest.er1 >conftest.err
43413 cat conftest.err >&5
43414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43415 (exit $ac_status); } && {
43416 test -z "$ac_c_werror_flag" ||
43417 test ! -s conftest.err
43418 } && test -s conftest$ac_exeext &&
43419 $as_test_x conftest$ac_exeext; then
43420 ac_cv_func_sched_yield=yes
43422 echo "$as_me: failed program was:" >&5
43423 sed 's/^/| /' conftest.$ac_ext >&5
43425 ac_cv_func_sched_yield=no
43428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43429 conftest$ac_exeext conftest.$ac_ext
43431 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
43432 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
43433 if test $ac_cv_func_sched_yield = yes; then
43434 cat >>confdefs.h <<\_ACEOF
43435 #define HAVE_SCHED_YIELD 1
43440 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
43441 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
43442 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
43443 echo $ECHO_N "(cached) $ECHO_C" >&6
43445 ac_check_lib_save_LIBS=$LIBS
43446 LIBS="-lposix4 $LIBS"
43447 cat >conftest.$ac_ext <<_ACEOF
43450 cat confdefs.h >>conftest.$ac_ext
43451 cat >>conftest.$ac_ext <<_ACEOF
43452 /* end confdefs.h. */
43454 /* Override any GCC internal prototype to avoid an error.
43455 Use char because int might match the return type of a GCC
43456 builtin and then its argument prototype would still apply. */
43460 char sched_yield ();
43464 return sched_yield ();
43469 rm -f conftest.$ac_objext conftest$ac_exeext
43470 if { (ac_try="$ac_link"
43471 case "(($ac_try" in
43472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43473 *) ac_try_echo=$ac_try;;
43475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43476 (eval "$ac_link") 2>conftest.er1
43478 grep -v '^ *+' conftest.er1 >conftest.err
43480 cat conftest.err >&5
43481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43482 (exit $ac_status); } && {
43483 test -z "$ac_c_werror_flag" ||
43484 test ! -s conftest.err
43485 } && test -s conftest$ac_exeext &&
43486 $as_test_x conftest$ac_exeext; then
43487 ac_cv_lib_posix4_sched_yield=yes
43489 echo "$as_me: failed program was:" >&5
43490 sed 's/^/| /' conftest.$ac_ext >&5
43492 ac_cv_lib_posix4_sched_yield=no
43495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43496 conftest$ac_exeext conftest.$ac_ext
43497 LIBS=$ac_check_lib_save_LIBS
43499 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
43500 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
43501 if test $ac_cv_lib_posix4_sched_yield = yes; then
43502 cat >>confdefs.h <<\_ACEOF
43503 #define HAVE_SCHED_YIELD 1
43505 POSIX4_LINK=" -lposix4"
43507 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
43508 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
43519 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
43520 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
43521 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
43522 echo $ECHO_N "(cached) $ECHO_C" >&6
43524 cat >conftest.$ac_ext <<_ACEOF
43527 cat confdefs.h >>conftest.$ac_ext
43528 cat >>conftest.$ac_ext <<_ACEOF
43529 /* end confdefs.h. */
43530 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
43531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43532 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
43534 /* System header to define __stub macros and hopefully few prototypes,
43535 which can conflict with char pthread_attr_getschedpolicy (); below.
43536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43537 <limits.h> exists even on freestanding compilers. */
43540 # include <limits.h>
43542 # include <assert.h>
43545 #undef pthread_attr_getschedpolicy
43547 /* Override any GCC internal prototype to avoid an error.
43548 Use char because int might match the return type of a GCC
43549 builtin and then its argument prototype would still apply. */
43553 char pthread_attr_getschedpolicy ();
43554 /* The GNU C library defines this for functions which it implements
43555 to always fail with ENOSYS. Some functions are actually named
43556 something starting with __ and the normal name is an alias. */
43557 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
43564 return pthread_attr_getschedpolicy ();
43569 rm -f conftest.$ac_objext conftest$ac_exeext
43570 if { (ac_try="$ac_link"
43571 case "(($ac_try" in
43572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43573 *) ac_try_echo=$ac_try;;
43575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43576 (eval "$ac_link") 2>conftest.er1
43578 grep -v '^ *+' conftest.er1 >conftest.err
43580 cat conftest.err >&5
43581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43582 (exit $ac_status); } && {
43583 test -z "$ac_c_werror_flag" ||
43584 test ! -s conftest.err
43585 } && test -s conftest$ac_exeext &&
43586 $as_test_x conftest$ac_exeext; then
43587 ac_cv_func_pthread_attr_getschedpolicy=yes
43589 echo "$as_me: failed program was:" >&5
43590 sed 's/^/| /' conftest.$ac_ext >&5
43592 ac_cv_func_pthread_attr_getschedpolicy=no
43595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43596 conftest$ac_exeext conftest.$ac_ext
43598 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43599 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43600 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43601 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43602 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43603 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43604 echo $ECHO_N "(cached) $ECHO_C" >&6
43606 cat >conftest.$ac_ext <<_ACEOF
43609 cat confdefs.h >>conftest.$ac_ext
43610 cat >>conftest.$ac_ext <<_ACEOF
43611 /* end confdefs.h. */
43612 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43614 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43616 /* System header to define __stub macros and hopefully few prototypes,
43617 which can conflict with char pthread_attr_setschedparam (); below.
43618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43619 <limits.h> exists even on freestanding compilers. */
43622 # include <limits.h>
43624 # include <assert.h>
43627 #undef pthread_attr_setschedparam
43629 /* Override any GCC internal prototype to avoid an error.
43630 Use char because int might match the return type of a GCC
43631 builtin and then its argument prototype would still apply. */
43635 char pthread_attr_setschedparam ();
43636 /* The GNU C library defines this for functions which it implements
43637 to always fail with ENOSYS. Some functions are actually named
43638 something starting with __ and the normal name is an alias. */
43639 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43646 return pthread_attr_setschedparam ();
43651 rm -f conftest.$ac_objext conftest$ac_exeext
43652 if { (ac_try="$ac_link"
43653 case "(($ac_try" in
43654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43655 *) ac_try_echo=$ac_try;;
43657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43658 (eval "$ac_link") 2>conftest.er1
43660 grep -v '^ *+' conftest.er1 >conftest.err
43662 cat conftest.err >&5
43663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43664 (exit $ac_status); } && {
43665 test -z "$ac_c_werror_flag" ||
43666 test ! -s conftest.err
43667 } && test -s conftest$ac_exeext &&
43668 $as_test_x conftest$ac_exeext; then
43669 ac_cv_func_pthread_attr_setschedparam=yes
43671 echo "$as_me: failed program was:" >&5
43672 sed 's/^/| /' conftest.$ac_ext >&5
43674 ac_cv_func_pthread_attr_setschedparam=no
43677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43678 conftest$ac_exeext conftest.$ac_ext
43680 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43681 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43682 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43683 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43684 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43685 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43686 echo $ECHO_N "(cached) $ECHO_C" >&6
43688 cat >conftest.$ac_ext <<_ACEOF
43691 cat confdefs.h >>conftest.$ac_ext
43692 cat >>conftest.$ac_ext <<_ACEOF
43693 /* end confdefs.h. */
43694 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43696 #define sched_get_priority_max innocuous_sched_get_priority_max
43698 /* System header to define __stub macros and hopefully few prototypes,
43699 which can conflict with char sched_get_priority_max (); below.
43700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43701 <limits.h> exists even on freestanding compilers. */
43704 # include <limits.h>
43706 # include <assert.h>
43709 #undef sched_get_priority_max
43711 /* Override any GCC internal prototype to avoid an error.
43712 Use char because int might match the return type of a GCC
43713 builtin and then its argument prototype would still apply. */
43717 char sched_get_priority_max ();
43718 /* The GNU C library defines this for functions which it implements
43719 to always fail with ENOSYS. Some functions are actually named
43720 something starting with __ and the normal name is an alias. */
43721 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43728 return sched_get_priority_max ();
43733 rm -f conftest.$ac_objext conftest$ac_exeext
43734 if { (ac_try="$ac_link"
43735 case "(($ac_try" in
43736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43737 *) ac_try_echo=$ac_try;;
43739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43740 (eval "$ac_link") 2>conftest.er1
43742 grep -v '^ *+' conftest.er1 >conftest.err
43744 cat conftest.err >&5
43745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43746 (exit $ac_status); } && {
43747 test -z "$ac_c_werror_flag" ||
43748 test ! -s conftest.err
43749 } && test -s conftest$ac_exeext &&
43750 $as_test_x conftest$ac_exeext; then
43751 ac_cv_func_sched_get_priority_max=yes
43753 echo "$as_me: failed program was:" >&5
43754 sed 's/^/| /' conftest.$ac_ext >&5
43756 ac_cv_func_sched_get_priority_max=no
43759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43760 conftest$ac_exeext conftest.$ac_ext
43762 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43763 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43764 if test $ac_cv_func_sched_get_priority_max = yes; then
43767 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43768 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43769 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43770 echo $ECHO_N "(cached) $ECHO_C" >&6
43772 ac_check_lib_save_LIBS=$LIBS
43773 LIBS="-lposix4 $LIBS"
43774 cat >conftest.$ac_ext <<_ACEOF
43777 cat confdefs.h >>conftest.$ac_ext
43778 cat >>conftest.$ac_ext <<_ACEOF
43779 /* end confdefs.h. */
43781 /* Override any GCC internal prototype to avoid an error.
43782 Use char because int might match the return type of a GCC
43783 builtin and then its argument prototype would still apply. */
43787 char sched_get_priority_max ();
43791 return sched_get_priority_max ();
43796 rm -f conftest.$ac_objext conftest$ac_exeext
43797 if { (ac_try="$ac_link"
43798 case "(($ac_try" in
43799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43800 *) ac_try_echo=$ac_try;;
43802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43803 (eval "$ac_link") 2>conftest.er1
43805 grep -v '^ *+' conftest.er1 >conftest.err
43807 cat conftest.err >&5
43808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43809 (exit $ac_status); } && {
43810 test -z "$ac_c_werror_flag" ||
43811 test ! -s conftest.err
43812 } && test -s conftest$ac_exeext &&
43813 $as_test_x conftest$ac_exeext; then
43814 ac_cv_lib_posix4_sched_get_priority_max=yes
43816 echo "$as_me: failed program was:" >&5
43817 sed 's/^/| /' conftest.$ac_ext >&5
43819 ac_cv_lib_posix4_sched_get_priority_max=no
43822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43823 conftest$ac_exeext conftest.$ac_ext
43824 LIBS=$ac_check_lib_save_LIBS
43826 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43827 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43828 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43831 POSIX4_LINK=" -lposix4"
43845 if test "$HAVE_PRIOR_FUNCS" = 1; then
43846 cat >>confdefs.h <<\_ACEOF
43847 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43851 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43852 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43855 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43856 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43857 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43858 echo $ECHO_N "(cached) $ECHO_C" >&6
43860 cat >conftest.$ac_ext <<_ACEOF
43863 cat confdefs.h >>conftest.$ac_ext
43864 cat >>conftest.$ac_ext <<_ACEOF
43865 /* end confdefs.h. */
43866 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43868 #define pthread_cancel innocuous_pthread_cancel
43870 /* System header to define __stub macros and hopefully few prototypes,
43871 which can conflict with char pthread_cancel (); below.
43872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43873 <limits.h> exists even on freestanding compilers. */
43876 # include <limits.h>
43878 # include <assert.h>
43881 #undef pthread_cancel
43883 /* Override any GCC internal prototype to avoid an error.
43884 Use char because int might match the return type of a GCC
43885 builtin and then its argument prototype would still apply. */
43889 char pthread_cancel ();
43890 /* The GNU C library defines this for functions which it implements
43891 to always fail with ENOSYS. Some functions are actually named
43892 something starting with __ and the normal name is an alias. */
43893 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43900 return pthread_cancel ();
43905 rm -f conftest.$ac_objext conftest$ac_exeext
43906 if { (ac_try="$ac_link"
43907 case "(($ac_try" in
43908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43909 *) ac_try_echo=$ac_try;;
43911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43912 (eval "$ac_link") 2>conftest.er1
43914 grep -v '^ *+' conftest.er1 >conftest.err
43916 cat conftest.err >&5
43917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43918 (exit $ac_status); } && {
43919 test -z "$ac_c_werror_flag" ||
43920 test ! -s conftest.err
43921 } && test -s conftest$ac_exeext &&
43922 $as_test_x conftest$ac_exeext; then
43923 ac_cv_func_pthread_cancel=yes
43925 echo "$as_me: failed program was:" >&5
43926 sed 's/^/| /' conftest.$ac_ext >&5
43928 ac_cv_func_pthread_cancel=no
43931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43932 conftest$ac_exeext conftest.$ac_ext
43934 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43935 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43936 if test $ac_cv_func_pthread_cancel = yes; then
43937 cat >>confdefs.h <<\_ACEOF
43938 #define HAVE_PTHREAD_CANCEL 1
43942 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43943 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43947 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43948 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43949 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43950 echo $ECHO_N "(cached) $ECHO_C" >&6
43952 cat >conftest.$ac_ext <<_ACEOF
43955 cat confdefs.h >>conftest.$ac_ext
43956 cat >>conftest.$ac_ext <<_ACEOF
43957 /* end confdefs.h. */
43958 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43960 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43962 /* System header to define __stub macros and hopefully few prototypes,
43963 which can conflict with char pthread_mutex_timedlock (); below.
43964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43965 <limits.h> exists even on freestanding compilers. */
43968 # include <limits.h>
43970 # include <assert.h>
43973 #undef pthread_mutex_timedlock
43975 /* Override any GCC internal prototype to avoid an error.
43976 Use char because int might match the return type of a GCC
43977 builtin and then its argument prototype would still apply. */
43981 char pthread_mutex_timedlock ();
43982 /* The GNU C library defines this for functions which it implements
43983 to always fail with ENOSYS. Some functions are actually named
43984 something starting with __ and the normal name is an alias. */
43985 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43992 return pthread_mutex_timedlock ();
43997 rm -f conftest.$ac_objext conftest$ac_exeext
43998 if { (ac_try="$ac_link"
43999 case "(($ac_try" in
44000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44001 *) ac_try_echo=$ac_try;;
44003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44004 (eval "$ac_link") 2>conftest.er1
44006 grep -v '^ *+' conftest.er1 >conftest.err
44008 cat conftest.err >&5
44009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44010 (exit $ac_status); } && {
44011 test -z "$ac_c_werror_flag" ||
44012 test ! -s conftest.err
44013 } && test -s conftest$ac_exeext &&
44014 $as_test_x conftest$ac_exeext; then
44015 ac_cv_func_pthread_mutex_timedlock=yes
44017 echo "$as_me: failed program was:" >&5
44018 sed 's/^/| /' conftest.$ac_ext >&5
44020 ac_cv_func_pthread_mutex_timedlock=no
44023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44024 conftest$ac_exeext conftest.$ac_ext
44026 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
44027 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
44028 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
44029 cat >>confdefs.h <<\_ACEOF
44030 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
44034 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
44035 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
44039 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
44040 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
44041 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
44042 echo $ECHO_N "(cached) $ECHO_C" >&6
44044 cat >conftest.$ac_ext <<_ACEOF
44047 cat confdefs.h >>conftest.$ac_ext
44048 cat >>conftest.$ac_ext <<_ACEOF
44049 /* end confdefs.h. */
44050 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
44051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44052 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
44054 /* System header to define __stub macros and hopefully few prototypes,
44055 which can conflict with char pthread_attr_setstacksize (); below.
44056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44057 <limits.h> exists even on freestanding compilers. */
44060 # include <limits.h>
44062 # include <assert.h>
44065 #undef pthread_attr_setstacksize
44067 /* Override any GCC internal prototype to avoid an error.
44068 Use char because int might match the return type of a GCC
44069 builtin and then its argument prototype would still apply. */
44073 char pthread_attr_setstacksize ();
44074 /* The GNU C library defines this for functions which it implements
44075 to always fail with ENOSYS. Some functions are actually named
44076 something starting with __ and the normal name is an alias. */
44077 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
44084 return pthread_attr_setstacksize ();
44089 rm -f conftest.$ac_objext conftest$ac_exeext
44090 if { (ac_try="$ac_link"
44091 case "(($ac_try" in
44092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44093 *) ac_try_echo=$ac_try;;
44095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44096 (eval "$ac_link") 2>conftest.er1
44098 grep -v '^ *+' conftest.er1 >conftest.err
44100 cat conftest.err >&5
44101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44102 (exit $ac_status); } && {
44103 test -z "$ac_c_werror_flag" ||
44104 test ! -s conftest.err
44105 } && test -s conftest$ac_exeext &&
44106 $as_test_x conftest$ac_exeext; then
44107 ac_cv_func_pthread_attr_setstacksize=yes
44109 echo "$as_me: failed program was:" >&5
44110 sed 's/^/| /' conftest.$ac_ext >&5
44112 ac_cv_func_pthread_attr_setstacksize=no
44115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44116 conftest$ac_exeext conftest.$ac_ext
44118 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
44119 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
44120 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
44121 cat >>confdefs.h <<\_ACEOF
44122 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
44129 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
44130 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
44131 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
44132 echo $ECHO_N "(cached) $ECHO_C" >&6
44135 cat >conftest.$ac_ext <<_ACEOF
44138 cat confdefs.h >>conftest.$ac_ext
44139 cat >>conftest.$ac_ext <<_ACEOF
44140 /* end confdefs.h. */
44141 #include <pthread.h>
44146 pthread_mutexattr_t attr;
44147 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44153 rm -f conftest.$ac_objext
44154 if { (ac_try="$ac_compile"
44155 case "(($ac_try" in
44156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44157 *) ac_try_echo=$ac_try;;
44159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44160 (eval "$ac_compile") 2>conftest.er1
44162 grep -v '^ *+' conftest.er1 >conftest.err
44164 cat conftest.err >&5
44165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44166 (exit $ac_status); } && {
44167 test -z "$ac_c_werror_flag" ||
44168 test ! -s conftest.err
44169 } && test -s conftest.$ac_objext; then
44170 wx_cv_type_pthread_mutexattr_t=yes
44172 echo "$as_me: failed program was:" >&5
44173 sed 's/^/| /' conftest.$ac_ext >&5
44175 wx_cv_type_pthread_mutexattr_t=no
44179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44182 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
44183 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
44185 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
44186 cat >>confdefs.h <<\_ACEOF
44187 #define HAVE_PTHREAD_MUTEXATTR_T 1
44191 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
44192 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
44193 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
44194 echo $ECHO_N "(cached) $ECHO_C" >&6
44197 cat >conftest.$ac_ext <<_ACEOF
44200 cat confdefs.h >>conftest.$ac_ext
44201 cat >>conftest.$ac_ext <<_ACEOF
44202 /* end confdefs.h. */
44203 #include <pthread.h>
44208 pthread_mutexattr_t attr;
44209 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44215 rm -f conftest.$ac_objext
44216 if { (ac_try="$ac_compile"
44217 case "(($ac_try" in
44218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44219 *) ac_try_echo=$ac_try;;
44221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44222 (eval "$ac_compile") 2>conftest.er1
44224 grep -v '^ *+' conftest.er1 >conftest.err
44226 cat conftest.err >&5
44227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44228 (exit $ac_status); } && {
44229 test -z "$ac_c_werror_flag" ||
44230 test ! -s conftest.err
44231 } && test -s conftest.$ac_objext; then
44232 wx_cv_func_pthread_mutexattr_settype_decl=yes
44234 echo "$as_me: failed program was:" >&5
44235 sed 's/^/| /' conftest.$ac_ext >&5
44237 wx_cv_func_pthread_mutexattr_settype_decl=no
44241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44244 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
44245 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
44246 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
44247 cat >>confdefs.h <<\_ACEOF
44248 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
44253 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
44254 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
44255 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
44256 echo $ECHO_N "(cached) $ECHO_C" >&6
44259 cat >conftest.$ac_ext <<_ACEOF
44262 cat confdefs.h >>conftest.$ac_ext
44263 cat >>conftest.$ac_ext <<_ACEOF
44264 /* end confdefs.h. */
44265 #include <pthread.h>
44270 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
44276 rm -f conftest.$ac_objext
44277 if { (ac_try="$ac_compile"
44278 case "(($ac_try" in
44279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44280 *) ac_try_echo=$ac_try;;
44282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44283 (eval "$ac_compile") 2>conftest.er1
44285 grep -v '^ *+' conftest.er1 >conftest.err
44287 cat conftest.err >&5
44288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44289 (exit $ac_status); } && {
44290 test -z "$ac_c_werror_flag" ||
44291 test ! -s conftest.err
44292 } && test -s conftest.$ac_objext; then
44294 wx_cv_type_pthread_rec_mutex_init=yes
44297 echo "$as_me: failed program was:" >&5
44298 sed 's/^/| /' conftest.$ac_ext >&5
44301 wx_cv_type_pthread_rec_mutex_init=no
44306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44309 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
44310 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
44311 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
44312 cat >>confdefs.h <<\_ACEOF
44313 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
44317 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
44318 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
44322 if test "$wxUSE_COMPILER_TLS" = "auto"; then
44323 if test "$USE_NETBSD" = 1; then
44324 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
44325 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
44326 wxUSE_COMPILER_TLS=no
44328 wxUSE_COMPILER_TLS=yes
44332 if test "$wxUSE_COMPILER_TLS" = "yes"; then
44333 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
44334 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
44335 if test "${wx_cv_cc___thread+set}" = set; then
44336 echo $ECHO_N "(cached) $ECHO_C" >&6
44339 cat >conftest.$ac_ext <<_ACEOF
44342 cat confdefs.h >>conftest.$ac_ext
44343 cat >>conftest.$ac_ext <<_ACEOF
44344 /* end confdefs.h. */
44345 #include <pthread.h>
44350 static __thread int n = 0;
44351 static __thread int *p = 0;
44357 rm -f conftest.$ac_objext
44358 if { (ac_try="$ac_compile"
44359 case "(($ac_try" in
44360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44361 *) ac_try_echo=$ac_try;;
44363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44364 (eval "$ac_compile") 2>conftest.er1
44366 grep -v '^ *+' conftest.er1 >conftest.err
44368 cat conftest.err >&5
44369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44370 (exit $ac_status); } && {
44371 test -z "$ac_c_werror_flag" ||
44372 test ! -s conftest.err
44373 } && test -s conftest.$ac_objext; then
44374 wx_cv_cc___thread=yes
44376 echo "$as_me: failed program was:" >&5
44377 sed 's/^/| /' conftest.$ac_ext >&5
44379 wx_cv_cc___thread=no
44383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44387 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
44388 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
44390 if test "$wx_cv_cc___thread" = "yes"; then
44396 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
44397 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
44399 if test "x$GCC" = "xyes" ; then
44401 if test -z "" ; then
44403 ax_gcc_option_test="int main()
44410 ax_gcc_option_test=""
44415 # Dump the test program to file
44416 cat <<EOF > conftest.c
44417 $ax_gcc_option_test
44420 # Dump back the file to the log, useful for debugging purposes
44421 { ac_try='cat conftest.c 1>&5'
44422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44423 (eval $ac_try) 2>&5
44425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44426 (exit $ac_status); }; }
44428 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
44429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44430 (eval $ac_try) 2>&5
44432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44433 (exit $ac_status); }; } ; then
44435 { echo "$as_me:$LINENO: result: yes" >&5
44436 echo "${ECHO_T}yes" >&6; }
44438 ax_gcc_version_option=yes
44443 { echo "$as_me:$LINENO: result: no" >&5
44444 echo "${ECHO_T}no" >&6; }
44446 ax_gcc_version_option=no
44454 { echo "$as_me:$LINENO: result: no gcc available" >&5
44455 echo "${ECHO_T}no gcc available" >&6; }
44460 if test "x$GXX" = "xyes"; then
44462 if test "x$ax_gxx_version_option" != "no"; then
44464 { echo "$as_me:$LINENO: checking gxx version" >&5
44465 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
44466 if test "${ax_cv_gxx_version+set}" = set; then
44467 echo $ECHO_N "(cached) $ECHO_C" >&6
44470 ax_cv_gxx_version="`$CXX -dumpversion`"
44471 if test "x$ax_cv_gxx_version" = "x"; then
44473 ax_cv_gxx_version=""
44479 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
44480 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
44481 GXX_VERSION=$ax_cv_gxx_version
44490 if test -n "$ax_cv_gxx_version"; then
44491 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
44492 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
44493 case "$ax_cv_gxx_version" in
44495 { echo "$as_me:$LINENO: result: no, it's broken" >&5
44496 echo "${ECHO_T}no, it's broken" >&6; }
44497 wx_cv_cc___thread=no
44500 { echo "$as_me:$LINENO: result: yes, it works" >&5
44501 echo "${ECHO_T}yes, it works" >&6; }
44507 if test "$wx_cv_cc___thread" = "yes"; then
44508 cat >>confdefs.h <<\_ACEOF
44509 #define HAVE___THREAD_KEYWORD 1
44517 if test "$wxUSE_THREADS" = "yes" ; then
44519 x86_64-*-mingw32* )
44522 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
44523 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
44524 if test "${wx_cv_cflags_mthread+set}" = set; then
44525 echo $ECHO_N "(cached) $ECHO_C" >&6
44528 CFLAGS_OLD="$CFLAGS"
44529 CFLAGS="-mthreads $CFLAGS"
44530 cat >conftest.$ac_ext <<_ACEOF
44533 cat confdefs.h >>conftest.$ac_ext
44534 cat >>conftest.$ac_ext <<_ACEOF
44535 /* end confdefs.h. */
44545 rm -f conftest.$ac_objext
44546 if { (ac_try="$ac_compile"
44547 case "(($ac_try" in
44548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44549 *) ac_try_echo=$ac_try;;
44551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44552 (eval "$ac_compile") 2>conftest.er1
44554 grep -v '^ *+' conftest.er1 >conftest.err
44556 cat conftest.err >&5
44557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44558 (exit $ac_status); } && {
44559 test -z "$ac_c_werror_flag" ||
44560 test ! -s conftest.err
44561 } && test -s conftest.$ac_objext; then
44562 wx_cv_cflags_mthread=yes
44564 echo "$as_me: failed program was:" >&5
44565 sed 's/^/| /' conftest.$ac_ext >&5
44567 wx_cv_cflags_mthread=no
44571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44575 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
44576 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
44578 if test "$wx_cv_cflags_mthread" = "yes"; then
44579 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
44580 LDFLAGS="$LDFLAGS -mthreads"
44582 CFLAGS="$CFLAGS_OLD"
44586 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
44587 LDFLAGS="$LDFLAGS -Zmt"
44593 { echo "$as_me:$LINENO: checking for localtime_r" >&5
44594 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
44595 if test "${ac_cv_func_localtime_r+set}" = set; then
44596 echo $ECHO_N "(cached) $ECHO_C" >&6
44598 cat >conftest.$ac_ext <<_ACEOF
44601 cat confdefs.h >>conftest.$ac_ext
44602 cat >>conftest.$ac_ext <<_ACEOF
44603 /* end confdefs.h. */
44604 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44606 #define localtime_r innocuous_localtime_r
44608 /* System header to define __stub macros and hopefully few prototypes,
44609 which can conflict with char localtime_r (); below.
44610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44611 <limits.h> exists even on freestanding compilers. */
44614 # include <limits.h>
44616 # include <assert.h>
44621 /* Override any GCC internal prototype to avoid an error.
44622 Use char because int might match the return type of a GCC
44623 builtin and then its argument prototype would still apply. */
44627 char localtime_r ();
44628 /* The GNU C library defines this for functions which it implements
44629 to always fail with ENOSYS. Some functions are actually named
44630 something starting with __ and the normal name is an alias. */
44631 #if defined __stub_localtime_r || defined __stub___localtime_r
44638 return localtime_r ();
44643 rm -f conftest.$ac_objext conftest$ac_exeext
44644 if { (ac_try="$ac_link"
44645 case "(($ac_try" in
44646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44647 *) ac_try_echo=$ac_try;;
44649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44650 (eval "$ac_link") 2>conftest.er1
44652 grep -v '^ *+' conftest.er1 >conftest.err
44654 cat conftest.err >&5
44655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44656 (exit $ac_status); } && {
44657 test -z "$ac_c_werror_flag" ||
44658 test ! -s conftest.err
44659 } && test -s conftest$ac_exeext &&
44660 $as_test_x conftest$ac_exeext; then
44661 ac_cv_func_localtime_r=yes
44663 echo "$as_me: failed program was:" >&5
44664 sed 's/^/| /' conftest.$ac_ext >&5
44666 ac_cv_func_localtime_r=no
44669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44670 conftest$ac_exeext conftest.$ac_ext
44672 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44673 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44674 if test $ac_cv_func_localtime_r = yes; then
44675 cat >>confdefs.h <<\_ACEOF
44676 #define HAVE_LOCALTIME_R 1
44681 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44682 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44683 if test "${ac_cv_func_gmtime_r+set}" = set; then
44684 echo $ECHO_N "(cached) $ECHO_C" >&6
44686 cat >conftest.$ac_ext <<_ACEOF
44689 cat confdefs.h >>conftest.$ac_ext
44690 cat >>conftest.$ac_ext <<_ACEOF
44691 /* end confdefs.h. */
44692 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44694 #define gmtime_r innocuous_gmtime_r
44696 /* System header to define __stub macros and hopefully few prototypes,
44697 which can conflict with char gmtime_r (); below.
44698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44699 <limits.h> exists even on freestanding compilers. */
44702 # include <limits.h>
44704 # include <assert.h>
44709 /* Override any GCC internal prototype to avoid an error.
44710 Use char because int might match the return type of a GCC
44711 builtin and then its argument prototype would still apply. */
44716 /* The GNU C library defines this for functions which it implements
44717 to always fail with ENOSYS. Some functions are actually named
44718 something starting with __ and the normal name is an alias. */
44719 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44726 return gmtime_r ();
44731 rm -f conftest.$ac_objext conftest$ac_exeext
44732 if { (ac_try="$ac_link"
44733 case "(($ac_try" in
44734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44735 *) ac_try_echo=$ac_try;;
44737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44738 (eval "$ac_link") 2>conftest.er1
44740 grep -v '^ *+' conftest.er1 >conftest.err
44742 cat conftest.err >&5
44743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44744 (exit $ac_status); } && {
44745 test -z "$ac_c_werror_flag" ||
44746 test ! -s conftest.err
44747 } && test -s conftest$ac_exeext &&
44748 $as_test_x conftest$ac_exeext; then
44749 ac_cv_func_gmtime_r=yes
44751 echo "$as_me: failed program was:" >&5
44752 sed 's/^/| /' conftest.$ac_ext >&5
44754 ac_cv_func_gmtime_r=no
44757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44758 conftest$ac_exeext conftest.$ac_ext
44760 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44761 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44762 if test $ac_cv_func_gmtime_r = yes; then
44763 cat >>confdefs.h <<\_ACEOF
44764 #define HAVE_GMTIME_R 1
44773 ac_cpp='$CPP $CPPFLAGS'
44774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44778 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44779 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44781 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44782 echo $ECHO_N "(cached) $ECHO_C" >&6
44786 ################################################################
44788 ac_cv_func_which_gethostbyname_r=unknown
44791 # ONE ARGUMENT (sanity check)
44794 # This should fail, as there is no variant of gethostbyname_r() that takes
44795 # a single argument. If it actually compiles, then we can assume that
44796 # netdb.h is not declaring the function, and the compiler is thereby
44797 # assuming an implicit prototype. In which case, we're out of luck.
44799 cat >conftest.$ac_ext <<_ACEOF
44802 cat confdefs.h >>conftest.$ac_ext
44803 cat >>conftest.$ac_ext <<_ACEOF
44804 /* end confdefs.h. */
44810 char *name = "www.gnu.org";
44811 (void)gethostbyname_r(name) /* ; */
44818 rm -f conftest.$ac_objext
44819 if { (ac_try="$ac_compile"
44820 case "(($ac_try" in
44821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44822 *) ac_try_echo=$ac_try;;
44824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44825 (eval "$ac_compile") 2>conftest.er1
44827 grep -v '^ *+' conftest.er1 >conftest.err
44829 cat conftest.err >&5
44830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44831 (exit $ac_status); } && {
44832 test -z "$ac_c_werror_flag" ||
44833 test ! -s conftest.err
44834 } && test -s conftest.$ac_objext; then
44835 ac_cv_func_which_gethostbyname_r=no
44838 echo "$as_me: failed program was:" >&5
44839 sed 's/^/| /' conftest.$ac_ext >&5
44844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44851 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44853 cat >conftest.$ac_ext <<_ACEOF
44856 cat confdefs.h >>conftest.$ac_ext
44857 cat >>conftest.$ac_ext <<_ACEOF
44858 /* end confdefs.h. */
44864 char *name = "www.gnu.org";
44865 struct hostent ret, *retp;
44869 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44876 rm -f conftest.$ac_objext
44877 if { (ac_try="$ac_compile"
44878 case "(($ac_try" in
44879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44880 *) ac_try_echo=$ac_try;;
44882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44883 (eval "$ac_compile") 2>conftest.er1
44885 grep -v '^ *+' conftest.er1 >conftest.err
44887 cat conftest.err >&5
44888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44889 (exit $ac_status); } && {
44890 test -z "$ac_c_werror_flag" ||
44891 test ! -s conftest.err
44892 } && test -s conftest.$ac_objext; then
44893 ac_cv_func_which_gethostbyname_r=six
44896 echo "$as_me: failed program was:" >&5
44897 sed 's/^/| /' conftest.$ac_ext >&5
44902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44911 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44913 cat >conftest.$ac_ext <<_ACEOF
44916 cat confdefs.h >>conftest.$ac_ext
44917 cat >>conftest.$ac_ext <<_ACEOF
44918 /* end confdefs.h. */
44924 char *name = "www.gnu.org";
44925 struct hostent ret;
44929 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44936 rm -f conftest.$ac_objext
44937 if { (ac_try="$ac_compile"
44938 case "(($ac_try" in
44939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44940 *) ac_try_echo=$ac_try;;
44942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44943 (eval "$ac_compile") 2>conftest.er1
44945 grep -v '^ *+' conftest.er1 >conftest.err
44947 cat conftest.err >&5
44948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44949 (exit $ac_status); } && {
44950 test -z "$ac_c_werror_flag" ||
44951 test ! -s conftest.err
44952 } && test -s conftest.$ac_objext; then
44953 ac_cv_func_which_gethostbyname_r=five
44956 echo "$as_me: failed program was:" >&5
44957 sed 's/^/| /' conftest.$ac_ext >&5
44962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44968 # (e.g. AIX, HP-UX, Tru64)
44971 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44973 cat >conftest.$ac_ext <<_ACEOF
44976 cat confdefs.h >>conftest.$ac_ext
44977 cat >>conftest.$ac_ext <<_ACEOF
44978 /* end confdefs.h. */
44984 char *name = "www.gnu.org";
44985 struct hostent ret;
44986 struct hostent_data data;
44987 (void)gethostbyname_r(name, &ret, &data) /* ; */
44994 rm -f conftest.$ac_objext
44995 if { (ac_try="$ac_compile"
44996 case "(($ac_try" in
44997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44998 *) ac_try_echo=$ac_try;;
45000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45001 (eval "$ac_compile") 2>conftest.er1
45003 grep -v '^ *+' conftest.er1 >conftest.err
45005 cat conftest.err >&5
45006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45007 (exit $ac_status); } && {
45008 test -z "$ac_c_werror_flag" ||
45009 test ! -s conftest.err
45010 } && test -s conftest.$ac_objext; then
45011 ac_cv_func_which_gethostbyname_r=three
45014 echo "$as_me: failed program was:" >&5
45015 sed 's/^/| /' conftest.$ac_ext >&5
45020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45024 ################################################################
45029 case "$ac_cv_func_which_gethostbyname_r" in
45031 { echo "$as_me:$LINENO: result: three" >&5
45032 echo "${ECHO_T}three" >&6; }
45033 cat >>confdefs.h <<\_ACEOF
45034 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
45040 { echo "$as_me:$LINENO: result: five" >&5
45041 echo "${ECHO_T}five" >&6; }
45042 cat >>confdefs.h <<\_ACEOF
45043 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
45049 { echo "$as_me:$LINENO: result: six" >&5
45050 echo "${ECHO_T}six" >&6; }
45051 cat >>confdefs.h <<\_ACEOF
45052 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
45058 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
45059 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
45063 { echo "$as_me:$LINENO: result: can't tell" >&5
45064 echo "${ECHO_T}can't tell" >&6; }
45068 { { echo "$as_me:$LINENO: error: internal error" >&5
45069 echo "$as_me: error: internal error" >&2;}
45070 { (exit 1); exit 1; }; }
45075 ac_cpp='$CPP $CPPFLAGS'
45076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45082 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
45083 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
45084 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
45085 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
45086 if test "${ac_cv_func_gethostbyname+set}" = set; then
45087 echo $ECHO_N "(cached) $ECHO_C" >&6
45089 cat >conftest.$ac_ext <<_ACEOF
45092 cat confdefs.h >>conftest.$ac_ext
45093 cat >>conftest.$ac_ext <<_ACEOF
45094 /* end confdefs.h. */
45095 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
45096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45097 #define gethostbyname innocuous_gethostbyname
45099 /* System header to define __stub macros and hopefully few prototypes,
45100 which can conflict with char gethostbyname (); below.
45101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45102 <limits.h> exists even on freestanding compilers. */
45105 # include <limits.h>
45107 # include <assert.h>
45110 #undef gethostbyname
45112 /* Override any GCC internal prototype to avoid an error.
45113 Use char because int might match the return type of a GCC
45114 builtin and then its argument prototype would still apply. */
45118 char gethostbyname ();
45119 /* The GNU C library defines this for functions which it implements
45120 to always fail with ENOSYS. Some functions are actually named
45121 something starting with __ and the normal name is an alias. */
45122 #if defined __stub_gethostbyname || defined __stub___gethostbyname
45129 return gethostbyname ();
45134 rm -f conftest.$ac_objext conftest$ac_exeext
45135 if { (ac_try="$ac_link"
45136 case "(($ac_try" in
45137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45138 *) ac_try_echo=$ac_try;;
45140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45141 (eval "$ac_link") 2>conftest.er1
45143 grep -v '^ *+' conftest.er1 >conftest.err
45145 cat conftest.err >&5
45146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45147 (exit $ac_status); } && {
45148 test -z "$ac_c_werror_flag" ||
45149 test ! -s conftest.err
45150 } && test -s conftest$ac_exeext &&
45151 $as_test_x conftest$ac_exeext; then
45152 ac_cv_func_gethostbyname=yes
45154 echo "$as_me: failed program was:" >&5
45155 sed 's/^/| /' conftest.$ac_ext >&5
45157 ac_cv_func_gethostbyname=no
45160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45161 conftest$ac_exeext conftest.$ac_ext
45163 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
45164 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
45165 if test $ac_cv_func_gethostbyname = yes; then
45166 cat >>confdefs.h <<\_ACEOF
45167 #define HAVE_GETHOSTBYNAME 1
45174 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
45175 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
45176 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
45177 echo $ECHO_N "(cached) $ECHO_C" >&6
45181 ac_cpp='$CXXCPP $CPPFLAGS'
45182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45187 cat >conftest.$ac_ext <<_ACEOF
45190 cat confdefs.h >>conftest.$ac_ext
45191 cat >>conftest.$ac_ext <<_ACEOF
45192 /* end confdefs.h. */
45200 struct servent *se, *res;
45203 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
45209 rm -f conftest.$ac_objext
45210 if { (ac_try="$ac_compile"
45211 case "(($ac_try" in
45212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45213 *) ac_try_echo=$ac_try;;
45215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45216 (eval "$ac_compile") 2>conftest.er1
45218 grep -v '^ *+' conftest.er1 >conftest.err
45220 cat conftest.err >&5
45221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45222 (exit $ac_status); } && {
45223 test -z "$ac_cxx_werror_flag" ||
45224 test ! -s conftest.err
45225 } && test -s conftest.$ac_objext; then
45226 ac_cv_func_which_getservbyname_r=six
45228 echo "$as_me: failed program was:" >&5
45229 sed 's/^/| /' conftest.$ac_ext >&5
45232 cat >conftest.$ac_ext <<_ACEOF
45235 cat confdefs.h >>conftest.$ac_ext
45236 cat >>conftest.$ac_ext <<_ACEOF
45237 /* end confdefs.h. */
45245 struct servent *se;
45248 (void) getservbyname_r(name, proto, se, buffer, buflen)
45254 rm -f conftest.$ac_objext
45255 if { (ac_try="$ac_compile"
45256 case "(($ac_try" in
45257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45258 *) ac_try_echo=$ac_try;;
45260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45261 (eval "$ac_compile") 2>conftest.er1
45263 grep -v '^ *+' conftest.er1 >conftest.err
45265 cat conftest.err >&5
45266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45267 (exit $ac_status); } && {
45268 test -z "$ac_cxx_werror_flag" ||
45269 test ! -s conftest.err
45270 } && test -s conftest.$ac_objext; then
45271 ac_cv_func_which_getservbyname_r=five
45273 echo "$as_me: failed program was:" >&5
45274 sed 's/^/| /' conftest.$ac_ext >&5
45277 cat >conftest.$ac_ext <<_ACEOF
45280 cat confdefs.h >>conftest.$ac_ext
45281 cat >>conftest.$ac_ext <<_ACEOF
45282 /* end confdefs.h. */
45290 struct servent *se;
45291 struct servent_data data;
45292 (void) getservbyname_r(name, proto, se, &data);
45298 rm -f conftest.$ac_objext
45299 if { (ac_try="$ac_compile"
45300 case "(($ac_try" in
45301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45302 *) ac_try_echo=$ac_try;;
45304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45305 (eval "$ac_compile") 2>conftest.er1
45307 grep -v '^ *+' conftest.er1 >conftest.err
45309 cat conftest.err >&5
45310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45311 (exit $ac_status); } && {
45312 test -z "$ac_cxx_werror_flag" ||
45313 test ! -s conftest.err
45314 } && test -s conftest.$ac_objext; then
45315 ac_cv_func_which_getservbyname_r=four
45317 echo "$as_me: failed program was:" >&5
45318 sed 's/^/| /' conftest.$ac_ext >&5
45320 ac_cv_func_which_getservbyname_r=no
45324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45336 ac_cpp='$CPP $CPPFLAGS'
45337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45344 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45345 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45347 if test $ac_cv_func_which_getservbyname_r = six; then
45348 cat >>confdefs.h <<\_ACEOF
45349 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45352 elif test $ac_cv_func_which_getservbyname_r = five; then
45353 cat >>confdefs.h <<\_ACEOF
45354 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45357 elif test $ac_cv_func_which_getservbyname_r = four; then
45358 cat >>confdefs.h <<\_ACEOF
45359 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45365 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45366 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45368 for ac_func in getservbyname
45370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45371 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45373 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45374 echo $ECHO_N "(cached) $ECHO_C" >&6
45376 cat >conftest.$ac_ext <<_ACEOF
45379 cat confdefs.h >>conftest.$ac_ext
45380 cat >>conftest.$ac_ext <<_ACEOF
45381 /* end confdefs.h. */
45382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45384 #define $ac_func innocuous_$ac_func
45386 /* System header to define __stub macros and hopefully few prototypes,
45387 which can conflict with char $ac_func (); below.
45388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45389 <limits.h> exists even on freestanding compilers. */
45392 # include <limits.h>
45394 # include <assert.h>
45399 /* Override any GCC internal prototype to avoid an error.
45400 Use char because int might match the return type of a GCC
45401 builtin and then its argument prototype would still apply. */
45406 /* The GNU C library defines this for functions which it implements
45407 to always fail with ENOSYS. Some functions are actually named
45408 something starting with __ and the normal name is an alias. */
45409 #if defined __stub_$ac_func || defined __stub___$ac_func
45416 return $ac_func ();
45421 rm -f conftest.$ac_objext conftest$ac_exeext
45422 if { (ac_try="$ac_link"
45423 case "(($ac_try" in
45424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45425 *) ac_try_echo=$ac_try;;
45427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45428 (eval "$ac_link") 2>conftest.er1
45430 grep -v '^ *+' conftest.er1 >conftest.err
45432 cat conftest.err >&5
45433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45434 (exit $ac_status); } && {
45435 test -z "$ac_c_werror_flag" ||
45436 test ! -s conftest.err
45437 } && test -s conftest$ac_exeext &&
45438 $as_test_x conftest$ac_exeext; then
45439 eval "$as_ac_var=yes"
45441 echo "$as_me: failed program was:" >&5
45442 sed 's/^/| /' conftest.$ac_ext >&5
45444 eval "$as_ac_var=no"
45447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45448 conftest$ac_exeext conftest.$ac_ext
45450 ac_res=`eval echo '${'$as_ac_var'}'`
45451 { echo "$as_me:$LINENO: result: $ac_res" >&5
45452 echo "${ECHO_T}$ac_res" >&6; }
45453 if test `eval echo '${'$as_ac_var'}'` = yes; then
45454 cat >>confdefs.h <<_ACEOF
45455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45457 cat >>confdefs.h <<\_ACEOF
45458 #define HAVE_GETSERVBYNAME 1
45466 if test "$wxUSE_THREADS" = "yes"; then
45467 cat >>confdefs.h <<\_ACEOF
45468 #define wxUSE_THREADS 1
45472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45474 if test "$wx_cv_func_strtok_r" = "yes"; then
45475 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45476 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45477 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45478 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45479 { echo "$as_me:$LINENO: result: yes" >&5
45480 echo "${ECHO_T}yes" >&6; }
45482 { echo "$as_me:$LINENO: result: no" >&5
45483 echo "${ECHO_T}no" >&6; }
45488 if test "$WXGTK2" = 1 ; then
45489 cat >>confdefs.h <<_ACEOF
45490 #define __WXGTK20__ $WXGTK2
45495 if test "$WXGTK127" = 1 ; then
45496 cat >>confdefs.h <<_ACEOF
45497 #define __WXGTK127__ $WXGTK127
45502 if test "$WXGPE" = 1 ; then
45503 cat >>confdefs.h <<_ACEOF
45504 #define __WXGPE__ $WXGPE
45510 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
45511 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
45512 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
45513 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
45517 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45518 wxUSE_DEBUG_INFO=yes
45519 if test "$GCC" = yes; then
45520 DEBUG_CFLAGS="-ggdb"
45524 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
45525 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
45527 if test "$wxUSE_GTK" = 1 ; then
45528 if test "x$wxGTK_VERSION" = "x1" ; then
45529 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45531 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
45536 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45537 cat >>confdefs.h <<\_ACEOF
45538 #define wxUSE_MEMORY_TRACING 1
45541 cat >>confdefs.h <<\_ACEOF
45542 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45545 cat >>confdefs.h <<\_ACEOF
45546 #define wxUSE_DEBUG_NEW_ALWAYS 1
45549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45552 if test "$wxUSE_DMALLOC" = "yes" ; then
45553 DMALLOC_LIBS="-ldmallocthcxx"
45557 if test "$wxUSE_PROFILE" = "yes" ; then
45558 PROFILE_FLAGS=" -pg"
45561 if test "$GCC" = "yes" ; then
45562 if test "$wxUSE_NO_RTTI" = "yes" ; then
45563 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
45565 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45566 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45568 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45569 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45574 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45577 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45583 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
45584 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
45585 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
45587 if test "$wxUSE_OPTIMISE" = "no" ; then
45588 if test "$GCC" = yes ; then
45589 OPTIMISE_CFLAGS="-O0"
45592 if test "$GCC" = yes ; then
45594 *-pc-os2_emx | *-pc-os2-emx )
45595 OPTIMISE_CFLAGS="-O2"
45598 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45602 OPTIMISE_CFLAGS="-O"
45608 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45609 cat >>confdefs.h <<\_ACEOF
45610 #define WXWIN_COMPATIBILITY_2_6 1
45614 WXWIN_COMPATIBILITY_2_8="yes"
45617 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45618 cat >>confdefs.h <<\_ACEOF
45619 #define WXWIN_COMPATIBILITY_2_8 1
45625 if test "$wxUSE_GUI" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_GUI 1
45634 if test "$wxUSE_UNIX" = "yes"; then
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_UNIX 1
45642 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45646 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45647 if test "$USE_DOS" = 1; then
45651 for ac_func in dlopen
45653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45657 echo $ECHO_N "(cached) $ECHO_C" >&6
45659 cat >conftest.$ac_ext <<_ACEOF
45662 cat confdefs.h >>conftest.$ac_ext
45663 cat >>conftest.$ac_ext <<_ACEOF
45664 /* end confdefs.h. */
45665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45667 #define $ac_func innocuous_$ac_func
45669 /* System header to define __stub macros and hopefully few prototypes,
45670 which can conflict with char $ac_func (); below.
45671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45672 <limits.h> exists even on freestanding compilers. */
45675 # include <limits.h>
45677 # include <assert.h>
45682 /* Override any GCC internal prototype to avoid an error.
45683 Use char because int might match the return type of a GCC
45684 builtin and then its argument prototype would still apply. */
45689 /* The GNU C library defines this for functions which it implements
45690 to always fail with ENOSYS. Some functions are actually named
45691 something starting with __ and the normal name is an alias. */
45692 #if defined __stub_$ac_func || defined __stub___$ac_func
45699 return $ac_func ();
45704 rm -f conftest.$ac_objext conftest$ac_exeext
45705 if { (ac_try="$ac_link"
45706 case "(($ac_try" in
45707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45708 *) ac_try_echo=$ac_try;;
45710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45711 (eval "$ac_link") 2>conftest.er1
45713 grep -v '^ *+' conftest.er1 >conftest.err
45715 cat conftest.err >&5
45716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45717 (exit $ac_status); } && {
45718 test -z "$ac_c_werror_flag" ||
45719 test ! -s conftest.err
45720 } && test -s conftest$ac_exeext &&
45721 $as_test_x conftest$ac_exeext; then
45722 eval "$as_ac_var=yes"
45724 echo "$as_me: failed program was:" >&5
45725 sed 's/^/| /' conftest.$ac_ext >&5
45727 eval "$as_ac_var=no"
45730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45731 conftest$ac_exeext conftest.$ac_ext
45733 ac_res=`eval echo '${'$as_ac_var'}'`
45734 { echo "$as_me:$LINENO: result: $ac_res" >&5
45735 echo "${ECHO_T}$ac_res" >&6; }
45736 if test `eval echo '${'$as_ac_var'}'` = yes; then
45737 cat >>confdefs.h <<_ACEOF
45738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45741 cat >>confdefs.h <<\_ACEOF
45742 #define HAVE_DLOPEN 1
45749 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45750 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45751 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45752 echo $ECHO_N "(cached) $ECHO_C" >&6
45754 ac_check_lib_save_LIBS=$LIBS
45756 cat >conftest.$ac_ext <<_ACEOF
45759 cat confdefs.h >>conftest.$ac_ext
45760 cat >>conftest.$ac_ext <<_ACEOF
45761 /* end confdefs.h. */
45763 /* Override any GCC internal prototype to avoid an error.
45764 Use char because int might match the return type of a GCC
45765 builtin and then its argument prototype would still apply. */
45778 rm -f conftest.$ac_objext conftest$ac_exeext
45779 if { (ac_try="$ac_link"
45780 case "(($ac_try" in
45781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45782 *) ac_try_echo=$ac_try;;
45784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45785 (eval "$ac_link") 2>conftest.er1
45787 grep -v '^ *+' conftest.er1 >conftest.err
45789 cat conftest.err >&5
45790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45791 (exit $ac_status); } && {
45792 test -z "$ac_c_werror_flag" ||
45793 test ! -s conftest.err
45794 } && test -s conftest$ac_exeext &&
45795 $as_test_x conftest$ac_exeext; then
45796 ac_cv_lib_dl_dlopen=yes
45798 echo "$as_me: failed program was:" >&5
45799 sed 's/^/| /' conftest.$ac_ext >&5
45801 ac_cv_lib_dl_dlopen=no
45804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45805 conftest$ac_exeext conftest.$ac_ext
45806 LIBS=$ac_check_lib_save_LIBS
45808 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45809 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45810 if test $ac_cv_lib_dl_dlopen = yes; then
45812 cat >>confdefs.h <<\_ACEOF
45813 #define HAVE_DLOPEN 1
45817 DL_LINK=" -ldl$DL_LINK"
45822 for ac_func in shl_load
45824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45825 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45828 echo $ECHO_N "(cached) $ECHO_C" >&6
45830 cat >conftest.$ac_ext <<_ACEOF
45833 cat confdefs.h >>conftest.$ac_ext
45834 cat >>conftest.$ac_ext <<_ACEOF
45835 /* end confdefs.h. */
45836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45838 #define $ac_func innocuous_$ac_func
45840 /* System header to define __stub macros and hopefully few prototypes,
45841 which can conflict with char $ac_func (); below.
45842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45843 <limits.h> exists even on freestanding compilers. */
45846 # include <limits.h>
45848 # include <assert.h>
45853 /* Override any GCC internal prototype to avoid an error.
45854 Use char because int might match the return type of a GCC
45855 builtin and then its argument prototype would still apply. */
45860 /* The GNU C library defines this for functions which it implements
45861 to always fail with ENOSYS. Some functions are actually named
45862 something starting with __ and the normal name is an alias. */
45863 #if defined __stub_$ac_func || defined __stub___$ac_func
45870 return $ac_func ();
45875 rm -f conftest.$ac_objext conftest$ac_exeext
45876 if { (ac_try="$ac_link"
45877 case "(($ac_try" in
45878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45879 *) ac_try_echo=$ac_try;;
45881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45882 (eval "$ac_link") 2>conftest.er1
45884 grep -v '^ *+' conftest.er1 >conftest.err
45886 cat conftest.err >&5
45887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45888 (exit $ac_status); } && {
45889 test -z "$ac_c_werror_flag" ||
45890 test ! -s conftest.err
45891 } && test -s conftest$ac_exeext &&
45892 $as_test_x conftest$ac_exeext; then
45893 eval "$as_ac_var=yes"
45895 echo "$as_me: failed program was:" >&5
45896 sed 's/^/| /' conftest.$ac_ext >&5
45898 eval "$as_ac_var=no"
45901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45902 conftest$ac_exeext conftest.$ac_ext
45904 ac_res=`eval echo '${'$as_ac_var'}'`
45905 { echo "$as_me:$LINENO: result: $ac_res" >&5
45906 echo "${ECHO_T}$ac_res" >&6; }
45907 if test `eval echo '${'$as_ac_var'}'` = yes; then
45908 cat >>confdefs.h <<_ACEOF
45909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45912 cat >>confdefs.h <<\_ACEOF
45913 #define HAVE_SHL_LOAD 1
45920 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45921 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45922 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45923 echo $ECHO_N "(cached) $ECHO_C" >&6
45925 ac_check_lib_save_LIBS=$LIBS
45926 LIBS="-lshl_load $LIBS"
45927 cat >conftest.$ac_ext <<_ACEOF
45930 cat confdefs.h >>conftest.$ac_ext
45931 cat >>conftest.$ac_ext <<_ACEOF
45932 /* end confdefs.h. */
45934 /* Override any GCC internal prototype to avoid an error.
45935 Use char because int might match the return type of a GCC
45936 builtin and then its argument prototype would still apply. */
45949 rm -f conftest.$ac_objext conftest$ac_exeext
45950 if { (ac_try="$ac_link"
45951 case "(($ac_try" in
45952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45953 *) ac_try_echo=$ac_try;;
45955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45956 (eval "$ac_link") 2>conftest.er1
45958 grep -v '^ *+' conftest.er1 >conftest.err
45960 cat conftest.err >&5
45961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45962 (exit $ac_status); } && {
45963 test -z "$ac_c_werror_flag" ||
45964 test ! -s conftest.err
45965 } && test -s conftest$ac_exeext &&
45966 $as_test_x conftest$ac_exeext; then
45967 ac_cv_lib_shl_load_dld=yes
45969 echo "$as_me: failed program was:" >&5
45970 sed 's/^/| /' conftest.$ac_ext >&5
45972 ac_cv_lib_shl_load_dld=no
45975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45976 conftest$ac_exeext conftest.$ac_ext
45977 LIBS=$ac_check_lib_save_LIBS
45979 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45980 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45981 if test $ac_cv_lib_shl_load_dld = yes; then
45984 DL_LINK=" -ldld$DL_LINK"
46000 if test "$HAVE_DL_FUNCS" = 1; then
46002 for ac_func in dlerror
46004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46005 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46007 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46008 echo $ECHO_N "(cached) $ECHO_C" >&6
46010 cat >conftest.$ac_ext <<_ACEOF
46013 cat confdefs.h >>conftest.$ac_ext
46014 cat >>conftest.$ac_ext <<_ACEOF
46015 /* end confdefs.h. */
46016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46018 #define $ac_func innocuous_$ac_func
46020 /* System header to define __stub macros and hopefully few prototypes,
46021 which can conflict with char $ac_func (); below.
46022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46023 <limits.h> exists even on freestanding compilers. */
46026 # include <limits.h>
46028 # include <assert.h>
46033 /* Override any GCC internal prototype to avoid an error.
46034 Use char because int might match the return type of a GCC
46035 builtin and then its argument prototype would still apply. */
46040 /* The GNU C library defines this for functions which it implements
46041 to always fail with ENOSYS. Some functions are actually named
46042 something starting with __ and the normal name is an alias. */
46043 #if defined __stub_$ac_func || defined __stub___$ac_func
46050 return $ac_func ();
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 eval "$as_ac_var=yes"
46075 echo "$as_me: failed program was:" >&5
46076 sed 's/^/| /' conftest.$ac_ext >&5
46078 eval "$as_ac_var=no"
46081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46082 conftest$ac_exeext conftest.$ac_ext
46084 ac_res=`eval echo '${'$as_ac_var'}'`
46085 { echo "$as_me:$LINENO: result: $ac_res" >&5
46086 echo "${ECHO_T}$ac_res" >&6; }
46087 if test `eval echo '${'$as_ac_var'}'` = yes; then
46088 cat >>confdefs.h <<_ACEOF
46089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46091 cat >>confdefs.h <<\_ACEOF
46092 #define HAVE_DLERROR 1
46097 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
46098 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
46099 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
46100 echo $ECHO_N "(cached) $ECHO_C" >&6
46102 ac_check_lib_save_LIBS=$LIBS
46104 cat >conftest.$ac_ext <<_ACEOF
46107 cat confdefs.h >>conftest.$ac_ext
46108 cat >>conftest.$ac_ext <<_ACEOF
46109 /* end confdefs.h. */
46111 /* Override any GCC internal prototype to avoid an error.
46112 Use char because int might match the return type of a GCC
46113 builtin and then its argument prototype would still apply. */
46126 rm -f conftest.$ac_objext conftest$ac_exeext
46127 if { (ac_try="$ac_link"
46128 case "(($ac_try" in
46129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46130 *) ac_try_echo=$ac_try;;
46132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46133 (eval "$ac_link") 2>conftest.er1
46135 grep -v '^ *+' conftest.er1 >conftest.err
46137 cat conftest.err >&5
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); } && {
46140 test -z "$ac_c_werror_flag" ||
46141 test ! -s conftest.err
46142 } && test -s conftest$ac_exeext &&
46143 $as_test_x conftest$ac_exeext; then
46144 ac_cv_lib_dl_dlerror=yes
46146 echo "$as_me: failed program was:" >&5
46147 sed 's/^/| /' conftest.$ac_ext >&5
46149 ac_cv_lib_dl_dlerror=no
46152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46153 conftest$ac_exeext conftest.$ac_ext
46154 LIBS=$ac_check_lib_save_LIBS
46156 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
46157 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
46158 if test $ac_cv_lib_dl_dlerror = yes; then
46159 cat >>confdefs.h <<\_ACEOF
46160 #define HAVE_DLERROR 1
46173 if test "$USE_DARWIN" = 1; then
46177 if test "$HAVE_DL_FUNCS" = 0; then
46178 if test "$HAVE_SHL_FUNCS" = 0; then
46179 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
46180 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
46181 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
46182 wxUSE_DYNAMIC_LOADER=no
46183 wxUSE_DYNLIB_CLASS=no
46185 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
46186 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
46193 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
46194 cat >>confdefs.h <<\_ACEOF
46195 #define wxUSE_DYNAMIC_LOADER 1
46199 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
46200 cat >>confdefs.h <<\_ACEOF
46201 #define wxUSE_DYNLIB_CLASS 1
46208 if test "$wxUSE_PLUGINS" = "yes" ; then
46209 if test "$wxUSE_SHARED" = "no" ; then
46210 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
46211 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
46214 if test "$wxUSE_MONOLITHIC" = "yes" ; then
46215 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
46216 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
46219 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
46220 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
46221 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46224 if test "$wxUSE_PLUGINS" = "yes" ; then
46225 cat >>confdefs.h <<\_ACEOF
46226 #define wxUSE_PLUGINS 1
46233 if test "$wxUSE_FSWATCHER" = "yes"; then
46234 if test "$wxUSE_MSW" != "1"; then
46235 if test "$wxUSE_UNIX" = "yes"; then
46237 for ac_header in sys/inotify.h
46239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46240 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46242 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46243 echo $ECHO_N "(cached) $ECHO_C" >&6
46245 cat >conftest.$ac_ext <<_ACEOF
46248 cat confdefs.h >>conftest.$ac_ext
46249 cat >>conftest.$ac_ext <<_ACEOF
46250 /* end confdefs.h. */
46251 $ac_includes_default
46253 #include <$ac_header>
46255 rm -f conftest.$ac_objext
46256 if { (ac_try="$ac_compile"
46257 case "(($ac_try" in
46258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46259 *) ac_try_echo=$ac_try;;
46261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46262 (eval "$ac_compile") 2>conftest.er1
46264 grep -v '^ *+' conftest.er1 >conftest.err
46266 cat conftest.err >&5
46267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46268 (exit $ac_status); } && {
46269 test -z "$ac_c_werror_flag" ||
46270 test ! -s conftest.err
46271 } && test -s conftest.$ac_objext; then
46272 eval "$as_ac_Header=yes"
46274 echo "$as_me: failed program was:" >&5
46275 sed 's/^/| /' conftest.$ac_ext >&5
46277 eval "$as_ac_Header=no"
46280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46282 ac_res=`eval echo '${'$as_ac_Header'}'`
46283 { echo "$as_me:$LINENO: result: $ac_res" >&5
46284 echo "${ECHO_T}$ac_res" >&6; }
46285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46286 cat >>confdefs.h <<_ACEOF
46287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46294 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
46295 cat >>confdefs.h <<\_ACEOF
46296 #define wxHAS_INOTIFY 1
46301 for ac_header in sys/event.h
46303 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46304 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46307 echo $ECHO_N "(cached) $ECHO_C" >&6
46309 cat >conftest.$ac_ext <<_ACEOF
46312 cat confdefs.h >>conftest.$ac_ext
46313 cat >>conftest.$ac_ext <<_ACEOF
46314 /* end confdefs.h. */
46315 $ac_includes_default
46317 #include <$ac_header>
46319 rm -f conftest.$ac_objext
46320 if { (ac_try="$ac_compile"
46321 case "(($ac_try" in
46322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46323 *) ac_try_echo=$ac_try;;
46325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46326 (eval "$ac_compile") 2>conftest.er1
46328 grep -v '^ *+' conftest.er1 >conftest.err
46330 cat conftest.err >&5
46331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46332 (exit $ac_status); } && {
46333 test -z "$ac_c_werror_flag" ||
46334 test ! -s conftest.err
46335 } && test -s conftest.$ac_objext; then
46336 eval "$as_ac_Header=yes"
46338 echo "$as_me: failed program was:" >&5
46339 sed 's/^/| /' conftest.$ac_ext >&5
46341 eval "$as_ac_Header=no"
46344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46346 ac_res=`eval echo '${'$as_ac_Header'}'`
46347 { echo "$as_me:$LINENO: result: $ac_res" >&5
46348 echo "${ECHO_T}$ac_res" >&6; }
46349 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46350 cat >>confdefs.h <<_ACEOF
46351 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46358 if test "$ac_cv_header_sys_event_h" = "yes"; then
46359 cat >>confdefs.h <<\_ACEOF
46360 #define wxHAS_KQUEUE 1
46371 if test "$wxUSE_THREADS" != "yes"; then
46372 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
46373 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
46378 if test "$wxUSE_FSWATCHER" = "yes"; then
46379 cat >>confdefs.h <<\_ACEOF
46380 #define wxUSE_FSWATCHER 1
46383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
46385 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
46386 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
46391 if test "$wxUSE_STL" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_STL 1
46398 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
46399 cat >>confdefs.h <<\_ACEOF
46400 #define wxUSE_EXTENDED_RTTI 1
46405 if test "$wxUSE_ANY" = "yes"; then
46406 cat >>confdefs.h <<\_ACEOF
46407 #define wxUSE_ANY 1
46412 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46413 cat >>confdefs.h <<\_ACEOF
46414 #define wxUSE_APPLE_IEEE 1
46419 if test "$wxUSE_TIMER" = "yes"; then
46420 cat >>confdefs.h <<\_ACEOF
46421 #define wxUSE_TIMER 1
46426 if test "$USE_UNIX" = 1 ; then
46427 if test "$wxUSE_MGL" != 1; then
46428 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46429 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46430 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46431 echo $ECHO_N "(cached) $ECHO_C" >&6
46434 cat >conftest.$ac_ext <<_ACEOF
46437 cat confdefs.h >>conftest.$ac_ext
46438 cat >>conftest.$ac_ext <<_ACEOF
46439 /* end confdefs.h. */
46441 #include <sys/ioctl.h>
46442 #include <sys/soundcard.h>
46448 ioctl(0, SNDCTL_DSP_SPEED, 0);
46454 rm -f conftest.$ac_objext conftest$ac_exeext
46455 if { (ac_try="$ac_link"
46456 case "(($ac_try" in
46457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46458 *) ac_try_echo=$ac_try;;
46460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46461 (eval "$ac_link") 2>conftest.er1
46463 grep -v '^ *+' conftest.er1 >conftest.err
46465 cat conftest.err >&5
46466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46467 (exit $ac_status); } && {
46468 test -z "$ac_c_werror_flag" ||
46469 test ! -s conftest.err
46470 } && test -s conftest$ac_exeext &&
46471 $as_test_x conftest$ac_exeext; then
46472 ac_cv_header_sys_soundcard=yes
46474 echo "$as_me: failed program was:" >&5
46475 sed 's/^/| /' conftest.$ac_ext >&5
46479 LIBS="$saveLibs -lossaudio"
46480 cat >conftest.$ac_ext <<_ACEOF
46483 cat confdefs.h >>conftest.$ac_ext
46484 cat >>conftest.$ac_ext <<_ACEOF
46485 /* end confdefs.h. */
46487 #include <sys/ioctl.h>
46488 #include <sys/soundcard.h>
46494 ioctl(0, SNDCTL_DSP_SPEED, 0);
46500 rm -f conftest.$ac_objext conftest$ac_exeext
46501 if { (ac_try="$ac_link"
46502 case "(($ac_try" in
46503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46504 *) ac_try_echo=$ac_try;;
46506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46507 (eval "$ac_link") 2>conftest.er1
46509 grep -v '^ *+' conftest.er1 >conftest.err
46511 cat conftest.err >&5
46512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46513 (exit $ac_status); } && {
46514 test -z "$ac_c_werror_flag" ||
46515 test ! -s conftest.err
46516 } && test -s conftest$ac_exeext &&
46517 $as_test_x conftest$ac_exeext; then
46518 ac_cv_header_sys_soundcard=yes
46520 echo "$as_me: failed program was:" >&5
46521 sed 's/^/| /' conftest.$ac_ext >&5
46525 ac_cv_header_sys_soundcard=no
46530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46531 conftest$ac_exeext conftest.$ac_ext
46536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46537 conftest$ac_exeext conftest.$ac_ext
46540 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46541 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46544 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define HAVE_SYS_SOUNDCARD_H 1
46553 if test "$wxUSE_SOUND" = "yes"; then
46554 if test "$USE_UNIX" = 1 ; then
46555 if test "$wxUSE_LIBSDL" != "no"; then
46557 # Check whether --with-sdl-prefix was given.
46558 if test "${with_sdl_prefix+set}" = set; then
46559 withval=$with_sdl_prefix; sdl_prefix="$withval"
46565 # Check whether --with-sdl-exec-prefix was given.
46566 if test "${with_sdl_exec_prefix+set}" = set; then
46567 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46572 # Check whether --enable-sdltest was given.
46573 if test "${enable_sdltest+set}" = set; then
46574 enableval=$enable_sdltest;
46580 if test x$sdl_exec_prefix != x ; then
46581 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46582 if test x${SDL_CONFIG+set} != xset ; then
46583 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46586 if test x$sdl_prefix != x ; then
46587 sdl_args="$sdl_args --prefix=$sdl_prefix"
46588 if test x${SDL_CONFIG+set} != xset ; then
46589 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46593 if test "x$prefix" != xNONE; then
46594 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46596 # Extract the first word of "sdl-config", so it can be a program name with args.
46597 set dummy sdl-config; ac_word=$2
46598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46600 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46601 echo $ECHO_N "(cached) $ECHO_C" >&6
46603 case $SDL_CONFIG in
46605 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46609 for as_dir in $PATH
46612 test -z "$as_dir" && as_dir=.
46613 for ac_exec_ext in '' $ac_executable_extensions; do
46614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46615 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46623 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46627 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46628 if test -n "$SDL_CONFIG"; then
46629 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46630 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46632 { echo "$as_me:$LINENO: result: no" >&5
46633 echo "${ECHO_T}no" >&6; }
46637 min_sdl_version=1.2.0
46638 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46639 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46641 if test "$SDL_CONFIG" = "no" ; then
46644 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46645 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46647 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46648 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46649 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46650 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46651 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46652 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46653 if test "x$enable_sdltest" = "xyes" ; then
46654 ac_save_CFLAGS="$CFLAGS"
46655 ac_save_CXXFLAGS="$CXXFLAGS"
46656 ac_save_LIBS="$LIBS"
46657 CFLAGS="$CFLAGS $SDL_CFLAGS"
46658 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46659 LIBS="$LIBS $SDL_LIBS"
46661 if test "$cross_compiling" = yes; then
46662 echo $ac_n "cross compiling; assumed OK... $ac_c"
46664 cat >conftest.$ac_ext <<_ACEOF
46667 cat confdefs.h >>conftest.$ac_ext
46668 cat >>conftest.$ac_ext <<_ACEOF
46669 /* end confdefs.h. */
46672 #include <stdlib.h>
46673 #include <string.h>
46677 my_strdup (char *str)
46683 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46684 strcpy (new_str, str);
46692 int main (int argc, char *argv[])
46694 int major, minor, micro;
46697 /* This hangs on some systems (?)
46698 system ("touch conf.sdltest");
46700 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46702 /* HP/UX 9 (%@#!) writes to sscanf strings */
46703 tmp_version = my_strdup("$min_sdl_version");
46704 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
46705 printf("%s, bad version string\n", "$min_sdl_version");
46709 if (($sdl_major_version > major) ||
46710 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46711 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46717 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46718 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46719 printf("*** best to upgrade to the required version.\n");
46720 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46721 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46722 printf("*** config.cache before re-running configure\n");
46729 rm -f conftest$ac_exeext
46730 if { (ac_try="$ac_link"
46731 case "(($ac_try" in
46732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46733 *) ac_try_echo=$ac_try;;
46735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46736 (eval "$ac_link") 2>&5
46738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46740 { (case "(($ac_try" in
46741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46742 *) ac_try_echo=$ac_try;;
46744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46745 (eval "$ac_try") 2>&5
46747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46748 (exit $ac_status); }; }; then
46751 echo "$as_me: program exited with status $ac_status" >&5
46752 echo "$as_me: failed program was:" >&5
46753 sed 's/^/| /' conftest.$ac_ext >&5
46755 ( exit $ac_status )
46758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46762 CFLAGS="$ac_save_CFLAGS"
46763 CXXFLAGS="$ac_save_CXXFLAGS"
46764 LIBS="$ac_save_LIBS"
46767 if test "x$no_sdl" = x ; then
46768 { echo "$as_me:$LINENO: result: yes" >&5
46769 echo "${ECHO_T}yes" >&6; }
46771 EXTRALIBS_SDL="$SDL_LIBS"
46772 CFLAGS="$SDL_CFLAGS $CFLAGS"
46773 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46774 cat >>confdefs.h <<\_ACEOF
46775 #define wxUSE_LIBSDL 1
46780 { echo "$as_me:$LINENO: result: no" >&5
46781 echo "${ECHO_T}no" >&6; }
46782 if test "$SDL_CONFIG" = "no" ; then
46783 echo "*** The sdl-config script installed by SDL could not be found"
46784 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46785 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46786 echo "*** full path to sdl-config."
46788 if test -f conf.sdltest ; then
46791 echo "*** Could not run SDL test program, checking why..."
46792 CFLAGS="$CFLAGS $SDL_CFLAGS"
46793 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46794 LIBS="$LIBS $SDL_LIBS"
46795 cat >conftest.$ac_ext <<_ACEOF
46798 cat confdefs.h >>conftest.$ac_ext
46799 cat >>conftest.$ac_ext <<_ACEOF
46800 /* end confdefs.h. */
46805 int main(int argc, char *argv[])
46808 #define main K_and_R_C_main
46818 rm -f conftest.$ac_objext conftest$ac_exeext
46819 if { (ac_try="$ac_link"
46820 case "(($ac_try" in
46821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46822 *) ac_try_echo=$ac_try;;
46824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46825 (eval "$ac_link") 2>conftest.er1
46827 grep -v '^ *+' conftest.er1 >conftest.err
46829 cat conftest.err >&5
46830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46831 (exit $ac_status); } && {
46832 test -z "$ac_c_werror_flag" ||
46833 test ! -s conftest.err
46834 } && test -s conftest$ac_exeext &&
46835 $as_test_x conftest$ac_exeext; then
46836 echo "*** The test program compiled, but did not run. This usually means"
46837 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46838 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46839 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46840 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46841 echo "*** is required on your system"
46843 echo "*** If you have an old version installed, it is best to remove it, although"
46844 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46846 echo "$as_me: failed program was:" >&5
46847 sed 's/^/| /' conftest.$ac_ext >&5
46849 echo "*** The test program failed to compile or link. See the file config.log for the"
46850 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
46851 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46852 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46856 conftest$ac_exeext conftest.$ac_ext
46857 CFLAGS="$ac_save_CFLAGS"
46858 CXXFLAGS="$ac_save_CXXFLAGS"
46859 LIBS="$ac_save_LIBS"
46870 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46875 if test "$wxUSE_MGL" = 1; then
46876 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
46877 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
46883 if test "$wxUSE_SOUND" = "yes"; then
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_SOUND 1
46888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
46891 if test "$WXGTK2" = 1; then
46894 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46895 if test -n "$ac_tool_prefix"; then
46896 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46897 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
46898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46900 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46901 echo $ECHO_N "(cached) $ECHO_C" >&6
46903 case $PKG_CONFIG in
46905 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
46908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46909 for as_dir in $PATH
46912 test -z "$as_dir" && as_dir=.
46913 for ac_exec_ext in '' $ac_executable_extensions; do
46914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46915 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46926 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
46927 if test -n "$PKG_CONFIG"; then
46928 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46929 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46931 { echo "$as_me:$LINENO: result: no" >&5
46932 echo "${ECHO_T}no" >&6; }
46937 if test -z "$ac_cv_path_PKG_CONFIG"; then
46938 ac_pt_PKG_CONFIG=$PKG_CONFIG
46939 # Extract the first word of "pkg-config", so it can be a program name with args.
46940 set dummy pkg-config; ac_word=$2
46941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46943 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46944 echo $ECHO_N "(cached) $ECHO_C" >&6
46946 case $ac_pt_PKG_CONFIG in
46948 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46952 for as_dir in $PATH
46955 test -z "$as_dir" && as_dir=.
46956 for ac_exec_ext in '' $ac_executable_extensions; do
46957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46958 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46969 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
46970 if test -n "$ac_pt_PKG_CONFIG"; then
46971 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46972 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46974 { echo "$as_me:$LINENO: result: no" >&5
46975 echo "${ECHO_T}no" >&6; }
46978 if test "x$ac_pt_PKG_CONFIG" = x; then
46981 case $cross_compiling:$ac_tool_warned in
46983 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46984 whose name does not start with the host triplet. If you think this
46985 configuration is useful to you, please write to autoconf@gnu.org." >&5
46986 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46987 whose name does not start with the host triplet. If you think this
46988 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46989 ac_tool_warned=yes ;;
46991 PKG_CONFIG=$ac_pt_PKG_CONFIG
46994 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
46998 if test -n "$PKG_CONFIG"; then
46999 _pkg_min_version=0.9.0
47000 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
47001 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
47002 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
47003 { echo "$as_me:$LINENO: result: yes" >&5
47004 echo "${ECHO_T}yes" >&6; }
47006 { echo "$as_me:$LINENO: result: no" >&5
47007 echo "${ECHO_T}no" >&6; }
47013 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47015 if test "$wxUSE_GTKPRINT" = "yes" ; then
47019 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
47020 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
47022 if test -n "$PKG_CONFIG"; then
47023 if test -n "$GTKPRINT_CFLAGS"; then
47024 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
47026 if test -n "$PKG_CONFIG" && \
47027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
47028 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
47030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47031 (exit $ac_status); }; then
47032 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
47040 if test -n "$PKG_CONFIG"; then
47041 if test -n "$GTKPRINT_LIBS"; then
47042 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
47044 if test -n "$PKG_CONFIG" && \
47045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
47046 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
47048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47049 (exit $ac_status); }; then
47050 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
47061 if test $pkg_failed = yes; then
47063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47064 _pkg_short_errors_supported=yes
47066 _pkg_short_errors_supported=no
47068 if test $_pkg_short_errors_supported = yes; then
47069 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
47071 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
47073 # Put the nasty error message in config.log where it belongs
47074 echo "$GTKPRINT_PKG_ERRORS" >&5
47077 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
47078 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
47079 wxUSE_GTKPRINT="no"
47082 elif test $pkg_failed = untried; then
47084 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
47085 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
47086 wxUSE_GTKPRINT="no"
47090 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
47091 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
47092 { echo "$as_me:$LINENO: result: yes" >&5
47093 echo "${ECHO_T}yes" >&6; }
47095 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
47096 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
47097 cat >>confdefs.h <<\_ACEOF
47098 #define wxUSE_GTKPRINT 1
47105 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47109 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
47110 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
47112 if test -n "$PKG_CONFIG"; then
47113 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
47114 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
47116 if test -n "$PKG_CONFIG" && \
47117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47118 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47121 (exit $ac_status); }; then
47122 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47130 if test -n "$PKG_CONFIG"; then
47131 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
47132 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
47134 if test -n "$PKG_CONFIG" && \
47135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47136 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47139 (exit $ac_status); }; then
47140 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47151 if test $pkg_failed = yes; then
47153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47154 _pkg_short_errors_supported=yes
47156 _pkg_short_errors_supported=no
47158 if test $_pkg_short_errors_supported = yes; then
47159 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47161 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47163 # Put the nasty error message in config.log where it belongs
47164 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
47167 if test "$wxUSE_GTKPRINT" = yes; then
47168 { echo "$as_me:$LINENO: result: no" >&5
47169 echo "${ECHO_T}no" >&6; }
47171 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47172 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47174 wxUSE_LIBGNOMEPRINT="no"
47177 elif test $pkg_failed = untried; then
47179 if test "$wxUSE_GTKPRINT" = yes; then
47180 { echo "$as_me:$LINENO: result: no" >&5
47181 echo "${ECHO_T}no" >&6; }
47183 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47184 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47186 wxUSE_LIBGNOMEPRINT="no"
47190 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
47191 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
47192 { echo "$as_me:$LINENO: result: yes" >&5
47193 echo "${ECHO_T}yes" >&6; }
47195 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
47196 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
47197 cat >>confdefs.h <<\_ACEOF
47198 #define wxUSE_LIBGNOMEPRINT 1
47206 if test "$wxUSE_MIMETYPE" = "yes" ; then
47207 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47211 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
47212 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
47214 if test -n "$PKG_CONFIG"; then
47215 if test -n "$GNOMEVFS_CFLAGS"; then
47216 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
47218 if test -n "$PKG_CONFIG" && \
47219 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47220 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47223 (exit $ac_status); }; then
47224 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47232 if test -n "$PKG_CONFIG"; then
47233 if test -n "$GNOMEVFS_LIBS"; then
47234 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
47236 if test -n "$PKG_CONFIG" && \
47237 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47238 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47241 (exit $ac_status); }; then
47242 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47253 if test $pkg_failed = yes; then
47255 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47256 _pkg_short_errors_supported=yes
47258 _pkg_short_errors_supported=no
47260 if test $_pkg_short_errors_supported = yes; then
47261 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47263 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47265 # Put the nasty error message in config.log where it belongs
47266 echo "$GNOMEVFS_PKG_ERRORS" >&5
47269 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47270 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47271 wxUSE_LIBGNOMEVFS="no"
47274 elif test $pkg_failed = untried; then
47276 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47277 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47278 wxUSE_LIBGNOMEVFS="no"
47282 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
47283 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
47284 { echo "$as_me:$LINENO: result: yes" >&5
47285 echo "${ECHO_T}yes" >&6; }
47287 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
47288 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
47289 cat >>confdefs.h <<\_ACEOF
47290 #define wxUSE_LIBGNOMEVFS 1
47298 if test "$wxUSE_LIBHILDON" = "yes" ; then
47301 { echo "$as_me:$LINENO: checking for HILDON" >&5
47302 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
47304 if test -n "$PKG_CONFIG"; then
47305 if test -n "$HILDON_CFLAGS"; then
47306 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
47308 if test -n "$PKG_CONFIG" && \
47309 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47310 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47313 (exit $ac_status); }; then
47314 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
47322 if test -n "$PKG_CONFIG"; then
47323 if test -n "$HILDON_LIBS"; then
47324 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
47326 if test -n "$PKG_CONFIG" && \
47327 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47328 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47331 (exit $ac_status); }; then
47332 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
47343 if test $pkg_failed = yes; then
47345 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47346 _pkg_short_errors_supported=yes
47348 _pkg_short_errors_supported=no
47350 if test $_pkg_short_errors_supported = yes; then
47351 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47353 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47355 # Put the nasty error message in config.log where it belongs
47356 echo "$HILDON_PKG_ERRORS" >&5
47359 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47360 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47361 wxUSE_LIBHILDON="no"
47365 elif test $pkg_failed = untried; then
47367 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47368 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47369 wxUSE_LIBHILDON="no"
47374 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
47375 HILDON_LIBS=$pkg_cv_HILDON_LIBS
47376 { echo "$as_me:$LINENO: result: yes" >&5
47377 echo "${ECHO_T}yes" >&6; }
47379 EXTRALIBS_HILDON="$HILDON_LIBS"
47380 CFLAGS="$CFLAGS $HILDON_CFLAGS"
47381 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
47382 cat >>confdefs.h <<\_ACEOF
47383 #define wxUSE_LIBHILDON 1
47390 if test "$ac_hildon_lgpl" = 0 ; then
47393 { echo "$as_me:$LINENO: checking for HILDON2" >&5
47394 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
47396 if test -n "$PKG_CONFIG"; then
47397 if test -n "$HILDON2_CFLAGS"; then
47398 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
47400 if test -n "$PKG_CONFIG" && \
47401 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47402 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47405 (exit $ac_status); }; then
47406 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
47414 if test -n "$PKG_CONFIG"; then
47415 if test -n "$HILDON2_LIBS"; then
47416 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
47418 if test -n "$PKG_CONFIG" && \
47419 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47420 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47423 (exit $ac_status); }; then
47424 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
47435 if test $pkg_failed = yes; then
47437 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47438 _pkg_short_errors_supported=yes
47440 _pkg_short_errors_supported=no
47442 if test $_pkg_short_errors_supported = yes; then
47443 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47445 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47447 # Put the nasty error message in config.log where it belongs
47448 echo "$HILDON2_PKG_ERRORS" >&5
47451 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47452 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47453 wxUSE_LIBHILDON2="no"
47456 elif test $pkg_failed = untried; then
47458 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47459 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47460 wxUSE_LIBHILDON2="no"
47464 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
47465 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
47466 { echo "$as_me:$LINENO: result: yes" >&5
47467 echo "${ECHO_T}yes" >&6; }
47469 EXTRALIBS_HILDON="$HILDON2_LIBS"
47470 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
47471 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_LIBHILDON2 1
47482 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
47483 cat >>confdefs.h <<\_ACEOF
47484 #define wxUSE_CMDLINE_PARSER 1
47489 if test "$wxUSE_STOPWATCH" = "yes"; then
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_STOPWATCH 1
47496 if test "$wxUSE_DATETIME" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_DATETIME 1
47503 if test "$wxUSE_FILE" = "yes"; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_FILE 1
47510 if test "$wxUSE_FFILE" = "yes"; then
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_FFILE 1
47517 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
47518 if test "$wxUSE_STREAMS" != yes; then
47519 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
47520 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
47521 wxUSE_ARCHIVE_STREAMS=no
47523 cat >>confdefs.h <<\_ACEOF
47524 #define wxUSE_ARCHIVE_STREAMS 1
47530 if test "$wxUSE_ZIPSTREAM" = "yes"; then
47531 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47532 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
47533 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
47534 elif test "$wxUSE_ZLIB" = "no"; then
47535 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
47536 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
47538 cat >>confdefs.h <<\_ACEOF
47539 #define wxUSE_ZIPSTREAM 1
47545 if test "$wxUSE_TARSTREAM" = "yes"; then
47546 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47547 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47548 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47550 cat >>confdefs.h <<\_ACEOF
47551 #define wxUSE_TARSTREAM 1
47557 if test "$wxUSE_FILE_HISTORY" = "yes"; then
47558 cat >>confdefs.h <<\_ACEOF
47559 #define wxUSE_FILE_HISTORY 1
47564 if test "$wxUSE_FILESYSTEM" = "yes"; then
47565 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
47566 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47567 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47568 wxUSE_FILESYSTEM=no
47570 cat >>confdefs.h <<\_ACEOF
47571 #define wxUSE_FILESYSTEM 1
47577 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47578 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47579 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47580 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47582 cat >>confdefs.h <<\_ACEOF
47583 #define wxUSE_FS_ARCHIVE 1
47589 if test "$wxUSE_FS_ZIP" = "yes"; then
47590 if test "$wxUSE_FS_ARCHIVE" != yes; then
47591 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47592 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47594 cat >>confdefs.h <<\_ACEOF
47595 #define wxUSE_FS_ZIP 1
47601 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47602 if test "$USE_UNIX" != 1; then
47603 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47604 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47605 wxUSE_ON_FATAL_EXCEPTION=no
47607 cat >>confdefs.h <<\_ACEOF
47608 #define wxUSE_ON_FATAL_EXCEPTION 1
47614 if test "$wxUSE_STACKWALKER" = "yes"; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_STACKWALKER 1
47621 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47622 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
47623 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47624 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47625 wxUSE_DEBUGREPORT=no
47627 cat >>confdefs.h <<\_ACEOF
47628 #define wxUSE_DEBUGREPORT 1
47631 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
47637 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47638 cat >>confdefs.h <<\_ACEOF
47639 #define wxUSE_SNGLINST_CHECKER 1
47644 if test "$wxUSE_BUSYINFO" = "yes"; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_BUSYINFO 1
47651 if test "$wxUSE_HOTKEY" = "yes"; then
47652 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
47653 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
47654 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
47657 elif test "$wxUSE_HOTKEY" = "auto"; then
47658 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
47662 if test "$wxUSE_HOTKEY" = "yes"; then
47663 cat >>confdefs.h <<\_ACEOF
47664 #define wxUSE_HOTKEY 1
47669 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
47670 cat >>confdefs.h <<\_ACEOF
47671 #define wxUSE_STD_CONTAINERS 1
47676 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47677 cat >>confdefs.h <<\_ACEOF
47678 #define wxUSE_STD_IOSTREAM 1
47683 if test "$wxUSE_STD_STRING" = "yes"; then
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_STD_STRING 1
47690 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
47691 cat >>confdefs.h <<\_ACEOF
47692 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
47697 if test "$wxUSE_STDPATHS" = "yes"; then
47698 cat >>confdefs.h <<\_ACEOF
47699 #define wxUSE_STDPATHS 1
47704 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47705 cat >>confdefs.h <<\_ACEOF
47706 #define wxUSE_TEXTBUFFER 1
47711 if test "$wxUSE_TEXTFILE" = "yes"; then
47712 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47713 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47714 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47716 cat >>confdefs.h <<\_ACEOF
47717 #define wxUSE_TEXTFILE 1
47723 if test "$wxUSE_CONFIG" = "yes" ; then
47724 if test "$wxUSE_TEXTFILE" != "yes"; then
47725 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47726 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47728 cat >>confdefs.h <<\_ACEOF
47729 #define wxUSE_CONFIG 1
47732 cat >>confdefs.h <<\_ACEOF
47733 #define wxUSE_CONFIG_NATIVE 1
47736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
47740 if test "$wxUSE_INTL" = "yes" ; then
47741 if test "$wxUSE_FILE" != "yes"; then
47742 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47743 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47745 cat >>confdefs.h <<\_ACEOF
47746 #define wxUSE_INTL 1
47749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
47750 GUIDIST="$GUIDIST INTL_DIST"
47754 if test "$wxUSE_XLOCALE" = "yes" ; then
47755 cat >>confdefs.h <<\_ACEOF
47756 #define wxUSE_XLOCALE 1
47759 { echo "$as_me:$LINENO: checking for locale_t" >&5
47760 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
47761 if test "${ac_cv_type_locale_t+set}" = set; then
47762 echo $ECHO_N "(cached) $ECHO_C" >&6
47764 cat >conftest.$ac_ext <<_ACEOF
47767 cat confdefs.h >>conftest.$ac_ext
47768 cat >>conftest.$ac_ext <<_ACEOF
47769 /* end confdefs.h. */
47770 #include <xlocale.h>
47771 #include <locale.h>
47773 typedef locale_t ac__type_new_;
47777 if ((ac__type_new_ *) 0)
47779 if (sizeof (ac__type_new_))
47785 rm -f conftest.$ac_objext
47786 if { (ac_try="$ac_compile"
47787 case "(($ac_try" in
47788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47789 *) ac_try_echo=$ac_try;;
47791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47792 (eval "$ac_compile") 2>conftest.er1
47794 grep -v '^ *+' conftest.er1 >conftest.err
47796 cat conftest.err >&5
47797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47798 (exit $ac_status); } && {
47799 test -z "$ac_c_werror_flag" ||
47800 test ! -s conftest.err
47801 } && test -s conftest.$ac_objext; then
47802 ac_cv_type_locale_t=yes
47804 echo "$as_me: failed program was:" >&5
47805 sed 's/^/| /' conftest.$ac_ext >&5
47807 ac_cv_type_locale_t=no
47810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47812 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
47813 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
47814 if test $ac_cv_type_locale_t = yes; then
47816 cat >>confdefs.h <<_ACEOF
47817 #define HAVE_LOCALE_T 1
47825 if test "$wxUSE_LOG" = "yes"; then
47826 cat >>confdefs.h <<\_ACEOF
47827 #define wxUSE_LOG 1
47831 if test "$wxUSE_LOGGUI" = "yes"; then
47832 cat >>confdefs.h <<\_ACEOF
47833 #define wxUSE_LOGGUI 1
47838 if test "$wxUSE_LOGWINDOW" = "yes"; then
47839 cat >>confdefs.h <<\_ACEOF
47840 #define wxUSE_LOGWINDOW 1
47845 if test "$wxUSE_LOGDIALOG" = "yes"; then
47846 cat >>confdefs.h <<\_ACEOF
47847 #define wxUSE_LOG_DIALOG 1
47852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47855 if test "$wxUSE_LONGLONG" = "yes"; then
47856 cat >>confdefs.h <<\_ACEOF
47857 #define wxUSE_LONGLONG 1
47862 if test "$wxUSE_GEOMETRY" = "yes"; then
47863 cat >>confdefs.h <<\_ACEOF
47864 #define wxUSE_GEOMETRY 1
47869 if test "$wxUSE_BASE64" = "yes"; then
47870 cat >>confdefs.h <<\_ACEOF
47871 #define wxUSE_BASE64 1
47876 if test "$wxUSE_STREAMS" = "yes" ; then
47877 cat >>confdefs.h <<\_ACEOF
47878 #define wxUSE_STREAMS 1
47883 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_PRINTF_POS_PARAMS 1
47890 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
47891 cat >>confdefs.h <<\_ACEOF
47892 #define wxUSE_OBJC_UNIQUIFYING 1
47898 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_CONSOLE_EVENTLOOP 1
47904 if test "$wxUSE_UNIX" = "yes"; then
47905 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
47906 cat >>confdefs.h <<\_ACEOF
47907 #define wxUSE_SELECT_DISPATCHER 1
47912 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
47914 for ac_header in sys/epoll.h
47916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47917 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47919 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47920 echo $ECHO_N "(cached) $ECHO_C" >&6
47922 cat >conftest.$ac_ext <<_ACEOF
47925 cat confdefs.h >>conftest.$ac_ext
47926 cat >>conftest.$ac_ext <<_ACEOF
47927 /* end confdefs.h. */
47928 $ac_includes_default
47930 #include <$ac_header>
47932 rm -f conftest.$ac_objext
47933 if { (ac_try="$ac_compile"
47934 case "(($ac_try" in
47935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47936 *) ac_try_echo=$ac_try;;
47938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47939 (eval "$ac_compile") 2>conftest.er1
47941 grep -v '^ *+' conftest.er1 >conftest.err
47943 cat conftest.err >&5
47944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47945 (exit $ac_status); } && {
47946 test -z "$ac_c_werror_flag" ||
47947 test ! -s conftest.err
47948 } && test -s conftest.$ac_objext; then
47949 eval "$as_ac_Header=yes"
47951 echo "$as_me: failed program was:" >&5
47952 sed 's/^/| /' conftest.$ac_ext >&5
47954 eval "$as_ac_Header=no"
47957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47959 ac_res=`eval echo '${'$as_ac_Header'}'`
47960 { echo "$as_me:$LINENO: result: $ac_res" >&5
47961 echo "${ECHO_T}$ac_res" >&6; }
47962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47963 cat >>confdefs.h <<_ACEOF
47964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47971 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
47972 cat >>confdefs.h <<\_ACEOF
47973 #define wxUSE_EPOLL_DISPATCHER 1
47977 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
47978 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
47987 for ac_func in gettimeofday ftime
47989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47990 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47992 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47993 echo $ECHO_N "(cached) $ECHO_C" >&6
47995 cat >conftest.$ac_ext <<_ACEOF
47998 cat confdefs.h >>conftest.$ac_ext
47999 cat >>conftest.$ac_ext <<_ACEOF
48000 /* end confdefs.h. */
48001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48003 #define $ac_func innocuous_$ac_func
48005 /* System header to define __stub macros and hopefully few prototypes,
48006 which can conflict with char $ac_func (); below.
48007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48008 <limits.h> exists even on freestanding compilers. */
48011 # include <limits.h>
48013 # include <assert.h>
48018 /* Override any GCC internal prototype to avoid an error.
48019 Use char because int might match the return type of a GCC
48020 builtin and then its argument prototype would still apply. */
48025 /* The GNU C library defines this for functions which it implements
48026 to always fail with ENOSYS. Some functions are actually named
48027 something starting with __ and the normal name is an alias. */
48028 #if defined __stub_$ac_func || defined __stub___$ac_func
48035 return $ac_func ();
48040 rm -f conftest.$ac_objext conftest$ac_exeext
48041 if { (ac_try="$ac_link"
48042 case "(($ac_try" in
48043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48044 *) ac_try_echo=$ac_try;;
48046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48047 (eval "$ac_link") 2>conftest.er1
48049 grep -v '^ *+' conftest.er1 >conftest.err
48051 cat conftest.err >&5
48052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48053 (exit $ac_status); } && {
48054 test -z "$ac_c_werror_flag" ||
48055 test ! -s conftest.err
48056 } && test -s conftest$ac_exeext &&
48057 $as_test_x conftest$ac_exeext; then
48058 eval "$as_ac_var=yes"
48060 echo "$as_me: failed program was:" >&5
48061 sed 's/^/| /' conftest.$ac_ext >&5
48063 eval "$as_ac_var=no"
48066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48067 conftest$ac_exeext conftest.$ac_ext
48069 ac_res=`eval echo '${'$as_ac_var'}'`
48070 { echo "$as_me:$LINENO: result: $ac_res" >&5
48071 echo "${ECHO_T}$ac_res" >&6; }
48072 if test `eval echo '${'$as_ac_var'}'` = yes; then
48073 cat >>confdefs.h <<_ACEOF
48074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48081 if test "$ac_cv_func_gettimeofday" = "yes"; then
48082 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
48083 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
48084 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
48085 echo $ECHO_N "(cached) $ECHO_C" >&6
48088 cat >conftest.$ac_ext <<_ACEOF
48091 cat confdefs.h >>conftest.$ac_ext
48092 cat >>conftest.$ac_ext <<_ACEOF
48093 /* end confdefs.h. */
48095 #include <sys/time.h>
48096 #include <unistd.h>
48103 gettimeofday(&tv, NULL);
48109 rm -f conftest.$ac_objext
48110 if { (ac_try="$ac_compile"
48111 case "(($ac_try" in
48112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48113 *) ac_try_echo=$ac_try;;
48115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48116 (eval "$ac_compile") 2>conftest.er1
48118 grep -v '^ *+' conftest.er1 >conftest.err
48120 cat conftest.err >&5
48121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48122 (exit $ac_status); } && {
48123 test -z "$ac_c_werror_flag" ||
48124 test ! -s conftest.err
48125 } && test -s conftest.$ac_objext; then
48126 wx_cv_func_gettimeofday_has_2_args=yes
48128 echo "$as_me: failed program was:" >&5
48129 sed 's/^/| /' conftest.$ac_ext >&5
48131 cat >conftest.$ac_ext <<_ACEOF
48134 cat confdefs.h >>conftest.$ac_ext
48135 cat >>conftest.$ac_ext <<_ACEOF
48136 /* end confdefs.h. */
48138 #include <sys/time.h>
48139 #include <unistd.h>
48152 rm -f conftest.$ac_objext
48153 if { (ac_try="$ac_compile"
48154 case "(($ac_try" in
48155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48156 *) ac_try_echo=$ac_try;;
48158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48159 (eval "$ac_compile") 2>conftest.er1
48161 grep -v '^ *+' conftest.er1 >conftest.err
48163 cat conftest.err >&5
48164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48165 (exit $ac_status); } && {
48166 test -z "$ac_c_werror_flag" ||
48167 test ! -s conftest.err
48168 } && test -s conftest.$ac_objext; then
48169 wx_cv_func_gettimeofday_has_2_args=no
48171 echo "$as_me: failed program was:" >&5
48172 sed 's/^/| /' conftest.$ac_ext >&5
48175 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
48176 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
48177 wx_cv_func_gettimeofday_has_2_args=unknown
48182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48189 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48190 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48192 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48193 cat >>confdefs.h <<\_ACEOF
48194 #define WX_GETTIMEOFDAY_NO_TZ 1
48200 if test "$wxUSE_DATETIME" = "yes"; then
48201 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
48202 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
48203 if test "${wx_cv_var_timezone+set}" = set; then
48204 echo $ECHO_N "(cached) $ECHO_C" >&6
48208 ac_cpp='$CXXCPP $CPPFLAGS'
48209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48213 cat >conftest.$ac_ext <<_ACEOF
48216 cat confdefs.h >>conftest.$ac_ext
48217 cat >>conftest.$ac_ext <<_ACEOF
48218 /* end confdefs.h. */
48233 rm -f conftest.$ac_objext
48234 if { (ac_try="$ac_compile"
48235 case "(($ac_try" in
48236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48237 *) ac_try_echo=$ac_try;;
48239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48240 (eval "$ac_compile") 2>conftest.er1
48242 grep -v '^ *+' conftest.er1 >conftest.err
48244 cat conftest.err >&5
48245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48246 (exit $ac_status); } && {
48247 test -z "$ac_cxx_werror_flag" ||
48248 test ! -s conftest.err
48249 } && test -s conftest.$ac_objext; then
48251 wx_cv_var_timezone=timezone
48254 echo "$as_me: failed program was:" >&5
48255 sed 's/^/| /' conftest.$ac_ext >&5
48258 cat >conftest.$ac_ext <<_ACEOF
48261 cat confdefs.h >>conftest.$ac_ext
48262 cat >>conftest.$ac_ext <<_ACEOF
48263 /* end confdefs.h. */
48278 rm -f conftest.$ac_objext
48279 if { (ac_try="$ac_compile"
48280 case "(($ac_try" in
48281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48282 *) ac_try_echo=$ac_try;;
48284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48285 (eval "$ac_compile") 2>conftest.er1
48287 grep -v '^ *+' conftest.er1 >conftest.err
48289 cat conftest.err >&5
48290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48291 (exit $ac_status); } && {
48292 test -z "$ac_cxx_werror_flag" ||
48293 test ! -s conftest.err
48294 } && test -s conftest.$ac_objext; then
48296 wx_cv_var_timezone=_timezone
48299 echo "$as_me: failed program was:" >&5
48300 sed 's/^/| /' conftest.$ac_ext >&5
48303 cat >conftest.$ac_ext <<_ACEOF
48306 cat confdefs.h >>conftest.$ac_ext
48307 cat >>conftest.$ac_ext <<_ACEOF
48308 /* end confdefs.h. */
48323 rm -f conftest.$ac_objext
48324 if { (ac_try="$ac_compile"
48325 case "(($ac_try" in
48326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48327 *) ac_try_echo=$ac_try;;
48329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48330 (eval "$ac_compile") 2>conftest.er1
48332 grep -v '^ *+' conftest.er1 >conftest.err
48334 cat conftest.err >&5
48335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48336 (exit $ac_status); } && {
48337 test -z "$ac_cxx_werror_flag" ||
48338 test ! -s conftest.err
48339 } && test -s conftest.$ac_objext; then
48341 wx_cv_var_timezone=__timezone
48344 echo "$as_me: failed program was:" >&5
48345 sed 's/^/| /' conftest.$ac_ext >&5
48348 if test "$USE_DOS" = 0 ; then
48349 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
48350 echo "$as_me: WARNING: no timezone variable" >&2;}
48356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48368 ac_cpp='$CPP $CPPFLAGS'
48369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48376 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
48377 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
48379 if test "x$wx_cv_var_timezone" != x ; then
48380 cat >>confdefs.h <<_ACEOF
48381 #define WX_TIMEZONE $wx_cv_var_timezone
48387 for ac_func in localtime
48389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48390 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48392 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48393 echo $ECHO_N "(cached) $ECHO_C" >&6
48395 cat >conftest.$ac_ext <<_ACEOF
48398 cat confdefs.h >>conftest.$ac_ext
48399 cat >>conftest.$ac_ext <<_ACEOF
48400 /* end confdefs.h. */
48401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48403 #define $ac_func innocuous_$ac_func
48405 /* System header to define __stub macros and hopefully few prototypes,
48406 which can conflict with char $ac_func (); below.
48407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48408 <limits.h> exists even on freestanding compilers. */
48411 # include <limits.h>
48413 # include <assert.h>
48418 /* Override any GCC internal prototype to avoid an error.
48419 Use char because int might match the return type of a GCC
48420 builtin and then its argument prototype would still apply. */
48425 /* The GNU C library defines this for functions which it implements
48426 to always fail with ENOSYS. Some functions are actually named
48427 something starting with __ and the normal name is an alias. */
48428 #if defined __stub_$ac_func || defined __stub___$ac_func
48435 return $ac_func ();
48440 rm -f conftest.$ac_objext conftest$ac_exeext
48441 if { (ac_try="$ac_link"
48442 case "(($ac_try" in
48443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48444 *) ac_try_echo=$ac_try;;
48446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48447 (eval "$ac_link") 2>conftest.er1
48449 grep -v '^ *+' conftest.er1 >conftest.err
48451 cat conftest.err >&5
48452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48453 (exit $ac_status); } && {
48454 test -z "$ac_c_werror_flag" ||
48455 test ! -s conftest.err
48456 } && test -s conftest$ac_exeext &&
48457 $as_test_x conftest$ac_exeext; then
48458 eval "$as_ac_var=yes"
48460 echo "$as_me: failed program was:" >&5
48461 sed 's/^/| /' conftest.$ac_ext >&5
48463 eval "$as_ac_var=no"
48466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48467 conftest$ac_exeext conftest.$ac_ext
48469 ac_res=`eval echo '${'$as_ac_var'}'`
48470 { echo "$as_me:$LINENO: result: $ac_res" >&5
48471 echo "${ECHO_T}$ac_res" >&6; }
48472 if test `eval echo '${'$as_ac_var'}'` = yes; then
48473 cat >>confdefs.h <<_ACEOF
48474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48481 if test "$ac_cv_func_localtime" = "yes"; then
48482 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
48483 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
48484 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
48485 echo $ECHO_N "(cached) $ECHO_C" >&6
48488 cat >conftest.$ac_ext <<_ACEOF
48491 cat confdefs.h >>conftest.$ac_ext
48492 cat >>conftest.$ac_ext <<_ACEOF
48493 /* end confdefs.h. */
48508 rm -f conftest.$ac_objext
48509 if { (ac_try="$ac_compile"
48510 case "(($ac_try" in
48511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48512 *) ac_try_echo=$ac_try;;
48514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48515 (eval "$ac_compile") 2>conftest.er1
48517 grep -v '^ *+' conftest.er1 >conftest.err
48519 cat conftest.err >&5
48520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48521 (exit $ac_status); } && {
48522 test -z "$ac_c_werror_flag" ||
48523 test ! -s conftest.err
48524 } && test -s conftest.$ac_objext; then
48526 wx_cv_struct_tm_has_gmtoff=yes
48529 echo "$as_me: failed program was:" >&5
48530 sed 's/^/| /' conftest.$ac_ext >&5
48532 wx_cv_struct_tm_has_gmtoff=no
48536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48539 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
48540 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
48543 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
48544 cat >>confdefs.h <<\_ACEOF
48545 #define WX_GMTOFF_IN_TM 1
48550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
48554 if test "$wxUSE_SOCKETS" = "yes"; then
48555 if test "$wxUSE_MGL" = 1; then
48556 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
48557 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
48562 if test "$wxUSE_SOCKETS" = "yes"; then
48563 if test "$TOOLKIT" != "MSW"; then
48564 { echo "$as_me:$LINENO: checking for socket" >&5
48565 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48566 if test "${ac_cv_func_socket+set}" = set; then
48567 echo $ECHO_N "(cached) $ECHO_C" >&6
48569 cat >conftest.$ac_ext <<_ACEOF
48572 cat confdefs.h >>conftest.$ac_ext
48573 cat >>conftest.$ac_ext <<_ACEOF
48574 /* end confdefs.h. */
48575 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48577 #define socket innocuous_socket
48579 /* System header to define __stub macros and hopefully few prototypes,
48580 which can conflict with char socket (); below.
48581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48582 <limits.h> exists even on freestanding compilers. */
48585 # include <limits.h>
48587 # include <assert.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. */
48599 /* The GNU C library defines this for functions which it implements
48600 to always fail with ENOSYS. Some functions are actually named
48601 something starting with __ and the normal name is an alias. */
48602 #if defined __stub_socket || defined __stub___socket
48614 rm -f conftest.$ac_objext conftest$ac_exeext
48615 if { (ac_try="$ac_link"
48616 case "(($ac_try" in
48617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48618 *) ac_try_echo=$ac_try;;
48620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48621 (eval "$ac_link") 2>conftest.er1
48623 grep -v '^ *+' conftest.er1 >conftest.err
48625 cat conftest.err >&5
48626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48627 (exit $ac_status); } && {
48628 test -z "$ac_c_werror_flag" ||
48629 test ! -s conftest.err
48630 } && test -s conftest$ac_exeext &&
48631 $as_test_x conftest$ac_exeext; then
48632 ac_cv_func_socket=yes
48634 echo "$as_me: failed program was:" >&5
48635 sed 's/^/| /' conftest.$ac_ext >&5
48637 ac_cv_func_socket=no
48640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48641 conftest$ac_exeext conftest.$ac_ext
48643 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48644 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48645 if test $ac_cv_func_socket = yes; then
48649 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48650 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48651 if test "${ac_cv_lib_socket_socket+set}" = set; then
48652 echo $ECHO_N "(cached) $ECHO_C" >&6
48654 ac_check_lib_save_LIBS=$LIBS
48655 LIBS="-lsocket $LIBS"
48656 cat >conftest.$ac_ext <<_ACEOF
48659 cat confdefs.h >>conftest.$ac_ext
48660 cat >>conftest.$ac_ext <<_ACEOF
48661 /* end confdefs.h. */
48663 /* Override any GCC internal prototype to avoid an error.
48664 Use char because int might match the return type of a GCC
48665 builtin and then its argument prototype would still apply. */
48678 rm -f conftest.$ac_objext conftest$ac_exeext
48679 if { (ac_try="$ac_link"
48680 case "(($ac_try" in
48681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48682 *) ac_try_echo=$ac_try;;
48684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48685 (eval "$ac_link") 2>conftest.er1
48687 grep -v '^ *+' conftest.er1 >conftest.err
48689 cat conftest.err >&5
48690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48691 (exit $ac_status); } && {
48692 test -z "$ac_c_werror_flag" ||
48693 test ! -s conftest.err
48694 } && test -s conftest$ac_exeext &&
48695 $as_test_x conftest$ac_exeext; then
48696 ac_cv_lib_socket_socket=yes
48698 echo "$as_me: failed program was:" >&5
48699 sed 's/^/| /' conftest.$ac_ext >&5
48701 ac_cv_lib_socket_socket=no
48704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48705 conftest$ac_exeext conftest.$ac_ext
48706 LIBS=$ac_check_lib_save_LIBS
48708 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48709 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48710 if test $ac_cv_lib_socket_socket = yes; then
48711 if test "$INET_LINK" != " -lsocket"; then
48712 INET_LINK="$INET_LINK -lsocket"
48716 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48717 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48730 if test "$wxUSE_SOCKETS" = "yes" ; then
48731 if test "$TOOLKIT" != "MSW"; then
48732 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48733 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48734 if test "${wx_cv_type_getsockname3+set}" = set; then
48735 echo $ECHO_N "(cached) $ECHO_C" >&6
48739 ac_cpp='$CXXCPP $CPPFLAGS'
48740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48744 cat >conftest.$ac_ext <<_ACEOF
48747 cat confdefs.h >>conftest.$ac_ext
48748 cat >>conftest.$ac_ext <<_ACEOF
48749 /* end confdefs.h. */
48751 #include <sys/types.h>
48752 #include <sys/socket.h>
48759 getsockname(0, 0, &len);
48765 rm -f conftest.$ac_objext
48766 if { (ac_try="$ac_compile"
48767 case "(($ac_try" in
48768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48769 *) ac_try_echo=$ac_try;;
48771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48772 (eval "$ac_compile") 2>conftest.er1
48774 grep -v '^ *+' conftest.er1 >conftest.err
48776 cat conftest.err >&5
48777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48778 (exit $ac_status); } && {
48779 test -z "$ac_cxx_werror_flag" ||
48780 test ! -s conftest.err
48781 } && test -s conftest.$ac_objext; then
48782 wx_cv_type_getsockname3=socklen_t
48784 echo "$as_me: failed program was:" >&5
48785 sed 's/^/| /' conftest.$ac_ext >&5
48788 CFLAGS_OLD="$CFLAGS"
48789 if test "$GCC" = yes ; then
48790 CFLAGS="-Werror $CFLAGS"
48793 cat >conftest.$ac_ext <<_ACEOF
48796 cat confdefs.h >>conftest.$ac_ext
48797 cat >>conftest.$ac_ext <<_ACEOF
48798 /* end confdefs.h. */
48800 #include <sys/types.h>
48801 #include <sys/socket.h>
48808 getsockname(0, 0, &len);
48814 rm -f conftest.$ac_objext
48815 if { (ac_try="$ac_compile"
48816 case "(($ac_try" in
48817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48818 *) ac_try_echo=$ac_try;;
48820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48821 (eval "$ac_compile") 2>conftest.er1
48823 grep -v '^ *+' conftest.er1 >conftest.err
48825 cat conftest.err >&5
48826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48827 (exit $ac_status); } && {
48828 test -z "$ac_cxx_werror_flag" ||
48829 test ! -s conftest.err
48830 } && test -s conftest.$ac_objext; then
48831 wx_cv_type_getsockname3=size_t
48833 echo "$as_me: failed program was:" >&5
48834 sed 's/^/| /' conftest.$ac_ext >&5
48836 cat >conftest.$ac_ext <<_ACEOF
48839 cat confdefs.h >>conftest.$ac_ext
48840 cat >>conftest.$ac_ext <<_ACEOF
48841 /* end confdefs.h. */
48843 #include <sys/types.h>
48844 #include <sys/socket.h>
48851 getsockname(0, 0, &len);
48857 rm -f conftest.$ac_objext
48858 if { (ac_try="$ac_compile"
48859 case "(($ac_try" in
48860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48861 *) ac_try_echo=$ac_try;;
48863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48864 (eval "$ac_compile") 2>conftest.er1
48866 grep -v '^ *+' conftest.er1 >conftest.err
48868 cat conftest.err >&5
48869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48870 (exit $ac_status); } && {
48871 test -z "$ac_cxx_werror_flag" ||
48872 test ! -s conftest.err
48873 } && test -s conftest.$ac_objext; then
48874 wx_cv_type_getsockname3=int
48876 echo "$as_me: failed program was:" >&5
48877 sed 's/^/| /' conftest.$ac_ext >&5
48879 wx_cv_type_getsockname3=unknown
48883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48889 CFLAGS="$CFLAGS_OLD"
48894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48896 ac_cpp='$CPP $CPPFLAGS'
48897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48903 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48904 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48906 if test "$wx_cv_type_getsockname3" = "unknown"; then
48908 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48909 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48911 cat >>confdefs.h <<_ACEOF
48912 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48916 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48917 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48918 if test "${wx_cv_type_getsockopt5+set}" = set; then
48919 echo $ECHO_N "(cached) $ECHO_C" >&6
48923 ac_cpp='$CXXCPP $CPPFLAGS'
48924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48928 cat >conftest.$ac_ext <<_ACEOF
48931 cat confdefs.h >>conftest.$ac_ext
48932 cat >>conftest.$ac_ext <<_ACEOF
48933 /* end confdefs.h. */
48935 #include <sys/types.h>
48936 #include <sys/socket.h>
48943 getsockopt(0, 0, 0, 0, &len);
48949 rm -f conftest.$ac_objext
48950 if { (ac_try="$ac_compile"
48951 case "(($ac_try" in
48952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48953 *) ac_try_echo=$ac_try;;
48955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48956 (eval "$ac_compile") 2>conftest.er1
48958 grep -v '^ *+' conftest.er1 >conftest.err
48960 cat conftest.err >&5
48961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48962 (exit $ac_status); } && {
48963 test -z "$ac_cxx_werror_flag" ||
48964 test ! -s conftest.err
48965 } && test -s conftest.$ac_objext; then
48966 wx_cv_type_getsockopt5=socklen_t
48968 echo "$as_me: failed program was:" >&5
48969 sed 's/^/| /' conftest.$ac_ext >&5
48972 cat >conftest.$ac_ext <<_ACEOF
48975 cat confdefs.h >>conftest.$ac_ext
48976 cat >>conftest.$ac_ext <<_ACEOF
48977 /* end confdefs.h. */
48979 #include <sys/types.h>
48980 #include <sys/socket.h>
48987 getsockopt(0, 0, 0, 0, &len);
48993 rm -f conftest.$ac_objext
48994 if { (ac_try="$ac_compile"
48995 case "(($ac_try" in
48996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48997 *) ac_try_echo=$ac_try;;
48999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49000 (eval "$ac_compile") 2>conftest.er1
49002 grep -v '^ *+' conftest.er1 >conftest.err
49004 cat conftest.err >&5
49005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49006 (exit $ac_status); } && {
49007 test -z "$ac_cxx_werror_flag" ||
49008 test ! -s conftest.err
49009 } && test -s conftest.$ac_objext; then
49010 wx_cv_type_getsockopt5=size_t
49012 echo "$as_me: failed program was:" >&5
49013 sed 's/^/| /' conftest.$ac_ext >&5
49015 cat >conftest.$ac_ext <<_ACEOF
49018 cat confdefs.h >>conftest.$ac_ext
49019 cat >>conftest.$ac_ext <<_ACEOF
49020 /* end confdefs.h. */
49022 #include <sys/types.h>
49023 #include <sys/socket.h>
49030 getsockopt(0, 0, 0, 0, &len);
49036 rm -f conftest.$ac_objext
49037 if { (ac_try="$ac_compile"
49038 case "(($ac_try" in
49039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49040 *) ac_try_echo=$ac_try;;
49042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49043 (eval "$ac_compile") 2>conftest.er1
49045 grep -v '^ *+' conftest.er1 >conftest.err
49047 cat conftest.err >&5
49048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49049 (exit $ac_status); } && {
49050 test -z "$ac_cxx_werror_flag" ||
49051 test ! -s conftest.err
49052 } && test -s conftest.$ac_objext; then
49053 wx_cv_type_getsockopt5=int
49055 echo "$as_me: failed program was:" >&5
49056 sed 's/^/| /' conftest.$ac_ext >&5
49058 wx_cv_type_getsockopt5=unknown
49062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49073 ac_cpp='$CPP $CPPFLAGS'
49074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49080 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
49081 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
49083 if test "$wx_cv_type_getsockopt5" = "unknown"; then
49085 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
49086 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
49088 cat >>confdefs.h <<_ACEOF
49089 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
49096 if test "$wxUSE_SOCKETS" = "yes" ; then
49097 if test "$wxUSE_IPV6" = "yes"; then
49098 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
49099 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
49100 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
49101 echo $ECHO_N "(cached) $ECHO_C" >&6
49104 cat >conftest.$ac_ext <<_ACEOF
49107 cat confdefs.h >>conftest.$ac_ext
49108 cat >>conftest.$ac_ext <<_ACEOF
49109 /* end confdefs.h. */
49111 #include <sys/types.h>
49112 #include <sys/socket.h>
49113 #include <netinet/in.h>
49119 struct sockaddr_in6 sa6;
49125 rm -f conftest.$ac_objext
49126 if { (ac_try="$ac_compile"
49127 case "(($ac_try" in
49128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49129 *) ac_try_echo=$ac_try;;
49131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49132 (eval "$ac_compile") 2>conftest.er1
49134 grep -v '^ *+' conftest.er1 >conftest.err
49136 cat conftest.err >&5
49137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49138 (exit $ac_status); } && {
49139 test -z "$ac_c_werror_flag" ||
49140 test ! -s conftest.err
49141 } && test -s conftest.$ac_objext; then
49142 wx_cv_type_sockaddr_in6=yes
49144 echo "$as_me: failed program was:" >&5
49145 sed 's/^/| /' conftest.$ac_ext >&5
49147 wx_cv_type_sockaddr_in6=no
49151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49155 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
49156 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
49158 if test "$wx_cv_type_sockaddr_in6"="yes"; then
49159 cat >>confdefs.h <<\_ACEOF
49160 #define wxUSE_IPV6 1
49164 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
49165 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
49169 cat >>confdefs.h <<\_ACEOF
49170 #define wxUSE_SOCKETS 1
49173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49176 if test "$wxUSE_PROTOCOL" = "yes"; then
49177 if test "$wxUSE_SOCKETS" != "yes"; then
49178 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
49179 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
49184 if test "$wxUSE_PROTOCOL" = "yes"; then
49185 cat >>confdefs.h <<\_ACEOF
49186 #define wxUSE_PROTOCOL 1
49190 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
49191 cat >>confdefs.h <<\_ACEOF
49192 #define wxUSE_PROTOCOL_HTTP 1
49196 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
49197 cat >>confdefs.h <<\_ACEOF
49198 #define wxUSE_PROTOCOL_FTP 1
49202 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
49203 cat >>confdefs.h <<\_ACEOF
49204 #define wxUSE_PROTOCOL_FILE 1
49209 if test "$wxUSE_FS_INET" = "yes"; then
49210 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
49211 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
49216 if test "$wxUSE_URL" = "yes"; then
49217 if test "$wxUSE_PROTOCOL" != "yes"; then
49218 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
49219 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
49222 if test "$wxUSE_URL" = "yes"; then
49223 cat >>confdefs.h <<\_ACEOF
49224 #define wxUSE_URL 1
49230 if test "$wxUSE_VARIANT" = "yes"; then
49231 cat >>confdefs.h <<\_ACEOF
49232 #define wxUSE_VARIANT 1
49237 if test "$wxUSE_FS_INET" = "yes"; then
49238 cat >>confdefs.h <<\_ACEOF
49239 #define wxUSE_FS_INET 1
49245 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
49248 if test "$TOOLKIT" = "MSW"; then
49251 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
49252 if test "$USE_DARWIN" = 1; then
49253 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
49254 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
49256 ac_cpp='$CXXCPP $CPPFLAGS'
49257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49261 cat >conftest.$ac_ext <<_ACEOF
49264 cat confdefs.h >>conftest.$ac_ext
49265 cat >>conftest.$ac_ext <<_ACEOF
49266 /* end confdefs.h. */
49267 #include <IOKit/hid/IOHIDLib.h>
49271 IOHIDQueueInterface *qi = NULL;
49272 IOHIDCallbackFunction cb = NULL;
49273 qi->setEventCallout(NULL, cb, NULL, NULL);
49278 rm -f conftest.$ac_objext
49279 if { (ac_try="$ac_compile"
49280 case "(($ac_try" in
49281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49282 *) ac_try_echo=$ac_try;;
49284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49285 (eval "$ac_compile") 2>conftest.er1
49287 grep -v '^ *+' conftest.er1 >conftest.err
49289 cat conftest.err >&5
49290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49291 (exit $ac_status); } && {
49292 test -z "$ac_cxx_werror_flag" ||
49293 test ! -s conftest.err
49294 } && test -s conftest.$ac_objext; then
49298 echo "$as_me: failed program was:" >&5
49299 sed 's/^/| /' conftest.$ac_ext >&5
49304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49306 ac_cpp='$CPP $CPPFLAGS'
49307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49311 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
49312 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
49316 if test "$wxUSE_MGL" != 1; then
49318 for ac_header in linux/joystick.h
49320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
49322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
49323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49324 echo $ECHO_N "(cached) $ECHO_C" >&6
49326 cat >conftest.$ac_ext <<_ACEOF
49329 cat confdefs.h >>conftest.$ac_ext
49330 cat >>conftest.$ac_ext <<_ACEOF
49331 /* end confdefs.h. */
49332 $ac_includes_default
49334 #include <$ac_header>
49336 rm -f conftest.$ac_objext
49337 if { (ac_try="$ac_compile"
49338 case "(($ac_try" in
49339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49340 *) ac_try_echo=$ac_try;;
49342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49343 (eval "$ac_compile") 2>conftest.er1
49345 grep -v '^ *+' conftest.er1 >conftest.err
49347 cat conftest.err >&5
49348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49349 (exit $ac_status); } && {
49350 test -z "$ac_c_werror_flag" ||
49351 test ! -s conftest.err
49352 } && test -s conftest.$ac_objext; then
49353 eval "$as_ac_Header=yes"
49355 echo "$as_me: failed program was:" >&5
49356 sed 's/^/| /' conftest.$ac_ext >&5
49358 eval "$as_ac_Header=no"
49361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49363 ac_res=`eval echo '${'$as_ac_Header'}'`
49364 { echo "$as_me:$LINENO: result: $ac_res" >&5
49365 echo "${ECHO_T}$ac_res" >&6; }
49366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49367 cat >>confdefs.h <<_ACEOF
49368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49378 if test "$wxUSE_JOYSTICK" = "yes"; then
49379 cat >>confdefs.h <<\_ACEOF
49380 #define wxUSE_JOYSTICK 1
49383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49385 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49386 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49392 if test "$wxUSE_FONTENUM" = "yes" ; then
49393 cat >>confdefs.h <<\_ACEOF
49394 #define wxUSE_FONTENUM 1
49399 if test "$wxUSE_FONTMAP" = "yes" ; then
49400 cat >>confdefs.h <<\_ACEOF
49401 #define wxUSE_FONTMAP 1
49406 if test "$wxUSE_UNICODE" = "yes" ; then
49407 cat >>confdefs.h <<\_ACEOF
49408 #define wxUSE_UNICODE 1
49412 if test "$USE_WIN32" != 1; then
49413 wxUSE_UNICODE_MSLU=no
49416 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49417 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49418 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49419 if test "${ac_cv_lib_unicows_main+set}" = set; then
49420 echo $ECHO_N "(cached) $ECHO_C" >&6
49422 ac_check_lib_save_LIBS=$LIBS
49423 LIBS="-lunicows $LIBS"
49424 cat >conftest.$ac_ext <<_ACEOF
49427 cat confdefs.h >>conftest.$ac_ext
49428 cat >>conftest.$ac_ext <<_ACEOF
49429 /* end confdefs.h. */
49440 rm -f conftest.$ac_objext conftest$ac_exeext
49441 if { (ac_try="$ac_link"
49442 case "(($ac_try" in
49443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49444 *) ac_try_echo=$ac_try;;
49446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49447 (eval "$ac_link") 2>conftest.er1
49449 grep -v '^ *+' conftest.er1 >conftest.err
49451 cat conftest.err >&5
49452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49453 (exit $ac_status); } && {
49454 test -z "$ac_c_werror_flag" ||
49455 test ! -s conftest.err
49456 } && test -s conftest$ac_exeext &&
49457 $as_test_x conftest$ac_exeext; then
49458 ac_cv_lib_unicows_main=yes
49460 echo "$as_me: failed program was:" >&5
49461 sed 's/^/| /' conftest.$ac_ext >&5
49463 ac_cv_lib_unicows_main=no
49466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49467 conftest$ac_exeext conftest.$ac_ext
49468 LIBS=$ac_check_lib_save_LIBS
49470 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49471 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49472 if test $ac_cv_lib_unicows_main = yes; then
49474 cat >>confdefs.h <<\_ACEOF
49475 #define wxUSE_UNICODE_MSLU 1
49481 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49482 Applications will only run on Windows NT/2000/XP!" >&5
49483 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49484 Applications will only run on Windows NT/2000/XP!" >&2;}
49485 wxUSE_UNICODE_MSLU=no
49492 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
49493 cat >>confdefs.h <<\_ACEOF
49494 #define wxUSE_UNICODE_UTF8 1
49498 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
49499 cat >>confdefs.h <<\_ACEOF
49500 #define wxUSE_UTF8_LOCALE_ONLY 1
49507 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49508 cat >>confdefs.h <<\_ACEOF
49509 #define wxUSE_CONSTRAINTS 1
49512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
49515 if test "$wxUSE_MDI" = "yes"; then
49516 cat >>confdefs.h <<\_ACEOF
49517 #define wxUSE_MDI 1
49521 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49522 cat >>confdefs.h <<\_ACEOF
49523 #define wxUSE_MDI_ARCHITECTURE 1
49526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
49530 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49531 cat >>confdefs.h <<\_ACEOF
49532 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
49538 if test "$wxUSE_HELP" = "yes"; then
49539 cat >>confdefs.h <<\_ACEOF
49540 #define wxUSE_HELP 1
49543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
49545 if test "$wxUSE_MSW" = 1; then
49546 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49547 cat >>confdefs.h <<\_ACEOF
49548 #define wxUSE_MS_HTML_HELP 1
49554 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49555 if test "$wxUSE_HTML" = "yes"; then
49556 cat >>confdefs.h <<\_ACEOF
49557 #define wxUSE_WXHTML_HELP 1
49561 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49562 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49563 wxUSE_WXHTML_HELP=no
49568 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49569 cat >>confdefs.h <<\_ACEOF
49570 #define wxUSE_PRINTING_ARCHITECTURE 1
49573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
49576 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49577 cat >>confdefs.h <<\_ACEOF
49578 #define wxUSE_POSTSCRIPT 1
49583 cat >>confdefs.h <<\_ACEOF
49584 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49588 if test "$wxUSE_SVG" = "yes"; then
49589 cat >>confdefs.h <<\_ACEOF
49590 #define wxUSE_SVG 1
49596 if test "$wxUSE_METAFILE" = "yes"; then
49597 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49598 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49599 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49602 elif test "$wxUSE_METAFILE" = "auto"; then
49603 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
49608 if test "$wxUSE_METAFILE" = "yes"; then
49609 cat >>confdefs.h <<\_ACEOF
49610 #define wxUSE_METAFILE 1
49613 if test "$wxUSE_MSW" = 1; then
49614 cat >>confdefs.h <<\_ACEOF
49615 #define wxUSE_ENH_METAFILE 1
49622 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
49623 -o "$wxUSE_CLIPBOARD" = "yes" \
49624 -o "$wxUSE_OLE" = "yes" \
49625 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
49626 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49627 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49628 if test "${ac_cv_header_ole2_h+set}" = set; then
49629 echo $ECHO_N "(cached) $ECHO_C" >&6
49631 cat >conftest.$ac_ext <<_ACEOF
49634 cat confdefs.h >>conftest.$ac_ext
49635 cat >>conftest.$ac_ext <<_ACEOF
49636 /* end confdefs.h. */
49641 rm -f conftest.$ac_objext
49642 if { (ac_try="$ac_compile"
49643 case "(($ac_try" in
49644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49645 *) ac_try_echo=$ac_try;;
49647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49648 (eval "$ac_compile") 2>conftest.er1
49650 grep -v '^ *+' conftest.er1 >conftest.err
49652 cat conftest.err >&5
49653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49654 (exit $ac_status); } && {
49655 test -z "$ac_c_werror_flag" ||
49656 test ! -s conftest.err
49657 } && test -s conftest.$ac_objext; then
49658 ac_cv_header_ole2_h=yes
49660 echo "$as_me: failed program was:" >&5
49661 sed 's/^/| /' conftest.$ac_ext >&5
49663 ac_cv_header_ole2_h=no
49666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49668 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49669 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49673 if test "$ac_cv_header_ole2_h" = "yes" ; then
49674 if test "$GCC" = yes ; then
49675 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49676 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49677 cat >conftest.$ac_ext <<_ACEOF
49680 cat confdefs.h >>conftest.$ac_ext
49681 cat >>conftest.$ac_ext <<_ACEOF
49682 /* end confdefs.h. */
49683 #include <windows.h>
49693 rm -f conftest.$ac_objext
49694 if { (ac_try="$ac_compile"
49695 case "(($ac_try" in
49696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49697 *) ac_try_echo=$ac_try;;
49699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49700 (eval "$ac_compile") 2>conftest.er1
49702 grep -v '^ *+' conftest.er1 >conftest.err
49704 cat conftest.err >&5
49705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49706 (exit $ac_status); } && {
49707 test -z "$ac_c_werror_flag" ||
49708 test ! -s conftest.err
49709 } && test -s conftest.$ac_objext; then
49710 { echo "$as_me:$LINENO: result: no" >&5
49711 echo "${ECHO_T}no" >&6; }
49713 echo "$as_me: failed program was:" >&5
49714 sed 's/^/| /' conftest.$ac_ext >&5
49716 { echo "$as_me:$LINENO: result: yes" >&5
49717 echo "${ECHO_T}yes" >&6; }
49718 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49722 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49723 if test "$wxUSE_OLE" = "yes" ; then
49724 cat >>confdefs.h <<\_ACEOF
49725 #define wxUSE_OLE 1
49728 cat >>confdefs.h <<\_ACEOF
49729 #define wxUSE_OLE_AUTOMATION 1
49732 cat >>confdefs.h <<\_ACEOF
49733 #define wxUSE_ACTIVEX 1
49736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
49740 if test "$wxUSE_DATAOBJ" = "yes" ; then
49741 cat >>confdefs.h <<\_ACEOF
49742 #define wxUSE_DATAOBJ 1
49747 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49748 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49751 wxUSE_DRAG_AND_DROP=no
49757 if test "$wxUSE_IPC" = "yes"; then
49758 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49759 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49760 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49764 if test "$wxUSE_IPC" = "yes"; then
49765 cat >>confdefs.h <<\_ACEOF
49766 #define wxUSE_IPC 1
49769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49773 if test "$wxUSE_DATAOBJ" = "yes"; then
49774 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49775 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
49776 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
49779 cat >>confdefs.h <<\_ACEOF
49780 #define wxUSE_DATAOBJ 1
49785 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49786 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49788 wxUSE_DRAG_AND_DROP=no
49791 if test "$wxUSE_CLIPBOARD" = "yes"; then
49792 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49793 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49794 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49798 if test "$wxUSE_CLIPBOARD" = "yes"; then
49799 cat >>confdefs.h <<\_ACEOF
49800 #define wxUSE_CLIPBOARD 1
49806 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49807 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
49808 "$wxUSE_DFB" = 1; then
49809 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49810 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49811 wxUSE_DRAG_AND_DROP=no
49814 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49815 cat >>confdefs.h <<\_ACEOF
49816 #define wxUSE_DRAG_AND_DROP 1
49823 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49824 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
49827 if test "$wxUSE_CLIPBOARD" = "yes"; then
49828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
49831 if test "$wxUSE_SPLINES" = "yes" ; then
49832 cat >>confdefs.h <<\_ACEOF
49833 #define wxUSE_SPLINES 1
49838 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49839 cat >>confdefs.h <<\_ACEOF
49840 #define wxUSE_MOUSEWHEEL 1
49845 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
49846 cat >>confdefs.h <<\_ACEOF
49847 #define wxUSE_UIACTIONSIMULATOR 1
49850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
49853 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
49854 cat >>confdefs.h <<\_ACEOF
49855 #define wxUSE_DC_TRANSFORM_MATRIX 1
49862 if test "$wxUSE_CONTROLS" = "yes"; then
49866 if test "$wxUSE_MARKUP" = "yes"; then
49867 cat >>confdefs.h <<\_ACEOF
49868 #define wxUSE_MARKUP 1
49873 if test "$wxUSE_ACCEL" = "yes"; then
49874 cat >>confdefs.h <<\_ACEOF
49875 #define wxUSE_ACCEL 1
49881 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49882 cat >>confdefs.h <<\_ACEOF
49883 #define wxUSE_ANIMATIONCTRL 1
49887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
49890 if test "$wxUSE_BANNERWINDOW" = "yes"; then
49891 cat >>confdefs.h <<\_ACEOF
49892 #define wxUSE_BANNERWINDOW 1
49897 if test "$wxUSE_BUTTON" = "yes"; then
49898 cat >>confdefs.h <<\_ACEOF
49899 #define wxUSE_BUTTON 1
49905 if test "$wxUSE_BMPBUTTON" = "yes"; then
49906 cat >>confdefs.h <<\_ACEOF
49907 #define wxUSE_BMPBUTTON 1
49913 if test "$wxUSE_CALCTRL" = "yes"; then
49914 cat >>confdefs.h <<\_ACEOF
49915 #define wxUSE_CALENDARCTRL 1
49919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
49922 if test "$wxUSE_CARET" = "yes"; then
49923 cat >>confdefs.h <<\_ACEOF
49924 #define wxUSE_CARET 1
49928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
49931 if test "$wxUSE_COLLPANE" = "yes"; then
49932 cat >>confdefs.h <<\_ACEOF
49933 #define wxUSE_COLLPANE 1
49937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
49940 if test "$wxUSE_COMBOBOX" = "yes"; then
49941 cat >>confdefs.h <<\_ACEOF
49942 #define wxUSE_COMBOBOX 1
49948 if test "$wxUSE_COMBOCTRL" = "yes"; then
49949 cat >>confdefs.h <<\_ACEOF
49950 #define wxUSE_COMBOCTRL 1
49956 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
49957 cat >>confdefs.h <<\_ACEOF
49958 #define wxUSE_COMMANDLINKBUTTON 1
49964 if test "$wxUSE_CHOICE" = "yes"; then
49965 cat >>confdefs.h <<\_ACEOF
49966 #define wxUSE_CHOICE 1
49972 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49973 cat >>confdefs.h <<\_ACEOF
49974 #define wxUSE_CHOICEBOOK 1
49980 if test "$wxUSE_CHECKBOX" = "yes"; then
49981 cat >>confdefs.h <<\_ACEOF
49982 #define wxUSE_CHECKBOX 1
49988 if test "$wxUSE_CHECKLST" = "yes"; then
49989 cat >>confdefs.h <<\_ACEOF
49990 #define wxUSE_CHECKLISTBOX 1
49996 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49997 cat >>confdefs.h <<\_ACEOF
49998 #define wxUSE_COLOURPICKERCTRL 1
50004 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
50005 cat >>confdefs.h <<\_ACEOF
50006 #define wxUSE_DATEPICKCTRL 1
50012 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
50013 cat >>confdefs.h <<\_ACEOF
50014 #define wxUSE_DIRPICKERCTRL 1
50020 if test "$wxUSE_FILECTRL" = "yes"; then
50021 cat >>confdefs.h <<\_ACEOF
50022 #define wxUSE_FILECTRL 1
50028 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
50029 cat >>confdefs.h <<\_ACEOF
50030 #define wxUSE_FILEPICKERCTRL 1
50036 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
50037 cat >>confdefs.h <<\_ACEOF
50038 #define wxUSE_FONTPICKERCTRL 1
50044 if test "$wxUSE_DISPLAY" = "yes"; then
50045 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
50046 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
50047 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
50050 cat >>confdefs.h <<\_ACEOF
50051 #define wxUSE_DISPLAY 1
50054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
50058 if test "$wxUSE_DETECT_SM" = "yes"; then
50059 cat >>confdefs.h <<\_ACEOF
50060 #define wxUSE_DETECT_SM 1
50065 if test "$wxUSE_GAUGE" = "yes"; then
50066 cat >>confdefs.h <<\_ACEOF
50067 #define wxUSE_GAUGE 1
50073 if test "$wxUSE_GRID" = "yes"; then
50074 cat >>confdefs.h <<\_ACEOF
50075 #define wxUSE_GRID 1
50079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
50082 if test "$wxUSE_HEADERCTRL" = "yes"; then
50083 cat >>confdefs.h <<\_ACEOF
50084 #define wxUSE_HEADERCTRL 1
50090 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
50091 cat >>confdefs.h <<\_ACEOF
50092 #define wxUSE_HYPERLINKCTRL 1
50098 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
50099 cat >>confdefs.h <<\_ACEOF
50100 #define wxUSE_BITMAPCOMBOBOX 1
50106 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
50107 cat >>confdefs.h <<\_ACEOF
50108 #define wxUSE_DATAVIEWCTRL 1
50112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
50115 if test "$wxUSE_IMAGLIST" = "yes"; then
50116 cat >>confdefs.h <<\_ACEOF
50117 #define wxUSE_IMAGLIST 1
50122 if test "$wxUSE_INFOBAR" = "yes"; then
50123 cat >>confdefs.h <<\_ACEOF
50124 #define wxUSE_INFOBAR 1
50129 if test "$wxUSE_LISTBOOK" = "yes"; then
50130 cat >>confdefs.h <<\_ACEOF
50131 #define wxUSE_LISTBOOK 1
50137 if test "$wxUSE_LISTBOX" = "yes"; then
50138 cat >>confdefs.h <<\_ACEOF
50139 #define wxUSE_LISTBOX 1
50145 if test "$wxUSE_LISTCTRL" = "yes"; then
50146 if test "$wxUSE_IMAGLIST" = "yes"; then
50147 cat >>confdefs.h <<\_ACEOF
50148 #define wxUSE_LISTCTRL 1
50152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
50154 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
50155 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
50159 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
50160 cat >>confdefs.h <<\_ACEOF
50161 #define wxUSE_EDITABLELISTBOX 1
50167 if test "$wxUSE_NOTEBOOK" = "yes"; then
50168 cat >>confdefs.h <<\_ACEOF
50169 #define wxUSE_NOTEBOOK 1
50173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
50176 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
50177 cat >>confdefs.h <<\_ACEOF
50178 #define wxUSE_NOTIFICATION_MESSAGE 1
50183 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
50184 cat >>confdefs.h <<\_ACEOF
50185 #define wxUSE_ODCOMBOBOX 1
50189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
50192 if test "$wxUSE_RADIOBOX" = "yes"; then
50193 cat >>confdefs.h <<\_ACEOF
50194 #define wxUSE_RADIOBOX 1
50200 if test "$wxUSE_RADIOBTN" = "yes"; then
50201 cat >>confdefs.h <<\_ACEOF
50202 #define wxUSE_RADIOBTN 1
50208 if test "$wxUSE_REARRANGECTRL" = "yes"; then
50209 cat >>confdefs.h <<\_ACEOF
50210 #define wxUSE_REARRANGECTRL 1
50215 if test "$wxUSE_RICHMSGDLG" = "yes"; then
50216 cat >>confdefs.h <<\_ACEOF
50217 #define wxUSE_RICHMSGDLG 1
50222 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
50223 cat >>confdefs.h <<\_ACEOF
50224 #define wxUSE_RICHTOOLTIP 1
50229 if test "$wxUSE_SASH" = "yes"; then
50230 cat >>confdefs.h <<\_ACEOF
50231 #define wxUSE_SASH 1
50234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
50237 if test "$wxUSE_SCROLLBAR" = "yes"; then
50238 cat >>confdefs.h <<\_ACEOF
50239 #define wxUSE_SCROLLBAR 1
50243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
50246 if test "$wxUSE_SEARCHCTRL" = "yes"; then
50247 cat >>confdefs.h <<\_ACEOF
50248 #define wxUSE_SEARCHCTRL 1
50254 if test "$wxUSE_SLIDER" = "yes"; then
50255 cat >>confdefs.h <<\_ACEOF
50256 #define wxUSE_SLIDER 1
50262 if test "$wxUSE_SPINBTN" = "yes"; then
50263 cat >>confdefs.h <<\_ACEOF
50264 #define wxUSE_SPINBTN 1
50270 if test "$wxUSE_SPINCTRL" = "yes"; then
50271 cat >>confdefs.h <<\_ACEOF
50272 #define wxUSE_SPINCTRL 1
50278 if test "$wxUSE_SPLITTER" = "yes"; then
50279 cat >>confdefs.h <<\_ACEOF
50280 #define wxUSE_SPLITTER 1
50283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
50286 if test "$wxUSE_STATBMP" = "yes"; then
50287 cat >>confdefs.h <<\_ACEOF
50288 #define wxUSE_STATBMP 1
50294 if test "$wxUSE_STATBOX" = "yes"; then
50295 cat >>confdefs.h <<\_ACEOF
50296 #define wxUSE_STATBOX 1
50302 if test "$wxUSE_STATTEXT" = "yes"; then
50303 cat >>confdefs.h <<\_ACEOF
50304 #define wxUSE_STATTEXT 1
50310 if test "$wxUSE_STATLINE" = "yes"; then
50311 cat >>confdefs.h <<\_ACEOF
50312 #define wxUSE_STATLINE 1
50318 if test "$wxUSE_STATUSBAR" = "yes"; then
50319 cat >>confdefs.h <<\_ACEOF
50320 #define wxUSE_NATIVE_STATUSBAR 1
50323 cat >>confdefs.h <<\_ACEOF
50324 #define wxUSE_STATUSBAR 1
50329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
50332 if test "$wxUSE_TEXTCTRL" = "yes"; then
50333 cat >>confdefs.h <<\_ACEOF
50334 #define wxUSE_TEXTCTRL 1
50338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
50340 cat >>confdefs.h <<\_ACEOF
50341 #define wxUSE_RICHEDIT 1
50344 cat >>confdefs.h <<\_ACEOF
50345 #define wxUSE_RICHEDIT2 1
50350 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
50351 cat >>confdefs.h <<\_ACEOF
50352 #define wxUSE_TIMEPICKCTRL 1
50358 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50359 if test "$wxUSE_OLD_COCOA" = 1 ; then
50360 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
50361 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
50365 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50366 cat >>confdefs.h <<\_ACEOF
50367 #define wxUSE_TOGGLEBTN 1
50374 if test "$wxUSE_TOOLBAR" = "yes"; then
50375 cat >>confdefs.h <<\_ACEOF
50376 #define wxUSE_TOOLBAR 1
50381 if test "$wxUSE_UNIVERSAL" = "yes"; then
50382 wxUSE_TOOLBAR_NATIVE="no"
50384 wxUSE_TOOLBAR_NATIVE="yes"
50385 cat >>confdefs.h <<\_ACEOF
50386 #define wxUSE_TOOLBAR_NATIVE 1
50391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
50394 if test "$wxUSE_TOOLTIPS" = "yes"; then
50395 if test "$wxUSE_MOTIF" = 1; then
50396 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50397 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50399 if test "$wxUSE_UNIVERSAL" = "yes"; then
50400 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50401 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50403 cat >>confdefs.h <<\_ACEOF
50404 #define wxUSE_TOOLTIPS 1
50411 if test "$wxUSE_TREEBOOK" = "yes"; then
50412 cat >>confdefs.h <<\_ACEOF
50413 #define wxUSE_TREEBOOK 1
50419 if test "$wxUSE_TOOLBOOK" = "yes"; then
50420 cat >>confdefs.h <<\_ACEOF
50421 #define wxUSE_TOOLBOOK 1
50427 if test "$wxUSE_TREECTRL" = "yes"; then
50428 if test "$wxUSE_IMAGLIST" = "yes"; then
50429 cat >>confdefs.h <<\_ACEOF
50430 #define wxUSE_TREECTRL 1
50434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
50436 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50437 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50441 if test "$wxUSE_TREELISTCTRL" = "yes"; then
50442 cat >>confdefs.h <<\_ACEOF
50443 #define wxUSE_TREELISTCTRL 1
50449 if test "$wxUSE_POPUPWIN" = "yes"; then
50450 if test "$wxUSE_OLD_COCOA" = 1 ; then
50451 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50452 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50454 if test "$wxUSE_PM" = 1; then
50455 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50456 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50458 cat >>confdefs.h <<\_ACEOF
50459 #define wxUSE_POPUPWIN 1
50462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
50469 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50470 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
50471 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50472 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50474 cat >>confdefs.h <<\_ACEOF
50475 #define wxUSE_DIALUP_MANAGER 1
50478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
50482 if test "$wxUSE_TIPWINDOW" = "yes"; then
50483 if test "$wxUSE_PM" = 1; then
50484 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50485 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50487 cat >>confdefs.h <<\_ACEOF
50488 #define wxUSE_TIPWINDOW 1
50494 if test "$USES_CONTROLS" = 1; then
50495 cat >>confdefs.h <<\_ACEOF
50496 #define wxUSE_CONTROLS 1
50502 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50503 cat >>confdefs.h <<\_ACEOF
50504 #define wxUSE_ACCESSIBILITY 1
50507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
50510 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
50511 cat >>confdefs.h <<\_ACEOF
50512 #define wxUSE_ARTPROVIDER_STD 1
50517 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
50518 if test "$wxUSE_GTK" != 1; then
50519 if test "$wxUSE_LIBPNG" != no -a \
50520 "$wxUSE_IMAGE" = yes -a \
50521 "$wxUSE_STREAMS" = yes; then
50522 wxUSE_ARTPROVIDER_TANGO="yes"
50527 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
50528 cat >>confdefs.h <<\_ACEOF
50529 #define wxUSE_ARTPROVIDER_TANGO 1
50534 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50535 cat >>confdefs.h <<\_ACEOF
50536 #define wxUSE_DRAGIMAGE 1
50539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
50542 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50543 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50544 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50545 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50547 cat >>confdefs.h <<\_ACEOF
50548 #define wxUSE_EXCEPTIONS 1
50551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
50556 if test "$wxUSE_HTML" = "yes"; then
50557 cat >>confdefs.h <<\_ACEOF
50558 #define wxUSE_HTML 1
50562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50564 if test "$wxUSE_WEBKIT" = "yes"; then
50565 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50566 old_CPPFLAGS="$CPPFLAGS"
50567 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50568 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50569 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50570 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50571 echo $ECHO_N "(cached) $ECHO_C" >&6
50573 cat >conftest.$ac_ext <<_ACEOF
50576 cat confdefs.h >>conftest.$ac_ext
50577 cat >>conftest.$ac_ext <<_ACEOF
50578 /* end confdefs.h. */
50580 #include <Carbon/Carbon.h>
50581 #include <WebKit/WebKit.h>
50584 #include <WebKit/HIWebView.h>
50586 rm -f conftest.$ac_objext
50587 if { (ac_try="$ac_compile"
50588 case "(($ac_try" in
50589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50590 *) ac_try_echo=$ac_try;;
50592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50593 (eval "$ac_compile") 2>conftest.er1
50595 grep -v '^ *+' conftest.er1 >conftest.err
50597 cat conftest.err >&5
50598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50599 (exit $ac_status); } && {
50600 test -z "$ac_c_werror_flag" ||
50601 test ! -s conftest.err
50602 } && test -s conftest.$ac_objext; then
50603 ac_cv_header_WebKit_HIWebView_h=yes
50605 echo "$as_me: failed program was:" >&5
50606 sed 's/^/| /' conftest.$ac_ext >&5
50608 ac_cv_header_WebKit_HIWebView_h=no
50611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50613 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50614 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50615 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50617 cat >>confdefs.h <<\_ACEOF
50618 #define wxUSE_WEBKIT 1
50621 WEBKIT_LINK="-framework WebKit"
50625 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50626 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50632 CPPFLAGS="$old_CPPFLAGS"
50633 elif test "$wxUSE_OLD_COCOA" = 1; then
50634 cat >>confdefs.h <<\_ACEOF
50635 #define wxUSE_WEBKIT 1
50641 if test "$wxUSE_WEBKIT" = "yes"; then
50642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50647 if test "$wxUSE_XRC" = "yes"; then
50648 if test "$wxUSE_XML" != "yes"; then
50649 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50650 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50653 cat >>confdefs.h <<\_ACEOF
50654 #define wxUSE_XRC 1
50658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50663 if test "$wxUSE_AUI" = "yes"; then
50664 cat >>confdefs.h <<\_ACEOF
50665 #define wxUSE_AUI 1
50669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50673 if test "$wxUSE_PROPGRID" = "yes"; then
50674 cat >>confdefs.h <<\_ACEOF
50675 #define wxUSE_PROPGRID 1
50679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
50683 if test "$wxUSE_RIBBON" = "yes"; then
50684 cat >>confdefs.h <<\_ACEOF
50685 #define wxUSE_RIBBON 1
50689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
50693 if test "$wxUSE_STC" = "yes"; then
50694 cat >>confdefs.h <<\_ACEOF
50695 #define wxUSE_STC 1
50699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50701 # Extract the first word of "python", so it can be a program name with args.
50702 set dummy python; ac_word=$2
50703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50705 if test "${ac_cv_path_PYTHON+set}" = set; then
50706 echo $ECHO_N "(cached) $ECHO_C" >&6
50710 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
50713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50714 for as_dir in $PATH
50717 test -z "$as_dir" && as_dir=.
50718 for ac_exec_ext in '' $ac_executable_extensions; do
50719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50720 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
50721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50731 PYTHON=$ac_cv_path_PYTHON
50732 if test -n "$PYTHON"; then
50733 { echo "$as_me:$LINENO: result: $PYTHON" >&5
50734 echo "${ECHO_T}$PYTHON" >&6; }
50736 { echo "$as_me:$LINENO: result: no" >&5
50737 echo "${ECHO_T}no" >&6; }
50741 if test "x$PYTHON" = "x"; then
50747 if test "$wxUSE_MENUS" = "yes"; then
50748 cat >>confdefs.h <<\_ACEOF
50749 #define wxUSE_MENUS 1
50752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50755 if test "$wxUSE_MIMETYPE" = "yes"; then
50756 cat >>confdefs.h <<\_ACEOF
50757 #define wxUSE_MIMETYPE 1
50762 if test "$wxUSE_MINIFRAME" = "yes"; then
50763 cat >>confdefs.h <<\_ACEOF
50764 #define wxUSE_MINIFRAME 1
50769 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50770 cat >>confdefs.h <<\_ACEOF
50771 #define wxUSE_SYSTEM_OPTIONS 1
50776 if test "$wxUSE_TASKBARICON" = "yes"; then
50777 cat >>confdefs.h <<\_ACEOF
50778 #define wxUSE_TASKBARICON 1
50781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50785 if test "$wxUSE_VALIDATORS" = "yes"; then
50786 cat >>confdefs.h <<\_ACEOF
50787 #define wxUSE_VALIDATORS 1
50790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50793 if test "$wxUSE_PALETTE" = "yes" ; then
50794 if test "$wxUSE_DFB" = 1; then
50795 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50796 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50799 cat >>confdefs.h <<\_ACEOF
50800 #define wxUSE_PALETTE 1
50806 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50807 LIBS=" -lunicows $LIBS"
50811 if test "$wxUSE_RICHTEXT" = "yes"; then
50812 cat >>confdefs.h <<\_ACEOF
50813 #define wxUSE_RICHTEXT 1
50817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50820 if test "$wxUSE_WEBVIEW" = "yes"; then
50821 USE_WEBVIEW_WEBKIT=0
50822 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
50823 if test "$wxUSE_GTK" = 1; then
50824 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
50825 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
50828 for ac_dir in $SEARCH_LIB
50830 for ac_extension in a so sl dylib dll.a; do
50831 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
50832 ac_find_libraries=$ac_dir
50838 if test "$ac_find_libraries" != "" ; then
50840 if test "$ac_find_libraries" = "default location"; then
50843 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
50845 if test $result = 0; then
50848 ac_path_to_link=" -L$ac_find_libraries"
50852 if test "$ac_path_to_link" != " -L/usr/lib" ; then
50853 LDFLAGS="$LDFLAGS $ac_path_to_link"
50855 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
50856 { echo "$as_me:$LINENO: result: yes" >&5
50857 echo "${ECHO_T}yes" >&6; }
50859 { echo "$as_me:$LINENO: checking for webkitgtk headers" >&5
50860 echo $ECHO_N "checking for webkitgtk headers... $ECHO_C" >&6; }
50863 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
50865 if test -f "$ac_dir/webkit/webkit.h"; then
50866 ac_find_includes=$ac_dir
50871 if test "$ac_find_includes" != "" ; then
50872 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50873 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50875 if test "x$ac_find_includes" = "x/usr/include"; then
50876 ac_path_to_include=""
50878 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50880 if test $result = 0; then
50881 ac_path_to_include=""
50883 ac_path_to_include=" -I$ac_find_includes"
50887 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50889 { echo "$as_me:$LINENO: checking for libsoup headers" >&5
50890 echo $ECHO_N "checking for libsoup headers... $ECHO_C" >&6; }
50893 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
50895 if test -f "$ac_dir/libsoup/soup.h"; then
50896 ac_find_includes=$ac_dir
50901 if test "$ac_find_includes" != "" ; then
50902 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50903 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50905 if test "x$ac_find_includes" = "x/usr/include"; then
50906 ac_path_to_include=""
50908 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50910 if test $result = 0; then
50911 ac_path_to_include=""
50913 ac_path_to_include=" -I$ac_find_includes"
50917 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50919 USE_WEBVIEW_WEBKIT=1
50921 { echo "$as_me:$LINENO: result: not found" >&5
50922 echo "${ECHO_T}not found" >&6; }
50923 { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling WebKit backend" >&5
50924 echo "$as_me: WARNING: libsoup headers not found; disabling WebKit backend" >&2;}
50927 { echo "$as_me:$LINENO: result: not found" >&5
50928 echo "${ECHO_T}not found" >&6; }
50929 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling WebKit backend" >&5
50930 echo "$as_me: WARNING: WebKit headers not found; disabling WebKit backend" >&2;}
50933 { echo "$as_me:$LINENO: result: no" >&5
50934 echo "${ECHO_T}no" >&6; }
50935 { echo "$as_me:$LINENO: WARNING: WebKit libraries not found; disabling WebKit backend" >&5
50936 echo "$as_me: WARNING: WebKit libraries not found; disabling WebKit backend" >&2;}
50938 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50939 old_CPPFLAGS="$CPPFLAGS"
50940 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50941 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50942 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50943 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50944 echo $ECHO_N "(cached) $ECHO_C" >&6
50946 cat >conftest.$ac_ext <<_ACEOF
50949 cat confdefs.h >>conftest.$ac_ext
50950 cat >>conftest.$ac_ext <<_ACEOF
50951 /* end confdefs.h. */
50953 #include <Carbon/Carbon.h>
50954 #include <WebKit/WebKit.h>
50957 #include <WebKit/HIWebView.h>
50959 rm -f conftest.$ac_objext
50960 if { (ac_try="$ac_compile"
50961 case "(($ac_try" in
50962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50963 *) ac_try_echo=$ac_try;;
50965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50966 (eval "$ac_compile") 2>conftest.er1
50968 grep -v '^ *+' conftest.er1 >conftest.err
50970 cat conftest.err >&5
50971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50972 (exit $ac_status); } && {
50973 test -z "$ac_c_werror_flag" ||
50974 test ! -s conftest.err
50975 } && test -s conftest.$ac_objext; then
50976 ac_cv_header_WebKit_HIWebView_h=yes
50978 echo "$as_me: failed program was:" >&5
50979 sed 's/^/| /' conftest.$ac_ext >&5
50981 ac_cv_header_WebKit_HIWebView_h=no
50984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50986 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50987 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50988 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50990 USE_WEBVIEW_WEBKIT=1
50991 WEBKIT_LINK="-framework WebKit"
50995 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
50996 echo "$as_me: WARNING: WebKit headers not found" >&2;}
51001 CPPFLAGS="$old_CPPFLAGS"
51006 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
51007 if test "$USE_WEBVIEW_WEBKIT" = 1; then
51008 wxUSE_WEBVIEW="yes"
51009 cat >>confdefs.h <<\_ACEOF
51010 #define wxUSE_WEBVIEW_WEBKIT 1
51014 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
51015 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
51017 elif test "$wxUSE_MSW" = 1; then
51018 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
51019 wxUSE_WEBVIEW="yes"
51020 cat >>confdefs.h <<\_ACEOF
51021 #define wxUSE_WEBVIEW_IE 1
51028 if test "$wxUSE_WEBVIEW" = "yes"; then
51030 cat >>confdefs.h <<\_ACEOF
51031 #define wxUSE_WEBVIEW 1
51034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
51040 if test "$wxUSE_IMAGE" = "yes" ; then
51041 cat >>confdefs.h <<\_ACEOF
51042 #define wxUSE_IMAGE 1
51046 if test "$wxUSE_GIF" = "yes" ; then
51047 cat >>confdefs.h <<\_ACEOF
51048 #define wxUSE_GIF 1
51053 if test "$wxUSE_PCX" = "yes" ; then
51054 cat >>confdefs.h <<\_ACEOF
51055 #define wxUSE_PCX 1
51060 if test "$wxUSE_TGA" = "yes" ; then
51061 cat >>confdefs.h <<\_ACEOF
51062 #define wxUSE_TGA 1
51067 if test "$wxUSE_IFF" = "yes" ; then
51068 cat >>confdefs.h <<\_ACEOF
51069 #define wxUSE_IFF 1
51074 if test "$wxUSE_PNM" = "yes" ; then
51075 cat >>confdefs.h <<\_ACEOF
51076 #define wxUSE_PNM 1
51081 if test "$wxUSE_XPM" = "yes" ; then
51082 cat >>confdefs.h <<\_ACEOF
51083 #define wxUSE_XPM 1
51088 if test "$wxUSE_ICO_CUR" = "yes" ; then
51089 cat >>confdefs.h <<\_ACEOF
51090 #define wxUSE_ICO_CUR 1
51097 if test "$wxUSE_ABOUTDLG" = "yes"; then
51098 cat >>confdefs.h <<\_ACEOF
51099 #define wxUSE_ABOUTDLG 1
51104 if test "$wxUSE_CHOICEDLG" = "yes"; then
51105 cat >>confdefs.h <<\_ACEOF
51106 #define wxUSE_CHOICEDLG 1
51111 if test "$wxUSE_COLOURDLG" = "yes"; then
51112 cat >>confdefs.h <<\_ACEOF
51113 #define wxUSE_COLOURDLG 1
51118 if test "$wxUSE_FILEDLG" = "yes"; then
51119 cat >>confdefs.h <<\_ACEOF
51120 #define wxUSE_FILEDLG 1
51125 if test "$wxUSE_FINDREPLDLG" = "yes"; then
51126 cat >>confdefs.h <<\_ACEOF
51127 #define wxUSE_FINDREPLDLG 1
51132 if test "$wxUSE_FONTDLG" = "yes"; then
51133 cat >>confdefs.h <<\_ACEOF
51134 #define wxUSE_FONTDLG 1
51139 if test "$wxUSE_DIRDLG" = "yes"; then
51140 if test "$wxUSE_TREECTRL" != "yes"; then
51141 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
51142 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
51144 cat >>confdefs.h <<\_ACEOF
51145 #define wxUSE_DIRDLG 1
51151 if test "$wxUSE_MSGDLG" = "yes"; then
51152 cat >>confdefs.h <<\_ACEOF
51153 #define wxUSE_MSGDLG 1
51158 if test "$wxUSE_NUMBERDLG" = "yes"; then
51159 cat >>confdefs.h <<\_ACEOF
51160 #define wxUSE_NUMBERDLG 1
51165 if test "$wxUSE_PROGRESSDLG" = "yes"; then
51166 cat >>confdefs.h <<\_ACEOF
51167 #define wxUSE_PROGRESSDLG 1
51172 if test "$wxUSE_SPLASH" = "yes"; then
51173 cat >>confdefs.h <<\_ACEOF
51174 #define wxUSE_SPLASH 1
51177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
51180 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
51181 cat >>confdefs.h <<\_ACEOF
51182 #define wxUSE_STARTUP_TIPS 1
51187 if test "$wxUSE_TEXTDLG" = "yes"; then
51188 cat >>confdefs.h <<\_ACEOF
51189 #define wxUSE_TEXTDLG 1
51194 if test "$wxUSE_WIZARDDLG" = "yes"; then
51195 cat >>confdefs.h <<\_ACEOF
51196 #define wxUSE_WIZARDDLG 1
51199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
51203 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
51204 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
51205 cat >>confdefs.h <<\_ACEOF
51206 #define wxUSE_OWNER_DRAWN 1
51213 if test "$wxUSE_MSW" = 1 ; then
51215 if test "$wxUSE_DC_CACHEING" = "yes"; then
51216 cat >>confdefs.h <<\_ACEOF
51217 #define wxUSE_DC_CACHEING 1
51222 if test "$wxUSE_DIB" = "yes"; then
51223 cat >>confdefs.h <<\_ACEOF
51224 #define wxUSE_WXDIB 1
51229 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
51230 cat >>confdefs.h <<\_ACEOF
51231 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
51236 if test "$wxUSE_UXTHEME" = "yes"; then
51237 cat >>confdefs.h <<\_ACEOF
51238 #define wxUSE_UXTHEME 1
51245 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
51246 cat >>confdefs.h <<\_ACEOF
51247 #define wxUSE_AUTOID_MANAGEMENT 1
51252 if test "$USE_WIN32" = 1 ; then
51253 if test "$wxUSE_INICONF" = "yes"; then
51254 cat >>confdefs.h <<\_ACEOF
51255 #define wxUSE_INICONF 1
51260 if test "$wxUSE_REGKEY" = "yes"; then
51261 cat >>confdefs.h <<\_ACEOF
51262 #define wxUSE_REGKEY 1
51269 if test "$wxUSE_MAC" = 1; then
51270 wxUSE_GRAPHICS_CONTEXT="yes"
51273 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
51275 if test "$wxUSE_MSW" = 1; then
51276 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
51277 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
51278 if test "${wx_cv_lib_gdiplus+set}" = set; then
51279 echo $ECHO_N "(cached) $ECHO_C" >&6
51283 ac_cpp='$CXXCPP $CPPFLAGS'
51284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51288 cat >conftest.$ac_ext <<_ACEOF
51291 cat confdefs.h >>conftest.$ac_ext
51292 cat >>conftest.$ac_ext <<_ACEOF
51293 /* end confdefs.h. */
51294 #include <windows.h>
51295 #include <gdiplus.h>
51300 using namespace Gdiplus;
51306 rm -f conftest.$ac_objext
51307 if { (ac_try="$ac_compile"
51308 case "(($ac_try" in
51309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51310 *) ac_try_echo=$ac_try;;
51312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51313 (eval "$ac_compile") 2>conftest.er1
51315 grep -v '^ *+' conftest.er1 >conftest.err
51317 cat conftest.err >&5
51318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51319 (exit $ac_status); } && {
51320 test -z "$ac_cxx_werror_flag" ||
51321 test ! -s conftest.err
51322 } && test -s conftest.$ac_objext; then
51323 wx_cv_lib_gdiplus=yes
51325 echo "$as_me: failed program was:" >&5
51326 sed 's/^/| /' conftest.$ac_ext >&5
51328 wx_cv_lib_gdiplus=no
51332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51334 ac_cpp='$CPP $CPPFLAGS'
51335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51342 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
51343 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
51344 if test "$wx_cv_lib_gdiplus" = "yes"; then
51347 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
51350 { echo "$as_me:$LINENO: checking for CAIRO" >&5
51351 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
51353 if test -n "$PKG_CONFIG"; then
51354 if test -n "$CAIRO_CFLAGS"; then
51355 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
51357 if test -n "$PKG_CONFIG" && \
51358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51359 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51362 (exit $ac_status); }; then
51363 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
51371 if test -n "$PKG_CONFIG"; then
51372 if test -n "$CAIRO_LIBS"; then
51373 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
51375 if test -n "$PKG_CONFIG" && \
51376 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51377 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51380 (exit $ac_status); }; then
51381 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
51392 if test $pkg_failed = yes; then
51394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51395 _pkg_short_errors_supported=yes
51397 _pkg_short_errors_supported=no
51399 if test $_pkg_short_errors_supported = yes; then
51400 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
51402 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
51404 # Put the nasty error message in config.log where it belongs
51405 echo "$CAIRO_PKG_ERRORS" >&5
51407 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51408 echo "$as_me: WARNING: Cairo library not found" >&2;}
51410 elif test $pkg_failed = untried; then
51411 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51412 echo "$as_me: WARNING: Cairo library not found" >&2;}
51415 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
51416 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
51417 { echo "$as_me:$LINENO: result: yes" >&5
51418 echo "${ECHO_T}yes" >&6; }
51421 if test "$wx_has_graphics" = 1; then
51423 LIBS="$LIBS $CAIRO_LIBS"
51425 for ac_func in cairo_push_group
51427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51428 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51430 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51431 echo $ECHO_N "(cached) $ECHO_C" >&6
51433 cat >conftest.$ac_ext <<_ACEOF
51436 cat confdefs.h >>conftest.$ac_ext
51437 cat >>conftest.$ac_ext <<_ACEOF
51438 /* end confdefs.h. */
51439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51441 #define $ac_func innocuous_$ac_func
51443 /* System header to define __stub macros and hopefully few prototypes,
51444 which can conflict with char $ac_func (); below.
51445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51446 <limits.h> exists even on freestanding compilers. */
51449 # include <limits.h>
51451 # include <assert.h>
51456 /* Override any GCC internal prototype to avoid an error.
51457 Use char because int might match the return type of a GCC
51458 builtin and then its argument prototype would still apply. */
51463 /* The GNU C library defines this for functions which it implements
51464 to always fail with ENOSYS. Some functions are actually named
51465 something starting with __ and the normal name is an alias. */
51466 #if defined __stub_$ac_func || defined __stub___$ac_func
51473 return $ac_func ();
51478 rm -f conftest.$ac_objext conftest$ac_exeext
51479 if { (ac_try="$ac_link"
51480 case "(($ac_try" in
51481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51482 *) ac_try_echo=$ac_try;;
51484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51485 (eval "$ac_link") 2>conftest.er1
51487 grep -v '^ *+' conftest.er1 >conftest.err
51489 cat conftest.err >&5
51490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51491 (exit $ac_status); } && {
51492 test -z "$ac_c_werror_flag" ||
51493 test ! -s conftest.err
51494 } && test -s conftest$ac_exeext &&
51495 $as_test_x conftest$ac_exeext; then
51496 eval "$as_ac_var=yes"
51498 echo "$as_me: failed program was:" >&5
51499 sed 's/^/| /' conftest.$ac_ext >&5
51501 eval "$as_ac_var=no"
51504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51505 conftest$ac_exeext conftest.$ac_ext
51507 ac_res=`eval echo '${'$as_ac_var'}'`
51508 { echo "$as_me:$LINENO: result: $ac_res" >&5
51509 echo "${ECHO_T}$ac_res" >&6; }
51510 if test `eval echo '${'$as_ac_var'}'` = yes; then
51511 cat >>confdefs.h <<_ACEOF
51512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51519 if test "$ac_cv_func_cairo_push_group" = "no"; then
51521 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
51522 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
51524 cat >>confdefs.h <<\_ACEOF
51525 #define wxUSE_CAIRO 1
51529 if test "$wxUSE_GTK" != 1; then
51530 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
51531 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
51539 if test "$wx_has_graphics" = 1; then
51540 cat >>confdefs.h <<\_ACEOF
51541 #define wxUSE_GRAPHICS_CONTEXT 1
51545 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
51546 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
51553 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
51556 if test "$wxUSE_GTK" = 1; then
51557 wxUSE_GSTREAMER="no"
51559 GST_VERSION_MAJOR=0
51560 GST_VERSION_MINOR=10
51561 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51563 if test "$wxUSE_GSTREAMER8" = "no"; then
51566 { echo "$as_me:$LINENO: checking for GST" >&5
51567 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51569 if test -n "$PKG_CONFIG"; then
51570 if test -n "$GST_CFLAGS"; then
51571 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51573 if test -n "$PKG_CONFIG" && \
51574 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51575 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51578 (exit $ac_status); }; then
51579 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51587 if test -n "$PKG_CONFIG"; then
51588 if test -n "$GST_LIBS"; then
51589 pkg_cv_GST_LIBS="$GST_LIBS"
51591 if test -n "$PKG_CONFIG" && \
51592 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51593 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51596 (exit $ac_status); }; then
51597 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51608 if test $pkg_failed = yes; then
51610 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51611 _pkg_short_errors_supported=yes
51613 _pkg_short_errors_supported=no
51615 if test $_pkg_short_errors_supported = yes; then
51616 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51618 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51620 # Put the nasty error message in config.log where it belongs
51621 echo "$GST_PKG_ERRORS" >&5
51624 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51625 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51626 GST_VERSION_MINOR=8
51629 elif test $pkg_failed = untried; then
51631 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51632 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51633 GST_VERSION_MINOR=8
51637 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51638 GST_LIBS=$pkg_cv_GST_LIBS
51639 { echo "$as_me:$LINENO: result: yes" >&5
51640 echo "${ECHO_T}yes" >&6; }
51642 wxUSE_GSTREAMER="yes"
51643 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
51647 GST_VERSION_MINOR=8
51650 if test $GST_VERSION_MINOR = "8"; then
51651 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51654 { echo "$as_me:$LINENO: checking for GST" >&5
51655 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51657 if test -n "$PKG_CONFIG"; then
51658 if test -n "$GST_CFLAGS"; then
51659 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51661 if test -n "$PKG_CONFIG" && \
51662 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51663 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51666 (exit $ac_status); }; then
51667 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51675 if test -n "$PKG_CONFIG"; then
51676 if test -n "$GST_LIBS"; then
51677 pkg_cv_GST_LIBS="$GST_LIBS"
51679 if test -n "$PKG_CONFIG" && \
51680 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51681 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51684 (exit $ac_status); }; then
51685 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51696 if test $pkg_failed = yes; then
51698 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51699 _pkg_short_errors_supported=yes
51701 _pkg_short_errors_supported=no
51703 if test $_pkg_short_errors_supported = yes; then
51704 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51706 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51708 # Put the nasty error message in config.log where it belongs
51709 echo "$GST_PKG_ERRORS" >&5
51712 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51713 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51715 elif test $pkg_failed = untried; then
51717 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51718 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51721 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51722 GST_LIBS=$pkg_cv_GST_LIBS
51723 { echo "$as_me:$LINENO: result: yes" >&5
51724 echo "${ECHO_T}yes" >&6; }
51725 wxUSE_GSTREAMER="yes"
51730 if test "$wxUSE_GSTREAMER" = "yes"; then
51731 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
51732 EXTRALIBS_MEDIA="$GST_LIBS"
51734 cat >>confdefs.h <<\_ACEOF
51735 #define wxUSE_GSTREAMER 1
51743 if test $USE_MEDIA = 1; then
51744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
51745 cat >>confdefs.h <<\_ACEOF
51746 #define wxUSE_MEDIACTRL 1
51750 if test "$wxUSE_MEDIACTRL" = "yes"; then
51751 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
51752 echo "$as_me: error: GStreamer not available" >&2;}
51753 { (exit 1); exit 1; }; }
51755 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
51756 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
51762 if test "$cross_compiling" != "no"; then
51765 OSINFO=`uname -s -r -m`
51766 OSINFO="\"$OSINFO\""
51769 cat >>confdefs.h <<_ACEOF
51770 #define WXWIN_OS_DESCRIPTION $OSINFO
51775 if test "x$prefix" != "xNONE"; then
51778 wxPREFIX=$ac_default_prefix
51781 cat >>confdefs.h <<_ACEOF
51782 #define wxINSTALL_PREFIX "$wxPREFIX"
51788 STD_BASE_LIBS="base"
51790 BUILT_WX_LIBS="base"
51791 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
51793 if test "$wxUSE_SOCKETS" = "yes" ; then
51794 STD_BASE_LIBS="net $STD_BASE_LIBS"
51795 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
51797 if test "$wxUSE_XML" = "yes" ; then
51798 STD_BASE_LIBS="xml $STD_BASE_LIBS"
51799 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
51802 if test "$wxUSE_GUI" = "yes"; then
51803 STD_GUI_LIBS="adv core"
51804 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
51806 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51807 STD_GUI_LIBS="qa $STD_GUI_LIBS"
51808 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
51810 if test "$wxUSE_HTML" = "yes" ; then
51811 STD_GUI_LIBS="html $STD_GUI_LIBS"
51812 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
51814 if test "$wxUSE_MEDIACTRL" = "yes" ; then
51815 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
51817 if test "$wxUSE_OPENGL" = "yes" ; then
51818 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
51820 if test "$wxUSE_AUI" = "yes" ; then
51821 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
51823 if test "$wxUSE_PROPGRID" = "yes" ; then
51824 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
51826 if test "$wxUSE_RIBBON" = "yes" ; then
51827 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
51829 if test "$wxUSE_RICHTEXT" = "yes" ; then
51830 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
51832 if test "$wxUSE_STC" = "yes" ; then
51833 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
51835 if test "$wxUSE_WEBVIEW" = "yes" ; then
51836 STD_GUI_LIBS="webview $STD_GUI_LIBS"
51837 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
51839 if test "$wxUSE_XRC" = "yes" ; then
51840 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
51841 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
51852 if test "$wxUSE_MAC" = 1 ; then
51853 if test "$USE_DARWIN" = 1; then
51854 if test "$wxUSE_OSX_IPHONE" = 1; then
51855 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
51857 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
51861 if test "$wxUSE_OLD_COCOA" = 1 ; then
51862 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
51863 if test "$wxUSE_MEDIACTRL" = "yes"; then
51864 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
51867 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
51868 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
51871 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
51872 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
51874 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
51876 if test "$wxUSE_GUI" = "yes"; then
51879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
51880 erase event exec font image minimal render \
51881 shaped svg taborder vscroll widgets wrapsizer"
51883 if test "$wxUSE_MONOLITHIC" != "yes"; then
51884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
51886 if test "$TOOLKIT" = "MSW"; then
51887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
51888 if test "$wxUSE_UNIVERSAL" != "yes"; then
51889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
51892 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
51893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
51896 SAMPLES_SUBDIRS="console"
51897 if test "$wxUSE_SOCKETS" = "yes" ; then
51898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
51900 if test "$wxUSE_IPC" = "yes" ; then
51901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
51906 if test "x$INTELCC" = "xyes" ; then
51907 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
51908 elif test "$GCC" = yes ; then
51909 CWARNINGS="-Wall -Wundef"
51912 if test "x$INTELCXX" = "xyes" ; then
51913 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
51914 elif test "$GXX" = yes ; then
51915 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
51916 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
51917 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
51918 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
51919 echo $ECHO_N "(cached) $ECHO_C" >&6
51921 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
51924 ac_cpp='$CXXCPP $CPPFLAGS'
51925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51929 ac_save_CXXFLAGS="$CXXFLAGS"
51930 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
51931 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
51932 cat >conftest.$ac_ext <<_ACEOF
51935 cat confdefs.h >>conftest.$ac_ext
51936 cat >>conftest.$ac_ext <<_ACEOF
51937 /* end confdefs.h. */
51947 rm -f conftest.$ac_objext
51948 if { (ac_try="$ac_compile"
51949 case "(($ac_try" in
51950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51951 *) ac_try_echo=$ac_try;;
51953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51954 (eval "$ac_compile") 2>conftest.er1
51956 grep -v '^ *+' conftest.er1 >conftest.err
51958 cat conftest.err >&5
51959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51960 (exit $ac_status); } && {
51961 test -z "$ac_cxx_werror_flag" ||
51962 test ! -s conftest.err
51963 } && test -s conftest.$ac_objext; then
51964 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
51966 echo "$as_me: failed program was:" >&5
51967 sed 's/^/| /' conftest.$ac_ext >&5
51972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51974 CXXFLAGS="$ac_save_CXXFLAGS"
51976 ac_cpp='$CPP $CPPFLAGS'
51977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51983 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
51984 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
51985 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
51989 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
51990 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
51991 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
51993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51994 (exit $ac_status); }
51995 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
51996 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
51998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51999 (exit $ac_status); }
52000 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
52006 if test "$wxUSE_MAC" = 1 ; then
52007 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
52012 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
52013 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
52016 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
52017 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
52018 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
52021 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
52022 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
52023 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
52024 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
52025 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
52027 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
52030 if test "x$MWCC" = "xyes"; then
52032 CC="$CC -cwd source -I-"
52033 CXX="$CXX -cwd source -I-"
52038 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
52039 EXTRALIBS_XML="$EXPAT_LINK"
52040 EXTRALIBS_HTML="$MSPACK_LINK"
52041 EXTRALIBS_MEDIA="$GST_LIBS"
52042 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
52043 if test "$wxUSE_GUI" = "yes"; then
52044 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
52046 if test "$wxUSE_OPENGL" = "yes"; then
52047 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
52050 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
52052 WXCONFIG_LIBS="$LIBS"
52054 if test "$wxUSE_REGEX" = "builtin" ; then
52055 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
52057 if test "$wxUSE_EXPAT" = "builtin" ; then
52058 wxconfig_3rdparty="expat $wxconfig_3rdparty"
52060 if test "$wxUSE_LIBTIFF" = "builtin" ; then
52061 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
52063 if test "$wxUSE_LIBJPEG" = "builtin" ; then
52064 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
52066 if test "$wxUSE_LIBPNG" = "builtin" ; then
52067 wxconfig_3rdparty="png $wxconfig_3rdparty"
52069 if test "$wxUSE_ZLIB" = "builtin" ; then
52070 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
52073 for i in $wxconfig_3rdparty ; do
52074 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
52078 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
52081 case "$wxUNIV_THEMES" in
52083 cat >>confdefs.h <<\_ACEOF
52084 #define wxUSE_ALL_THEMES 1
52090 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
52091 cat >>confdefs.h <<_ACEOF
52092 #define wxUSE_THEME_$t 1
52108 if test $wxUSE_MONOLITHIC = "yes" ; then
52114 if test $wxUSE_PLUGINS = "yes" ; then
52120 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
52126 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
52158 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
52171 TOOLKIT_DESC="GTK+"
52172 if test "$WXGTK2" = 1; then
52173 TOOLKIT_DESC="$TOOLKIT_DESC 2"
52174 if test "$wxUSE_GTKPRINT" = "yes" ; then
52175 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
52177 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
52178 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
52180 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
52181 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
52183 if test "$wxUSE_LIBHILDON" = "yes"; then
52184 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52186 if test "$wxUSE_LIBHILDON2" = "yes"; then
52187 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52190 if test "$TOOLKIT_EXTRA" != ""; then
52191 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
52197 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
52201 TOOLKIT_DESC="base only"
52205 if test "$wxUSE_WINE" = "yes"; then
52206 BAKEFILE_FORCE_PLATFORM=win32
52209 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
52211 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
52212 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
52213 if test "${wx_cv_gcc_pch_bug+set}" = set; then
52214 echo $ECHO_N "(cached) $ECHO_C" >&6
52217 echo '#include <stdio.h>
52218 const wchar_t test_var[] = L"awidetest";' > conftest.h
52220 echo '#include "conftest.h"
52223 printf("%ls", test_var);
52227 wx_cv_gcc_pch_bug="pch not supported"
52229 if $CXX conftest.h >/dev/null 2>&1
52233 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
52235 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
52236 grep awidetest >/dev/null
52238 wx_cv_gcc_pch_bug=no
52240 wx_cv_gcc_pch_bug=yes
52245 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
52248 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
52249 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
52251 if test "$wx_cv_gcc_pch_bug" = yes; then
52262 if test "x$BAKEFILE_HOST" = "x"; then
52263 if test "x${host}" = "x" ; then
52264 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
52265 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
52266 { (exit 1); exit 1; }; }
52269 BAKEFILE_HOST="${host}"
52272 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
52274 if test -n "$ac_tool_prefix"; then
52275 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
52276 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
52277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52279 if test "${ac_cv_prog_RANLIB+set}" = set; then
52280 echo $ECHO_N "(cached) $ECHO_C" >&6
52282 if test -n "$RANLIB"; then
52283 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
52285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52286 for as_dir in $PATH
52289 test -z "$as_dir" && as_dir=.
52290 for ac_exec_ext in '' $ac_executable_extensions; do
52291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52292 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
52293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52302 RANLIB=$ac_cv_prog_RANLIB
52303 if test -n "$RANLIB"; then
52304 { echo "$as_me:$LINENO: result: $RANLIB" >&5
52305 echo "${ECHO_T}$RANLIB" >&6; }
52307 { echo "$as_me:$LINENO: result: no" >&5
52308 echo "${ECHO_T}no" >&6; }
52313 if test -z "$ac_cv_prog_RANLIB"; then
52314 ac_ct_RANLIB=$RANLIB
52315 # Extract the first word of "ranlib", so it can be a program name with args.
52316 set dummy ranlib; ac_word=$2
52317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52319 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
52320 echo $ECHO_N "(cached) $ECHO_C" >&6
52322 if test -n "$ac_ct_RANLIB"; then
52323 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
52325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52326 for as_dir in $PATH
52329 test -z "$as_dir" && as_dir=.
52330 for ac_exec_ext in '' $ac_executable_extensions; do
52331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52332 ac_cv_prog_ac_ct_RANLIB="ranlib"
52333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52342 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
52343 if test -n "$ac_ct_RANLIB"; then
52344 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
52345 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
52347 { echo "$as_me:$LINENO: result: no" >&5
52348 echo "${ECHO_T}no" >&6; }
52351 if test "x$ac_ct_RANLIB" = x; then
52354 case $cross_compiling:$ac_tool_warned in
52356 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52357 whose name does not start with the host triplet. If you think this
52358 configuration is useful to you, please write to autoconf@gnu.org." >&5
52359 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52360 whose name does not start with the host triplet. If you think this
52361 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52362 ac_tool_warned=yes ;;
52364 RANLIB=$ac_ct_RANLIB
52367 RANLIB="$ac_cv_prog_RANLIB"
52370 # Find a good install program. We prefer a C program (faster),
52371 # so one script is as good as another. But avoid the broken or
52372 # incompatible versions:
52373 # SysV /etc/install, /usr/sbin/install
52374 # SunOS /usr/etc/install
52375 # IRIX /sbin/install
52377 # AmigaOS /C/install, which installs bootblocks on floppy discs
52378 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
52379 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
52380 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
52381 # OS/2's system install, which has a completely different semantic
52382 # ./install, which can be erroneously created by make from ./install.sh.
52383 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
52384 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
52385 if test -z "$INSTALL"; then
52386 if test "${ac_cv_path_install+set}" = set; then
52387 echo $ECHO_N "(cached) $ECHO_C" >&6
52389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52390 for as_dir in $PATH
52393 test -z "$as_dir" && as_dir=.
52394 # Account for people who put trailing slashes in PATH elements.
52396 ./ | .// | /cC/* | \
52397 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
52398 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
52401 # OSF1 and SCO ODT 3.0 have their own names for install.
52402 # Don't use installbsd from OSF since it installs stuff as root
52404 for ac_prog in ginstall scoinst install; do
52405 for ac_exec_ext in '' $ac_executable_extensions; do
52406 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
52407 if test $ac_prog = install &&
52408 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52409 # AIX install. It has an incompatible calling convention.
52411 elif test $ac_prog = install &&
52412 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52413 # program-specific install script used by HP pwplus--don't use.
52416 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
52429 if test "${ac_cv_path_install+set}" = set; then
52430 INSTALL=$ac_cv_path_install
52432 # As a last resort, use the slow shell script. Don't cache a
52433 # value for INSTALL within a source directory, because that will
52434 # break other packages using the cache if that directory is
52435 # removed, or if the value is a relative name.
52436 INSTALL=$ac_install_sh
52439 { echo "$as_me:$LINENO: result: $INSTALL" >&5
52440 echo "${ECHO_T}$INSTALL" >&6; }
52442 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
52443 # It thinks the first close brace ends the variable substitution.
52444 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
52446 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
52448 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
52450 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
52451 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
52453 if test "$LN_S" = "ln -s"; then
52454 { echo "$as_me:$LINENO: result: yes" >&5
52455 echo "${ECHO_T}yes" >&6; }
52457 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
52458 echo "${ECHO_T}no, using $LN_S" >&6; }
52462 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52463 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52464 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52465 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52466 echo $ECHO_N "(cached) $ECHO_C" >&6
52468 cat >conftest.make <<\_ACEOF
52471 @echo '@@@%%%=$(MAKE)=@@@%%%'
52473 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52474 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52475 *@@@%%%=?*=@@@%%%*)
52476 eval ac_cv_prog_make_${ac_make}_set=yes;;
52478 eval ac_cv_prog_make_${ac_make}_set=no;;
52480 rm -f conftest.make
52482 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52483 { echo "$as_me:$LINENO: result: yes" >&5
52484 echo "${ECHO_T}yes" >&6; }
52487 { echo "$as_me:$LINENO: result: no" >&5
52488 echo "${ECHO_T}no" >&6; }
52489 SET_MAKE="MAKE=${MAKE-make}"
52494 if test "x$SUNCXX" = "xyes"; then
52496 AROPTIONS="-xar -o"
52498 elif test "x$SGICC" = "xyes"; then
52503 if test -n "$ac_tool_prefix"; then
52504 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
52505 set dummy ${ac_tool_prefix}ar; ac_word=$2
52506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52508 if test "${ac_cv_prog_AR+set}" = set; then
52509 echo $ECHO_N "(cached) $ECHO_C" >&6
52511 if test -n "$AR"; then
52512 ac_cv_prog_AR="$AR" # Let the user override the test.
52514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52515 for as_dir in $PATH
52518 test -z "$as_dir" && as_dir=.
52519 for ac_exec_ext in '' $ac_executable_extensions; do
52520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52521 ac_cv_prog_AR="${ac_tool_prefix}ar"
52522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52532 if test -n "$AR"; then
52533 { echo "$as_me:$LINENO: result: $AR" >&5
52534 echo "${ECHO_T}$AR" >&6; }
52536 { echo "$as_me:$LINENO: result: no" >&5
52537 echo "${ECHO_T}no" >&6; }
52542 if test -z "$ac_cv_prog_AR"; then
52544 # Extract the first word of "ar", so it can be a program name with args.
52545 set dummy ar; ac_word=$2
52546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52548 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
52549 echo $ECHO_N "(cached) $ECHO_C" >&6
52551 if test -n "$ac_ct_AR"; then
52552 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
52554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52555 for as_dir in $PATH
52558 test -z "$as_dir" && as_dir=.
52559 for ac_exec_ext in '' $ac_executable_extensions; do
52560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52561 ac_cv_prog_ac_ct_AR="ar"
52562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52571 ac_ct_AR=$ac_cv_prog_ac_ct_AR
52572 if test -n "$ac_ct_AR"; then
52573 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
52574 echo "${ECHO_T}$ac_ct_AR" >&6; }
52576 { echo "$as_me:$LINENO: result: no" >&5
52577 echo "${ECHO_T}no" >&6; }
52580 if test "x$ac_ct_AR" = x; then
52583 case $cross_compiling:$ac_tool_warned in
52585 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52586 whose name does not start with the host triplet. If you think this
52587 configuration is useful to you, please write to autoconf@gnu.org." >&5
52588 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52589 whose name does not start with the host triplet. If you think this
52590 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52591 ac_tool_warned=yes ;;
52596 AR="$ac_cv_prog_AR"
52603 if test -n "$ac_tool_prefix"; then
52604 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
52605 set dummy ${ac_tool_prefix}strip; ac_word=$2
52606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52608 if test "${ac_cv_prog_STRIP+set}" = set; then
52609 echo $ECHO_N "(cached) $ECHO_C" >&6
52611 if test -n "$STRIP"; then
52612 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
52614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52615 for as_dir in $PATH
52618 test -z "$as_dir" && as_dir=.
52619 for ac_exec_ext in '' $ac_executable_extensions; do
52620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52621 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
52622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52631 STRIP=$ac_cv_prog_STRIP
52632 if test -n "$STRIP"; then
52633 { echo "$as_me:$LINENO: result: $STRIP" >&5
52634 echo "${ECHO_T}$STRIP" >&6; }
52636 { echo "$as_me:$LINENO: result: no" >&5
52637 echo "${ECHO_T}no" >&6; }
52642 if test -z "$ac_cv_prog_STRIP"; then
52644 # Extract the first word of "strip", so it can be a program name with args.
52645 set dummy strip; ac_word=$2
52646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52648 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
52649 echo $ECHO_N "(cached) $ECHO_C" >&6
52651 if test -n "$ac_ct_STRIP"; then
52652 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
52654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52655 for as_dir in $PATH
52658 test -z "$as_dir" && as_dir=.
52659 for ac_exec_ext in '' $ac_executable_extensions; do
52660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52661 ac_cv_prog_ac_ct_STRIP="strip"
52662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52671 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
52672 if test -n "$ac_ct_STRIP"; then
52673 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
52674 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
52676 { echo "$as_me:$LINENO: result: no" >&5
52677 echo "${ECHO_T}no" >&6; }
52680 if test "x$ac_ct_STRIP" = x; then
52683 case $cross_compiling:$ac_tool_warned in
52685 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52686 whose name does not start with the host triplet. If you think this
52687 configuration is useful to you, please write to autoconf@gnu.org." >&5
52688 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52689 whose name does not start with the host triplet. If you think this
52690 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52691 ac_tool_warned=yes ;;
52696 STRIP="$ac_cv_prog_STRIP"
52699 if test -n "$ac_tool_prefix"; then
52700 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
52701 set dummy ${ac_tool_prefix}nm; ac_word=$2
52702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52704 if test "${ac_cv_prog_NM+set}" = set; then
52705 echo $ECHO_N "(cached) $ECHO_C" >&6
52707 if test -n "$NM"; then
52708 ac_cv_prog_NM="$NM" # Let the user override the test.
52710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52711 for as_dir in $PATH
52714 test -z "$as_dir" && as_dir=.
52715 for ac_exec_ext in '' $ac_executable_extensions; do
52716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52717 ac_cv_prog_NM="${ac_tool_prefix}nm"
52718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52728 if test -n "$NM"; then
52729 { echo "$as_me:$LINENO: result: $NM" >&5
52730 echo "${ECHO_T}$NM" >&6; }
52732 { echo "$as_me:$LINENO: result: no" >&5
52733 echo "${ECHO_T}no" >&6; }
52738 if test -z "$ac_cv_prog_NM"; then
52740 # Extract the first word of "nm", so it can be a program name with args.
52741 set dummy nm; ac_word=$2
52742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52744 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
52745 echo $ECHO_N "(cached) $ECHO_C" >&6
52747 if test -n "$ac_ct_NM"; then
52748 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
52750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52751 for as_dir in $PATH
52754 test -z "$as_dir" && as_dir=.
52755 for ac_exec_ext in '' $ac_executable_extensions; do
52756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52757 ac_cv_prog_ac_ct_NM="nm"
52758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52767 ac_ct_NM=$ac_cv_prog_ac_ct_NM
52768 if test -n "$ac_ct_NM"; then
52769 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
52770 echo "${ECHO_T}$ac_ct_NM" >&6; }
52772 { echo "$as_me:$LINENO: result: no" >&5
52773 echo "${ECHO_T}no" >&6; }
52776 if test "x$ac_ct_NM" = x; then
52779 case $cross_compiling:$ac_tool_warned in
52781 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52782 whose name does not start with the host triplet. If you think this
52783 configuration is useful to you, please write to autoconf@gnu.org." >&5
52784 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52785 whose name does not start with the host triplet. If you think this
52786 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52787 ac_tool_warned=yes ;;
52792 NM="$ac_cv_prog_NM"
52796 INSTALL_DIR="mkdir -p"
52800 case ${BAKEFILE_HOST} in
52801 *-*-cygwin* | *-*-mingw32* )
52802 LDFLAGS_GUI="-mwindows"
52808 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
52809 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
52810 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
52811 echo $ECHO_N "(cached) $ECHO_C" >&6
52814 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
52815 egrep -s GNU > /dev/null); then
52816 bakefile_cv_prog_makeisgnu="yes"
52818 bakefile_cv_prog_makeisgnu="no"
52822 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
52823 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
52825 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
52842 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
52843 case "${BAKEFILE_HOST}" in
52850 *-pc-os2_emx | *-pc-os2-emx )
52860 powerpc-apple-macos* )
52869 case "$BAKEFILE_FORCE_PLATFORM" in
52890 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
52891 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
52892 { (exit 1); exit 1; }; }
52907 # Check whether --enable-omf was given.
52908 if test "${enable_omf+set}" = set; then
52909 enableval=$enable_omf; bk_os2_use_omf="$enableval"
52913 case "${BAKEFILE_HOST}" in
52915 if test "x$GCC" = "xyes"; then
52916 CFLAGS="$CFLAGS -fno-common"
52917 CXXFLAGS="$CXXFLAGS -fno-common"
52919 if test "x$XLCC" = "xyes"; then
52920 CFLAGS="$CFLAGS -qnocommon"
52921 CXXFLAGS="$CXXFLAGS -qnocommon"
52925 *-pc-os2_emx | *-pc-os2-emx )
52926 if test "x$bk_os2_use_omf" = "xyes" ; then
52929 LDFLAGS="-Zomf $LDFLAGS"
52930 CFLAGS="-Zomf $CFLAGS"
52931 CXXFLAGS="-Zomf $CXXFLAGS"
52939 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
52945 SO_SUFFIX_MODULE="so"
52950 DLLPREFIX_MODULE=""
52954 case "${BAKEFILE_HOST}" in
52959 SO_SUFFIX_MODULE="sl"
52963 SO_SUFFIX_MODULE="a"
52967 SO_SUFFIX_MODULE="dll"
52968 DLLIMP_SUFFIX="dll.a"
52975 SO_SUFFIX_MODULE="dll"
52976 DLLIMP_SUFFIX="dll.a"
52986 *-pc-os2_emx | *-pc-os2-emx )
52988 SO_SUFFIX_MODULE="dll"
52989 DLLIMP_SUFFIX=$OS2_LIBEXT
52993 LIBEXT=".$OS2_LIBEXT"
52998 SO_SUFFIX_MODULE="bundle"
53002 if test "x$DLLIMP_SUFFIX" = "x" ; then
53003 DLLIMP_SUFFIX="$SO_SUFFIX"
53018 if test "x$GCC" = "xyes"; then
53022 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
53023 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
53026 case "${BAKEFILE_HOST}" in
53028 if test "x$GCC" != "xyes"; then
53029 LDFLAGS="$LDFLAGS -L/usr/lib"
53031 SHARED_LD_CC="${CC} -b -o"
53032 SHARED_LD_CXX="${CXX} -b -o"
53038 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
53040 elif test "x$SUNCXX" = "xyes"; then
53041 SHARED_LD_CC="${CC} -G -o"
53042 SHARED_LD_CXX="${CXX} -G -o"
53048 if test "x$SUNCXX" = xyes ; then
53049 SHARED_LD_CC="${CC} -G -o"
53050 SHARED_LD_CXX="${CXX} -G -o"
53058 cat <<EOF >shared-ld-sh
53060 #-----------------------------------------------------------------------------
53061 #-- Name: distrib/mac/shared-ld-sh
53062 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
53063 #-- Author: Gilles Depeyrot
53064 #-- Copyright: (c) 2002 Gilles Depeyrot
53065 #-- Licence: any use permitted
53066 #-----------------------------------------------------------------------------
53071 linking_flag="-dynamiclib"
53072 ldargs="-r -keep_private_externs -nostdlib"
53074 if test "x${D}CXX" = "x"; then
53078 while test ${D}# -gt 0; do
53085 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
53086 # collect these options and values
53087 args="${D}{args} ${D}1 ${D}2"
53092 # collect these options and values
53093 ldargs="${D}{ldargs} ${D}1 ${D}2"
53098 # collect these load args
53099 ldargs="${D}{ldargs} ${D}1"
53102 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
53103 # collect these options
53104 args="${D}{args} ${D}1"
53107 -dynamiclib|-bundle)
53108 linking_flag="${D}1"
53112 echo "shared-ld: unhandled option '${D}1'"
53116 *.o | *.a | *.dylib)
53117 # collect object files
53118 objects="${D}{objects} ${D}1"
53122 echo "shared-ld: unhandled argument '${D}1'"
53133 # Link one module containing all the others
53135 if test ${D}{verbose} = 1; then
53136 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
53138 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
53142 # Link the shared library from the single module created, but only if the
53143 # previous command didn't fail:
53145 if test ${D}{status} = 0; then
53146 if test ${D}{verbose} = 1; then
53147 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
53149 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
53154 # Remove intermediate module
53156 rm -f master.${D}${D}.o
53161 chmod +x shared-ld-sh
53163 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
53164 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
53167 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
53168 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
53169 if test "${bakefile_cv_gcc31+set}" = set; then
53170 echo $ECHO_N "(cached) $ECHO_C" >&6
53173 cat >conftest.$ac_ext <<_ACEOF
53176 cat confdefs.h >>conftest.$ac_ext
53177 cat >>conftest.$ac_ext <<_ACEOF
53178 /* end confdefs.h. */
53184 #if (__GNUC__ < 3) || \
53185 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
53193 rm -f conftest.$ac_objext
53194 if { (ac_try="$ac_compile"
53195 case "(($ac_try" in
53196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53197 *) ac_try_echo=$ac_try;;
53199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53200 (eval "$ac_compile") 2>conftest.er1
53202 grep -v '^ *+' conftest.er1 >conftest.err
53204 cat conftest.err >&5
53205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53206 (exit $ac_status); } && {
53207 test -z "$ac_c_werror_flag" ||
53208 test ! -s conftest.err
53209 } && test -s conftest.$ac_objext; then
53211 bakefile_cv_gcc31=yes
53214 echo "$as_me: failed program was:" >&5
53215 sed 's/^/| /' conftest.$ac_ext >&5
53218 bakefile_cv_gcc31=no
53223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53226 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
53227 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
53228 if test "$bakefile_cv_gcc31" = "no"; then
53229 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
53230 SHARED_LD_CXX="$SHARED_LD_CC"
53232 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
53233 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
53236 if test "x$GCC" == "xyes"; then
53237 PIC_FLAG="-dynamic -fPIC"
53239 if test "x$XLCC" = "xyes"; then
53240 PIC_FLAG="-dynamic -DPIC"
53245 if test "x$GCC" = "xyes"; then
53248 case "${BAKEFILE_HOST}" in
53250 LD_EXPFULL="-Wl,-bexpfull"
53254 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
53255 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
53257 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
53258 set dummy makeC++SharedLib; ac_word=$2
53259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53261 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
53262 echo $ECHO_N "(cached) $ECHO_C" >&6
53264 if test -n "$AIX_CXX_LD"; then
53265 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
53267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53268 for as_dir in $PATH
53271 test -z "$as_dir" && as_dir=.
53272 for ac_exec_ext in '' $ac_executable_extensions; do
53273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53274 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
53275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53282 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
53285 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
53286 if test -n "$AIX_CXX_LD"; then
53287 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
53288 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
53290 { echo "$as_me:$LINENO: result: no" >&5
53291 echo "${ECHO_T}no" >&6; }
53295 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
53296 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
53301 SHARED_LD_CC="${LD} -nostart -o"
53302 SHARED_LD_CXX="${LD} -nostart -o"
53306 if test "x$GCC" != "xyes"; then
53311 *-*-cygwin* | *-*-mingw32* )
53313 SHARED_LD_CC="\$(CC) -shared -o"
53314 SHARED_LD_CXX="\$(CXX) -shared -o"
53318 *-pc-os2_emx | *-pc-os2-emx )
53319 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53320 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53324 cat <<EOF >dllar.sh
53327 # dllar - a tool to build both a .dll and an .a file
53328 # from a set of object (.o) files for EMX/OS2.
53330 # Written by Andrew Zabolotny, bit@freya.etu.ru
53331 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
53333 # This script will accept a set of files on the command line.
53334 # All the public symbols from the .o files will be exported into
53335 # a .DEF file, then linker will be run (through gcc) against them to
53336 # build a shared library consisting of all given .o files. All libraries
53337 # (.a) will be first decompressed into component .o files then act as
53338 # described above. You can optionally give a description (-d "description")
53339 # which will be put into .DLL. To see the list of accepted options (as well
53340 # as command-line format) simply run this program without options. The .DLL
53341 # is built to be imported by name (there is no guarantee that new versions
53342 # of the library you build will have same ordinals for same symbols).
53344 # dllar is free software; you can redistribute it and/or modify
53345 # it under the terms of the GNU General Public License as published by
53346 # the Free Software Foundation; either version 2, or (at your option)
53347 # any later version.
53349 # dllar is distributed in the hope that it will be useful,
53350 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53351 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53352 # GNU General Public License for more details.
53354 # You should have received a copy of the GNU General Public License
53355 # along with dllar; see the file COPYING. If not, write to the Free
53356 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
53359 # To successfuly run this program you will need:
53360 # - Current drive should have LFN support (HPFS, ext2, network, etc)
53361 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
53363 # (used to build the .dll)
53365 # (used to create .def file from .o files)
53367 # (used to create .a file from .def file)
53368 # - GNU text utilites (cat, sort, uniq)
53369 # used to process emxexp output
53370 # - GNU file utilities (mv, rm)
53372 # - lxlite (optional, see flag below)
53373 # (used for general .dll cleanup)
53380 # basnam, variant of basename, which does _not_ remove the path, _iff_
53381 # second argument (suffix to remove) is given
53385 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
53388 echo ${D}1 | sed 's/'${D}2'${D}//'
53391 echo "error in basnam ${D}*"
53397 # Cleanup temporary files and output
53400 for i in ${D}inputFiles ; do
53403 rm -rf \`basnam ${D}i !\`
53410 # Kill result in case of failure as there is just to many stupid make/nmake
53411 # things out there which doesn't do this.
53412 if [ ${D}# -eq 0 ]; then
53413 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
53417 # Print usage and exit script with rc=1.
53419 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
53420 echo ' [-name-mangler-script script.sh]'
53421 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
53422 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
53423 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
53424 echo ' [*.o] [*.a]'
53425 echo '*> "output_file" should have no extension.'
53426 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
53427 echo ' The import library name is derived from this and is set to "name".a,'
53428 echo ' unless overridden by -import'
53429 echo '*> "importlib_name" should have no extension.'
53430 echo ' If it has the .o, or .a extension, it is automatically removed.'
53431 echo ' This name is used as the import library name and may be longer and'
53432 echo ' more descriptive than the DLL name which has to follow the old '
53433 echo ' 8.3 convention of FAT.'
53434 echo '*> "script.sh may be given to override the output_file name by a'
53435 echo ' different name. It is mainly useful if the regular make process'
53436 echo ' of some package does not take into account OS/2 restriction of'
53437 echo ' DLL name lengths. It takes the importlib name as input and is'
53438 echo ' supposed to procude a shorter name as output. The script should'
53439 echo ' expect to get importlib_name without extension and should produce'
53440 echo ' a (max.) 8 letter name without extension.'
53441 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
53442 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
53443 echo ' These flags will be put at the start of GCC command line.'
53444 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
53445 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
53446 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
53447 echo ' If the last character of a symbol is "*", all symbols beginning'
53448 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
53449 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
53450 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
53451 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
53452 echo ' C runtime DLLs.'
53453 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
53454 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
53455 echo ' unchanged to GCC at the end of command line.'
53456 echo '*> If you create a DLL from a library and you do not specify -o,'
53457 echo ' the basename for DLL and import library will be set to library name,'
53458 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
53459 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
53460 echo ' library will be renamed into gcc_s.a.'
53463 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
53464 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
53469 # Execute a command.
53470 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
53471 # @Uses Whatever CleanUp() uses.
53477 if [ ${D}rcCmd -ne 0 ]; then
53478 echo "command failed, exit code="${D}rcCmd
53493 CFLAGS="-s -Zcrtdll"
53495 EXPORT_BY_ORDINALS=0
53500 case ${D}curDirS in
53504 curDirS=${D}{curDirS}"/"
53507 # Parse commandline
53510 while [ ${D}1 ]; do
53513 EXPORT_BY_ORDINALS=1;
53523 -name-mangler-script)
53544 exclude_symbols=${D}{exclude_symbols}${D}1" "
53548 library_flags=${D}{library_flags}${D}1" "
53567 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53570 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
53571 if [ ${D}omfLinking -eq 1 ]; then
53572 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
53574 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
53579 if [ ${D}libsToLink -ne 0 ]; then
53580 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53582 for file in ${D}1 ; do
53583 if [ -f ${D}file ]; then
53584 inputFiles="${D}{inputFiles} ${D}file"
53588 if [ ${D}found -eq 0 ]; then
53589 echo "ERROR: No file(s) found: "${D}1
53596 done # iterate cmdline words
53599 if [ -z "${D}inputFiles" ]; then
53600 echo "dllar: no input files"
53604 # Now extract all .o files from .a files
53606 for file in ${D}inputFiles ; do
53617 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
53622 dirname=\`basnam ${D}file ${D}suffix\`"_%"
53624 if [ ${D}? -ne 0 ]; then
53625 echo "Failed to create subdirectory ./${D}dirname"
53629 # Append '!' to indicate archive
53630 newInputFiles="${D}newInputFiles ${D}{dirname}!"
53631 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
53634 for subfile in ${D}dirname/*.o* ; do
53635 if [ -f ${D}subfile ]; then
53637 if [ -s ${D}subfile ]; then
53638 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
53639 newInputFiles="${D}newInputFiles ${D}subfile"
53643 if [ ${D}found -eq 0 ]; then
53644 echo "WARNING: there are no files in archive \\'${D}file\\'"
53648 newInputFiles="${D}{newInputFiles} ${D}file"
53652 inputFiles="${D}newInputFiles"
53654 # Output filename(s).
53656 if [ -z ${D}outFile ]; then
53658 set outFile ${D}inputFiles; outFile=${D}2
53661 # If it is an archive, remove the '!' and the '_%' suffixes
53662 case ${D}outFile in
53664 outFile=\`basnam ${D}outFile _%!\`
53669 case ${D}outFile in
53671 outFile=\`basnam ${D}outFile .dll\`
53674 outFile=\`basnam ${D}outFile .DLL\`
53677 outFile=\`basnam ${D}outFile .o\`
53680 outFile=\`basnam ${D}outFile .obj\`
53683 outFile=\`basnam ${D}outFile .a\`
53686 outFile=\`basnam ${D}outFile .lib\`
53691 case ${D}outimpFile in
53693 outimpFile=\`basnam ${D}outimpFile .a\`
53696 outimpFile=\`basnam ${D}outimpFile .lib\`
53701 if [ -z ${D}outimpFile ]; then
53702 outimpFile=${D}outFile
53704 defFile="${D}{outFile}.def"
53705 arcFile="${D}{outimpFile}.a"
53706 arcFile2="${D}{outimpFile}.lib"
53708 #create ${D}dllFile as something matching 8.3 restrictions,
53709 if [ -z ${D}renameScript ] ; then
53710 dllFile="${D}outFile"
53712 dllFile=\`${D}renameScript ${D}outimpFile\`
53715 if [ ${D}do_backup -ne 0 ] ; then
53716 if [ -f ${D}arcFile ] ; then
53717 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
53719 if [ -f ${D}arcFile2 ] ; then
53720 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
53724 # Extract public symbols from all the object files.
53725 tmpdefFile=${D}{defFile}_%
53726 rm -f ${D}tmpdefFile
53727 for file in ${D}inputFiles ; do
53732 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
53737 # Create the def file.
53739 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
53740 dllFile="${D}{dllFile}.dll"
53741 if [ ! -z ${D}description ]; then
53742 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
53744 echo "EXPORTS" >> ${D}defFile
53746 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
53747 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
53749 # Checks if the export is ok or not.
53750 for word in ${D}exclude_symbols; do
53751 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
53752 mv ${D}{tmpdefFile}% ${D}tmpdefFile
53756 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53757 sed "=" < ${D}tmpdefFile | \\
53761 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
53763 ' > ${D}{tmpdefFile}%
53764 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
53766 rm -f ${D}{tmpdefFile}%
53768 cat ${D}tmpdefFile >> ${D}defFile
53769 rm -f ${D}tmpdefFile
53771 # Do linking, create implib, and apply lxlite.
53773 for file in ${D}inputFiles ; do
53778 gccCmdl="${D}gccCmdl ${D}file"
53782 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
53783 touch "${D}{outFile}.dll"
53785 doCommand "emximp -o ${D}arcFile ${D}defFile"
53786 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
53788 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53791 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
53793 doCommand "emxomf -s -l ${D}arcFile"
53803 powerpc-apple-macos* | \
53804 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
53814 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
53815 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
53816 { (exit 1); exit 1; }; }
53819 if test "x$PIC_FLAG" != "x" ; then
53820 PIC_FLAG="$PIC_FLAG -DPIC"
53823 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
53824 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
53826 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
53827 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
53842 USE_SOTWOSYMLINKS=0
53846 case "${BAKEFILE_HOST}" in
53847 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
53848 *-*-k*bsd*-gnu | *-*-mirbsd* )
53849 if test "x$SUNCXX" = "xyes"; then
53852 SONAME_FLAG="-Wl,-soname,"
53856 USE_SOTWOSYMLINKS=1
53868 USE_SOTWOSYMLINKS=1
53886 # Check whether --enable-dependency-tracking was given.
53887 if test "${enable_dependency_tracking+set}" = set; then
53888 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
53892 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
53893 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
53896 if test "x$bk_use_trackdeps" = "xno" ; then
53898 { echo "$as_me:$LINENO: result: disabled" >&5
53899 echo "${ECHO_T}disabled" >&6; }
53903 if test "x$GCC" = "xyes"; then
53905 case "${BAKEFILE_HOST}" in
53907 DEPSFLAG="-no-cpp-precomp -MMD"
53913 { echo "$as_me:$LINENO: result: gcc" >&5
53914 echo "${ECHO_T}gcc" >&6; }
53915 elif test "x$MWCC" = "xyes"; then
53918 { echo "$as_me:$LINENO: result: mwcc" >&5
53919 echo "${ECHO_T}mwcc" >&6; }
53920 elif test "x$SUNCC" = "xyes"; then
53923 { echo "$as_me:$LINENO: result: Sun cc" >&5
53924 echo "${ECHO_T}Sun cc" >&6; }
53925 elif test "x$SGICC" = "xyes"; then
53928 { echo "$as_me:$LINENO: result: SGI cc" >&5
53929 echo "${ECHO_T}SGI cc" >&6; }
53930 elif test "x$HPCC" = "xyes"; then
53933 { echo "$as_me:$LINENO: result: HP cc" >&5
53934 echo "${ECHO_T}HP cc" >&6; }
53935 elif test "x$COMPAQCC" = "xyes"; then
53938 { echo "$as_me:$LINENO: result: Compaq cc" >&5
53939 echo "${ECHO_T}Compaq cc" >&6; }
53942 { echo "$as_me:$LINENO: result: none" >&5
53943 echo "${ECHO_T}none" >&6; }
53946 if test $DEPS_TRACKING = 1 ; then
53952 # This script is part of Bakefile (http://www.bakefile.org) autoconf
53953 # script. It is used to track C/C++ files dependencies in portable way.
53955 # Permission is given to use this file in any way.
53957 DEPSMODE=${DEPSMODE}
53958 DEPSFLAG="${DEPSFLAG}"
53961 if test ${D}DEPSMODE = gcc ; then
53962 ${D}* ${D}{DEPSFLAG}
53965 # determine location of created files:
53966 while test ${D}# -gt 0; do
53980 objfilebase=\`basename ${D}objfile\`
53981 builddir=\`dirname ${D}objfile\`
53982 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
53983 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
53984 depsdir=${D}builddir/${D}DEPSDIRBASE
53985 mkdir -p ${D}depsdir
53987 # if the compiler failed, we're done:
53988 if test ${D}{status} != 0 ; then
53993 # move created file to the location we want it in:
53994 if test -f ${D}depfile ; then
53995 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53998 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
53999 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
54000 if test ! -f ${D}depfile ; then
54001 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
54002 depfile="${D}objfile.d"
54004 if test -f ${D}depfile ; then
54005 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
54011 elif test ${D}DEPSMODE = mwcc ; then
54012 ${D}* || exit ${D}?
54013 # Run mwcc again with -MM and redirect into the dep file we want
54014 # NOTE: We can't use shift here because we need ${D}* to be valid
54016 for arg in ${D}* ; do
54017 if test "${D}prevarg" = "-o"; then
54031 objfilebase=\`basename ${D}objfile\`
54032 builddir=\`dirname ${D}objfile\`
54033 depsdir=${D}builddir/${D}DEPSDIRBASE
54034 mkdir -p ${D}depsdir
54036 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
54039 elif test ${D}DEPSMODE = unixcc; then
54040 ${D}* || exit ${D}?
54041 # Run compiler again with deps flag and redirect into the dep file.
54042 # It doesn't work if the '-o FILE' option is used, but without it the
54043 # dependency file will contain the wrong name for the object. So it is
54044 # removed from the command line, and the dep file is fixed with sed.
54046 while test ${D}# -gt 0; do
54053 eval arg${D}#=\\${D}1
54054 cmd="${D}cmd \\${D}arg${D}#"
54060 objfilebase=\`basename ${D}objfile\`
54061 builddir=\`dirname ${D}objfile\`
54062 depsdir=${D}builddir/${D}DEPSDIRBASE
54063 mkdir -p ${D}depsdir
54065 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
54075 BK_DEPS="`pwd`/bk-deps"
54083 case ${BAKEFILE_HOST} in
54084 *-*-cygwin* | *-*-mingw32* )
54085 if test -n "$ac_tool_prefix"; then
54086 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
54087 set dummy ${ac_tool_prefix}windres; ac_word=$2
54088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54090 if test "${ac_cv_prog_WINDRES+set}" = set; then
54091 echo $ECHO_N "(cached) $ECHO_C" >&6
54093 if test -n "$WINDRES"; then
54094 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
54096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54097 for as_dir in $PATH
54100 test -z "$as_dir" && as_dir=.
54101 for ac_exec_ext in '' $ac_executable_extensions; do
54102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54103 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
54104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54113 WINDRES=$ac_cv_prog_WINDRES
54114 if test -n "$WINDRES"; then
54115 { echo "$as_me:$LINENO: result: $WINDRES" >&5
54116 echo "${ECHO_T}$WINDRES" >&6; }
54118 { echo "$as_me:$LINENO: result: no" >&5
54119 echo "${ECHO_T}no" >&6; }
54124 if test -z "$ac_cv_prog_WINDRES"; then
54125 ac_ct_WINDRES=$WINDRES
54126 # Extract the first word of "windres", so it can be a program name with args.
54127 set dummy windres; ac_word=$2
54128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54130 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
54131 echo $ECHO_N "(cached) $ECHO_C" >&6
54133 if test -n "$ac_ct_WINDRES"; then
54134 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
54136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54137 for as_dir in $PATH
54140 test -z "$as_dir" && as_dir=.
54141 for ac_exec_ext in '' $ac_executable_extensions; do
54142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54143 ac_cv_prog_ac_ct_WINDRES="windres"
54144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54153 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
54154 if test -n "$ac_ct_WINDRES"; then
54155 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
54156 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
54158 { echo "$as_me:$LINENO: result: no" >&5
54159 echo "${ECHO_T}no" >&6; }
54162 if test "x$ac_ct_WINDRES" = x; then
54165 case $cross_compiling:$ac_tool_warned in
54167 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54168 whose name does not start with the host triplet. If you think this
54169 configuration is useful to you, please write to autoconf@gnu.org." >&5
54170 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54171 whose name does not start with the host triplet. If you think this
54172 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54173 ac_tool_warned=yes ;;
54175 WINDRES=$ac_ct_WINDRES
54178 WINDRES="$ac_cv_prog_WINDRES"
54183 *-*-darwin* | powerpc-apple-macos* )
54184 # Extract the first word of "Rez", so it can be a program name with args.
54185 set dummy Rez; ac_word=$2
54186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54188 if test "${ac_cv_prog_REZ+set}" = set; then
54189 echo $ECHO_N "(cached) $ECHO_C" >&6
54191 if test -n "$REZ"; then
54192 ac_cv_prog_REZ="$REZ" # Let the user override the test.
54194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54195 for as_dir in $PATH
54198 test -z "$as_dir" && as_dir=.
54199 for ac_exec_ext in '' $ac_executable_extensions; do
54200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54201 ac_cv_prog_REZ="Rez"
54202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54209 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
54212 REZ=$ac_cv_prog_REZ
54213 if test -n "$REZ"; then
54214 { echo "$as_me:$LINENO: result: $REZ" >&5
54215 echo "${ECHO_T}$REZ" >&6; }
54217 { echo "$as_me:$LINENO: result: no" >&5
54218 echo "${ECHO_T}no" >&6; }
54222 # Extract the first word of "SetFile", so it can be a program name with args.
54223 set dummy SetFile; ac_word=$2
54224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54226 if test "${ac_cv_prog_SETFILE+set}" = set; then
54227 echo $ECHO_N "(cached) $ECHO_C" >&6
54229 if test -n "$SETFILE"; then
54230 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
54232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54233 for as_dir in $PATH
54236 test -z "$as_dir" && as_dir=.
54237 for ac_exec_ext in '' $ac_executable_extensions; do
54238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54239 ac_cv_prog_SETFILE="SetFile"
54240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54247 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
54250 SETFILE=$ac_cv_prog_SETFILE
54251 if test -n "$SETFILE"; then
54252 { echo "$as_me:$LINENO: result: $SETFILE" >&5
54253 echo "${ECHO_T}$SETFILE" >&6; }
54255 { echo "$as_me:$LINENO: result: no" >&5
54256 echo "${ECHO_T}no" >&6; }
54271 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
54274 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
54278 # Check whether --enable-precomp-headers was given.
54279 if test "${enable_precomp_headers+set}" = set; then
54280 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
54289 case ${BAKEFILE_HOST} in
54295 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
54296 if test "x$GCC" = "xyes"; then
54297 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
54298 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
54299 cat >conftest.$ac_ext <<_ACEOF
54302 cat confdefs.h >>conftest.$ac_ext
54303 cat >>conftest.$ac_ext <<_ACEOF
54304 /* end confdefs.h. */
54310 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
54311 There is no PCH support
54314 There is no PCH support
54316 #if (__GNUC__ == 3) && \
54317 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
54318 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
54319 ( defined(__INTEL_COMPILER) )
54320 There is no PCH support
54327 rm -f conftest.$ac_objext
54328 if { (ac_try="$ac_compile"
54329 case "(($ac_try" in
54330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54331 *) ac_try_echo=$ac_try;;
54333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54334 (eval "$ac_compile") 2>conftest.er1
54336 grep -v '^ *+' conftest.er1 >conftest.err
54338 cat conftest.err >&5
54339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54340 (exit $ac_status); } && {
54341 test -z "$ac_c_werror_flag" ||
54342 test ! -s conftest.err
54343 } && test -s conftest.$ac_objext; then
54345 { echo "$as_me:$LINENO: result: yes" >&5
54346 echo "${ECHO_T}yes" >&6; }
54350 echo "$as_me: failed program was:" >&5
54351 sed 's/^/| /' conftest.$ac_ext >&5
54354 if test "$INTELCXX8" = "yes"; then
54355 { echo "$as_me:$LINENO: result: yes" >&5
54356 echo "${ECHO_T}yes" >&6; }
54358 if test "$INTELCXX10" = "yes"; then
54359 ICC_PCH_CREATE_SWITCH="-pch-create"
54360 ICC_PCH_USE_SWITCH="-pch-use"
54362 ICC_PCH_CREATE_SWITCH="-create-pch"
54363 ICC_PCH_USE_SWITCH="-use-pch"
54366 { echo "$as_me:$LINENO: result: no" >&5
54367 echo "${ECHO_T}no" >&6; }
54372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54373 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
54377 cat <<EOF >bk-make-pch
54380 # This script is part of Bakefile (http://www.bakefile.org) autoconf
54381 # script. It is used to generated precompiled headers.
54383 # Permission is given to use this file in any way.
54390 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
54395 while test ${D}{#} -gt 0; do
54399 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
54400 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
54401 headerfile="${D}{incdir}/${D}{header}"
54404 -use-pch|-use_pch|-pch-use )
54409 if test ${D}add_to_cmdline = 1 ; then
54410 compiler="${D}{compiler} ${D}{1}"
54415 if test "x${D}{headerfile}" = "x" ; then
54416 echo "error: can't find header ${D}{header} in include paths" >&2
54418 if test -f ${D}{outfile} ; then
54419 rm -f ${D}{outfile}
54421 mkdir -p \`dirname ${D}{outfile}\`
54423 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
54424 mkdir -p ${D}{builddir}/.deps
54425 if test "x${GCC_PCH}" = "x1" ; then
54426 # can do this because gcc is >= 3.4:
54427 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
54428 elif test "x${ICC_PCH}" = "x1" ; then
54429 filename=pch_gen-${D}${D}
54430 file=${D}{filename}.c
54431 dfile=${D}{filename}.d
54432 cat > ${D}file <<EOT
54433 #include "${D}header"
54435 # using -MF icc complains about differing command lines in creation/use
54436 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
54437 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
54438 rm -f ${D}file ${D}dfile ${D}{filename}.o
54444 chmod +x bk-make-pch
54445 BK_MAKE_PCH="`pwd`/bk-make-pch"
54456 COND_BUILD_DEBUG="#"
54457 if test "x$BUILD" = "xdebug" ; then
54458 COND_BUILD_DEBUG=""
54461 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
54462 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54463 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
54466 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
54467 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54468 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
54471 COND_BUILD_DEBUG_UNICODE_0="#"
54472 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54473 COND_BUILD_DEBUG_UNICODE_0=""
54476 COND_BUILD_DEBUG_UNICODE_1="#"
54477 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54478 COND_BUILD_DEBUG_UNICODE_1=""
54481 COND_BUILD_RELEASE="#"
54482 if test "x$BUILD" = "xrelease" ; then
54483 COND_BUILD_RELEASE=""
54486 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
54487 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54488 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
54491 COND_BUILD_RELEASE_UNICODE_0="#"
54492 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54493 COND_BUILD_RELEASE_UNICODE_0=""
54496 COND_BUILD_RELEASE_UNICODE_1="#"
54497 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54498 COND_BUILD_RELEASE_UNICODE_1=""
54501 COND_BUILD_debug="#"
54502 if test "x$BUILD" = "xdebug" ; then
54503 COND_BUILD_debug=""
54506 COND_BUILD_debug_DEBUG_FLAG_default="#"
54507 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54508 COND_BUILD_debug_DEBUG_FLAG_default=""
54511 COND_BUILD_debug_DEBUG_INFO_default="#"
54512 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54513 COND_BUILD_debug_DEBUG_INFO_default=""
54516 COND_BUILD_debug_UNICODE_0="#"
54517 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54518 COND_BUILD_debug_UNICODE_0=""
54521 COND_BUILD_debug_UNICODE_1="#"
54522 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54523 COND_BUILD_debug_UNICODE_1=""
54526 COND_BUILD_release="#"
54527 if test "x$BUILD" = "xrelease" ; then
54528 COND_BUILD_release=""
54531 COND_BUILD_release_DEBUG_INFO_default="#"
54532 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54533 COND_BUILD_release_DEBUG_INFO_default=""
54536 COND_BUILD_release_UNICODE_0="#"
54537 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54538 COND_BUILD_release_UNICODE_0=""
54541 COND_BUILD_release_UNICODE_1="#"
54542 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54543 COND_BUILD_release_UNICODE_1=""
54546 COND_DEBUG_FLAG_0="#"
54547 if test "x$DEBUG_FLAG" = "x0" ; then
54548 COND_DEBUG_FLAG_0=""
54551 COND_DEBUG_FLAG_1="#"
54552 if test "x$DEBUG_FLAG" = "x1" ; then
54553 COND_DEBUG_FLAG_1=""
54556 COND_DEBUG_INFO_0="#"
54557 if test "x$DEBUG_INFO" = "x0" ; then
54558 COND_DEBUG_INFO_0=""
54561 COND_DEBUG_INFO_1="#"
54562 if test "x$DEBUG_INFO" = "x1" ; then
54563 COND_DEBUG_INFO_1=""
54566 COND_DEPS_TRACKING_0="#"
54567 if test "x$DEPS_TRACKING" = "x0" ; then
54568 COND_DEPS_TRACKING_0=""
54571 COND_DEPS_TRACKING_1="#"
54572 if test "x$DEPS_TRACKING" = "x1" ; then
54573 COND_DEPS_TRACKING_1=""
54577 if test "x$GCC_PCH" = "x1" ; then
54582 if test "x$ICC_PCH" = "x1" ; then
54586 COND_MONOLITHIC_0="#"
54587 if test "x$MONOLITHIC" = "x0" ; then
54588 COND_MONOLITHIC_0=""
54591 COND_MONOLITHIC_0_SHARED_0="#"
54592 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
54593 COND_MONOLITHIC_0_SHARED_0=""
54596 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
54597 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
54598 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
54601 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
54602 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
54603 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
54606 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
54607 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54608 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
54611 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
54612 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54613 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
54616 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
54617 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54618 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
54621 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
54622 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54623 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
54626 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
54627 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54628 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
54631 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
54632 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54633 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
54636 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
54637 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54638 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
54641 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
54642 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54643 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
54646 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
54647 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
54648 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
54651 COND_MONOLITHIC_0_SHARED_1="#"
54652 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
54653 COND_MONOLITHIC_0_SHARED_1=""
54656 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
54657 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
54658 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
54661 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
54662 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
54663 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
54666 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
54667 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54668 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
54671 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
54672 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54673 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
54676 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
54677 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54678 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
54681 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
54682 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54683 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
54686 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
54687 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
54688 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
54691 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
54692 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
54693 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
54696 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
54697 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
54698 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
54701 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
54702 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
54703 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
54706 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
54707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54708 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
54711 COND_MONOLITHIC_0_USE_AUI_1="#"
54712 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
54713 COND_MONOLITHIC_0_USE_AUI_1=""
54716 COND_MONOLITHIC_0_USE_GUI_1="#"
54717 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
54718 COND_MONOLITHIC_0_USE_GUI_1=""
54721 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
54722 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54723 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
54726 COND_MONOLITHIC_0_USE_HTML_1="#"
54727 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
54728 COND_MONOLITHIC_0_USE_HTML_1=""
54731 COND_MONOLITHIC_0_USE_MEDIA_1="#"
54732 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
54733 COND_MONOLITHIC_0_USE_MEDIA_1=""
54736 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
54737 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54738 COND_MONOLITHIC_0_USE_PROPGRID_1=""
54741 COND_MONOLITHIC_0_USE_QA_1="#"
54742 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
54743 COND_MONOLITHIC_0_USE_QA_1=""
54746 COND_MONOLITHIC_0_USE_RIBBON_1="#"
54747 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54748 COND_MONOLITHIC_0_USE_RIBBON_1=""
54751 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
54752 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54753 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
54756 COND_MONOLITHIC_0_USE_STC_1="#"
54757 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
54758 COND_MONOLITHIC_0_USE_STC_1=""
54761 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
54762 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
54763 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
54766 COND_MONOLITHIC_0_USE_XRC_1="#"
54767 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
54768 COND_MONOLITHIC_0_USE_XRC_1=""
54771 COND_MONOLITHIC_1="#"
54772 if test "x$MONOLITHIC" = "x1" ; then
54773 COND_MONOLITHIC_1=""
54776 COND_MONOLITHIC_1_SHARED_0="#"
54777 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
54778 COND_MONOLITHIC_1_SHARED_0=""
54781 COND_MONOLITHIC_1_SHARED_1="#"
54782 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
54783 COND_MONOLITHIC_1_SHARED_1=""
54786 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
54787 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
54788 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
54791 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
54792 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
54793 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
54796 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
54797 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54798 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
54801 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
54802 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54803 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
54806 COND_PLATFORM_MACOSX_1="#"
54807 if test "x$PLATFORM_MACOSX" = "x1" ; then
54808 COND_PLATFORM_MACOSX_1=""
54811 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
54812 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
54813 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
54816 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
54817 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54818 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
54821 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54822 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54823 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54826 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
54827 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54828 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
54831 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54832 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54833 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54836 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
54837 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54838 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
54841 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54842 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54843 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54846 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54847 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54848 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54851 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
54852 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
54853 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
54856 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
54857 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54858 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
54861 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
54862 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54863 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
54866 COND_PLATFORM_MACOS_1="#"
54867 if test "x$PLATFORM_MACOS" = "x1" ; then
54868 COND_PLATFORM_MACOS_1=""
54871 COND_PLATFORM_MAC_0="#"
54872 if test "x$PLATFORM_MAC" = "x0" ; then
54873 COND_PLATFORM_MAC_0=""
54876 COND_PLATFORM_MAC_1="#"
54877 if test "x$PLATFORM_MAC" = "x1" ; then
54878 COND_PLATFORM_MAC_1=""
54881 COND_PLATFORM_MSDOS_0="#"
54882 if test "x$PLATFORM_MSDOS" = "x0" ; then
54883 COND_PLATFORM_MSDOS_0=""
54886 COND_PLATFORM_MSDOS_1="#"
54887 if test "x$PLATFORM_MSDOS" = "x1" ; then
54888 COND_PLATFORM_MSDOS_1=""
54891 COND_PLATFORM_OS2_1="#"
54892 if test "x$PLATFORM_OS2" = "x1" ; then
54893 COND_PLATFORM_OS2_1=""
54896 COND_PLATFORM_UNIX_0="#"
54897 if test "x$PLATFORM_UNIX" = "x0" ; then
54898 COND_PLATFORM_UNIX_0=""
54901 COND_PLATFORM_UNIX_1="#"
54902 if test "x$PLATFORM_UNIX" = "x1" ; then
54903 COND_PLATFORM_UNIX_1=""
54906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
54907 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
54908 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
54911 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
54912 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
54913 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
54916 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
54917 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
54918 COND_PLATFORM_UNIX_1_USE_GUI_1=""
54921 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
54922 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
54923 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
54926 COND_PLATFORM_WIN32_0="#"
54927 if test "x$PLATFORM_WIN32" = "x0" ; then
54928 COND_PLATFORM_WIN32_0=""
54931 COND_PLATFORM_WIN32_1="#"
54932 if test "x$PLATFORM_WIN32" = "x1" ; then
54933 COND_PLATFORM_WIN32_1=""
54936 COND_PLATFORM_WIN32_1_SHARED_0="#"
54937 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54938 COND_PLATFORM_WIN32_1_SHARED_0=""
54942 if test "x$SHARED" = "x0" ; then
54946 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
54947 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
54948 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
54951 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
54952 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54953 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
54956 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
54957 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
54958 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
54961 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
54962 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54963 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
54966 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
54967 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54968 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
54971 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
54972 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54973 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
54976 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
54977 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54978 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
54981 COND_SHARED_0_USE_STC_1="#"
54982 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54983 COND_SHARED_0_USE_STC_1=""
54986 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
54987 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
54988 COND_SHARED_0_wxUSE_EXPAT_builtin=""
54991 COND_SHARED_0_wxUSE_REGEX_builtin="#"
54992 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
54993 COND_SHARED_0_wxUSE_REGEX_builtin=""
54996 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
54997 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
54998 COND_SHARED_0_wxUSE_ZLIB_builtin=""
55002 if test "x$SHARED" = "x1" ; then
55006 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
55007 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55008 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
55012 if test "x$TOOLKIT" = "x" ; then
55016 COND_TOOLKIT_COCOA="#"
55017 if test "x$TOOLKIT" = "xCOCOA" ; then
55018 COND_TOOLKIT_COCOA=""
55021 COND_TOOLKIT_COCOA_USE_GUI_1="#"
55022 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
55023 COND_TOOLKIT_COCOA_USE_GUI_1=""
55026 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
55027 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55028 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
55031 COND_TOOLKIT_DFB="#"
55032 if test "x$TOOLKIT" = "xDFB" ; then
55033 COND_TOOLKIT_DFB=""
55036 COND_TOOLKIT_DFB_USE_GUI_1="#"
55037 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
55038 COND_TOOLKIT_DFB_USE_GUI_1=""
55041 COND_TOOLKIT_GTK="#"
55042 if test "x$TOOLKIT" = "xGTK" ; then
55043 COND_TOOLKIT_GTK=""
55046 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
55047 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
55048 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
55051 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
55052 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
55053 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
55056 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
55057 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
55058 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
55061 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
55062 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55063 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
55066 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
55067 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
55068 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
55071 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
55072 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55073 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
55076 COND_TOOLKIT_GTK_USE_GUI_1="#"
55077 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
55078 COND_TOOLKIT_GTK_USE_GUI_1=""
55081 COND_TOOLKIT_MAC="#"
55082 if test "x$TOOLKIT" = "xMAC" ; then
55083 COND_TOOLKIT_MAC=""
55086 COND_TOOLKIT_MGL="#"
55087 if test "x$TOOLKIT" = "xMGL" ; then
55088 COND_TOOLKIT_MGL=""
55091 COND_TOOLKIT_MGL_USE_GUI_1="#"
55092 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
55093 COND_TOOLKIT_MGL_USE_GUI_1=""
55096 COND_TOOLKIT_MOTIF="#"
55097 if test "x$TOOLKIT" = "xMOTIF" ; then
55098 COND_TOOLKIT_MOTIF=""
55101 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
55102 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
55103 COND_TOOLKIT_MOTIF_USE_GUI_1=""
55106 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
55107 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55108 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
55111 COND_TOOLKIT_MSW="#"
55112 if test "x$TOOLKIT" = "xMSW" ; then
55113 COND_TOOLKIT_MSW=""
55116 COND_TOOLKIT_MSW_USE_GUI_1="#"
55117 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
55118 COND_TOOLKIT_MSW_USE_GUI_1=""
55121 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
55122 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55123 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
55126 COND_TOOLKIT_MSW_WXUNIV_0="#"
55127 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
55128 COND_TOOLKIT_MSW_WXUNIV_0=""
55131 COND_TOOLKIT_OSX_CARBON="#"
55132 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
55133 COND_TOOLKIT_OSX_CARBON=""
55136 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
55137 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
55138 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
55141 COND_TOOLKIT_OSX_COCOA="#"
55142 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
55143 COND_TOOLKIT_OSX_COCOA=""
55146 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
55147 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
55148 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
55151 COND_TOOLKIT_OSX_IPHONE="#"
55152 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
55153 COND_TOOLKIT_OSX_IPHONE=""
55156 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
55157 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
55158 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
55161 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
55162 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55163 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
55166 COND_TOOLKIT_PM="#"
55167 if test "x$TOOLKIT" = "xPM" ; then
55171 COND_TOOLKIT_PM_USE_GUI_1="#"
55172 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
55173 COND_TOOLKIT_PM_USE_GUI_1=""
55176 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
55177 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55178 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
55181 COND_TOOLKIT_WINCE="#"
55182 if test "x$TOOLKIT" = "xWINCE" ; then
55183 COND_TOOLKIT_WINCE=""
55186 COND_TOOLKIT_WINCE_USE_GUI_1="#"
55187 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
55188 COND_TOOLKIT_WINCE_USE_GUI_1=""
55191 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
55192 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55193 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
55196 COND_TOOLKIT_WINCE_WXUNIV_0="#"
55197 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
55198 COND_TOOLKIT_WINCE_WXUNIV_0=""
55201 COND_TOOLKIT_X11="#"
55202 if test "x$TOOLKIT" = "xX11" ; then
55203 COND_TOOLKIT_X11=""
55206 COND_TOOLKIT_X11_USE_GUI_1="#"
55207 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
55208 COND_TOOLKIT_X11_USE_GUI_1=""
55212 if test "x$UNICODE" = "x1" ; then
55216 COND_USE_CAIRO_1="#"
55217 if test "x$USE_CAIRO" = "x1" ; then
55218 COND_USE_CAIRO_1=""
55221 COND_USE_EXCEPTIONS_0="#"
55222 if test "x$USE_EXCEPTIONS" = "x0" ; then
55223 COND_USE_EXCEPTIONS_0=""
55226 COND_USE_EXCEPTIONS_1="#"
55227 if test "x$USE_EXCEPTIONS" = "x1" ; then
55228 COND_USE_EXCEPTIONS_1=""
55232 if test "x$USE_GUI" = "x0" ; then
55237 if test "x$USE_GUI" = "x1" ; then
55241 COND_USE_GUI_1_USE_OPENGL_1="#"
55242 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55243 COND_USE_GUI_1_USE_OPENGL_1=""
55246 COND_USE_GUI_1_WXUNIV_0="#"
55247 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55248 COND_USE_GUI_1_WXUNIV_0=""
55251 COND_USE_GUI_1_WXUNIV_1="#"
55252 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
55253 COND_USE_GUI_1_WXUNIV_1=""
55256 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
55257 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55258 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
55261 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
55262 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55263 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
55266 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
55267 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55268 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
55271 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55272 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55273 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55276 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55277 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55278 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55281 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55282 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55283 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55286 COND_USE_OPENGL_1="#"
55287 if test "x$USE_OPENGL" = "x1" ; then
55288 COND_USE_OPENGL_1=""
55292 if test "x$USE_PCH" = "x1" ; then
55296 COND_USE_PLUGINS_0="#"
55297 if test "x$USE_PLUGINS" = "x0" ; then
55298 COND_USE_PLUGINS_0=""
55301 COND_USE_RTTI_0="#"
55302 if test "x$USE_RTTI" = "x0" ; then
55306 COND_USE_RTTI_1="#"
55307 if test "x$USE_RTTI" = "x1" ; then
55311 COND_USE_SOTWOSYMLINKS_1="#"
55312 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
55313 COND_USE_SOTWOSYMLINKS_1=""
55316 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
55317 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
55318 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
55321 COND_USE_SOVERLINUX_1="#"
55322 if test "x$USE_SOVERLINUX" = "x1" ; then
55323 COND_USE_SOVERLINUX_1=""
55326 COND_USE_SOVERSION_0="#"
55327 if test "x$USE_SOVERSION" = "x0" ; then
55328 COND_USE_SOVERSION_0=""
55331 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
55332 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
55333 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
55336 COND_USE_SOVERSOLARIS_1="#"
55337 if test "x$USE_SOVERSOLARIS" = "x1" ; then
55338 COND_USE_SOVERSOLARIS_1=""
55342 if test "x$USE_STC" = "x1" ; then
55346 COND_USE_THREADS_0="#"
55347 if test "x$USE_THREADS" = "x0" ; then
55348 COND_USE_THREADS_0=""
55351 COND_USE_THREADS_1="#"
55352 if test "x$USE_THREADS" = "x1" ; then
55353 COND_USE_THREADS_1=""
55357 if test "x$USE_XRC" = "x1" ; then
55361 COND_WINDOWS_IMPLIB_1="#"
55362 if test "x$WINDOWS_IMPLIB" = "x1" ; then
55363 COND_WINDOWS_IMPLIB_1=""
55366 COND_WITH_PLUGIN_SDL_1="#"
55367 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
55368 COND_WITH_PLUGIN_SDL_1=""
55372 if test "x$WXUNIV" = "x0" ; then
55377 if test "x$WXUNIV" = "x1" ; then
55381 COND_WXUSE_EXPAT_BUILTIN="#"
55382 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55383 COND_WXUSE_EXPAT_BUILTIN=""
55386 COND_WXUSE_LIBJPEG_BUILTIN="#"
55387 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55388 COND_WXUSE_LIBJPEG_BUILTIN=""
55391 COND_WXUSE_LIBPNG_BUILTIN="#"
55392 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55393 COND_WXUSE_LIBPNG_BUILTIN=""
55396 COND_WXUSE_LIBTIFF_BUILTIN="#"
55397 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55398 COND_WXUSE_LIBTIFF_BUILTIN=""
55401 COND_WXUSE_REGEX_BUILTIN="#"
55402 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55403 COND_WXUSE_REGEX_BUILTIN=""
55406 COND_WXUSE_ZLIB_BUILTIN="#"
55407 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55408 COND_WXUSE_ZLIB_BUILTIN=""
55411 COND_wxUSE_EXPAT_builtin="#"
55412 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55413 COND_wxUSE_EXPAT_builtin=""
55416 COND_wxUSE_LIBJPEG_builtin="#"
55417 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55418 COND_wxUSE_LIBJPEG_builtin=""
55421 COND_wxUSE_LIBPNG_builtin="#"
55422 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55423 COND_wxUSE_LIBPNG_builtin=""
55426 COND_wxUSE_LIBTIFF_builtin="#"
55427 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55428 COND_wxUSE_LIBTIFF_builtin=""
55431 COND_wxUSE_REGEX_builtin="#"
55432 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55433 COND_wxUSE_REGEX_builtin=""
55436 COND_wxUSE_ZLIB_builtin="#"
55437 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55438 COND_wxUSE_ZLIB_builtin=""
55443 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
55444 { { 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
55445 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;}
55446 { (exit 1); exit 1; }; }
55449 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
55450 { { 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
55451 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;}
55452 { (exit 1); exit 1; }; }
55459 ?:* ) # Drive letter, considered as absolute.
55462 INSTALL=`pwd`/${INSTALL} ;;
55465 if test "$wxUSE_GUI" = "yes"; then
55467 if test "$wxUSE_MSW" = 1 ; then
55468 if test "x$WINDRES" = "x"; then
55469 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
55470 echo "$as_me: error: Required windres program not found" >&2;}
55471 { (exit 1); exit 1; }; }
55477 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
55478 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
55479 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
55481 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
55483 # Extract the first word of "DeRez", so it can be a program name with args.
55484 set dummy DeRez; ac_word=$2
55485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55487 if test "${ac_cv_prog_DEREZ+set}" = set; then
55488 echo $ECHO_N "(cached) $ECHO_C" >&6
55490 if test -n "$DEREZ"; then
55491 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
55493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55494 for as_dir in $PATH
55497 test -z "$as_dir" && as_dir=.
55498 for ac_exec_ext in '' $ac_executable_extensions; do
55499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55500 ac_cv_prog_DEREZ="DeRez"
55501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55508 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
55511 DEREZ=$ac_cv_prog_DEREZ
55512 if test -n "$DEREZ"; then
55513 { echo "$as_me:$LINENO: result: $DEREZ" >&5
55514 echo "${ECHO_T}$DEREZ" >&6; }
55516 { echo "$as_me:$LINENO: result: no" >&5
55517 echo "${ECHO_T}no" >&6; }
55522 MACSETFILE="\$(SETFILE)"
55524 if test "$wxUSE_OSX_CARBON" = 1; then
55525 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
55527 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
55529 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
55530 RESCOMP="cat /dev/null \| $REZ"
55531 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
55537 if test "$wxUSE_PM" = 1; then
55539 WXCONFIG_RESFLAGS="-ep"
55541 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
55543 POSTLINK_COMMAND="@true"
55550 if test $GCC_PCH = 1
55552 if test "$wx_cv_gcc_pch_bug" = yes; then
55553 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
55554 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
55555 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
55556 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
55557 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
55558 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
55561 # Our WX_PRECOMP flag does not make sense for any language except C++ because
55562 # the headers that benefit from precompilation are mostly C++ headers.
55563 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55564 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
55565 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55569 if test "$wxUSE_MAC" = 1 ; then
55570 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
55571 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
55577 if test "$wxUSE_SHARED" = "yes"; then
55579 *-pc-os2_emx | *-pc-os2-emx )
55580 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55581 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55582 cp -p ${srcdir}/src/os2/dllnames.sh .
55583 cp -p ${srcdir}/src/os2/dllar.sh .
55587 if test "$wxUSE_OMF" = "yes"; then
55589 *-pc-os2_emx | *-pc-os2-emx )
55590 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
55591 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55592 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55597 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
55602 if test "$GCC" = yes; then
55603 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
55604 LIBS=`echo $LIBS | sed 's/-mt//g'`
55605 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
55610 if test "x$SUNCXX" = xyes; then
55611 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
55612 LIBS=`echo $LIBS | sed 's/-pthread//g'`
55613 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
55618 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
55619 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
55620 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
55621 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
55623 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
55684 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
55685 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
55686 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
55687 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
55688 echo $ECHO_N "(cached) $ECHO_C" >&6
55690 cat >conftest.make <<\_ACEOF
55693 @echo '@@@%%%=$(MAKE)=@@@%%%'
55695 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
55696 case `${MAKE-make} -f conftest.make 2>/dev/null` in
55697 *@@@%%%=?*=@@@%%%*)
55698 eval ac_cv_prog_make_${ac_make}_set=yes;;
55700 eval ac_cv_prog_make_${ac_make}_set=no;;
55702 rm -f conftest.make
55704 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
55705 { echo "$as_me:$LINENO: result: yes" >&5
55706 echo "${ECHO_T}yes" >&6; }
55709 { echo "$as_me:$LINENO: result: no" >&5
55710 echo "${ECHO_T}no" >&6; }
55711 SET_MAKE="MAKE=${MAKE-make}"
55716 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
55719 if test "$USE_WIN32" = 1; then
55720 ac_config_commands="$ac_config_commands rcdefs.h"
55724 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
55727 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
55730 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
55733 if test "$wx_cv_version_script" = "yes"; then
55734 ac_config_files="$ac_config_files version-script"
55737 ac_config_files="$ac_config_files Makefile"
55740 ac_config_commands="$ac_config_commands wx-config"
55744 if test "$wxWITH_SUBDIRS" != "no"; then
55745 if test "$wxUSE_GUI" = "yes"; then
55746 SUBDIRS="samples demos utils"
55748 SUBDIRS="samples utils"
55753 # Check whether --with-cppunit-prefix was given.
55754 if test "${with_cppunit_prefix+set}" = set; then
55755 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
55757 cppunit_config_prefix=""
55761 # Check whether --with-cppunit-exec-prefix was given.
55762 if test "${with_cppunit_exec_prefix+set}" = set; then
55763 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
55765 cppunit_config_exec_prefix=""
55769 if test x$cppunit_config_exec_prefix != x ; then
55770 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
55771 if test x${CPPUNIT_CONFIG+set} != xset ; then
55772 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
55775 if test x$cppunit_config_prefix != x ; then
55776 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
55777 if test x${CPPUNIT_CONFIG+set} != xset ; then
55778 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
55782 # Extract the first word of "cppunit-config", so it can be a program name with args.
55783 set dummy cppunit-config; ac_word=$2
55784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55786 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
55787 echo $ECHO_N "(cached) $ECHO_C" >&6
55789 case $CPPUNIT_CONFIG in
55791 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
55794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55795 for as_dir in $PATH
55798 test -z "$as_dir" && as_dir=.
55799 for ac_exec_ext in '' $ac_executable_extensions; do
55800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55801 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
55802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55809 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
55813 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
55814 if test -n "$CPPUNIT_CONFIG"; then
55815 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
55816 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
55818 { echo "$as_me:$LINENO: result: no" >&5
55819 echo "${ECHO_T}no" >&6; }
55823 cppunit_version_min=1.8.0
55825 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
55826 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
55828 if test "$CPPUNIT_CONFIG" = "no" ; then
55829 { echo "$as_me:$LINENO: result: no" >&5
55830 echo "${ECHO_T}no" >&6; }
55833 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
55834 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
55835 cppunit_version=`$CPPUNIT_CONFIG --version`
55837 cppunit_major_version=`echo $cppunit_version | \
55838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55839 cppunit_minor_version=`echo $cppunit_version | \
55840 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55841 cppunit_micro_version=`echo $cppunit_version | \
55842 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55844 cppunit_major_min=`echo $cppunit_version_min | \
55845 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55846 cppunit_minor_min=`echo $cppunit_version_min | \
55847 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55848 cppunit_micro_min=`echo $cppunit_version_min | \
55849 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55851 cppunit_version_proper=`expr \
55852 $cppunit_major_version \> $cppunit_major_min \| \
55853 $cppunit_major_version \= $cppunit_major_min \& \
55854 $cppunit_minor_version \> $cppunit_minor_min \| \
55855 $cppunit_major_version \= $cppunit_major_min \& \
55856 $cppunit_minor_version \= $cppunit_minor_min \& \
55857 $cppunit_micro_version \>= $cppunit_micro_min `
55859 if test "$cppunit_version_proper" = "1" ; then
55860 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
55861 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
55863 { echo "$as_me:$LINENO: result: no" >&5
55864 echo "${ECHO_T}no" >&6; }
55869 if test "x$no_cppunit" = x ; then
55870 SUBDIRS="$SUBDIRS tests"
55881 for subdir in $SUBDIRS; do
55882 if test -d ${srcdir}/${subdir} ; then
55883 if test "$wxUSE_GUI" = "yes"; then
55884 if test ${subdir} = "samples"; then
55885 makefiles="samples/Makefile.in $makefiles"
55886 for sample in $SAMPLES_SUBDIRS; do
55887 if test -d $srcdir/samples/$sample; then
55888 makefiles="samples/$sample/Makefile.in $makefiles"
55892 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
55893 eval "disabled=\$$disabled_var"
55894 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
55895 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
55898 if test ${subdir} = "samples"; then
55899 makefiles="samples/Makefile.in $makefiles"
55900 for sample in `echo $SAMPLES_SUBDIRS`; do
55901 if test -d $srcdir/samples/$sample; then
55902 makefiles="samples/$sample/Makefile.in $makefiles"
55905 elif test ${subdir} = "utils"; then
55907 for util in ifacecheck ; do
55908 if test -d $srcdir/utils/$util ; then
55909 makefiles="utils/$util/src/Makefile.in \
55914 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
55918 for mkin in $makefiles ; do
55919 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
55920 ac_config_files="$ac_config_files $mk"
55926 cat >confcache <<\_ACEOF
55927 # This file is a shell script that caches the results of configure
55928 # tests run on this system so they can be shared between configure
55929 # scripts and configure runs, see configure's option --config-cache.
55930 # It is not useful on other systems. If it contains results you don't
55931 # want to keep, you may remove or edit it.
55933 # config.status only pays attention to the cache file if you give it
55934 # the --recheck option to rerun configure.
55936 # `ac_cv_env_foo' variables (set or unset) will be overridden when
55937 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55938 # following values.
55942 # The following way of writing the cache mishandles newlines in values,
55943 # but we know of no workaround that is simple, portable, and efficient.
55944 # So, we kill variables containing newlines.
55945 # Ultrix sh set writes to stderr and can't be redirected directly,
55946 # and sets the high bit in the cache file unless we assign to the vars.
55948 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55949 eval ac_val=\$$ac_var
55953 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55954 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55957 _ | IFS | as_nl) ;; #(
55958 *) $as_unset $ac_var ;;
55964 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55965 *${as_nl}ac_space=\ *)
55966 # `set' does not quote correctly, so add quotes (double-quote
55967 # substitution turns \\\\ into \\, and sed turns \\ into \).
55970 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55973 # `set' quotes correctly as required by POSIX, so do not add quotes.
55974 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55983 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55985 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55987 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
55988 if test -w "$cache_file"; then
55989 test "x$cache_file" != "x/dev/null" &&
55990 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
55991 echo "$as_me: updating cache $cache_file" >&6;}
55992 cat confcache >$cache_file
55994 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
55995 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
56000 test "x$prefix" = xNONE && prefix=$ac_default_prefix
56001 # Let make expand exec_prefix.
56002 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
56004 DEFS=-DHAVE_CONFIG_H
56008 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
56009 # 1. Remove the extension, and $U if already installed.
56010 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
56011 ac_i=`echo "$ac_i" | sed "$ac_script"`
56012 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
56013 # will be set to the directory where LIBOBJS objects are built.
56014 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
56015 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
56017 LIBOBJS=$ac_libobjs
56019 LTLIBOBJS=$ac_ltlibobjs
56023 : ${CONFIG_STATUS=./config.status}
56024 ac_clean_files_save=$ac_clean_files
56025 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
56026 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
56027 echo "$as_me: creating $CONFIG_STATUS" >&6;}
56028 cat >$CONFIG_STATUS <<_ACEOF
56030 # Generated by $as_me.
56031 # Run this file to recreate the current configuration.
56032 # Compiler output produced by configure, useful for debugging
56033 # configure, is in config.log if it exists.
56036 ac_cs_recheck=false
56038 SHELL=\${CONFIG_SHELL-$SHELL}
56041 cat >>$CONFIG_STATUS <<\_ACEOF
56042 ## --------------------- ##
56043 ## M4sh Initialization. ##
56044 ## --------------------- ##
56046 # Be more Bourne compatible
56047 DUALCASE=1; export DUALCASE # for MKS sh
56048 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
56051 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
56052 # is contrary to our usage. Disable this feature.
56053 alias -g '${1+"$@"}'='"$@"'
56054 setopt NO_GLOB_SUBST
56056 case `(set -o) 2>/dev/null` in
56057 *posix*) set -o posix ;;
56066 # Avoid depending upon Character Ranges.
56067 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
56068 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
56069 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
56070 as_cr_digits='0123456789'
56071 as_cr_alnum=$as_cr_Letters$as_cr_digits
56073 # The user is always right.
56074 if test "${PATH_SEPARATOR+set}" != set; then
56075 echo "#! /bin/sh" >conf$$.sh
56076 echo "exit 0" >>conf$$.sh
56078 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56086 # Support unset when possible.
56087 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
56095 # We need space, tab and new line, in precisely that order. Quoting is
56096 # there to prevent editors from complaining about space-tab.
56097 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
56098 # splitting by setting IFS to empty value.)
56103 # Find who we are. Look in the path if we contain no directory separator.
56105 *[\\/]* ) as_myself=$0 ;;
56106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
56107 for as_dir in $PATH
56110 test -z "$as_dir" && as_dir=.
56111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
56117 # We did not find ourselves, most probably we were run as `sh COMMAND'
56118 # in which case we are not to be found in the path.
56119 if test "x$as_myself" = x; then
56122 if test ! -f "$as_myself"; then
56123 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
56124 { (exit 1); exit 1; }
56127 # Work around bugs in pre-3.0 UWIN ksh.
56128 for as_var in ENV MAIL MAILPATH
56129 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56137 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
56138 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
56139 LC_TELEPHONE LC_TIME
56141 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
56142 eval $as_var=C; export $as_var
56144 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56148 # Required to use basename.
56149 if expr a : '\(a\)' >/dev/null 2>&1 &&
56150 test "X`expr 00001 : '.*\(...\)'`" = X001; then
56156 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
56157 as_basename=basename
56163 # Name of the executable.
56164 as_me=`$as_basename -- "$0" ||
56165 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
56166 X"$0" : 'X\(//\)$' \| \
56167 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56169 sed '/^.*\/\([^/][^/]*\)\/*$/{
56188 as_lineno_1=$LINENO
56189 as_lineno_2=$LINENO
56190 test "x$as_lineno_1" != "x$as_lineno_2" &&
56191 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
56193 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
56194 # uniformly replaced by the line number. The first 'sed' inserts a
56195 # line-number line after each line using $LINENO; the second 'sed'
56196 # does the real work. The second script uses 'N' to pair each
56197 # line-number line with the line containing $LINENO, and appends
56198 # trailing '-' during substitution so that $LINENO is not a special
56199 # case at line end.
56200 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
56201 # scripts with optimization help from Paolo Bonzini. Blame Lee
56202 # E. McMahon (1931-1989) for sed's syntax. :-)
56214 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
56217 ' >$as_me.lineno &&
56218 chmod +x "$as_me.lineno" ||
56219 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
56220 { (exit 1); exit 1; }; }
56222 # Don't try to exec as it changes $[0], causing all sort of problems
56223 # (the dirname of $[0] is not the place where we might find the
56224 # original and so on. Autoconf is especially sensitive to this).
56225 . "./$as_me.lineno"
56226 # Exit status is that of the last command.
56231 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
56237 ECHO_C= ECHO_N= ECHO_T=
56238 case `echo -n x` in
56240 case `echo 'x\c'` in
56241 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
56248 if expr a : '\(a\)' >/dev/null 2>&1 &&
56249 test "X`expr 00001 : '.*\(...\)'`" = X001; then
56255 rm -f conf$$ conf$$.exe conf$$.file
56256 if test -d conf$$.dir; then
56257 rm -f conf$$.dir/conf$$.file
56263 if ln -s conf$$.file conf$$ 2>/dev/null; then
56265 # ... but there are two gotchas:
56266 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56267 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56268 # In both cases, we have to default to `cp -p'.
56269 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
56271 elif ln conf$$.file conf$$ 2>/dev/null; then
56276 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
56277 rmdir conf$$.dir 2>/dev/null
56279 if mkdir -p . 2>/dev/null; then
56282 test -d ./-p && rmdir ./-p
56286 if test -x / >/dev/null 2>&1; then
56287 as_test_x='test -x'
56289 if ls -dL / >/dev/null 2>&1; then
56296 if test -d "$1"; then
56302 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56303 ???[sx]*):;;*)false;;esac;fi
56307 as_executable_p=$as_test_x
56309 # Sed expression to map a string onto a valid CPP name.
56310 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56312 # Sed expression to map a string onto a valid variable name.
56313 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56318 # Save the log message, to keep $[0] and so on meaningful, and to
56319 # report actual input values of CONFIG_FILES etc. instead of their
56320 # values after options handling.
56322 This file was extended by wxWidgets $as_me 2.9.3, which was
56323 generated by GNU Autoconf 2.61. Invocation command line was
56325 CONFIG_FILES = $CONFIG_FILES
56326 CONFIG_HEADERS = $CONFIG_HEADERS
56327 CONFIG_LINKS = $CONFIG_LINKS
56328 CONFIG_COMMANDS = $CONFIG_COMMANDS
56331 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56336 cat >>$CONFIG_STATUS <<_ACEOF
56337 # Files that config.status was made for.
56338 config_files="$ac_config_files"
56339 config_headers="$ac_config_headers"
56340 config_commands="$ac_config_commands"
56344 cat >>$CONFIG_STATUS <<\_ACEOF
56346 \`$as_me' instantiates files from templates according to the
56347 current configuration.
56349 Usage: $0 [OPTIONS] [FILE]...
56351 -h, --help print this help, then exit
56352 -V, --version print version number and configuration settings, then exit
56353 -q, --quiet do not print progress messages
56354 -d, --debug don't remove temporary files
56355 --recheck update $as_me by reconfiguring in the same conditions
56356 --file=FILE[:TEMPLATE]
56357 instantiate the configuration file FILE
56358 --header=FILE[:TEMPLATE]
56359 instantiate the configuration header FILE
56361 Configuration files:
56364 Configuration headers:
56367 Configuration commands:
56370 Report bugs to <bug-autoconf@gnu.org>."
56373 cat >>$CONFIG_STATUS <<_ACEOF
56375 wxWidgets config.status 2.9.3
56376 configured by $0, generated by GNU Autoconf 2.61,
56377 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
56379 Copyright (C) 2006 Free Software Foundation, Inc.
56380 This config.status script is free software; the Free Software Foundation
56381 gives unlimited permission to copy, distribute and modify it."
56388 cat >>$CONFIG_STATUS <<\_ACEOF
56389 # If no file are specified by the user, then we need to provide default
56390 # value. By we need to know if files were specified by the user.
56396 ac_option=`expr "X$1" : 'X\([^=]*\)='`
56397 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
56408 # Handling of the options.
56409 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56411 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56412 echo "$ac_cs_version"; exit ;;
56413 --debug | --debu | --deb | --de | --d | -d )
56415 --file | --fil | --fi | --f )
56417 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
56418 ac_need_defaults=false;;
56419 --header | --heade | --head | --hea )
56421 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
56422 ac_need_defaults=false;;
56424 # Conflict between --help and --header
56425 { echo "$as_me: error: ambiguous option: $1
56426 Try \`$0 --help' for more information." >&2
56427 { (exit 1); exit 1; }; };;
56428 --help | --hel | -h )
56429 echo "$ac_cs_usage"; exit ;;
56430 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56431 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56434 # This is an error.
56435 -*) { echo "$as_me: error: unrecognized option: $1
56436 Try \`$0 --help' for more information." >&2
56437 { (exit 1); exit 1; }; } ;;
56439 *) ac_config_targets="$ac_config_targets $1"
56440 ac_need_defaults=false ;;
56446 ac_configure_extra_args=
56448 if $ac_cs_silent; then
56450 ac_configure_extra_args="$ac_configure_extra_args --silent"
56454 cat >>$CONFIG_STATUS <<_ACEOF
56455 if \$ac_cs_recheck; then
56456 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56457 CONFIG_SHELL=$SHELL
56458 export CONFIG_SHELL
56459 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56463 cat >>$CONFIG_STATUS <<\_ACEOF
56467 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56468 ## Running $as_me. ##
56474 cat >>$CONFIG_STATUS <<_ACEOF
56480 infile="$srcdir/include/wx/msw/genrcdefs.h"
56481 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
56484 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56485 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56486 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56492 cat >>$CONFIG_STATUS <<\_ACEOF
56494 # Handling of arguments.
56495 for ac_config_target in $ac_config_targets
56497 case $ac_config_target in
56498 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
56499 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
56500 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
56501 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
56502 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
56503 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
56504 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
56505 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
56506 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
56508 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56509 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56510 { (exit 1); exit 1; }; };;
56515 # If the user did not use the arguments to specify the items to instantiate,
56516 # then the envvar interface is used. Set only those that are not.
56517 # We use the long form for the default assignment because of an extremely
56518 # bizarre bug on SunOS 4.1.3.
56519 if $ac_need_defaults; then
56520 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
56521 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
56522 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
56525 # Have a temporary directory for convenience. Make it in the build tree
56526 # simply because there is no reason against having it here, and in addition,
56527 # creating and moving files from /tmp can sometimes cause problems.
56528 # Hook for its removal unless debugging.
56529 # Note that there is a small window in which the directory will not be cleaned:
56530 # after its creation but before its name has been assigned to `$tmp'.
56534 trap 'exit_status=$?
56535 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56537 trap '{ (exit 1); exit 1; }' 1 2 13 15
56539 # Create a (secure) tmp directory for tmp files.
56542 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56543 test -n "$tmp" && test -d "$tmp"
56546 tmp=./conf$$-$RANDOM
56547 (umask 077 && mkdir "$tmp")
56550 echo "$me: cannot create a temporary directory in ." >&2
56551 { (exit 1); exit 1; }
56555 # Set up the sed scripts for CONFIG_FILES section.
56558 # No need to generate the scripts if there are no CONFIG_FILES.
56559 # This happens for instance when ./config.status config.h
56560 if test -n "$CONFIG_FILES"; then
56567 for ac_last_try in false false false false false :; do
56568 cat >conf$$subs.sed <<_ACEOF
56569 SHELL!$SHELL$ac_delim
56570 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56571 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56572 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56573 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56574 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56575 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56576 exec_prefix!$exec_prefix$ac_delim
56577 prefix!$prefix$ac_delim
56578 program_transform_name!$program_transform_name$ac_delim
56579 bindir!$bindir$ac_delim
56580 sbindir!$sbindir$ac_delim
56581 libexecdir!$libexecdir$ac_delim
56582 datarootdir!$datarootdir$ac_delim
56583 datadir!$datadir$ac_delim
56584 sysconfdir!$sysconfdir$ac_delim
56585 sharedstatedir!$sharedstatedir$ac_delim
56586 localstatedir!$localstatedir$ac_delim
56587 includedir!$includedir$ac_delim
56588 oldincludedir!$oldincludedir$ac_delim
56589 docdir!$docdir$ac_delim
56590 infodir!$infodir$ac_delim
56591 htmldir!$htmldir$ac_delim
56592 dvidir!$dvidir$ac_delim
56593 pdfdir!$pdfdir$ac_delim
56594 psdir!$psdir$ac_delim
56595 libdir!$libdir$ac_delim
56596 localedir!$localedir$ac_delim
56597 mandir!$mandir$ac_delim
56598 DEFS!$DEFS$ac_delim
56599 ECHO_C!$ECHO_C$ac_delim
56600 ECHO_N!$ECHO_N$ac_delim
56601 ECHO_T!$ECHO_T$ac_delim
56602 LIBS!$LIBS$ac_delim
56603 build_alias!$build_alias$ac_delim
56604 host_alias!$host_alias$ac_delim
56605 target_alias!$target_alias$ac_delim
56606 build!$build$ac_delim
56607 build_cpu!$build_cpu$ac_delim
56608 build_vendor!$build_vendor$ac_delim
56609 build_os!$build_os$ac_delim
56610 host!$host$ac_delim
56611 host_cpu!$host_cpu$ac_delim
56612 host_vendor!$host_vendor$ac_delim
56613 host_os!$host_os$ac_delim
56614 wx_top_builddir!$wx_top_builddir$ac_delim
56616 CFLAGS!$CFLAGS$ac_delim
56617 LDFLAGS!$LDFLAGS$ac_delim
56618 CPPFLAGS!$CPPFLAGS$ac_delim
56619 ac_ct_CC!$ac_ct_CC$ac_delim
56620 EXEEXT!$EXEEXT$ac_delim
56621 OBJEXT!$OBJEXT$ac_delim
56623 GREP!$GREP$ac_delim
56624 EGREP!$EGREP$ac_delim
56626 CXXFLAGS!$CXXFLAGS$ac_delim
56627 ac_ct_CXX!$ac_ct_CXX$ac_delim
56629 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
56630 CXXCPP!$CXXCPP$ac_delim
56631 subdirs!$subdirs$ac_delim
56632 PKG_CONFIG!$PKG_CONFIG$ac_delim
56633 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
56634 GTK_LIBS!$GTK_LIBS$ac_delim
56635 GTK_CONFIG!$GTK_CONFIG$ac_delim
56636 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
56637 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
56638 XMKMF!$XMKMF$ac_delim
56639 X_CFLAGS!$X_CFLAGS$ac_delim
56640 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
56641 X_LIBS!$X_LIBS$ac_delim
56642 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
56643 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
56644 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
56645 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
56646 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
56647 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
56648 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
56649 Xinerama_CFLAGS!$Xinerama_CFLAGS$ac_delim
56650 Xinerama_LIBS!$Xinerama_LIBS$ac_delim
56651 Xxf86vm_CFLAGS!$Xxf86vm_CFLAGS$ac_delim
56652 Xxf86vm_LIBS!$Xxf86vm_LIBS$ac_delim
56653 SM_CFLAGS!$SM_CFLAGS$ac_delim
56654 SM_LIBS!$SM_LIBS$ac_delim
56655 GL_CFLAGS!$GL_CFLAGS$ac_delim
56656 GL_LIBS!$GL_LIBS$ac_delim
56657 GLU_CFLAGS!$GLU_CFLAGS$ac_delim
56658 GLU_LIBS!$GLU_LIBS$ac_delim
56659 MesaGL_CFLAGS!$MesaGL_CFLAGS$ac_delim
56660 MesaGL_LIBS!$MesaGL_LIBS$ac_delim
56661 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
56662 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
56663 LIBICONV!$LIBICONV$ac_delim
56664 GXX_VERSION!$GXX_VERSION$ac_delim
56665 SDL_CONFIG!$SDL_CONFIG$ac_delim
56668 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56670 elif $ac_last_try; then
56671 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56672 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56673 { (exit 1); exit 1; }; }
56675 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56679 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56680 if test -n "$ac_eof"; then
56681 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56682 ac_eof=`expr $ac_eof + 1`
56685 cat >>$CONFIG_STATUS <<_ACEOF
56686 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56687 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56690 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56691 s/^/s,@/; s/!/@,|#_!!_#|/
56694 s/'"$ac_delim"'$/,g/; t
56696 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56697 ' >>$CONFIG_STATUS <conf$$subs.sed
56698 rm -f conf$$subs.sed
56699 cat >>$CONFIG_STATUS <<_ACEOF
56705 for ac_last_try in false false false false false :; do
56706 cat >conf$$subs.sed <<_ACEOF
56707 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
56708 SDL_LIBS!$SDL_LIBS$ac_delim
56709 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
56710 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
56711 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
56712 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
56713 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
56714 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
56715 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
56716 HILDON_LIBS!$HILDON_LIBS$ac_delim
56717 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
56718 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
56719 PYTHON!$PYTHON$ac_delim
56720 COND_PYTHON!$COND_PYTHON$ac_delim
56721 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
56722 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
56723 GST_CFLAGS!$GST_CFLAGS$ac_delim
56724 GST_LIBS!$GST_LIBS$ac_delim
56725 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
56726 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
56727 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
56728 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
56729 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
56730 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
56731 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
56732 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
56733 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
56734 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
56735 VENDOR!$VENDOR$ac_delim
56736 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
56737 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
56738 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
56739 WXUNIV!$WXUNIV$ac_delim
56740 MONOLITHIC!$MONOLITHIC$ac_delim
56741 USE_PLUGINS!$USE_PLUGINS$ac_delim
56742 CXXWARNINGS!$CXXWARNINGS$ac_delim
56743 EXTRALIBS!$EXTRALIBS$ac_delim
56744 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
56745 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
56746 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
56747 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
56748 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
56749 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
56750 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
56751 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
56752 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
56753 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
56754 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
56755 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
56756 UNICODE!$UNICODE$ac_delim
56757 DEBUG_INFO!$DEBUG_INFO$ac_delim
56758 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
56759 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
56760 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
56761 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
56762 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
56763 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
56764 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
56765 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
56766 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
56767 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
56768 RANLIB!$RANLIB$ac_delim
56769 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56770 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56771 INSTALL_DATA!$INSTALL_DATA$ac_delim
56772 LN_S!$LN_S$ac_delim
56773 SET_MAKE!$SET_MAKE$ac_delim
56774 MAKE_SET!$MAKE_SET$ac_delim
56775 AROPTIONS!$AROPTIONS$ac_delim
56776 STRIP!$STRIP$ac_delim
56778 INSTALL_DIR!$INSTALL_DIR$ac_delim
56779 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
56780 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
56781 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
56782 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
56783 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
56784 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
56785 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
56786 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
56787 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
56788 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
56789 SO_SUFFIX!$SO_SUFFIX$ac_delim
56790 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
56791 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
56792 LIBPREFIX!$LIBPREFIX$ac_delim
56793 LIBEXT!$LIBEXT$ac_delim
56794 DLLPREFIX!$DLLPREFIX$ac_delim
56795 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
56796 dlldir!$dlldir$ac_delim
56797 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
56798 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
56799 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
56800 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
56801 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
56802 PIC_FLAG!$PIC_FLAG$ac_delim
56803 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
56806 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56808 elif $ac_last_try; then
56809 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56810 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56811 { (exit 1); exit 1; }; }
56813 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56817 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56818 if test -n "$ac_eof"; then
56819 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56820 ac_eof=`expr $ac_eof + 1`
56823 cat >>$CONFIG_STATUS <<_ACEOF
56824 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56825 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56828 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56829 s/^/s,@/; s/!/@,|#_!!_#|/
56832 s/'"$ac_delim"'$/,g/; t
56834 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56835 ' >>$CONFIG_STATUS <conf$$subs.sed
56836 rm -f conf$$subs.sed
56837 cat >>$CONFIG_STATUS <<_ACEOF
56843 for ac_last_try in false false false false false :; do
56844 cat >conf$$subs.sed <<_ACEOF
56845 USE_SOVERSION!$USE_SOVERSION$ac_delim
56846 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
56847 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
56848 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
56849 USE_MACVERSION!$USE_MACVERSION$ac_delim
56850 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
56851 SONAME_FLAG!$SONAME_FLAG$ac_delim
56852 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
56853 BK_DEPS!$BK_DEPS$ac_delim
56854 WINDRES!$WINDRES$ac_delim
56856 SETFILE!$SETFILE$ac_delim
56857 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
56858 GCC_PCH!$GCC_PCH$ac_delim
56859 ICC_PCH!$ICC_PCH$ac_delim
56860 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
56861 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
56862 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
56863 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
56864 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
56865 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
56866 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
56867 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
56868 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
56869 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
56870 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
56871 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
56872 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
56873 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
56874 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
56875 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
56876 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
56877 COND_BUILD_release!$COND_BUILD_release$ac_delim
56878 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
56879 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
56880 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
56881 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
56882 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
56883 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
56884 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
56885 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
56886 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
56887 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
56888 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
56889 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
56890 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
56891 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
56892 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
56893 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
56894 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56895 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
56896 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56897 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
56898 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
56899 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
56900 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
56901 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
56902 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
56903 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
56904 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
56905 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
56906 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
56907 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
56908 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56909 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
56910 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
56911 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
56912 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
56913 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
56914 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
56915 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
56916 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56917 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
56918 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
56919 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
56920 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
56921 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
56922 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
56923 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
56924 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
56925 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
56926 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
56927 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
56928 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
56929 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
56930 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
56931 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
56932 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
56933 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
56934 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
56935 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
56936 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56937 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
56938 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56939 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
56940 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56941 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
56944 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56946 elif $ac_last_try; then
56947 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56948 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56949 { (exit 1); exit 1; }; }
56951 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56955 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56956 if test -n "$ac_eof"; then
56957 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56958 ac_eof=`expr $ac_eof + 1`
56961 cat >>$CONFIG_STATUS <<_ACEOF
56962 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
56963 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56966 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56967 s/^/s,@/; s/!/@,|#_!!_#|/
56970 s/'"$ac_delim"'$/,g/; t
56972 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56973 ' >>$CONFIG_STATUS <conf$$subs.sed
56974 rm -f conf$$subs.sed
56975 cat >>$CONFIG_STATUS <<_ACEOF
56981 for ac_last_try in false false false false false :; do
56982 cat >conf$$subs.sed <<_ACEOF
56983 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
56984 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
56985 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
56986 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
56987 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
56988 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
56989 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
56990 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
56991 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
56992 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
56993 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
56994 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
56995 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
56996 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
56997 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
56998 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
56999 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
57000 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
57001 COND_SHARED_0!$COND_SHARED_0$ac_delim
57002 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
57003 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
57004 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
57005 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
57006 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
57007 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
57008 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
57009 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
57010 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
57011 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
57012 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
57013 COND_SHARED_1!$COND_SHARED_1$ac_delim
57014 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
57015 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
57016 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
57017 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
57018 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
57019 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
57020 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
57021 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
57022 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
57023 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
57024 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
57025 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
57026 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
57027 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
57028 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
57029 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
57030 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
57031 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
57032 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
57033 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
57034 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
57035 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
57036 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
57037 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
57038 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
57039 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
57040 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
57041 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
57042 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
57043 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
57044 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
57045 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
57046 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
57047 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
57048 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
57049 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
57050 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
57051 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
57052 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
57053 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
57054 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
57055 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
57056 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
57057 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
57058 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
57059 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
57060 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
57061 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
57062 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
57063 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
57064 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
57065 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
57066 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
57067 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
57068 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
57069 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
57070 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
57071 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
57072 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
57073 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
57074 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
57075 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
57076 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
57077 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
57078 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
57079 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
57082 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
57084 elif $ac_last_try; then
57085 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57086 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57087 { (exit 1); exit 1; }; }
57089 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
57093 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57094 if test -n "$ac_eof"; then
57095 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
57096 ac_eof=`expr $ac_eof + 1`
57099 cat >>$CONFIG_STATUS <<_ACEOF
57100 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
57101 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57104 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57105 s/^/s,@/; s/!/@,|#_!!_#|/
57108 s/'"$ac_delim"'$/,g/; t
57110 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57111 ' >>$CONFIG_STATUS <conf$$subs.sed
57112 rm -f conf$$subs.sed
57113 cat >>$CONFIG_STATUS <<_ACEOF
57119 for ac_last_try in false false false false false :; do
57120 cat >conf$$subs.sed <<_ACEOF
57121 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
57122 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
57123 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
57124 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
57125 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
57126 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
57127 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
57128 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
57129 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
57130 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
57131 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
57132 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
57133 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
57134 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
57135 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
57136 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
57137 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
57138 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
57139 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
57140 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
57141 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
57142 DEREZ!$DEREZ$ac_delim
57143 SHARED!$SHARED$ac_delim
57144 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
57145 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
57146 USE_GUI!$USE_GUI$ac_delim
57147 AFMINSTALL!$AFMINSTALL$ac_delim
57148 WIN32INSTALL!$WIN32INSTALL$ac_delim
57149 TOOLKIT!$TOOLKIT$ac_delim
57150 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
57151 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
57152 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
57153 cross_compiling!$cross_compiling$ac_delim
57154 WIDGET_SET!$WIDGET_SET$ac_delim
57155 WX_RELEASE!$WX_RELEASE$ac_delim
57156 WX_VERSION!$WX_VERSION$ac_delim
57157 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
57158 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
57159 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
57160 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
57161 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
57162 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
57163 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
57164 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
57165 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
57166 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
57167 GUIDIST!$GUIDIST$ac_delim
57168 DISTDIR!$DISTDIR$ac_delim
57169 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
57170 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
57171 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
57172 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
57173 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
57174 RESCOMP!$RESCOMP$ac_delim
57175 RESFLAGS!$RESFLAGS$ac_delim
57176 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
57177 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
57178 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
57179 LIBWXMACRES!$LIBWXMACRES$ac_delim
57180 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
57181 MACSETFILE!$MACSETFILE$ac_delim
57183 DLLTOOL!$DLLTOOL$ac_delim
57184 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
57185 LIBOBJS!$LIBOBJS$ac_delim
57186 LTLIBOBJS!$LTLIBOBJS$ac_delim
57189 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
57191 elif $ac_last_try; then
57192 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57193 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57194 { (exit 1); exit 1; }; }
57196 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
57200 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57201 if test -n "$ac_eof"; then
57202 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
57203 ac_eof=`expr $ac_eof + 1`
57206 cat >>$CONFIG_STATUS <<_ACEOF
57207 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
57208 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
57211 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57212 s/^/s,@/; s/!/@,|#_!!_#|/
57215 s/'"$ac_delim"'$/,g/; t
57217 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57218 ' >>$CONFIG_STATUS <conf$$subs.sed
57219 rm -f conf$$subs.sed
57220 cat >>$CONFIG_STATUS <<_ACEOF
57227 # VPATH may cause trouble with some makes, so we remove $(srcdir),
57228 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
57229 # trailing colons and then remove the whole line if VPATH becomes empty
57230 # (actually we leave an empty line to preserve line numbers).
57231 if test "x$srcdir" = x.; then
57232 ac_vpsub='/^[ ]*VPATH[ ]*=/{
57233 s/:*\$(srcdir):*/:/
57234 s/:*\${srcdir}:*/:/
57236 s/^\([^=]*=[ ]*\):*/\1/
57242 cat >>$CONFIG_STATUS <<\_ACEOF
57243 fi # test -n "$CONFIG_FILES"
57246 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
57249 :[FHLC]) ac_mode=$ac_tag; continue;;
57251 case $ac_mode$ac_tag in
57253 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
57254 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
57255 { (exit 1); exit 1; }; };;
57256 :[FH]-) ac_tag=-:-;;
57257 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
57274 -) ac_f="$tmp/stdin";;
57275 *) # Look for the file first in the build tree, then in the source tree
57276 # (if the path is not absolute). The absolute path cannot be DOS-style,
57277 # because $ac_f cannot contain `:'.
57281 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
57283 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57284 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
57285 { (exit 1); exit 1; }; };;
57287 ac_file_inputs="$ac_file_inputs $ac_f"
57290 # Let's still pretend it is `configure' which instantiates (i.e., don't
57291 # use $as_me), people would be surprised to read:
57292 # /* config.h. Generated by config.status. */
57293 configure_input="Generated from "`IFS=:
57294 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57295 if test x"$ac_file" != x-; then
57296 configure_input="$ac_file. $configure_input"
57297 { echo "$as_me:$LINENO: creating $ac_file" >&5
57298 echo "$as_me: creating $ac_file" >&6;}
57302 *:-:* | *:-) cat >"$tmp/stdin";;
57307 ac_dir=`$as_dirname -- "$ac_file" ||
57308 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57309 X"$ac_file" : 'X\(//\)[^/]' \| \
57310 X"$ac_file" : 'X\(//\)$' \| \
57311 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57317 /^X\(\/\/\)[^/].*/{
57332 -*) as_dir=./$as_dir;;
57334 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57338 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57339 *) as_qdir=$as_dir;;
57341 as_dirs="'$as_qdir' $as_dirs"
57342 as_dir=`$as_dirname -- "$as_dir" ||
57343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57344 X"$as_dir" : 'X\(//\)[^/]' \| \
57345 X"$as_dir" : 'X\(//\)$' \| \
57346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57352 /^X\(\/\/\)[^/].*/{
57365 test -d "$as_dir" && break
57367 test -z "$as_dirs" || eval "mkdir $as_dirs"
57368 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57369 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57370 { (exit 1); exit 1; }; }; }
57374 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57376 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57377 # A ".." for each directory in $ac_dir_suffix.
57378 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57379 case $ac_top_builddir_sub in
57380 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57381 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57384 ac_abs_top_builddir=$ac_pwd
57385 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57386 # for backward compatibility:
57387 ac_top_builddir=$ac_top_build_prefix
57390 .) # We are building in place.
57392 ac_top_srcdir=$ac_top_builddir_sub
57393 ac_abs_top_srcdir=$ac_pwd ;;
57394 [\\/]* | ?:[\\/]* ) # Absolute name.
57395 ac_srcdir=$srcdir$ac_dir_suffix;
57396 ac_top_srcdir=$srcdir
57397 ac_abs_top_srcdir=$srcdir ;;
57398 *) # Relative name.
57399 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57400 ac_top_srcdir=$ac_top_build_prefix$srcdir
57401 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57403 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57413 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
57414 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
57418 cat >>$CONFIG_STATUS <<\_ACEOF
57419 # If the template does not know about datarootdir, expand it.
57420 # FIXME: This hack should be removed a few years after 2.60.
57421 ac_datarootdir_hack=; ac_datarootdir_seen=
57423 case `sed -n '/datarootdir/ {
57432 ' $ac_file_inputs` in
57433 *datarootdir*) ac_datarootdir_seen=yes;;
57434 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
57435 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57436 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57438 cat >>$CONFIG_STATUS <<_ACEOF
57439 ac_datarootdir_hack='
57440 s&@datadir@&$datadir&g
57441 s&@docdir@&$docdir&g
57442 s&@infodir@&$infodir&g
57443 s&@localedir@&$localedir&g
57444 s&@mandir@&$mandir&g
57445 s&\\\${datarootdir}&$datarootdir&g' ;;
57449 # Neutralize VPATH when `$srcdir' = `.'.
57450 # Shell code in configure.ac might set extrasub.
57451 # FIXME: do we really want to maintain this feature?
57452 cat >>$CONFIG_STATUS <<_ACEOF
57456 cat >>$CONFIG_STATUS <<\_ACEOF
57458 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57459 s&@configure_input@&$configure_input&;t t
57460 s&@top_builddir@&$ac_top_builddir_sub&;t t
57461 s&@srcdir@&$ac_srcdir&;t t
57462 s&@abs_srcdir@&$ac_abs_srcdir&;t t
57463 s&@top_srcdir@&$ac_top_srcdir&;t t
57464 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
57465 s&@builddir@&$ac_builddir&;t t
57466 s&@abs_builddir@&$ac_abs_builddir&;t t
57467 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
57468 s&@INSTALL@&$ac_INSTALL&;t t
57469 $ac_datarootdir_hack
57470 " $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
57472 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57473 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
57474 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
57475 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57476 which seems to be undefined. Please make sure it is defined." >&5
57477 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57478 which seems to be undefined. Please make sure it is defined." >&2;}
57482 -) cat "$tmp/out"; rm -f "$tmp/out";;
57483 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57492 # Transform confdefs.h into a sed script `conftest.defines', that
57493 # substitutes the proper values into config.h.in to produce config.h.
57494 rm -f conftest.defines conftest.tail
57495 # First, append a space to every undef/define line, to ease matching.
57496 echo 's/$/ /' >conftest.defines
57497 # Then, protect against being on the right side of a sed subst, or in
57498 # an unquoted here document, in config.status. If some macros were
57499 # called several times there might be several #defines for the same
57500 # symbol, which is useless. But do not sort them, since the last
57501 # AC_DEFINE must be honored.
57502 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
57503 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57504 # NAME is the cpp macro being defined, VALUE is the value it is being given.
57505 # PARAMS is the parameter list in the macro definition--in most cases, it's
57506 # just an empty string.
57507 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57508 ac_dB='\\)[ (].*,\\1define\\2'
57516 s/^[ ]*#[ ]*define[ ][ ]*//
57521 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57522 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57523 ' >>conftest.defines
57525 # Remove the space that was appended to ease matching.
57526 # Then replace #undef with comments. This is necessary, for
57527 # example, in the case of _POSIX_SOURCE, which is predefined and required
57528 # on some systems where configure will not decide to define it.
57529 # (The regexp can be short, since the line contains either #define or #undef.)
57531 s,^[ #]*u.*,/* & */,' >>conftest.defines
57533 # Break up conftest.defines:
57534 ac_max_sed_lines=50
57536 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57537 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57538 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57540 ac_in='$ac_file_inputs'
57541 ac_out='"$tmp/out1"'
57542 ac_nxt='"$tmp/out2"'
57546 # Write a here document:
57547 cat >>$CONFIG_STATUS <<_ACEOF
57548 # First, check the format of the line:
57549 cat >"\$tmp/defines.sed" <<\\CEOF
57550 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57551 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57555 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
57557 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57558 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
57559 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
57560 grep . conftest.tail >/dev/null || break
57561 rm -f conftest.defines
57562 mv conftest.tail conftest.defines
57564 rm -f conftest.defines conftest.tail
57566 echo "ac_result=$ac_in" >>$CONFIG_STATUS
57567 cat >>$CONFIG_STATUS <<\_ACEOF
57568 if test x"$ac_file" != x-; then
57569 echo "/* $configure_input */" >"$tmp/config.h"
57570 cat "$ac_result" >>"$tmp/config.h"
57571 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
57572 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57573 echo "$as_me: $ac_file is unchanged" >&6;}
57576 mv "$tmp/config.h" $ac_file
57579 echo "/* $configure_input */"
57585 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57586 echo "$as_me: executing $ac_file commands" >&6;}
57591 case $ac_file$ac_mode in
57593 mkdir -p $outdir &&
57594 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
57596 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
57597 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
57598 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
57599 "wx-config":C) rm -f wx-config
57600 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
57607 { (exit 0); exit 0; }
57609 chmod +x $CONFIG_STATUS
57610 ac_clean_files=$ac_clean_files_save
57613 # configure is writing to config.log, and then calls config.status.
57614 # config.status does its own redirection, appending to config.log.
57615 # Unfortunately, on DOS this fails, as config.log is still kept open
57616 # by configure, so config.status won't be able to write to it; its
57617 # output is simply discarded. So we exec the FD to /dev/null,
57618 # effectively closing config.log, so it can be properly (re)opened and
57619 # appended to by config.status. When coming back to configure, we
57620 # need to make the FD available again.
57621 if test "$no_create" != yes; then
57623 ac_config_status_args=
57624 test "$silent" = yes &&
57625 ac_config_status_args="$ac_config_status_args --quiet"
57627 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
57629 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57630 # would make configure fail if this is the last instruction.
57631 $ac_cs_success || { (exit 1); exit 1; }
57635 # CONFIG_SUBDIRS section.
57637 if test "$no_recursion" != yes; then
57639 # Remove --cache-file and --srcdir arguments so they do not pile up.
57640 ac_sub_configure_args=
57642 eval "set x $ac_configure_args"
57646 if test -n "$ac_prev"; then
57651 -cache-file | --cache-file | --cache-fil | --cache-fi \
57652 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
57653 ac_prev=cache_file ;;
57654 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
57655 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
57658 --config-cache | -C)
57660 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
57662 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
57664 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
57666 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
57670 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57672 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
57676 # Always prepend --prefix to ensure using the same prefix
57677 # in subdir configurations.
57678 ac_arg="--prefix=$prefix"
57680 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57682 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
57685 if test "$silent" = yes; then
57686 ac_sub_configure_args="--silent $ac_sub_configure_args"
57690 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
57692 # Do not complain, so a configure script can configure whichever
57693 # parts of a large source tree are present.
57694 test -d "$srcdir/$ac_dir" || continue
57696 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
57697 echo "$as_me:$LINENO: $ac_msg" >&5
57701 -*) as_dir=./$as_dir;;
57703 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57707 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57708 *) as_qdir=$as_dir;;
57710 as_dirs="'$as_qdir' $as_dirs"
57711 as_dir=`$as_dirname -- "$as_dir" ||
57712 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57713 X"$as_dir" : 'X\(//\)[^/]' \| \
57714 X"$as_dir" : 'X\(//\)$' \| \
57715 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57721 /^X\(\/\/\)[^/].*/{
57734 test -d "$as_dir" && break
57736 test -z "$as_dirs" || eval "mkdir $as_dirs"
57737 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57738 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57739 { (exit 1); exit 1; }; }; }
57743 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57745 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57746 # A ".." for each directory in $ac_dir_suffix.
57747 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57748 case $ac_top_builddir_sub in
57749 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57750 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57753 ac_abs_top_builddir=$ac_pwd
57754 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57755 # for backward compatibility:
57756 ac_top_builddir=$ac_top_build_prefix
57759 .) # We are building in place.
57761 ac_top_srcdir=$ac_top_builddir_sub
57762 ac_abs_top_srcdir=$ac_pwd ;;
57763 [\\/]* | ?:[\\/]* ) # Absolute name.
57764 ac_srcdir=$srcdir$ac_dir_suffix;
57765 ac_top_srcdir=$srcdir
57766 ac_abs_top_srcdir=$srcdir ;;
57767 *) # Relative name.
57768 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57769 ac_top_srcdir=$ac_top_build_prefix$srcdir
57770 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57772 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57777 # Check for guested configure; otherwise get Cygnus style configure.
57778 if test -f "$ac_srcdir/configure.gnu"; then
57779 ac_sub_configure=$ac_srcdir/configure.gnu
57780 elif test -f "$ac_srcdir/configure"; then
57781 ac_sub_configure=$ac_srcdir/configure
57782 elif test -f "$ac_srcdir/configure.in"; then
57783 # This should be Cygnus configure.
57784 ac_sub_configure=$ac_aux_dir/configure
57786 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
57787 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
57791 # The recursion is here.
57792 if test -n "$ac_sub_configure"; then
57793 # Make the cache file name correct relative to the subdirectory.
57794 case $cache_file in
57795 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
57796 *) # Relative name.
57797 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
57800 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
57801 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
57802 # The eval makes quoting arguments work.
57803 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
57804 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
57805 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
57806 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
57807 { (exit 1); exit 1; }; }
57816 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
57818 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
57819 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
57820 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
57821 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
57822 if test "$wxUSE_UNICODE" = "yes"; then
57823 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
57824 echo " (using UTF-8)"
57826 echo " (using wchar_t)"
57832 echo " What level of wxWidgets compatibility should be enabled?"
57833 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
57834 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
57836 echo " Which libraries should wxWidgets use?"
57837 echo " STL ${wxUSE_STL}"
57838 echo " jpeg ${wxUSE_LIBJPEG-none}"
57839 echo " png ${wxUSE_LIBPNG-none}"
57840 echo " regex ${wxUSE_REGEX}"
57841 echo " tiff ${wxUSE_LIBTIFF-none}"
57842 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
57843 echo " xpm ${wxUSE_LIBXPM-none}"
57845 echo " zlib ${wxUSE_ZLIB}"
57846 echo " expat ${wxUSE_EXPAT}"
57847 echo " libmspack ${wxUSE_LIBMSPACK}"
57848 echo " sdl ${wxUSE_LIBSDL}"